ar-poncho 2.0.309 → 2.0.310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/build-poncho.yml +14 -31
- package/dist/css/device-breadcrumb.css +1 -1
- package/dist/css/icono-arg.css +100 -8
- package/dist/css/poncho-map.css +1 -1
- package/dist/css/poncho.css +2 -2
- package/dist/css/poncho.min.css +2 -2
- package/dist/css/poncho_mobile.css +2 -2
- package/dist/fonts/icono-arg_62584f1d69ebd710fc7e1ea3cfa4bceb.eot +0 -0
- package/dist/fonts/icono-arg_62584f1d69ebd710fc7e1ea3cfa4bceb.svg +6014 -0
- package/dist/fonts/icono-arg_62584f1d69ebd710fc7e1ea3cfa4bceb.ttf +0 -0
- package/dist/fonts/icono-arg_62584f1d69ebd710fc7e1ea3cfa4bceb.woff +0 -0
- package/dist/fonts/icono-arg_62584f1d69ebd710fc7e1ea3cfa4bceb.woff2 +0 -0
- package/dist/js/device-breadcrumb.js +1 -1
- package/dist/js/mapa-argentina.js +1 -1
- package/dist/js/poncho.js +2643 -1009
- package/dist/js/poncho.min.js +1 -1
- package/dist/js/showdown-extensions.js +2 -2
- package/dist/jsons/icono-arg.json +7603 -0
- package/gulpfile.js +10 -15
- package/package-lock.json +14866 -10143
- package/package.json +59 -49
- package/dist/css/argentina.css +0 -8
- package/test/color.test.js +0 -16
- package/test/gapi-sheet-data.test.js +0 -17
- package/test/html.test.js +0 -18
- package/test/poncho-gapi-legacy.test.js +0 -7
- package/test/resources/response.js +0 -56
- package/test/string.test.js +0 -20
package/gulpfile.js
CHANGED
|
@@ -7,7 +7,7 @@ var concat = require('gulp-concat');
|
|
|
7
7
|
var SRC = './src/js/*.js';
|
|
8
8
|
var rename = require('gulp-rename');
|
|
9
9
|
const gulpIF = require('gulp-if');
|
|
10
|
-
var replace = require('gulp-replace');
|
|
10
|
+
// var replace = require('gulp-replace');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var generalCompressOptions = {
|
|
@@ -21,15 +21,18 @@ const ponchoMinList = [
|
|
|
21
21
|
'./src/js/utils/connect.js',
|
|
22
22
|
'./src/js/utils/string.js',
|
|
23
23
|
'./src/js/utils/html.js',
|
|
24
|
+
'./src/js/utils/collections.js',
|
|
24
25
|
'./src/js/poncho-table/poncho-table.js',
|
|
26
|
+
'./src/js/poncho-agenda/src/js/poncho-agenda.js',
|
|
25
27
|
'./src/js/poncho-table/poncho-table-dependant.js',
|
|
26
28
|
'./src/js/utils/popover.js',
|
|
27
29
|
'./src/js/poncho-ubicacion/poncho-ubicacion.js',
|
|
28
30
|
'./src/js/poncho-charts/poncho-charts.js',
|
|
29
31
|
'./src/js/utils/gapi-legacy.js',
|
|
30
|
-
'./src/js/poncho-map/poncho-map.js',
|
|
31
|
-
'./src/js/poncho-map/poncho-map-filter.js',
|
|
32
|
-
'./src/js/poncho-map/poncho-map-search.js',
|
|
32
|
+
'./src/js/poncho-map/src/js/poncho-map.js',
|
|
33
|
+
'./src/js/poncho-map/src/js/poncho-map-filter.js',
|
|
34
|
+
'./src/js/poncho-map/src/js/poncho-map-search.js',
|
|
35
|
+
'./src/js/poncho-map-provinces/src/js/poncho-map-provinces.js',
|
|
33
36
|
'./src/js/gapi-sheet-data/gapi-sheet-data.js',
|
|
34
37
|
'./src/js/translate-html/translate-html.js'
|
|
35
38
|
];
|
|
@@ -37,7 +40,6 @@ const ponchoMinList = [
|
|
|
37
40
|
|
|
38
41
|
gulp.task('poncho', function(){
|
|
39
42
|
return gulp.src(ponchoMinList)
|
|
40
|
-
.pipe(replace(/\/\/\s?\$START_TEST\$([\s\S]*?)\/\/\s?\$END_TEST\$/gm, '/* module.exports REMOVED */'))
|
|
41
43
|
.pipe(concat('poncho.js', {'newLine':'\n\n'}))
|
|
42
44
|
// .pipe(babel())
|
|
43
45
|
.pipe(gulp.dest('dist/js/'));
|
|
@@ -49,12 +51,6 @@ gulp.task('poncho', function(){
|
|
|
49
51
|
*/
|
|
50
52
|
gulp.task('ponchomin', function(){
|
|
51
53
|
return gulp.src(ponchoMinList)
|
|
52
|
-
.pipe(
|
|
53
|
-
replace(
|
|
54
|
-
/\/\/\s?\$START_TEST\$([\s\S]*?)\/\/\s?\$END_TEST\$/gm,
|
|
55
|
-
'/* module.exports REMOVED */'
|
|
56
|
-
)
|
|
57
|
-
)
|
|
58
54
|
.pipe(concat('poncho.min.js'))
|
|
59
55
|
.pipe(uglify(generalCompressOptions))
|
|
60
56
|
.pipe(gulp.dest('dist/js/'));
|
|
@@ -79,11 +75,10 @@ gulp.task('compress', function () {
|
|
|
79
75
|
return gulp.src([
|
|
80
76
|
'./src/js/showdown-extensions/showdown-extensions.js',
|
|
81
77
|
'./src/js/mapa-argentina/mapa-argentina.js',
|
|
82
|
-
'./src/js/device-breadcrumb/device-breadcrumb.js',
|
|
83
|
-
'./src/js/national-holidays/national-holidays.js',
|
|
78
|
+
'./src/js/device-breadcrumb/src/js/device-breadcrumb.js',
|
|
79
|
+
'./src/js/national-holidays/src/js/national-holidays.js',
|
|
84
80
|
'./src/js/device-panel-menu/device-panel-menu.js'
|
|
85
81
|
])
|
|
86
|
-
// .pipe(babel())
|
|
87
82
|
.pipe(uglify(generalCompressOptions))
|
|
88
83
|
.pipe(gulp.dest('./dist/js/'));
|
|
89
84
|
});
|
|
@@ -110,7 +105,7 @@ gulp.task('sass', function(){
|
|
|
110
105
|
gulp.task('sass_poncho', function(){
|
|
111
106
|
return gulp.src([
|
|
112
107
|
'./src/scss/poncho.scss',
|
|
113
|
-
'./src/
|
|
108
|
+
'./src/js/device-breadcrumb/src/scss/device-breadcrumb.scss',
|
|
114
109
|
])
|
|
115
110
|
.pipe(sass.sync({outputStyle: 'compressed'}).on('error', sass.logError))
|
|
116
111
|
// .pipe(sass())
|