keevo-components 1.8.38 → 1.8.39
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/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 -19
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -25
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -29
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -39
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -45
- 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 -144
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +78 -78
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +32 -32
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +31 -17
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +31 -31
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -17
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -17
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -39
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +92 -92
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -28
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +145 -145
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -26
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -35
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +26 -26
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +37 -37
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +88 -88
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +89 -89
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +29 -29
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -59
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -33
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +21 -21
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +42 -42
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -43
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -24
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +108 -108
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +44 -44
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +53 -53
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +34 -34
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -15
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -24
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +17 -17
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -28
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -29
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +52 -52
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -47
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +188 -188
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +47 -47
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +67 -67
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +31 -31
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +100 -100
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +24 -24
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +147 -147
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +38 -38
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +48 -48
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +32 -32
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -58
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -28
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +554 -554
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +36 -36
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +567 -567
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +34 -34
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +215 -215
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +28 -28
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +30 -30
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -28
- package/esm2022/lib/components/kv-treetable/kv-treetable.component.mjs +371 -371
- package/esm2022/lib/components/kv-treetable/kv-treetable.module.mjs +32 -32
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +178 -178
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +51 -51
- package/esm2022/public-api.mjs +169 -169
- package/fesm2022/keevo-components.mjs +5786 -5772
- 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 +11 -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 -10
- package/lib/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/api/pipes/codigofile.pipe.d.ts +7 -7
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -7
- package/lib/api/pipes/mask.pipe.d.ts +7 -7
- package/lib/api/pipes/pipes.module.d.ts +11 -11
- package/lib/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 -25
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +22 -22
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +10 -10
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +13 -7
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +13 -13
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -7
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -7
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -11
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +16 -16
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -9
- package/lib/components/kv-chart/kv-chart.component.d.ts +56 -56
- package/lib/components/kv-chart/{kvchart.module.d.ts → kv-chart.module.d.ts} +10 -10
- package/lib/components/kv-error/kv-error.component.d.ts +12 -12
- package/lib/components/kv-error/kv-error.module.d.ts +10 -10
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +11 -11
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +14 -14
- package/lib/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 -27
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -12
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -19
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -13
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +9 -9
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +16 -16
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -16
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -10
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +25 -25
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +15 -15
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +18 -18
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +14 -14
- package/lib/components/kv-label/kv-label.component.d.ts +7 -7
- package/lib/components/kv-label/kv-label.module.d.ts +8 -8
- package/lib/components/kv-loader/kv-loader.component.d.ts +8 -8
- package/lib/components/kv-loader/kv-loader.module.d.ts +9 -9
- package/lib/components/kv-loader/kv-loader.service.d.ts +10 -10
- package/lib/components/kv-login/kv-login.component.d.ts +30 -30
- package/lib/components/kv-login/kv-login.module.d.ts +13 -13
- package/lib/components/kv-menu/kv-menu.component.d.ts +61 -61
- package/lib/components/kv-menu/kv-menu.module.d.ts +13 -13
- package/lib/components/kv-modal/kv-modal.component.d.ts +20 -20
- package/lib/components/kv-modal/kv-modal.module.d.ts +10 -10
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +27 -27
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +9 -9
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +70 -70
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +11 -11
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +20 -20
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +10 -10
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -67
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -9
- package/lib/components/kv-table/kv-table.component.d.ts +113 -113
- package/lib/components/kv-table/kv-table.module.d.ts +11 -11
- package/lib/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 -12
- package/lib/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 -9
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +14 -14
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -9
- package/lib/components/kv-treetable/kv-treetable.component.d.ts +85 -85
- package/lib/components/kv-treetable/kv-treetable.module.d.ts +11 -11
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +46 -46
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +14 -14
- package/package.json +1 -1
- package/public-api.d.ts +165 -165
- package/esm2022/lib/components/kv-chart/kvchart.module.mjs +0 -32
@@ -1,34 +1,34 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
3
|
-
import { ComponentProviders } from '../../../api/helpers/component-providers';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "../../../api/services/component.service";
|
6
|
-
import * as i2 from "@angular/forms";
|
7
|
-
import * as i3 from "../../kv-error/kv-error.component";
|
8
|
-
import * as i4 from "primeng/inputswitch";
|
9
|
-
export class KvSwitchComponent extends BaseComponentInput {
|
10
|
-
constructor(componentService) {
|
11
|
-
super(componentService);
|
12
|
-
this.onSwitchChange = new EventEmitter();
|
13
|
-
}
|
14
|
-
ngOnInit() {
|
15
|
-
if (this.switchValue)
|
16
|
-
this.value = this.switchValue;
|
17
|
-
}
|
18
|
-
emitOnSwitchChange(event) {
|
19
|
-
this.onSwitchChange.emit(event);
|
20
|
-
}
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvSwitchComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvSwitchComponent, selector: "kv-switch", inputs: { readonly: "readonly", switchValue: "switchValue" }, outputs: { onSwitchChange: "onSwitchChange" }, providers: ComponentProviders(KvSwitchComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"center field-checkbox\">\n\n <p-inputSwitch\n [inputId]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"emitOnSwitchChange($event)\">\n </p-inputSwitch>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</div>\n", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] }); }
|
23
|
-
}
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvSwitchComponent, decorators: [{
|
25
|
-
type: Component,
|
26
|
-
args: [{ selector: 'kv-switch', providers: ComponentProviders(KvSwitchComponent), template: "<div class=\"center field-checkbox\">\n\n <p-inputSwitch\n [inputId]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"emitOnSwitchChange($event)\">\n </p-inputSwitch>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</div>\n", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
|
27
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { readonly: [{
|
28
|
-
type: Input
|
29
|
-
}], switchValue: [{
|
30
|
-
type: Input
|
31
|
-
}], onSwitchChange: [{
|
32
|
-
type: Output
|
33
|
-
}] } });
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
+
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
3
|
+
import { ComponentProviders } from '../../../api/helpers/component-providers';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "../../../api/services/component.service";
|
6
|
+
import * as i2 from "@angular/forms";
|
7
|
+
import * as i3 from "../../kv-error/kv-error.component";
|
8
|
+
import * as i4 from "primeng/inputswitch";
|
9
|
+
export class KvSwitchComponent extends BaseComponentInput {
|
10
|
+
constructor(componentService) {
|
11
|
+
super(componentService);
|
12
|
+
this.onSwitchChange = new EventEmitter();
|
13
|
+
}
|
14
|
+
ngOnInit() {
|
15
|
+
if (this.switchValue)
|
16
|
+
this.value = this.switchValue;
|
17
|
+
}
|
18
|
+
emitOnSwitchChange(event) {
|
19
|
+
this.onSwitchChange.emit(event);
|
20
|
+
}
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvSwitchComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvSwitchComponent, selector: "kv-switch", inputs: { readonly: "readonly", switchValue: "switchValue" }, outputs: { onSwitchChange: "onSwitchChange" }, providers: ComponentProviders(KvSwitchComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n (ngModelChange)=\"emitOnSwitchChange($event)\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["", "label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.KvErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] }); }
|
23
|
+
}
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvSwitchComponent, decorators: [{
|
25
|
+
type: Component,
|
26
|
+
args: [{ selector: 'kv-switch', providers: ComponentProviders(KvSwitchComponent), template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n (ngModelChange)=\"emitOnSwitchChange($event)\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
|
27
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { readonly: [{
|
28
|
+
type: Input
|
29
|
+
}], switchValue: [{
|
30
|
+
type: Input
|
31
|
+
}], onSwitchChange: [{
|
32
|
+
type: Output
|
33
|
+
}] } });
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3Ytc3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1zd2l0Y2gva3Ytc3dpdGNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWlucHV0cy9rdi1zd2l0Y2gva3Ytc3dpdGNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEVBQ1AsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbURBQW1ELENBQUM7QUFDdkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7Ozs7OztBQVk5RSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsa0JBQTJCO0lBT2hFLFlBQVksZ0JBQWtDO1FBQzVDLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBSGhCLG1CQUFjLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7SUFJakUsQ0FBQztJQUVRLFFBQVE7UUFDZixJQUFJLElBQUksQ0FBQyxXQUFXO1lBQ2xCLElBQUksQ0FBQyxLQUFLLEdBQUcsSUFB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RlbCldPVwidmFsdWVcIlxyXG4gICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcclxuICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJlbWl0T25Td2l0Y2hDaGFuZ2UoJGV2ZW50KVwiPlxyXG4gIDwvcC1pbnB1dFN3aXRjaD5cclxuICA8bGFiZWwgW2Zvcl09XCJjb21wb25lbnRJZFwiPnt7IGxhYmVsIH19PC9sYWJlbD5cclxuXHJcbiAgPGt2LWVycm9yIFtoYXNFcnJvcl09XCJoYXNDb250cm9sRXJyb3IoKVwiPnt7IGVycm9NZXNzYWdlKCkgfX08L2t2LWVycm9yPlxyXG48L2Rpdj5cclxuIl19
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class KvLabelComponent {
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLabelComponent, selector: "kv-label", inputs: { componentId: "componentId", label: "label" }, ngImport: i0, template: "<p class=\"m-0\">\n <label\n [for]=\"componentId\"\n class=\"label-style\"\n >{{ label }}</label>\n</p>", styles: ["::ng-deep .label-style{position:relative;left:1px;font-size:.8rem!important;padding-top:0rem;padding-bottom:0rem;font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important}\n"] }); }
|
6
|
-
}
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelComponent, decorators: [{
|
8
|
-
type: Component,
|
9
|
-
args: [{ selector: 'kv-label', template: "<p class=\"m-0\">\n <label\n [for]=\"componentId\"\n class=\"label-style\"\n >{{ label }}</label>\n</p>", styles: ["::ng-deep .label-style{position:relative;left:1px;font-size:.8rem!important;padding-top:0rem;padding-bottom:0rem;font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important}\n"] }]
|
10
|
-
}], propDecorators: { componentId: [{
|
11
|
-
type: Input
|
12
|
-
}], label: [{
|
13
|
-
type: Input
|
14
|
-
}] } });
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, Input } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class KvLabelComponent {
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLabelComponent, selector: "kv-label", inputs: { componentId: "componentId", label: "label" }, ngImport: i0, template: "<p class=\"m-0\">\r\n <label\r\n [for]=\"componentId\"\r\n class=\"label-style\"\r\n >{{ label }}</label>\r\n</p>", styles: ["::ng-deep .label-style{position:relative;left:1px;font-size:.8rem!important;padding-top:0rem;padding-bottom:0rem;font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important}\n"] }); }
|
6
|
+
}
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelComponent, decorators: [{
|
8
|
+
type: Component,
|
9
|
+
args: [{ selector: 'kv-label', template: "<p class=\"m-0\">\r\n <label\r\n [for]=\"componentId\"\r\n class=\"label-style\"\r\n >{{ label }}</label>\r\n</p>", styles: ["::ng-deep .label-style{position:relative;left:1px;font-size:.8rem!important;padding-top:0rem;padding-bottom:0rem;font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important}\n"] }]
|
10
|
+
}], propDecorators: { componentId: [{
|
11
|
+
type: Input
|
12
|
+
}], label: [{
|
13
|
+
type: Input
|
14
|
+
}] } });
|
15
|
+
//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QoKSBsYWJlbCE6IHN0cmluZztcclxufVxyXG4iLCI8cCBjbGFzcz1cIm0tMFwiPlxyXG4gICAgPGxhYmVsXHJcbiAgICAgICAgW2Zvcl09XCJjb21wb25lbnRJZFwiXHJcbiAgICAgICAgY2xhc3M9XCJsYWJlbC1zdHlsZVwiXHJcbiAgICA+e3sgbGFiZWwgfX08L2xhYmVsPlxyXG48L3A+Il19
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { NgModule } from '@angular/core';
|
3
|
-
import { KvLabelComponent } from './kv-label.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export class KvLabelModule {
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, declarations: [KvLabelComponent], imports: [CommonModule], exports: [KvLabelComponent] }); }
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, imports: [CommonModule] }); }
|
9
|
-
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, decorators: [{
|
11
|
-
type: NgModule,
|
12
|
-
args: [{
|
13
|
-
declarations: [
|
14
|
-
KvLabelComponent
|
15
|
-
],
|
16
|
-
imports: [
|
17
|
-
CommonModule
|
18
|
-
],
|
19
|
-
exports: [
|
20
|
-
KvLabelComponent
|
21
|
-
]
|
22
|
-
}]
|
23
|
-
}] });
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { KvLabelComponent } from './kv-label.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class KvLabelModule {
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, declarations: [KvLabelComponent], imports: [CommonModule], exports: [KvLabelComponent] }); }
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, imports: [CommonModule] }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLabelModule, decorators: [{
|
11
|
+
type: NgModule,
|
12
|
+
args: [{
|
13
|
+
declarations: [
|
14
|
+
KvLabelComponent
|
15
|
+
],
|
16
|
+
imports: [
|
17
|
+
CommonModule
|
18
|
+
],
|
19
|
+
exports: [
|
20
|
+
KvLabelComponent
|
21
|
+
]
|
22
|
+
}]
|
23
|
+
}] });
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtbGFiZWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtbGFiZWwva3YtbGFiZWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQWF4RCxNQUFNLE9BQU8sYUFBYTsrR0FBYixhQUFhO2dIQUFiLGFBQWEsaUJBVHRCLGdCQUFnQixhQUdoQixZQUFZLGFBR1osZ0JBQWdCO2dIQUdQLGFBQWEsWUFOdEIsWUFBWTs7NEZBTUgsYUFBYTtrQkFYekIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osZ0JBQWdCO3FCQUNqQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsZ0JBQWdCO3FCQUNqQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5pbXBvcnQgeyBLdkxhYmVsQ29tcG9uZW50IH0gZnJvbSAnLi9rdi1sYWJlbC5jb21wb25lbnQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIEt2TGFiZWxDb21wb25lbnRcclxuICBdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgS3ZMYWJlbENvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEt2TGFiZWxNb2R1bGUgeyB9XHJcbiJdfQ==
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { Component } from '@angular/core';
|
2
|
-
import { KvLoaderService } from './kv-loader.service';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "ngx-loading";
|
5
|
-
import * as i2 from "@angular/common";
|
6
|
-
export class KvLoaderComponent {
|
7
|
-
constructor() {
|
8
|
-
this.loading = KvLoaderService.isLoading;
|
9
|
-
}
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLoaderComponent, selector: "kv-loader", ngImport: i0, template: "<ngx-loading [show]=\"(loading | async) || false\"></ngx-loading>\n", dependencies: [{ kind: "component", type: i1.NgxLoadingComponent, selector: "ngx-loading", inputs: ["show", "config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
12
|
-
}
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderComponent, decorators: [{
|
14
|
-
type: Component,
|
15
|
-
args: [{ selector: 'kv-loader', template: "<ngx-loading [show]=\"(loading | async) || false\"></ngx-loading>\n" }]
|
16
|
-
}], ctorParameters: function () { return []; } });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component } from '@angular/core';
|
2
|
+
import { KvLoaderService } from './kv-loader.service';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ngx-loading";
|
5
|
+
import * as i2 from "@angular/common";
|
6
|
+
export class KvLoaderComponent {
|
7
|
+
constructor() {
|
8
|
+
this.loading = KvLoaderService.isLoading;
|
9
|
+
}
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLoaderComponent, selector: "kv-loader", ngImport: i0, template: "<ngx-loading [show]=\"(loading | async) || false\"></ngx-loading>\r\n", dependencies: [{ kind: "component", type: i1.NgxLoadingComponent, selector: "ngx-loading", inputs: ["show", "config", "template"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderComponent, decorators: [{
|
14
|
+
type: Component,
|
15
|
+
args: [{ selector: 'kv-loader', template: "<ngx-loading [show]=\"(loading | async) || false\"></ngx-loading>\r\n" }]
|
16
|
+
}], ctorParameters: function () { return []; } });
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtbG9hZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWxvYWRlci9rdi1sb2FkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtbG9hZGVyL2t2LWxvYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7OztBQU10RCxNQUFNLE9BQU8saUJBQWlCO0lBSTVCO1FBRk8sWUFBTyxHQUFxQixlQUFlLENBQUMsU0FBUyxDQUFDO0lBRTdDLENBQUM7K0dBSk4saUJBQWlCO21HQUFqQixpQkFBaUIsaURDVDlCLHVFQUNBOzs0RkRRYSxpQkFBaUI7a0JBSjdCLFNBQVM7K0JBQ0UsV0FBVyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBTdWJqZWN0IH0gZnJvbSAncnhqcyc7XHJcblxyXG5pbXBvcnQgeyBLdkxvYWRlclNlcnZpY2UgfSBmcm9tICcuL2t2LWxvYWRlci5zZXJ2aWNlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAna3YtbG9hZGVyJyxcclxuICB0ZW1wbGF0ZVVybDogJy4va3YtbG9hZGVyLmNvbXBvbmVudC5odG1sJ1xyXG59KVxyXG5leHBvcnQgY2xhc3MgS3ZMb2FkZXJDb21wb25lbnQge1xyXG5cclxuICBwdWJsaWMgbG9hZGluZzogU3ViamVjdDxib29sZWFuPiA9IEt2TG9hZGVyU2VydmljZS5pc0xvYWRpbmc7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkgeyB9XHJcbn1cclxuIiwiPG5neC1sb2FkaW5nIFtzaG93XT1cIihsb2FkaW5nIHwgYXN5bmMpIHx8IGZhbHNlXCI+PC9uZ3gtbG9hZGluZz5cclxuIl19
|
@@ -1,28 +1,28 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { NgModule } from '@angular/core';
|
3
|
-
import { NgxLoadingModule } from 'ngx-loading';
|
4
|
-
import { KvLoaderComponent } from './kv-loader.component';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "ngx-loading";
|
7
|
-
export class KvLoaderModule {
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, declarations: [KvLoaderComponent], imports: [CommonModule, i1.NgxLoadingModule], exports: [KvLoaderComponent] }); }
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, imports: [CommonModule,
|
11
|
-
NgxLoadingModule.forRoot({
|
12
|
-
fullScreenBackdrop: true
|
13
|
-
})] }); }
|
14
|
-
}
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, decorators: [{
|
16
|
-
type: NgModule,
|
17
|
-
args: [{
|
18
|
-
declarations: [KvLoaderComponent],
|
19
|
-
exports: [KvLoaderComponent],
|
20
|
-
imports: [
|
21
|
-
CommonModule,
|
22
|
-
NgxLoadingModule.forRoot({
|
23
|
-
fullScreenBackdrop: true
|
24
|
-
})
|
25
|
-
]
|
26
|
-
}]
|
27
|
-
}] });
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { NgxLoadingModule } from 'ngx-loading';
|
4
|
+
import { KvLoaderComponent } from './kv-loader.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "ngx-loading";
|
7
|
+
export class KvLoaderModule {
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, declarations: [KvLoaderComponent], imports: [CommonModule, i1.NgxLoadingModule], exports: [KvLoaderComponent] }); }
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, imports: [CommonModule,
|
11
|
+
NgxLoadingModule.forRoot({
|
12
|
+
fullScreenBackdrop: true
|
13
|
+
})] }); }
|
14
|
+
}
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderModule, decorators: [{
|
16
|
+
type: NgModule,
|
17
|
+
args: [{
|
18
|
+
declarations: [KvLoaderComponent],
|
19
|
+
exports: [KvLoaderComponent],
|
20
|
+
imports: [
|
21
|
+
CommonModule,
|
22
|
+
NgxLoadingModule.forRoot({
|
23
|
+
fullScreenBackdrop: true
|
24
|
+
})
|
25
|
+
]
|
26
|
+
}]
|
27
|
+
}] });
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtbG9hZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWxvYWRlci9rdi1sb2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUUvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7O0FBWTFELE1BQU0sT0FBTyxjQUFjOytHQUFkLGNBQWM7Z0hBQWQsY0FBYyxpQkFUVixpQkFBaUIsYUFHOUIsWUFBWSxrQ0FGSixpQkFBaUI7Z0hBUWhCLGNBQWMsWUFOdkIsWUFBWTtZQUNaLGdCQUFnQixDQUFDLE9BQU8sQ0FBQztnQkFDdkIsa0JBQWtCLEVBQUUsSUFBSTthQUN6QixDQUFDOzs0RkFHTyxjQUFjO2tCQVYxQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGlCQUFpQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztvQkFDNUIsT0FBTyxFQUFFO3dCQUNQLFlBQVk7d0JBQ1osZ0JBQWdCLENBQUMsT0FBTyxDQUFDOzRCQUN2QixrQkFBa0IsRUFBRSxJQUFJO3lCQUN6QixDQUFDO3FCQUNIO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcclxuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgTmd4TG9hZGluZ01vZHVsZSB9IGZyb20gJ25neC1sb2FkaW5nJztcclxuXHJcbmltcG9ydCB7IEt2TG9hZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9rdi1sb2FkZXIuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbS3ZMb2FkZXJDb21wb25lbnRdLFxyXG4gIGV4cG9ydHM6IFtLdkxvYWRlckNvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgTmd4TG9hZGluZ01vZHVsZS5mb3JSb290KHtcclxuICAgICAgZnVsbFNjcmVlbkJhY2tkcm9wOiB0cnVlXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEt2TG9hZGVyTW9kdWxlIHsgfVxyXG4iXX0=
|
@@ -1,29 +1,29 @@
|
|
1
|
-
import { Injectable } from '@angular/core';
|
2
|
-
import { Subject, finalize } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class KvLoaderService {
|
5
|
-
static { this.isLoading = new Subject(); }
|
6
|
-
static show() {
|
7
|
-
this.isLoading.next(true);
|
8
|
-
}
|
9
|
-
static hide() {
|
10
|
-
this.isLoading.next(false);
|
11
|
-
}
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
13
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, providedIn: 'root' }); }
|
14
|
-
}
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, decorators: [{
|
16
|
-
type: Injectable,
|
17
|
-
args: [{
|
18
|
-
providedIn: 'root'
|
19
|
-
}]
|
20
|
-
}] });
|
21
|
-
export const loading = () => {
|
22
|
-
return (src) => {
|
23
|
-
KvLoaderService.show();
|
24
|
-
return src.pipe(finalize(() => {
|
25
|
-
KvLoaderService.hide();
|
26
|
-
}));
|
27
|
-
};
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Injectable } from '@angular/core';
|
2
|
+
import { Subject, finalize } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class KvLoaderService {
|
5
|
+
static { this.isLoading = new Subject(); }
|
6
|
+
static show() {
|
7
|
+
this.isLoading.next(true);
|
8
|
+
}
|
9
|
+
static hide() {
|
10
|
+
this.isLoading.next(false);
|
11
|
+
}
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
13
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, providedIn: 'root' }); }
|
14
|
+
}
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoaderService, decorators: [{
|
16
|
+
type: Injectable,
|
17
|
+
args: [{
|
18
|
+
providedIn: 'root'
|
19
|
+
}]
|
20
|
+
}] });
|
21
|
+
export const loading = () => {
|
22
|
+
return (src) => {
|
23
|
+
KvLoaderService.show();
|
24
|
+
return src.pipe(finalize(() => {
|
25
|
+
KvLoaderService.hide();
|
26
|
+
}));
|
27
|
+
};
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtbG9hZGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1sb2FkZXIva3YtbG9hZGVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBRUwsT0FBTyxFQUNQLFFBQVEsRUFDVCxNQUFNLE1BQU0sQ0FBQzs7QUFLZCxNQUFNLE9BQU8sZUFBZTthQUNaLGNBQVMsR0FBRyxJQUFJLE9BQU8sRUFBVyxDQUFDO0lBRWpELE1BQU0sQ0FBQyxJQUFJO1FBQ1QsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDNUIsQ0FBQztJQUVELE1BQU0sQ0FBQyxJQUFJO1FBQ1QsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDN0IsQ0FBQzsrR0FUVSxlQUFlO21IQUFmLGVBQWUsY0FGZCxNQUFNOzs0RkFFUCxlQUFlO2tCQUgzQixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQjs7QUFhRCxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsR0FBUSxFQUFFO0lBQy9CLE9BQU8sQ0FBQyxHQ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G59OyJdfQ==
|
@@ -1,52 +1,52 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import { BaseComponentCrudForm } from '../../api/base-components/base-component-crud-form';
|
3
|
-
import { KeevoValidators } from '../../../public-api';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "primeng/dynamicdialog";
|
6
|
-
import * as i2 from "../../api/services/notification.service";
|
7
|
-
import * as i3 from "@angular/router";
|
8
|
-
import * as i4 from "@angular/forms";
|
9
|
-
import * as i5 from "../kv-inputs/kv-input-password/kv-input-password.component";
|
10
|
-
import * as i6 from "../kv-inputs/kv-input-text/kv-input-text.component";
|
11
|
-
/**
|
12
|
-
* Componente de login personalizado.
|
13
|
-
* Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
|
14
|
-
*/
|
15
|
-
export class KvLoginComponent extends BaseComponentCrudForm {
|
16
|
-
constructor(dialogService, notificationService, activatedRoute, dynamicDialogRef, dynamicDialogConfig, router, formBuilder) {
|
17
|
-
super(dialogService, notificationService, activatedRoute, dynamicDialogRef, dynamicDialogConfig, router);
|
18
|
-
this.formBuilder = formBuilder;
|
19
|
-
/** Evento emitido quando o usuário faz login. */
|
20
|
-
this.onLogin = new EventEmitter();
|
21
|
-
}
|
22
|
-
configureForm() {
|
23
|
-
this.formGroup = this.formBuilder.group({
|
24
|
-
usuario: ['', KeevoValidators.required('Campo obrigatório')],
|
25
|
-
senha: ['', KeevoValidators.required('Campo obrigatório')]
|
26
|
-
});
|
27
|
-
}
|
28
|
-
loadForm(id) {
|
29
|
-
}
|
30
|
-
save() {
|
31
|
-
if (this.validateForm()) {
|
32
|
-
this.onLogin.emit(this.formGroup.value);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoginComponent, deps: [{ token: i1.DialogService }, { token: i2.NotificationService }, { token: i3.ActivatedRoute }, { token: i1.DynamicDialogRef }, { token: i1.DynamicDialogConfig }, { token: i3.Router }, { token: i4.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLoginComponent, selector: "kv-login", inputs: { Background: "Background", SystemLogo: "SystemLogo", SystemColorPrimary: "SystemColorPrimary", SystemColorSecondary: "SystemColorSecondary" }, outputs: { onLogin: "onLogin" }, usesInheritance: true, ngImport: i0, template: "<div\n id=\"kvLogin-container\"\n class=\"flex justify-content-center align-items-center flex-column h-screen \"\n [style.background-image]=\"'url(' + Background + ')'\"\n>\n\n <!-- CARD PRINCIPAL -->\n <div\n [formGroup]=\" formGroup\"\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\n [style.width.rem]=\"19\"\n [style.height.px]=\"435\"\n (keydown.enter)=\"save()\"\n >\n\n <!-- LOGO DO SISTEMA -->\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\n <img\n alt=\"Logo do Sistema\"\n [style.height.rem]=\"4\"\n [src]=\"SystemLogo\"\n />\n </div>\n\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\n <div class=\" grid formgrid p-fluid gap-2 p-3\">\n\n <div\n class=\" w-full \"\n class=\"mb-2\"\n >\n <img\n [style.height.rem]=\"2.5\"\n class=\"ml-2\"\n alt=\"keepass\"\n src=\"https://work-assets.keevo.com.br/img/keepass-logo.png\"\n />\n </div>\n\n <kv-input-text\n componentId=\"usuario\"\n label=\"CPF ou Email\"\n formControlName=\"usuario\"\n class=\"field col-12\"\n >\n </kv-input-text>\n\n <kv-input-password\n componentId=\"senha\"\n label=\"Senha\"\n [toggleMask]=\"true\"\n formControlName=\"senha\"\n [required]=\"true\"\n class=\"field col-12\"\n >\n </kv-input-password>\n\n <div\n class=\"flex w-full justify-content-end mb-2\"\n id=\"kvLogin-esqueceu-senha\"\n >\n <a\n href=\"https://keepass.seg.br/redefinirsenha\"\n target=\"_blank\"\n style=\"font-size: 0.8rem;\"\n [style.color]=\"SystemColorPrimary\"\n >\n Esqueceu a senha?\n </a>\n </div>\n\n </div>\n\n <button\n id=\"kvLogin-login-button\"\n [style.background-color]=\"SystemColorPrimary\"\n [style.color]=\"'white'\"\n class=\"w-full \"\n (click)=\"save()\"\n [style.height.px]=\"50\"\n ><strong>Login</strong></button>\n </div>\n\n <div id=\"kvLogin-cadastro\">\n <p\n [style.color]=\"SystemColorSecondary\"\n style=\"font-size: 1rem;\"\n >\n N\u00E3o possui um keepass?\n <a\n href=\"https://keepass.seg.br/cadastrar\"\n target=\"_blank\"\n [style.color]=\"SystemColorSecondary\"\n style=\"font-size: 1rem;\"\n >\n Cadastre-se.\n </a>\n </p>\n </div>\n\n <div class=\"logo-keevo\">\n <img\n src=\"https://work-assets.keevo.com.br/img/keevo-logo.png\"\n [style.height.rem]=\"4\"\n />\n </div>\n\n</div>", styles: ["#kvLogin-container{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important;background:no-repeat center;background-size:cover}#kvLogin-esqueceu-senha{position:relative;bottom:.5rem;padding-right:10px}#kvLogin-esqueceu-senha a,#kvLogin-cadastro a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px;transition:text-shadow .2s ease-in-out}#kvLogin-esqueceu-senha a:hover,#kvLogin-cadastro a:hover{text-shadow:0 0 2px rgba(158,158,158,.692)}#kvLogin-login-button{width:100%;height:3rem!important;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#kvLogin-login-button:hover{opacity:.9}.logo-keevo{position:relative;top:50px}\n"], dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i5.KvInputPasswordComponent, selector: "kv-input-password", inputs: ["feedback", "mediumRegex", "strongRegex", "toggleMask"] }, { kind: "component", type: i6.KvInputTextComponent, selector: "kv-input-text" }] }); }
|
37
|
-
}
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoginComponent, decorators: [{
|
39
|
-
type: Component,
|
40
|
-
args: [{ selector: 'kv-login', template: "<div\n id=\"kvLogin-container\"\n class=\"flex justify-content-center align-items-center flex-column h-screen \"\n [style.background-image]=\"'url(' + Background + ')'\"\n>\n\n <!-- CARD PRINCIPAL -->\n <div\n [formGroup]=\" formGroup\"\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\n [style.width.rem]=\"19\"\n [style.height.px]=\"435\"\n (keydown.enter)=\"save()\"\n >\n\n <!-- LOGO DO SISTEMA -->\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\n <img\n alt=\"Logo do Sistema\"\n [style.height.rem]=\"4\"\n [src]=\"SystemLogo\"\n />\n </div>\n\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\n <div class=\" grid formgrid p-fluid gap-2 p-3\">\n\n <div\n class=\" w-full \"\n class=\"mb-2\"\n >\n <img\n [style.height.rem]=\"2.5\"\n class=\"ml-2\"\n alt=\"keepass\"\n src=\"https://work-assets.keevo.com.br/img/keepass-logo.png\"\n />\n </div>\n\n <kv-input-text\n componentId=\"usuario\"\n label=\"CPF ou Email\"\n formControlName=\"usuario\"\n class=\"field col-12\"\n >\n </kv-input-text>\n\n <kv-input-password\n componentId=\"senha\"\n label=\"Senha\"\n [toggleMask]=\"true\"\n formControlName=\"senha\"\n [required]=\"true\"\n class=\"field col-12\"\n >\n </kv-input-password>\n\n <div\n class=\"flex w-full justify-content-end mb-2\"\n id=\"kvLogin-esqueceu-senha\"\n >\n <a\n href=\"https://keepass.seg.br/redefinirsenha\"\n target=\"_blank\"\n style=\"font-size: 0.8rem;\"\n [style.color]=\"SystemColorPrimary\"\n >\n Esqueceu a senha?\n </a>\n </div>\n\n </div>\n\n <button\n id=\"kvLogin-login-button\"\n [style.background-color]=\"SystemColorPrimary\"\n [style.color]=\"'white'\"\n class=\"w-full \"\n (click)=\"save()\"\n [style.height.px]=\"50\"\n ><strong>Login</strong></button>\n </div>\n\n <div id=\"kvLogin-cadastro\">\n <p\n [style.color]=\"SystemColorSecondary\"\n style=\"font-size: 1rem;\"\n >\n N\u00E3o possui um keepass?\n <a\n href=\"https://keepass.seg.br/cadastrar\"\n target=\"_blank\"\n [style.color]=\"SystemColorSecondary\"\n style=\"font-size: 1rem;\"\n >\n Cadastre-se.\n </a>\n </p>\n </div>\n\n <div class=\"logo-keevo\">\n <img\n src=\"https://work-assets.keevo.com.br/img/keevo-logo.png\"\n [style.height.rem]=\"4\"\n />\n </div>\n\n</div>", styles: ["#kvLogin-container{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important;background:no-repeat center;background-size:cover}#kvLogin-esqueceu-senha{position:relative;bottom:.5rem;padding-right:10px}#kvLogin-esqueceu-senha a,#kvLogin-cadastro a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px;transition:text-shadow .2s ease-in-out}#kvLogin-esqueceu-senha a:hover,#kvLogin-cadastro a:hover{text-shadow:0 0 2px rgba(158,158,158,.692)}#kvLogin-login-button{width:100%;height:3rem!important;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#kvLogin-login-button:hover{opacity:.9}.logo-keevo{position:relative;top:50px}\n"] }]
|
41
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.NotificationService }, { type: i3.ActivatedRoute }, { type: i1.DynamicDialogRef }, { type: i1.DynamicDialogConfig }, { type: i3.Router }, { type: i4.FormBuilder }]; }, propDecorators: { Background: [{
|
42
|
-
type: Input
|
43
|
-
}], SystemLogo: [{
|
44
|
-
type: Input
|
45
|
-
}], SystemColorPrimary: [{
|
46
|
-
type: Input
|
47
|
-
}], SystemColorSecondary: [{
|
48
|
-
type: Input
|
49
|
-
}], onLogin: [{
|
50
|
-
type: Output
|
51
|
-
}] } });
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
+
import { BaseComponentCrudForm } from '../../api/base-components/base-component-crud-form';
|
3
|
+
import { KeevoValidators } from '../../../public-api';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "primeng/dynamicdialog";
|
6
|
+
import * as i2 from "../../api/services/notification.service";
|
7
|
+
import * as i3 from "@angular/router";
|
8
|
+
import * as i4 from "@angular/forms";
|
9
|
+
import * as i5 from "../kv-inputs/kv-input-password/kv-input-password.component";
|
10
|
+
import * as i6 from "../kv-inputs/kv-input-text/kv-input-text.component";
|
11
|
+
/**
|
12
|
+
* Componente de login personalizado.
|
13
|
+
* Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
|
14
|
+
*/
|
15
|
+
export class KvLoginComponent extends BaseComponentCrudForm {
|
16
|
+
constructor(dialogService, notificationService, activatedRoute, dynamicDialogRef, dynamicDialogConfig, router, formBuilder) {
|
17
|
+
super(dialogService, notificationService, activatedRoute, dynamicDialogRef, dynamicDialogConfig, router);
|
18
|
+
this.formBuilder = formBuilder;
|
19
|
+
/** Evento emitido quando o usuário faz login. */
|
20
|
+
this.onLogin = new EventEmitter();
|
21
|
+
}
|
22
|
+
configureForm() {
|
23
|
+
this.formGroup = this.formBuilder.group({
|
24
|
+
usuario: ['', KeevoValidators.required('Campo obrigatório')],
|
25
|
+
senha: ['', KeevoValidators.required('Campo obrigatório')]
|
26
|
+
});
|
27
|
+
}
|
28
|
+
loadForm(id) {
|
29
|
+
}
|
30
|
+
save() {
|
31
|
+
if (this.validateForm()) {
|
32
|
+
this.onLogin.emit(this.formGroup.value);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoginComponent, deps: [{ token: i1.DialogService }, { token: i2.NotificationService }, { token: i3.ActivatedRoute }, { token: i1.DynamicDialogRef }, { token: i1.DynamicDialogConfig }, { token: i3.Router }, { token: i4.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KvLoginComponent, selector: "kv-login", inputs: { Background: "Background", SystemLogo: "SystemLogo", SystemColorPrimary: "SystemColorPrimary", SystemColorSecondary: "SystemColorSecondary" }, outputs: { onLogin: "onLogin" }, usesInheritance: true, ngImport: i0, template: "<div\r\n id=\"kvLogin-container\"\r\n class=\"flex justify-content-center align-items-center flex-column h-screen \"\r\n [style.background-image]=\"'url(' + Background + ')'\"\r\n>\r\n\r\n <!-- CARD PRINCIPAL -->\r\n <div\r\n [formGroup]=\" formGroup\"\r\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\r\n [style.width.rem]=\"19\"\r\n [style.height.px]=\"435\"\r\n (keydown.enter)=\"save()\"\r\n >\r\n\r\n <!-- LOGO DO SISTEMA -->\r\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\r\n <img\r\n alt=\"Logo do Sistema\"\r\n [style.height.rem]=\"4\"\r\n [src]=\"SystemLogo\"\r\n />\r\n </div>\r\n\r\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\r\n <div class=\" grid formgrid p-fluid gap-2 p-3\">\r\n\r\n <div\r\n class=\" w-full \"\r\n class=\"mb-2\"\r\n >\r\n <img\r\n [style.height.rem]=\"2.5\"\r\n class=\"ml-2\"\r\n alt=\"keepass\"\r\n src=\"https://work-assets.keevo.com.br/img/keepass-logo.png\"\r\n />\r\n </div>\r\n\r\n <kv-input-text\r\n componentId=\"usuario\"\r\n label=\"CPF ou Email\"\r\n formControlName=\"usuario\"\r\n class=\"field col-12\"\r\n >\r\n </kv-input-text>\r\n\r\n <kv-input-password\r\n componentId=\"senha\"\r\n label=\"Senha\"\r\n [toggleMask]=\"true\"\r\n formControlName=\"senha\"\r\n [required]=\"true\"\r\n class=\"field col-12\"\r\n >\r\n </kv-input-password>\r\n\r\n <div\r\n class=\"flex w-full justify-content-end mb-2\"\r\n id=\"kvLogin-esqueceu-senha\"\r\n >\r\n <a\r\n href=\"https://keepass.seg.br/redefinirsenha\"\r\n target=\"_blank\"\r\n style=\"font-size: 0.8rem;\"\r\n [style.color]=\"SystemColorPrimary\"\r\n >\r\n Esqueceu a senha?\r\n </a>\r\n </div>\r\n\r\n </div>\r\n\r\n <button\r\n id=\"kvLogin-login-button\"\r\n [style.background-color]=\"SystemColorPrimary\"\r\n [style.color]=\"'white'\"\r\n class=\"w-full \"\r\n (click)=\"save()\"\r\n [style.height.px]=\"50\"\r\n ><strong>Login</strong></button>\r\n </div>\r\n\r\n <div id=\"kvLogin-cadastro\">\r\n <p\r\n [style.color]=\"SystemColorSecondary\"\r\n style=\"font-size: 1rem;\"\r\n >\r\n N\u00E3o possui um keepass?\r\n <a\r\n href=\"https://keepass.seg.br/cadastrar\"\r\n target=\"_blank\"\r\n [style.color]=\"SystemColorSecondary\"\r\n style=\"font-size: 1rem;\"\r\n >\r\n Cadastre-se.\r\n </a>\r\n </p>\r\n </div>\r\n\r\n <div class=\"logo-keevo\">\r\n <img\r\n src=\"https://work-assets.keevo.com.br/img/keevo-logo.png\"\r\n [style.height.rem]=\"4\"\r\n />\r\n </div>\r\n\r\n</div>", styles: ["#kvLogin-container{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important;background:no-repeat center;background-size:cover}#kvLogin-esqueceu-senha{position:relative;bottom:.5rem;padding-right:10px}#kvLogin-esqueceu-senha a,#kvLogin-cadastro a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px;transition:text-shadow .2s ease-in-out}#kvLogin-esqueceu-senha a:hover,#kvLogin-cadastro a:hover{text-shadow:0 0 2px rgba(158,158,158,.692)}#kvLogin-login-button{width:100%;height:3rem!important;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#kvLogin-login-button:hover{opacity:.9}.logo-keevo{position:relative;top:50px}\n"], dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i5.KvInputPasswordComponent, selector: "kv-input-password", inputs: ["feedback", "mediumRegex", "strongRegex", "toggleMask"] }, { kind: "component", type: i6.KvInputTextComponent, selector: "kv-input-text" }] }); }
|
37
|
+
}
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvLoginComponent, decorators: [{
|
39
|
+
type: Component,
|
40
|
+
args: [{ selector: 'kv-login', template: "<div\r\n id=\"kvLogin-container\"\r\n class=\"flex justify-content-center align-items-center flex-column h-screen \"\r\n [style.background-image]=\"'url(' + Background + ')'\"\r\n>\r\n\r\n <!-- CARD PRINCIPAL -->\r\n <div\r\n [formGroup]=\" formGroup\"\r\n class=\"flex flex-column align-items-center justify-content-between bg-white border-round-xl \"\r\n [style.width.rem]=\"19\"\r\n [style.height.px]=\"435\"\r\n (keydown.enter)=\"save()\"\r\n >\r\n\r\n <!-- LOGO DO SISTEMA -->\r\n <div class=\"flex flex-row align-items-center justify-content-center p-3 mt-2\">\r\n <img\r\n alt=\"Logo do Sistema\"\r\n [style.height.rem]=\"4\"\r\n [src]=\"SystemLogo\"\r\n />\r\n </div>\r\n\r\n <!-- INFORMA\u00C7\u00D5ES CENTRAIS -->\r\n <div class=\" grid formgrid p-fluid gap-2 p-3\">\r\n\r\n <div\r\n class=\" w-full \"\r\n class=\"mb-2\"\r\n >\r\n <img\r\n [style.height.rem]=\"2.5\"\r\n class=\"ml-2\"\r\n alt=\"keepass\"\r\n src=\"https://work-assets.keevo.com.br/img/keepass-logo.png\"\r\n />\r\n </div>\r\n\r\n <kv-input-text\r\n componentId=\"usuario\"\r\n label=\"CPF ou Email\"\r\n formControlName=\"usuario\"\r\n class=\"field col-12\"\r\n >\r\n </kv-input-text>\r\n\r\n <kv-input-password\r\n componentId=\"senha\"\r\n label=\"Senha\"\r\n [toggleMask]=\"true\"\r\n formControlName=\"senha\"\r\n [required]=\"true\"\r\n class=\"field col-12\"\r\n >\r\n </kv-input-password>\r\n\r\n <div\r\n class=\"flex w-full justify-content-end mb-2\"\r\n id=\"kvLogin-esqueceu-senha\"\r\n >\r\n <a\r\n href=\"https://keepass.seg.br/redefinirsenha\"\r\n target=\"_blank\"\r\n style=\"font-size: 0.8rem;\"\r\n [style.color]=\"SystemColorPrimary\"\r\n >\r\n Esqueceu a senha?\r\n </a>\r\n </div>\r\n\r\n </div>\r\n\r\n <button\r\n id=\"kvLogin-login-button\"\r\n [style.background-color]=\"SystemColorPrimary\"\r\n [style.color]=\"'white'\"\r\n class=\"w-full \"\r\n (click)=\"save()\"\r\n [style.height.px]=\"50\"\r\n ><strong>Login</strong></button>\r\n </div>\r\n\r\n <div id=\"kvLogin-cadastro\">\r\n <p\r\n [style.color]=\"SystemColorSecondary\"\r\n style=\"font-size: 1rem;\"\r\n >\r\n N\u00E3o possui um keepass?\r\n <a\r\n href=\"https://keepass.seg.br/cadastrar\"\r\n target=\"_blank\"\r\n [style.color]=\"SystemColorSecondary\"\r\n style=\"font-size: 1rem;\"\r\n >\r\n Cadastre-se.\r\n </a>\r\n </p>\r\n </div>\r\n\r\n <div class=\"logo-keevo\">\r\n <img\r\n src=\"https://work-assets.keevo.com.br/img/keevo-logo.png\"\r\n [style.height.rem]=\"4\"\r\n />\r\n </div>\r\n\r\n</div>", styles: ["#kvLogin-container{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif!important;background:no-repeat center;background-size:cover}#kvLogin-esqueceu-senha{position:relative;bottom:.5rem;padding-right:10px}#kvLogin-esqueceu-senha a,#kvLogin-cadastro a{text-decoration:none;font-weight:500;cursor:pointer;gap:3px;transition:text-shadow .2s ease-in-out}#kvLogin-esqueceu-senha a:hover,#kvLogin-cadastro a:hover{text-shadow:0 0 2px rgba(158,158,158,.692)}#kvLogin-login-button{width:100%;height:3rem!important;border-radius:0 0 10px 10px;border:none;cursor:pointer;font-size:14px;transition:all ease-in .2s;-webkit-transition:all ease-in .2s;-moz-transition:all ease-in .2s;-ms-transition:all ease-in .2s;-o-transition:all ease-in .2s}#kvLogin-login-button:hover{opacity:.9}.logo-keevo{position:relative;top:50px}\n"] }]
|
41
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.NotificationService }, { type: i3.ActivatedRoute }, { type: i1.DynamicDialogRef }, { type: i1.DynamicDialogConfig }, { type: i3.Router }, { type: i4.FormBuilder }]; }, propDecorators: { Background: [{
|
42
|
+
type: Input
|
43
|
+
}], SystemLogo: [{
|
44
|
+
type: Input
|
45
|
+
}], SystemColorPrimary: [{
|
46
|
+
type: Input
|
47
|
+
}], SystemColorSecondary: [{
|
48
|
+
type: Input
|
49
|
+
}], onLogin: [{
|
50
|
+
type: Output
|
51
|
+
}] } });
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtbG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtbG9naW4va3YtbG9naW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtbG9naW4va3YtbG9naW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0EsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDUCxNQUFNLGVBQWUsQ0FBQztBQVV2QixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvREFBb0QsQ0FBQztBQUUzRixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7Ozs7Ozs7O0FBRXREOzs7R0FHRztBQU1ILE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxxQkFBcUI7SUFhekQsWUFDRSxhQUE0QixFQUM1QixtQkFBd0MsRUFDeEMsY0FBOEIsRUFDOUIsZ0JBQWtDLEVBQ2xDLG1CQUF3QyxFQUN4QyxNQUFjLEVBQ04sV0FBd0I7UUFDaEMsS0FBSyxDQUNILGFBQWEsRUFDYixtQkFBbUIsRUFDbkIsY0FBYyxFQUNkLGdCQ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gdy1mdWxsIFwiXHJcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm1iLTJcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICA8aW1nXHJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmhlaWdodC5yZW1dPVwiMi41XCJcclxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1sLTJcIlxyXG4gICAgICAgICAgICAgICAgICAgIGFsdD1cImtlZXBhc3NcIlxyXG4gICAgICAgICAgICAgICAgICAgIHNyYz1cImh0dHBzOi8vd29yay1hc3NldHMua2Vldm8uY29tLmJyL2ltZy9rZWVwYXNzLWxvZ28ucG5nXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgPGt2LWlucHV0LXRleHRcclxuICAgICAgICAgICAgICAgIGNvbXBvbmVudElkPVwidXN1YXJpb1wiXHJcbiAgICAgICAgICAgICAgICBsYWJlbD1cIkNQRiBvdSBFbWFpbFwiXHJcbiAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJ1c3VhcmlvXCJcclxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZmllbGQgY29sLTEyXCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICA8L2t2LWlucHV0LXRleHQ+XHJcblxyXG4gICAgICAgICAgICA8a3YtaW5wdXQtcGFzc3dvcmRcclxuICAgICAgICAgICAgICAgIGNvbXBvbmVudElkPVwic2VuaGFcIlxyXG4gICAgICAgICAgICAgICAgbGFiZWw9XCJTZW5oYVwiXHJcbiAgICAgICAgICAgICAgICBbdG9nZ2xlTWFza109XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cInNlbmhhXCJcclxuICAgICAgICAgICAgICAgIFtyZXF1aXJlZF09XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZmllbGQgY29sLTEyXCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICA8L2t2LWlucHV0LXBhc3N3b3JkPlxyXG5cclxuICAgICAgICAgICAgPGRpdlxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmbGV4IHctZnVsbCBqdXN0aWZ5LWNvbnRlbnQtZW5kIG1iLTJcIlxyXG4gICAgICAgICAgICAgICAgaWQ9XCJrdkxvZ2luLWVzcXVlY2V1LXNlbmhhXCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICBocmVmPVwiaHR0cHM6Ly9rZWVwYXNzLnNlZy5ici9yZWRlZmluaXJzZW5oYVwiXHJcbiAgICAgICAgICAgICAgICAgICAgdGFyZ2V0PVwiX2JsYW5rXCJcclxuICAgICAgICAgICAgICAgICAgICBzdHlsZT1cImZvbnQtc2l6ZTogMC44cmVtO1wiXHJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cIlN5c3RlbUNvbG9yUHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgRXNxdWVjZXUgYSBzZW5oYT9cclxuICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgIGlkPVwia3ZMb2dpbi1sb2dpbi1idXR0b25cIlxyXG4gICAgICAgICAgICBbc3R5bGUuYmFja2dyb3VuZC1jb2xvcl09XCJTeXN0ZW1Db2xvclByaW1hcnlcIlxyXG4gICAgICAgICAgICBbc3R5bGUuY29sb3JdPVwiJ3doaXRlJ1wiXHJcbiAgICAgICAgICAgIGNsYXNzPVwidy1mdWxsIFwiXHJcbiAgICAgICAgICAgIChjbGljayk9XCJzYXZlKClcIlxyXG4gICAgICAgICAgICBbc3R5bGUuaGVpZ2h0LnB4XT1cIjUwXCJcclxuICAgICAgICA+PHN0cm9uZz5Mb2dpbjwvc3Ryb25nPjwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdiBpZD1cImt2TG9naW4tY2FkYXN0cm9cIj5cclxuICAgICAgICA8cFxyXG4gICAgICAgICAgICBbc3R5bGUuY29sb3JdPVwiU3lzdGVtQ29sb3JTZWNvbmRhcnlcIlxyXG4gICAgICAgICAgICBzdHlsZT1cImZvbnQtc2l6ZTogMXJlbTtcIlxyXG4gICAgICAgID5cclxuICAgICAgICAgICAgTsOjbyBwb3NzdWkgdW0ga2VlcGFzcz9cclxuICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgIGhyZWY9XCJodHRwczovL2tlZXBhc3Muc2VnLmJyL2NhZGFzdHJhclwiXHJcbiAgICAgICAgICAgICAgICB0YXJnZXQ9XCJfYmxhbmtcIlxyXG4gICAgICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cIlN5c3RlbUNvbG9yU2Vjb25kYXJ5XCJcclxuICAgICAgICAgICAgICAgIHN0eWxlPVwiZm9udC1zaXplOiAxcmVtO1wiXHJcbiAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIENhZGFzdHJlLXNlLlxyXG4gICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgPC9wPlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGRpdiBjbGFzcz1cImxvZ28ta2Vldm9cIj5cclxuICAgICAgICA8aW1nXHJcbiAgICAgICAgICAgIHNyYz1cImh0dHBzOi8vd29yay1hc3NldHMua2Vldm8uY29tLmJyL2ltZy9rZWV2by1sb2dvLnBuZ1wiXHJcbiAgICAgICAgICAgIFtzdHlsZS5oZWlnaHQucmVtXT1cIjRcIlxyXG4gICAgICAgIC8+XHJcbiAgICA8L2Rpdj5cclxuXHJcbjwvZGl2PiJdfQ==
|