keevo-components 1.8.126 → 1.8.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +7 -0
- package/package.json +30 -43
- package/src/assets/.gitkeep +0 -0
- package/src/assets/images/LogoEvo.png +0 -0
- package/src/assets/images/LogoPequenaEvo.png +0 -0
- package/src/assets/images/background.png +0 -0
- package/src/assets/images/keepass-logo.png +0 -0
- package/src/assets/images/keepass-logo.svg +74 -0
- package/src/assets/images/keevo-logo.png +0 -0
- package/src/assets/images/logokeevo_2.png +0 -0
- package/src/index.ts +1 -0
- package/src/lib/api/base-components/base-component-button.ts +29 -0
- package/src/lib/api/base-components/base-component-chart.ts +105 -0
- package/src/lib/api/base-components/base-component-crud-form.ts +361 -0
- package/src/lib/api/base-components/base-component-crud-list.ts +122 -0
- package/src/lib/api/base-components/base-component-crud.ts +70 -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 +170 -0
- package/src/lib/api/base-components/base-component-input.ts +107 -0
- package/src/lib/api/base-components/base-component-multi-select.ts +136 -0
- package/src/lib/api/base-components/base-component.ts +47 -0
- package/src/lib/api/components/chart/chart.config.ts +12 -0
- package/src/lib/api/components/chart/chart.model.ts +9 -0
- package/src/lib/api/components/chart/orchart.config.ts +41 -0
- package/src/lib/api/components/chart/orchart.item.ts +33 -0
- package/src/lib/api/components/dropdown/filtro.combo.ts +4 -0
- package/src/lib/api/components/table/action-item.ts +11 -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 +27 -0
- package/src/lib/api/components/table/table.config.ts +34 -0
- package/src/lib/api/components/table/table.paginate.ts +6 -0
- package/src/lib/api/components/table/tabledit.config.ts +10 -0
- package/src/lib/api/components/table/tableedit.config.column.ts +12 -0
- package/src/lib/api/components/tree-table/tree-table.config.ts +30 -0
- package/src/lib/api/directives/directives.module.ts +16 -0
- package/src/lib/api/directives/drag/drag.directive.ts +40 -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 +97 -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 +134 -0
- package/src/lib/api/pipes/capitalize.pipe.ts +23 -0
- package/src/lib/api/pipes/cpfcnpj.pipe.ts +21 -0
- package/src/lib/api/pipes/mask.pipe.ts +24 -0
- package/src/lib/api/pipes/pipes.module.ts +26 -0
- package/src/lib/api/pipes/telefone.pipe.ts +38 -0
- package/src/lib/api/services/base.api.service.ts +115 -0
- package/src/lib/api/services/breadcrumbs.service.ts +58 -0
- package/src/lib/api/services/component.service.ts +32 -0
- package/src/lib/api/services/docs.service.ts +129 -0
- package/src/lib/api/services/form.service.ts +115 -0
- package/src/lib/api/services/imagens.service.ts +28 -0
- package/src/lib/api/services/notification.service.ts +85 -0
- package/src/lib/api/services/object.service.ts +33 -0
- package/{lib/api/types/severity.d.ts → src/lib/api/types/severity.ts} +3 -2
- package/src/lib/api/types/stimulsoft.reports.d.ts +67463 -0
- package/src/lib/components/keevo-components-styles.scss +11 -0
- package/src/lib/components/keevo-components.module.ts +72 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.html +12 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.scss +45 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.spec.ts +23 -0
- package/src/lib/components/kv-avatar/kv-avatar.component.ts +72 -0
- package/src/lib/components/kv-avatar/kv-avatar.module.ts +21 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.html +16 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.scss +3 -0
- package/src/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.ts +34 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.html +12 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.scss +31 -0
- package/src/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.ts +40 -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 +14 -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 +13 -0
- package/src/lib/components/kv-buttons/kv-button-success/kv-button-success.component.ts +14 -0
- package/src/lib/components/kv-buttons/kv-button.module.ts +26 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.html +8 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.scss +32 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.spec.ts +23 -0
- package/src/lib/components/kv-carousel/kv-carousel.component.ts +31 -0
- package/src/lib/components/kv-carousel/kv-carousel.module.ts +19 -0
- package/src/lib/components/kv-chart/kv-chart.component.html +38 -0
- package/src/lib/components/kv-chart/kv-chart.component.scss +0 -0
- package/src/lib/components/kv-chart/kv-chart.component.spec.ts +28 -0
- package/src/lib/components/kv-chart/kv-chart.component.ts +153 -0
- package/src/lib/components/kv-chart/kv-chart.module.ts +21 -0
- package/src/lib/components/kv-error/kv-error.component.html +3 -0
- package/src/lib/components/kv-error/kv-error.component.scss +5 -0
- package/src/lib/components/kv-error/kv-error.component.ts +27 -0
- package/src/lib/components/kv-error/kv-error.module.ts +26 -0
- package/src/lib/components/kv-image-upload/kv-image-upload.component.html +62 -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 +82 -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 +13 -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 +91 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +21 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.ts +40 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.html +100 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.scss +8 -0
- package/src/lib/components/kv-inputs/kv-editor/kv-editor.component.ts +113 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.html +30 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.ts +84 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.html +22 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.ts +35 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.html +23 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-number/kv-input-number.component.ts +61 -0
- package/src/lib/components/kv-inputs/kv-input-password/kv-input-password.component.html +23 -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 +22 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.scss +18 -0
- package/src/lib/components/kv-inputs/kv-input-text/kv-input-text.component.ts +27 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.html +35 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.scss +0 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.spec.ts +23 -0
- package/src/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.ts +43 -0
- package/src/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.html +22 -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 +23 -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 +75 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.html +45 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.scss +13 -0
- package/src/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.ts +44 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.html +19 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.scss +15 -0
- package/src/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.ts +59 -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-switch/kv-switch.component.html +13 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.scss +3 -0
- package/src/lib/components/kv-inputs/kv-switch/kv-switch.component.ts +41 -0
- package/src/lib/components/kv-label/kv-label.component.html +6 -0
- package/src/lib/components/kv-label/kv-label.component.scss +9 -0
- package/src/lib/components/kv-label/kv-label.component.spec.ts +23 -0
- package/src/lib/components/kv-label/kv-label.component.ts +14 -0
- package/src/lib/components/kv-label/kv-label.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.component.html +1 -0
- package/src/lib/components/kv-loader/kv-loader.component.ts +15 -0
- package/src/lib/components/kv-loader/kv-loader.module.ts +17 -0
- package/src/lib/components/kv-loader/kv-loader.service.ts +31 -0
- package/src/lib/components/kv-login/kv-login.component.html +108 -0
- package/src/lib/components/kv-login/kv-login.component.scss +76 -0
- package/src/lib/components/kv-login/kv-login.component.spec.ts +23 -0
- package/src/lib/components/kv-login/kv-login.component.ts +81 -0
- package/src/lib/components/kv-login/kv-login.module.ts +33 -0
- package/src/lib/components/kv-menu/kv-menu.component.html +292 -0
- package/src/lib/components/kv-menu/kv-menu.component.scss +214 -0
- package/src/lib/components/kv-menu/kv-menu.component.spec.ts +23 -0
- package/src/lib/components/kv-menu/kv-menu.component.ts +195 -0
- package/src/lib/components/kv-menu/kv-menu.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 +84 -0
- package/src/lib/components/kv-modal/kv-modal.component.spec.ts +21 -0
- package/src/lib/components/kv-modal/kv-modal.component.ts +114 -0
- package/src/lib/components/kv-modal/kv-modal.module.ts +21 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.html +58 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.scss +21 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.component.ts +110 -0
- package/src/lib/components/kv-orgchart/kv-orgchart.module.ts +14 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.html +117 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.scss +76 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.spec.ts +28 -0
- package/src/lib/components/kv-page-form/kv-page-form.component.ts +152 -0
- package/src/lib/components/kv-page-form/kv-page-form.module.ts +31 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.html +19 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.component.scss +0 -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 +37 -0
- package/src/lib/components/kv-pick-list/kv-pick-list.module.ts +21 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.html +38 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.component.scss +110 -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 +79 -0
- package/src/lib/components/kv-progress-bar/kv-progress-bar.module.ts +19 -0
- package/src/lib/components/kv-report/kv-report.component.html +12 -0
- package/src/lib/components/kv-report/kv-report.component.scss +21 -0
- package/src/lib/components/kv-report/kv-report.component.spec.ts +28 -0
- package/src/lib/components/kv-report/kv-report.component.ts +50 -0
- package/src/lib/components/kv-report/kv-report.module.ts +18 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.html +44 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.scss +41 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.spec.ts +23 -0
- package/src/lib/components/kv-stepper/kv-stepper.component.ts +41 -0
- package/src/lib/components/kv-stepper/kv-stepper.module.ts +20 -0
- package/src/lib/components/kv-table/kv-table.component.html +482 -0
- package/src/lib/components/kv-table/kv-table.component.scss +265 -0
- package/src/lib/components/kv-table/kv-table.component.spec.ts +28 -0
- package/src/lib/components/kv-table/kv-table.component.ts +535 -0
- package/src/lib/components/kv-table/kv-table.module.ts +23 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.html +659 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.scss +701 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.component.ts +700 -0
- package/src/lib/components/kv-table-edit/kv-table-edit.module.ts +28 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.html +556 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.component.scss +145 -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 +294 -0
- package/src/lib/components/kv-tree-table/kv-tree-table.module.ts +18 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.html +9 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.scss +0 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.spec.ts +23 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.component.ts +31 -0
- package/src/lib/components/kv-tree-view/kv-tree-view.module.ts +19 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.html +53 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.scss +117 -0
- package/src/lib/components/kv-workspace/kv-workspace.component.ts +201 -0
- package/src/lib/components/kv-workspace/kv-workspace.module.ts +35 -0
- package/{public-api.d.ts → src/public-api.ts} +209 -178
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/keevo-components.mjs +0 -5
- package/esm2022/lib/api/base-components/base-component-button.mjs +0 -39
- package/esm2022/lib/api/base-components/base-component-chart.mjs +0 -92
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +0 -298
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +0 -79
- package/esm2022/lib/api/base-components/base-component-crud.mjs +0 -65
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +0 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +0 -169
- package/esm2022/lib/api/base-components/base-component-input.mjs +0 -94
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +0 -130
- package/esm2022/lib/api/base-components/base-component.mjs +0 -51
- package/esm2022/lib/api/components/chart/chart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchart.config.mjs +0 -2
- package/esm2022/lib/api/components/chart/orchart.item.mjs +0 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +0 -2
- package/esm2022/lib/api/components/table/action-item.mjs +0 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +0 -46
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.column.mjs +0 -2
- package/esm2022/lib/api/components/table/table.config.mjs +0 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +0 -9
- package/esm2022/lib/api/components/table/tabledit.config.mjs +0 -2
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +0 -2
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +0 -3
- package/esm2022/lib/api/directives/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 -82
- package/esm2022/lib/api/helpers/translate-primeng.mjs +0 -23
- package/esm2022/lib/api/modules/primeng.module.mjs +0 -263
- 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 -34
- 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 -57
- package/esm2022/lib/api/services/component.service.mjs +0 -27
- package/esm2022/lib/api/services/docs.service.mjs +0 -129
- package/esm2022/lib/api/services/form.service.mjs +0 -85
- package/esm2022/lib/api/services/imagens.service.mjs +0 -28
- package/esm2022/lib/api/services/notification.service.mjs +0 -67
- package/esm2022/lib/api/services/object.service.mjs +0 -39
- package/esm2022/lib/api/types/severity.mjs +0 -2
- package/esm2022/lib/components/keevo-components.module.mjs +0 -151
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +0 -78
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +0 -32
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +0 -31
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +0 -37
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +0 -17
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +0 -39
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +0 -32
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +0 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +0 -145
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +0 -32
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +0 -26
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +0 -35
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +0 -83
- 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 -26
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +0 -37
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +0 -92
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +0 -89
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +0 -29
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +0 -59
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +0 -33
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +0 -25
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +0 -42
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +0 -43
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +0 -24
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +0 -117
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +0 -44
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +0 -53
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +0 -46
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +0 -34
- 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-loader/kv-loader.component.mjs +0 -17
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +0 -28
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +0 -29
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +0 -52
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +0 -47
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +0 -198
- package/esm2022/lib/components/kv-menu/kv-menu.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 -31
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +0 -100
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +0 -24
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +0 -176
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +0 -38
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +0 -54
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +0 -32
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +0 -58
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +0 -28
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +0 -53
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +0 -24
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +0 -49
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +0 -32
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +0 -494
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +0 -36
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +0 -611
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +0 -41
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +0 -227
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +0 -28
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +0 -30
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +0 -28
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +0 -167
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +0 -51
- package/esm2022/public-api.mjs +0 -182
- package/fesm2022/keevo-components.mjs +0 -6176
- 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 -145
- package/lib/api/base-components/base-component-crud-list.d.ts +0 -64
- 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 -44
- package/lib/api/base-components/base-component-input.d.ts +0 -31
- package/lib/api/base-components/base-component-multi-select.d.ts +0 -35
- package/lib/api/base-components/base-component.d.ts +0 -22
- package/lib/api/components/chart/chart.config.d.ts +0 -11
- package/lib/api/components/chart/chart.model.d.ts +0 -9
- package/lib/api/components/chart/orchart.config.d.ts +0 -35
- package/lib/api/components/chart/orchart.item.d.ts +0 -26
- package/lib/api/components/dropdown/filtro.combo.d.ts +0 -4
- package/lib/api/components/table/action-item.d.ts +0 -11
- 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 -25
- package/lib/api/components/table/table.config.d.ts +0 -31
- package/lib/api/components/table/table.paginate.d.ts +0 -6
- package/lib/api/components/table/tabledit.config.d.ts +0 -8
- package/lib/api/components/table/tableedit.config.column.d.ts +0 -10
- package/lib/api/components/tree-table/tree-table.config.d.ts +0 -28
- package/lib/api/directives/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 -12
- package/lib/api/helpers/translate-primeng.d.ts +0 -4
- package/lib/api/modules/primeng.module.d.ts +0 -64
- 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 -10
- 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 -15
- 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 -28
- package/lib/api/services/imagens.service.d.ts +0 -10
- package/lib/api/services/notification.service.d.ts +0 -25
- package/lib/api/services/object.service.d.ts +0 -9
- package/lib/components/keevo-components.module.d.ts +0 -26
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +0 -22
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +0 -10
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +0 -13
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +0 -15
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +0 -7
- package/lib/components/kv-buttons/kv-button.module.d.ts +0 -11
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +0 -14
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +0 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +0 -56
- package/lib/components/kv-chart/kv-chart.module.d.ts +0 -10
- package/lib/components/kv-error/kv-error.component.d.ts +0 -12
- package/lib/components/kv-error/kv-error.module.d.ts +0 -10
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +0 -24
- 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 -11
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +0 -14
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +0 -21
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +0 -27
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +0 -12
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +0 -13
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +0 -10
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +0 -16
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +0 -10
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +0 -27
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +0 -15
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +0 -18
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +0 -19
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +0 -14
- 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-loader/kv-loader.component.d.ts +0 -8
- package/lib/components/kv-loader/kv-loader.module.d.ts +0 -9
- package/lib/components/kv-loader/kv-loader.service.d.ts +0 -10
- package/lib/components/kv-login/kv-login.component.d.ts +0 -30
- package/lib/components/kv-login/kv-login.module.d.ts +0 -13
- package/lib/components/kv-menu/kv-menu.component.d.ts +0 -59
- package/lib/components/kv-menu/kv-menu.module.d.ts +0 -13
- package/lib/components/kv-modal/kv-modal.component.d.ts +0 -28
- package/lib/components/kv-modal/kv-modal.module.d.ts +0 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +0 -27
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +0 -9
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +0 -87
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +0 -11
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +0 -22
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +0 -10
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +0 -67
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +0 -9
- package/lib/components/kv-report/kv-report.component.d.ts +0 -20
- package/lib/components/kv-report/kv-report.module.d.ts +0 -8
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +0 -21
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +0 -10
- package/lib/components/kv-table/kv-table.component.d.ts +0 -111
- package/lib/components/kv-table/kv-table.module.d.ts +0 -11
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +0 -126
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +0 -14
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +0 -53
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +0 -9
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +0 -14
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +0 -9
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +0 -65
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +0 -14
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
<div class="card" id="tamanhotabela" [style.font-size]="'1px'">
|
|
2
|
+
<p-toast></p-toast>
|
|
3
|
+
|
|
4
|
+
<p-panel
|
|
5
|
+
*ngIf="filtrosAvancados"
|
|
6
|
+
header="Filtros avançados"
|
|
7
|
+
[toggleable]="true"
|
|
8
|
+
[collapsed]="true"
|
|
9
|
+
(collapsedChange)="collapsed = !collapsed"
|
|
10
|
+
[style]="{ 'margin-bottom': '2px' }"
|
|
11
|
+
>
|
|
12
|
+
<ng-template pTemplate="headericons">
|
|
13
|
+
<i
|
|
14
|
+
*ngIf="!collapsed"
|
|
15
|
+
class="pi pi-filter"
|
|
16
|
+
></i>
|
|
17
|
+
<!-- Ícone quando o painel está aberto -->
|
|
18
|
+
<i
|
|
19
|
+
*ngIf="collapsed"
|
|
20
|
+
class="pi pi-minus"
|
|
21
|
+
></i>
|
|
22
|
+
<!-- Ícone quando o painel está fechado -->
|
|
23
|
+
</ng-template>
|
|
24
|
+
<ng-content></ng-content>
|
|
25
|
+
</p-panel>
|
|
26
|
+
|
|
27
|
+
<p-contextMenu #cm [model]="items"></p-contextMenu>
|
|
28
|
+
<p-table
|
|
29
|
+
#te
|
|
30
|
+
|
|
31
|
+
[editMode]="editMode"
|
|
32
|
+
(onEditComplete)="onEditComplete($event)"
|
|
33
|
+
(onEditInit)="onEditInit($event)"
|
|
34
|
+
[reorderableColumns]="config.reorderableColumns || false"
|
|
35
|
+
*ngIf="config"
|
|
36
|
+
[value]="dataSource"
|
|
37
|
+
[dataKey]="config.dataKey"
|
|
38
|
+
[columns]="config.columns"
|
|
39
|
+
[scrollable]="true"
|
|
40
|
+
appendTo="body"
|
|
41
|
+
[styleClass]="selectedSize.class"
|
|
42
|
+
[(selection)]="selectedItems"
|
|
43
|
+
[rowSelectable]="isRowSelectable"
|
|
44
|
+
[globalFilterFields]="globalFilterFields"
|
|
45
|
+
[rows]="rows"
|
|
46
|
+
[paginator]="paginator"
|
|
47
|
+
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
48
|
+
[showCurrentPageReport]="true"
|
|
49
|
+
currentPageReportTemplate="{first} - {last} de {{ totalRecords }}"
|
|
50
|
+
(selectionChange)="selectionChange($event)"
|
|
51
|
+
[rowHover]="true"
|
|
52
|
+
[totalRecords]="totalRecords"
|
|
53
|
+
[lazy]="config.lazy"
|
|
54
|
+
(onLazyLoad)="paginate($event)"
|
|
55
|
+
[groupRowsBy]="config.fieldGroup"
|
|
56
|
+
paginatorDropdownAppendTo="body"
|
|
57
|
+
[showFirstLastIcon]="showFirstLastIcon"
|
|
58
|
+
[pageLinks]="pageLinksOptions"
|
|
59
|
+
[scrollable]="isTableScrollable"
|
|
60
|
+
[scrollHeight]="scrollHeight"
|
|
61
|
+
[rowTrackBy]="rowTrackBy "
|
|
62
|
+
[(contextMenuSelection)]="selectedProduct"
|
|
63
|
+
[contextMenu]=" isEditableTable() ? cm : null"
|
|
64
|
+
>
|
|
65
|
+
|
|
66
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
67
|
+
|
|
68
|
+
<ng-template
|
|
69
|
+
pTemplate="caption"
|
|
70
|
+
*ngIf="config.enableCation || enableSizes"
|
|
71
|
+
>
|
|
72
|
+
<div class="flex flex-row flex-wrap justify-content-between align-items-center grid formgrid p-fluid col-12">
|
|
73
|
+
<div class="col-12 flex flex-column">
|
|
74
|
+
<div
|
|
75
|
+
*ngIf="config.title"
|
|
76
|
+
class="text-md font-bold my-3"
|
|
77
|
+
>
|
|
78
|
+
{{ config.title }}
|
|
79
|
+
</div>
|
|
80
|
+
<div
|
|
81
|
+
*ngIf="config.subtitle"
|
|
82
|
+
class="text-sm mb-4 font-medium"
|
|
83
|
+
>
|
|
84
|
+
{{ config.subtitle }}
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
<div class="flex flex-row align-items-center md:col-6 lg:col-4 {{
|
|
89
|
+
tamanhoTela < 768 ? 'col-10' : 'col-12'
|
|
90
|
+
}} mt-1 mb-2 ">
|
|
91
|
+
<span
|
|
92
|
+
*ngIf="config.enableFilter"
|
|
93
|
+
class="p-input-icon-left"
|
|
94
|
+
>
|
|
95
|
+
<i class="pi pi-search"></i>
|
|
96
|
+
|
|
97
|
+
<input
|
|
98
|
+
pInputText
|
|
99
|
+
pAutoFocus
|
|
100
|
+
[autofocus]="true"
|
|
101
|
+
type="text"
|
|
102
|
+
(input)="onGlobalFilter(te, $event)"
|
|
103
|
+
placeholder="Pesquisar..."
|
|
104
|
+
class="h-2rem"
|
|
105
|
+
/>
|
|
106
|
+
</span>
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
<!-- FIXME: Opção 1 -->
|
|
110
|
+
<!-- <div class="sizes-controls ml-2" *ngIf="isShowSizes">
|
|
111
|
+
<p-selectButton
|
|
112
|
+
[options]="sizes"
|
|
113
|
+
[(ngModel)]="selectedSize"
|
|
114
|
+
[style]="{'display': 'flex'}"
|
|
115
|
+
optionLabel="name"
|
|
116
|
+
/>
|
|
117
|
+
</div>
|
|
118
|
+
<button
|
|
119
|
+
id="btn-sizes"
|
|
120
|
+
pButton
|
|
121
|
+
[pTooltip]="isShowSizes ? 'Esconder controles de tamanho' : 'Mostrar controles de tamanho'"
|
|
122
|
+
class="actionLoteBtns p-button-raised p-button-text"
|
|
123
|
+
(click)="isShowSizes = !isShowSizes"
|
|
124
|
+
>
|
|
125
|
+
<span style="font-size: 0.8rem;" class="flex align-items-end">
|
|
126
|
+
<span style="font-size: 0.7rem;">
|
|
127
|
+
A
|
|
128
|
+
</span>
|
|
129
|
+
A
|
|
130
|
+
</span>
|
|
131
|
+
</button> -->
|
|
132
|
+
|
|
133
|
+
<!-- FIXME: Opção 2 -->
|
|
134
|
+
<div *ngIf="enableSizes" class="sizes-controls ml-2" >
|
|
135
|
+
<p-splitButton
|
|
136
|
+
label="aA"
|
|
137
|
+
[model]="sizes"
|
|
138
|
+
styleClass="teste"
|
|
139
|
+
[menuStyle]="{'font-size': '0.7rem'}"
|
|
140
|
+
|
|
141
|
+
ngModel
|
|
142
|
+
>
|
|
143
|
+
</p-splitButton>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<!-- FIXME: Opção 3 -->
|
|
147
|
+
<!-- <div class="sizes-controls ml-2" style="transform: translate(0px, -15px);" >
|
|
148
|
+
<p-speedDial
|
|
149
|
+
[model]="sizes"
|
|
150
|
+
showIcon="format_size"
|
|
151
|
+
hideIcon="format_size"
|
|
152
|
+
radius="120"
|
|
153
|
+
direction="down-right"
|
|
154
|
+
type="quarter-circle"
|
|
155
|
+
buttonClassName="item-circle"
|
|
156
|
+
>
|
|
157
|
+
|
|
158
|
+
<ng-template pTemplate="button">
|
|
159
|
+
<span class="material-symbols-outlined">
|
|
160
|
+
format_size
|
|
161
|
+
</span>
|
|
162
|
+
</ng-template>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<ng-template let-item pTemplate="item">
|
|
166
|
+
<div class="item-circle">
|
|
167
|
+
{{item.label}}
|
|
168
|
+
</div>
|
|
169
|
+
</ng-template>
|
|
170
|
+
|
|
171
|
+
</p-speedDial>
|
|
172
|
+
</div> -->
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<span *ngIf="isEditing" class="text-aviso">
|
|
178
|
+
|
|
179
|
+
Tabela em modo de edição
|
|
180
|
+
|
|
181
|
+
</span>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<div class="flex flex-row col-1 justify-content-end">
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<div
|
|
188
|
+
*ngFor="let action of config.actionsLote"
|
|
189
|
+
class="btns-options"
|
|
190
|
+
[style]="{ 'margin-right': '7px' }"
|
|
191
|
+
>
|
|
192
|
+
<button
|
|
193
|
+
id="actionLoteBtns"
|
|
194
|
+
pButton
|
|
195
|
+
*ngIf="
|
|
196
|
+
!isEditing &&
|
|
197
|
+
(selectedItems.length > 0 || action.showAcoesLote) &&
|
|
198
|
+
exibirCampo(action, this.action)
|
|
199
|
+
"
|
|
200
|
+
class="actionLoteBtns p-button-raised p-button-text"
|
|
201
|
+
style="background-color: #1DA750"
|
|
202
|
+
(click)="
|
|
203
|
+
action?.command(); activeItemLote(selectedItems)
|
|
204
|
+
"
|
|
205
|
+
[pTooltip]="getOrExecute(action.tooltip, selectedItems)"
|
|
206
|
+
[tooltipPosition]="'bottom'"
|
|
207
|
+
[disabled]="getOrExecute(action.disabled, selectedItems)"
|
|
208
|
+
>
|
|
209
|
+
<span
|
|
210
|
+
class="material-symbols-outlined md-22" style="color: white"
|
|
211
|
+
>
|
|
212
|
+
{{ getOrExecute(action.icon, selectedItems) }}
|
|
213
|
+
</span>
|
|
214
|
+
</button>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<div *ngIf="isEditableTable()" class="btns-options"
|
|
218
|
+
[style]="{ 'margin-right': '7px' }"
|
|
219
|
+
>
|
|
220
|
+
<button
|
|
221
|
+
(click)="this.isEditing = !this.isEditing"
|
|
222
|
+
id="actionLoteBtns"
|
|
223
|
+
pButton
|
|
224
|
+
class="actionLoteBtns p-button-raised p-button-text"
|
|
225
|
+
>
|
|
226
|
+
<span class="material-symbols-outlined">
|
|
227
|
+
edit_square
|
|
228
|
+
</span>
|
|
229
|
+
</button>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
</div>
|
|
235
|
+
</ng-template>
|
|
236
|
+
|
|
237
|
+
<ng-template
|
|
238
|
+
pTemplate="header"
|
|
239
|
+
let-columns
|
|
240
|
+
>
|
|
241
|
+
<tr>
|
|
242
|
+
<th
|
|
243
|
+
style="width: 4rem; border-left: solid 4px transparent"
|
|
244
|
+
*ngIf="config.enableSelect && !isEditing"
|
|
245
|
+
[class]="selectedSize.class+'th'"
|
|
246
|
+
>
|
|
247
|
+
<p-tableHeaderCheckbox (click)="activeItemLote(selectedItems)"></p-tableHeaderCheckbox>
|
|
248
|
+
</th>
|
|
249
|
+
|
|
250
|
+
<th
|
|
251
|
+
*ngFor="let col of columns"
|
|
252
|
+
[pSortableColumn]="col.field"
|
|
253
|
+
[pSortableColumnDisabled]="col.sortable === false"
|
|
254
|
+
[style.min-width]="col.width * selectedSize.size + 'px'"
|
|
255
|
+
pReorderableColumn
|
|
256
|
+
[class]="selectedSize.class+'th'"
|
|
257
|
+
>
|
|
258
|
+
<div
|
|
259
|
+
[class]="
|
|
260
|
+
centralizarColunas(col) && alignColunasHeader(col) == ''
|
|
261
|
+
? 'flex flex-row justify-content-center'
|
|
262
|
+
: 'flex flex-row'
|
|
263
|
+
"
|
|
264
|
+
[style]="alignColunasHeader(col)"
|
|
265
|
+
>
|
|
266
|
+
<span>{{ col.header }}</span>
|
|
267
|
+
<p-sortIcon
|
|
268
|
+
*ngIf="col.sortable === true"
|
|
269
|
+
[field]="col.field"
|
|
270
|
+
style="font-size: 10px"
|
|
271
|
+
></p-sortIcon>
|
|
272
|
+
|
|
273
|
+
<span
|
|
274
|
+
*ngIf="col.headerTooltip"
|
|
275
|
+
class="material-symbols-outlined flex align-items-center"
|
|
276
|
+
[pTooltip]="col.headerTooltip"
|
|
277
|
+
>info</span>
|
|
278
|
+
</div>
|
|
279
|
+
</th>
|
|
280
|
+
<th *ngIf="!isEditing && config.actions && config.actions.length > 0"></th>
|
|
281
|
+
<th *ngIf="isEditableTable() && this.editMode == 'row'" id="th-edit" style="width: 20px">Editar</th>
|
|
282
|
+
</tr>
|
|
283
|
+
</ng-template>
|
|
284
|
+
|
|
285
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
286
|
+
|
|
287
|
+
<ng-template pTemplate="body" let-rowData let-editing="editing" let-ri="rowIndex" let-columns="columns"
|
|
288
|
+
let-rowgroup="rowgroup" let-rowspan="rowspan">
|
|
289
|
+
<tr [pEditableRow]="rowData" [pEditableRowDisabled]="false"
|
|
290
|
+
[pContextMenuRow]="{rowData, editing}"
|
|
291
|
+
[class]="selectedSize.class+'-tr'"
|
|
292
|
+
>
|
|
293
|
+
|
|
294
|
+
<td
|
|
295
|
+
|
|
296
|
+
*ngIf="config.enableSelect && !isEditing"
|
|
297
|
+
[style]="applyStyle(rowData, { field: 'check-box', header: '' })"
|
|
298
|
+
>
|
|
299
|
+
<!--<p-tableCheckbox *ngIf="isVisibleCheckbox(rowData)"-->
|
|
300
|
+
<p-tableCheckbox
|
|
301
|
+
class="check-edit-list"
|
|
302
|
+
[value]="rowData"
|
|
303
|
+
[disabled]="isDisabledCheckbox(rowData)"
|
|
304
|
+
(click)="activeItemLote(selectedItems)"
|
|
305
|
+
></p-tableCheckbox>
|
|
306
|
+
</td>
|
|
307
|
+
|
|
308
|
+
<ng-container *ngFor="let col of columns; let i = index">
|
|
309
|
+
|
|
310
|
+
<!-- FIXME: Testar a implementação abaixo e mesaclar as duas formas -->
|
|
311
|
+
|
|
312
|
+
<ng-template #templateInput let-rowData="rowData" let-col="col">
|
|
313
|
+
<ng-container *ngIf="isEditing; else templatevisualedicao">
|
|
314
|
+
<ng-container [ngSwitch]="col.fieldControlType">
|
|
315
|
+
|
|
316
|
+
<ng-container *ngSwitchCase="'text'">
|
|
317
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
318
|
+
<kv-input-text [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" [required]="col.required ?? true"></kv-input-text>
|
|
319
|
+
</div>
|
|
320
|
+
</ng-container>
|
|
321
|
+
|
|
322
|
+
<ng-container *ngSwitchCase="'number'">
|
|
323
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
324
|
+
<kv-input-number [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" [required]="col.required ?? true"></kv-input-number>
|
|
325
|
+
</div>
|
|
326
|
+
</ng-container>
|
|
327
|
+
|
|
328
|
+
<ng-container *ngSwitchCase="'mask'">
|
|
329
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
330
|
+
<kv-input-mask [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [mask]="col.mask" [required]="col.required ?? true" [(ngModel)]="rowData[col.field]"></kv-input-mask>
|
|
331
|
+
</div>
|
|
332
|
+
</ng-container>
|
|
333
|
+
|
|
334
|
+
<ng-container *ngSwitchCase="'switch'">
|
|
335
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
336
|
+
<kv-switch [disabled]="isDisableEditRowCellFunction(rowData, col)" class="cellControl col" [(ngModel)]="rowData[col.field]" ></kv-switch>
|
|
337
|
+
</div>
|
|
338
|
+
</ng-container>
|
|
339
|
+
|
|
340
|
+
<ng-container *ngSwitchCase="'calendar'">
|
|
341
|
+
<div [style.width]="col.width">
|
|
342
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
343
|
+
<kv-input-calendar class="cellControl col" [(ngModel)]="rowData[col.field]"></kv-input-calendar>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
</ng-container>
|
|
347
|
+
<ng-container *ngSwitchCase="'dropdown'">
|
|
348
|
+
<div [style.width]="col.width" class="grid formgrid p-fluid" >
|
|
349
|
+
<p-dropdown
|
|
350
|
+
[disabled]="isDisableEditRowCellFunction(rowData, col)"
|
|
351
|
+
class="cellControl col"
|
|
352
|
+
appendTo="body"
|
|
353
|
+
[panelStyle]="{'font-size': '0.75rem'}"
|
|
354
|
+
[optionLabel]="col.fieldDropDownControl.descricaoobjeto"
|
|
355
|
+
[optionValue]="col.fieldDropDownControl.idobjeto"
|
|
356
|
+
[options]="col.fieldDropDownControl.fieldControlDropdownSource"
|
|
357
|
+
[(ngModel)]="rowData[col.field]"
|
|
358
|
+
>
|
|
359
|
+
</p-dropdown>
|
|
360
|
+
</div>
|
|
361
|
+
</ng-container>
|
|
362
|
+
</ng-container>
|
|
363
|
+
</ng-container>
|
|
364
|
+
|
|
365
|
+
<ng-template #templatevisualedicao>
|
|
366
|
+
<ng-container *ngTemplateOutlet="templateOutput; context: { rowData: rowData, col: col }"></ng-container>
|
|
367
|
+
</ng-template>
|
|
368
|
+
</ng-template>
|
|
369
|
+
|
|
370
|
+
<ng-template #templateOutput let-rowData="rowData" let-col="col">
|
|
371
|
+
<ng-container [ngSwitch]="col.fieldControlType">
|
|
372
|
+
<ng-container *ngSwitchCase="'dropdown'">
|
|
373
|
+
<ng-container *ngIf="rowData[col.field]">
|
|
374
|
+
{{
|
|
375
|
+
retornaDescricaoDrop(
|
|
376
|
+
rowData,
|
|
377
|
+
col
|
|
378
|
+
)
|
|
379
|
+
}}
|
|
380
|
+
<!-- {{rowData[col.field]}} -->
|
|
381
|
+
</ng-container>
|
|
382
|
+
</ng-container>
|
|
383
|
+
|
|
384
|
+
<ng-container *ngSwitchCase="'switch'">
|
|
385
|
+
<kv-switch [(ngModel)]="rowData[col.field]" [disabled]="true"></kv-switch>
|
|
386
|
+
</ng-container>
|
|
387
|
+
|
|
388
|
+
<ng-container *ngSwitchCase="'calendar'">
|
|
389
|
+
{{ rowData[col.field] | date }}
|
|
390
|
+
</ng-container>
|
|
391
|
+
|
|
392
|
+
<ng-container *ngSwitchCase="'mask'">
|
|
393
|
+
{{ rowData[col.field] | mask:col.mask }}
|
|
394
|
+
</ng-container>
|
|
395
|
+
|
|
396
|
+
<ng-container *ngSwitchDefault>
|
|
397
|
+
{{ rowData[col.field] }}
|
|
398
|
+
</ng-container>
|
|
399
|
+
|
|
400
|
+
</ng-container>
|
|
401
|
+
</ng-template>
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
<td
|
|
406
|
+
*ngIf="editMode == 'cell' && col.fieldControlType"
|
|
407
|
+
[pEditableColumn]="rowData"
|
|
408
|
+
[pEditableColumnField]="col.field"
|
|
409
|
+
[pEditableColumnRowIndex]="rowData[config.dataKey]"
|
|
410
|
+
[id]="'rowTable'+ rowData[config.dataKey]"
|
|
411
|
+
(click)="activeItem(rowData)"
|
|
412
|
+
(dblclick)="dbClickEdit()"
|
|
413
|
+
class="rowTable" [style]="
|
|
414
|
+
applyStyle(rowData, col) +
|
|
415
|
+
centralizarColunas(col) +
|
|
416
|
+
alignColunas(col) "
|
|
417
|
+
[pTooltip]="returnTooltipRow(rowData, col)"
|
|
418
|
+
|
|
419
|
+
>
|
|
420
|
+
<p-cellEditor>
|
|
421
|
+
|
|
422
|
+
<ng-container >
|
|
423
|
+
|
|
424
|
+
<ng-template pTemplate="input">
|
|
425
|
+
<ng-container *ngTemplateOutlet="templateInput; context: { rowData: rowData, col: col }"></ng-container>
|
|
426
|
+
</ng-template>
|
|
427
|
+
|
|
428
|
+
<ng-template pTemplate="output">
|
|
429
|
+
<ng-container *ngTemplateOutlet="templateOutput; context: { rowData: rowData, col: col }"></ng-container>
|
|
430
|
+
</ng-template>
|
|
431
|
+
|
|
432
|
+
</ng-container>
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
<!-- <ng-template *ngIf="!isEditing" pTemplate="input">
|
|
438
|
+
<ng-container *ngTemplateOutlet="templateInput; context: { rowData: rowData, col: col }"></ng-container>
|
|
439
|
+
</ng-template>
|
|
440
|
+
|
|
441
|
+
<ng-template *ngIf="isEditing" pTemplate="output">
|
|
442
|
+
<ng-container *ngTemplateOutlet="templateOutput; context: { rowData: rowData, col: col }"></ng-container>
|
|
443
|
+
</ng-template> -->
|
|
444
|
+
|
|
445
|
+
</p-cellEditor>
|
|
446
|
+
</td>
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
<!-- NOTE: Edição de linha -->
|
|
450
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
451
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
452
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
453
|
+
|
|
454
|
+
<!-- Celula que armazena os controles de edição para os campos -->
|
|
455
|
+
<td *ngIf="false && col.fieldControlType && editMode == 'row'"
|
|
456
|
+
[id]="'rowTable'+ rowData[config.dataKey]"
|
|
457
|
+
(click)="activeItem(rowData)"
|
|
458
|
+
(dblclick)="dbClickEdit()"
|
|
459
|
+
class="rowTable" [style]="
|
|
460
|
+
applyStyle(rowData, col) +
|
|
461
|
+
centralizarColunas(col) +
|
|
462
|
+
alignColunas(col)"
|
|
463
|
+
[pTooltip]="returnTooltipRow(rowData, col)"
|
|
464
|
+
>
|
|
465
|
+
<p-cellEditor [ngClass]="{'switch': col.fieldControlType == 'switch'}">
|
|
466
|
+
|
|
467
|
+
<ng-template pTemplate="input">
|
|
468
|
+
<ng-container *ngTemplateOutlet="templateInput; context: { rowData: rowData, col: col }"></ng-container>
|
|
469
|
+
</ng-template>
|
|
470
|
+
|
|
471
|
+
<ng-template pTemplate="output">
|
|
472
|
+
<ng-container *ngTemplateOutlet="templateOutput; context: { rowData: rowData, col: col }"></ng-container>
|
|
473
|
+
</ng-template>
|
|
474
|
+
|
|
475
|
+
</p-cellEditor>
|
|
476
|
+
</td>
|
|
477
|
+
|
|
478
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
479
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
480
|
+
<!-- ----------------------------------------------------------------------------------------------------------------------------------- -->
|
|
481
|
+
|
|
482
|
+
<td *ngIf="rowgroup && !col.template " [attr.rowspan]="rowgroup && col.grouped ? rowspan : null"
|
|
483
|
+
class="rowTable" [style]="
|
|
484
|
+
applyStyle(rowData, col) +
|
|
485
|
+
centralizarColunas(col) +
|
|
486
|
+
alignColunas(col)
|
|
487
|
+
" [pTooltip]="returnTooltipRow(rowData, col)">
|
|
488
|
+
<span class="p-column-title">{{ col.header }}:</span>
|
|
489
|
+
|
|
490
|
+
<span *ngIf="!isBooleanField(rowData, col); else booleanField" [class]="returnRowClass(rowData, col)">
|
|
491
|
+
<span *ngIf="
|
|
492
|
+
!isChipField(col) && !col.iconField && !isImageField(col)
|
|
493
|
+
">
|
|
494
|
+
<i *ngIf="col.icon" [class]="col.icon + ' mr-2'"></i>
|
|
495
|
+
{{ transformValue(rowData, col) }}
|
|
496
|
+
</span>
|
|
497
|
+
|
|
498
|
+
<div *ngIf="isChipField(col) && !col.iconField">
|
|
499
|
+
<span [class]="returnClassChip(rowData, col)" [pTooltip]="returnTooltipIcon(rowData, col)">{{
|
|
500
|
+
transformValue(rowData, col) }}</span>
|
|
501
|
+
</div>
|
|
502
|
+
</span>
|
|
503
|
+
|
|
504
|
+
<span *ngIf="isImageField(col)">
|
|
505
|
+
<span>
|
|
506
|
+
<img class="image" [src]="loadImage(rowData, col)" />
|
|
507
|
+
</span>
|
|
508
|
+
</span>
|
|
509
|
+
|
|
510
|
+
<i *ngIf="col.iconField" [ngClass]="{
|
|
511
|
+
'material-icons': col.indIconMaterial,
|
|
512
|
+
'material-symbols-outlined mr-2': !col.indIconMaterial
|
|
513
|
+
}" [pTooltip]="returnTooltipIcon(rowData, col)">
|
|
514
|
+
{{ returnClassIcon(rowData, col) }}
|
|
515
|
+
</i>
|
|
516
|
+
|
|
517
|
+
<ng-template #booleanField>
|
|
518
|
+
<i *ngIf="!col.iconField && !isSwitchField(col)" [ngClass]="
|
|
519
|
+
rowData[col.field] ? 'text-green-500' : 'text-red-500'
|
|
520
|
+
"><span class="material-symbols-outlined">
|
|
521
|
+
{{ rowData[col.field] ? "check" : "close" }}
|
|
522
|
+
</span>
|
|
523
|
+
</i>
|
|
524
|
+
|
|
525
|
+
<span *ngIf="isSwitchField(col)" [class]="returnRowClass(rowData, col)">
|
|
526
|
+
<kv-switch (onSwitchChange)="onSwitchChange($event, rowData, col)"
|
|
527
|
+
[disabled]="col?.onlyReadField ?? true" [switchValue]="transformValue(rowData, col)">
|
|
528
|
+
</kv-switch>
|
|
529
|
+
</span>
|
|
530
|
+
</ng-template>
|
|
531
|
+
</td>
|
|
532
|
+
|
|
533
|
+
<td *ngIf="!rowgroup && !col.grouped && !col.template && !col.fieldControlType" [style]="
|
|
534
|
+
applyStyle(rowData, col) +
|
|
535
|
+
centralizarColunas(col) +
|
|
536
|
+
alignColunas(col)
|
|
537
|
+
" class="rowTable" [pTooltip]="returnTooltipRow(rowData, col)">
|
|
538
|
+
<span class="p-column-title">{{ col.header }}:</span>
|
|
539
|
+
|
|
540
|
+
<span *ngIf="!isBooleanField(rowData, col); else booleanField" [class]="returnRowClass(rowData, col)">
|
|
541
|
+
<span *ngIf="
|
|
542
|
+
!isChipField(col) && !col.iconField && !isImageField(col)
|
|
543
|
+
">
|
|
544
|
+
<i *ngIf="col.icon" [class]="col.icon + ' mr-2'"></i>
|
|
545
|
+
{{ transformValue(rowData, col) }}
|
|
546
|
+
</span>
|
|
547
|
+
|
|
548
|
+
<div *ngIf="isChipField(col) && !col.iconField">
|
|
549
|
+
<span [class]="returnClassChip(rowData, col)" [pTooltip]="returnTooltipIcon(rowData, col)">
|
|
550
|
+
{{ transformValue(rowData, col) }}</span>
|
|
551
|
+
</div>
|
|
552
|
+
</span>
|
|
553
|
+
|
|
554
|
+
<span *ngIf="isImageField(col)">
|
|
555
|
+
<span>
|
|
556
|
+
<img class="image" [src]="loadImage(rowData, col)" />
|
|
557
|
+
</span>
|
|
558
|
+
</span>
|
|
559
|
+
|
|
560
|
+
<i *ngIf="col.iconField" [ngClass]="{
|
|
561
|
+
'material-icons': col.indIconMaterial,
|
|
562
|
+
'material-symbols-outlined mr-2': !col.indIconMaterial
|
|
563
|
+
}" [pTooltip]="returnTooltipIcon(rowData, col)">
|
|
564
|
+
{{ returnClassIcon(rowData, col) }}
|
|
565
|
+
</i>
|
|
566
|
+
|
|
567
|
+
<ng-template #booleanField>
|
|
568
|
+
<i *ngIf="!col.iconField && !isSwitchField(col)" [ngClass]="
|
|
569
|
+
rowData[col.field] ? 'text-green-500' : 'text-red-500'
|
|
570
|
+
"><span class="material-symbols-outlined">
|
|
571
|
+
{{ rowData[col.field] ? "check" : "close" }}
|
|
572
|
+
</span>
|
|
573
|
+
</i>
|
|
574
|
+
|
|
575
|
+
<span *ngIf="isSwitchField(col)" [class]="returnRowClass(rowData, col)">
|
|
576
|
+
<kv-switch (onSwitchChange)="onSwitchChange($event, rowData, col)"
|
|
577
|
+
[disabled]="col?.onlyReadField ?? true" [switchValue]="transformValue(rowData, col)">
|
|
578
|
+
</kv-switch>
|
|
579
|
+
</span>
|
|
580
|
+
</ng-template>
|
|
581
|
+
</td>
|
|
582
|
+
|
|
583
|
+
<td *ngIf="col.template && !isEditableTable()" [style]="
|
|
584
|
+
applyStyle(rowData, col) +
|
|
585
|
+
centralizarColunas(col) +
|
|
586
|
+
alignColunas(col)
|
|
587
|
+
" class="rowTable">
|
|
588
|
+
<span class="p-column-title">{{ col.header }}:</span>
|
|
589
|
+
<ng-container *ngIf="getCustomTemplate(col.template.name)"
|
|
590
|
+
[ngTemplateOutlet]="getCustomTemplate(col.template.name)"
|
|
591
|
+
[ngTemplateOutletContext]="{ $implicit: rowData }">
|
|
592
|
+
</ng-container>
|
|
593
|
+
</td>
|
|
594
|
+
|
|
595
|
+
</ng-container>
|
|
596
|
+
|
|
597
|
+
<!-- ------------------------------------------------------------------------------------------------------------------------------------------- -->
|
|
598
|
+
<!-- Controle de ação -->
|
|
599
|
+
<td [ngClass]="{'td-tools': isEditableTable() && this.editMode == 'row' , 'td-tools-sticky': !isEditableTable() || this.editMode == 'cell' }"
|
|
600
|
+
*ngIf="!isEditing && config.actions && config.actions.length > 0 "
|
|
601
|
+
[style]="applyStyle(rowData, { field: 'btns-options', header: '' }) + 'border-right: 1px solid #ddd !important;'"
|
|
602
|
+
>
|
|
603
|
+
<div class="flex flex-row justify-content-end w-full">
|
|
604
|
+
<!-- <button
|
|
605
|
+
id="moreVertBtn"
|
|
606
|
+
pButton
|
|
607
|
+
class="actionBtns p-button-text p-button-raised"
|
|
608
|
+
(click)="menu.toggle($event); activeItem(rowData)"
|
|
609
|
+
> -->
|
|
610
|
+
<span
|
|
611
|
+
class="material-symbols-outlined cursor-pointer icon-more-horiz"
|
|
612
|
+
style="font-size: 1rem; height: 10px; width: 20px;"
|
|
613
|
+
(click)="menu.toggle($event); activeItem(rowData)"
|
|
614
|
+
>
|
|
615
|
+
more_horiz
|
|
616
|
+
</span>
|
|
617
|
+
<!-- </button> -->
|
|
618
|
+
|
|
619
|
+
<div *ngFor="let action of config.actions">
|
|
620
|
+
{{ criarMenusModal(rowData) }}
|
|
621
|
+
</div>
|
|
622
|
+
|
|
623
|
+
<!-- <div *ngFor="let action of config.actions">
|
|
624
|
+
{{ criarMenusModal(rowData) }}
|
|
625
|
+
</div> -->
|
|
626
|
+
|
|
627
|
+
<p-menu
|
|
628
|
+
#menu
|
|
629
|
+
[popup]="true"
|
|
630
|
+
[model]="menuItems"
|
|
631
|
+
appendTo="body"
|
|
632
|
+
></p-menu>
|
|
633
|
+
</div>
|
|
634
|
+
</td>
|
|
635
|
+
|
|
636
|
+
<!-- <td
|
|
637
|
+
class="td-tools"
|
|
638
|
+
*ngIf="!isEditing && config.actions && config.actions.length > 0"
|
|
639
|
+
[style]="applyStyle(rowData, { field: 'btns-options', header: '' })"
|
|
640
|
+
>
|
|
641
|
+
</td> -->
|
|
642
|
+
|
|
643
|
+
<!-- ------------------------------------------------------------------------------------------------------------------------------------------- -->
|
|
644
|
+
<!-- Controle de edição -->
|
|
645
|
+
<td class="td-edit" *ngIf="this.isEditableTable() && this.editMode == 'row'" >
|
|
646
|
+
<div class="flex align-items-center justify-content-center gap-2">
|
|
647
|
+
<button [style.height]="'28px'" [id]="'rowEdit' + rowData[config.dataKey] " [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="!editing" pButton pRipple type="button" pInitEditableRow icon="pi pi-pencil"
|
|
648
|
+
(click)="onRowEditInit(rowData)" class="p-button-rounded p-button-text"></button>
|
|
649
|
+
<!-- <button [style.height]="'28px'" [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="editing" pButton pRipple type="button" pSaveEditableRow icon="pi pi-check"
|
|
650
|
+
(click)="onRowEditSave(rowData, ri)" [id]="'rowSave' + rowData[config.dataKey] " class="p-button-rounded p-button-text p-button-success mr-2"></button> -->
|
|
651
|
+
<button [style.height]="'28px'" [style.width]="'28px'" [disabled]="isDisableEditRowFunction(rowData)" *ngIf="editing" pButton pRipple type="button" pCancelEditableRow icon="pi pi-times"
|
|
652
|
+
(click)="onRowEditCancel(rowData, ri)" [id]="'rowCancel' + rowData[config.dataKey] " class="p-button-rounded p-button-text p-button-danger"></button>
|
|
653
|
+
</div>
|
|
654
|
+
</td>
|
|
655
|
+
|
|
656
|
+
</tr>
|
|
657
|
+
</ng-template>
|
|
658
|
+
</p-table>
|
|
659
|
+
</div>
|