keevo-components 1.8.26 → 1.8.27
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/esm2022/lib/api/components/table/action-item.mjs +1 -1
- package/esm2022/lib/buttons/button-personalize/button-personalize.component.mjs +3 -3
- package/esm2022/lib/dialog/kv-modal.module.mjs +31 -0
- package/esm2022/lib/dialog/modal.component.mjs +60 -0
- package/esm2022/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +3 -3
- package/esm2022/lib/label/label.component.mjs +3 -3
- package/esm2022/lib/label/label.module.mjs +1 -1
- package/esm2022/lib/login/login.component.mjs +3 -3
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/keevo-components.mjs +90 -9
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/components/table/action-item.d.ts +3 -0
- package/lib/dialog/kv-modal.module.d.ts +10 -0
- package/lib/dialog/modal.component.d.ts +19 -0
- package/lib/table/table.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -1364,11 +1364,11 @@ function ComponentProviders(ref) {
|
|
|
1364
1364
|
|
|
1365
1365
|
class LabelComponent {
|
|
1366
1366
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1367
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LabelComponent, 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"] }); }
|
|
1367
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LabelComponent, 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"] }); }
|
|
1368
1368
|
}
|
|
1369
1369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelComponent, decorators: [{
|
|
1370
1370
|
type: Component,
|
|
1371
|
-
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"] }]
|
|
1371
|
+
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"] }]
|
|
1372
1372
|
}], propDecorators: { componentId: [{
|
|
1373
1373
|
type: Input
|
|
1374
1374
|
}], label: [{
|
|
@@ -2085,11 +2085,11 @@ class ButtonPersonalizeComponent extends BaseComponentButton {
|
|
|
2085
2085
|
super();
|
|
2086
2086
|
}
|
|
2087
2087
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonPersonalizeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2088
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonPersonalizeComponent, selector: "kv-button-personalize", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n [
|
|
2088
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonPersonalizeComponent, selector: "kv-button-personalize", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\"\r\n [disabled]=\"disabled\"\r\n class=\"btn-personalize\"\r\n [style.backgroundColor]=\"color\"\r\n [style.borderColor]=\"color\"\r\n></button>\r\n", styles: [".btn-personalize{height:35px}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2.Ripple, selector: "[pRipple]" }] }); }
|
|
2089
2089
|
}
|
|
2090
2090
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonPersonalizeComponent, decorators: [{
|
|
2091
2091
|
type: Component,
|
|
2092
|
-
args: [{ selector: 'kv-button-personalize', template: "<button\r\n pButton\r\n pRipple\r\n [
|
|
2092
|
+
args: [{ selector: 'kv-button-personalize', template: "<button\r\n pButton\r\n pRipple\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\"\r\n [disabled]=\"disabled\"\r\n class=\"btn-personalize\"\r\n [style.backgroundColor]=\"color\"\r\n [style.borderColor]=\"color\"\r\n></button>\r\n", styles: [".btn-personalize{height:35px}\n"] }]
|
|
2093
2093
|
}], ctorParameters: function () { return []; } });
|
|
2094
2094
|
|
|
2095
2095
|
class ButtonPopupComponent extends BaseComponentButton {
|
|
@@ -2551,11 +2551,11 @@ class InputTextCheckboxComponent extends BaseComponentInput {
|
|
|
2551
2551
|
this.checkBoxEmit.emit(this._checkBoxValue);
|
|
2552
2552
|
}
|
|
2553
2553
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputTextCheckboxComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2554
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InputTextCheckboxComponent, selector: "kv-input-text-checkbox", inputs: { tooltipCheckbox: "tooltipCheckbox", disabledCheckbox: "disabledCheckbox" }, outputs: { checkBoxEmit: "checkBoxEmit" }, providers: ComponentProviders(InputTextCheckboxComponent), usesInheritance: true, ngImport: i0, template: "<kv-label\n [componentId]=\"componentId\"\n [label]=\"label\"\n/>\n<div class=\"p-inputgroup \">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 35px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n [disabled]=\"disabledCheckbox\"\n ></p-checkbox>\n\n </span>\n\n <span class=\"p-float-label\">\n <input\n type=\"text\"\n pInputText\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n style=\"height: 35px;\"\n class=\"w-full\"\n />\n </span>\n</div>\n\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>", styles: [""], dependencies: [{ kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i6$1.InputText, selector: "[pInputText]" }, { kind: "component", type: LabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }] }); }
|
|
2554
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InputTextCheckboxComponent, selector: "kv-input-text-checkbox", inputs: { tooltipCheckbox: "tooltipCheckbox", disabledCheckbox: "disabledCheckbox" }, outputs: { checkBoxEmit: "checkBoxEmit" }, providers: ComponentProviders(InputTextCheckboxComponent), usesInheritance: true, ngImport: i0, template: "<kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label\"\r\n/>\r\n<div class=\"p-inputgroup \">\r\n <span\r\n class=\"p-inputgroup-addon\"\r\n style=\"height: 35px;\"\r\n ><p-checkbox\r\n [(ngModel)]=\"checkBoxValue\"\r\n [binary]=\"true\"\r\n [pTooltip]=\"tooltipCheckbox\"\r\n [disabled]=\"disabledCheckbox\"\r\n ></p-checkbox>\r\n\r\n </span>\r\n\r\n <span class=\"p-float-label\">\r\n <input\r\n type=\"text\"\r\n pInputText\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n style=\"height: 35px;\"\r\n class=\"w-full\"\r\n />\r\n </span>\r\n</div>\r\n\r\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>", styles: [""], dependencies: [{ kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i6$1.InputText, selector: "[pInputText]" }, { kind: "component", type: LabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }] }); }
|
|
2555
2555
|
}
|
|
2556
2556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InputTextCheckboxComponent, decorators: [{
|
|
2557
2557
|
type: Component,
|
|
2558
|
-
args: [{ selector: 'kv-input-text-checkbox', providers: ComponentProviders(InputTextCheckboxComponent), template: "<kv-label\n [componentId]=\"componentId\"\n [label]=\"label\"\n/>\n<div class=\"p-inputgroup \">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 35px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n [disabled]=\"disabledCheckbox\"\n ></p-checkbox>\n\n </span>\n\n <span class=\"p-float-label\">\n <input\n type=\"text\"\n pInputText\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n style=\"height: 35px;\"\n class=\"w-full\"\n />\n </span>\n</div>\n\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>" }]
|
|
2558
|
+
args: [{ selector: 'kv-input-text-checkbox', providers: ComponentProviders(InputTextCheckboxComponent), template: "<kv-label\r\n [componentId]=\"componentId\"\r\n [label]=\"label\"\r\n/>\r\n<div class=\"p-inputgroup \">\r\n <span\r\n class=\"p-inputgroup-addon\"\r\n style=\"height: 35px;\"\r\n ><p-checkbox\r\n [(ngModel)]=\"checkBoxValue\"\r\n [binary]=\"true\"\r\n [pTooltip]=\"tooltipCheckbox\"\r\n [disabled]=\"disabledCheckbox\"\r\n ></p-checkbox>\r\n\r\n </span>\r\n\r\n <span class=\"p-float-label\">\r\n <input\r\n type=\"text\"\r\n pInputText\r\n [class]=\"baseInputClass\"\r\n styleClass=\"inputs\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"placeholder\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\"\r\n style=\"height: 35px;\"\r\n class=\"w-full\"\r\n />\r\n </span>\r\n</div>\r\n\r\n<kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>" }]
|
|
2559
2559
|
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { checkBoxEmit: [{
|
|
2560
2560
|
type: Output
|
|
2561
2561
|
}], tooltipCheckbox: [{
|
|
@@ -4476,11 +4476,11 @@ class LoginComponent extends BaseComponentCrudForm {
|
|
|
4476
4476
|
}
|
|
4477
4477
|
}
|
|
4478
4478
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoginComponent, deps: [{ token: i1$3.DialogService }, { token: NotificationService }, { token: i3$1.ActivatedRoute }, { token: i1$3.DynamicDialogRef }, { token: i1$3.DynamicDialogConfig }, { token: i3$1.Router }, { token: i2$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4479
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoginComponent, 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
|
|
4479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoginComponent, 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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: InputPasswordComponent, selector: "kv-input-password", inputs: ["feedback", "mediumRegex", "strongRegex", "toggleMask"] }, { kind: "component", type: InputTextComponent, selector: "kv-input-text" }] }); }
|
|
4480
4480
|
}
|
|
4481
4481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoginComponent, decorators: [{
|
|
4482
4482
|
type: Component,
|
|
4483
|
-
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
|
|
4483
|
+
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"] }]
|
|
4484
4484
|
}], ctorParameters: function () { return [{ type: i1$3.DialogService }, { type: NotificationService }, { type: i3$1.ActivatedRoute }, { type: i1$3.DynamicDialogRef }, { type: i1$3.DynamicDialogConfig }, { type: i3$1.Router }, { type: i2$1.FormBuilder }]; }, propDecorators: { Background: [{
|
|
4485
4485
|
type: Input
|
|
4486
4486
|
}], SystemLogo: [{
|
|
@@ -5872,6 +5872,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5872
5872
|
|
|
5873
5873
|
;
|
|
5874
5874
|
|
|
5875
|
+
class ModalComponent {
|
|
5876
|
+
constructor(dynamicDialogRef) {
|
|
5877
|
+
this.dynamicDialogRef = dynamicDialogRef;
|
|
5878
|
+
/**
|
|
5879
|
+
* Ações do Dialog
|
|
5880
|
+
*/
|
|
5881
|
+
this.actions = [];
|
|
5882
|
+
this.actionsPosition = 'right';
|
|
5883
|
+
this.justify_content = 'justify-content-start';
|
|
5884
|
+
}
|
|
5885
|
+
ngOnInit() {
|
|
5886
|
+
this.setMarginBottom();
|
|
5887
|
+
this.defPositionButtons();
|
|
5888
|
+
}
|
|
5889
|
+
onWindowResize() {
|
|
5890
|
+
this.setMarginBottom();
|
|
5891
|
+
}
|
|
5892
|
+
defPositionButtons() {
|
|
5893
|
+
if (this.actionsPosition === 'right') {
|
|
5894
|
+
this.justify_content = 'justify-content-end';
|
|
5895
|
+
}
|
|
5896
|
+
if (this.actionsPosition === 'center') {
|
|
5897
|
+
this.justify_content = 'justify-content-center';
|
|
5898
|
+
}
|
|
5899
|
+
if (this.actionsPosition === 'left') {
|
|
5900
|
+
this.justify_content = 'justify-content-start';
|
|
5901
|
+
}
|
|
5902
|
+
}
|
|
5903
|
+
setMarginBottom() {
|
|
5904
|
+
let actionsFieldHeight = document.getElementById('actions-field')?.offsetHeight;
|
|
5905
|
+
let divBox = document.getElementById('content-modal');
|
|
5906
|
+
if (divBox) {
|
|
5907
|
+
if (actionsFieldHeight) {
|
|
5908
|
+
divBox.style.marginBottom = `${actionsFieldHeight}px`;
|
|
5909
|
+
}
|
|
5910
|
+
else {
|
|
5911
|
+
divBox.style.marginBottom = `50px`;
|
|
5912
|
+
}
|
|
5913
|
+
}
|
|
5914
|
+
}
|
|
5915
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalComponent, deps: [{ token: i1$3.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5916
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ModalComponent, selector: "kv-modal", inputs: { actions: "actions", actionsPosition: "actionsPosition" }, host: { listeners: { "window:resize": "onWindowResize($event)" } }, ngImport: i0, template: "<!-- RENDERIZA\u00C7\u00C3O DO MODAL -->\n<div class=\"col-12\" id=\"content-modal\">\n <ng-content></ng-content>\n</div>\n\n<!-- RENDERIZA\u00C7\u00C3O DOS BOT\u00D5ES -->\n<div class=\"flex flex-row flex-wrap gap-2 m-2 modal-barra-acoes {{justify_content}}\" *ngIf=\"actions\" id=\"actions-field\">\n <kv-button-personalize\n *ngFor=\" let action of actions\"\n [ngClass]=\"action.visible==false?'hidden':''\"\n color=\"{{action.color}}\"\n icon=\"{{action.icon}}\"\n label=\"{{action.label}}\"\n [disabled]=\"action.disabled || false\"\n (onClick)=\"action.command? action.command(): null; this.dynamicDialogRef.close();\"\n />\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-content{padding-bottom:0!important}.modal-barra-acoes{position:fixed;bottom:0;left:0;right:0;z-index:999}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonPersonalizeComponent, selector: "kv-button-personalize" }] }); }
|
|
5917
|
+
}
|
|
5918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalComponent, decorators: [{
|
|
5919
|
+
type: Component,
|
|
5920
|
+
args: [{ selector: 'kv-modal', template: "<!-- RENDERIZA\u00C7\u00C3O DO MODAL -->\n<div class=\"col-12\" id=\"content-modal\">\n <ng-content></ng-content>\n</div>\n\n<!-- RENDERIZA\u00C7\u00C3O DOS BOT\u00D5ES -->\n<div class=\"flex flex-row flex-wrap gap-2 m-2 modal-barra-acoes {{justify_content}}\" *ngIf=\"actions\" id=\"actions-field\">\n <kv-button-personalize\n *ngFor=\" let action of actions\"\n [ngClass]=\"action.visible==false?'hidden':''\"\n color=\"{{action.color}}\"\n icon=\"{{action.icon}}\"\n label=\"{{action.label}}\"\n [disabled]=\"action.disabled || false\"\n (onClick)=\"action.command? action.command(): null; this.dynamicDialogRef.close();\"\n />\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-content{padding-bottom:0!important}.modal-barra-acoes{position:fixed;bottom:0;left:0;right:0;z-index:999}\n"] }]
|
|
5921
|
+
}], ctorParameters: function () { return [{ type: i1$3.DynamicDialogRef }]; }, propDecorators: { onWindowResize: [{
|
|
5922
|
+
type: HostListener,
|
|
5923
|
+
args: ['window:resize', ['$event']]
|
|
5924
|
+
}], actions: [{
|
|
5925
|
+
type: Input
|
|
5926
|
+
}], actionsPosition: [{
|
|
5927
|
+
type: Input
|
|
5928
|
+
}] } });
|
|
5929
|
+
|
|
5930
|
+
class KvModalModule {
|
|
5931
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5932
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KvModalModule, declarations: [ModalComponent], imports: [CommonModule,
|
|
5933
|
+
PrimeNgModule,
|
|
5934
|
+
KvButtonsModule], exports: [ModalComponent] }); }
|
|
5935
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvModalModule, imports: [CommonModule,
|
|
5936
|
+
PrimeNgModule,
|
|
5937
|
+
KvButtonsModule] }); }
|
|
5938
|
+
}
|
|
5939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KvModalModule, decorators: [{
|
|
5940
|
+
type: NgModule,
|
|
5941
|
+
args: [{
|
|
5942
|
+
declarations: [
|
|
5943
|
+
ModalComponent
|
|
5944
|
+
],
|
|
5945
|
+
imports: [
|
|
5946
|
+
CommonModule,
|
|
5947
|
+
PrimeNgModule,
|
|
5948
|
+
KvButtonsModule,
|
|
5949
|
+
],
|
|
5950
|
+
exports: [
|
|
5951
|
+
ModalComponent
|
|
5952
|
+
]
|
|
5953
|
+
}]
|
|
5954
|
+
}] });
|
|
5955
|
+
|
|
5875
5956
|
/*
|
|
5876
5957
|
* Public API Surface of keevo-components
|
|
5877
5958
|
*/
|
|
@@ -5883,5 +5964,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5883
5964
|
* Generated bundle index. Do not edit.
|
|
5884
5965
|
*/
|
|
5885
5966
|
|
|
5886
|
-
export { AvatarComponent, BaseApiService, BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentDropDownExternal, BaseComponentInput, BaseComponentMultiSelect, BreadcrumbsService, ButtonPersonalizeComponent, ButtonPopupComponent, ButtonSecondaryComponent, ButtonSuccessComponent, CarouselComponent, ChartComponent, CheckComponent, CodigoFipePipe, ComponentProviders, ComponentService, CpfCnpjPipe, DropdownComponent, EditorComponent, ErrorComponent, FormService, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextCheckboxComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KVTreeTableModule, KeevoComponentsModule, KeevoValidators, KvAvatarModule, KvButtonsModule, KvCarouselModule, KvChartModule, KvInputsModule, KvLoaderModule, KvLoginModule, KvMenuModule, KvPageFormModule, KvPickListModule, KvProgressBarModule, KvTableEditModule, KvTableModule, KvWorkspaceModule, KvtreeViewModule, LoaderComponent, LoaderService, LoginComponent, MenuComponent, MultiSelectComponent, NotificationService, ObjectService, OrgchartComponent, OrgchartModule, PageFormComponent, PeriodosChart, PickListComponent, PipesModule, PrimeNgModule, ProgressBarComponent, RadioGroupComponent, SwitchComponent, TableComponent, TableEditComponent, TablePaginate, TelefonePipe, TranslatePrimeng, TreeTableComponent, TreeViewComponent, TreetableComponent, TreetableModule, WorkspaceComponent, kvErrorModule, loading };
|
|
5967
|
+
export { AvatarComponent, BaseApiService, BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentDropDownExternal, BaseComponentInput, BaseComponentMultiSelect, BreadcrumbsService, ButtonPersonalizeComponent, ButtonPopupComponent, ButtonSecondaryComponent, ButtonSuccessComponent, CarouselComponent, ChartComponent, CheckComponent, CodigoFipePipe, ComponentProviders, ComponentService, CpfCnpjPipe, DropdownComponent, EditorComponent, ErrorComponent, FormService, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextCheckboxComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KVTreeTableModule, KeevoComponentsModule, KeevoValidators, KvAvatarModule, KvButtonsModule, KvCarouselModule, KvChartModule, KvInputsModule, KvLoaderModule, KvLoginModule, KvMenuModule, KvModalModule, KvPageFormModule, KvPickListModule, KvProgressBarModule, KvTableEditModule, KvTableModule, KvWorkspaceModule, KvtreeViewModule, LoaderComponent, LoaderService, LoginComponent, MenuComponent, ModalComponent, MultiSelectComponent, NotificationService, ObjectService, OrgchartComponent, OrgchartModule, PageFormComponent, PeriodosChart, PickListComponent, PipesModule, PrimeNgModule, ProgressBarComponent, RadioGroupComponent, SwitchComponent, TableComponent, TableEditComponent, TablePaginate, TelefonePipe, TranslatePrimeng, TreeTableComponent, TreeViewComponent, TreetableComponent, TreetableModule, WorkspaceComponent, kvErrorModule, loading };
|
|
5887
5968
|
//# sourceMappingURL=keevo-components.mjs.map
|