keevo-components 1.8.262 → 1.8.264
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 +368 -0
- package/src/lib/api/base-components/base-component-crud-list.ts +136 -0
- package/src/lib/api/base-components/base-component-crud.ts +83 -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 +121 -0
- package/src/lib/api/base-components/base-component-multi-select.ts +136 -0
- package/src/lib/api/base-components/base-component-table.ts +364 -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 +12 -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 +36 -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 +31 -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 +126 -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 +60 -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 +137 -0
- package/src/lib/api/services/imagens.service.ts +28 -0
- package/src/lib/api/services/notification.service.ts +88 -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 +194 -0
- package/src/lib/components/keevo-components.module.ts +88 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.html +13 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +58 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +23 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +142 -0
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +35 -0
- package/src/lib/components/kv-avatar/kv-crop-image/kv-crop-image.component.html +11 -0
- package/src/lib/components/kv-avatar/kv-crop-image/kv-crop-image.component.scss +27 -0
- package/src/lib/components/kv-avatar/kv-crop-image/kv-crop-image.component.ts +217 -0
- package/src/lib/components/kv-button/kv-button.component.html +13 -0
- package/src/lib/components/kv-button/kv-button.component.scss +152 -0
- package/src/lib/components/kv-button/kv-button.component.spec.ts +23 -0
- package/src/lib/components/kv-button/kv-button.component.ts +21 -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 +6 -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 +71 -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 +18 -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 +17 -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 +25 -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 +38 -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-upload/kv-file-upload.component.html +53 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.scss +9 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.spec.ts +23 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.ts +128 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.module.ts +10 -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 +40 -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-filter-fieldset/kv-filter-fieldset.component.html +21 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.scss +22 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.spec.ts +23 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.ts +20 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.ts +20 -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-home-card/kv-home-card.component.html +35 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.scss +5 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.spec.ts +23 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.ts +33 -0
- package/src/lib/components/kv-home-card/kv-home-card.module.ts +18 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +64 -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 +84 -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 +32 -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 +91 -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 +40 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +113 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +45 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +138 -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 +96 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +24 -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 +24 -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 +23 -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 +21 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +63 -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 +19 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +25 -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 +23 -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-layout/dropdown-master/dropdown-master.component.html +16 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.scss +0 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.spec.ts +28 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.ts +34 -0
- package/src/lib/components/kv-layout/kv-layout.module.ts +35 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.html +373 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.scss +216 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.spec.ts +23 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.ts +277 -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 +116 -0
- package/src/lib/components/kv-login/kv-login.component.scss +99 -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-modal/kv-modal.component.html +20 -0
- package/src/lib/components/kv-modal/kv-modal.component.scss +33 -0
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +21 -0
- package/src/lib/components/kv-modal/kv-modal.component.ts +111 -0
- package/src/lib/components/kv-modal/kv-modal.module.ts +12 -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 +103 -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 +167 -0
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +33 -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 +130 -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 +130 -0
- package/src/lib/components/kv-table/kv-table.component.spec.ts +28 -0
- package/src/lib/components/kv-table/kv-table.component.ts +676 -0
- package/src/lib/components/kv-table/kv-table.module.ts +25 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +825 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +712 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +391 -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 +372 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +519 -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 +568 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +96 -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 +326 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +23 -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/empresa/kv-workspace-empresa.component.html +14 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.scss +0 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.ts +77 -0
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +41 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.html +20 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.scss +0 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.ts +18 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.html +12 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.scss +0 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.ts +72 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.html +36 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.scss +17 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.ts +54 -0
- package/{public-api.d.ts → src/public-api.ts} +272 -232
- 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 -304
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -93
- 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 -101
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +0 -130
- package/esm2022/lib/api/base-components/base-component-table.mjs +0 -351
- 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 -106
- 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 -60
- 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 -69
- 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 -193
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +0 -226
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +0 -51
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +0 -36
- package/esm2022/lib/components/kv-button/kv-button.module.mjs +0 -28
- 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 -30
- 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-upload/kv-file-upload.component.mjs +0 -118
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +0 -18
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +0 -40
- 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-filter-fieldset/kv-filter-fieldset.component.mjs +0 -26
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +0 -28
- 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-home-card/kv-home-card.component.mjs +0 -27
- package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +0 -32
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +0 -89
- 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 -44
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +0 -112
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +0 -96
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +0 -30
- 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 -60
- 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-layout/dropdown-master/dropdown-master.component.mjs +0 -28
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +0 -50
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +0 -250
- 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-modal/kv-modal.component.mjs +0 -97
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +0 -20
- 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 -41
- 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 -584
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +0 -40
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +0 -322
- 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 -485
- 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 -298
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +0 -39
- 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/empresa/kv-workspace-empresa.component.mjs +0 -72
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +0 -60
- package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +0 -22
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +0 -63
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +0 -64
- package/esm2022/public-api.mjs +0 -236
- package/fesm2022/keevo-components.mjs +0 -8181
- 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 -149
- package/lib/api/base-components/base-component-crud-list.d.ts +0 -70
- 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 -33
- package/lib/api/base-components/base-component-multi-select.d.ts +0 -35
- package/lib/api/base-components/base-component-table.d.ts +0 -87
- 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 -12
- 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 -14
- 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 -16
- 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 -26
- package/lib/api/services/object.service.d.ts +0 -9
- package/lib/components/keevo-components.module.d.ts +0 -32
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +0 -45
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +0 -14
- package/lib/components/kv-button/kv-button.component.d.ts +0 -15
- package/lib/components/kv-button/kv-button.module.d.ts +0 -9
- 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 -16
- 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-upload/kv-file-upload.component.d.ts +0 -29
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +0 -8
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +0 -19
- 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-filter-fieldset/kv-filter-fieldset.component.d.ts +0 -10
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +0 -9
- 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-home-card/kv-home-card.component.d.ts +0 -24
- package/lib/components/kv-home-card/kv-home-card.module.d.ts +0 -11
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +0 -25
- 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 -16
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +0 -27
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +0 -29
- 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 -20
- 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-layout/dropdown-master/dropdown-master.component.d.ts +0 -12
- package/lib/components/kv-layout/kv-layout.module.d.ts +0 -14
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +0 -109
- 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-modal/kv-modal.component.d.ts +0 -27
- 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 -100
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +0 -12
- 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 -138
- package/lib/components/kv-table/kv-table.module.d.ts +0 -12
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +0 -60
- 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 -76
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +0 -11
- 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/empresa/kv-workspace-empresa.component.d.ts +0 -20
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +0 -17
- package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +0 -11
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +0 -18
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +0 -26
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
.material-icons {
|
|
2
|
+
font-family: "Material Icons";
|
|
3
|
+
font-weight: normal;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-size: 1em;
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: 1em;
|
|
8
|
+
height: 1em;
|
|
9
|
+
line-height: 1;
|
|
10
|
+
text-transform: none;
|
|
11
|
+
letter-spacing: normal;
|
|
12
|
+
word-wrap: normal;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
direction: ltr;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
text-rendering: optimizeLegibility;
|
|
17
|
+
-moz-osx-font-smoothing: grayscale;
|
|
18
|
+
font-feature-settings: "liga";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
::ng-deep .p-button:focus {
|
|
22
|
+
box-shadow: none;
|
|
23
|
+
-webkit-box-shadow: none;
|
|
24
|
+
-moz-box-shadow: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::ng-deep .p-overlaypanel .p-overlaypanel-content {
|
|
28
|
+
padding: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::ng-deep.hover-btn-cor-padrao.p-button:enabled:hover {
|
|
32
|
+
background: #0c3e66;
|
|
33
|
+
border-color: #002542;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-button.p-button-icon-only.p-button-rounded {
|
|
37
|
+
background: #0c3e66;
|
|
38
|
+
border-color: #002542;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
::ng-deep.remove-focus:focus {
|
|
42
|
+
border: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::ng-deep.p-sidebar .p-sidebar-content {
|
|
46
|
+
padding: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
::ng-deep.sidebar-header-sistema.p-sidebar .p-sidebar-header {
|
|
50
|
+
padding-top: 0.5rem;
|
|
51
|
+
padding-right: 0;
|
|
52
|
+
padding-bottom: 0;
|
|
53
|
+
padding-left: 0;
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.btn-sistema {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
background-color: #0c3e66;
|
|
62
|
+
font-size: 20px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
::ng-deep .p-sidebar .p-sidebar-header {
|
|
66
|
+
padding: 0rem !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
::ng-deep body {
|
|
70
|
+
// display: initial;
|
|
71
|
+
margin: 0px !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
::ng-deep .p-breadcrumb ul li.p-breadcrumb-chevron {
|
|
75
|
+
position: relative;
|
|
76
|
+
top: 3px;
|
|
77
|
+
color: #0c3e66 !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.page-content {
|
|
81
|
+
background: linear-gradient(to bottom, #eaeaea 10%, #ffffff 19%);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
* {
|
|
85
|
+
margin: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
p .item-menu {
|
|
89
|
+
color: #0c3e66;
|
|
90
|
+
font-family: "Inter var", "Roboto", Arial, Helvetica, sans-serif !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
span {
|
|
94
|
+
font-size: 0.9rem !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.breadcrumb-title {
|
|
98
|
+
font-size: 1rem !important;
|
|
99
|
+
font-family: "Inter var", "Roboto", Arial, Helvetica, sans-serif !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
::ng-deep .home-style {
|
|
103
|
+
background-color: #eaeaea;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
::ng-deep .page-style {
|
|
108
|
+
overflow: auto !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
::ng-deep .card-container {
|
|
112
|
+
&::-webkit-scrollbar {
|
|
113
|
+
width: 6px;
|
|
114
|
+
|
|
115
|
+
&:hover {
|
|
116
|
+
background-color: rgba(222, 222, 222, 0.75);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&::-webkit-scrollbar-thumb {
|
|
121
|
+
border-radius: 4px;
|
|
122
|
+
background-color: transparent;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
126
|
+
border-left: 2px solid white;
|
|
127
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&::-webkit-scrollbar-track {
|
|
131
|
+
border-left: 2px solid white;
|
|
132
|
+
background-color: rgba(222, 222, 222, 0.75);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
overflow-x: hidden;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.title-style {
|
|
139
|
+
position: relative;
|
|
140
|
+
top: 10px;
|
|
141
|
+
margin-left: 20px;
|
|
142
|
+
font-size: 25px;
|
|
143
|
+
color: #002542;
|
|
144
|
+
border-bottom: 2px solid green;
|
|
145
|
+
font-weight: 600;
|
|
146
|
+
display: inline;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
::ng-deep p-sidebar .p-sidebar-content {
|
|
150
|
+
overflow-y: hidden;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
::ng-deep p-dialog .p-dialog-content {
|
|
154
|
+
overflow-y: unset;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.icon-menu {
|
|
158
|
+
color: #002542;
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: center;
|
|
161
|
+
align-items: center;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
::ng-deep .padding-style {
|
|
165
|
+
padding: 15px !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
::ng-deep .menu-option {
|
|
169
|
+
padding: 15px 5px 15px 5px !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
::ng-deep .p-breadcrumb .p-breadcrumb-list .p-menuitem-text {
|
|
173
|
+
color: #183462 !important;
|
|
174
|
+
opacity: 0.95;
|
|
175
|
+
font-weight: 500;
|
|
176
|
+
font-size: 0.8rem !important;
|
|
177
|
+
|
|
178
|
+
&:hover {
|
|
179
|
+
opacity: 0.7;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.pl-3 {
|
|
184
|
+
padding-left: 0rem !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
::ng-deep svg.p-icon {
|
|
188
|
+
width: 0.7rem;
|
|
189
|
+
height: 1rem;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.hover-color .text-base {
|
|
193
|
+
color: rgb(255, 255, 255) !important;
|
|
194
|
+
/* Escolha a cor desejada aqui */
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.hover-color .icon-hover-color {
|
|
198
|
+
color: rgb(255, 255, 255) !important;
|
|
199
|
+
/* Escolha a cor desejada aqui */
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
::ng-deep .p-card .p-card-content {
|
|
203
|
+
padding: 0rem !important;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
::ng-deep .p-card .p-card-body {
|
|
207
|
+
padding: 0rem !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
::ng-deep .p-card .p-card-content {
|
|
211
|
+
padding: 0rem !important;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
::ng-deep .p-sidebar-left {
|
|
215
|
+
z-index: auto !important;
|
|
216
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { KvLayoutComponent } from './kv-layout.component';
|
|
4
|
+
|
|
5
|
+
describe('MenuComponent', () => {
|
|
6
|
+
let component: KvLayoutComponent;
|
|
7
|
+
let fixture: ComponentFixture<KvLayoutComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ KvLayoutComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(KvLayoutComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
ChangeDetectorRef,
|
|
5
|
+
Component,
|
|
6
|
+
EventEmitter,
|
|
7
|
+
HostListener,
|
|
8
|
+
Input,
|
|
9
|
+
OnChanges,
|
|
10
|
+
OnInit,
|
|
11
|
+
Output,
|
|
12
|
+
SimpleChanges,
|
|
13
|
+
ViewChild,
|
|
14
|
+
} from '@angular/core';
|
|
15
|
+
|
|
16
|
+
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
17
|
+
import { Sidebar } from 'primeng/sidebar';
|
|
18
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
19
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
20
|
+
|
|
21
|
+
@Component({
|
|
22
|
+
selector: 'kv-layout',
|
|
23
|
+
templateUrl: './kv-layout.component.html',
|
|
24
|
+
styleUrls: ['./kv-layout.component.scss'],
|
|
25
|
+
// animations: [
|
|
26
|
+
// trigger('sidebarWidthTrigger', [
|
|
27
|
+
// state('collapsed', style({
|
|
28
|
+
// width: '60px'
|
|
29
|
+
// })),
|
|
30
|
+
// state('expanded', style({
|
|
31
|
+
// width: '359px'
|
|
32
|
+
// })),
|
|
33
|
+
// transition('collapsed <=> expanded', animate('100ms ease-out'))
|
|
34
|
+
// ])
|
|
35
|
+
// ]
|
|
36
|
+
})
|
|
37
|
+
export class KvLayoutComponent implements OnInit, OnChanges {
|
|
38
|
+
@Input() apps: {
|
|
39
|
+
idaplicativo: number;
|
|
40
|
+
idsistema: number;
|
|
41
|
+
nomeaplicativo: string;
|
|
42
|
+
descricaoaplicativo: string;
|
|
43
|
+
rotapadrao: string;
|
|
44
|
+
indpublicado: boolean;
|
|
45
|
+
indpublicacaogradativa: boolean;
|
|
46
|
+
indexigeempresaentrada: boolean;
|
|
47
|
+
}[] = [];
|
|
48
|
+
|
|
49
|
+
@Input() breadCrumbItems: {
|
|
50
|
+
label: string;
|
|
51
|
+
routerLink: string;
|
|
52
|
+
}[] = [];
|
|
53
|
+
|
|
54
|
+
@Input() masters: {
|
|
55
|
+
idmaster: number;
|
|
56
|
+
cpfcnpj: string;
|
|
57
|
+
nome: string;
|
|
58
|
+
idmasternome: string;
|
|
59
|
+
}[] = [];
|
|
60
|
+
|
|
61
|
+
@Input() menus: {
|
|
62
|
+
idmenu: number;
|
|
63
|
+
idmenupai: number | null;
|
|
64
|
+
idaplicativo: number;
|
|
65
|
+
descricaomenu: string;
|
|
66
|
+
link: string | null;
|
|
67
|
+
icone: string | null;
|
|
68
|
+
indpublicado: boolean;
|
|
69
|
+
indmenupai: boolean;
|
|
70
|
+
listaidvisaomenu: number[];
|
|
71
|
+
}[] = [];
|
|
72
|
+
|
|
73
|
+
@Input() expandMenu: boolean = true;
|
|
74
|
+
@Input() logoMenuExpand!: any;
|
|
75
|
+
@Input() logoMenuHide!: any;
|
|
76
|
+
|
|
77
|
+
@Input() selectedApp!: number;
|
|
78
|
+
@Input() selectedEmpresa!: any;
|
|
79
|
+
@Input() selectedMaster!: number;
|
|
80
|
+
|
|
81
|
+
@Input() showButtonApps: boolean = true;
|
|
82
|
+
@Input() showButtonUser: boolean = true;
|
|
83
|
+
@Input() showExpandMenu: boolean = true;
|
|
84
|
+
@Input() showDropdownLicenca: boolean = true;
|
|
85
|
+
@Input() showMenu: boolean = true;
|
|
86
|
+
@Input() showTrocaEmpresa: boolean = false;
|
|
87
|
+
@Input() userName: string = 'Usuário';
|
|
88
|
+
|
|
89
|
+
@Output() accessKeePassEmit: EventEmitter<any> = new EventEmitter();
|
|
90
|
+
@Output() changeEmpresaEmit: EventEmitter<boolean> = new EventEmitter();
|
|
91
|
+
@Output() changeLicenseEmit: EventEmitter<number> = new EventEmitter();
|
|
92
|
+
@Output() expandMenuEmit: EventEmitter<boolean> = new EventEmitter();
|
|
93
|
+
@Output() logoutEmit: EventEmitter<any> = new EventEmitter();
|
|
94
|
+
@Output() selectAppEmit: EventEmitter<number> = new EventEmitter();
|
|
95
|
+
@Output() navigateToDefaultRouteEmit: EventEmitter<any> = new EventEmitter();
|
|
96
|
+
|
|
97
|
+
@ViewChild('meusDadosPanel') meusDadosPanel!: OverlayPanel;
|
|
98
|
+
@ViewChild('sidebarRef') sidebarRef!: Sidebar;
|
|
99
|
+
@ViewChild('sistemasPanel') sistemasPanel!: OverlayPanel;
|
|
100
|
+
|
|
101
|
+
formGroup!: FormGroup;
|
|
102
|
+
heightCard!: number;
|
|
103
|
+
mouseOverFilhoIndex: any;
|
|
104
|
+
mouseOverIndex: any;
|
|
105
|
+
widthCard!: number;
|
|
106
|
+
|
|
107
|
+
menuSelecionado: any;
|
|
108
|
+
|
|
109
|
+
constructor(
|
|
110
|
+
private cdr: ChangeDetectorRef,
|
|
111
|
+
private fb: FormBuilder,
|
|
112
|
+
protected router: Router
|
|
113
|
+
) {}
|
|
114
|
+
|
|
115
|
+
public accessKeePass(event: any) {
|
|
116
|
+
this.sistemasPanel.hide();
|
|
117
|
+
this.accessKeePassEmit.emit(event);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public adjustHeightCard(): number {
|
|
121
|
+
if (this.widthCard > 400) {
|
|
122
|
+
if (this.breadCrumbItems.length > 0) return 105;
|
|
123
|
+
else return 85;
|
|
124
|
+
} else return 83;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
private adjustWidthCard() {
|
|
128
|
+
this.heightCard = Number(
|
|
129
|
+
document.getElementById('page-content')?.offsetHeight
|
|
130
|
+
);
|
|
131
|
+
if (this.showMenu)
|
|
132
|
+
this.widthCard = Number(window.innerWidth) - (this.expandMenu ? 333 : 93);
|
|
133
|
+
else this.widthCard = Number(window.innerWidth);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public callRoute(e: any, expand?: boolean) {
|
|
137
|
+
if (!expand) !this.expandMenu ? (this.expandMenu = !this.expandMenu) : '';
|
|
138
|
+
|
|
139
|
+
this.router.navigateByUrl(e);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
public changeEmpresa(event: any) {
|
|
143
|
+
this.changeEmpresaEmit.emit(event);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
public changeLicense(event: any) {
|
|
147
|
+
this.changeLicenseEmit.emit(event);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
private expandMenuEvent() {
|
|
151
|
+
this.expandMenuEmit.emit(this.expandMenu);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
public logout(event: any) {
|
|
155
|
+
this.sistemasPanel.hide();
|
|
156
|
+
this.logoutEmit.emit(event);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
private menusPerApp() {
|
|
160
|
+
if (this.router.url && this.menus && this.menus.length > 0) {
|
|
161
|
+
if (this.router.url === '/') {
|
|
162
|
+
// this.navigateToFirstMenu();
|
|
163
|
+
} else {
|
|
164
|
+
const menuSelecionado = this.menus.find(
|
|
165
|
+
(menu: any) =>
|
|
166
|
+
menu.link && menu.link.includes(this.router.url.slice(1))
|
|
167
|
+
);
|
|
168
|
+
if (menuSelecionado) {
|
|
169
|
+
this.navigateToMenu(menuSelecionado);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if (this.sistemasPanel) {
|
|
175
|
+
this.sistemasPanel.hide();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
public nameEmpresa(nomeLicenca: any): string {
|
|
180
|
+
if (nomeLicenca) {
|
|
181
|
+
if (nomeLicenca.length > 23) return nomeLicenca.substring(0, 23) + '...';
|
|
182
|
+
else return nomeLicenca;
|
|
183
|
+
} else return '';
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
private navigateToFirstMenu(): void {
|
|
187
|
+
const firstMenu = this.menus[0];
|
|
188
|
+
if (firstMenu.indmenupai) {
|
|
189
|
+
const filhos = this.returnMenuChild(firstMenu.idmenu);
|
|
190
|
+
if (filhos) {
|
|
191
|
+
this.callRoute(filhos[0].link, true);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
this.callRoute(firstMenu.link, true);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
private navigateToMenu(menu: any): void {
|
|
199
|
+
if (menu.menupai) {
|
|
200
|
+
const filhos = this.returnMenuChild(menu.idmenu);
|
|
201
|
+
if (filhos) {
|
|
202
|
+
this.callRoute(filhos[0].link, true);
|
|
203
|
+
}
|
|
204
|
+
} else {
|
|
205
|
+
this.callRoute(menu.link, true);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
ngOnChanges(changes: SimpleChanges): void {
|
|
210
|
+
const latestRequest = changes['menus'];
|
|
211
|
+
if (latestRequest?.currentValue) {
|
|
212
|
+
this.menusPerApp();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
public ngOnInit(): void {
|
|
217
|
+
this.formGroup = this.fb.group({
|
|
218
|
+
idmaster: [this.selectedMaster, []],
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
this.adjustWidthCard();
|
|
222
|
+
this.expandMenuEvent();
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
public onMouseEnter(index: number) {
|
|
226
|
+
this.mouseOverIndex = index;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
public onMouseEnterChild(index: number) {
|
|
230
|
+
this.mouseOverFilhoIndex = index;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
public onMouseLeave() {
|
|
234
|
+
this.mouseOverIndex = null;
|
|
235
|
+
this.mouseOverFilhoIndex = null;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@HostListener('window:resize', ['$event'])
|
|
239
|
+
public onWindowResize() {
|
|
240
|
+
this.adjustWidthCard();
|
|
241
|
+
this.cdr.detectChanges();
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
public returnMenuChild(idmenu: number) {
|
|
245
|
+
return this.menus.filter((x: any) => x.idmenupai == idmenu);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
public selectApp(idaplicativo: number) {
|
|
249
|
+
this.selectAppEmit.emit(idaplicativo);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
public showLicencas(): boolean {
|
|
253
|
+
return this.showDropdownLicenca && (this.masters || []).length > 1;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
public toggleMenu() {
|
|
257
|
+
this.expandMenu = !this.expandMenu;
|
|
258
|
+
this.expandMenuEvent();
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
public verifySelectedPage(link: any, pai?: any): boolean {
|
|
262
|
+
let item = this.breadCrumbItems.filter((item: any) => `/${item.routerLink}` == link)
|
|
263
|
+
|
|
264
|
+
if(item?.length > 0) this.menuSelecionado = pai?.idmenu
|
|
265
|
+
|
|
266
|
+
return item?.length > 0;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
navigateToDefaultRoute() {
|
|
271
|
+
this.navigateToDefaultRouteEmit.emit();
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
getSidebarState() {
|
|
275
|
+
return this.expandMenu ? 'expanded' : 'collapsed';
|
|
276
|
+
}
|
|
277
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<ngx-loading [show]="(loading | async) || false"></ngx-loading>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
|
|
4
|
+
import { KvLoaderService } from './kv-loader.service';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'kv-loader',
|
|
8
|
+
templateUrl: './kv-loader.component.html'
|
|
9
|
+
})
|
|
10
|
+
export class KvLoaderComponent {
|
|
11
|
+
|
|
12
|
+
public loading: Subject<boolean> = KvLoaderService.isLoading;
|
|
13
|
+
|
|
14
|
+
constructor() { }
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { NgxLoadingModule } from 'ngx-loading';
|
|
4
|
+
|
|
5
|
+
import { KvLoaderComponent } from './kv-loader.component';
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
declarations: [KvLoaderComponent],
|
|
9
|
+
exports: [KvLoaderComponent],
|
|
10
|
+
imports: [
|
|
11
|
+
CommonModule,
|
|
12
|
+
NgxLoadingModule.forRoot({
|
|
13
|
+
fullScreenBackdrop: true
|
|
14
|
+
})
|
|
15
|
+
]
|
|
16
|
+
})
|
|
17
|
+
export class KvLoaderModule { }
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Observable,
|
|
5
|
+
Subject,
|
|
6
|
+
finalize
|
|
7
|
+
} from 'rxjs';
|
|
8
|
+
|
|
9
|
+
@Injectable({
|
|
10
|
+
providedIn: 'root'
|
|
11
|
+
})
|
|
12
|
+
export class KvLoaderService {
|
|
13
|
+
public static isLoading = new Subject<boolean>();
|
|
14
|
+
|
|
15
|
+
static show() {
|
|
16
|
+
this.isLoading.next(true);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static hide() {
|
|
20
|
+
this.isLoading.next(false);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const loading = (): any => {
|
|
25
|
+
return (src: Observable<any>) => {
|
|
26
|
+
KvLoaderService.show();
|
|
27
|
+
return src.pipe(finalize(() => {
|
|
28
|
+
KvLoaderService.hide();
|
|
29
|
+
}));
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<div
|
|
2
|
+
id="kvLogin-container"
|
|
3
|
+
class="flex justify-content-center align-items-center flex-column h-screen "
|
|
4
|
+
[style.background-image]="'url(' + Background + ')'"
|
|
5
|
+
>
|
|
6
|
+
|
|
7
|
+
<!-- CARD PRINCIPAL -->
|
|
8
|
+
<div
|
|
9
|
+
[formGroup]=" formGroup"
|
|
10
|
+
id="kvLogin-card"
|
|
11
|
+
class="flex flex-column align-items-center justify-content-between bg-white border-round-xl"
|
|
12
|
+
[style.width.rem]="20"
|
|
13
|
+
[style.height.px]="450"
|
|
14
|
+
(keydown.enter)="save()"
|
|
15
|
+
>
|
|
16
|
+
|
|
17
|
+
<!-- LOGO DO SISTEMA -->
|
|
18
|
+
<div class="flex flex-row align-items-center justify-content-center p-3 mt-2">
|
|
19
|
+
<img
|
|
20
|
+
alt="Logo do Sistema"
|
|
21
|
+
[style.height.rem]="4"
|
|
22
|
+
[src]="SystemLogo"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<!-- INFORMAÇÕES CENTRAIS -->
|
|
27
|
+
<div class=" grid formgrid p-fluid gap-2 p-3 pb-0">
|
|
28
|
+
|
|
29
|
+
<div
|
|
30
|
+
class="mb-2 w-full flex flex-row align-items-center justify-content-srart gap-1 font-medium"
|
|
31
|
+
>
|
|
32
|
+
<img
|
|
33
|
+
[style.height.rem]="1.5"
|
|
34
|
+
class="ml-2"
|
|
35
|
+
alt="keepass"
|
|
36
|
+
src="https://work-assets.keevo.com.br/img/icone-keepass-preto.png"
|
|
37
|
+
/>
|
|
38
|
+
<label
|
|
39
|
+
class="mt-1 text-sm"
|
|
40
|
+
>
|
|
41
|
+
Entrar com KeePass
|
|
42
|
+
</label>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<kv-input-text
|
|
46
|
+
componentId="usuario"
|
|
47
|
+
label="CPF ou e-mail"
|
|
48
|
+
formControlName="usuario"
|
|
49
|
+
class="field col-12"
|
|
50
|
+
>
|
|
51
|
+
</kv-input-text>
|
|
52
|
+
|
|
53
|
+
<kv-input-password
|
|
54
|
+
componentId="senha"
|
|
55
|
+
label="Senha"
|
|
56
|
+
[toggleMask]="true"
|
|
57
|
+
formControlName="senha"
|
|
58
|
+
[required]="true"
|
|
59
|
+
class="field col-12"
|
|
60
|
+
>
|
|
61
|
+
</kv-input-password>
|
|
62
|
+
|
|
63
|
+
<div
|
|
64
|
+
class="flex w-full justify-content-end mb-2 h-2"
|
|
65
|
+
id="kvLogin-esqueceu-senha"
|
|
66
|
+
>
|
|
67
|
+
<a
|
|
68
|
+
href="https://keepass.seg.br/redefinirsenha"
|
|
69
|
+
target="_blank"
|
|
70
|
+
class="text-xs"
|
|
71
|
+
[style.color]="SystemColorPrimary"
|
|
72
|
+
>
|
|
73
|
+
Esqueceu a senha?
|
|
74
|
+
</a>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div id="kvLogin-cadastro" class="flex w-full justify-content-center h-2">
|
|
78
|
+
<label
|
|
79
|
+
class="text-xs font-normal"
|
|
80
|
+
>
|
|
81
|
+
Novo no KeePass?
|
|
82
|
+
<a
|
|
83
|
+
href="https://keepass.seg.br/cadastrar"
|
|
84
|
+
target="_blank"
|
|
85
|
+
class="text-xs m-0 p-0"
|
|
86
|
+
>
|
|
87
|
+
Cadastre-se.
|
|
88
|
+
</a>
|
|
89
|
+
</label>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<button
|
|
95
|
+
id="kvLogin-login-button"
|
|
96
|
+
[style.background-color]="SystemColorPrimary"
|
|
97
|
+
[style.color]="'white'"
|
|
98
|
+
class="w-full "
|
|
99
|
+
(click)="save()"
|
|
100
|
+
[style.height.px]="50"
|
|
101
|
+
><strong>Login</strong></button>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<div class="logo-keevo">
|
|
105
|
+
<img
|
|
106
|
+
src="https://work-assets.keevo.com.br/img/keevo-logo-temp.png"
|
|
107
|
+
/>
|
|
108
|
+
<label
|
|
109
|
+
class="text-xs"
|
|
110
|
+
[style.color]="SystemColorSecondary"
|
|
111
|
+
>
|
|
112
|
+
Copyright © 2024 - Keevo Ltda Todos os direitos reservados.
|
|
113
|
+
</label>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
</div>
|