Commit f2d49ad0090e2514e11237fb65fbcedd10224e0b
Exists in
master
Merge branch 'master' into 'master'
Master (pmarco) See merge request Wrappers/wrapper-demo!2
Showing
3 changed files
Show diff stats
index.html
1 | <html ng-app="appWrapperDemo"> | 1 | <html ng-app="appWrapperDemo"> |
2 | <head> | 2 | <head> |
3 | <meta charset="UTF-8"/> | 3 | <meta charset="UTF-8"/> |
4 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | 4 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
5 | <base href="./"> | 5 | <base href="./"> |
6 | 6 | ||
7 | <!--CSS--> | 7 | <!--CSS--> |
8 | <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/> | 8 | <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/> |
9 | <link href="./node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> | 9 | <link href="./node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> |
10 | <link href="css/general.css" rel="stylesheet"/> | 10 | <link href="css/general.css" rel="stylesheet"/> |
11 | 11 | ||
12 | <!--VENDOR JS--> | 12 | <!--VENDOR JS--> |
13 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> | 13 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> |
14 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | 14 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> |
15 | <script src="./node_modules/angular/angular.min.js"></script> | 15 | <script src="./node_modules/angular/angular.min.js"></script> |
16 | <script src="./node_modules/angular-route/angular-route.min.js"></script> | 16 | <script src="./node_modules/angular-route/angular-route.min.js"></script> |
17 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> | ||
17 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> | 18 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
18 | 19 | ||
19 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> | 20 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
20 | <script src="./node_modules/foca-botonera-horizontal/dist/botonera-horizontal.min.js"></script> | 21 | <script src="./node_modules/foca-botonera-horizontal/dist/botonera-horizontal.min.js"></script> |
21 | <script src="./node_modules/foca-turno-apertura/dist/foca-turno-apertura.min.js"></script> | 22 | <script src="./node_modules/foca-turno-apertura/dist/foca-turno-apertura.min.js"></script> |
22 | <script src="./node_modules/foca-abm-plazo-pago/dist/foca-abm-plazo-pago.min.js"></script> | 23 | <script src="./node_modules/foca-abm-plazo-pago/dist/foca-abm-plazo-pago.min.js"></script> |
23 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> | 24 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> |
24 | <script src="./node_modules/foca-abm-sectores/dist/foca-abm-sectores.min.js"></script> | 25 | <script src="./node_modules/foca-abm-sectores/dist/foca-abm-sectores.min.js"></script> |
25 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> | 26 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> |
27 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> | ||
26 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> | 28 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> |
27 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> | 29 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> |
28 | <script src="./node_modules/foca-modal-petroleras/dist/foca-modal-petroleras.min.js"></script> | 30 | <script src="./node_modules/foca-modal-petroleras/dist/foca-modal-petroleras.min.js"></script> |
29 | <script src="./node_modules/foca-modal-vendedores/dist/foca-modal-vendedores.min.js"></script> | 31 | <script src="./node_modules/foca-modal-vendedores/dist/foca-modal-vendedores.min.js"></script> |
30 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> | 32 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> |
31 | 33 | ||
32 | <!-- BUILD --> | 34 | <!-- BUILD --> |
33 | <script src="./src/js/app.js"></script> | 35 | <script src="./src/js/app.js"></script> |
34 | <script src="./src/etc/develop.js"></script> | 36 | <script src="./src/etc/develop.js"></script> |
35 | <!-- /BUILD --> | 37 | <!-- /BUILD --> |
36 | 38 | ||
37 | </head> | 39 | </head> |
38 | <body> | 40 | <body> |
39 | <style> | 41 | <style> |
40 | </style> | 42 | </style> |
41 | <botonera-horizontal></botonera-horizontal> | 43 | <botonera-horizontal></botonera-horizontal> |
42 | <div ng-view class="container contenedor"></div> | 44 | <div ng-view class="container contenedor"></div> |
43 | </body> | 45 | </body> |
44 | </html> | 46 | </html> |
45 | 47 |
package.json
1 | { | 1 | { |
2 | "name": "wrapper-demo", | 2 | "name": "wrapper-demo", |
3 | "version": "0.0.1", | 3 | "version": "0.0.1", |
4 | "description": "", | 4 | "description": "", |
5 | "main": "main.js", | 5 | "main": "main.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", | 7 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", |
8 | "gulp-pre-commit": "gulp pre-commit", | 8 | "gulp-pre-commit": "gulp pre-commit", |
9 | "compile": "gulp uglify && gulp sass", | 9 | "compile": "gulp uglify && gulp sass", |
10 | "electron": "electron .", | 10 | "electron": "electron .", |
11 | "electron-build": "gulp uglify && gulp html && gulp sass && electron ." | 11 | "electron-build": "gulp uglify && gulp html && gulp sass && electron ." |
12 | }, | 12 | }, |
13 | "pre-commit": [ | 13 | "pre-commit": [ |
14 | "gulp-pre-commit" | 14 | "gulp-pre-commit" |
15 | ], | 15 | ], |
16 | "repository": { | 16 | "repository": { |
17 | "type": "git", | 17 | "type": "git", |
18 | "url": "https://192.168.0.11/Wrappers/wrapper-demo.git" | 18 | "url": "https://debo.suite.repo/Wrappers/wrapper-demo.git" |
19 | }, | 19 | }, |
20 | "author": "Foca Software", | 20 | "author": "Foca Software", |
21 | "license": "ISC", | 21 | "license": "ISC", |
22 | "dependencies": { | 22 | "dependencies": { |
23 | "angular": "^1.7.4", | 23 | "angular": "^1.7.5", |
24 | "angular-route": "1.7.3", | 24 | "angular-cookies": "^1.7.5", |
25 | "bootstrap": "4.1.3", | 25 | "angular-route": "^1.7.5", |
26 | "foca-abm-plazo-pago": "git+https://192.168.0.11/modulos-npm/foca-abm-plazo-pago.git", | 26 | "bootstrap": "^4.1.3", |
27 | "foca-abm-precios-condiciones": "git+https://192.168.0.11/modulos-npm/foca-abm-precios-condiciones.git", | 27 | "foca-abm-plazo-pago": "git+https://debo.suite.repo/modulos-npm/foca-abm-plazo-pago.git", |
28 | "foca-abm-sectores": "git+https://192.168.0.11/modulos-npm/foca-abm-sectores", | 28 | "foca-abm-precios-condiciones": "git+https://debo.suite.repo/modulos-npm/foca-abm-precios-condiciones.git", |
29 | "foca-botonera-horizontal": "git+https://192.168.0.11/modulos-npm/foca-botonera-horizontal.git", | 29 | "foca-abm-sectores": "git+https://debo.suite.repo/modulos-npm/foca-abm-sectores", |
30 | "foca-busqueda-cliente": "git+https://192.168.0.11/modulos-npm/foca-busqueda-cliente.git", | 30 | "foca-botonera-horizontal": "git+https://debo.suite.repo/modulos-npm/foca-botonera-horizontal.git", |
31 | "foca-crear-nota-pedido": "git+https://192.168.0.11/modulos-npm/foca-crear-nota-pedido.git", | 31 | "foca-busqueda-cliente": "git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git", |
32 | "foca-directivas": "git+https://192.168.0.11/modulos-npm/foca-directivas.git", | 32 | "foca-crear-nota-pedido": "git+https://debo.suite.repo/modulos-npm/foca-crear-nota-pedido.git", |
33 | "foca-modal": "git+https://192.168.0.11/modulos-npm/foca-modal", | 33 | "foca-directivas": "git+https://debo.suite.repo/modulos-npm/foca-directivas.git", |
34 | "foca-modal-busqueda-productos": "git+https://192.168.0.11/nguarnieri/foca-modal-busqueda-productos", | 34 | "foca-login": "git+https://debo.suite.repo/modulos-npm/foca-login.git", |
35 | "foca-modal-petroleras": "git+https://192.168.0.11/modulos-npm/foca-modal-petroleras.git", | 35 | "foca-modal": "git+https://debo.suite.repo/modulos-npm/foca-modal", |
36 | "foca-modal-vendedores": "git+https://192.168.0.11/modulos-npm/foca-modal-vendedores.git", | 36 | "foca-modal-busqueda-productos": "git+https://debo.suite.repo/nguarnieri/foca-modal-busqueda-productos", |
37 | "foca-turno-apertura": "git+https://192.168.0.11/modulos-npm/foca-turno-apertura.git", | 37 | "foca-modal-petroleras": "git+https://debo.suite.repo/modulos-npm/foca-modal-petroleras.git", |
38 | "font-awesome": "4.7.0", | 38 | "foca-modal-vendedores": "git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git", |
39 | "foca-turno-apertura": "git+https://debo.suite.repo/modulos-npm/foca-turno-apertura.git", | ||
40 | "font-awesome": "^4.7.0", | ||
39 | "gulp-angular-templatecache": "^2.2.1", | 41 | "gulp-angular-templatecache": "^2.2.1", |
40 | "gulp-htmlmin": "^5.0.1", | 42 | "gulp-htmlmin": "^5.0.1", |
41 | "gulp-uglify": "^3.0.1", | 43 | "gulp-uglify": "^3.0.1", |
42 | "jquery": "3.3.1", | 44 | "jquery": "^3.3.1", |
43 | "node-sass": "4.9.4", | 45 | "node-sass": "^4.9.4", |
44 | "uglify": "^0.1.5", | 46 | "uglify": "^0.1.5", |
45 | "ui-bootstrap4": "^3.0.5" | 47 | "ui-bootstrap4": "^3.0.5" |
46 | }, | 48 | }, |
47 | "devDependencies": { | 49 | "devDependencies": { |
48 | "electron": "^3.0.2", | 50 | "electron": "^3.0.2", |
49 | "gulp": "^3.9.1", | 51 | "gulp": "^3.9.1", |
50 | "gulp-clean": "^0.4.0", | 52 | "gulp-clean": "^0.4.0", |
51 | "gulp-concat": "^2.6.1", | 53 | "gulp-concat": "^2.6.1", |
52 | "gulp-connect": "^5.6.1", | 54 | "gulp-connect": "^5.6.1", |
53 | "gulp-jshint": "^2.1.0", | 55 | "gulp-jshint": "^2.1.0", |
54 | "gulp-rename": "^1.4.0", | 56 | "gulp-rename": "^1.4.0", |
55 | "gulp-replace": "^1.0.0", | 57 | "gulp-replace": "^1.0.0", |
56 | "gulp-sass": "^4.0.1", | 58 | "gulp-sass": "^4.0.1", |
57 | "gulp-uglify-es": "^1.0.4", | 59 | "gulp-uglify-es": "^1.0.4", |
58 | "gulp-watch": "^5.0.1", | 60 | "gulp-watch": "^5.0.1", |
59 | "jasmine-core": "^3.2.1", | 61 | "jasmine-core": "^3.2.1", |
60 | "jshint": "^2.9.6", | 62 | "jshint": "^2.9.6", |
61 | "pre-commit": "^1.2.2", | 63 | "pre-commit": "^1.2.2", |
62 | "pump": "^3.0.0" | 64 | "pump": "^3.0.0" |
63 | } | 65 | } |
64 | } | 66 | } |
65 | 67 |
src/js/app.js
1 | angular.module('appWrapperDemo', [ | 1 | angular.module('appWrapperDemo', [ |
2 | 'ngCookies', | ||
2 | 'ngRoute', | 3 | 'ngRoute', |
3 | 'ui.bootstrap', | 4 | 'ui.bootstrap', |
4 | 'focaBotoneraHorizontal', | 5 | 'focaBotoneraHorizontal', |
5 | 'focaTurnoApertura', | 6 | 'focaTurnoApertura', |
6 | 'focaAbmPreciosCondiciones', | 7 | 'focaAbmPreciosCondiciones', |
7 | 'focaAbmPlazoPago', | 8 | 'focaAbmPlazoPago', |
8 | 'focaAbmSectores', | 9 | 'focaAbmSectores', |
9 | 'focaBusquedaCliente', | 10 | 'focaBusquedaCliente', |
10 | 'focaCrearNotaPedido', | 11 | 'focaCrearNotaPedido', |
12 | 'focaLogin', | ||
11 | 'focaModal' | 13 | 'focaModal' |
12 | ]); | 14 | ]); |
13 | 15 |