keevo-components 2.0.105 → 2.0.107
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 +14 -0
- package/package.json +32 -42
- package/src/assets/.gitkeep +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 +118 -0
- package/src/lib/api/base-components/base-component-crud-form.ts +377 -0
- package/src/lib/api/base-components/base-component-crud-list.ts +129 -0
- package/src/lib/api/base-components/base-component-crud.ts +92 -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 +257 -0
- package/src/lib/api/base-components/base-component-input.ts +121 -0
- package/src/lib/api/base-components/base-component-multi-select.ts +187 -0
- package/src/lib/api/base-components/base-component-table.ts +366 -0
- package/src/lib/api/base-components/base-component.ts +47 -0
- package/src/lib/api/components/chart/chart.config.ts +15 -0
- package/src/lib/api/components/chart/chart.model.ts +12 -0
- package/src/lib/api/components/chart/orchart.config.ts +51 -0
- package/src/lib/api/components/chart/orchartnode.ts +44 -0
- package/src/lib/api/components/dropdown/filtro.combo.ts +4 -0
- package/{lib/api/components/step/step.model.d.ts → src/lib/api/components/step/step.model.ts} +15 -13
- package/src/lib/api/components/stepper/kv-stepperpanel.ts +10 -0
- package/src/lib/api/components/table/action-item.ts +13 -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 +38 -0
- package/src/lib/api/components/table/table.config.ts +39 -0
- package/src/lib/api/components/table/table.paginate.ts +7 -0
- package/{lib/api/components/table/tabledit.config.d.ts → src/lib/api/components/table/tabledit.config.ts} +9 -8
- package/src/lib/api/components/table/tableedit.config.column.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table-keys.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table.config.ts +34 -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 +174 -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 +144 -0
- package/src/lib/api/pipes/capitalize.pipe.ts +47 -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 +71 -0
- package/src/lib/api/services/chat.service.ts +39 -0
- package/src/lib/api/services/component.service.ts +44 -0
- package/src/lib/api/services/docs.service.ts +129 -0
- package/src/lib/api/services/form.service.ts +139 -0
- package/src/lib/api/services/image.cutter.service.ts +290 -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/src/lib/api/services/orgchart.service.ts +77 -0
- package/src/lib/api/services/pdf.service.ts +54 -0
- package/src/lib/api/types/breadcrumb.model.ts +5 -0
- package/src/lib/api/types/severity.ts +3 -0
- package/src/lib/api/types/stimulsoft.reports.d.ts +67463 -0
- package/src/lib/components/keevo-components-styles.scss +5 -0
- package/src/lib/components/keevo-components.module.ts +105 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.html +75 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +162 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +23 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +165 -0
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +32 -0
- package/src/lib/components/kv-button/kv-button.component.html +26 -0
- package/src/lib/components/kv-button/kv-button.component.spec.ts +23 -0
- package/src/lib/components/kv-button/kv-button.component.ts +55 -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 +13 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +33 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +41 -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-card-selection/kv-card-selection.component.html +63 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.scss +54 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.spec.ts +23 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.ts +73 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.module.ts +19 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.html +26 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +47 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +23 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +40 -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 +174 -0
- package/src/lib/components/kv-chart/kv-chart.module.ts +21 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.html +9 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.scss +7 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.spec.ts +23 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.ts +32 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.ts +14 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.html +229 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.scss +185 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.spec.ts +23 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.ts +171 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.module.ts +25 -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 +134 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.scss +13 -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 +200 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.module.ts +13 -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 +42 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +14 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.html +34 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.scss +17 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.ts +80 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.ts +15 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.html +103 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.scss +153 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.spec.ts +23 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.ts +73 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.module.ts +18 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.html +12 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +76 -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 +18 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +23 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.html +81 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.scss +197 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.ts +150 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.module.ts +20 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.pipe.ts +24 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.html +25 -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-icon/kv-icon.component.html +13 -0
- package/src/lib/components/kv-icon/kv-icon.component.scss +69 -0
- package/src/lib/components/kv-icon/kv-icon.component.spec.ts +28 -0
- package/src/lib/components/kv-icon/kv-icon.component.ts +30 -0
- package/src/lib/components/kv-icon/kv-icon.model.ts +3 -0
- package/src/lib/components/kv-icon/kv-icon.module.ts +16 -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 +153 -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 +38 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +32 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +87 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +119 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.html +13 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.ts +16 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.html +18 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.ts +41 -0
- package/src/lib/components/kv-inputs/kv-editor/config/kv-editor.config.ts +120 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +285 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +182 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +311 -0
- package/{lib/components/kv-inputs/kv-editor/kv-editor.d.ts → src/lib/components/kv-inputs/kv-editor/kv-editor.ts} +6 -6
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.ts +156 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.ts +190 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.spec.ts +126 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.ts +84 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.spec.ts +176 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.ts +101 -0
- package/src/lib/components/kv-inputs/kv-editor/types/kv-editor.types.ts +36 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +37 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +23 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +197 -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-number-addon/kv-input-number-addon.component.html +33 -0
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.scss +5 -0
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.ts +63 -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 +40 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.html +30 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.scss +26 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.ts +38 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +53 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +41 -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 +48 -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 +100 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +87 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +62 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +54 -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 +22 -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 +28 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +61 -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 +43 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +35 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +54 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.html +68 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.scss +86 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.ts +59 -0
- package/src/lib/components/kv-label/kv-label.component.html +3 -0
- package/src/lib/components/kv-label/kv-label.component.scss +15 -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 +25 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.scss +19 -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 +44 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.html +535 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.scss +267 -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 +502 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.html +26 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.scss +71 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.spec.ts +23 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.ts +26 -0
- package/src/lib/components/kv-loader/kv-loader.component.html +1 -0
- package/src/lib/components/kv-loader/kv-loader.component.ts +11 -0
- package/src/lib/components/kv-loader/kv-loader.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.service.ts +29 -0
- package/src/lib/components/kv-login/kv-login.component.html +101 -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 +97 -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 +37 -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 +125 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +73 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +283 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +31 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.html +91 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +100 -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 +206 -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 +276 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +85 -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 +36 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +32 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +57 -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 +461 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +24 -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 +128 -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-progress-bar-alternative/kv-progress-bar-alternative.component.html +43 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.scss +130 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.spec.ts +23 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.ts +82 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.ts +18 -0
- package/src/lib/components/kv-report/kv-report.component.html +3 -0
- package/src/lib/components/kv-report/kv-report.component.scss +14 -0
- package/src/lib/components/kv-report/kv-report.component.spec.ts +28 -0
- package/src/lib/components/kv-report/kv-report.component.ts +44 -0
- package/src/lib/components/kv-report/kv-report.module.ts +18 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.html +94 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +43 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +73 -0
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +27 -0
- package/src/lib/components/kv-steps/kv-steps.component.html +53 -0
- package/src/lib/components/kv-steps/kv-steps.component.scss +120 -0
- package/src/lib/components/kv-steps/kv-steps.component.ts +122 -0
- package/src/lib/components/kv-table/kv-table.component.html +655 -0
- package/src/lib/components/kv-table/kv-table.component.spec.ts +28 -0
- package/src/lib/components/kv-table/kv-table.component.ts +792 -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 +913 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +829 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +425 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +31 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +634 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +387 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +546 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +22 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.html +25 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.scss +0 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.ts +17 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.html +20 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.scss +0 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.ts +14 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.html +164 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.scss +80 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.ts +183 -0
- package/src/lib/components/kv-tag/kv-tag.component.html +3 -0
- package/src/lib/components/kv-tag/kv-tag.component.scss +65 -0
- package/src/lib/components/kv-tag/kv-tag.component.spec.ts +23 -0
- package/src/lib/components/kv-tag/kv-tag.component.ts +16 -0
- package/src/lib/components/kv-tag/kv-tag.module.ts +18 -0
- package/src/lib/components/kv-tags/kv-tags.component.html +19 -0
- package/src/lib/components/kv-tags/kv-tags.component.scss +28 -0
- package/src/lib/components/kv-tags/kv-tags.component.ts +64 -0
- package/src/lib/components/kv-tags/kv-tags.module.ts +18 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.html +28 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.scss +6 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.spec.ts +23 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.ts +77 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +492 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +187 -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 +355 -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 +16 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +19 -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 +73 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +19 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.html +71 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.scss +27 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.spec.ts +28 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.ts +107 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.module.ts +20 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.html +22 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.scss +36 -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 +41 -0
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +45 -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 +35 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.scss +29 -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 +98 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.html +63 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.scss +62 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.ts +91 -0
- package/{public-api.d.ts → src/public-api.ts} +361 -288
- 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 -104
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +0 -308
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -91
- package/esm2022/lib/api/base-components/base-component-crud.mjs +0 -80
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +0 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +0 -238
- package/esm2022/lib/api/base-components/base-component-input.mjs +0 -101
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +0 -174
- package/esm2022/lib/api/base-components/base-component-table.mjs +0 -354
- 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/orchartnode.mjs +0 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +0 -2
- package/esm2022/lib/api/components/step/step.model.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 -10
- 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-keys.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 -144
- package/esm2022/lib/api/helpers/translate-primeng.mjs +0 -23
- package/esm2022/lib/api/modules/primeng.module.mjs +0 -283
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +0 -47
- 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 -62
- package/esm2022/lib/api/services/chat.service.mjs +0 -37
- package/esm2022/lib/api/services/component.service.mjs +0 -37
- package/esm2022/lib/api/services/docs.service.mjs +0 -129
- package/esm2022/lib/api/services/form.service.mjs +0 -95
- package/esm2022/lib/api/services/image.cutter.service.mjs +0 -193
- 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/services/orgchart.service.mjs +0 -64
- package/esm2022/lib/api/services/pdf.service.mjs +0 -48
- package/esm2022/lib/api/types/breadcrumb.model.mjs +0 -2
- package/esm2022/lib/components/keevo-components.module.mjs +0 -232
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +0 -142
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +0 -55
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +0 -51
- 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 -39
- 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-card-selection/kv-card-selection.component.mjs +0 -60
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.module.mjs +0 -31
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +0 -34
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +0 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +0 -166
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +0 -32
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.mjs +0 -32
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.mjs +0 -22
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +0 -185
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.module.mjs +0 -44
- 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 -191
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +0 -23
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +0 -46
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +0 -20
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.mjs +0 -68
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.mjs +0 -24
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +0 -29
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +0 -34
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +0 -103
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +0 -31
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +0 -30
- 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 -136
- 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 -102
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.mjs +0 -18
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.mjs +0 -40
- package/esm2022/lib/components/kv-inputs/kv-editor/config/kv-editor.config.mjs +0 -110
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +0 -266
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.mjs +0 -7
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +0 -135
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.mjs +0 -168
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +0 -78
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.mjs +0 -95
- package/esm2022/lib/components/kv-inputs/kv-editor/types/kv-editor.types.mjs +0 -2
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +0 -168
- 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-number-addon/kv-input-number-addon.component.mjs +0 -66
- 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 -38
- package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +0 -50
- 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 -165
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +0 -60
- 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 -37
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +0 -58
- 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 -72
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +0 -433
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +0 -15
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +0 -16
- 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 -62
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +0 -47
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +0 -98
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +0 -20
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +0 -225
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +0 -59
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +0 -190
- 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 -205
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +0 -51
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +0 -386
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +0 -39
- 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-progress-bar-alternative/kv-progress-bar-alternative.component.mjs +0 -62
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.mjs +0 -28
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +0 -44
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +0 -24
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +0 -74
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +0 -47
- package/esm2022/lib/components/kv-steps/kv-steps.component.mjs +0 -105
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +0 -673
- 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 -341
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +0 -45
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +0 -516
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +0 -40
- package/esm2022/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.mjs +0 -17
- package/esm2022/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.mjs +0 -18
- package/esm2022/lib/components/kv-table-viewer/kv-table-viewer.component.mjs +0 -184
- package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +0 -18
- package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +0 -24
- package/esm2022/lib/components/kv-tags/kv-tags.component.mjs +0 -35
- package/esm2022/lib/components/kv-tags/kv-tags.module.mjs +0 -27
- package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +0 -71
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +0 -331
- 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 -70
- 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 -40
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +0 -68
- 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 -78
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +0 -87
- package/esm2022/public-api.mjs +0 -293
- package/fesm2022/keevo-components.mjs +0 -11977
- 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 -57
- package/lib/api/base-components/base-component-input.d.ts +0 -33
- package/lib/api/base-components/base-component-multi-select.d.ts +0 -40
- package/lib/api/base-components/base-component-table.d.ts +0 -88
- package/lib/api/base-components/base-component.d.ts +0 -22
- package/lib/api/components/chart/chart.config.d.ts +0 -14
- package/lib/api/components/chart/chart.model.d.ts +0 -12
- package/lib/api/components/chart/orchart.config.d.ts +0 -41
- package/lib/api/components/chart/orchartnode.d.ts +0 -34
- 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 -13
- 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 -38
- package/lib/api/components/table/table.config.d.ts +0 -36
- package/lib/api/components/table/table.paginate.d.ts +0 -10
- package/lib/api/components/table/tableedit.config.column.d.ts +0 -11
- package/lib/api/components/tree-table/tree-table-keys.d.ts +0 -12
- package/lib/api/components/tree-table/tree-table.config.d.ts +0 -31
- 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 -18
- package/lib/api/helpers/translate-primeng.d.ts +0 -4
- package/lib/api/modules/primeng.module.d.ts +0 -69
- package/lib/api/pipes/capitalize.pipe.d.ts +0 -10
- 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/chat.service.d.ts +0 -17
- 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/image.cutter.service.d.ts +0 -16
- 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/api/services/orgchart.service.d.ts +0 -20
- package/lib/api/services/pdf.service.d.ts +0 -7
- package/lib/api/types/breadcrumb.model.d.ts +0 -5
- package/lib/components/keevo-components.module.d.ts +0 -38
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +0 -36
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +0 -15
- package/lib/components/kv-button/kv-button.component.d.ts +0 -24
- 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 -19
- 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-card-selection/kv-card-selection.component.d.ts +0 -25
- package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +0 -10
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +0 -17
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +0 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +0 -57
- package/lib/components/kv-chart/kv-chart.module.d.ts +0 -10
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +0 -12
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +0 -10
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +0 -56
- package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +0 -14
- 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 -35
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +0 -10
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +0 -21
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +0 -8
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +0 -24
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +0 -9
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +0 -13
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +0 -10
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +0 -32
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +0 -9
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +0 -7
- 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 -34
- 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 -33
- package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +0 -8
- package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +0 -14
- package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +0 -55
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +0 -69
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +0 -41
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +0 -41
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +0 -28
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +0 -45
- package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +0 -32
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +0 -34
- 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-number-addon/kv-input-number-addon.component.d.ts +0 -21
- 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 -11
- package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +0 -13
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +0 -18
- 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 -38
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +0 -20
- 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 -26
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +0 -25
- 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 -18
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +0 -156
- package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +0 -16
- package/lib/components/kv-loader/kv-loader.component.d.ts +0 -7
- 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 -32
- 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 -45
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +0 -17
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +0 -98
- 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 -14
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +0 -70
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +0 -11
- 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-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +0 -71
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +0 -9
- package/lib/components/kv-report/kv-report.component.d.ts +0 -18
- package/lib/components/kv-report/kv-report.module.d.ts +0 -8
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +0 -32
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +0 -13
- package/lib/components/kv-steps/kv-steps.component.d.ts +0 -21
- package/lib/components/kv-table/kv-table.component.d.ts +0 -154
- 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 -66
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +0 -15
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +0 -119
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +0 -13
- package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +0 -8
- package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +0 -7
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +0 -72
- package/lib/components/kv-tag/kv-tag.component.d.ts +0 -7
- package/lib/components/kv-tag/kv-tag.module.d.ts +0 -8
- package/lib/components/kv-tags/kv-tags.component.d.ts +0 -31
- package/lib/components/kv-tags/kv-tags.module.d.ts +0 -8
- package/lib/components/kv-timeline/kv-timeline.component.d.ts +0 -18
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +0 -86
- 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 -21
- 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 -14
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +0 -19
- 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 -25
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +0 -37
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { Component, computed, EventEmitter, input, Input, Output, signal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../api/services/notification.service";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "primeng/skeleton";
|
|
6
|
-
import * as i4 from "../kv-file-viewer-novo/kv-file-viewer-novo.component";
|
|
7
|
-
import * as i5 from "ngx-loading";
|
|
8
|
-
import * as i6 from "../kv-button/kv-button.component";
|
|
9
|
-
export class KvContentViewerComponent {
|
|
10
|
-
constructor(notificationService) {
|
|
11
|
-
this.notificationService = notificationService;
|
|
12
|
-
// #region Signals
|
|
13
|
-
this.dataSource = input([]);
|
|
14
|
-
this.paginaInicial = signal(1);
|
|
15
|
-
this.arquivo = input(undefined);
|
|
16
|
-
this.arquivoPreview = signal(undefined);
|
|
17
|
-
this.nomeArquivo = signal('');
|
|
18
|
-
this.type = input(undefined);
|
|
19
|
-
this.blob = input('');
|
|
20
|
-
this.idarquivo = signal(undefined);
|
|
21
|
-
this.ekpContent = input(undefined);
|
|
22
|
-
this.totalItensCarregado = computed(() => this.dataSource()?.length || 0);
|
|
23
|
-
this.previewOn = false;
|
|
24
|
-
this.selectedItem = {};
|
|
25
|
-
this.totalRecords = 0;
|
|
26
|
-
this.isLoading = false;
|
|
27
|
-
this.displaySidebar = false;
|
|
28
|
-
this.isSelected = false;
|
|
29
|
-
this.visualizadorDocumentos = false;
|
|
30
|
-
this.indvisualizado = false;
|
|
31
|
-
this.btnTelaCheia = false;
|
|
32
|
-
this.isLoadingSkeleton = false;
|
|
33
|
-
this.borderCardNaoVisualizado = true;
|
|
34
|
-
this.contentForm = false;
|
|
35
|
-
this.contentViewer = false;
|
|
36
|
-
this.keyVisualizado = 'indvisualizado';
|
|
37
|
-
// #endregion
|
|
38
|
-
// #region Outputs
|
|
39
|
-
this.onScrollHandler = new EventEmitter();
|
|
40
|
-
this.onSelectFile = new EventEmitter();
|
|
41
|
-
this.onSave = new EventEmitter();
|
|
42
|
-
this.onCancel = new EventEmitter();
|
|
43
|
-
}
|
|
44
|
-
todayDate() {
|
|
45
|
-
const today = new Date();
|
|
46
|
-
return today.toLocaleDateString('pt-BR', { day: '2-digit', month: '2-digit', year: 'numeric' });
|
|
47
|
-
}
|
|
48
|
-
// #endregion
|
|
49
|
-
trackByFn(index, item) {
|
|
50
|
-
return item.idarquivo;
|
|
51
|
-
}
|
|
52
|
-
isVisualizado(option) {
|
|
53
|
-
return option[this.keyVisualizado] || false;
|
|
54
|
-
}
|
|
55
|
-
visualizarPreview(arquivo, buttonTemplate) {
|
|
56
|
-
if (buttonTemplate) {
|
|
57
|
-
this.contentViewer = true;
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
arquivo[this.keyVisualizado] = true;
|
|
61
|
-
this.contentViewer = true;
|
|
62
|
-
this.arquivoPreview.set(arquivo);
|
|
63
|
-
}
|
|
64
|
-
this.onSelectFile.emit(arquivo);
|
|
65
|
-
}
|
|
66
|
-
OnSave() {
|
|
67
|
-
this.onSave.emit();
|
|
68
|
-
this.contentViewer = false;
|
|
69
|
-
this.arquivoPreview.set(undefined);
|
|
70
|
-
}
|
|
71
|
-
OnCancel() {
|
|
72
|
-
this.notificationService.question({
|
|
73
|
-
type: 'question',
|
|
74
|
-
message: 'Você fez alterações que não foram salvas. Tem certeza que deseja cancelar?',
|
|
75
|
-
accept: () => {
|
|
76
|
-
this.onCancel.emit();
|
|
77
|
-
this.contentViewer = false;
|
|
78
|
-
this.arquivoPreview.set(undefined);
|
|
79
|
-
},
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
alternarTelaCheia() {
|
|
83
|
-
const element = document.getElementById('fullscreenDiv');
|
|
84
|
-
const button = document.getElementById('fullscreenBtn');
|
|
85
|
-
// Verifica se os elementos existem
|
|
86
|
-
if (element && button) {
|
|
87
|
-
if (!document.fullscreenElement) {
|
|
88
|
-
// Expandir para tela cheia
|
|
89
|
-
if (element.requestFullscreen) {
|
|
90
|
-
element.requestFullscreen();
|
|
91
|
-
}
|
|
92
|
-
else if (element.mozRequestFullScreen) { // Para Firefox
|
|
93
|
-
element.mozRequestFullScreen();
|
|
94
|
-
}
|
|
95
|
-
else if (element.webkitRequestFullscreen) { // Para Chrome, Safari e Opera
|
|
96
|
-
element.webkitRequestFullscreen();
|
|
97
|
-
}
|
|
98
|
-
else if (element.msRequestFullscreen) { // Para IE/Edge
|
|
99
|
-
element.msRequestFullscreen();
|
|
100
|
-
}
|
|
101
|
-
button.textContent = 'close_fullscreen';
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
// Sair da tela cheia
|
|
105
|
-
if (document.exitFullscreen) {
|
|
106
|
-
document.exitFullscreen();
|
|
107
|
-
}
|
|
108
|
-
else if (document.mozCancelFullScreen) { // Para Firefox
|
|
109
|
-
document.mozCancelFullScreen();
|
|
110
|
-
}
|
|
111
|
-
else if (document.webkitExitFullscreen) { // Para Chrome, Safari e Opera
|
|
112
|
-
document.webkitExitFullscreen();
|
|
113
|
-
}
|
|
114
|
-
else if (document.msExitFullscreen) { // Para IE/Edge
|
|
115
|
-
document.msExitFullscreen();
|
|
116
|
-
}
|
|
117
|
-
button.textContent = 'open_in_full';
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
ngOnInit() {
|
|
122
|
-
document.addEventListener('fullscreenchange', () => {
|
|
123
|
-
const button = document.getElementById('fullscreenBtn');
|
|
124
|
-
if (button) {
|
|
125
|
-
if (!document.fullscreenElement) {
|
|
126
|
-
button.textContent = 'open_in_full';
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
button.textContent = 'close_fullscreen';
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
scrollHandler($event) {
|
|
135
|
-
const element = $event.target;
|
|
136
|
-
//se o escroll chegar até o final
|
|
137
|
-
if (element.scrollHeight - element.scrollTop === element.clientHeight) {
|
|
138
|
-
// this.buscarProximosDocumentos();
|
|
139
|
-
this.onScrollHandler.emit($event);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerComponent, deps: [{ token: i1.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
143
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvContentViewerComponent, selector: "kv-content-viewer", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: false, transformFunction: null }, arquivo: { classPropertyName: "arquivo", publicName: "arquivo", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, blob: { classPropertyName: "blob", publicName: "blob", isSignal: true, isRequired: false, transformFunction: null }, ekpContent: { classPropertyName: "ekpContent", publicName: "ekpContent", isSignal: true, isRequired: false, transformFunction: null }, extencaoDocumento: { classPropertyName: "extencaoDocumento", publicName: "extencaoDocumento", isSignal: false, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: false, isRequired: false, transformFunction: null }, visualizadorDocumentos: { classPropertyName: "visualizadorDocumentos", publicName: "visualizadorDocumentos", isSignal: false, isRequired: false, transformFunction: null }, cardTemplate: { classPropertyName: "cardTemplate", publicName: "cardTemplate", isSignal: false, isRequired: false, transformFunction: null }, contentTemplate: { classPropertyName: "contentTemplate", publicName: "contentTemplate", isSignal: false, isRequired: false, transformFunction: null }, noDocumentSelectedTemplate: { classPropertyName: "noDocumentSelectedTemplate", publicName: "noDocumentSelectedTemplate", isSignal: false, isRequired: false, transformFunction: null }, noDocumentListTemplate: { classPropertyName: "noDocumentListTemplate", publicName: "noDocumentListTemplate", isSignal: false, isRequired: false, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: false, isRequired: false, transformFunction: null }, listBottomTemplate: { classPropertyName: "listBottomTemplate", publicName: "listBottomTemplate", isSignal: false, isRequired: false, transformFunction: null }, indvisualizado: { classPropertyName: "indvisualizado", publicName: "indvisualizado", isSignal: false, isRequired: false, transformFunction: null }, btnTelaCheia: { classPropertyName: "btnTelaCheia", publicName: "btnTelaCheia", isSignal: false, isRequired: false, transformFunction: null }, isLoadingSkeleton: { classPropertyName: "isLoadingSkeleton", publicName: "isLoadingSkeleton", isSignal: false, isRequired: false, transformFunction: null }, borderCardNaoVisualizado: { classPropertyName: "borderCardNaoVisualizado", publicName: "borderCardNaoVisualizado", isSignal: false, isRequired: false, transformFunction: null }, contentForm: { classPropertyName: "contentForm", publicName: "contentForm", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onScrollHandler: "onScrollHandler", onSelectFile: "onSelectFile", onSave: "onSave", onCancel: "onCancel" }, ngImport: i0, template: "<div\r\n class=\"flex flex-column md:flex-row gap-2 custom-max-height \"\r\n style=\"height: 100%\"\r\n>\r\n <!-- Lista de documentos -->\r\n <div\r\n class=\"card-perfil col-12 md:col-4 lg:col-3 flex flex-column justify-content-between\"\r\n (scroll)=\"scrollHandler($event)\"\r\n [ngClass]=\"{\r\n 'overflow-y-auto': dataSource().length > 0,\r\n 'overflow-y-hidden': dataSource().length === 0\r\n }\"\r\n style=\"position: relative; height: 100%; min-height: 15rem\"\r\n >\r\n <div *ngIf=\"dataSource().length > 0; else emptyDocumentList\" class=\"col-12\">\r\n <!-- Lista de cards -->\r\n <div\r\n *ngFor=\"let option of dataSource(); trackBy: trackByFn\"\r\n class=\"card-normal outline-none border-round-xl w-full p-2 m-1 grid p-fluid flex flex-row flex-nowrap align-items-center justify-content-center cursor-pointer\"\r\n (click)=\"visualizarPreview(option)\"\r\n [ngClass]=\"{\r\n 'card-naoVisualizado': !isVisualizado(option) && borderCardNaoVisualizado,\r\n 'card-selected': option === arquivoPreview(),\r\n 'card-normal': option !== arquivoPreview(),\r\n }\"\r\n >\r\n <div\r\n class=\"flex flex-grow-1 ml-2 flex-column gap-1 m-0 p-0 overflow-hidden text-overflow-ellipsis\"\r\n style=\"max-width: 100%\"\r\n >\r\n <ng-container *ngIf=\"cardTemplate; else defaultTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"cardTemplate; context: { $implicit: option }\"\r\n ></ng-container>\r\n </ng-container>\r\n </div>\r\n <ng-template #defaultTemplate>\r\n <div class=\"card-common-style default-card\">\r\n <h1 class=\"font-bold text-base p-0 m-0\">Bem-vindo!</h1>\r\n <p class=\"text-sm mt-2\">\r\n Kv-file-preview aguardando um template...\r\n </p>\r\n <p class=\"font-bold text-sm p-0 m-0\">Data: {{ todayDate() }}</p>\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <ng-template #emptyDocumentList>\r\n @if(isLoadingSkeleton){\r\n <p-skeleton \r\n *ngFor=\"let i of [1, 2, 3, 4, 5, 6, 7, 8, 9]\" \r\n height=\"5rem\" \r\n [style]=\"{ 'margin-bottom': '0.25rem', 'borderRadius': '0.75rem' }\"\r\n ></p-skeleton>\r\n } @if(!noDocumentListTemplate) {\r\n <div class=\"text-center text-gray-600 mt-4 m-3\" style=\"height: 100%\">\r\n <div class=\"flex align-items-center gap-1\">\r\n <span class=\"material-symbols-outlined\"> inbox </span>\r\n <p>Nenhum documento dispon\u00EDvel.</p>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"text-center mt-4 m-3\" style=\"height: 100%\">\r\n <ng-container *ngTemplateOutlet=\"noDocumentListTemplate\"></ng-container>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <!-- Contador de documentos - Fixo na parte inferior -->\r\n <div\r\n class=\"sticky-counter flex flex-column\r\n justify-content-center text-center px-2 p-2\"\r\n style=\"position: sticky; bottom: -10px; background-color: white; \"\r\n >\r\n <span>{{ totalItensCarregado() }} de {{ totalRecords }}</span>\r\n @if(listBottomTemplate) {\r\n <ng-container *ngTemplateOutlet=\"listBottomTemplate\"></ng-container>\r\n }\r\n </div>\r\n\r\n </div>\r\n\r\n <!-- Visualizador -->\r\n <div\r\n id=\"fullscreenDiv\"\r\n class=\"card-visualizador col-12 md:col-8 lg:col-9 flex-1\"\r\n style=\"position: relative; height: 100%\"\r\n [ngStyle]=\"{\r\n 'overflow-y': arquivoPreview() ? 'auto' : 'hidden'\r\n }\"\r\n >\r\n @if(btnTelaCheia && !buttonTemplate) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(!btnTelaCheia && buttonTemplate && !contentViewer) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n </div>\r\n } @if(btnTelaCheia && buttonTemplate) {\r\n <div class=\"grid\">\r\n @if(!contentViewer) {\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n }\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(visualizadorDocumentos) {\r\n <ng-container *ngIf=\"arquivo(); else noDocumentSelected\">\r\n @if(isLoading) {\r\n <ngx-loading\r\n [show]=\"isLoading\"\r\n [config]=\"{ backdropBorderRadius: '3px', fullScreenBackdrop: false }\"\r\n ></ngx-loading>\r\n }\r\n <kv-file-viewer-novo\r\n *ngIf=\"extencaoDocumento !== 'ekp'\"\r\n [arquivo]=\"arquivo()!\"\r\n [type]=\"type()!\"\r\n [blob]=\"blob()!\"\r\n [width]=\"'100%'\"\r\n [height]=\"'100%'\"\r\n class=\"file-viewer\"\r\n style=\"max-height: 100%\"\r\n >\r\n </kv-file-viewer-novo>\r\n\r\n <div\r\n id=\"html-content\"\r\n [innerHTML]=\"ekpContent()\"\r\n *ngIf=\"extencaoDocumento === 'ekp'\"\r\n class=\"ekp-content\"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></div>\r\n </ng-container>\r\n } @else {\r\n <div class=\"flex flex-column\" style=\"height: 92%;\" >\r\n <ng-container\r\n *ngIf=\"arquivoPreview() || contentViewer; else noDocumentSelected\"\r\n >\r\n <div style=\"flex: 1;\">\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n contentTemplate;\r\n context: { $implicit: arquivoPreview() }\r\n \"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></ng-container>\r\n </div>\r\n @if(contentForm) {\r\n <div class=\"grid\" style=\"position: sticky; bottom: 0; background-color: white; z-index: 10; padding: 1rem 1rem 0 1rem;\">\r\n <div class=\"col-8\">\r\n <span class=\"text-sm\">\r\n <span class=\"font-bold\">*</span> Campos obrigat\u00F3rios\r\n </span>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Cancelar\"\r\n icon=\"close\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"tertiary\"\r\n (onClick)=\"OnCancel()\"\r\n >\r\n </kv-button>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Salvar\"\r\n icon=\"save\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"primary\"\r\n (onClick)=\"OnSave()\"\r\n >\r\n </kv-button>\r\n </div>\r\n </div>\r\n }\r\n </ng-container>\r\n </div> \r\n }\r\n <ng-template #noDocumentSelected>\r\n @if(!noDocumentSelectedTemplate) {\r\n <div\r\n class=\"no-document-message flex flex-column align-items-center justify-content-center\"\r\n style=\"height: 100%; overflow-y: auto\"\r\n >\r\n <p class=\"text-center text-gray-500\">\r\n Selecione um arquivo para visualiza\u00E7\u00E3o\r\n </p>\r\n <img\r\n [src]=\"\r\n 'https://work-assets.keevo.com.br/img/Digital_personal_files-pana_3.png'\r\n \"\r\n style=\"max-height: 50%; margin-top: 2rem\"\r\n alt=\"\"\r\n />\r\n </div>\r\n } @else {\r\n <ng-container\r\n *ngTemplateOutlet=\"noDocumentSelectedTemplate\"\r\n ></ng-container>\r\n }\r\n </ng-template>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.farol-statuspublicacao{margin-right:.5rem;width:.35rem;border-radius:1rem;-webkit-border-radius:1rem;-moz-border-radius:1rem;-ms-border-radius:1rem;-o-border-radius:1rem}:host ::ng-deep .p-sidebar{border-radius:5px;position:absolute;height:var(--sidebar-height)}:host ::ng-deep .p-sidebar .p-sidebar-content{overflow:auto;border:1px solid #e5e7eb;border-radius:5px;margin-top:1rem}.card-perfil,.card-visualizador{border:1.5px solid #CBD5E1;background:#fff;border-radius:6px;max-height:100%}@media (max-width: 768px){.card-perfil{max-height:20rem;overflow-y:auto}}@media (max-width: 768px){.card-visualizador{max-height:100%;overflow-y:auto}}:host ::ng-deep .p-fieldset .p-fieldset-content{padding-bottom:0}:host ::ng-deep .p-sidebar .p-sidebar-close{display:none}.card-normal{border:1.5px solid #CBD5E1}.card-naoVisualizado{border-left:4px solid #e6671f}.parent-container{height:100%;display:flex;flex-direction:column}.file-viewer{margin:auto}.ekp-content{min-height:20rem;padding:1rem;overflow-y:auto;border-radius:5px}ngx-loading{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000}.card{transition:all .3s ease;border:1px solid transparent}.card-normal:hover{border:1px solid #a9a9a9;box-shadow:0 4px 8px #0000001a}.card-selected{background-color:#f0f0f0;border:1px solid #c0c0c0;box-shadow:0 6px 12px #00000026;transform:scale(1.02)}.loading-spinner{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem;color:#666}#html-content{width:100%;height:100%;overflow-y:auto}:host ::ng-deep .list-card-button .kv-button{width:22px;height:22px}:host ::ng-deep .list-card-button .kv-button .material-symbols-outlined.only-icon.icon-normal[_ngcontent-ng-c4083184952]{font-size:1rem}.custom-max-height{height:100%}@media (max-height: 768px){.custom-max-height{height:auto;min-height:100vh}}.download-icon{font-size:20px;cursor:pointer;transition:transform .3s ease,color .3s ease}.download-icon:hover{color:#0f6cbd;transform:scale(1.2)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "style", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i4.KvFileViewerNovoComponent, selector: "kv-file-viewer-novo", inputs: ["arquivo", "type", "blob", "width", "height"] }, { kind: "component", type: i5.NgxLoadingComponent, selector: "ngx-loading", inputs: ["show", "config", "template"] }, { kind: "component", type: i6.KvButtonComponent, selector: "kv-button", inputs: ["fullWidth", "type", "loading", "severity", "size", "icon", "iconPosition", "label", "disabled", "items", "popup"], outputs: ["iconChange", "onClick"] }] }); }
|
|
144
|
-
}
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerComponent, decorators: [{
|
|
146
|
-
type: Component,
|
|
147
|
-
args: [{ selector: 'kv-content-viewer', template: "<div\r\n class=\"flex flex-column md:flex-row gap-2 custom-max-height \"\r\n style=\"height: 100%\"\r\n>\r\n <!-- Lista de documentos -->\r\n <div\r\n class=\"card-perfil col-12 md:col-4 lg:col-3 flex flex-column justify-content-between\"\r\n (scroll)=\"scrollHandler($event)\"\r\n [ngClass]=\"{\r\n 'overflow-y-auto': dataSource().length > 0,\r\n 'overflow-y-hidden': dataSource().length === 0\r\n }\"\r\n style=\"position: relative; height: 100%; min-height: 15rem\"\r\n >\r\n <div *ngIf=\"dataSource().length > 0; else emptyDocumentList\" class=\"col-12\">\r\n <!-- Lista de cards -->\r\n <div\r\n *ngFor=\"let option of dataSource(); trackBy: trackByFn\"\r\n class=\"card-normal outline-none border-round-xl w-full p-2 m-1 grid p-fluid flex flex-row flex-nowrap align-items-center justify-content-center cursor-pointer\"\r\n (click)=\"visualizarPreview(option)\"\r\n [ngClass]=\"{\r\n 'card-naoVisualizado': !isVisualizado(option) && borderCardNaoVisualizado,\r\n 'card-selected': option === arquivoPreview(),\r\n 'card-normal': option !== arquivoPreview(),\r\n }\"\r\n >\r\n <div\r\n class=\"flex flex-grow-1 ml-2 flex-column gap-1 m-0 p-0 overflow-hidden text-overflow-ellipsis\"\r\n style=\"max-width: 100%\"\r\n >\r\n <ng-container *ngIf=\"cardTemplate; else defaultTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"cardTemplate; context: { $implicit: option }\"\r\n ></ng-container>\r\n </ng-container>\r\n </div>\r\n <ng-template #defaultTemplate>\r\n <div class=\"card-common-style default-card\">\r\n <h1 class=\"font-bold text-base p-0 m-0\">Bem-vindo!</h1>\r\n <p class=\"text-sm mt-2\">\r\n Kv-file-preview aguardando um template...\r\n </p>\r\n <p class=\"font-bold text-sm p-0 m-0\">Data: {{ todayDate() }}</p>\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n\r\n <ng-template #emptyDocumentList>\r\n @if(isLoadingSkeleton){\r\n <p-skeleton \r\n *ngFor=\"let i of [1, 2, 3, 4, 5, 6, 7, 8, 9]\" \r\n height=\"5rem\" \r\n [style]=\"{ 'margin-bottom': '0.25rem', 'borderRadius': '0.75rem' }\"\r\n ></p-skeleton>\r\n } @if(!noDocumentListTemplate) {\r\n <div class=\"text-center text-gray-600 mt-4 m-3\" style=\"height: 100%\">\r\n <div class=\"flex align-items-center gap-1\">\r\n <span class=\"material-symbols-outlined\"> inbox </span>\r\n <p>Nenhum documento dispon\u00EDvel.</p>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"text-center mt-4 m-3\" style=\"height: 100%\">\r\n <ng-container *ngTemplateOutlet=\"noDocumentListTemplate\"></ng-container>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <!-- Contador de documentos - Fixo na parte inferior -->\r\n <div\r\n class=\"sticky-counter flex flex-column\r\n justify-content-center text-center px-2 p-2\"\r\n style=\"position: sticky; bottom: -10px; background-color: white; \"\r\n >\r\n <span>{{ totalItensCarregado() }} de {{ totalRecords }}</span>\r\n @if(listBottomTemplate) {\r\n <ng-container *ngTemplateOutlet=\"listBottomTemplate\"></ng-container>\r\n }\r\n </div>\r\n\r\n </div>\r\n\r\n <!-- Visualizador -->\r\n <div\r\n id=\"fullscreenDiv\"\r\n class=\"card-visualizador col-12 md:col-8 lg:col-9 flex-1\"\r\n style=\"position: relative; height: 100%\"\r\n [ngStyle]=\"{\r\n 'overflow-y': arquivoPreview() ? 'auto' : 'hidden'\r\n }\"\r\n >\r\n @if(btnTelaCheia && !buttonTemplate) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(!btnTelaCheia && buttonTemplate && !contentViewer) {\r\n <div class=\"grid\">\r\n <div class=\"col\"></div>\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n </div>\r\n } @if(btnTelaCheia && buttonTemplate) {\r\n <div class=\"grid\">\r\n @if(!contentViewer) {\r\n <span class=\"p-3\">\r\n <span (click)=\"visualizarPreview(null, true)\">\r\n <ng-container *ngTemplateOutlet=\"buttonTemplate\"></ng-container>\r\n </span>\r\n </span>\r\n }\r\n <div class=\"col\"></div>\r\n <span\r\n id=\"fullscreenBtn\"\r\n (click)=\"alternarTelaCheia()\"\r\n class=\"material-symbols-outlined p-2 text-xl cursor-pointer\"\r\n >\r\n open_in_full\r\n </span>\r\n </div>\r\n } @if(visualizadorDocumentos) {\r\n <ng-container *ngIf=\"arquivo(); else noDocumentSelected\">\r\n @if(isLoading) {\r\n <ngx-loading\r\n [show]=\"isLoading\"\r\n [config]=\"{ backdropBorderRadius: '3px', fullScreenBackdrop: false }\"\r\n ></ngx-loading>\r\n }\r\n <kv-file-viewer-novo\r\n *ngIf=\"extencaoDocumento !== 'ekp'\"\r\n [arquivo]=\"arquivo()!\"\r\n [type]=\"type()!\"\r\n [blob]=\"blob()!\"\r\n [width]=\"'100%'\"\r\n [height]=\"'100%'\"\r\n class=\"file-viewer\"\r\n style=\"max-height: 100%\"\r\n >\r\n </kv-file-viewer-novo>\r\n\r\n <div\r\n id=\"html-content\"\r\n [innerHTML]=\"ekpContent()\"\r\n *ngIf=\"extencaoDocumento === 'ekp'\"\r\n class=\"ekp-content\"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></div>\r\n </ng-container>\r\n } @else {\r\n <div class=\"flex flex-column\" style=\"height: 92%;\" >\r\n <ng-container\r\n *ngIf=\"arquivoPreview() || contentViewer; else noDocumentSelected\"\r\n >\r\n <div style=\"flex: 1;\">\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n contentTemplate;\r\n context: { $implicit: arquivoPreview() }\r\n \"\r\n style=\"overflow-y: auto; max-height: 100%\"\r\n ></ng-container>\r\n </div>\r\n @if(contentForm) {\r\n <div class=\"grid\" style=\"position: sticky; bottom: 0; background-color: white; z-index: 10; padding: 1rem 1rem 0 1rem;\">\r\n <div class=\"col-8\">\r\n <span class=\"text-sm\">\r\n <span class=\"font-bold\">*</span> Campos obrigat\u00F3rios\r\n </span>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Cancelar\"\r\n icon=\"close\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"tertiary\"\r\n (onClick)=\"OnCancel()\"\r\n >\r\n </kv-button>\r\n </div>\r\n <div class=\"col-2\">\r\n <kv-button\r\n label=\"Salvar\"\r\n icon=\"save\"\r\n class=\"w-full md:w-auto\"\r\n severity=\"primary\"\r\n (onClick)=\"OnSave()\"\r\n >\r\n </kv-button>\r\n </div>\r\n </div>\r\n }\r\n </ng-container>\r\n </div> \r\n }\r\n <ng-template #noDocumentSelected>\r\n @if(!noDocumentSelectedTemplate) {\r\n <div\r\n class=\"no-document-message flex flex-column align-items-center justify-content-center\"\r\n style=\"height: 100%; overflow-y: auto\"\r\n >\r\n <p class=\"text-center text-gray-500\">\r\n Selecione um arquivo para visualiza\u00E7\u00E3o\r\n </p>\r\n <img\r\n [src]=\"\r\n 'https://work-assets.keevo.com.br/img/Digital_personal_files-pana_3.png'\r\n \"\r\n style=\"max-height: 50%; margin-top: 2rem\"\r\n alt=\"\"\r\n />\r\n </div>\r\n } @else {\r\n <ng-container\r\n *ngTemplateOutlet=\"noDocumentSelectedTemplate\"\r\n ></ng-container>\r\n }\r\n </ng-template>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.farol-statuspublicacao{margin-right:.5rem;width:.35rem;border-radius:1rem;-webkit-border-radius:1rem;-moz-border-radius:1rem;-ms-border-radius:1rem;-o-border-radius:1rem}:host ::ng-deep .p-sidebar{border-radius:5px;position:absolute;height:var(--sidebar-height)}:host ::ng-deep .p-sidebar .p-sidebar-content{overflow:auto;border:1px solid #e5e7eb;border-radius:5px;margin-top:1rem}.card-perfil,.card-visualizador{border:1.5px solid #CBD5E1;background:#fff;border-radius:6px;max-height:100%}@media (max-width: 768px){.card-perfil{max-height:20rem;overflow-y:auto}}@media (max-width: 768px){.card-visualizador{max-height:100%;overflow-y:auto}}:host ::ng-deep .p-fieldset .p-fieldset-content{padding-bottom:0}:host ::ng-deep .p-sidebar .p-sidebar-close{display:none}.card-normal{border:1.5px solid #CBD5E1}.card-naoVisualizado{border-left:4px solid #e6671f}.parent-container{height:100%;display:flex;flex-direction:column}.file-viewer{margin:auto}.ekp-content{min-height:20rem;padding:1rem;overflow-y:auto;border-radius:5px}ngx-loading{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000}.card{transition:all .3s ease;border:1px solid transparent}.card-normal:hover{border:1px solid #a9a9a9;box-shadow:0 4px 8px #0000001a}.card-selected{background-color:#f0f0f0;border:1px solid #c0c0c0;box-shadow:0 6px 12px #00000026;transform:scale(1.02)}.loading-spinner{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem;color:#666}#html-content{width:100%;height:100%;overflow-y:auto}:host ::ng-deep .list-card-button .kv-button{width:22px;height:22px}:host ::ng-deep .list-card-button .kv-button .material-symbols-outlined.only-icon.icon-normal[_ngcontent-ng-c4083184952]{font-size:1rem}.custom-max-height{height:100%}@media (max-height: 768px){.custom-max-height{height:auto;min-height:100vh}}.download-icon{font-size:20px;cursor:pointer;transition:transform .3s ease,color .3s ease}.download-icon:hover{color:#0f6cbd;transform:scale(1.2)}\n"] }]
|
|
148
|
-
}], ctorParameters: () => [{ type: i1.NotificationService }], propDecorators: { extencaoDocumento: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], totalRecords: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], visualizadorDocumentos: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], cardTemplate: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], contentTemplate: [{
|
|
157
|
-
type: Input
|
|
158
|
-
}], noDocumentSelectedTemplate: [{
|
|
159
|
-
type: Input
|
|
160
|
-
}], noDocumentListTemplate: [{
|
|
161
|
-
type: Input
|
|
162
|
-
}], buttonTemplate: [{
|
|
163
|
-
type: Input
|
|
164
|
-
}], listBottomTemplate: [{
|
|
165
|
-
type: Input
|
|
166
|
-
}], indvisualizado: [{
|
|
167
|
-
type: Input
|
|
168
|
-
}], btnTelaCheia: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}], isLoadingSkeleton: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], borderCardNaoVisualizado: [{
|
|
173
|
-
type: Input
|
|
174
|
-
}], contentForm: [{
|
|
175
|
-
type: Input
|
|
176
|
-
}], onScrollHandler: [{
|
|
177
|
-
type: Output
|
|
178
|
-
}], onSelectFile: [{
|
|
179
|
-
type: Output
|
|
180
|
-
}], onSave: [{
|
|
181
|
-
type: Output
|
|
182
|
-
}], onCancel: [{
|
|
183
|
-
type: Output
|
|
184
|
-
}] } });
|
|
185
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQWUsTUFBTSxFQUFFLE1BQU0sRUFBZSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7QUFTMUgsTUFBTSxPQUFPLHdCQUF3QjtJQTRDaEMsWUFDUyxtQkFBd0M7UUFBeEMsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtRQXpDcEQsa0JBQWtCO1FBQ25CLGVB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IDkyJTtcIiA+XHJcbiAgICAgIDxuZy1jb250YWluZXJcclxuICAgICAgICAqbmdJZj1cImFycXVpdm9QcmV2aWV3KCkgfHwgY29udGVudFZpZXdlcjsgZWxzZSBub0RvY3VtZW50U2VsZWN0ZWRcIlxyXG4gICAgICA+XHJcbiAgICAgIDxkaXYgc3R5bGU9XCJmbGV4OiAxO1wiPlxyXG4gICAgICAgIDxuZy1jb250YWluZXJcclxuICAgICAgICAgICpuZ1RlbXBsYXRlT3V0bGV0PVwiXHJcbiAgICAgICAgICAgIGNvbnRlbnRUZW1wbGF0ZTtcclxuICAgICAgICAgICAgY29udGV4dDogeyAkaW1wbGljaXQ6IGFycXVpdm9QcmV2aWV3KCkgfVxyXG4gICAgICAgICAgXCJcclxuICAgICAgICAgIHN0eWxlPVwib3ZlcmZsb3cteTogYXV0bzsgbWF4LWhlaWdodDogMTAwJVwiXHJcbiAgICAgICAgPjwvbmctY29udGFpbmVyPlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgICBAaWYoY29udGVudEZvcm0pIHtcclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJncmlkXCIgc3R5bGU9XCJwb3NpdGlvbjogc3RpY2t5OyBib3R0b206IDA7IGJhY2tncm91bmQtY29sb3I6IHdoaXRlOyB6LWluZGV4OiAxMDsgcGFkZGluZzogMXJlbSAxcmVtIDAgMXJlbTtcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC04XCI+XHJcbiAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0ZXh0LXNtXCI+XHJcbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImZvbnQtYm9sZFwiPio8L3NwYW4+IENhbXBvcyBvYnJpZ2F0w7NyaW9zXHJcbiAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC0yXCI+XHJcbiAgICAgICAgICAgICAgPGt2LWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgbGFiZWw9XCJDYW5jZWxhclwiXHJcbiAgICAgICAgICAgICAgICBpY29uPVwiY2xvc2VcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGwgbWQ6dy1hdXRvXCJcclxuICAgICAgICAgICAgICAgIHNldmVyaXR5PVwidGVydGlhcnlcIlxyXG4gICAgICAgICAgICAgICAgKG9uQ2xpY2spPVwiT25DYW5jZWwoKVwiXHJcbiAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDwva3YtYnV0dG9uPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC0yXCI+XHJcbiAgICAgICAgICAgICAgPGt2LWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgbGFiZWw9XCJTYWx2YXJcIlxyXG4gICAgICAgICAgICAgICAgaWNvbj1cInNhdmVcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ3LWZ1bGwgbWQ6dy1hdXRvXCJcclxuICAgICAgICAgICAgICAgIHNldmVyaXR5PVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAob25DbGljayk9XCJPblNhdmUoKVwiXHJcbiAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDwva3YtYnV0dG9uPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIH1cclxuICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8L2Rpdj4gXHJcbiAgICB9XHJcbiAgICA8bmctdGVtcGxhdGUgI25vRG9jdW1lbnRTZWxlY3RlZD5cclxuICAgICAgQGlmKCFub0RvY3VtZW50U2VsZWN0ZWRUZW1wbGF0ZSkge1xyXG4gICAgICA8ZGl2XHJcbiAgICAgICAgY2xhc3M9XCJuby1kb2N1bWVudC1tZXNzYWdlIGZsZXggZmxleC1jb2x1bW4gYWxpZ24taXRlbXMtY2VudGVyIGp1c3RpZnktY29udGVudC1jZW50ZXJcIlxyXG4gICAgICAgIHN0eWxlPVwiaGVpZ2h0OiAxMDAlOyBvdmVyZmxvdy15OiBhdXRvXCJcclxuICAgICAgPlxyXG4gICAgICAgIDxwIGNsYXNzPVwidGV4dC1jZW50ZXIgdGV4dC1ncmF5LTUwMFwiPlxyXG4gICAgICAgICAgU2VsZWNpb25lIHVtIGFycXVpdm8gcGFyYSB2aXN1YWxpemHDp8Ojb1xyXG4gICAgICAgIDwvcD5cclxuICAgICAgICA8aW1nXHJcbiAgICAgICAgICBbc3JjXT1cIlxyXG4gICAgICAgICAgICAnaHR0cHM6Ly93b3JrLWFzc2V0cy5rZWV2by5jb20uYnIvaW1nL0RpZ2l0YWxfcGVyc29uYWxfZmlsZXMtcGFuYV8zLnBuZydcclxuICAgICAgICAgIFwiXHJcbiAgICAgICAgICBzdHlsZT1cIm1heC1oZWlnaHQ6IDUwJTsgbWFyZ2luLXRvcDogMnJlbVwiXHJcbiAgICAgICAgICBhbHQ9XCJcIlxyXG4gICAgICAgIC8+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgICB9IEBlbHNlIHtcclxuICAgICAgPG5nLWNvbnRhaW5lclxyXG4gICAgICAgICpuZ1RlbXBsYXRlT3V0bGV0PVwibm9Eb2N1bWVudFNlbGVjdGVkVGVtcGxhdGVcIlxyXG4gICAgICA+PC9uZy1jb250YWluZXI+XHJcbiAgICAgIH1cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { PdfViewerModule } from 'ng2-pdf-viewer';
|
|
4
|
-
import { KvContentViewerComponent } from './kv-content-viewer.component';
|
|
5
|
-
import { KvFileViewerNovoModule } from '../kv-file-viewer-novo/kv-file-viewer-novo.module';
|
|
6
|
-
import { NgxLoadingModule } from 'ngx-loading';
|
|
7
|
-
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
8
|
-
import { KvButtonModule } from '../kv-button/kv-button.module';
|
|
9
|
-
import { KvButtonsModule } from '../kv-buttons/kv-button.module';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class KvContentViewerModule {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, declarations: [KvContentViewerComponent], imports: [CommonModule,
|
|
14
|
-
PdfViewerModule,
|
|
15
|
-
PrimeNgModule,
|
|
16
|
-
KvFileViewerNovoModule,
|
|
17
|
-
NgxLoadingModule,
|
|
18
|
-
KvButtonModule,
|
|
19
|
-
KvButtonsModule], exports: [KvContentViewerComponent] }); }
|
|
20
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, imports: [CommonModule,
|
|
21
|
-
PdfViewerModule,
|
|
22
|
-
PrimeNgModule,
|
|
23
|
-
KvFileViewerNovoModule,
|
|
24
|
-
NgxLoadingModule,
|
|
25
|
-
KvButtonModule,
|
|
26
|
-
KvButtonsModule] }); }
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvContentViewerModule, decorators: [{
|
|
29
|
-
type: NgModule,
|
|
30
|
-
args: [{
|
|
31
|
-
declarations: [KvContentViewerComponent],
|
|
32
|
-
imports: [
|
|
33
|
-
CommonModule,
|
|
34
|
-
PdfViewerModule,
|
|
35
|
-
PrimeNgModule,
|
|
36
|
-
KvFileViewerNovoModule,
|
|
37
|
-
NgxLoadingModule,
|
|
38
|
-
KvButtonModule,
|
|
39
|
-
KvButtonsModule
|
|
40
|
-
],
|
|
41
|
-
exports: [KvContentViewerComponent]
|
|
42
|
-
}]
|
|
43
|
-
}] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29udGVudC12aWV3ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29udGVudC12aWV3ZXIva3YtY29udGVudC12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUN6RSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUMzRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDL0MsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7O0FBZ0JqRSxNQUFNLE9BQU8scUJBQXFCOzhHQUFyQixxQkFBcUI7K0dBQXJCLHFCQUFxQixpQkFaakIsd0JBQXdCLGFBRXJDLFlBQVk7WUFDWixlQ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ZnJvbSAnLi4vLi4vYXBpL21vZHVsZXMvcHJpbWVuZy5tb2R1bGUnO1xyXG5pbXBvcnQgeyBLdkJ1dHRvbk1vZHVsZSB9IGZyb20gJy4uL2t2LWJ1dHRvbi9rdi1idXR0b24ubW9kdWxlJztcclxuaW1wb3J0IHsgS3ZCdXR0b25zTW9kdWxlIH0gZnJvbSAnLi4va3YtYnV0dG9ucy9rdi1idXR0b24ubW9kdWxlJztcclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0t2Q29udGVudFZpZXdlckNvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgUGRmVmlld2VyTW9kdWxlLFxyXG4gICAgUHJpbWVOZ01vZHVsZSxcclxuICAgIEt2RmlsZVZpZXdlck5vdm9Nb2R1bGUsXHJcbiAgICBOZ3hMb2FkaW5nTW9kdWxlLFxyXG4gICAgS3ZCdXR0b25Nb2R1bGUsXHJcbiAgICBLdkJ1dHRvbnNNb2R1bGVcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtLdkNvbnRlbnRWaWV3ZXJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBLdkNvbnRlbnRWaWV3ZXJNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class KvErrorComponent {
|
|
5
|
-
set setHasError(value) {
|
|
6
|
-
this.hasError = value;
|
|
7
|
-
this.emitError.emit(value);
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
constructor() {
|
|
11
|
-
this.hasError = false;
|
|
12
|
-
this.emitError = new EventEmitter();
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvErrorComponent, selector: "kv-error", inputs: { formControl: "formControl", setHasError: ["hasError", "setHasError"] }, ngImport: i0, template: "<small id=\"error-message\" class=\"p-error block\" style=\"height: 0px !important;\" >\r\n <ng-content *ngIf=\"hasError\"></ng-content>\r\n</small>\r\n", styles: ["#error-message{left:1px;font-size:.625rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvErrorComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{ selector: 'kv-error', template: "<small id=\"error-message\" class=\"p-error block\" style=\"height: 0px !important;\" >\r\n <ng-content *ngIf=\"hasError\"></ng-content>\r\n</small>\r\n", styles: ["#error-message{left:1px;font-size:.625rem!important;font-family:Roboto,Arial,Helvetica,sans-serif!important}\n"] }]
|
|
20
|
-
}], ctorParameters: () => [], propDecorators: { formControl: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], setHasError: [{
|
|
23
|
-
type: Input,
|
|
24
|
-
args: ['hasError']
|
|
25
|
-
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtZXJyb3Iva3YtZXJyb3IuY29tcG9uZW50LnRzIiwiLi4vLi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CcsXHJcbiAgc3R5bGVVcmxzOiBbJy4va3YtZXJyb3IuY29tcG9uZW50LnNjc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgS3ZFcnJvckNvbXBvbmVudCB7XHJcbiAgcHVibGljIGhhc0Vycm9yOiBib29sZWFuIHwgdW5kZWZpbmVkID0gZmFsc2U7XHJcblxyXG4gIEBJbnB1dCgpIGZvcm1Db250cm9sITogRm9ybUNvbnRyb2w7XHJcblxyXG4gIEBJbnB1dCgnaGFzRXJyb3InKSBzZXQgc2V0SGFzRXJyb3IodmFsdWU6IGJvb2xlYW4gfCB1bmRlZmluZWQpIHtcclxuICAgIHRoaXMuaGFzRXJyb3IgPSB2YWx1ZTtcclxuICAgIHRoaXMuZW1pdEVycm9yLmVtaXQodmFsdWUpO1xyXG4gIH07XHJcblxyXG4gIGVtaXRFcnJvcjogRXZlbnRFbWl0dGVyPGJvb2xlYW4+ID0gbmV3IEV2ZW50RW1pdHRlcjxib29sZWFuPigpO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG59XHJcbiIsIjxzbWFsbCBpZD1cImVycm9yLW1lc3NhZ2VcIiBjbGFzcz1cInAtZXJyb3IgYmxvY2tcIiBzdHlsZT1cImhlaWdodDogMHB4ICFpbXBvcnRhbnQ7XCIgPlxyXG4gIDxuZy1jb250ZW50ICpuZ0lmPVwiaGFzRXJyb3JcIj48L25nLWNvbnRlbnQ+XHJcbjwvc21hbGw+XHJcbiJdfQ==
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { KvErrorComponent } from './kv-error.component';
|
|
5
|
-
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class kvErrorModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, declarations: [KvErrorComponent], imports: [CommonModule,
|
|
10
|
-
FormsModule,
|
|
11
|
-
PrimeNgModule,
|
|
12
|
-
ReactiveFormsModule], exports: [KvErrorComponent] }); }
|
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, imports: [CommonModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
PrimeNgModule,
|
|
16
|
-
ReactiveFormsModule] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: kvErrorModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
declarations: [
|
|
22
|
-
KvErrorComponent,
|
|
23
|
-
],
|
|
24
|
-
imports: [
|
|
25
|
-
CommonModule,
|
|
26
|
-
FormsModule,
|
|
27
|
-
PrimeNgModule,
|
|
28
|
-
ReactiveFormsModule,
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
KvErrorComponent,
|
|
32
|
-
]
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtZXJyb3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtZXJyb3Iva3YtZXJyb3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU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