keevo-components 1.8.35 → 1.8.37
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +24 -24
- package/esm2022/keevo-components.mjs +4 -4
- package/esm2022/lib/api/base-components/base-component-button.mjs +36 -36
- package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -92
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +298 -298
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +78 -78
- package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -65
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -31
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +169 -169
- package/esm2022/lib/api/base-components/base-component-input.mjs +94 -94
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -130
- package/esm2022/lib/api/base-components/base-component.mjs +51 -51
- package/esm2022/lib/api/components/chart/chart.config.mjs +2 -2
- package/esm2022/lib/api/components/chart/chart.model.mjs +2 -2
- package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -2
- package/esm2022/lib/api/components/chart/orchart.item.mjs +2 -2
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -2
- package/esm2022/lib/api/components/table/action-item.mjs +2 -2
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +3 -3
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -2
- package/esm2022/lib/api/components/table/table.config.column.mjs +2 -2
- package/esm2022/lib/api/components/table/table.config.mjs +2 -2
- package/esm2022/lib/api/components/table/table.paginate.mjs +9 -9
- package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -2
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -2
- package/esm2022/lib/{directives → api/directives}/template/template.directive.mjs +24 -24
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -16
- package/esm2022/lib/api/helpers/keevo-validators.mjs +72 -72
- package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -23
- package/esm2022/lib/api/models/menu/menu.model.mjs +2 -2
- package/esm2022/lib/api/models/menu/menucompleto.model.mjs +2 -2
- package/esm2022/lib/api/models/menu/sistemamenu.model.mjs +2 -2
- package/esm2022/lib/api/modules/primeng.module.mjs +251 -251
- package/esm2022/lib/api/pipes/codigofile.pipe.mjs +19 -0
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
- package/esm2022/lib/api/services/base.api.service.mjs +74 -74
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -57
- package/esm2022/lib/api/services/component.service.mjs +27 -27
- package/esm2022/lib/api/services/form.service.mjs +85 -85
- package/esm2022/lib/api/services/imagens.service.mjs +28 -28
- package/esm2022/lib/api/services/notification.service.mjs +67 -67
- package/esm2022/lib/api/services/object.service.mjs +39 -39
- package/esm2022/lib/components/keevo-components.module.mjs +144 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -0
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -0
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -0
- package/esm2022/lib/components/kv-chart/kvchart.module.mjs +32 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -0
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -0
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -0
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +21 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -0
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -0
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -0
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -0
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -0
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -0
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +188 -0
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -0
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -0
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +554 -0
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +567 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +215 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
- package/esm2022/lib/components/kv-treetable/kv-treetable.component.mjs +371 -0
- package/esm2022/lib/components/kv-treetable/kv-treetable.module.mjs +32 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -0
- package/esm2022/public-api.mjs +169 -165
- package/fesm2022/keevo-components.mjs +5822 -5808
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/api/base-components/base-component-button.d.ts +14 -14
- package/lib/api/base-components/base-component-chart.d.ts +40 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +145 -145
- package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
- package/lib/api/base-components/base-component-crud.d.ts +36 -36
- package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -15
- package/lib/api/base-components/base-component-dropdown.d.ts +44 -44
- package/lib/api/base-components/base-component-input.d.ts +31 -31
- package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
- package/lib/api/base-components/base-component.d.ts +22 -22
- package/lib/api/components/chart/chart.config.d.ts +11 -11
- package/lib/api/components/chart/chart.model.d.ts +9 -9
- package/lib/api/components/chart/orchart.config.d.ts +35 -35
- package/lib/api/components/chart/orchart.item.d.ts +26 -26
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
- package/lib/api/components/table/action-item.d.ts +9 -9
- package/lib/api/components/table/kv-menuitem.d.ts +10 -10
- package/lib/api/components/table/table-dropdown-control.d.ts +6 -6
- package/lib/api/components/table/table.config.column.d.ts +25 -25
- package/lib/api/components/table/table.config.d.ts +19 -19
- package/lib/api/components/table/table.paginate.d.ts +6 -6
- package/lib/api/components/table/tabledit.config.d.ts +8 -8
- package/lib/api/components/table/tableedit.config.column.d.ts +10 -9
- package/lib/{directives → api/directives}/template/template.directive.d.ts +11 -11
- package/lib/api/helpers/component-providers.d.ts +2 -2
- package/lib/api/helpers/keevo-validators.d.ts +11 -11
- package/lib/api/helpers/translate-primeng.d.ts +4 -4
- package/lib/api/models/menu/menu.model.d.ts +10 -10
- package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
- package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
- package/lib/api/modules/primeng.module.d.ts +61 -61
- package/lib/{pipes → api/pipes}/codigofile.pipe.d.ts +7 -7
- package/lib/{pipes → api/pipes}/cpfcnpj.pipe.d.ts +7 -7
- package/lib/api/pipes/mask.pipe.d.ts +7 -0
- package/lib/api/pipes/pipes.module.d.ts +11 -0
- package/lib/{pipes → api/pipes}/telefone.pipe.d.ts +7 -7
- package/lib/api/services/base.api.service.d.ts +25 -25
- package/lib/api/services/breadcrumbs.service.d.ts +16 -16
- package/lib/api/services/component.service.d.ts +11 -11
- package/lib/api/services/form.service.d.ts +28 -28
- package/lib/api/services/imagens.service.d.ts +10 -10
- package/lib/api/services/notification.service.d.ts +25 -25
- package/lib/api/services/object.service.d.ts +9 -9
- package/lib/components/keevo-components.module.d.ts +25 -0
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -0
- package/lib/{avatar → components/kv-avatar}/kv-avatar.module.d.ts +10 -10
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -0
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -0
- package/lib/{carousel → components/kv-carousel}/kv-carousel.module.d.ts +9 -9
- package/lib/{chart/chart.component.d.ts → components/kv-chart/kv-chart.component.d.ts} +56 -56
- package/lib/{chart → components/kv-chart}/kvchart.module.d.ts +10 -10
- package/lib/components/kv-error/kv-error.component.d.ts +12 -0
- package/lib/{api/components/error/kverror.module.d.ts → components/kv-error/kv-error.module.d.ts} +10 -10
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -0
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -0
- package/lib/{inputs/editor/editor.component.d.ts → components/kv-inputs/kv-editor/kv-editor.component.d.ts} +36 -36
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +27 -0
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +9 -0
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -0
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -0
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -0
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -0
- package/lib/components/kv-label/kv-label.component.d.ts +7 -0
- package/lib/components/kv-label/kv-label.module.d.ts +8 -0
- package/lib/components/kv-loader/kv-loader.component.d.ts +8 -0
- package/lib/{loader/kvloader.module.d.ts → components/kv-loader/kv-loader.module.d.ts} +9 -9
- package/lib/{loader/loader.service.d.ts → components/kv-loader/kv-loader.service.d.ts} +10 -10
- package/lib/{login/login.component.d.ts → components/kv-login/kv-login.component.d.ts} +30 -30
- package/lib/components/kv-login/kv-login.module.d.ts +13 -0
- package/lib/{menu/menu.component.d.ts → components/kv-menu/kv-menu.component.d.ts} +61 -73
- package/lib/components/kv-menu/kv-menu.module.d.ts +13 -0
- package/lib/{modal/modal.component.d.ts → components/kv-modal/kv-modal.component.d.ts} +20 -20
- package/lib/{modal → components/kv-modal}/kv-modal.module.d.ts +10 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -0
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -0
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -0
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -0
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -0
- package/lib/{picklist/kvpicklist.module.d.ts → components/kv-pick-list/kv-pick-list.module.d.ts} +10 -10
- package/lib/{progress-bar/progress-bar.component.d.ts → components/kv-progress-bar/kv-progress-bar.component.d.ts} +67 -67
- package/lib/{progress-bar → components/kv-progress-bar}/kv-progress-bar.module.d.ts +9 -9
- package/lib/{table/table.component.d.ts → components/kv-table/kv-table.component.d.ts} +113 -113
- package/lib/{table/kvtable.module.d.ts → components/kv-table/kv-table.module.d.ts} +11 -11
- package/lib/{table-edit/table-edit.component.d.ts → components/kv-table-edit/kv-table-edit.component.d.ts} +116 -116
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +12 -0
- package/lib/{treetable/treetable.component.d.ts → components/kv-tree-table/kv-tree-table.component.d.ts} +42 -42
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +9 -0
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -0
- package/lib/{tree-view/kvtree-view.module.d.ts → components/kv-tree-view/kv-tree-view.module.d.ts} +9 -9
- package/lib/{tree-table → components/kv-treetable}/kv-treetable.component.d.ts +85 -85
- package/lib/{tree-table → components/kv-treetable}/kv-treetable.module.d.ts +11 -11
- package/lib/{workspace/workspace.component.d.ts → components/kv-workspace/kv-workspace.component.d.ts} +46 -46
- package/lib/{workspace/kvworkspace.module.d.ts → components/kv-workspace/kv-workspace.module.d.ts} +14 -14
- package/package.json +1 -1
- package/public-api.d.ts +165 -161
- package/esm2022/lib/api/components/error/error.component.mjs +0 -26
- package/esm2022/lib/api/components/error/kverror.module.mjs +0 -35
- package/esm2022/lib/avatar/avatar.component.mjs +0 -78
- package/esm2022/lib/avatar/kv-avatar.module.mjs +0 -32
- package/esm2022/lib/buttons/button-personalize/button-personalize.component.mjs +0 -17
- package/esm2022/lib/buttons/button-popup/button-popup.component.mjs +0 -31
- package/esm2022/lib/buttons/button-secondary/button-secondary.component.mjs +0 -17
- package/esm2022/lib/buttons/button-success/button-success.component.mjs +0 -17
- package/esm2022/lib/buttons/kvbutton.module.mjs +0 -39
- package/esm2022/lib/carousel/carousel.component.mjs +0 -92
- package/esm2022/lib/carousel/kv-carousel.module.mjs +0 -28
- package/esm2022/lib/chart/chart.component.mjs +0 -145
- package/esm2022/lib/chart/kvchart.module.mjs +0 -32
- package/esm2022/lib/inputs/check/check.component.mjs +0 -26
- package/esm2022/lib/inputs/dropdown/dropdown.component.mjs +0 -37
- package/esm2022/lib/inputs/editor/editor.component.mjs +0 -88
- package/esm2022/lib/inputs/input-calendar/input-calendar.component.mjs +0 -89
- package/esm2022/lib/inputs/input-mask/input-mask.component.mjs +0 -29
- package/esm2022/lib/inputs/input-number/input-number.component.mjs +0 -59
- package/esm2022/lib/inputs/input-password/input-password.component.mjs +0 -33
- package/esm2022/lib/inputs/input-text/input-text.component.mjs +0 -21
- package/esm2022/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +0 -42
- package/esm2022/lib/inputs/input-textarea/input-textarea.component.mjs +0 -43
- package/esm2022/lib/inputs/input-time/input-time.component.mjs +0 -24
- package/esm2022/lib/inputs/kvinputs.module.mjs +0 -108
- package/esm2022/lib/inputs/multi-select/multi-select.component.mjs +0 -44
- package/esm2022/lib/inputs/radio-group/radio-group.component.mjs +0 -53
- package/esm2022/lib/inputs/switch/switch.component.mjs +0 -34
- package/esm2022/lib/keevo-components.module.mjs +0 -144
- package/esm2022/lib/label/label.component.mjs +0 -15
- package/esm2022/lib/label/label.module.mjs +0 -24
- package/esm2022/lib/loader/kvloader.module.mjs +0 -28
- package/esm2022/lib/loader/loader.component.mjs +0 -17
- package/esm2022/lib/loader/loader.service.mjs +0 -29
- package/esm2022/lib/login/kvlogin.module.mjs +0 -47
- package/esm2022/lib/login/login.component.mjs +0 -52
- package/esm2022/lib/menu/kvmenu.module.mjs +0 -43
- package/esm2022/lib/menu/menu.component.mjs +0 -215
- package/esm2022/lib/modal/kv-modal.module.mjs +0 -31
- package/esm2022/lib/modal/modal.component.mjs +0 -67
- package/esm2022/lib/orgchart/orgchart.component.mjs +0 -100
- package/esm2022/lib/orgchart/orgchart.module.mjs +0 -24
- package/esm2022/lib/page-form/kv-page-form.module.mjs +0 -38
- package/esm2022/lib/page-form/page-form.component.mjs +0 -147
- package/esm2022/lib/picklist/kvpicklist.module.mjs +0 -32
- package/esm2022/lib/picklist/picklist.component.mjs +0 -48
- package/esm2022/lib/pipes/codigofile.pipe.mjs +0 -19
- package/esm2022/lib/pipes/cpfcnpj.pipe.mjs +0 -25
- package/esm2022/lib/pipes/pipes.module.mjs +0 -34
- package/esm2022/lib/pipes/telefone.pipe.mjs +0 -45
- package/esm2022/lib/progress-bar/kv-progress-bar.module.mjs +0 -28
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -58
- package/esm2022/lib/table/kvtable.module.mjs +0 -36
- package/esm2022/lib/table/table.component.mjs +0 -554
- package/esm2022/lib/table-edit/table-edit.component.mjs +0 -564
- package/esm2022/lib/table-edit/table-edit.module.mjs +0 -31
- package/esm2022/lib/tree-table/kv-treetable.component.mjs +0 -371
- package/esm2022/lib/tree-table/kv-treetable.module.mjs +0 -32
- package/esm2022/lib/tree-view/kvtree-view.module.mjs +0 -28
- package/esm2022/lib/tree-view/tree-view.component.mjs +0 -30
- package/esm2022/lib/treetable/treetable.component.mjs +0 -215
- package/esm2022/lib/treetable/treetable.module.mjs +0 -28
- package/esm2022/lib/workspace/kvworkspace.module.mjs +0 -51
- package/esm2022/lib/workspace/workspace.component.mjs +0 -178
- package/lib/api/components/error/error.component.d.ts +0 -12
- package/lib/avatar/avatar.component.d.ts +0 -22
- package/lib/buttons/button-personalize/button-personalize.component.d.ts +0 -7
- package/lib/buttons/button-popup/button-popup.component.d.ts +0 -13
- package/lib/buttons/button-secondary/button-secondary.component.d.ts +0 -7
- package/lib/buttons/button-success/button-success.component.d.ts +0 -7
- package/lib/buttons/kvbutton.module.d.ts +0 -11
- package/lib/carousel/carousel.component.d.ts +0 -16
- package/lib/inputs/check/check.component.d.ts +0 -11
- package/lib/inputs/dropdown/dropdown.component.d.ts +0 -14
- package/lib/inputs/input-calendar/input-calendar.component.d.ts +0 -27
- package/lib/inputs/input-mask/input-mask.component.d.ts +0 -12
- package/lib/inputs/input-number/input-number.component.d.ts +0 -19
- package/lib/inputs/input-password/input-password.component.d.ts +0 -13
- package/lib/inputs/input-text/input-text.component.d.ts +0 -9
- package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +0 -16
- package/lib/inputs/input-textarea/input-textarea.component.d.ts +0 -16
- package/lib/inputs/input-time/input-time.component.d.ts +0 -10
- package/lib/inputs/kvinputs.module.d.ts +0 -25
- package/lib/inputs/multi-select/multi-select.component.d.ts +0 -15
- package/lib/inputs/radio-group/radio-group.component.d.ts +0 -18
- package/lib/inputs/switch/switch.component.d.ts +0 -14
- package/lib/keevo-components.module.d.ts +0 -25
- package/lib/label/label.component.d.ts +0 -7
- package/lib/label/label.module.d.ts +0 -8
- package/lib/loader/loader.component.d.ts +0 -8
- package/lib/login/kvlogin.module.d.ts +0 -13
- package/lib/menu/kvmenu.module.d.ts +0 -12
- package/lib/orgchart/orgchart.component.d.ts +0 -27
- package/lib/orgchart/orgchart.module.d.ts +0 -9
- package/lib/page-form/kv-page-form.module.d.ts +0 -11
- package/lib/page-form/page-form.component.d.ts +0 -70
- package/lib/picklist/picklist.component.d.ts +0 -20
- package/lib/pipes/pipes.module.d.ts +0 -10
- package/lib/table-edit/table-edit.module.d.ts +0 -11
- package/lib/tree-view/tree-view.component.d.ts +0 -14
- package/lib/treetable/treetable.module.d.ts +0 -9
package/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# KeevoComponents
|
2
|
-
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
|
4
|
-
|
5
|
-
## Code scaffolding
|
6
|
-
|
7
|
-
Run `ng generate component component-name --project keevo-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project keevo-components`.
|
8
|
-
> Note: Don't forget to add `--project keevo-components` or else it will be added to the default project in your `angular.json` file.
|
9
|
-
|
10
|
-
## Build
|
11
|
-
|
12
|
-
Run `ng build keevo-components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
-
|
14
|
-
## Publishing
|
15
|
-
|
16
|
-
After building your library with `ng build keevo-components`, go to the dist folder `cd dist/keevo-components` and run `npm publish`.
|
17
|
-
|
18
|
-
## Running unit tests
|
19
|
-
|
20
|
-
Run `ng test keevo-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
-
|
22
|
-
## Further help
|
23
|
-
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
1
|
+
# KeevoComponents
|
2
|
+
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
|
4
|
+
|
5
|
+
## Code scaffolding
|
6
|
+
|
7
|
+
Run `ng generate component component-name --project keevo-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project keevo-components`.
|
8
|
+
> Note: Don't forget to add `--project keevo-components` or else it will be added to the default project in your `angular.json` file.
|
9
|
+
|
10
|
+
## Build
|
11
|
+
|
12
|
+
Run `ng build keevo-components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
13
|
+
|
14
|
+
## Publishing
|
15
|
+
|
16
|
+
After building your library with `ng build keevo-components`, go to the dist folder `cd dist/keevo-components` and run `npm publish`.
|
17
|
+
|
18
|
+
## Running unit tests
|
19
|
+
|
20
|
+
Run `ng test keevo-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
21
|
+
|
22
|
+
## Further help
|
23
|
+
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public-api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public-api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2Vldm8tY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2tlZXZvLWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class BaseComponentButton {
|
4
|
-
constructor() {
|
5
|
-
this.icon = '';
|
6
|
-
this.label = '';
|
7
|
-
this.loading = false;
|
8
|
-
this.disabled = false;
|
9
|
-
this.color = 'bg-blue-100';
|
10
|
-
this.onClick = new EventEmitter();
|
11
|
-
}
|
12
|
-
click(event) {
|
13
|
-
this.onClick.emit();
|
14
|
-
}
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseComponentButton, selector: "ng-component", inputs: { icon: "icon", label: "label", loading: "loading", disabled: "disabled", color: "color" }, outputs: { onClick: "onClick" }, ngImport: i0, template: '', isInline: true }); }
|
17
|
-
}
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentButton, decorators: [{
|
19
|
-
type: Component,
|
20
|
-
args: [{
|
21
|
-
template: '',
|
22
|
-
}]
|
23
|
-
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
24
|
-
type: Input
|
25
|
-
}], label: [{
|
26
|
-
type: Input
|
27
|
-
}], loading: [{
|
28
|
-
type: Input
|
29
|
-
}], disabled: [{
|
30
|
-
type: Input
|
31
|
-
}], color: [{
|
32
|
-
type: Input
|
33
|
-
}], onClick: [{
|
34
|
-
type: Output
|
35
|
-
}] } });
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class BaseComponentButton {
|
4
|
+
constructor() {
|
5
|
+
this.icon = '';
|
6
|
+
this.label = '';
|
7
|
+
this.loading = false;
|
8
|
+
this.disabled = false;
|
9
|
+
this.color = 'bg-blue-100';
|
10
|
+
this.onClick = new EventEmitter();
|
11
|
+
}
|
12
|
+
click(event) {
|
13
|
+
this.onClick.emit();
|
14
|
+
}
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseComponentButton, selector: "ng-component", inputs: { icon: "icon", label: "label", loading: "loading", disabled: "disabled", color: "color" }, outputs: { onClick: "onClick" }, ngImport: i0, template: '', isInline: true }); }
|
17
|
+
}
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentButton, decorators: [{
|
19
|
+
type: Component,
|
20
|
+
args: [{
|
21
|
+
template: '',
|
22
|
+
}]
|
23
|
+
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
24
|
+
type: Input
|
25
|
+
}], label: [{
|
26
|
+
type: Input
|
27
|
+
}], loading: [{
|
28
|
+
type: Input
|
29
|
+
}], disabled: [{
|
30
|
+
type: Input
|
31
|
+
}], color: [{
|
32
|
+
type: Input
|
33
|
+
}], onClick: [{
|
34
|
+
type: Output
|
35
|
+
}] }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UFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ29tcG9uZW50LFxuICBFdmVudEVtaXR0ZXIsXG4gIElucHV0LFxuICBPdXRwdXRcbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICB0ZW1wbGF0ZTogJycsXG59KVxuZXhwb3J0IGNsYXNzIEJhc2VDb21wb25lbnRCdXR0b24ge1xuXG4gIEBJbnB1dCgpIGljb246IHN0cmluZyA9ICcnO1xuICBASW5wdXQoKSBsYWJlbDogc3RyaW5nID0gJyc7XG4gIEBJbnB1dCgpIGxvYWRpbmc6IGJvb2xlYW4gPSBmYWxzZTtcbiAgQElucHV0KCkgZGlzYWJsZWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgQElucHV0KCkgY29sb3I6IHN0cmluZyA9ICdiZy1ibHVlLTEwMCc7XG5cblxuICBAT3V0cHV0KCkgb25DbGljazogRXZlbnRFbWl0dGVyPGFueT4gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cblxuICBjbGljayhldmVudDogYW55KTogdm9pZCB7XG4gICAgdGhpcy5vbkNsaWNrLmVtaXQoKTtcbiAgfVxufVxuIl19
|
@@ -1,92 +1,92 @@
|
|
1
|
-
import { Component, EventEmitter, Output, ViewChild } from "@angular/core";
|
2
|
-
import {
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class BaseChartComponent {
|
5
|
-
constructor() {
|
6
|
-
this.selectedData = 0;
|
7
|
-
this.enablePeriodos = [];
|
8
|
-
this.periodos = PeriodosChart;
|
9
|
-
this.onPrintReport = new EventEmitter();
|
10
|
-
}
|
11
|
-
changeData(event) {
|
12
|
-
if (event) {
|
13
|
-
this.selectedData = event?.value;
|
14
|
-
this.loadData();
|
15
|
-
}
|
16
|
-
}
|
17
|
-
ngOnInit() {
|
18
|
-
this.loadData();
|
19
|
-
}
|
20
|
-
loadGraphic(obs) {
|
21
|
-
obs
|
22
|
-
.subscribe({
|
23
|
-
next: (data) => {
|
24
|
-
this.chartConfig = this.assembleGraphic(data);
|
25
|
-
this.chartComponent?.reInit(this.chartConfig);
|
26
|
-
},
|
27
|
-
error: (error) => { },
|
28
|
-
});
|
29
|
-
}
|
30
|
-
assembleGraphic(data) {
|
31
|
-
let labels = [];
|
32
|
-
let datasets = [];
|
33
|
-
// Tratando legendas
|
34
|
-
data.map((element) => {
|
35
|
-
if (element.labels && !labels.includes(element.labels)) {
|
36
|
-
labels.push(element.labels);
|
37
|
-
}
|
38
|
-
});
|
39
|
-
//Descobrindo quantas dimensões tem o gráfico
|
40
|
-
let numDatasets = Math.max(...data.map(o => o.numDatasets));
|
41
|
-
//Populando datasets
|
42
|
-
for (let i = 0; i <= numDatasets; i++) {
|
43
|
-
let backgroundColor = [];
|
44
|
-
let hoverBackgroundColor = [];
|
45
|
-
let borderColor = [];
|
46
|
-
let values = [];
|
47
|
-
let labelDataset = '';
|
48
|
-
data.filter((obj) => {
|
49
|
-
return obj.numDatasets === i;
|
50
|
-
}).map((obj) => {
|
51
|
-
if (obj.backgroundColor && !backgroundColor.includes(obj.backgroundColor)) {
|
52
|
-
backgroundColor.push(obj.backgroundColor);
|
53
|
-
}
|
54
|
-
if (obj.borderColor && !borderColor.includes(obj.borderColor)) {
|
55
|
-
borderColor.push(obj.borderColor);
|
56
|
-
}
|
57
|
-
if (obj.hoverBackgroundColor && !hoverBackgroundColor.includes(obj.hoverBackgroundColor)) {
|
58
|
-
hoverBackgroundColor.push(obj.hoverBackgroundColor);
|
59
|
-
}
|
60
|
-
if (obj.labelDataset)
|
61
|
-
labelDataset = obj.labelDataset;
|
62
|
-
values.push(obj.datasets);
|
63
|
-
});
|
64
|
-
datasets.push({
|
65
|
-
label: labelDataset,
|
66
|
-
backgroundColor: backgroundColor,
|
67
|
-
hoverBackgroundColor: hoverBackgroundColor,
|
68
|
-
borderColor: borderColor?.length === 0 ? undefined : borderColor,
|
69
|
-
data: values
|
70
|
-
});
|
71
|
-
}
|
72
|
-
let dados = {
|
73
|
-
labels: labels,
|
74
|
-
datasets: datasets
|
75
|
-
};
|
76
|
-
return dados;
|
77
|
-
}
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
79
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseChartComponent, selector: "ng-component", outputs: { onPrintReport: "onPrintReport" }, viewQueries: [{ propertyName: "chartComponent", first: true, predicate:
|
80
|
-
}
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseChartComponent, decorators: [{
|
82
|
-
type: Component,
|
83
|
-
args: [{
|
84
|
-
template: ''
|
85
|
-
}]
|
86
|
-
}], ctorParameters: function () { return []; }, propDecorators: { chartComponent: [{
|
87
|
-
type: ViewChild,
|
88
|
-
args: [
|
89
|
-
}], onPrintReport: [{
|
90
|
-
type: Output
|
91
|
-
}] } });
|
92
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, EventEmitter, Output, ViewChild } from "@angular/core";
|
2
|
+
import { KvChartComponent, PeriodosChart } from "../../components/kv-chart/kv-chart.component";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class BaseChartComponent {
|
5
|
+
constructor() {
|
6
|
+
this.selectedData = 0;
|
7
|
+
this.enablePeriodos = [];
|
8
|
+
this.periodos = PeriodosChart;
|
9
|
+
this.onPrintReport = new EventEmitter();
|
10
|
+
}
|
11
|
+
changeData(event) {
|
12
|
+
if (event) {
|
13
|
+
this.selectedData = event?.value;
|
14
|
+
this.loadData();
|
15
|
+
}
|
16
|
+
}
|
17
|
+
ngOnInit() {
|
18
|
+
this.loadData();
|
19
|
+
}
|
20
|
+
loadGraphic(obs) {
|
21
|
+
obs
|
22
|
+
.subscribe({
|
23
|
+
next: (data) => {
|
24
|
+
this.chartConfig = this.assembleGraphic(data);
|
25
|
+
this.chartComponent?.reInit(this.chartConfig);
|
26
|
+
},
|
27
|
+
error: (error) => { },
|
28
|
+
});
|
29
|
+
}
|
30
|
+
assembleGraphic(data) {
|
31
|
+
let labels = [];
|
32
|
+
let datasets = [];
|
33
|
+
// Tratando legendas
|
34
|
+
data.map((element) => {
|
35
|
+
if (element.labels && !labels.includes(element.labels)) {
|
36
|
+
labels.push(element.labels);
|
37
|
+
}
|
38
|
+
});
|
39
|
+
//Descobrindo quantas dimensões tem o gráfico
|
40
|
+
let numDatasets = Math.max(...data.map(o => o.numDatasets));
|
41
|
+
//Populando datasets
|
42
|
+
for (let i = 0; i <= numDatasets; i++) {
|
43
|
+
let backgroundColor = [];
|
44
|
+
let hoverBackgroundColor = [];
|
45
|
+
let borderColor = [];
|
46
|
+
let values = [];
|
47
|
+
let labelDataset = '';
|
48
|
+
data.filter((obj) => {
|
49
|
+
return obj.numDatasets === i;
|
50
|
+
}).map((obj) => {
|
51
|
+
if (obj.backgroundColor && !backgroundColor.includes(obj.backgroundColor)) {
|
52
|
+
backgroundColor.push(obj.backgroundColor);
|
53
|
+
}
|
54
|
+
if (obj.borderColor && !borderColor.includes(obj.borderColor)) {
|
55
|
+
borderColor.push(obj.borderColor);
|
56
|
+
}
|
57
|
+
if (obj.hoverBackgroundColor && !hoverBackgroundColor.includes(obj.hoverBackgroundColor)) {
|
58
|
+
hoverBackgroundColor.push(obj.hoverBackgroundColor);
|
59
|
+
}
|
60
|
+
if (obj.labelDataset)
|
61
|
+
labelDataset = obj.labelDataset;
|
62
|
+
values.push(obj.datasets);
|
63
|
+
});
|
64
|
+
datasets.push({
|
65
|
+
label: labelDataset,
|
66
|
+
backgroundColor: backgroundColor,
|
67
|
+
hoverBackgroundColor: hoverBackgroundColor,
|
68
|
+
borderColor: borderColor?.length === 0 ? undefined : borderColor,
|
69
|
+
data: values
|
70
|
+
});
|
71
|
+
}
|
72
|
+
let dados = {
|
73
|
+
labels: labels,
|
74
|
+
datasets: datasets
|
75
|
+
};
|
76
|
+
return dados;
|
77
|
+
}
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseChartComponent, selector: "ng-component", outputs: { onPrintReport: "onPrintReport" }, viewQueries: [{ propertyName: "chartComponent", first: true, predicate: KvChartComponent, descendants: true }], ngImport: i0, template: '', isInline: true }); }
|
80
|
+
}
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseChartComponent, decorators: [{
|
82
|
+
type: Component,
|
83
|
+
args: [{
|
84
|
+
template: ''
|
85
|
+
}]
|
86
|
+
}], ctorParameters: function () { return []; }, propDecorators: { chartComponent: [{
|
87
|
+
type: ViewChild,
|
88
|
+
args: [KvChartComponent]
|
89
|
+
}], onPrintReport: [{
|
90
|
+
type: Output
|
91
|
+
}] } });
|
92
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQtY2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvYXBpL2Jhc2UtY29tcG9uZW50cy9iYXNlLWNvbXBvbmVudC1jaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBS25GLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxhQUFhLE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