Add cordova project template with framework7

This commit is contained in:
dario-cfpt
2019-12-10 11:36:05 +01:00
parent c30b24245e
commit 0ac148d899
42 changed files with 91485 additions and 9 deletions

9
.gitignore vendored
View File

@ -2,15 +2,6 @@
# Created by https://www.gitignore.io/api/node,webstorm,apachecordova,visualstudiocode
# Edit at https://www.gitignore.io/?templates=node,webstorm,apachecordova,visualstudiocode
### ApacheCordova ###
# Apache Cordova generated files and directories
bin/*
!/plugins
!/plugins/android.json
!/plugins/fetch.json
plugins/*
platforms/*
### Node ###
# Logs
logs

8
mobile/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
### ApacheCordova ###
# Apache Cordova generated files and directories
bin/*
!/plugins
!/plugins/android.json
!/plugins/fetch.json
plugins/*
platforms/*

26
mobile/config.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="net.dariogenga.fecharts" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>FE_Charts</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
</widget>

23
mobile/hooks/README.md Normal file
View File

@ -0,0 +1,23 @@
<!--
#
# 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.
#
-->
# Cordova Hooks
Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. See Hooks Guide for more details: http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide.

712
mobile/package-lock.json generated Normal file
View File

@ -0,0 +1,712 @@
{
"name": "net.dariogenga.fecharts",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
},
"android-versions": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/android-versions/-/android-versions-1.5.0.tgz",
"integrity": "sha512-/GWUAqa2OJNlDF5VGSe3SR1QMHEPXxx54Ur56r0qQC0H9FlBr7kyBF2SgVEhzFCPbrW4UcYgVuWrq/2Ty3QvXg==",
"requires": {
"semver": "^5.4.1"
}
},
"ansi": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/ansi/-/ansi-0.3.1.tgz",
"integrity": "sha1-DELU+xcWDVqa8eSEus4cZpIsGyE="
},
"array-ify": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz",
"integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4="
},
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
},
"base64-js": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
},
"big-integer": {
"version": "1.6.48",
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz",
"integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w=="
},
"bplist-creator": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz",
"integrity": "sha512-Za9JKzD6fjLC16oX2wsXfc+qBEhJBJB1YPInoAQpMLhDuj5aVOv1baGeIQSq1Fr3OCqzvsoQcSBSwGId/Ja2PA==",
"requires": {
"stream-buffers": "~2.2.0"
}
},
"bplist-parser": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.1.tgz",
"integrity": "sha1-1g1dzCDLptx+HymbNdPh+V2vuuY=",
"requires": {
"big-integer": "^1.6.7"
}
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"compare-func": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz",
"integrity": "sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=",
"requires": {
"array-ify": "^1.0.0",
"dot-prop": "^3.0.0"
}
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"cordova-android": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-8.1.0.tgz",
"integrity": "sha512-eAY6g9q3raJ4P03wNdSWC5MOW1EfxoomWNXsPhi7T6Q9yAqmxqn0sLEUjLL1Ib0LCH3nKQWBXdxapQ5LgbHu+g==",
"requires": {
"android-versions": "^1.4.0",
"compare-func": "^1.3.2",
"cordova-common": "^3.2.0",
"nopt": "^4.0.1",
"properties-parser": "^0.3.1",
"q": "^1.5.1",
"shelljs": "^0.5.3"
}
},
"cordova-common": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-3.2.1.tgz",
"integrity": "sha512-xg0EnjnA6EipxXG8cupdlYQYeDA6+ghbN+Pjq88xN1LInwP6Bo7IyGBdSV5QnfjOvzShF9BBwSxBAv0FOO0C2Q==",
"requires": {
"ansi": "^0.3.1",
"bplist-parser": "^0.1.0",
"cross-spawn": "^6.0.5",
"elementtree": "0.1.7",
"endent": "^1.1.1",
"fs-extra": "^8.0.0",
"glob": "^7.1.2",
"minimatch": "^3.0.0",
"plist": "^3.0.1",
"q": "^1.4.1",
"strip-bom": "^3.0.0",
"underscore": "^1.8.3",
"which": "^1.3.0"
}
},
"cordova-ios": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-5.1.1.tgz",
"integrity": "sha512-asZMCj44JMe/PMrDIRC97GStPCH+GpaMNVe8hdmu8WWXJzMzRNRRJ339YYU89jitWf9ZKMdyBgrnSnQi5bJ/ZQ==",
"requires": {
"cordova-common": "^3.1.0",
"ios-sim": "^8.0.1",
"nopt": "^4.0.1",
"plist": "^3.0.1",
"q": "^1.5.1",
"semver": "^6.3.0",
"shelljs": "^0.5.3",
"unorm": "^1.4.1",
"xcode": "^2.0.0",
"xml-escape": "^1.1.0"
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
}
}
},
"cordova-plugin-whitelist": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.4.tgz",
"integrity": "sha512-EYC5eQFVkoYXq39l7tYKE6lEjHJ04mvTmKXxGL7quHLdFPfJMNzru/UYpn92AOfpl3PQaZmou78C7EgmFOwFQQ==",
"dev": true
},
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
"requires": {
"nice-try": "^1.0.4",
"path-key": "^2.0.1",
"semver": "^5.5.0",
"shebang-command": "^1.2.0",
"which": "^1.2.9"
}
},
"dedent": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
"integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw="
},
"deep-equal": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz",
"integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU="
},
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"requires": {
"object-keys": "^1.0.12"
}
},
"defined": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM="
},
"dot-prop": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz",
"integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=",
"requires": {
"is-obj": "^1.0.0"
}
},
"elementtree": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz",
"integrity": "sha1-mskb5uUvtuYkTE5UpKw+2K6OKcA=",
"requires": {
"sax": "1.1.4"
}
},
"endent": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/endent/-/endent-1.3.0.tgz",
"integrity": "sha512-C8AryqPPwtydqcpO5AF6k9Bd1EpFkQtvsefJqS3y3n8TG13Jy63MascDxTOULZYqrUde+dK6BjNc6LIMr3iI2A==",
"requires": {
"dedent": "^0.7.0",
"fast-json-parse": "^1.0.3",
"objectorarray": "^1.0.3"
}
},
"es-abstract": {
"version": "1.16.3",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.3.tgz",
"integrity": "sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.4",
"is-regex": "^1.0.4",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"string.prototype.trimleft": "^2.1.0",
"string.prototype.trimright": "^2.1.0"
},
"dependencies": {
"object-inspect": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
"integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
}
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"fast-json-parse": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz",
"integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw=="
},
"for-each": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
"integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
"requires": {
"is-callable": "^1.1.3"
}
},
"fs-extra": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
},
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"graceful-fs": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
"integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"requires": {
"once": "^1.3.0",
"wrappy": "1"
}
},
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ios-sim": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-8.0.2.tgz",
"integrity": "sha512-P7nEG771bfd+JoMRjnis1gpZOkjTUUxu+4Ek1Z+eoaEEoT9byllU9pxfQ8Df7hL3gSkIQxNwTSLhos2I8tWUQA==",
"requires": {
"bplist-parser": "^0.0.6",
"nopt": "1.0.9",
"plist": "^3.0.1",
"simctl": "^2"
},
"dependencies": {
"bplist-parser": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",
"integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk="
},
"nopt": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz",
"integrity": "sha1-O8DXy6e/sNWmdtvtfA6+SKT9RU4=",
"requires": {
"abbrev": "1"
}
}
}
},
"is-callable": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz",
"integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA=="
},
"is-date-object": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",
"integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY="
},
"is-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8="
},
"is-regex": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
"integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
"requires": {
"has": "^1.0.1"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"requires": {
"has-symbols": "^1.0.1"
}
},
"isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
},
"jsonfile": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
"integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
"requires": {
"graceful-fs": "^4.1.6"
}
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
},
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
},
"nopt": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz",
"integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",
"requires": {
"abbrev": "1",
"osenv": "^0.1.4"
}
},
"object-inspect": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz",
"integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ=="
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
},
"objectorarray": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/objectorarray/-/objectorarray-1.0.3.tgz",
"integrity": "sha512-kPoflSYkAf/Onvjr4ZLaq37vDuOXjVzfwLCRuORRzYGdXkHa/vacPT0RgR+KmtkwOYFcxTMM62BRrZk8GGKHjw==",
"requires": {
"tape": "^4.8.0"
}
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1"
}
},
"os-homedir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
},
"os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
},
"osenv": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
}
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-key": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
},
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
"plist": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz",
"integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==",
"requires": {
"base64-js": "^1.2.3",
"xmlbuilder": "^9.0.7",
"xmldom": "0.1.x"
}
},
"properties-parser": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.3.1.tgz",
"integrity": "sha1-ExbpU5/7/ZOEXjabIRAiq9R4dxo=",
"requires": {
"string.prototype.codepointat": "^0.2.0"
}
},
"q": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc="
},
"resolve": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz",
"integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==",
"requires": {
"path-parse": "^1.0.6"
}
},
"resumer": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
"integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
"requires": {
"through": "~2.3.4"
}
},
"sax": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.1.4.tgz",
"integrity": "sha1-dLbTPJrh4AFRDxeakRaFiPGu2qk="
},
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
},
"shebang-command": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
"integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
"requires": {
"shebang-regex": "^1.0.0"
}
},
"shebang-regex": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
"integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
},
"shelljs": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.5.3.tgz",
"integrity": "sha1-xUmCuZbHbvDB5rWfvcWCX1txMRM="
},
"simctl": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/simctl/-/simctl-2.0.0.tgz",
"integrity": "sha512-5rB7rN4N3b0z0nFdy9eczVssXqrv2aAgdVRksPVqVoiDtvXmfzNvebp3EMdId2sAUzXIflarQlx4P0hjVQEzKQ==",
"requires": {
"shelljs": "^0.2.6",
"tail": "^0.4.0"
},
"dependencies": {
"shelljs": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz",
"integrity": "sha1-kEktcv/MgVmXa6umL7D2iE8MM3g="
}
}
},
"simple-plist": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.1.0.tgz",
"integrity": "sha512-2i5Tc0BYAqppM7jVzmNrI+aEUntPolIq4fDgji6WuNNn1D/qYdn2KwoLhZdzQkE04lu9L5tUoeJsjuJAvd+lFg==",
"requires": {
"bplist-creator": "0.0.8",
"bplist-parser": "0.2.0",
"plist": "^3.0.1"
},
"dependencies": {
"bplist-parser": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz",
"integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==",
"requires": {
"big-integer": "^1.6.44"
}
}
}
},
"stream-buffers": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz",
"integrity": "sha1-kdX1Ew0c75bc+n9yaUUYh0HQnuQ="
},
"string.prototype.codepointat": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz",
"integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg=="
},
"string.prototype.trim": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz",
"integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=",
"requires": {
"define-properties": "^1.1.2",
"es-abstract": "^1.5.0",
"function-bind": "^1.0.2"
}
},
"string.prototype.trimleft": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz",
"integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==",
"requires": {
"define-properties": "^1.1.3",
"function-bind": "^1.1.1"
}
},
"string.prototype.trimright": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz",
"integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==",
"requires": {
"define-properties": "^1.1.3",
"function-bind": "^1.1.1"
}
},
"strip-bom": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM="
},
"tail": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz",
"integrity": "sha1-0p3nJ1DMmdseBTr/E8NZ7PtxMAI="
},
"tape": {
"version": "4.11.0",
"resolved": "https://registry.npmjs.org/tape/-/tape-4.11.0.tgz",
"integrity": "sha512-yixvDMX7q7JIs/omJSzSZrqulOV51EC9dK8dM0TzImTIkHWfe2/kFyL5v+d9C+SrCMaICk59ujsqFAVidDqDaA==",
"requires": {
"deep-equal": "~1.0.1",
"defined": "~1.0.0",
"for-each": "~0.3.3",
"function-bind": "~1.1.1",
"glob": "~7.1.4",
"has": "~1.0.3",
"inherits": "~2.0.4",
"minimist": "~1.2.0",
"object-inspect": "~1.6.0",
"resolve": "~1.11.1",
"resumer": "~0.0.0",
"string.prototype.trim": "~1.1.2",
"through": "~2.3.8"
}
},
"through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
},
"underscore": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
"integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg=="
},
"universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
"integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
},
"unorm": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA=="
},
"uuid": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
"integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ=="
},
"which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
"requires": {
"isexe": "^2.0.0"
}
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xcode": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/xcode/-/xcode-2.0.0.tgz",
"integrity": "sha512-5xF6RCjAdDEiEsbbZaS/gBRt3jZ/177otZcpoLCjGN/u1LrfgH7/Sgeeavpr/jELpyDqN2im3AKosl2G2W8hfw==",
"requires": {
"simple-plist": "^1.0.0",
"uuid": "^3.3.2"
}
},
"xml-escape": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/xml-escape/-/xml-escape-1.1.0.tgz",
"integrity": "sha1-OQTBQ/qOs6ADDsZG0pAqLxtwbEQ="
},
"xmlbuilder": {
"version": "9.0.7",
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0="
},
"xmldom": {
"version": "0.1.27",
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz",
"integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk="
}
}
}

31
mobile/package.json Normal file
View File

@ -0,0 +1,31 @@
{
"name": "net.dariogenga.fecharts",
"displayName": "FE_Charts",
"version": "1.0.0",
"description": "A sample Apache Cordova application that responds to the deviceready event.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"ecosystem:cordova"
],
"author": "Apache Cordova Team",
"license": "Apache-2.0",
"dependencies": {
"cordova-android": "^8.1.0",
"cordova-ios": "^5.1.1"
},
"devDependencies": {
"cordova-plugin-whitelist": "^1.3.4"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {}
},
"platforms": [
"android",
"ios"
]
}
}

71
mobile/www/css/app.css Normal file
View File

@ -0,0 +1,71 @@
/* Material Icons Font (for MD theme) */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(../fonts/MaterialIcons-Regular.woff) format('woff'),
url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
/* Framework7 Icons Font (for iOS theme) */
@font-face {
font-family: 'Framework7 Icons';
font-style: normal;
font-weight: 400;
src: url("../fonts/Framework7Icons-Regular.eot");
src: url("../fonts/Framework7Icons-Regular.woff2") format("woff2"),
url("../fonts/Framework7Icons-Regular.woff") format("woff"),
url("../fonts/Framework7Icons-Regular.ttf") format("truetype");
}
.f7-icons {
font-family: 'Framework7 Icons';
font-weight: normal;
font-style: normal;
font-size: 25px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
font-feature-settings: "liga";
text-align: center;
}

70
mobile/www/css/icons.css Normal file
View File

@ -0,0 +1,70 @@
/* Material Icons Font (for MD theme) */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(../fonts/MaterialIcons-Regular.woff) format('woff'),
url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
/* Framework7 Icons Font (for iOS theme) */
@font-face {
font-family: 'Framework7 Icons';
font-style: normal;
font-weight: 400;
src: url("../fonts/Framework7Icons-Regular.eot");
src: url("../fonts/Framework7Icons-Regular.woff2") format("woff2"),
url("../fonts/Framework7Icons-Regular.woff") format("woff"),
url("../fonts/Framework7Icons-Regular.ttf") format("truetype");
}
.f7-icons {
font-family: 'Framework7 Icons';
font-weight: normal;
font-style: normal;
font-size: 25px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
font-feature-settings: "liga";
text-align: center;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,311 @@
import Template7 from 'template7';
import Dom7 from 'dom7';
import Framework7 from './components/app/app-class';
// Helpers
import Request from './utils/request';
import Utils from './utils/utils';
import Support from './utils/support';
import Device from './utils/device';
// Modules
import {Clicks as ClicksNamespace} from './modules/clicks/clicks';
import {Device as DeviceNamespace} from './modules/device/device';
import {Request as RequestNamespace} from './modules/request/request';
import {Resize as ResizeNamespace} from './modules/resize/resize';
import {Router as RouterNamespace} from './modules/router/router';
import {ServiceWorker as ServiceWorkerNamespace} from './modules/service-worker/service-worker';
import {Support as SupportNamespace} from './modules/support/support';
import {Touch as TouchNamespace} from './modules/touch/touch';
import {Utils as UtilsNamespace} from './modules/utils/utils';
// Components
import {Accordion as AccordionNamespace} from './components/accordion/accordion';
import {Actions as ActionsNamespace} from './components/actions/actions';
import {Autocomplete as AutocompleteNamespace} from './components/autocomplete/autocomplete';
import {Badge as BadgeNamespace} from './components/badge/badge';
import {Block as BlockNamespace} from './components/block/block';
import {Button as ButtonNamespace} from './components/button/button';
import {Calendar as CalendarNamespace} from './components/calendar/calendar';
import {Card as CardNamespace} from './components/card/card';
import {Checkbox as CheckboxNamespace} from './components/checkbox/checkbox';
import {Chip as ChipNamespace} from './components/chip/chip';
import {ContactsList as ContactsListNamespace} from './components/contacts-list/contacts-list';
import {DataTable as DataTableNamespace} from './components/data-table/data-table';
import {Dialog as DialogNamespace} from './components/dialog/dialog';
import {Elevation as ElevationNamespace} from './components/elevation/elevation';
import {Fab as FabNamespace} from './components/fab/fab';
import {Form as FormNamespace} from './components/form/form';
import {Gauge as GaugeNamespace} from './components/gauge/gauge';
import {Grid as GridNamespace} from './components/grid/grid';
import {Icon as IconNamespace} from './components/icon/icon';
import {InfiniteScroll as InfiniteScrollNamespace} from './components/infinite-scroll/infinite-scroll';
import {Input as InputNamespace} from './components/input/input';
import {Lazy as LazyNamespace} from './components/lazy/lazy';
import {Link as LinkNamespace} from './components/link/link';
import {List as ListNamespace} from './components/list/list';
import {ListIndex as ListIndexNamespace} from './components/list-index/list-index';
import {LoginScreen as LoginScreenNamespace} from './components/login-screen/login-screen';
import {Menu as MenuNamespace} from './components/menu/menu';
import {Messagebar as MessagebarNamespace} from './components/messagebar/messagebar';
import {Messages as MessagesNamespace} from './components/messages/messages';
import {Modal as ModalNamespace} from './components/modal/modal';
import {Navbar as NavbarNamespace} from './components/navbar/navbar';
import {Notification as NotificationNamespace} from './components/notification/notification';
import {Page as PageNamespace} from './components/page/page';
import {Panel as PanelNamespace} from './components/panel/panel';
import {PhotoBrowser as PhotoBrowserNamespace} from './components/photo-browser/photo-browser';
import {Picker as PickerNamespace} from './components/picker/picker';
import {Popover as PopoverNamespace} from './components/popover/popover';
import {Popup as PopupNamespace} from './components/popup/popup';
import {Preloader as PreloaderNamespace} from './components/preloader/preloader';
import {Progressbar as ProgressbarNamespace} from './components/progressbar/progressbar';
import {PullToRefresh as PullToRefreshNamespace} from './components/pull-to-refresh/pull-to-refresh';
import {Radio as RadioNamespace} from './components/radio/radio';
import {Range as RangeNamespace} from './components/range/range';
import {Searchbar as SearchbarNamespace} from './components/searchbar/searchbar';
import {Sheet as SheetNamespace} from './components/sheet/sheet';
import {Skeleton as SkeletonNamespace} from './components/skeleton/skeleton';
import {SmartSelect as SmartSelectNamespace} from './components/smart-select/smart-select';
import {Sortable as SortableNamespace} from './components/sortable/sortable';
import {Statusbar as StatusbarNamespace} from './components/statusbar/statusbar';
import {Stepper as StepperNamespace} from './components/stepper/stepper';
import {Subnavbar as SubnavbarNamespace} from './components/subnavbar/subnavbar';
import {Swipeout as SwipeoutNamespace} from './components/swipeout/swipeout';
import {Swiper as SwiperNamespace} from './components/swiper/swiper';
import {Tabs as TabsNamespace} from './components/tabs/tabs';
import {Timeline as TimelineNamespace} from './components/timeline/timeline';
import {Toast as ToastNamespace} from './components/toast/toast';
import {Toggle as ToggleNamespace} from './components/toggle/toggle';
import {Toolbar as ToolbarNamespace} from './components/toolbar/toolbar';
import {Tooltip as TooltipNamespace} from './components/tooltip/tooltip';
import {TouchRipple as TouchRippleNamespace} from './components/touch-ripple/touch-ripple';
import {Typography as TypographyNamespace} from './components/typography/typography';
import {Vi as ViNamespace} from './components/vi/vi';
import {View as ViewNamespace} from './components/view/view';
import {VirtualList as VirtualListNamespace} from './components/virtual-list/virtual-list';
declare module './components/app/app-class' {
interface Framework7Class<Events> extends ClicksNamespace.AppMethods{}
interface Framework7Params extends ClicksNamespace.AppParams{}
interface Framework7Events extends ClicksNamespace.AppEvents{}
interface Framework7Class<Events> extends DeviceNamespace.AppMethods{}
interface Framework7Params extends DeviceNamespace.AppParams{}
interface Framework7Events extends DeviceNamespace.AppEvents{}
interface Framework7Class<Events> extends RequestNamespace.AppMethods{}
interface Framework7Params extends RequestNamespace.AppParams{}
interface Framework7Events extends RequestNamespace.AppEvents{}
interface Framework7Class<Events> extends ResizeNamespace.AppMethods{}
interface Framework7Params extends ResizeNamespace.AppParams{}
interface Framework7Events extends ResizeNamespace.AppEvents{}
interface Framework7Class<Events> extends RouterNamespace.AppMethods{}
interface Framework7Params extends RouterNamespace.AppParams{}
interface Framework7Events extends RouterNamespace.AppEvents{}
interface Framework7Class<Events> extends ServiceWorkerNamespace.AppMethods{}
interface Framework7Params extends ServiceWorkerNamespace.AppParams{}
interface Framework7Events extends ServiceWorkerNamespace.AppEvents{}
interface Framework7Class<Events> extends SupportNamespace.AppMethods{}
interface Framework7Params extends SupportNamespace.AppParams{}
interface Framework7Events extends SupportNamespace.AppEvents{}
interface Framework7Class<Events> extends TouchNamespace.AppMethods{}
interface Framework7Params extends TouchNamespace.AppParams{}
interface Framework7Events extends TouchNamespace.AppEvents{}
interface Framework7Class<Events> extends UtilsNamespace.AppMethods{}
interface Framework7Params extends UtilsNamespace.AppParams{}
interface Framework7Events extends UtilsNamespace.AppEvents{}
interface Framework7Class<Events> extends AccordionNamespace.AppMethods{}
interface Framework7Params extends AccordionNamespace.AppParams{}
interface Framework7Events extends AccordionNamespace.AppEvents{}
interface Framework7Class<Events> extends ActionsNamespace.AppMethods{}
interface Framework7Params extends ActionsNamespace.AppParams{}
interface Framework7Events extends ActionsNamespace.AppEvents{}
interface Framework7Class<Events> extends AutocompleteNamespace.AppMethods{}
interface Framework7Params extends AutocompleteNamespace.AppParams{}
interface Framework7Events extends AutocompleteNamespace.AppEvents{}
interface Framework7Class<Events> extends BadgeNamespace.AppMethods{}
interface Framework7Params extends BadgeNamespace.AppParams{}
interface Framework7Events extends BadgeNamespace.AppEvents{}
interface Framework7Class<Events> extends BlockNamespace.AppMethods{}
interface Framework7Params extends BlockNamespace.AppParams{}
interface Framework7Events extends BlockNamespace.AppEvents{}
interface Framework7Class<Events> extends ButtonNamespace.AppMethods{}
interface Framework7Params extends ButtonNamespace.AppParams{}
interface Framework7Events extends ButtonNamespace.AppEvents{}
interface Framework7Class<Events> extends CalendarNamespace.AppMethods{}
interface Framework7Params extends CalendarNamespace.AppParams{}
interface Framework7Events extends CalendarNamespace.AppEvents{}
interface Framework7Class<Events> extends CardNamespace.AppMethods{}
interface Framework7Params extends CardNamespace.AppParams{}
interface Framework7Events extends CardNamespace.AppEvents{}
interface Framework7Class<Events> extends CheckboxNamespace.AppMethods{}
interface Framework7Params extends CheckboxNamespace.AppParams{}
interface Framework7Events extends CheckboxNamespace.AppEvents{}
interface Framework7Class<Events> extends ChipNamespace.AppMethods{}
interface Framework7Params extends ChipNamespace.AppParams{}
interface Framework7Events extends ChipNamespace.AppEvents{}
interface Framework7Class<Events> extends ContactsListNamespace.AppMethods{}
interface Framework7Params extends ContactsListNamespace.AppParams{}
interface Framework7Events extends ContactsListNamespace.AppEvents{}
interface Framework7Class<Events> extends DataTableNamespace.AppMethods{}
interface Framework7Params extends DataTableNamespace.AppParams{}
interface Framework7Events extends DataTableNamespace.AppEvents{}
interface Framework7Class<Events> extends DialogNamespace.AppMethods{}
interface Framework7Params extends DialogNamespace.AppParams{}
interface Framework7Events extends DialogNamespace.AppEvents{}
interface Framework7Class<Events> extends ElevationNamespace.AppMethods{}
interface Framework7Params extends ElevationNamespace.AppParams{}
interface Framework7Events extends ElevationNamespace.AppEvents{}
interface Framework7Class<Events> extends FabNamespace.AppMethods{}
interface Framework7Params extends FabNamespace.AppParams{}
interface Framework7Events extends FabNamespace.AppEvents{}
interface Framework7Class<Events> extends FormNamespace.AppMethods{}
interface Framework7Params extends FormNamespace.AppParams{}
interface Framework7Events extends FormNamespace.AppEvents{}
interface Framework7Class<Events> extends GaugeNamespace.AppMethods{}
interface Framework7Params extends GaugeNamespace.AppParams{}
interface Framework7Events extends GaugeNamespace.AppEvents{}
interface Framework7Class<Events> extends GridNamespace.AppMethods{}
interface Framework7Params extends GridNamespace.AppParams{}
interface Framework7Events extends GridNamespace.AppEvents{}
interface Framework7Class<Events> extends IconNamespace.AppMethods{}
interface Framework7Params extends IconNamespace.AppParams{}
interface Framework7Events extends IconNamespace.AppEvents{}
interface Framework7Class<Events> extends InfiniteScrollNamespace.AppMethods{}
interface Framework7Params extends InfiniteScrollNamespace.AppParams{}
interface Framework7Events extends InfiniteScrollNamespace.AppEvents{}
interface Framework7Class<Events> extends InputNamespace.AppMethods{}
interface Framework7Params extends InputNamespace.AppParams{}
interface Framework7Events extends InputNamespace.AppEvents{}
interface Framework7Class<Events> extends LazyNamespace.AppMethods{}
interface Framework7Params extends LazyNamespace.AppParams{}
interface Framework7Events extends LazyNamespace.AppEvents{}
interface Framework7Class<Events> extends LinkNamespace.AppMethods{}
interface Framework7Params extends LinkNamespace.AppParams{}
interface Framework7Events extends LinkNamespace.AppEvents{}
interface Framework7Class<Events> extends ListNamespace.AppMethods{}
interface Framework7Params extends ListNamespace.AppParams{}
interface Framework7Events extends ListNamespace.AppEvents{}
interface Framework7Class<Events> extends ListIndexNamespace.AppMethods{}
interface Framework7Params extends ListIndexNamespace.AppParams{}
interface Framework7Events extends ListIndexNamespace.AppEvents{}
interface Framework7Class<Events> extends LoginScreenNamespace.AppMethods{}
interface Framework7Params extends LoginScreenNamespace.AppParams{}
interface Framework7Events extends LoginScreenNamespace.AppEvents{}
interface Framework7Class<Events> extends MenuNamespace.AppMethods{}
interface Framework7Params extends MenuNamespace.AppParams{}
interface Framework7Events extends MenuNamespace.AppEvents{}
interface Framework7Class<Events> extends MessagebarNamespace.AppMethods{}
interface Framework7Params extends MessagebarNamespace.AppParams{}
interface Framework7Events extends MessagebarNamespace.AppEvents{}
interface Framework7Class<Events> extends MessagesNamespace.AppMethods{}
interface Framework7Params extends MessagesNamespace.AppParams{}
interface Framework7Events extends MessagesNamespace.AppEvents{}
interface Framework7Class<Events> extends ModalNamespace.AppMethods{}
interface Framework7Params extends ModalNamespace.AppParams{}
interface Framework7Events extends ModalNamespace.AppEvents{}
interface Framework7Class<Events> extends NavbarNamespace.AppMethods{}
interface Framework7Params extends NavbarNamespace.AppParams{}
interface Framework7Events extends NavbarNamespace.AppEvents{}
interface Framework7Class<Events> extends NotificationNamespace.AppMethods{}
interface Framework7Params extends NotificationNamespace.AppParams{}
interface Framework7Events extends NotificationNamespace.AppEvents{}
interface Framework7Class<Events> extends PageNamespace.AppMethods{}
interface Framework7Params extends PageNamespace.AppParams{}
interface Framework7Events extends PageNamespace.AppEvents{}
interface Framework7Class<Events> extends PanelNamespace.AppMethods{}
interface Framework7Params extends PanelNamespace.AppParams{}
interface Framework7Events extends PanelNamespace.AppEvents{}
interface Framework7Class<Events> extends PhotoBrowserNamespace.AppMethods{}
interface Framework7Params extends PhotoBrowserNamespace.AppParams{}
interface Framework7Events extends PhotoBrowserNamespace.AppEvents{}
interface Framework7Class<Events> extends PickerNamespace.AppMethods{}
interface Framework7Params extends PickerNamespace.AppParams{}
interface Framework7Events extends PickerNamespace.AppEvents{}
interface Framework7Class<Events> extends PopoverNamespace.AppMethods{}
interface Framework7Params extends PopoverNamespace.AppParams{}
interface Framework7Events extends PopoverNamespace.AppEvents{}
interface Framework7Class<Events> extends PopupNamespace.AppMethods{}
interface Framework7Params extends PopupNamespace.AppParams{}
interface Framework7Events extends PopupNamespace.AppEvents{}
interface Framework7Class<Events> extends PreloaderNamespace.AppMethods{}
interface Framework7Params extends PreloaderNamespace.AppParams{}
interface Framework7Events extends PreloaderNamespace.AppEvents{}
interface Framework7Class<Events> extends ProgressbarNamespace.AppMethods{}
interface Framework7Params extends ProgressbarNamespace.AppParams{}
interface Framework7Events extends ProgressbarNamespace.AppEvents{}
interface Framework7Class<Events> extends PullToRefreshNamespace.AppMethods{}
interface Framework7Params extends PullToRefreshNamespace.AppParams{}
interface Framework7Events extends PullToRefreshNamespace.AppEvents{}
interface Framework7Class<Events> extends RadioNamespace.AppMethods{}
interface Framework7Params extends RadioNamespace.AppParams{}
interface Framework7Events extends RadioNamespace.AppEvents{}
interface Framework7Class<Events> extends RangeNamespace.AppMethods{}
interface Framework7Params extends RangeNamespace.AppParams{}
interface Framework7Events extends RangeNamespace.AppEvents{}
interface Framework7Class<Events> extends SearchbarNamespace.AppMethods{}
interface Framework7Params extends SearchbarNamespace.AppParams{}
interface Framework7Events extends SearchbarNamespace.AppEvents{}
interface Framework7Class<Events> extends SheetNamespace.AppMethods{}
interface Framework7Params extends SheetNamespace.AppParams{}
interface Framework7Events extends SheetNamespace.AppEvents{}
interface Framework7Class<Events> extends SkeletonNamespace.AppMethods{}
interface Framework7Params extends SkeletonNamespace.AppParams{}
interface Framework7Events extends SkeletonNamespace.AppEvents{}
interface Framework7Class<Events> extends SmartSelectNamespace.AppMethods{}
interface Framework7Params extends SmartSelectNamespace.AppParams{}
interface Framework7Events extends SmartSelectNamespace.AppEvents{}
interface Framework7Class<Events> extends SortableNamespace.AppMethods{}
interface Framework7Params extends SortableNamespace.AppParams{}
interface Framework7Events extends SortableNamespace.AppEvents{}
interface Framework7Class<Events> extends StatusbarNamespace.AppMethods{}
interface Framework7Params extends StatusbarNamespace.AppParams{}
interface Framework7Events extends StatusbarNamespace.AppEvents{}
interface Framework7Class<Events> extends StepperNamespace.AppMethods{}
interface Framework7Params extends StepperNamespace.AppParams{}
interface Framework7Events extends StepperNamespace.AppEvents{}
interface Framework7Class<Events> extends SubnavbarNamespace.AppMethods{}
interface Framework7Params extends SubnavbarNamespace.AppParams{}
interface Framework7Events extends SubnavbarNamespace.AppEvents{}
interface Framework7Class<Events> extends SwipeoutNamespace.AppMethods{}
interface Framework7Params extends SwipeoutNamespace.AppParams{}
interface Framework7Events extends SwipeoutNamespace.AppEvents{}
interface Framework7Class<Events> extends SwiperNamespace.AppMethods{}
interface Framework7Params extends SwiperNamespace.AppParams{}
interface Framework7Events extends SwiperNamespace.AppEvents{}
interface Framework7Class<Events> extends TabsNamespace.AppMethods{}
interface Framework7Params extends TabsNamespace.AppParams{}
interface Framework7Events extends TabsNamespace.AppEvents{}
interface Framework7Class<Events> extends TimelineNamespace.AppMethods{}
interface Framework7Params extends TimelineNamespace.AppParams{}
interface Framework7Events extends TimelineNamespace.AppEvents{}
interface Framework7Class<Events> extends ToastNamespace.AppMethods{}
interface Framework7Params extends ToastNamespace.AppParams{}
interface Framework7Events extends ToastNamespace.AppEvents{}
interface Framework7Class<Events> extends ToggleNamespace.AppMethods{}
interface Framework7Params extends ToggleNamespace.AppParams{}
interface Framework7Events extends ToggleNamespace.AppEvents{}
interface Framework7Class<Events> extends ToolbarNamespace.AppMethods{}
interface Framework7Params extends ToolbarNamespace.AppParams{}
interface Framework7Events extends ToolbarNamespace.AppEvents{}
interface Framework7Class<Events> extends TooltipNamespace.AppMethods{}
interface Framework7Params extends TooltipNamespace.AppParams{}
interface Framework7Events extends TooltipNamespace.AppEvents{}
interface Framework7Class<Events> extends TouchRippleNamespace.AppMethods{}
interface Framework7Params extends TouchRippleNamespace.AppParams{}
interface Framework7Events extends TouchRippleNamespace.AppEvents{}
interface Framework7Class<Events> extends TypographyNamespace.AppMethods{}
interface Framework7Params extends TypographyNamespace.AppParams{}
interface Framework7Events extends TypographyNamespace.AppEvents{}
interface Framework7Class<Events> extends ViNamespace.AppMethods{}
interface Framework7Params extends ViNamespace.AppParams{}
interface Framework7Events extends ViNamespace.AppEvents{}
interface Framework7Class<Events> extends ViewNamespace.AppMethods{}
interface Framework7Params extends ViewNamespace.AppParams{}
interface Framework7Events extends ViewNamespace.AppEvents{}
interface Framework7Class<Events> extends VirtualListNamespace.AppMethods{}
interface Framework7Params extends VirtualListNamespace.AppParams{}
interface Framework7Events extends VirtualListNamespace.AppEvents{}
}
export { Request, Utils, Support, Device, Template7, Dom7 };
export default Framework7;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

311
mobile/www/framework7/js/framework7.d.ts vendored Normal file
View File

@ -0,0 +1,311 @@
import Template7 from 'template7';
import Dom7 from 'dom7';
import Framework7 from './components/app/app-class';
// Helpers
import Request from './utils/request';
import Utils from './utils/utils';
import Support from './utils/support';
import Device from './utils/device';
// Modules
import {Clicks as ClicksNamespace} from './modules/clicks/clicks';
import {Device as DeviceNamespace} from './modules/device/device';
import {Request as RequestNamespace} from './modules/request/request';
import {Resize as ResizeNamespace} from './modules/resize/resize';
import {Router as RouterNamespace} from './modules/router/router';
import {ServiceWorker as ServiceWorkerNamespace} from './modules/service-worker/service-worker';
import {Support as SupportNamespace} from './modules/support/support';
import {Touch as TouchNamespace} from './modules/touch/touch';
import {Utils as UtilsNamespace} from './modules/utils/utils';
// Components
import {Accordion as AccordionNamespace} from './components/accordion/accordion';
import {Actions as ActionsNamespace} from './components/actions/actions';
import {Autocomplete as AutocompleteNamespace} from './components/autocomplete/autocomplete';
import {Badge as BadgeNamespace} from './components/badge/badge';
import {Block as BlockNamespace} from './components/block/block';
import {Button as ButtonNamespace} from './components/button/button';
import {Calendar as CalendarNamespace} from './components/calendar/calendar';
import {Card as CardNamespace} from './components/card/card';
import {Checkbox as CheckboxNamespace} from './components/checkbox/checkbox';
import {Chip as ChipNamespace} from './components/chip/chip';
import {ContactsList as ContactsListNamespace} from './components/contacts-list/contacts-list';
import {DataTable as DataTableNamespace} from './components/data-table/data-table';
import {Dialog as DialogNamespace} from './components/dialog/dialog';
import {Elevation as ElevationNamespace} from './components/elevation/elevation';
import {Fab as FabNamespace} from './components/fab/fab';
import {Form as FormNamespace} from './components/form/form';
import {Gauge as GaugeNamespace} from './components/gauge/gauge';
import {Grid as GridNamespace} from './components/grid/grid';
import {Icon as IconNamespace} from './components/icon/icon';
import {InfiniteScroll as InfiniteScrollNamespace} from './components/infinite-scroll/infinite-scroll';
import {Input as InputNamespace} from './components/input/input';
import {Lazy as LazyNamespace} from './components/lazy/lazy';
import {Link as LinkNamespace} from './components/link/link';
import {List as ListNamespace} from './components/list/list';
import {ListIndex as ListIndexNamespace} from './components/list-index/list-index';
import {LoginScreen as LoginScreenNamespace} from './components/login-screen/login-screen';
import {Menu as MenuNamespace} from './components/menu/menu';
import {Messagebar as MessagebarNamespace} from './components/messagebar/messagebar';
import {Messages as MessagesNamespace} from './components/messages/messages';
import {Modal as ModalNamespace} from './components/modal/modal';
import {Navbar as NavbarNamespace} from './components/navbar/navbar';
import {Notification as NotificationNamespace} from './components/notification/notification';
import {Page as PageNamespace} from './components/page/page';
import {Panel as PanelNamespace} from './components/panel/panel';
import {PhotoBrowser as PhotoBrowserNamespace} from './components/photo-browser/photo-browser';
import {Picker as PickerNamespace} from './components/picker/picker';
import {Popover as PopoverNamespace} from './components/popover/popover';
import {Popup as PopupNamespace} from './components/popup/popup';
import {Preloader as PreloaderNamespace} from './components/preloader/preloader';
import {Progressbar as ProgressbarNamespace} from './components/progressbar/progressbar';
import {PullToRefresh as PullToRefreshNamespace} from './components/pull-to-refresh/pull-to-refresh';
import {Radio as RadioNamespace} from './components/radio/radio';
import {Range as RangeNamespace} from './components/range/range';
import {Searchbar as SearchbarNamespace} from './components/searchbar/searchbar';
import {Sheet as SheetNamespace} from './components/sheet/sheet';
import {Skeleton as SkeletonNamespace} from './components/skeleton/skeleton';
import {SmartSelect as SmartSelectNamespace} from './components/smart-select/smart-select';
import {Sortable as SortableNamespace} from './components/sortable/sortable';
import {Statusbar as StatusbarNamespace} from './components/statusbar/statusbar';
import {Stepper as StepperNamespace} from './components/stepper/stepper';
import {Subnavbar as SubnavbarNamespace} from './components/subnavbar/subnavbar';
import {Swipeout as SwipeoutNamespace} from './components/swipeout/swipeout';
import {Swiper as SwiperNamespace} from './components/swiper/swiper';
import {Tabs as TabsNamespace} from './components/tabs/tabs';
import {Timeline as TimelineNamespace} from './components/timeline/timeline';
import {Toast as ToastNamespace} from './components/toast/toast';
import {Toggle as ToggleNamespace} from './components/toggle/toggle';
import {Toolbar as ToolbarNamespace} from './components/toolbar/toolbar';
import {Tooltip as TooltipNamespace} from './components/tooltip/tooltip';
import {TouchRipple as TouchRippleNamespace} from './components/touch-ripple/touch-ripple';
import {Typography as TypographyNamespace} from './components/typography/typography';
import {Vi as ViNamespace} from './components/vi/vi';
import {View as ViewNamespace} from './components/view/view';
import {VirtualList as VirtualListNamespace} from './components/virtual-list/virtual-list';
declare module './components/app/app-class' {
interface Framework7Class<Events> extends ClicksNamespace.AppMethods{}
interface Framework7Params extends ClicksNamespace.AppParams{}
interface Framework7Events extends ClicksNamespace.AppEvents{}
interface Framework7Class<Events> extends DeviceNamespace.AppMethods{}
interface Framework7Params extends DeviceNamespace.AppParams{}
interface Framework7Events extends DeviceNamespace.AppEvents{}
interface Framework7Class<Events> extends RequestNamespace.AppMethods{}
interface Framework7Params extends RequestNamespace.AppParams{}
interface Framework7Events extends RequestNamespace.AppEvents{}
interface Framework7Class<Events> extends ResizeNamespace.AppMethods{}
interface Framework7Params extends ResizeNamespace.AppParams{}
interface Framework7Events extends ResizeNamespace.AppEvents{}
interface Framework7Class<Events> extends RouterNamespace.AppMethods{}
interface Framework7Params extends RouterNamespace.AppParams{}
interface Framework7Events extends RouterNamespace.AppEvents{}
interface Framework7Class<Events> extends ServiceWorkerNamespace.AppMethods{}
interface Framework7Params extends ServiceWorkerNamespace.AppParams{}
interface Framework7Events extends ServiceWorkerNamespace.AppEvents{}
interface Framework7Class<Events> extends SupportNamespace.AppMethods{}
interface Framework7Params extends SupportNamespace.AppParams{}
interface Framework7Events extends SupportNamespace.AppEvents{}
interface Framework7Class<Events> extends TouchNamespace.AppMethods{}
interface Framework7Params extends TouchNamespace.AppParams{}
interface Framework7Events extends TouchNamespace.AppEvents{}
interface Framework7Class<Events> extends UtilsNamespace.AppMethods{}
interface Framework7Params extends UtilsNamespace.AppParams{}
interface Framework7Events extends UtilsNamespace.AppEvents{}
interface Framework7Class<Events> extends AccordionNamespace.AppMethods{}
interface Framework7Params extends AccordionNamespace.AppParams{}
interface Framework7Events extends AccordionNamespace.AppEvents{}
interface Framework7Class<Events> extends ActionsNamespace.AppMethods{}
interface Framework7Params extends ActionsNamespace.AppParams{}
interface Framework7Events extends ActionsNamespace.AppEvents{}
interface Framework7Class<Events> extends AutocompleteNamespace.AppMethods{}
interface Framework7Params extends AutocompleteNamespace.AppParams{}
interface Framework7Events extends AutocompleteNamespace.AppEvents{}
interface Framework7Class<Events> extends BadgeNamespace.AppMethods{}
interface Framework7Params extends BadgeNamespace.AppParams{}
interface Framework7Events extends BadgeNamespace.AppEvents{}
interface Framework7Class<Events> extends BlockNamespace.AppMethods{}
interface Framework7Params extends BlockNamespace.AppParams{}
interface Framework7Events extends BlockNamespace.AppEvents{}
interface Framework7Class<Events> extends ButtonNamespace.AppMethods{}
interface Framework7Params extends ButtonNamespace.AppParams{}
interface Framework7Events extends ButtonNamespace.AppEvents{}
interface Framework7Class<Events> extends CalendarNamespace.AppMethods{}
interface Framework7Params extends CalendarNamespace.AppParams{}
interface Framework7Events extends CalendarNamespace.AppEvents{}
interface Framework7Class<Events> extends CardNamespace.AppMethods{}
interface Framework7Params extends CardNamespace.AppParams{}
interface Framework7Events extends CardNamespace.AppEvents{}
interface Framework7Class<Events> extends CheckboxNamespace.AppMethods{}
interface Framework7Params extends CheckboxNamespace.AppParams{}
interface Framework7Events extends CheckboxNamespace.AppEvents{}
interface Framework7Class<Events> extends ChipNamespace.AppMethods{}
interface Framework7Params extends ChipNamespace.AppParams{}
interface Framework7Events extends ChipNamespace.AppEvents{}
interface Framework7Class<Events> extends ContactsListNamespace.AppMethods{}
interface Framework7Params extends ContactsListNamespace.AppParams{}
interface Framework7Events extends ContactsListNamespace.AppEvents{}
interface Framework7Class<Events> extends DataTableNamespace.AppMethods{}
interface Framework7Params extends DataTableNamespace.AppParams{}
interface Framework7Events extends DataTableNamespace.AppEvents{}
interface Framework7Class<Events> extends DialogNamespace.AppMethods{}
interface Framework7Params extends DialogNamespace.AppParams{}
interface Framework7Events extends DialogNamespace.AppEvents{}
interface Framework7Class<Events> extends ElevationNamespace.AppMethods{}
interface Framework7Params extends ElevationNamespace.AppParams{}
interface Framework7Events extends ElevationNamespace.AppEvents{}
interface Framework7Class<Events> extends FabNamespace.AppMethods{}
interface Framework7Params extends FabNamespace.AppParams{}
interface Framework7Events extends FabNamespace.AppEvents{}
interface Framework7Class<Events> extends FormNamespace.AppMethods{}
interface Framework7Params extends FormNamespace.AppParams{}
interface Framework7Events extends FormNamespace.AppEvents{}
interface Framework7Class<Events> extends GaugeNamespace.AppMethods{}
interface Framework7Params extends GaugeNamespace.AppParams{}
interface Framework7Events extends GaugeNamespace.AppEvents{}
interface Framework7Class<Events> extends GridNamespace.AppMethods{}
interface Framework7Params extends GridNamespace.AppParams{}
interface Framework7Events extends GridNamespace.AppEvents{}
interface Framework7Class<Events> extends IconNamespace.AppMethods{}
interface Framework7Params extends IconNamespace.AppParams{}
interface Framework7Events extends IconNamespace.AppEvents{}
interface Framework7Class<Events> extends InfiniteScrollNamespace.AppMethods{}
interface Framework7Params extends InfiniteScrollNamespace.AppParams{}
interface Framework7Events extends InfiniteScrollNamespace.AppEvents{}
interface Framework7Class<Events> extends InputNamespace.AppMethods{}
interface Framework7Params extends InputNamespace.AppParams{}
interface Framework7Events extends InputNamespace.AppEvents{}
interface Framework7Class<Events> extends LazyNamespace.AppMethods{}
interface Framework7Params extends LazyNamespace.AppParams{}
interface Framework7Events extends LazyNamespace.AppEvents{}
interface Framework7Class<Events> extends LinkNamespace.AppMethods{}
interface Framework7Params extends LinkNamespace.AppParams{}
interface Framework7Events extends LinkNamespace.AppEvents{}
interface Framework7Class<Events> extends ListNamespace.AppMethods{}
interface Framework7Params extends ListNamespace.AppParams{}
interface Framework7Events extends ListNamespace.AppEvents{}
interface Framework7Class<Events> extends ListIndexNamespace.AppMethods{}
interface Framework7Params extends ListIndexNamespace.AppParams{}
interface Framework7Events extends ListIndexNamespace.AppEvents{}
interface Framework7Class<Events> extends LoginScreenNamespace.AppMethods{}
interface Framework7Params extends LoginScreenNamespace.AppParams{}
interface Framework7Events extends LoginScreenNamespace.AppEvents{}
interface Framework7Class<Events> extends MenuNamespace.AppMethods{}
interface Framework7Params extends MenuNamespace.AppParams{}
interface Framework7Events extends MenuNamespace.AppEvents{}
interface Framework7Class<Events> extends MessagebarNamespace.AppMethods{}
interface Framework7Params extends MessagebarNamespace.AppParams{}
interface Framework7Events extends MessagebarNamespace.AppEvents{}
interface Framework7Class<Events> extends MessagesNamespace.AppMethods{}
interface Framework7Params extends MessagesNamespace.AppParams{}
interface Framework7Events extends MessagesNamespace.AppEvents{}
interface Framework7Class<Events> extends ModalNamespace.AppMethods{}
interface Framework7Params extends ModalNamespace.AppParams{}
interface Framework7Events extends ModalNamespace.AppEvents{}
interface Framework7Class<Events> extends NavbarNamespace.AppMethods{}
interface Framework7Params extends NavbarNamespace.AppParams{}
interface Framework7Events extends NavbarNamespace.AppEvents{}
interface Framework7Class<Events> extends NotificationNamespace.AppMethods{}
interface Framework7Params extends NotificationNamespace.AppParams{}
interface Framework7Events extends NotificationNamespace.AppEvents{}
interface Framework7Class<Events> extends PageNamespace.AppMethods{}
interface Framework7Params extends PageNamespace.AppParams{}
interface Framework7Events extends PageNamespace.AppEvents{}
interface Framework7Class<Events> extends PanelNamespace.AppMethods{}
interface Framework7Params extends PanelNamespace.AppParams{}
interface Framework7Events extends PanelNamespace.AppEvents{}
interface Framework7Class<Events> extends PhotoBrowserNamespace.AppMethods{}
interface Framework7Params extends PhotoBrowserNamespace.AppParams{}
interface Framework7Events extends PhotoBrowserNamespace.AppEvents{}
interface Framework7Class<Events> extends PickerNamespace.AppMethods{}
interface Framework7Params extends PickerNamespace.AppParams{}
interface Framework7Events extends PickerNamespace.AppEvents{}
interface Framework7Class<Events> extends PopoverNamespace.AppMethods{}
interface Framework7Params extends PopoverNamespace.AppParams{}
interface Framework7Events extends PopoverNamespace.AppEvents{}
interface Framework7Class<Events> extends PopupNamespace.AppMethods{}
interface Framework7Params extends PopupNamespace.AppParams{}
interface Framework7Events extends PopupNamespace.AppEvents{}
interface Framework7Class<Events> extends PreloaderNamespace.AppMethods{}
interface Framework7Params extends PreloaderNamespace.AppParams{}
interface Framework7Events extends PreloaderNamespace.AppEvents{}
interface Framework7Class<Events> extends ProgressbarNamespace.AppMethods{}
interface Framework7Params extends ProgressbarNamespace.AppParams{}
interface Framework7Events extends ProgressbarNamespace.AppEvents{}
interface Framework7Class<Events> extends PullToRefreshNamespace.AppMethods{}
interface Framework7Params extends PullToRefreshNamespace.AppParams{}
interface Framework7Events extends PullToRefreshNamespace.AppEvents{}
interface Framework7Class<Events> extends RadioNamespace.AppMethods{}
interface Framework7Params extends RadioNamespace.AppParams{}
interface Framework7Events extends RadioNamespace.AppEvents{}
interface Framework7Class<Events> extends RangeNamespace.AppMethods{}
interface Framework7Params extends RangeNamespace.AppParams{}
interface Framework7Events extends RangeNamespace.AppEvents{}
interface Framework7Class<Events> extends SearchbarNamespace.AppMethods{}
interface Framework7Params extends SearchbarNamespace.AppParams{}
interface Framework7Events extends SearchbarNamespace.AppEvents{}
interface Framework7Class<Events> extends SheetNamespace.AppMethods{}
interface Framework7Params extends SheetNamespace.AppParams{}
interface Framework7Events extends SheetNamespace.AppEvents{}
interface Framework7Class<Events> extends SkeletonNamespace.AppMethods{}
interface Framework7Params extends SkeletonNamespace.AppParams{}
interface Framework7Events extends SkeletonNamespace.AppEvents{}
interface Framework7Class<Events> extends SmartSelectNamespace.AppMethods{}
interface Framework7Params extends SmartSelectNamespace.AppParams{}
interface Framework7Events extends SmartSelectNamespace.AppEvents{}
interface Framework7Class<Events> extends SortableNamespace.AppMethods{}
interface Framework7Params extends SortableNamespace.AppParams{}
interface Framework7Events extends SortableNamespace.AppEvents{}
interface Framework7Class<Events> extends StatusbarNamespace.AppMethods{}
interface Framework7Params extends StatusbarNamespace.AppParams{}
interface Framework7Events extends StatusbarNamespace.AppEvents{}
interface Framework7Class<Events> extends StepperNamespace.AppMethods{}
interface Framework7Params extends StepperNamespace.AppParams{}
interface Framework7Events extends StepperNamespace.AppEvents{}
interface Framework7Class<Events> extends SubnavbarNamespace.AppMethods{}
interface Framework7Params extends SubnavbarNamespace.AppParams{}
interface Framework7Events extends SubnavbarNamespace.AppEvents{}
interface Framework7Class<Events> extends SwipeoutNamespace.AppMethods{}
interface Framework7Params extends SwipeoutNamespace.AppParams{}
interface Framework7Events extends SwipeoutNamespace.AppEvents{}
interface Framework7Class<Events> extends SwiperNamespace.AppMethods{}
interface Framework7Params extends SwiperNamespace.AppParams{}
interface Framework7Events extends SwiperNamespace.AppEvents{}
interface Framework7Class<Events> extends TabsNamespace.AppMethods{}
interface Framework7Params extends TabsNamespace.AppParams{}
interface Framework7Events extends TabsNamespace.AppEvents{}
interface Framework7Class<Events> extends TimelineNamespace.AppMethods{}
interface Framework7Params extends TimelineNamespace.AppParams{}
interface Framework7Events extends TimelineNamespace.AppEvents{}
interface Framework7Class<Events> extends ToastNamespace.AppMethods{}
interface Framework7Params extends ToastNamespace.AppParams{}
interface Framework7Events extends ToastNamespace.AppEvents{}
interface Framework7Class<Events> extends ToggleNamespace.AppMethods{}
interface Framework7Params extends ToggleNamespace.AppParams{}
interface Framework7Events extends ToggleNamespace.AppEvents{}
interface Framework7Class<Events> extends ToolbarNamespace.AppMethods{}
interface Framework7Params extends ToolbarNamespace.AppParams{}
interface Framework7Events extends ToolbarNamespace.AppEvents{}
interface Framework7Class<Events> extends TooltipNamespace.AppMethods{}
interface Framework7Params extends TooltipNamespace.AppParams{}
interface Framework7Events extends TooltipNamespace.AppEvents{}
interface Framework7Class<Events> extends TouchRippleNamespace.AppMethods{}
interface Framework7Params extends TouchRippleNamespace.AppParams{}
interface Framework7Events extends TouchRippleNamespace.AppEvents{}
interface Framework7Class<Events> extends TypographyNamespace.AppMethods{}
interface Framework7Params extends TypographyNamespace.AppParams{}
interface Framework7Events extends TypographyNamespace.AppEvents{}
interface Framework7Class<Events> extends ViNamespace.AppMethods{}
interface Framework7Params extends ViNamespace.AppParams{}
interface Framework7Events extends ViNamespace.AppEvents{}
interface Framework7Class<Events> extends ViewNamespace.AppMethods{}
interface Framework7Params extends ViewNamespace.AppParams{}
interface Framework7Events extends ViewNamespace.AppEvents{}
interface Framework7Class<Events> extends VirtualListNamespace.AppMethods{}
interface Framework7Params extends VirtualListNamespace.AppParams{}
interface Framework7Events extends VirtualListNamespace.AppEvents{}
}
export { Request, Utils, Support, Device, Template7, Dom7 };
export default Framework7;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
mobile/www/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

227
mobile/www/index.html Normal file
View File

@ -0,0 +1,227 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="theme-color" content="#2196f3">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<title>My App</title>
<link rel="stylesheet" href="framework7/css/framework7.bundle.min.css">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div id="app">
<!-- Status bar overlay for fullscreen mode-->
<div class="statusbar"></div>
<!-- Left panel with cover effect-->
<div class="panel panel-left panel-cover theme-dark">
<div class="view">
<div class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="title">Left Panel</div>
</div>
</div>
<div class="page-content">
<div class="block">Left panel content goes here</div>
</div>
</div>
</div>
</div>
<!-- Right panel with reveal effect-->
<div class="panel panel-right panel-reveal theme-dark">
<div class="view">
<div class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="title">Right Panel</div>
</div>
</div>
<div class="page-content">
<div class="block">Right panel content goes here</div>
</div>
</div>
</div>
</div>
<!-- Your main view, should have "view-main" class -->
<div class="view view-main safe-areas">
<!-- Page, data-name contains page name which can be used in callbacks -->
<div class="page" data-name="home">
<!-- Top Navbar -->
<div class="navbar">
<div class="navbar-inner">
<div class="left">
<a href="#" class="link icon-only panel-open" data-panel="left">
<i class="icon f7-icons ios-only">menu</i>
<i class="icon material-icons md-only">menu</i>
</a>
</div>
<div class="title sliding">My App</div>
<div class="right">
<a href="#" class="link icon-only panel-open" data-panel="right">
<i class="icon f7-icons ios-only">menu</i>
<i class="icon material-icons md-only">menu</i>
</a>
</div>
</div>
</div>
<!-- Toolbar-->
<div class="toolbar toolbar-bottom">
<div class="toolbar-inner">
<a href="#" class="link">Left Link</a>
<a href="#" class="link">Right Link</a>
</div>
</div>
<!-- Scrollable page content-->
<div class="page-content">
<div class="block block-strong">
<p>Here is your blank Framework7 app. Let's see what we have here.</p>
</div>
<div class="block-title">Navigation</div>
<div class="list">
<ul>
<li>
<a href="/about/" class="item-content item-link">
<div class="item-inner">
<div class="item-title">About</div>
</div>
</a>
</li>
<li>
<a href="/form/" class="item-content item-link">
<div class="item-inner">
<div class="item-title">Form</div>
</div>
</a>
</li>
</ul>
</div>
<div class="block-title">Modals</div>
<div class="block block-strong">
<div class="row">
<div class="col-50">
<a href="#" class="button button-raised button-fill popup-open" data-popup="#my-popup">Popup</a>
</div>
<div class="col-50">
<a href="#" class="button button-raised button-fill login-screen-open" data-login-screen="#my-login-screen">Login Screen</a>
</div>
</div>
</div>
<div class="block-title">Panels</div>
<div class="block block-strong">
<div class="row">
<div class="col-50">
<a href="#" class="button button-raised button-fill panel-open" data-panel="left">Left Panel</a>
</div>
<div class="col-50">
<a href="#" class="button button-raised button-fill panel-open" data-panel="right">Right Panel</a>
</div>
</div>
</div>
<div class="block-title searchbar-hide-on-search">Page Loaders & Router</div>
<div class="list links-list searchbar-hide-on-search">
<ul>
<li>
<a href="/page-loader-template7/vladimir/123/about-me/1/?start=0&end=30#top">Template7 Page</a>
</li>
<li>
<a href="/page-loader-component/vladimir/123/about-me/1/?start=0&end=30#top">Component Page</a>
</li>
<li>
<a href="/load-something-that-doesnt-exist/">Default Route (404)</a>
</li>
<li>
<a href="/request-and-load/user/123456/">Request Data & Load</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Popup -->
<div class="popup" id="my-popup">
<div class="view">
<div class="page">
<div class="navbar">
<div class="navbar-inner">
<div class="title">Popup</div>
<div class="right">
<a href="#" class="link popup-close">Close</a>
</div>
</div>
</div>
<div class="page-content">
<div class="block">
<p>Popup content goes here.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Login Screen -->
<div class="login-screen" id="my-login-screen">
<div class="view">
<div class="page">
<div class="page-content login-screen-content">
<div class="login-screen-title">Login</div>
<div class="list">
<ul>
<li class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Username</div>
<div class="item-input-wrap">
<input type="text" name="username" placeholder="Your username">
</div>
</div>
</li>
<li class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Password</div>
<div class="item-input-wrap">
<input type="password" name="password" placeholder="Your password">
</div>
</div>
</li>
</ul>
</div>
<div class="list">
<ul>
<li>
<a href="#" class="item-link list-button login-button">Sign In</a>
</li>
</ul>
<div class="block-footer">Some text about login information.<br>Click "Sign In" to close Login Screen</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Cordova -->
<!--
<script src="cordova.js"></script>
-->
<!-- Framework7 library -->
<script src="framework7/js/framework7.bundle.min.js"></script>
<!-- App routes -->
<script src="js/routes.js"></script>
<!-- Your custom app scripts -->
<script src="js/app.js"></script>
</body>
</html>

44
mobile/www/js/app.js Normal file
View File

@ -0,0 +1,44 @@
// Dom7
var $$ = Dom7;
// Framework7 App main instance
var app = new Framework7({
root: '#app', // App root element
id: 'io.framework7.testapp', // App bundle ID
name: 'Framework7', // App name
theme: 'auto', // Automatic theme detection
// App root data
data: function () {
return {
user: {
firstName: 'John',
lastName: 'Doe',
},
};
},
// App root methods
methods: {
helloWorld: function () {
app.dialog.alert('Hello World!');
},
},
// App routes
routes: routes,
});
// Init/Create main view
var mainView = app.views.create('.view-main', {
url: '/'
});
// Login Screen Demo
$$('#my-login-screen .login-button').on('click', function () {
var username = $$('#my-login-screen [name="username"]').val();
var password = $$('#my-login-screen [name="password"]').val();
// Close login screen
app.loginScreen.close('#my-login-screen');
// Alert username and password
app.dialog.alert('Username: ' + username + '<br>Password: ' + password);
});

79
mobile/www/js/routes.js Normal file
View File

@ -0,0 +1,79 @@
routes = [
{
path: '/',
url: './index.html',
},
{
path: '/about/',
url: './pages/about.html',
},
{
path: '/form/',
url: './pages/form.html',
},
// Page Loaders & Router
{
path: '/page-loader-template7/:user/:userId/:posts/:postId/',
templateUrl: './pages/page-loader-template7.html',
},
{
path: '/page-loader-component/:user/:userId/:posts/:postId/',
componentUrl: './pages/page-loader-component.html',
},
{
path: '/request-and-load/user/:userId/',
async: function (routeTo, routeFrom, resolve, reject) {
// Router instance
var router = this;
// App instance
var app = router.app;
// Show Preloader
app.preloader.show();
// User ID from request
var userId = routeTo.params.userId;
// Simulate Ajax Request
setTimeout(function () {
// We got user data from request
var user = {
firstName: 'Vladimir',
lastName: 'Kharlampidi',
about: 'Hello, i am creator of Framework7! Hope you like it!',
links: [
{
title: 'Framework7 Website',
url: 'http://framework7.io',
},
{
title: 'Framework7 Forum',
url: 'http://forum.framework7.io',
},
]
};
// Hide Preloader
app.preloader.hide();
// Resolve route to load page
resolve(
{
componentUrl: './pages/request-and-load.html',
},
{
context: {
user: user,
}
}
);
}, 1000);
},
},
// Default route (404 page). MUST BE THE LAST
{
path: '(.*)',
url: './pages/404.html',
},
];

19
mobile/www/pages/404.html Normal file
View File

@ -0,0 +1,19 @@
<div class="page">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">Not found</div>
</div>
</div>
<div class="page-content">
<div class="block block-strong">
<p>Sorry</p>
<p>Requested content not found.</p>
</div>
</div>
</div>

View File

@ -0,0 +1,25 @@
<div class="page" data-name="about">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">About</div>
</div>
</div>
<div class="page-content">
<div class="block-title">About My App</div>
<div class="block block-strong">
<p>Fugiat perspiciatis excepturi, soluta quod non ullam deleniti. Nobis sint nemo consequuntur, fugiat. Eius perferendis animi autem incidunt vel quod tenetur nostrum, voluptate omnis quasi quidem illum consequuntur, a, quisquam.</p>
<p>Laudantium neque magnam vitae nemo quam commodi, in cum dolore obcaecati laborum, excepturi harum, optio qui, consequuntur? Obcaecati dolor sequi nesciunt culpa quia perspiciatis, reiciendis ex debitis, ut tenetur alias.</p>
</div>
<div class="block">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magni molestiae laudantium dignissimos est nobis delectus nemo ea alias voluptatum architecto, amet similique, saepe iste consectetur in repellat ut minus quibusdam!</p>
<p>Molestias et distinctio porro nesciunt ratione similique, magni doloribus, rerum nobis, aliquam quae reiciendis quasi modi. Nam a recusandae, fugiat in ea voluptates fuga eius, velit corrupti reprehenderit dignissimos consequatur!</p>
<p>Blanditiis, cumque quo adipisci. Molestiae, dolores dolorum quos doloremque ipsa ullam eligendi commodi deserunt doloribus inventore magni? Ea mollitia veniam nostrum nihil, iusto doloribus a at! Ea molestiae ullam delectus!</p>
</div>
</div>
</div>

257
mobile/www/pages/form.html Normal file
View File

@ -0,0 +1,257 @@
<div class="page" data-name="form">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">Form</div>
</div>
</div>
<div class="page-content">
<div class="block-title">Form Example</div>
<div class="list no-hairlines-md">
<ul>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Name</div>
<div class="item-input-wrap">
<input type="text" placeholder="Your name"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">E-mail</div>
<div class="item-input-wrap">
<input type="email" placeholder="E-mail"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">URL</div>
<div class="item-input-wrap">
<input type="url" placeholder="URL"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Password</div>
<div class="item-input-wrap">
<input type="password" placeholder="Password"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Phone</div>
<div class="item-input-wrap">
<input type="tel" placeholder="Phone"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Gender</div>
<div class="item-input-wrap">
<select>
<option>Male</option>
<option>Female</option>
</select>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Birth date</div>
<div class="item-input-wrap">
<input type="date" placeholder="Birth day" value="2014-04-30"/>
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Toggle</div>
<div class="item-after">
<label class="toggle toggle-init">
<input type="checkbox">
<span class="toggle-icon"></span>
</label>
</div>
</div>
</div>
</li>
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Slider</div>
<div class="item-input-wrap">
<div class="range-slider range-slider-init" data-label="true">
<input type="range" value="50" min="0" max="100" step="1">
</div>
</div>
</div>
</div>
</li>
<li class="align-top">
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Textarea</div>
<div class="item-input-wrap">
<textarea placeholder="Bio"></textarea>
</div>
</div>
</div>
</li>
<li class="align-top">
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Resizable</div>
<div class="item-input-wrap">
<textarea placeholder="Bio" class="resizable"></textarea>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="block-title">Buttons</div>
<div class="block block-strong">
<p class="row">
<a href="#" class="col button">Button</a>
<a href="#" class="col button button-fill">Fill</a>
</p>
<p class="row">
<a href="#" class="col button button-raised">Raised</a>
<a href="#" class="col button button-raised button-fill">Raised Fill</a>
</p>
<p class="row">
<a href="#" class="col button button-round">Round</a>
<a href="#" class="col button button-round button-fill">Round Fill</a>
</p>
<p class="row">
<a href="#" class="col button button-outline">Outline</a>
<a href="#" class="col button button-round button-outline">Outline Round</a>
</p>
<p class="row">
<a href="#" class="col button button-small button-outline">Small</a>
<a href="#" class="col button button-small button-round button-outline">Small Round</a>
</p>
<p class="row">
<a href="#" class="col button button-small button-fill">Small</a>
<a href="#" class="col button button-small button-round button-fill">Small Round</a>
</p>
<p class="row">
<a href="#" class="col button button-large button-raised">Large</a>
<a href="#" class="col button button-large button-fill button-raised">Large Fill</a>
</p>
<p class="row">
<a href="#" class="col button button-large button-fill button-raised color-red">Large Red</a>
<a href="#" class="col button button-large button-fill button-raised color-green">Large Green</a>
</p>
</div>
<div class="block-title">Checkbox group</div>
<div class="list">
<ul>
<li>
<label class="item-checkbox item-content">
<input type="checkbox" name="checkbox" value="Books" checked="checked"/>
<i class="icon icon-checkbox"></i>
<div class="item-inner">
<div class="item-title">Books</div>
</div>
</label>
</li>
<li>
<label class="item-checkbox item-content">
<input type="checkbox" name="checkbox" value="Movies"/>
<i class="icon icon-checkbox"></i>
<div class="item-inner">
<div class="item-title">Movies</div>
</div>
</label>
</li>
<li>
<label class="item-checkbox item-content">
<input type="checkbox" name="checkbox" value="Food"/>
<i class="icon icon-checkbox"></i>
<div class="item-inner">
<div class="item-title">Food</div>
</div>
</label>
</li>
<li>
<label class="item-checkbox item-content">
<input type="checkbox" name="checkbox" value="Drinks"/>
<i class="icon icon-checkbox"></i>
<div class="item-inner">
<div class="item-title">Drinks</div>
</div>
</label>
</li>
</ul>
</div>
<div class="block-title">Radio buttons group</div>
<div class="list">
<ul>
<li>
<label class="item-radio item-content">
<input type="radio" name="radio" value="Books" checked="checked"/>
<i class="icon icon-radio"></i>
<div class="item-inner">
<div class="item-title">Books</div>
</div>
</label>
</li>
<li>
<label class="item-radio item-content">
<input type="radio" name="radio" value="Movies"/>
<i class="icon icon-radio"></i>
<div class="item-inner">
<div class="item-title">Movies</div>
</div>
</label>
</li>
<li>
<label class="item-radio item-content">
<input type="radio" name="radio" value="Food"/>
<i class="icon icon-radio"></i>
<div class="item-inner">
<div class="item-title">Food</div>
</div>
</label>
</li>
<li>
<label class="item-radio item-content">
<input type="radio" name="radio" value="Drinks"/>
<i class="icon icon-radio"></i>
<div class="item-inner">
<div class="item-title">Drinks</div>
</div>
</label>
</li>
</ul>
</div>
</div>
</div>

View File

@ -0,0 +1,131 @@
<template>
<div class="page">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">Component Page</div>
</div>
</div>
<div class="page-content">
<div class="block block-strong">
<p>Component page is alos compiled with Template7, but it has much more functionality. In addition to Template7 page it has lifecycle hooks, events handling and data managment.</p>
<p>It is useful to use Component page when you need page-specific logic.</p>
</div>
<div class="block-title">Events Handling</div>
<div class="block block-strong">
<a href="#" class="button button-raised" @click="openAlert">Open Alert</a>
</div>
<div class="block-title">Page Component Data</div>
<div class="block block-strong">
<p>Hello! My name is {{name}}. I am {{age}} years old.</p>
<p>I like to play:</p>
<ul>
{{#each like}}
<li>{{this}}</li>
{{/each}}
</ul>
</div>
<div class="block-title">Extended Context</div>
<div class="block block-strong">
<p>Component page context as Template7 page context is also extended with some additional variables.</p>
<h4>$route</h4>
<p>Contains properties of the current route:</p>
<ul style="padding-left:25px">
<li><b>$route.url</b>: {{$route.url}}</li>
<li><b>$route.path</b>: {{$route.path}}</li>
<li><b>$route.params</b>: {{js 'return JSON.stringify(this.$route.params)'}}</li>
<li><b>$route.hash</b>: {{$route.hash}}</li>
<li><b>$route.query</b>: {{js 'return JSON.stringify(this.$route.query)'}}</li>
</ul>
<h4>$root</h4>
<p>Root data & methods:</p>
<ul style="padding-left:25px">
<li><b>$root.user.firstName</b>: {{$root.user.firstName}}</li>
<li><b>$root.user.lastName</b>: {{$root.user.lastName}}</li>
<li><a @click="$root.helloWorld()">$root.helloWorld()</a></li>
</ul>
<h4>$theme</h4>
<p>Currently active theme:</p>
<ul style="padding-left:25px">
<li><b>$theme.ios</b>: {{$theme.ios}}</li>
<li><b>$theme.md</b>: {{$theme.md}}</li>
</ul>
</div>
</div>
</div>
</template>
<style>
p {
margin: 10px 0;
}
</style>
<script>
return {
// Lifecycle Hooks
beforeCreate() {
console.log('componentBeforeCreate', this)
},
created() {
console.log('componentCreated', this)
},
beforeMount() {
console.log('componentBeforeMount', this)
},
mounted() {
console.log('componentMounted', this);
},
beforeDestroy() {
console.log('componentBeforeDestroy', this);
},
destroyed() {
console.log('componentDestroyed', this);
},
// Component Data
data: function () {
// Must return an object
return {
name: 'Jimmy',
age: 25,
like: ['Tennis', 'Chess', 'Football'],
}
},
// Component Methods
methods: {
openAlert: function () {
var self = this;
self.$app.dialog.alert('Hello World');
},
},
// Page Events
on: {
pageMounted: function(e, page) {
console.log('pageMounted', page);
},
pageInit: function(e, page) {
console.log('pageInit', page);
},
pageBeforeIn: function(e, page) {
console.log('pageBeforeIn', page);
},
pageAfterIn: function(e, page) {
console.log('pageAfterIn', page);
},
pageBeforeOut: function(e, page) {
console.log('pageBeforeOut', page);
},
pageAfterOut: function(e, page) {
console.log('pageAfterOut', page);
},
pageBeforeRemove: function(e, page) {
console.log('pageBeforeRemove', page);
},
}
}
</script>

View File

@ -0,0 +1,46 @@
<div class="page">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="link back">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">Template7 Page</div>
</div>
</div>
<div class="page-content">
<div class="block block-strong">
<p>This page was loaded and compiled with Template7 template engine.</p>
</div>
<div class="block-title">Extended Context</div>
<div class="block block-strong">
<p>Template7 page context is extended with some additional variables.</p>
<h4>$route</h4>
<p>Contains properties of the current route:</p>
<ul style="padding-left:25px">
<li><b>$route.url</b>: {{$route.url}}</li>
<li><b>$route.path</b>: {{$route.path}}</li>
<li><b>$route.params</b>: {{js 'return JSON.stringify(this.$route.params)'}}</li>
<li><b>$route.hash</b>: {{$route.hash}}</li>
<li><b>$route.query</b>: {{js 'return JSON.stringify(this.$route.query)'}}</li>
</ul>
<h4>$root</h4>
<p>Root app data:</p>
<ul style="padding-left:25px">
<li><b>$root.user.firstName</b>: {{$root.user.firstName}}</li>
<li><b>$root.user.lastName</b>: {{$root.user.lastName}}</li>
</ul>
<h4>$theme</h4>
<p>Currently active theme:</p>
<ul style="padding-left:25px">
<li><b>$theme.ios</b>: {{$theme.ios}}</li>
<li><b>$theme.md</b>: {{$theme.md}}</li>
</ul>
</div>
</div>
</div>

View File

@ -0,0 +1,30 @@
<template>
<div class="page">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="left">
<a href="#" class="back link">
<i class="icon icon-back"></i>
<span class="ios-only">Back</span>
</a>
</div>
<div class="title">{{user.firstName}} {{user.lastName}}</div>
</div>
</div>
<div class="page-content">
<div class="block block-strong">
{{user.about}}
</div>
<div class="list links-list">
<ul>
{{#each user.links}}
<li><a class="external" target="_blank" href="{{url}}">{{title}}</a></li>
{{/each}}
</ul>
</div>
</div>
</div>
</template>
<script>
return {}
</script>