keevo-components 1.5.191 → 1.5.192
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/esm2020/keevo-components.mjs +5 -0
- package/esm2020/lib/api/base-components/base-component-button.mjs +36 -0
- package/esm2020/lib/api/base-components/base-component-chart.mjs +92 -0
- package/esm2020/lib/api/base-components/base-component-crud-form.mjs +270 -0
- package/esm2020/lib/api/base-components/base-component-crud-list.mjs +68 -0
- package/esm2020/lib/api/base-components/base-component-crud.mjs +65 -0
- package/esm2020/lib/api/base-components/base-component-dropdown-new.mjs +211 -0
- package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -0
- package/esm2020/lib/api/base-components/base-component-input.mjs +94 -0
- package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -0
- package/esm2020/lib/api/base-components/base-component.mjs +49 -0
- package/esm2020/lib/api/components/chart/chart.config.mjs +2 -0
- package/esm2020/lib/api/components/chart/chart.model.mjs +2 -0
- package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -0
- package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -0
- package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -0
- package/esm2020/lib/api/components/error/error.component.mjs +26 -0
- package/esm2020/lib/api/components/error/kverror.module.mjs +35 -0
- package/esm2020/lib/api/components/table/action-item.mjs +2 -0
- package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -0
- package/esm2020/lib/api/components/table/table.config.column.mjs +2 -0
- package/esm2020/lib/api/components/table/table.config.mjs +2 -0
- package/esm2020/lib/api/components/table/table.paginate.mjs +9 -0
- package/esm2020/lib/api/helpers/component-providers.mjs +16 -0
- package/esm2020/lib/api/helpers/keevo-validators.mjs +64 -0
- package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -0
- package/esm2020/lib/api/models/menu/menu.model.mjs +2 -0
- package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -0
- package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -0
- package/esm2020/lib/api/modules/primeng.module.mjs +247 -0
- package/esm2020/lib/api/services/base.api.service.mjs +74 -0
- package/esm2020/lib/api/services/component.service.mjs +27 -0
- package/esm2020/lib/api/services/form.service.mjs +84 -0
- package/esm2020/lib/api/services/imagens.service.mjs +22 -0
- package/esm2020/lib/api/services/notification.service.mjs +67 -0
- package/esm2020/lib/api/services/object.service.mjs +26 -0
- package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -0
- package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +31 -0
- package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -0
- package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -0
- package/esm2020/lib/buttons/kvbutton.module.mjs +39 -0
- package/esm2020/lib/chart/chart.component.mjs +145 -0
- package/esm2020/lib/chart/kvchart.module.mjs +32 -0
- package/esm2020/lib/directives/template.directive.mjs +24 -0
- package/esm2020/lib/inputs/check/check.component.mjs +26 -0
- package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +37 -0
- package/esm2020/lib/inputs/editor/editor.component.mjs +70 -0
- package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +89 -0
- package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +23 -0
- package/esm2020/lib/inputs/input-number/input-number.component.mjs +59 -0
- package/esm2020/lib/inputs/input-password/input-password.component.mjs +33 -0
- package/esm2020/lib/inputs/input-text/input-text.component.mjs +21 -0
- package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +38 -0
- package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +43 -0
- package/esm2020/lib/inputs/input-time/input-time.component.mjs +24 -0
- package/esm2020/lib/inputs/kvinputs.module.mjs +108 -0
- package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +38 -0
- package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +53 -0
- package/esm2020/lib/inputs/switch/switch.component.mjs +32 -0
- package/esm2020/lib/keevo-components.module.mjs +105 -0
- package/esm2020/lib/label/label.component.mjs +15 -0
- package/esm2020/lib/label/label.module.mjs +24 -0
- package/esm2020/lib/loader/kvloader.module.mjs +28 -0
- package/esm2020/lib/loader/loader.component.mjs +17 -0
- package/esm2020/lib/loader/loader.service.mjs +29 -0
- package/esm2020/lib/login/kvlogin.module.mjs +47 -0
- package/esm2020/lib/login/login.component.mjs +52 -0
- package/esm2020/lib/menu/kvmenu.module.mjs +43 -0
- package/esm2020/lib/menu/menu.component.mjs +237 -0
- package/esm2020/lib/orgchart/orgchart.component.mjs +100 -0
- package/esm2020/lib/orgchart/orgchart.module.mjs +24 -0
- package/esm2020/lib/page-form/kv-page-form.module.mjs +38 -0
- package/esm2020/lib/page-form/page-form.component.mjs +144 -0
- package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -0
- package/esm2020/lib/picklist/picklist.component.mjs +48 -0
- package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -0
- package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -0
- package/esm2020/lib/pipes/pipes.module.mjs +34 -0
- package/esm2020/lib/pipes/telefone.pipe.mjs +45 -0
- package/esm2020/lib/table/kvtable.module.mjs +32 -0
- package/esm2020/lib/table/table.component.mjs +499 -0
- package/esm2020/lib/tree-table/kv-treetable.component.mjs +371 -0
- package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -0
- package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -0
- package/esm2020/lib/tree-view/tree-view.component.mjs +29 -0
- package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -0
- package/esm2020/lib/workspace/workspace.component.mjs +77 -0
- package/esm2020/public-api.mjs +138 -0
- package/fesm2015/keevo-components.mjs +4705 -0
- package/fesm2015/keevo-components.mjs.map +1 -0
- package/fesm2020/keevo-components.mjs +4696 -0
- package/fesm2020/keevo-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/api/base-components/base-component-button.d.ts +14 -0
- package/lib/api/base-components/base-component-chart.d.ts +40 -0
- package/lib/api/base-components/base-component-crud-form.d.ts +137 -0
- package/lib/api/base-components/base-component-crud-list.d.ts +63 -0
- package/lib/api/base-components/base-component-crud.d.ts +36 -0
- package/lib/api/base-components/base-component-dropdown-new.d.ts +14 -0
- package/lib/api/base-components/base-component-dropdown.d.ts +42 -0
- package/lib/api/base-components/base-component-input.d.ts +31 -0
- package/lib/api/base-components/base-component-multi-select.d.ts +35 -0
- package/lib/api/base-components/base-component.d.ts +21 -0
- package/lib/api/components/chart/chart.config.d.ts +11 -0
- package/lib/api/components/chart/chart.model.d.ts +9 -0
- package/lib/api/components/chart/orchart.config.d.ts +35 -0
- package/lib/api/components/chart/orchart.item.d.ts +26 -0
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
- package/lib/api/components/error/error.component.d.ts +12 -0
- package/lib/api/components/error/kverror.module.d.ts +10 -0
- package/lib/api/components/table/action-item.d.ts +5 -0
- package/lib/api/components/table/kv-menuitem.d.ts +9 -0
- package/lib/api/components/table/table.config.column.d.ts +21 -0
- package/lib/api/components/table/table.config.d.ts +17 -0
- package/lib/api/components/table/table.paginate.d.ts +6 -0
- package/lib/api/helpers/component-providers.d.ts +2 -0
- package/lib/api/helpers/keevo-validators.d.ts +10 -0
- package/lib/api/helpers/translate-primeng.d.ts +4 -0
- package/lib/api/models/menu/menu.model.d.ts +10 -0
- package/{src/lib/api/models/menu/menucompleto.model.ts → lib/api/models/menu/menucompleto.model.d.ts} +3 -4
- package/lib/api/models/menu/sistemamenu.model.d.ts +8 -0
- package/lib/api/modules/primeng.module.d.ts +60 -0
- package/lib/api/services/base.api.service.d.ts +25 -0
- package/lib/api/services/component.service.d.ts +11 -0
- package/lib/api/services/form.service.d.ts +27 -0
- package/lib/api/services/imagens.service.d.ts +8 -0
- package/lib/api/services/notification.service.d.ts +25 -0
- package/lib/api/services/object.service.d.ts +8 -0
- package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -0
- package/lib/buttons/button-popup/button-popup.component.d.ts +13 -0
- package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -0
- package/lib/buttons/button-success/button-success.component.d.ts +7 -0
- package/lib/buttons/kvbutton.module.d.ts +11 -0
- package/lib/chart/chart.component.d.ts +56 -0
- package/lib/chart/kvchart.module.d.ts +10 -0
- package/lib/directives/template.directive.d.ts +11 -0
- package/lib/inputs/check/check.component.d.ts +11 -0
- package/lib/inputs/dropdown/dropdown.component.d.ts +14 -0
- package/lib/inputs/editor/editor.component.d.ts +39 -0
- package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -0
- package/lib/inputs/input-mask/input-mask.component.d.ts +10 -0
- package/lib/inputs/input-number/input-number.component.d.ts +19 -0
- package/lib/inputs/input-password/input-password.component.d.ts +13 -0
- package/lib/inputs/input-text/input-text.component.d.ts +9 -0
- package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -0
- package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -0
- package/lib/inputs/input-time/input-time.component.d.ts +10 -0
- package/lib/inputs/kvinputs.module.d.ts +25 -0
- package/lib/inputs/multi-select/multi-select.component.d.ts +12 -0
- package/lib/inputs/radio-group/radio-group.component.d.ts +18 -0
- package/lib/inputs/switch/switch.component.d.ts +13 -0
- package/lib/keevo-components.module.d.ts +19 -0
- package/lib/label/label.component.d.ts +7 -0
- package/lib/label/label.module.d.ts +8 -0
- package/lib/loader/kvloader.module.d.ts +9 -0
- package/lib/loader/loader.component.d.ts +8 -0
- package/lib/loader/loader.service.d.ts +10 -0
- package/lib/login/kvlogin.module.d.ts +13 -0
- package/lib/login/login.component.d.ts +30 -0
- package/lib/menu/kvmenu.module.d.ts +12 -0
- package/lib/menu/menu.component.d.ts +74 -0
- package/lib/orgchart/orgchart.component.d.ts +27 -0
- package/lib/orgchart/orgchart.module.d.ts +9 -0
- package/lib/page-form/kv-page-form.module.d.ts +11 -0
- package/lib/page-form/page-form.component.d.ts +69 -0
- package/lib/picklist/kvpicklist.module.d.ts +10 -0
- package/lib/picklist/picklist.component.d.ts +20 -0
- package/lib/pipes/codigofile.pipe.d.ts +7 -0
- package/lib/pipes/cpfcnpj.pipe.d.ts +7 -0
- package/lib/pipes/pipes.module.d.ts +10 -0
- package/lib/pipes/telefone.pipe.d.ts +7 -0
- package/lib/table/kvtable.module.d.ts +10 -0
- package/lib/table/table.component.d.ts +104 -0
- package/lib/tree-table/kv-treetable.component.d.ts +84 -0
- package/lib/tree-table/kv-treetable.module.d.ts +11 -0
- package/lib/tree-view/kvtree-view.module.d.ts +9 -0
- package/lib/tree-view/tree-view.component.d.ts +14 -0
- package/lib/workspace/kvworkspace.module.d.ts +13 -0
- package/lib/workspace/workspace.component.d.ts +28 -0
- package/package.json +22 -3
- package/{src/public-api.ts → public-api.d.ts} +14 -36
- package/ng-package.json +0 -7
- 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 +0 -74
- package/src/assets/images/keevo-logo.png +0 -0
- package/src/assets/images/logokeevo_2.png +0 -0
- package/src/index.ts +0 -1
- package/src/lib/api/base-components/base-component-button.ts +0 -27
- package/src/lib/api/base-components/base-component-chart.ts +0 -105
- package/src/lib/api/base-components/base-component-crud-form.ts +0 -328
- package/src/lib/api/base-components/base-component-crud-list.ts +0 -111
- package/src/lib/api/base-components/base-component-crud.ts +0 -70
- package/src/lib/api/base-components/base-component-dropdown-new.ts +0 -112
- package/src/lib/api/base-components/base-component-dropdown.ts +0 -164
- package/src/lib/api/base-components/base-component-input.ts +0 -107
- package/src/lib/api/base-components/base-component-multi-select.ts +0 -136
- package/src/lib/api/base-components/base-component.ts +0 -46
- package/src/lib/api/components/chart/chart.config.ts +0 -12
- package/src/lib/api/components/chart/chart.model.ts +0 -9
- package/src/lib/api/components/chart/orchart.config.ts +0 -41
- package/src/lib/api/components/chart/orchart.item.ts +0 -33
- package/src/lib/api/components/dropdown/filtro.combo.ts +0 -4
- package/src/lib/api/components/error/error.component.html +0 -3
- package/src/lib/api/components/error/error.component.scss +0 -5
- package/src/lib/api/components/error/error.component.ts +0 -22
- package/src/lib/api/components/error/kverror.module.ts +0 -23
- package/src/lib/api/components/table/action-item.ts +0 -5
- package/src/lib/api/components/table/kv-menuitem.ts +0 -10
- package/src/lib/api/components/table/table.config.column.ts +0 -21
- package/src/lib/api/components/table/table.config.ts +0 -20
- package/src/lib/api/components/table/table.paginate.ts +0 -6
- package/src/lib/api/helpers/component-providers.ts +0 -16
- package/src/lib/api/helpers/keevo-validators.ts +0 -77
- package/src/lib/api/helpers/translate-primeng.ts +0 -25
- package/src/lib/api/models/menu/menu.model.ts +0 -10
- package/src/lib/api/models/menu/sistemamenu.model.ts +0 -8
- package/src/lib/api/modules/primeng.module.ts +0 -125
- package/src/lib/api/services/base.api.service.ts +0 -115
- package/src/lib/api/services/component.service.ts +0 -22
- package/src/lib/api/services/form.service.ts +0 -105
- package/src/lib/api/services/imagens.service.ts +0 -20
- package/src/lib/api/services/notification.service.ts +0 -82
- package/src/lib/api/services/object.service.ts +0 -20
- package/src/lib/buttons/button-personalize/button-personalize.component.html +0 -11
- package/src/lib/buttons/button-personalize/button-personalize.component.scss +0 -3
- package/src/lib/buttons/button-personalize/button-personalize.component.ts +0 -13
- package/src/lib/buttons/button-popup/button-popup.component.html +0 -12
- package/src/lib/buttons/button-popup/button-popup.component.scss +0 -13
- package/src/lib/buttons/button-popup/button-popup.component.ts +0 -30
- package/src/lib/buttons/button-secondary/button-secondary.component.html +0 -12
- package/src/lib/buttons/button-secondary/button-secondary.component.scss +0 -14
- package/src/lib/buttons/button-secondary/button-secondary.component.ts +0 -13
- package/src/lib/buttons/button-success/button-success.component.html +0 -11
- package/src/lib/buttons/button-success/button-success.component.scss +0 -13
- package/src/lib/buttons/button-success/button-success.component.ts +0 -13
- package/src/lib/buttons/kvbutton.module.ts +0 -25
- package/src/lib/chart/chart.component.html +0 -38
- package/src/lib/chart/chart.component.scss +0 -0
- package/src/lib/chart/chart.component.spec.ts +0 -28
- package/src/lib/chart/chart.component.ts +0 -141
- package/src/lib/chart/kvchart.module.ts +0 -20
- package/src/lib/directives/template.directive.ts +0 -15
- package/src/lib/inputs/check/check.component.html +0 -11
- package/src/lib/inputs/check/check.component.scss +0 -13
- package/src/lib/inputs/check/check.component.ts +0 -24
- package/src/lib/inputs/dropdown/dropdown.component.html +0 -91
- package/src/lib/inputs/dropdown/dropdown.component.scss +0 -0
- package/src/lib/inputs/dropdown/dropdown.component.ts +0 -28
- package/src/lib/inputs/editor/editor.component.html +0 -90
- package/src/lib/inputs/editor/editor.component.scss +0 -4
- package/src/lib/inputs/editor/editor.component.ts +0 -80
- package/src/lib/inputs/input-calendar/input-calendar.component.html +0 -30
- package/src/lib/inputs/input-calendar/input-calendar.component.scss +0 -0
- package/src/lib/inputs/input-calendar/input-calendar.component.ts +0 -81
- package/src/lib/inputs/input-mask/input-mask.component.html +0 -20
- package/src/lib/inputs/input-mask/input-mask.component.scss +0 -0
- package/src/lib/inputs/input-mask/input-mask.component.ts +0 -20
- package/src/lib/inputs/input-number/input-number.component.html +0 -22
- package/src/lib/inputs/input-number/input-number.component.scss +0 -0
- package/src/lib/inputs/input-number/input-number.component.ts +0 -52
- package/src/lib/inputs/input-password/input-password.component.html +0 -23
- package/src/lib/inputs/input-password/input-password.component.scss +0 -0
- package/src/lib/inputs/input-password/input-password.component.ts +0 -23
- package/src/lib/inputs/input-text/input-text.component.html +0 -20
- package/src/lib/inputs/input-text/input-text.component.scss +0 -18
- package/src/lib/inputs/input-text/input-text.component.ts +0 -17
- package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.html +0 -32
- package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.scss +0 -0
- package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.spec.ts +0 -23
- package/src/lib/inputs/input-text-checkbox/input-text-checkbox.component.ts +0 -36
- package/src/lib/inputs/input-textarea/input-textarea.component.html +0 -22
- package/src/lib/inputs/input-textarea/input-textarea.component.scss +0 -0
- package/src/lib/inputs/input-textarea/input-textarea.component.ts +0 -33
- package/src/lib/inputs/input-time/input-time.component.html +0 -23
- package/src/lib/inputs/input-time/input-time.component.scss +0 -0
- package/src/lib/inputs/input-time/input-time.component.ts +0 -20
- package/src/lib/inputs/kvinputs.module.ts +0 -64
- package/src/lib/inputs/multi-select/multi-select.component.html +0 -28
- package/src/lib/inputs/multi-select/multi-select.component.scss +0 -8
- package/src/lib/inputs/multi-select/multi-select.component.ts +0 -31
- package/src/lib/inputs/radio-group/radio-group.component.html +0 -19
- package/src/lib/inputs/radio-group/radio-group.component.scss +0 -15
- package/src/lib/inputs/radio-group/radio-group.component.ts +0 -50
- package/src/lib/inputs/switch/switch.component.html +0 -12
- package/src/lib/inputs/switch/switch.component.scss +0 -3
- package/src/lib/inputs/switch/switch.component.ts +0 -30
- package/src/lib/keevo-components.module.ts +0 -50
- package/src/lib/label/label.component.html +0 -6
- package/src/lib/label/label.component.scss +0 -9
- package/src/lib/label/label.component.spec.ts +0 -23
- package/src/lib/label/label.component.ts +0 -13
- package/src/lib/label/label.module.ts +0 -18
- package/src/lib/loader/kvloader.module.ts +0 -17
- package/src/lib/loader/loader.component.html +0 -1
- package/src/lib/loader/loader.component.ts +0 -14
- package/src/lib/loader/loader.service.ts +0 -26
- package/src/lib/login/kvlogin.module.ts +0 -28
- package/src/lib/login/login.component.html +0 -108
- package/src/lib/login/login.component.scss +0 -48
- package/src/lib/login/login.component.spec.ts +0 -23
- package/src/lib/login/login.component.ts +0 -65
- package/src/lib/menu/kvmenu.module.ts +0 -27
- package/src/lib/menu/menu.component.html +0 -342
- package/src/lib/menu/menu.component.scss +0 -210
- package/src/lib/menu/menu.component.spec.ts +0 -23
- package/src/lib/menu/menu.component.ts +0 -246
- package/src/lib/orgchart/orgchart.component.html +0 -58
- package/src/lib/orgchart/orgchart.component.scss +0 -21
- package/src/lib/orgchart/orgchart.component.ts +0 -118
- package/src/lib/orgchart/orgchart.module.ts +0 -14
- package/src/lib/page-form/kv-page-form.module.ts +0 -22
- package/src/lib/page-form/page-form.component.html +0 -57
- package/src/lib/page-form/page-form.component.scss +0 -72
- package/src/lib/page-form/page-form.component.spec.ts +0 -28
- package/src/lib/page-form/page-form.component.ts +0 -121
- package/src/lib/picklist/kvpicklist.module.ts +0 -20
- package/src/lib/picklist/picklist.component.html +0 -17
- package/src/lib/picklist/picklist.component.scss +0 -0
- package/src/lib/picklist/picklist.component.spec.ts +0 -26
- package/src/lib/picklist/picklist.component.ts +0 -27
- package/src/lib/pipes/codigofile.pipe.ts +0 -15
- package/src/lib/pipes/cpfcnpj.pipe.ts +0 -21
- package/src/lib/pipes/pipes.module.ts +0 -22
- package/src/lib/pipes/telefone.pipe.ts +0 -38
- package/src/lib/styles-components.scss +0 -11
- package/src/lib/table/kvtable.module.ts +0 -22
- package/src/lib/table/table.component.html +0 -473
- package/src/lib/table/table.component.scss +0 -240
- package/src/lib/table/table.component.spec.ts +0 -28
- package/src/lib/table/table.component.ts +0 -546
- package/src/lib/tree-table/kv-treetable.component.html +0 -649
- package/src/lib/tree-table/kv-treetable.component.scss +0 -315
- package/src/lib/tree-table/kv-treetable.component.ts +0 -390
- package/src/lib/tree-table/kv-treetable.module.ts +0 -18
- package/src/lib/tree-view/kvtree-view.module.ts +0 -19
- package/src/lib/tree-view/tree-view.component.html +0 -9
- package/src/lib/tree-view/tree-view.component.scss +0 -0
- package/src/lib/tree-view/tree-view.component.spec.ts +0 -23
- package/src/lib/tree-view/tree-view.component.ts +0 -29
- package/src/lib/workspace/kvworkspace.module.ts +0 -29
- package/src/lib/workspace/workspace.component.html +0 -108
- package/src/lib/workspace/workspace.component.scss +0 -83
- package/src/lib/workspace/workspace.component.ts +0 -75
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { TreeTableComponent } from './kv-treetable.component';
|
|
4
|
-
import { PrimeNgModule } from '../api/modules/primeng.module';
|
|
5
|
-
import { FormsModule } from '@angular/forms';
|
|
6
|
-
import { KvButtonsModule } from '../buttons/kvbutton.module';
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [
|
|
10
|
-
CommonModule,
|
|
11
|
-
PrimeNgModule,
|
|
12
|
-
FormsModule,
|
|
13
|
-
KvButtonsModule
|
|
14
|
-
],
|
|
15
|
-
declarations: [TreeTableComponent],
|
|
16
|
-
exports: [TreeTableComponent]
|
|
17
|
-
})
|
|
18
|
-
export class KVTreeTableModule { }
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { TreeViewComponent } from './tree-view.component';
|
|
4
|
-
import { PrimeNgModule } from '../api/modules/primeng.module';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@NgModule({
|
|
8
|
-
declarations: [
|
|
9
|
-
TreeViewComponent
|
|
10
|
-
],
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
PrimeNgModule
|
|
14
|
-
],
|
|
15
|
-
exports: [
|
|
16
|
-
TreeViewComponent
|
|
17
|
-
],
|
|
18
|
-
})
|
|
19
|
-
export class KvtreeViewModule { }
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { TreeViewComponent } from './tree-view.component';
|
|
4
|
-
|
|
5
|
-
describe('TreeViewComponent', () => {
|
|
6
|
-
let component: TreeViewComponent;
|
|
7
|
-
let fixture: ComponentFixture<TreeViewComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ TreeViewComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(TreeViewComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { TreeNode } from 'primeng/api';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'kv-tree-view',
|
|
6
|
-
templateUrl: './tree-view.component.html',
|
|
7
|
-
styleUrls: ['./tree-view.component.scss']
|
|
8
|
-
})
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export class TreeViewComponent implements OnInit {
|
|
12
|
-
|
|
13
|
-
@Input() selectedFiles!: TreeNode[] | undefined;
|
|
14
|
-
|
|
15
|
-
@Input() selectionMode: string = 'checkbox';
|
|
16
|
-
@Input() treeViewData!: TreeNode[];
|
|
17
|
-
|
|
18
|
-
@Output() selectedItems: EventEmitter<any> = new EventEmitter();
|
|
19
|
-
|
|
20
|
-
constructor() { }
|
|
21
|
-
|
|
22
|
-
ngOnInit() {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
onSelectionChange() {
|
|
26
|
-
this.selectedItems.emit(this.selectedFiles)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
5
|
-
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
6
|
-
import { WorkspaceComponent } from './workspace.component';
|
|
7
|
-
import { KvButtonsModule } from "../buttons/kvbutton.module";
|
|
8
|
-
import { PrimeNgModule } from '../api/modules/primeng.module';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
declarations: [
|
|
14
|
-
WorkspaceComponent
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
WorkspaceComponent
|
|
18
|
-
],
|
|
19
|
-
imports: [
|
|
20
|
-
CommonModule,
|
|
21
|
-
PrimeNgModule,
|
|
22
|
-
ReactiveFormsModule,
|
|
23
|
-
ProgressSpinnerModule,
|
|
24
|
-
AutoCompleteModule,
|
|
25
|
-
FormsModule,
|
|
26
|
-
KvButtonsModule
|
|
27
|
-
]
|
|
28
|
-
})
|
|
29
|
-
export class KvWorkspaceModule { }
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
<div *ngIf="visivel" [style]="styleBackground" class="h-screen flex justify-content-center align-items-center login-container flex-column">
|
|
2
|
-
<div id="card-container"
|
|
3
|
-
class="flex flex-column justify-content-around card-login formgrid p-fluid col-12 w-10 lg:w-7">
|
|
4
|
-
<div class="field col-12 flex justify-content-center mb-4">
|
|
5
|
-
<h1 class="text-6xl text-blue-900" id="logo">{{nomeSistema}}</h1>
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<!-- INÍCIO DO WORKSPACE DE CONTABILIDADE (MASTERS) -->
|
|
10
|
-
<div *ngIf="!masterSelecionada" class="col-12 z-5">
|
|
11
|
-
<div class="formgrid p-fluid field col-12 flex flex-column align-items-center z-5">
|
|
12
|
-
<div class="field col-6 text-lg">
|
|
13
|
-
Olá <span class="font-bold">{{nomeUsuario}},</span> bem vindo (a).
|
|
14
|
-
</div>
|
|
15
|
-
<div class="field col-6 text-lg">
|
|
16
|
-
Escolha qual <span class="font-bold">Workspace</span> você deseja
|
|
17
|
-
<span class="font-bold">acessar</span>:
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div class="formgrid p-fluid field col-12 flex flex-column align-items-center z-5">
|
|
22
|
-
<div id="master-container"
|
|
23
|
-
class="field col-7 flex gap-2 justify-content-center flex-wrap max-h-21rem overflow-x-auto z-5" >
|
|
24
|
-
|
|
25
|
-
<div [pTooltip]="master.razaosocial" id="master-card" *ngFor="let master of masters"
|
|
26
|
-
|
|
27
|
-
class="text-overflow-ellipsis overflow-hidden w-10rem h-10rem flex flex-column align-items-center justify-content-between text-center p-3 gap-2 border-card">
|
|
28
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="23" viewBox="0 0 25 23" fill="#0E4F82">
|
|
29
|
-
<path
|
|
30
|
-
d="M20 15.3333H17.5V17.8889H20M20 10.2222H17.5V12.7778H20M22.5 20.4444H12.5V17.8889H15V15.3333H12.5V12.7778H15V10.2222H12.5V7.66667H22.5M10 5.11111H7.5V2.55556H10M10 10.2222H7.5V7.66667H10M10 15.3333H7.5V12.7778H10M10 20.4444H7.5V17.8889H10M5 5.11111H2.5V2.55556H5M5 10.2222H2.5V7.66667H5M5 15.3333H2.5V12.7778H5M5 20.4444H2.5V17.8889H5M12.5 5.11111V0H0V23H25V5.11111H12.5Z"
|
|
31
|
-
fill="#0E4F82" />
|
|
32
|
-
</svg>
|
|
33
|
-
|
|
34
|
-
<div class="text-lg text-blue-800 text-overflow-ellipsis overflow-hidden h-3rem w-full text-center font-semibold">
|
|
35
|
-
{{ master.razaosocial.split(' ')[0] + ' ' + master.razaosocial.split(' ')[1] || master.razaosocial }}
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<kv-button-personalize color="bg-blue-900" label="Acessar" (onClick)="selecionarMaster(master)" ></kv-button-personalize>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<!-- FIM DO WORKSPACE DE CONTABILIDADE (MASTERS) -->
|
|
44
|
-
|
|
45
|
-
<!-- INÍCIO DO WORKSPACE EMPRESA -->
|
|
46
|
-
<div *ngIf="masterSelecionada && !empresaSelecionada" class="col-12 z-5">
|
|
47
|
-
<div class="formgrid p-fluid field col-12 flex flex-column align-items-center z-5">
|
|
48
|
-
|
|
49
|
-
<div class="col-8 flex xl:flex-row flex-column p-0 border-card border-round-2xl justify-content-between z-5">
|
|
50
|
-
|
|
51
|
-
<div class="flex flex-column xl:flex-row w-full xl:w-9">
|
|
52
|
-
<div class="flex border-round-left-2xl bg-white1 p-3 flex align-items-center font-semibold m-0 xl:w-4 w-full z-5">
|
|
53
|
-
Workspace
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="gap-2 p-3 flex align-items-center m-0 xl:w-7 sm:w-full"
|
|
57
|
-
[pTooltip]="masterSelecionada.razaosocial">
|
|
58
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="23" viewBox="0 0 25 23" fill="#0E4F82">
|
|
59
|
-
<path
|
|
60
|
-
d="M20 15.3333H17.5V17.8889H20M20 10.2222H17.5V12.7778H20M22.5 20.4444H12.5V17.8889H15V15.3333H12.5V12.7778H15V10.2222H12.5V7.66667H22.5M10 5.11111H7.5V2.55556H10M10 10.2222H7.5V7.66667H10M10 15.3333H7.5V12.7778H10M10 20.4444H7.5V17.8889H10M5 5.11111H2.5V2.55556H5M5 10.2222H2.5V7.66667H5M5 15.3333H2.5V12.7778H5M5 20.4444H2.5V17.8889H5M12.5 5.11111V0H0V23H25V5.11111H12.5Z"
|
|
61
|
-
fill="#0E4F82" />
|
|
62
|
-
</svg>
|
|
63
|
-
|
|
64
|
-
<span class="w-full white-space-nowrap overflow-hidden text-overflow-ellipsis">{{masterSelecionada.razaosocial}}</span>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
|
|
68
|
-
<div class="bg-white2 border-round-right-2xl p-3 flex align-items-center cursor-pointer m-0 xl:w-1 w-full"(click)="voltar()">
|
|
69
|
-
<i class="pi pi-arrow-left"></i>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<div class="formgrid p-fluid field col-12 flex flex-column align-items-center">
|
|
75
|
-
|
|
76
|
-
<div class="grid formgrid col-10 md:col-7 md:col-6 p-fluid flex align-items-center">
|
|
77
|
-
<span class="field p-0 col-12 xl:col-6 font-semibold ">Selecione a empresa</span>
|
|
78
|
-
<div class="field p-0 col-12 xl:col-6">
|
|
79
|
-
<span class="p-input-icon-left">
|
|
80
|
-
<i class="pi pi-search"></i>
|
|
81
|
-
<input type="text" pInputText (ngModelChange)="filtrarEmpresa($event)" [(ngModel)]="txtPesquisa" />
|
|
82
|
-
</span>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<div id="master-container" class="field mt-3 relative z-5 col-10 md:col-7 flex gap-2 justify-content-center flex-wrap max-h-15rem overflow-x-auto" >
|
|
87
|
-
|
|
88
|
-
<div class="grid formgrid col-12 p-fluid border-bottom-1 border-300" *ngFor="let empresa of empresas" >
|
|
89
|
-
<span [pTooltip]="empresa.nomeempresa || empresa.nomefantasia" class="field md:col-10 col-12 flex gap-1">
|
|
90
|
-
<span class="text-base white-space-nowrap overflow-hidden text-overflow-ellipsis">{{empresa.nomeempresa || empresa.nomefantasia }}</span>
|
|
91
|
-
</span>
|
|
92
|
-
|
|
93
|
-
<div class="field md:col-2 col-12 bg-blue-900 flex align-items-center justify-content-center py-2 px-2 col border-round-md cursor-pointer" (click)="selecionarEmpresa(empresa)">
|
|
94
|
-
<i class="pi pi-angle-right text-xl text-white"></i>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
<!-- FIM DO WORKSPACE EMPRESA -->
|
|
102
|
-
|
|
103
|
-
<div class=" lg:block hidden w-full col-12 grid formgrid pointer-events-none ">
|
|
104
|
-
<div class="field col-12 flex justify-content-end" id="personagens-imagem"><img [src]="imgPersonagens" class="field w-full col-12" alt=""></div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
<img [src]="imgLogoKeevo" class="w-9rem mt-6" />
|
|
108
|
-
</div>
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
margin: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
::ng-deep body {
|
|
6
|
-
margin: 0px !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.login-container {
|
|
10
|
-
background-repeat: no-repeat;
|
|
11
|
-
background-size:cover;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
#card-container{
|
|
15
|
-
background: #fff;
|
|
16
|
-
border-radius:14px;
|
|
17
|
-
-webkit-border-radius:14px;
|
|
18
|
-
-moz-border-radius:14px;
|
|
19
|
-
-ms-border-radius:14px;
|
|
20
|
-
-o-border-radius:14px;
|
|
21
|
-
-webkit-border-radius: 14px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
#logo{
|
|
25
|
-
background: linear-gradient(97deg, #002542 5.7%, #115A94 102.3%);
|
|
26
|
-
background-clip: text;
|
|
27
|
-
-webkit-background-clip: text;
|
|
28
|
-
-webkit-text-fill-color: transparent;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.border-card{
|
|
32
|
-
border-radius: 12px;
|
|
33
|
-
border: 1px dashed #2770E8;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
#master-card h1{
|
|
37
|
-
color: #26406B;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.bg-white1{
|
|
41
|
-
background-color: #f1f1f1;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.bg-white2{
|
|
45
|
-
background-color: #f2f3f5;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
#personagens-imagem{
|
|
49
|
-
width: 60% !important;
|
|
50
|
-
position: absolute;
|
|
51
|
-
transform: translate(-2%, -91%);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
#master-container {
|
|
55
|
-
--sb-track-color: #f1f1f1;
|
|
56
|
-
--sb-thumb-color: #183462;
|
|
57
|
-
--sb-size: 5px;
|
|
58
|
-
|
|
59
|
-
scrollbar-color: var(--sb-thumb-color)
|
|
60
|
-
var(--sb-track-color);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
#master-container::-webkit-scrollbar {
|
|
64
|
-
width: var(--sb-size)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
#master-container::-webkit-scrollbar-track {
|
|
68
|
-
background: var(--sb-track-color);
|
|
69
|
-
border-radius: 40px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
#master-container::-webkit-scrollbar-thumb {
|
|
73
|
-
background: var(--sb-thumb-color);
|
|
74
|
-
border-radius: 40px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
span,
|
|
80
|
-
.login-container {
|
|
81
|
-
font-size: 15px !important;
|
|
82
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
|
|
83
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { ImagensService } from '../api/services/imagens.service';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'kv-workspace',
|
|
6
|
-
templateUrl: './workspace.component.html',
|
|
7
|
-
styleUrls: ['./workspace.component.scss'],
|
|
8
|
-
})
|
|
9
|
-
export class WorkspaceComponent implements OnInit {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@Input() nomeSistema: string = 'Nome do Sistema';
|
|
13
|
-
@Input() nomeUsuario: string = 'Nome do Usuário Logado';
|
|
14
|
-
@Input() masters!: any[]; // Lista das contabilidades e suas respectivas empresas
|
|
15
|
-
@Input() somenteMaster: boolean = false; // Se for apenas seleção de contabilidade
|
|
16
|
-
|
|
17
|
-
@Output() onGetMasterSelecionada = new EventEmitter<any>();
|
|
18
|
-
@Output() onGetEmpresaSelecionada = new EventEmitter<any>();
|
|
19
|
-
|
|
20
|
-
empresas!: any[];
|
|
21
|
-
masterSelecionada!: any;
|
|
22
|
-
empresaSelecionada!: any;
|
|
23
|
-
|
|
24
|
-
visivel = true;
|
|
25
|
-
txtPesquisa = '';
|
|
26
|
-
imgPersonagens = '';
|
|
27
|
-
imgLogoKeevo = '';
|
|
28
|
-
styleBackground = '';
|
|
29
|
-
|
|
30
|
-
constructor() {}
|
|
31
|
-
|
|
32
|
-
ngOnInit(): void {
|
|
33
|
-
this.imgPersonagens = ImagensService.getPersonagensWorkSpace();
|
|
34
|
-
this.imgLogoKeevo = ImagensService.getLogoKeevo();
|
|
35
|
-
this.styleBackground = "background-image: url(" + ImagensService.getBackgroundWorkSpace() + ");";
|
|
36
|
-
this.verificaMasterUnica();
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
verificaMasterUnica(){
|
|
40
|
-
if(this.masters.length == 1) this.selecionarMaster(this.masters[0]);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
selecionarMaster(master: any) {
|
|
44
|
-
this.onGetMasterSelecionada.emit(master);
|
|
45
|
-
this.masterSelecionada = master;
|
|
46
|
-
|
|
47
|
-
if (this.somenteMaster)
|
|
48
|
-
this.visivel = false;
|
|
49
|
-
else {
|
|
50
|
-
this.empresas = master.empresas;
|
|
51
|
-
this.verificaEmpresaUnica();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
verificaEmpresaUnica(){
|
|
56
|
-
if(this.empresas && this.empresas.length == 1) this.selecionarEmpresa(this.empresas[0]);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
selecionarEmpresa(empresa: any) {
|
|
60
|
-
this.onGetEmpresaSelecionada.emit(empresa);
|
|
61
|
-
this.empresaSelecionada = empresa;
|
|
62
|
-
this.visivel = false;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
voltar() {
|
|
66
|
-
this.empresaSelecionada = undefined;
|
|
67
|
-
this.masterSelecionada = undefined;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
filtrarEmpresa(event: any) {
|
|
71
|
-
this.empresas = this.masterSelecionada.empresas.filter((e: any) =>
|
|
72
|
-
e.nomeempresa.toLowerCase().includes(event.toLowerCase())
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
}
|
package/tsconfig.lib.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/lib",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"inlineSources": true,
|
|
9
|
-
"types": []
|
|
10
|
-
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"**/*.spec.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|
package/tsconfig.lib.prod.json
DELETED
package/tsconfig.spec.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"**/*.spec.ts",
|
|
12
|
-
"**/*.d.ts"
|
|
13
|
-
]
|
|
14
|
-
}
|