Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
3cd26cc021 | |||
89f7664a3b | |||
7f6bfebc80 | |||
4a84e6e215 | |||
ac55a3eee4 | |||
0f993bb399 | |||
5f335cdef4 | |||
c6b4ed81d6 | |||
e6b9e27152 | |||
73e4746f6b | |||
b42afb05bc | |||
f1cb5e6a91 | |||
31ac9b6056 | |||
547edb007c | |||
ffa373f69d | |||
bd5f379faf | |||
2db2e269c5 | |||
9d302d2487 | |||
2416e3e33f |
@ -1,11 +1,11 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.netsyms.PackageHelper" version="1.6.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.netsyms.PackageHelper" version="1.6.10" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<name short="PH">PackageHelper</name>
|
<name short="PH">PackageHelper</name>
|
||||||
<description>
|
<description>
|
||||||
Assistant app for door-to-door package delivery.
|
Assistant app for door-to-door package delivery.
|
||||||
</description>
|
</description>
|
||||||
<author email="dev@netsyms.com" href="https://netsyms.com">
|
<author email="dev@netsyms.com" href="https://netsyms.com">
|
||||||
Netsyms Technologies
|
Netsyms Technologies LLC
|
||||||
</author>
|
</author>
|
||||||
<content src="index.html" />
|
<content src="index.html" />
|
||||||
<access origin="*" />
|
<access origin="*" />
|
||||||
@ -42,12 +42,16 @@
|
|||||||
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
|
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
|
||||||
</platform>
|
</platform>
|
||||||
<platform name="ios">
|
<platform name="ios">
|
||||||
|
<config-file target="*-Info.plist" parent="ITSAppUsesNonExemptEncryption" mode="add">
|
||||||
|
<false/>
|
||||||
|
</config-file>
|
||||||
<preference name="StatusBarBackgroundColor" value="#F6F6F6" />
|
<preference name="StatusBarBackgroundColor" value="#F6F6F6" />
|
||||||
<preference name="StatusBarStyle" value="default" />
|
<preference name="StatusBarStyle" value="default" />
|
||||||
<preference name="SplashScreenDelay" value="3000" />
|
<preference name="SplashScreenDelay" value="3000" />
|
||||||
<preference name="AutoHideSplashScreen" value="true" />
|
<preference name="AutoHideSplashScreen" value="true" />
|
||||||
<preference name="FadeSplashScreen" value="true" />
|
<preference name="FadeSplashScreen" value="true" />
|
||||||
<preference name="ShowSplashScreenSpinner" value="false" />
|
<preference name="ShowSplashScreenSpinner" value="false" />
|
||||||
|
<preference name="MediaPlaybackAllowsAirPlay" value="false"/>
|
||||||
<hook src="scripts/npm_prepare.sh" type="before_prepare" />
|
<hook src="scripts/npm_prepare.sh" type="before_prepare" />
|
||||||
<hook src="scripts/remove_powermanagement.sh" type="before_prepare" />
|
<hook src="scripts/remove_powermanagement.sh" type="before_prepare" />
|
||||||
<preference name="StatusBarOverlaysWebView" value="false" />
|
<preference name="StatusBarOverlaysWebView" value="false" />
|
||||||
|
@ -345,7 +345,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: color-name. A copy of the source code may be downloaded from git@github.com:colorjs/color-name.git. This software contains the following license and notice below:
|
The following software may be included in this product: color-name. A copy of the source code may be downloaded from git@github.com:dfcreative/color-name.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
Copyright (c) 2015 Dmitry Ivanov
|
Copyright (c) 2015 Dmitry Ivanov
|
||||||
@ -570,7 +570,7 @@ The following software may be included in this product: leaflet. A copy of the s
|
|||||||
|
|
||||||
BSD 2-Clause License
|
BSD 2-Clause License
|
||||||
|
|
||||||
Copyright (c) 2010-2022, Vladimir Agafonkin
|
Copyright (c) 2010-2023, Volodymyr Agafonkin
|
||||||
Copyright (c) 2010-2011, CloudMade
|
Copyright (c) 2010-2011, CloudMade
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
@ -982,7 +982,7 @@ Apache License
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: minimist. A copy of the source code may be downloaded from git://github.com/substack/minimist.git. This software contains the following license and notice below:
|
The following software may be included in this product: minimist. A copy of the source code may be downloaded from git://github.com/minimistjs/minimist.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
This software is released under the MIT license:
|
This software is released under the MIT license:
|
||||||
|
|
||||||
@ -4968,6 +4968,32 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
The following software may be included in this product: has-proto, supports-preserve-symlinks-flag. A copy of the source code may be downloaded from git+https://github.com/inspect-js/has-proto.git (has-proto), git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git (supports-preserve-symlinks-flag). This software contains the following license and notice below:
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2022 Inspect JS
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: has-symbols. A copy of the source code may be downloaded from git://github.com/inspect-js/has-symbols.git. This software contains the following license and notice below:
|
The following software may be included in this product: has-symbols. A copy of the source code may be downloaded from git://github.com/inspect-js/has-symbols.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
@ -5970,7 +5996,7 @@ SOFTWARE.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: phonegap-plugin-barcodescanner. A copy of the source code may be downloaded from git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git. This software contains the following license and notice below:
|
The following software may be included in this product: phonegap-plugin-barcodescanner-android12. A copy of the source code may be downloaded from git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
Copyright 2010 Matt Kane
|
Copyright 2010 Matt Kane
|
||||||
Copyright 2011 IBM Corporation
|
Copyright 2011 IBM Corporation
|
||||||
@ -6698,32 +6724,6 @@ For more information, please refer to <http://unlicense.org/>
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The following software may be included in this product: supports-preserve-symlinks-flag. A copy of the source code may be downloaded from git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git. This software contains the following license and notice below:
|
|
||||||
|
|
||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2022 Inspect JS
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
-----
|
|
||||||
|
|
||||||
The following software may be included in this product: to-regex-range. A copy of the source code may be downloaded from https://github.com/micromatch/to-regex-range.git. This software contains the following license and notice below:
|
The following software may be included in this product: to-regex-range. A copy of the source code may be downloaded from https://github.com/micromatch/to-regex-range.git. This software contains the following license and notice below:
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
2660
license-credits.txt
Normal file
2660
license-credits.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,269 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
or more contributor license agreements. See the NOTICE file
|
|
||||||
distributed with this work for additional information
|
|
||||||
regarding copyright ownership. The ASF licenses this file
|
|
||||||
to you under the Apache License, Version 2.0 (the
|
|
||||||
"License"); you may not use this file except in compliance
|
|
||||||
with the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing,
|
|
||||||
software distributed under the License is distributed on an
|
|
||||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, either express or implied. See the License for the
|
|
||||||
specific language governing permissions and limitations
|
|
||||||
under the License.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
Generated file; DO NOT EDIT.
|
|
||||||
-->
|
|
||||||
<project name="PackageNotice" basedir="..">
|
|
||||||
<property file="nbproject/configs/${config}.properties" />
|
|
||||||
|
|
||||||
<scriptdef name="checkVersion" language="javascript">
|
|
||||||
<attribute name="first" />
|
|
||||||
<attribute name="property" />
|
|
||||||
<![CDATA[
|
|
||||||
var first = attributes.get("first");
|
|
||||||
if (first >= "3.0.0") {
|
|
||||||
project.setProperty(attributes.get("property"), true);
|
|
||||||
}
|
|
||||||
]]>
|
|
||||||
</scriptdef>
|
|
||||||
|
|
||||||
<scriptdef name="forDevice" language="javascript">
|
|
||||||
<![CDATA[
|
|
||||||
var dev = project.getProperty("device");
|
|
||||||
if (dev == "device") {
|
|
||||||
project.setProperty("build.for.device", true);
|
|
||||||
}
|
|
||||||
]]>
|
|
||||||
</scriptdef>
|
|
||||||
|
|
||||||
<target name="check-cordova-project">
|
|
||||||
<condition property="cordova.project">
|
|
||||||
<or>
|
|
||||||
<available file=".cordova"/>
|
|
||||||
<available file="hooks"/>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project">
|
|
||||||
<echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" />
|
|
||||||
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true" >
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="create"/>
|
|
||||||
<arg value="${java.io.tmpdir}/nb_temp_project"/>
|
|
||||||
<arg value="com.coolappz.${project.name}"/>
|
|
||||||
<arg value="${project.name}" />
|
|
||||||
</exec>
|
|
||||||
<copy todir="." overwrite="true" failonerror="false">
|
|
||||||
<fileset dir="${java.io.tmpdir}/nb_temp_project"/>
|
|
||||||
</copy>
|
|
||||||
<delete dir="${java.io.tmpdir}/nb_temp_project"/>
|
|
||||||
<delete dir="www"/>
|
|
||||||
<copy todir="www" failonerror="false" quiet="true" >
|
|
||||||
<fileset dir="${site.root}"/>
|
|
||||||
</copy>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="create-hello-world" depends="check-cordova-version">
|
|
||||||
<echo level="info" message="${cordova.command} -d create www_nb_temp com.coolappz.${project.name} ${project.name}" />
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="create"/>
|
|
||||||
<arg value="www_nb_temp"/>
|
|
||||||
<arg value="com.coolappz.${project.name}"/>
|
|
||||||
<arg value="${project.name}" />
|
|
||||||
</exec>
|
|
||||||
<delete dir="www"/>
|
|
||||||
<mkdir dir="www"/>
|
|
||||||
<move file="www_nb_temp/www" tofile="www"/>
|
|
||||||
<delete dir="www_nb_temp"/>
|
|
||||||
<delete file="www/config.xml"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<taskdef
|
|
||||||
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
|
|
||||||
classpath="${update.task.jar}"
|
|
||||||
name="readconfig"/>
|
|
||||||
|
|
||||||
<taskdef
|
|
||||||
classname="org.netbeans.modules.cordova.updatetask.PluginTask"
|
|
||||||
classpath="${update.task.jar}"
|
|
||||||
name="plugintask"/>
|
|
||||||
|
|
||||||
|
|
||||||
<target name="check-cordova-version">
|
|
||||||
<property environment="env"/>
|
|
||||||
<checkVersion first="${cordova.version}" property="cordova.ver.3"/>
|
|
||||||
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
|
|
||||||
<readconfig/>
|
|
||||||
<forDevice/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="check-android-template">
|
|
||||||
<available file="platforms/android" property="android.generated.exists"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="check-ios-template">
|
|
||||||
<available file="platforms/ios" property="ios.generated.exists"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists">
|
|
||||||
<echo level="info" message="${cordova.command} -d platform add android"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="platform"/>
|
|
||||||
<arg value="add"/>
|
|
||||||
<arg value="android"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists">
|
|
||||||
<echo level="info" message="${cordova.command} -d platform add ios"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="platform"/>
|
|
||||||
<arg value="add"/>
|
|
||||||
<arg value="ios"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="rebuild-ios" depends="clean-ios,build-ios"/>
|
|
||||||
|
|
||||||
<target name="build-ios" depends="create-ios,update-plugins,update-ios,build-ios-xcodebuild,build-ios-ipa"/>
|
|
||||||
|
|
||||||
<target name="build-ios-xcodebuild">
|
|
||||||
<property name="path" location="platforms/ios/build"/>
|
|
||||||
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
|
|
||||||
<arg value="-project"/>
|
|
||||||
<arg value="${project.name}.xcodeproj"/>
|
|
||||||
<arg value="ARCHS=${ios.build.arch}"/>
|
|
||||||
<arg value="-target"/>
|
|
||||||
<arg value="${project.name}"/>
|
|
||||||
<arg value="-configuration"/>
|
|
||||||
<arg value="Release"/>
|
|
||||||
<arg value="-sdk"/>
|
|
||||||
<arg value="${ios.build.sdk}" />
|
|
||||||
<arg value="build"/>
|
|
||||||
<arg value="CONFIGURATION_BUILD_DIR=${path}"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build-ios-ipa" if="build.for.device">
|
|
||||||
<exec executable="xcrun" dir="platforms/ios/build" failonerror="true">
|
|
||||||
<env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" />
|
|
||||||
<arg value="-sdk"/>
|
|
||||||
<arg value="${ios.build.sdk}" />
|
|
||||||
<arg value="PackageApplication"/>
|
|
||||||
<arg value="-v"/>
|
|
||||||
<arg value="${project.name}.app"/>
|
|
||||||
<arg value="-o"/>
|
|
||||||
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
|
||||||
<arg value="--sign"/>
|
|
||||||
<arg value="${ios.certificate.name}"/>
|
|
||||||
<arg value="--embed"/>
|
|
||||||
<arg value="${ios.provisioning.profile}"/>
|
|
||||||
</exec>
|
|
||||||
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
|
|
||||||
<fail unless="ipa.found" message="PackageApplication failed."/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
|
|
||||||
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="ios-run-device" if="build.for.device">
|
|
||||||
<echo>
|
|
||||||
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
|
|
||||||
</echo>
|
|
||||||
<exec executable="open" failonerror="true">
|
|
||||||
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="ios-run-simulator" unless="build.for.device">
|
|
||||||
<exec executable="killall" dir="platforms/ios/build">
|
|
||||||
<arg value="launchd_sim"/>
|
|
||||||
</exec>
|
|
||||||
<exec executable="${ios.sim.exec}" dir="platforms/ios/build">
|
|
||||||
<arg line="launch ${project.name}.app ${ios.device.args} --exit"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="update-plugins">
|
|
||||||
<plugintask/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="update-android">
|
|
||||||
<echo level="info" message="${cordova.command} prepare android"/>
|
|
||||||
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="prepare"/>
|
|
||||||
<arg value="android"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
|
|
||||||
<target name="update-ios">
|
|
||||||
<echo level="info" message="${cordova.command} prepare ios"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="prepare"/>
|
|
||||||
<arg value="ios"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="rebuild-android" depends="clean-android,build-android"/>
|
|
||||||
|
|
||||||
<target name="build-android" depends="create-android,update-plugins">
|
|
||||||
<echo level="info" message="${cordova.command} -d build android"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="build"/>
|
|
||||||
<arg value="android"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="sim-android" depends="create-android,update-plugins">
|
|
||||||
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
|
|
||||||
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
|
|
||||||
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
|
|
||||||
<env key="JAVA_HOME" path="${jdk.home}"/>
|
|
||||||
<arg value="-d"/>
|
|
||||||
<arg value="${android.target.device.arg}"/>
|
|
||||||
<arg value="android"/>
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="clean-android" depends="check-android-template" if="android.generated.exists">
|
|
||||||
<exec executable="./gradlew" dir="platforms/android">
|
|
||||||
<arg value="clean" />
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
|
|
||||||
<exec executable="platforms/ios/cordova/clean" />
|
|
||||||
</target>
|
|
||||||
</project>
|
|
@ -1,3 +0,0 @@
|
|||||||
device=emulator
|
|
||||||
display.name=Android Emulator
|
|
||||||
type=android
|
|
@ -1,3 +0,0 @@
|
|||||||
device=device
|
|
||||||
display.name=Android Device
|
|
||||||
type=android
|
|
@ -1,5 +0,0 @@
|
|||||||
device=emulator
|
|
||||||
display.name=iPhone Simulator
|
|
||||||
ios.build.arch=i386
|
|
||||||
ios.build.sdk=
|
|
||||||
type=ios
|
|
@ -1,5 +0,0 @@
|
|||||||
device=device
|
|
||||||
display.name=iPhone Device
|
|
||||||
ios.build.arch=armv7 armv7s
|
|
||||||
ios.build.sdk=
|
|
||||||
type=ios
|
|
@ -1,9 +0,0 @@
|
|||||||
<#if licenseFirst??>
|
|
||||||
${licenseFirst}
|
|
||||||
</#if>
|
|
||||||
${licensePrefix}This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
${licensePrefix}License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
${licensePrefix}file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
<#if licenseLast??>
|
|
||||||
${licenseLast}
|
|
||||||
</#if>
|
|
@ -1,48 +0,0 @@
|
|||||||
# Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
# or more contributor license agreements. See the NOTICE file
|
|
||||||
# distributed with this work for additional information
|
|
||||||
# regarding copyright ownership. The ASF licenses this file
|
|
||||||
# to you under the Apache License, Version 2.0 (the
|
|
||||||
# "License"); you may not use this file except in compliance
|
|
||||||
# with the License. You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing,
|
|
||||||
# software distributed under the License is distributed on an
|
|
||||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
# KIND, either express or implied. See the License for the
|
|
||||||
# specific language governing permissions and limitations
|
|
||||||
# under the License.
|
|
||||||
|
|
||||||
# This is a list of plugins installed in your project
|
|
||||||
# You can delete or add new plugins
|
|
||||||
#
|
|
||||||
# Format is following:
|
|
||||||
# id.of.plugin=url_of_repository
|
|
||||||
#
|
|
||||||
# Corresponding "id.of.plugin" can be found in the plugin's plugin.xml file:
|
|
||||||
# <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="foo.bar.plugin" version="0.0.1">
|
|
||||||
#
|
|
||||||
# This list contains all core cordova plugins.
|
|
||||||
#
|
|
||||||
# For more information about plugins see http://cordova.apache.org/blog/releases/2013/07/23/cordova-3.html
|
|
||||||
#
|
|
||||||
|
|
||||||
cordova-plugin-device=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
|
|
||||||
cordova-plugin-network-information=https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
|
|
||||||
cordova-plugin-battery-status=https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status.git
|
|
||||||
cordova-plugin-device-motion=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
|
|
||||||
cordova-plugin-device-orientation=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git
|
|
||||||
cordova-plugin-geolocation=https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
|
|
||||||
cordova-plugin-camera=https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
|
|
||||||
cordova-plugin-media-capture=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
|
|
||||||
cordova-plugin-media=https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
|
|
||||||
cordova-plugin-file=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
|
|
||||||
cordova-plugin-file-transfer=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
|
|
||||||
cordova-plugin-dialogs=https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
|
|
||||||
cordova-plugin-vibration=https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git
|
|
||||||
cordova-plugin-contacts=https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git
|
|
||||||
cordova-plugin-globalization=https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git
|
|
||||||
cordova-plugin-splashscreen=https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
|
|
||||||
cordova-plugin-console=https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
|
|
@ -1,12 +1,4 @@
|
|||||||
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
|
|
||||||
auxiliary.org-netbeans-modules-cordova.phonegap=true
|
|
||||||
auxiliary.org-netbeans-modules-javascript-nodejs.run_2e_enabled=false
|
|
||||||
browser.run=true
|
|
||||||
file.reference.PackageHelper-www=www
|
file.reference.PackageHelper-www=www
|
||||||
file.reference.PackageNotice-test=test
|
|
||||||
file.reference.PackageNotice-www=www
|
|
||||||
files.encoding=UTF-8
|
files.encoding=UTF-8
|
||||||
project.licensePath=./nbproject/license-mpl.txt
|
|
||||||
site.root.folder=${file.reference.PackageHelper-www}
|
site.root.folder=${file.reference.PackageHelper-www}
|
||||||
start.file=index.html
|
source.folder=
|
||||||
web.context.root=/PackageNotice
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<type>org.netbeans.modules.web.clientproject</type>
|
<type>org.netbeans.modules.web.clientproject</type>
|
||||||
<configuration>
|
<configuration>
|
||||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||||
<name>PackageHelper</name>
|
<name>com.netsyms.packagehelper</name>
|
||||||
</data>
|
</data>
|
||||||
</configuration>
|
</configuration>
|
||||||
</project>
|
</project>
|
||||||
|
1273
package-lock.json
generated
1273
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "com.netsyms.packagehelper",
|
"name": "com.netsyms.packagehelper",
|
||||||
"displayName": "PackageHelper",
|
"displayName": "PackageHelper",
|
||||||
"version": "1.6.5",
|
"version": "1.6.10",
|
||||||
"description": "Assistant app for door-to-door package delivery.",
|
"description": "Assistant app for door-to-door package delivery.",
|
||||||
"product_string": "PackageHelper",
|
"product_string": "PackageHelper",
|
||||||
"main": "www/index.html",
|
"main": "www/index.html",
|
||||||
@ -22,7 +22,6 @@
|
|||||||
"cordova": {
|
"cordova": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cordova-plugin-geolocation": {},
|
"cordova-plugin-geolocation": {},
|
||||||
"cordova-plugin-powermanagement-netsyms": {},
|
|
||||||
"cordova-plugin-device": {},
|
"cordova-plugin-device": {},
|
||||||
"cordova-plugin-battery-status": {},
|
"cordova-plugin-battery-status": {},
|
||||||
"cordova-plugin-statusbar": {},
|
"cordova-plugin-statusbar": {},
|
||||||
@ -32,7 +31,8 @@
|
|||||||
"cordova-plugin-nativestorage": {},
|
"cordova-plugin-nativestorage": {},
|
||||||
"phonegap-plugin-barcodescanner-android12": {
|
"phonegap-plugin-barcodescanner-android12": {
|
||||||
"ANDROID_SUPPORT_V4_VERSION": "27.+"
|
"ANDROID_SUPPORT_V4_VERSION": "27.+"
|
||||||
}
|
},
|
||||||
|
"@netsyms/cordova-plugin-powermanagement": {}
|
||||||
},
|
},
|
||||||
"platforms": [
|
"platforms": [
|
||||||
"browser",
|
"browser",
|
||||||
@ -44,15 +44,16 @@
|
|||||||
"cordova-browser": "^6.0.0",
|
"cordova-browser": "^6.0.0",
|
||||||
"cordova-plugin-battery-status": "^2.0.3",
|
"cordova-plugin-battery-status": "^2.0.3",
|
||||||
"cordova-plugin-device": "^2.0.3",
|
"cordova-plugin-device": "^2.0.3",
|
||||||
"cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement",
|
|
||||||
"cordova-plugin-statusbar": "^2.4.3"
|
"cordova-plugin-statusbar": "^2.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@netsyms/cordova-plugin-powermanagement": "^1.1.3",
|
||||||
"cordova-android": "^11.0.0",
|
"cordova-android": "^11.0.0",
|
||||||
"cordova-ios": "^6.1.1",
|
"cordova-ios": "^6.1.1",
|
||||||
"cordova-plugin-inappbrowser": "^4.1.0",
|
"cordova-plugin-inappbrowser": "^4.1.0",
|
||||||
"cordova-plugin-nativestorage": "^2.3.2",
|
"cordova-plugin-nativestorage": "^2.3.2",
|
||||||
"cordova-plugin-velda-devicefeedback": "0.0.2",
|
"cordova-plugin-velda-devicefeedback": "0.0.2",
|
||||||
|
"generate-license-file": "^2.0.0",
|
||||||
"phonegap-plugin-barcodescanner-android12": "^8.1.2"
|
"phonegap-plugin-barcodescanner-android12": "^8.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Generating credits files..."
|
echo "Generating credits file..."
|
||||||
|
|
||||||
cd www
|
npx generate-license-file --ci --no-spinner --input www/package.json --output license-credits.txt --overwrite
|
||||||
yarn licenses generate-disclaimer > ../license-credits.md
|
|
||||||
cd ..
|
|
||||||
yarn licenses generate-disclaimer >> license-credits.md
|
|
||||||
|
|
||||||
cp www/pages/credits.template.html www/pages/credits.html
|
cp www/pages/credits.template.html www/pages/credits.html
|
||||||
sed -e "/{{credits}}/r license-credits.md" -e "/{{credits}}/d" -i www/pages/credits.html
|
sed -e "/{{credits}}/r license-credits.txt" -e "/{{credits}}/d" -i www/pages/credits.html
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
npm uninstall cordova-plugin-powermanagement-netsyms
|
npm uninstall cordova-plugin-powermanagement-netsyms || true
|
||||||
cordova plugin rm cordova-plugin-powermanagement-netsyms
|
cordova plugin rm cordova-plugin-powermanagement-netsyms || true
|
@ -19,6 +19,12 @@ Framework7 and FontAwesome both have a .fab class
|
|||||||
line-height: var(--f7-line-height);
|
line-height: var(--f7-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* https://forum.framework7.io/t/ios-wkwebview-blank-space-at-the-bottom/8530 */
|
||||||
|
html, body {
|
||||||
|
height: 100vh;
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
|
||||||
.page-content-fab-pad {
|
.page-content-fab-pad {
|
||||||
padding-bottom: var(--f7-fab-size);
|
padding-bottom: var(--f7-fab-size);
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var sfx = {};
|
var sfx = {};
|
||||||
|
var sfxBuffers = {};
|
||||||
|
const AudioContext = window.AudioContext || window.webkitAudioContext;
|
||||||
|
var audioContext;
|
||||||
|
var sfxVolume = {
|
||||||
|
"alert": 100.0,
|
||||||
|
"ok": 100.0,
|
||||||
|
"error": 100.0,
|
||||||
|
"scan": 100.0
|
||||||
|
};
|
||||||
|
|
||||||
function initSFX() {
|
function initSFX() {
|
||||||
|
audioContext = new AudioContext();
|
||||||
if (getStorage("alertsound") == null) {
|
if (getStorage("alertsound") == null) {
|
||||||
setStorage("alertsound", "sonar");
|
setStorage("alertsound", "sonar");
|
||||||
}
|
}
|
||||||
@ -29,6 +39,46 @@ function initSFX() {
|
|||||||
"error": new Audio("assets/audio/error.mp3"),
|
"error": new Audio("assets/audio/error.mp3"),
|
||||||
"scan": new Audio("assets/audio/scan.mp3")
|
"scan": new Audio("assets/audio/scan.mp3")
|
||||||
};
|
};
|
||||||
|
if (noalertsound == false) {
|
||||||
|
window.fetch("assets/audio/" + alertNoiseFile)
|
||||||
|
.then(response => response.arrayBuffer())
|
||||||
|
.then(arrayBuffer => audioContext.decodeAudioData(arrayBuffer,
|
||||||
|
audioBuffer => {
|
||||||
|
sfxBuffers.alert = audioBuffer;
|
||||||
|
},
|
||||||
|
error =>
|
||||||
|
console.error(error)
|
||||||
|
));
|
||||||
|
} else {
|
||||||
|
sfxBuffers.alert = false;
|
||||||
|
}
|
||||||
|
window.fetch("assets/audio/ok.mp3")
|
||||||
|
.then(response => response.arrayBuffer())
|
||||||
|
.then(arrayBuffer => audioContext.decodeAudioData(arrayBuffer,
|
||||||
|
audioBuffer => {
|
||||||
|
sfxBuffers.ok = audioBuffer;
|
||||||
|
},
|
||||||
|
error =>
|
||||||
|
console.error(error)
|
||||||
|
));
|
||||||
|
window.fetch("assets/audio/error.mp3")
|
||||||
|
.then(response => response.arrayBuffer())
|
||||||
|
.then(arrayBuffer => audioContext.decodeAudioData(arrayBuffer,
|
||||||
|
audioBuffer => {
|
||||||
|
sfxBuffers.error = audioBuffer;
|
||||||
|
},
|
||||||
|
error =>
|
||||||
|
console.error(error)
|
||||||
|
));
|
||||||
|
window.fetch("assets/audio/scan.mp3")
|
||||||
|
.then(response => response.arrayBuffer())
|
||||||
|
.then(arrayBuffer => audioContext.decodeAudioData(arrayBuffer,
|
||||||
|
audioBuffer => {
|
||||||
|
sfxBuffers.scan = audioBuffer;
|
||||||
|
},
|
||||||
|
error =>
|
||||||
|
console.error(error)
|
||||||
|
));
|
||||||
|
|
||||||
setVolume("alert", alertVolume);
|
setVolume("alert", alertVolume);
|
||||||
}
|
}
|
||||||
@ -39,13 +89,18 @@ function initSFX() {
|
|||||||
* @returns {undefined}
|
* @returns {undefined}
|
||||||
*/
|
*/
|
||||||
function playSound(sound) {
|
function playSound(sound) {
|
||||||
if (sfx[sound] == false) {
|
if (sfxBuffers[sound] == false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (sfx[sound].volume == 0) {
|
if (sfxVolume[sound] == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sfx[sound].play();
|
const source = audioContext.createBufferSource();
|
||||||
|
source.buffer = sfxBuffers[sound];
|
||||||
|
const gainNode = audioContext.createGain();
|
||||||
|
gainNode.gain.value = sfxVolume[sound] / 100.0;
|
||||||
|
source.connect(gainNode).connect(audioContext.destination);
|
||||||
|
source.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -57,7 +112,8 @@ function setVolume(sound, volume) {
|
|||||||
if (sfx[sound] == false) {
|
if (sfx[sound] == false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sfx[sound].volume = volume / 100.0;
|
//sfx[sound].volume = volume / 100.0;
|
||||||
|
sfxVolume[sound] = volume;
|
||||||
}
|
}
|
||||||
|
|
||||||
initSFX();
|
initSFX();
|
@ -63,9 +63,10 @@ function addCodeToScannerList(code) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Regex of IMpb codes that don't need anything special
|
* Regex of IMpb codes that don't need anything special
|
||||||
|
* Updated with July 9 2023 STC list from https://postalpro.usps.com/impb-stcs-excel
|
||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
*/
|
*/
|
||||||
var stcregex = /^(420[0-9]{5})?[0-9]{2}(001|023|055|056|112|113|134|135|138|140|141|142|164|209|211|259|265|269|346|361|389|390|419|431|490|502|551|563|612|624|671|701|702|703|704|723|746|748|790|791|793|794|905|906|907|909|971|972)[0-9]+$/;
|
var stcregex = /^(420[0-9]{5})?[0-9]{2}(001|017|019|020|022|024|037|055|058|091|112|113|116|120|134|135|138|140|141|142|164|184|185|187|190|209|211|217|218|219|259|265|269|346|361|362|363|367|368|385|388|389|390|395|419|431|453|468|483|490|502|515|526|551|563|596|597|598|612|624|671|676|701|702|703|704|746|748|760|785|786|790|791|793|794|798|837|859|905|906|907|909)[0-9]+$/;
|
||||||
|
|
||||||
var signatureRequired = false;
|
var signatureRequired = false;
|
||||||
for (var i = 0; i < signatureregexes.length; i++) {
|
for (var i = 0; i < signatureregexes.length; i++) {
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
<title>PackageHelper</title>
|
<title>PackageHelper</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="initial-scale=1, width=device-width, height=device-height, viewport-fit=cover, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="icon" href="assets/images/icons/logo.svg" />
|
<link rel="icon" href="assets/images/icons/logo.svg" />
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json">
|
||||||
<link rel="stylesheet" href="node_modules/framework7/css/framework7.bundle.min.css" />
|
<link rel="stylesheet" href="node_modules/framework7/css/framework7.bundle.min.css" />
|
||||||
|
4
www/package-lock.json
generated
4
www/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "PackageHelper",
|
"name": "PackageHelper",
|
||||||
"version": "1.6.5",
|
"version": "1.6.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "PackageHelper",
|
"name": "PackageHelper",
|
||||||
"version": "1.6.5",
|
"version": "1.6.7",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.12.1",
|
"@fortawesome/fontawesome-free": "^5.12.1",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "PackageHelper",
|
"name": "PackageHelper",
|
||||||
"version": "1.6.5",
|
"version": "1.6.10",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -66,7 +66,11 @@
|
|||||||
<div class="item-title">{{status}}</div>
|
<div class="item-title">{{status}}</div>
|
||||||
<div class="item-after">{{date}}</div>
|
<div class="item-after">{{date}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-text">{{#if containerscan}}<i class='fas fa-pallet'></i> {{/if}}{{details}}</div>
|
<div class="item-row">
|
||||||
|
<div class="item-cell">
|
||||||
|
{{#if containerscan}}<i class='fas fa-pallet'></i> {{/if}}{{details}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="item-text"><b>{{location.display}}</b></div>
|
<div class="item-text"><b>{{location.display}}</b></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -556,7 +556,7 @@ var routes = [
|
|||||||
{
|
{
|
||||||
setting: "versions",
|
setting: "versions",
|
||||||
title: "PackageHelper app v" + app_version,
|
title: "PackageHelper app v" + app_version,
|
||||||
text: "Copyright © 2019-2022 Netsyms Technologies. Licensed under the Mozilla Public License 2.0.",
|
text: "Copyright © 2019-2024 Netsyms Technologies LLC. Licensed under the Mozilla Public License 2.0.",
|
||||||
onclick: ""
|
onclick: ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var SETTINGS = {
|
var SETTINGS = {
|
||||||
cacheversion: "v1.6.5_0",
|
cacheversion: "v1.6.6_0",
|
||||||
activitylog_maxlength: 500,
|
activitylog_maxlength: 500,
|
||||||
maptileurls: {
|
maptileurls: {
|
||||||
liberty: {
|
liberty: {
|
||||||
@ -85,7 +85,7 @@ var SETTINGS = {
|
|||||||
},
|
},
|
||||||
large: {
|
large: {
|
||||||
id: "large",
|
id: "large",
|
||||||
name: "Large Package",
|
name: "Oversized Package",
|
||||||
icon: "fas fa-pallet fa-fw",
|
icon: "fas fa-pallet fa-fw",
|
||||||
mapicon: "largebox",
|
mapicon: "largebox",
|
||||||
pluralmapicon: "largeboxes",
|
pluralmapicon: "largeboxes",
|
||||||
@ -93,7 +93,7 @@ var SETTINGS = {
|
|||||||
},
|
},
|
||||||
small: {
|
small: {
|
||||||
id: "small",
|
id: "small",
|
||||||
name: "Small Package",
|
name: "Small Package/SPR",
|
||||||
icon: "fas fa-envelope-square fa-fw",
|
icon: "fas fa-envelope-square fa-fw",
|
||||||
mapicon: "smallpackage",
|
mapicon: "smallpackage",
|
||||||
pluralmapicon: "smallpackages",
|
pluralmapicon: "smallpackages",
|
||||||
@ -212,7 +212,13 @@ var SETTINGS = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
button: 3,
|
button: 3,
|
||||||
title: "No Access or Business Closed",
|
title: "No Access",
|
||||||
|
type: "type",
|
||||||
|
after: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
button: 7,
|
||||||
|
title: "Business Closed",
|
||||||
type: "type",
|
type: "type",
|
||||||
after: false
|
after: false
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var cachename = "v1.6.2_0";
|
var cachename = "v1.6.8_0";
|
||||||
|
|
||||||
//self.addEventListener('fetch', (event) => {
|
//self.addEventListener('fetch', (event) => {
|
||||||
// event.respondWith(
|
// event.respondWith(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user