keevo-components 1.8.144 → 1.8.147
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/public-api.mjs +1 -3
- package/fesm2022/keevo-components.mjs +521 -521
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Input, Output, ViewChild, Injectable, ViewChildren, ContentChildren, forwardRef,
|
|
2
|
+
import { EventEmitter, Component, Input, Output, ViewChild, Injectable, ViewChildren, ContentChildren, forwardRef, Pipe, NgModule, HostListener, ChangeDetectionStrategy, Directive } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, NgClass } from '@angular/common';
|
|
5
5
|
import * as i1$1 from 'primeng/button';
|
|
@@ -25,7 +25,6 @@ import * as i5$1 from 'primeng/tooltip';
|
|
|
25
25
|
import { TooltipModule } from 'primeng/tooltip';
|
|
26
26
|
import * as i10 from 'primeng/divider';
|
|
27
27
|
import { DividerModule } from 'primeng/divider';
|
|
28
|
-
import * as i2$2 from 'projects/keevo-components/src/public-api';
|
|
29
28
|
import * as i1$4 from '@angular/common/http';
|
|
30
29
|
import { HttpHeaders } from '@angular/common/http';
|
|
31
30
|
import { filter as filter$1 } from 'rxjs/operators';
|
|
@@ -39,7 +38,7 @@ import * as i5$2 from 'primeng/calendar';
|
|
|
39
38
|
import { CalendarModule } from 'primeng/calendar';
|
|
40
39
|
import * as i8 from 'primeng/card';
|
|
41
40
|
import { CardModule } from 'primeng/card';
|
|
42
|
-
import * as i2$
|
|
41
|
+
import * as i2$2 from 'primeng/carousel';
|
|
43
42
|
import { CarouselModule } from 'primeng/carousel';
|
|
44
43
|
import * as i9 from 'primeng/checkbox';
|
|
45
44
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
@@ -102,7 +101,7 @@ import * as i1$6 from 'primeng/tree';
|
|
|
102
101
|
import { TreeModule } from 'primeng/tree';
|
|
103
102
|
import * as i10$1 from 'primeng/treetable';
|
|
104
103
|
import { TreeTableModule } from 'primeng/treetable';
|
|
105
|
-
import * as i2$
|
|
104
|
+
import * as i2$3 from 'primeng/selectbutton';
|
|
106
105
|
import { SelectButtonModule } from 'primeng/selectbutton';
|
|
107
106
|
import * as i5$8 from 'primeng/stepper';
|
|
108
107
|
import { StepperModule } from 'primeng/stepper';
|
|
@@ -112,6 +111,7 @@ import { NgxLoadingModule } from 'ngx-loading';
|
|
|
112
111
|
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
113
112
|
import { OrgChart } from 'd3-org-chart';
|
|
114
113
|
import * as d3 from 'd3';
|
|
114
|
+
import * as i2$4 from 'projects/keevo-components/src/public-api';
|
|
115
115
|
import * as i12$1 from 'primeng/tieredmenu';
|
|
116
116
|
import * as i8$1 from '@angular/cdk/drag-drop';
|
|
117
117
|
import { moveItemInArray } from '@angular/cdk/drag-drop';
|
|
@@ -1559,320 +1559,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
1559
1559
|
type: Output
|
|
1560
1560
|
}] } });
|
|
1561
1561
|
|
|
1562
|
-
class BasecomponentTable {
|
|
1563
|
-
/**
|
|
1564
|
-
*
|
|
1565
|
-
*/
|
|
1566
|
-
constructor(datePipe, decimalPipe, cpfCnpjPipe, telefonePipe, notificationService
|
|
1567
|
-
// public capitalizePipe: CapitalizePipe,
|
|
1568
|
-
) {
|
|
1569
|
-
this.datePipe = datePipe;
|
|
1570
|
-
this.decimalPipe = decimalPipe;
|
|
1571
|
-
this.cpfCnpjPipe = cpfCnpjPipe;
|
|
1572
|
-
this.telefonePipe = telefonePipe;
|
|
1573
|
-
this.notificationService = notificationService;
|
|
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jlxy7KNNX1O3WQ8CgOpf5fE4ro+08naWfq7KevMsfVrzrqI35H96xxzIJfjaXqzJBLjmeBN+iI1k+a/BeN6lS/lvZElMbJaxFvG9sGbpRl7eQx3sa2O9aczaVPLdr39Ol8G1L2dUTFe1vXptciAcQc4s/lYjbYmBMVEy6dkf1JTsEHTkAKO48DqBGw1Vk/ak2ZhB+lfPMtJGypct70x72nBcOfHyxy4kDmmmuJnuLiV5ZZWLu7sWZmJ2SSe5JPvVa24ndlmkoVZZFtQSKAUAoD/9k=';
|
|
1576
|
-
this.selectedSize = { name: 'Normal', class: 'p-datatable-md', size: 1 };
|
|
1577
|
-
this.collapsed = false;
|
|
1578
|
-
this.globalFilterFields = [];
|
|
1579
|
-
// Entradas
|
|
1580
|
-
this.selectedItems = [];
|
|
1581
|
-
this.paginator = true;
|
|
1582
|
-
this.rows = 5;
|
|
1583
|
-
this.pageLinksOptions = 1;
|
|
1584
|
-
this.showFirstLastIcon = false;
|
|
1585
|
-
this.applyStyle = (rowData, col) => '';
|
|
1586
|
-
this.filterColumnsBtn = false;
|
|
1587
|
-
this.filtrosAvancados = false;
|
|
1588
|
-
this.scrollHeight = '';
|
|
1589
|
-
this.isTableScrollable = false;
|
|
1590
|
-
this.rowTrackBy = (index, item) => item;
|
|
1591
|
-
this.responsiveLayout = true;
|
|
1592
|
-
//Emissores de evendo
|
|
1593
|
-
this.onFilter = new EventEmitter();
|
|
1594
|
-
this.onSwitchTableChange = new EventEmitter();
|
|
1595
|
-
this.onActiveItemLote = new EventEmitter();
|
|
1596
|
-
this.onActiveItem = new EventEmitter();
|
|
1597
|
-
this.onSelectionChange = new EventEmitter();
|
|
1598
|
-
this.doubleClickEvent = new EventEmitter();
|
|
1599
|
-
this.onPaginate = new EventEmitter();
|
|
1600
|
-
}
|
|
1601
|
-
set setConfig(value) {
|
|
1602
|
-
this.config = {
|
|
1603
|
-
enableCation: value.enableCation || true,
|
|
1604
|
-
enableSelect: value.enableSelect || false,
|
|
1605
|
-
enableFilter: value.enableFilter || true,
|
|
1606
|
-
...value,
|
|
1607
|
-
};
|
|
1608
|
-
if (this.config.enableFilter) {
|
|
1609
|
-
this.config.columns.forEach((col) => {
|
|
1610
|
-
this.globalFilterFields.push(col.field);
|
|
1611
|
-
});
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
ngOnInit() {
|
|
1615
|
-
}
|
|
1616
|
-
//Metodos de ação
|
|
1617
|
-
doubleClick(e, rowData) {
|
|
1618
|
-
let eventDoubleClick = { event: e, rowData: rowData };
|
|
1619
|
-
let array = [];
|
|
1620
|
-
e.target.classList.forEach((x) => array.push(x));
|
|
1621
|
-
this.doubleClickEvent.emit(eventDoubleClick);
|
|
1622
|
-
}
|
|
1623
|
-
//Metodos de retorno de valor
|
|
1624
|
-
returnTooltipRow(rowData, col) {
|
|
1625
|
-
return this.retornarRow(rowData, col, 'tooltiprow');
|
|
1626
|
-
}
|
|
1627
|
-
retornarRow(rowData, col, field) {
|
|
1628
|
-
const _rowaction = this.config.rows ? this.config.rows[col.field] : null;
|
|
1629
|
-
const _field = _rowaction && _rowaction[field]
|
|
1630
|
-
? _rowaction[field].constructor === Function
|
|
1631
|
-
? _rowaction[field].apply(this, [rowData])
|
|
1632
|
-
: _rowaction[field]
|
|
1633
|
-
: null;
|
|
1634
|
-
return _field;
|
|
1635
|
-
}
|
|
1636
|
-
returnRowClass(rowData, col) {
|
|
1637
|
-
let value = rowData[col.field];
|
|
1638
|
-
let rowClass;
|
|
1639
|
-
this.tableSize > 800 ? (rowClass = 'text-base') : (rowClass = '');
|
|
1640
|
-
if (col.expiredDate == true) {
|
|
1641
|
-
new Date(value) < new Date()
|
|
1642
|
-
? (rowClass = rowClass + ' text-red-400 font-semibold')
|
|
1643
|
-
: '';
|
|
1644
|
-
}
|
|
1645
|
-
return rowClass;
|
|
1646
|
-
}
|
|
1647
|
-
getCustomTemplate(templatename) {
|
|
1648
|
-
return this._templates[templatename];
|
|
1649
|
-
}
|
|
1650
|
-
returnClassIcon(rowData, col) {
|
|
1651
|
-
return this.retornarRow(rowData, col, 'iconrow');
|
|
1652
|
-
}
|
|
1653
|
-
returnClassChip(rowData, col) {
|
|
1654
|
-
return `chip-style w-auto border-round-2xl p-2 text-${this.retornarRow(rowData, col, 'stylechip')} border-${this.retornarRow(rowData, col, 'stylechip')}`;
|
|
1655
|
-
}
|
|
1656
|
-
returnTooltipIcon(rowData, col) {
|
|
1657
|
-
return this.retornarRow(rowData, col, 'tooltipiconrow');
|
|
1658
|
-
}
|
|
1659
|
-
loadImage(rowData, col) {
|
|
1660
|
-
/*
|
|
1661
|
-
Nossa coluna de imagem trabalha com strings do tipo: base64 ou url
|
|
1662
|
-
*/
|
|
1663
|
-
let retorno = `data:image/jpg;base64, ${this.imgDefault}`;
|
|
1664
|
-
if (rowData && col && rowData[col.field] && rowData[col.field] !== '') {
|
|
1665
|
-
if (rowData[col.field].includes('http'))
|
|
1666
|
-
retorno = rowData[col.field];
|
|
1667
|
-
else
|
|
1668
|
-
retorno = `data:image/jpg;base64, ${rowData[col.field]}`;
|
|
1669
|
-
}
|
|
1670
|
-
return retorno;
|
|
1671
|
-
}
|
|
1672
|
-
//Metodos de alinhamento e centralizamento de coluna
|
|
1673
|
-
alignColunas(col) {
|
|
1674
|
-
if (col.align) {
|
|
1675
|
-
return `text-align: ${col.align}`;
|
|
1676
|
-
}
|
|
1677
|
-
else
|
|
1678
|
-
return '';
|
|
1679
|
-
}
|
|
1680
|
-
centralizarColunas(col) {
|
|
1681
|
-
if (col.centralize) {
|
|
1682
|
-
return 'text-align: center; ';
|
|
1683
|
-
}
|
|
1684
|
-
else
|
|
1685
|
-
return '';
|
|
1686
|
-
}
|
|
1687
|
-
alignColunasHeader(col) {
|
|
1688
|
-
if (col.align) {
|
|
1689
|
-
if (col.align == 'right')
|
|
1690
|
-
return 'justify-content: end';
|
|
1691
|
-
else
|
|
1692
|
-
return '';
|
|
1693
|
-
}
|
|
1694
|
-
else
|
|
1695
|
-
return '';
|
|
1696
|
-
}
|
|
1697
|
-
//Metodos de formatação de celula
|
|
1698
|
-
formatarValor(valor) {
|
|
1699
|
-
const formatter = new Intl.NumberFormat('pt-BR', {
|
|
1700
|
-
style: 'currency',
|
|
1701
|
-
currency: 'BRL',
|
|
1702
|
-
});
|
|
1703
|
-
return formatter.format(valor);
|
|
1704
|
-
}
|
|
1705
|
-
transformValue(rowData, col) {
|
|
1706
|
-
let value = rowData[col.field];
|
|
1707
|
-
if (value != null) {
|
|
1708
|
-
if (!col.pipe) {
|
|
1709
|
-
return value;
|
|
1710
|
-
}
|
|
1711
|
-
switch (col.pipe) {
|
|
1712
|
-
case 'date':
|
|
1713
|
-
return this.datePipe.transform(value, 'dd/MM/yyyy');
|
|
1714
|
-
case 'decimal':
|
|
1715
|
-
return this.decimalPipe.transform(value, '1.2-2', 'pt-BR');
|
|
1716
|
-
case 'cpfcnpj':
|
|
1717
|
-
return this.cpfCnpjPipe.transform(value);
|
|
1718
|
-
case 'telefone':
|
|
1719
|
-
return this.telefonePipe.transform(value);
|
|
1720
|
-
// case 'capitalize':
|
|
1721
|
-
// return this.capitalizePipe.transform(value);
|
|
1722
|
-
case 'money':
|
|
1723
|
-
return this.formatarValor(value);
|
|
1724
|
-
case 'percentage':
|
|
1725
|
-
return `${value} %`;
|
|
1726
|
-
default:
|
|
1727
|
-
break;
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
//Metodos de filtragem
|
|
1732
|
-
onGlobalFilter(table, event) {
|
|
1733
|
-
this.onFilter.emit(event.target.value);
|
|
1734
|
-
table.filterGlobal(event.target.value, 'contains');
|
|
1735
|
-
}
|
|
1736
|
-
//Metodos para campo switch
|
|
1737
|
-
onSwitchChange(estado, rowData, col) {
|
|
1738
|
-
this.onSwitchTableChange.emit({
|
|
1739
|
-
estado: estado,
|
|
1740
|
-
rowData: rowData,
|
|
1741
|
-
col: col
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
isSwitchField(col) {
|
|
1745
|
-
let retorno = col.fieldType && col.fieldType === 'switch' ? true : false;
|
|
1746
|
-
return retorno;
|
|
1747
|
-
}
|
|
1748
|
-
//Metodos para campo checkbox
|
|
1749
|
-
isDisabledCheckbox(rowData) {
|
|
1750
|
-
return this.config.disableControlCheckboxFunction
|
|
1751
|
-
? this.config.disableControlCheckboxFunction(rowData)
|
|
1752
|
-
: false;
|
|
1753
|
-
}
|
|
1754
|
-
activeItemLote(selectedItems) {
|
|
1755
|
-
this.onActiveItemLote.emit(selectedItems);
|
|
1756
|
-
}
|
|
1757
|
-
activeItem(rowData) {
|
|
1758
|
-
this.selectedItem = rowData;
|
|
1759
|
-
this.onActiveItem.emit({ rowData: rowData });
|
|
1760
|
-
}
|
|
1761
|
-
//Metodos de controle de celula genericos (disable, visible...)
|
|
1762
|
-
exibirCampo(field, rowData) {
|
|
1763
|
-
let visible = field.visible ? field.visible(rowData) : true;
|
|
1764
|
-
return visible;
|
|
1765
|
-
}
|
|
1766
|
-
selectionChange(value = []) {
|
|
1767
|
-
this.onSelectionChange.emit(value);
|
|
1768
|
-
}
|
|
1769
|
-
//Metodos de verificação de tipo de campo
|
|
1770
|
-
isImageField(col) {
|
|
1771
|
-
let retorno = col.fieldType && col.fieldType === 'image' ? true : false;
|
|
1772
|
-
return retorno;
|
|
1773
|
-
}
|
|
1774
|
-
isChipField(col) {
|
|
1775
|
-
return col.fieldType == 'chip';
|
|
1776
|
-
}
|
|
1777
|
-
isBooleanField(rowData, col) {
|
|
1778
|
-
return col.fieldType == 'boolean';
|
|
1779
|
-
}
|
|
1780
|
-
//Metodos de filtragem, ordenação e paginação
|
|
1781
|
-
paginate($event) {
|
|
1782
|
-
if ($event) {
|
|
1783
|
-
let paginaInicial = ($event?.first > 0 ? $event.first / $event.rows : $event.first) + 1;
|
|
1784
|
-
let termoPesquisa = '';
|
|
1785
|
-
let ordenacao = '';
|
|
1786
|
-
if ($event.globalFilter)
|
|
1787
|
-
termoPesquisa = $event.globalFilter;
|
|
1788
|
-
if ($event.sortField)
|
|
1789
|
-
ordenacao = `${$event.sortField} ${$event.sortOrder === 1 ? 'ASC' : 'DESC'}`;
|
|
1790
|
-
const objeto = {
|
|
1791
|
-
paginaInicial: paginaInicial,
|
|
1792
|
-
tamanhoPagina: $event.rows,
|
|
1793
|
-
termoPesquisa: termoPesquisa,
|
|
1794
|
-
ordenacao: ordenacao,
|
|
1795
|
-
};
|
|
1796
|
-
this.onPaginate.emit(objeto);
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
adjustTableSize() {
|
|
1800
|
-
if (this.tableSize < 800) {
|
|
1801
|
-
this.selectedSize = 'p-datatable-sm';
|
|
1802
|
-
}
|
|
1803
|
-
else {
|
|
1804
|
-
this.selectedSize = '';
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
onWindowResize() {
|
|
1808
|
-
this.adjustTableSize();
|
|
1809
|
-
this.tamanhoTela = window.innerWidth;
|
|
1810
|
-
}
|
|
1811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasecomponentTable, deps: [{ token: i1.DatePipe }, { token: i1.DecimalPipe }, { token: i2$2.CpfCnpjPipe }, { token: i2$2.TelefonePipe }, { token: i2$2.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1812
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: BasecomponentTable, selector: "ng-component", inputs: { selectedItems: "selectedItems", totalRecords: "totalRecords", paginator: "paginator", rowsPerPageOptions: "rowsPerPageOptions", rows: "rows", pageLinksOptions: "pageLinksOptions", showFirstLastIcon: "showFirstLastIcon", applyStyle: "applyStyle", filterColumnsBtn: "filterColumnsBtn", filtrosAvancados: "filtrosAvancados", scrollHeight: "scrollHeight", isTableScrollable: "isTableScrollable", rowTrackBy: "rowTrackBy", responsiveLayout: "responsiveLayout", tableSize: "tableSize", dataSource: "dataSource", _templates: ["templates", "_templates"], setConfig: ["config", "setConfig"] }, outputs: { onFilter: "onFilter", onSwitchTableChange: "onSwitchTableChange", onActiveItemLote: "onActiveItemLote", onActiveItem: "onActiveItem", onSelectionChange: "onSelectionChange", doubleClickEvent: "doubleClickEvent", onPaginate: "onPaginate" }, host: { listeners: { "window:resize": "onWindowResize($event)" } }, ngImport: i0, template: '', isInline: true }); }
|
|
1813
|
-
}
|
|
1814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasecomponentTable, decorators: [{
|
|
1815
|
-
type: Component,
|
|
1816
|
-
args: [{
|
|
1817
|
-
template: '',
|
|
1818
|
-
}]
|
|
1819
|
-
}], ctorParameters: () => [{ type: i1.DatePipe }, { type: i1.DecimalPipe }, { type: i2$2.CpfCnpjPipe }, { type: i2$2.TelefonePipe }, { type: i2$2.NotificationService }], propDecorators: { selectedItems: [{
|
|
1820
|
-
type: Input
|
|
1821
|
-
}], totalRecords: [{
|
|
1822
|
-
type: Input
|
|
1823
|
-
}], paginator: [{
|
|
1824
|
-
type: Input
|
|
1825
|
-
}], rowsPerPageOptions: [{
|
|
1826
|
-
type: Input
|
|
1827
|
-
}], rows: [{
|
|
1828
|
-
type: Input
|
|
1829
|
-
}], pageLinksOptions: [{
|
|
1830
|
-
type: Input
|
|
1831
|
-
}], showFirstLastIcon: [{
|
|
1832
|
-
type: Input
|
|
1833
|
-
}], applyStyle: [{
|
|
1834
|
-
type: Input
|
|
1835
|
-
}], filterColumnsBtn: [{
|
|
1836
|
-
type: Input
|
|
1837
|
-
}], filtrosAvancados: [{
|
|
1838
|
-
type: Input
|
|
1839
|
-
}], scrollHeight: [{
|
|
1840
|
-
type: Input
|
|
1841
|
-
}], isTableScrollable: [{
|
|
1842
|
-
type: Input
|
|
1843
|
-
}], rowTrackBy: [{
|
|
1844
|
-
type: Input
|
|
1845
|
-
}], responsiveLayout: [{
|
|
1846
|
-
type: Input
|
|
1847
|
-
}], tableSize: [{
|
|
1848
|
-
type: Input
|
|
1849
|
-
}], dataSource: [{
|
|
1850
|
-
type: Input
|
|
1851
|
-
}], _templates: [{
|
|
1852
|
-
type: Input,
|
|
1853
|
-
args: ['templates']
|
|
1854
|
-
}], setConfig: [{
|
|
1855
|
-
type: Input,
|
|
1856
|
-
args: ['config']
|
|
1857
|
-
}], onFilter: [{
|
|
1858
|
-
type: Output
|
|
1859
|
-
}], onSwitchTableChange: [{
|
|
1860
|
-
type: Output
|
|
1861
|
-
}], onActiveItemLote: [{
|
|
1862
|
-
type: Output
|
|
1863
|
-
}], onActiveItem: [{
|
|
1864
|
-
type: Output
|
|
1865
|
-
}], onSelectionChange: [{
|
|
1866
|
-
type: Output
|
|
1867
|
-
}], doubleClickEvent: [{
|
|
1868
|
-
type: Output
|
|
1869
|
-
}], onPaginate: [{
|
|
1870
|
-
type: Output
|
|
1871
|
-
}], onWindowResize: [{
|
|
1872
|
-
type: HostListener,
|
|
1873
|
-
args: ['window:resize', ['$event']]
|
|
1874
|
-
}] } });
|
|
1875
|
-
|
|
1876
1562
|
class DocsService {
|
|
1877
1563
|
static validaCpfCnpj(cpfcnpj) {
|
|
1878
1564
|
cpfcnpj = cpfcnpj.replace(/\D/g, '');
|
|
@@ -2834,7 +2520,7 @@ class KvCarouselComponent {
|
|
|
2834
2520
|
}
|
|
2835
2521
|
}
|
|
2836
2522
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2837
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvCarouselComponent, selector: "kv-carousel", inputs: { carouselData: "carouselData" }, ngImport: i0, template: "<p-carousel id=\"carousel\" [value]=\"carouselData\" [indicatorStyleClass]=\"'carousel-indicator'\" [autoplayInterval]=\"5000\" \r\n [showIndicators]=\"true\" [showNavigators]=\"false\" [numVisible]=\"1\" [numScroll]=\"1\" [circular]=\"true\" styleClass=\"h-full\">\r\n>\r\n <ng-template pTemplate=\"item\" let-banner class=\"justify-content-center align-items-center \">\r\n <img [src]=\"banner.img\" class=\"w-full border-round-banner\" [style.height.px]=\"heightCarousel\"\r\n (click)=\"navigateToLink(banner.link)\">\r\n </ng-template>\r\n</p-carousel>\r\n", styles: ["::ng-deep .p-carousel-indicators{position:absolute;left:50%;transform:translate(-50%);bottom:-1rem}::ng-deep .carousel-indicator{width:15px!important;height:4px!important;margin:-3px!important;padding:0!important;background-color:#eeeeeed0}::ng-deep .carousel-indicator:hover{background-color:#efefef}button.p-carousel-indicator.p-link{background-color:#f0f8ff!important}::ng-deep .p-carousel .p-carousel-content{overflow:hidden!important;position:relative}::ng-deep .border-round-banner{border-radius:20px!important;max-height:500px}\n"], dependencies: [{ kind: "directive", type: i1$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$
|
|
2523
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvCarouselComponent, selector: "kv-carousel", inputs: { carouselData: "carouselData" }, ngImport: i0, template: "<p-carousel id=\"carousel\" [value]=\"carouselData\" [indicatorStyleClass]=\"'carousel-indicator'\" [autoplayInterval]=\"5000\" \r\n [showIndicators]=\"true\" [showNavigators]=\"false\" [numVisible]=\"1\" [numScroll]=\"1\" [circular]=\"true\" styleClass=\"h-full\">\r\n>\r\n <ng-template pTemplate=\"item\" let-banner class=\"justify-content-center align-items-center \">\r\n <img [src]=\"banner.img\" class=\"w-full border-round-banner\" [style.height.px]=\"heightCarousel\"\r\n (click)=\"navigateToLink(banner.link)\">\r\n </ng-template>\r\n</p-carousel>\r\n", styles: ["::ng-deep .p-carousel-indicators{position:absolute;left:50%;transform:translate(-50%);bottom:-1rem}::ng-deep .carousel-indicator{width:15px!important;height:4px!important;margin:-3px!important;padding:0!important;background-color:#eeeeeed0}::ng-deep .carousel-indicator:hover{background-color:#efefef}button.p-carousel-indicator.p-link{background-color:#f0f8ff!important}::ng-deep .p-carousel .p-carousel-content{overflow:hidden!important;position:relative}::ng-deep .border-round-banner{border-radius:20px!important;max-height:500px}\n"], dependencies: [{ kind: "directive", type: i1$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$2.Carousel, selector: "p-carousel", inputs: ["page", "numVisible", "numScroll", "responsiveOptions", "orientation", "verticalViewPortHeight", "contentClass", "indicatorsContentClass", "indicatorsContentStyle", "indicatorStyleClass", "indicatorStyle", "value", "circular", "showIndicators", "showNavigators", "autoplayInterval", "style", "styleClass"], outputs: ["onPage"] }] }); }
|
|
2838
2524
|
}
|
|
2839
2525
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvCarouselComponent, decorators: [{
|
|
2840
2526
|
type: Component,
|
|
@@ -3430,7 +3116,7 @@ class KvSelectButtonComponent {
|
|
|
3430
3116
|
this.optionClick.emit(event);
|
|
3431
3117
|
}
|
|
3432
3118
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvSelectButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3433
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvSelectButtonComponent, selector: "kv-select-button", inputs: { formGroup: "formGroup", formControlName: "formControlName", options: "options", optionLabel: "optionLabel", optionValue: "optionValue", mutiple: "mutiple", disabled: "disabled", value: "value" }, outputs: { onSelectionChange: "onSelectionChange", optionClick: "optionClick" }, ngImport: i0, template: "@if(value) {\r\n<p-selectButton\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onOptionClick)=\"onOptionClick($event)\"\r\n [multiple]=\"mutiple\"\r\n [disabled]=\"disabled\"\r\n [(ngModel)]=\"value\"\r\n/>\r\n} @else {\r\n<div [formGroup]=\"formGroup\">\r\n <p-selectButton\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onOptionClick)=\"onOptionClick($event)\"\r\n [multiple]=\"mutiple\"\r\n [disabled]=\"disabled\"\r\n [formControlName]=\"formControlName\"\r\n [(ngModel)]=\"value\"\r\n />\r\n</div>\r\n}", styles: [":host ::ng-deep .p-selectbutton .p-button.p-highlight{background:#183462!important;border:#183462;box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f}\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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$
|
|
3119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvSelectButtonComponent, selector: "kv-select-button", inputs: { formGroup: "formGroup", formControlName: "formControlName", options: "options", optionLabel: "optionLabel", optionValue: "optionValue", mutiple: "mutiple", disabled: "disabled", value: "value" }, outputs: { onSelectionChange: "onSelectionChange", optionClick: "optionClick" }, ngImport: i0, template: "@if(value) {\r\n<p-selectButton\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onOptionClick)=\"onOptionClick($event)\"\r\n [multiple]=\"mutiple\"\r\n [disabled]=\"disabled\"\r\n [(ngModel)]=\"value\"\r\n/>\r\n} @else {\r\n<div [formGroup]=\"formGroup\">\r\n <p-selectButton\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onOptionClick)=\"onOptionClick($event)\"\r\n [multiple]=\"mutiple\"\r\n [disabled]=\"disabled\"\r\n [formControlName]=\"formControlName\"\r\n [(ngModel)]=\"value\"\r\n />\r\n</div>\r\n}", styles: [":host ::ng-deep .p-selectbutton .p-button.p-highlight{background:#183462!important;border:#183462;box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f}\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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$3.SelectButton, selector: "p-selectButton", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "disabled", "dataKey", "autofocus"], outputs: ["onOptionClick", "onChange"] }, { 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"] }] }); }
|
|
3434
3120
|
}
|
|
3435
3121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvSelectButtonComponent, decorators: [{
|
|
3436
3122
|
type: Component,
|
|
@@ -4220,256 +3906,570 @@ class KvPageFormComponent {
|
|
|
4220
3906
|
}
|
|
4221
3907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormComponent, decorators: [{
|
|
4222
3908
|
type: Component,
|
|
4223
|
-
args: [{ selector: 'kv-page-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n [formGroup]=\"formGroup\"\r\n class=\"grid-nogutter m-0\"\r\n id=\"page-form-container\"\r\n>\r\n\r\n <!-- Renderiza\u00E7\u00E3o do form -->\r\n <div class=\"col-12 p-0\" id=\"page-form-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <!-- Divider -->\r\n <!-- <p-divider class=\"col-12\"></p-divider> -->\r\n\r\n <!-- Barra de a\u00E7\u00F5es -->\r\n <div class=\"flex flex-column lg:flex-row justify-content-end col-12 gap-2 barra-acoes grid grid-nogutter p-fluid\">\r\n\r\n @if(positionBtnToogle == 'start'){\r\n <kv-button-popup\r\n *ngIf=\"actionsToogle && showBtnToogle\"\r\n [label]=\"txtBtnToogle\"\r\n [icon]=\"iconBtnToogle\"\r\n (click)=\"menuToogle.toggle($event)\"\r\n [disabled]=\"disableBtnToogle\"\r\n class=\"w-full lg:w-auto\"\r\n classBtn=\"{{classBtnToogle}}\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuToogle\r\n [popup]=\"true\"\r\n [model]=\"actionsToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n }\r\n\r\n <kv-button-popup\r\n *ngIf=\"actionsCancelToogle && showBtnCancelToogle\"\r\n [label]=\"txtBtnCancelToogle\"\r\n [icon]=\"iconBtnCancelToogle\"\r\n (click)=\"menuCancel.toggle($event)\"\r\n class=\"w-full lg:w-auto\"\r\n [classBtn]=\"'btn-secondary border-300'\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuCancel\r\n [popup]=\"true\"\r\n [model]=\"actionsCancelToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n\r\n <kv-button-secondary\r\n *ngIf=\"showBtnCancel\"\r\n [label]=\"txtBtnCancel\"\r\n [icon]=\"iconBtnCancel\"\r\n [disabled]=\"isSaveLoading\"\r\n (click)=\"cancel($event)\"\r\n class=\"w-full lg:w-auto\"\r\n >\r\n </kv-button-secondary>\r\n\r\n <kv-button-success\r\n *ngIf=\"showBtnSave\"\r\n [label]=\"txtBtnSave\"\r\n [icon]=\"iconBtnSave\"\r\n [disabled]=\"disableBtnSave\"\r\n [loading]=\"isSaveLoading\"\r\n (click)=\"!disableBtnSave ? save($event) : ''\"\r\n class=\"w-full lg:w-auto\"\r\n />\r\n\r\n\r\n <kv-button-popup\r\n *ngIf=\"actionsSaveToogle && showBtnSaveToogle\"\r\n [label]=\"txtBtnSaveToogle\"\r\n [icon]=\"iconBtnSaveToogle\"\r\n (click)=\"menuSave.toggle($event)\"\r\n [loading]=\"isSaveLoading\"\r\n class=\"w-full lg:w-auto\"\r\n [classBtn]=\"'btn-success border-green-500'\"\r\n >\r\n </kv-button-popup>\r\n\r\n <p-menu\r\n #menuSave\r\n [popup]=\"true\"\r\n [model]=\"actionsSaveToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n\r\n\r\n @if(positionBtnToogle == 'end'){\r\n <kv-button-popup\r\n *ngIf=\"actionsToogle && showBtnToogle\"\r\n [label]=\"txtBtnToogle\"\r\n [icon]=\"iconBtnToogle\"\r\n (click)=\"menuToogle.toggle($event)\"\r\n [disabled]=\"disableBtnToogle\"\r\n class=\"w-full lg:w-auto\"\r\n classBtn=\"{{classBtnToogle}}\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuToogle\r\n [popup]=\"true\"\r\n [model]=\"actionsToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n }\r\n </div>\r\n\r\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-header{color:#fff!important;background:#002542!important;display:flex!important;flex-wrap:wrap}::ng-deep .p-dialog .p-dialog-content{padding-top:1rem}::ng-deep .p-dialog{min-width:320px}.sub-title{color:#ff0;position:relative;bottom:25px;z-index:1}::ng-deep .p-dialog-content{overflow-x:hidden}::ng-deep .p-dialog-content::-webkit-scrollbar{width:8px}::ng-deep .p-dialog-content::-webkit-scrollbar:hover{background-color:#dededebf}::ng-deep .p-dialog-content::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}::ng-deep .p-dialog-content:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}::ng-deep .p-dialog-content::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}*{padding-bottom:0rem;padding-top:0rem}.barra-acoes{position:fixed;bottom:0;left:0;right:0;background-color:#fff;padding:10px;z-index:999}#page-form-container{padding-bottom:40px}@media screen and (max-width: 991px){#page-form-container{padding-bottom:100px}}\n"] }]
|
|
4224
|
-
}], ctorParameters: () => [{ type: i2$1.FormBuilder }], propDecorators: { formGroup: [{
|
|
4225
|
-
type: Input
|
|
4226
|
-
}], TituloForm: [{
|
|
4227
|
-
type: Input
|
|
4228
|
-
}], SubTituloForm: [{
|
|
4229
|
-
type: Input
|
|
4230
|
-
}], isSaveLoading: [{
|
|
4231
|
-
type: Input
|
|
4232
|
-
}], popup: [{
|
|
4233
|
-
type: Input
|
|
4234
|
-
}], locationUseComponent: [{
|
|
4235
|
-
type: Input
|
|
4236
|
-
}], iconBtnCancel: [{
|
|
4237
|
-
type: Input
|
|
4238
|
-
}], showBtnCancel: [{
|
|
4239
|
-
type: Input
|
|
4240
|
-
}], txtBtnCancel: [{
|
|
4241
|
-
type: Input
|
|
4242
|
-
}], actionsCancelToogle: [{
|
|
4243
|
-
type: Input
|
|
4244
|
-
}], iconBtnCancelToogle: [{
|
|
4245
|
-
type: Input
|
|
4246
|
-
}], showBtnCancelToogle: [{
|
|
4247
|
-
type: Input
|
|
4248
|
-
}], txtBtnCancelToogle: [{
|
|
4249
|
-
type: Input
|
|
4250
|
-
}], iconBtnSave: [{
|
|
4251
|
-
type: Input
|
|
4252
|
-
}], showBtnSave: [{
|
|
4253
|
-
type: Input
|
|
4254
|
-
}], txtBtnSave: [{
|
|
4255
|
-
type: Input
|
|
4256
|
-
}], disableBtnSave: [{
|
|
4257
|
-
type: Input
|
|
4258
|
-
}], actionsSaveToogle: [{
|
|
3909
|
+
args: [{ selector: 'kv-page-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n [formGroup]=\"formGroup\"\r\n class=\"grid-nogutter m-0\"\r\n id=\"page-form-container\"\r\n>\r\n\r\n <!-- Renderiza\u00E7\u00E3o do form -->\r\n <div class=\"col-12 p-0\" id=\"page-form-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <!-- Divider -->\r\n <!-- <p-divider class=\"col-12\"></p-divider> -->\r\n\r\n <!-- Barra de a\u00E7\u00F5es -->\r\n <div class=\"flex flex-column lg:flex-row justify-content-end col-12 gap-2 barra-acoes grid grid-nogutter p-fluid\">\r\n\r\n @if(positionBtnToogle == 'start'){\r\n <kv-button-popup\r\n *ngIf=\"actionsToogle && showBtnToogle\"\r\n [label]=\"txtBtnToogle\"\r\n [icon]=\"iconBtnToogle\"\r\n (click)=\"menuToogle.toggle($event)\"\r\n [disabled]=\"disableBtnToogle\"\r\n class=\"w-full lg:w-auto\"\r\n classBtn=\"{{classBtnToogle}}\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuToogle\r\n [popup]=\"true\"\r\n [model]=\"actionsToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n }\r\n\r\n <kv-button-popup\r\n *ngIf=\"actionsCancelToogle && showBtnCancelToogle\"\r\n [label]=\"txtBtnCancelToogle\"\r\n [icon]=\"iconBtnCancelToogle\"\r\n (click)=\"menuCancel.toggle($event)\"\r\n class=\"w-full lg:w-auto\"\r\n [classBtn]=\"'btn-secondary border-300'\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuCancel\r\n [popup]=\"true\"\r\n [model]=\"actionsCancelToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n\r\n <kv-button-secondary\r\n *ngIf=\"showBtnCancel\"\r\n [label]=\"txtBtnCancel\"\r\n [icon]=\"iconBtnCancel\"\r\n [disabled]=\"isSaveLoading\"\r\n (click)=\"cancel($event)\"\r\n class=\"w-full lg:w-auto\"\r\n >\r\n </kv-button-secondary>\r\n\r\n <kv-button-success\r\n *ngIf=\"showBtnSave\"\r\n [label]=\"txtBtnSave\"\r\n [icon]=\"iconBtnSave\"\r\n [disabled]=\"disableBtnSave\"\r\n [loading]=\"isSaveLoading\"\r\n (click)=\"!disableBtnSave ? save($event) : ''\"\r\n class=\"w-full lg:w-auto\"\r\n />\r\n\r\n\r\n <kv-button-popup\r\n *ngIf=\"actionsSaveToogle && showBtnSaveToogle\"\r\n [label]=\"txtBtnSaveToogle\"\r\n [icon]=\"iconBtnSaveToogle\"\r\n (click)=\"menuSave.toggle($event)\"\r\n [loading]=\"isSaveLoading\"\r\n class=\"w-full lg:w-auto\"\r\n [classBtn]=\"'btn-success border-green-500'\"\r\n >\r\n </kv-button-popup>\r\n\r\n <p-menu\r\n #menuSave\r\n [popup]=\"true\"\r\n [model]=\"actionsSaveToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n\r\n\r\n @if(positionBtnToogle == 'end'){\r\n <kv-button-popup\r\n *ngIf=\"actionsToogle && showBtnToogle\"\r\n [label]=\"txtBtnToogle\"\r\n [icon]=\"iconBtnToogle\"\r\n (click)=\"menuToogle.toggle($event)\"\r\n [disabled]=\"disableBtnToogle\"\r\n class=\"w-full lg:w-auto\"\r\n classBtn=\"{{classBtnToogle}}\"\r\n >\r\n </kv-button-popup>\r\n <p-menu\r\n #menuToogle\r\n [popup]=\"true\"\r\n [model]=\"actionsToogle\"\r\n appendTo=\"body\"\r\n class=\"w-full lg:w-auto\"\r\n ></p-menu>\r\n }\r\n </div>\r\n\r\n</div>", styles: ["::ng-deep .p-dialog .p-dialog-header{color:#fff!important;background:#002542!important;display:flex!important;flex-wrap:wrap}::ng-deep .p-dialog .p-dialog-content{padding-top:1rem}::ng-deep .p-dialog{min-width:320px}.sub-title{color:#ff0;position:relative;bottom:25px;z-index:1}::ng-deep .p-dialog-content{overflow-x:hidden}::ng-deep .p-dialog-content::-webkit-scrollbar{width:8px}::ng-deep .p-dialog-content::-webkit-scrollbar:hover{background-color:#dededebf}::ng-deep .p-dialog-content::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}::ng-deep .p-dialog-content:hover::-webkit-scrollbar-thumb{border-left:2px solid white;background-color:#00000080}::ng-deep .p-dialog-content::-webkit-scrollbar-track{border-left:2px solid white;background-color:#dededebf}*{padding-bottom:0rem;padding-top:0rem}.barra-acoes{position:fixed;bottom:0;left:0;right:0;background-color:#fff;padding:10px;z-index:999}#page-form-container{padding-bottom:40px}@media screen and (max-width: 991px){#page-form-container{padding-bottom:100px}}\n"] }]
|
|
3910
|
+
}], ctorParameters: () => [{ type: i2$1.FormBuilder }], propDecorators: { formGroup: [{
|
|
3911
|
+
type: Input
|
|
3912
|
+
}], TituloForm: [{
|
|
3913
|
+
type: Input
|
|
3914
|
+
}], SubTituloForm: [{
|
|
3915
|
+
type: Input
|
|
3916
|
+
}], isSaveLoading: [{
|
|
3917
|
+
type: Input
|
|
3918
|
+
}], popup: [{
|
|
3919
|
+
type: Input
|
|
3920
|
+
}], locationUseComponent: [{
|
|
3921
|
+
type: Input
|
|
3922
|
+
}], iconBtnCancel: [{
|
|
3923
|
+
type: Input
|
|
3924
|
+
}], showBtnCancel: [{
|
|
3925
|
+
type: Input
|
|
3926
|
+
}], txtBtnCancel: [{
|
|
3927
|
+
type: Input
|
|
3928
|
+
}], actionsCancelToogle: [{
|
|
3929
|
+
type: Input
|
|
3930
|
+
}], iconBtnCancelToogle: [{
|
|
3931
|
+
type: Input
|
|
3932
|
+
}], showBtnCancelToogle: [{
|
|
3933
|
+
type: Input
|
|
3934
|
+
}], txtBtnCancelToogle: [{
|
|
3935
|
+
type: Input
|
|
3936
|
+
}], iconBtnSave: [{
|
|
3937
|
+
type: Input
|
|
3938
|
+
}], showBtnSave: [{
|
|
3939
|
+
type: Input
|
|
3940
|
+
}], txtBtnSave: [{
|
|
3941
|
+
type: Input
|
|
3942
|
+
}], disableBtnSave: [{
|
|
3943
|
+
type: Input
|
|
3944
|
+
}], actionsSaveToogle: [{
|
|
3945
|
+
type: Input
|
|
3946
|
+
}], iconBtnSaveToogle: [{
|
|
3947
|
+
type: Input
|
|
3948
|
+
}], showBtnSaveToogle: [{
|
|
3949
|
+
type: Input
|
|
3950
|
+
}], txtBtnSaveToogle: [{
|
|
3951
|
+
type: Input
|
|
3952
|
+
}], actionsToogle: [{
|
|
3953
|
+
type: Input
|
|
3954
|
+
}], iconBtnToogle: [{
|
|
3955
|
+
type: Input
|
|
3956
|
+
}], showBtnToogle: [{
|
|
3957
|
+
type: Input
|
|
3958
|
+
}], txtBtnToogle: [{
|
|
3959
|
+
type: Input
|
|
3960
|
+
}], disableBtnToogle: [{
|
|
3961
|
+
type: Input
|
|
3962
|
+
}], positionBtnToogle: [{
|
|
3963
|
+
type: Input
|
|
3964
|
+
}], classBtnToogle: [{
|
|
3965
|
+
type: Input
|
|
3966
|
+
}], disableBtnSair: [{
|
|
3967
|
+
type: Input
|
|
3968
|
+
}], onSave: [{
|
|
3969
|
+
type: Output
|
|
3970
|
+
}], onCancel: [{
|
|
3971
|
+
type: Output
|
|
3972
|
+
}] } });
|
|
3973
|
+
|
|
3974
|
+
class KvPageFormModule {
|
|
3975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3976
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormModule, declarations: [KvPageFormComponent], imports: [CommonModule,
|
|
3977
|
+
FormsModule,
|
|
3978
|
+
PrimeNgModule,
|
|
3979
|
+
KvButtonsModule,
|
|
3980
|
+
ReactiveFormsModule], exports: [KvPageFormComponent] }); }
|
|
3981
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormModule, imports: [CommonModule,
|
|
3982
|
+
FormsModule,
|
|
3983
|
+
PrimeNgModule,
|
|
3984
|
+
KvButtonsModule,
|
|
3985
|
+
ReactiveFormsModule] }); }
|
|
3986
|
+
}
|
|
3987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormModule, decorators: [{
|
|
3988
|
+
type: NgModule,
|
|
3989
|
+
args: [{
|
|
3990
|
+
declarations: [
|
|
3991
|
+
KvPageFormComponent
|
|
3992
|
+
],
|
|
3993
|
+
imports: [
|
|
3994
|
+
CommonModule,
|
|
3995
|
+
FormsModule,
|
|
3996
|
+
PrimeNgModule,
|
|
3997
|
+
KvButtonsModule,
|
|
3998
|
+
ReactiveFormsModule
|
|
3999
|
+
],
|
|
4000
|
+
exports: [
|
|
4001
|
+
KvPageFormComponent
|
|
4002
|
+
]
|
|
4003
|
+
}]
|
|
4004
|
+
}] });
|
|
4005
|
+
|
|
4006
|
+
class KvPickListComponent {
|
|
4007
|
+
constructor() {
|
|
4008
|
+
this.breakpoint = "1400px"; // Define a largura da tela na qual o componente deve alterar seu comportamento responsivo.
|
|
4009
|
+
this.dragdrop = true; // Ativa/Desativa o arrasta e solta
|
|
4010
|
+
this.responsive = true; // Ativa/Desativa a responsividade automática
|
|
4011
|
+
this.sourceHeader = 'Título da lista de origem';
|
|
4012
|
+
this.stripedRows = false; // Ativa/Desativa linhas com cores alternadas ("zebradas")
|
|
4013
|
+
this.targetHeader = 'Título de lista de destino';
|
|
4014
|
+
this.showSourceControls = true; // Exibir controls da lista de origem
|
|
4015
|
+
this.showTargetControls = true; // Exibir controls da lista de destino
|
|
4016
|
+
}
|
|
4017
|
+
ngOnInit() {
|
|
4018
|
+
}
|
|
4019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4020
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: KvPickListComponent, selector: "kv-picklist", inputs: { breakpoint: "breakpoint", dragdrop: "dragdrop", filterBy: "filterBy", itemTemplate: "itemTemplate", responsive: "responsive", source: "source", sourceHeader: "sourceHeader", sourceStyle: "sourceStyle", stripedRows: "stripedRows", target: "target", targetHeader: "targetHeader", targetStyle: "targetStyle", showSourceControls: "showSourceControls", showTargetControls: "showTargetControls" }, ngImport: i0, template: "<p-pickList\r\n [source]=\"source\"\r\n [sourceHeader]=\"sourceHeader\"\r\n [sourceStyle]=\"sourceStyle\"\r\n [target]=\"target\"\r\n [targetHeader]=\"targetHeader\"\r\n [targetStyle]=\"targetStyle\"\r\n [dragdrop]=\"dragdrop\"\r\n [responsive]=\"responsive\"\r\n [filterBy]=\"filterBy\"\r\n [breakpoint]=\"breakpoint\"\r\n [stripedRows]=\"stripedRows\"\r\n [showSourceControls]=\"showSourceControls\"\r\n [showTargetControls]=\"showTargetControls\"\r\n>\r\n <ng-template let-item pTemplate=\"item\" *ngIf=\"itemTemplate\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ng-template>\r\n</p-pickList>\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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$2.PickList, selector: "p-pickList", inputs: ["source", "target", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "breakpoint"], outputs: ["onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }] }); }
|
|
4021
|
+
}
|
|
4022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListComponent, decorators: [{
|
|
4023
|
+
type: Component,
|
|
4024
|
+
args: [{ selector: 'kv-picklist', template: "<p-pickList\r\n [source]=\"source\"\r\n [sourceHeader]=\"sourceHeader\"\r\n [sourceStyle]=\"sourceStyle\"\r\n [target]=\"target\"\r\n [targetHeader]=\"targetHeader\"\r\n [targetStyle]=\"targetStyle\"\r\n [dragdrop]=\"dragdrop\"\r\n [responsive]=\"responsive\"\r\n [filterBy]=\"filterBy\"\r\n [breakpoint]=\"breakpoint\"\r\n [stripedRows]=\"stripedRows\"\r\n [showSourceControls]=\"showSourceControls\"\r\n [showTargetControls]=\"showTargetControls\"\r\n>\r\n <ng-template let-item pTemplate=\"item\" *ngIf=\"itemTemplate\">\r\n <ng-container [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\r\n </ng-template>\r\n</p-pickList>\r\n", styles: ["label{font-family:Inter var,Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:35px}*{margin:0}\n"] }]
|
|
4025
|
+
}], ctorParameters: () => [], propDecorators: { breakpoint: [{
|
|
4026
|
+
type: Input
|
|
4027
|
+
}], dragdrop: [{
|
|
4028
|
+
type: Input
|
|
4029
|
+
}], filterBy: [{
|
|
4030
|
+
type: Input
|
|
4031
|
+
}], itemTemplate: [{
|
|
4032
|
+
type: Input
|
|
4033
|
+
}], responsive: [{
|
|
4034
|
+
type: Input
|
|
4035
|
+
}], source: [{
|
|
4036
|
+
type: Input
|
|
4037
|
+
}], sourceHeader: [{
|
|
4038
|
+
type: Input
|
|
4039
|
+
}], sourceStyle: [{
|
|
4040
|
+
type: Input
|
|
4041
|
+
}], stripedRows: [{
|
|
4042
|
+
type: Input
|
|
4043
|
+
}], target: [{
|
|
4044
|
+
type: Input
|
|
4045
|
+
}], targetHeader: [{
|
|
4046
|
+
type: Input
|
|
4047
|
+
}], targetStyle: [{
|
|
4048
|
+
type: Input
|
|
4049
|
+
}], showSourceControls: [{
|
|
4050
|
+
type: Input
|
|
4051
|
+
}], showTargetControls: [{
|
|
4052
|
+
type: Input
|
|
4053
|
+
}] } });
|
|
4054
|
+
|
|
4055
|
+
class KvPickListModule {
|
|
4056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4057
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, declarations: [KvPickListComponent], imports: [CommonModule,
|
|
4058
|
+
PrimeNgModule,
|
|
4059
|
+
FormsModule], exports: [KvPickListComponent] }); }
|
|
4060
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, imports: [CommonModule,
|
|
4061
|
+
PrimeNgModule,
|
|
4062
|
+
FormsModule] }); }
|
|
4063
|
+
}
|
|
4064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, decorators: [{
|
|
4065
|
+
type: NgModule,
|
|
4066
|
+
args: [{
|
|
4067
|
+
declarations: [
|
|
4068
|
+
KvPickListComponent
|
|
4069
|
+
],
|
|
4070
|
+
imports: [
|
|
4071
|
+
CommonModule,
|
|
4072
|
+
PrimeNgModule,
|
|
4073
|
+
FormsModule,
|
|
4074
|
+
],
|
|
4075
|
+
exports: [
|
|
4076
|
+
KvPickListComponent
|
|
4077
|
+
]
|
|
4078
|
+
}]
|
|
4079
|
+
}] });
|
|
4080
|
+
|
|
4081
|
+
class ProgressBarComponent {
|
|
4082
|
+
constructor() {
|
|
4083
|
+
/**
|
|
4084
|
+
* Whether to display the progress bar value.
|
|
4085
|
+
* @group Props
|
|
4086
|
+
*/
|
|
4087
|
+
this.showValue = true;
|
|
4088
|
+
/**
|
|
4089
|
+
* Whether to display the progress bar value.
|
|
4090
|
+
* @group Props
|
|
4091
|
+
*/
|
|
4092
|
+
this.showLabel = true;
|
|
4093
|
+
/**
|
|
4094
|
+
* Unit sign appended to the value.
|
|
4095
|
+
* @group Props
|
|
4096
|
+
*/
|
|
4097
|
+
this.unit = '%';
|
|
4098
|
+
/**
|
|
4099
|
+
* Defines the mode of the progress
|
|
4100
|
+
* @group Props
|
|
4101
|
+
*/
|
|
4102
|
+
this.mode = 'determinate';
|
|
4103
|
+
}
|
|
4104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4105
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: ProgressBarComponent, selector: "kv-progress-bar", inputs: { value: "value", maxValue: "maxValue", label: "label", showValue: "showValue", showLabel: "showLabel", styleClass: "styleClass", labelStyleClass: "labelStyleClass", barStyleClass: "barStyleClass", style: "style", unit: "unit", mode: "mode", color: "color" }, ngImport: i0, template: "<div\r\n role=\"progressbar\"\r\n [class]=\"styleClass ? styleClass : ''\"\r\n [ngStyle]=\"style\"\r\n [attr.aria-valuemin]=\"0\"\r\n [attr.aria-valuenow]=\"value\"\r\n [attr.aria-valuemax]=\"100\"\r\n [attr.data-pc-name]=\"'progressbar'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n [ngClass]=\"{ 'p-progressbar p-component': true, 'p-progressbar-determinate': mode === 'determinate', 'p-progressbar-indeterminate': mode === 'indeterminate' }\"\r\n>\r\n <div \r\n *ngIf=\"mode === 'determinate'\" \r\n class=\"p-progressbar-value p-progressbar-value-animate {{barStyleClass}}\" \r\n [style.width]=\"maxValue&&value? (value/maxValue*100)+'%' : value+'%'\" \r\n style=\"display:flex\" \r\n [style.background]=\"color\" \r\n [attr.data-pc-section]=\"'value'\"\r\n >\r\n <div \r\n class=\"p-progressbar-label {{labelStyleClass}}\" \r\n [style.display]=\"value != null && value !== 0 ? 'flex' : 'none'\" \r\n [attr.data-pc-section]=\"'label'\"\r\n >\r\n <label *ngIf=\"showValue && maxValue\">\r\n {{value}}/{{maxValue}} \r\n </label>\r\n <label *ngIf=\"showValue && !maxValue\">\r\n {{value}}%\r\n </label>\r\n <label *ngIf=\"showLabel\">{{label}}</label>\r\n \r\n </div>\r\n </div>\r\n <div *ngIf=\"mode === 'indeterminate'\" class=\"p-progressbar-indeterminate-container\" [attr.data-pc-section]=\"'container'\">\r\n <div class=\"p-progressbar-value p-progressbar-value-animate\" [style.background]=\"color\" [attr.data-pc-section]=\"'value'\"></div>\r\n </div>\r\n</div>", styles: ["@layer primeng{.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
4106
|
+
}
|
|
4107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
4108
|
+
type: Component,
|
|
4109
|
+
args: [{ selector: 'kv-progress-bar', template: "<div\r\n role=\"progressbar\"\r\n [class]=\"styleClass ? styleClass : ''\"\r\n [ngStyle]=\"style\"\r\n [attr.aria-valuemin]=\"0\"\r\n [attr.aria-valuenow]=\"value\"\r\n [attr.aria-valuemax]=\"100\"\r\n [attr.data-pc-name]=\"'progressbar'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n [ngClass]=\"{ 'p-progressbar p-component': true, 'p-progressbar-determinate': mode === 'determinate', 'p-progressbar-indeterminate': mode === 'indeterminate' }\"\r\n>\r\n <div \r\n *ngIf=\"mode === 'determinate'\" \r\n class=\"p-progressbar-value p-progressbar-value-animate {{barStyleClass}}\" \r\n [style.width]=\"maxValue&&value? (value/maxValue*100)+'%' : value+'%'\" \r\n style=\"display:flex\" \r\n [style.background]=\"color\" \r\n [attr.data-pc-section]=\"'value'\"\r\n >\r\n <div \r\n class=\"p-progressbar-label {{labelStyleClass}}\" \r\n [style.display]=\"value != null && value !== 0 ? 'flex' : 'none'\" \r\n [attr.data-pc-section]=\"'label'\"\r\n >\r\n <label *ngIf=\"showValue && maxValue\">\r\n {{value}}/{{maxValue}} \r\n </label>\r\n <label *ngIf=\"showValue && !maxValue\">\r\n {{value}}%\r\n </label>\r\n <label *ngIf=\"showLabel\">{{label}}</label>\r\n \r\n </div>\r\n </div>\r\n <div *ngIf=\"mode === 'indeterminate'\" class=\"p-progressbar-indeterminate-container\" [attr.data-pc-section]=\"'container'\">\r\n <div class=\"p-progressbar-value p-progressbar-value-animate\" [style.background]=\"color\" [attr.data-pc-section]=\"'value'\"></div>\r\n </div>\r\n</div>", styles: ["@layer primeng{.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n"] }]
|
|
4110
|
+
}], propDecorators: { value: [{
|
|
4259
4111
|
type: Input
|
|
4260
|
-
}],
|
|
4112
|
+
}], maxValue: [{
|
|
4261
4113
|
type: Input
|
|
4262
|
-
}],
|
|
4114
|
+
}], label: [{
|
|
4263
4115
|
type: Input
|
|
4264
|
-
}],
|
|
4116
|
+
}], showValue: [{
|
|
4265
4117
|
type: Input
|
|
4266
|
-
}],
|
|
4118
|
+
}], showLabel: [{
|
|
4267
4119
|
type: Input
|
|
4268
|
-
}],
|
|
4120
|
+
}], styleClass: [{
|
|
4269
4121
|
type: Input
|
|
4270
|
-
}],
|
|
4122
|
+
}], labelStyleClass: [{
|
|
4271
4123
|
type: Input
|
|
4272
|
-
}],
|
|
4124
|
+
}], barStyleClass: [{
|
|
4273
4125
|
type: Input
|
|
4274
|
-
}],
|
|
4126
|
+
}], style: [{
|
|
4275
4127
|
type: Input
|
|
4276
|
-
}],
|
|
4128
|
+
}], unit: [{
|
|
4277
4129
|
type: Input
|
|
4278
|
-
}],
|
|
4130
|
+
}], mode: [{
|
|
4279
4131
|
type: Input
|
|
4280
|
-
}],
|
|
4132
|
+
}], color: [{
|
|
4281
4133
|
type: Input
|
|
4282
|
-
}], onSave: [{
|
|
4283
|
-
type: Output
|
|
4284
|
-
}], onCancel: [{
|
|
4285
|
-
type: Output
|
|
4286
4134
|
}] } });
|
|
4287
4135
|
|
|
4288
|
-
class
|
|
4289
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type:
|
|
4290
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type:
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
ReactiveFormsModule], exports: [KvPageFormComponent] }); }
|
|
4295
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPageFormModule, imports: [CommonModule,
|
|
4296
|
-
FormsModule,
|
|
4297
|
-
PrimeNgModule,
|
|
4298
|
-
KvButtonsModule,
|
|
4299
|
-
ReactiveFormsModule] }); }
|
|
4136
|
+
class KvProgressBarModule {
|
|
4137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4138
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, declarations: [ProgressBarComponent], imports: [CommonModule,
|
|
4139
|
+
PrimeNgModule], exports: [ProgressBarComponent] }); }
|
|
4140
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, imports: [CommonModule,
|
|
4141
|
+
PrimeNgModule] }); }
|
|
4300
4142
|
}
|
|
4301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type:
|
|
4143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, decorators: [{
|
|
4302
4144
|
type: NgModule,
|
|
4303
4145
|
args: [{
|
|
4304
4146
|
declarations: [
|
|
4305
|
-
|
|
4147
|
+
ProgressBarComponent
|
|
4306
4148
|
],
|
|
4307
4149
|
imports: [
|
|
4308
4150
|
CommonModule,
|
|
4309
|
-
FormsModule,
|
|
4310
4151
|
PrimeNgModule,
|
|
4311
|
-
KvButtonsModule,
|
|
4312
|
-
ReactiveFormsModule
|
|
4313
4152
|
],
|
|
4314
4153
|
exports: [
|
|
4315
|
-
|
|
4154
|
+
ProgressBarComponent
|
|
4316
4155
|
]
|
|
4317
4156
|
}]
|
|
4318
4157
|
}] });
|
|
4319
4158
|
|
|
4320
|
-
class
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
this.
|
|
4328
|
-
this.
|
|
4329
|
-
this.
|
|
4159
|
+
class BasecomponentTable {
|
|
4160
|
+
/**
|
|
4161
|
+
*
|
|
4162
|
+
*/
|
|
4163
|
+
constructor(datePipe, decimalPipe, cpfCnpjPipe, telefonePipe, notificationService
|
|
4164
|
+
// public capitalizePipe: CapitalizePipe,
|
|
4165
|
+
) {
|
|
4166
|
+
this.datePipe = datePipe;
|
|
4167
|
+
this.decimalPipe = decimalPipe;
|
|
4168
|
+
this.cpfCnpjPipe = cpfCnpjPipe;
|
|
4169
|
+
this.telefonePipe = telefonePipe;
|
|
4170
|
+
this.notificationService = notificationService;
|
|
4171
|
+
// Variaveis
|
|
4172
|
+
this.imgDefault = '/9j/4AAQSkZJRgABAQIAdgB2AAD/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAMAAAITAAMAAAABAAEAAAAAAAAAAAB2AAAAAQAAAHYAAAAB/9sAQwADAgICAgIDAgICAwMDAwQGBAQEBAQIBgYFBgkICgoJCAkJCgwPDAoLDgsJCQ0RDQ4PEBAREAoMEhMSEBMPEBAQ/9sAQwEDAwMEAwQIBAQIEAsJCxAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ/8AAEQgAkACQAwERAAIRAQMRAf/EAB0AAQABBAMBAAAAAAAAAAAAAAAGAQIHCAMECQX/xABBEAACAQQABQICCAQDBAsAAAABAgMABAURBgcSITETQQhRCRQVGSJVldEyYYGRQlJiFiM3OFNjcXN1dpKTsbO0/8QAGgEBAAIDAQAAAAAAAAAAAAAAAAEFAwQGAv/EADIRAAIABAMFCAEFAQEBAAAAAAABAgMEESExUQUSQZHwExUyYXGBobHRIjNCweE08SP/2gAMAwEAAhEDEQA/APKqgFAKAUBdDDLcSpBBE8ksjBERFJZmJ0AAPJJqUnE7IhtQq7yJ5w9ydz2Vi+s5e4XFRMu0V09SU70RtAR0jRPk9QI0V96s5GypkxXmPd+X/n35FbO2pKl4QfqfxzJ9jOU/BmO6WksZb6RJBIr3UpOta0pVelSO3gg72d7HarOXs2ngzV/XpIq49pVMfG3ovzdkmsMTisX1/ZmMtLP1ddfoQLH1a3rfSBvWz/etuCXBLvuJK+mBpxzI5lt9t21xO3WQ8CgOpf4nFZTo+08ZaXnpb6PrECydO9b11A63of2rHHLgmeNJ+qPcEyOXfcbV9MCM5PlPwZkepo7GWxkeQyM9rK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x2vb16ZWzNnVEtXtf06T+CS2GWxWVEhxeStbwRa9T0Jlk6N71vpJ1vR/sa3IJkEzwNP0dzTjlxy7KNNX1O3WQ8CgOpf5fE4ro+08naWfq7KevMsfVrzrqI35H96xxzIJfjaXqzJBLjmeBN+iI1k+a/BeN6lS/lvZElMbJaxFvG9sGbpRl7eQx3sa2O9aczaVPLdr39Ol8G1L2dUTFe1vXptciAcQc4s/lYjbYmBMVEy6dkf1JTsEHTkAKO48DqBGw1Vk/ak2ZhB+lfPMtJGypct70x72nBcOfHyxy4kDmmmuJnuLiV5ZZWLu7sWZmJ2SSe5JPvVa24ndlmkoVZZFtQSKAUAoD/9k=';
|
|
4173
|
+
this.selectedSize = { name: 'Normal', class: 'p-datatable-md', size: 1 };
|
|
4174
|
+
this.collapsed = false;
|
|
4175
|
+
this.globalFilterFields = [];
|
|
4176
|
+
// Entradas
|
|
4177
|
+
this.selectedItems = [];
|
|
4178
|
+
this.paginator = true;
|
|
4179
|
+
this.rows = 5;
|
|
4180
|
+
this.pageLinksOptions = 1;
|
|
4181
|
+
this.showFirstLastIcon = false;
|
|
4182
|
+
this.applyStyle = (rowData, col) => '';
|
|
4183
|
+
this.filterColumnsBtn = false;
|
|
4184
|
+
this.filtrosAvancados = false;
|
|
4185
|
+
this.scrollHeight = '';
|
|
4186
|
+
this.isTableScrollable = false;
|
|
4187
|
+
this.rowTrackBy = (index, item) => item;
|
|
4188
|
+
this.responsiveLayout = true;
|
|
4189
|
+
//Emissores de evendo
|
|
4190
|
+
this.onFilter = new EventEmitter();
|
|
4191
|
+
this.onSwitchTableChange = new EventEmitter();
|
|
4192
|
+
this.onActiveItemLote = new EventEmitter();
|
|
4193
|
+
this.onActiveItem = new EventEmitter();
|
|
4194
|
+
this.onSelectionChange = new EventEmitter();
|
|
4195
|
+
this.doubleClickEvent = new EventEmitter();
|
|
4196
|
+
this.onPaginate = new EventEmitter();
|
|
4197
|
+
}
|
|
4198
|
+
set setConfig(value) {
|
|
4199
|
+
this.config = {
|
|
4200
|
+
enableCation: value.enableCation || true,
|
|
4201
|
+
enableSelect: value.enableSelect || false,
|
|
4202
|
+
enableFilter: value.enableFilter || true,
|
|
4203
|
+
...value,
|
|
4204
|
+
};
|
|
4205
|
+
if (this.config.enableFilter) {
|
|
4206
|
+
this.config.columns.forEach((col) => {
|
|
4207
|
+
this.globalFilterFields.push(col.field);
|
|
4208
|
+
});
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
ngOnInit() {
|
|
4212
|
+
}
|
|
4213
|
+
//Metodos de ação
|
|
4214
|
+
doubleClick(e, rowData) {
|
|
4215
|
+
let eventDoubleClick = { event: e, rowData: rowData };
|
|
4216
|
+
let array = [];
|
|
4217
|
+
e.target.classList.forEach((x) => array.push(x));
|
|
4218
|
+
this.doubleClickEvent.emit(eventDoubleClick);
|
|
4219
|
+
}
|
|
4220
|
+
//Metodos de retorno de valor
|
|
4221
|
+
returnTooltipRow(rowData, col) {
|
|
4222
|
+
return this.retornarRow(rowData, col, 'tooltiprow');
|
|
4223
|
+
}
|
|
4224
|
+
retornarRow(rowData, col, field) {
|
|
4225
|
+
const _rowaction = this.config.rows ? this.config.rows[col.field] : null;
|
|
4226
|
+
const _field = _rowaction && _rowaction[field]
|
|
4227
|
+
? _rowaction[field].constructor === Function
|
|
4228
|
+
? _rowaction[field].apply(this, [rowData])
|
|
4229
|
+
: _rowaction[field]
|
|
4230
|
+
: null;
|
|
4231
|
+
return _field;
|
|
4232
|
+
}
|
|
4233
|
+
returnRowClass(rowData, col) {
|
|
4234
|
+
let value = rowData[col.field];
|
|
4235
|
+
let rowClass;
|
|
4236
|
+
this.tableSize > 800 ? (rowClass = 'text-base') : (rowClass = '');
|
|
4237
|
+
if (col.expiredDate == true) {
|
|
4238
|
+
new Date(value) < new Date()
|
|
4239
|
+
? (rowClass = rowClass + ' text-red-400 font-semibold')
|
|
4240
|
+
: '';
|
|
4241
|
+
}
|
|
4242
|
+
return rowClass;
|
|
4243
|
+
}
|
|
4244
|
+
getCustomTemplate(templatename) {
|
|
4245
|
+
return this._templates[templatename];
|
|
4246
|
+
}
|
|
4247
|
+
returnClassIcon(rowData, col) {
|
|
4248
|
+
return this.retornarRow(rowData, col, 'iconrow');
|
|
4249
|
+
}
|
|
4250
|
+
returnClassChip(rowData, col) {
|
|
4251
|
+
return `chip-style w-auto border-round-2xl p-2 text-${this.retornarRow(rowData, col, 'stylechip')} border-${this.retornarRow(rowData, col, 'stylechip')}`;
|
|
4252
|
+
}
|
|
4253
|
+
returnTooltipIcon(rowData, col) {
|
|
4254
|
+
return this.retornarRow(rowData, col, 'tooltipiconrow');
|
|
4255
|
+
}
|
|
4256
|
+
loadImage(rowData, col) {
|
|
4257
|
+
/*
|
|
4258
|
+
Nossa coluna de imagem trabalha com strings do tipo: base64 ou url
|
|
4259
|
+
*/
|
|
4260
|
+
let retorno = `data:image/jpg;base64, ${this.imgDefault}`;
|
|
4261
|
+
if (rowData && col && rowData[col.field] && rowData[col.field] !== '') {
|
|
4262
|
+
if (rowData[col.field].includes('http'))
|
|
4263
|
+
retorno = rowData[col.field];
|
|
4264
|
+
else
|
|
4265
|
+
retorno = `data:image/jpg;base64, ${rowData[col.field]}`;
|
|
4266
|
+
}
|
|
4267
|
+
return retorno;
|
|
4268
|
+
}
|
|
4269
|
+
//Metodos de alinhamento e centralizamento de coluna
|
|
4270
|
+
alignColunas(col) {
|
|
4271
|
+
if (col.align) {
|
|
4272
|
+
return `text-align: ${col.align}`;
|
|
4273
|
+
}
|
|
4274
|
+
else
|
|
4275
|
+
return '';
|
|
4276
|
+
}
|
|
4277
|
+
centralizarColunas(col) {
|
|
4278
|
+
if (col.centralize) {
|
|
4279
|
+
return 'text-align: center; ';
|
|
4280
|
+
}
|
|
4281
|
+
else
|
|
4282
|
+
return '';
|
|
4283
|
+
}
|
|
4284
|
+
alignColunasHeader(col) {
|
|
4285
|
+
if (col.align) {
|
|
4286
|
+
if (col.align == 'right')
|
|
4287
|
+
return 'justify-content: end';
|
|
4288
|
+
else
|
|
4289
|
+
return '';
|
|
4290
|
+
}
|
|
4291
|
+
else
|
|
4292
|
+
return '';
|
|
4293
|
+
}
|
|
4294
|
+
//Metodos de formatação de celula
|
|
4295
|
+
formatarValor(valor) {
|
|
4296
|
+
const formatter = new Intl.NumberFormat('pt-BR', {
|
|
4297
|
+
style: 'currency',
|
|
4298
|
+
currency: 'BRL',
|
|
4299
|
+
});
|
|
4300
|
+
return formatter.format(valor);
|
|
4301
|
+
}
|
|
4302
|
+
transformValue(rowData, col) {
|
|
4303
|
+
let value = rowData[col.field];
|
|
4304
|
+
if (value != null) {
|
|
4305
|
+
if (!col.pipe) {
|
|
4306
|
+
return value;
|
|
4307
|
+
}
|
|
4308
|
+
switch (col.pipe) {
|
|
4309
|
+
case 'date':
|
|
4310
|
+
return this.datePipe.transform(value, 'dd/MM/yyyy');
|
|
4311
|
+
case 'decimal':
|
|
4312
|
+
return this.decimalPipe.transform(value, '1.2-2', 'pt-BR');
|
|
4313
|
+
case 'cpfcnpj':
|
|
4314
|
+
return this.cpfCnpjPipe.transform(value);
|
|
4315
|
+
case 'telefone':
|
|
4316
|
+
return this.telefonePipe.transform(value);
|
|
4317
|
+
// case 'capitalize':
|
|
4318
|
+
// return this.capitalizePipe.transform(value);
|
|
4319
|
+
case 'money':
|
|
4320
|
+
return this.formatarValor(value);
|
|
4321
|
+
case 'percentage':
|
|
4322
|
+
return `${value} %`;
|
|
4323
|
+
default:
|
|
4324
|
+
break;
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4330
4327
|
}
|
|
4331
|
-
|
|
4328
|
+
//Metodos de filtragem
|
|
4329
|
+
onGlobalFilter(table, event) {
|
|
4330
|
+
this.onFilter.emit(event.target.value);
|
|
4331
|
+
table.filterGlobal(event.target.value, 'contains');
|
|
4332
4332
|
}
|
|
4333
|
-
|
|
4334
|
-
|
|
4333
|
+
//Metodos para campo switch
|
|
4334
|
+
onSwitchChange(estado, rowData, col) {
|
|
4335
|
+
this.onSwitchTableChange.emit({
|
|
4336
|
+
estado: estado,
|
|
4337
|
+
rowData: rowData,
|
|
4338
|
+
col: col
|
|
4339
|
+
});
|
|
4340
|
+
}
|
|
4341
|
+
isSwitchField(col) {
|
|
4342
|
+
let retorno = col.fieldType && col.fieldType === 'switch' ? true : false;
|
|
4343
|
+
return retorno;
|
|
4344
|
+
}
|
|
4345
|
+
//Metodos para campo checkbox
|
|
4346
|
+
isDisabledCheckbox(rowData) {
|
|
4347
|
+
return this.config.disableControlCheckboxFunction
|
|
4348
|
+
? this.config.disableControlCheckboxFunction(rowData)
|
|
4349
|
+
: false;
|
|
4350
|
+
}
|
|
4351
|
+
activeItemLote(selectedItems) {
|
|
4352
|
+
this.onActiveItemLote.emit(selectedItems);
|
|
4353
|
+
}
|
|
4354
|
+
activeItem(rowData) {
|
|
4355
|
+
this.selectedItem = rowData;
|
|
4356
|
+
this.onActiveItem.emit({ rowData: rowData });
|
|
4357
|
+
}
|
|
4358
|
+
//Metodos de controle de celula genericos (disable, visible...)
|
|
4359
|
+
exibirCampo(field, rowData) {
|
|
4360
|
+
let visible = field.visible ? field.visible(rowData) : true;
|
|
4361
|
+
return visible;
|
|
4362
|
+
}
|
|
4363
|
+
selectionChange(value = []) {
|
|
4364
|
+
this.onSelectionChange.emit(value);
|
|
4365
|
+
}
|
|
4366
|
+
//Metodos de verificação de tipo de campo
|
|
4367
|
+
isImageField(col) {
|
|
4368
|
+
let retorno = col.fieldType && col.fieldType === 'image' ? true : false;
|
|
4369
|
+
return retorno;
|
|
4370
|
+
}
|
|
4371
|
+
isChipField(col) {
|
|
4372
|
+
return col.fieldType == 'chip';
|
|
4373
|
+
}
|
|
4374
|
+
isBooleanField(rowData, col) {
|
|
4375
|
+
return col.fieldType == 'boolean';
|
|
4376
|
+
}
|
|
4377
|
+
//Metodos de filtragem, ordenação e paginação
|
|
4378
|
+
paginate($event) {
|
|
4379
|
+
if ($event) {
|
|
4380
|
+
let paginaInicial = ($event?.first > 0 ? $event.first / $event.rows : $event.first) + 1;
|
|
4381
|
+
let termoPesquisa = '';
|
|
4382
|
+
let ordenacao = '';
|
|
4383
|
+
if ($event.globalFilter)
|
|
4384
|
+
termoPesquisa = $event.globalFilter;
|
|
4385
|
+
if ($event.sortField)
|
|
4386
|
+
ordenacao = `${$event.sortField} ${$event.sortOrder === 1 ? 'ASC' : 'DESC'}`;
|
|
4387
|
+
const objeto = {
|
|
4388
|
+
paginaInicial: paginaInicial,
|
|
4389
|
+
tamanhoPagina: $event.rows,
|
|
4390
|
+
termoPesquisa: termoPesquisa,
|
|
4391
|
+
ordenacao: ordenacao,
|
|
4392
|
+
};
|
|
4393
|
+
this.onPaginate.emit(objeto);
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
adjustTableSize() {
|
|
4397
|
+
if (this.tableSize < 800) {
|
|
4398
|
+
this.selectedSize = 'p-datatable-sm';
|
|
4399
|
+
}
|
|
4400
|
+
else {
|
|
4401
|
+
this.selectedSize = '';
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
onWindowResize() {
|
|
4405
|
+
this.adjustTableSize();
|
|
4406
|
+
this.tamanhoTela = window.innerWidth;
|
|
4407
|
+
}
|
|
4408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasecomponentTable, deps: [{ token: i1.DatePipe }, { token: i1.DecimalPipe }, { token: i2$4.CpfCnpjPipe }, { token: i2$4.TelefonePipe }, { token: i2$4.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4409
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: BasecomponentTable, selector: "ng-component", inputs: { selectedItems: "selectedItems", totalRecords: "totalRecords", paginator: "paginator", rowsPerPageOptions: "rowsPerPageOptions", rows: "rows", pageLinksOptions: "pageLinksOptions", showFirstLastIcon: "showFirstLastIcon", applyStyle: "applyStyle", filterColumnsBtn: "filterColumnsBtn", filtrosAvancados: "filtrosAvancados", scrollHeight: "scrollHeight", isTableScrollable: "isTableScrollable", rowTrackBy: "rowTrackBy", responsiveLayout: "responsiveLayout", tableSize: "tableSize", dataSource: "dataSource", _templates: ["templates", "_templates"], setConfig: ["config", "setConfig"] }, outputs: { onFilter: "onFilter", onSwitchTableChange: "onSwitchTableChange", onActiveItemLote: "onActiveItemLote", onActiveItem: "onActiveItem", onSelectionChange: "onSelectionChange", doubleClickEvent: "doubleClickEvent", onPaginate: "onPaginate" }, host: { listeners: { "window:resize": "onWindowResize($event)" } }, ngImport: i0, template: '', isInline: true }); }
|
|
4335
4410
|
}
|
|
4336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type:
|
|
4411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: BasecomponentTable, decorators: [{
|
|
4337
4412
|
type: Component,
|
|
4338
|
-
args: [{
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
type: Input
|
|
4343
|
-
}], filterBy: [{
|
|
4344
|
-
type: Input
|
|
4345
|
-
}], itemTemplate: [{
|
|
4346
|
-
type: Input
|
|
4347
|
-
}], responsive: [{
|
|
4348
|
-
type: Input
|
|
4349
|
-
}], source: [{
|
|
4350
|
-
type: Input
|
|
4351
|
-
}], sourceHeader: [{
|
|
4352
|
-
type: Input
|
|
4353
|
-
}], sourceStyle: [{
|
|
4354
|
-
type: Input
|
|
4355
|
-
}], stripedRows: [{
|
|
4356
|
-
type: Input
|
|
4357
|
-
}], target: [{
|
|
4358
|
-
type: Input
|
|
4359
|
-
}], targetHeader: [{
|
|
4413
|
+
args: [{
|
|
4414
|
+
template: '',
|
|
4415
|
+
}]
|
|
4416
|
+
}], ctorParameters: () => [{ type: i1.DatePipe }, { type: i1.DecimalPipe }, { type: i2$4.CpfCnpjPipe }, { type: i2$4.TelefonePipe }, { type: i2$4.NotificationService }], propDecorators: { selectedItems: [{
|
|
4360
4417
|
type: Input
|
|
4361
|
-
}],
|
|
4418
|
+
}], totalRecords: [{
|
|
4362
4419
|
type: Input
|
|
4363
|
-
}],
|
|
4420
|
+
}], paginator: [{
|
|
4364
4421
|
type: Input
|
|
4365
|
-
}],
|
|
4422
|
+
}], rowsPerPageOptions: [{
|
|
4366
4423
|
type: Input
|
|
4367
|
-
}]
|
|
4368
|
-
|
|
4369
|
-
class KvPickListModule {
|
|
4370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4371
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, declarations: [KvPickListComponent], imports: [CommonModule,
|
|
4372
|
-
PrimeNgModule,
|
|
4373
|
-
FormsModule], exports: [KvPickListComponent] }); }
|
|
4374
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, imports: [CommonModule,
|
|
4375
|
-
PrimeNgModule,
|
|
4376
|
-
FormsModule] }); }
|
|
4377
|
-
}
|
|
4378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvPickListModule, decorators: [{
|
|
4379
|
-
type: NgModule,
|
|
4380
|
-
args: [{
|
|
4381
|
-
declarations: [
|
|
4382
|
-
KvPickListComponent
|
|
4383
|
-
],
|
|
4384
|
-
imports: [
|
|
4385
|
-
CommonModule,
|
|
4386
|
-
PrimeNgModule,
|
|
4387
|
-
FormsModule,
|
|
4388
|
-
],
|
|
4389
|
-
exports: [
|
|
4390
|
-
KvPickListComponent
|
|
4391
|
-
]
|
|
4392
|
-
}]
|
|
4393
|
-
}] });
|
|
4394
|
-
|
|
4395
|
-
class ProgressBarComponent {
|
|
4396
|
-
constructor() {
|
|
4397
|
-
/**
|
|
4398
|
-
* Whether to display the progress bar value.
|
|
4399
|
-
* @group Props
|
|
4400
|
-
*/
|
|
4401
|
-
this.showValue = true;
|
|
4402
|
-
/**
|
|
4403
|
-
* Whether to display the progress bar value.
|
|
4404
|
-
* @group Props
|
|
4405
|
-
*/
|
|
4406
|
-
this.showLabel = true;
|
|
4407
|
-
/**
|
|
4408
|
-
* Unit sign appended to the value.
|
|
4409
|
-
* @group Props
|
|
4410
|
-
*/
|
|
4411
|
-
this.unit = '%';
|
|
4412
|
-
/**
|
|
4413
|
-
* Defines the mode of the progress
|
|
4414
|
-
* @group Props
|
|
4415
|
-
*/
|
|
4416
|
-
this.mode = 'determinate';
|
|
4417
|
-
}
|
|
4418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: ProgressBarComponent, selector: "kv-progress-bar", inputs: { value: "value", maxValue: "maxValue", label: "label", showValue: "showValue", showLabel: "showLabel", styleClass: "styleClass", labelStyleClass: "labelStyleClass", barStyleClass: "barStyleClass", style: "style", unit: "unit", mode: "mode", color: "color" }, ngImport: i0, template: "<div\r\n role=\"progressbar\"\r\n [class]=\"styleClass ? styleClass : ''\"\r\n [ngStyle]=\"style\"\r\n [attr.aria-valuemin]=\"0\"\r\n [attr.aria-valuenow]=\"value\"\r\n [attr.aria-valuemax]=\"100\"\r\n [attr.data-pc-name]=\"'progressbar'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n [ngClass]=\"{ 'p-progressbar p-component': true, 'p-progressbar-determinate': mode === 'determinate', 'p-progressbar-indeterminate': mode === 'indeterminate' }\"\r\n>\r\n <div \r\n *ngIf=\"mode === 'determinate'\" \r\n class=\"p-progressbar-value p-progressbar-value-animate {{barStyleClass}}\" \r\n [style.width]=\"maxValue&&value? (value/maxValue*100)+'%' : value+'%'\" \r\n style=\"display:flex\" \r\n [style.background]=\"color\" \r\n [attr.data-pc-section]=\"'value'\"\r\n >\r\n <div \r\n class=\"p-progressbar-label {{labelStyleClass}}\" \r\n [style.display]=\"value != null && value !== 0 ? 'flex' : 'none'\" \r\n [attr.data-pc-section]=\"'label'\"\r\n >\r\n <label *ngIf=\"showValue && maxValue\">\r\n {{value}}/{{maxValue}} \r\n </label>\r\n <label *ngIf=\"showValue && !maxValue\">\r\n {{value}}%\r\n </label>\r\n <label *ngIf=\"showLabel\">{{label}}</label>\r\n \r\n </div>\r\n </div>\r\n <div *ngIf=\"mode === 'indeterminate'\" class=\"p-progressbar-indeterminate-container\" [attr.data-pc-section]=\"'container'\">\r\n <div class=\"p-progressbar-value p-progressbar-value-animate\" [style.background]=\"color\" [attr.data-pc-section]=\"'value'\"></div>\r\n </div>\r\n</div>", styles: ["@layer primeng{.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
4420
|
-
}
|
|
4421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
4422
|
-
type: Component,
|
|
4423
|
-
args: [{ selector: 'kv-progress-bar', template: "<div\r\n role=\"progressbar\"\r\n [class]=\"styleClass ? styleClass : ''\"\r\n [ngStyle]=\"style\"\r\n [attr.aria-valuemin]=\"0\"\r\n [attr.aria-valuenow]=\"value\"\r\n [attr.aria-valuemax]=\"100\"\r\n [attr.data-pc-name]=\"'progressbar'\"\r\n [attr.data-pc-section]=\"'root'\"\r\n [ngClass]=\"{ 'p-progressbar p-component': true, 'p-progressbar-determinate': mode === 'determinate', 'p-progressbar-indeterminate': mode === 'indeterminate' }\"\r\n>\r\n <div \r\n *ngIf=\"mode === 'determinate'\" \r\n class=\"p-progressbar-value p-progressbar-value-animate {{barStyleClass}}\" \r\n [style.width]=\"maxValue&&value? (value/maxValue*100)+'%' : value+'%'\" \r\n style=\"display:flex\" \r\n [style.background]=\"color\" \r\n [attr.data-pc-section]=\"'value'\"\r\n >\r\n <div \r\n class=\"p-progressbar-label {{labelStyleClass}}\" \r\n [style.display]=\"value != null && value !== 0 ? 'flex' : 'none'\" \r\n [attr.data-pc-section]=\"'label'\"\r\n >\r\n <label *ngIf=\"showValue && maxValue\">\r\n {{value}}/{{maxValue}} \r\n </label>\r\n <label *ngIf=\"showValue && !maxValue\">\r\n {{value}}%\r\n </label>\r\n <label *ngIf=\"showLabel\">{{label}}</label>\r\n \r\n </div>\r\n </div>\r\n <div *ngIf=\"mode === 'indeterminate'\" class=\"p-progressbar-indeterminate-container\" [attr.data-pc-section]=\"'container'\">\r\n <div class=\"p-progressbar-value p-progressbar-value-animate\" [style.background]=\"color\" [attr.data-pc-section]=\"'value'\"></div>\r\n </div>\r\n</div>", styles: ["@layer primeng{.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:\"\";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n"] }]
|
|
4424
|
-
}], propDecorators: { value: [{
|
|
4424
|
+
}], rows: [{
|
|
4425
4425
|
type: Input
|
|
4426
|
-
}],
|
|
4426
|
+
}], pageLinksOptions: [{
|
|
4427
4427
|
type: Input
|
|
4428
|
-
}],
|
|
4428
|
+
}], showFirstLastIcon: [{
|
|
4429
4429
|
type: Input
|
|
4430
|
-
}],
|
|
4430
|
+
}], applyStyle: [{
|
|
4431
4431
|
type: Input
|
|
4432
|
-
}],
|
|
4432
|
+
}], filterColumnsBtn: [{
|
|
4433
4433
|
type: Input
|
|
4434
|
-
}],
|
|
4434
|
+
}], filtrosAvancados: [{
|
|
4435
4435
|
type: Input
|
|
4436
|
-
}],
|
|
4436
|
+
}], scrollHeight: [{
|
|
4437
4437
|
type: Input
|
|
4438
|
-
}],
|
|
4438
|
+
}], isTableScrollable: [{
|
|
4439
4439
|
type: Input
|
|
4440
|
-
}],
|
|
4440
|
+
}], rowTrackBy: [{
|
|
4441
4441
|
type: Input
|
|
4442
|
-
}],
|
|
4442
|
+
}], responsiveLayout: [{
|
|
4443
4443
|
type: Input
|
|
4444
|
-
}],
|
|
4444
|
+
}], tableSize: [{
|
|
4445
4445
|
type: Input
|
|
4446
|
-
}],
|
|
4446
|
+
}], dataSource: [{
|
|
4447
4447
|
type: Input
|
|
4448
|
+
}], _templates: [{
|
|
4449
|
+
type: Input,
|
|
4450
|
+
args: ['templates']
|
|
4451
|
+
}], setConfig: [{
|
|
4452
|
+
type: Input,
|
|
4453
|
+
args: ['config']
|
|
4454
|
+
}], onFilter: [{
|
|
4455
|
+
type: Output
|
|
4456
|
+
}], onSwitchTableChange: [{
|
|
4457
|
+
type: Output
|
|
4458
|
+
}], onActiveItemLote: [{
|
|
4459
|
+
type: Output
|
|
4460
|
+
}], onActiveItem: [{
|
|
4461
|
+
type: Output
|
|
4462
|
+
}], onSelectionChange: [{
|
|
4463
|
+
type: Output
|
|
4464
|
+
}], doubleClickEvent: [{
|
|
4465
|
+
type: Output
|
|
4466
|
+
}], onPaginate: [{
|
|
4467
|
+
type: Output
|
|
4468
|
+
}], onWindowResize: [{
|
|
4469
|
+
type: HostListener,
|
|
4470
|
+
args: ['window:resize', ['$event']]
|
|
4448
4471
|
}] } });
|
|
4449
4472
|
|
|
4450
|
-
class KvProgressBarModule {
|
|
4451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4452
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, declarations: [ProgressBarComponent], imports: [CommonModule,
|
|
4453
|
-
PrimeNgModule], exports: [ProgressBarComponent] }); }
|
|
4454
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, imports: [CommonModule,
|
|
4455
|
-
PrimeNgModule] }); }
|
|
4456
|
-
}
|
|
4457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvProgressBarModule, decorators: [{
|
|
4458
|
-
type: NgModule,
|
|
4459
|
-
args: [{
|
|
4460
|
-
declarations: [
|
|
4461
|
-
ProgressBarComponent
|
|
4462
|
-
],
|
|
4463
|
-
imports: [
|
|
4464
|
-
CommonModule,
|
|
4465
|
-
PrimeNgModule,
|
|
4466
|
-
],
|
|
4467
|
-
exports: [
|
|
4468
|
-
ProgressBarComponent
|
|
4469
|
-
]
|
|
4470
|
-
}]
|
|
4471
|
-
}] });
|
|
4472
|
-
|
|
4473
4473
|
class KvTableEditComponent extends BasecomponentTable {
|
|
4474
4474
|
constructor(datePipe, decimalPipe, cpfCnpjPipe, telefonePipe, notificationService
|
|
4475
4475
|
// capitalizePipe: CapitalizePipe,
|
|
@@ -6845,5 +6845,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
6845
6845
|
* Generated bundle index. Do not edit.
|
|
6846
6846
|
*/
|
|
6847
6847
|
|
|
6848
|
-
export { BaseApiService, BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentDropDownExternal, BaseComponentInput, BaseComponentMultiSelect,
|
|
6848
|
+
export { BaseApiService, BaseChartComponent, BaseComponent, BaseComponentButton, BaseComponentCrud, BaseComponentCrudForm, BaseComponentCrudList, BaseComponentDropDown, BaseComponentDropDownExternal, BaseComponentInput, BaseComponentMultiSelect, BreadcrumbsService, CapitalizePipe, ComponentProviders, ComponentService, CpfCnpjPipe, FormService, KeevoComponentsModule, KeevoValidators, KvAvatarComponent, KvAvatarModule, KvButtonPersonalizeComponent, KvButtonPopupComponent, KvButtonSecondaryComponent, KvButtonSuccessComponent, KvButtonsModule, KvCarouselComponent, KvCarouselModule, KvChartComponent, KvChartModule, KvCheckComponent, KvDropdownComponent, KvEditorComponent, KvErrorComponent, KvFilterCardComponent, KvFilterCardModule, KvGIconComponent, KvGIconModule, KvImageUploadComponent, KvImageUploadModule, KvInputCalendarComponent, KvInputMaskComponent, KvInputNumberComponent, KvInputPasswordComponent, KvInputTextCheckboxComponent, KvInputTextComponent, KvInputTextareaComponent, KvInputTimeComponent, KvInputsModule, KvLoaderComponent, KvLoaderModule, KvLoaderService, KvLoginComponent, KvLoginModule, KvMenuComponent, KvMenuModule, KvModalComponent, KvModalModule, KvMultiSelectComponent, KvOrgchartComponent, KvOrgchartModule, KvPageFormComponent, KvPageFormModule, KvPickListComponent, KvPickListModule, KvProgressBarModule, KvRadioGroupComponent, KvReportComponent, KvReportModule, KvSelectButtonComponent, KvStepperComponent, KvStepperModule, KvSwitchComponent, KvTableComponent, KvTableEditComponent, KvTableEditModule, KvTableExpandableComponent, KvTableExpandableModule, KvTableModule, KvTreeViewComponent, KvTreetableComponent, KvTreetableModule, KvWorkspaceModule, KvtreeViewModule, MaskPipe, NotificationService, ObjectService, PeriodosChart, PipesModule, PrimeNgModule, ProgressBarComponent, TablePaginate, TelefonePipe, TranslatePrimeng, WorkspaceComponent, getOrExecute, kvErrorModule, loading, mapToMenuItem };
|
|
6849
6849
|
//# sourceMappingURL=keevo-components.mjs.map
|