keevo-components 2.0.107 → 2.0.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/keevo-components.mjs +5 -0
- package/esm2022/lib/api/base-components/base-component-button.mjs +39 -0
- package/esm2022/lib/api/base-components/base-component-chart.mjs +104 -0
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +308 -0
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +91 -0
- package/esm2022/lib/api/base-components/base-component-crud.mjs +80 -0
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +238 -0
- package/esm2022/lib/api/base-components/base-component-input.mjs +101 -0
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +174 -0
- package/esm2022/lib/api/base-components/base-component-table.mjs +354 -0
- package/esm2022/lib/api/base-components/base-component.mjs +51 -0
- package/esm2022/lib/api/components/chart/chart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/chart.model.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchartnode.mjs +2 -0
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
- package/esm2022/lib/api/components/step/step.model.mjs +2 -0
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
- package/esm2022/lib/api/components/table/action-item.mjs +2 -0
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +46 -0
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.mjs +2 -0
- package/esm2022/lib/api/components/table/table.paginate.mjs +10 -0
- package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
- package/esm2022/lib/api/components/tree-table/tree-table-keys.mjs +2 -0
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +3 -0
- package/esm2022/lib/api/directives/directives.module.mjs +30 -0
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
- package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
- package/esm2022/lib/api/helpers/keevo-validators.mjs +144 -0
- package/esm2022/lib/api/helpers/severity-color.mjs +73 -0
- package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
- package/esm2022/lib/api/modules/primeng.module.mjs +283 -0
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +47 -0
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
- package/esm2022/lib/api/services/base.api.service.mjs +74 -0
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +62 -0
- package/esm2022/lib/api/services/chat.service.mjs +37 -0
- package/esm2022/lib/api/services/component.service.mjs +37 -0
- package/esm2022/lib/api/services/docs.service.mjs +129 -0
- package/esm2022/lib/api/services/form.service.mjs +95 -0
- package/esm2022/lib/api/services/image.cutter.service.mjs +193 -0
- package/esm2022/lib/api/services/imagens.service.mjs +28 -0
- package/esm2022/lib/api/services/notification.service.mjs +69 -0
- package/esm2022/lib/api/services/object.service.mjs +39 -0
- package/esm2022/lib/api/services/orgchart.service.mjs +64 -0
- package/esm2022/lib/api/services/pdf.service.mjs +48 -0
- package/esm2022/lib/api/types/breadcrumb.model.mjs +2 -0
- package/esm2022/lib/api/types/severity.mjs +2 -0
- package/esm2022/lib/components/keevo-components.module.mjs +232 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +142 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +55 -0
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +51 -0
- package/esm2022/lib/components/kv-button/kv-button.module.mjs +28 -0
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +25 -0
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +39 -0
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +60 -0
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.module.mjs +31 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +34 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +166 -0
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.mjs +32 -0
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.mjs +22 -0
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +185 -0
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.module.mjs +44 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.component.mjs +191 -0
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +23 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +46 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.mjs +68 -0
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.mjs +24 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +29 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +34 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +103 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +31 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +30 -0
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +26 -0
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +28 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +11 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +19 -0
- package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +27 -0
- package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +32 -0
- package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +30 -0
- package/esm2022/lib/components/kv-icon/kv-icon.model.mjs +2 -0
- package/esm2022/lib/components/kv-icon/kv-icon.module.mjs +24 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +136 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +18 -0
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +29 -0
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +102 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.mjs +18 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.mjs +40 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/config/kv-editor.config.mjs +110 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +271 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.mjs +7 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +135 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.mjs +168 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +78 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.mjs +95 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/types/kv-editor.types.mjs +2 -0
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +168 -0
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +30 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +66 -0
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +38 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +50 -0
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +165 -0
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +60 -0
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +60 -0
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +46 -0
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +37 -0
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +58 -0
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
- package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +28 -0
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +72 -0
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +433 -0
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +15 -0
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +16 -0
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +62 -0
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +98 -0
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +20 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +225 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +59 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +190 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +41 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +205 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +51 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +386 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +39 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.mjs +62 -0
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.mjs +28 -0
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +44 -0
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +74 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +47 -0
- package/esm2022/lib/components/kv-steps/kv-steps.component.mjs +105 -0
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +673 -0
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +40 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +341 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +45 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +516 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +40 -0
- package/esm2022/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.mjs +17 -0
- package/esm2022/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.mjs +18 -0
- package/esm2022/lib/components/kv-table-viewer/kv-table-viewer.component.mjs +184 -0
- package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +18 -0
- package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +24 -0
- package/esm2022/lib/components/kv-tags/kv-tags.component.mjs +35 -0
- package/esm2022/lib/components/kv-tags/kv-tags.module.mjs +27 -0
- package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +71 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +334 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +39 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +70 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
- package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +103 -0
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +40 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +68 -0
- package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +22 -0
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +78 -0
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +87 -0
- package/esm2022/public-api.mjs +303 -0
- package/fesm2022/keevo-components.mjs +12127 -0
- package/fesm2022/keevo-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/api/base-components/base-component-button.d.ts +15 -0
- package/lib/api/base-components/base-component-chart.d.ts +40 -0
- package/lib/api/base-components/base-component-crud-form.d.ts +149 -0
- package/lib/api/base-components/base-component-crud-list.d.ts +70 -0
- package/lib/api/base-components/base-component-crud.d.ts +36 -0
- package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
- package/lib/api/base-components/base-component-dropdown.d.ts +57 -0
- package/lib/api/base-components/base-component-input.d.ts +33 -0
- package/lib/api/base-components/base-component-multi-select.d.ts +40 -0
- package/lib/api/base-components/base-component-table.d.ts +88 -0
- package/lib/api/base-components/base-component.d.ts +22 -0
- package/lib/api/components/chart/chart.config.d.ts +14 -0
- package/lib/api/components/chart/chart.model.d.ts +12 -0
- package/lib/api/components/chart/orchart.config.d.ts +41 -0
- package/lib/api/components/chart/orchartnode.d.ts +34 -0
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
- package/{src/lib/api/components/step/step.model.ts → lib/api/components/step/step.model.d.ts} +13 -15
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
- package/lib/api/components/table/action-item.d.ts +13 -0
- package/lib/api/components/table/kv-menuitem.d.ts +152 -0
- package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
- package/lib/api/components/table/table.config.column.d.ts +38 -0
- package/lib/api/components/table/table.config.d.ts +36 -0
- package/lib/api/components/table/table.paginate.d.ts +10 -0
- package/{src/lib/api/components/table/tabledit.config.ts → lib/api/components/table/tabledit.config.d.ts} +8 -9
- package/lib/api/components/table/tableedit.config.column.d.ts +11 -0
- package/lib/api/components/tree-table/tree-table-keys.d.ts +12 -0
- package/lib/api/components/tree-table/tree-table.config.d.ts +31 -0
- package/lib/api/directives/directives.module.d.ts +9 -0
- package/lib/api/directives/drag/drag.directive.d.ts +11 -0
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
- package/lib/api/directives/template/template.directive.d.ts +11 -0
- package/lib/api/helpers/component-providers.d.ts +2 -0
- package/lib/api/helpers/keevo-validators.d.ts +18 -0
- package/lib/api/helpers/severity-color.d.ts +5 -0
- package/lib/api/helpers/translate-primeng.d.ts +4 -0
- package/lib/api/modules/primeng.module.d.ts +69 -0
- package/lib/api/pipes/capitalize.pipe.d.ts +10 -0
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
- package/lib/api/pipes/mask.pipe.d.ts +7 -0
- package/lib/api/pipes/pipes.module.d.ts +11 -0
- package/lib/api/pipes/telefone.pipe.d.ts +7 -0
- package/lib/api/services/base.api.service.d.ts +25 -0
- package/lib/api/services/breadcrumbs.service.d.ts +16 -0
- package/lib/api/services/chat.service.d.ts +17 -0
- package/lib/api/services/component.service.d.ts +11 -0
- package/lib/api/services/docs.service.d.ts +12 -0
- package/lib/api/services/form.service.d.ts +31 -0
- package/lib/api/services/image.cutter.service.d.ts +16 -0
- package/lib/api/services/imagens.service.d.ts +10 -0
- package/lib/api/services/notification.service.d.ts +26 -0
- package/lib/api/services/object.service.d.ts +9 -0
- package/lib/api/services/orgchart.service.d.ts +20 -0
- package/lib/api/services/pdf.service.d.ts +7 -0
- package/lib/api/types/breadcrumb.model.d.ts +5 -0
- package/{src/lib/api/types/severity.ts → lib/api/types/severity.d.ts} +2 -3
- package/lib/components/keevo-components.module.d.ts +38 -0
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +36 -0
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +15 -0
- package/lib/components/kv-button/kv-button.component.d.ts +24 -0
- package/lib/components/kv-button/kv-button.module.d.ts +9 -0
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +19 -0
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
- package/lib/components/kv-card-selection/kv-card-selection.component.d.ts +25 -0
- package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +10 -0
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +17 -0
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
- package/lib/components/kv-chart/kv-chart.component.d.ts +57 -0
- package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +12 -0
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +10 -0
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +56 -0
- package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +14 -0
- package/lib/components/kv-error/kv-error.component.d.ts +12 -0
- package/lib/components/kv-error/kv-error.module.d.ts +10 -0
- package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +35 -0
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +10 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +21 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +24 -0
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +9 -0
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +13 -0
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +32 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +9 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +10 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +9 -0
- package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
- package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
- package/lib/components/kv-home-card/kv-home-card.component.d.ts +24 -0
- package/lib/components/kv-home-card/kv-home-card.module.d.ts +11 -0
- package/lib/components/kv-icon/kv-icon.component.d.ts +22 -0
- package/{src/lib/components/kv-icon/kv-icon.model.ts → lib/components/kv-icon/kv-icon.model.d.ts} +3 -3
- package/lib/components/kv-icon/kv-icon.module.d.ts +8 -0
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +34 -0
- package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +33 -0
- package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +8 -0
- package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +14 -0
- package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +55 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +70 -0
- package/{src/lib/components/kv-inputs/kv-editor/kv-editor.ts → lib/components/kv-inputs/kv-editor/kv-editor.d.ts} +6 -6
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +41 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +41 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +28 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +45 -0
- package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +32 -0
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +34 -0
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.d.ts +21 -0
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +11 -0
- package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +18 -0
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +38 -0
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +20 -0
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +20 -0
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +26 -0
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +25 -0
- package/lib/components/kv-label/kv-label.component.d.ts +7 -0
- package/lib/components/kv-label/kv-label.module.d.ts +8 -0
- package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +12 -0
- package/lib/components/kv-layout/kv-layout.module.d.ts +18 -0
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +156 -0
- package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +16 -0
- package/lib/components/kv-loader/kv-loader.component.d.ts +7 -0
- package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
- package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
- package/lib/components/kv-login/kv-login.component.d.ts +32 -0
- package/lib/components/kv-login/kv-login.module.d.ts +13 -0
- package/lib/components/kv-modal/kv-modal.component.d.ts +27 -0
- package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +45 -0
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +17 -0
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +98 -0
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +12 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +14 -0
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +70 -0
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +11 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +71 -0
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +9 -0
- package/lib/components/kv-report/kv-report.component.d.ts +18 -0
- package/lib/components/kv-report/kv-report.module.d.ts +8 -0
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +32 -0
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +13 -0
- package/lib/components/kv-steps/kv-steps.component.d.ts +21 -0
- package/lib/components/kv-table/kv-table.component.d.ts +154 -0
- package/lib/components/kv-table/kv-table.module.d.ts +12 -0
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +66 -0
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +15 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +119 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +13 -0
- package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +8 -0
- package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +7 -0
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +72 -0
- package/lib/components/kv-tag/kv-tag.component.d.ts +7 -0
- package/lib/components/kv-tag/kv-tag.module.d.ts +8 -0
- package/lib/components/kv-tags/kv-tags.component.d.ts +31 -0
- package/lib/components/kv-tags/kv-tags.module.d.ts +8 -0
- package/lib/components/kv-timeline/kv-timeline.component.d.ts +18 -0
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +87 -0
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +11 -0
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +21 -0
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
- package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +60 -0
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +14 -0
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +19 -0
- package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +25 -0
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +37 -0
- package/package.json +42 -32
- package/{src/public-api.ts → public-api.d.ts} +298 -361
- package/src/lib/components/kv-table/kv-table.component.scss +4 -4
- package/ng-package.json +0 -14
- package/src/assets/.gitkeep +0 -0
- package/src/index.ts +0 -1
- package/src/lib/api/base-components/base-component-button.ts +0 -29
- package/src/lib/api/base-components/base-component-chart.ts +0 -118
- package/src/lib/api/base-components/base-component-crud-form.ts +0 -377
- package/src/lib/api/base-components/base-component-crud-list.ts +0 -129
- package/src/lib/api/base-components/base-component-crud.ts +0 -92
- package/src/lib/api/base-components/base-component-dropdown-external.ts +0 -29
- package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
- package/src/lib/api/base-components/base-component-dropdown.ts +0 -257
- package/src/lib/api/base-components/base-component-input.ts +0 -121
- package/src/lib/api/base-components/base-component-multi-select.ts +0 -187
- package/src/lib/api/base-components/base-component-table.ts +0 -366
- package/src/lib/api/base-components/base-component.ts +0 -47
- package/src/lib/api/components/chart/chart.config.ts +0 -15
- package/src/lib/api/components/chart/chart.model.ts +0 -12
- package/src/lib/api/components/chart/orchart.config.ts +0 -51
- package/src/lib/api/components/chart/orchartnode.ts +0 -44
- package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
- package/src/lib/api/components/stepper/kv-stepperpanel.ts +0 -10
- package/src/lib/api/components/table/action-item.ts +0 -13
- package/src/lib/api/components/table/kv-menuitem.ts +0 -198
- package/src/lib/api/components/table/table-dropdown-control.ts +0 -6
- package/src/lib/api/components/table/table.config.column.ts +0 -38
- package/src/lib/api/components/table/table.config.ts +0 -39
- package/src/lib/api/components/table/table.paginate.ts +0 -7
- package/src/lib/api/components/table/tableedit.config.column.ts +0 -12
- package/src/lib/api/components/tree-table/tree-table-keys.ts +0 -12
- package/src/lib/api/components/tree-table/tree-table.config.ts +0 -34
- package/src/lib/api/directives/directives.module.ts +0 -19
- package/src/lib/api/directives/drag/drag.directive.ts +0 -40
- package/src/lib/api/directives/stepper/dynamicinput.directive.ts +0 -23
- package/src/lib/api/directives/template/template.directive.ts +0 -15
- package/src/lib/api/helpers/component-providers.ts +0 -16
- package/src/lib/api/helpers/keevo-validators.ts +0 -174
- package/src/lib/api/helpers/severity-color.ts +0 -77
- package/src/lib/api/helpers/translate-primeng.ts +0 -25
- package/src/lib/api/modules/primeng.module.ts +0 -144
- package/src/lib/api/pipes/capitalize.pipe.ts +0 -47
- package/src/lib/api/pipes/cpfcnpj.pipe.ts +0 -21
- package/src/lib/api/pipes/mask.pipe.ts +0 -24
- package/src/lib/api/pipes/pipes.module.ts +0 -26
- package/src/lib/api/pipes/telefone.pipe.ts +0 -38
- package/src/lib/api/services/base.api.service.ts +0 -115
- package/src/lib/api/services/breadcrumbs.service.ts +0 -71
- package/src/lib/api/services/chat.service.ts +0 -39
- package/src/lib/api/services/component.service.ts +0 -44
- package/src/lib/api/services/docs.service.ts +0 -129
- package/src/lib/api/services/form.service.ts +0 -139
- package/src/lib/api/services/image.cutter.service.ts +0 -290
- package/src/lib/api/services/imagens.service.ts +0 -28
- package/src/lib/api/services/notification.service.ts +0 -88
- package/src/lib/api/services/object.service.ts +0 -33
- package/src/lib/api/services/orgchart.service.ts +0 -77
- package/src/lib/api/services/pdf.service.ts +0 -54
- package/src/lib/api/types/breadcrumb.model.ts +0 -5
- package/src/lib/api/types/stimulsoft.reports.d.ts +0 -67463
- package/src/lib/components/keevo-components.module.ts +0 -105
- package/src/lib/components/kv-avatar/kv-avatar.component.html +0 -75
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +0 -162
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +0 -23
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +0 -165
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +0 -32
- package/src/lib/components/kv-button/kv-button.component.html +0 -26
- package/src/lib/components/kv-button/kv-button.component.spec.ts +0 -23
- package/src/lib/components/kv-button/kv-button.component.ts +0 -55
- package/src/lib/components/kv-button/kv-button.module.ts +0 -20
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +0 -14
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +0 -6
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +0 -25
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +0 -13
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +0 -33
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +0 -41
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +0 -12
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +0 -18
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +0 -14
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +0 -11
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +0 -17
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +0 -14
- package/src/lib/components/kv-buttons/kv-button.module.ts +0 -26
- package/src/lib/components/kv-card-selection/kv-card-selection.component.html +0 -63
- package/src/lib/components/kv-card-selection/kv-card-selection.component.scss +0 -54
- package/src/lib/components/kv-card-selection/kv-card-selection.component.spec.ts +0 -23
- package/src/lib/components/kv-card-selection/kv-card-selection.component.ts +0 -73
- package/src/lib/components/kv-card-selection/kv-card-selection.module.ts +0 -19
- package/src/lib/components/kv-carousel/kv-carousel.component.html +0 -26
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +0 -47
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +0 -23
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +0 -40
- package/src/lib/components/kv-carousel/kv-carousel.module.ts +0 -19
- package/src/lib/components/kv-chart/kv-chart.component.html +0 -38
- package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
- package/src/lib/components/kv-chart/kv-chart.component.spec.ts +0 -28
- package/src/lib/components/kv-chart/kv-chart.component.ts +0 -174
- package/src/lib/components/kv-chart/kv-chart.module.ts +0 -21
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.html +0 -9
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.scss +0 -7
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.spec.ts +0 -23
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.ts +0 -32
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.ts +0 -14
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.html +0 -229
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.scss +0 -185
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.spec.ts +0 -23
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.ts +0 -171
- package/src/lib/components/kv-content-viewer/kv-content-viewer.module.ts +0 -25
- package/src/lib/components/kv-error/kv-error.component.html +0 -3
- package/src/lib/components/kv-error/kv-error.component.scss +0 -5
- package/src/lib/components/kv-error/kv-error.component.ts +0 -27
- package/src/lib/components/kv-error/kv-error.module.ts +0 -26
- package/src/lib/components/kv-file-upload/kv-file-upload.component.html +0 -134
- package/src/lib/components/kv-file-upload/kv-file-upload.component.scss +0 -13
- package/src/lib/components/kv-file-upload/kv-file-upload.component.spec.ts +0 -23
- package/src/lib/components/kv-file-upload/kv-file-upload.component.ts +0 -200
- package/src/lib/components/kv-file-upload/kv-file-upload.module.ts +0 -13
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +0 -16
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +0 -18
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +0 -42
- package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +0 -14
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.html +0 -34
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.scss +0 -17
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.ts +0 -80
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.ts +0 -15
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.html +0 -103
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.scss +0 -153
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.spec.ts +0 -23
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.ts +0 -73
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.module.ts +0 -18
- package/src/lib/components/kv-filter-card/kv-filter-card.component.html +0 -12
- package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +0 -76
- package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +0 -23
- package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +0 -18
- package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +0 -23
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.html +0 -81
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.scss +0 -197
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.ts +0 -150
- package/src/lib/components/kv-filter-cards/kv-filter-cards.module.ts +0 -20
- package/src/lib/components/kv-filter-cards/kv-filter-cards.pipe.ts +0 -24
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.html +0 -25
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.scss +0 -22
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.spec.ts +0 -23
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.ts +0 -20
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.ts +0 -20
- package/src/lib/components/kv-g-icon/kv-g-icon.component.html +0 -1
- package/src/lib/components/kv-g-icon/kv-g-icon.component.scss +0 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.spec.ts +0 -23
- package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +0 -10
- package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +0 -11
- package/src/lib/components/kv-home-card/kv-home-card.component.html +0 -35
- package/src/lib/components/kv-home-card/kv-home-card.component.scss +0 -5
- package/src/lib/components/kv-home-card/kv-home-card.component.spec.ts +0 -23
- package/src/lib/components/kv-home-card/kv-home-card.component.ts +0 -33
- package/src/lib/components/kv-home-card/kv-home-card.module.ts +0 -18
- package/src/lib/components/kv-icon/kv-icon.component.html +0 -13
- package/src/lib/components/kv-icon/kv-icon.component.scss +0 -69
- package/src/lib/components/kv-icon/kv-icon.component.spec.ts +0 -28
- package/src/lib/components/kv-icon/kv-icon.component.ts +0 -30
- package/src/lib/components/kv-icon/kv-icon.module.ts +0 -16
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +0 -64
- package/src/lib/components/kv-image-upload/kv-image-upload.component.scss +0 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.ts +0 -153
- package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +0 -10
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +0 -12
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +0 -38
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +0 -32
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +0 -87
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +0 -119
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.html +0 -13
- 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 +0 -23
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.ts +0 -16
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.html +0 -18
- 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 +0 -41
- package/src/lib/components/kv-inputs/kv-editor/config/kv-editor.config.ts +0 -120
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +0 -285
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +0 -182
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +0 -311
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.ts +0 -156
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.ts +0 -190
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.spec.ts +0 -126
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.ts +0 -84
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.spec.ts +0 -176
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.ts +0 -101
- package/src/lib/components/kv-inputs/kv-editor/types/kv-editor.types.ts +0 -36
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +0 -37
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -23
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +0 -197
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +0 -24
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +0 -35
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +0 -23
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +0 -61
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.html +0 -33
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.scss +0 -5
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.ts +0 -63
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +0 -24
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +0 -26
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +0 -23
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +0 -18
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +0 -40
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.html +0 -30
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.scss +0 -26
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.ts +0 -38
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +0 -53
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -41
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +0 -23
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +0 -48
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +0 -23
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +0 -40
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +0 -24
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +0 -27
- package/src/lib/components/kv-inputs/kv-inputs.module.ts +0 -100
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +0 -87
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +0 -62
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +0 -54
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +0 -19
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +0 -22
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +0 -63
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +0 -26
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +0 -5
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +0 -21
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +0 -30
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +0 -28
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +0 -61
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +0 -23
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +0 -43
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +0 -23
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +0 -35
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +0 -54
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.html +0 -68
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.scss +0 -86
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.ts +0 -59
- package/src/lib/components/kv-label/kv-label.component.html +0 -3
- package/src/lib/components/kv-label/kv-label.component.scss +0 -15
- package/src/lib/components/kv-label/kv-label.component.spec.ts +0 -23
- package/src/lib/components/kv-label/kv-label.component.ts +0 -14
- package/src/lib/components/kv-label/kv-label.module.ts +0 -17
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.html +0 -25
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.scss +0 -19
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.spec.ts +0 -28
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.ts +0 -34
- package/src/lib/components/kv-layout/kv-layout.module.ts +0 -44
- package/src/lib/components/kv-layout/layout/kv-layout.component.html +0 -535
- package/src/lib/components/kv-layout/layout/kv-layout.component.scss +0 -267
- package/src/lib/components/kv-layout/layout/kv-layout.component.spec.ts +0 -23
- package/src/lib/components/kv-layout/layout/kv-layout.component.ts +0 -502
- package/src/lib/components/kv-layout/top-icons/top-icons.component.html +0 -26
- package/src/lib/components/kv-layout/top-icons/top-icons.component.scss +0 -71
- package/src/lib/components/kv-layout/top-icons/top-icons.component.spec.ts +0 -23
- package/src/lib/components/kv-layout/top-icons/top-icons.component.ts +0 -26
- package/src/lib/components/kv-loader/kv-loader.component.html +0 -1
- package/src/lib/components/kv-loader/kv-loader.component.ts +0 -11
- package/src/lib/components/kv-loader/kv-loader.module.ts +0 -17
- package/src/lib/components/kv-loader/kv-loader.service.ts +0 -29
- package/src/lib/components/kv-login/kv-login.component.html +0 -101
- package/src/lib/components/kv-login/kv-login.component.scss +0 -99
- package/src/lib/components/kv-login/kv-login.component.spec.ts +0 -23
- package/src/lib/components/kv-login/kv-login.component.ts +0 -97
- package/src/lib/components/kv-login/kv-login.module.ts +0 -33
- package/src/lib/components/kv-modal/kv-modal.component.html +0 -20
- package/src/lib/components/kv-modal/kv-modal.component.scss +0 -37
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +0 -21
- package/src/lib/components/kv-modal/kv-modal.component.ts +0 -111
- package/src/lib/components/kv-modal/kv-modal.module.ts +0 -12
- package/src/lib/components/kv-orgchart/kv-orgchart.component.html +0 -125
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +0 -73
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +0 -283
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +0 -31
- package/src/lib/components/kv-page-form/kv-page-form.component.html +0 -91
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +0 -100
- package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +0 -28
- package/src/lib/components/kv-page-form/kv-page-form.component.ts +0 -206
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +0 -33
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +0 -276
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +0 -85
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +0 -23
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +0 -223
- package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +0 -36
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +0 -32
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -57
- package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +0 -26
- package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +0 -461
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +0 -24
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +0 -38
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +0 -128
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +0 -21
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +0 -75
- package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +0 -19
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.html +0 -43
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.scss +0 -130
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.spec.ts +0 -23
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.ts +0 -82
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.ts +0 -18
- package/src/lib/components/kv-report/kv-report.component.html +0 -3
- package/src/lib/components/kv-report/kv-report.component.scss +0 -14
- package/src/lib/components/kv-report/kv-report.component.spec.ts +0 -28
- package/src/lib/components/kv-report/kv-report.component.ts +0 -44
- package/src/lib/components/kv-report/kv-report.module.ts +0 -18
- package/src/lib/components/kv-stepper/kv-stepper.component.html +0 -94
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +0 -43
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +0 -23
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +0 -73
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +0 -27
- package/src/lib/components/kv-steps/kv-steps.component.html +0 -53
- package/src/lib/components/kv-steps/kv-steps.component.scss +0 -120
- package/src/lib/components/kv-steps/kv-steps.component.ts +0 -122
- package/src/lib/components/kv-table/kv-table.component.html +0 -655
- package/src/lib/components/kv-table/kv-table.component.spec.ts +0 -28
- package/src/lib/components/kv-table/kv-table.component.ts +0 -792
- package/src/lib/components/kv-table/kv-table.module.ts +0 -25
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +0 -913
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +0 -829
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +0 -425
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +0 -31
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +0 -634
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +0 -387
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +0 -546
- package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +0 -22
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.html +0 -25
- 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 +0 -23
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.ts +0 -17
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.html +0 -20
- 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 +0 -23
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.ts +0 -14
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.html +0 -164
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.scss +0 -80
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.spec.ts +0 -23
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.ts +0 -183
- package/src/lib/components/kv-tag/kv-tag.component.html +0 -3
- package/src/lib/components/kv-tag/kv-tag.component.scss +0 -65
- package/src/lib/components/kv-tag/kv-tag.component.spec.ts +0 -23
- package/src/lib/components/kv-tag/kv-tag.component.ts +0 -16
- package/src/lib/components/kv-tag/kv-tag.module.ts +0 -18
- package/src/lib/components/kv-tags/kv-tags.component.html +0 -19
- package/src/lib/components/kv-tags/kv-tags.component.scss +0 -28
- package/src/lib/components/kv-tags/kv-tags.component.ts +0 -64
- package/src/lib/components/kv-tags/kv-tags.module.ts +0 -18
- package/src/lib/components/kv-timeline/kv-timeline.component.html +0 -28
- package/src/lib/components/kv-timeline/kv-timeline.component.scss +0 -6
- package/src/lib/components/kv-timeline/kv-timeline.component.spec.ts +0 -23
- package/src/lib/components/kv-timeline/kv-timeline.component.ts +0 -77
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +0 -492
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +0 -187
- package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +0 -21
- package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +0 -355
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +0 -23
- package/src/lib/components/kv-tree-view/kv-tree-view.component.html +0 -16
- package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -19
- package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +0 -23
- package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +0 -73
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +0 -19
- package/src/lib/components/kv-widget-card/kv-widget-card.component.html +0 -71
- package/src/lib/components/kv-widget-card/kv-widget-card.component.scss +0 -27
- package/src/lib/components/kv-widget-card/kv-widget-card.component.spec.ts +0 -28
- package/src/lib/components/kv-widget-card/kv-widget-card.component.ts +0 -107
- package/src/lib/components/kv-widget-card/kv-widget-card.module.ts +0 -20
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.html +0 -22
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.scss +0 -36
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.spec.ts +0 -28
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.ts +0 -41
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +0 -45
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.html +0 -20
- 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 +0 -28
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.ts +0 -18
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.html +0 -35
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.scss +0 -29
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.spec.ts +0 -28
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.ts +0 -98
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.html +0 -63
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.scss +0 -62
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.ts +0 -91
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { KvButtonPersonalizeComponent } from './kv-button-personalize/kv-button-personalize.component';
|
|
3
|
+
import { KvButtonPopupComponent } from './kv-button-popup/kv-button-popup.component';
|
|
4
|
+
import { KvButtonSecondaryComponent } from './kv-button-secondary/kv-button-secondary.component';
|
|
5
|
+
import { KvButtonSuccessComponent } from './kv-button-success/kv-button-success.component';
|
|
6
|
+
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class KvButtonsModule {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvButtonsModule, declarations: [KvButtonSecondaryComponent,
|
|
11
|
+
KvButtonSuccessComponent,
|
|
12
|
+
KvButtonPersonalizeComponent,
|
|
13
|
+
KvButtonPopupComponent], imports: [PrimeNgModule], exports: [KvButtonSecondaryComponent,
|
|
14
|
+
KvButtonSuccessComponent,
|
|
15
|
+
KvButtonPersonalizeComponent,
|
|
16
|
+
KvButtonPopupComponent] }); }
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvButtonsModule, imports: [PrimeNgModule] }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvButtonsModule, decorators: [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
declarations: [
|
|
23
|
+
KvButtonSecondaryComponent,
|
|
24
|
+
KvButtonSuccessComponent,
|
|
25
|
+
KvButtonPersonalizeComponent,
|
|
26
|
+
KvButtonPopupComponent
|
|
27
|
+
],
|
|
28
|
+
imports: [
|
|
29
|
+
PrimeNgModule
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
KvButtonSecondaryComponent,
|
|
33
|
+
KvButtonSuccessComponent,
|
|
34
|
+
KvButtonPersonalizeComponent,
|
|
35
|
+
KvButtonPopupComponent
|
|
36
|
+
]
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWJ1dHRvbnMva3YtYnV0dG9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLHlEQUF5RCxDQUFDO0FBQ3ZHLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQ2pHLE9BQU8sRU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Bmcm9tICcuL2t2LWJ1dHRvbi1zZWNvbmRhcnkva3YtYnV0dG9uLXNlY29uZGFyeS5jb21wb25lbnQnO1xyXG5pbXBvcnQgeyBLdkJ1dHRvblN1Y2Nlc3NDb21wb25lbnQgfSBmcm9tICcuL2t2LWJ1dHRvbi1zdWNjZXNzL2t2LWJ1dHRvbi1zdWNjZXNzLmNvbXBvbmVudCc7XHJcbmltcG9ydCB7IFByaW1lTmdNb2R1bGUgfSBmcm9tICcuLi8uLi9hcGkvbW9kdWxlcy9wcmltZW5nLm1vZHVsZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgS3ZCdXR0b25TZWNvbmRhcnlDb21wb25lbnQsXHJcbiAgICBLdkJ1dHRvblN1Y2Nlc3NDb21wb25lbnQsXHJcbiAgICBLdkJ1dHRvblBlcnNvbmFsaXplQ29tcG9uZW50LFxyXG4gICAgS3ZCdXR0b25Qb3B1cENvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgUHJpbWVOZ01vZHVsZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgS3ZCdXR0b25TZWNvbmRhcnlDb21wb25lbnQsXHJcbiAgICBLdkJ1dHRvblN1Y2Nlc3NDb21wb25lbnQsXHJcbiAgICBLdkJ1dHRvblBlcnNvbmFsaXplQ29tcG9uZW50LFxyXG4gICAgS3ZCdXR0b25Qb3B1cENvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEt2QnV0dG9uc01vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Component, computed, inject, input, output, signal } from '@angular/core';
|
|
2
|
+
import { CpfCnpjPipe } from '../../api/pipes/cpfcnpj.pipe';
|
|
3
|
+
import { FormBuilder } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../kv-inputs/kv-input-text/kv-input-text.component";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
export class KvCardSelectionComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.masters = input();
|
|
10
|
+
this.widthScreen = signal(window.innerWidth);
|
|
11
|
+
this.filteredMasters = signal([]);
|
|
12
|
+
this.emptyText = input('Nenhum resultado encontrado');
|
|
13
|
+
this.logo = input('https://work-assets.keevo.com.br/img/logo-keevocenter.png');
|
|
14
|
+
this.nomeUsuario = input('');
|
|
15
|
+
this.onSelectMaster = output();
|
|
16
|
+
this.onFilter = output();
|
|
17
|
+
this.cpfCnpjPipe = inject(CpfCnpjPipe);
|
|
18
|
+
this.fb = inject(FormBuilder);
|
|
19
|
+
this.transformCpfCnpj = computed(() => (cpfCnpj) => {
|
|
20
|
+
return this.cpfCnpjPipe.transform(cpfCnpj);
|
|
21
|
+
});
|
|
22
|
+
this.isEmpresa = computed(() => (cpfCnpj) => {
|
|
23
|
+
return cpfCnpj.length > 11;
|
|
24
|
+
});
|
|
25
|
+
this.minWidthCard = computed(() => {
|
|
26
|
+
return this.widthScreen() >= 992 ? '45rem' : '100%';
|
|
27
|
+
});
|
|
28
|
+
this.transformRazaoSocial = computed(() => (razaosocial) => {
|
|
29
|
+
return razaosocial.length > 72 ? `${razaosocial.substring(0, 72)}...` : razaosocial;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
this.workspaceForm = this.fb.group({
|
|
34
|
+
search: ['']
|
|
35
|
+
});
|
|
36
|
+
this.filteredMasters.set(this.masters());
|
|
37
|
+
window.addEventListener('resize', () => {
|
|
38
|
+
this.widthScreen.set(window.innerWidth);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
selectMaster(master) {
|
|
42
|
+
this.onSelectMaster.emit(master);
|
|
43
|
+
}
|
|
44
|
+
buscarMasters() {
|
|
45
|
+
this.onFilter.emit(this.workspaceForm.value.search);
|
|
46
|
+
const searchValue = this.workspaceForm.value.search.toLowerCase();
|
|
47
|
+
this.filteredMasters.set(this.masters().filter((master) => {
|
|
48
|
+
return master.cpfcnpj.includes(searchValue) ||
|
|
49
|
+
master.nome.toLowerCase().includes(searchValue) ||
|
|
50
|
+
master.idmaster.toString().includes(searchValue);
|
|
51
|
+
}));
|
|
52
|
+
}
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvCardSelectionComponent, selector: "kv-card-selection", inputs: { masters: { classPropertyName: "masters", publicName: "masters", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, logo: { classPropertyName: "logo", publicName: "logo", isSignal: true, isRequired: false, transformFunction: null }, nomeUsuario: { classPropertyName: "nomeUsuario", publicName: "nomeUsuario", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectMaster: "onSelectMaster", onFilter: "onFilter" }, ngImport: i0, template: "<div\r\n class=\"bg-white h-auto border-round-lg lg:p-3 p-1 flex flex-column gap-2 overflow-hidden\"\r\n [style.max-width.rem]=\"'45'\"\r\n [style.min-width]=\"minWidthCard()\"\r\n>\r\n <div class=\"px-2 flex flex-column align-items-center gap-2\">\r\n <img [src]=\"logo()\" style=\"height: 4rem\" class=\"py-2\" />\r\n <span class=\"text-sm\">\r\n Ol\u00E1, <b>{{ nomeUsuario() }}</b\r\n >. Bem vindo (a)! Escolha a <b>Licen\u00E7a</b> que deseja acessar:\r\n </span>\r\n </div>\r\n\r\n @if(masters().length > 6) {\r\n <div\r\n class=\"col-12 grid formgrid p-fluid m-0 px-2 pt-2 pb-0\"\r\n [formGroup]=\"workspaceForm\"\r\n >\r\n <kv-input-text\r\n placeholder=\"Buscar licen\u00E7a\"\r\n class=\"col-12 m-0 p-0\"\r\n (onInput)=\"buscarMasters()\"\r\n formControlName=\"search\"\r\n ></kv-input-text>\r\n </div>\r\n }\r\n\r\n <div\r\n class=\"grid m-0 border-round-lg gap-2 p-2 {{\r\n (filteredMasters().length > 6 || this.widthScreen() < 992) &&\r\n 'overflow-y-auto'\r\n }} max-h-24rem cards-container\"\r\n >\r\n @for(master of filteredMasters(); track $index) {\r\n <div\r\n class=\"{{\r\n $index % 2 == 0 ? 'sm:col-6 col-12' : 'sm:col col-12'\r\n }} p-0 card-option\"\r\n (click)=\"selectMaster(master)\"\r\n >\r\n <div class=\"flex flex-column p-3 gap-1\">\r\n <div class=\"flex flex-row align-items-center gap-1 font-semibold mb-2\">\r\n <span class=\"material-symbols-outlined text-md\"> article </span>\r\n <span class=\"text-sm\">{{ master.idmaster }}</span>\r\n </div>\r\n\r\n <span style=\"word-break: break-word font-medium\" class=\"text-sm\">{{\r\n transformRazaoSocial()(master.nome)\r\n }}</span>\r\n\r\n <div class=\"flex flex-row align-items-center gap-1 font-semibold\">\r\n <span class=\"text-xs\">{{\r\n isEmpresa()(master.cpfcnpj) ? \"CNPJ:\" : \"CPF:\"\r\n }}</span>\r\n <span class=\"text-xs\">{{ transformCpfCnpj()(master.cpfcnpj) }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n } @if(filteredMasters().length == 0) {\r\n <p>{{ emptyText() }}</p>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".card-option{background-color:#fff;border-radius:.5rem;border:1px solid #eaeaea;height:7.5rem;overflow:hidden;transition:all .2s ease-in-out;cursor:pointer}.card-option:hover{border:1px solid #581999;background-color:#d0b3dd4d}.card-option:hover span{color:#581999}.card-option:active{background-color:#d0b3dd99}.cards-container::-webkit-scrollbar{width:6px}.cards-container::-webkit-scrollbar:hover{background-color:#dededebf}.cards-container::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.cards-container:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}.cards-container::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}span{color:#64748b}\n"], dependencies: [{ kind: "component", type: i1.KvInputTextComponent, selector: "kv-input-text", inputs: ["textCaptalized"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionComponent, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'kv-card-selection', standalone: false, template: "<div\r\n class=\"bg-white h-auto border-round-lg lg:p-3 p-1 flex flex-column gap-2 overflow-hidden\"\r\n [style.max-width.rem]=\"'45'\"\r\n [style.min-width]=\"minWidthCard()\"\r\n>\r\n <div class=\"px-2 flex flex-column align-items-center gap-2\">\r\n <img [src]=\"logo()\" style=\"height: 4rem\" class=\"py-2\" />\r\n <span class=\"text-sm\">\r\n Ol\u00E1, <b>{{ nomeUsuario() }}</b\r\n >. Bem vindo (a)! Escolha a <b>Licen\u00E7a</b> que deseja acessar:\r\n </span>\r\n </div>\r\n\r\n @if(masters().length > 6) {\r\n <div\r\n class=\"col-12 grid formgrid p-fluid m-0 px-2 pt-2 pb-0\"\r\n [formGroup]=\"workspaceForm\"\r\n >\r\n <kv-input-text\r\n placeholder=\"Buscar licen\u00E7a\"\r\n class=\"col-12 m-0 p-0\"\r\n (onInput)=\"buscarMasters()\"\r\n formControlName=\"search\"\r\n ></kv-input-text>\r\n </div>\r\n }\r\n\r\n <div\r\n class=\"grid m-0 border-round-lg gap-2 p-2 {{\r\n (filteredMasters().length > 6 || this.widthScreen() < 992) &&\r\n 'overflow-y-auto'\r\n }} max-h-24rem cards-container\"\r\n >\r\n @for(master of filteredMasters(); track $index) {\r\n <div\r\n class=\"{{\r\n $index % 2 == 0 ? 'sm:col-6 col-12' : 'sm:col col-12'\r\n }} p-0 card-option\"\r\n (click)=\"selectMaster(master)\"\r\n >\r\n <div class=\"flex flex-column p-3 gap-1\">\r\n <div class=\"flex flex-row align-items-center gap-1 font-semibold mb-2\">\r\n <span class=\"material-symbols-outlined text-md\"> article </span>\r\n <span class=\"text-sm\">{{ master.idmaster }}</span>\r\n </div>\r\n\r\n <span style=\"word-break: break-word font-medium\" class=\"text-sm\">{{\r\n transformRazaoSocial()(master.nome)\r\n }}</span>\r\n\r\n <div class=\"flex flex-row align-items-center gap-1 font-semibold\">\r\n <span class=\"text-xs\">{{\r\n isEmpresa()(master.cpfcnpj) ? \"CNPJ:\" : \"CPF:\"\r\n }}</span>\r\n <span class=\"text-xs\">{{ transformCpfCnpj()(master.cpfcnpj) }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n } @if(filteredMasters().length == 0) {\r\n <p>{{ emptyText() }}</p>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".card-option{background-color:#fff;border-radius:.5rem;border:1px solid #eaeaea;height:7.5rem;overflow:hidden;transition:all .2s ease-in-out;cursor:pointer}.card-option:hover{border:1px solid #581999;background-color:#d0b3dd4d}.card-option:hover span{color:#581999}.card-option:active{background-color:#d0b3dd99}.cards-container::-webkit-scrollbar{width:6px}.cards-container::-webkit-scrollbar:hover{background-color:#dededebf}.cards-container::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.cards-container:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}.cards-container::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}span{color:#64748b}\n"] }]
|
|
59
|
+
}] });
|
|
60
|
+
//# sour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VwidGV4dC1zbVwiPnt7IG1hc3Rlci5pZG1hc3RlciB9fTwvc3Bhbj5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgPHNwYW4gc3R5bGU9XCJ3b3JkLWJyZWFrOiBicmVhay13b3JkIGZvbnQtbWVkaXVtXCIgY2xhc3M9XCJ0ZXh0LXNtXCI+e3tcclxuICAgICAgICAgIHRyYW5zZm9ybVJhemFvU29jaWFsKCkobWFzdGVyLm5vbWUpXHJcbiAgICAgICAgfX08L3NwYW4+XHJcblxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IGZsZXgtcm93IGFsaWduLWl0ZW1zLWNlbnRlciBnYXAtMSBmb250LXNlbWlib2xkXCI+XHJcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cInRleHQteHNcIj57e1xyXG4gICAgICAgICAgICBpc0VtcHJlc2EoKShtYXN0ZXIuY3BmY25waikgPyBcIkNOUEo6XCIgOiBcIkNQRjpcIlxyXG4gICAgICAgICAgfX08L3NwYW4+XHJcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cInRleHQteHNcIj57eyB0cmFuc2Zvcm1DcGZDbnBqKCkobWFzdGVyLmNwZmNucGopIH19PC9zcGFuPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gICAgfSBAaWYoZmlsdGVyZWRNYXN0ZXJzKCkubGVuZ3RoID09IDApIHtcclxuICAgIDxwPnt7IGVtcHR5VGV4dCgpIH19PC9wPlxyXG4gICAgfVxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { KvCardSelectionComponent } from './kv-card-selection.component';
|
|
4
|
+
import { KvInputsModule } from "../kv-inputs/kv-inputs.module";
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class KvCardSelectionModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionModule, declarations: [KvCardSelectionComponent], imports: [CommonModule,
|
|
10
|
+
KvInputsModule,
|
|
11
|
+
FormsModule,
|
|
12
|
+
ReactiveFormsModule], exports: [KvCardSelectionComponent] }); }
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionModule, imports: [CommonModule,
|
|
14
|
+
KvInputsModule,
|
|
15
|
+
FormsModule,
|
|
16
|
+
ReactiveFormsModule] }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCardSelectionModule, decorators: [{
|
|
19
|
+
type: NgModule,
|
|
20
|
+
args: [{
|
|
21
|
+
declarations: [KvCardSelectionComponent],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
KvInputsModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
ReactiveFormsModule
|
|
27
|
+
],
|
|
28
|
+
exports: [KvCardSelectionComponent]
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY2FyZC1zZWxlY3Rpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY2F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bkNvbXBvbmVudCB9IGZyb20gJy4va3YtY2FyZC1zZWxlY3Rpb24uY29tcG9uZW50JztcclxuaW1wb3J0IHsgS3ZJbnB1dHNNb2R1bGUgfSBmcm9tIFwiLi4va3YtaW5wdXRzL2t2LWlucHV0cy5tb2R1bGVcIjtcclxuaW1wb3J0IHsgRm9ybXNNb2R1bGUsIFJlYWN0aXZlRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XHJcblxyXG5cclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbS3ZDYXJkU2VsZWN0aW9uQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBLdklucHV0c01vZHVsZSxcclxuICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZVxyXG5dLFxyXG4gIGV4cG9ydHM6IFtLdkNhcmRTZWxlY3Rpb25Db21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBLdkNhcmRTZWxlY3Rpb25Nb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Component, Input, computed, input, viewChild } from '@angular/core';
|
|
2
|
+
import { Carousel } from 'primeng/carousel';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "primeng/api";
|
|
5
|
+
import * as i2 from "primeng/carousel";
|
|
6
|
+
export class KvCarouselComponent {
|
|
7
|
+
constructor(cd) {
|
|
8
|
+
this.cd = cd;
|
|
9
|
+
this.carouselContainer = viewChild(Carousel);
|
|
10
|
+
this.heightCarousel = input();
|
|
11
|
+
this.heightComputed = computed(() => {
|
|
12
|
+
return (this.heightCarousel() ??
|
|
13
|
+
this.carouselContainer()?.el.nativeElement.offsetHeight);
|
|
14
|
+
});
|
|
15
|
+
this.carouselData = [];
|
|
16
|
+
this.autoplayInterval = 5000;
|
|
17
|
+
this.isCollapsed = false;
|
|
18
|
+
}
|
|
19
|
+
navigateToLink(link) {
|
|
20
|
+
if (link !== null && link !== undefined && link !== '')
|
|
21
|
+
window.open(link, '_blank');
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "17.3.8", type: KvCarouselComponent, selector: "kv-carousel", inputs: { heightCarousel: { classPropertyName: "heightCarousel", publicName: "heightCarousel", isSignal: true, isRequired: false, transformFunction: null }, carouselData: { classPropertyName: "carouselData", publicName: "carouselData", isSignal: false, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: false, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "carouselContainer", first: true, predicate: Carousel, descendants: true, isSignal: true }], ngImport: i0, template: "<p-carousel\r\n [value]=\"carouselData\"\r\n [indicatorStyleClass]=\"'carousel-indicator'\"\r\n [autoplayInterval]=\"autoplayInterval\"\r\n [showIndicators]=\"true\"\r\n [showNavigators]=\"true\"\r\n [numVisible]=\"1\"\r\n [numScroll]=\"1\"\r\n [circular]=\"true\"\r\n styleClass=\"h-full\"\r\n>\r\n >\r\n <ng-template\r\n pTemplate=\"item\"\r\n let-banner\r\n class=\"justify-content-center align-items-center\"\r\n >\r\n <img\r\n [src]=\"banner.img\"\r\n class=\"w-full border-round-banner\"\r\n [style.cursor]=\"banner.link ? 'pointer' : 'default'\"\r\n [style.height.px]=\"heightComputed()\"\r\n (click)=\"navigateToLink(banner.link)\"\r\n />\r\n </ng-template>\r\n</p-carousel>\r\n", styles: ["::ng-deep .p-carousel-indicators{position:absolute;left:50%;transform:translate(-50%);bottom:-.5rem}::ng-deep .carousel-indicator{width:.5rem!important;height:.5rem!important;border-radius:50%!important;padding:0!important;background-color:#eeeeeed0}::ng-deep .carousel-indicator:hover{background-color:#efefef}button.p-carousel-indicator.p-link{background-color:#f0f8ff!important}::ng-deep .p-carousel .p-carousel-content{overflow:hidden!important;position:relative}::ng-deep .border-round-banner{border-radius:.5rem!important;max-height:500px}::ng-deep .p-carousel .p-carousel-content .p-carousel-next{position:absolute;right:0}::ng-deep .p-carousel .p-carousel-content .p-carousel-prev{position:absolute;left:0;z-index:1000}\n"], dependencies: [{ kind: "directive", type: i1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2.Carousel, selector: "p-carousel", inputs: ["page", "numVisible", "numScroll", "responsiveOptions", "orientation", "verticalViewPortHeight", "contentClass", "indicatorsContentClass", "indicatorsContentStyle", "indicatorStyleClass", "indicatorStyle", "value", "circular", "showIndicators", "showNavigators", "autoplayInterval", "style", "styleClass"], outputs: ["onPage"] }] }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'kv-carousel', template: "<p-carousel\r\n [value]=\"carouselData\"\r\n [indicatorStyleClass]=\"'carousel-indicator'\"\r\n [autoplayInterval]=\"autoplayInterval\"\r\n [showIndicators]=\"true\"\r\n [showNavigators]=\"true\"\r\n [numVisible]=\"1\"\r\n [numScroll]=\"1\"\r\n [circular]=\"true\"\r\n styleClass=\"h-full\"\r\n>\r\n >\r\n <ng-template\r\n pTemplate=\"item\"\r\n let-banner\r\n class=\"justify-content-center align-items-center\"\r\n >\r\n <img\r\n [src]=\"banner.img\"\r\n class=\"w-full border-round-banner\"\r\n [style.cursor]=\"banner.link ? 'pointer' : 'default'\"\r\n [style.height.px]=\"heightComputed()\"\r\n (click)=\"navigateToLink(banner.link)\"\r\n />\r\n </ng-template>\r\n</p-carousel>\r\n", styles: ["::ng-deep .p-carousel-indicators{position:absolute;left:50%;transform:translate(-50%);bottom:-.5rem}::ng-deep .carousel-indicator{width:.5rem!important;height:.5rem!important;border-radius:50%!important;padding:0!important;background-color:#eeeeeed0}::ng-deep .carousel-indicator:hover{background-color:#efefef}button.p-carousel-indicator.p-link{background-color:#f0f8ff!important}::ng-deep .p-carousel .p-carousel-content{overflow:hidden!important;position:relative}::ng-deep .border-round-banner{border-radius:.5rem!important;max-height:500px}::ng-deep .p-carousel .p-carousel-content .p-carousel-next{position:absolute;right:0}::ng-deep .p-carousel .p-carousel-content .p-carousel-prev{position:absolute;left:0;z-index:1000}\n"] }]
|
|
29
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { carouselData: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], autoplayInterval: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}] } });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY2Fyb3VzZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY2Fyb3VzZWwva3YtY2Fyb3VzZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY2Fyb3VzZWwva3YtY2Fyb3VzZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsUUFBUSxFQUNSLEtBQUssRUFDTCxTQUFTLEVBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFFBQVEsRUFBRS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VyLmxpbmspXCJcclxuICAgIC8+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9wLWNhcm91c2VsPlxyXG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
4
|
+
import { KvCarouselComponent } from './kv-carousel.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class KvCarouselModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselModule, declarations: [KvCarouselComponent], imports: [CommonModule,
|
|
9
|
+
PrimeNgModule], exports: [KvCarouselComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselModule, imports: [CommonModule,
|
|
11
|
+
PrimeNgModule] }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [
|
|
17
|
+
KvCarouselComponent
|
|
18
|
+
],
|
|
19
|
+
imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
PrimeNgModule
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
KvCarouselComponent
|
|
25
|
+
]
|
|
26
|
+
}]
|
|
27
|
+
}] });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY2Fyb3VzZWwubW9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5nLm1vZHVsZSc7XHJcbmltcG9ydCB7IEt2Q2Fyb3VzZWxDb21wb25lbnQgfSBmcm9tICcuL2t2LWNhcm91c2VsLmNvbXBvbmVudCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgS3ZDYXJvdXNlbENvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgUHJpbWVOZ01vZHVsZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgS3ZDYXJvdXNlbENvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEt2Q2Fyb3VzZWxNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "primeng/button";
|
|
5
|
+
import * as i3 from "primeng/chart";
|
|
6
|
+
import * as i4 from "primeng/dropdown";
|
|
7
|
+
import * as i5 from "primeng/menu";
|
|
8
|
+
import * as i6 from "primeng/ripple";
|
|
9
|
+
import * as i7 from "@angular/forms";
|
|
10
|
+
export const PeriodosChart = {
|
|
11
|
+
Ultimos180Dias: -180,
|
|
12
|
+
Ultimos120Dias: -120,
|
|
13
|
+
Ultimos90Dias: -90,
|
|
14
|
+
Ultimos60Dias: -60,
|
|
15
|
+
Ultimos45Dias: -45,
|
|
16
|
+
Ultimos30Dias: -30,
|
|
17
|
+
Ultimos15Dias: -15,
|
|
18
|
+
Ultimos7Dias: -7,
|
|
19
|
+
DataAtual: 0,
|
|
20
|
+
Proximos7Dias: 7,
|
|
21
|
+
Proximos15Dias: 15,
|
|
22
|
+
Proximos30Dias: 30,
|
|
23
|
+
Proximos45Dias: 45,
|
|
24
|
+
Proximos60Dias: 60,
|
|
25
|
+
Proximos90Dias: 90,
|
|
26
|
+
Proximos120Dias: 120,
|
|
27
|
+
Proximos180Dias: 180
|
|
28
|
+
};
|
|
29
|
+
export class KvChartComponent {
|
|
30
|
+
constructor() {
|
|
31
|
+
this.chartConfig = {
|
|
32
|
+
labels: [],
|
|
33
|
+
datasets: [],
|
|
34
|
+
};
|
|
35
|
+
this.periodosDisponiveis = [
|
|
36
|
+
{ label: 'Últimos 180 dias', value: -180 },
|
|
37
|
+
{ label: 'Últimos 120 dias', value: -120 },
|
|
38
|
+
{ label: 'Últimos 90 dias', value: -90 },
|
|
39
|
+
{ label: 'Últimos 60 dias', value: -60 },
|
|
40
|
+
{ label: 'Últimos 45 dias', value: -45 },
|
|
41
|
+
{ label: 'Últimos 30 dias', value: -30 },
|
|
42
|
+
{ label: 'Últimos 15 dias', value: -15 },
|
|
43
|
+
{ label: 'Últimos 7 dias', value: -7 },
|
|
44
|
+
{ label: 'Data atual', value: 0 },
|
|
45
|
+
{ label: 'Próximos 7 dias', value: 7 },
|
|
46
|
+
{ label: 'Próximos 15 dias', value: 15 },
|
|
47
|
+
{ label: 'Próximos 30 dias', value: 30 },
|
|
48
|
+
{ label: 'Próximos 45 dias', value: 45 },
|
|
49
|
+
{ label: 'Próximos 60 dias', value: 60 },
|
|
50
|
+
{ label: 'Próximos 90 dias', value: 90 },
|
|
51
|
+
{ label: 'Próximos 120 dias', value: 120 },
|
|
52
|
+
{ label: 'Próximos 180 dias', value: 180 }
|
|
53
|
+
];
|
|
54
|
+
this.heightChart = '300px';
|
|
55
|
+
this.showDatas = true;
|
|
56
|
+
this.showMenu = false;
|
|
57
|
+
this.enablePeriodos = [];
|
|
58
|
+
this.periodos = [];
|
|
59
|
+
this.menuItems = [];
|
|
60
|
+
this.onPrintReport = new EventEmitter();
|
|
61
|
+
this.onSelectionValue = new EventEmitter();
|
|
62
|
+
}
|
|
63
|
+
configureGraphic() {
|
|
64
|
+
this.data = this.chartConfig;
|
|
65
|
+
this.configOptions();
|
|
66
|
+
this.chart?.reinit();
|
|
67
|
+
}
|
|
68
|
+
configOptions() {
|
|
69
|
+
this.options = {
|
|
70
|
+
indexAxis: this.indexAxis || 'x',
|
|
71
|
+
maintainAspectRatio: true,
|
|
72
|
+
aspectRatio: 2,
|
|
73
|
+
responsive: true,
|
|
74
|
+
animation: {
|
|
75
|
+
duration: 0
|
|
76
|
+
},
|
|
77
|
+
scales: {
|
|
78
|
+
x: {
|
|
79
|
+
ticks: {
|
|
80
|
+
color: 'black',
|
|
81
|
+
display: 768,
|
|
82
|
+
},
|
|
83
|
+
grid: {
|
|
84
|
+
color: 'white',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
y: {
|
|
88
|
+
beginAtZero: true,
|
|
89
|
+
grid: {
|
|
90
|
+
color: 'white',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
plugins: {
|
|
95
|
+
legend: {
|
|
96
|
+
display: this.displayLegend || false,
|
|
97
|
+
labels: {
|
|
98
|
+
color: '#1e293b',
|
|
99
|
+
usePointStyle: true,
|
|
100
|
+
font: {
|
|
101
|
+
weight: 700,
|
|
102
|
+
},
|
|
103
|
+
padding: 28
|
|
104
|
+
},
|
|
105
|
+
position: 'bottom'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
this.menuItems = [
|
|
110
|
+
{ label: 'Imprimir relatório', command: () => this.printReport() }
|
|
111
|
+
];
|
|
112
|
+
}
|
|
113
|
+
initDatas() {
|
|
114
|
+
this.periodosDisponiveis.map((el) => {
|
|
115
|
+
if (this.enablePeriodos.includes(el.value)) {
|
|
116
|
+
this.periodos.push(el);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
ngOnInit() {
|
|
121
|
+
this.initDatas();
|
|
122
|
+
this.configureGraphic();
|
|
123
|
+
}
|
|
124
|
+
printReport() {
|
|
125
|
+
this.onPrintReport.emit();
|
|
126
|
+
}
|
|
127
|
+
reInit(config) {
|
|
128
|
+
this.chartConfig = config;
|
|
129
|
+
this.configureGraphic();
|
|
130
|
+
}
|
|
131
|
+
selectionValue(event) {
|
|
132
|
+
this.onSelectionValue.emit(event);
|
|
133
|
+
}
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvChartComponent, selector: "kv-chart", inputs: { title: "title", type: "type", indexAxis: "indexAxis", displayLegend: "displayLegend", heightChart: "heightChart", showDatas: "showDatas", showMenu: "showMenu", selectedData: "selectedData", enablePeriodos: "enablePeriodos" }, outputs: { onPrintReport: "onPrintReport", onSelectionValue: "onSelectionValue" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ["chart"], descendants: true }], ngImport: i0, template: "<div class=\"card h-full\">\r\n <div class=\"flex align-items-start justify-content-between mb-6\">\r\n <label class=\"text-900 text-xl font-semibold\">{{ title }}</label>\r\n <div>\r\n <p-dropdown\r\n *ngIf=\"showDatas\"\r\n [options]=\"periodos\"\r\n [(ngModel)]=\"selectedData\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n styleClass=\"w-15rem\"\r\n (onChange)=\"selectionValue($event)\">\r\n </p-dropdown>\r\n <button\r\n *ngIf=\"showMenu\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-ellipsis-h\"\r\n class=\"p-button-rounded p-button-secondary\"\r\n style=\"margin-left: 10px;\"\r\n (click)=\"menu.toggle($event)\">\r\n </button>\r\n <p-menu\r\n #menu\r\n [popup]=\"true\"\r\n appendTo=\"body\"\r\n [model]=\"menuItems\">\r\n </p-menu>\r\n </div>\r\n </div>\r\n <p-chart\r\n #chart\r\n [type]=\"type\"\r\n [data]=\"data\"\r\n [options]=\"options\"\r\n [height]=\"heightChart\">\r\n </p-chart>\r\n</div>\r\n", styles: ["", "@import\"https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap\";@import\"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0\";::ng-deep :root{--kv-color-system: 10,58,120;--kv-color-system-cta: 76, 175, 80;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255;--kv-primary-color: 41, 185, 45;--kv-secondary-color: 0, 37, 66;--kv-tertiary-color: 165, 165, 165;--kv-danger-color: 220, 53, 69;--kv-success-color: 75, 181, 67;--kv-info-color: 0, 123, 255;--kv-warn-color: 241, 90, 36;--kv-contrast-color: 33, 37, 41}::ng-deep .padrao{--kv-color-system: 10,58,120;--kv-color-system-cta: 76, 175, 80;--kv-color-text: 0, 0, 0;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255}::ng-deep .theme-keevocenter{--kv-color-system: 88,25,153;--kv-color-system-cta: 0, 116, 217;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255}::ng-deep .theme-holos{--kv-color-system: 241,90,36;--kv-color-system-cta: 224, 168, 35;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 240,240,240;--kv-background-card: 2255,255,255}.system-color{color:rgb(var(--kv-color-system),1)}.bg-system-100{background:rgb(var(--kv-color-system),1)}.bg-system-75{background:rgb(var(--kv-color-system),.75)}.bg-system-50{background:rgb(var(--kv-color-system),.5)}.bg-system-25{background:rgb(var(--kv-color-system),.25)}.material-symbols-outlined{font-family:Material Symbols Outlined!important}*{font-family:Inter,Inter var,sans-serif!important}::ng-deep .p-accordion,::ng-deep .p-accordion-header,::ng-deep .p-accordion-content,::ng-deep .p-badge,::ng-deep .p-overlay-badge,::ng-deep .p-breadcrumb,::ng-deep .p-breadcrumb-item,::ng-deep .p-breadcrumb-link,::ng-deep .p-button,::ng-deep .p-calendar,::ng-deep .p-card,::ng-deep .p-card-title,::ng-deep .p-card-subtitle,::ng-deep .p-card-content,::ng-deep .p-checkbox,::ng-deep .p-chip,::ng-deep .p-confirm-dialog,::ng-deep .p-confirm-dialog-message,::ng-deep .p-contextmenu,::ng-deep .p-contextmenu-item,::ng-deep .p-dataview,::ng-deep .p-dataview-content,::ng-deep .p-dialog,::ng-deep .p-dialog-title,::ng-deep .p-dialog-content,::ng-deep .p-dropdown,::ng-deep .p-dropdown-label,::ng-deep .p-dropdown-item,::ng-deep .p-dynamic-dialog,::ng-deep .p-dynamic-dialog-title,::ng-deep .p-dynamic-dialog-content,::ng-deep .p-editor,::ng-deep .p-fieldset,::ng-deep .p-fieldset-legend,::ng-deep .p-fieldset-content,::ng-deep .p-fileupload,::ng-deep .p-inputmask,::ng-deep .p-inputnumber,::ng-deep .p-inputtextarea,::ng-deep .p-inputtext,::ng-deep .p-menu,::ng-deep .p-menuitem,::ng-deep .p-menuitem-text,::ng-deep .p-message,::ng-deep .p-messages,::ng-deep .p-multiselect,::ng-deep .p-multiselect-label,::ng-deep .p-multiselect-item,::ng-deep .p-panelmenu,::ng-deep .p-panelmenu-header,::ng-deep .p-panelmenu-content,::ng-deep .p-panel,::ng-deep .p-panel-header,::ng-deep .p-panel-content,::ng-deep .p-password,::ng-deep .p-picklist,::ng-deep .p-progressbar,::ng-deep .p-radiobutton,::ng-deep .p-rating,::ng-deep .p-sidebar,::ng-deep .p-splitbutton,::ng-deep .p-steps,::ng-deep .p-step,::ng-deep .p-table,::ng-deep .p-datatable,::ng-deep .p-tabview,::ng-deep .p-tabpanel,::ng-deep .p-tag,::ng-deep .p-toast,::ng-deep .p-toolbar,::ng-deep .p-tooltip,::ng-deep .p-tree,::ng-deep .p-treetable,::ng-deep .p-selectbutton,::ng-deep .p-stepper,::ng-deep .p-inputgroup,::ng-deep .p-inputgroup-addon,::ng-deep .p-text{font-family:Inter,Inter var,sans-serif!important}::ng-deep .p-icon,svg{height:.6rem}:host ::ng-deep .inputs{height:1.875rem}:host ::ng-deep .inputs,.p-inputtext,.p-inputtextarea{font-size:.875rem}::ng-deep .p-dialog .p-dialog-header{color:rgb(var(--kv-color-text))!important;background:linear-gradient(0deg,#00000005 .44%,#0000 49.5%),#fff!important;display:flex!important;flex-wrap:wrap;word-wrap:break-word;border-bottom:1px solid rgb(var(--kv-color-text),.15)}::ng-deep .p-dialog{min-width:320px}::ng-deep .p-dialog-content{overflow-x:hidden}::ng-deep .p-dialog-content::-webkit-scrollbar{width:8px}::ng-deep .p-dialog-content::-webkit-scrollbar:hover{background-color:#dededebf}::ng-deep .p-dialog-content::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}::ng-deep .p-dialog-content:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}::ng-deep .p-dialog-content::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}::ng-deep .p-dialog-footer{display:flex;justify-content:flex-end;padding:10px;gap:10px}::ng-deep .p-dialog .p-dialog-header .p-dialog-header-icon{display:none}::ng-deep .p-tooltip{font-size:.825rem!important}::ng-deep svg.p-icon{width:.65rem;height:.65rem}::ng-deep .p-checkbox .p-checkbox-box.p-highlight{border-color:#004172;background:#004172}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:hover{background-color:#002542}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:active{background-color:#002542}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:disabled{background-color:#002542;opacity:.4;cursor:auto}input{height:1.75rem}::ng-deep .p-checkbox .p-checkbox-box{width:1.125rem;height:1.125rem;border:1.5px solid #d1d5db}::ng-deep p-tablecheckbox p-tableheadercheckbox .p-checkbox{display:flex!important;align-items:center!important;justify-content:right}::ng-deep .p-checkbox{display:flex!important;align-items:center!important;justify-content:center}::ng-deep .p-checkbox-label{font-size:.875rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i3.UIChart, selector: "p-chart", inputs: ["type", "plugins", "width", "height", "responsive", "ariaLabel", "ariaLabelledBy", "data", "options"], outputs: ["onDataSelect"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: i5.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "directive", type: i6.Ripple, selector: "[pRipple]" }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
136
|
+
}
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvChartComponent, decorators: [{
|
|
138
|
+
type: Component,
|
|
139
|
+
args: [{ selector: 'kv-chart', template: "<div class=\"card h-full\">\r\n <div class=\"flex align-items-start justify-content-between mb-6\">\r\n <label class=\"text-900 text-xl font-semibold\">{{ title }}</label>\r\n <div>\r\n <p-dropdown\r\n *ngIf=\"showDatas\"\r\n [options]=\"periodos\"\r\n [(ngModel)]=\"selectedData\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n styleClass=\"w-15rem\"\r\n (onChange)=\"selectionValue($event)\">\r\n </p-dropdown>\r\n <button\r\n *ngIf=\"showMenu\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-ellipsis-h\"\r\n class=\"p-button-rounded p-button-secondary\"\r\n style=\"margin-left: 10px;\"\r\n (click)=\"menu.toggle($event)\">\r\n </button>\r\n <p-menu\r\n #menu\r\n [popup]=\"true\"\r\n appendTo=\"body\"\r\n [model]=\"menuItems\">\r\n </p-menu>\r\n </div>\r\n </div>\r\n <p-chart\r\n #chart\r\n [type]=\"type\"\r\n [data]=\"data\"\r\n [options]=\"options\"\r\n [height]=\"heightChart\">\r\n </p-chart>\r\n</div>\r\n", styles: ["@import\"https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap\";@import\"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap\";@import\"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0\";::ng-deep :root{--kv-color-system: 10,58,120;--kv-color-system-cta: 76, 175, 80;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255;--kv-primary-color: 41, 185, 45;--kv-secondary-color: 0, 37, 66;--kv-tertiary-color: 165, 165, 165;--kv-danger-color: 220, 53, 69;--kv-success-color: 75, 181, 67;--kv-info-color: 0, 123, 255;--kv-warn-color: 241, 90, 36;--kv-contrast-color: 33, 37, 41}::ng-deep .padrao{--kv-color-system: 10,58,120;--kv-color-system-cta: 76, 175, 80;--kv-color-text: 0, 0, 0;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255}::ng-deep .theme-keevocenter{--kv-color-system: 88,25,153;--kv-color-system-cta: 0, 116, 217;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 248,250,253;--kv-background-card: 255,255,255}::ng-deep .theme-holos{--kv-color-system: 241,90,36;--kv-color-system-cta: 224, 168, 35;--kv-color-text: 0, 0, 0;--kv-color-text-inv: 255, 255, 165;--kv-background-system: 240,240,240;--kv-background-card: 2255,255,255}.system-color{color:rgb(var(--kv-color-system),1)}.bg-system-100{background:rgb(var(--kv-color-system),1)}.bg-system-75{background:rgb(var(--kv-color-system),.75)}.bg-system-50{background:rgb(var(--kv-color-system),.5)}.bg-system-25{background:rgb(var(--kv-color-system),.25)}.material-symbols-outlined{font-family:Material Symbols Outlined!important}*{font-family:Inter,Inter var,sans-serif!important}::ng-deep .p-accordion,::ng-deep .p-accordion-header,::ng-deep .p-accordion-content,::ng-deep .p-badge,::ng-deep .p-overlay-badge,::ng-deep .p-breadcrumb,::ng-deep .p-breadcrumb-item,::ng-deep .p-breadcrumb-link,::ng-deep .p-button,::ng-deep .p-calendar,::ng-deep .p-card,::ng-deep .p-card-title,::ng-deep .p-card-subtitle,::ng-deep .p-card-content,::ng-deep .p-checkbox,::ng-deep .p-chip,::ng-deep .p-confirm-dialog,::ng-deep .p-confirm-dialog-message,::ng-deep .p-contextmenu,::ng-deep .p-contextmenu-item,::ng-deep .p-dataview,::ng-deep .p-dataview-content,::ng-deep .p-dialog,::ng-deep .p-dialog-title,::ng-deep .p-dialog-content,::ng-deep .p-dropdown,::ng-deep .p-dropdown-label,::ng-deep .p-dropdown-item,::ng-deep .p-dynamic-dialog,::ng-deep .p-dynamic-dialog-title,::ng-deep .p-dynamic-dialog-content,::ng-deep .p-editor,::ng-deep .p-fieldset,::ng-deep .p-fieldset-legend,::ng-deep .p-fieldset-content,::ng-deep .p-fileupload,::ng-deep .p-inputmask,::ng-deep .p-inputnumber,::ng-deep .p-inputtextarea,::ng-deep .p-inputtext,::ng-deep .p-menu,::ng-deep .p-menuitem,::ng-deep .p-menuitem-text,::ng-deep .p-message,::ng-deep .p-messages,::ng-deep .p-multiselect,::ng-deep .p-multiselect-label,::ng-deep .p-multiselect-item,::ng-deep .p-panelmenu,::ng-deep .p-panelmenu-header,::ng-deep .p-panelmenu-content,::ng-deep .p-panel,::ng-deep .p-panel-header,::ng-deep .p-panel-content,::ng-deep .p-password,::ng-deep .p-picklist,::ng-deep .p-progressbar,::ng-deep .p-radiobutton,::ng-deep .p-rating,::ng-deep .p-sidebar,::ng-deep .p-splitbutton,::ng-deep .p-steps,::ng-deep .p-step,::ng-deep .p-table,::ng-deep .p-datatable,::ng-deep .p-tabview,::ng-deep .p-tabpanel,::ng-deep .p-tag,::ng-deep .p-toast,::ng-deep .p-toolbar,::ng-deep .p-tooltip,::ng-deep .p-tree,::ng-deep .p-treetable,::ng-deep .p-selectbutton,::ng-deep .p-stepper,::ng-deep .p-inputgroup,::ng-deep .p-inputgroup-addon,::ng-deep .p-text{font-family:Inter,Inter var,sans-serif!important}::ng-deep .p-icon,svg{height:.6rem}:host ::ng-deep .inputs{height:1.875rem}:host ::ng-deep .inputs,.p-inputtext,.p-inputtextarea{font-size:.875rem}::ng-deep .p-dialog .p-dialog-header{color:rgb(var(--kv-color-text))!important;background:linear-gradient(0deg,#00000005 .44%,#0000 49.5%),#fff!important;display:flex!important;flex-wrap:wrap;word-wrap:break-word;border-bottom:1px solid rgb(var(--kv-color-text),.15)}::ng-deep .p-dialog{min-width:320px}::ng-deep .p-dialog-content{overflow-x:hidden}::ng-deep .p-dialog-content::-webkit-scrollbar{width:8px}::ng-deep .p-dialog-content::-webkit-scrollbar:hover{background-color:#dededebf}::ng-deep .p-dialog-content::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}::ng-deep .p-dialog-content:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}::ng-deep .p-dialog-content::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}::ng-deep .p-dialog-footer{display:flex;justify-content:flex-end;padding:10px;gap:10px}::ng-deep .p-dialog .p-dialog-header .p-dialog-header-icon{display:none}::ng-deep .p-tooltip{font-size:.825rem!important}::ng-deep svg.p-icon{width:.65rem;height:.65rem}::ng-deep .p-checkbox .p-checkbox-box.p-highlight{border-color:#004172;background:#004172}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:hover{background-color:#002542}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:active{background-color:#002542}::ng-deep .p-checkbox .p-checkbox-box.p-highlight:disabled{background-color:#002542;opacity:.4;cursor:auto}input{height:1.75rem}::ng-deep .p-checkbox .p-checkbox-box{width:1.125rem;height:1.125rem;border:1.5px solid #d1d5db}::ng-deep p-tablecheckbox p-tableheadercheckbox .p-checkbox{display:flex!important;align-items:center!important;justify-content:right}::ng-deep .p-checkbox{display:flex!important;align-items:center!important;justify-content:center}::ng-deep .p-checkbox-label{font-size:.875rem}\n"] }]
|
|
140
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], type: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], indexAxis: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], displayLegend: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], heightChart: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], showDatas: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], showMenu: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], selectedData: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], enablePeriodos: [{
|
|
157
|
+
type: Input
|
|
158
|
+
}], onPrintReport: [{
|
|
159
|
+
type: Output
|
|
160
|
+
}], onSelectionValue: [{
|
|
161
|
+
type: Output
|
|
162
|
+
}], chart: [{
|
|
163
|
+
type: ViewChild,
|
|
164
|
+
args: ['chart']
|
|
165
|
+
}] } });
|
|
166
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY2hhcnQva3YtY2hhcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY2hhcnQva3YtY2hhcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1YsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7OztBQU92QixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUc7SUFDM0IsY0FBYyxFQUFFLENBQUMsR0FBRztJQUNwQixjQUFjLEVBQUUsQ0FBQyxHQUFHO0lBQ3BCLGFBQWEsRUFBRSxDQUFDLEVBQUU7SUFDbEIsYUFBYSxFQUFFLENBQUMsRUFBRTtJQUNsQixhQUFhLEVBQUUsQ0FBQyxFQUFFO0lBQ2xCLGFBQWEsRUFBRSxDQUFDLEVBQUU7SUFDbEIsYUFBYSxFQUFFLENBQUMsRUFBRTtJQUNsQixZQUFZLEVBQUUsQ0FBQyxDQUFDO0lB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ICAgICAgICBhc3BlY3RSYXRpbzogMixcclxuICAgICAgICByZXNwb25zaXZlOiB0cnVlLCAgICAgICAgXHJcbiAgICAgICAgYW5pbWF0aW9uOiB7XHJcbiAgICAgICAgICBkdXJhdGlvbjogMFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgc2NhbGVzOiB7XHJcbiAgICAgICAgICB4OiB7XHJcbiAgICAgICAgICAgIHRpY2tzOiB7XHJcbiAgICAgICAgICAgICAgY29sb3I6ICdibGFjaycsXHJcbiAgICAgICAgICAgICAgZGlzcGxheTogNzY4LFxyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICBncmlkOiB7XHJcbiAgICAgICAgICAgICAgY29sb3I6ICd3aGl0ZScsXHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgICAgeToge1xyXG4gICAgICAgICAgICBiZWdpbkF0WmVybzogdHJ1ZSxcclxuICAgICAgICAgICAgZ3JpZDoge1xyXG4gICAgICAgICAgICAgIGNvbG9yOiAnd2hpdGUnLFxyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgICAgfSxcclxuICAgICAgICB9LFxyXG4gICAgICAgIHBsdWdpbnM6IHtcclxuICAgICAgICAgIGxlZ2VuZDoge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiB0aGlzLmRpc3BsYXlMZWdlbmQgfHwgZmFsc2UsXHJcbiAgICAgICAgICAgIGxhYmVsczoge1xyXG4gICAgICAgICAgICAgIGNvbG9yOiAnIzFlMjkzYicsXHJcbiAgICAgICAgICAgICAgdXNlUG9pbnRTdHlsZTogdHJ1ZSxcclxuICAgICAgICAgICAgICBmb250OiB7XHJcbiAgICAgICAgICAgICAgICB3ZWlnaHQ6IDcwMCxcclxuICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgIHBhZGRpbmc6IDI4XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiAnYm90dG9tJ1xyXG4gIC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clxuICA8L2Rpdj5cclxuICA8cC1jaGFydFxyXG4gICAgI2NoYXJ0XHJcbiAgICBbdHlwZV09XCJ0eXBlXCJcclxuICAgIFtkYXRhXT1cImRhdGFcIlxyXG4gICAgW29wdGlvbnNdPVwib3B0aW9uc1wiXHJcbiAgICBbaGVpZ2h0XT1cImhlaWdodENoYXJ0XCI+XHJcbiAgPC9wLWNoYXJ0PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { FormsModule } from '@angular/forms';
|
|
3
|
+
import { NgModule } from "@angular/core";
|
|
4
|
+
import { KvChartComponent } from './kv-chart.component';
|
|
5
|
+
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class KvChartModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvChartModule, declarations: [KvChartComponent], imports: [CommonModule,
|
|
10
|
+
PrimeNgModule,
|
|
11
|
+
FormsModule], exports: [KvChartComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvChartModule, imports: [CommonModule,
|
|
13
|
+
PrimeNgModule,
|
|
14
|
+
FormsModule] }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvChartModule, decorators: [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [
|
|
20
|
+
KvChartComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
Comm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b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGdCQUFnQjtxQkFDakI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcclxuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xyXG5cclxuaW1wb3J0IHsgS3ZDaGFydENvbXBvbmVudCB9IGZyb20gJy4va3YtY2hhcnQuY29tcG9uZW50JztcclxuaW1wb3J0IHsgUHJpbWVOZ01vZHVsZSB9IGZyb20gJy4uLy4uL2FwaS9tb2R1bGVzL3ByaW1lbmcubW9kdWxlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBLdkNoYXJ0Q29tcG9uZW50XHJcbiAgXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBQcmltZU5nTW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBLdkNoYXJ0Q29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgS3ZDaGFydE1vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, signal } from '@angular/core';
|
|
2
|
+
import { BaseComponentCrudForm } from '../../api/base-components/base-component-crud-form';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../kv-button/kv-button.component";
|
|
5
|
+
export class KvConfirmationModalComponent extends BaseComponentCrudForm {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.message = signal('');
|
|
9
|
+
this.image = signal('');
|
|
10
|
+
}
|
|
11
|
+
close() {
|
|
12
|
+
this.dynamicDialogRef.close();
|
|
13
|
+
}
|
|
14
|
+
loadForm(id) {
|
|
15
|
+
if (id) {
|
|
16
|
+
this.message.set(id['message']);
|
|
17
|
+
this.image.set(id['image']);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
console.warn('Nenhum dado encontrado para o modal.');
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
configureForm() { }
|
|
24
|
+
save() { }
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvConfirmationModalComponent, selector: "kv-confirmation-modal", usesInheritance: true, ngImport: i0, template: "<div class=\"flex flex-column align-items-center justify-content-center\">\r\n <img [src]=\"image()\">\r\n <div class=\"mt-4\">\r\n <b class=\"text-sm\">{{message()}}</b>\r\n </div>\r\n</div>\r\n<div class=\"flex flex-row gap-1 align-items-center justify-content-end mt-4 -mb-2\">\r\n <kv-button label=\"Fechar\" severity=\"tertiary\" size=\"normal\" (onClick)=\"close()\"></kv-button>\r\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-header{display:none!important}::ng-deep .p-dialog .p-dialog-content:last-of-type{border-radius:6px!important}\n"], dependencies: [{ kind: "component", type: i1.KvButtonComponent, selector: "kv-button", inputs: ["fullWidth", "type", "loading", "severity", "size", "icon", "iconPosition", "label", "disabled", "items", "popup"], outputs: ["iconChange", "onClick"] }] }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'kv-confirmation-modal', standalone: false, template: "<div class=\"flex flex-column align-items-center justify-content-center\">\r\n <img [src]=\"image()\">\r\n <div class=\"mt-4\">\r\n <b class=\"text-sm\">{{message()}}</b>\r\n </div>\r\n</div>\r\n<div class=\"flex flex-row gap-1 align-items-center justify-content-end mt-4 -mb-2\">\r\n <kv-button label=\"Fechar\" severity=\"tertiary\" size=\"normal\" (onClick)=\"close()\"></kv-button>\r\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-header{display:none!important}::ng-deep .p-dialog .p-dialog-content:last-of-type{border-radius:6px!important}\n"] }]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29uZmlybWF0aW9uLW1vZGFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWNvbmZpcm1hdGlvbi1tb2RhbC9rdi1jb25maXJtYXRpb24tbW9kYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtY29uZmlybWF0aW9uLW1vZGFsL2t2LWNvbmZpcm1hdGlvbi1tb2RhbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFakUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sb0RBQW9ELENBQUM7OztBQVEzRixNQUFNLE9BQU8sNEJBQTZCLFNBQVEscUJBQXFCO0lBTnZFOztRQVFFLFlBQU8sR0FBRyxNQUFNLENBQVMsRUFBRSxDQUFDLENBQUM7UUFDN0IsVUFBSyxHQUFHLE1BQU0sQ0FBUyxFQUF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10LTRcIj5cclxuICAgICAgICA8YiBjbGFzcz1cInRleHQtc21cIj57e21lc3NhZ2UoKX19PC9iPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PlxyXG48ZGl2IGNsYXNzPVwiZmxleCBmbGV4LXJvdyBnYXAtMSBhbGlnbi1pdGVtcy1jZW50ZXIganVzdGlmeS1jb250ZW50LWVuZCBtdC00IC1tYi0yXCI+XHJcbiAgICA8a3YtYnV0dG9uIGxhYmVsPVwiRmVjaGFyXCIgc2V2ZXJpdHk9XCJ0ZXJ0aWFyeVwiIHNpemU9XCJub3JtYWxcIiAob25DbGljayk9XCJjbG9zZSgpXCI+PC9rdi1idXR0b24+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { KvConfirmationModalComponent } from './kv-confirmation-modal.component';
|
|
4
|
+
import { PrimeNgModule } from '../../api/modules/primeng.module';
|
|
5
|
+
import { KvButtonModule } from '../kv-button/kv-button.module';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class KvConfirmationModalModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalModule, declarations: [KvConfirmationModalComponent], imports: [CommonModule, PrimeNgModule, KvButtonModule], exports: [KvConfirmationModalComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalModule, imports: [CommonModule, PrimeNgModule, KvButtonModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvConfirmationModalModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [KvConfirmationModalComponent],
|
|
16
|
+
imports: [CommonModule, PrimeNgModule, KvButtonModule],
|
|
17
|
+
exports: [
|
|
18
|
+
KvConfirmationModalComponent
|
|
19
|
+
]
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtY29uZmlybWF0aW9uLW1vZGFsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWNvbmZpcm1hdGlvbi1tb2RhbC9rdi1jb25maXJtYXRpb24tbW9kYWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQTBCLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNqRixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDakUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLCtCQUErQixDQUFDOztBQVMvRCxNQUFNLE9BQU8seUJBQXlCOzhHQUF6Qix5QkFBeUI7K0dBQXpCLHlCQUF5QixpQkFOckIsNEJBQTRCLGFBQ2pDLFlBQVksRUFBRSxhQUFhLEVBQUUsY0FBYyxhQUVuRCw0QkFBNEI7K0dBR25CLHlCQUF5QixZQUwxQixZQUFZLEVBQUUsYUFBYSxFQUFFLGNBQW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