keevo-components 1.8.227 → 1.8.228
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/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +72 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +15 -6
- package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +22 -0
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +63 -0
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +61 -0
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/keevo-components.mjs +146 -98
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +20 -0
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +12 -9
- package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +18 -0
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +26 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +0 -167
- package/lib/components/kv-workspace/kv-workspace.component.d.ts +0 -65
|
@@ -6104,60 +6104,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
6104
6104
|
}]
|
|
6105
6105
|
}] });
|
|
6106
6106
|
|
|
6107
|
-
class
|
|
6107
|
+
class WokspaceLogoComponent {
|
|
6108
6108
|
constructor() {
|
|
6109
|
-
/**
|
|
6110
|
-
* Nome do usuário logado
|
|
6111
|
-
*/
|
|
6112
6109
|
this.nomeUsuario = 'Nome do Usuário Logado';
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
this.
|
|
6133
|
-
|
|
6134
|
-
this.
|
|
6135
|
-
this.
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
this.
|
|
6139
|
-
}
|
|
6140
|
-
|
|
6141
|
-
this.
|
|
6142
|
-
}
|
|
6143
|
-
|
|
6144
|
-
this.
|
|
6145
|
-
|
|
6146
|
-
columnConfigTableMaster() {
|
|
6147
|
-
this.dataSourceMaster = this.masters;
|
|
6148
|
-
this.tableConfigMaster = {
|
|
6149
|
-
lazy: false,
|
|
6110
|
+
}
|
|
6111
|
+
ngOnInit() {
|
|
6112
|
+
}
|
|
6113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WokspaceLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: WokspaceLogoComponent, selector: "kv-workspace-logo", inputs: { imgLogoKeevoCenter: "imgLogoKeevoCenter", nomeUsuario: "nomeUsuario", masterSelecionada: "masterSelecionada" }, ngImport: i0, template: "<div class=\"field col-12 flex justify-content-center mb-1\">\n <img [src]=\"imgLogoKeevoCenter\" style=\"width: 200px\" />\n</div>\n\n<div class=\"col-12 align-items-center z-5\">\n <div class=\"col-9\">\n Ol\u00E1, <b>{{ nomeUsuario }}.</b> Bem-vindo(a)!\n </div>\n\n @if(!masterSelecionada){\n <b class=\"field col-9 flex\">\n Escolha qual workspace voc\u00EA deseja acessar:\n </b>\n }\n @else {\n <b class=\"field col-9 flex\">\n Escolha qual empresa voc\u00EA deseja acessar:\n </b>\n }\n</div>", styles: [""] }); }
|
|
6115
|
+
}
|
|
6116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WokspaceLogoComponent, decorators: [{
|
|
6117
|
+
type: Component,
|
|
6118
|
+
args: [{ selector: 'kv-workspace-logo', template: "<div class=\"field col-12 flex justify-content-center mb-1\">\n <img [src]=\"imgLogoKeevoCenter\" style=\"width: 200px\" />\n</div>\n\n<div class=\"col-12 align-items-center z-5\">\n <div class=\"col-9\">\n Ol\u00E1, <b>{{ nomeUsuario }}.</b> Bem-vindo(a)!\n </div>\n\n @if(!masterSelecionada){\n <b class=\"field col-9 flex\">\n Escolha qual workspace voc\u00EA deseja acessar:\n </b>\n }\n @else {\n <b class=\"field col-9 flex\">\n Escolha qual empresa voc\u00EA deseja acessar:\n </b>\n }\n</div>" }]
|
|
6119
|
+
}], ctorParameters: () => [], propDecorators: { imgLogoKeevoCenter: [{
|
|
6120
|
+
type: Input
|
|
6121
|
+
}], nomeUsuario: [{
|
|
6122
|
+
type: Input
|
|
6123
|
+
}], masterSelecionada: [{
|
|
6124
|
+
type: Input
|
|
6125
|
+
}] } });
|
|
6126
|
+
|
|
6127
|
+
class WorkspaceEmpresaComponent {
|
|
6128
|
+
constructor() {
|
|
6129
|
+
this.empresas = [];
|
|
6130
|
+
this.totalEmpresas = 0;
|
|
6131
|
+
this.onEmpresaSelecionada = new EventEmitter();
|
|
6132
|
+
this.onPaginate = new EventEmitter();
|
|
6133
|
+
}
|
|
6134
|
+
ngOnInit() {
|
|
6135
|
+
this.configTable();
|
|
6136
|
+
}
|
|
6137
|
+
activeItem(e) {
|
|
6138
|
+
this.empresaSelecionada = e;
|
|
6139
|
+
}
|
|
6140
|
+
configTable() {
|
|
6141
|
+
this.tableConfig = {
|
|
6142
|
+
lazy: true,
|
|
6150
6143
|
columns: [
|
|
6151
|
-
{ position: 0, field: '
|
|
6152
|
-
{ position: 1, field: '
|
|
6144
|
+
{ position: 0, field: 'codigopessoa', header: 'Código', width: '', centralize: false, sortable: false },
|
|
6145
|
+
{ position: 1, field: 'cpfcnpj', header: 'CPF/CNPJ', width: '', centralize: false, sortable: false, pipe: 'cpfcnpj' },
|
|
6146
|
+
{ position: 2, field: 'razaosocial', header: 'Razão social', width: '50%', centralize: false, sortable: false },
|
|
6153
6147
|
],
|
|
6154
6148
|
actions: [
|
|
6155
6149
|
{
|
|
6156
6150
|
label: 'Acessar',
|
|
6157
6151
|
icon: 'login',
|
|
6158
|
-
tooltip: 'Acessar
|
|
6152
|
+
tooltip: 'Acessar Empresa',
|
|
6159
6153
|
command: () => {
|
|
6160
|
-
this.
|
|
6154
|
+
this.selecionarEmpresa(this.empresaSelecionada);
|
|
6161
6155
|
},
|
|
6162
6156
|
disabled: () => {
|
|
6163
6157
|
return false;
|
|
@@ -6165,27 +6159,66 @@ class WorkspaceComponent {
|
|
|
6165
6159
|
},
|
|
6166
6160
|
],
|
|
6167
6161
|
actionsLote: [],
|
|
6168
|
-
enableCation:
|
|
6169
|
-
enableFilter:
|
|
6162
|
+
enableCation: true,
|
|
6163
|
+
enableFilter: true,
|
|
6170
6164
|
enableSelect: false,
|
|
6171
6165
|
};
|
|
6172
6166
|
}
|
|
6173
|
-
|
|
6174
|
-
this.
|
|
6175
|
-
this.
|
|
6167
|
+
doubleClick(e) {
|
|
6168
|
+
this.empresaSelecionada = e.rowData;
|
|
6169
|
+
this.selecionarEmpresa(this.empresaSelecionada);
|
|
6170
|
+
}
|
|
6171
|
+
paginate(event) {
|
|
6172
|
+
this.onPaginate.emit(event);
|
|
6173
|
+
}
|
|
6174
|
+
selecionarEmpresa(empresa) {
|
|
6175
|
+
this.empresaSelecionada = empresa;
|
|
6176
|
+
this.onEmpresaSelecionada.emit(this.empresaSelecionada);
|
|
6177
|
+
}
|
|
6178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceEmpresaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6179
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: WorkspaceEmpresaComponent, selector: "kv-workspace-empresa", inputs: { empresas: "empresas", empresaSelecionada: "empresaSelecionada", totalEmpresas: "totalEmpresas" }, outputs: { onEmpresaSelecionada: "onEmpresaSelecionada", onPaginate: "onPaginate" }, ngImport: i0, template: "<kv-table\n [config]=\"tableConfig\"\n [dataSource]=\"empresas\"\n [isTableScrollable]=\"true\"\n [paginator]=\"true\"\n [rows]=\"5\"\n [rowsPerPageOptions]=\"[5]\"\n [scrollHeight]=\"'300px'\"\n [tableSize]=\"5\"\n [totalRecords]=\"totalEmpresas\"\n (doubleClickEvent)=\"doubleClick($event)\"\n (onActiveItem)=\"activeItem($event)\"\n (onPaginate)=\"paginate($event)\">\n</kv-table>", styles: [""], dependencies: [{ kind: "component", type: KvTableComponent, selector: "kv-table", inputs: ["templates", "config", "defaultSortField", "dataSource", "selectedItems", "totalRecords", "paginator", "rowsPerPageOptions", "rows", "tableSize", "filterColumnsBtn", "filtrosAvancados", "scrollHeight", "isTableScrollable", "tableCaptalized", "rowTrackBy", "responsiveLayout", "disabledHeaderCheckbox", "applyStyle", "pageLinksOptions", "showFirstLastIcon"], outputs: ["onActiveItem", "onActiveItemLote", "onPaginate", "onSelectionChange", "doubleClickEvent", "filterField", "onSwitchTableChange"] }] }); }
|
|
6180
|
+
}
|
|
6181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceEmpresaComponent, decorators: [{
|
|
6182
|
+
type: Component,
|
|
6183
|
+
args: [{ selector: 'kv-workspace-empresa', template: "<kv-table\n [config]=\"tableConfig\"\n [dataSource]=\"empresas\"\n [isTableScrollable]=\"true\"\n [paginator]=\"true\"\n [rows]=\"5\"\n [rowsPerPageOptions]=\"[5]\"\n [scrollHeight]=\"'300px'\"\n [tableSize]=\"5\"\n [totalRecords]=\"totalEmpresas\"\n (doubleClickEvent)=\"doubleClick($event)\"\n (onActiveItem)=\"activeItem($event)\"\n (onPaginate)=\"paginate($event)\">\n</kv-table>" }]
|
|
6184
|
+
}], ctorParameters: () => [], propDecorators: { empresas: [{
|
|
6185
|
+
type: Input
|
|
6186
|
+
}], empresaSelecionada: [{
|
|
6187
|
+
type: Input
|
|
6188
|
+
}], totalEmpresas: [{
|
|
6189
|
+
type: Input
|
|
6190
|
+
}], onEmpresaSelecionada: [{
|
|
6191
|
+
type: Output
|
|
6192
|
+
}], onPaginate: [{
|
|
6193
|
+
type: Output
|
|
6194
|
+
}] } });
|
|
6195
|
+
|
|
6196
|
+
class WorkspaceMasterComponent {
|
|
6197
|
+
constructor() {
|
|
6198
|
+
this.dataSource = [];
|
|
6199
|
+
this.onMasterSelecionada = new EventEmitter();
|
|
6200
|
+
}
|
|
6201
|
+
ngOnInit() {
|
|
6202
|
+
this.configTable();
|
|
6203
|
+
}
|
|
6204
|
+
activeItem(e) {
|
|
6205
|
+
this.masterSelecionada = e;
|
|
6206
|
+
}
|
|
6207
|
+
configTable() {
|
|
6208
|
+
this.dataSource = this.masters;
|
|
6209
|
+
this.tableConfig = {
|
|
6176
6210
|
lazy: false,
|
|
6177
6211
|
columns: [
|
|
6178
|
-
{ position: 0, field: '
|
|
6179
|
-
{ position: 1, field: '
|
|
6180
|
-
{ position: 2, field: 'razaosocial', header: 'Razão social', width: '50%', centralize: false, sortable: false },
|
|
6212
|
+
{ position: 0, field: 'idmaster', header: 'Licença', width: '', centralize: false, sortable: false },
|
|
6213
|
+
{ position: 1, field: 'nome', header: '', width: '80%', centralize: false, sortable: false, },
|
|
6181
6214
|
],
|
|
6182
6215
|
actions: [
|
|
6183
6216
|
{
|
|
6184
6217
|
label: 'Acessar',
|
|
6185
6218
|
icon: 'login',
|
|
6186
|
-
tooltip: 'Acessar
|
|
6219
|
+
tooltip: 'Acessar Workspace',
|
|
6187
6220
|
command: () => {
|
|
6188
|
-
this.
|
|
6221
|
+
this.selecionarMaster(this.masterSelecionada);
|
|
6189
6222
|
},
|
|
6190
6223
|
disabled: () => {
|
|
6191
6224
|
return false;
|
|
@@ -6193,82 +6226,94 @@ class WorkspaceComponent {
|
|
|
6193
6226
|
},
|
|
6194
6227
|
],
|
|
6195
6228
|
actionsLote: [],
|
|
6196
|
-
enableCation:
|
|
6197
|
-
enableFilter:
|
|
6229
|
+
enableCation: false,
|
|
6230
|
+
enableFilter: false,
|
|
6198
6231
|
enableSelect: false,
|
|
6199
6232
|
};
|
|
6200
6233
|
}
|
|
6201
|
-
|
|
6202
|
-
this.
|
|
6203
|
-
this.
|
|
6234
|
+
doubleClick(e) {
|
|
6235
|
+
this.masterSelecionada = e.rowData;
|
|
6236
|
+
this.selecionarMaster(this.masterSelecionada);
|
|
6204
6237
|
}
|
|
6205
|
-
|
|
6206
|
-
this.
|
|
6207
|
-
this.
|
|
6238
|
+
selecionarMaster(master) {
|
|
6239
|
+
this.masterSelecionada = master;
|
|
6240
|
+
this.onMasterSelecionada.emit(this.masterSelecionada);
|
|
6208
6241
|
}
|
|
6209
|
-
|
|
6210
|
-
|
|
6242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceMasterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6243
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: WorkspaceMasterComponent, selector: "kv-workspace-master", inputs: { masters: "masters", masterSelecionada: "masterSelecionada" }, outputs: { onMasterSelecionada: "onMasterSelecionada" }, ngImport: i0, template: "<kv-table\n [tableSize]=\"5\"\n [rows]=\"5\"\n [config]=\"tableConfig\"\n [paginator]=\"false\"\n [dataSource]=\"dataSource\"\n [rowsPerPageOptions]=\"[5, 10, 25, 50, 100, 200]\"\n (doubleClickEvent)=\"doubleClick($event)\"\n (onActiveItem)=\"activeItem($event)\"\n [isTableScrollable]=\"true\"\n [scrollHeight]=\"'300px'\">\n</kv-table>", styles: [""], dependencies: [{ kind: "component", type: KvTableComponent, selector: "kv-table", inputs: ["templates", "config", "defaultSortField", "dataSource", "selectedItems", "totalRecords", "paginator", "rowsPerPageOptions", "rows", "tableSize", "filterColumnsBtn", "filtrosAvancados", "scrollHeight", "isTableScrollable", "tableCaptalized", "rowTrackBy", "responsiveLayout", "disabledHeaderCheckbox", "applyStyle", "pageLinksOptions", "showFirstLastIcon"], outputs: ["onActiveItem", "onActiveItemLote", "onPaginate", "onSelectionChange", "doubleClickEvent", "filterField", "onSwitchTableChange"] }] }); }
|
|
6244
|
+
}
|
|
6245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceMasterComponent, decorators: [{
|
|
6246
|
+
type: Component,
|
|
6247
|
+
args: [{ selector: 'kv-workspace-master', template: "<kv-table\n [tableSize]=\"5\"\n [rows]=\"5\"\n [config]=\"tableConfig\"\n [paginator]=\"false\"\n [dataSource]=\"dataSource\"\n [rowsPerPageOptions]=\"[5, 10, 25, 50, 100, 200]\"\n (doubleClickEvent)=\"doubleClick($event)\"\n (onActiveItem)=\"activeItem($event)\"\n [isTableScrollable]=\"true\"\n [scrollHeight]=\"'300px'\">\n</kv-table>" }]
|
|
6248
|
+
}], ctorParameters: () => [], propDecorators: { masters: [{
|
|
6249
|
+
type: Input
|
|
6250
|
+
}], masterSelecionada: [{
|
|
6251
|
+
type: Input
|
|
6252
|
+
}], onMasterSelecionada: [{
|
|
6253
|
+
type: Output
|
|
6254
|
+
}] } });
|
|
6255
|
+
|
|
6256
|
+
class WorkspaceComponent {
|
|
6257
|
+
constructor() {
|
|
6258
|
+
this.nomeUsuario = 'Nome do Usuário Logado';
|
|
6259
|
+
this.somenteMaster = true;
|
|
6260
|
+
this.visivel = true;
|
|
6261
|
+
this.totalEmpresas = 0;
|
|
6262
|
+
this.onGetMasterSelecionada = new EventEmitter();
|
|
6263
|
+
this.onGetEmpresaSelecionada = new EventEmitter();
|
|
6264
|
+
this.onPaginate = new EventEmitter();
|
|
6211
6265
|
}
|
|
6212
6266
|
ngOnInit() {
|
|
6213
6267
|
this.imgPersonagens = ImagensService.getPersonagensWorkSpace();
|
|
6214
6268
|
this.imgLogoKeevo = ImagensService.getLogoKeevo();
|
|
6215
6269
|
this.imgLogoKeevoCenter = ImagensService.getLogoKeevoCenter();
|
|
6216
6270
|
this.styleBackground = 'background-image: url(' + ImagensService.getBackgroundWorkSpace() + ');';
|
|
6217
|
-
|
|
6218
|
-
|
|
6271
|
+
}
|
|
6272
|
+
paginate(event) {
|
|
6273
|
+
this.onPaginate.emit(event);
|
|
6219
6274
|
}
|
|
6220
6275
|
selecionarEmpresa(empresa) {
|
|
6221
6276
|
this.onGetEmpresaSelecionada.emit(empresa);
|
|
6222
|
-
this.empresaSelecionada = empresa;
|
|
6223
|
-
this.visivel = false;
|
|
6224
|
-
}
|
|
6225
|
-
selecionarMaster(master) {
|
|
6226
|
-
this.onGetMasterSelecionada.emit(master);
|
|
6227
|
-
this.masterSelecionada = master;
|
|
6228
|
-
if (this.somenteMaster)
|
|
6229
|
-
this.visivel = false;
|
|
6230
|
-
else {
|
|
6231
|
-
this.empresas = master.empresas;
|
|
6232
|
-
this.showPaginatorEmpresa = (this.empresas.length > 5);
|
|
6233
|
-
this.columnConfigTableEmpresa();
|
|
6234
|
-
this.verificaEmpresaUnica();
|
|
6235
|
-
}
|
|
6236
|
-
}
|
|
6237
|
-
verificaEmpresaUnica() {
|
|
6238
|
-
if (this.empresas && this.empresas.length == 1)
|
|
6239
|
-
this.selecionarEmpresa(this.empresas[0]);
|
|
6240
6277
|
}
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
this.selecionarMaster(this.masters[0]);
|
|
6244
|
-
}
|
|
6245
|
-
voltar() {
|
|
6246
|
-
this.empresaSelecionada = undefined;
|
|
6247
|
-
this.masterSelecionada = undefined;
|
|
6278
|
+
selecionarMaster(event) {
|
|
6279
|
+
this.onGetMasterSelecionada.emit(event);
|
|
6248
6280
|
}
|
|
6249
6281
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6250
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6282
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: WorkspaceComponent, selector: "kv-workspace-1", inputs: { nomeUsuario: "nomeUsuario", somenteMaster: "somenteMaster", visivel: "visivel", empresas: "empresas", empresaSelecionada: "empresaSelecionada", totalEmpresas: "totalEmpresas", masters: "masters", masterSelecionada: "masterSelecionada" }, outputs: { onGetMasterSelecionada: "onGetMasterSelecionada", onGetEmpresaSelecionada: "onGetEmpresaSelecionada", onPaginate: "onPaginate" }, ngImport: i0, template: "@if(visivel){\n<div [style]=\"styleBackground\" class=\"h-screen flex justify-content-center align-items-center login-container flex-column bg-cover\">\n <div id=\"card-container\" class=\"flex flex-column justify-content-around card-login formgrid p-fluid bg-white border-round p-2\">\n\n <kv-workspace-logo\n [imgLogoKeevoCenter]=\"imgLogoKeevoCenter\"\n [masterSelecionada]=\"masterSelecionada\"\n [nomeUsuario]=\"nomeUsuario\">\n </kv-workspace-logo>\n\n @if(!masterSelecionada){\n <div class=\"col-12 z-5\">\n <kv-workspace-master\n [masters]=\"masters\"\n [masterSelecionada]=\"masterSelecionada\"\n (onMasterSelecionada)=\"selecionarMaster($event)\">\n </kv-workspace-master>\n </div>\n }\n\n @if(!somenteMaster && masterSelecionada){\n <kv-workspace-empresa\n [empresas]=\"empresas\"\n [totalEmpresas]=\"totalEmpresas\"\n (onEmpresaSelecionada)=\"selecionarEmpresa($event)\"\n (onPaginate)=\"paginate($event)\">\n </kv-workspace-empresa>\n }\n\n </div>\n</div>\n}", styles: [".card-login{width:80%;max-width:800px}\n"], dependencies: [{ kind: "component", type: WorkspaceEmpresaComponent, selector: "kv-workspace-empresa", inputs: ["empresas", "empresaSelecionada", "totalEmpresas"], outputs: ["onEmpresaSelecionada", "onPaginate"] }, { kind: "component", type: WokspaceLogoComponent, selector: "kv-workspace-logo", inputs: ["imgLogoKeevoCenter", "nomeUsuario", "masterSelecionada"] }, { kind: "component", type: WorkspaceMasterComponent, selector: "kv-workspace-master", inputs: ["masters", "masterSelecionada"], outputs: ["onMasterSelecionada"] }] }); }
|
|
6251
6283
|
}
|
|
6252
6284
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: WorkspaceComponent, decorators: [{
|
|
6253
6285
|
type: Component,
|
|
6254
|
-
args: [{ selector: 'kv-workspace', template: "<div
|
|
6286
|
+
args: [{ selector: 'kv-workspace-1', template: "@if(visivel){\n<div [style]=\"styleBackground\" class=\"h-screen flex justify-content-center align-items-center login-container flex-column bg-cover\">\n <div id=\"card-container\" class=\"flex flex-column justify-content-around card-login formgrid p-fluid bg-white border-round p-2\">\n\n <kv-workspace-logo\n [imgLogoKeevoCenter]=\"imgLogoKeevoCenter\"\n [masterSelecionada]=\"masterSelecionada\"\n [nomeUsuario]=\"nomeUsuario\">\n </kv-workspace-logo>\n\n @if(!masterSelecionada){\n <div class=\"col-12 z-5\">\n <kv-workspace-master\n [masters]=\"masters\"\n [masterSelecionada]=\"masterSelecionada\"\n (onMasterSelecionada)=\"selecionarMaster($event)\">\n </kv-workspace-master>\n </div>\n }\n\n @if(!somenteMaster && masterSelecionada){\n <kv-workspace-empresa\n [empresas]=\"empresas\"\n [totalEmpresas]=\"totalEmpresas\"\n (onEmpresaSelecionada)=\"selecionarEmpresa($event)\"\n (onPaginate)=\"paginate($event)\">\n </kv-workspace-empresa>\n }\n\n </div>\n</div>\n}", styles: [".card-login{width:80%;max-width:800px}\n"] }]
|
|
6255
6287
|
}], ctorParameters: () => [], propDecorators: { nomeUsuario: [{
|
|
6256
6288
|
type: Input
|
|
6289
|
+
}], somenteMaster: [{
|
|
6290
|
+
type: Input
|
|
6291
|
+
}], visivel: [{
|
|
6292
|
+
type: Input
|
|
6293
|
+
}], empresas: [{
|
|
6294
|
+
type: Input
|
|
6295
|
+
}], empresaSelecionada: [{
|
|
6296
|
+
type: Input
|
|
6297
|
+
}], totalEmpresas: [{
|
|
6298
|
+
type: Input
|
|
6257
6299
|
}], masters: [{
|
|
6258
6300
|
type: Input
|
|
6259
6301
|
}], masterSelecionada: [{
|
|
6260
6302
|
type: Input
|
|
6261
|
-
}], somenteMaster: [{
|
|
6262
|
-
type: Input
|
|
6263
6303
|
}], onGetMasterSelecionada: [{
|
|
6264
6304
|
type: Output
|
|
6265
6305
|
}], onGetEmpresaSelecionada: [{
|
|
6266
6306
|
type: Output
|
|
6307
|
+
}], onPaginate: [{
|
|
6308
|
+
type: Output
|
|
6267
6309
|
}] } });
|
|
6268
6310
|
|
|
6269
6311
|
class KvWorkspaceModule {
|
|
6270
6312
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6271
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvWorkspaceModule, declarations: [WorkspaceComponent
|
|
6313
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvWorkspaceModule, declarations: [WorkspaceComponent,
|
|
6314
|
+
WorkspaceEmpresaComponent,
|
|
6315
|
+
WokspaceLogoComponent,
|
|
6316
|
+
WorkspaceMasterComponent], imports: [CommonModule,
|
|
6272
6317
|
PrimeNgModule,
|
|
6273
6318
|
ReactiveFormsModule,
|
|
6274
6319
|
ProgressSpinnerModule,
|
|
@@ -6289,7 +6334,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
6289
6334
|
type: NgModule,
|
|
6290
6335
|
args: [{
|
|
6291
6336
|
declarations: [
|
|
6292
|
-
WorkspaceComponent
|
|
6337
|
+
WorkspaceComponent,
|
|
6338
|
+
WorkspaceEmpresaComponent,
|
|
6339
|
+
WokspaceLogoComponent,
|
|
6340
|
+
WorkspaceMasterComponent
|
|
6293
6341
|
],
|
|
6294
6342
|
exports: [
|
|
6295
6343
|
WorkspaceComponent
|