This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by benevideschissanga on 5/9/16. | |
*/ | |
import {Injectable} from '@angular/core'; | |
import {Http, Response} from '@angular/http'; | |
import {Observable} from 'rxjs/Observable'; | |
@Injectable() | |
export class MyService { | |
private _videoUrl = 'api/videos.json'; | |
private _feedProductsUrl = 'api/images.json'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="form clearfix user-form" (ngSubmit)="addCE(formAddCE.value)" [formGroup]="formAddCE" novalidate | |
autocomplete="off"> | |
<!-- Thumbnail --> | |
<div class="col-lg-2 col-md-2 col-sm-16 col-xs-16 col-lg-offset-1 col-md-offset-1 edit-profile" | |
*ngIf="selectedClient && selectedClient.codigo"> | |
<div class="text-center user-thumb canChange animHeight"> | |
<span class="img-circle" [ngClass]="{'hasnt icon-avatar':!selectedClient.foto}"> | |
<img class="animHeight" *ngIf="selectedClient.foto" [src]="selectedClient.foto" | |
[attr.alt]="selectedClient.nome | capitalizeNameng2"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="form user-form clearfix" (ngSubmit)="addCE(formAddCE.value)" [formGroup]="formAddCE" novalidate | |
autocomplete="off"> | |
<div | |
class="col-sm-14 col-lg-10 col-xs-14 col-sm-offset-1 col-md-12 col-lg-offset-3 col-md-offset-2 col-xs-offset-1 content-padding-global form-client-col"> | |
<!-- Geral --> | |
<div class="row cad-geral"> | |
<div class="col-lg-16 col-md-16 col-sm-16 col-xs-16"> | |
<h3>Geral</h3> | |
</div> | |
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-16"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by benevideschissanga on 13/04/17. | |
*/ | |
import {Component, ElementRef, HostListener, Inject, OnInit, Renderer, ViewChild} from '@angular/core'; | |
import {FormArray, FormBuilder, FormGroup, Validators} from '@angular/forms'; | |
import {FirstNamePipe} from '../../../pipes/pipes'; | |
import {Http} from '@angular/http'; | |
import {UIRouter} from 'ui-router-ng2'; | |
import {ValidationService} from '../../../ui-kit.components/ui-kit.message/validation.service'; | |
@Component({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="form user-form clearfix" (ngSubmit)="addCE(formAddCE.value)" [formGroup]="formAddCE" novalidate | |
autocomplete="off"> | |
<div | |
class="col-sm-14 col-lg-10 col-xs-14 col-sm-offset-1 col-md-12 col-lg-offset-3 col-md-offset-2 col-xs-offset-1 content-padding-global form-client-col"> | |
<!-- Geral --> | |
<div class="row cad-geral"> | |
<div class="col-lg-16 col-md-16 col-sm-16 col-xs-16"> | |
<h3>Geral</h3> | |
</div> | |
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-16"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by benevideschissanga on 13/04/17. | |
*/ | |
import { | |
AfterViewInit, | |
Component, | |
ElementRef, | |
HostListener, | |
Inject, | |
OnDestroy, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {CUSTOM_ELEMENTS_SCHEMA, Inject, Injector, NgModule, NgModuleFactoryLoader, SystemJsNgModuleLoader} from '@angular/core'; | |
import {APP_BASE_HREF, CommonModule} from '@angular/common'; | |
import {FormsModule, ReactiveFormsModule} from '@angular/forms'; | |
import {BrowserModule} from '@angular/platform-browser'; | |
import 'wiseit'; // "bare import" for side-effects | |
import {PessoaModule} from './pessoa/pessoa.module'; | |
import {UtilsModule} from './utils/utils.module'; | |
import {VisaoModule} from './visao/visao.module'; | |
import {TranslateLoader, TranslateModule, TranslateService} from '@ngx-translate/core'; | |
import {WiseITTranslateModule} from './translate/translate.module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {AfterViewInit, Component, EventEmitter, Input, Output, ViewChild} from '@angular/core'; | |
import {DaterangePickerComponent, DaterangepickerConfig} from 'ng2-daterangepicker'; | |
import {FormGroup} from '@angular/forms'; | |
declare const moment: any; | |
@Component({ | |
selector: 'app-date-rangepicker', | |
templateUrl: 'ui-kit.components/ui-date-rangepicker/ui-date-rangepicker.component.html' | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label [attr.for]="id" [innerHtml]="label"></label> | |
<div class="input-group" daterangepicker (selected)="selected($event, mainInput)"> | |
<input [id]="id" [name]="id" | |
[placeholder]="placeholder" | |
[formControl]="control.get(itemName)" | |
class="form-control uneditable-input input-layout"/> | |
<a class="input-group-btn btn btn-icon btn-sm"> | |
<i class="glyphicon glyphicon-calendar"></i> | |
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group password" *ngIf="form" [formGroup]="form"> | |
<input | |
[id]="id" | |
[ngClass]="styles" | |
name="password" | |
class="form-control" | |
[attr.type]="inputType" | |
[placeholder]="placeholder" | |
autocomplete="false" | |
[formControlName]="itemName"> |
OlderNewer