oxpi-nglib 1.0.76 → 1.0.79

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.
@@ -3019,10 +3019,10 @@ class ProdutosHistoryComponent {
3019
3019
  }
3020
3020
  }
3021
3021
  ProdutosHistoryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ProdutosHistoryComponent, deps: [{ token: CommonWebService }, { token: NotificationService }, { token: MAT_DIALOG_DATA }, { token: i3.MatDialog }, { token: AuthDataService }, { token: i0.ElementRef }, { token: i3.MatDialogRef }, { token: ScreenHelperService }], target: i0.ɵɵFactoryTarget.Component });
3022
- ProdutosHistoryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: ProdutosHistoryComponent, selector: "lib-produtos-history", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Hist\u00F3rico do Produto '{{model.id}}'</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"result-container\" *ngIf=\"items\">\n <div class=\"reservas-container\">\n <h4 *ngIf=\"items.length === 0\" class=\"nenhum-item-msg\">Nenhum registro para ser exibido</h4>\n <div (click)=\"abreCadastro(item)\" class=\"historico-item\" *ngFor=\"let item of items\">\n <div class=\"historico-icon\">\n <i class=\"material-icons\">history</i>\n </div>\n <div class=\"historico-content\">\n <p class=\"historico-date\">{{ item.startTime | date:'EEE dd/MM/yy HH:mm' }} - {{ item.endTime | date:'EEE dd/MM/yy HH:mm' }}</p>\n <p class=\"historico-user\">{{ item.usuarioLogin }}</p>\n <p class=\"historico-modulo\">{{ item.modulo }}</p>\n </div>\n </div>\n </div>\n</div>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh;position:relative}.reservas-container{display:flex;flex-direction:column}.historico-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid #ccc;font-family:Open Sans,sans-serif;background-color:#fff;cursor:pointer}.historico-item:hover{background-color:var(--item-card-selected-bg)}.historico-icon{font-size:24px;color:#39b7ab;margin-right:32px}.historico-content{flex:1;display:flex;flex-direction:column;gap:4px}.historico-date{margin:0;font-weight:500}.historico-user{margin:0;color:purple}.historico-modulo{margin:0;font-style:italic;color:#666;font-size:small}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "pipe", type: i6.DatePipe, name: "date" }] });
3022
+ ProdutosHistoryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: ProdutosHistoryComponent, selector: "lib-produtos-history", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Hist\u00F3rico do Produto '{{model.id}}'</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"result-container\" *ngIf=\"items\">\n <div class=\"reservas-container\">\n <h4 *ngIf=\"items.length === 0\" class=\"nenhum-item-msg\">Nenhum registro para ser exibido</h4>\n <div (click)=\"abreCadastro(item)\" class=\"historico-item\" *ngFor=\"let item of items\">\n <div class=\"historico-icon\">\n <i class=\"material-icons\">history</i>\n </div>\n <div class=\"historico-content\">\n <p class=\"historico-date\">{{ item.startTime | date:'EEE dd/MM/yy HH:mm' }} - {{ item.endTime | date:'EEE dd/MM/yy HH:mm' }}</p>\n <p class=\"historico-user\">{{ item.usuarioLogin }}</p>\n <p class=\"historico-modulo\" [attr.data-motelplusmodulo]=\"item.modulo\"></p>\n </div>\n <div class=\"historico-obs\" *ngIf=\"item.alteracoes\">\n {{item.alteracoes}}\n </div>\n </div>\n </div>\n</div>", styles: ["@charset \"UTF-8\";:host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh;position:relative}.reservas-container{display:flex;flex-direction:column}.historico-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid #ccc;font-family:Open Sans,sans-serif;background-color:#fff;cursor:pointer}.historico-item:hover{background-color:var(--item-card-selected-bg)}.historico-icon{font-size:24px;color:#39b7ab;margin-right:32px}.historico-content{flex:1;display:flex;flex-direction:column;gap:4px}.historico-date{margin:0;font-weight:500;font-size:smaller}.historico-user{margin:0;color:purple}.historico-obs{display:#eee;padding:8px;border-radius:7px}.historico-modulo{margin:0;font-size:xx-small;padding:3px 8px;border-radius:7px;align-self:end;background-color:#95a5a6;content:\"--\"}.historico-modulo[data-motelplusmodulo=\"0\"]:before{content:\"Administrativo\";background-color:#3498db;color:#fff}.historico-modulo[data-motelplusmodulo=\"1\"]:before{content:\"Administrativo Online\";background-color:#e74c3c;color:#fff}.historico-modulo[data-motelplusmodulo=\"2\"]:before{content:\"Gerencial\";background-color:#2ecc71;color:#fff}.historico-modulo[data-motelplusmodulo=\"3\"]:before{content:\"Gerencial Online\";background-color:#2ecc71;color:#fff}.historico-modulo[data-motelplusmodulo=\"4\"]:before{content:\"Estoque\";background-color:#9b59b6;color:#fff}.historico-modulo[data-motelplusmodulo=\"5\"]:before{content:\"Estoque Online\";background-color:#f39c12;color:#fff}.historico-modulo[data-motelplusmodulo=\"6\"]:before{content:\"Finan\\e7 as\";background-color:#004caf;color:#fff}.historico-modulo[data-motelplusmodulo=\"7\"]:before{content:\"Finan\\e7 as Online\";background-color:#004caf;color:#fff}.historico-modulo[data-motelplusmodulo=\"8\"]:before{content:\"Recep\\e7\\e3o\";background-color:#e91313;color:#fff}.historico-modulo[data-motelplusmodulo=\"9\"]:before{content:\"Configura\\e7\\f5 es\";background-color:#95a5a6;color:#fff}.historico-modulo[data-motelplusmodulo=\"10\"]:before{content:\"Gerencial Web\";background-color:#d35400;color:#fff}.historico-modulo[data-motelplusmodulo=\"11\"]:before{content:\"Gerencial Mobile\";background-color:#44ad85;color:#fff}.historico-modulo[data-motelplusmodulo=\"12\"]:before{content:\"Finan\\e7 as Web\";background-color:#0879eb;color:#fff}.historico-modulo[data-motelplusmodulo=\"13\"]:before{content:\"Assist Mobile\";background-color:#f39c12;color:#fff}.historico-modulo[data-motelplusmodulo=\"14\"]:before{content:\"PlugPlay API\";background-color:#660345;color:#fff}.historico-modulo[data-motelplusmodulo=\"15\"]:before{content:\"ToHospedado\";background-color:#b9296c;color:#fff}.historico-modulo[data-motelplusmodulo=\"16\"]:before{content:\"F9\";background-color:#222120;color:#fff}.historico-modulo[data-motelplusmodulo=\"17\"]:before{content:\"Estoque Web\";background-color:#a85e09;color:#fff}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "pipe", type: i6.DatePipe, name: "date" }] });
3023
3023
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: ProdutosHistoryComponent, decorators: [{
3024
3024
  type: Component,
3025
- args: [{ selector: 'lib-produtos-history', template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Hist\u00F3rico do Produto '{{model.id}}'</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"result-container\" *ngIf=\"items\">\n <div class=\"reservas-container\">\n <h4 *ngIf=\"items.length === 0\" class=\"nenhum-item-msg\">Nenhum registro para ser exibido</h4>\n <div (click)=\"abreCadastro(item)\" class=\"historico-item\" *ngFor=\"let item of items\">\n <div class=\"historico-icon\">\n <i class=\"material-icons\">history</i>\n </div>\n <div class=\"historico-content\">\n <p class=\"historico-date\">{{ item.startTime | date:'EEE dd/MM/yy HH:mm' }} - {{ item.endTime | date:'EEE dd/MM/yy HH:mm' }}</p>\n <p class=\"historico-user\">{{ item.usuarioLogin }}</p>\n <p class=\"historico-modulo\">{{ item.modulo }}</p>\n </div>\n </div>\n </div>\n</div>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh;position:relative}.reservas-container{display:flex;flex-direction:column}.historico-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid #ccc;font-family:Open Sans,sans-serif;background-color:#fff;cursor:pointer}.historico-item:hover{background-color:var(--item-card-selected-bg)}.historico-icon{font-size:24px;color:#39b7ab;margin-right:32px}.historico-content{flex:1;display:flex;flex-direction:column;gap:4px}.historico-date{margin:0;font-weight:500}.historico-user{margin:0;color:purple}.historico-modulo{margin:0;font-style:italic;color:#666;font-size:small}\n"] }]
3025
+ args: [{ selector: 'lib-produtos-history', template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Hist\u00F3rico do Produto '{{model.id}}'</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"result-container\" *ngIf=\"items\">\n <div class=\"reservas-container\">\n <h4 *ngIf=\"items.length === 0\" class=\"nenhum-item-msg\">Nenhum registro para ser exibido</h4>\n <div (click)=\"abreCadastro(item)\" class=\"historico-item\" *ngFor=\"let item of items\">\n <div class=\"historico-icon\">\n <i class=\"material-icons\">history</i>\n </div>\n <div class=\"historico-content\">\n <p class=\"historico-date\">{{ item.startTime | date:'EEE dd/MM/yy HH:mm' }} - {{ item.endTime | date:'EEE dd/MM/yy HH:mm' }}</p>\n <p class=\"historico-user\">{{ item.usuarioLogin }}</p>\n <p class=\"historico-modulo\" [attr.data-motelplusmodulo]=\"item.modulo\"></p>\n </div>\n <div class=\"historico-obs\" *ngIf=\"item.alteracoes\">\n {{item.alteracoes}}\n </div>\n </div>\n </div>\n</div>", styles: ["@charset \"UTF-8\";:host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh;position:relative}.reservas-container{display:flex;flex-direction:column}.historico-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid #ccc;font-family:Open Sans,sans-serif;background-color:#fff;cursor:pointer}.historico-item:hover{background-color:var(--item-card-selected-bg)}.historico-icon{font-size:24px;color:#39b7ab;margin-right:32px}.historico-content{flex:1;display:flex;flex-direction:column;gap:4px}.historico-date{margin:0;font-weight:500;font-size:smaller}.historico-user{margin:0;color:purple}.historico-obs{display:#eee;padding:8px;border-radius:7px}.historico-modulo{margin:0;font-size:xx-small;padding:3px 8px;border-radius:7px;align-self:end;background-color:#95a5a6;content:\"--\"}.historico-modulo[data-motelplusmodulo=\"0\"]:before{content:\"Administrativo\";background-color:#3498db;color:#fff}.historico-modulo[data-motelplusmodulo=\"1\"]:before{content:\"Administrativo Online\";background-color:#e74c3c;color:#fff}.historico-modulo[data-motelplusmodulo=\"2\"]:before{content:\"Gerencial\";background-color:#2ecc71;color:#fff}.historico-modulo[data-motelplusmodulo=\"3\"]:before{content:\"Gerencial Online\";background-color:#2ecc71;color:#fff}.historico-modulo[data-motelplusmodulo=\"4\"]:before{content:\"Estoque\";background-color:#9b59b6;color:#fff}.historico-modulo[data-motelplusmodulo=\"5\"]:before{content:\"Estoque Online\";background-color:#f39c12;color:#fff}.historico-modulo[data-motelplusmodulo=\"6\"]:before{content:\"Finan\\e7 as\";background-color:#004caf;color:#fff}.historico-modulo[data-motelplusmodulo=\"7\"]:before{content:\"Finan\\e7 as Online\";background-color:#004caf;color:#fff}.historico-modulo[data-motelplusmodulo=\"8\"]:before{content:\"Recep\\e7\\e3o\";background-color:#e91313;color:#fff}.historico-modulo[data-motelplusmodulo=\"9\"]:before{content:\"Configura\\e7\\f5 es\";background-color:#95a5a6;color:#fff}.historico-modulo[data-motelplusmodulo=\"10\"]:before{content:\"Gerencial Web\";background-color:#d35400;color:#fff}.historico-modulo[data-motelplusmodulo=\"11\"]:before{content:\"Gerencial Mobile\";background-color:#44ad85;color:#fff}.historico-modulo[data-motelplusmodulo=\"12\"]:before{content:\"Finan\\e7 as Web\";background-color:#0879eb;color:#fff}.historico-modulo[data-motelplusmodulo=\"13\"]:before{content:\"Assist Mobile\";background-color:#f39c12;color:#fff}.historico-modulo[data-motelplusmodulo=\"14\"]:before{content:\"PlugPlay API\";background-color:#660345;color:#fff}.historico-modulo[data-motelplusmodulo=\"15\"]:before{content:\"ToHospedado\";background-color:#b9296c;color:#fff}.historico-modulo[data-motelplusmodulo=\"16\"]:before{content:\"F9\";background-color:#222120;color:#fff}.historico-modulo[data-motelplusmodulo=\"17\"]:before{content:\"Estoque Web\";background-color:#a85e09;color:#fff}\n"] }]
3026
3026
  }], ctorParameters: function () { return [{ type: CommonWebService }, { type: NotificationService }, { type: undefined, decorators: [{
3027
3027
  type: Inject,
3028
3028
  args: [MAT_DIALOG_DATA]