keevo-components 1.8.191 → 1.8.192
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/esm2022/keevo-components.mjs +5 -0
- package/esm2022/lib/api/base-components/base-component-button.mjs +39 -0
- package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -0
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -0
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +79 -0
- package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -0
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +187 -0
- package/esm2022/lib/api/base-components/base-component-input.mjs +98 -0
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -0
- package/esm2022/lib/api/base-components/base-component-table.mjs +320 -0
- package/esm2022/lib/api/base-components/base-component.mjs +51 -0
- package/esm2022/lib/api/components/chart/chart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/chart.model.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchart.item.mjs +2 -0
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
- package/esm2022/lib/api/components/table/action-item.mjs +2 -0
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +46 -0
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.mjs +2 -0
- package/esm2022/lib/api/components/table/table.paginate.mjs +9 -0
- package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +3 -0
- package/esm2022/lib/api/directives/directives.module.mjs +30 -0
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
- package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
- package/esm2022/lib/api/helpers/keevo-validators.mjs +82 -0
- package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
- package/esm2022/lib/api/modules/primeng.module.mjs +271 -0
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +28 -0
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
- package/esm2022/lib/api/services/base.api.service.mjs +74 -0
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -0
- package/esm2022/lib/api/services/component.service.mjs +27 -0
- package/esm2022/lib/api/services/docs.service.mjs +129 -0
- package/esm2022/lib/api/services/form.service.mjs +92 -0
- package/esm2022/lib/api/services/imagens.service.mjs +28 -0
- package/esm2022/lib/api/services/notification.service.mjs +67 -0
- package/esm2022/lib/api/services/object.service.mjs +39 -0
- package/esm2022/lib/api/types/severity.mjs +2 -0
- package/esm2022/lib/components/keevo-components.module.mjs +186 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -0
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +35 -0
- package/esm2022/lib/components/kv-button/kv-button.module.mjs +28 -0
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +25 -0
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +34 -0
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +32 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -0
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +34 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +26 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +34 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +11 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +19 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +83 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +18 -0
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +29 -0
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +38 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +92 -0
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -0
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +25 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +122 -0
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -0
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +54 -0
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +46 -0
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +31 -0
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +41 -0
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -0
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -0
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +198 -0
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -0
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +98 -0
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +191 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +207 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +47 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +78 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +53 -0
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +55 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +32 -0
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +511 -0
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +288 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +41 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +483 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +36 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +279 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +167 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -0
- package/esm2022/public-api.mjs +220 -0
- package/fesm2022/keevo-components.mjs +7417 -0
- package/fesm2022/keevo-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/api/base-components/base-component-button.d.ts +15 -0
- package/lib/api/base-components/base-component-chart.d.ts +40 -0
- package/lib/api/base-components/base-component-crud-form.d.ts +145 -0
- package/lib/api/base-components/base-component-crud-list.d.ts +64 -0
- package/lib/api/base-components/base-component-crud.d.ts +36 -0
- package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
- package/lib/api/base-components/base-component-dropdown.d.ts +47 -0
- package/lib/api/base-components/base-component-input.d.ts +32 -0
- package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
- package/lib/api/base-components/base-component-table.d.ts +85 -0
- package/lib/api/base-components/base-component.d.ts +22 -0
- package/lib/api/components/chart/chart.config.d.ts +11 -0
- package/lib/api/components/chart/chart.model.d.ts +9 -0
- package/lib/api/components/chart/orchart.config.d.ts +35 -0
- package/lib/api/components/chart/orchart.item.d.ts +26 -0
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
- package/lib/api/components/table/action-item.d.ts +11 -0
- package/lib/api/components/table/kv-menuitem.d.ts +152 -0
- package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
- package/lib/api/components/table/table.config.column.d.ts +28 -0
- package/lib/api/components/table/table.config.d.ts +32 -0
- package/lib/api/components/table/table.paginate.d.ts +6 -0
- package/lib/api/components/table/tabledit.config.d.ts +8 -0
- package/lib/api/components/table/tableedit.config.column.d.ts +10 -0
- package/lib/api/components/tree-table/tree-table.config.d.ts +28 -0
- package/lib/api/directives/directives.module.d.ts +9 -0
- package/lib/api/directives/drag/drag.directive.d.ts +11 -0
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
- package/lib/api/directives/template/template.directive.d.ts +11 -0
- package/lib/api/helpers/component-providers.d.ts +2 -0
- package/lib/api/helpers/keevo-validators.d.ts +12 -0
- package/lib/api/helpers/translate-primeng.d.ts +4 -0
- package/lib/api/modules/primeng.module.d.ts +66 -0
- package/lib/api/pipes/capitalize.pipe.d.ts +8 -0
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
- package/lib/api/pipes/mask.pipe.d.ts +7 -0
- package/lib/api/pipes/pipes.module.d.ts +11 -0
- package/lib/api/pipes/telefone.pipe.d.ts +7 -0
- package/lib/api/services/base.api.service.d.ts +25 -0
- package/lib/api/services/breadcrumbs.service.d.ts +15 -0
- package/lib/api/services/component.service.d.ts +11 -0
- package/lib/api/services/docs.service.d.ts +12 -0
- package/lib/api/services/form.service.d.ts +31 -0
- package/lib/api/services/imagens.service.d.ts +10 -0
- package/lib/api/services/notification.service.d.ts +25 -0
- package/lib/api/services/object.service.d.ts +9 -0
- package/{src/lib/api/types/severity.ts → lib/api/types/severity.d.ts} +2 -3
- package/lib/components/keevo-components.module.d.ts +31 -0
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -0
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -0
- package/lib/components/kv-button/kv-button.component.d.ts +14 -0
- package/lib/components/kv-button/kv-button.module.d.ts +9 -0
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +14 -0
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +14 -0
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
- package/lib/components/kv-chart/kv-chart.component.d.ts +56 -0
- package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
- package/lib/components/kv-error/kv-error.component.d.ts +12 -0
- package/lib/components/kv-error/kv-error.module.d.ts +10 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +17 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +12 -0
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
- package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
- package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +24 -0
- package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +21 -0
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -0
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +10 -0
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +28 -0
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -0
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -0
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
- package/lib/components/kv-label/kv-label.component.d.ts +7 -0
- package/lib/components/kv-label/kv-label.module.d.ts +8 -0
- package/lib/components/kv-loader/kv-loader.component.d.ts +8 -0
- package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
- package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
- package/lib/components/kv-login/kv-login.component.d.ts +30 -0
- package/lib/components/kv-login/kv-login.module.d.ts +13 -0
- package/lib/components/kv-menu/kv-menu.component.d.ts +59 -0
- package/lib/components/kv-menu/kv-menu.module.d.ts +13 -0
- package/lib/components/kv-modal/kv-modal.component.d.ts +28 -0
- package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -0
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -0
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +97 -0
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +13 -0
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +30 -0
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
- package/lib/components/kv-report/kv-report.component.d.ts +20 -0
- package/lib/components/kv-report/kv-report.module.d.ts +8 -0
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +25 -0
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +10 -0
- package/lib/components/kv-table/kv-table.component.d.ts +121 -0
- package/lib/components/kv-table/kv-table.module.d.ts +11 -0
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +58 -0
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +14 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +110 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +12 -0
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +70 -0
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -0
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -0
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +65 -0
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -0
- package/package.json +45 -32
- package/{src/public-api.ts → public-api.d.ts} +216 -254
- package/ng-package.json +0 -7
- 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 +0 -74
- package/src/assets/images/keevo-logo.png +0 -0
- package/src/assets/images/logokeevo_2.png +0 -0
- package/src/index.ts +0 -1
- package/src/lib/api/base-components/base-component-button.ts +0 -29
- package/src/lib/api/base-components/base-component-chart.ts +0 -105
- package/src/lib/api/base-components/base-component-crud-form.ts +0 -361
- package/src/lib/api/base-components/base-component-crud-list.ts +0 -122
- package/src/lib/api/base-components/base-component-crud.ts +0 -70
- package/src/lib/api/base-components/base-component-dropdown-external.ts +0 -29
- package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
- package/src/lib/api/base-components/base-component-dropdown.ts +0 -192
- package/src/lib/api/base-components/base-component-input.ts +0 -119
- package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
- package/src/lib/api/base-components/base-component-table.ts +0 -326
- package/src/lib/api/base-components/base-component.ts +0 -47
- package/src/lib/api/components/chart/chart.config.ts +0 -12
- package/src/lib/api/components/chart/chart.model.ts +0 -9
- package/src/lib/api/components/chart/orchart.config.ts +0 -41
- package/src/lib/api/components/chart/orchart.item.ts +0 -33
- package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
- package/src/lib/api/components/stepper/kv-stepperpanel.ts +0 -10
- package/src/lib/api/components/table/action-item.ts +0 -11
- package/src/lib/api/components/table/kv-menuitem.ts +0 -198
- package/src/lib/api/components/table/table-dropdown-control.ts +0 -6
- package/src/lib/api/components/table/table.config.column.ts +0 -31
- package/src/lib/api/components/table/table.config.ts +0 -35
- package/src/lib/api/components/table/table.paginate.ts +0 -6
- package/src/lib/api/components/table/tabledit.config.ts +0 -10
- package/src/lib/api/components/table/tableedit.config.column.ts +0 -12
- package/src/lib/api/components/tree-table/tree-table.config.ts +0 -30
- package/src/lib/api/directives/directives.module.ts +0 -19
- package/src/lib/api/directives/drag/drag.directive.ts +0 -40
- package/src/lib/api/directives/stepper/dynamicinput.directive.ts +0 -23
- package/src/lib/api/directives/template/template.directive.ts +0 -15
- package/src/lib/api/helpers/component-providers.ts +0 -16
- package/src/lib/api/helpers/keevo-validators.ts +0 -97
- package/src/lib/api/helpers/severity-color.ts +0 -77
- package/src/lib/api/helpers/translate-primeng.ts +0 -25
- package/src/lib/api/modules/primeng.module.ts +0 -138
- package/src/lib/api/pipes/capitalize.pipe.ts +0 -23
- package/src/lib/api/pipes/cpfcnpj.pipe.ts +0 -21
- package/src/lib/api/pipes/mask.pipe.ts +0 -24
- package/src/lib/api/pipes/pipes.module.ts +0 -26
- package/src/lib/api/pipes/telefone.pipe.ts +0 -38
- package/src/lib/api/services/base.api.service.ts +0 -115
- package/src/lib/api/services/breadcrumbs.service.ts +0 -58
- package/src/lib/api/services/component.service.ts +0 -32
- package/src/lib/api/services/docs.service.ts +0 -129
- package/src/lib/api/services/form.service.ts +0 -136
- package/src/lib/api/services/imagens.service.ts +0 -28
- package/src/lib/api/services/notification.service.ts +0 -85
- package/src/lib/api/services/object.service.ts +0 -33
- package/src/lib/api/types/stimulsoft.reports.d.ts +0 -67463
- package/src/lib/components/keevo-components-styles.scss +0 -11
- package/src/lib/components/keevo-components.module.ts +0 -88
- package/src/lib/components/kv-avatar/kv-avatar.component.html +0 -12
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +0 -45
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +0 -23
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +0 -72
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +0 -21
- package/src/lib/components/kv-button/kv-button.component.css +0 -0
- package/src/lib/components/kv-button/kv-button.component.html +0 -8
- package/src/lib/components/kv-button/kv-button.component.scss +0 -102
- package/src/lib/components/kv-button/kv-button.component.spec.ts +0 -23
- package/src/lib/components/kv-button/kv-button.component.ts +0 -22
- package/src/lib/components/kv-button/kv-button.module.ts +0 -20
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +0 -14
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +0 -3
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +0 -25
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +0 -12
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +0 -31
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +0 -36
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +0 -12
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +0 -14
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +0 -14
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +0 -11
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +0 -13
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +0 -14
- package/src/lib/components/kv-buttons/kv-button.module.ts +0 -26
- package/src/lib/components/kv-carousel/kv-carousel.component.html +0 -8
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +0 -32
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +0 -23
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +0 -31
- package/src/lib/components/kv-carousel/kv-carousel.module.ts +0 -19
- package/src/lib/components/kv-chart/kv-chart.component.html +0 -38
- package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
- package/src/lib/components/kv-chart/kv-chart.component.spec.ts +0 -28
- package/src/lib/components/kv-chart/kv-chart.component.ts +0 -153
- package/src/lib/components/kv-chart/kv-chart.module.ts +0 -21
- package/src/lib/components/kv-error/kv-error.component.html +0 -3
- package/src/lib/components/kv-error/kv-error.component.scss +0 -5
- package/src/lib/components/kv-error/kv-error.component.ts +0 -27
- package/src/lib/components/kv-error/kv-error.module.ts +0 -26
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +0 -16
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +0 -18
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +0 -33
- package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +0 -14
- package/src/lib/components/kv-filter-card/kv-filter-card.component.html +0 -13
- package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +0 -74
- package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +0 -23
- package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +0 -17
- package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +0 -23
- package/src/lib/components/kv-g-icon/kv-g-icon.component.html +0 -1
- 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 +0 -23
- package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +0 -10
- package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +0 -11
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +0 -62
- 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 +0 -82
- package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +0 -10
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +0 -12
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +0 -13
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +0 -33
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +0 -89
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +0 -21
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +0 -38
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +0 -101
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +0 -21
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +0 -113
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +0 -31
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -19
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +0 -84
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +0 -22
- 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 +0 -35
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +0 -23
- 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 +0 -61
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +0 -23
- 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 +0 -26
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +0 -22
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +0 -18
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +0 -27
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +0 -35
- 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 +0 -23
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +0 -43
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +0 -23
- 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 +0 -40
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +0 -24
- 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 +0 -27
- package/src/lib/components/kv-inputs/kv-inputs.module.ts +0 -78
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +0 -45
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +0 -13
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +0 -44
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +0 -19
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +0 -15
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +0 -60
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +0 -26
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +0 -5
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +0 -21
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +0 -30
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +0 -17
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +0 -26
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +0 -23
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +0 -29
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +0 -20
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +0 -5
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +0 -54
- package/src/lib/components/kv-label/kv-label.component.html +0 -6
- package/src/lib/components/kv-label/kv-label.component.scss +0 -9
- package/src/lib/components/kv-label/kv-label.component.spec.ts +0 -23
- package/src/lib/components/kv-label/kv-label.component.ts +0 -14
- package/src/lib/components/kv-label/kv-label.module.ts +0 -17
- package/src/lib/components/kv-loader/kv-loader.component.html +0 -1
- package/src/lib/components/kv-loader/kv-loader.component.ts +0 -15
- package/src/lib/components/kv-loader/kv-loader.module.ts +0 -17
- package/src/lib/components/kv-loader/kv-loader.service.ts +0 -31
- package/src/lib/components/kv-login/kv-login.component.html +0 -108
- package/src/lib/components/kv-login/kv-login.component.scss +0 -76
- package/src/lib/components/kv-login/kv-login.component.spec.ts +0 -23
- package/src/lib/components/kv-login/kv-login.component.ts +0 -81
- package/src/lib/components/kv-login/kv-login.module.ts +0 -33
- package/src/lib/components/kv-menu/kv-menu.component.html +0 -292
- package/src/lib/components/kv-menu/kv-menu.component.scss +0 -214
- package/src/lib/components/kv-menu/kv-menu.component.spec.ts +0 -23
- package/src/lib/components/kv-menu/kv-menu.component.ts +0 -195
- package/src/lib/components/kv-menu/kv-menu.module.ts +0 -33
- package/src/lib/components/kv-modal/kv-modal.component.html +0 -20
- package/src/lib/components/kv-modal/kv-modal.component.scss +0 -84
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +0 -21
- package/src/lib/components/kv-modal/kv-modal.component.ts +0 -114
- package/src/lib/components/kv-modal/kv-modal.module.ts +0 -21
- package/src/lib/components/kv-orgchart/kv-orgchart.component.html +0 -58
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +0 -21
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +0 -110
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +0 -14
- package/src/lib/components/kv-page-form/kv-page-form.component.html +0 -99
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +0 -76
- package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +0 -28
- package/src/lib/components/kv-page-form/kv-page-form.component.ts +0 -163
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +0 -31
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +0 -251
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +0 -129
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +0 -23
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +0 -223
- package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +0 -34
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +0 -23
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -5
- package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +0 -26
- package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +0 -60
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +0 -21
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +0 -38
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +0 -110
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +0 -21
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +0 -75
- package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +0 -19
- package/src/lib/components/kv-report/kv-report.component.html +0 -12
- package/src/lib/components/kv-report/kv-report.component.scss +0 -21
- package/src/lib/components/kv-report/kv-report.component.spec.ts +0 -28
- package/src/lib/components/kv-report/kv-report.component.ts +0 -50
- package/src/lib/components/kv-report/kv-report.module.ts +0 -18
- package/src/lib/components/kv-stepper/kv-stepper.component.html +0 -66
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +0 -41
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +0 -23
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +0 -48
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +0 -20
- package/src/lib/components/kv-table/kv-table.component.html +0 -504
- package/src/lib/components/kv-table/kv-table.component.scss +0 -311
- package/src/lib/components/kv-table/kv-table.component.spec.ts +0 -28
- package/src/lib/components/kv-table/kv-table.component.ts +0 -589
- package/src/lib/components/kv-table/kv-table.module.ts +0 -23
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +0 -823
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +0 -711
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +0 -352
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +0 -28
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +0 -440
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +0 -356
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +0 -517
- package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +0 -22
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +0 -610
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +0 -77
- package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +0 -21
- package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +0 -305
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +0 -18
- package/src/lib/components/kv-tree-view/kv-tree-view.component.html +0 -9
- 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 +0 -23
- package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +0 -31
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +0 -19
- package/src/lib/components/kv-workspace/kv-workspace.component.html +0 -53
- package/src/lib/components/kv-workspace/kv-workspace.component.scss +0 -117
- package/src/lib/components/kv-workspace/kv-workspace.component.ts +0 -201
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +0 -35
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ContentChildren,
|
|
4
|
-
EventEmitter,
|
|
5
|
-
HostListener,
|
|
6
|
-
Input,
|
|
7
|
-
Output,
|
|
8
|
-
QueryList,
|
|
9
|
-
TemplateRef,
|
|
10
|
-
} from '@angular/core';
|
|
11
|
-
import { MenuItem, TreeNode } from 'primeng/api';
|
|
12
|
-
import { TreeTable } from 'primeng/treetable';
|
|
13
|
-
import {
|
|
14
|
-
ValueOrFn,
|
|
15
|
-
getOrExecute,
|
|
16
|
-
mapToMenuItem,
|
|
17
|
-
} from '../../api/components/table/kv-menuitem';
|
|
18
|
-
import { TablePaginate } from '../../api/components/table/table.paginate';
|
|
19
|
-
import { TemplateDirective } from '../../api/directives/template/template.directive';
|
|
20
|
-
import { TreeTableConfig } from '../../api/components/tree-table/tree-table.config';
|
|
21
|
-
import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';
|
|
22
|
-
import { TableConfigColumn } from '../../api/components/table/table.config.column';
|
|
23
|
-
|
|
24
|
-
@Component({
|
|
25
|
-
selector: 'kv-tree-table',
|
|
26
|
-
templateUrl: './kv-tree-table.component.html',
|
|
27
|
-
styleUrls: ['./kv-tree-table.component.scss'],
|
|
28
|
-
})
|
|
29
|
-
export class KvTreetableComponent {
|
|
30
|
-
menuItems: MenuItem[] = [];
|
|
31
|
-
tamanhoTela!: number;
|
|
32
|
-
|
|
33
|
-
@Input() config!: TreeTableConfig;
|
|
34
|
-
@Input() dataSource!: any;
|
|
35
|
-
@Input() gridLines: boolean = false;
|
|
36
|
-
@Input() tableCaptalized: boolean = false;
|
|
37
|
-
@Input() selectedItems: any = [];
|
|
38
|
-
@Input() paginator = true;
|
|
39
|
-
@Input() rows = 10;
|
|
40
|
-
@Input() treeTableDraggable = false;
|
|
41
|
-
@Input() transferArrayItem = false;
|
|
42
|
-
@Input() ordenacao!: string;
|
|
43
|
-
@Input() totalRecords!: number;
|
|
44
|
-
@Input() textoEmptyMessage: string = 'Nenhum registro encontrado';
|
|
45
|
-
@Input() childrenRecoil: boolean = true;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @deprecated O valor de pageLinks é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
|
|
49
|
-
*/
|
|
50
|
-
@Input() pageLinksOptions!: number;
|
|
51
|
-
/**
|
|
52
|
-
* @deprecated O valor de pageLinks é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
|
|
53
|
-
*/
|
|
54
|
-
@Input() pageLinks!: number;
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated A quantidade de paginitorPageIcons é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
|
|
57
|
-
*/
|
|
58
|
-
@Input() showFirstLastIcon!: boolean;
|
|
59
|
-
|
|
60
|
-
@Output() onFilter: EventEmitter<any> = new EventEmitter();
|
|
61
|
-
@Output() onPaginate: EventEmitter<any> = new EventEmitter();
|
|
62
|
-
@Output() onActiveItem: EventEmitter<any> = new EventEmitter();
|
|
63
|
-
@Output() onActiveItemLote: EventEmitter<any> = new EventEmitter();
|
|
64
|
-
@Output() doubleClickEvent: EventEmitter<any> = new EventEmitter();
|
|
65
|
-
@Output() onNodeSelect: EventEmitter<any> = new EventEmitter();
|
|
66
|
-
@Output() onNodeUnselect: EventEmitter<any> = new EventEmitter();
|
|
67
|
-
@Output() onDropItem: EventEmitter<any> = new EventEmitter<any>();
|
|
68
|
-
|
|
69
|
-
ngOnInit() {
|
|
70
|
-
this.tamanhoTela = window.innerWidth;
|
|
71
|
-
if (this.ordenacao) {
|
|
72
|
-
this.dataSource = this.sortTreeNodes(this.dataSource);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@ContentChildren(TemplateDirective) templates!: QueryList<any>;
|
|
77
|
-
@Input('templates') _templates!: any;
|
|
78
|
-
|
|
79
|
-
@HostListener('window:resize', ['$event'])
|
|
80
|
-
onWindowResize() {
|
|
81
|
-
this.tamanhoTela = window.innerWidth;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
public activeItem(rowData: any) {
|
|
85
|
-
this.onActiveItem.emit(rowData);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
public activeItemLote(rowData: any) {
|
|
89
|
-
this.onActiveItemLote.emit(rowData);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
getOrExecute<T>(action: ValueOrFn<T>, data: any): T {
|
|
93
|
-
return getOrExecute(action, data);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
public onGlobalFilter(table: TreeTable, event: Event) {
|
|
97
|
-
this.onFilter.emit((event.target as HTMLInputElement).value);
|
|
98
|
-
table.filterGlobal((event.target as HTMLInputElement).value, 'contains');
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
public paginate($event: any) {
|
|
102
|
-
if ($event) {
|
|
103
|
-
let paginaInicial =
|
|
104
|
-
($event?.first > 0 ? $event.first / $event.rows : $event.first) + 1;
|
|
105
|
-
let termoPesquisa = '';
|
|
106
|
-
let ordenacao = '';
|
|
107
|
-
|
|
108
|
-
if ($event.globalFilter) termoPesquisa = $event.globalFilter;
|
|
109
|
-
|
|
110
|
-
if ($event.sortField)
|
|
111
|
-
ordenacao = `${$event.sortField} ${
|
|
112
|
-
$event.sortOrder === 1 ? 'ASC' : 'DESC'
|
|
113
|
-
}`;
|
|
114
|
-
|
|
115
|
-
const objeto: TablePaginate = {
|
|
116
|
-
paginaInicial: paginaInicial,
|
|
117
|
-
tamanhoPagina: $event.rows,
|
|
118
|
-
termoPesquisa: termoPesquisa,
|
|
119
|
-
ordenacao: ordenacao,
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
this.onPaginate.emit(objeto);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
drop(event: CdkDragDrop<any>) {
|
|
127
|
-
const draggedNode = event.item.data;
|
|
128
|
-
const draggedChildData = draggedNode.node.data;
|
|
129
|
-
|
|
130
|
-
if (draggedNode.level === 0) {
|
|
131
|
-
moveItemInArray(this.dataSource, event.previousIndex, event.currentIndex);
|
|
132
|
-
} else if (draggedNode.level >= 1) {
|
|
133
|
-
const parentNode = draggedNode.node.parent;
|
|
134
|
-
|
|
135
|
-
if (parentNode) {
|
|
136
|
-
const parentChildren = parentNode.children.map(
|
|
137
|
-
(child: any) => child.data
|
|
138
|
-
);
|
|
139
|
-
const previousChildIndex = parentChildren.indexOf(draggedChildData);
|
|
140
|
-
|
|
141
|
-
const relativeCurrentIndex =
|
|
142
|
-
previousChildIndex + (event.currentIndex - event.previousIndex);
|
|
143
|
-
|
|
144
|
-
const targetChildIndex = Math.max(
|
|
145
|
-
0,
|
|
146
|
-
Math.min(parentChildren.length - 1, relativeCurrentIndex)
|
|
147
|
-
);
|
|
148
|
-
|
|
149
|
-
if (previousChildIndex !== -1 && targetChildIndex !== -1) {
|
|
150
|
-
moveItemInArray(
|
|
151
|
-
parentNode.children,
|
|
152
|
-
previousChildIndex,
|
|
153
|
-
targetChildIndex
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
const dropInfo: any = {
|
|
157
|
-
previousChildIndex: previousChildIndex + 1,
|
|
158
|
-
targetChildIndex: targetChildIndex + 1,
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
this.onDropItem.emit({ event: event, dropChildInfo: dropInfo });
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
this.dataSource = [...this.dataSource];
|
|
166
|
-
if (draggedNode.level === 0) {
|
|
167
|
-
this.onDropItem.emit(event);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
sortTreeNodes(nodes: TreeNode[]): TreeNode[] {
|
|
172
|
-
return nodes
|
|
173
|
-
.sort((a, b) => a.data[this.ordenacao] - b.data[this.ordenacao])
|
|
174
|
-
.map((node) => {
|
|
175
|
-
if (node.children) {
|
|
176
|
-
node.children = this.sortTreeNodes(node.children);
|
|
177
|
-
}
|
|
178
|
-
return node;
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
calculateTargetChildIndex(
|
|
183
|
-
event: CdkDragDrop<any>,
|
|
184
|
-
parentChildren: any[],
|
|
185
|
-
previousChildIndex: number
|
|
186
|
-
): number {
|
|
187
|
-
const targetChildIndex =
|
|
188
|
-
previousChildIndex + (event.currentIndex - event.previousIndex);
|
|
189
|
-
|
|
190
|
-
if (targetChildIndex < 0) {
|
|
191
|
-
return 0;
|
|
192
|
-
} else if (targetChildIndex >= parentChildren.length) {
|
|
193
|
-
return parentChildren.length - 1;
|
|
194
|
-
} else {
|
|
195
|
-
return targetChildIndex;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
// returnStyleRow(col: any, rowNode: any): string {
|
|
200
|
-
// const isFirstColumn = col.field === this.config.columns[0].field;
|
|
201
|
-
// const baseOpacity = 1;
|
|
202
|
-
// const maxLevels = 4;
|
|
203
|
-
|
|
204
|
-
// if (isFirstColumn && rowNode.level >= 0) {
|
|
205
|
-
// const opacity = baseOpacity - (rowNode.level / maxLevels);
|
|
206
|
-
|
|
207
|
-
// return `border-left: solid 4px rgba(59, 110, 158, ${ opacity }) !important;`;
|
|
208
|
-
// }
|
|
209
|
-
|
|
210
|
-
// if (rowNode.level == 0)
|
|
211
|
-
// return 'border-left: none !important; border-right: none !important'
|
|
212
|
-
|
|
213
|
-
// return '';
|
|
214
|
-
// }
|
|
215
|
-
|
|
216
|
-
criarMenusModal(data: any) {
|
|
217
|
-
if (this.config.actions && data) {
|
|
218
|
-
for (const action of this.config.actions) {
|
|
219
|
-
const menuInsert = mapToMenuItem(action, data);
|
|
220
|
-
|
|
221
|
-
let item = this.menuItems.filter(
|
|
222
|
-
(x) => x.command == menuInsert.command
|
|
223
|
-
);
|
|
224
|
-
|
|
225
|
-
if (item.length == 0) this.menuItems.push(menuInsert);
|
|
226
|
-
else {
|
|
227
|
-
if (menuInsert.label != item[0].label) {
|
|
228
|
-
let index = this.menuItems.indexOf(item[0]);
|
|
229
|
-
this.menuItems.splice(index, 1);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
if (menuInsert.visible != item[0].visible) {
|
|
233
|
-
let index = this.menuItems.indexOf(item[0]);
|
|
234
|
-
this.menuItems.splice(index, 1);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
if (menuInsert.disabled != item[0].disabled) {
|
|
238
|
-
let index = this.menuItems.indexOf(item[0]);
|
|
239
|
-
this.menuItems.splice(index, 1);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
exibirCampo(field: any, rowData: any) {
|
|
247
|
-
let visible = field.visible ? field.visible(rowData) : true;
|
|
248
|
-
return visible;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
validateActionPosition(rowNode: any): boolean {
|
|
252
|
-
if (this.config.actionsPai && rowNode.level == 0) return false;
|
|
253
|
-
else return true;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
doubleClick(e: any, rowData: any) {
|
|
257
|
-
let eventDoubleClick = { event: e, rowData: rowData };
|
|
258
|
-
|
|
259
|
-
let array: string[] = [];
|
|
260
|
-
e.target.classList.forEach((x: any) => array.push(x));
|
|
261
|
-
|
|
262
|
-
// if (array.find((x: any) => x == 'ng-star-inserted') != undefined)
|
|
263
|
-
this.doubleClickEvent.emit(eventDoubleClick);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
isDisabledCheckbox(rowData: any, rowNode: any): boolean {
|
|
267
|
-
return this.config.disableControlCheckboxFunction
|
|
268
|
-
? this.config.disableControlCheckboxFunction(rowData, rowNode)
|
|
269
|
-
: false;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
onNodeSelected(event: any) {
|
|
273
|
-
this.onNodeSelect.emit(event);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
onNodeUnselected(event: any) {
|
|
277
|
-
this.onNodeUnselect.emit(event);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
getCustomTemplate(templatename: string): TemplateRef<any> {
|
|
281
|
-
return this._templates[templatename];
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
validateShowTemplate(rowNode: any, col: any): boolean {
|
|
285
|
-
if (col.templateOnly) {
|
|
286
|
-
if (col.templateOnly === 'pai') {
|
|
287
|
-
return rowNode.level === 0;
|
|
288
|
-
}
|
|
289
|
-
if (col.templateOnly === 'filho') {
|
|
290
|
-
return rowNode.level === 1;
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
return true;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
getIcon(icon: string): string {
|
|
297
|
-
return icon.includes('pi-') ? `pi ${icon}` : '';
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
align(col: TableConfigColumn): string {
|
|
301
|
-
if (col.centralize) return 'justify-content-center';
|
|
302
|
-
else if (col.align == 'right') return 'justify-content-end';
|
|
303
|
-
else return '';
|
|
304
|
-
}
|
|
305
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { KvTreetableComponent } from './kv-tree-table.component'
|
|
4
|
-
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
5
|
-
|
|
6
|
-
@NgModule({
|
|
7
|
-
declarations: [
|
|
8
|
-
KvTreetableComponent
|
|
9
|
-
],
|
|
10
|
-
imports: [
|
|
11
|
-
CommonModule,
|
|
12
|
-
PrimeNgModule,
|
|
13
|
-
],
|
|
14
|
-
exports: [
|
|
15
|
-
KvTreetableComponent
|
|
16
|
-
]
|
|
17
|
-
})
|
|
18
|
-
export class KvTreetableModule { }
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { KvTreeViewComponent } from './kv-tree-view.component';
|
|
4
|
-
|
|
5
|
-
describe('TreeViewComponent', () => {
|
|
6
|
-
let component: KvTreeViewComponent;
|
|
7
|
-
let fixture: ComponentFixture<KvTreeViewComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ KvTreeViewComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(KvTreeViewComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
Input,
|
|
5
|
-
OnInit,
|
|
6
|
-
Output
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
|
|
9
|
-
import { TreeNode } from 'primeng/api';
|
|
10
|
-
|
|
11
|
-
@Component({
|
|
12
|
-
selector: 'kv-tree-view',
|
|
13
|
-
templateUrl: './kv-tree-view.component.html',
|
|
14
|
-
styleUrls: ['./kv-tree-view.component.scss']
|
|
15
|
-
})
|
|
16
|
-
export class KvTreeViewComponent implements OnInit {
|
|
17
|
-
@Input() selectedFiles: any = [];
|
|
18
|
-
@Input() selectionMode: any = 'checkbox';
|
|
19
|
-
@Input() treeViewData!: TreeNode[];
|
|
20
|
-
|
|
21
|
-
@Output() selectedItems: EventEmitter<any> = new EventEmitter();
|
|
22
|
-
|
|
23
|
-
constructor() { }
|
|
24
|
-
|
|
25
|
-
ngOnInit() {
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
onSelectionChange() {
|
|
29
|
-
this.selectedItems.emit(this.selectedFiles)
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { KvTreeViewComponent } from './kv-tree-view.component';
|
|
5
|
-
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
6
|
-
|
|
7
|
-
@NgModule({
|
|
8
|
-
declarations: [
|
|
9
|
-
KvTreeViewComponent
|
|
10
|
-
],
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
PrimeNgModule
|
|
14
|
-
],
|
|
15
|
-
exports: [
|
|
16
|
-
KvTreeViewComponent
|
|
17
|
-
],
|
|
18
|
-
})
|
|
19
|
-
export class KvtreeViewModule { }
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<div *ngIf="visivel" [style]="styleBackground"
|
|
2
|
-
class="h-screen flex justify-content-center align-items-center login-container flex-column bg-cover">
|
|
3
|
-
<div id="card-container"
|
|
4
|
-
class="flex flex-column justify-content-around card-login formgrid p-fluid bg-white border-round p-2">
|
|
5
|
-
<div class="field col-12 flex justify-content-center mb-1">
|
|
6
|
-
<img [src]="imgLogoKeevoCenter" style="width: 200px" />
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<div class="col-12 align-items-center z-5">
|
|
10
|
-
<div class="col-9">
|
|
11
|
-
Olá, <b>{{ nomeUsuario }}.</b> Bem-vindo(a)!
|
|
12
|
-
</div>
|
|
13
|
-
<b class="field col-9 flex">
|
|
14
|
-
Escolha qual Workspace você deseja acessar:</b>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<!-- INÍCIO DO WORKSPACE DE CONTABILIDADE (MASTERS) -->
|
|
18
|
-
<div *ngIf="!masterSelecionada" class="col-12 z-5">
|
|
19
|
-
|
|
20
|
-
<kv-table
|
|
21
|
-
[tableSize]="tableSizeMaster"
|
|
22
|
-
[rows]="5"
|
|
23
|
-
[config]="tableConfigMaster"
|
|
24
|
-
[paginator]="false"
|
|
25
|
-
[dataSource]="dataSourceMaster"
|
|
26
|
-
[rowsPerPageOptions]="[5, 10, 25, 50, 100, 200]"
|
|
27
|
-
(doubleClickEvent)="doubleClickMaster($event)"
|
|
28
|
-
(onActiveItem)="activeItemMaster($event)"
|
|
29
|
-
[isTableScrollable]="true"
|
|
30
|
-
[scrollHeight]="'300px'">
|
|
31
|
-
</kv-table>
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
<!-- FIM DO WORKSPACE DE CONTABILIDADE (MASTERS) -->
|
|
35
|
-
|
|
36
|
-
<!-- INÍCIO DO WORKSPACE EMPRESA -->
|
|
37
|
-
<div *ngIf="masterSelecionada && !empresaSelecionada" class="col-12 z-5">
|
|
38
|
-
<kv-table
|
|
39
|
-
[tableSize]="tableSizeEmpresa"
|
|
40
|
-
[rows]="5"
|
|
41
|
-
[config]="tableConfigEmpresa"
|
|
42
|
-
[paginator]="showPaginatorEmpresa"
|
|
43
|
-
[dataSource]="dataSourceEmpresa"
|
|
44
|
-
[rowsPerPageOptions]="[5]"
|
|
45
|
-
(doubleClickEvent)="doubleClickEmpresa($event)"
|
|
46
|
-
(onActiveItem)="activeItemEmpresa($event)"
|
|
47
|
-
[isTableScrollable]="true"
|
|
48
|
-
[scrollHeight]="'300px'">
|
|
49
|
-
</kv-table>
|
|
50
|
-
</div>
|
|
51
|
-
<!-- FIM DO WORKSPACE EMPRESA -->
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
// * {
|
|
2
|
-
// margin: 0;
|
|
3
|
-
// }
|
|
4
|
-
|
|
5
|
-
// ::ng-deep body {
|
|
6
|
-
// margin: 0px !important;
|
|
7
|
-
// }
|
|
8
|
-
|
|
9
|
-
// .login-container {
|
|
10
|
-
// background-repeat: no-repeat;
|
|
11
|
-
// background-size: cover;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
// #card-container {
|
|
15
|
-
// background: #fff;
|
|
16
|
-
// border-radius: 14px;
|
|
17
|
-
// -webkit-border-radius: 14px;
|
|
18
|
-
// -moz-border-radius: 14px;
|
|
19
|
-
// -ms-border-radius: 14px;
|
|
20
|
-
// -o-border-radius: 14px;
|
|
21
|
-
// -webkit-border-radius: 14px;
|
|
22
|
-
// position: relative;
|
|
23
|
-
// width: 60vw;
|
|
24
|
-
// }
|
|
25
|
-
|
|
26
|
-
// .p-inputtext {
|
|
27
|
-
// font-size: 1rem;
|
|
28
|
-
// }
|
|
29
|
-
|
|
30
|
-
// #logo {
|
|
31
|
-
// background: linear-gradient(97deg, #002542 5.7%, #115a94 102.3%);
|
|
32
|
-
// background-clip: text;
|
|
33
|
-
// -webkit-background-clip: text;
|
|
34
|
-
// -webkit-text-fill-color: transparent;
|
|
35
|
-
// }
|
|
36
|
-
|
|
37
|
-
// .border-card {
|
|
38
|
-
// border-radius: 12px;
|
|
39
|
-
// border: 1px dashed #2770e8;
|
|
40
|
-
// }
|
|
41
|
-
|
|
42
|
-
// #master-card h1 {
|
|
43
|
-
// color: #26406b;
|
|
44
|
-
// }
|
|
45
|
-
|
|
46
|
-
// .bg-white1 {
|
|
47
|
-
// background-color: #f1f1f1;
|
|
48
|
-
// }
|
|
49
|
-
|
|
50
|
-
// .bg-white2 {
|
|
51
|
-
// background-color: #f2f3f5;
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
// #personagens-imagem {
|
|
55
|
-
// width: 60% !important;
|
|
56
|
-
// position: absolute;
|
|
57
|
-
// transform: translate(-2%, -91%);
|
|
58
|
-
// }
|
|
59
|
-
|
|
60
|
-
// #master-container {
|
|
61
|
-
// --sb-track-color: #f1f1f1;
|
|
62
|
-
// --sb-thumb-color: #183462;
|
|
63
|
-
// --sb-size: 5px;
|
|
64
|
-
|
|
65
|
-
// scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
|
|
66
|
-
// }
|
|
67
|
-
|
|
68
|
-
// #master-container::-webkit-scrollbar {
|
|
69
|
-
// width: var(--sb-size);
|
|
70
|
-
// }
|
|
71
|
-
|
|
72
|
-
// #master-container::-webkit-scrollbar-track {
|
|
73
|
-
// background: var(--sb-track-color);
|
|
74
|
-
// border-radius: 40px;
|
|
75
|
-
// }
|
|
76
|
-
|
|
77
|
-
// #master-container::-webkit-scrollbar-thumb {
|
|
78
|
-
// background: var(--sb-thumb-color);
|
|
79
|
-
// border-radius: 40px;
|
|
80
|
-
// }
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// @media (max-width: 960px) {
|
|
85
|
-
|
|
86
|
-
// #card-container{
|
|
87
|
-
// width: 60vw;
|
|
88
|
-
// min-width: 350px;
|
|
89
|
-
|
|
90
|
-
// }
|
|
91
|
-
|
|
92
|
-
// .p-datatable .p-datatable-tbody > tr > td {
|
|
93
|
-
// padding: 4px;
|
|
94
|
-
// text-align: left !important;
|
|
95
|
-
|
|
96
|
-
// }
|
|
97
|
-
// .p-datatable thead {
|
|
98
|
-
// display: none;
|
|
99
|
-
// }
|
|
100
|
-
// .p-datatable .p-datatable-tbody > tr > td {
|
|
101
|
-
// display: block;
|
|
102
|
-
// }
|
|
103
|
-
// .p-datatable .p-datatable-tbody > tr > td:before {
|
|
104
|
-
// //content: attr(data-label);
|
|
105
|
-
// float: left;
|
|
106
|
-
// font-weight: bold;
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
|
-
// .p-datatable.p-datatable-sm .p-datatable-tbody > tr > td:first-of-type {
|
|
110
|
-
// border-left: none;
|
|
111
|
-
// }
|
|
112
|
-
// }
|
|
113
|
-
|
|
114
|
-
.card-login {
|
|
115
|
-
width: 80%;
|
|
116
|
-
max-width: 800px;
|
|
117
|
-
}
|