Commit ab2041e230a70082716a92ff68d1927530099a6c
Exists in
master
Merge branch 'develop' into 'master'
Develop See merge request !91
Showing
9 changed files
Show diff stats
gulpfile.js
1 | const gulp = require('gulp'); | 1 | const gulp = require('gulp'); |
2 | const sass = require('gulp-sass'); | 2 | const sass = require('gulp-sass'); |
3 | const concat = require('gulp-concat'); | 3 | const concat = require('gulp-concat'); |
4 | const rename = require('gulp-rename'); | 4 | const rename = require('gulp-rename'); |
5 | const uglify = require('gulp-uglify'); | 5 | const uglify = require('gulp-uglify'); |
6 | const pump = require('pump'); | 6 | const pump = require('pump'); |
7 | const jshint = require('gulp-jshint'); | 7 | const jshint = require('gulp-jshint'); |
8 | const replace = require('gulp-replace'); | 8 | const replace = require('gulp-replace'); |
9 | const connect = require('gulp-connect'); | 9 | const connect = require('gulp-connect'); |
10 | const watch = require('gulp-watch'); | 10 | const watch = require('gulp-watch'); |
11 | 11 | const gulpSequence = require('gulp-sequence') | |
12 | var paths = { | 12 | var paths = { |
13 | srcHTML : 'src/views/*.html', | 13 | srcHTML : 'src/views/*.html', |
14 | srcJS : 'src/js/*.js', | 14 | srcJS : 'src/js/*.js', |
15 | confJS : 'src/etc/develop.js', | 15 | confJS : 'src/etc/develop.js', |
16 | dist : 'dist/', | 16 | dist : 'dist/', |
17 | distHTML : 'dist/views/' | 17 | distHTML : 'dist/views/' |
18 | }; | 18 | }; |
19 | 19 | ||
20 | gulp.task('uglify', function() { | 20 | gulp.task('uglify', function() { |
21 | pump( | 21 | pump( |
22 | [ | 22 | [ |
23 | gulp.src([paths.srcJS, paths.confJS]), | 23 | gulp.src([paths.srcJS, paths.confJS]), |
24 | concat('wrapper-demo.js'), | 24 | concat('wrapper-demo.js'), |
25 | replace('/src/', '/dist/'), | 25 | replace('/src/', '/dist/'), |
26 | gulp.dest(paths.dist), | 26 | gulp.dest(paths.dist), |
27 | rename('wrapper-demo.min.js'), | 27 | rename('wrapper-demo.min.js'), |
28 | uglify(), | 28 | uglify(), |
29 | gulp.dest(paths.dist) | 29 | gulp.dest(paths.dist) |
30 | ] | 30 | ] |
31 | ); | 31 | ); |
32 | }); | 32 | }); |
33 | 33 | ||
34 | gulp.task('html', function() { | 34 | gulp.task('html', function() { |
35 | pump([ | 35 | pump([ |
36 | gulp.src('index.html'), | 36 | gulp.src('index.html'), |
37 | replace(/\<!\-\- BUILD \-\-\>.*\<!\-\- \/BUILD \-\-\>/sgm, '<script src="wrapper-demo.min.js"></script>'), | 37 | replace(/\<!\-\- BUILD \-\-\>.*\<!\-\- \/BUILD \-\-\>/sgm, '<script src="wrapper-demo.min.js"></script>'), |
38 | gulp.dest(paths.dist) | 38 | gulp.dest(paths.dist) |
39 | ]); | 39 | ]); |
40 | pump([ | 40 | pump([ |
41 | gulp.src(paths.srcHTML), | 41 | gulp.src(paths.srcHTML), |
42 | gulp.dest(paths.distHTML) | 42 | gulp.dest(paths.distHTML) |
43 | ]); | 43 | ]); |
44 | }); | 44 | }); |
45 | 45 | ||
46 | gulp.task('sass', function() { | 46 | gulp.task('sass', function() { |
47 | return gulp.src('src/sass/*.scss') | 47 | return gulp.src('src/sass/*.scss') |
48 | .pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError)) | 48 | .pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError)) |
49 | .pipe(gulp.dest('css')); | 49 | .pipe(gulp.dest('css')); |
50 | }); | 50 | }); |
51 | 51 | ||
52 | gulp.task('pre-install', function() { | 52 | gulp.task('pre-install', function() { |
53 | pump([ | 53 | pump([ |
54 | gulp.src('package.json'), | 54 | gulp.src('package.json'), |
55 | replace('ssh://git@debonline.dyndns.org:', 'http://git.focasoftware.com/'), | 55 | replace('ssh://git@debonline.dyndns.org:', 'http://git.focasoftware.com/'), |
56 | replace('.git', '.git#develop'), | ||
56 | gulp.dest('') | 57 | gulp.dest('') |
57 | ]); | 58 | ]); |
58 | }); | 59 | }); |
59 | 60 | ||
60 | gulp.task('post-install', function() { | 61 | gulp.task('post-install', function() { |
61 | pump([ | 62 | pump([ |
62 | gulp.src('package.json'), | 63 | gulp.src('package.json'), |
63 | replace('http://git.focasoftware.com/', 'ssh://git@debonline.dyndns.org:'), | 64 | replace('http://git.focasoftware.com/', 'ssh://git@debonline.dyndns.org:'), |
65 | replace('#develop', ''), | ||
64 | gulp.dest('') | 66 | gulp.dest('') |
65 | ]); | 67 | ]); |
66 | }); | 68 | }); |
67 | 69 | ||
68 | gulp.task('pre-commit', function() { | 70 | gulp.task('pre-commit', function() { |
69 | return pump( | 71 | return pump( |
70 | [ | 72 | [ |
71 | gulp.src(paths.srcJS), | 73 | gulp.src(paths.srcJS), |
72 | jshint('.jshintrc'), | 74 | jshint('.jshintrc'), |
73 | jshint.reporter('default'), | 75 | jshint.reporter('default'), |
74 | jshint.reporter('fail') | 76 | jshint.reporter('fail') |
75 | ] | 77 | ] |
76 | ); | 78 | ); |
77 | gulp.start('uglify'); | ||
78 | gulp.start('sass'); | ||
79 | }); | 79 | }); |
80 | 80 | ||
81 | gulp.task('webserver', function() { | 81 | gulp.task('webserver', function() { |
82 | pump [ | 82 | pump [ |
83 | connect.server( | 83 | connect.server( |
84 | { | 84 | { |
85 | port: 8086, | 85 | port: 8086, |
86 | host: '0.0.0.0', | 86 | host: '0.0.0.0', |
87 | livereload: true | 87 | livereload: true |
88 | } | 88 | } |
89 | ) | 89 | ) |
90 | ] | 90 | ] |
91 | }); | 91 | }); |
92 | 92 | ||
93 | gulp.task('watch', function() { | 93 | gulp.task('watch', function() { |
94 | gulp.watch([paths.srcJS], ['uglify']); | 94 | gulp.watch([paths.srcJS], ['uglify']); |
95 | gulp.watch('src/sass/*.scss', ['sass']); | 95 | gulp.watch('src/sass/*.scss', ['sass']); |
96 | }); | 96 | }); |
97 | 97 | ||
98 | gulp.task('reload', function() { | 98 | gulp.task('reload', function() { |
99 | gulp.src(['src/sass/*.scss', 'index.html']) | 99 | gulp.src(['src/sass/*.scss', 'index.html']) |
100 | .pipe(connect.reload()); | 100 | .pipe(connect.reload()); |
101 | }); | 101 | }); |
102 | 102 | ||
103 | gulp.task('livereload', function() { | 103 | gulp.task('livereload', function() { |
104 | gulp.watch('css/*.css', ['reload']); | 104 | gulp.watch('css/*.css', ['reload']); |
105 | gulp.watch('js/dist/*.js', ['reload']); | 105 | gulp.watch('js/dist/*.js', ['reload']); |
106 | gulp.watch('vistas/**/*.html', ['reload']); | 106 | gulp.watch('vistas/**/*.html', ['reload']); |
107 | gulp.watch('index.html', ['reload']); | 107 | gulp.watch('index.html', ['reload']); |
108 | }); | 108 | }); |
109 | 109 |
img/abmVendedorCobrador.png
5.6 KB
img/agendarVisita.png
4.07 KB
img/botonObservaciones.png
11.8 KB
img/informes.png
4.82 KB
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="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.css" rel="stylesheet"/> | 10 | <link href="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.css" rel="stylesheet"/> |
11 | <link href="./node_modules/angular-ui-grid/ui-grid.min.css" rel="stylesheet"/> | 11 | <link href="./node_modules/angular-ui-grid/ui-grid.min.css" rel="stylesheet"/> |
12 | <link href="./node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> | 12 | <link href="./node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> |
13 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> | 13 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> |
14 | <link href="./css/general.css" rel="stylesheet"/> | 14 | <link href="./css/general.css" rel="stylesheet"/> |
15 | 15 | ||
16 | <!--VENDOR JS--> | 16 | <!--VENDOR JS--> |
17 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> | 17 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> |
18 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | 18 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> |
19 | <script src="./node_modules/angular/angular.min.js"></script> | 19 | <script src="./node_modules/angular/angular.min.js"></script> |
20 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> | 20 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> |
21 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> | 21 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> |
22 | <script src="./node_modules/angular-route/angular-route.min.js"></script> | 22 | <script src="./node_modules/angular-route/angular-route.min.js"></script> |
23 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> | 23 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> |
24 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> | 24 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
25 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> | 25 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> |
26 | <script src="./node_modules/pdfmake/build/pdfmake.min.js"></script> | 26 | <script src="./node_modules/pdfmake/build/pdfmake.min.js"></script> |
27 | <script src="./node_modules/pdfmake/build/vfs_fonts.js"></script> | 27 | <script src="./node_modules/pdfmake/build/vfs_fonts.js"></script> |
28 | <script src="./node_modules/lodash/lodash.min.js"></script> | 28 | <script src="./node_modules/lodash/lodash.min.js"></script> |
29 | <script src="./node_modules/jszip/dist/jszip.min.js"></script> | 29 | <script src="./node_modules/jszip/dist/jszip.min.js"></script> |
30 | <script src="./node_modules/excel-builder/dist/excel-builder.dist.min.js"></script> | 30 | <script src="./node_modules/excel-builder/dist/excel-builder.dist.min.js"></script> |
31 | <script src="./node_modules/angular-ui-grid/ui-grid.min.js"></script> | 31 | <script src="./node_modules/angular-ui-grid/ui-grid.min.js"></script> |
32 | <script src="./node_modules/ladda/dist/spin.min.js"></script> | 32 | <script src="./node_modules/ladda/dist/spin.min.js"></script> |
33 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> | 33 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> |
34 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> | 34 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> |
35 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> | 35 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> |
36 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> | 36 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> |
37 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> | 37 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> |
38 | <script src="./node_modules/chart.js/dist/Chart.min.js"></script> | 38 | <script src="./node_modules/chart.js/dist/Chart.min.js"></script> |
39 | <script src="./node_modules/angular-chart.js/dist/angular-chart.min.js"></script> | 39 | <script src="./node_modules/angular-chart.js/dist/angular-chart.min.js"></script> |
40 | <script src="./node_modules/angular-file-saver/dist/angular-file-saver.bundle.js"></script> | 40 | <script src="./node_modules/angular-file-saver/dist/angular-file-saver.bundle.js"></script> |
41 | <script src="./node_modules/angular-md5/angular-md5.min.js"></script> | ||
41 | 42 | ||
42 | <script src="./node_modules/foca-abm-chofer/dist/foca-abm-chofer.min.js"></script> | 43 | <script src="./node_modules/foca-abm-chofer/dist/foca-abm-chofer.min.js"></script> |
43 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> | 44 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> |
44 | <script src="./node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.min.js"></script> | 45 | <script src="./node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.min.js"></script> |
45 | <script src="./node_modules/foca-abm-vendedor-cobrador/dist/foca-abm-vendedor-cobrador.min.js"></script> | 46 | <script src="./node_modules/foca-abm-vendedor-cobrador/dist/foca-abm-vendedor-cobrador.min.js"></script> |
46 | <script src="./node_modules/foca-activar-hoja-ruta/dist/foca-activar-hoja-ruta.min.js"></script> | 47 | <script src="./node_modules/foca-activar-hoja-ruta/dist/foca-activar-hoja-ruta.min.js"></script> |
47 | <script src="./node_modules/foca-admin-seguimiento/dist/foca-admin-seguimiento.min.js"></script> | 48 | <script src="./node_modules/foca-admin-seguimiento/dist/foca-admin-seguimiento.min.js"></script> |
48 | <script src="./node_modules/foca-agendar-visita/dist/foca-agendar-visita.min.js"></script> | 49 | <script src="./node_modules/foca-agendar-visita/dist/foca-agendar-visita.min.js"></script> |
49 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> | 50 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> |
50 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> | 51 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> |
51 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> | 52 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> |
52 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> | 53 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> |
53 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> | 54 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> |
54 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> | 55 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> |
55 | <script src="./node_modules/foca-configurar-terminal/dist/foca-configurar-terminal.min.js"></script> | 56 | <script src="./node_modules/foca-configurar-terminal/dist/foca-configurar-terminal.min.js"></script> |
56 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> | 57 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> |
57 | <script src="./node_modules/foca-crear-hoja-ruta/dist/foca-crear-hoja-ruta.min.js"></script> | 58 | <script src="./node_modules/foca-crear-hoja-ruta/dist/foca-crear-hoja-ruta.min.js"></script> |
58 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> | 59 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> |
59 | <script src="./node_modules/foca-crear-login/dist/foca-crear-login.min.js"></script> | 60 | <script src="./node_modules/foca-crear-login/dist/foca-crear-login.min.js"></script> |
60 | <script src="./node_modules/foca-crear-remito/dist/foca-crear-remito.min.js"></script> | 61 | <script src="./node_modules/foca-crear-remito/dist/foca-crear-remito.min.js"></script> |
61 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> | 62 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
62 | <script src="./node_modules/foca-estado-cisternas/dist/foca-estado-cisternas.min.js"></script> | 63 | <script src="./node_modules/foca-estado-cisternas/dist/foca-estado-cisternas.min.js"></script> |
63 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> | 64 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> |
64 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> | 65 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> |
65 | <script src="./node_modules/foca-informes/dist/foca-informes.min.js"></script> | 66 | <script src="./node_modules/foca-informes/dist/foca-informes.min.js"></script> |
66 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> | 67 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> |
67 | <script src="./node_modules/foca-logistica-pedido-ruta/dist/foca-logistica-pedido-ruta.min.js"></script> | 68 | <script src="./node_modules/foca-logistica-pedido-ruta/dist/foca-logistica-pedido-ruta.min.js"></script> |
68 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> | 69 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> |
69 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> | 70 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> |
70 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> | 71 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> |
71 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> | 72 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> |
72 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> | 73 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> |
73 | <script src="./node_modules/foca-modal-detalle-cisternas/dist/foca-modal-detalle-cisternas.min.js"></script> | 74 | <script src="./node_modules/foca-modal-detalle-cisternas/dist/foca-modal-detalle-cisternas.min.js"></script> |
74 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> | 75 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> |
75 | <script src="./node_modules/foca-modal-detalles/dist/foca-modal-detalles.min.js"></script> | 76 | <script src="./node_modules/foca-modal-detalles/dist/foca-modal-detalles.min.js"></script> |
76 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> | 77 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> |
77 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> | 78 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> |
78 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> | 79 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> |
79 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> | 80 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> |
80 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> | 81 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> |
81 | <script src="./node_modules/foca-modal-grafico-cisternas/dist/foca-modal-grafico-cisternas.min.js"></script> | 82 | <script src="./node_modules/foca-modal-grafico-cisternas/dist/foca-modal-grafico-cisternas.min.js"></script> |
82 | <script src="./node_modules/foca-modal-informe/dist/foca-modal-informe.min.js"></script> | 83 | <script src="./node_modules/foca-modal-informe/dist/foca-modal-informe.min.js"></script> |
83 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> | 84 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> |
84 | <script src="./node_modules/foca-modal-localizar/dist/foca-modal-localizar.min.js"></script> | 85 | <script src="./node_modules/foca-modal-localizar/dist/foca-modal-localizar.min.js"></script> |
85 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> | 86 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> |
86 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> | 87 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> |
87 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> | 88 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> |
88 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> | 89 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> |
89 | <script src="./node_modules/foca-modal-remito/dist/foca-modal-remito.min.js"></script> | 90 | <script src="./node_modules/foca-modal-remito/dist/foca-modal-remito.min.js"></script> |
91 | <script src="./node_modules/foca-modal-resumen-cuenta/dist/foca-modal-resumen-cuenta.min.js"></script> | ||
90 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> | 92 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> |
91 | <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script> | 93 | <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script> |
92 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> | 94 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> |
93 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> | 95 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> |
94 | <script src="./node_modules/foca-teclado/dist/foca-teclado.min.js"></script> | 96 | <script src="./node_modules/foca-teclado/dist/foca-teclado.min.js"></script> |
95 | <script src="./src/js/app.js"></script> | 97 | <script src="./src/js/app.js"></script> |
96 | <script src="./src/js/controller.js"></script> | 98 | <script src="./src/js/controller.js"></script> |
97 | <script src="./src/etc/develop.js"></script> | 99 | <script src="./src/etc/develop.js"></script> |
98 | </head> | 100 | </head> |
99 | <body class="w-100"> | 101 | <body class="w-100"> |
100 | <style> | 102 | <style> |
101 | </style> | 103 | </style> |
102 | <foca-nombre-empresa></foca-nombre-empresa> | 104 | <foca-nombre-empresa></foca-nombre-empresa> |
103 | <div ng-view class="container contenedor"></div> | 105 | <div ng-view class="container contenedor"></div> |
104 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> | 106 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> |
105 | <foca-botonera-lateral></foca-botonera-lateral> | 107 | <foca-botonera-lateral></foca-botonera-lateral> |
106 | <foca-teclado | 108 | <foca-teclado |
107 | ng-show="usarTeclado && mostrarTeclado" | 109 | ng-show="usarTeclado && mostrarTeclado" |
108 | alfanumeric="true" | 110 | alfanumeric="true" |
109 | numeric="true" | 111 | numeric="true" |
110 | > | 112 | > |
111 | </foca-teclado> | 113 | </foca-teclado> |
112 | </div> | 114 | </div> |
113 | </body> | 115 | </body> |
114 | 116 | ||
115 | </html> | 117 | </html> |
116 | 118 |
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 | "test": "unit-test.html", | 7 | "test": "unit-test.html", |
8 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", | 8 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", |
9 | "gulp-pre-commit": "gulp pre-commit", | 9 | "gulp-pre-commit": "gulp pre-commit", |
10 | "compile": "gulp uglify && gulp sass", | 10 | "compile": "gulp uglify && gulp sass", |
11 | "actualizar": "git pull origin master", | 11 | "actualizar": "git pull origin master", |
12 | "install-dev": "gulp pre-install && npm install && gulp post-install" | 12 | "install-dev": "gulp pre-install && npm install && gulp post-install" |
13 | }, | 13 | }, |
14 | "pre-commit": [ | 14 | "pre-commit": [ |
15 | "gulp-pre-commit" | 15 | "gulp-pre-commit" |
16 | ], | 16 | ], |
17 | "repository": { | 17 | "repository": { |
18 | "type": "git", | 18 | "type": "git", |
19 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" | 19 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" |
20 | }, | 20 | }, |
21 | "author": "Foca Software", | 21 | "author": "Foca Software", |
22 | "license": "ISC", | 22 | "license": "ISC", |
23 | "dependencies": { | 23 | "dependencies": { |
24 | "angular": "^1.7.7", | 24 | "angular": "^1.7.8", |
25 | "angular-chart.js": "1.1.1", | 25 | "angular-chart.js": "1.1.1", |
26 | "angular-cookies": "^1.7.7", | 26 | "angular-cookies": "^1.7.8", |
27 | "angular-file-saver": "^1.1.3", | 27 | "angular-file-saver": "^1.1.3", |
28 | "angular-i18n": "^1.7.7", | 28 | "angular-i18n": "^1.7.8", |
29 | "angular-ladda": "^0.4.3", | 29 | "angular-ladda": "^0.4.3", |
30 | "angular-mocks": "^1.7.7", | 30 | "angular-md5": "^0.1.10", |
31 | "angular-route": "^1.7.7", | 31 | "angular-mocks": "^1.7.8", |
32 | "angular-sanitize": "^1.7.7", | 32 | "angular-route": "^1.7.8", |
33 | "angular-sanitize": "^1.7.8", | ||
33 | "angular-ui-grid": "4.6.6", | 34 | "angular-ui-grid": "4.6.6", |
34 | "angular-ui-swiper": "^2.3.8", | 35 | "angular-ui-swiper": "^2.3.8", |
35 | "bootstrap": "^4.2.1", | 36 | "bootstrap": "^4.3.1", |
36 | "chart.js": "2.7.3", | 37 | "chart.js": "2.7.3", |
37 | "excel-builder": "2.0.3", | 38 | "excel-builder": "2.0.3", |
38 | "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git", | 39 | "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git", |
39 | "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git", | 40 | "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git", |
40 | "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git", | 41 | "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git", |
41 | "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git", | 42 | "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git", |
42 | "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git", | 43 | "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git", |
43 | "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git", | 44 | "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git", |
44 | "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git", | 45 | "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git", |
45 | "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git", | 46 | "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git", |
46 | "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git", | 47 | "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git", |
47 | "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git", | 48 | "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git", |
48 | "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git", | 49 | "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git", |
49 | "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git", | 50 | "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git", |
50 | "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git", | 51 | "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git", |
51 | "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git", | 52 | "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git", |
52 | "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git", | 53 | "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git", |
53 | "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git", | 54 | "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git", |
54 | "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git", | 55 | "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git", |
55 | "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git", | 56 | "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git", |
56 | "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git", | 57 | "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git", |
57 | "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git", | 58 | "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git", |
58 | "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git", | 59 | "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git", |
59 | "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git", | 60 | "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git", |
60 | "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git", | 61 | "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git", |
61 | "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git", | 62 | "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git", |
62 | "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git", | 63 | "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git", |
63 | "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git", | 64 | "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git", |
64 | "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git", | 65 | "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git", |
65 | "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git", | 66 | "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git", |
66 | "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git", | 67 | "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git", |
67 | "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git", | 68 | "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git", |
68 | "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git", | 69 | "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git", |
69 | "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git", | 70 | "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git", |
70 | "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git", | 71 | "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git", |
71 | "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git", | 72 | "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git", |
72 | "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git", | 73 | "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git", |
73 | "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git", | 74 | "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git", |
74 | "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git", | 75 | "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git", |
75 | "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git", | 76 | "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git", |
76 | "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git", | 77 | "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git", |
77 | "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git", | 78 | "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git", |
78 | "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git", | 79 | "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git", |
79 | "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git", | 80 | "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git", |
80 | "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git", | 81 | "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git", |
81 | "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git", | 82 | "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git", |
82 | "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git", | 83 | "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git", |
83 | "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git", | 84 | "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git", |
84 | "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git", | 85 | "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git", |
85 | "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git", | 86 | "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git", |
86 | "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git", | 87 | "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git", |
88 | "foca-modal-resumen-cuenta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-resumen-cuenta.git", | ||
87 | "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git", | 89 | "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git", |
88 | "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git", | 90 | "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git", |
89 | "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git", | 91 | "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git", |
90 | "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git", | 92 | "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git", |
91 | "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git", | 93 | "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git", |
92 | "font-awesome": "^4.7.0", | 94 | "font-awesome": "^4.7.0", |
93 | "gulp-angular-templatecache": "^2.2.6", | 95 | "gulp-angular-templatecache": "^2.2.6", |
94 | "gulp-htmlmin": "^5.0.1", | 96 | "gulp-htmlmin": "^5.0.1", |
95 | "gulp-uglify": "^3.0.1", | 97 | "gulp-sequence": "^1.0.0", |
96 | "gulp-uglify-es": "^1.0.4", | 98 | "gulp-uglify-es": "^1.0.4", |
97 | "jquery": "^3.3.1", | 99 | "jquery": "^3.3.1", |
98 | "jszip": "2.6.1", | 100 | "jszip": "2.6.1", |
99 | "ladda": "1.0.6", | 101 | "ladda": "1.0.6", |
100 | "leaflet": "1.3.4", | 102 | "leaflet": "1.3.4", |
101 | "lodash": "4.17.11", | 103 | "lodash": "4.17.11", |
102 | "moment": "2.23.0", | 104 | "moment": "2.23.0", |
103 | "ngstorage": "^0.3.11", | 105 | "ngstorage": "^0.3.11", |
104 | "node-sass": "^4.11.0", | 106 | "node-sass": "^4.11.0", |
105 | "pdfmake": "0.1.41", | 107 | "pdfmake": "0.1.41", |
106 | "uglify": "^0.1.5", | 108 | "uglify": "^0.1.5", |
107 | "ui-bootstrap4": "^3.0.6" | 109 | "ui-bootstrap4": "^3.0.6" |
108 | }, | 110 | }, |
109 | "devDependencies": { | 111 | "devDependencies": { |
110 | "gulp": "3.9.1", | 112 | "gulp": "3.9.1", |
111 | "gulp-clean": "^0.4.0", | 113 | "gulp-clean": "^0.4.0", |
112 | "gulp-concat": "^2.6.1", | 114 | "gulp-concat": "^2.6.1", |
113 | "gulp-connect": "^5.7.0", | 115 | "gulp-connect": "^5.7.0", |
114 | "gulp-jshint": "^2.1.0", | 116 | "gulp-jshint": "^2.1.0", |
115 | "gulp-rename": "^1.4.0", | 117 | "gulp-rename": "^1.4.0", |
116 | "gulp-replace": "^1.0.0", | 118 | "gulp-replace": "^1.0.0", |
117 | "gulp-sass": "^4.0.1", | 119 | "gulp-sass": "^4.0.1", |
118 | "gulp-uglify": "^1.0.4", | 120 | "gulp-uglify": "^3.0.2", |
119 | "gulp-watch": "^5.0.1", | 121 | "gulp-watch": "^5.0.1", |
120 | "jasmine-core": "^3.3.0", | 122 | "jasmine-core": "^3.3.0", |
121 | "jshint": "^2.10.1", | 123 | "jshint": "^2.10.2", |
122 | "pre-commit": "^1.2.2", | 124 | "pre-commit": "^1.2.2", |
123 | "pump": "^3.0.0" | 125 | "pump": "^3.0.0" |
124 | } | 126 | } |
125 | } | 127 | } |
126 | 128 |
src/js/app.js
1 | angular.module('appWrapperDemo', [ | 1 | angular.module('appWrapperDemo', [ |
2 | //EXTERNOS | 2 | //EXTERNOS |
3 | 'angular-ladda', | 3 | 'angular-ladda', |
4 | 'cordovaGeolocationModule', | 4 | 'cordovaGeolocationModule', |
5 | 'ngCookies', | 5 | 'ngCookies', |
6 | 'ngRoute', | 6 | 'ngRoute', |
7 | 'ngSanitize', | 7 | 'ngSanitize', |
8 | 'ngStorage', | 8 | 'ngStorage', |
9 | 'onScreenKeyboard', | 9 | 'onScreenKeyboard', |
10 | 'ui.bootstrap', | 10 | 'ui.bootstrap', |
11 | 'ui.swiper', | 11 | 'ui.swiper', |
12 | 'ui.grid', | 12 | 'ui.grid', |
13 | 'ui.grid.exporter', | 13 | 'ui.grid.exporter', |
14 | 'ngFileSaver', | 14 | 'ngFileSaver', |
15 | 'angular-md5', | ||
15 | 16 | ||
16 | // MODULOS FOCA | 17 | // MODULOS FOCA |
17 | 'focaAbmPreciosCondiciones', | 18 | 'focaAbmPreciosCondiciones', |
18 | 'focaAbmVehiculo', | 19 | 'focaAbmVehiculo', |
19 | 'focaAbmChofer', | 20 | 'focaAbmChofer', |
20 | 'focaAbmVendedorCobrador', | 21 | 'focaAbmVendedorCobrador', |
21 | 'focaActivarHojaRuta', | 22 | 'focaActivarHojaRuta', |
22 | 'focaAdminSeguimiento', | 23 | 'focaAdminSeguimiento', |
23 | 'focaAgendarVisita', | 24 | 'focaAgendarVisita', |
24 | 'focaBotoneraFacturador', | 25 | 'focaBotoneraFacturador', |
25 | 'focaBotoneraLateral', | 26 | 'focaBotoneraLateral', |
26 | 'focaBotoneraPrincipal', | 27 | 'focaBotoneraPrincipal', |
27 | 'focaBusquedaCliente', | 28 | 'focaBusquedaCliente', |
28 | 'focaBusquedaProductos', | 29 | 'focaBusquedaProductos', |
29 | 'focaCabeceraFacturador', | 30 | 'focaCabeceraFacturador', |
30 | 'focaConfiguracion', | 31 | 'focaConfiguracion', |
31 | 'focaConfigurarTerminal', | 32 | 'focaConfigurarTerminal', |
32 | 'focaCrearCobranza', | 33 | 'focaCrearCobranza', |
33 | 'focaCrearHojaRuta', | 34 | 'focaCrearHojaRuta', |
34 | 'focaCrearLogin', | 35 | 'focaCrearLogin', |
35 | 'focaCrearNotaPedido', | 36 | 'focaCrearNotaPedido', |
36 | 'focaCrearRemito', | 37 | 'focaCrearRemito', |
37 | 'focaDirectivas', | 38 | 'focaDirectivas', |
38 | 'focaEstadoCisternas', | 39 | 'focaEstadoCisternas', |
39 | 'focaFiltros', | 40 | 'focaFiltros', |
40 | 'focaHojaRuta', | 41 | 'focaHojaRuta', |
41 | 'focaInformes', | 42 | 'focaInformes', |
42 | 'focaLogin', | 43 | 'focaLogin', |
43 | 'focaModal', | 44 | 'focaModal', |
44 | 'focaModalCheque', | 45 | 'focaModalCheque', |
45 | 'focaModalCobranza', | 46 | 'focaModalCobranza', |
46 | 'focaModalCotizacion', | 47 | 'focaModalCotizacion', |
47 | 'focaModalDetalleCisternas', | 48 | 'focaModalDetalleCisternas', |
48 | 'focaModalDetalleHojaRuta', | 49 | 'focaModalDetalleHojaRuta', |
49 | 'focaModalDetalles', | 50 | 'focaModalDetalles', |
50 | 'focaModalDomicilio', | 51 | 'focaModalDomicilio', |
51 | 'focaModalEfectivo', | 52 | 'focaModalEfectivo', |
52 | 'focaModalFactura', | 53 | 'focaModalFactura', |
53 | 'focaModalFacturaDetalle', | 54 | 'focaModalFacturaDetalle', |
54 | 'focaModalFlete', | 55 | 'focaModalFlete', |
55 | 'focaModalGraficoCisternas', | 56 | 'focaModalGraficoCisternas', |
56 | 'focaModalInforme', | 57 | 'focaModalInforme', |
57 | 'focaModalListaPrecio', | 58 | 'focaModalListaPrecio', |
58 | 'focaModalLocalizar', | 59 | 'focaModalLocalizar', |
59 | 'focaModalLogin', | 60 | 'focaModalLogin', |
60 | 'focaModalNotaPedido', | 61 | 'focaModalNotaPedido', |
61 | 'focaModalPrecioCondicion', | 62 | 'focaModalPrecioCondicion', |
62 | 'focaModalPuntoDescarga', | 63 | 'focaModalPuntoDescarga', |
63 | 'focaModalRemito', | 64 | 'focaModalRemito', |
65 | 'focaModalResumenCuenta', | ||
64 | 'focaModalTarifaFlete', | 66 | 'focaModalTarifaFlete', |
65 | 'focaModalUnidadMedida', | 67 | 'focaModalUnidadMedida', |
66 | 'focaNombreEmpresa', | 68 | 'focaNombreEmpresa', |
67 | 'focaSeguimiento', | 69 | 'focaSeguimiento', |
68 | 'focaTeclado', | 70 | 'focaTeclado', |
69 | 'focaLogisticaPedidoRuta' | 71 | 'focaLogisticaPedidoRuta' |
70 | ]); | 72 | ]); |
71 | 73 |
src/sass/_botonera-principal.scss
1 | .botonera-principal { | 1 | .botonera-principal { |
2 | menuitem { | 2 | menuitem { |
3 | display: inline-block; | 3 | display: inline-block; |
4 | height: 130px; | 4 | height: 130px; |
5 | text-align: center; | 5 | text-align: center; |
6 | width: 180px; | 6 | width: 180px; |
7 | @media (max-width: 576px) { | 7 | @media (max-width: 576px) { |
8 | width: 100%; | 8 | width: 100%; |
9 | } | 9 | } |
10 | @media (min-width: 992px) and (max-width: 1200px){ | 10 | @media (min-width: 992px) and (max-width: 1200px){ |
11 | width: 150px; | 11 | width: 150px; |
12 | } | 12 | } |
13 | } | 13 | } |
14 | button { | 14 | button { |
15 | background-image: url('../img/botonera.png'); | 15 | background-image: url('../img/botonera.png'); |
16 | border-radius: 12px; | 16 | border-radius: 12px; |
17 | border-width: 0; | 17 | border-width: 0; |
18 | height: 90px; | 18 | height: 90px; |
19 | position: relative; | 19 | position: relative; |
20 | width: 90px; | 20 | width: 90px; |
21 | span { | 21 | span { |
22 | left: 0; | 22 | left: 0; |
23 | position: absolute; | 23 | position: absolute; |
24 | text-align: center; | 24 | text-align: center; |
25 | top: 90px; | 25 | top: 90px; |
26 | width: 100%; | 26 | width: 100%; |
27 | font-size: 12px; | 27 | font-size: 12px; |
28 | color: #777777; | 28 | color: #777777; |
29 | } | 29 | } |
30 | } | 30 | } |
31 | &-menu { | 31 | &-menu { |
32 | width: 100%; | 32 | width: 100%; |
33 | padding-left: 90px; | 33 | padding-left: 90px; |
34 | @media (max-width: 576px) { | 34 | @media (max-width: 576px) { |
35 | padding: 0; | 35 | padding: 0; |
36 | } | 36 | } |
37 | } | 37 | } |
38 | &-logo { | 38 | &-logo { |
39 | width: 80%; | 39 | width: 80%; |
40 | opacity: .8; | 40 | opacity: .8; |
41 | @media (max-width: 576px) { | 41 | @media (max-width: 576px) { |
42 | width: 100%; | 42 | width: 100%; |
43 | } | 43 | } |
44 | } | 44 | } |
45 | &-vacio { | 45 | &-vacio { |
46 | & button { | 46 | & button { |
47 | background-position: -4380px 0; | 47 | background-position: -4380px 0; |
48 | &:hover { | 48 | &:hover { |
49 | background-position: -4380px -90px; | 49 | background-position: -4380px -90px; |
50 | } | 50 | } |
51 | } | 51 | } |
52 | } | 52 | } |
53 | &-abrir-turno { | 53 | &-abrir-turno { |
54 | & button { | 54 | & button { |
55 | background-position: 0 0; | 55 | background-position: 0 0; |
56 | &:hover { | 56 | &:hover { |
57 | background-position: 0 -90px; | 57 | background-position: 0 -90px; |
58 | } | 58 | } |
59 | } | 59 | } |
60 | } | 60 | } |
61 | &-cerrar-turno { | 61 | &-cerrar-turno { |
62 | & button { | 62 | & button { |
63 | background-position: -90px 0; | 63 | background-position: -90px 0; |
64 | &:hover { | 64 | &:hover { |
65 | background-position: -90px -90px; | 65 | background-position: -90px -90px; |
66 | } | 66 | } |
67 | } | 67 | } |
68 | } | 68 | } |
69 | &-caja { | 69 | &-caja { |
70 | & button { | 70 | & button { |
71 | background-position: -180px 0; | 71 | background-position: -180px 0; |
72 | &:hover { | 72 | &:hover { |
73 | background-position: -180px -90px; | 73 | background-position: -180px -90px; |
74 | } | 74 | } |
75 | } | 75 | } |
76 | } | 76 | } |
77 | &-facturador { | 77 | &-facturador { |
78 | & button { | 78 | & button { |
79 | background-position: -270px 0px; | 79 | background-position: -270px 0px; |
80 | &:hover { | 80 | &:hover { |
81 | background-position: -270px -90px; | 81 | background-position: -270px -90px; |
82 | } | 82 | } |
83 | } | 83 | } |
84 | } | 84 | } |
85 | &-nota-pedido { | 85 | &-nota-pedido { |
86 | & button { | 86 | & button { |
87 | background-position: -1250px 0px; | 87 | background-position: -1250px 0px; |
88 | &:hover { | 88 | &:hover { |
89 | background-position: -1250px -90px; | 89 | background-position: -1250px -90px; |
90 | } | 90 | } |
91 | } | 91 | } |
92 | } | 92 | } |
93 | &-remito { | 93 | &-remito { |
94 | & button { | 94 | & button { |
95 | background-position: -4560px 0px; | 95 | background-position: -4560px 0px; |
96 | &:hover { | 96 | &:hover { |
97 | background-position: -4560px -90px; | 97 | background-position: -4560px -90px; |
98 | } | 98 | } |
99 | } | 99 | } |
100 | } | 100 | } |
101 | &-hoja-ruta { | 101 | &-hoja-ruta { |
102 | & button { | 102 | & button { |
103 | background-position: -4650px 0px; | 103 | background-position: -4650px 0px; |
104 | &:hover { | 104 | &:hover { |
105 | background-position: -4650px -90px; | 105 | background-position: -4650px -90px; |
106 | } | 106 | } |
107 | } | 107 | } |
108 | } | 108 | } |
109 | &-hoja-ruta-transportista { | 109 | &-hoja-ruta-transportista { |
110 | & button { | 110 | & button { |
111 | background-image: url('../img/hojaRutaVolante.png'); | 111 | background-image: url('../img/hojaRutaVolante.png'); |
112 | background-size: 90px 90px; | 112 | background-size: 90px 90px; |
113 | &:hover { | 113 | &:hover { |
114 | background-color: rgb(250,250,250); | 114 | background-color: rgb(250,250,250); |
115 | } | 115 | } |
116 | } | 116 | } |
117 | } | 117 | } |
118 | &-seguimiento { | 118 | &-seguimiento { |
119 | & button { | 119 | & button { |
120 | background-image: url('../img/seguimientoNotaPedido.png'); | 120 | background-image: url('../img/seguimientoNotaPedido.png'); |
121 | background-size: 90px 90px; | 121 | background-size: 90px 90px; |
122 | background-position: 15px 10px; | 122 | background-position: 15px 10px; |
123 | &:hover { | 123 | &:hover { |
124 | background-color: rgb(250,250,250); | 124 | background-color: rgb(250,250,250); |
125 | } | 125 | } |
126 | } | 126 | } |
127 | } | 127 | } |
128 | &-seguimiento-hoja-ruta { | 128 | &-seguimiento-hoja-ruta { |
129 | & button { | 129 | & button { |
130 | background-image: url('../img/seguimientoHojaRuta.png'); | 130 | background-image: url('../img/seguimientoHojaRuta.png'); |
131 | background-size: 90px 90px; | 131 | background-size: 90px 90px; |
132 | background-position: 15px 10px; | 132 | background-position: 15px 10px; |
133 | &:hover { | 133 | &:hover { |
134 | background-color: rgb(250,250,250); | 134 | background-color: rgb(250,250,250); |
135 | } | 135 | } |
136 | } | 136 | } |
137 | } | 137 | } |
138 | &-cobranzas { | 138 | &-cobranzas { |
139 | & button { | 139 | & button { |
140 | background-position: -1880 0px; | 140 | background-position: -1880 0px; |
141 | &:hover { | 141 | &:hover { |
142 | background-position: -1880 -90px; | 142 | background-position: -1880 -90px; |
143 | } | 143 | } |
144 | } | 144 | } |
145 | } | 145 | } |
146 | &-seguimiento-cobranzas { | 146 | &-seguimiento-cobranzas { |
147 | & button { | 147 | & button { |
148 | background-image: url('../img/seguimientoCobranza.png'); | 148 | background-image: url('../img/seguimientoCobranza.png'); |
149 | background-size: 90px 90px; | 149 | background-size: 90px 90px; |
150 | background-position: 15px 10px; | 150 | background-position: 15px 10px; |
151 | &:hover { | 151 | &:hover { |
152 | background-color: rgb(250,250,250); | 152 | background-color: rgb(250,250,250); |
153 | } | 153 | } |
154 | } | 154 | } |
155 | } | 155 | } |
156 | &-vehiculo { | 156 | &-vehiculo { |
157 | & button { | 157 | & button { |
158 | background-image: url('../img/abmVehiculos.png'); | 158 | background-image: url('../img/abmVehiculos.png'); |
159 | background-size: 90px 90px; | 159 | background-size: 90px 90px; |
160 | &:hover { | 160 | &:hover { |
161 | background-color: rgb(250,250,250); | 161 | background-color: rgb(250,250,250); |
162 | } | 162 | } |
163 | } | 163 | } |
164 | } | 164 | } |
165 | &-precio-condicion { | 165 | &-precio-condicion { |
166 | & button { | 166 | & button { |
167 | background-image: url('../img/abmPrecios.png'); | 167 | background-image: url('../img/abmPrecios.png'); |
168 | background-size: 90px 90px; | 168 | background-size: 90px 90px; |
169 | &:hover { | 169 | &:hover { |
170 | background-color: rgb(250,250,250); | 170 | background-color: rgb(250,250,250); |
171 | } | 171 | } |
172 | } | 172 | } |
173 | } | 173 | } |
174 | &-chofer { | 174 | &-chofer { |
175 | & button { | 175 | & button { |
176 | background-image: url('../img/abmChofer.png'); | 176 | background-image: url('../img/abmChofer.png'); |
177 | background-size: 90px 90px; | 177 | background-size: 90px 90px; |
178 | &:hover { | 178 | &:hover { |
179 | background-color: rgb(250,250,250); | 179 | background-color: rgb(250,250,250); |
180 | } | 180 | } |
181 | } | 181 | } |
182 | } | 182 | } |
183 | &-agendar-visita { | ||
184 | & button { | ||
185 | background-image: url('../img/agendarVisita.png'); | ||
186 | background-size: 90px 90px; | ||
187 | &:hover { | ||
188 | background-color: rgb(250,250,250); | ||
189 | } | ||
190 | } | ||
191 | } | ||
192 | &-informes { | ||
193 | & button { | ||
194 | background-image: url('../img/informes.png'); | ||
195 | background-size: 90px 90px; | ||
196 | &:hover { | ||
197 | background-color: rgb(250,250,250); | ||
198 | } | ||
199 | } | ||
200 | } | ||
201 | &-vendedor-cobrador { | ||
202 | & button { | ||
203 | background-image: url('../img/abmVendedorCobrador.png'); | ||
204 | background-size: 90px 90px; | ||
205 | &:hover { | ||
206 | background-color: rgb(250,250,250); | ||
207 | } | ||
208 | } | ||
209 | } | ||
183 | .swiper-pagination { | 210 | .swiper-pagination { |
184 | bottom: 0px !important; | 211 | bottom: 0px !important; |
185 | } | 212 | } |
186 | 213 | ||
187 | .swiper-button-next { | 214 | .swiper-button-next { |
188 | background-image: url('../img/derecha.png'); | 215 | background-image: url('../img/derecha.png'); |
189 | } | 216 | } |
190 | 217 | ||
191 | .swiper-button-prev { | 218 | .swiper-button-prev { |
192 | background-image: url('../img/izquierda.png'); | 219 | background-image: url('../img/izquierda.png'); |
193 | } | 220 | } |
194 | 221 | ||
195 | @media (min-width: 992px){ | 222 | @media (min-width: 992px){ |
196 | a{ | 223 | a{ |
197 | margin-top: 2.5rem; | 224 | margin-top: 2.5rem; |
198 | } | 225 | } |
199 | } | 226 | } |
200 | } | 227 | } |
201 | 228 |