Commit 8e72bafc823f36222fbc50b7538feddd53d96ee0

Authored by Eric Fernandez
1 parent c19b19d494

ignore

... ... @@ -50,4 +50,4 @@ testem.log
50 50 Thumbs.db
51 51  
52 52 # config
53   -/etc/AppSeting.ts
  53 +/src/etc/AppSetings.ts
1 1 {
2 2 "name": "distribucion-comprobantes",
3 3 "version": "0.0.0",
  4 + "main": "main.js",
4 5 "scripts": {
5 6 "ng": "ng",
6 7 "start": "ng serve",
... ... @@ -8,6 +9,8 @@
8 9 "test": "ng test",
9 10 "lint": "ng lint",
10 11 "e2e": "ng e2e",
  12 + "electron": "electron .",
  13 + "electron-build": "ng build --prod && electron .",
11 14 "apkToDrop": "cp ./platforms/android/app/build/outputs/apk/debug/app-debug.apk C:/Users/Usuario/Dropbox/Apks_PlanexDEBO/v0.0.1"
12 15 },
13 16 "private": true,
... ... @@ -23,6 +26,7 @@
23 26 "@ng-bootstrap/ng-bootstrap": "^4.2.0",
24 27 "angular2-ladda": "^2.0.1",
25 28 "cordova-android": "^8.0.0",
  29 + "electron-debug": "^3.0.1",
26 30 "font-awesome": "^4.7.0",
27 31 "rxjs": "~6.4.0",
28 32 "tslib": "^1.9.0",
... ... @@ -33,10 +37,11 @@
33 37 "@angular/cli": "~8.0.0",
34 38 "@angular/compiler-cli": "~8.0.0",
35 39 "@angular/language-service": "~8.0.0",
36   - "@types/node": "~8.9.4",
37 40 "@types/jasmine": "~3.3.8",
38 41 "@types/jasminewd2": "~2.0.3",
  42 + "@types/node": "~8.9.4",
39 43 "codelyzer": "^5.0.0",
  44 + "electron": "^5.0.8",
40 45 "jasmine-core": "~3.4.0",
41 46 "jasmine-spec-reporter": "~4.2.1",
42 47 "karma": "~4.1.0",
src/app/botonera/botonera.component.css
... ... @@ -1,49 +0,0 @@
1   -.botonera-principal-comprobante {
2   - background-image: url('/assets/img/comprobante.png');
3   - background-size: 90px 90px;
4   - display: inline-block;
5   - text-align: center;
6   - border-radius: 12px;
7   - border-width: 0;
8   - height: 90px;
9   - position: relative;
10   - width: 90px;
11   - outline: 0;
12   -}
13   -.botonera-principal-comprobante:hover {
14   - background-color:rgb(250,250,250);
15   - filter:drop-shadow(4px 4px 4px gray);
16   -}
17   -.botonera-principal-comprobante:active {
18   - background-color: rgb(230, 230, 230);
19   - filter:drop-shadow(4px 4px 4px gray);
20   -}
21   -@media (min-width: 992px) and (max-width: 1200px) {
22   - .botonera-principal-comprobante {
23   - width: 150px;
24   - }
25   -}
26   -.botonera-principal-comprobante > span {
27   - left: 0;
28   - position: absolute;
29   - text-align: center;
30   - top: 90px;
31   - width: 100%;
32   - font-size: 12px;
33   - color: #777777
34   -}
35   -.botonera-principal-logo {
36   - width: 50%;
37   - margin-left: 75%;
38   - opacity: .8;
39   -}
40   -@media (max-width: 576px) {
41   - .botonera-principal-logo {
42   - width: 180%;
43   - margin-left: 20%;
44   - opacity: .8;
45   - }
46   -}
47   -.swiper {
48   - height: 300px;
49   -}
src/app/botonera/botonera.component.ts
... ... @@ -4,7 +4,7 @@ import { BotonServiceService } from 'src/app/boton-service.service';
4 4 @Component({
5 5 selector: 'app-botonera',
6 6 templateUrl: './botonera.component.html',
7   - styleUrls: ['./botonera.component.css']
  7 + styleUrls: ['./botonera.component.scss']
8 8 })
9 9  
10 10 export class AppBotonera {
src/etc/AppSetings.ts
1 1 export class AppSetings {
2   - public static END_POINT='http://10.231.45.234:6060/gateway-debo';
  2 + public static END_POINT='http://localhost:6060/gateway-debo';
3 3 }