diff --git a/www/assets/js/address_qrcode.js b/www/assets/js/address_qrcode.js
new file mode 100644
index 0000000..3d4bc17
--- /dev/null
+++ b/www/assets/js/address_qrcode.js
@@ -0,0 +1,50 @@
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+
+function showAddressQRCode() {
+ var fromqrstring = $("#addresscodeform #from_name").val() + "\t"
+ + $("#addresscodeform #from_company").val() + "\t"
+ + $("#addresscodeform #from_street1").val() + "\t"
+ + $("#addresscodeform #from_street2").val() + "\t"
+ + "\t"
+ + "\t"
+ + $("#addresscodeform #from_zip").val();
+
+ var toqrstring = $("#addresscodeform #to_name").val() + "\t"
+ + $("#addresscodeform #to_company").val() + "\t"
+ + $("#addresscodeform #to_street1").val() + "\t"
+ + $("#addresscodeform #to_street2").val() + "\t"
+ + $("#addresscodeform #to_city").val() + "\t"
+ + $("#addresscodeform #to_state").val() + "\t"
+ + $("#addresscodeform #to_zip").val() + "\t"
+ + $("#addresscodeform #to_country").val();
+
+ var canvas = document.createElement('canvas');
+
+ bwipjs.toCanvas(canvas, {
+ bcid: 'qrcode', // Barcode type
+ text: fromqrstring, // Text to encode
+ scale: 5,
+ includetext: false, // Show human-readable text
+ textxalign: 'center', // Always good to set this
+ eclevel: 'M'
+ });
+ document.getElementById("addresscode-barcode-from").src = canvas.toDataURL('image/png');
+
+ canvas = document.createElement('canvas');
+ bwipjs.toCanvas(canvas, {
+ bcid: 'qrcode', // Barcode type
+ text: toqrstring, // Text to encode
+ scale: 5,
+ includetext: false, // Show human-readable text
+ textxalign: 'center', // Always good to set this
+ eclevel: 'M'
+ });
+ document.getElementById("addresscode-barcode-to").src = canvas.toDataURL('image/png');
+
+ app.popup.create({el: document.getElementById("qrCodePopup")}).open();
+}
\ No newline at end of file
diff --git a/www/index.html b/www/index.html
index 5f2bdf3..3508940 100644
--- a/www/index.html
+++ b/www/index.html
@@ -44,6 +44,7 @@
+
@@ -70,6 +71,7 @@
+
diff --git a/www/package-lock.json b/www/package-lock.json
index 56faf25..37f8e0d 100644
--- a/www/package-lock.json
+++ b/www/package-lock.json
@@ -1,406 +1,8 @@
{
"name": "HelenaExpressApp",
"version": "2.0.3",
- "lockfileVersion": 2,
+ "lockfileVersion": 1,
"requires": true,
- "packages": {
- "": {
- "name": "HelenaExpressApp",
- "version": "2.0.3",
- "license": "MPL-2.0",
- "dependencies": {
- "@fortawesome/fontawesome-pro": "^6",
- "@zxing/library": "^0.15.2",
- "framework7": "^7.0.2",
- "jquery": "^3.6.0",
- "maplibre-gl": "^1.15.3",
- "template7": "^1.4.2"
- }
- },
- "node_modules/@fortawesome/fontawesome-pro": {
- "version": "6.1.1",
- "resolved": "https://npm.fontawesome.com/@fortawesome/fontawesome-pro/-/6.1.1/fontawesome-pro-6.1.1.tgz",
- "integrity": "sha512-0w6GM8sCXNpcBLUz4bx61JvjjoCvfEIz5wBz2KjLNw9qk1F2XiUWuifXobvLbwaA7kqPGBRPo3U8Zw7zyaJ9sA==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@mapbox/geojson-rewind": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.1.tgz",
- "integrity": "sha512-eL7fMmfTBKjrb+VFHXCGv9Ot0zc3C0U+CwXo1IrP+EPwDczLoXv34Tgq3y+2mPSFNVUXgU42ILWJTC7145KPTA==",
- "dependencies": {
- "get-stream": "^6.0.1",
- "minimist": "^1.2.5"
- },
- "bin": {
- "geojson-rewind": "geojson-rewind"
- }
- },
- "node_modules/@mapbox/geojson-types": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz",
- "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw=="
- },
- "node_modules/@mapbox/jsonlint-lines-primitives": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz",
- "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@mapbox/mapbox-gl-supported": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz",
- "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==",
- "peerDependencies": {
- "mapbox-gl": ">=0.32.1 <2.0.0"
- }
- },
- "node_modules/@mapbox/point-geometry": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz",
- "integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI="
- },
- "node_modules/@mapbox/tiny-sdf": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz",
- "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw=="
- },
- "node_modules/@mapbox/unitbezier": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz",
- "integrity": "sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4="
- },
- "node_modules/@mapbox/vector-tile": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz",
- "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==",
- "dependencies": {
- "@mapbox/point-geometry": "~0.1.0"
- }
- },
- "node_modules/@mapbox/whoots-js": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz",
- "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@zxing/library": {
- "version": "0.15.2",
- "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.15.2.tgz",
- "integrity": "sha512-J+N88Eyg6eI2SKIk2YIkjjNICbMSqmLZnB3oD1S21Bi3k+Ddg2eKe/nW+Hce4NKAFAZtY1mdDM08Bj9eu87HSg==",
- "dependencies": {
- "ts-custom-error": "^3.0.0"
- },
- "engines": {
- "node": ">= 8.9.0"
- },
- "optionalDependencies": {
- "text-encoding": "^0.7.0"
- }
- },
- "node_modules/csscolorparser": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz",
- "integrity": "sha1-s085HupNqPPpgjHizNjfnAQfFxs="
- },
- "node_modules/dom7": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/dom7/-/dom7-4.0.4.tgz",
- "integrity": "sha512-DSSgBzQ4rJWQp1u6o+3FVwMNnT5bzQbMb+o31TjYYeRi05uAcpF8koxdfzeoe5ElzPmua7W7N28YJhF7iEKqIw==",
- "dependencies": {
- "ssr-window": "^4.0.0"
- }
- },
- "node_modules/earcut": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.3.tgz",
- "integrity": "sha512-iRDI1QeCQIhMCZk48DRDMVgQSSBDmbzzNhnxIo+pwx3swkfjMh6vh0nWLq1NdvGHLKH6wIrAM3vQWeTj6qeoug=="
- },
- "node_modules/framework7": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/framework7/-/framework7-7.0.2.tgz",
- "integrity": "sha512-LDjHItZ1+47wWYhItL95zqRDvfvl/5Lj7qGTPCFLO2U6/JrdYWbl2erkU8+KHwgSnB4tbDvLixWVlqOPCWbpZg==",
- "hasInstallScript": true,
- "dependencies": {
- "dom7": "^4.0.4",
- "htm": "^3.1.0",
- "path-to-regexp": "^6.2.0",
- "skeleton-elements": "^4.0.0",
- "ssr-window": "^4.0.2",
- "swiper": "^8.1.4"
- },
- "funding": {
- "type": "patreon",
- "url": "https://www.patreon.com/framework7"
- }
- },
- "node_modules/geojson-vt": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz",
- "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg=="
- },
- "node_modules/get-stream": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
- "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/gl-matrix": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz",
- "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA=="
- },
- "node_modules/grid-index": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/grid-index/-/grid-index-1.1.0.tgz",
- "integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA=="
- },
- "node_modules/htm": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/htm/-/htm-3.1.1.tgz",
- "integrity": "sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ=="
- },
- "node_modules/ieee754": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/jquery": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz",
- "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw=="
- },
- "node_modules/kdbush": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz",
- "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew=="
- },
- "node_modules/mapbox-gl": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.2.tgz",
- "integrity": "sha512-CPjtWygL+f7naL+sGHoC2JQR0DG7u+9ik6WdkjjVmz2uy0kBC2l+aKfdi3ZzUR7VKSQJ6Mc/CeCN+6iVNah+ww==",
- "peer": true,
- "dependencies": {
- "@mapbox/geojson-rewind": "^0.5.0",
- "@mapbox/geojson-types": "^1.0.2",
- "@mapbox/jsonlint-lines-primitives": "^2.0.2",
- "@mapbox/mapbox-gl-supported": "^1.5.0",
- "@mapbox/point-geometry": "^0.1.0",
- "@mapbox/tiny-sdf": "^1.1.1",
- "@mapbox/unitbezier": "^0.0.0",
- "@mapbox/vector-tile": "^1.3.1",
- "@mapbox/whoots-js": "^3.1.0",
- "csscolorparser": "~1.0.3",
- "earcut": "^2.2.2",
- "geojson-vt": "^3.2.1",
- "gl-matrix": "^3.2.1",
- "grid-index": "^1.1.0",
- "minimist": "^1.2.5",
- "murmurhash-js": "^1.0.0",
- "pbf": "^3.2.1",
- "potpack": "^1.0.1",
- "quickselect": "^2.0.0",
- "rw": "^1.3.3",
- "supercluster": "^7.1.0",
- "tinyqueue": "^2.0.3",
- "vt-pbf": "^3.1.1"
- },
- "engines": {
- "node": ">=6.4.0"
- }
- },
- "node_modules/maplibre-gl": {
- "version": "1.15.3",
- "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-1.15.3.tgz",
- "integrity": "sha512-ZuOhLCNgp7Yl1L9uyKgZeuo7kKdewP0iWtmEXsZ/snp0JiVkR1Kl+m1rsfKT/wpm/O4zZ7mUGxF16cYbMIFDRA==",
- "dependencies": {
- "@mapbox/geojson-rewind": "^0.5.0",
- "@mapbox/geojson-types": "^1.0.2",
- "@mapbox/jsonlint-lines-primitives": "^2.0.2",
- "@mapbox/mapbox-gl-supported": "^1.5.0",
- "@mapbox/point-geometry": "^0.1.0",
- "@mapbox/tiny-sdf": "^1.1.1",
- "@mapbox/unitbezier": "^0.0.0",
- "@mapbox/vector-tile": "^1.3.1",
- "@mapbox/whoots-js": "^3.1.0",
- "csscolorparser": "~1.0.3",
- "earcut": "^2.2.2",
- "geojson-vt": "^3.2.1",
- "gl-matrix": "^3.2.1",
- "grid-index": "^1.1.0",
- "minimist": "^1.2.6",
- "murmurhash-js": "^1.0.0",
- "pbf": "^3.2.1",
- "potpack": "^1.0.1",
- "quickselect": "^2.0.0",
- "rw": "^1.3.3",
- "supercluster": "^7.1.0",
- "tinyqueue": "^2.0.3",
- "vt-pbf": "^3.1.1"
- },
- "engines": {
- "node": ">=6.4.0"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
- "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
- },
- "node_modules/murmurhash-js": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz",
- "integrity": "sha1-sGJ44h/Gw3+lMTcysEEry2rhX1E="
- },
- "node_modules/path-to-regexp": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.0.tgz",
- "integrity": "sha512-f66KywYG6+43afgE/8j/GoiNyygk/bnoCbps++3ErRKsIYkGGupyv07R2Ok5m9i67Iqc+T2g1eAUGUPzWhYTyg=="
- },
- "node_modules/pbf": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.2.1.tgz",
- "integrity": "sha512-ClrV7pNOn7rtmoQVF4TS1vyU0WhYRnP92fzbfF75jAIwpnzdJXf8iTd4CMEqO4yUenH6NDqLiwjqlh6QgZzgLQ==",
- "dependencies": {
- "ieee754": "^1.1.12",
- "resolve-protobuf-schema": "^2.1.0"
- },
- "bin": {
- "pbf": "bin/pbf"
- }
- },
- "node_modules/potpack": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
- "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ=="
- },
- "node_modules/protocol-buffers-schema": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz",
- "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw=="
- },
- "node_modules/quickselect": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz",
- "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw=="
- },
- "node_modules/resolve-protobuf-schema": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz",
- "integrity": "sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==",
- "dependencies": {
- "protocol-buffers-schema": "^3.3.1"
- }
- },
- "node_modules/rw": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
- "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q="
- },
- "node_modules/skeleton-elements": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/skeleton-elements/-/skeleton-elements-4.0.0.tgz",
- "integrity": "sha512-ctu/bKsWvq1stmvaNDsaZI+tnttgHfTf1FJq7ZLL0N/g9SDTf1ulOIr/fTIbWSUrpqmC2BbKPDyd1h8JmGfV/Q=="
- },
- "node_modules/ssr-window": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz",
- "integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ=="
- },
- "node_modules/supercluster": {
- "version": "7.1.5",
- "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz",
- "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==",
- "dependencies": {
- "kdbush": "^3.0.0"
- }
- },
- "node_modules/swiper": {
- "version": "8.1.4",
- "resolved": "https://registry.npmjs.org/swiper/-/swiper-8.1.4.tgz",
- "integrity": "sha512-ho6ceKxqbDxV51qymVxwn1oB4CqTrsG3Y5pGW2aKlZxsT6NMdlow8ICUa+wD/m5l2T5ZD2B0yyqTihSSmLBV4A==",
- "funding": [
- {
- "type": "patreon",
- "url": "https://www.patreon.com/swiperjs"
- },
- {
- "type": "open_collective",
- "url": "http://opencollective.com/swiper"
- }
- ],
- "hasInstallScript": true,
- "dependencies": {
- "dom7": "^4.0.4",
- "ssr-window": "^4.0.2"
- },
- "engines": {
- "node": ">= 4.7.0"
- }
- },
- "node_modules/template7": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/template7/-/template7-1.4.2.tgz",
- "integrity": "sha512-eoKnScBMDk7lyj7+iCzKbxGiSLLlQk0DNvmclyJuMCUKxy9JrFuAB+GD5iplF4WiQPtMdI06CHHks3avL22JXA==",
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/text-encoding": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz",
- "integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==",
- "deprecated": "no longer maintained",
- "optional": true
- },
- "node_modules/tinyqueue": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz",
- "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA=="
- },
- "node_modules/ts-custom-error": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.2.0.tgz",
- "integrity": "sha512-cBvC2QjtvJ9JfWLvstVnI45Y46Y5dMxIaG1TDMGAD/R87hpvqFL+7LhvUDhnRCfOnx/xitollFWWvUKKKhbN0A==",
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/vt-pbf": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz",
- "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==",
- "dependencies": {
- "@mapbox/point-geometry": "0.1.0",
- "@mapbox/vector-tile": "^1.3.1",
- "pbf": "^3.2.1"
- }
- }
- },
"dependencies": {
"@fortawesome/fontawesome-pro": {
"version": "6.1.1",
@@ -429,8 +31,7 @@
"@mapbox/mapbox-gl-supported": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz",
- "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==",
- "requires": {}
+ "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg=="
},
"@mapbox/point-geometry": {
"version": "0.1.0",
@@ -469,6 +70,11 @@
"ts-custom-error": "^3.0.0"
}
},
+ "bwip-js": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bwip-js/-/bwip-js-3.1.0.tgz",
+ "integrity": "sha512-H+4s1/25kC/ybwt+o0zhFkbTL4nGrzZV7KW44luWqT/ClmCzhXVqVgaNx8d9YoOUVKR461xDmLt3eGDRtGqRag=="
+ },
"csscolorparser": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz",
@@ -540,37 +146,6 @@
"resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz",
"integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew=="
},
- "mapbox-gl": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.13.2.tgz",
- "integrity": "sha512-CPjtWygL+f7naL+sGHoC2JQR0DG7u+9ik6WdkjjVmz2uy0kBC2l+aKfdi3ZzUR7VKSQJ6Mc/CeCN+6iVNah+ww==",
- "peer": true,
- "requires": {
- "@mapbox/geojson-rewind": "^0.5.0",
- "@mapbox/geojson-types": "^1.0.2",
- "@mapbox/jsonlint-lines-primitives": "^2.0.2",
- "@mapbox/mapbox-gl-supported": "^1.5.0",
- "@mapbox/point-geometry": "^0.1.0",
- "@mapbox/tiny-sdf": "^1.1.1",
- "@mapbox/unitbezier": "^0.0.0",
- "@mapbox/vector-tile": "^1.3.1",
- "@mapbox/whoots-js": "^3.1.0",
- "csscolorparser": "~1.0.3",
- "earcut": "^2.2.2",
- "geojson-vt": "^3.2.1",
- "gl-matrix": "^3.2.1",
- "grid-index": "^1.1.0",
- "minimist": "^1.2.5",
- "murmurhash-js": "^1.0.0",
- "pbf": "^3.2.1",
- "potpack": "^1.0.1",
- "quickselect": "^2.0.0",
- "rw": "^1.3.3",
- "supercluster": "^7.1.0",
- "tinyqueue": "^2.0.3",
- "vt-pbf": "^3.1.1"
- }
- },
"maplibre-gl": {
"version": "1.15.3",
"resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-1.15.3.tgz",
diff --git a/www/package.json b/www/package.json
index e2933ab..3facb79 100644
--- a/www/package.json
+++ b/www/package.json
@@ -6,6 +6,7 @@
"dependencies": {
"@fortawesome/fontawesome-pro": "^6",
"@zxing/library": "^0.15.2",
+ "bwip-js": "^3.1.0",
"framework7": "^7.0.2",
"jquery": "^3.6.0",
"maplibre-gl": "^1.15.3",
diff --git a/www/pages/address_qrcode.html b/www/pages/address_qrcode.html
new file mode 100644
index 0000000..c1910fc
--- /dev/null
+++ b/www/pages/address_qrcode.html
@@ -0,0 +1,562 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ For faster service, fill in this form and press Show Barcode. We'll just scan your phone screen instead of typing everything in by hand.
+
+ All fields are optional, but fill in as much as possible.
+
+
+
+
+
+
+
+
+
+
+
+ Return Address:
+
+
+
Name (or care of)
+
+
+
+
+
+
+
+
+
Company (or name)
+
+
+
+
+
+
+
+
+
Street Address
+
+
+
+
+
+
+
+
+
Address Line 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ To:
+
+
+
Name (or care of)
+
+
+
+
+
+
+
+
+
Company (or name)
+
+
+
+
+
+
+
+
+
Street Address
+
+
+
+
+
+
+
+
+
Address Line 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
State/Province
+
+
+
+
+
+
+
+
+
Country
+
+
+ United States of America
+ Afghanistan
+ Åland Islands
+ Albania
+ Algeria
+ American Samoa
+ Andorra
+ Angola
+ Anguilla
+ Antarctica
+ Antigua and Barbuda
+ Argentina
+ Armenia
+ Aruba
+ Australia
+ Austria
+ Azerbaijan
+ Bahamas
+ Bahrain
+ Bangladesh
+ Barbados
+ Belarus
+ Belgium
+ Belize
+ Benin
+ Bermuda
+ Bhutan
+ Bolivia (Plurinational State of)
+ Bonaire, Sint Eustatius and Saba
+ Bosnia and Herzegovina
+ Botswana
+ Bouvet Island
+ Brazil
+ British Indian Ocean Territory
+ Brunei Darussalam
+ Bulgaria
+ Burkina Faso
+ Burundi
+ Cabo Verde
+ Cambodia
+ Cameroon
+ Canada
+ Cayman Islands
+ Central African Republic
+ Chad
+ Chile
+ China
+ Christmas Island
+ Cocos (Keeling) Islands
+ Colombia
+ Comoros
+ Congo
+ Congo, Democratic Republic of the
+ Cook Islands
+ Costa Rica
+ Côte d'Ivoire
+ Croatia
+ Cuba
+ Curaçao
+ Cyprus
+ Czechia
+ Denmark
+ Djibouti
+ Dominica
+ Dominican Republic
+ Ecuador
+ Egypt
+ El Salvador
+ Equatorial Guinea
+ Eritrea
+ Estonia
+ Eswatini
+ Ethiopia
+ Falkland Islands (Malvinas)
+ Faroe Islands
+ Fiji
+ Finland
+ France
+ French Guiana
+ French Polynesia
+ French Southern Territories
+ Gabon
+ Gambia
+ Georgia
+ Germany
+ Ghana
+ Gibraltar
+ Greece
+ Greenland
+ Grenada
+ Guadeloupe
+ Guam
+ Guatemala
+ Guernsey
+ Guinea
+ Guinea-Bissau
+ Guyana
+ Haiti
+ Heard Island and McDonald Islands
+ Holy See
+ Honduras
+ Hong Kong
+ Hungary
+ Iceland
+ India
+ Indonesia
+ Iran (Islamic Republic of)
+ Iraq
+ Ireland
+ Isle of Man
+ Israel
+ Italy
+ Jamaica
+ Japan
+ Jersey
+ Jordan
+ Kazakhstan
+ Kenya
+ Kiribati
+ Korea (Democratic People's Republic of)
+ Korea, Republic of
+ Kuwait
+ Kyrgyzstan
+ Lao People's Democratic Republic
+ Latvia
+ Lebanon
+ Lesotho
+ Liberia
+ Libya
+ Liechtenstein
+ Lithuania
+ Luxembourg
+ Macao
+ Madagascar
+ Malawi
+ Malaysia
+ Maldives
+ Mali
+ Malta
+ Marshall Islands
+ Martinique
+ Mauritania
+ Mauritius
+ Mayotte
+ Mexico
+ Micronesia (Federated States of)
+ Moldova, Republic of
+ Monaco
+ Mongolia
+ Montenegro
+ Montserrat
+ Morocco
+ Mozambique
+ Myanmar
+ Namibia
+ Nauru
+ Nepal
+ Netherlands
+ New Caledonia
+ New Zealand
+ Nicaragua
+ Niger
+ Nigeria
+ Niue
+ Norfolk Island
+ North Macedonia
+ Northern Mariana Islands
+ Norway
+ Oman
+ Pakistan
+ Palau
+ Palestine, State of
+ Panama
+ Papua New Guinea
+ Paraguay
+ Peru
+ Philippines
+ Pitcairn
+ Poland
+ Portugal
+ Puerto Rico
+ Qatar
+ Réunion
+ Romania
+ Russian Federation
+ Rwanda
+ Saint Barthélemy
+ Saint Helena, Ascension and Tristan da Cunha
+ Saint Kitts and Nevis
+ Saint Lucia
+ Saint Martin (French part)
+ Saint Pierre and Miquelon
+ Saint Vincent and the Grenadines
+ Samoa
+ San Marino
+ Sao Tome and Principe
+ Saudi Arabia
+ Senegal
+ Serbia
+ Seychelles
+ Sierra Leone
+ Singapore
+ Sint Maarten (Dutch part)
+ Slovakia
+ Slovenia
+ Solomon Islands
+ Somalia
+ South Africa
+ South Georgia and the South Sandwich Islands
+ South Sudan
+ Spain
+ Sri Lanka
+ Sudan
+ Suriname
+ Svalbard and Jan Mayen
+ Sweden
+ Switzerland
+ Syrian Arab Republic
+ Taiwan, Province of China
+ Tajikistan
+ Tanzania, United Republic of
+ Thailand
+ Timor-Leste
+ Togo
+ Tokelau
+ Tonga
+ Trinidad and Tobago
+ Tunisia
+ Turkey
+ Turkmenistan
+ Turks and Caicos Islands
+ Tuvalu
+ Uganda
+ Ukraine
+ United Arab Emirates
+ United Kingdom of Great Britain and Northern Ireland
+ United States of America
+ United States Minor Outlying Islands
+ Uruguay
+ Uzbekistan
+ Vanuatu
+ Venezuela (Bolivarian Republic of)
+ Viet Nam
+ Virgin Islands (British)
+ Virgin Islands (U.S.)
+ Wallis and Futuna
+ Western Sahara
+ Yemen
+ Zambia
+ Zimbabwe
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/pages/trailer.html b/www/pages/trailer.html
index 5abc500..0b5f4ce 100644
--- a/www/pages/trailer.html
+++ b/www/pages/trailer.html
@@ -40,6 +40,16 @@
Learn More
+
+
+ Use Quick Send for faster service! Just enter the address info for your package ahead of time then show us your phone screen.
+
+
+
diff --git a/www/routes.js b/www/routes.js
index 42642bd..a144e99 100644
--- a/www/routes.js
+++ b/www/routes.js
@@ -31,7 +31,8 @@ var pagesToCompile = [
"receipts",
"trailer",
"money",
- "moneyorder"
+ "moneyorder",
+ "address_qrcode"
];
console.log("Compiling page templates...");
for (var i = 0; i < pagesToCompile.length; i++) {
@@ -305,6 +306,11 @@ var routes = [
serviceAreaMap = null;
}
}
+ },
+ {
+ path: '/quicksend',
+ content: compiledPages.address_qrcode(),
+ name: 'quicksend'
},
{
path: '/appointment',