keevo-components 1.8.190 → 1.8.191
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/ng-package.json +7 -0
- package/package.json +32 -45
- package/src/assets/.gitkeep +0 -0
- package/src/assets/images/LogoEvo.png +0 -0
- package/src/assets/images/LogoPequenaEvo.png +0 -0
- package/src/assets/images/background.png +0 -0
- package/src/assets/images/keepass-logo.png +0 -0
- package/src/assets/images/keepass-logo.svg +74 -0
- package/src/assets/images/keevo-logo.png +0 -0
- package/src/assets/images/logokeevo_2.png +0 -0
- package/src/index.ts +1 -0
- package/src/lib/api/base-components/base-component-button.ts +29 -0
- package/src/lib/api/base-components/base-component-chart.ts +105 -0
- package/src/lib/api/base-components/base-component-crud-form.ts +361 -0
- package/src/lib/api/base-components/base-component-crud-list.ts +122 -0
- package/src/lib/api/base-components/base-component-crud.ts +70 -0
- package/src/lib/api/base-components/base-component-dropdown-external.ts +29 -0
- package/src/lib/api/base-components/base-component-dropdown-new.ts +112 -0
- package/src/lib/api/base-components/base-component-dropdown.ts +192 -0
- package/src/lib/api/base-components/base-component-input.ts +119 -0
- package/src/lib/api/base-components/base-component-multi-select.ts +136 -0
- package/src/lib/api/base-components/base-component-table.ts +326 -0
- package/src/lib/api/base-components/base-component.ts +47 -0
- package/src/lib/api/components/chart/chart.config.ts +12 -0
- package/src/lib/api/components/chart/chart.model.ts +9 -0
- package/src/lib/api/components/chart/orchart.config.ts +41 -0
- package/src/lib/api/components/chart/orchart.item.ts +33 -0
- package/src/lib/api/components/dropdown/filtro.combo.ts +4 -0
- package/src/lib/api/components/stepper/kv-stepperpanel.ts +10 -0
- package/src/lib/api/components/table/action-item.ts +11 -0
- package/src/lib/api/components/table/kv-menuitem.ts +198 -0
- package/src/lib/api/components/table/table-dropdown-control.ts +6 -0
- package/src/lib/api/components/table/table.config.column.ts +31 -0
- package/src/lib/api/components/table/table.config.ts +35 -0
- package/src/lib/api/components/table/table.paginate.ts +6 -0
- package/src/lib/api/components/table/tabledit.config.ts +10 -0
- package/src/lib/api/components/table/tableedit.config.column.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table.config.ts +30 -0
- package/src/lib/api/directives/directives.module.ts +19 -0
- package/src/lib/api/directives/drag/drag.directive.ts +40 -0
- package/src/lib/api/directives/stepper/dynamicinput.directive.ts +23 -0
- package/src/lib/api/directives/template/template.directive.ts +15 -0
- package/src/lib/api/helpers/component-providers.ts +16 -0
- package/src/lib/api/helpers/keevo-validators.ts +97 -0
- package/src/lib/api/helpers/severity-color.ts +77 -0
- package/src/lib/api/helpers/translate-primeng.ts +25 -0
- package/src/lib/api/modules/primeng.module.ts +138 -0
- package/src/lib/api/pipes/capitalize.pipe.ts +23 -0
- package/src/lib/api/pipes/cpfcnpj.pipe.ts +21 -0
- package/src/lib/api/pipes/mask.pipe.ts +24 -0
- package/src/lib/api/pipes/pipes.module.ts +26 -0
- package/src/lib/api/pipes/telefone.pipe.ts +38 -0
- package/src/lib/api/services/base.api.service.ts +115 -0
- package/src/lib/api/services/breadcrumbs.service.ts +58 -0
- package/src/lib/api/services/component.service.ts +32 -0
- package/src/lib/api/services/docs.service.ts +129 -0
- package/src/lib/api/services/form.service.ts +136 -0
- package/src/lib/api/services/imagens.service.ts +28 -0
- package/src/lib/api/services/notification.service.ts +85 -0
- package/src/lib/api/services/object.service.ts +33 -0
- package/{lib/api/types/severity.d.ts → src/lib/api/types/severity.ts} +3 -2
- package/src/lib/api/types/stimulsoft.reports.d.ts +67463 -0
- package/src/lib/components/keevo-components-styles.scss +11 -0
- package/src/lib/components/keevo-components.module.ts +88 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.html +12 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +45 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +23 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +72 -0
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +21 -0
- package/src/lib/components/kv-button/kv-button.component.css +0 -0
- package/src/lib/components/kv-button/kv-button.component.html +8 -0
- package/src/lib/components/kv-button/kv-button.component.scss +102 -0
- package/src/lib/components/kv-button/kv-button.component.spec.ts +23 -0
- package/src/lib/components/kv-button/kv-button.component.ts +22 -0
- package/src/lib/components/kv-button/kv-button.module.ts +20 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +14 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +3 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +25 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +12 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +31 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +36 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +12 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +14 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +14 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +11 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +13 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +14 -0
- package/src/lib/components/kv-buttons/kv-button.module.ts +26 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.html +8 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +32 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +23 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +31 -0
- package/src/lib/components/kv-carousel/kv-carousel.module.ts +19 -0
- package/src/lib/components/kv-chart/kv-chart.component.html +38 -0
- package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
- package/src/lib/components/kv-chart/kv-chart.component.spec.ts +28 -0
- package/src/lib/components/kv-chart/kv-chart.component.ts +153 -0
- package/src/lib/components/kv-chart/kv-chart.module.ts +21 -0
- package/src/lib/components/kv-error/kv-error.component.html +3 -0
- package/src/lib/components/kv-error/kv-error.component.scss +5 -0
- package/src/lib/components/kv-error/kv-error.component.ts +27 -0
- package/src/lib/components/kv-error/kv-error.module.ts +26 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +16 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +18 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +33 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +14 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.html +13 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +74 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +23 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +17 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +23 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.html +1 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.scss +0 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.spec.ts +23 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +10 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +11 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +62 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.scss +0 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.ts +82 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +10 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +12 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +13 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +33 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +89 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +21 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +38 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +101 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +21 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +113 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +31 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +19 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +84 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +22 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +35 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +61 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +26 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +22 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +18 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +27 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +35 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +43 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +40 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +24 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +27 -0
- package/src/lib/components/kv-inputs/kv-inputs.module.ts +78 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +45 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +13 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +44 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +19 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +15 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +60 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +26 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +5 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +21 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +30 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +17 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +26 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +29 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +20 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +5 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +54 -0
- package/src/lib/components/kv-label/kv-label.component.html +6 -0
- package/src/lib/components/kv-label/kv-label.component.scss +9 -0
- package/src/lib/components/kv-label/kv-label.component.spec.ts +23 -0
- package/src/lib/components/kv-label/kv-label.component.ts +14 -0
- package/src/lib/components/kv-label/kv-label.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.component.html +1 -0
- package/src/lib/components/kv-loader/kv-loader.component.ts +15 -0
- package/src/lib/components/kv-loader/kv-loader.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.service.ts +31 -0
- package/src/lib/components/kv-login/kv-login.component.html +108 -0
- package/src/lib/components/kv-login/kv-login.component.scss +76 -0
- package/src/lib/components/kv-login/kv-login.component.spec.ts +23 -0
- package/src/lib/components/kv-login/kv-login.component.ts +81 -0
- package/src/lib/components/kv-login/kv-login.module.ts +33 -0
- package/src/lib/components/kv-menu/kv-menu.component.html +292 -0
- package/src/lib/components/kv-menu/kv-menu.component.scss +214 -0
- package/src/lib/components/kv-menu/kv-menu.component.spec.ts +23 -0
- package/src/lib/components/kv-menu/kv-menu.component.ts +195 -0
- package/src/lib/components/kv-menu/kv-menu.module.ts +33 -0
- package/src/lib/components/kv-modal/kv-modal.component.html +20 -0
- package/src/lib/components/kv-modal/kv-modal.component.scss +84 -0
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +21 -0
- package/src/lib/components/kv-modal/kv-modal.component.ts +114 -0
- package/src/lib/components/kv-modal/kv-modal.module.ts +21 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.html +58 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +21 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +110 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +14 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.html +99 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +76 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +28 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.ts +163 -0
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +31 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +251 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +129 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +223 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +34 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +23 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +5 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +26 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +60 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +21 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +38 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +110 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +21 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +75 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +19 -0
- package/src/lib/components/kv-report/kv-report.component.html +12 -0
- package/src/lib/components/kv-report/kv-report.component.scss +21 -0
- package/src/lib/components/kv-report/kv-report.component.spec.ts +28 -0
- package/src/lib/components/kv-report/kv-report.component.ts +50 -0
- package/src/lib/components/kv-report/kv-report.module.ts +18 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.html +66 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +41 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +48 -0
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +20 -0
- package/src/lib/components/kv-table/kv-table.component.html +504 -0
- package/src/lib/components/kv-table/kv-table.component.scss +311 -0
- package/src/lib/components/kv-table/kv-table.component.spec.ts +28 -0
- package/src/lib/components/kv-table/kv-table.component.ts +589 -0
- package/src/lib/components/kv-table/kv-table.module.ts +23 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +823 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +711 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +352 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +28 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +440 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +356 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +517 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +22 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +610 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +77 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +21 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +305 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +18 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.html +9 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +23 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +31 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +19 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.html +53 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.scss +117 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.ts +201 -0
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +35 -0
- package/{public-api.d.ts → src/public-api.ts} +254 -214
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/keevo-components.mjs +0 -5
- package/esm2022/lib/api/base-components/base-component-button.mjs +0 -39
- package/esm2022/lib/api/base-components/base-component-chart.mjs +0 -92
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +0 -298
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -79
- package/esm2022/lib/api/base-components/base-component-crud.mjs +0 -65
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +0 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +0 -187
- package/esm2022/lib/api/base-components/base-component-input.mjs +0 -98
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +0 -130
- package/esm2022/lib/api/base-components/base-component-table.mjs +0 -320
- package/esm2022/lib/api/base-components/base-component.mjs +0 -51
- package/esm2022/lib/api/components/chart/chart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchart.item.mjs +0 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +0 -2
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +0 -2
- package/esm2022/lib/api/components/table/action-item.mjs +0 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +0 -46
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.column.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.mjs +0 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +0 -9
- package/esm2022/lib/api/components/table/tabledit.config.mjs +0 -2
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +0 -2
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +0 -3
- package/esm2022/lib/api/directives/directives.module.mjs +0 -30
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +0 -52
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +0 -31
- package/esm2022/lib/api/directives/template/template.directive.mjs +0 -24
- package/esm2022/lib/api/helpers/component-providers.mjs +0 -16
- package/esm2022/lib/api/helpers/keevo-validators.mjs +0 -82
- package/esm2022/lib/api/helpers/translate-primeng.mjs +0 -23
- package/esm2022/lib/api/modules/primeng.module.mjs +0 -271
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +0 -28
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +0 -25
- package/esm2022/lib/api/pipes/mask.pipe.mjs +0 -29
- package/esm2022/lib/api/pipes/pipes.module.mjs +0 -39
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +0 -45
- package/esm2022/lib/api/services/base.api.service.mjs +0 -74
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +0 -57
- package/esm2022/lib/api/services/component.service.mjs +0 -27
- package/esm2022/lib/api/services/docs.service.mjs +0 -129
- package/esm2022/lib/api/services/form.service.mjs +0 -92
- package/esm2022/lib/api/services/imagens.service.mjs +0 -28
- package/esm2022/lib/api/services/notification.service.mjs +0 -67
- package/esm2022/lib/api/services/object.service.mjs +0 -39
- package/esm2022/lib/api/types/severity.mjs +0 -2
- package/esm2022/lib/components/keevo-components.module.mjs +0 -179
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +0 -78
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +0 -32
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +0 -25
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +0 -34
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +0 -39
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +0 -32
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +0 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +0 -145
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +0 -32
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +0 -26
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +0 -35
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +0 -34
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +0 -20
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +0 -26
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +0 -34
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +0 -11
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +0 -19
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +0 -83
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +0 -18
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +0 -29
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +0 -38
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +0 -92
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +0 -89
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +0 -29
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +0 -59
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +0 -33
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +0 -25
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +0 -43
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +0 -24
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +0 -122
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +0 -44
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +0 -54
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +0 -46
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +0 -31
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +0 -41
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +0 -15
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +0 -24
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +0 -17
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +0 -28
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +0 -29
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +0 -52
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +0 -47
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +0 -198
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +0 -47
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +0 -98
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +0 -31
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +0 -100
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +0 -24
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +0 -191
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +0 -38
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +0 -207
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +0 -47
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +0 -78
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +0 -32
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +0 -58
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +0 -28
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +0 -53
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +0 -24
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +0 -55
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +0 -32
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +0 -511
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +0 -36
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +0 -288
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +0 -41
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +0 -483
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +0 -36
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +0 -296
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +0 -28
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +0 -30
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +0 -28
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +0 -167
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +0 -51
- package/esm2022/public-api.mjs +0 -218
- package/fesm2022/keevo-components.mjs +0 -7372
- package/fesm2022/keevo-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/api/base-components/base-component-button.d.ts +0 -15
- package/lib/api/base-components/base-component-chart.d.ts +0 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +0 -145
- package/lib/api/base-components/base-component-crud-list.d.ts +0 -64
- package/lib/api/base-components/base-component-crud.d.ts +0 -36
- package/lib/api/base-components/base-component-dropdown-external.d.ts +0 -15
- package/lib/api/base-components/base-component-dropdown.d.ts +0 -47
- package/lib/api/base-components/base-component-input.d.ts +0 -32
- package/lib/api/base-components/base-component-multi-select.d.ts +0 -35
- package/lib/api/base-components/base-component-table.d.ts +0 -85
- package/lib/api/base-components/base-component.d.ts +0 -22
- package/lib/api/components/chart/chart.config.d.ts +0 -11
- package/lib/api/components/chart/chart.model.d.ts +0 -9
- package/lib/api/components/chart/orchart.config.d.ts +0 -35
- package/lib/api/components/chart/orchart.item.d.ts +0 -26
- package/lib/api/components/dropdown/filtro.combo.d.ts +0 -4
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +0 -9
- package/lib/api/components/table/action-item.d.ts +0 -11
- package/lib/api/components/table/kv-menuitem.d.ts +0 -152
- package/lib/api/components/table/table-dropdown-control.d.ts +0 -6
- package/lib/api/components/table/table.config.column.d.ts +0 -28
- package/lib/api/components/table/table.config.d.ts +0 -32
- package/lib/api/components/table/table.paginate.d.ts +0 -6
- package/lib/api/components/table/tabledit.config.d.ts +0 -8
- package/lib/api/components/table/tableedit.config.column.d.ts +0 -10
- package/lib/api/components/tree-table/tree-table.config.d.ts +0 -28
- package/lib/api/directives/directives.module.d.ts +0 -9
- package/lib/api/directives/drag/drag.directive.d.ts +0 -11
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +0 -15
- package/lib/api/directives/template/template.directive.d.ts +0 -11
- package/lib/api/helpers/component-providers.d.ts +0 -2
- package/lib/api/helpers/keevo-validators.d.ts +0 -12
- package/lib/api/helpers/translate-primeng.d.ts +0 -4
- package/lib/api/modules/primeng.module.d.ts +0 -66
- package/lib/api/pipes/capitalize.pipe.d.ts +0 -8
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +0 -7
- package/lib/api/pipes/mask.pipe.d.ts +0 -7
- package/lib/api/pipes/pipes.module.d.ts +0 -11
- package/lib/api/pipes/telefone.pipe.d.ts +0 -7
- package/lib/api/services/base.api.service.d.ts +0 -25
- package/lib/api/services/breadcrumbs.service.d.ts +0 -15
- package/lib/api/services/component.service.d.ts +0 -11
- package/lib/api/services/docs.service.d.ts +0 -12
- package/lib/api/services/form.service.d.ts +0 -31
- package/lib/api/services/imagens.service.d.ts +0 -10
- package/lib/api/services/notification.service.d.ts +0 -25
- package/lib/api/services/object.service.d.ts +0 -9
- package/lib/components/keevo-components.module.d.ts +0 -30
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +0 -22
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +0 -10
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +0 -11
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +0 -14
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button.module.d.ts +0 -11
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +0 -14
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +0 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +0 -56
- package/lib/components/kv-chart/kv-chart.module.d.ts +0 -10
- package/lib/components/kv-error/kv-error.component.d.ts +0 -12
- package/lib/components/kv-error/kv-error.module.d.ts +0 -10
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +0 -17
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +0 -8
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +0 -12
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +0 -10
- package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +0 -5
- package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +0 -9
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +0 -24
- package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +0 -8
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +0 -12
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +0 -14
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +0 -21
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +0 -27
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +0 -12
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +0 -13
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +0 -10
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +0 -10
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +0 -28
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +0 -15
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +0 -18
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +0 -16
- package/lib/components/kv-label/kv-label.component.d.ts +0 -7
- package/lib/components/kv-label/kv-label.module.d.ts +0 -8
- package/lib/components/kv-loader/kv-loader.component.d.ts +0 -8
- package/lib/components/kv-loader/kv-loader.module.d.ts +0 -9
- package/lib/components/kv-loader/kv-loader.service.d.ts +0 -10
- package/lib/components/kv-login/kv-login.component.d.ts +0 -30
- package/lib/components/kv-login/kv-login.module.d.ts +0 -13
- package/lib/components/kv-menu/kv-menu.component.d.ts +0 -59
- package/lib/components/kv-menu/kv-menu.module.d.ts +0 -13
- package/lib/components/kv-modal/kv-modal.component.d.ts +0 -28
- package/lib/components/kv-modal/kv-modal.module.d.ts +0 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +0 -27
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +0 -9
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +0 -97
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +0 -11
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +0 -84
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +0 -13
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +0 -30
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +0 -10
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +0 -67
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +0 -9
- package/lib/components/kv-report/kv-report.component.d.ts +0 -20
- package/lib/components/kv-report/kv-report.module.d.ts +0 -8
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +0 -25
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +0 -10
- package/lib/components/kv-table/kv-table.component.d.ts +0 -121
- package/lib/components/kv-table/kv-table.module.d.ts +0 -11
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +0 -58
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +0 -14
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +0 -110
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +0 -12
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +0 -71
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +0 -9
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +0 -14
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +0 -9
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +0 -65
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +0 -14
package/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaseComponentButton {
|
|
4
|
-
icon: string;
|
|
5
|
-
label: string;
|
|
6
|
-
loading: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
text: boolean;
|
|
9
|
-
color: string;
|
|
10
|
-
onClick: EventEmitter<any>;
|
|
11
|
-
constructor();
|
|
12
|
-
click(event: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentButton, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentButton, "ng-component", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { chartModel } from "../components/chart/chart.model";
|
|
4
|
-
import { ChartConfig } from "../components/chart/chart.config";
|
|
5
|
-
import { KvChartComponent } from "../../components/kv-chart/kv-chart.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class BaseChartComponent implements OnInit {
|
|
8
|
-
chartConfig: ChartConfig;
|
|
9
|
-
selectedData: number;
|
|
10
|
-
enablePeriodos: number[];
|
|
11
|
-
periodos: {
|
|
12
|
-
Ultimos180Dias: number;
|
|
13
|
-
Ultimos120Dias: number;
|
|
14
|
-
Ultimos90Dias: number;
|
|
15
|
-
Ultimos60Dias: number;
|
|
16
|
-
Ultimos45Dias: number;
|
|
17
|
-
Ultimos30Dias: number;
|
|
18
|
-
Ultimos15Dias: number;
|
|
19
|
-
Ultimos7Dias: number;
|
|
20
|
-
DataAtual: number;
|
|
21
|
-
Proximos7Dias: number;
|
|
22
|
-
Proximos15Dias: number;
|
|
23
|
-
Proximos30Dias: number;
|
|
24
|
-
Proximos45Dias: number;
|
|
25
|
-
Proximos60Dias: number;
|
|
26
|
-
Proximos90Dias: number;
|
|
27
|
-
Proximos120Dias: number;
|
|
28
|
-
Proximos180Dias: number;
|
|
29
|
-
};
|
|
30
|
-
chartComponent?: KvChartComponent;
|
|
31
|
-
onPrintReport: EventEmitter<any>;
|
|
32
|
-
constructor();
|
|
33
|
-
protected changeData(event: any): void;
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
abstract loadData(): void;
|
|
36
|
-
protected loadGraphic(obs: Observable<any>): void;
|
|
37
|
-
protected assembleGraphic(data: chartModel[]): ChartConfig;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "ng-component", never, {}, { "onPrintReport": "onPrintReport"; }, never, never, false, never>;
|
|
40
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from "@angular/router";
|
|
2
|
-
import { OnDestroy, OnInit } from "@angular/core";
|
|
3
|
-
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
|
4
|
-
import { FormGroup, ValidatorFn } from "@angular/forms";
|
|
5
|
-
import { Observable } from "rxjs";
|
|
6
|
-
import { ActionItem } from "../components/table/action-item";
|
|
7
|
-
import { BaseComponentCrud } from "./base-component-crud";
|
|
8
|
-
import { NotificationService } from "../services/notification.service";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export interface DadosTela {
|
|
11
|
-
subTituloForm: string | undefined;
|
|
12
|
-
tituloForm: string | undefined;
|
|
13
|
-
rotaListar: string;
|
|
14
|
-
mensagemValidacao: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare abstract class BaseComponentCrudForm extends BaseComponentCrud implements OnInit, OnDestroy {
|
|
17
|
-
protected activatedRoute: ActivatedRoute;
|
|
18
|
-
protected dynamicDialogRef: DynamicDialogRef;
|
|
19
|
-
protected dynamicDialogConfig: DynamicDialogConfig;
|
|
20
|
-
protected router: Router;
|
|
21
|
-
protected isAccordionExpanded: boolean;
|
|
22
|
-
protected isNewRegistry: boolean;
|
|
23
|
-
protected isSaveLoading: boolean;
|
|
24
|
-
protected isView: boolean;
|
|
25
|
-
protected formGroup: FormGroup;
|
|
26
|
-
protected actions: ActionItem[];
|
|
27
|
-
protected dadosTela: DadosTela | undefined;
|
|
28
|
-
protected popup: boolean;
|
|
29
|
-
protected registry: any;
|
|
30
|
-
private onSetFormValues;
|
|
31
|
-
constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router);
|
|
32
|
-
/**
|
|
33
|
-
* Método disparado para configuração do form
|
|
34
|
-
*/
|
|
35
|
-
abstract configureForm(): void;
|
|
36
|
-
/**
|
|
37
|
-
* Método disparado para o carregamento do form
|
|
38
|
-
* @param id
|
|
39
|
-
*/
|
|
40
|
-
abstract loadForm(id: any): void;
|
|
41
|
-
/**
|
|
42
|
-
* Método disparado para salvamento dos dados
|
|
43
|
-
*/
|
|
44
|
-
abstract save(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Método disparado para tratamento das notificações do backend
|
|
47
|
-
* @param err - Notificação
|
|
48
|
-
*/
|
|
49
|
-
protected backendError(err: any): void;
|
|
50
|
-
/**
|
|
51
|
-
* Método disparado ao clicar no botão de cancelamento
|
|
52
|
-
*/
|
|
53
|
-
protected cancel(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Verifica se houveram alterações nos componentes do formControl
|
|
56
|
-
* @param controls - Nomes do controles no formGroup
|
|
57
|
-
* @returns Observable
|
|
58
|
-
*/
|
|
59
|
-
protected detectFormControlChanges(controls: Array<string>): Observable<any>;
|
|
60
|
-
/**
|
|
61
|
-
* Método responsável por desabilitar um componente
|
|
62
|
-
* @param controlName - Nome do controle no formGroup
|
|
63
|
-
*/
|
|
64
|
-
protected disableComponent(controlName: string): void;
|
|
65
|
-
/**
|
|
66
|
-
* Método responsável por limpar e desabilitar um componente
|
|
67
|
-
* @param controlName - Nome do controle no formGroup
|
|
68
|
-
* @param value - Valor default
|
|
69
|
-
*/
|
|
70
|
-
protected disableAndClearComponent(controlName: string, value?: any): void;
|
|
71
|
-
/**
|
|
72
|
-
* Método responsável por habilitar um componente
|
|
73
|
-
* @param controlName - Nome do controle no formGroup
|
|
74
|
-
*/
|
|
75
|
-
protected enableComponent(controName: string): void;
|
|
76
|
-
/**
|
|
77
|
-
* Método que retorna o valor de um componente
|
|
78
|
-
* @param controlName - Nome do controle no formGroup
|
|
79
|
-
* @returns - Valor
|
|
80
|
-
*/
|
|
81
|
-
protected getFormValue<T>(controlName: string): T;
|
|
82
|
-
/**
|
|
83
|
-
* Verifica se o componente possui erro
|
|
84
|
-
* @param controlName - Nome do controle no formGroup
|
|
85
|
-
*/
|
|
86
|
-
protected hasControlError(controlName: string, errorCode?: string): boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Seta inconsistências para o fomulário
|
|
89
|
-
* @param notification - Lista de notificações
|
|
90
|
-
*/
|
|
91
|
-
protected invalidForm(notification?: any): void;
|
|
92
|
-
/**
|
|
93
|
-
* Tratamento de inconsistências do formulário
|
|
94
|
-
*/
|
|
95
|
-
protected invalidateForm(): void;
|
|
96
|
-
/**
|
|
97
|
-
* Método responsável pelo carregamento da tela
|
|
98
|
-
* @param obs - Observable responsável pelo salvamento dos dados
|
|
99
|
-
*/
|
|
100
|
-
loadData<T>(obs: Observable<any>): void;
|
|
101
|
-
loadDataAsync<T>(obs: Observable<any>): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Método disparado para carregamento de grids (Disparado após o loadData)
|
|
104
|
-
*/
|
|
105
|
-
loadGrids(): void;
|
|
106
|
-
/**
|
|
107
|
-
* Método disparado para retornar a lista
|
|
108
|
-
*/
|
|
109
|
-
protected navigateList(id?: any): void;
|
|
110
|
-
ngOnDestroy(): void;
|
|
111
|
-
ngOnInit(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Método disparado para salvar dados
|
|
114
|
-
* @param obs - Observable responsável pelo salvamento dos dados
|
|
115
|
-
*/
|
|
116
|
-
protected saveData(obs: Observable<any>): void;
|
|
117
|
-
/**
|
|
118
|
-
* Método se atualiza o valor de um componente do formGroup
|
|
119
|
-
* @param controName - Nome do controle
|
|
120
|
-
* @param value - Valor para atualização
|
|
121
|
-
*/
|
|
122
|
-
protected setControlValue(controName: string, value: any): void;
|
|
123
|
-
/**
|
|
124
|
-
* Atualiza valores dos componentes do formGroup
|
|
125
|
-
* @param values - Valores para atualização
|
|
126
|
-
*/
|
|
127
|
-
protected setFormValues(values: any): void;
|
|
128
|
-
/**
|
|
129
|
-
* Seta o título do popup
|
|
130
|
-
*/
|
|
131
|
-
private setTitlePopup;
|
|
132
|
-
/**
|
|
133
|
-
* Atualiza o validador de um componente do formGroup
|
|
134
|
-
* @param controName - Nome do controle
|
|
135
|
-
* @param validators - Regra de validação
|
|
136
|
-
*/
|
|
137
|
-
protected setValidators(controName: string, validators: ValidatorFn | ValidatorFn[] | null): void;
|
|
138
|
-
/**
|
|
139
|
-
* Dispara os métodos de validações do formulário
|
|
140
|
-
* @returns - True/False
|
|
141
|
-
*/
|
|
142
|
-
protected validateForm(): boolean;
|
|
143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudForm, never>;
|
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudForm, "ng-component", never, {}, {}, never, never, false, never>;
|
|
145
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { DialogService } from "primeng/dynamicdialog";
|
|
3
|
-
import { Router } from "@angular/router";
|
|
4
|
-
import { BaseComponentCrud } from "./base-component-crud";
|
|
5
|
-
import { TablePaginate } from "../components/table/table.paginate";
|
|
6
|
-
import { TableConfig } from "../components/table/table.config";
|
|
7
|
-
import { ActionItem } from "../components/table/action-item";
|
|
8
|
-
import { NotificationService } from "../services/notification.service";
|
|
9
|
-
import { Observable } from "rxjs";
|
|
10
|
-
import { TreeTableConfig } from "../components/tree-table/tree-table.config";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare abstract class BaseComponentCrudList extends BaseComponentCrud implements OnInit {
|
|
13
|
-
router: Router;
|
|
14
|
-
dataSource: any;
|
|
15
|
-
selectedItem: any;
|
|
16
|
-
tableConfig: TableConfig | TreeTableConfig;
|
|
17
|
-
totalRecords: number;
|
|
18
|
-
actionsPageList: ActionItem[];
|
|
19
|
-
constructor(dialogService: DialogService, notificationService: NotificationService, router: Router);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Método disparado para configuração das tabelas do componente de lista
|
|
23
|
-
*/
|
|
24
|
-
abstract configureTable(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Método disparado para edição de registros
|
|
27
|
-
* @param registry - Registro que está sendo editado
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
abstract edit(registry: any): void;
|
|
31
|
-
/**
|
|
32
|
-
* Método disparado para carregamento dos filtros da tela
|
|
33
|
-
*/
|
|
34
|
-
abstract loadFilters(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Método disparado para carregar a tabela do componente de lista
|
|
37
|
-
* @param tablePaginate - Classe dos dados da paginação da tabela
|
|
38
|
-
*/
|
|
39
|
-
abstract loadTable(tablePaginate: TablePaginate): void;
|
|
40
|
-
/**
|
|
41
|
-
* Método disparado ao clicar no botão de novo registro
|
|
42
|
-
*/
|
|
43
|
-
abstract newRegistry(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Método que seta o registro selecionado na tabela
|
|
46
|
-
* @param event - Registro
|
|
47
|
-
*/
|
|
48
|
-
protected activeItem(event: any): void;
|
|
49
|
-
/**
|
|
50
|
-
* Método que dispara o carregamento da tabela
|
|
51
|
-
* @param obs - Observable de carregamento dos dados
|
|
52
|
-
*/
|
|
53
|
-
protected loadData(obs: Observable<any>): void;
|
|
54
|
-
/**
|
|
55
|
-
* Método que dispara a paginação
|
|
56
|
-
*/
|
|
57
|
-
protected paginate(event: any): void;
|
|
58
|
-
/**
|
|
59
|
-
* Método que dispara a atualização da página inteira
|
|
60
|
-
*/
|
|
61
|
-
protected refresh(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrudList, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrudList, "ng-component", never, {}, {}, never, never, false, never>;
|
|
64
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
|
2
|
-
import { Type } from "@angular/core";
|
|
3
|
-
import { paramsDialog } from "../services/form.service";
|
|
4
|
-
import { NotificationService } from '../services/notification.service';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class BaseComponentCrud {
|
|
8
|
-
dialogService: DialogService;
|
|
9
|
-
notificationService: NotificationService;
|
|
10
|
-
isReport: boolean;
|
|
11
|
-
itemsReport: any;
|
|
12
|
-
constructor(dialogService: DialogService, notificationService: NotificationService);
|
|
13
|
-
/**
|
|
14
|
-
* Fecha um relatório
|
|
15
|
-
*/
|
|
16
|
-
closeReport(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Abre um form dialog
|
|
19
|
-
* @param componentType - Componente que será renderizado
|
|
20
|
-
* @param callBackFunction - Função de callback que deverá ser chamada após o fechamento do dialog
|
|
21
|
-
* @param paramsDialog - Parâmetros do dialog
|
|
22
|
-
*/
|
|
23
|
-
protected openDialog(componentType: Type<any>, callBackFunction: Function, paramsDialog?: paramsDialog): void;
|
|
24
|
-
/**
|
|
25
|
-
* Imprime um relatório na tela
|
|
26
|
-
* @param obs - Observable com o carregamento do relatório
|
|
27
|
-
*/
|
|
28
|
-
protected printReportFilter(obs: Observable<any>): void;
|
|
29
|
-
/**
|
|
30
|
-
* Exibe um toast com um erro
|
|
31
|
-
* @param err - Erro
|
|
32
|
-
*/
|
|
33
|
-
protected toastError(err: any): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentCrud, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentCrud, "ng-component", never, {}, {}, never, never, false, never>;
|
|
36
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { ComponentService } from "../services/component.service";
|
|
3
|
-
import { DialogService } from "primeng/dynamicdialog";
|
|
4
|
-
import { FormGroup } from "@angular/forms";
|
|
5
|
-
import { BaseComponentDropDown } from "./base-component-dropdown";
|
|
6
|
-
import { KvDropdownComponent } from "../../components/kv-inputs/kv-dropdown/kv-dropdown.component";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class BaseComponentDropDownExternal extends BaseComponentDropDown implements AfterViewInit {
|
|
9
|
-
formGroup: FormGroup;
|
|
10
|
-
dropDownComponent: KvDropdownComponent;
|
|
11
|
-
constructor(componentService: ComponentService, dialogService: DialogService);
|
|
12
|
-
ngAfterViewInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDownExternal, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDownExternal, "ng-component", never, { "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, Type } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { DialogService } from 'primeng/dynamicdialog';
|
|
4
|
-
import { BaseComponentInput } from './base-component-input';
|
|
5
|
-
import { ComponentService } from '../services/component.service';
|
|
6
|
-
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class BaseComponentDropDown extends BaseComponentInput<any> implements OnInit {
|
|
9
|
-
private dialogService;
|
|
10
|
-
filteredOptions: any[];
|
|
11
|
-
options: any[];
|
|
12
|
-
optionLabel: string;
|
|
13
|
-
optionValue: string;
|
|
14
|
-
optionDisabled: string;
|
|
15
|
-
group: boolean;
|
|
16
|
-
optionGroupLabel: string;
|
|
17
|
-
optionGroupChildren: string;
|
|
18
|
-
filter: boolean;
|
|
19
|
-
lazy: boolean;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
showAddButton: boolean;
|
|
22
|
-
showClear: boolean;
|
|
23
|
-
widthField?: string;
|
|
24
|
-
onAddClick: EventEmitter<any>;
|
|
25
|
-
onClick: EventEmitter<any>;
|
|
26
|
-
onLoadCombo: EventEmitter<any>;
|
|
27
|
-
onSelectionChange: EventEmitter<any>;
|
|
28
|
-
onSelectionValue: EventEmitter<any>;
|
|
29
|
-
requestComplete: EventEmitter<any>;
|
|
30
|
-
constructor(componentService: ComponentService, dialogService: DialogService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
protected addClick(event: Event): void;
|
|
33
|
-
carregarCombo(filtro?: filtroCombo): void;
|
|
34
|
-
protected carregarComboObs(obs: Observable<any>): void;
|
|
35
|
-
emptyMessage(): "Digite para pesquisar" | "Nenhum resultado encontrado";
|
|
36
|
-
filterOptions(field: string, value: any): void;
|
|
37
|
-
protected listar(): any;
|
|
38
|
-
protected listarCombo(value: any): any;
|
|
39
|
-
loadingCombo: () => any;
|
|
40
|
-
protected openDialog(componentType: Type<any>, width?: string, height?: string): void;
|
|
41
|
-
protected onInputChange(event: any): void;
|
|
42
|
-
onInputClick(event: any): void;
|
|
43
|
-
onInputFilter(event: any): void;
|
|
44
|
-
writeValue(value: any): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDown, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDown, "ng-component", never, { "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "group": { "alias": "group"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "widthField": { "alias": "widthField"; "required": false; }; }, { "onAddClick": "onAddClick"; "onClick": "onClick"; "onLoadCombo": "onLoadCombo"; "onSelectionChange": "onSelectionChange"; "onSelectionValue": "onSelectionValue"; "requestComplete": "requestComplete"; }, never, never, false, never>;
|
|
47
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { BaseComponent } from './base-component';
|
|
4
|
-
import { ComponentService } from '../services/component.service';
|
|
5
|
-
import { KvErrorComponent } from '../../components/kv-error/kv-error.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class BaseComponentInput<T> extends BaseComponent<T> implements OnInit, AfterContentInit, AfterViewInit {
|
|
8
|
-
protected readonly componentService: ComponentService;
|
|
9
|
-
formControl: FormControl | undefined;
|
|
10
|
-
protected hasError: boolean | undefined;
|
|
11
|
-
showAsterisk: boolean;
|
|
12
|
-
placeholder: string;
|
|
13
|
-
onBlur: EventEmitter<any>;
|
|
14
|
-
onInput: EventEmitter<any>;
|
|
15
|
-
onClose: EventEmitter<any>;
|
|
16
|
-
viewErrors: QueryList<KvErrorComponent>;
|
|
17
|
-
contentErrors: QueryList<KvErrorComponent>;
|
|
18
|
-
constructor(componentService: ComponentService);
|
|
19
|
-
get baseInputClass(): string;
|
|
20
|
-
erroMessage(): string | undefined;
|
|
21
|
-
getName(control: FormControl): string | null;
|
|
22
|
-
hasControlError(): boolean;
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
ngAfterContentInit(): void;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
onInputBlur(event: Event): void;
|
|
27
|
-
onInputClose(event: any): void;
|
|
28
|
-
onInputInput(event: Event): void;
|
|
29
|
-
protected setPlaceHolder(p: string): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentInput<any>, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentInput<any>, "ng-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onBlur": "onBlur"; "onInput": "onInput"; "onClose": "onClose"; }, ["contentErrors"], never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BaseComponentInput } from './base-component-input';
|
|
3
|
-
import { ComponentService } from '../services/component.service';
|
|
4
|
-
import { filtroCombo } from '../components/dropdown/filtro.combo';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class BaseComponentMultiSelect extends BaseComponentInput<any> implements OnInit {
|
|
7
|
-
options: any;
|
|
8
|
-
optionLabel: string;
|
|
9
|
-
optionValue: string;
|
|
10
|
-
filter: boolean;
|
|
11
|
-
showClear: boolean;
|
|
12
|
-
lazy: boolean;
|
|
13
|
-
filteredOptions: any;
|
|
14
|
-
onSelectionChange: EventEmitter<any>;
|
|
15
|
-
onPanelHide: EventEmitter<any>;
|
|
16
|
-
onSelectionValue: EventEmitter<any>;
|
|
17
|
-
onClick: EventEmitter<any>;
|
|
18
|
-
loadedCombo: boolean;
|
|
19
|
-
constructor(componentService: ComponentService);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
carregarCombo(filtro?: filtroCombo): void;
|
|
22
|
-
private carregarComboObs;
|
|
23
|
-
filterOptions(field: string, value: any): void;
|
|
24
|
-
protected onInputChange(event: any): void;
|
|
25
|
-
onInputClick(event: any): void;
|
|
26
|
-
onInputFilter(event: any): void;
|
|
27
|
-
protected listar(): any;
|
|
28
|
-
protected listarCombo(value: any): any;
|
|
29
|
-
panelHide(event: any): void;
|
|
30
|
-
get baseInputClass(): string;
|
|
31
|
-
selectionChange(event: any): void;
|
|
32
|
-
requestCompleted(): boolean;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentMultiSelect, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentMultiSelect, "ng-component", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; "onPanelHide": "onPanelHide"; "onSelectionValue": "onSelectionValue"; "onClick": "onClick"; }, never, never, false, never>;
|
|
35
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TreeTableConfig } from '../components/tree-table/tree-table.config';
|
|
3
|
-
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
4
|
-
import { NotificationService } from '../services/notification.service';
|
|
5
|
-
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
6
|
-
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
7
|
-
import { TableConfig } from '../components/table/table.config';
|
|
8
|
-
import { TableConfigColumn } from '../components/table/table.config.column';
|
|
9
|
-
import TableEditConfig from '../components/table/tabledit.config';
|
|
10
|
-
import { Table } from 'primeng/table';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare abstract class BasecomponentTable implements OnInit {
|
|
13
|
-
datePipe: DatePipe;
|
|
14
|
-
decimalPipe: DecimalPipe;
|
|
15
|
-
cpfCnpjPipe: CpfCnpjPipe;
|
|
16
|
-
telefonePipe: TelefonePipe;
|
|
17
|
-
notificationService: NotificationService;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, notificationService: NotificationService);
|
|
22
|
-
imgDefault: string;
|
|
23
|
-
config: TableConfig | TableEditConfig | TreeTableConfig;
|
|
24
|
-
selectedItem: any;
|
|
25
|
-
selectedSize: any;
|
|
26
|
-
tamanhoTela: number;
|
|
27
|
-
collapsed: boolean;
|
|
28
|
-
globalFilterFields: string[];
|
|
29
|
-
selectedItems: any[];
|
|
30
|
-
totalRecords: number;
|
|
31
|
-
paginator: boolean;
|
|
32
|
-
rowsPerPageOptions: number[];
|
|
33
|
-
rows: number;
|
|
34
|
-
pageLinksOptions: number;
|
|
35
|
-
showFirstLastIcon: boolean;
|
|
36
|
-
applyStyle: Function;
|
|
37
|
-
filterColumnsBtn: boolean;
|
|
38
|
-
filtrosAvancados: boolean;
|
|
39
|
-
scrollHeight: string;
|
|
40
|
-
isTableScrollable: boolean;
|
|
41
|
-
rowTrackBy: Function;
|
|
42
|
-
responsiveLayout: boolean;
|
|
43
|
-
tableSize: number;
|
|
44
|
-
dataSource: any[];
|
|
45
|
-
_templates: any;
|
|
46
|
-
set setConfig(value: TableEditConfig);
|
|
47
|
-
onFilter: EventEmitter<any>;
|
|
48
|
-
onSwitchTableChange: EventEmitter<any>;
|
|
49
|
-
onActiveItemLote: EventEmitter<any>;
|
|
50
|
-
onActiveItem: EventEmitter<any>;
|
|
51
|
-
onSelectionChange: EventEmitter<any>;
|
|
52
|
-
doubleClickEvent: EventEmitter<any>;
|
|
53
|
-
onPaginate: EventEmitter<any>;
|
|
54
|
-
ngOnInit(): void;
|
|
55
|
-
doubleClick(e: any, rowData: any): void;
|
|
56
|
-
returnTooltipRow(rowData: any, col: any): any;
|
|
57
|
-
retornarRow(rowData: any, col: any, field: string): string;
|
|
58
|
-
returnRowClass(rowData: any, col: TableConfigColumn): string;
|
|
59
|
-
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
60
|
-
returnClassIcon(rowData: any, col: any): string;
|
|
61
|
-
returnClassChip(rowData: any, col: any): string;
|
|
62
|
-
returnTooltipIcon(rowData: any, col: any): string;
|
|
63
|
-
loadImage(rowData: any, col: TableConfigColumn): string;
|
|
64
|
-
alignColunas(col: any): string;
|
|
65
|
-
centralizarColunas(col: any): string;
|
|
66
|
-
alignColunasHeader(col: any): string;
|
|
67
|
-
formatarValor(valor: number): string;
|
|
68
|
-
transformValue(rowData: any, col: TableConfigColumn): any;
|
|
69
|
-
onGlobalFilter(table: Table, event: Event): void;
|
|
70
|
-
onSwitchChange(estado: any, rowData: boolean, col: any): void;
|
|
71
|
-
isSwitchField(col: TableConfigColumn): boolean;
|
|
72
|
-
isDisabledCheckbox(rowData: any): boolean;
|
|
73
|
-
activeItemLote(selectedItems: any): void;
|
|
74
|
-
activeItem(rowData: any): void;
|
|
75
|
-
exibirCampo(field: any, rowData: any): any;
|
|
76
|
-
selectionChange(value?: never[]): void;
|
|
77
|
-
isImageField(col: TableConfigColumn): boolean;
|
|
78
|
-
isChipField(col: TableConfigColumn): boolean;
|
|
79
|
-
isBooleanField(rowData: any, col: TableConfigColumn): boolean;
|
|
80
|
-
paginate($event: any): void;
|
|
81
|
-
adjustTableSize(): void;
|
|
82
|
-
onWindowResize(): void;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasecomponentTable, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasecomponentTable, "ng-component", never, { "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; }, { "onFilter": "onFilter"; "onSwitchTableChange": "onSwitchTableChange"; "onActiveItemLote": "onActiveItemLote"; "onActiveItem": "onActiveItem"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "onPaginate": "onPaginate"; }, never, never, false, never>;
|
|
85
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class BaseComponent<T> implements ControlValueAccessor {
|
|
5
|
-
protected stateChanges: Subject<void>;
|
|
6
|
-
protected onChange: (value: T) => void;
|
|
7
|
-
protected onTouched: () => void;
|
|
8
|
-
protected _value: T;
|
|
9
|
-
isRequired: boolean;
|
|
10
|
-
set value(value: T);
|
|
11
|
-
get value(): T;
|
|
12
|
-
componentId: string;
|
|
13
|
-
label: string;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
maxLength: number;
|
|
16
|
-
registerOnChange(fn: any): void;
|
|
17
|
-
registerOnTouched(fn: any): void;
|
|
18
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
19
|
-
writeValue(value: T): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent<any>, "ng-component", never, { "isRequired": { "alias": "required"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ChartConfig {
|
|
2
|
-
labels: string[];
|
|
3
|
-
datasets: ChartDatasetConfig[];
|
|
4
|
-
}
|
|
5
|
-
export interface ChartDatasetConfig {
|
|
6
|
-
label?: string;
|
|
7
|
-
backgroundColor: string[];
|
|
8
|
-
hoverBackgroundColor: string[];
|
|
9
|
-
borderColor?: string[];
|
|
10
|
-
data: number[];
|
|
11
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default interface OrgChartConfig {
|
|
2
|
-
/**
|
|
3
|
-
* @type {string}
|
|
4
|
-
* Esse item espera uma string html template
|
|
5
|
-
* (no formato angular com interpolação de variaveis via {{data.'PROPIEDADE DESEJADA'}})
|
|
6
|
-
* Todos os dados expostos na propiedade data de
|
|
7
|
-
* cada item estão acessiveis pelo objeto data;
|
|
8
|
-
* Para realizar interpolação, referencie data entre {{}} e a chave desejada;
|
|
9
|
-
** Exemplo: ` <h1> Nome: {{data.nome}} </h1> `
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
templateItem: string;
|
|
13
|
-
/**
|
|
14
|
-
* @type {number}
|
|
15
|
-
* Esse item espera receber a largura media do card, para calculo do icone de collapse
|
|
16
|
-
*/
|
|
17
|
-
cardWidht: number;
|
|
18
|
-
/**
|
|
19
|
-
* @type {number}
|
|
20
|
-
* Esse item espera receber a altura media do card, para calculo do icone de collapse
|
|
21
|
-
*/
|
|
22
|
-
cardHeight: number;
|
|
23
|
-
/**
|
|
24
|
-
* @type {string}
|
|
25
|
-
* Esse item espera receber a cor das connections
|
|
26
|
-
* * Default { #d6d6d6 }
|
|
27
|
-
*/
|
|
28
|
-
connectionColor?: string;
|
|
29
|
-
/**
|
|
30
|
-
* @type {number}
|
|
31
|
-
* Esse item espera receber a cor das connections
|
|
32
|
-
* * Default { 2 }
|
|
33
|
-
*/
|
|
34
|
-
conectionWidth?: number;
|
|
35
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default interface OrgChartItem {
|
|
2
|
-
/**
|
|
3
|
-
* @type {number}
|
|
4
|
-
* Esse item espera receber o identificador do card
|
|
5
|
-
*/
|
|
6
|
-
id: number;
|
|
7
|
-
/**
|
|
8
|
-
* @type {number | null}
|
|
9
|
-
* Esse item espera receber o identificador do card pai desse card
|
|
10
|
-
* * Aceita null no caso de ser o nó root
|
|
11
|
-
*
|
|
12
|
-
* @warning Caso tenha mais de um objeto com {{ parentId: null }} havera um erro de multiplos roots
|
|
13
|
-
*/
|
|
14
|
-
parentId: number | null;
|
|
15
|
-
/**
|
|
16
|
-
* @type {object}
|
|
17
|
-
* Esse item espera receber os dados do card
|
|
18
|
-
* @warning Mantenha a consistencia de dados, caso tente acessar um dado que não exista em outro objeto havera um erro
|
|
19
|
-
*/
|
|
20
|
-
data: object;
|
|
21
|
-
/**
|
|
22
|
-
* @type {object | undefined}
|
|
23
|
-
* Esse item espera receber um template personalizado para este nó em especifico
|
|
24
|
-
*/
|
|
25
|
-
template?: string;
|
|
26
|
-
}
|