|
55 | 55 | var includes = (targetScript.getAttribute('include') || '').split(','); |
56 | 56 | var excludes = (targetScript.getAttribute('exclude') || '').split(','); |
57 | 57 | if (!inArray(excludes, 'maplibregl')) { |
58 | | - inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css'); |
59 | | - inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js'); |
| 58 | + inputCSS(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min..css'); |
| 59 | + inputScript(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.js'); |
60 | 60 | } |
61 | 61 | if (inArray(includes, 'L7')) { |
62 | 62 | inputScript(libsurl + '/maplibregl-l7-render/0.0.1/maplibregl-l7-render.js'); |
|
68 | 68 | inputScript(libsurl + '/turf/6.5.0/turf.min.js'); |
69 | 69 | } |
70 | 70 | if (inArray(includes, 'draw')) { |
71 | | - inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.1/mapbox-gl-draw.min.css'); |
72 | | - inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.1/mapbox-gl-draw.min.js'); |
| 71 | + inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.3/mapbox-gl-draw.min.css'); |
| 72 | + inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.3/mapbox-gl-draw.min.js'); |
73 | 73 | } |
74 | | - |
75 | 74 | if (inArray(includes, 'mapboxgl-draw-rectangle-drag')) { |
76 | 75 | inputScript(libsurl + '/mapboxgl-draw-rectangle-drag/1.0.1/mapboxgl-draw-rectangle-drag.browser.js'); |
77 | 76 | } |
78 | 77 | if (inArray(includes, 'compare')) { |
79 | | - inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.0/mapbox-gl-compare.css'); |
80 | | - inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.0/mapbox-gl-compare.js'); |
| 78 | + inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.css'); |
| 79 | + inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.js'); |
81 | 80 | } |
82 | 81 | if (inArray(includes, 'mapv')) { |
83 | 82 | inputScript(libsurl + '/mapv/2.0.62/mapv.min.js'); |
84 | 83 | } |
85 | 84 | if (inArray(includes, 'echarts')) { |
86 | | - inputScript(libsurl + '/echarts/5.4.3/echarts.min.js'); |
| 85 | + inputScript(libsurl + '/echarts/5.5.0/echarts.min.js'); |
87 | 86 | inputScript(libsurl + '/maplibre-echartsLayer/EchartsLayer.min.js'); |
88 | 87 | } |
89 | 88 | if (inArray(includes, 'echarts-vue')) { |
|
102 | 101 | inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js'); |
103 | 102 | } |
104 | 103 | if (inArray(includes, 'proj4')) { |
105 | | - inputScript(libsurl + '/proj4/2.9.0/proj4.min.js'); |
| 104 | + inputScript(libsurl + '/proj4/2.11.0/proj4.min.js'); |
106 | 105 | } |
107 | 106 | if (inArray(includes, 'shapefile')) { |
108 | 107 | inputScript(libsurl + '/shapefile/shapefile.js'); |
|
120 | 119 | inputScript(libsurl + '/deck.gl/5.1.3/deck.gl.min.js'); |
121 | 120 | } |
122 | 121 | if (inArray(includes, 'jsonsql')) { |
123 | | - inputScript(libsurl + '/jsonsql/jsonsql.js'); |
| 122 | + inputScript(libsurl + '/jsonsql/0.2.5/jsonsql.min.js'); |
124 | 123 | } |
125 | 124 | if (inArray(includes, 'geostats')) { |
126 | 125 | inputScript(libsurl + '/geostats/geostats.js'); |
127 | 126 | } |
128 | 127 | if (inArray(includes, 'canvg')) { |
129 | 128 | inputScript(libsurl + '/canvg/3.0.10/umd.min.js'); |
130 | 129 | } |
131 | | - if (inArray(includes, 'convert')) { |
132 | | - inputScript(libsurl + '/xml-js/1.6.8/xml-js.min.js'); |
133 | | - } |
134 | 130 | if (inArray(includes, 'LegacyJSONLoader')) { |
135 | 131 | inputScript(libsurl + '/three/0.110.0/examples/js/loaders/deprecated/LegacyJSONLoader.js'); |
136 | 132 | } |
|
157 | 153 | inputScript(libsurl + '/three/0.129.0/examples/js/loaders/GLTFLoader.js'); |
158 | 154 | } |
159 | 155 | if (inArray(includes, 'echarts-gl')) { |
160 | | - inputScript(libsurl + '/echarts-gl/2.0.8/echarts-gl.min.js'); |
| 156 | + inputScript(libsurl + '/echarts-gl/2.0.9/echarts-gl.min.js'); |
161 | 157 | } |
162 | 158 | if (inArray(includes, 'mapbox-print-pdf')) { |
163 | 159 | inputScript(libsurl + '/mapbox-print-pdf/0.4.4/mapbox-print-pdf.min.js'); |
164 | 160 | } |
165 | 161 | if (inArray(includes, 'moment')) { |
166 | | - inputScript(libsurl + '/moment/2.29.4/moment.min.js'); |
| 162 | + inputScript(libsurl + '/moment/2.30.1/moment.min.js'); |
167 | 163 | } |
168 | 164 | if (inArray(includes, 'lodash')) { |
169 | 165 | inputScript(libsurl + '/lodash/4.17.21/lodash.min.js'); |
|
182 | 178 | inputScript(libsurl + '/turf/6.5.0/turf.min.js'); |
183 | 179 | } |
184 | 180 | if (inArray(includes, 'snap')) { |
185 | | - inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.0/mapbox-gl-draw-snap-mode.js'); |
| 181 | + inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.js'); |
186 | 182 | } |
187 | 183 | if (inArray(includes, 'ugcwasm')) { |
188 | 184 | inputScript(libsurl + '/ugcwasm/1.0.0/UGCWasmAll.js'); |
|
0 commit comments