keevo-components 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +3 -3
- package/esm2020/lib/inputs/input-text/input-text.component.mjs +1 -2
- package/esm2020/lib/table/table.component.mjs +3 -2
- package/fesm2015/keevo-components.mjs +4 -4
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +4 -4
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -549,7 +549,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
549
549
|
class InputTextComponent extends BaseComponentInput {
|
|
550
550
|
constructor(componentService) {
|
|
551
551
|
super(componentService);
|
|
552
|
-
console.log("ENTREI INPUT TESTE");
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
554
|
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -732,10 +731,10 @@ class ButtonPersonalizeComponent extends BaseComponentButton {
|
|
|
732
731
|
}
|
|
733
732
|
}
|
|
734
733
|
ButtonPersonalizeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonPersonalizeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
735
|
-
ButtonPersonalizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonPersonalizeComponent, selector: "kv-button-personalize", usesInheritance: true, ngImport: i0, template: "<button\
|
|
734
|
+
ButtonPersonalizeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonPersonalizeComponent, selector: "kv-button-personalize", usesInheritance: true, ngImport: i0, template: "<button\n pButton\n pRipple\n [class]=\"color\"\n [icon]=\"icon\"\n [label]=\"label\"\n [loading]=\"loading\"\n (click)=\"click($event)\">\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2$2.Ripple, selector: "[pRipple]" }] });
|
|
736
735
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonPersonalizeComponent, decorators: [{
|
|
737
736
|
type: Component,
|
|
738
|
-
args: [{ selector: 'kv-button-personalize', template: "<button\
|
|
737
|
+
args: [{ selector: 'kv-button-personalize', template: "<button\n pButton\n pRipple\n [class]=\"color\"\n [icon]=\"icon\"\n [label]=\"label\"\n [loading]=\"loading\"\n (click)=\"click($event)\">\n</button>\n" }]
|
|
739
738
|
}], ctorParameters: function () { return []; } });
|
|
740
739
|
|
|
741
740
|
class TemplateDirective {
|
|
@@ -887,6 +886,7 @@ class TableComponent {
|
|
|
887
886
|
table.filterGlobal(event.target.value, 'contains');
|
|
888
887
|
}
|
|
889
888
|
paginate(event) {
|
|
889
|
+
console.log(event, 'oioi');
|
|
890
890
|
if (event) {
|
|
891
891
|
let paginaInicial = ((event?.first > 0) ? (event.first / event.rows) : event.first) + 1;
|
|
892
892
|
let termoPesquisa = '';
|
|
@@ -919,7 +919,7 @@ class TableComponent {
|
|
|
919
919
|
}
|
|
920
920
|
transformValue(rowData, col) {
|
|
921
921
|
let value = rowData[col.field];
|
|
922
|
-
if (col.field == 'vencimento')
|
|
922
|
+
if (col.field == 'vencimento' && col.field != null)
|
|
923
923
|
return value.toLocaleDateString();
|
|
924
924
|
if (col.field == 'valor')
|
|
925
925
|
return value.toFixed(2);
|