diff --git a/gulpfile.js b/gulpfile.js index 18368de..1f78baa 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,8 @@ gulp.task('uglify', ['templates'], function() { uglify(), replace('"ngRoute","ui.bootstrap","focaModalVendedores","focaBusquedaProductos",'+ '"focaModalProveedor","focaBusquedaCliente","focaModalPrecioCondicion",'+ - '"focaModalFlete","focaDirectivas","focaModal","focaModalDomicilio"', ''), + '"focaModalFlete","focaDirectivas","focaModal","focaModalDomicilio",'+ + '"angular-ladda"', ''), gulp.dest(paths.dist) ] ); diff --git a/index.html b/index.html index 35300bc..779fc75 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + @@ -13,6 +14,9 @@ + + + diff --git a/package.json b/package.json index c38b27e..eff0aad 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "compile": "gulp uglify", "gulp-pre-commit": "gulp pre-commit", "postinstall": "npm run compile && gulp clean-post-install", - "install-dev": "npm install -D jasmine-core pre-commit angular angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-proveedor.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git" + "install-dev": "npm install -D jasmine-core pre-commit angular angular-ladda ladda@1.0.6 angular-route bootstrap ui-bootstrap4 font-awesome gulp gulp-angular-templatecache gulp-connect gulp-clean gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-sequence gulp-uglify-es gulp-uglify jquery jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git git+https://debo.suite.repo/modulos-npm/foca-modal-vendedores.git git+https://debo.suite.repo/modulos-npm/foca-modal-proveedor.git git+https://debo.suite.repo/modulos-npm/foca-modal-busqueda-productos git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git git+https://debo.suite.repo/modulos-npm/foca-modal-precio-condiciones.git git+https://debo.suite.repo/modulos-npm/foca-modal-flete git+https://debo.suite.repo/modulos-npm/foca-modal.git git+https://debo.suite.repo/modulos-npm/foca-modal-domicilio.git" }, "pre-commit": [ "gulp-pre-commit" @@ -28,6 +28,7 @@ }, "devDependencies": { "angular": "^1.7.5", + "angular-ladda": "^0.4.3", "angular-route": "^1.7.5", "bootstrap": "^4.1.3", "foca-busqueda-cliente": "git+https://debo.suite.repo/modulos-npm/foca-busqueda-cliente.git", @@ -55,6 +56,7 @@ "jasmine-core": "^3.3.0", "jquery": "^3.3.1", "jshint": "^2.9.6", + "ladda": "1.0.6", "pre-commit": "^1.2.2", "pump": "^3.0.0", "ui-bootstrap4": "^3.0.5" diff --git a/src/js/app.js b/src/js/app.js index c904a8c..d21a96c 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -9,5 +9,6 @@ angular.module('focaCrearNotaPedido', [ 'focaModalFlete', 'focaDirectivas', 'focaModal', - 'focaModalDomicilio' + 'focaModalDomicilio', + 'angular-ladda' ]);