keevo-components 2.0.105 → 2.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +14 -0
- package/package.json +32 -42
- package/src/assets/.gitkeep +0 -0
- package/src/index.ts +1 -0
- package/src/lib/api/base-components/base-component-button.ts +29 -0
- package/src/lib/api/base-components/base-component-chart.ts +118 -0
- package/src/lib/api/base-components/base-component-crud-form.ts +377 -0
- package/src/lib/api/base-components/base-component-crud-list.ts +129 -0
- package/src/lib/api/base-components/base-component-crud.ts +92 -0
- package/src/lib/api/base-components/base-component-dropdown-external.ts +29 -0
- package/src/lib/api/base-components/base-component-dropdown-new.ts +112 -0
- package/src/lib/api/base-components/base-component-dropdown.ts +257 -0
- package/src/lib/api/base-components/base-component-input.ts +121 -0
- package/src/lib/api/base-components/base-component-multi-select.ts +187 -0
- package/src/lib/api/base-components/base-component-table.ts +366 -0
- package/src/lib/api/base-components/base-component.ts +47 -0
- package/src/lib/api/components/chart/chart.config.ts +15 -0
- package/src/lib/api/components/chart/chart.model.ts +12 -0
- package/src/lib/api/components/chart/orchart.config.ts +51 -0
- package/src/lib/api/components/chart/orchartnode.ts +44 -0
- package/src/lib/api/components/dropdown/filtro.combo.ts +4 -0
- package/{lib/api/components/step/step.model.d.ts → src/lib/api/components/step/step.model.ts} +15 -13
- package/src/lib/api/components/stepper/kv-stepperpanel.ts +10 -0
- package/src/lib/api/components/table/action-item.ts +13 -0
- package/src/lib/api/components/table/kv-menuitem.ts +198 -0
- package/src/lib/api/components/table/table-dropdown-control.ts +6 -0
- package/src/lib/api/components/table/table.config.column.ts +38 -0
- package/src/lib/api/components/table/table.config.ts +39 -0
- package/src/lib/api/components/table/table.paginate.ts +7 -0
- package/{lib/api/components/table/tabledit.config.d.ts → src/lib/api/components/table/tabledit.config.ts} +9 -8
- package/src/lib/api/components/table/tableedit.config.column.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table-keys.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table.config.ts +34 -0
- package/src/lib/api/directives/directives.module.ts +19 -0
- package/src/lib/api/directives/drag/drag.directive.ts +40 -0
- package/src/lib/api/directives/stepper/dynamicinput.directive.ts +23 -0
- package/src/lib/api/directives/template/template.directive.ts +15 -0
- package/src/lib/api/helpers/component-providers.ts +16 -0
- package/src/lib/api/helpers/keevo-validators.ts +174 -0
- package/src/lib/api/helpers/severity-color.ts +77 -0
- package/src/lib/api/helpers/translate-primeng.ts +25 -0
- package/src/lib/api/modules/primeng.module.ts +144 -0
- package/src/lib/api/pipes/capitalize.pipe.ts +47 -0
- package/src/lib/api/pipes/cpfcnpj.pipe.ts +21 -0
- package/src/lib/api/pipes/mask.pipe.ts +24 -0
- package/src/lib/api/pipes/pipes.module.ts +26 -0
- package/src/lib/api/pipes/telefone.pipe.ts +38 -0
- package/src/lib/api/services/base.api.service.ts +115 -0
- package/src/lib/api/services/breadcrumbs.service.ts +71 -0
- package/src/lib/api/services/chat.service.ts +39 -0
- package/src/lib/api/services/component.service.ts +44 -0
- package/src/lib/api/services/docs.service.ts +129 -0
- package/src/lib/api/services/form.service.ts +139 -0
- package/src/lib/api/services/image.cutter.service.ts +290 -0
- package/src/lib/api/services/imagens.service.ts +28 -0
- package/src/lib/api/services/notification.service.ts +88 -0
- package/src/lib/api/services/object.service.ts +33 -0
- package/src/lib/api/services/orgchart.service.ts +77 -0
- package/src/lib/api/services/pdf.service.ts +54 -0
- package/src/lib/api/types/breadcrumb.model.ts +5 -0
- package/src/lib/api/types/severity.ts +3 -0
- package/src/lib/api/types/stimulsoft.reports.d.ts +67463 -0
- package/src/lib/components/keevo-components-styles.scss +5 -0
- package/src/lib/components/keevo-components.module.ts +105 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.html +75 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +162 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +23 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +165 -0
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +32 -0
- package/src/lib/components/kv-button/kv-button.component.html +26 -0
- package/src/lib/components/kv-button/kv-button.component.spec.ts +23 -0
- package/src/lib/components/kv-button/kv-button.component.ts +55 -0
- package/src/lib/components/kv-button/kv-button.module.ts +20 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +14 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +6 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +25 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +13 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +33 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +41 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.html +12 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.scss +18 -0
- package/src/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.ts +14 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.html +11 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.scss +17 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +14 -0
- package/src/lib/components/kv-buttons/kv-button.module.ts +26 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.html +63 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.scss +54 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.spec.ts +23 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.component.ts +73 -0
- package/src/lib/components/kv-card-selection/kv-card-selection.module.ts +19 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.html +26 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +47 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +23 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +40 -0
- package/src/lib/components/kv-carousel/kv-carousel.module.ts +19 -0
- package/src/lib/components/kv-chart/kv-chart.component.html +38 -0
- package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
- package/src/lib/components/kv-chart/kv-chart.component.spec.ts +28 -0
- package/src/lib/components/kv-chart/kv-chart.component.ts +174 -0
- package/src/lib/components/kv-chart/kv-chart.module.ts +21 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.html +9 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.scss +7 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.spec.ts +23 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.ts +32 -0
- package/src/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.ts +14 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.html +229 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.scss +185 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.spec.ts +23 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.component.ts +171 -0
- package/src/lib/components/kv-content-viewer/kv-content-viewer.module.ts +25 -0
- package/src/lib/components/kv-error/kv-error.component.html +3 -0
- package/src/lib/components/kv-error/kv-error.component.scss +5 -0
- package/src/lib/components/kv-error/kv-error.component.ts +27 -0
- package/src/lib/components/kv-error/kv-error.module.ts +26 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.html +134 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.scss +13 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.spec.ts +23 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.component.ts +200 -0
- package/src/lib/components/kv-file-upload/kv-file-upload.module.ts +13 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.html +16 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.scss +18 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.component.ts +42 -0
- package/src/lib/components/kv-file-viewer/kv-file-viewer.module.ts +14 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.html +34 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.scss +17 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.ts +80 -0
- package/src/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.ts +15 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.html +103 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.scss +153 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.spec.ts +23 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.component.ts +73 -0
- package/src/lib/components/kv-file-viewer-preview/kv-file-viewer-preview.module.ts +18 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.html +12 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.scss +76 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.spec.ts +23 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.component.ts +18 -0
- package/src/lib/components/kv-filter-card/kv-filter-card.module.ts +23 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.html +81 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.scss +197 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.component.ts +150 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.module.ts +20 -0
- package/src/lib/components/kv-filter-cards/kv-filter-cards.pipe.ts +24 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.html +25 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.scss +22 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.spec.ts +23 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.ts +20 -0
- package/src/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.ts +20 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.html +1 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.scss +0 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.spec.ts +23 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.component.ts +10 -0
- package/src/lib/components/kv-g-icon/kv-g-icon.module.ts +11 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.html +35 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.scss +5 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.spec.ts +23 -0
- package/src/lib/components/kv-home-card/kv-home-card.component.ts +33 -0
- package/src/lib/components/kv-home-card/kv-home-card.module.ts +18 -0
- package/src/lib/components/kv-icon/kv-icon.component.html +13 -0
- package/src/lib/components/kv-icon/kv-icon.component.scss +69 -0
- package/src/lib/components/kv-icon/kv-icon.component.spec.ts +28 -0
- package/src/lib/components/kv-icon/kv-icon.component.ts +30 -0
- package/src/lib/components/kv-icon/kv-icon.model.ts +3 -0
- package/src/lib/components/kv-icon/kv-icon.module.ts +16 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +64 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.scss +0 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.ts +153 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.module.ts +10 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.html +12 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.scss +38 -0
- package/src/lib/components/kv-inputs/kv-check/kv-check.component.ts +32 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.html +87 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +119 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.html +13 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.ts +16 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.html +18 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.ts +41 -0
- package/src/lib/components/kv-inputs/kv-editor/config/kv-editor.config.ts +120 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +285 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +182 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +311 -0
- package/{lib/components/kv-inputs/kv-editor/kv-editor.d.ts → src/lib/components/kv-inputs/kv-editor/kv-editor.ts} +6 -6
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.ts +156 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.ts +190 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.spec.ts +126 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.ts +84 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.spec.ts +176 -0
- package/src/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.ts +101 -0
- package/src/lib/components/kv-inputs/kv-editor/types/kv-editor.types.ts +36 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +37 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +23 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +197 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +24 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +35 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +61 -0
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.html +33 -0
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.scss +5 -0
- package/src/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.ts +63 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +24 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.ts +26 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +18 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +40 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.html +30 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.scss +26 -0
- package/src/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.ts +38 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +53 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +41 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +48 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.ts +40 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.html +24 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-time/kv-input-time.component.ts +27 -0
- package/src/lib/components/kv-inputs/kv-inputs.module.ts +100 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +87 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +62 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +54 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +19 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +22 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +63 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.html +26 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.scss +5 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.spec.ts +21 -0
- package/src/lib/components/kv-inputs/kv-select-button/kv-select-button.component.ts +30 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.html +28 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.scss +61 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.ts +43 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +35 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +54 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.html +68 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.scss +86 -0
- package/src/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.ts +59 -0
- package/src/lib/components/kv-label/kv-label.component.html +3 -0
- package/src/lib/components/kv-label/kv-label.component.scss +15 -0
- package/src/lib/components/kv-label/kv-label.component.spec.ts +23 -0
- package/src/lib/components/kv-label/kv-label.component.ts +14 -0
- package/src/lib/components/kv-label/kv-label.module.ts +17 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.html +25 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.scss +19 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.spec.ts +28 -0
- package/src/lib/components/kv-layout/dropdown-master/dropdown-master.component.ts +34 -0
- package/src/lib/components/kv-layout/kv-layout.module.ts +44 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.html +535 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.scss +267 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.spec.ts +23 -0
- package/src/lib/components/kv-layout/layout/kv-layout.component.ts +502 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.html +26 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.scss +71 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.spec.ts +23 -0
- package/src/lib/components/kv-layout/top-icons/top-icons.component.ts +26 -0
- package/src/lib/components/kv-loader/kv-loader.component.html +1 -0
- package/src/lib/components/kv-loader/kv-loader.component.ts +11 -0
- package/src/lib/components/kv-loader/kv-loader.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.service.ts +29 -0
- package/src/lib/components/kv-login/kv-login.component.html +101 -0
- package/src/lib/components/kv-login/kv-login.component.scss +99 -0
- package/src/lib/components/kv-login/kv-login.component.spec.ts +23 -0
- package/src/lib/components/kv-login/kv-login.component.ts +97 -0
- package/src/lib/components/kv-login/kv-login.module.ts +33 -0
- package/src/lib/components/kv-modal/kv-modal.component.html +20 -0
- package/src/lib/components/kv-modal/kv-modal.component.scss +37 -0
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +21 -0
- package/src/lib/components/kv-modal/kv-modal.component.ts +111 -0
- package/src/lib/components/kv-modal/kv-modal.module.ts +12 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.html +125 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +73 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +283 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +31 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.html +91 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +100 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +28 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.ts +206 -0
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +33 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.html +276 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.scss +85 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.component.ts +223 -0
- package/src/lib/components/kv-page-stepper/kv-page-stepper.module.ts +36 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +32 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +57 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.spec.ts +26 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.ts +461 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +24 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +38 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +128 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.spec.ts +21 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.ts +75 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +19 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.html +43 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.scss +130 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.spec.ts +23 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.ts +82 -0
- package/src/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.ts +18 -0
- package/src/lib/components/kv-report/kv-report.component.html +3 -0
- package/src/lib/components/kv-report/kv-report.component.scss +14 -0
- package/src/lib/components/kv-report/kv-report.component.spec.ts +28 -0
- package/src/lib/components/kv-report/kv-report.component.ts +44 -0
- package/src/lib/components/kv-report/kv-report.module.ts +18 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.html +94 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +43 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +73 -0
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +27 -0
- package/src/lib/components/kv-steps/kv-steps.component.html +53 -0
- package/src/lib/components/kv-steps/kv-steps.component.scss +120 -0
- package/src/lib/components/kv-steps/kv-steps.component.ts +122 -0
- package/src/lib/components/kv-table/kv-table.component.html +655 -0
- package/src/lib/components/kv-table/kv-table.component.spec.ts +28 -0
- package/src/lib/components/kv-table/kv-table.component.ts +792 -0
- package/src/lib/components/kv-table/kv-table.module.ts +25 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +913 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +829 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +425 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +31 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.html +634 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.scss +387 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.component.ts +546 -0
- package/src/lib/components/kv-table-expandable/kv-table-expandable.module.ts +22 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.html +25 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.scss +0 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.ts +17 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.html +20 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.scss +0 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.ts +14 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.html +164 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.scss +80 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.spec.ts +23 -0
- package/src/lib/components/kv-table-viewer/kv-table-viewer.component.ts +183 -0
- package/src/lib/components/kv-tag/kv-tag.component.html +3 -0
- package/src/lib/components/kv-tag/kv-tag.component.scss +65 -0
- package/src/lib/components/kv-tag/kv-tag.component.spec.ts +23 -0
- package/src/lib/components/kv-tag/kv-tag.component.ts +16 -0
- package/src/lib/components/kv-tag/kv-tag.module.ts +18 -0
- package/src/lib/components/kv-tags/kv-tags.component.html +19 -0
- package/src/lib/components/kv-tags/kv-tags.component.scss +28 -0
- package/src/lib/components/kv-tags/kv-tags.component.ts +64 -0
- package/src/lib/components/kv-tags/kv-tags.module.ts +18 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.html +28 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.scss +6 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.spec.ts +23 -0
- package/src/lib/components/kv-timeline/kv-timeline.component.ts +77 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +492 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +187 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.spec.ts +21 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.ts +355 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +23 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.html +16 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +19 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +23 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +73 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +19 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.html +71 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.scss +27 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.spec.ts +28 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.component.ts +107 -0
- package/src/lib/components/kv-widget-card/kv-widget-card.module.ts +20 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.html +22 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.scss +36 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.ts +41 -0
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +45 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.html +20 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.scss +0 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/logo/kv-workspace-logo.component.ts +18 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.html +35 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.scss +29 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.spec.ts +28 -0
- package/src/lib/components/kv-workspace/master/kv-workspace-master.component.ts +98 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.html +63 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.scss +62 -0
- package/src/lib/components/kv-workspace/workspace/kv-workspace.component.ts +91 -0
- package/{public-api.d.ts → src/public-api.ts} +361 -288
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/keevo-components.mjs +0 -5
- package/esm2022/lib/api/base-components/base-component-button.mjs +0 -39
- package/esm2022/lib/api/base-components/base-component-chart.mjs +0 -104
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +0 -308
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -91
- package/esm2022/lib/api/base-components/base-component-crud.mjs +0 -80
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +0 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +0 -238
- package/esm2022/lib/api/base-components/base-component-input.mjs +0 -101
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +0 -174
- package/esm2022/lib/api/base-components/base-component-table.mjs +0 -354
- package/esm2022/lib/api/base-components/base-component.mjs +0 -51
- package/esm2022/lib/api/components/chart/chart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchartnode.mjs +0 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +0 -2
- package/esm2022/lib/api/components/step/step.model.mjs +0 -2
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +0 -2
- package/esm2022/lib/api/components/table/action-item.mjs +0 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +0 -46
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.column.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.mjs +0 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +0 -10
- package/esm2022/lib/api/components/table/tabledit.config.mjs +0 -2
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +0 -2
- package/esm2022/lib/api/components/tree-table/tree-table-keys.mjs +0 -2
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +0 -3
- package/esm2022/lib/api/directives/directives.module.mjs +0 -30
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +0 -52
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +0 -31
- package/esm2022/lib/api/directives/template/template.directive.mjs +0 -24
- package/esm2022/lib/api/helpers/component-providers.mjs +0 -16
- package/esm2022/lib/api/helpers/keevo-validators.mjs +0 -144
- package/esm2022/lib/api/helpers/translate-primeng.mjs +0 -23
- package/esm2022/lib/api/modules/primeng.module.mjs +0 -283
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +0 -47
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +0 -25
- package/esm2022/lib/api/pipes/mask.pipe.mjs +0 -29
- package/esm2022/lib/api/pipes/pipes.module.mjs +0 -39
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +0 -45
- package/esm2022/lib/api/services/base.api.service.mjs +0 -74
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +0 -62
- package/esm2022/lib/api/services/chat.service.mjs +0 -37
- package/esm2022/lib/api/services/component.service.mjs +0 -37
- package/esm2022/lib/api/services/docs.service.mjs +0 -129
- package/esm2022/lib/api/services/form.service.mjs +0 -95
- package/esm2022/lib/api/services/image.cutter.service.mjs +0 -193
- package/esm2022/lib/api/services/imagens.service.mjs +0 -28
- package/esm2022/lib/api/services/notification.service.mjs +0 -69
- package/esm2022/lib/api/services/object.service.mjs +0 -39
- package/esm2022/lib/api/services/orgchart.service.mjs +0 -64
- package/esm2022/lib/api/services/pdf.service.mjs +0 -48
- package/esm2022/lib/api/types/breadcrumb.model.mjs +0 -2
- package/esm2022/lib/components/keevo-components.module.mjs +0 -232
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +0 -142
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +0 -55
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +0 -51
- package/esm2022/lib/components/kv-button/kv-button.module.mjs +0 -28
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +0 -25
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +0 -39
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +0 -39
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +0 -60
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.module.mjs +0 -31
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +0 -34
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +0 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +0 -166
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +0 -32
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.mjs +0 -32
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.mjs +0 -22
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +0 -185
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.module.mjs +0 -44
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +0 -26
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +0 -35
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.component.mjs +0 -191
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +0 -23
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +0 -46
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +0 -20
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.mjs +0 -68
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.mjs +0 -24
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +0 -29
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +0 -34
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +0 -103
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +0 -31
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +0 -30
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +0 -26
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +0 -28
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +0 -11
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +0 -19
- package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +0 -27
- package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +0 -32
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +0 -136
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +0 -18
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +0 -29
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +0 -102
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.mjs +0 -18
- package/esm2022/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.mjs +0 -40
- package/esm2022/lib/components/kv-inputs/kv-editor/config/kv-editor.config.mjs +0 -110
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +0 -266
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.mjs +0 -7
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +0 -135
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.mjs +0 -168
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +0 -78
- package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.mjs +0 -95
- package/esm2022/lib/components/kv-inputs/kv-editor/types/kv-editor.types.mjs +0 -2
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +0 -168
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +0 -30
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +0 -59
- package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +0 -66
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +0 -33
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +0 -38
- package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +0 -50
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +0 -43
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +0 -24
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +0 -165
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +0 -60
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +0 -60
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +0 -46
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +0 -37
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +0 -58
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +0 -15
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +0 -24
- package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +0 -28
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +0 -72
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +0 -433
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +0 -15
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +0 -16
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +0 -28
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +0 -29
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +0 -62
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +0 -47
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +0 -98
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +0 -20
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +0 -225
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +0 -59
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +0 -190
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +0 -41
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +0 -205
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +0 -51
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +0 -386
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +0 -39
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +0 -58
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +0 -28
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.mjs +0 -62
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.mjs +0 -28
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +0 -44
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +0 -24
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +0 -74
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +0 -47
- package/esm2022/lib/components/kv-steps/kv-steps.component.mjs +0 -105
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +0 -673
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +0 -40
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +0 -341
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +0 -45
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +0 -516
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +0 -40
- package/esm2022/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.mjs +0 -17
- package/esm2022/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.mjs +0 -18
- package/esm2022/lib/components/kv-table-viewer/kv-table-viewer.component.mjs +0 -184
- package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +0 -18
- package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +0 -24
- package/esm2022/lib/components/kv-tags/kv-tags.component.mjs +0 -35
- package/esm2022/lib/components/kv-tags/kv-tags.module.mjs +0 -27
- package/esm2022/lib/components/kv-timeline/kv-timeline.component.mjs +0 -71
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +0 -331
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +0 -39
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +0 -70
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +0 -28
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +0 -40
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +0 -68
- package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +0 -22
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +0 -78
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +0 -87
- package/esm2022/public-api.mjs +0 -293
- package/fesm2022/keevo-components.mjs +0 -11977
- package/fesm2022/keevo-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/api/base-components/base-component-button.d.ts +0 -15
- package/lib/api/base-components/base-component-chart.d.ts +0 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +0 -149
- package/lib/api/base-components/base-component-crud-list.d.ts +0 -70
- package/lib/api/base-components/base-component-crud.d.ts +0 -36
- package/lib/api/base-components/base-component-dropdown-external.d.ts +0 -15
- package/lib/api/base-components/base-component-dropdown.d.ts +0 -57
- package/lib/api/base-components/base-component-input.d.ts +0 -33
- package/lib/api/base-components/base-component-multi-select.d.ts +0 -40
- package/lib/api/base-components/base-component-table.d.ts +0 -88
- package/lib/api/base-components/base-component.d.ts +0 -22
- package/lib/api/components/chart/chart.config.d.ts +0 -14
- package/lib/api/components/chart/chart.model.d.ts +0 -12
- package/lib/api/components/chart/orchart.config.d.ts +0 -41
- package/lib/api/components/chart/orchartnode.d.ts +0 -34
- package/lib/api/components/dropdown/filtro.combo.d.ts +0 -4
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +0 -9
- package/lib/api/components/table/action-item.d.ts +0 -13
- package/lib/api/components/table/kv-menuitem.d.ts +0 -152
- package/lib/api/components/table/table-dropdown-control.d.ts +0 -6
- package/lib/api/components/table/table.config.column.d.ts +0 -38
- package/lib/api/components/table/table.config.d.ts +0 -36
- package/lib/api/components/table/table.paginate.d.ts +0 -10
- package/lib/api/components/table/tableedit.config.column.d.ts +0 -11
- package/lib/api/components/tree-table/tree-table-keys.d.ts +0 -12
- package/lib/api/components/tree-table/tree-table.config.d.ts +0 -31
- package/lib/api/directives/directives.module.d.ts +0 -9
- package/lib/api/directives/drag/drag.directive.d.ts +0 -11
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +0 -15
- package/lib/api/directives/template/template.directive.d.ts +0 -11
- package/lib/api/helpers/component-providers.d.ts +0 -2
- package/lib/api/helpers/keevo-validators.d.ts +0 -18
- package/lib/api/helpers/translate-primeng.d.ts +0 -4
- package/lib/api/modules/primeng.module.d.ts +0 -69
- package/lib/api/pipes/capitalize.pipe.d.ts +0 -10
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +0 -7
- package/lib/api/pipes/mask.pipe.d.ts +0 -7
- package/lib/api/pipes/pipes.module.d.ts +0 -11
- package/lib/api/pipes/telefone.pipe.d.ts +0 -7
- package/lib/api/services/base.api.service.d.ts +0 -25
- package/lib/api/services/breadcrumbs.service.d.ts +0 -16
- package/lib/api/services/chat.service.d.ts +0 -17
- package/lib/api/services/component.service.d.ts +0 -11
- package/lib/api/services/docs.service.d.ts +0 -12
- package/lib/api/services/form.service.d.ts +0 -31
- package/lib/api/services/image.cutter.service.d.ts +0 -16
- package/lib/api/services/imagens.service.d.ts +0 -10
- package/lib/api/services/notification.service.d.ts +0 -26
- package/lib/api/services/object.service.d.ts +0 -9
- package/lib/api/services/orgchart.service.d.ts +0 -20
- package/lib/api/services/pdf.service.d.ts +0 -7
- package/lib/api/types/breadcrumb.model.d.ts +0 -5
- package/lib/components/keevo-components.module.d.ts +0 -38
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +0 -36
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +0 -15
- package/lib/components/kv-button/kv-button.component.d.ts +0 -24
- package/lib/components/kv-button/kv-button.module.d.ts +0 -9
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +0 -11
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +0 -19
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button.module.d.ts +0 -11
- package/lib/components/kv-card-selection/kv-card-selection.component.d.ts +0 -25
- package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +0 -10
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +0 -17
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +0 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +0 -57
- package/lib/components/kv-chart/kv-chart.module.d.ts +0 -10
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +0 -12
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +0 -10
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +0 -56
- package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +0 -14
- package/lib/components/kv-error/kv-error.component.d.ts +0 -12
- package/lib/components/kv-error/kv-error.module.d.ts +0 -10
- package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +0 -35
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +0 -10
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +0 -21
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +0 -8
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +0 -24
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +0 -9
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +0 -13
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +0 -10
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +0 -32
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +0 -9
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +0 -7
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +0 -10
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +0 -9
- package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +0 -5
- package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +0 -9
- package/lib/components/kv-home-card/kv-home-card.component.d.ts +0 -24
- package/lib/components/kv-home-card/kv-home-card.module.d.ts +0 -11
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +0 -34
- package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +0 -8
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +0 -12
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +0 -33
- package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +0 -8
- package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +0 -14
- package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +0 -55
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +0 -69
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +0 -41
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +0 -41
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +0 -28
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +0 -45
- package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +0 -32
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +0 -34
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +0 -12
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.d.ts +0 -21
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +0 -13
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +0 -11
- package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +0 -13
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +0 -18
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +0 -10
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +0 -38
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +0 -20
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +0 -20
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +0 -26
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +0 -25
- package/lib/components/kv-label/kv-label.component.d.ts +0 -7
- package/lib/components/kv-label/kv-label.module.d.ts +0 -8
- package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +0 -12
- package/lib/components/kv-layout/kv-layout.module.d.ts +0 -18
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +0 -156
- package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +0 -16
- package/lib/components/kv-loader/kv-loader.component.d.ts +0 -7
- package/lib/components/kv-loader/kv-loader.module.d.ts +0 -9
- package/lib/components/kv-loader/kv-loader.service.d.ts +0 -10
- package/lib/components/kv-login/kv-login.component.d.ts +0 -32
- package/lib/components/kv-login/kv-login.module.d.ts +0 -13
- package/lib/components/kv-modal/kv-modal.component.d.ts +0 -27
- package/lib/components/kv-modal/kv-modal.module.d.ts +0 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +0 -45
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +0 -17
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +0 -98
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +0 -12
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +0 -84
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +0 -14
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +0 -70
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +0 -11
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +0 -67
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +0 -9
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +0 -71
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +0 -9
- package/lib/components/kv-report/kv-report.component.d.ts +0 -18
- package/lib/components/kv-report/kv-report.module.d.ts +0 -8
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +0 -32
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +0 -13
- package/lib/components/kv-steps/kv-steps.component.d.ts +0 -21
- package/lib/components/kv-table/kv-table.component.d.ts +0 -154
- package/lib/components/kv-table/kv-table.module.d.ts +0 -12
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +0 -66
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +0 -15
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +0 -119
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +0 -13
- package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +0 -8
- package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +0 -7
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +0 -72
- package/lib/components/kv-tag/kv-tag.component.d.ts +0 -7
- package/lib/components/kv-tag/kv-tag.module.d.ts +0 -8
- package/lib/components/kv-tags/kv-tags.component.d.ts +0 -31
- package/lib/components/kv-tags/kv-tags.module.d.ts +0 -8
- package/lib/components/kv-timeline/kv-timeline.component.d.ts +0 -18
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +0 -86
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +0 -11
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +0 -21
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +0 -9
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +0 -14
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +0 -19
- package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +0 -11
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +0 -25
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +0 -37
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Component,
|
|
3
|
+
DoCheck,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
OnInit,
|
|
7
|
+
Output
|
|
8
|
+
} from '@angular/core';
|
|
9
|
+
|
|
10
|
+
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
|
11
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
12
|
+
import { ComponentProviders } from '../../../api/helpers/component-providers';
|
|
13
|
+
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'kv-radio-group',
|
|
16
|
+
templateUrl: './kv-radio-group.component.html',
|
|
17
|
+
styleUrls: [
|
|
18
|
+
'./kv-radio-group.component.scss',
|
|
19
|
+
'../../keevo-components-styles.scss'
|
|
20
|
+
],
|
|
21
|
+
providers: ComponentProviders(KvRadioGroupComponent),
|
|
22
|
+
})
|
|
23
|
+
export class KvRadioGroupComponent extends BaseComponentInput<any> implements OnInit, DoCheck {
|
|
24
|
+
|
|
25
|
+
@Input() options: any[] = [
|
|
26
|
+
{ id: 0, description: 'Não' },
|
|
27
|
+
{ id: 1, description: 'Sim' },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
@Input() optionValue: string = 'id';
|
|
31
|
+
@Input() optionLabel: string = 'description'
|
|
32
|
+
|
|
33
|
+
@Input() optionValueDefault!: any
|
|
34
|
+
@Input() vertical: boolean = false;
|
|
35
|
+
|
|
36
|
+
@Output() onSelectedOption: EventEmitter<any> = new EventEmitter();
|
|
37
|
+
|
|
38
|
+
selectedOpt: any = null;
|
|
39
|
+
|
|
40
|
+
constructor(componentService: ComponentService) {
|
|
41
|
+
super(componentService);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
override ngOnInit(): void {
|
|
45
|
+
super.ngOnInit();
|
|
46
|
+
this.selectedDefault();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
ngDoCheck(): void {
|
|
50
|
+
this.selectedDefault();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
selectedDefault() {
|
|
54
|
+
if (this.optionValueDefault != undefined && !this.selectedOpt) {
|
|
55
|
+
let item = this.options.find(opt => opt[this.optionValue] === this.optionValueDefault);
|
|
56
|
+
if (item) this.selectedOpt = item;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
selectedOption(event: any) {
|
|
61
|
+
this.onSelectedOption.emit(event.value[this.optionValue]);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@if(value) {
|
|
2
|
+
<p-selectButton
|
|
3
|
+
[options]="options"
|
|
4
|
+
[optionLabel]="optionLabel"
|
|
5
|
+
[optionValue]="optionValue"
|
|
6
|
+
(onChange)="selectionChange($event)"
|
|
7
|
+
(onOptionClick)="onOptionClick($event)"
|
|
8
|
+
[multiple]="mutiple"
|
|
9
|
+
[disabled]="disabled"
|
|
10
|
+
[(ngModel)]="value"
|
|
11
|
+
/>
|
|
12
|
+
} @else {
|
|
13
|
+
<div [formGroup]="formGroup">
|
|
14
|
+
<p-selectButton
|
|
15
|
+
[options]="options"
|
|
16
|
+
[optionLabel]="optionLabel"
|
|
17
|
+
[optionValue]="optionValue"
|
|
18
|
+
(onChange)="selectionChange($event)"
|
|
19
|
+
(onOptionClick)="onOptionClick($event)"
|
|
20
|
+
[multiple]="mutiple"
|
|
21
|
+
[disabled]="disabled"
|
|
22
|
+
[formControlName]="formControlName"
|
|
23
|
+
[(ngModel)]="value"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { KvSelectButtonComponent } from './kv-select-button.component';
|
|
4
|
+
|
|
5
|
+
describe('KvSelectButtonComponent', () => {
|
|
6
|
+
let component: KvSelectButtonComponent;
|
|
7
|
+
let fixture: ComponentFixture<KvSelectButtonComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [KvSelectButtonComponent]
|
|
12
|
+
});
|
|
13
|
+
fixture = TestBed.createComponent(KvSelectButtonComponent);
|
|
14
|
+
component = fixture.componentInstance;
|
|
15
|
+
fixture.detectChanges();
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
it('should create', () => {
|
|
19
|
+
expect(component).toBeTruthy();
|
|
20
|
+
});
|
|
21
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'kv-select-button',
|
|
6
|
+
templateUrl: './kv-select-button.component.html',
|
|
7
|
+
styleUrls: ['./kv-select-button.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class KvSelectButtonComponent {
|
|
10
|
+
@Output() onSelectionChange: EventEmitter<any> = new EventEmitter();
|
|
11
|
+
@Output() optionClick: EventEmitter<any> = new EventEmitter();
|
|
12
|
+
|
|
13
|
+
@Input() formGroup!: FormGroup
|
|
14
|
+
@Input() formControlName!: string
|
|
15
|
+
@Input() options: any[] = []
|
|
16
|
+
@Input() optionLabel!: string;
|
|
17
|
+
@Input() optionValue!: string;
|
|
18
|
+
@Input() mutiple: boolean = false
|
|
19
|
+
@Input() disabled: boolean = false
|
|
20
|
+
|
|
21
|
+
@Input() value: any;
|
|
22
|
+
|
|
23
|
+
selectionChange(event: any) {
|
|
24
|
+
this.onSelectionChange.emit(event);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
onOptionClick(event: any) {
|
|
28
|
+
this.optionClick.emit(event);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<div class="flex flex-1 flex-row justify-content-start">
|
|
2
|
+
<div class="flex p-1 gap-1 border-round select-button-container">
|
|
3
|
+
@for(option of options(); track option.value;) {
|
|
4
|
+
|
|
5
|
+
<button
|
|
6
|
+
[pTooltip]="option.tooltip"
|
|
7
|
+
[tooltipPosition]="option.tooltipPosition || 'top'"
|
|
8
|
+
(click)="select(option)"
|
|
9
|
+
[ngClass]="[
|
|
10
|
+
selection() === option.value ? 'active' : 'inactive',
|
|
11
|
+
'select-button'
|
|
12
|
+
]"
|
|
13
|
+
class=""
|
|
14
|
+
pButton
|
|
15
|
+
pRipple
|
|
16
|
+
>
|
|
17
|
+
@if(option.icon){
|
|
18
|
+
<span class="material-symbols-outlined">
|
|
19
|
+
{{ option.icon}}
|
|
20
|
+
</span>
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
{{ option.label }}
|
|
24
|
+
|
|
25
|
+
</button>
|
|
26
|
+
}
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.select-button {
|
|
2
|
+
border-radius: 4px !important;
|
|
3
|
+
box-shadow: 1px 1px 1px 1px #18346205;
|
|
4
|
+
color: black;
|
|
5
|
+
font-weight: bold;
|
|
6
|
+
border: none;
|
|
7
|
+
gap: 0.25rem;
|
|
8
|
+
padding: 0.5rem !important;
|
|
9
|
+
font-size: 0.8rem !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// para telas menores que 1400px
|
|
13
|
+
@media (max-width: 1400px) {
|
|
14
|
+
.select-button {
|
|
15
|
+
padding: 0.3rem !important;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.active {
|
|
20
|
+
background-color: #002542;
|
|
21
|
+
color: white;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.inactive {
|
|
26
|
+
background-color: #f0f4f9;
|
|
27
|
+
color: #64748b;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
// mudar de cor de forma suave
|
|
30
|
+
transition: background-color 0.3s ease;
|
|
31
|
+
&:hover {
|
|
32
|
+
background-color: #a3a3a336;
|
|
33
|
+
color: #47566b;
|
|
34
|
+
// opacity: 0.8;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.select-button-container {
|
|
39
|
+
background-color: transparent !important;
|
|
40
|
+
color: #0a3a78 !important;
|
|
41
|
+
margin-left: 10px;
|
|
42
|
+
margin-top: 10px;
|
|
43
|
+
// border: 1px solid rgba(10, 58, 120, 0.2) !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.select-button-container .active[_ngcontent-ng-c2721768269] {
|
|
47
|
+
background-color: rgba(10, 58, 120, 0.1) !important;
|
|
48
|
+
color: #0a3a78 !important;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
// transition-duration: 500ms;
|
|
51
|
+
transition-property: background-color, border-color, color;
|
|
52
|
+
transition: all 0.2s ease-in-out;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.select-button-container .inactive[_ngcontent-ng-c2721768269] {
|
|
56
|
+
background-color: #fff;
|
|
57
|
+
color: #212121;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
transition-property: background-color, border-color, color;
|
|
60
|
+
transition: all 0.2s ease-in-out;
|
|
61
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { KvSelectButtonsComponent } from './kv-select-buttons.component';
|
|
4
|
+
|
|
5
|
+
describe('KvSelectButtonsComponent', () => {
|
|
6
|
+
let component: KvSelectButtonsComponent;
|
|
7
|
+
let fixture: ComponentFixture<KvSelectButtonsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [KvSelectButtonsComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(KvSelectButtonsComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, input, OnInit, Output, model } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'kv-select-buttons',
|
|
5
|
+
standalone: false,
|
|
6
|
+
templateUrl: './kv-select-buttons.component.html',
|
|
7
|
+
styleUrl: './kv-select-buttons.component.scss',
|
|
8
|
+
})
|
|
9
|
+
export class KvSelectButtonsComponent<T> implements OnInit {
|
|
10
|
+
options = input<SelectButtonsOption<T>[]>([]);
|
|
11
|
+
selection = model<T>();
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated a favor do selection
|
|
15
|
+
*/
|
|
16
|
+
@Input() defaultValue?: T;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated a favor do selection
|
|
20
|
+
*/
|
|
21
|
+
@Output() selectChange = new EventEmitter<T>();
|
|
22
|
+
|
|
23
|
+
ngOnInit(): void {
|
|
24
|
+
if (this.defaultValue) {
|
|
25
|
+
this.selection.set(this.defaultValue);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
select(value: SelectButtonsOption<T>) {
|
|
30
|
+
this.selection.set(value.value);
|
|
31
|
+
this.selectChange.emit(value.value);
|
|
32
|
+
value.action();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type SelectButtonsOption<T> = {
|
|
37
|
+
label: string;
|
|
38
|
+
icon?: string;
|
|
39
|
+
action: () => void;
|
|
40
|
+
value: T;
|
|
41
|
+
tooltip?: string;
|
|
42
|
+
tooltipPosition?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<div>
|
|
2
|
+
<div class="flex flex-row align-items-end">
|
|
3
|
+
<p-inputSwitch
|
|
4
|
+
[inputId]="componentId"
|
|
5
|
+
[(ngModel)]="value"
|
|
6
|
+
[disabled]="disabled"
|
|
7
|
+
[readonly]="readonly"
|
|
8
|
+
(ngModelChange)="emitOnSwitchChange($event)"
|
|
9
|
+
>
|
|
10
|
+
</p-inputSwitch>
|
|
11
|
+
|
|
12
|
+
@if(label) {
|
|
13
|
+
<label
|
|
14
|
+
[for]="componentId"
|
|
15
|
+
class="label-switch"
|
|
16
|
+
[ngClass]="{'disabled-label': disabled}">{{ label }}</label>
|
|
17
|
+
}
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<kv-error [hasError]="hasControlError()" class="w-screen">{{
|
|
21
|
+
erroMessage()
|
|
22
|
+
}}</kv-error>
|
|
23
|
+
</div>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
::ng-deep .label-switch {
|
|
2
|
+
position: relative;
|
|
3
|
+
bottom: 4px;
|
|
4
|
+
font-size: 0.75rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
::ng-deep .disabled-label {
|
|
8
|
+
opacity: 0.4;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// ::ng-deep .p-inputswitch {
|
|
12
|
+
// scale: 0.6;
|
|
13
|
+
// }
|
|
14
|
+
|
|
15
|
+
::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {
|
|
16
|
+
background: #004172;
|
|
17
|
+
background: rgb(var(--kv-primary-color));
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background: rgba(var(--kv-primary-color), 0.8);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:active {
|
|
24
|
+
background: rgba(var(--kv-primary-color), 0.95);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
::ng-deep .p-disabled {
|
|
29
|
+
opacity: 0.4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
::ng-deep p-inputswitch {
|
|
33
|
+
display: flex;
|
|
34
|
+
scale: 0.6;
|
|
35
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Component,
|
|
3
|
+
EventEmitter,
|
|
4
|
+
Input,
|
|
5
|
+
OnChanges,
|
|
6
|
+
OnInit,
|
|
7
|
+
Output,
|
|
8
|
+
SimpleChanges
|
|
9
|
+
} from '@angular/core';
|
|
10
|
+
|
|
11
|
+
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
|
12
|
+
import { ComponentProviders } from '../../../api/helpers/component-providers';
|
|
13
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
14
|
+
|
|
15
|
+
@Component({
|
|
16
|
+
selector: 'kv-switch',
|
|
17
|
+
templateUrl: './kv-switch.component.html',
|
|
18
|
+
styleUrls: [
|
|
19
|
+
'./kv-switch.component.scss',
|
|
20
|
+
'../../keevo-components-styles.scss'
|
|
21
|
+
],
|
|
22
|
+
providers: ComponentProviders(KvSwitchComponent),
|
|
23
|
+
})
|
|
24
|
+
export class KvSwitchComponent extends BaseComponentInput<boolean> {
|
|
25
|
+
|
|
26
|
+
@Input() readonly!: boolean;
|
|
27
|
+
@Input() switchValue!: boolean;
|
|
28
|
+
|
|
29
|
+
@Output() onSwitchChange: EventEmitter<any> = new EventEmitter();
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
varivelDoMeuComponente: boolean = false;
|
|
33
|
+
|
|
34
|
+
constructor(componentService: ComponentService) {
|
|
35
|
+
super(componentService);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
ngOnChanges(changes: SimpleChanges) {
|
|
39
|
+
if(changes['switchValue']){
|
|
40
|
+
this.value = changes['switchValue'].currentValue;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
override ngOnInit(): void {
|
|
45
|
+
super.ngOnInit();
|
|
46
|
+
if (this.switchValue) this.value = this.switchValue;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
emitOnSwitchChange(event: any) {
|
|
50
|
+
this.onSwitchChange.emit(event);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<span>
|
|
2
|
+
<kv-label
|
|
3
|
+
[componentId]="componentId"
|
|
4
|
+
[label]="label && label + (showAsterisk ? '*' : '')"
|
|
5
|
+
/>
|
|
6
|
+
|
|
7
|
+
<p-treeSelect
|
|
8
|
+
inputId="tree-multi-select"
|
|
9
|
+
[class]="baseInputClass"
|
|
10
|
+
[disabled]="disabled"
|
|
11
|
+
[options]="options"
|
|
12
|
+
[filter]="filter"
|
|
13
|
+
[showClear]="showClear"
|
|
14
|
+
[(ngModel)]="value"
|
|
15
|
+
(onNodeSelect)="selectionChange($event)"
|
|
16
|
+
(onNodeUnselect)="selectionChange($event)"
|
|
17
|
+
(onPanelHide)="panelHide($event)"
|
|
18
|
+
[appendTo]="appendTo"
|
|
19
|
+
[metaKeySelection]="false"
|
|
20
|
+
styleClass="inputs"
|
|
21
|
+
containerStyleClass="inputs"
|
|
22
|
+
selectionMode="checkbox"
|
|
23
|
+
display="chip"
|
|
24
|
+
[propagateSelectionDown]="propagateSelectionDown()"
|
|
25
|
+
[propagateSelectionUp]="propagateSelectionUp()"
|
|
26
|
+
>
|
|
27
|
+
<ng-template let-value pTemplate="value" class="w-full">
|
|
28
|
+
<div
|
|
29
|
+
class="p-multiselect p-multiselect-chip p-multiselect-label w-full flex flex-nowrap"
|
|
30
|
+
>
|
|
31
|
+
<div
|
|
32
|
+
#token
|
|
33
|
+
*ngFor="let chip of chips; let i = index"
|
|
34
|
+
class="p-multiselect-token"
|
|
35
|
+
>
|
|
36
|
+
<span class="p-multiselect-token-label">{{ chip.label }}</span>
|
|
37
|
+
|
|
38
|
+
<TimesCircleIcon
|
|
39
|
+
[styleClass]="'p-multiselect-token-icon'"
|
|
40
|
+
(click)="removerChip(chip, $event)"
|
|
41
|
+
[attr.data-pc-section]="'clearicon'"
|
|
42
|
+
[attr.aria-hidden]="true"
|
|
43
|
+
/>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</ng-template>
|
|
47
|
+
|
|
48
|
+
@for (templateItem of itemTemplates; track $index) {
|
|
49
|
+
<ng-template let-node [pTemplate]="templateItem.type">
|
|
50
|
+
@if(templateItem.template) {
|
|
51
|
+
<ng-container
|
|
52
|
+
[ngTemplateOutlet]="templateItem.template"
|
|
53
|
+
[ngTemplateOutletContext]="{ $implicit: node }"
|
|
54
|
+
>
|
|
55
|
+
</ng-container>
|
|
56
|
+
}
|
|
57
|
+
</ng-template>
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
<ng-template let-node pTemplate="default">
|
|
62
|
+
{{ node.label }}
|
|
63
|
+
</ng-template>
|
|
64
|
+
</p-treeSelect>
|
|
65
|
+
|
|
66
|
+
<kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
|
|
67
|
+
</span>
|
|
68
|
+
<ng-content></ng-content>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
:host ::ng-deep .disable .p-treeselect.p-treeselect-chip .p-treeselect-token .p-icon-wrapper {
|
|
2
|
+
display: none !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
::ng-deep .p-treeselect.p-treeselect-chip .p-treeselect-token {
|
|
6
|
+
padding: 0.1rem 0.4rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
::ng-deep .p-treeselect-label{
|
|
10
|
+
padding: 0rem 0rem;
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
::ng-deep .p-treeselect-item {
|
|
15
|
+
font-size: 0.875rem;
|
|
16
|
+
padding: 0.5rem;
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
::ng-deep .p-treeselect {
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
::ng-deep p-treeselect p-overlay .p-overlay {
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
::ng-deep .p-treeselect-items-wrapper .p-treeselect-items {
|
|
30
|
+
padding: 0.75rem 0.75rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
::ng-deep .p-treeselect-filter {
|
|
34
|
+
height: 1.875rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
::ng-deep .p-treeselect-panel .p-treeselect-items .p-treeselect-empty-message {
|
|
38
|
+
padding: 0.75rem 0.75rem;
|
|
39
|
+
font-size: 0.875rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
::ng-deep .p-treeselect-panel .p-treeselect-header {
|
|
43
|
+
padding: 0.5rem 0.5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/// Estilos para chips
|
|
48
|
+
|
|
49
|
+
:host ::ng-deep .p-chips .p-chips-multiple-container .p-chips-token{
|
|
50
|
+
padding: 0.1rem 0.4rem;
|
|
51
|
+
transform: translate(0px, -3px);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host ::ng-deep .p-chips .p-chips-multiple-container{
|
|
55
|
+
border: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host ::ng-deep .p-chip {
|
|
59
|
+
background: red;
|
|
60
|
+
padding: 0.1rem 0.4rem;
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
margin-right: 0.5rem;
|
|
63
|
+
background: #e5e7eb;
|
|
64
|
+
color: #4b5563;
|
|
65
|
+
border-radius: 16px;
|
|
66
|
+
height: 15px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
::ng-deep .p-multiselect.p-multiselect-chip .p-multiselect-token {
|
|
71
|
+
padding: 0.1rem 0.4rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:host ::ng-deep .p-multiselect.p-multiselect-chip.p-multiselect-label {
|
|
75
|
+
border: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:host ::ng-deep .p-treeselect-label, :host ::ng-deep .p-multiselect-label{
|
|
79
|
+
width: 100%;
|
|
80
|
+
padding: 0.09rem 0.4rem;
|
|
81
|
+
display: flex;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:host ::ng-deep .p-multiselect-token{
|
|
85
|
+
max-width: max-content;
|
|
86
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component, input, Input, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TreeNode } from 'primeng/api';
|
|
3
|
+
import { ComponentProviders } from '../../../api/helpers/component-providers';
|
|
4
|
+
import { BaseComponentMultiSelect } from '../../../api/base-components/base-component-multi-select';
|
|
5
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
6
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
7
|
+
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'kv-tree-multi-select',
|
|
10
|
+
templateUrl: './kv-tree-multi-select.component.html',
|
|
11
|
+
styleUrls: [
|
|
12
|
+
'./kv-tree-multi-select.component.scss',
|
|
13
|
+
'../../keevo-components-styles.scss'
|
|
14
|
+
],
|
|
15
|
+
providers: ComponentProviders(KvTreeMultiSelectComponent),
|
|
16
|
+
|
|
17
|
+
})
|
|
18
|
+
export class KvTreeMultiSelectComponent extends BaseComponentMultiSelect {
|
|
19
|
+
|
|
20
|
+
@Input() appendTo: string = 'body';
|
|
21
|
+
@Input() override options!: TreeNode[];
|
|
22
|
+
@Input() itemTemplates: {template: TemplateRef<any>|null, type:string}[] = [];
|
|
23
|
+
|
|
24
|
+
propagateSelectionDown = input<boolean>(false)
|
|
25
|
+
propagateSelectionUp = input<boolean>(false)
|
|
26
|
+
|
|
27
|
+
protected chips: any[] = [];
|
|
28
|
+
|
|
29
|
+
constructor(componentService: ComponentService, private fb: FormBuilder) {
|
|
30
|
+
super(componentService);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
override selectionChange(value:any){
|
|
34
|
+
super.selectionChange(value)
|
|
35
|
+
this.handleChips()
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private handleChips(){
|
|
39
|
+
this.chips = []
|
|
40
|
+
this.value.forEach((node: TreeNode) => {
|
|
41
|
+
this.adicionarChip({
|
|
42
|
+
label: node.label??'',
|
|
43
|
+
data: node.data
|
|
44
|
+
})
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
private adicionarChip(chip: {label: string, data: any}){
|
|
49
|
+
this.chips = [...this.chips, chip]
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
protected removerChip(chip: any, event: any){
|
|
53
|
+
event.stopPropagation();
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
this.value = this.value.filter((node: TreeNode) => node.data !== chip.data);
|
|
56
|
+
this.handleChips();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
::ng-deep .label-style {
|
|
2
|
+
position: relative;
|
|
3
|
+
// top: 13px;
|
|
4
|
+
left: 1px;
|
|
5
|
+
font-size: 0.75rem !important;
|
|
6
|
+
padding-top: 0rem;
|
|
7
|
+
padding-bottom: 0rem;
|
|
8
|
+
// font-family: 'Inter var', 'Roboto', Arial, Helvetica, sans-serif !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.label-container {
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { KvLabelComponent } from './kv-label.component';
|
|
4
|
+
|
|
5
|
+
describe('LabelComponent', () => {
|
|
6
|
+
let component: KvLabelComponent;
|
|
7
|
+
let fixture: ComponentFixture<KvLabelComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ KvLabelComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(KvLabelComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|