From c9cc0d6470ff32d8fb9bc2f1b34664884c42c8ac Mon Sep 17 00:00:00 2001 From: HsuanXyz Date: Tue, 11 Jul 2017 12:22:03 +0800 Subject: [PATCH] release: 2.0.0-beta.3 --- demo/package-lock.json | 1149 +++-------------- demo/src/pages/home/home.html | 5 + demo/src/pages/home/home.ts | 24 +- dist/calendar.controller.js | 34 +- dist/calendar.controller.js.map | 2 +- dist/calendar.model.d.ts | 5 + dist/calendar.module.js | 13 +- dist/calendar.module.js.map | 2 +- dist/calendar.module.metadata.json | 2 +- dist/components/calendar-component.js.map | 1 - .../calendar-component.metadata.json | 1 - dist/components/calendar-week-component.scss | 37 - ...nent.d.ts => calendar-week.component.d.ts} | 0 ...omponent.js => calendar-week.component.js} | 2 +- ....js.map => calendar-week.component.js.map} | 2 +- ... => calendar-week.component.metadata.json} | 0 dist/components/calendar-week.component.scss | 57 + dist/components/calendar.component.d.ts | 20 + dist/components/calendar.component.js | 50 + dist/components/calendar.component.js.map | 1 + .../calendar.component.metadata.json | 1 + dist/components/calendar.component.scss | 51 + ...dar-component.d.ts => calendar.modal.d.ts} | 6 +- ...alendar-component.js => calendar.modal.js} | 54 +- dist/components/calendar.modal.js.map | 1 + dist/components/calendar.modal.metadata.json | 1 + ...dar-component.scss => calendar.modal.scss} | 0 dist/components/month-component.js.map | 1 - dist/components/month-component.metadata.json | 1 - ...th-component.d.ts => month.component.d.ts} | 1 + ...{month-component.js => month.component.js} | 6 +- dist/components/month.component.js.map | 1 + dist/components/month.component.metadata.json | 1 + ...th-component.scss => month.component.scss} | 49 +- dist/index.d.ts | 4 +- dist/index.js | 4 +- dist/index.js.map | 2 +- dist/index.metadata.json | 2 +- dist/services/calendar.service.d.ts | 1 + dist/services/calendar.service.js | 29 + dist/services/calendar.service.js.map | 2 +- dist/services/calendar.service.metadata.json | 2 +- dist/variables.scss | 4 +- package.json | 2 +- 44 files changed, 524 insertions(+), 1109 deletions(-) delete mode 100644 dist/components/calendar-component.js.map delete mode 100644 dist/components/calendar-component.metadata.json delete mode 100644 dist/components/calendar-week-component.scss rename dist/components/{calendar-week-component.d.ts => calendar-week.component.d.ts} (100%) rename dist/components/{calendar-week-component.js => calendar-week.component.js} (97%) rename dist/components/{calendar-week-component.js.map => calendar-week.component.js.map} (90%) rename dist/components/{calendar-week-component.metadata.json => calendar-week.component.metadata.json} (100%) create mode 100644 dist/components/calendar-week.component.scss create mode 100644 dist/components/calendar.component.d.ts create mode 100644 dist/components/calendar.component.js create mode 100644 dist/components/calendar.component.js.map create mode 100644 dist/components/calendar.component.metadata.json create mode 100644 dist/components/calendar.component.scss rename dist/components/{calendar-component.d.ts => calendar.modal.d.ts} (95%) rename dist/components/{calendar-component.js => calendar.modal.js} (74%) create mode 100644 dist/components/calendar.modal.js.map create mode 100644 dist/components/calendar.modal.metadata.json rename dist/components/{calendar-component.scss => calendar.modal.scss} (100%) delete mode 100644 dist/components/month-component.js.map delete mode 100644 dist/components/month-component.metadata.json rename dist/components/{month-component.d.ts => month.component.d.ts} (98%) rename dist/components/{month-component.js => month.component.js} (63%) create mode 100644 dist/components/month.component.js.map create mode 100644 dist/components/month.component.metadata.json rename dist/components/{month-component.scss => month.component.scss} (77%) diff --git a/demo/package-lock.json b/demo/package-lock.json index 5d29e0951..6e1c23025 100644 --- a/demo/package-lock.json +++ b/demo/package-lock.json @@ -65,17 +65,11 @@ "integrity": "sha1-0kHGF5LHlL7GJ6tksxpmvqIqu58=" }, "@ionic/app-scripts": { - "version": "1.3.7", - "resolved": "http://registry.npm.taobao.org/@ionic/app-scripts/download/@ionic/app-scripts-1.3.7.tgz", - "integrity": "sha1-T2O+sOp19jQCqE4oWn6F3/ui6zY=", + "version": "1.3.4", + "resolved": "http://registry.npm.taobao.org/@ionic/app-scripts/download/@ionic/app-scripts-1.3.4.tgz", + "integrity": "sha1-EmlkTwWtVWxqK7u+fvoJTchVv/8=", "dev": true, "dependencies": { - "acorn": { - "version": "4.0.13", - "resolved": "http://registry.npm.taobao.org/acorn/download/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true - }, "camelcase": { "version": "1.2.1", "resolved": "http://registry.npm.taobao.org/camelcase/download/camelcase-1.2.1.tgz", @@ -88,62 +82,12 @@ "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", "dev": true }, - "rollup": { - "version": "0.41.6", - "resolved": "http://registry.npm.taobao.org/rollup/download/rollup-0.41.6.tgz", - "integrity": "sha1-4NBUl4d6OYwQTYFtJzOnGKepTio=", - "dev": true - }, - "rollup-plugin-commonjs": { - "version": "8.0.2", - "resolved": "http://registry.npm.taobao.org/rollup-plugin-commonjs/download/rollup-plugin-commonjs-8.0.2.tgz", - "integrity": "sha1-mLFYm/4ypsD2d5C2DAtJmXKv7Yk=", - "dev": true - }, - "rollup-plugin-json": { - "version": "2.1.1", - "resolved": "http://registry.npm.taobao.org/rollup-plugin-json/download/rollup-plugin-json-2.1.1.tgz", - "integrity": "sha1-kzOQ3/PJ4+ZUFX1hMExeFn/FhiM=", - "dev": true, - "dependencies": { - "estree-walker": { - "version": "0.2.1", - "resolved": "http://registry.npm.taobao.org/estree-walker/download/estree-walker-0.2.1.tgz", - "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", - "dev": true - }, - "rollup-pluginutils": { - "version": "1.5.2", - "resolved": "http://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-1.5.2.tgz", - "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", - "dev": true - } - } - }, - "rollup-plugin-node-builtins": { - "version": "2.1.0", - "resolved": "http://registry.npm.taobao.org/rollup-plugin-node-builtins/download/rollup-plugin-node-builtins-2.1.0.tgz", - "integrity": "sha1-rZfLaTsLsfjkvqcarzK13P9cbKA=", - "dev": true - }, - "rollup-plugin-node-resolve": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/rollup-plugin-node-resolve/download/rollup-plugin-node-resolve-3.0.0.tgz", - "integrity": "sha1-i4l8TDAw1QASd7BRSyXSygloPuA=", - "dev": true - }, "source-map": { "version": "0.5.6", "resolved": "http://registry.npm.taobao.org/source-map/download/source-map-0.5.6.tgz", "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", "dev": true }, - "source-map-support": { - "version": "0.4.15", - "resolved": "http://registry.npm.taobao.org/source-map-support/download/source-map-support-0.4.15.tgz", - "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", - "dev": true - }, "uglify-js": { "version": "2.8.22", "resolved": "http://registry.npm.taobao.org/uglify-js/download/uglify-js-2.8.22.tgz", @@ -255,20 +199,6 @@ "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=", "dev": true }, - "abstract-leveldown": { - "version": "0.12.4", - "resolved": "http://registry.npm.taobao.org/abstract-leveldown/download/abstract-leveldown-0.12.4.tgz", - "integrity": "sha1-KeGOYy5g5OIh1YECR4UqY9ey5BA=", - "dev": true, - "dependencies": { - "xtend": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/xtend/download/xtend-3.0.0.tgz", - "integrity": "sha1-XM50B7r2Qsunvs2laBEcST9ZZlo=", - "dev": true - } - } - }, "accepts": { "version": "https://registry.npm.taobao.org/accepts/download/accepts-1.3.3.tgz", "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", @@ -315,11 +245,13 @@ }, "ansi-regex": { "version": "http://r.cnpmjs.org/ansi-regex/download/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true }, "ansi-styles": { "version": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true }, "anymatch": { "version": "https://registry.npm.taobao.org/anymatch/download/anymatch-1.3.0.tgz", @@ -380,11 +312,6 @@ } } }, - "archy": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/archy/download/archy-1.0.0.tgz", - "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=" - }, "are-we-there-yet": { "version": "https://registry.npm.taobao.org/are-we-there-yet/download/are-we-there-yet-1.1.2.tgz", "integrity": "sha1-gORw6VoIR5T+GJkmLFZnxuiN4bM=", @@ -404,16 +331,13 @@ }, "arr-diff": { "version": "https://registry.npm.taobao.org/arr-diff/download/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=" + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true }, "arr-flatten": { "version": "https://registry.npm.taobao.org/arr-flatten/download/arr-flatten-1.0.1.tgz", - "integrity": "sha1-5f/lTUXhnzLyFukeuZyM6JK7YEs=" - }, - "array-differ": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/array-differ/download/array-differ-1.0.0.tgz", - "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=" + "integrity": "sha1-5f/lTUXhnzLyFukeuZyM6JK7YEs=", + "dev": true }, "array-find-index": { "version": "https://registry.npm.taobao.org/array-find-index/download/array-find-index-1.0.2.tgz", @@ -425,14 +349,10 @@ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", "dev": true }, - "array-uniq": { - "version": "1.0.3", - "resolved": "http://registry.npm.taobao.org/array-uniq/download/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" - }, "array-unique": { "version": "https://registry.npm.taobao.org/array-unique/download/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true }, "arrify": { "version": "https://registry.npm.taobao.org/arrify/download/arrify-1.0.1.tgz", @@ -748,7 +668,8 @@ }, "balanced-match": { "version": "https://registry.npm.taobao.org/balanced-match/download/balanced-match-0.4.2.tgz", - "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true }, "base62": { "version": "https://registry.npm.taobao.org/base62/download/base62-0.1.1.tgz", @@ -765,11 +686,6 @@ "dev": true, "optional": true }, - "beeper": { - "version": "1.1.1", - "resolved": "http://registry.npm.taobao.org/beeper/download/beeper-1.1.1.tgz", - "integrity": "sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak=" - }, "big.js": { "version": "https://registry.npm.taobao.org/big.js/download/big.js-3.1.3.tgz", "integrity": "sha1-TK2iGTZS6zyp7I5VyQFWacmAaXg=", @@ -817,20 +733,6 @@ "integrity": "sha1-5LoM5BCkaTYyM2dgnstOZVMSUGk=", "dev": true }, - "bonjour": { - "version": "3.5.0", - "resolved": "http://registry.npm.taobao.org/bonjour/download/bonjour-3.5.0.tgz", - "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", - "dev": true, - "dependencies": { - "array-flatten": { - "version": "2.1.1", - "resolved": "http://registry.npm.taobao.org/array-flatten/download/array-flatten-2.1.1.tgz", - "integrity": "sha1-Qmu52oQJDBg42BLIFQryCoMx4pY=", - "dev": true - } - } - }, "boom": { "version": "https://registry.npm.taobao.org/boom/download/boom-2.10.1.tgz", "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", @@ -838,11 +740,13 @@ }, "brace-expansion": { "version": "https://registry.npm.taobao.org/brace-expansion/download/brace-expansion-1.1.6.tgz", - "integrity": "sha1-cZfX6qm4fmSDkOph/GbIRCdCDfk=" + "integrity": "sha1-cZfX6qm4fmSDkOph/GbIRCdCDfk=", + "dev": true }, "braces": { "version": "https://registry.npm.taobao.org/braces/download/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=" + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true }, "brorand": { "version": "https://registry.npm.taobao.org/brorand/download/brorand-1.1.0.tgz", @@ -876,12 +780,6 @@ "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", "dev": true }, - "browserify-fs": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/browserify-fs/download/browserify-fs-1.0.0.tgz", - "integrity": "sha1-8HWqinKdTRcW0GZiDjhvzBMRqW8=", - "dev": true - }, "browserify-rsa": { "version": "https://registry.npm.taobao.org/browserify-rsa/download/browserify-rsa-4.0.1.tgz", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", @@ -924,12 +822,6 @@ "integrity": "sha1-8mNHuC33b9N+GLy1KIxJcM/VxAQ=", "dev": true }, - "buffer-indexof": { - "version": "1.1.0", - "resolved": "http://registry.npm.taobao.org/buffer-indexof/download/buffer-indexof-1.1.0.tgz", - "integrity": "sha1-9U9kfE9OJSKLqmVqLlfkPV8nCYI=", - "dev": true - }, "buffer-shims": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", @@ -982,6 +874,7 @@ "chalk": { "version": "https://registry.npm.taobao.org/chalk/download/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, "dependencies": { "supports-color": { "version": "https://registry.npm.taobao.org/supports-color/download/supports-color-2.0.0.tgz", @@ -1027,17 +920,6 @@ "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", "dev": true }, - "clone": { - "version": "0.1.19", - "resolved": "http://registry.npm.taobao.org/clone/download/clone-0.1.19.tgz", - "integrity": "sha1-YT+2hjmyaklKxTJT4Vsaa9iK2oU=", - "dev": true - }, - "clone-stats": { - "version": "0.0.1", - "resolved": "http://registry.npm.taobao.org/clone-stats/download/clone-stats-0.0.1.tgz", - "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=" - }, "co": { "version": "https://registry.npm.taobao.org/co/download/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", @@ -1092,33 +974,8 @@ }, "concat-map": { "version": "https://registry.npm.taobao.org/concat-map/download/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "concat-stream": { - "version": "1.6.0", - "resolved": "http://registry.npm.taobao.org/concat-stream/download/concat-stream-1.6.0.tgz", - "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", - "dev": true, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/isarray/download/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "readable-stream": { - "version": "2.2.10", - "resolved": "http://registry.npm.taobao.org/readable-stream/download/readable-stream-2.2.10.tgz", - "integrity": "sha1-7/5yu3yITA3TNeI3nVJhltnQEe4=", - "dev": true - }, - "string_decoder": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/string_decoder/download/string_decoder-1.0.1.tgz", - "integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=", - "dev": true - } - } + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, "console-browserify": { "version": "https://registry.npm.taobao.org/console-browserify/download/console-browserify-1.1.0.tgz", @@ -1264,11 +1121,6 @@ "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", "dev": true }, - "dateformat": { - "version": "2.0.0", - "resolved": "http://registry.npm.taobao.org/dateformat/download/dateformat-2.0.0.tgz", - "integrity": "sha1-J0Pjq7XD/CRi5SfcpEXgTp9N7hc=" - }, "debug": { "version": "https://registry.npm.taobao.org/debug/download/debug-2.6.1.tgz", "integrity": "sha1-eYVQkLosTjEVzH2HaUkdWPBJE1E=", @@ -1279,30 +1131,6 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, - "deep-equal": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/deep-equal/download/deep-equal-1.0.1.tgz", - "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", - "dev": true - }, - "defaults": { - "version": "1.0.3", - "resolved": "http://registry.npm.taobao.org/defaults/download/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", - "dependencies": { - "clone": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/clone/download/clone-1.0.2.tgz", - "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=" - } - } - }, - "deferred-leveldown": { - "version": "0.2.0", - "resolved": "http://registry.npm.taobao.org/deferred-leveldown/download/deferred-leveldown-0.2.0.tgz", - "integrity": "sha1-LO8fER4cV4cNi7uK8mUOWHzS9bQ=", - "dev": true - }, "delayed-stream": { "version": "https://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", @@ -1318,11 +1146,6 @@ "integrity": "sha1-4b2Cxqq2ztlluXuIsX7T5SjKGMM=", "dev": true }, - "deprecated": { - "version": "0.0.1", - "resolved": "http://registry.npm.taobao.org/deprecated/download/deprecated-0.0.1.tgz", - "integrity": "sha1-+cmvVGSvoeepcUWKi97yqpTVuxk=" - }, "des.js": { "version": "https://registry.npm.taobao.org/des.js/download/des.js-1.0.0.tgz", "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", @@ -1333,11 +1156,6 @@ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", "dev": true }, - "detect-file": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/detect-file/download/detect-file-0.1.0.tgz", - "integrity": "sha1-STXe39lIhkjgBrASlWbpOGcR6mM=" - }, "detect-indent": { "version": "https://registry.npm.taobao.org/detect-indent/download/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", @@ -1353,24 +1171,6 @@ "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", "dev": true }, - "dns-equal": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/dns-equal/download/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", - "dev": true - }, - "dns-packet": { - "version": "1.1.1", - "resolved": "http://registry.npm.taobao.org/dns-packet/download/dns-packet-1.1.1.tgz", - "integrity": "sha1-I2nUUDivBF84mOb6VoYq7T9AKWw=", - "dev": true - }, - "dns-txt": { - "version": "2.0.2", - "resolved": "http://registry.npm.taobao.org/dns-txt/download/dns-txt-2.0.2.tgz", - "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", - "dev": true - }, "doctrine": { "version": "https://registry.npm.taobao.org/doctrine/download/doctrine-0.7.2.tgz", "integrity": "sha1-fLhgNZujvpDgQLJrcpzkv6ZUxSM=", @@ -1388,18 +1188,6 @@ "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", "dev": true }, - "duplexer2": { - "version": "0.0.2", - "resolved": "http://registry.npm.taobao.org/duplexer2/download/duplexer2-0.0.2.tgz", - "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", - "dependencies": { - "readable-stream": { - "version": "1.1.14", - "resolved": "http://registry.npm.taobao.org/readable-stream/download/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=" - } - } - }, "ecc-jsbn": { "version": "https://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.1.tgz", "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", @@ -1474,7 +1262,8 @@ }, "escape-string-regexp": { "version": "https://registry.npm.taobao.org/escape-string-regexp/download/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true }, "esmangle-evaluator": { "version": "https://registry.npm.taobao.org/esmangle-evaluator/download/esmangle-evaluator-1.0.1.tgz", @@ -1511,16 +1300,13 @@ }, "expand-brackets": { "version": "https://registry.npm.taobao.org/expand-brackets/download/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=" + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true }, "expand-range": { "version": "https://registry.npm.taobao.org/expand-range/download/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=" - }, - "expand-tilde": { - "version": "1.2.2", - "resolved": "http://registry.npm.taobao.org/expand-tilde/download/expand-tilde-1.2.2.tgz", - "integrity": "sha1-C4HrqJflo9MdHD0QL48BRB5VlEk=" + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true }, "express": { "version": "https://registry.npmjs.org/express/-/express-4.14.1.tgz", @@ -1546,7 +1332,8 @@ }, "extend": { "version": "https://registry.npm.taobao.org/extend/download/extend-3.0.0.tgz", - "integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ=" + "integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ=", + "dev": true }, "external-editor": { "version": "https://registry.npm.taobao.org/external-editor/download/external-editor-2.0.1.tgz", @@ -1555,7 +1342,8 @@ }, "extglob": { "version": "https://registry.npm.taobao.org/extglob/download/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=" + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true }, "extsprintf": { "version": "https://registry.npm.taobao.org/extsprintf/download/extsprintf-1.0.2.tgz", @@ -1566,11 +1354,6 @@ "version": "https://registry.npm.taobao.org/falafel/download/falafel-1.2.0.tgz", "integrity": "sha1-wY0k71CRF0pJfzGM0ksCaiXN2rQ=" }, - "fancy-log": { - "version": "1.3.0", - "resolved": "http://registry.npm.taobao.org/fancy-log/download/fancy-log-1.3.0.tgz", - "integrity": "sha1-Rb4X0Cu5kX1gzP/UmVyZnmyMmUg=" - }, "faye-websocket": { "version": "https://registry.npm.taobao.org/faye-websocket/download/faye-websocket-0.10.0.tgz", "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", @@ -1583,11 +1366,13 @@ }, "filename-regex": { "version": "https://registry.npm.taobao.org/filename-regex/download/filename-regex-2.0.0.tgz", - "integrity": "sha1-mW4+gEebmLmJfxWopYs9CE6SZ3U=" + "integrity": "sha1-mW4+gEebmLmJfxWopYs9CE6SZ3U=", + "dev": true }, "fill-range": { "version": "https://registry.npm.taobao.org/fill-range/download/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=" + "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", + "dev": true }, "finalhandler": { "version": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.5.1.tgz", @@ -1606,11 +1391,6 @@ } } }, - "find-index": { - "version": "0.1.1", - "resolved": "http://registry.npm.taobao.org/find-index/download/find-index-0.1.1.tgz", - "integrity": "sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ=" - }, "find-up": { "version": "https://registry.npm.taobao.org/find-up/download/find-up-1.1.2.tgz", "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", @@ -1628,28 +1408,15 @@ } } }, - "fined": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/fined/download/fined-1.0.2.tgz", - "integrity": "sha1-WyhCS3YNdZiWC374SA3/itNmDpc=" - }, - "first-chunk-stream": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/first-chunk-stream/download/first-chunk-stream-1.0.0.tgz", - "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=" - }, - "flagged-respawn": { - "version": "0.3.2", - "resolved": "http://registry.npm.taobao.org/flagged-respawn/download/flagged-respawn-0.3.2.tgz", - "integrity": "sha1-/xke3c1wiKZ1smEP/8l2vpuAdLU=" - }, "for-in": { "version": "https://registry.npm.taobao.org/for-in/download/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true }, "for-own": { "version": "https://registry.npm.taobao.org/for-own/download/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=" + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true }, "foreach": { "version": "https://registry.npm.taobao.org/foreach/download/foreach-2.0.5.tgz", @@ -1680,11 +1447,6 @@ "integrity": "sha1-ZR+DjiJCTnVm3hYdg1jKoZn4PU8=", "dev": true }, - "fs-exists-sync": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/fs-exists-sync/download/fs-exists-sync-0.1.0.tgz", - "integrity": "sha1-mC1ok6+RjnLQjeyehnP/K1qNat0=" - }, "fs-extra": { "version": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.0.0.tgz", "integrity": "sha1-M3NSve1KC3FPPrhN6M6nZenTdgA=", @@ -2399,12 +2161,6 @@ "integrity": "sha1-YE6Kkv4m/9n2+uMDmdSYThqyKCI=", "dev": true }, - "fwd-stream": { - "version": "1.0.4", - "resolved": "http://registry.npm.taobao.org/fwd-stream/download/fwd-stream-1.0.4.tgz", - "integrity": "sha1-7Sgcq+1G/uz5Ie4y3ExQs3KsfPo=", - "dev": true - }, "gauge": { "version": "https://registry.npm.taobao.org/gauge/download/gauge-2.7.3.tgz", "integrity": "sha1-HCOFX5YvF7OtPQ3HRD8wRULt/gk=", @@ -2444,90 +2200,13 @@ }, "glob-base": { "version": "https://registry.npm.taobao.org/glob-base/download/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=" + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true }, "glob-parent": { "version": "https://registry.npm.taobao.org/glob-parent/download/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=" - }, - "glob-stream": { - "version": "3.1.18", - "resolved": "http://registry.npm.taobao.org/glob-stream/download/glob-stream-3.1.18.tgz", - "integrity": "sha1-kXCl8St5Awb9/lmPMT+PeVT9FDs=", - "dependencies": { - "glob": { - "version": "4.5.3", - "resolved": "http://registry.npm.taobao.org/glob/download/glob-4.5.3.tgz", - "integrity": "sha1-xstz0yJsHv7wTePFbQEvAzd+4V8=" - }, - "minimatch": { - "version": "2.0.10", - "resolved": "http://registry.npm.taobao.org/minimatch/download/minimatch-2.0.10.tgz", - "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=" - } - } - }, - "glob-watcher": { - "version": "0.0.6", - "resolved": "http://registry.npm.taobao.org/glob-watcher/download/glob-watcher-0.0.6.tgz", - "integrity": "sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs=", - "dependencies": { - "gaze": { - "version": "0.5.2", - "resolved": "http://registry.npm.taobao.org/gaze/download/gaze-0.5.2.tgz", - "integrity": "sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8=" - }, - "glob": { - "version": "3.1.21", - "resolved": "http://registry.npm.taobao.org/glob/download/glob-3.1.21.tgz", - "integrity": "sha1-0p4KBV3qUTj00H7UDomC6DwgZs0=" - }, - "globule": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/globule/download/globule-0.1.0.tgz", - "integrity": "sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU=" - }, - "graceful-fs": { - "version": "1.2.3", - "resolved": "http://registry.npm.taobao.org/graceful-fs/download/graceful-fs-1.2.3.tgz", - "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=" - }, - "inherits": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/inherits/download/inherits-1.0.2.tgz", - "integrity": "sha1-ykMJ2t7mtUzAuNJH6NfHoJdb3Js=" - }, - "lodash": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/lodash/download/lodash-1.0.2.tgz", - "integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=" - }, - "lru-cache": { - "version": "2.7.3", - "resolved": "http://registry.npm.taobao.org/lru-cache/download/lru-cache-2.7.3.tgz", - "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=" - }, - "minimatch": { - "version": "0.2.14", - "resolved": "http://registry.npm.taobao.org/minimatch/download/minimatch-0.2.14.tgz", - "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=" - } - } - }, - "glob2base": { - "version": "0.0.12", - "resolved": "http://registry.npm.taobao.org/glob2base/download/glob2base-0.0.12.tgz", - "integrity": "sha1-nUGbPijxLoOjYhZKJ3BVkiycDVY=" - }, - "global-modules": { - "version": "0.2.3", - "resolved": "http://registry.npm.taobao.org/global-modules/download/global-modules-0.2.3.tgz", - "integrity": "sha1-6lo77ULG1s6ZWk+KEmm12uIjgo0=" - }, - "global-prefix": { - "version": "0.1.5", - "resolved": "http://registry.npm.taobao.org/global-prefix/download/global-prefix-0.1.5.tgz", - "integrity": "sha1-jTvGuNo8qBEqFg2NSW/wRiv+948=" + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true }, "globals": { "version": "https://registry.npmjs.org/globals/-/globals-9.16.0.tgz", @@ -2546,11 +2225,6 @@ } } }, - "glogg": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/glogg/download/glogg-1.0.0.tgz", - "integrity": "sha1-f+DxmfV6yQbPUS/urY+Q7kooT8U=" - }, "graceful-fs": { "version": "https://registry.npm.taobao.org/graceful-fs/download/graceful-fs-4.1.11.tgz", "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", @@ -2561,55 +2235,6 @@ "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", "dev": true }, - "gulp": { - "version": "3.9.1", - "resolved": "http://registry.npm.taobao.org/gulp/download/gulp-3.9.1.tgz", - "integrity": "sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=", - "dependencies": { - "semver": { - "version": "4.3.6", - "resolved": "http://registry.npm.taobao.org/semver/download/semver-4.3.6.tgz", - "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=" - } - } - }, - "gulp-util": { - "version": "3.0.8", - "resolved": "http://registry.npm.taobao.org/gulp-util/download/gulp-util-3.0.8.tgz", - "integrity": "sha1-AFTh50RQLifATBh8PsxQXdVLu08=", - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/isarray/download/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "object-assign": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/object-assign/download/object-assign-3.0.0.tgz", - "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=" - }, - "readable-stream": { - "version": "2.2.10", - "resolved": "http://registry.npm.taobao.org/readable-stream/download/readable-stream-2.2.10.tgz", - "integrity": "sha1-7/5yu3yITA3TNeI3nVJhltnQEe4=" - }, - "string_decoder": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/string_decoder/download/string_decoder-1.0.1.tgz", - "integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=" - }, - "through2": { - "version": "2.0.3", - "resolved": "http://registry.npm.taobao.org/through2/download/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=" - } - } - }, - "gulplog": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/gulplog/download/gulplog-1.0.0.tgz", - "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=" - }, "har-schema": { "version": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=", @@ -2622,18 +2247,14 @@ }, "has-ansi": { "version": "https://registry.npm.taobao.org/has-ansi/download/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=" + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true }, "has-flag": { "version": "https://registry.npm.taobao.org/has-flag/download/has-flag-1.0.0.tgz", "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", "dev": true }, - "has-gulplog": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/has-gulplog/download/has-gulplog-0.1.0.tgz", - "integrity": "sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=" - }, "has-unicode": { "version": "https://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz", "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", @@ -2664,11 +2285,6 @@ "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", "dev": true }, - "homedir-polyfill": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/homedir-polyfill/download/homedir-polyfill-1.0.1.tgz", - "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=" - }, "hosted-git-info": { "version": "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.2.0.tgz", "integrity": "sha1-eg0JeGPYhsD6u9zTe/F1jYvs+KU=", @@ -2689,12 +2305,6 @@ "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", "dev": true }, - "idb-wrapper": { - "version": "1.7.1", - "resolved": "http://registry.npm.taobao.org/idb-wrapper/download/idb-wrapper-1.7.1.tgz", - "integrity": "sha1-ajJnASLhc6hOzFz6lmj6LOsiGwQ=", - "dev": true - }, "ieee754": { "version": "https://registry.npm.taobao.org/ieee754/download/ieee754-1.1.8.tgz", "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", @@ -2721,17 +2331,13 @@ }, "inflight": { "version": "https://registry.npm.taobao.org/inflight/download/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=" + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true }, "inherits": { "version": "https://registry.npm.taobao.org/inherits/download/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "ini": { - "version": "1.3.4", - "resolved": "http://registry.npm.taobao.org/ini/download/ini-1.3.4.tgz", - "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=" - }, "inline-process-browser": { "version": "https://registry.npm.taobao.org/inline-process-browser/download/inline-process-browser-1.0.0.tgz", "integrity": "sha1-RqYbFT3TybFiSxoAYm7bT39BTyI=" @@ -2755,7 +2361,8 @@ }, "interpret": { "version": "https://registry.npm.taobao.org/interpret/download/interpret-1.0.1.tgz", - "integrity": "sha1-1Xn7f2k7hYAElHrzn6DbSfeVYCw=" + "integrity": "sha1-1Xn7f2k7hYAElHrzn6DbSfeVYCw=", + "dev": true }, "invariant": { "version": "https://registry.npm.taobao.org/invariant/download/invariant-2.2.2.tgz", @@ -2768,9 +2375,9 @@ "dev": true }, "ion2-calendar": { - "version": "2.0.0-beta.1", - "resolved": "http://registry.npm.taobao.org/ion2-calendar/download/ion2-calendar-2.0.0-beta.1.tgz", - "integrity": "sha1-aatqdoOdEOgkEahSQyizdjjobMM=", + "version": "1.0.7", + "resolved": "http://registry.npm.taobao.org/ion2-calendar/download/ion2-calendar-1.0.7.tgz", + "integrity": "sha1-Lb0YoJPSxYTmxL5X0Ptk+Krq130=", "dependencies": { "typescript": { "version": "2.0.9", @@ -2788,28 +2395,11 @@ "version": "https://registry.npm.taobao.org/ionicons/download/ionicons-3.0.0.tgz", "integrity": "sha1-QLja9P16MRUL0AIWD2ZJbiKpjDw=" }, - "ip": { - "version": "1.1.5", - "resolved": "http://registry.npm.taobao.org/ip/download/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", - "dev": true - }, "ipaddr.js": { "version": "http://r.cnpmjs.org/ipaddr.js/download/ipaddr.js-1.2.0.tgz", "integrity": "sha1-irpJyRknmVhb3WQ+DMtQ6K53e6Q=", "dev": true }, - "is": { - "version": "0.2.7", - "resolved": "http://registry.npm.taobao.org/is/download/is-0.2.7.tgz", - "integrity": "sha1-OzSixI81mXLzUEKEkZOucmS2NWI=", - "dev": true - }, - "is-absolute": { - "version": "0.2.6", - "resolved": "http://registry.npm.taobao.org/is-absolute/download/is-absolute-0.2.6.tgz", - "integrity": "sha1-IN5p89uULvLYe5wto28XIjWxtes=" - }, "is-arrayish": { "version": "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", @@ -2831,19 +2421,23 @@ }, "is-dotfile": { "version": "https://registry.npm.taobao.org/is-dotfile/download/is-dotfile-1.0.2.tgz", - "integrity": "sha1-LBMjg/ORmfjtwmjKAbmwB9IFzE0=" + "integrity": "sha1-LBMjg/ORmfjtwmjKAbmwB9IFzE0=", + "dev": true }, "is-equal-shallow": { "version": "https://registry.npm.taobao.org/is-equal-shallow/download/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=" + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true }, "is-extendable": { "version": "https://registry.npm.taobao.org/is-extendable/download/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true }, "is-extglob": { "version": "https://registry.npm.taobao.org/is-extglob/download/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true }, "is-finite": { "version": "https://registry.npm.taobao.org/is-finite/download/is-finite-1.0.2.tgz", @@ -2857,78 +2451,52 @@ }, "is-glob": { "version": "https://registry.npm.taobao.org/is-glob/download/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=" - }, - "is-module": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/is-module/download/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", "dev": true }, "is-number": { "version": "https://registry.npm.taobao.org/is-number/download/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=" - }, - "is-object": { - "version": "0.1.2", - "resolved": "http://registry.npm.taobao.org/is-object/download/is-object-0.1.2.tgz", - "integrity": "sha1-AO+8CIFsM8/ErIJR0TLhDcZQmNc=", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", "dev": true }, "is-posix-bracket": { "version": "https://registry.npm.taobao.org/is-posix-bracket/download/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=" + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true }, "is-primitive": { "version": "https://registry.npm.taobao.org/is-primitive/download/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true }, "is-promise": { "version": "https://registry.npm.taobao.org/is-promise/download/is-promise-2.1.0.tgz", "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", "dev": true }, - "is-relative": { - "version": "0.2.1", - "resolved": "http://registry.npm.taobao.org/is-relative/download/is-relative-0.2.1.tgz", - "integrity": "sha1-0n9MfVFtF1+2ENuEu+7yPDvJeqU=" - }, "is-typedarray": { "version": "https://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, - "is-unc-path": { - "version": "0.1.2", - "resolved": "http://registry.npm.taobao.org/is-unc-path/download/is-unc-path-0.1.2.tgz", - "integrity": "sha1-arBTpyVzwQJQ/0FqOBTDUXivObk=" - }, "is-utf8": { "version": "https://registry.npm.taobao.org/is-utf8/download/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" - }, - "is-windows": { - "version": "0.2.0", - "resolved": "http://registry.npm.taobao.org/is-windows/download/is-windows-0.2.0.tgz", - "integrity": "sha1-3hqm1j6indJIc3tp8f+LgALSEIw=" + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true }, "isarray": { "version": "https://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz", "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" }, - "isbuffer": { - "version": "0.0.0", - "resolved": "http://registry.npm.taobao.org/isbuffer/download/isbuffer-0.0.0.tgz", - "integrity": "sha1-OMFG2d9Si4v5sHAcPUPPEt8/w5s=", - "dev": true - }, "isexe": { "version": "https://registry.npm.taobao.org/isexe/download/isexe-1.1.2.tgz", - "integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA=" + "integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA=", + "dev": true }, "isobject": { "version": "https://registry.npm.taobao.org/isobject/download/isobject-2.1.0.tgz", "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, "dependencies": { "isarray": { "version": "http://r.cnpmjs.org/isarray/download/isarray-1.0.0.tgz", @@ -3066,132 +2634,10 @@ } } }, - "level-blobs": { - "version": "0.1.7", - "resolved": "http://registry.npm.taobao.org/level-blobs/download/level-blobs-0.1.7.tgz", - "integrity": "sha1-mrm5e7mfHtv594o0M+Ie1WOGva8=", - "dev": true - }, - "level-filesystem": { - "version": "1.2.0", - "resolved": "http://registry.npm.taobao.org/level-filesystem/download/level-filesystem-1.2.0.tgz", - "integrity": "sha1-oArKmRnEpN+v3KaoEI0iWq3/Y7M=", - "dev": true, - "dependencies": { - "xtend": { - "version": "2.2.0", - "resolved": "http://registry.npm.taobao.org/xtend/download/xtend-2.2.0.tgz", - "integrity": "sha1-7vax8ZjByN6vrYsXZaBNrUoBxak=", - "dev": true - } - } - }, - "level-fix-range": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/level-fix-range/download/level-fix-range-1.0.2.tgz", - "integrity": "sha1-vxW5Fa422EcMgh6IPd95zRZCCCg=", - "dev": true - }, - "level-hooks": { - "version": "4.5.0", - "resolved": "http://registry.npm.taobao.org/level-hooks/download/level-hooks-4.5.0.tgz", - "integrity": "sha1-G5rmGSKTDzMF0aYfxNg8gQLA3ZM=", - "dev": true - }, - "level-js": { - "version": "2.2.4", - "resolved": "http://registry.npm.taobao.org/level-js/download/level-js-2.2.4.tgz", - "integrity": "sha1-vAVfQYBjXUSJtWHJSG+jcOjBFpc=", - "dev": true, - "dependencies": { - "object-keys": { - "version": "0.4.0", - "resolved": "http://registry.npm.taobao.org/object-keys/download/object-keys-0.4.0.tgz", - "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=", - "dev": true - }, - "xtend": { - "version": "2.1.2", - "resolved": "http://registry.npm.taobao.org/xtend/download/xtend-2.1.2.tgz", - "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", - "dev": true - } - } - }, - "level-peek": { - "version": "1.0.6", - "resolved": "http://registry.npm.taobao.org/level-peek/download/level-peek-1.0.6.tgz", - "integrity": "sha1-vsUccqgu5GTTNkNMfIdsP8vM538=", - "dev": true - }, - "level-sublevel": { - "version": "5.2.3", - "resolved": "http://registry.npm.taobao.org/level-sublevel/download/level-sublevel-5.2.3.tgz", - "integrity": "sha1-dEwSxy0ucr543eO5tc2E1iGRQTo=", - "dev": true, - "dependencies": { - "level-fix-range": { - "version": "2.0.0", - "resolved": "http://registry.npm.taobao.org/level-fix-range/download/level-fix-range-2.0.0.tgz", - "integrity": "sha1-xBfWIVlEIVGhnZojZ4aPFyTC1Ug=", - "dev": true - }, - "object-keys": { - "version": "0.2.0", - "resolved": "http://registry.npm.taobao.org/object-keys/download/object-keys-0.2.0.tgz", - "integrity": "sha1-zd7AKZiwkb5CvxA1rjLknxy26mc=", - "dev": true - }, - "xtend": { - "version": "2.0.6", - "resolved": "http://registry.npm.taobao.org/xtend/download/xtend-2.0.6.tgz", - "integrity": "sha1-XqZXptukRwacLlnFihE4ywxebO4=", - "dev": true - } - } - }, - "levelup": { - "version": "0.18.6", - "resolved": "http://registry.npm.taobao.org/levelup/download/levelup-0.18.6.tgz", - "integrity": "sha1-5qAcsIlhbI7MApHCqb0/DETj5es=", - "dev": true, - "dependencies": { - "bl": { - "version": "0.8.2", - "resolved": "http://registry.npm.taobao.org/bl/download/bl-0.8.2.tgz", - "integrity": "sha1-yba8oI0bwuoA/Ir7Txpf0eHGbk4=", - "dev": true - }, - "semver": { - "version": "2.3.2", - "resolved": "http://registry.npm.taobao.org/semver/download/semver-2.3.2.tgz", - "integrity": "sha1-uYSPJdbPNjMwc+ye+IVtQvEjPlI=", - "dev": true - }, - "xtend": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/xtend/download/xtend-3.0.0.tgz", - "integrity": "sha1-XM50B7r2Qsunvs2laBEcST9ZZlo=", - "dev": true - } - } - }, "lie": { "version": "https://registry.npm.taobao.org/lie/download/lie-3.0.2.tgz", "integrity": "sha1-/9oh17uibzd8rYZdNkmy/Izjn+o=" }, - "liftoff": { - "version": "2.3.0", - "resolved": "http://registry.npm.taobao.org/liftoff/download/liftoff-2.3.0.tgz", - "integrity": "sha1-qY8v9nGD2Lp8+soQVIvX/wVQs4U=", - "dependencies": { - "findup-sync": { - "version": "0.4.3", - "resolved": "http://registry.npm.taobao.org/findup-sync/download/findup-sync-0.4.3.tgz", - "integrity": "sha1-QAQ5Kee8YK3wt/SCfExudaDeyhI=" - } - } - }, "livereload-js": { "version": "https://registry.npm.taobao.org/livereload-js/download/livereload-js-2.2.2.tgz", "integrity": "sha1-bIclfmSKtHW8JOoldFftzB+NC8I=", @@ -3217,135 +2663,31 @@ "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", "dev": true }, - "lodash._basecopy": { - "version": "3.0.1", - "resolved": "http://registry.npm.taobao.org/lodash._basecopy/download/lodash._basecopy-3.0.1.tgz", - "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=" - }, - "lodash._basetostring": { - "version": "3.0.1", - "resolved": "http://registry.npm.taobao.org/lodash._basetostring/download/lodash._basetostring-3.0.1.tgz", - "integrity": "sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U=" - }, - "lodash._basevalues": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/lodash._basevalues/download/lodash._basevalues-3.0.0.tgz", - "integrity": "sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc=" - }, - "lodash._getnative": { - "version": "3.9.1", - "resolved": "http://registry.npm.taobao.org/lodash._getnative/download/lodash._getnative-3.9.1.tgz", - "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=" - }, - "lodash._isiterateecall": { - "version": "3.0.9", - "resolved": "http://registry.npm.taobao.org/lodash._isiterateecall/download/lodash._isiterateecall-3.0.9.tgz", - "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=" - }, - "lodash._reescape": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/lodash._reescape/download/lodash._reescape-3.0.0.tgz", - "integrity": "sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo=" - }, - "lodash._reevaluate": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/lodash._reevaluate/download/lodash._reevaluate-3.0.0.tgz", - "integrity": "sha1-WLx0xAZklTrgsSTYBpltrKQx4u0=" - }, - "lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "http://registry.npm.taobao.org/lodash._reinterpolate/download/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" - }, - "lodash._root": { - "version": "3.0.1", - "resolved": "http://registry.npm.taobao.org/lodash._root/download/lodash._root-3.0.1.tgz", - "integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=" - }, "lodash.assign": { "version": "https://registry.npm.taobao.org/lodash.assign/download/lodash.assign-4.2.0.tgz", "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", "dev": true }, - "lodash.assignwith": { - "version": "4.2.0", - "resolved": "http://registry.npm.taobao.org/lodash.assignwith/download/lodash.assignwith-4.2.0.tgz", - "integrity": "sha1-EnqX8CrcQXUalU0ksN4X4QDgOOs=" - }, "lodash.clonedeep": { "version": "https://registry.npm.taobao.org/lodash.clonedeep/download/lodash.clonedeep-4.5.0.tgz", "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", "dev": true }, - "lodash.escape": { - "version": "3.2.0", - "resolved": "http://registry.npm.taobao.org/lodash.escape/download/lodash.escape-3.2.0.tgz", - "integrity": "sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg=" - }, - "lodash.isarguments": { - "version": "3.1.0", - "resolved": "http://registry.npm.taobao.org/lodash.isarguments/download/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" - }, - "lodash.isarray": { - "version": "3.0.4", - "resolved": "http://registry.npm.taobao.org/lodash.isarray/download/lodash.isarray-3.0.4.tgz", - "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=" - }, - "lodash.isempty": { - "version": "4.4.0", - "resolved": "http://registry.npm.taobao.org/lodash.isempty/download/lodash.isempty-4.4.0.tgz", - "integrity": "sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=" - }, "lodash.isplainobject": { "version": "https://registry.npm.taobao.org/lodash.isplainobject/download/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "http://registry.npm.taobao.org/lodash.isstring/download/lodash.isstring-4.0.1.tgz", - "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" - }, - "lodash.keys": { - "version": "3.1.2", - "resolved": "http://registry.npm.taobao.org/lodash.keys/download/lodash.keys-3.1.2.tgz", - "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=" - }, - "lodash.mapvalues": { - "version": "4.6.0", - "resolved": "http://registry.npm.taobao.org/lodash.mapvalues/download/lodash.mapvalues-4.6.0.tgz", - "integrity": "sha1-G6+lAF3p3W9PJmaMMMo3IwzJaJw=" + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=", + "dev": true }, "lodash.mergewith": { "version": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.0.tgz", "integrity": "sha1-FQzwoWeR9ZA7iJHqsVRgknS96lU=", "dev": true }, - "lodash.pick": { - "version": "4.4.0", - "resolved": "http://registry.npm.taobao.org/lodash.pick/download/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=" - }, - "lodash.restparam": { - "version": "3.6.1", - "resolved": "http://registry.npm.taobao.org/lodash.restparam/download/lodash.restparam-3.6.1.tgz", - "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=" - }, "lodash.some": { "version": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", "dev": true }, - "lodash.template": { - "version": "3.6.2", - "resolved": "http://registry.npm.taobao.org/lodash.template/download/lodash.template-3.6.2.tgz", - "integrity": "sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8=" - }, - "lodash.templatesettings": { - "version": "3.1.1", - "resolved": "http://registry.npm.taobao.org/lodash.templatesettings/download/lodash.templatesettings-3.1.1.tgz", - "integrity": "sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU=" - }, "longest": { "version": "https://registry.npm.taobao.org/longest/download/longest-1.0.1.tgz", "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" @@ -3365,12 +2707,6 @@ "integrity": "sha1-HRdnnAac2l0ECZGgnbwsDbN35V4=", "dev": true }, - "ltgt": { - "version": "2.2.0", - "resolved": "http://registry.npm.taobao.org/ltgt/download/ltgt-2.2.0.tgz", - "integrity": "sha1-tlul/LNJopkkyOMz98alVi8uSEI=", - "dev": true - }, "macos-release": { "version": "https://registry.npm.taobao.org/macos-release/download/macos-release-1.0.0.tgz", "integrity": "sha1-4WjOj02TQ5mrGsuSpsMJJzBy6xs=", @@ -3381,11 +2717,6 @@ "integrity": "sha1-GYlIIXJU4+C5MIDgEUa3xzsqBrI=", "dev": true }, - "map-cache": { - "version": "0.2.2", - "resolved": "http://registry.npm.taobao.org/map-cache/download/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=" - }, "map-obj": { "version": "https://registry.npm.taobao.org/map-obj/download/map-obj-1.0.1.tgz", "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", @@ -3430,7 +2761,8 @@ }, "micromatch": { "version": "https://registry.npm.taobao.org/micromatch/download/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=" + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true }, "miller-rabin": { "version": "https://registry.npm.taobao.org/miller-rabin/download/miller-rabin-4.0.0.tgz", @@ -3495,23 +2827,6 @@ "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", "dev": true }, - "multicast-dns": { - "version": "6.1.1", - "resolved": "http://registry.npm.taobao.org/multicast-dns/download/multicast-dns-6.1.1.tgz", - "integrity": "sha1-bn3oalcIcqsXBYrepxYLvsqBTd4=", - "dev": true - }, - "multicast-dns-service-types": { - "version": "1.1.0", - "resolved": "http://registry.npm.taobao.org/multicast-dns-service-types/download/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", - "dev": true - }, - "multipipe": { - "version": "0.1.2", - "resolved": "http://registry.npm.taobao.org/multipipe/download/multipipe-0.1.2.tgz", - "integrity": "sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s=" - }, "mute-stream": { "version": "http://r.cnpmjs.org/mute-stream/download/mute-stream-0.0.7.tgz", "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", @@ -3522,11 +2837,6 @@ "integrity": "sha1-1bAWkSUzJql6K77p5hxV2NYDUeI=", "dev": true }, - "natives": { - "version": "1.1.0", - "resolved": "http://registry.npm.taobao.org/natives/download/natives-1.1.0.tgz", - "integrity": "sha1-6f+EFBimsux6SV6TmYT3jxY+bjE=" - }, "ncp": { "version": "https://registry.npm.taobao.org/ncp/download/ncp-2.0.0.tgz", "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=", @@ -3583,7 +2893,8 @@ }, "normalize-path": { "version": "https://registry.npm.taobao.org/normalize-path/download/normalize-path-2.0.1.tgz", - "integrity": "sha1-R4hqwWYnYNQmG32XnSQXCdPOP3o=" + "integrity": "sha1-R4hqwWYnYNQmG32XnSQXCdPOP3o=", + "dev": true }, "normalize-range": { "version": "https://registry.npm.taobao.org/normalize-range/download/normalize-range-0.1.2.tgz", @@ -3621,12 +2932,7 @@ }, "object.omit": { "version": "https://registry.npm.taobao.org/object.omit/download/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=" - }, - "octal": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/octal/download/octal-1.0.0.tgz", - "integrity": "sha1-Y+cWKmjvvrniE1iNWOmJ0eXEUws=", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", "dev": true }, "on-finished": { @@ -3636,7 +2942,8 @@ }, "once": { "version": "https://registry.npm.taobao.org/once/download/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=" + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true }, "onetime": { "version": "https://registry.npm.taobao.org/onetime/download/onetime-2.0.1.tgz", @@ -3660,28 +2967,6 @@ "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=", "dev": true }, - "orchestrator": { - "version": "0.3.8", - "resolved": "http://registry.npm.taobao.org/orchestrator/download/orchestrator-0.3.8.tgz", - "integrity": "sha1-FOfp4nZPcxX7rBhOUGx6pt+UrX4=", - "dependencies": { - "end-of-stream": { - "version": "0.1.5", - "resolved": "http://registry.npm.taobao.org/end-of-stream/download/end-of-stream-0.1.5.tgz", - "integrity": "sha1-jhdyBsPICDfYVjLouTWd/osvbq8=" - }, - "once": { - "version": "1.3.3", - "resolved": "http://registry.npm.taobao.org/once/download/once-1.3.3.tgz", - "integrity": "sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=" - } - } - }, - "ordered-read-streams": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/ordered-read-streams/download/ordered-read-streams-0.1.0.tgz", - "integrity": "sha1-/VZamvjrRHO6abbtijQ1LLVS8SY=" - }, "os-browserify": { "version": "https://registry.npm.taobao.org/os-browserify/download/os-browserify-0.2.1.tgz", "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", @@ -3689,7 +2974,8 @@ }, "os-homedir": { "version": "https://registry.npm.taobao.org/os-homedir/download/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true }, "os-locale": { "version": "https://registry.npm.taobao.org/os-locale/download/os-locale-1.4.0.tgz", @@ -3726,25 +3012,16 @@ "integrity": "sha1-NQYPbVAV03Yox3D04JGgtaJ4vCM=", "dev": true }, - "parse-filepath": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/parse-filepath/download/parse-filepath-1.0.1.tgz", - "integrity": "sha1-FZ1hVdQ5BNFsEO9piRHaHpGWm3M=" - }, "parse-glob": { "version": "https://registry.npm.taobao.org/parse-glob/download/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=" + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true }, "parse-json": { "version": "https://registry.npm.taobao.org/parse-json/download/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/parse-passwd/download/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=" - }, "parseurl": { "version": "https://registry.npm.taobao.org/parseurl/download/parseurl-1.3.1.tgz", "integrity": "sha1-yKuMkiO6NIiKpkopeyiFO+wY2lY=", @@ -3767,17 +3044,8 @@ }, "path-parse": { "version": "https://registry.npm.taobao.org/path-parse/download/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" - }, - "path-root": { - "version": "0.1.1", - "resolved": "http://registry.npm.taobao.org/path-root/download/path-root-0.1.1.tgz", - "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=" - }, - "path-root-regex": { - "version": "0.1.2", - "resolved": "http://registry.npm.taobao.org/path-root-regex/download/path-root-regex-0.1.2.tgz", - "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=" + "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "dev": true }, "path-to-regexp": { "version": "http://r.cnpmjs.org/path-to-regexp/download/path-to-regexp-1.7.0.tgz", @@ -3832,12 +3100,8 @@ }, "preserve": { "version": "https://registry.npm.taobao.org/preserve/download/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=" - }, - "pretty-hrtime": { - "version": "1.0.3", - "resolved": "http://registry.npm.taobao.org/pretty-hrtime/download/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=" + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true }, "private": { "version": "https://registry.npm.taobao.org/private/download/private-0.1.7.tgz", @@ -3853,10 +3117,6 @@ "integrity": "sha1-xrs4n5qVH4K9TrFpYAEFvS/5x3g=", "dev": true }, - "process-nextick-args": { - "version": "https://registry.npm.taobao.org/process-nextick-args/download/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" - }, "progress": { "version": "https://registry.npm.taobao.org/progress/download/progress-1.1.8.tgz", "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", @@ -3909,7 +3169,8 @@ }, "randomatic": { "version": "https://registry.npm.taobao.org/randomatic/download/randomatic-1.1.6.tgz", - "integrity": "sha1-EQ3Kv/OX6dz/fAeJzMCkmt8exbs=" + "integrity": "sha1-EQ3Kv/OX6dz/fAeJzMCkmt8exbs=", + "dev": true }, "randombytes": { "version": "https://registry.npm.taobao.org/randombytes/download/randombytes-2.0.3.tgz", @@ -3971,11 +3232,6 @@ } } }, - "rechoir": { - "version": "0.6.2", - "resolved": "http://registry.npm.taobao.org/rechoir/download/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=" - }, "redent": { "version": "https://registry.npm.taobao.org/redent/download/redent-1.0.0.tgz", "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", @@ -3992,11 +3248,13 @@ }, "regex-cache": { "version": "https://registry.npm.taobao.org/regex-cache/download/regex-cache-0.4.3.tgz", - "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=" + "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", + "dev": true }, "repeat-element": { "version": "https://registry.npm.taobao.org/repeat-element/download/repeat-element-1.1.2.tgz", - "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=" + "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=", + "dev": true }, "repeat-string": { "version": "https://registry.npm.taobao.org/repeat-string/download/repeat-string-1.6.1.tgz", @@ -4007,11 +3265,6 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true }, - "replace-ext": { - "version": "0.0.1", - "resolved": "http://registry.npm.taobao.org/replace-ext/download/replace-ext-0.0.1.tgz", - "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=" - }, "request": { "version": "https://registry.npmjs.org/request/-/request-2.80.0.tgz", "integrity": "sha1-jMFi1215OBze/dNQXXa4C2BYm9A=", @@ -4036,12 +3289,8 @@ }, "resolve": { "version": "https://registry.npm.taobao.org/resolve/download/resolve-1.3.2.tgz", - "integrity": "sha1-HwRCyeDLuBNuh7kwX5MvRsfygjU=" - }, - "resolve-dir": { - "version": "0.1.1", - "resolved": "http://registry.npm.taobao.org/resolve-dir/download/resolve-dir-0.1.1.tgz", - "integrity": "sha1-shklmlYC+sXFxJatiUpujMQwJh4=" + "integrity": "sha1-HwRCyeDLuBNuh7kwX5MvRsfygjU=", + "dev": true }, "restore-cursor": { "version": "https://registry.npm.taobao.org/restore-cursor/download/restore-cursor-2.0.0.tgz", @@ -4062,6 +3311,66 @@ "integrity": "sha1-k6S71JQrxXS2mo+lfHHeEOzKfW4=", "dev": true }, + "rollup": { + "version": "0.41.4", + "resolved": "http://registry.npm.taobao.org/rollup/download/rollup-0.41.4.tgz", + "integrity": "sha1-qXBYAXYyn56thoVNf9TEbedSrvg=", + "dev": true + }, + "rollup-plugin-commonjs": { + "version": "7.0.0", + "resolved": "http://registry.npm.taobao.org/rollup-plugin-commonjs/download/rollup-plugin-commonjs-7.0.0.tgz", + "integrity": "sha1-UQdi1cQjx2HNFtjoRRcVs58M6wg=", + "dev": true, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "http://registry.npm.taobao.org/acorn/download/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + }, + "rollup-pluginutils": { + "version": "1.5.2", + "resolved": "http://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-1.5.2.tgz", + "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", + "dev": true, + "dependencies": { + "estree-walker": { + "version": "0.2.1", + "resolved": "http://registry.npm.taobao.org/estree-walker/download/estree-walker-0.2.1.tgz", + "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", + "dev": true + } + } + } + } + }, + "rollup-plugin-json": { + "version": "2.1.0", + "resolved": "http://registry.npm.taobao.org/rollup-plugin-json/download/rollup-plugin-json-2.1.0.tgz", + "integrity": "sha1-f44bKxVpMt2TS5ONxVR+QRjUEh8=", + "dev": true, + "dependencies": { + "estree-walker": { + "version": "0.2.1", + "resolved": "http://registry.npm.taobao.org/estree-walker/download/estree-walker-0.2.1.tgz", + "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", + "dev": true + }, + "rollup-pluginutils": { + "version": "1.5.2", + "resolved": "http://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-1.5.2.tgz", + "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", + "dev": true + } + } + }, + "rollup-plugin-node-builtins": { + "version": "2.0.0", + "resolved": "http://registry.npm.taobao.org/rollup-plugin-node-builtins/download/rollup-plugin-node-builtins-2.0.0.tgz", + "integrity": "sha1-xvKR4WfpVg6+qH+/3Bq7RLCnweY=", + "dev": true + }, "rollup-plugin-node-globals": { "version": "https://registry.npmjs.org/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.1.0.tgz", "integrity": "sha1-fv2NYR0TJzeCnoBOn1H1CWKvRR8=", @@ -4089,6 +3398,12 @@ } } }, + "rollup-plugin-node-resolve": { + "version": "2.0.0", + "resolved": "http://registry.npm.taobao.org/rollup-plugin-node-resolve/download/rollup-plugin-node-resolve-2.0.0.tgz", + "integrity": "sha1-B+CulKwAKj6jbo8zyhIdn4NrEwk=", + "dev": true + }, "rollup-pluginutils": { "version": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.0.1.tgz", "integrity": "sha1-fslbNXP2VDpGpkYb2afFRFJdD8A=", @@ -4114,11 +3429,6 @@ "resolved": "http://registry.npm.taobao.org/rxjs/download/rxjs-5.1.1.tgz", "integrity": "sha1-/EiSKWW8bF77zA/kbpCjr2QTens=" }, - "safe-buffer": { - "version": "5.0.1", - "resolved": "http://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.0.1.tgz", - "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=" - }, "safe-json-parse": { "version": "https://registry.npm.taobao.org/safe-json-parse/download/safe-json-parse-1.0.1.tgz", "integrity": "sha1-PnZyPjjf3aE8mx0poeB//uSzC1c=", @@ -4158,11 +3468,6 @@ } } }, - "sequencify": { - "version": "0.0.7", - "resolved": "http://registry.npm.taobao.org/sequencify/download/sequencify-0.0.7.tgz", - "integrity": "sha1-kM/xnQLgcCf9dn9erT57ldHnOAw=" - }, "serve-static": { "version": "https://registry.npm.taobao.org/serve-static/download/serve-static-1.11.2.tgz", "integrity": "sha1-LPmIm9RDWjIMw2iVyapXvWYuasc=", @@ -4207,11 +3512,6 @@ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true }, - "sigmund": { - "version": "1.0.1", - "resolved": "http://registry.npm.taobao.org/sigmund/download/sigmund-1.0.1.tgz", - "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=" - }, "signal-exit": { "version": "https://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", @@ -4242,10 +3542,19 @@ "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", "dev": true }, - "sparkles": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/sparkles/download/sparkles-1.0.0.tgz", - "integrity": "sha1-Gsu/tZJDbRC76PeFt8xvgoFQEsM=" + "source-map-support": { + "version": "0.4.15", + "resolved": "http://registry.npm.taobao.org/source-map-support/download/source-map-support-0.4.15.tgz", + "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", + "dev": true, + "dependencies": { + "source-map": { + "version": "0.5.6", + "resolved": "http://registry.npm.taobao.org/source-map/download/source-map-0.5.6.tgz", + "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "dev": true + } + } }, "spdx-correct": { "version": "https://registry.npm.taobao.org/spdx-correct/download/spdx-correct-1.0.2.tgz", @@ -4318,11 +3627,6 @@ } } }, - "stream-consume": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/stream-consume/download/stream-consume-0.1.0.tgz", - "integrity": "sha1-pB6tGm1ggc63n2WwYZAbbY89HQ8=" - }, "stream-http": { "version": "https://registry.npm.taobao.org/stream-http/download/stream-http-2.6.3.tgz", "integrity": "sha1-TD3b+WNZaOos/U5I1D3l3vJiWsM=", @@ -4344,12 +3648,6 @@ "version": "https://registry.npm.taobao.org/string_decoder/download/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, - "string-range": { - "version": "1.2.2", - "resolved": "http://registry.npm.taobao.org/string-range/download/string-range-1.2.2.tgz", - "integrity": "sha1-qJPtNH5yKZvIO++78qaSqNI51d0=", - "dev": true - }, "string-template": { "version": "https://registry.npm.taobao.org/string-template/download/string-template-0.2.1.tgz", "integrity": "sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=", @@ -4367,7 +3665,8 @@ }, "strip-ansi": { "version": "https://registry.npm.taobao.org/strip-ansi/download/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=" + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true }, "strip-bom": { "version": "https://registry.npm.taobao.org/strip-bom/download/strip-bom-2.0.0.tgz", @@ -4455,22 +3754,6 @@ "version": "https://registry.npm.taobao.org/through2/download/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=" }, - "thunky": { - "version": "0.1.0", - "resolved": "http://registry.npm.taobao.org/thunky/download/thunky-0.1.0.tgz", - "integrity": "sha1-vzAUaCTituZ7Dy16Ssi+smkIaE4=", - "dev": true - }, - "tildify": { - "version": "1.2.0", - "resolved": "http://registry.npm.taobao.org/tildify/download/tildify-1.2.0.tgz", - "integrity": "sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=" - }, - "time-stamp": { - "version": "1.1.0", - "resolved": "http://registry.npm.taobao.org/time-stamp/download/time-stamp-1.1.0.tgz", - "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=" - }, "timers-browserify": { "version": "https://registry.npm.taobao.org/timers-browserify/download/timers-browserify-2.0.2.tgz", "integrity": "sha1-q0iDz1l9zVCvIRNJoA+8pWrIa4Y=", @@ -4554,18 +3837,6 @@ "integrity": "sha1-4hljnBfe0coHiQkt1UoDgmuBfLI=", "dev": true }, - "typedarray": { - "version": "0.0.6", - "resolved": "http://registry.npm.taobao.org/typedarray/download/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true - }, - "typedarray-to-buffer": { - "version": "1.0.4", - "resolved": "http://registry.npm.taobao.org/typedarray-to-buffer/download/typedarray-to-buffer-1.0.4.tgz", - "integrity": "sha1-m7i6DoQfs/TPH+fCRenz+opf6Zw=", - "dev": true - }, "typescript": { "version": "2.3.3", "resolved": "http://registry.npm.taobao.org/typescript/download/typescript-2.3.3.tgz", @@ -4619,21 +3890,11 @@ "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=", "dev": true }, - "unc-path-regex": { - "version": "0.1.2", - "resolved": "http://registry.npm.taobao.org/unc-path-regex/download/unc-path-regex-0.1.2.tgz", - "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=" - }, "underscore.string": { "version": "https://registry.npm.taobao.org/underscore.string/download/underscore.string-3.3.4.tgz", "integrity": "sha1-LCo/n4PmR2L9xF5s6sZRQoZCE9s=", "dev": true }, - "unique-stream": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/unique-stream/download/unique-stream-1.0.0.tgz", - "integrity": "sha1-1ZpKdUJ0R9mqbJHnAmP40mpLEEs=" - }, "unpipe": { "version": "https://registry.npm.taobao.org/unpipe/download/unpipe-1.0.0.tgz", "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", @@ -4657,7 +3918,8 @@ }, "user-home": { "version": "https://registry.npm.taobao.org/user-home/download/user-home-1.1.1.tgz", - "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=" + "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", + "dev": true }, "util": { "version": "https://registry.npm.taobao.org/util/download/util-0.10.3.tgz", @@ -4673,7 +3935,8 @@ }, "util-deprecate": { "version": "https://registry.npm.taobao.org/util-deprecate/download/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true }, "utils-merge": { "version": "https://registry.npm.taobao.org/utils-merge/download/utils-merge-1.0.0.tgz", @@ -4687,7 +3950,8 @@ }, "v8flags": { "version": "https://registry.npm.taobao.org/v8flags/download/v8flags-2.0.11.tgz", - "integrity": "sha1-vKjzDw1tYGEswsAGQeaWLUKuaIE=" + "integrity": "sha1-vKjzDw1tYGEswsAGQeaWLUKuaIE=", + "dev": true }, "validate-npm-package-license": { "version": "https://registry.npm.taobao.org/validate-npm-package-license/download/validate-npm-package-license-3.0.1.tgz", @@ -4704,45 +3968,6 @@ "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=", "dev": true }, - "vinyl": { - "version": "0.5.3", - "resolved": "http://registry.npm.taobao.org/vinyl/download/vinyl-0.5.3.tgz", - "integrity": "sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=", - "dependencies": { - "clone": { - "version": "1.0.2", - "resolved": "http://registry.npm.taobao.org/clone/download/clone-1.0.2.tgz", - "integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=" - } - } - }, - "vinyl-fs": { - "version": "0.3.14", - "resolved": "http://registry.npm.taobao.org/vinyl-fs/download/vinyl-fs-0.3.14.tgz", - "integrity": "sha1-mmhRzhysHBzqX+hsCTHWIMLPqeY=", - "dependencies": { - "clone": { - "version": "0.2.0", - "resolved": "http://registry.npm.taobao.org/clone/download/clone-0.2.0.tgz", - "integrity": "sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=" - }, - "graceful-fs": { - "version": "3.0.11", - "resolved": "http://registry.npm.taobao.org/graceful-fs/download/graceful-fs-3.0.11.tgz", - "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=" - }, - "strip-bom": { - "version": "1.0.0", - "resolved": "http://registry.npm.taobao.org/strip-bom/download/strip-bom-1.0.0.tgz", - "integrity": "sha1-hbiGLzhEtabV7IRnqTWYFzo295Q=" - }, - "vinyl": { - "version": "0.4.6", - "resolved": "http://registry.npm.taobao.org/vinyl/download/vinyl-0.4.6.tgz", - "integrity": "sha1-LzVsh6VQolVGHza76ypbqL94SEc=" - } - } - }, "vlq": { "version": "https://registry.npm.taobao.org/vlq/download/vlq-0.2.1.tgz", "integrity": "sha1-FEOdcRiR5oJTVGf4WHxWMOQiKmw=", @@ -4831,7 +4056,8 @@ }, "which": { "version": "https://registry.npm.taobao.org/which/download/which-1.2.12.tgz", - "integrity": "sha1-3me15FAmnxlJCe8j7OTr5Bb6EZI=" + "integrity": "sha1-3me15FAmnxlJCe8j7OTr5Bb6EZI=", + "dev": true }, "which-module": { "version": "https://registry.npm.taobao.org/which-module/download/which-module-1.0.0.tgz", @@ -4865,7 +4091,8 @@ }, "wrappy": { "version": "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, "ws": { "version": "https://registry.npm.taobao.org/ws/download/ws-1.1.1.tgz", diff --git a/demo/src/pages/home/home.html b/demo/src/pages/home/home.html index 13583bee9..7c2890aa5 100644 --- a/demo/src/pages/home/home.html +++ b/demo/src/pages/home/home.html @@ -5,6 +5,11 @@ + + + \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n "}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"ionic-angular","name":"Content"}]}]}],"monthsEle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["months"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"findCssClass":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"canDone":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"createYearPicker":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"backwardsMonth":[{"__symbolic":"method"}],"scrollToDefaultDate":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}],"findInitMonthNumber":[{"__symbolic":"method"}],"changedYearSelection":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-modal","template":"\n \n \n \n\n \n \n {{y}}\n \n \n\n {{title}}\n \n \n \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n "}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"ionic-angular","name":"Content"}]}]}],"monthsEle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["months"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"findCssClass":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"canDone":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"createYearPicker":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"backwardsMonth":[{"__symbolic":"method"}],"scrollToDefaultDate":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}],"findInitMonthNumber":[{"__symbolic":"method"}],"changedYearSelection":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/components/calendar-week-component.scss b/dist/components/calendar-week-component.scss deleted file mode 100644 index c3d7dbadd..000000000 --- a/dist/components/calendar-week-component.scss +++ /dev/null @@ -1,37 +0,0 @@ -@import "../variables"; - -ion-calendar-week { - .week-toolbar{ - padding: 0; - } - - .week-toolbar.toolbar-md { - min-height:44px; - } - - - .week-title { - margin: 0; - color:#fff; - height: 44px; - width: 100%; - background-color: color($cal-colors, primary); - padding: 15px 0; - } - - - .week-title li { - list-style-type:none; - display: block; - float: left; - width: 14%; - text-align: center; - } - - .week-title li:nth-of-type(7n), .week-title li:nth-of-type(7n+1) { - width: 15%; - } - -} - - diff --git a/dist/components/calendar-week-component.d.ts b/dist/components/calendar-week.component.d.ts similarity index 100% rename from dist/components/calendar-week-component.d.ts rename to dist/components/calendar-week.component.d.ts diff --git a/dist/components/calendar-week-component.js b/dist/components/calendar-week.component.js similarity index 97% rename from dist/components/calendar-week-component.js rename to dist/components/calendar-week.component.js index 6137b512d..0e8e2952b 100644 --- a/dist/components/calendar-week-component.js +++ b/dist/components/calendar-week.component.js @@ -46,4 +46,4 @@ CalendarWeekComponent.propDecorators = { 'weekArray': [{ type: Input },], 'weekStart': [{ type: Input },], }; -//# sourceMappingURL=calendar-week-component.js.map \ No newline at end of file +//# sourceMappingURL=calendar-week.component.js.map \ No newline at end of file diff --git a/dist/components/calendar-week-component.js.map b/dist/components/calendar-week.component.js.map similarity index 90% rename from dist/components/calendar-week-component.js.map rename to dist/components/calendar-week.component.js.map index 381165049..b051f61a1 100644 --- a/dist/components/calendar-week-component.js.map +++ b/dist/components/calendar-week.component.js.map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AA2C;IAChE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC/B,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;CAC9B,CAAC","file":"calendar-week-component.js","sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/components/calendar-week.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAA,EAAW,KAAA,EAAM,MAAO,eAAA,CAAgB;AAIjD;IAMI;QAJA,eAAU,GAAa,sBAAsB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzD,eAAU,GAAW,CAAC,CAAC;QACtB,UAAK,GAAU,SAAS,CAAC;IAEX,CAAC;IAGhB,sBAAI,4CAAS;aAAb,UAAc,KAAc;YACxB,EAAE,CAAA,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC7B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;gBACxB,IAAI,CAAC,UAAU,EAAE,CAAC;YACtB,CAAC;QACL,CAAC;;;OAAA;IAGD,sBAAI,4CAAS;aAAb,UAAc,KAAa;YACvB,EAAE,CAAA,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC5B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;gBACxB,IAAI,CAAC,UAAU,EAAE,CAAC;YACtB,CAAC;QACL,CAAC;;;OAAA;IAED,0CAAU,GAAV;QACI,EAAE,CAAA,CAAC,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAE,CAAA;QAClD,CAAC;IACL,CAAC;IAsBL,4BAAC;AAAD,CAlDA,AAkDC;;AApBM,gCAAU,GAA0B;IAC3C,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;gBACtB,QAAQ,EAAE,mBAAmB;gBAC7B,QAAQ,EAAC,oOAMR;aACJ,EAAG,EAAE;CACL,CAAC;AACF,kBAAkB;AACX,oCAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC;AACK,oCAAc,GAA2C;IAChE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC/B,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;CAC9B,CAAC","file":"calendar-week.component.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/components/calendar-week-component.metadata.json b/dist/components/calendar-week.component.metadata.json similarity index 100% rename from dist/components/calendar-week-component.metadata.json rename to dist/components/calendar-week.component.metadata.json diff --git a/dist/components/calendar-week.component.scss b/dist/components/calendar-week.component.scss new file mode 100644 index 000000000..2d0db271b --- /dev/null +++ b/dist/components/calendar-week.component.scss @@ -0,0 +1,57 @@ +@import "../variables"; + +@mixin week-title($color: primary, $background-color: #fff) { + margin: 0; + color:$background-color; + height: 44px; + width: 100%; + background-color: color($cal-colors, $color); + padding: 15px 0; +} + +ion-calendar-week { + .week-toolbar{ + padding: 0; + } + + .week-toolbar.toolbar-md { + min-height:44px; + } + + + .week-title.primary { + @include week-title('primary'); + } + + .week-title.secondary { + @include week-title('secondary'); + } + + .week-title.danger { + @include week-title('danger'); + } + + .week-title.dark { + @include week-title('dark'); + } + + .week-title.light { + @include week-title(light, #9e9e9e); + } + + + .week-title li { + list-style-type:none; + display: block; + float: left; + width: 14%; + text-align: center; + } + + .week-title li:nth-of-type(7n), .week-title li:nth-of-type(7n+1) { + width: 15%; + } + +} + + diff --git a/dist/components/calendar.component.d.ts b/dist/components/calendar.component.d.ts new file mode 100644 index 000000000..e7a0afc3f --- /dev/null +++ b/dist/components/calendar.component.d.ts @@ -0,0 +1,20 @@ +import { ElementRef, ChangeDetectorRef, Renderer, OnInit } from '@angular/core'; +import { NavParams, ViewController } from 'ionic-angular'; +import { CalendarMonth, Colors } from '../calendar.model'; +import { CalendarService } from "../services/calendar.service"; +export declare class CalendarComponent implements OnInit { + private _renderer; + _elementRef: ElementRef; + params: NavParams; + viewCtrl: ViewController; + ref: ChangeDetectorRef; + calSvc: CalendarService; + month: CalendarMonth; + color: Colors; + titleFormat: string; + weekStartDay: number; + disableWeekdays: Array; + constructor(_renderer: Renderer, _elementRef: ElementRef, params: NavParams, viewCtrl: ViewController, ref: ChangeDetectorRef, calSvc: CalendarService); + ionViewDidLoad(): void; + ngOnInit(): void; +} diff --git a/dist/components/calendar.component.js b/dist/components/calendar.component.js new file mode 100644 index 000000000..71ed47857 --- /dev/null +++ b/dist/components/calendar.component.js @@ -0,0 +1,50 @@ +import { Component, ElementRef, ChangeDetectorRef, Renderer, Input } from '@angular/core'; +import { NavParams, ViewController } from 'ionic-angular'; +import { CalendarService } from "../services/calendar.service"; +var CalendarComponent = (function () { + function CalendarComponent(_renderer, _elementRef, params, viewCtrl, ref, calSvc) { + this._renderer = _renderer; + this._elementRef = _elementRef; + this.params = params; + this.viewCtrl = viewCtrl; + this.ref = ref; + this.calSvc = calSvc; + this.color = 'primary'; + this.titleFormat = 'MMM yyyy'; + this.weekStartDay = 0; + this.disableWeekdays = []; + } + CalendarComponent.prototype.ionViewDidLoad = function () { + }; + CalendarComponent.prototype.ngOnInit = function () { + this.month = this.calSvc.createMonthsByPeriod(new Date().getTime(), 1, this.calSvc.safeOpt({ + from: new Date(), + weekStartDay: this.weekStartDay, + disableWeekdays: this.disableWeekdays, + }))[0]; + }; + return CalendarComponent; +}()); +export { CalendarComponent }; +CalendarComponent.decorators = [ + { type: Component, args: [{ + selector: 'ion-calendar', + template: "\n
\n
\n {{month.original.time | date: titleFormat}}\n
\n
\n \n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n ", + },] }, +]; +/** @nocollapse */ +CalendarComponent.ctorParameters = function () { return [ + { type: Renderer, }, + { type: ElementRef, }, + { type: NavParams, }, + { type: ViewController, }, + { type: ChangeDetectorRef, }, + { type: CalendarService, }, +]; }; +CalendarComponent.propDecorators = { + 'color': [{ type: Input },], + 'titleFormat': [{ type: Input },], + 'weekStartDay': [{ type: Input },], + 'disableWeekdays': [{ type: Input },], +}; +//# sourceMappingURL=calendar.component.js.map \ No newline at end of file diff --git a/dist/components/calendar.component.js.map b/dist/components/calendar.component.js.map new file mode 100644 index 000000000..8cbb68a1e --- /dev/null +++ b/dist/components/calendar.component.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/components/calendar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAA,SAAE,EAAqB,UAAA,EAAY,iBAAA,EAAmB,QAAA,EAAU,KAAA,EAAc,MAAM,eAAA,CAAgB;AAC3G,OAAO,EAAE,SAAA,EAAU,cAAE,EAAuC,MAAO,eAAA,CAAgB;AAKnF,OAAO,EAAE,eAAA,EAAgB,MAAO,8BAAA,CAA+B;AAI/D;IAQI,2BACY,SAAmB,EACpB,WAAuB,EACvB,MAAiB,EACjB,QAAwB,EACxB,GAAsB,EACtB,MAAuB;QALtB,cAAS,GAAT,SAAS,CAAU;QACpB,gBAAW,GAAX,WAAW,CAAY;QACvB,WAAM,GAAN,MAAM,CAAW;QACjB,aAAQ,GAAR,QAAQ,CAAgB;QACxB,QAAG,GAAH,GAAG,CAAmB;QACtB,WAAM,GAAN,MAAM,CAAiB;QAVjC,UAAK,GAAW,SAAS,CAAC;QAC1B,gBAAW,GAAG,UAAU,CAAC;QACzB,iBAAY,GAAW,CAAC,CAAC;QACzB,oBAAe,GAAkB,EAAE,CAAC;IAWrC,CAAC;IAED,0CAAc,GAAd;IAEA,CAAC;IAED,oCAAQ,GAAR;QACI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACzC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,EACpB,CAAC,EACD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YAChB,IAAI,EAAE,IAAI,IAAI,EAAE;YAChB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,eAAe,EAAE,IAAI,CAAC,eAAe;SACxC,CAAC,CACL,CAAC,CAAC,CAAC,CAAC;IACT,CAAC;IA6CL,wBAAC;AAAD,CA/EA,AA+EC;;AA3CM,4BAAU,GAA0B;IAC3C,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;gBACtB,QAAQ,EAAE,cAAc;gBACxB,QAAQ,EAAE,8sBAqBT;aAEJ,EAAG,EAAE;CACL,CAAC;AACF,kBAAkB;AACX,gCAAc,GAAmE,cAAM,OAAA;IAC9F,EAAC,IAAI,EAAE,QAAQ,GAAG;IAClB,EAAC,IAAI,EAAE,UAAU,GAAG;IACpB,EAAC,IAAI,EAAE,SAAS,GAAG;IACnB,EAAC,IAAI,EAAE,cAAc,GAAG;IACxB,EAAC,IAAI,EAAE,iBAAiB,GAAG;IAC3B,EAAC,IAAI,EAAE,eAAe,GAAG;CACxB,EAP6F,CAO7F,CAAC;AACK,gCAAc,GAA2C;IAChE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACjC,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAClC,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;CACpC,CAAC","file":"calendar.component.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/components/calendar.component.metadata.json b/dist/components/calendar.component.metadata.json new file mode 100644 index 000000000..c41e63377 --- /dev/null +++ b/dist/components/calendar.component.metadata.json @@ -0,0 +1 @@ +[{"__symbolic":"module","version":3,"metadata":{"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","template":"\n
\n
\n {{month.original.time | date: titleFormat}}\n
\n
\n \n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n "}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"titleFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartDay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disableWeekdays":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","template":"\n
\n
\n {{month.original.time | date: titleFormat}}\n
\n
\n \n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n "}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"titleFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartDay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disableWeekdays":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/components/calendar.component.scss b/dist/components/calendar.component.scss new file mode 100644 index 000000000..0dc91968f --- /dev/null +++ b/dist/components/calendar.component.scss @@ -0,0 +1,51 @@ +ion-calendar { + + $btn-width : 30px; + + padding: 10px 20px; + box-sizing: border-box; + display: inline-block; + background-color: #fff; + width: 100%; + + .title { + + padding:0 $btn-width 0 $btn-width; + overflow: hidden; + + .back, .forward, .text { + display: block; + position: relative; + float: left; + min-height: 32px; + margin: 0; + padding: 0; + font-size: 15px; + } + + .back, .forward{ + color: #757575; + } + + .back { + margin-left: -100%; + left: -$btn-width; + width: $btn-width; + } + + .forward { + margin-left: -$btn-width; + right: -$btn-width; + width: $btn-width; + } + + .text { + width: 100%; + text-align: center; + line-height: 32px; + } + } + +} + + diff --git a/dist/components/calendar-component.d.ts b/dist/components/calendar.modal.d.ts similarity index 95% rename from dist/components/calendar-component.d.ts rename to dist/components/calendar.modal.d.ts index 69e82c504..250086aa6 100644 --- a/dist/components/calendar-component.d.ts +++ b/dist/components/calendar.modal.d.ts @@ -2,7 +2,7 @@ import { ElementRef, ChangeDetectorRef, Renderer } from '@angular/core'; import { NavParams, ViewController, Content, InfiniteScroll } from 'ionic-angular'; import { CalendarDay, CalendarMonth, CalendarOptions, CalendarControllerOptions } from '../calendar.model'; import { CalendarService } from "../services/calendar.service"; -export declare class CalendarComponent { +export declare class CalendarModal { private _renderer; _elementRef: ElementRef; params: NavParams; @@ -13,6 +13,9 @@ export declare class CalendarComponent { monthsEle: ElementRef; title: string; closeLabel: string; + closeIcon: boolean; + doneLabel: string; + doneIcon: boolean; dayTemp: Array; calendarMonths: Array; monthTitleFilterStr: string; @@ -26,7 +29,6 @@ export declare class CalendarComponent { year: number; years: Array; infiniteScroll: InfiniteScroll; - closeIcon: boolean; options: CalendarOptions; debug: boolean; _s: boolean; diff --git a/dist/components/calendar-component.js b/dist/components/calendar.modal.js similarity index 74% rename from dist/components/calendar-component.js rename to dist/components/calendar.modal.js index b97e360bc..1167536ae 100644 --- a/dist/components/calendar-component.js +++ b/dist/components/calendar.modal.js @@ -2,8 +2,8 @@ import { Component, ViewChild, ElementRef, ChangeDetectorRef, Renderer } from '@ import { NavParams, ViewController, Content } from 'ionic-angular'; import * as moment from 'moment'; import { CalendarService } from "../services/calendar.service"; -var CalendarComponent = (function () { - function CalendarComponent(_renderer, _elementRef, params, viewCtrl, ref, calSvc) { +var CalendarModal = (function () { + function CalendarModal(_renderer, _elementRef, params, viewCtrl, ref, calSvc) { this._renderer = _renderer; this._elementRef = _elementRef; this.params = params; @@ -21,10 +21,10 @@ var CalendarComponent = (function () { this.init(); this.getHistory(); } - CalendarComponent.prototype.ionViewDidLoad = function () { + CalendarModal.prototype.ionViewDidLoad = function () { this.scrollToDefaultDate(); }; - CalendarComponent.prototype.init = function () { + CalendarModal.prototype.init = function () { var params = this.params; this._d = params.get('options'); var startTime = moment(this._d.from).valueOf(); @@ -43,11 +43,14 @@ var CalendarComponent = (function () { this.scrollBackwards = this._d.canBackwardsSelected; this.weekStartDay = this._d.weekStartDay; this._id = this._d.id; + this._color = this._d.color; this.monthTitleFilterStr = this._d.monthTitle; this.weekdaysTitle = this._d.weekdaysTitle; this.title = this._d.title; this.closeLabel = this._d.closeLabel; this.closeIcon = this._d.closeIcon; + this.doneLabel = this._d.doneLabel; + this.doneIcon = this._d.doneIcon; this.isSaveHistory = this._d.isSaveHistory; this.countNextMonths = this._d.countNextMonths; if (this.countNextMonths < 1) { @@ -61,7 +64,7 @@ var CalendarComponent = (function () { this.calendarMonths = this.calSvc.createMonthsByPeriod(startTime, this.findInitMonthNumber(this.defaultDate) + this.countNextMonths, this._d); } }; - CalendarComponent.prototype.findCssClass = function () { + CalendarModal.prototype.findCssClass = function () { var _this = this; var cssClass = this.params.get('cssClass'); if (cssClass) { @@ -71,17 +74,20 @@ var CalendarComponent = (function () { }); } }; - CalendarComponent.prototype.onChange = function (data) { + CalendarModal.prototype.onChange = function (data) { this.calSvc.savedHistory(data, this._id); this.ref.detectChanges(); + if (this._d.autoDone && this.canDone()) { + this.done(); + } }; - CalendarComponent.prototype.onCancel = function () { + CalendarModal.prototype.onCancel = function () { this.viewCtrl.dismiss(); }; - CalendarComponent.prototype.done = function () { + CalendarModal.prototype.done = function () { this.viewCtrl.dismiss(this.dayTemp); }; - CalendarComponent.prototype.canDone = function () { + CalendarModal.prototype.canDone = function () { if (!Array.isArray(this.dayTemp)) { return false; } @@ -92,12 +98,12 @@ var CalendarComponent = (function () { return !!(this.dayTemp[0] && this.dayTemp[1]) && !!(this.dayTemp[0].time && this.dayTemp[1].time); } }; - CalendarComponent.prototype.getHistory = function () { + CalendarModal.prototype.getHistory = function () { if (this.isSaveHistory) { this.dayTemp = this.calSvc.getHistory(this._id); } }; - CalendarComponent.prototype.createYearPicker = function (startTime, endTime) { + CalendarModal.prototype.createYearPicker = function (startTime, endTime) { // init year array this.years = []; // getting max and be sure, it is in future (maybe parameter?) @@ -134,7 +140,7 @@ var CalendarComponent = (function () { // checking whether the end is before lastDayOfYear this.options.range_end = lastDayOfYear.getTime() > endTime ? endTime : lastDayOfYear.getTime(); }; - CalendarComponent.prototype.nextMonth = function (infiniteScroll) { + CalendarModal.prototype.nextMonth = function (infiniteScroll) { this.infiniteScroll = infiniteScroll; var len = this.calendarMonths.length; var final = this.calendarMonths[len - 1]; @@ -148,14 +154,14 @@ var CalendarComponent = (function () { infiniteScroll.complete(); var _a; }; - CalendarComponent.prototype.backwardsMonth = function () { + CalendarModal.prototype.backwardsMonth = function () { var first = this.calendarMonths[0]; var firstTime = moment(first.original.time).subtract(1, 'M').valueOf(); (_a = this.calendarMonths).unshift.apply(_a, this.calSvc.createMonthsByPeriod(firstTime, 1, this._d)); this.ref.detectChanges(); var _a; }; - CalendarComponent.prototype.scrollToDefaultDate = function () { + CalendarModal.prototype.scrollToDefaultDate = function () { var _this = this; var defaultDateIndex = this.findInitMonthNumber(this.defaultDate); var defaultDateMonth = this.monthsEle.nativeElement.children["month-" + defaultDateIndex].offsetTop; @@ -165,7 +171,7 @@ var CalendarComponent = (function () { _this.content.scrollTo(0, defaultDateMonth, 128); }, 300); }; - CalendarComponent.prototype.onScroll = function ($event) { + CalendarModal.prototype.onScroll = function ($event) { var _this = this; if (!this.scrollBackwards) return; @@ -182,7 +188,7 @@ var CalendarComponent = (function () { }, 180); } }; - CalendarComponent.prototype.findInitMonthNumber = function (date) { + CalendarModal.prototype.findInitMonthNumber = function (date) { var startDate = moment(this.options.start); var defaultDate = moment(date); var isAfter = defaultDate.isAfter(startDate); @@ -193,7 +199,7 @@ var CalendarComponent = (function () { } return defaultDate.diff(startDate, 'month'); }; - CalendarComponent.prototype.changedYearSelection = function () { + CalendarModal.prototype.changedYearSelection = function () { var _this = this; // re-enabling infinite scroll if (this.infiniteScroll !== undefined) { @@ -222,17 +228,17 @@ var CalendarComponent = (function () { _this.content.scrollTo(0, 0, 128); }, 300); }; - return CalendarComponent; + return CalendarModal; }()); -export { CalendarComponent }; -CalendarComponent.decorators = [ +export { CalendarModal }; +CalendarModal.decorators = [ { type: Component, args: [{ selector: 'ion-calendar-modal', - template: "\n \n \n \n\n \n \n {{y}}\n \n \n\n {{title}}\n \n \n \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n ", + template: "\n \n \n \n\n \n \n {{y}}\n \n \n\n {{title}}\n \n \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n ", },] }, ]; /** @nocollapse */ -CalendarComponent.ctorParameters = function () { return [ +CalendarModal.ctorParameters = function () { return [ { type: Renderer, }, { type: ElementRef, }, { type: NavParams, }, @@ -240,8 +246,8 @@ CalendarComponent.ctorParameters = function () { return [ { type: ChangeDetectorRef, }, { type: CalendarService, }, ]; }; -CalendarComponent.propDecorators = { +CalendarModal.propDecorators = { 'content': [{ type: ViewChild, args: [Content,] },], 'monthsEle': [{ type: ViewChild, args: ['months',] },], }; -//# sourceMappingURL=calendar-component.js.map \ No newline at end of file +//# sourceMappingURL=calendar.modal.js.map \ No newline at end of file diff --git a/dist/components/calendar.modal.js.map b/dist/components/calendar.modal.js.map new file mode 100644 index 000000000..dd2c0749b --- /dev/null +++ b/dist/components/calendar.modal.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/components/calendar.modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAA,EAAW,SAAA,EAAW,UAAA,EAAY,iBAAA,EAAmB,QAAA,EAAS,MAAO,eAAA,CAAgB;AAC9F,OAAO,EAAE,SAAA,EAAU,cAAE,EAAe,OAAA,EAAwB,MAAO,eAAA,CAAgB;AAEnF,OAAO,KAAK,MAAA,MAAY,QAAA,CAAS;AAGjC,OAAO,EAAE,eAAA,EAAgB,MAAO,8BAAA,CAA+B;AAI/D;IA+BI,uBACY,SAAmB,EACpB,WAAuB,EACvB,MAAiB,EACjB,QAAwB,EACxB,GAAsB,EACtB,MAAuB;QALtB,cAAS,GAAT,SAAS,CAAU;QACpB,gBAAW,GAAX,WAAW,CAAY;QACvB,WAAM,GAAN,MAAM,CAAW;QACjB,aAAQ,GAAR,QAAQ,CA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\ No newline at end of file diff --git a/dist/components/calendar.modal.metadata.json b/dist/components/calendar.modal.metadata.json new file mode 100644 index 000000000..a64033c4c --- /dev/null +++ b/dist/components/calendar.modal.metadata.json @@ -0,0 +1 @@ +[{"__symbolic":"module","version":3,"metadata":{"CalendarModal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-modal","template":"\n \n \n \n\n \n \n {{y}}\n \n \n\n {{title}}\n \n \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n "}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"ionic-angular","name":"Content"}]}]}],"monthsEle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["months"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"findCssClass":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"canDone":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"createYearPicker":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"backwardsMonth":[{"__symbolic":"method"}],"scrollToDefaultDate":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}],"findInitMonthNumber":[{"__symbolic":"method"}],"changedYearSelection":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarModal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-modal","template":"\n \n \n \n\n \n \n {{y}}\n \n \n\n {{title}}\n \n \n \n \n \n\n \n\n \n \n\n \n\n \n\n
\n
\n

{{month.original.date | date:monthTitleFilterStr}}

\n \n \n \n
\n
\n\n \n \n \n\n
\n "}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","module":"ionic-angular","name":"Content"}]}]}],"monthsEle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["months"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams"},{"__symbolic":"reference","module":"ionic-angular","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"findCssClass":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onCancel":[{"__symbolic":"method"}],"done":[{"__symbolic":"method"}],"canDone":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"createYearPicker":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"backwardsMonth":[{"__symbolic":"method"}],"scrollToDefaultDate":[{"__symbolic":"method"}],"onScroll":[{"__symbolic":"method"}],"findInitMonthNumber":[{"__symbolic":"method"}],"changedYearSelection":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/components/calendar-component.scss b/dist/components/calendar.modal.scss similarity index 100% rename from dist/components/calendar-component.scss rename to dist/components/calendar.modal.scss diff --git a/dist/components/month-component.js.map b/dist/components/month-component.js.map deleted file mode 100644 index b164506b8..000000000 --- a/dist/components/month-component.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/components/month-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAA,EAAW,iBAAA,EAAmB,KAAA,EAAO,MAAA,EAAQ,YAAA,EAAsB,UAAA,EAAW,MAAO,eAAA,CAAgB;AAE9G,OAAO,EAAwB,iBAAA,EAAkB,MAAO,gBAAA,CAAiB;AAIzE,MAAM,CAAC,IAAM,oBAAA,GAA4B;IACrC,OAAO,EAAE,iBAAA;IACT,WAAW,EAAE,UAAA,CAAW,cAAM,OAAA,cAAA,EAAA,CAAA,CAAe;IAC7C,KAAK,EAAE,IAAA;CACV,CAAC;AAGF;IAcI,wBACW,GAAsB;QAAtB,QAAG,GAAH,GAAG,CAAmB;QARhC,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAElD,UAAK,GAA4B,CAAC,IAAI,EAAC,IAAI,CAAC,CAAC;IAS7C,CAAC;IAED,iCAAQ,GAAR;QACI,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,EAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,mCAAU,GAAV,UAAW,GAAQ;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;IACrB,CAAC;IAED,yCAAgB,GAAhB,UAAiB,EAAO;QACpB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,0CAAiB,GAAjB,UAAkB,EAAO;QACrB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,uCAAc,GAAd,UAAe,GAAgB;QAC3B,EAAE,CAAA,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,KAAK,CA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,6vDAqCT;aACJ,EAAG,EAAE;CACL,CAAC;AACF,kBAAkB;AACX,6BAAc,GAAmE,cAAM,OAAA;IAC9F,EAAC,IAAI,EAAE,iBAAiB,GAAG;CAC1B,EAF6F,CAE7F,CAAC;AACK,6BAAc,GAA2C;IAChE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC7B,eAAe,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACnC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACxB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC9B,CAAC","file":"month-component.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/components/month-component.metadata.json b/dist/components/month-component.metadata.json deleted file mode 100644 index f3765f469..000000000 --- a/dist/components/month-component.metadata.json +++ /dev/null @@ -1 +0,0 @@ -[{"__symbolic":"module","version":3,"metadata":{"MONTH_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"MonthComponent"},"multi":true},"MonthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-month","providers":[{"__symbolic":"reference","name":"MONTH_VALUE_ACCESSOR"}],"template":" \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n\n "}]}],"members":{"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isRadio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isSaveHistory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"isEndSelection":[{"__symbolic":"method"}],"isBetween":[{"__symbolic":"method"}],"isStartSelection":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"onSelected":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MONTH_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"MonthComponent"},"multi":true},"MonthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-month","providers":[{"__symbolic":"reference","name":"MONTH_VALUE_ACCESSOR"}],"template":" \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n\n "}]}],"members":{"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isRadio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isSaveHistory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"isEndSelection":[{"__symbolic":"method"}],"isBetween":[{"__symbolic":"method"}],"isStartSelection":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"onSelected":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/components/month-component.d.ts b/dist/components/month.component.d.ts similarity index 98% rename from dist/components/month-component.d.ts rename to dist/components/month.component.d.ts index 6ccad5104..b82f06edd 100644 --- a/dist/components/month-component.d.ts +++ b/dist/components/month.component.d.ts @@ -8,6 +8,7 @@ export declare class MonthComponent implements ControlValueAccessor, OnInit { isRadio: boolean; isSaveHistory: boolean; id: any; + color: string; onChange: EventEmitter; _date: Array; _onChanged: Function; diff --git a/dist/components/month-component.js b/dist/components/month.component.js similarity index 63% rename from dist/components/month-component.js rename to dist/components/month.component.js index 536d88ef7..d7b76c546 100644 --- a/dist/components/month-component.js +++ b/dist/components/month.component.js @@ -8,6 +8,7 @@ export var MONTH_VALUE_ACCESSOR = { var MonthComponent = (function () { function MonthComponent(ref) { this.ref = ref; + this.color = 'primary'; this.onChange = new EventEmitter(); this._date = [null, null]; } @@ -104,7 +105,7 @@ MonthComponent.decorators = [ { type: Component, args: [{ selector: 'ion-calendar-month', providers: [MONTH_VALUE_ACCESSOR], - template: " \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n\n ", + template: " \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n ", },] }, ]; /** @nocollapse */ @@ -116,6 +117,7 @@ MonthComponent.propDecorators = { 'isRadio': [{ type: Input },], 'isSaveHistory': [{ type: Input },], 'id': [{ type: Input },], + 'color': [{ type: Input },], 'onChange': [{ type: Output },], }; -//# sourceMappingURL=month-component.js.map \ No newline at end of file +//# sourceMappingURL=month.component.js.map \ No newline at end of file diff --git a/dist/components/month.component.js.map b/dist/components/month.component.js.map new file mode 100644 index 000000000..02cf1d262 --- /dev/null +++ b/dist/components/month.component.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/components/month.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAA,EAAW,iBAAA,EAAmB,KAAA,EAAO,MAAA,EAAQ,YAAA,EAAsB,UAAA,EAAW,MAAO,eAAA,CAAgB;AAE9G,OAAO,EAAwB,iBAAA,EAAkB,MAAO,gBAAA,CAAiB;AAIzE,MAAM,CAAC,IAAM,oBAAA,GAA4B;IACrC,OAAO,EAAE,iBAAA;IACT,WAAW,EAAE,UAAA,CAAW,cAAM,OAAA,cAAA,EAAA,CAAA,CAAe;IAC7C,KAAK,EAAE,IAAA;CACV,CAAC;AAGF;IAeI,wBACW,GAAsB;QAAtB,QAAG,GAAH,GAAG,CAAmB;QAVhC,UAAK,GAAW,SAAS,CAAC;QAE1B,aAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;QAElD,UAAK,GAA4B,CAAC,IAAI,EAAC,IAAI,CAAC,CAAC;IAS7C,CAAC;IAED,iCAAQ,GAAR;QACI,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,EAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,mCAAU,GAAV,UAAW,GAAQ;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;IACrB,CAAC;IAED,yCAAgB,GAAhB,UAAiB,EAAO;QACpB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,0CAAiB,GAAjB,UAAkB,EAAO;QACrB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,uCAAc,GAAd,UAAe,GAAgB;QAC3B,EAAE,CAAA,CAAC,IAAI,CAAC,OAAO,IAAI,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C,QAAQ,EAAE,w7DAsCT;aACJ,EAAG,EAAE;CACL,CAAC;AACF,kBAAkB;AACX,6BAAc,GAAmE,cAAM,OAAA;IAC9F,EAAC,IAAI,EAAE,iBAAiB,GAAG;CAC1B,EAF6F,CAE7F,CAAC;AACK,6BAAc,GAA2C;IAChE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC7B,eAAe,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACnC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IACxB,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAC3B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CAC9B,CAAC","file":"month.component.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/components/month.component.metadata.json b/dist/components/month.component.metadata.json new file mode 100644 index 000000000..21cbcaa7a --- /dev/null +++ b/dist/components/month.component.metadata.json @@ -0,0 +1 @@ +[{"__symbolic":"module","version":3,"metadata":{"MONTH_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"MonthComponent"},"multi":true},"MonthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-month","providers":[{"__symbolic":"reference","name":"MONTH_VALUE_ACCESSOR"}],"template":" \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n "}]}],"members":{"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isRadio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isSaveHistory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"isEndSelection":[{"__symbolic":"method"}],"isBetween":[{"__symbolic":"method"}],"isStartSelection":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"onSelected":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MONTH_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"MonthComponent"},"multi":true},"MonthComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar-month","providers":[{"__symbolic":"reference","name":"MONTH_VALUE_ACCESSOR"}],"template":" \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n "}]}],"members":{"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isRadio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isSaveHistory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"isEndSelection":[{"__symbolic":"method"}],"isBetween":[{"__symbolic":"method"}],"isStartSelection":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"onSelected":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/components/month-component.scss b/dist/components/month.component.scss similarity index 77% rename from dist/components/month-component.scss rename to dist/components/month.component.scss index 03003cf9c..379893eca 100755 --- a/dist/components/month-component.scss +++ b/dist/components/month.component.scss @@ -24,6 +24,28 @@ transition-timing-function: $args; } +@mixin month-color($color: primary) { + button.days-btn small, + .days .marked p, + .days .today p { + color: color($cal-colors, $color); + } + + .days .today.on-selected p { + color: #fff; + } + + .days .on-selected, + button.days-btn.startSelection, + button.days-btn.endSelection { + background-color: color($cal-colors, $color); + } + + button.days-btn.between { + background-color: lighten(color($cal-colors, $color) ,30%); + } +} + ion-calendar-month{ .days-box { padding: 0.5rem; @@ -40,16 +62,10 @@ ion-calendar-month{ height: 40px; } .days .marked p{ - color: color($cal-colors, primary); font-weight:500; } - .days .today p { - color: color($cal-colors, primary); - } - .days .on-selected{ - background-color: color($cal-colors, primary); border: none; & p{ @@ -81,17 +97,13 @@ ion-calendar-month{ } &.startSelection{ border-radius: 50% 0 0 50%; - background-color: color($cal-colors, primary); } &.between{ - background-color: lighten(color($cal-colors, primary) ,30%); width: 100%; border-radius: 0; } &.endSelection{ border-radius: 0 50% 50% 0; - background-color: color($cal-colors,primary); - p{ color: #fff; } @@ -119,7 +131,22 @@ ion-calendar-month{ position: absolute; z-index:1; text-align: center; - color: color($cal-colors,primary); font-weight: 200; } + + .primary { + @include month-color(); + } + + .secondary { + @include month-color('secondary'); + } + + .danger { + @include month-color('danger'); + } + + .dark { + @include month-color('dark'); + } } diff --git a/dist/index.d.ts b/dist/index.d.ts index 23b67b602..3540d4c17 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -2,5 +2,5 @@ export * from './calendar.model'; export { CalendarModule } from './calendar.module'; export { CalendarController } from './calendar.controller'; export { ModalController } from 'ionic-angular'; -export { CalendarWeekComponent } from './components/calendar-week-component'; -export * from './components/calendar-component'; +export { CalendarWeekComponent } from './components/calendar-week.component'; +export * from './components/calendar.modal'; diff --git a/dist/index.js b/dist/index.js index 8865aa6de..e1cc41441 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,6 +2,6 @@ export * from './calendar.model'; export { CalendarModule } from './calendar.module'; export { CalendarController } from './calendar.controller'; export { ModalController } from 'ionic-angular'; -export { CalendarWeekComponent } from './components/calendar-week-component'; -export * from './components/calendar-component'; +export { CalendarWeekComponent } from './components/calendar-week.component'; +export * from './components/calendar.modal'; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index efd057683..c3eeaf193 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,cAAc,iCAAiC,CAAC","file":"index.js","sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,cAAc,6BAA6B,CAAC","file":"index.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/index.metadata.json b/dist/index.metadata.json index eaef539d6..9d14b4aa5 100644 --- a/dist/index.metadata.json +++ b/dist/index.metadata.json @@ -1 +1 @@ -[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./calendar.model"},{"from":"./calendar.module","export":["CalendarModule"]},{"from":"./calendar.controller","export":["CalendarController"]},{"from":"ionic-angular","export":["ModalController"]},{"from":"./components/calendar-week-component","export":["CalendarWeekComponent"]},{"from":"./components/calendar-component"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./calendar.model"},{"from":"./calendar.module","export":["CalendarModule"]},{"from":"./calendar.controller","export":["CalendarController"]},{"from":"ionic-angular","export":["ModalController"]},{"from":"./components/calendar-week-component","export":["CalendarWeekComponent"]},{"from":"./components/calendar-component"}]}] \ No newline at end of file +[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./calendar.model"},{"from":"./calendar.module","export":["CalendarModule"]},{"from":"./calendar.controller","export":["CalendarController"]},{"from":"ionic-angular","export":["ModalController"]},{"from":"./components/calendar-week.component","export":["CalendarWeekComponent"]},{"from":"./components/calendar.modal"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./calendar.model"},{"from":"./calendar.module","export":["CalendarModule"]},{"from":"./calendar.controller","export":["CalendarController"]},{"from":"ionic-angular","export":["ModalController"]},{"from":"./components/calendar-week.component","export":["CalendarWeekComponent"]},{"from":"./components/calendar.modal"}]}] \ No newline at end of file diff --git a/dist/services/calendar.service.d.ts b/dist/services/calendar.service.d.ts index ec9de6303..1bc253b4f 100644 --- a/dist/services/calendar.service.d.ts +++ b/dist/services/calendar.service.d.ts @@ -1,6 +1,7 @@ import { CalendarOriginal, CalendarDay, CalendarMonth, CalendarControllerOptions } from '../calendar.model'; export declare class CalendarService { constructor(); + safeOpt(calendarOptions: CalendarControllerOptions): CalendarControllerOptions; createOriginalCalendar(time: number): CalendarOriginal; findDayConfig(day: any, opt: CalendarControllerOptions): any; createCalendarDay(time: number, opt: CalendarControllerOptions): CalendarDay; diff --git a/dist/services/calendar.service.js b/dist/services/calendar.service.js index 731ef11af..3c9789ee9 100644 --- a/dist/services/calendar.service.js +++ b/dist/services/calendar.service.js @@ -6,6 +6,35 @@ import * as moment from 'moment'; var CalendarService = (function () { function CalendarService() { } + CalendarService.prototype.safeOpt = function (calendarOptions) { + var _arr = []; + var _a = calendarOptions || {}, _b = _a.autoDone, autoDone = _b === void 0 ? false : _b, _c = _a.from, from = _c === void 0 ? new Date() : _c, _d = _a.to, to = _d === void 0 ? 0 : _d, _e = _a.cssClass, cssClass = _e === void 0 ? '' : _e, _f = _a.weekStartDay, weekStartDay = _f === void 0 ? 0 : _f, _g = _a.isRadio, isRadio = _g === void 0 ? true : _g, _h = _a.canBackwardsSelected, canBackwardsSelected = _h === void 0 ? false : _h, _j = _a.disableWeekdays, disableWeekdays = _j === void 0 ? _arr : _j, _k = _a.closeLabel, closeLabel = _k === void 0 ? 'cancel' : _k, _l = _a.closeIcon, closeIcon = _l === void 0 ? false : _l, _m = _a.doneLabel, doneLabel = _m === void 0 ? 'done' : _m, _o = _a.doneIcon, doneIcon = _o === void 0 ? false : _o, _p = _a.id, id = _p === void 0 ? '' : _p, _q = _a.color, color = _q === void 0 ? 'primary' : _q, _r = _a.isSaveHistory, isSaveHistory = _r === void 0 ? false : _r, _s = _a.monthTitle, monthTitle = _s === void 0 ? 'MMM yyyy' : _s, _t = _a.title, title = _t === void 0 ? 'Calendar' : _t, _u = _a.weekdaysTitle, weekdaysTitle = _u === void 0 ? "Di_Lu_Ma_Me_Je_Ve_Sa".split("_") : _u, _v = _a.daysConfig, daysConfig = _v === void 0 ? _arr : _v, _w = _a.countNextMonths, countNextMonths = _w === void 0 ? 3 : _w, _x = _a.showYearPicker, showYearPicker = _x === void 0 ? false : _x; + var options = { + autoDone: autoDone, + from: from, + to: to, + cssClass: cssClass, + isRadio: isRadio, + weekStartDay: weekStartDay, + canBackwardsSelected: canBackwardsSelected, + closeLabel: closeLabel, + closeIcon: closeIcon, + doneLabel: doneLabel, + doneIcon: doneIcon, + id: id, + color: color, + isSaveHistory: isSaveHistory, + defaultDate: calendarOptions.defaultDate || from, + disableWeekdays: disableWeekdays, + monthTitle: monthTitle, + title: title, + weekdaysTitle: weekdaysTitle, + daysConfig: daysConfig, + countNextMonths: countNextMonths, + showYearPicker: showYearPicker, + }; + return options; + }; CalendarService.prototype.createOriginalCalendar = function (time) { var date = new Date(time); var year = date.getFullYear(); diff --git a/dist/services/calendar.service.js.map b/dist/services/calendar.service.js.map index f80590dc9..9b852acd3 100644 --- a/dist/services/calendar.service.js.map +++ b/dist/services/calendar.service.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/services/calendar.service.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAA,EAAW,MAAO,eAAA,CAAgB;AAE3C,OAAO,KAAK,MAAA,MAAY,QAAA,CAAS;AAIjC;IAEI;IAEA,CAAC;IAED,gDAAsB,GAAtB,UAAuB,IAAY;QAE/B,IAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5B,IAAM,IAAI,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAChC,IAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC9B,IAAM,SAAS,GAAG,IAAI,IA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CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC/B,CAAC;QAAA,IAAI,CAAC,CAAC;YACH,WAAW,GAAQ,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACpD,CAAC;QACD,MAAM,CAAC,WAAW,CAAA;IACtB,CAAC;IAED,sCAAY,GAAZ,UAAa,UAAmC,EAAE,EAAiB;QAC/D,YAAY,CAAC,OAAO,CAAC,kBAAgB,EAAI,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3E,CAAC;IAQL,sBAAC;AAAD,CArIA,AAqIC;;AANM,0BAAU,GAA0B;IAC3C,EAAE,IAAI,EAAE,UAAU,EAAE;CACnB,CAAC;AACF,kBAAkB;AACX,8BAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC","file":"calendar.service.js","sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/services/calendar.service.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAA,EAAW,MAAO,eAAA,CAAgB;AAE3C,OAAO,KAAK,MAAA,MAAY,QAAA,CAAS;AAIjC;IAEI;IAEA,CAAC;IAED,iCAAO,GAAP,UAAQ,eAA0C;QAC9C,IAAI,IAAI,GAAc,EAAE,CAAC;QAErB,IAAA,0BAsBqB,EArBrB,gBAAgB,EAAhB,qCAAgB,EAChB,YAAiB,EAAjB,sCAAiB,EACjB,UAAM,EAAN,2BAAM,EACN,gBAAa,EAAb,kCAAa,EACb,oBAAgB,EAAhB,qCAAgB,EAChB,eAAc,EAAd,mCAAc,EACd,4BAA4B,EAA5B,iDAA4B,EAC5B,uBAAsB,EAAtB,2CAAsB,EACtB,kBAAqB,EAArB,0CAAqB,EACrB,iBAAiB,EAAjB,sCAAiB,EACjB,iBAAkB,EAAlB,uCAAkB,EAClB,gBAAgB,EAAhB,qCAAgB,EAChB,UAAO,EAAP,4BAAO,EACP,aAAiB,EAAjB,sCAAiB,EACjB,qBA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AC;QACD,MAAM,CAAC,WAAW,CAAA;IACtB,CAAC;IAED,sCAAY,GAAZ,UAAa,UAAmC,EAAE,EAAiB;QAC/D,YAAY,CAAC,OAAO,CAAC,kBAAgB,EAAI,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3E,CAAC;IAQL,sBAAC;AAAD,CA5LA,AA4LC;;AANM,0BAAU,GAA0B;IAC3C,EAAE,IAAI,EAAE,UAAU,EAAE;CACnB,CAAC;AACF,kBAAkB;AACX,8BAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC","file":"calendar.service.js","sourceRoot":""} \ No newline at end of file diff --git a/dist/services/calendar.service.metadata.json b/dist/services/calendar.service.metadata.json index 00ab527fc..04429e3f0 100644 --- a/dist/services/calendar.service.metadata.json +++ b/dist/services/calendar.service.metadata.json @@ -1 +1 @@ -[{"__symbolic":"module","version":3,"metadata":{"CalendarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"createOriginalCalendar":[{"__symbolic":"method"}],"findDayConfig":[{"__symbolic":"method"}],"createCalendarDay":[{"__symbolic":"method"}],"createCalendarMonth":[{"__symbolic":"method"}],"createMonthsByPeriod":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"savedHistory":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"createOriginalCalendar":[{"__symbolic":"method"}],"findDayConfig":[{"__symbolic":"method"}],"createCalendarDay":[{"__symbolic":"method"}],"createCalendarMonth":[{"__symbolic":"method"}],"createMonthsByPeriod":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"savedHistory":[{"__symbolic":"method"}]}}}}] \ No newline at end of file +[{"__symbolic":"module","version":3,"metadata":{"CalendarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"safeOpt":[{"__symbolic":"method"}],"createOriginalCalendar":[{"__symbolic":"method"}],"findDayConfig":[{"__symbolic":"method"}],"createCalendarDay":[{"__symbolic":"method"}],"createCalendarMonth":[{"__symbolic":"method"}],"createMonthsByPeriod":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"savedHistory":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"safeOpt":[{"__symbolic":"method"}],"createOriginalCalendar":[{"__symbolic":"method"}],"findDayConfig":[{"__symbolic":"method"}],"createCalendarDay":[{"__symbolic":"method"}],"createCalendarMonth":[{"__symbolic":"method"}],"createMonthsByPeriod":[{"__symbolic":"method"}],"getHistory":[{"__symbolic":"method"}],"savedHistory":[{"__symbolic":"method"}]}}}}] \ No newline at end of file diff --git a/dist/variables.scss b/dist/variables.scss index 82f4e7afc..93e0aefa1 100644 --- a/dist/variables.scss +++ b/dist/variables.scss @@ -2,6 +2,6 @@ $cal-colors: ( primary: #387ef5, secondary: #32db64, danger: #f53d3d, - light: #f4f4f4, - dark: #222 + light: #fff, + dark: #222, ); \ No newline at end of file diff --git a/package.json b/package.json index 2d40f6026..78b243fdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ion2-calendar", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "description": "A date picker for ionic2 ", "main": "./dist/index.js", "typings": "./dist/index.d.ts",