Commit bd9b0091aa0fea2d1732887dec73900f5f0b1529
1 parent
be1ad3aedc
Exists in
master
avances
Showing
11 changed files
with
156 additions
and
0 deletions
Show diff stats
config.xml
... | ... | @@ -0,0 +1,27 @@ |
1 | +<?xml version='1.0' encoding='utf-8'?> | |
2 | +<widget id="com.focasoftware.comprobantes" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |
3 | + <name>Gestión comprobantes</name> | |
4 | + <description> | |
5 | + Gestion de comprobantes | |
6 | + </description> | |
7 | + <author email="dev@cordova.apache.org" href="http://cordova.io"> | |
8 | + Apache Cordova Team | |
9 | + </author> | |
10 | + <icon src="/src/img/logo.png" platform="android" /> | |
11 | + <content src="index.html" /> | |
12 | + <plugin name="cordova-plugin-whitelist" spec="1" /> | |
13 | + <access origin="*" /> | |
14 | + <allow-intent href="http://*/*" /> | |
15 | + <allow-intent href="https://*/*" /> | |
16 | + <allow-intent href="tel:*" /> | |
17 | + <allow-intent href="sms:*" /> | |
18 | + <allow-intent href="mailto:*" /> | |
19 | + <allow-intent href="geo:*" /> | |
20 | + <platform name="android"> | |
21 | + <allow-intent href="market:*" /> | |
22 | + </platform> | |
23 | + <platform name="ios"> | |
24 | + <allow-intent href="itms:*" /> | |
25 | + <allow-intent href="itms-apps:*" /> | |
26 | + </platform> | |
27 | +</widget> |
hooks/README.md
... | ... | @@ -0,0 +1,23 @@ |
1 | +<!-- | |
2 | +# | |
3 | +# Licensed to the Apache Software Foundation (ASF) under one | |
4 | +# or more contributor license agreements. See the NOTICE file | |
5 | +# distributed with this work for additional information | |
6 | +# regarding copyright ownership. The ASF licenses this file | |
7 | +# to you under the Apache License, Version 2.0 (the | |
8 | +# "License"); you may not use this file except in compliance | |
9 | +# with the License. You may obtain a copy of the License at | |
10 | +# | |
11 | +# http://www.apache.org/licenses/LICENSE-2.0 | |
12 | +# | |
13 | +# Unless required by applicable law or agreed to in writing, | |
14 | +# software distributed under the License is distributed on an | |
15 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
16 | +# KIND, either express or implied. See the License for the | |
17 | +# specific language governing permissions and limitations | |
18 | +# under the License. | |
19 | +# | |
20 | +--> | |
21 | +# Cordova Hooks | |
22 | + | |
23 | +Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. See Hooks Guide for more details: http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide. |
src/app/botonera/botonera.component.css
src/app/botonera/botonera.component.html
... | ... | @@ -0,0 +1,23 @@ |
1 | +<ngb-carousel *ngIf="images"> | |
2 | + <ng-template ngbSlide> | |
3 | + <img [src]="images[0]" alt="Random first slide"> | |
4 | + <div class="carousel-caption"> | |
5 | + <h3>First slide label</h3> | |
6 | + <p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p> | |
7 | + </div> | |
8 | + </ng-template> | |
9 | + <ng-template ngbSlide> | |
10 | + <img [src]="images[1]" alt="Random second slide"> | |
11 | + <div class="carousel-caption"> | |
12 | + <h3>Second slide label</h3> | |
13 | + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> | |
14 | + </div> | |
15 | + </ng-template> | |
16 | + <ng-template ngbSlide> | |
17 | + <img [src]="images[2]" alt="Random third slide"> | |
18 | + <div class="carousel-caption"> | |
19 | + <h3>Third slide label</h3> | |
20 | + <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p> | |
21 | + </div> | |
22 | + </ng-template> | |
23 | +</ngb-carousel> | |
0 | 24 | \ No newline at end of file |
src/app/botonera/botonera.component.spec.ts
... | ... | @@ -0,0 +1,25 @@ |
1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | + | |
3 | +import { BotoneraComponent } from './botonera.component'; | |
4 | + | |
5 | +describe('BotoneraComponent', () => { | |
6 | + let component: BotoneraComponent; | |
7 | + let fixture: ComponentFixture<BotoneraComponent>; | |
8 | + | |
9 | + beforeEach(async(() => { | |
10 | + TestBed.configureTestingModule({ | |
11 | + declarations: [ BotoneraComponent ] | |
12 | + }) | |
13 | + .compileComponents(); | |
14 | + })); | |
15 | + | |
16 | + beforeEach(() => { | |
17 | + fixture = TestBed.createComponent(BotoneraComponent); | |
18 | + component = fixture.componentInstance; | |
19 | + fixture.detectChanges(); | |
20 | + }); | |
21 | + | |
22 | + it('should create', () => { | |
23 | + expect(component).toBeTruthy(); | |
24 | + }); | |
25 | +}); |
src/app/botonera/botonera.component.ts
... | ... | @@ -0,0 +1,11 @@ |
1 | +import { Component } from '@angular/core'; | |
2 | + | |
3 | +@Component({ | |
4 | + selector: 'app-botonera', | |
5 | + templateUrl: './botonera.component.html', | |
6 | + styleUrls: ['./botonera.component.css'] | |
7 | +}) | |
8 | + | |
9 | +export class AppBotonera { | |
10 | + images = [1, 2, 3].map(() => `https://picsum.photos/900/500?random&t=${Math.random()}`); | |
11 | +} |
src/app/lista-comprobantes/lista-comprobantes.component.css
src/app/lista-comprobantes/lista-comprobantes.component.html
src/app/lista-comprobantes/lista-comprobantes.component.spec.ts
... | ... | @@ -0,0 +1,25 @@ |
1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | + | |
3 | +import { ListaComprobantesComponent } from './lista-comprobantes.component'; | |
4 | + | |
5 | +describe('ListaComprobantesComponent', () => { | |
6 | + let component: ListaComprobantesComponent; | |
7 | + let fixture: ComponentFixture<ListaComprobantesComponent>; | |
8 | + | |
9 | + beforeEach(async(() => { | |
10 | + TestBed.configureTestingModule({ | |
11 | + declarations: [ ListaComprobantesComponent ] | |
12 | + }) | |
13 | + .compileComponents(); | |
14 | + })); | |
15 | + | |
16 | + beforeEach(() => { | |
17 | + fixture = TestBed.createComponent(ListaComprobantesComponent); | |
18 | + component = fixture.componentInstance; | |
19 | + fixture.detectChanges(); | |
20 | + }); | |
21 | + | |
22 | + it('should create', () => { | |
23 | + expect(component).toBeTruthy(); | |
24 | + }); | |
25 | +}); |
src/app/lista-comprobantes/lista-comprobantes.component.ts
... | ... | @@ -0,0 +1,17 @@ |
1 | +import { Component, OnInit } from '@angular/core'; | |
2 | + | |
3 | +@Component({ | |
4 | + selector: 'app-lista-comprobantes', | |
5 | + templateUrl: './lista-comprobantes.component.html', | |
6 | + styleUrls: ['./lista-comprobantes.component.css'] | |
7 | +}) | |
8 | + | |
9 | +export class ListaComprobantesComponent implements OnInit { | |
10 | + | |
11 | + constructor() { } | |
12 | + | |
13 | + ngOnInit() { | |
14 | + } | |
15 | + | |
16 | + items = [10, 20]; | |
17 | +} |
src/img/logo.png
143 KB