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,82 +0,0 @@
|
|
|
1
|
-
import { Injectable } from "@angular/core";
|
|
2
|
-
import { ConfirmationService, MessageService } from "primeng/api";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export interface QuestionConfig {
|
|
6
|
-
type?: 'question' | 'alert';
|
|
7
|
-
message: string;
|
|
8
|
-
accept?: Function;
|
|
9
|
-
reject?: Function;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface DialogConfig {
|
|
13
|
-
type: 'info' | 'alert' | 'error';
|
|
14
|
-
message: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@Injectable({
|
|
18
|
-
providedIn: 'root',
|
|
19
|
-
})
|
|
20
|
-
export class NotificationService {
|
|
21
|
-
constructor(
|
|
22
|
-
private readonly confirmationService: ConfirmationService,
|
|
23
|
-
private readonly messageService: MessageService,
|
|
24
|
-
) { }
|
|
25
|
-
|
|
26
|
-
question(config: QuestionConfig) {
|
|
27
|
-
this.confirmationService.confirm({
|
|
28
|
-
header: config.type === 'alert' ? 'Atenção' : 'Confirmação',
|
|
29
|
-
icon: `pi ${config.type === 'alert' ? 'pi-exclamation-triangle' : 'pi-question-circle'}`,
|
|
30
|
-
acceptLabel: 'Sim',
|
|
31
|
-
acceptButtonStyleClass: 'p-button-success',
|
|
32
|
-
rejectLabel: 'Não',
|
|
33
|
-
rejectButtonStyleClass: 'p-button-secondary',
|
|
34
|
-
...config,
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
dialog(config: DialogConfig) {
|
|
39
|
-
let dialogHeader: string;
|
|
40
|
-
let dialogIcon: string;
|
|
41
|
-
|
|
42
|
-
switch (config.type) {
|
|
43
|
-
case 'alert':
|
|
44
|
-
dialogHeader = 'Atenção';
|
|
45
|
-
dialogIcon = 'pi pi-exclamation-triangle';
|
|
46
|
-
break;
|
|
47
|
-
case 'info':
|
|
48
|
-
dialogHeader = 'Info';
|
|
49
|
-
dialogIcon = 'pi pi-info-circle';
|
|
50
|
-
break;
|
|
51
|
-
case 'error':
|
|
52
|
-
dialogHeader = 'Erro';
|
|
53
|
-
dialogIcon = 'pi pi-times-circle';
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
this.confirmationService.confirm({
|
|
58
|
-
header: dialogHeader,
|
|
59
|
-
icon: dialogIcon,
|
|
60
|
-
acceptLabel: 'Ok',
|
|
61
|
-
acceptButtonStyleClass: 'p-button-success',
|
|
62
|
-
rejectVisible: false,
|
|
63
|
-
message: config.message,
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
toastSuccess(message: string) {
|
|
68
|
-
this.messageService.add({ severity: 'success', summary: 'Sucesso', detail: message });
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
toastInfo(message: string) {
|
|
72
|
-
this.messageService.add({ severity: 'info', summary: 'Info', detail: message });
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
toastWarn(message: string) {
|
|
76
|
-
this.messageService.add({ severity: 'warn', summary: 'Aviso', detail: message });
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
toastError(message: string) {
|
|
80
|
-
this.messageService.add({ severity: 'error', summary: 'Erro', detail: message });
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable({
|
|
4
|
-
providedIn: 'root'
|
|
5
|
-
})
|
|
6
|
-
export class ObjectService {
|
|
7
|
-
static filterObject(array: any, propertyName: string, value: any) {
|
|
8
|
-
return array.filter((e: any) => {
|
|
9
|
-
return e[propertyName] === value;
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
static findObject(array: any, propertyName: string, value: any) {
|
|
13
|
-
return array.find((e: any) => {
|
|
14
|
-
return e[propertyName] === value;
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static getProperty<T>(obj: T, propertyName: string) {
|
|
18
|
-
return obj[(propertyName as keyof typeof obj)];
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BaseComponentButton } from '../../api/base-components/base-component-button';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'kv-button-personalize',
|
|
6
|
-
templateUrl: './button-personalize.component.html',
|
|
7
|
-
styleUrls: ['./button-personalize.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class ButtonPersonalizeComponent extends BaseComponentButton {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<p-menu #menu [model]="items" appendTo="body" [popup]="true" (onShow)="handleShow()" (onHide)="handleHide()"></p-menu>
|
|
2
|
-
<button
|
|
3
|
-
pButton
|
|
4
|
-
pRipple
|
|
5
|
-
class="btn-success border-green-500"
|
|
6
|
-
[icon]="icon"
|
|
7
|
-
iconPos="right"
|
|
8
|
-
[label]="label"
|
|
9
|
-
[loading]="loading"
|
|
10
|
-
[disabled]="disabled"
|
|
11
|
-
(click)="menu.toggle($event)">
|
|
12
|
-
</button>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { BaseComponentButton } from '../../api/base-components/base-component-button';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'kv-button-popup',
|
|
7
|
-
templateUrl: './button-popup.component.html',
|
|
8
|
-
styleUrls: ['./button-popup.component.scss']
|
|
9
|
-
})
|
|
10
|
-
export class ButtonPopupComponent extends BaseComponentButton {
|
|
11
|
-
|
|
12
|
-
@Input() items: MenuItem[] = [];
|
|
13
|
-
|
|
14
|
-
override icon: string = 'pi pi-chevron-down';
|
|
15
|
-
|
|
16
|
-
constructor() {
|
|
17
|
-
super();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
handleShow() {
|
|
21
|
-
this.rotate();
|
|
22
|
-
}
|
|
23
|
-
handleHide() {
|
|
24
|
-
this.rotate();
|
|
25
|
-
}
|
|
26
|
-
rotate() {
|
|
27
|
-
this.icon = this.icon === 'pi pi-chevron-down'? 'pi pi-chevron-up': 'pi pi-chevron-down';
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BaseComponentButton } from '../../api/base-components/base-component-button';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'kv-button-secondary',
|
|
6
|
-
templateUrl: './button-secondary.component.html',
|
|
7
|
-
styleUrls: ['./button-secondary.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class ButtonSecondaryComponent extends BaseComponentButton {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BaseComponentButton } from '../../api/base-components/base-component-button';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'kv-button-success',
|
|
6
|
-
templateUrl: './button-success.component.html',
|
|
7
|
-
styleUrls: ['./button-success.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class ButtonSuccessComponent extends BaseComponentButton {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { ButtonSecondaryComponent } from './button-secondary/button-secondary.component';
|
|
3
|
-
import { ButtonSuccessComponent } from './button-success/button-success.component';
|
|
4
|
-
import { PrimeNgModule } from '../api/modules/primeng.module';
|
|
5
|
-
import { ButtonPersonalizeComponent } from './button-personalize/button-personalize.component';
|
|
6
|
-
import { ButtonPopupComponent } from './button-popup/button-popup.component';
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
declarations: [
|
|
10
|
-
ButtonSecondaryComponent,
|
|
11
|
-
ButtonSuccessComponent,
|
|
12
|
-
ButtonPersonalizeComponent,
|
|
13
|
-
ButtonPopupComponent
|
|
14
|
-
],
|
|
15
|
-
imports: [
|
|
16
|
-
PrimeNgModule
|
|
17
|
-
],
|
|
18
|
-
exports: [
|
|
19
|
-
ButtonSecondaryComponent,
|
|
20
|
-
ButtonSuccessComponent,
|
|
21
|
-
ButtonPersonalizeComponent,
|
|
22
|
-
ButtonPopupComponent
|
|
23
|
-
]
|
|
24
|
-
})
|
|
25
|
-
export class KvButtonsModule { }
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<div class="card h-full">
|
|
2
|
-
<div class="flex align-items-start justify-content-between mb-6">
|
|
3
|
-
<label class="text-900 text-xl font-semibold">{{ title }}</label>
|
|
4
|
-
<div>
|
|
5
|
-
<p-dropdown
|
|
6
|
-
*ngIf="showDatas"
|
|
7
|
-
[options]="periodos"
|
|
8
|
-
[(ngModel)]="selectedData"
|
|
9
|
-
optionLabel="label"
|
|
10
|
-
optionValue="value"
|
|
11
|
-
styleClass="w-15rem"
|
|
12
|
-
(onChange)="selectionValue($event)">
|
|
13
|
-
</p-dropdown>
|
|
14
|
-
<button
|
|
15
|
-
*ngIf="showMenu"
|
|
16
|
-
pButton
|
|
17
|
-
pRipple
|
|
18
|
-
icon="pi pi-ellipsis-h"
|
|
19
|
-
class="p-button-rounded p-button-secondary"
|
|
20
|
-
style="margin-left: 10px;"
|
|
21
|
-
(click)="menu.toggle($event)">
|
|
22
|
-
</button>
|
|
23
|
-
<p-menu
|
|
24
|
-
#menu
|
|
25
|
-
[popup]="true"
|
|
26
|
-
appendTo="body"
|
|
27
|
-
[model]="menuItems">
|
|
28
|
-
</p-menu>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<p-chart
|
|
32
|
-
#chart
|
|
33
|
-
[type]="type"
|
|
34
|
-
[data]="data"
|
|
35
|
-
[options]="options"
|
|
36
|
-
height="300px">
|
|
37
|
-
</p-chart>
|
|
38
|
-
</div>
|
|
File without changes
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* tslint:disable:no-unused-variable */
|
|
2
|
-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
3
|
-
import { By } from '@angular/platform-browser';
|
|
4
|
-
import { DebugElement } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
import { ChartComponent } from './chart.component';
|
|
7
|
-
|
|
8
|
-
describe('ChartComponent', () => {
|
|
9
|
-
let component: ChartComponent;
|
|
10
|
-
let fixture: ComponentFixture<ChartComponent>;
|
|
11
|
-
|
|
12
|
-
beforeEach(async(() => {
|
|
13
|
-
TestBed.configureTestingModule({
|
|
14
|
-
declarations: [ ChartComponent ]
|
|
15
|
-
})
|
|
16
|
-
.compileComponents();
|
|
17
|
-
}));
|
|
18
|
-
|
|
19
|
-
beforeEach(() => {
|
|
20
|
-
fixture = TestBed.createComponent(ChartComponent);
|
|
21
|
-
component = fixture.componentInstance;
|
|
22
|
-
fixture.detectChanges();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('should create', () => {
|
|
26
|
-
expect(component).toBeTruthy();
|
|
27
|
-
});
|
|
28
|
-
});
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { ChartConfig } from '../api/components/chart/chart.config';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { UIChart } from 'primeng/chart';
|
|
5
|
-
|
|
6
|
-
export const PeriodosChart = {
|
|
7
|
-
Ultimos180Dias: -180,
|
|
8
|
-
Ultimos120Dias: -120,
|
|
9
|
-
Ultimos90Dias: -90,
|
|
10
|
-
Ultimos60Dias: -60,
|
|
11
|
-
Ultimos45Dias: -45,
|
|
12
|
-
Ultimos30Dias: -30,
|
|
13
|
-
Ultimos15Dias: -15,
|
|
14
|
-
Ultimos7Dias: -7,
|
|
15
|
-
DataAtual: 0,
|
|
16
|
-
Proximos7Dias: 7,
|
|
17
|
-
Proximos15Dias: 15,
|
|
18
|
-
Proximos30Dias: 30,
|
|
19
|
-
Proximos45Dias: 45,
|
|
20
|
-
Proximos60Dias: 60,
|
|
21
|
-
Proximos90Dias: 90,
|
|
22
|
-
Proximos120Dias: 120,
|
|
23
|
-
Proximos180Dias: 180
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@Component({
|
|
27
|
-
selector: 'kv-chart',
|
|
28
|
-
templateUrl: './chart.component.html',
|
|
29
|
-
styleUrls: ['./chart.component.scss', '../styles-components.scss']
|
|
30
|
-
})
|
|
31
|
-
export class ChartComponent implements OnInit {
|
|
32
|
-
|
|
33
|
-
chartConfig: ChartConfig = {
|
|
34
|
-
labels: [],
|
|
35
|
-
datasets: [],
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
periodosDisponiveis = [
|
|
39
|
-
{ label: 'Últimos 180 dias', value: -180 },
|
|
40
|
-
{ label: 'Últimos 120 dias', value: -120 },
|
|
41
|
-
{ label: 'Últimos 90 dias', value: -90 },
|
|
42
|
-
{ label: 'Últimos 60 dias', value: -60 },
|
|
43
|
-
{ label: 'Últimos 45 dias', value: -45 },
|
|
44
|
-
{ label: 'Últimos 30 dias', value: -30 },
|
|
45
|
-
{ label: 'Últimos 15 dias', value: -15 },
|
|
46
|
-
{ label: 'Últimos 7 dias', value: -7 },
|
|
47
|
-
{ label: 'Data atual', value: 0 },
|
|
48
|
-
{ label: 'Próximos 7 dias', value: 7 },
|
|
49
|
-
{ label: 'Próximos 15 dias', value: 15 },
|
|
50
|
-
{ label: 'Próximos 30 dias', value: 30 },
|
|
51
|
-
{ label: 'Próximos 45 dias', value: 45 },
|
|
52
|
-
{ label: 'Próximos 60 dias', value: 60 },
|
|
53
|
-
{ label: 'Próximos 90 dias', value: 90 },
|
|
54
|
-
{ label: 'Próximos 120 dias', value: 120 },
|
|
55
|
-
{ label: 'Próximos 180 dias', value: 180 }
|
|
56
|
-
];
|
|
57
|
-
|
|
58
|
-
@Input() title!: string;
|
|
59
|
-
@Input() type!: 'doughnut' | 'pie' | 'bar' | 'line';
|
|
60
|
-
@Input() indexAxis!: 'y' | 'x';
|
|
61
|
-
@Input() displayLegend!: boolean;
|
|
62
|
-
|
|
63
|
-
@Input() showDatas: boolean = true;
|
|
64
|
-
@Input() showMenu: boolean = false;
|
|
65
|
-
@Input() selectedData!: number;
|
|
66
|
-
@Input() enablePeriodos: number[] = [];
|
|
67
|
-
|
|
68
|
-
data: any;
|
|
69
|
-
options: any;
|
|
70
|
-
|
|
71
|
-
periodos: any[] = [];
|
|
72
|
-
|
|
73
|
-
menuItems: MenuItem[] = [];
|
|
74
|
-
|
|
75
|
-
@Output() onPrintReport: EventEmitter<any> = new EventEmitter();
|
|
76
|
-
@Output() onSelectionValue: EventEmitter<any> = new EventEmitter();
|
|
77
|
-
@ViewChild('chart') chart?: UIChart;
|
|
78
|
-
|
|
79
|
-
constructor() { }
|
|
80
|
-
|
|
81
|
-
configureGraphic() {
|
|
82
|
-
this.data = this.chartConfig;
|
|
83
|
-
this.configOptions();
|
|
84
|
-
this.chart?.reinit();
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private configOptions(): void {
|
|
88
|
-
this.options = {
|
|
89
|
-
indexAxis: this.indexAxis || 'x',
|
|
90
|
-
maintainAspectRatio: false,
|
|
91
|
-
aspectRatio: 0.8,
|
|
92
|
-
animation: {
|
|
93
|
-
duration: 0
|
|
94
|
-
},
|
|
95
|
-
plugins: {
|
|
96
|
-
legend: {
|
|
97
|
-
display: this.displayLegend || false,
|
|
98
|
-
labels: {
|
|
99
|
-
color: '#1e293b',
|
|
100
|
-
usePointStyle: true,
|
|
101
|
-
font: {
|
|
102
|
-
weight: 700,
|
|
103
|
-
},
|
|
104
|
-
padding: 28
|
|
105
|
-
},
|
|
106
|
-
position: 'bottom'
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
this.menuItems = [
|
|
112
|
-
{ label: 'Imprimir relatório', command: () => this.printReport() }
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private initDatas() {
|
|
117
|
-
this.periodosDisponiveis.map((el) => {
|
|
118
|
-
if (this.enablePeriodos.includes(el.value)) {
|
|
119
|
-
this.periodos.push(el);
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
ngOnInit() {
|
|
125
|
-
this.initDatas();
|
|
126
|
-
this.configureGraphic();
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
printReport() {
|
|
130
|
-
this.onPrintReport.emit();
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
public reInit(config: any) {
|
|
134
|
-
this.chartConfig = config;
|
|
135
|
-
this.configureGraphic();
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
protected selectionValue(event: any) {
|
|
139
|
-
this.onSelectionValue.emit(event);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FormsModule } from '@angular/forms';
|
|
2
|
-
import { PrimeNgModule } from '../api/modules/primeng.module';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { ChartComponent } from './chart.component';
|
|
5
|
-
import { NgModule } from "@angular/core";
|
|
6
|
-
|
|
7
|
-
@NgModule({
|
|
8
|
-
declarations: [
|
|
9
|
-
ChartComponent
|
|
10
|
-
],
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
PrimeNgModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
ChartComponent
|
|
18
|
-
]
|
|
19
|
-
})
|
|
20
|
-
export class KvChartModule { }
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Directive, Input, TemplateRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Directive({
|
|
4
|
-
selector: '[cTemplate]'
|
|
5
|
-
})
|
|
6
|
-
export class TemplateDirective {
|
|
7
|
-
@Input() type!: string;
|
|
8
|
-
@Input('cTemplate') name!: string;
|
|
9
|
-
|
|
10
|
-
constructor(public template: TemplateRef<any>) { }
|
|
11
|
-
|
|
12
|
-
getType(): string {
|
|
13
|
-
return this.name;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div class="field-checkbox">
|
|
2
|
-
<p-checkbox
|
|
3
|
-
[binary]="true"
|
|
4
|
-
[disabled]="disabled"
|
|
5
|
-
[label]="label"
|
|
6
|
-
[inputId]="componentId"
|
|
7
|
-
[(ngModel)]="value"
|
|
8
|
-
(onChange)="emitOnCheckChange($event)">
|
|
9
|
-
</p-checkbox>
|
|
10
|
-
<kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
|
|
11
|
-
</div>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
|
|
2
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
-
import { ComponentService } from '../../api/services/component.service';
|
|
4
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'kv-check',
|
|
9
|
-
templateUrl: './check.component.html',
|
|
10
|
-
styleUrls: ['./check.component.scss', '../../styles-components.scss'],
|
|
11
|
-
providers: ComponentProviders(CheckComponent),
|
|
12
|
-
})
|
|
13
|
-
export class CheckComponent extends BaseComponentInput<boolean> implements OnInit {
|
|
14
|
-
|
|
15
|
-
@Output() onCheckChange: EventEmitter<any> = new EventEmitter();
|
|
16
|
-
|
|
17
|
-
constructor(componentService: ComponentService) {
|
|
18
|
-
super(componentService);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
emitOnCheckChange(event: any) {
|
|
22
|
-
this.onCheckChange.emit(event);
|
|
23
|
-
}
|
|
24
|
-
}
|