├── .gitignore ├── LICENSE ├── README.md ├── demo ├── app │ ├── App_Resources │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── app.gradle │ │ │ ├── drawable-hdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-ldpi │ │ │ │ └── icon.png │ │ │ ├── drawable-mdpi │ │ │ │ └── icon.png │ │ │ └── drawable-nodpi │ │ │ │ └── splashscreen.9.png │ │ └── iOS │ │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── icon-29.png │ │ │ │ ├── icon-29@2x.png │ │ │ │ ├── icon-29@3x.png │ │ │ │ ├── icon-40.png │ │ │ │ ├── icon-40@2x.png │ │ │ │ ├── icon-40@3x.png │ │ │ │ ├── icon-50.png │ │ │ │ ├── icon-50@2x.png │ │ │ │ ├── icon-57.png │ │ │ │ ├── icon-57@2x.png │ │ │ │ ├── icon-60@2x.png │ │ │ │ ├── icon-60@3x.png │ │ │ │ ├── icon-72.png │ │ │ │ ├── icon-72@2x.png │ │ │ │ ├── icon-76.png │ │ │ │ ├── icon-76@2x.png │ │ │ │ └── icon-83.5@2x.png │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.launchimage │ │ │ │ ├── Contents.json │ │ │ │ ├── Default-568h@2x.png │ │ │ │ ├── Default-667h@2x.png │ │ │ │ ├── Default-736h@3x.png │ │ │ │ ├── Default-Landscape.png │ │ │ │ ├── Default-Landscape@2x.png │ │ │ │ ├── Default-Landscape@3x.png │ │ │ │ ├── Default-Portrait.png │ │ │ │ ├── Default-Portrait@2x.png │ │ │ │ ├── Default.png │ │ │ │ └── Default@2x.png │ │ │ ├── LaunchScreen.AspectFill.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchScreen-AspectFill.png │ │ │ │ └── LaunchScreen-AspectFill@2x.png │ │ │ └── LaunchScreen.Center.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchScreen-Center.png │ │ │ │ └── LaunchScreen-Center@2x.png │ │ │ ├── Info.plist │ │ │ ├── LaunchScreen.storyboard │ │ │ └── build.xcconfig │ ├── app.css │ ├── app.ts │ ├── main-page.ts │ ├── main-page.xml │ ├── main-view-model.ts │ ├── package.json │ └── references.d.ts ├── clean_android.cmd ├── hooks │ ├── before-prepare │ │ └── nativescript-dev-typescript.js │ └── before-watch │ │ └── nativescript-dev-typescript.js ├── livesync.cmd ├── package.json ├── readd.cmd ├── rebuild.cmd ├── rebuild_and_deploy.cmd ├── references.d.ts └── tsconfig.json └── plugin ├── .npmignore ├── Device.android.js ├── Device.ios.js ├── README.md ├── apiclient ├── index.d.ts ├── index.js └── index.ts ├── batch ├── index.d.ts ├── index.js └── index.ts ├── bitmap-factory ├── BitmapFactory.android.js ├── BitmapFactory.commons.js ├── BitmapFactory.ios.js ├── index.d.ts ├── index.js └── index.ts ├── crypto-js ├── LICENSE ├── README.md ├── aes.js ├── cipher-core.js ├── core.js ├── crypto-js.js ├── enc-base64.js ├── enc-hex.js ├── enc-latin1.js ├── enc-utf16.js ├── enc-utf8.js ├── evpkdf.js ├── format-hex.js ├── format-openssl.js ├── hmac-md5.js ├── hmac-ripemd160.js ├── hmac-sha1.js ├── hmac-sha224.js ├── hmac-sha256.js ├── hmac-sha3.js ├── hmac-sha384.js ├── hmac-sha512.js ├── hmac.js ├── index.js ├── lib-typedarrays.js ├── md5.js ├── mode-cfb.js ├── mode-ctr-gladman.js ├── mode-ctr.js ├── mode-ecb.js ├── mode-ofb.js ├── pad-ansix923.js ├── pad-iso10126.js ├── pad-iso97971.js ├── pad-nopadding.js ├── pad-pkcs7.js ├── pad-zeropadding.js ├── pbkdf2.js ├── rabbit-legacy.js ├── rabbit.js ├── rc4.js ├── ripemd160.js ├── sha1.js ├── sha224.js ├── sha256.js ├── sha3.js ├── sha384.js ├── sha512.js ├── tripledes.js └── x64-core.js ├── email ├── LICENSE ├── README.md ├── index.android.js ├── index.d.ts └── index.ios.js ├── enumerable ├── index.d.ts ├── index.js └── index.ts ├── index.d.ts ├── index.js ├── index.ts ├── js-yaml ├── LICENSE ├── README.md ├── index.js └── js-yaml │ ├── common.js │ ├── dumper.js │ ├── exception.js │ ├── loader.js │ ├── mark.js │ ├── schema.js │ ├── schema │ ├── core.js │ ├── default_full.js │ ├── default_safe.js │ ├── failsafe.js │ └── json.js │ ├── type.js │ └── type │ ├── binary.js │ ├── bool.js │ ├── float.js │ ├── int.js │ ├── js │ ├── function.js │ ├── regexp.js │ └── undefined.js │ ├── map.js │ ├── merge.js │ ├── null.js │ ├── omap.js │ ├── pairs.js │ ├── seq.js │ ├── set.js │ ├── str.js │ └── timestamp.js ├── lazy ├── index.d.ts ├── index.js └── index.ts ├── markdown ├── index.js └── markdown.js ├── moment ├── CHANGELOG.md ├── LICENSE ├── README.md ├── ender.js ├── index.d.ts ├── index.js └── locale │ ├── af.js │ ├── ar-ma.js │ ├── ar-sa.js │ ├── ar-tn.js │ ├── ar.js │ ├── az.js │ ├── be.js │ ├── bg.js │ ├── bn.js │ ├── bo.js │ ├── br.js │ ├── bs.js │ ├── ca.js │ ├── cs.js │ ├── cv.js │ ├── cy.js │ ├── da.js │ ├── de-at.js │ ├── de.js │ ├── dv.js │ ├── el.js │ ├── en-au.js │ ├── en-ca.js │ ├── en-gb.js │ ├── en-ie.js │ ├── en-nz.js │ ├── eo.js │ ├── es.js │ ├── et.js │ ├── eu.js │ ├── fa.js │ ├── fi.js │ ├── fo.js │ ├── fr-ca.js │ ├── fr-ch.js │ ├── fr.js │ ├── fy.js │ ├── gd.js │ ├── gl.js │ ├── he.js │ ├── hi.js │ ├── hr.js │ ├── hu.js │ ├── hy-am.js │ ├── id.js │ ├── is.js │ ├── it.js │ ├── ja.js │ ├── jv.js │ ├── ka.js │ ├── kk.js │ ├── km.js │ ├── ko.js │ ├── ky.js │ ├── lb.js │ ├── lo.js │ ├── lt.js │ ├── lv.js │ ├── me.js │ ├── mk.js │ ├── ml.js │ ├── mr.js │ ├── ms-my.js │ ├── ms.js │ ├── my.js │ ├── nb.js │ ├── ne.js │ ├── nl.js │ ├── nn.js │ ├── pa-in.js │ ├── pl.js │ ├── pt-br.js │ ├── pt.js │ ├── ro.js │ ├── ru.js │ ├── se.js │ ├── si.js │ ├── sk.js │ ├── sl.js │ ├── sq.js │ ├── sr-cyrl.js │ ├── sr.js │ ├── ss.js │ ├── sv.js │ ├── sw.js │ ├── ta.js │ ├── te.js │ ├── th.js │ ├── tl-ph.js │ ├── tlh.js │ ├── tr.js │ ├── tzl.js │ ├── tzm-latn.js │ ├── tzm.js │ ├── uk.js │ ├── uz.js │ ├── vi.js │ ├── x-pseudo.js │ ├── zh-cn.js │ └── zh-tw.js ├── package.json ├── platforms └── ios │ ├── Info.plist │ ├── build.xcconfig │ └── module.modulemap ├── references.d.ts ├── routed-values ├── index.d.ts ├── index.js └── index.ts ├── sqlite ├── LICENSE ├── README.md ├── index.android.js └── index.ios.js ├── stringformat ├── index.d.ts ├── index.js └── index.ts ├── tsconfig.json └── xmlobjects ├── index.d.ts ├── index.js └── index.ts /.gitignore: -------------------------------------------------------------------------------- 1 | /demo/node_modules 2 | /demo/platforms 3 | /demo/app/*.js 4 | /plugin/node_modules 5 | /plugin/*.map 6 | /plugin/enumerable/*.map 7 | /pushall.sh 8 | /plugin/stringformat/*.map 9 | /plugin/apiclient/*.map 10 | /plugin/batch/*.map 11 | /plugin/bitmap-factory/*.map 12 | /plugin/routed-values/*.map 13 | /demo/app/*.map 14 | /plugin/xmlobjects/*.map 15 | /demo/.vscode 16 | /plugin/lazy/*.map 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Marcel Kloubert 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 28 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/app.gradle: -------------------------------------------------------------------------------- 1 | // Add your native dependencies here: 2 | 3 | // Uncomment to add recyclerview-v7 dependency 4 | //dependencies { 5 | // compile 'com.android.support:recyclerview-v7:+' 6 | //} 7 | 8 | android { 9 | defaultConfig { 10 | generatedDensities = [] 11 | applicationId = "org.nativescript.NativeScriptToolboxDemo" 12 | } 13 | aaptOptions { 14 | additionalParameters "--no-version-vectors" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/Android/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/Android/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/Android/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /demo/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/Android/drawable-nodpi/splashscreen.9.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchScreen-AspectFill.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchScreen-AspectFill@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchScreen-Center.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchScreen-Center@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkloubert/nativescript-toolbox/c1eba3ad6a446907f7a1d15136e8d4177276c161/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiresFullScreen 28 | 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /demo/app/App_Resources/iOS/build.xcconfig: -------------------------------------------------------------------------------- 1 | // You can add custom settings here 2 | // for example you can uncomment the following line to force distribution code signing 3 | // CODE_SIGN_IDENTITY = iPhone Distribution 4 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 5 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 6 | -------------------------------------------------------------------------------- /demo/app/app.css: -------------------------------------------------------------------------------- 1 | .title { 2 | font-size: 30; 3 | horizontal-align: center; 4 | margin: 20; 5 | } 6 | 7 | button { 8 | font-size: 42; 9 | horizontal-align: center; 10 | } 11 | 12 | .message { 13 | font-size: 20; 14 | color: #284848; 15 | horizontal-align: center; 16 | margin: 0 20; 17 | text-align: center; 18 | } 19 | -------------------------------------------------------------------------------- /demo/app/app.ts: -------------------------------------------------------------------------------- 1 | import Application = require("application"); 2 | import Toolbox = require('nativescript-toolbox'); 3 | 4 | var text = "Vessel | Captain\n-----------|-------------\nNCC-1701 | James T Kirk\nNCC-1701 A | James T Kirk\nNCC-1701 D | Picard"; 5 | 6 | // var tree = Toolbox.markdownToJson(text, Toolbox.MarkdownDialect.Maruku); 7 | // console.log(JSON.stringify(tree, null, 2)); 8 | 9 | var html1 = Toolbox.markdownToHtml(text, 'Maruku'); 10 | var json1 = Toolbox.markdownToJson(text, Toolbox.MarkdownDialect.Maruku); 11 | var html2 = Toolbox.markdownToHtml(text, 'Gruber'); 12 | var json2 = Toolbox.markdownToJson(text, Toolbox.MarkdownDialect.Gruber); 13 | 14 | console.log(html1); 15 | console.log(html2); 16 | console.log(json1); 17 | console.log(json2); 18 | 19 | // console.log("vibrate: " + Toolbox.vibrate(1000)); 20 | 21 | Application.start({ moduleName: "main-page" }); 22 | -------------------------------------------------------------------------------- /demo/app/main-page.ts: -------------------------------------------------------------------------------- 1 | var createViewModel = require("./main-view-model").createViewModel; 2 | 3 | function onNavigatingTo(args) { 4 | var page = args.object; 5 | page.bindingContext = createViewModel(); 6 | } 7 | 8 | exports.onNavigatingTo = onNavigatingTo; -------------------------------------------------------------------------------- /demo/app/main-page.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |