From 02c7140701fea24b22a083d996f9ba6d7a5ed1d6 Mon Sep 17 00:00:00 2001 From: Arne Deruwe Date: Sat, 14 Apr 2018 22:26:58 +0200 Subject: [PATCH] 1.7.0 --- bundles/bundle.js | 34 +- config.js | 604 +++++----- config2.js | 610 +++++----- jspm_packages/.dependencies.json | 136 +-- .../github/systemjs/plugin-css@0.1.36.js | 1 - .../systemjs/plugin-css@0.1.36/.jspm-hash | 1 - .../github/systemjs/plugin-css@0.1.37.js | 1 + .../.gitignore | 0 .../systemjs/plugin-css@0.1.37/.jspm-hash | 1 + .../LICENSE | 0 .../README.md | 0 .../build-post-css/jspm.config.js | 0 .../build-post-css/package.json | 0 .../build-post-css/postcss-bundle.js | 0 .../css-plugin-base-builder.js | 2 +- .../css-plugin-base.js | 0 .../css.js | 0 .../package.json | 2 +- .../postcss-bundle.js | 0 .../test/bundle.css | 0 .../test/bundle.js | 0 .../test/css.browser.spec.js | 0 .../test/css.builder.spec.js | 35 + .../test/data/dep.css | 0 .../test/data/rootRelative.css | 6 + .../test/data/test.css | 0 .../test/mocha-setup.js | 0 .../test/mocha.opts | 0 .../test/phantom.js | 0 .../test/systemjs-config.js | 0 .../test/test.js | 0 .../test/testrunner.html | 0 .../npm/aurelia-animator-css@1.0.2.js | 3 - .../npm/aurelia-animator-css@1.0.2/.jspm-hash | 1 - .../npm/aurelia-animator-css@1.0.4.js | 3 + .../npm/aurelia-animator-css@1.0.4/.jspm-hash | 1 + .../aurelia-animator-css.js | 43 +- .../index.js | 0 jspm_packages/npm/aurelia-binding@1.2.2.js | 3 - .../npm/aurelia-binding@1.2.2/.jspm-hash | 1 - jspm_packages/npm/aurelia-binding@1.7.1.js | 3 + .../npm/aurelia-binding@1.7.1/.jspm-hash | 1 + .../aurelia-binding.js | 915 ++++++++------- .../index.js | 0 .../npm/aurelia-fetch-client@1.1.3.js | 3 - .../npm/aurelia-fetch-client@1.1.3/.jspm-hash | 1 - .../npm/aurelia-fetch-client@1.3.1.js | 3 + .../npm/aurelia-fetch-client@1.3.1/.jspm-hash | 1 + .../aurelia-fetch-client.js | 22 +- .../index.js | 0 jspm_packages/npm/aurelia-framework@1.1.4.js | 3 - .../npm/aurelia-framework@1.1.4/.jspm-hash | 1 - jspm_packages/npm/aurelia-framework@1.2.0.js | 3 + .../npm/aurelia-framework@1.2.0/.jspm-hash | 1 + .../aurelia-framework.js | 20 +- .../index.js | 0 .../npm/aurelia-history-browser@1.0.0.js | 3 - .../aurelia-history-browser@1.0.0/.jspm-hash | 1 - .../npm/aurelia-history-browser@1.1.1.js | 3 + .../aurelia-history-browser@1.1.1/.jspm-hash | 1 + .../aurelia-history-browser.js | 16 + .../index.js | 0 jspm_packages/npm/aurelia-history@1.0.0.js | 3 - .../npm/aurelia-history@1.0.0/.jspm-hash | 1 - jspm_packages/npm/aurelia-history@1.1.0.js | 3 + .../npm/aurelia-history@1.1.0/.jspm-hash | 1 + .../aurelia-history.js | 8 + .../index.js | 0 .../npm/aurelia-http-client@1.1.1.js | 3 - .../npm/aurelia-http-client@1.1.1/.jspm-hash | 1 - .../npm/aurelia-http-client@1.2.1.js | 3 + .../npm/aurelia-http-client@1.2.1/.jspm-hash | 1 + .../aurelia-http-client.js | 29 +- .../index.js | 0 .../npm/aurelia-kendoui-bridge@1.6.5.js | 3 - .../aurelia-kendoui-bridge@1.6.5/.jspm-hash | 1 - .../npm/aurelia-kendoui-bridge@1.7.0.js | 3 + .../aurelia-kendoui-bridge@1.7.0/.jspm-hash | 1 + .../aurelia-kendoui-bridge.d.ts | 165 +-- .../autocomplete/autocomplete.html | 0 .../autocomplete/autocomplete.js | 0 .../barcode/barcode.js | 0 .../button/button.js | 0 .../buttongroup/buttongroup.js | 0 .../calendar/calendar.html | 0 .../calendar/calendar.js | 0 .../chart/chart.html | 0 .../chart/chart.js | 0 .../chart/sparkline.html | 0 .../chart/sparkline.js | 0 .../chart/stock.html | 0 .../chart/stock.js | 0 .../chart/treemap.html | 0 .../chart/treemap.js | 0 .../colorpalette/colorpalette.html | 0 .../colorpalette/colorpalette.js | 0 .../colorpicker/colorpicker.js | 0 .../combobox/combobox.html | 0 .../combobox/combobox.js | 0 .../common/bindables.js | 0 .../common/constants.js | 0 .../common/control-properties.js | 0 .../common/decorators.js | 0 .../common/notify-binding-behavior.js | 0 .../common/observer.js | 0 .../common/options-builder.js | 0 .../common/template-compiler.js | 0 .../common/template-gatherer.js | 0 .../common/template.js | 0 .../common/util.js | 0 .../common/widget-base.js | 0 .../config-builder.js | 7 +- .../contextmenu/contextmenu.js | 0 .../dateinput/dateinput.js | 0 .../datepicker/datepicker.js | 0 .../datetimepicker/datetimepicker.js | 0 .../diagram/diagram.html | 0 .../diagram/diagram.js | 0 .../dialog/dialog.js | 0 .../draggable/draggable.js | 0 .../drop-target/drop-target-area.js | 0 .../drop-target/drop-target.js | 0 .../dropdownlist/dropdownlist.html | 0 .../dropdownlist/dropdownlist.js | 0 .../editor/editor.js | 0 .../filter-menu/filter-menu.js | 0 .../flatcolorpicker/flatcolorpicker.html | 0 .../flatcolorpicker/flatcolorpicker.js | 0 .../gantt/gantt-col.html | 0 .../gantt/gantt-col.js | 0 .../gantt/gantt.html | 0 .../gantt/gantt.js | 0 .../gauges/linear-gauge.html | 0 .../gauges/linear-gauge.js | 0 .../gauges/radial-gauge.html | 0 .../gauges/radial-gauge.js | 0 .../grid/col.html | 0 .../grid/col.js | 0 .../grid/grid-command.html | 0 .../grid/grid-command.js | 0 .../grid/grid-toolbar.html | 0 .../grid/grid-toolbar.js | 0 .../grid/grid.html | 0 .../grid/grid.js | 0 .../index.js | 0 .../listbox/listbox.html | 0 .../listbox/listbox.js | 0 .../listview/listview.html | 0 .../listview/listview.js | 0 .../map/map.html | 0 .../map/map.js | 0 .../maskedtextbox/maskedtextbox.js | 0 .../mediaplayer/mediaplayer.js | 0 .../menu/menu.js | 0 .../multiselect/multiselect.html | 0 .../multiselect/multiselect.js | 0 .../notification/notification-template.js | 0 .../notification/notification.html | 0 .../notification/notification.js | 0 .../numerictextbox/numerictextbox.js | 0 .../pager/pager.html | 3 + .../pager/pager.js | 105 ++ .../panelbar/panelbar.html | 0 .../panelbar/panelbar.js | 0 .../pdf/pdf.js | 0 .../pivotgrid/pivotconfigurator.html | 0 .../pivotgrid/pivotconfigurator.js | 0 .../pivotgrid/pivotgrid.html | 0 .../pivotgrid/pivotgrid.js | 0 .../popup/popup.js | 0 .../progressbar/progressbar.js | 0 .../qrcode/qrcode.js | 0 .../rangeslider/rangeslider.html | 0 .../rangeslider/rangeslider.js | 0 .../responsivepanel/responsivepanel.js | 0 .../scheduler/scheduler.html | 0 .../scheduler/scheduler.js | 0 .../scrollview/scrollview.html | 0 .../scrollview/scrollview.js | 0 .../slider/slider.js | 0 .../sortable/sortable.js | 0 .../splitter/splitter.js | 0 .../spreadsheet/spreadsheet.html | 0 .../spreadsheet/spreadsheet.js | 0 .../switch/switch.js | 0 .../tabstrip/tabstrip.js | 0 .../timepicker/timepicker.js | 0 .../toolbar/toolbar-item-button.html | 0 .../toolbar/toolbar-item-button.js | 0 .../toolbar/toolbar-item.html | 0 .../toolbar/toolbar-item.js | 0 .../toolbar/toolbar.html | 0 .../toolbar/toolbar.js | 0 .../tooltip/tooltip.js | 0 .../treelist/tree-col.html | 0 .../treelist/tree-col.js | 0 .../treelist/treelist.html | 0 .../treelist/treelist.js | 0 .../treeview/treeview.html | 0 .../treeview/treeview.js | 0 .../upload/upload.html | 0 .../upload/upload.js | 0 .../validator/validator.js | 0 .../valueconverters/valueconverters.js | 0 .../version.js | 2 +- .../window/window.js | 0 .../npm/aurelia-loader-default@1.0.2.js | 3 - .../aurelia-loader-default@1.0.2/.jspm-hash | 1 - .../npm/aurelia-loader-default@1.0.4.js | 3 + .../aurelia-loader-default@1.0.4/.jspm-hash | 1 + .../aurelia-loader-default.js | 31 +- .../index.js | 0 jspm_packages/npm/aurelia-logging@1.3.1.js | 3 - .../npm/aurelia-logging@1.3.1/.jspm-hash | 1 - jspm_packages/npm/aurelia-logging@1.4.0.js | 3 + .../npm/aurelia-logging@1.4.0/.jspm-hash | 1 + .../aurelia-logging.js | 99 +- .../index.js | 0 .../npm/aurelia-pal-browser@1.3.0.js | 3 - .../npm/aurelia-pal-browser@1.3.0/.jspm-hash | 1 - .../npm/aurelia-pal-browser@1.7.0.js | 3 + .../npm/aurelia-pal-browser@1.7.0/.jspm-hash | 1 + .../aurelia-pal-browser.js | 140 ++- .../index.js | 0 jspm_packages/npm/aurelia-pal@1.4.0.js | 3 - .../npm/aurelia-pal@1.4.0/.jspm-hash | 1 - jspm_packages/npm/aurelia-pal@1.7.0.js | 3 + .../npm/aurelia-pal@1.7.0/.jspm-hash | 1 + .../aurelia-pal.js | 0 .../index.js | 0 jspm_packages/npm/aurelia-polyfills@1.2.2.js | 3 - .../npm/aurelia-polyfills@1.2.2/.jspm-hash | 1 - jspm_packages/npm/aurelia-polyfills@1.3.0.js | 3 + .../npm/aurelia-polyfills@1.3.0/.jspm-hash | 1 + .../aurelia-polyfills.js | 10 + .../index.js | 0 .../npm/aurelia-route-recognizer@1.1.0.js | 3 - .../aurelia-route-recognizer@1.1.0/.jspm-hash | 1 - .../npm/aurelia-route-recognizer@1.1.1.js | 3 + .../aurelia-route-recognizer@1.1.1/.jspm-hash | 1 + .../aurelia-route-recognizer.js | 8 +- .../index.js | 0 jspm_packages/npm/aurelia-router@1.3.0.js | 3 - .../npm/aurelia-router@1.3.0/.jspm-hash | 1 - jspm_packages/npm/aurelia-router@1.5.0.js | 3 + .../npm/aurelia-router@1.5.0/.jspm-hash | 1 + .../aurelia-router.js | 342 +++--- .../index.js | 0 jspm_packages/npm/aurelia-task-queue@1.2.0.js | 3 - .../npm/aurelia-task-queue@1.2.0/.jspm-hash | 1 - jspm_packages/npm/aurelia-task-queue@1.2.1.js | 3 + .../npm/aurelia-task-queue@1.2.1/.jspm-hash | 1 + .../aurelia-task-queue.js | 87 +- .../index.js | 0 .../npm/aurelia-templating-binding@1.3.0.js | 3 - .../.jspm-hash | 1 - .../npm/aurelia-templating-binding@1.4.1.js | 3 + .../.jspm-hash | 1 + .../aurelia-templating-binding.js | 19 +- .../index.js | 0 .../npm/aurelia-templating-resources@1.4.0.js | 3 - .../.jspm-hash | 1 - .../aurelia-templating-resources@1.4.0/if.js | 117 -- .../npm/aurelia-templating-resources@1.6.0.js | 3 + .../.jspm-hash | 1 + .../abstract-repeater.js | 0 .../analyze-view-factory.js | 2 +- .../array-repeat-strategy.js | 146 ++- .../attr-binding-behavior.js | 0 .../aurelia-hide-style.js | 0 .../aurelia-templating-resources.js | 7 +- .../binding-mode-behaviors.js | 0 .../binding-signaler.js | 0 .../compose.js | 161 ++- .../css-resource.js | 2 +- .../debounce-binding-behavior.js | 48 +- .../dynamic-element.js | 0 .../else.js | 74 ++ .../focus.js | 33 +- .../hide.js | 0 .../html-resource-plugin.js | 0 .../html-sanitizer.js | 0 .../if-core.js | 91 ++ .../aurelia-templating-resources@1.6.0/if.js | 158 +++ .../index.js | 0 .../map-repeat-strategy.js | 4 +- .../null-repeat-strategy.js | 0 .../number-repeat-strategy.js | 0 .../repeat-strategy-locator.js | 0 .../repeat-utilities.js | 0 .../repeat.js | 2 +- .../replaceable.js | 0 .../sanitize-html.js | 0 .../self-binding-behavior.js | 0 .../set-repeat-strategy.js | 5 +- .../show.js | 0 .../signal-binding-behavior.js | 0 .../throttle-binding-behavior.js | 0 .../update-trigger-binding-behavior.js | 17 +- .../with.js | 0 .../npm/aurelia-templating-router@1.1.0.js | 3 - .../.jspm-hash | 1 - .../npm/aurelia-templating-router@1.3.1.js | 3 + .../.jspm-hash | 1 + .../aurelia-templating-router.js | 0 .../index.js | 0 .../route-href.js | 2 +- .../route-loader.js | 30 +- .../router-view.js | 4 +- jspm_packages/npm/aurelia-templating@1.4.2.js | 3 - .../npm/aurelia-templating@1.4.2/.jspm-hash | 1 - jspm_packages/npm/aurelia-templating@1.7.0.js | 3 + .../npm/aurelia-templating@1.7.0/.jspm-hash | 1 + .../aurelia-templating.js | 269 +++-- .../index.js | 0 jspm_packages/npm/base64-js@1.2.1.js | 1 - jspm_packages/npm/base64-js@1.2.1/.jspm-hash | 1 - .../npm/base64-js@1.2.1/base64js.min.js | 3 - jspm_packages/npm/base64-js@1.2.3.js | 1 + jspm_packages/npm/base64-js@1.2.3/.jspm-hash | 1 + .../npm/base64-js@1.2.3/base64js.min.js | 3 + .../index.js | 4 +- .../package.json | 2 +- .../test/big-data.js | 0 .../test/convert.js | 30 + .../test/url-safe.js | 0 jspm_packages/npm/buffer@5.0.7.js | 1 - jspm_packages/npm/buffer@5.0.7/.jspm-hash | 1 - jspm_packages/npm/buffer@5.0.7/.npmignore | 3 - .../test/node/test-buffer-alloc.js | 1042 ----------------- jspm_packages/npm/buffer@5.1.0.js | 1 + jspm_packages/npm/buffer@5.1.0/.jspm-hash | 1 + .../.travis.yml | 0 .../{buffer@5.0.7 => buffer@5.1.0}/AUTHORS.md | 0 .../{buffer@5.0.7 => buffer@5.1.0}/LICENSE | 0 .../{buffer@5.0.7 => buffer@5.1.0}/README.md | 4 +- .../{buffer@5.0.7 => buffer@5.1.0}/index.js | 86 +- .../package.json | 3 +- .../test/base64.js | 0 .../test/basic.js | 0 .../test/compare.js | 0 .../test/constructor.js | 0 .../test/from-string.js | 0 .../test/is-buffer.js | 0 .../test/methods.js | 6 + .../npm/buffer@5.1.0/test/node/common.js | 101 ++ .../test/node/test-buffer-alloc.js | 701 +++++++++++ .../test/node/test-buffer-arraybuffer.js | 35 +- .../test/node/test-buffer-ascii.js | 0 .../test/node/test-buffer-bad-overload.js | 0 .../test/node/test-buffer-badhex.js | 0 .../test/node/test-buffer-bytelength.js | 0 .../test/node/test-buffer-compare-offset.js | 0 .../test/node/test-buffer-concat.js | 0 .../test/node/test-buffer-fill.js | 17 +- .../test/node/test-buffer-includes.js | 0 .../test/node/test-buffer-indexof.js | 0 .../test/node/test-buffer-inheritance.js | 0 .../test/node/test-buffer-inspect.js | 0 .../test/node/test-buffer-iterator.js | 0 .../test/node/test-buffer-safe-unsafe.js | 0 .../test/node/test-buffer-slow.js | 0 .../test/node/test-buffer-swap.js | 0 .../test/node/test-buffer-zero-fill-cli.js | 0 .../test/node/test-buffer-zero-fill-reset.js | 0 .../test/node/test-buffer.js | 21 - .../test/slice.js | 0 .../test/static.js | 0 .../test/to-string.js | 0 .../test/write.js | 0 .../test/write_infinity.js | 0 jspm_packages/npm/ieee754@1.1.11.js | 1 + jspm_packages/npm/ieee754@1.1.11/.jspm-hash | 1 + .../{ieee754@1.1.8 => ieee754@1.1.11}/LICENSE | 0 .../README.md | 10 +- .../index.js | 10 +- .../package.json | 10 +- .../npm/ieee754@1.1.11/test/basic.js | 38 + jspm_packages/npm/ieee754@1.1.8.js | 1 - jspm_packages/npm/ieee754@1.1.8/.jspm-hash | 1 - jspm_packages/npm/ieee754@1.1.8/.travis.yml | 7 - jspm_packages/npm/ieee754@1.1.8/.zuul.yml | 20 - jspm_packages/npm/ieee754@1.1.8/test/basic.js | 20 - 383 files changed, 3902 insertions(+), 3122 deletions(-) delete mode 100644 jspm_packages/github/systemjs/plugin-css@0.1.36.js delete mode 100644 jspm_packages/github/systemjs/plugin-css@0.1.36/.jspm-hash create mode 100644 jspm_packages/github/systemjs/plugin-css@0.1.37.js rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/.gitignore (100%) create mode 100644 jspm_packages/github/systemjs/plugin-css@0.1.37/.jspm-hash rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/LICENSE (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/README.md (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/build-post-css/jspm.config.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/build-post-css/package.json (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/build-post-css/postcss-bundle.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/css-plugin-base-builder.js (98%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/css-plugin-base.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/css.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/package.json (95%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/postcss-bundle.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/bundle.css (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/bundle.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/css.browser.spec.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/css.builder.spec.js (52%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/data/dep.css (100%) create mode 100644 jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/rootRelative.css rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/data/test.css (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/mocha-setup.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/mocha.opts (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/phantom.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/systemjs-config.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/test.js (100%) rename jspm_packages/github/systemjs/{plugin-css@0.1.36 => plugin-css@0.1.37}/test/testrunner.html (100%) delete mode 100644 jspm_packages/npm/aurelia-animator-css@1.0.2.js delete mode 100644 jspm_packages/npm/aurelia-animator-css@1.0.2/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-animator-css@1.0.4.js create mode 100644 jspm_packages/npm/aurelia-animator-css@1.0.4/.jspm-hash rename jspm_packages/npm/{aurelia-animator-css@1.0.2 => aurelia-animator-css@1.0.4}/aurelia-animator-css.js (92%) rename jspm_packages/npm/{aurelia-animator-css@1.0.2 => aurelia-animator-css@1.0.4}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-binding@1.2.2.js delete mode 100644 jspm_packages/npm/aurelia-binding@1.2.2/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-binding@1.7.1.js create mode 100644 jspm_packages/npm/aurelia-binding@1.7.1/.jspm-hash rename jspm_packages/npm/{aurelia-binding@1.2.2 => aurelia-binding@1.7.1}/aurelia-binding.js (82%) rename jspm_packages/npm/{aurelia-binding@1.2.2 => aurelia-binding@1.7.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-fetch-client@1.1.3.js delete mode 100644 jspm_packages/npm/aurelia-fetch-client@1.1.3/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-fetch-client@1.3.1.js create mode 100644 jspm_packages/npm/aurelia-fetch-client@1.3.1/.jspm-hash rename jspm_packages/npm/{aurelia-fetch-client@1.1.3 => aurelia-fetch-client@1.3.1}/aurelia-fetch-client.js (93%) rename jspm_packages/npm/{aurelia-fetch-client@1.1.3 => aurelia-fetch-client@1.3.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-framework@1.1.4.js delete mode 100644 jspm_packages/npm/aurelia-framework@1.1.4/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-framework@1.2.0.js create mode 100644 jspm_packages/npm/aurelia-framework@1.2.0/.jspm-hash rename jspm_packages/npm/{aurelia-framework@1.1.4 => aurelia-framework@1.2.0}/aurelia-framework.js (95%) rename jspm_packages/npm/{aurelia-framework@1.1.4 => aurelia-framework@1.2.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-history-browser@1.0.0.js delete mode 100644 jspm_packages/npm/aurelia-history-browser@1.0.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-history-browser@1.1.1.js create mode 100644 jspm_packages/npm/aurelia-history-browser@1.1.1/.jspm-hash rename jspm_packages/npm/{aurelia-history-browser@1.0.0 => aurelia-history-browser@1.1.1}/aurelia-history-browser.js (94%) rename jspm_packages/npm/{aurelia-history-browser@1.0.0 => aurelia-history-browser@1.1.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-history@1.0.0.js delete mode 100644 jspm_packages/npm/aurelia-history@1.0.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-history@1.1.0.js create mode 100644 jspm_packages/npm/aurelia-history@1.1.0/.jspm-hash rename jspm_packages/npm/{aurelia-history@1.0.0 => aurelia-history@1.1.0}/aurelia-history.js (83%) rename jspm_packages/npm/{aurelia-history@1.0.0 => aurelia-history@1.1.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-http-client@1.1.1.js delete mode 100644 jspm_packages/npm/aurelia-http-client@1.1.1/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-http-client@1.2.1.js create mode 100644 jspm_packages/npm/aurelia-http-client@1.2.1/.jspm-hash rename jspm_packages/npm/{aurelia-http-client@1.1.1 => aurelia-http-client@1.2.1}/aurelia-http-client.js (96%) rename jspm_packages/npm/{aurelia-http-client@1.1.1 => aurelia-http-client@1.2.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.6.5.js delete mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.7.0.js create mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/.jspm-hash rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/aurelia-kendoui-bridge.d.ts (99%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/autocomplete/autocomplete.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/autocomplete/autocomplete.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/barcode/barcode.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/button/button.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/buttongroup/buttongroup.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/calendar/calendar.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/calendar/calendar.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/chart.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/chart.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/sparkline.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/sparkline.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/stock.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/stock.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/treemap.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/chart/treemap.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/colorpalette/colorpalette.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/colorpalette/colorpalette.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/colorpicker/colorpicker.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/combobox/combobox.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/combobox/combobox.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/bindables.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/constants.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/control-properties.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/decorators.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/notify-binding-behavior.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/observer.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/options-builder.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/template-compiler.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/template-gatherer.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/template.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/util.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/common/widget-base.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/config-builder.js (98%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/contextmenu/contextmenu.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/dateinput/dateinput.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/datepicker/datepicker.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/datetimepicker/datetimepicker.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/diagram/diagram.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/diagram/diagram.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/dialog/dialog.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/draggable/draggable.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/drop-target/drop-target-area.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/drop-target/drop-target.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/dropdownlist/dropdownlist.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/dropdownlist/dropdownlist.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/editor/editor.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/filter-menu/filter-menu.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/flatcolorpicker/flatcolorpicker.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/flatcolorpicker/flatcolorpicker.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gantt/gantt-col.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gantt/gantt-col.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gantt/gantt.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gantt/gantt.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gauges/linear-gauge.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gauges/linear-gauge.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gauges/radial-gauge.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/gauges/radial-gauge.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/col.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/col.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid-command.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid-command.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid-toolbar.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid-toolbar.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/grid/grid.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/index.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/listbox/listbox.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/listbox/listbox.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/listview/listview.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/listview/listview.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/map/map.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/map/map.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/maskedtextbox/maskedtextbox.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/mediaplayer/mediaplayer.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/menu/menu.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/multiselect/multiselect.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/multiselect/multiselect.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/notification/notification-template.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/notification/notification.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/notification/notification.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/numerictextbox/numerictextbox.js (100%) create mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.html create mode 100644 jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.js rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/panelbar/panelbar.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/panelbar/panelbar.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/pdf/pdf.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/pivotgrid/pivotconfigurator.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/pivotgrid/pivotconfigurator.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/pivotgrid/pivotgrid.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/pivotgrid/pivotgrid.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/popup/popup.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/progressbar/progressbar.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/qrcode/qrcode.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/rangeslider/rangeslider.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/rangeslider/rangeslider.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/responsivepanel/responsivepanel.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/scheduler/scheduler.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/scheduler/scheduler.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/scrollview/scrollview.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/scrollview/scrollview.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/slider/slider.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/sortable/sortable.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/splitter/splitter.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/spreadsheet/spreadsheet.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/spreadsheet/spreadsheet.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/switch/switch.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/tabstrip/tabstrip.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/timepicker/timepicker.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar-item-button.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar-item-button.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar-item.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar-item.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/toolbar/toolbar.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/tooltip/tooltip.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treelist/tree-col.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treelist/tree-col.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treelist/treelist.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treelist/treelist.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treeview/treeview.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/treeview/treeview.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/upload/upload.html (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/upload/upload.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/validator/validator.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/valueconverters/valueconverters.js (100%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/version.js (76%) rename jspm_packages/npm/{aurelia-kendoui-bridge@1.6.5 => aurelia-kendoui-bridge@1.7.0}/window/window.js (100%) delete mode 100644 jspm_packages/npm/aurelia-loader-default@1.0.2.js delete mode 100644 jspm_packages/npm/aurelia-loader-default@1.0.2/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-loader-default@1.0.4.js create mode 100644 jspm_packages/npm/aurelia-loader-default@1.0.4/.jspm-hash rename jspm_packages/npm/{aurelia-loader-default@1.0.2 => aurelia-loader-default@1.0.4}/aurelia-loader-default.js (91%) rename jspm_packages/npm/{aurelia-loader-default@1.0.2 => aurelia-loader-default@1.0.4}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-logging@1.3.1.js delete mode 100644 jspm_packages/npm/aurelia-logging@1.3.1/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-logging@1.4.0.js create mode 100644 jspm_packages/npm/aurelia-logging@1.4.0/.jspm-hash rename jspm_packages/npm/{aurelia-logging@1.3.1 => aurelia-logging@1.4.0}/aurelia-logging.js (50%) rename jspm_packages/npm/{aurelia-logging@1.3.1 => aurelia-logging@1.4.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-pal-browser@1.3.0.js delete mode 100644 jspm_packages/npm/aurelia-pal-browser@1.3.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-pal-browser@1.7.0.js create mode 100644 jspm_packages/npm/aurelia-pal-browser@1.7.0/.jspm-hash rename jspm_packages/npm/{aurelia-pal-browser@1.3.0 => aurelia-pal-browser@1.7.0}/aurelia-pal-browser.js (80%) rename jspm_packages/npm/{aurelia-pal-browser@1.3.0 => aurelia-pal-browser@1.7.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-pal@1.4.0.js delete mode 100644 jspm_packages/npm/aurelia-pal@1.4.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-pal@1.7.0.js create mode 100644 jspm_packages/npm/aurelia-pal@1.7.0/.jspm-hash rename jspm_packages/npm/{aurelia-pal@1.4.0 => aurelia-pal@1.7.0}/aurelia-pal.js (100%) rename jspm_packages/npm/{aurelia-pal@1.4.0 => aurelia-pal@1.7.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-polyfills@1.2.2.js delete mode 100644 jspm_packages/npm/aurelia-polyfills@1.2.2/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-polyfills@1.3.0.js create mode 100644 jspm_packages/npm/aurelia-polyfills@1.3.0/.jspm-hash rename jspm_packages/npm/{aurelia-polyfills@1.2.2 => aurelia-polyfills@1.3.0}/aurelia-polyfills.js (99%) rename jspm_packages/npm/{aurelia-polyfills@1.2.2 => aurelia-polyfills@1.3.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-route-recognizer@1.1.0.js delete mode 100644 jspm_packages/npm/aurelia-route-recognizer@1.1.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-route-recognizer@1.1.1.js create mode 100644 jspm_packages/npm/aurelia-route-recognizer@1.1.1/.jspm-hash rename jspm_packages/npm/{aurelia-route-recognizer@1.1.0 => aurelia-route-recognizer@1.1.1}/aurelia-route-recognizer.js (99%) rename jspm_packages/npm/{aurelia-route-recognizer@1.1.0 => aurelia-route-recognizer@1.1.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-router@1.3.0.js delete mode 100644 jspm_packages/npm/aurelia-router@1.3.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-router@1.5.0.js create mode 100644 jspm_packages/npm/aurelia-router@1.5.0/.jspm-hash rename jspm_packages/npm/{aurelia-router@1.3.0 => aurelia-router@1.5.0}/aurelia-router.js (85%) rename jspm_packages/npm/{aurelia-router@1.3.0 => aurelia-router@1.5.0}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-task-queue@1.2.0.js delete mode 100644 jspm_packages/npm/aurelia-task-queue@1.2.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-task-queue@1.2.1.js create mode 100644 jspm_packages/npm/aurelia-task-queue@1.2.1/.jspm-hash rename jspm_packages/npm/{aurelia-task-queue@1.2.0 => aurelia-task-queue@1.2.1}/aurelia-task-queue.js (90%) rename jspm_packages/npm/{aurelia-task-queue@1.2.0 => aurelia-task-queue@1.2.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-templating-binding@1.3.0.js delete mode 100644 jspm_packages/npm/aurelia-templating-binding@1.3.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-templating-binding@1.4.1.js create mode 100644 jspm_packages/npm/aurelia-templating-binding@1.4.1/.jspm-hash rename jspm_packages/npm/{aurelia-templating-binding@1.3.0 => aurelia-templating-binding@1.4.1}/aurelia-templating-binding.js (96%) rename jspm_packages/npm/{aurelia-templating-binding@1.3.0 => aurelia-templating-binding@1.4.1}/index.js (100%) delete mode 100644 jspm_packages/npm/aurelia-templating-resources@1.4.0.js delete mode 100644 jspm_packages/npm/aurelia-templating-resources@1.4.0/.jspm-hash delete mode 100644 jspm_packages/npm/aurelia-templating-resources@1.4.0/if.js create mode 100644 jspm_packages/npm/aurelia-templating-resources@1.6.0.js create mode 100644 jspm_packages/npm/aurelia-templating-resources@1.6.0/.jspm-hash rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/abstract-repeater.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/analyze-view-factory.js (96%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/array-repeat-strategy.js (63%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/attr-binding-behavior.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/aurelia-hide-style.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/aurelia-templating-resources.js (63%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/binding-mode-behaviors.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/binding-signaler.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/compose.js (62%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/css-resource.js (98%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/debounce-binding-behavior.js (51%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/dynamic-element.js (100%) create mode 100644 jspm_packages/npm/aurelia-templating-resources@1.6.0/else.js rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/focus.js (73%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/hide.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/html-resource-plugin.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/html-sanitizer.js (100%) create mode 100644 jspm_packages/npm/aurelia-templating-resources@1.6.0/if-core.js create mode 100644 jspm_packages/npm/aurelia-templating-resources@1.6.0/if.js rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/index.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/map-repeat-strategy.js (95%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/null-repeat-strategy.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/number-repeat-strategy.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/repeat-strategy-locator.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/repeat-utilities.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/repeat.js (99%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/replaceable.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/sanitize-html.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/self-binding-behavior.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/set-repeat-strategy.js (94%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/show.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/signal-binding-behavior.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/throttle-binding-behavior.js (100%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/update-trigger-binding-behavior.js (78%) rename jspm_packages/npm/{aurelia-templating-resources@1.4.0 => aurelia-templating-resources@1.6.0}/with.js (100%) delete mode 100644 jspm_packages/npm/aurelia-templating-router@1.1.0.js delete mode 100644 jspm_packages/npm/aurelia-templating-router@1.1.0/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-templating-router@1.3.1.js create mode 100644 jspm_packages/npm/aurelia-templating-router@1.3.1/.jspm-hash rename jspm_packages/npm/{aurelia-templating-router@1.1.0 => aurelia-templating-router@1.3.1}/aurelia-templating-router.js (100%) rename jspm_packages/npm/{aurelia-templating-router@1.1.0 => aurelia-templating-router@1.3.1}/index.js (100%) rename jspm_packages/npm/{aurelia-templating-router@1.1.0 => aurelia-templating-router@1.3.1}/route-href.js (83%) rename jspm_packages/npm/{aurelia-templating-router@1.1.0 => aurelia-templating-router@1.3.1}/route-loader.js (73%) rename jspm_packages/npm/{aurelia-templating-router@1.1.0 => aurelia-templating-router@1.3.1}/router-view.js (99%) delete mode 100644 jspm_packages/npm/aurelia-templating@1.4.2.js delete mode 100644 jspm_packages/npm/aurelia-templating@1.4.2/.jspm-hash create mode 100644 jspm_packages/npm/aurelia-templating@1.7.0.js create mode 100644 jspm_packages/npm/aurelia-templating@1.7.0/.jspm-hash rename jspm_packages/npm/{aurelia-templating@1.4.2 => aurelia-templating@1.7.0}/aurelia-templating.js (96%) rename jspm_packages/npm/{aurelia-templating@1.4.2 => aurelia-templating@1.7.0}/index.js (100%) delete mode 100644 jspm_packages/npm/base64-js@1.2.1.js delete mode 100644 jspm_packages/npm/base64-js@1.2.1/.jspm-hash delete mode 100644 jspm_packages/npm/base64-js@1.2.1/base64js.min.js create mode 100644 jspm_packages/npm/base64-js@1.2.3.js create mode 100644 jspm_packages/npm/base64-js@1.2.3/.jspm-hash create mode 100644 jspm_packages/npm/base64-js@1.2.3/base64js.min.js rename jspm_packages/npm/{base64-js@1.2.1 => base64-js@1.2.3}/index.js (93%) rename jspm_packages/npm/{base64-js@1.2.1 => base64-js@1.2.3}/package.json (97%) rename jspm_packages/npm/{base64-js@1.2.1 => base64-js@1.2.3}/test/big-data.js (100%) rename jspm_packages/npm/{base64-js@1.2.1 => base64-js@1.2.3}/test/convert.js (55%) rename jspm_packages/npm/{base64-js@1.2.1 => base64-js@1.2.3}/test/url-safe.js (100%) delete mode 100644 jspm_packages/npm/buffer@5.0.7.js delete mode 100644 jspm_packages/npm/buffer@5.0.7/.jspm-hash delete mode 100644 jspm_packages/npm/buffer@5.0.7/.npmignore delete mode 100644 jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-alloc.js create mode 100644 jspm_packages/npm/buffer@5.1.0.js create mode 100644 jspm_packages/npm/buffer@5.1.0/.jspm-hash rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/.travis.yml (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/AUTHORS.md (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/LICENSE (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/README.md (99%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/index.js (95%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/package.json (97%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/base64.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/basic.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/compare.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/constructor.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/from-string.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/is-buffer.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/methods.js (92%) create mode 100644 jspm_packages/npm/buffer@5.1.0/test/node/common.js create mode 100644 jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-alloc.js rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-arraybuffer.js (69%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-ascii.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-bad-overload.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-badhex.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-bytelength.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-compare-offset.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-concat.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-fill.js (95%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-includes.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-indexof.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-inheritance.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-inspect.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-iterator.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-safe-unsafe.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-slow.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-swap.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-zero-fill-cli.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer-zero-fill-reset.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/node/test-buffer.js (98%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/slice.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/static.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/to-string.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/write.js (100%) rename jspm_packages/npm/{buffer@5.0.7 => buffer@5.1.0}/test/write_infinity.js (100%) create mode 100644 jspm_packages/npm/ieee754@1.1.11.js create mode 100644 jspm_packages/npm/ieee754@1.1.11/.jspm-hash rename jspm_packages/npm/{ieee754@1.1.8 => ieee754@1.1.11}/LICENSE (100%) rename jspm_packages/npm/{ieee754@1.1.8 => ieee754@1.1.11}/README.md (82%) rename jspm_packages/npm/{ieee754@1.1.8 => ieee754@1.1.11}/index.js (86%) rename jspm_packages/npm/{ieee754@1.1.8 => ieee754@1.1.11}/package.json (81%) create mode 100644 jspm_packages/npm/ieee754@1.1.11/test/basic.js delete mode 100644 jspm_packages/npm/ieee754@1.1.8.js delete mode 100644 jspm_packages/npm/ieee754@1.1.8/.jspm-hash delete mode 100644 jspm_packages/npm/ieee754@1.1.8/.travis.yml delete mode 100644 jspm_packages/npm/ieee754@1.1.8/.zuul.yml delete mode 100644 jspm_packages/npm/ieee754@1.1.8/test/basic.js diff --git a/bundles/bundle.js b/bundles/bundle.js index 1147e44..69b9b2d 100644 --- a/bundles/bundle.js +++ b/bundles/bundle.js @@ -1,17 +1,17 @@ -"bundle";!function(){var a=System.amdDefine;a("github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3.js",["github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/aurelia-after-attached-plugin"],function(a){return a})}(),function(){var a=System.amdDefine;a("github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/aurelia-after-attached-plugin.js",["exports","aurelia-templating","aurelia-task-queue"],function(a,b,c){"use strict";function d(a){var d=a.container.get(c.TaskQueue),e=b.Controller.prototype.attached;b.Controller.prototype.attached=function(){var a=this,b=this.isAttached;e.call(this),b||this.viewModel&&this.viewModel.afterAttached&&d.queueTask(function(){return a.viewModel.afterAttached()})}}Object.defineProperty(a,"__esModule",{value:!0}),a.configure=d})}(),function(){var a=System.amdDefine;a("github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/index.js",["exports","./aurelia-after-attached-plugin"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(b).forEach(function(c){"default"!==c&&"__esModule"!==c&&Object.defineProperty(a,c,{enumerable:!0,get:function(){return b[c]}})})})}(),System.registerDynamic("github:systemjs/plugin-css@0.1.36/css.js",[],!0,function(a,b,c){function d(a){return o?o:o=System.import("./css-plugin-base.js",c.id).then(function(a){return new a(function(a,b){return{css:a,map:null,moduleSource:null,moduleFormat:null}})})}function e(a,b){var c=[];return f(a,function(a){b(a)&&c.push(a)}),c}function f(a,b){for(var c=0;c0;)f=d[e],b.setAttribute(f.name,f.value),a.removeAttribute(f.name);return a.parentNode.removeChild(a),c(b)},c=function(a){for(var b=a.content=document.createDocumentFragment(),c=void 0;c=a.firstChild;)b.appendChild(c);return a},d=function(d){for(var e=c(d).content,f=e.querySelectorAll("template"),g=0,h=f.length;g element e.g. ");return k.ensureHTMLTemplateElement(c)},appendNode:function(a,b){(b||document.body).appendChild(a)},replaceNode:function(a,b,c){b.parentNode?b.parentNode.replaceChild(a,b):null!==l?l.unwrap(c).replaceChild(l.unwrap(a),l.unwrap(b)):c.replaceChild(a,b)},removeNode:function(a,b){a.parentNode?a.parentNode.removeChild(a):b&&(null!==l?l.unwrap(b).removeChild(l.unwrap(a)):b.removeChild(a))},injectStyles:function(a,b,c){var d=document.createElement("style");return d.innerHTML=a,d.type="text/css",b=b||document.head,c&&b.childNodes.length>0?b.insertBefore(d,b.childNodes[0]):b.appendChild(d),d}}})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.3.0.js",["npm:aurelia-pal-browser@1.3.0/aurelia-pal-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.2.2/aurelia-polyfills.js",["aurelia-pal"],function(a){"use strict";var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a};"undefined"==typeof FEATURE_NO_ES2015&&(!function(c,d){if(!(d in c)){var e,f=a.PLATFORM.global,g=0,h=""+Math.random(),i="__symbol:",j=i.length,k="__symbol@@"+h,l="defineProperty",m="defineProperties",n="getOwnPropertyNames",o="getOwnPropertyDescriptor",p="propertyIsEnumerable",q=c[n],r=c[o],s=c.create,t=c.keys,u=c[l],v=c[m],w=r(c,n),x=c.prototype,y=x.hasOwnProperty,z=x[p],A=x.toString,B=(Array.prototype.indexOf||function(a){for(var b=this.length;b--&&this[b]!==a;);return b},function(a,b,c){y.call(a,k)||u(a,k,{enumerable:!1,configurable:!1,writable:!1,value:{}}),a[k]["@@"+b]=c}),C=function(a,c){var d=s(a);return null!==c&&"object"===("undefined"==typeof c?"undefined":b(c))&&q(c).forEach(function(a){H.call(c,a)&&N(d,a,c[a])}),d},D=function(a){var b=s(a);return b.enumerable=!1,b},E=function(){},F=function(a){return a!=k&&!y.call(K,a)},G=function(a){return a!=k&&y.call(K,a)},H=function(a){var b=""+a;return G(b)?y.call(this,b)&&this[k]&&this[k]["@@"+b]:z.call(this,a)},I=function(a){var b={enumerable:!1,configurable:!0,get:E,set:function(b){e(this,a,{enumerable:!1,configurable:!0,writable:!0,value:b}),B(this,a,!0)}};return u(x,a,b),K[a]=u(c(a),"constructor",L)},J=function(a){if(this&&this!==f)throw new TypeError("Symbol is not a constructor");return I(i.concat(a||"",h,++g))},K=s(null),L={value:J},M=function(a){return K[a]},N=function(a,b,c){var d=""+b;return G(d)?(e(a,d,c.enumerable?D(c):c),B(a,d,!!c.enumerable)):u(a,b,c),a},O=function(a){var b=A.call(a);return a="[object String]"===b?a.split(""):c(a),q(a).filter(G).map(M)};w.value=N,u(c,l,w),w.value=O,u(c,d,w);var P="object"===("undefined"==typeof window?"undefined":b(window))?c.getOwnPropertyNames(window):[],Q=c.getOwnPropertyNames;w.value=function(a){if("[object Window]"===A.call(a))try{return Q(a)}catch(a){return[].concat([],P)}return q(a).filter(F)},u(c,n,w),w.value=function(a,b){var c=O(b);return c.length?t(b).concat(c).forEach(function(c){H.call(b,c)&&N(a,c,b[c])}):v(a,b),a},u(c,m,w),w.value=H,u(x,p,w),w.value=J,u(f,"Symbol",w),w.value=function(a){var b=i.concat(i,a,h);return b in x?K[b]:I(b)},u(J,"for",w),w.value=function(a){return y.call(K,a)?a.slice(2*j,-h.length):void 0},u(J,"keyFor",w),w.value=function(a,b){var c=r(a,b);return c&&G(b)&&(c.enumerable=H.call(a,b)),c},u(c,o,w),w.value=function(a,b){return 1===arguments.length?s(a):C(a,b)},u(c,"create",w),w.value=function(){var a=A.call(this);return"[object String]"===a&&G(this)?"[object Symbol]":a},u(x,"toString",w);try{e=s(u({},i,{get:function(){return u(this,i,{value:!1})[i]}}))[i]||u}catch(a){e=function(a,b,c){var d=r(x,b);delete x[b],u(a,b,c),u(x,b,d)}}}}(Object,"getOwnPropertySymbols"),function(a,b){var c,d=a.defineProperty,e=a.prototype,f=e.toString,g="toStringTag";["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",g].forEach(function(b){if(!(b in Symbol))switch(d(Symbol,b,{value:Symbol(b)}),b){case g:c=a.getOwnPropertyDescriptor(e,"toString"),c.value=function(){var a=f.call(this),b="undefined"==typeof this||null===this?void 0:this[Symbol.toStringTag];return"undefined"==typeof b?a:"[object "+b+"]"},d(e,"toString",c)}})}(Object,Symbol),function(a,b,c){function d(){return this}b[a]||(b[a]=function(){var b=0,c=this,e={next:function(){var a=c.length<=b;return a?{done:a}:{done:a,value:c[b++]}}};return e[a]=d,e}),c[a]||(c[a]=function(){var b=String.fromCodePoint,c=this,e=0,f=c.length,g={next:function(){var a=f<=e,d=a?"":b(c.codePointAt(e));return e+=d.length,a?{done:a}:{done:a,value:d}}};return g[a]=d,g})}(Symbol.iterator,Array.prototype,String.prototype)),"undefined"==typeof FEATURE_NO_ES2015&&(Number.isNaN=Number.isNaN||function(a){return a!==a},Number.isFinite=Number.isFinite||function(a){return"number"==typeof a&&isFinite(a)}),String.prototype.endsWith&&!function(){try{return!"ab".endsWith("a",1)}catch(a){return!0}}()||(String.prototype.endsWith=function(a,b){var c=this.toString();("number"!=typeof b||!isFinite(b)||Math.floor(b)!==b||b>c.length)&&(b=c.length),b-=a.length;var d=c.indexOf(a,b);return d!==-1&&d===b}),String.prototype.startsWith&&!function(){try{return!"ab".startsWith("b",1)}catch(a){return!0}}()||(String.prototype.startsWith=function(a,b){return b=b||0,this.substr(b,a.length)===a}),"undefined"==typeof FEATURE_NO_ES2015&&(Array.from||(Array.from=function(){var a=function(a){return isNaN(a=+a)?0:(a>0?Math.floor:Math.ceil)(a)},b=function(b){return b>0?Math.min(a(b),9007199254740991):0},c=function(a,b,c,d){try{return b(c,d)}catch(b){throw"function"==typeof a.return&&a.return(),b}};return function(a){var d,e,f,g,h=Object(a),i="function"==typeof this?this:Array,j=arguments.length,k=j>1?arguments[1]:void 0,l=void 0!==k,m=0,n=h[Symbol.iterator];if(l&&(k=k.bind(j>2?arguments[2]:void 0)),void 0==n||Array.isArray(a))for(d=b(h.length),e=new i(d);d>m;m++)e[m]=l?k(h[m],m):h[m];else for(g=n.call(h),e=new i;!(f=g.next()).done;m++)e[m]=l?c(g,k,f.value,m):f.value;return e.length=m,e}}()),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{configurable:!0,writable:!0,enumerable:!1,value:function a(b){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof b)throw new TypeError("predicate must be a function");for(var a,c=Object(this),d=c.length>>>0,e=arguments[1],f=0;f>>0,e=arguments[1],f=0;f=0?d=e:(d=c+e,d<0&&(d=0));for(var f;d4?e-4:0),g=4;g1?b.normalize(c.moduleId,c.resourcesRelativeTo[1]).then(function(a){return d(a)}):d(e)}function o(a,b,c){function d(b){var c=b.moduleId,d=p(c);return f(c)&&(c=g(c)),a.loader.normalize(c,b.relativeTo).then(function(a){return{name:b.moduleId,importId:f(b.moduleId)?h(a,d):a}})}function f(a){var b=p(a);return!!b&&(""!==b&&(".js"!==b&&".ts"!==b))}function g(a){return a.replace(t,"")}function h(a,b){return g(a)+"."+b}var i=a.container.get(e.ViewEngine);return Promise.all(Object.keys(b).map(function(a){return d(b[a])})).then(function(a){var b=[],d=[];return a.forEach(function(a){b.push(void 0),d.push(a.importId)}),i.importViewResources(d,b,c)})}function p(a){var b=a.match(t);if(b&&b.length>0)return b[0].split(".")[1]}function q(a){if(a.processed)throw new Error("This config instance has already been applied. To load more plugins or global resources, create a new FrameworkConfiguration instance.")}Object.defineProperty(a,"__esModule",{value:!0}),a.LogManager=a.FrameworkConfiguration=a.Aurelia=void 0,Object.keys(b).forEach(function(c){"default"!==c&&"__esModule"!==c&&Object.defineProperty(a,c,{enumerable:!0,get:function(){return b[c]}})}),Object.keys(c).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return c[b]}})}),Object.keys(d).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return d[b]}})}),Object.keys(e).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return e[b]}})}),Object.keys(f).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return f[b]}})}),Object.keys(g).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return g[b]}})}),Object.keys(h).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return h[b]}})}),Object.keys(i).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return i[b]}})});var r=k(j),s=(a.Aurelia=function(){function a(c,d,g){this.loader=c||new i.PLATFORM.Loader,this.container=d||(new b.Container).makeGlobal(),this.resources=g||new e.ViewResources,this.use=new u(this),this.logger=r.getLogger("aurelia"),this.hostConfigured=!1,this.host=null,this.use.instance(a,this),this.use.instance(f.Loader,this.loader),this.use.instance(e.ViewResources,this.resources)}return a.prototype.start=function(){var a=this;return this._started?this._started:(this.logger.info("Aurelia Starting"),this._started=this.use.apply().then(function(){if(l(),!a.container.hasResolver(e.BindingLanguage)){var b="You must configure Aurelia with a BindingLanguage implementation.";throw a.logger.error(b),new Error(b)}a.logger.info("Aurelia Started");var c=i.DOM.createCustomEvent("aurelia-started",{bubbles:!0,cancelable:!0});return i.DOM.dispatchEvent(c),a}))},a.prototype.enhance=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1];return this._configureHost(c||i.DOM.querySelectorAll("body")[0]),new Promise(function(c){var d=a.container.get(e.TemplatingEngine);a.root=d.enhance({container:a.container,element:a.host,resources:a.resources,bindingContext:b}),a.root.attached(),a._onAureliaComposed(),c(a)})},a.prototype.setRoot=function(){var a=this,b=arguments.length<=0||void 0===arguments[0]?null:arguments[0],c=arguments.length<=1||void 0===arguments[1]?null:arguments[1],d={};this.root&&this.root.viewModel&&this.root.viewModel.router&&(this.root.viewModel.router.deactivate(),this.root.viewModel.router.reset()),this._configureHost(c);var f=this.container.get(e.TemplatingEngine),g=this.container.get(e.CompositionTransaction);return delete g.initialComposition,b||(b=this.configModuleId?(0,h.relativeToFile)("./app",this.configModuleId):"app"),d.viewModel=b,d.container=d.childContainer=this.container,d.viewSlot=this.hostSlot,d.host=this.host,f.compose(d).then(function(b){return a.root=b,d.viewSlot.attached(),a._onAureliaComposed(),a})},a.prototype._configureHost=function(a){if(!this.hostConfigured){if(a=a||this.host,a&&"string"!=typeof a?this.host=a:this.host=i.DOM.getElementById(a||"applicationHost"),!this.host)throw new Error("No applicationHost was specified.");this.hostConfigured=!0,this.host.aurelia=this,this.hostSlot=new e.ViewSlot(this.host,!0),this.hostSlot.transformChildNodesIntoView(),this.container.registerInstance(i.DOM.boundary,this.host)}},a.prototype._onAureliaComposed=function(){var a=i.DOM.createCustomEvent("aurelia-composed",{bubbles:!0,cancelable:!0});setTimeout(function(){return i.DOM.dispatchEvent(a)},1)},a}(),r.getLogger("aurelia")),t=/\.[^\/.]+$/,u=function(){function a(a){var b=this;this.aurelia=a,this.container=a.container,this.info=[],this.processed=!1,this.preTasks=[],this.postTasks=[],this.resourcesToLoad={},this.preTask(function(){return a.loader.normalize("aurelia-bootstrapper").then(function(a){return b.bootstrapperName=a})}),this.postTask(function(){return o(a,b.resourcesToLoad,a.resources)})}return a.prototype.instance=function(a,b){return this.container.registerInstance(a,b),this},a.prototype.singleton=function(a,b){return this.container.registerSingleton(a,b),this},a.prototype.transient=function(a,b){return this.container.registerTransient(a,b),this},a.prototype.preTask=function(a){return q(this),this.preTasks.push(a),this},a.prototype.postTask=function(a){return q(this),this.postTasks.push(a),this},a.prototype.feature=function(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=/\/index$/i.test(a),d=c||p(a)?a:a+"/index",e=c?a.substr(0,a.length-6):a;return this.plugin({moduleId:d,resourcesRelativeTo:[e,""],config:b})},a.prototype.globalResources=function(a){q(this);for(var b=Array.isArray(a)?a:arguments,c=void 0,d=this.resourcesRelativeTo||["",""],e=0,f=b.length;e0,a.isRequesting||!function(){var a=c.DOM.createCustomEvent("aurelia-http-client-requests-drained",{bubbles:!0,cancelable:!0});setTimeout(function(){return c.DOM.dispatchEvent(a)},1)}()}Object.defineProperty(a,"__esModule",{value:!0}),a.HttpClient=a.RequestBuilder=a.HttpRequestMessage=a.JSONPRequestMessage=a.RequestMessageProcessor=a.mimeTypes=a.HttpResponseMessage=a.RequestMessage=a.Headers=void 0,a.timeoutTransformer=g,a.callbackParameterNameTransformer=h,a.credentialsTransformer=i,a.progressTransformer=j,a.downloadProgressTransformer=k,a.responseTypeTransformer=l,a.headerTransformer=m,a.contentTransformer=n,a.createJSONPRequestMessageProcessor=o,a.createHttpRequestMessageProcessor=p;var s=function(){function a(a,b){for(var c=0;c0){var h=f.substring(0,g),i=f.substring(g+2);c.add(h,i)}}return c},a}(),u=a.RequestMessage=function(){function a(a,b,c,d){this.method=a,this.url=b,this.content=c,this.headers=d||new t,this.baseUrl=""}return a.prototype.buildFullUrl=function(){var a=/^([a-z][a-z0-9+\-.]*:)?\/\//i,c=a.test(this.url)?this.url:(0,b.join)(this.baseUrl,this.url);if(this.params){var d=(0,b.buildQueryString)(this.params);c=d?c+(this.url.indexOf("?")<0?"?":"&")+d:c}return c},a}(),v=a.HttpResponseMessage=function(){function a(a,b,c,d){if(this.requestMessage=a,this.statusCode=b.status,this.response=b.response||b.responseText,this.isSuccess=b.status>=200&&b.status<400,this.statusText=b.statusText,this.reviver=d,this.mimeType=null,b.getAllResponseHeaders)try{this.headers=t.parse(b.getAllResponseHeaders())}catch(a){b.requestHeaders&&(this.headers=new t(b.requestHeaders))}else this.headers=new t;var e=void 0;this.headers&&this.headers.headers&&(e=this.headers.get("Content-Type")),e&&(this.mimeType=c=e.split(";")[0].trim(),w.hasOwnProperty(this.mimeType)&&(c=w[this.mimeType])),this.responseType=c}return s(a,[{key:"content",get:function(){try{return void 0!==this._content?this._content:void 0===this.response||null===this.response||""===this.response?(this._content=this.response,this._content):"json"===this.responseType?(this._content=JSON.parse(this.response,this.reviver),this._content):this.reviver?(this._content=this.reviver(this.response),this._content):(this._content=this.response,this._content)}catch(a){if(this.isSuccess)throw a;return this._content=null,this._content}}}]),a}(),w=a.mimeTypes={"text/html":"html","text/javascript":"js","application/javascript":"js","text/json":"json","application/json":"json","application/rss+xml":"rss","application/atom+xml":"atom","application/xhtml+xml":"xhtml","text/markdown":"md","text/xml":"xml","text/mathml":"mml","application/xml":"xml","text/yml":"yml","text/csv":"csv","text/css":"css","text/less":"less","text/stylus":"styl","text/scss":"scss","text/sass":"sass","text/plain":"txt"},x=a.RequestMessageProcessor=function(){function a(a,b){this.XHRType=a,this.xhrTransformers=b,this.isAborted=!1}return a.prototype.abort=function(){this.xhr&&this.xhr.readyState!==c.PLATFORM.XMLHttpRequest.UNSENT&&this.xhr.abort(),this.isAborted=!0},a.prototype.process=function(a,b){var c=this,d=new Promise(function(a,d){var e=c.xhr=new c.XHRType;e.onload=function(c){var f=new v(b,e,b.responseType,b.reviver);f.isSuccess?a(f):d(f)},e.ontimeout=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"timeout"))},e.onerror=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"error"))},e.onabort=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"abort"))}});return Promise.resolve(b).then(function(b){var e=function(){return c.isAborted?c.xhr.abort():(c.xhr.open(b.method,b.buildFullUrl(),!0,b.user,b.password),f(c.xhrTransformers,a,c,b,c.xhr),"undefined"==typeof b.content?c.xhr.send():c.xhr.send(b.content)),d},g=[[e,void 0]],h=b.interceptors||[];h.forEach(function(a){(a.request||a.requestError)&&g.unshift([a.request?a.request.bind(a):void 0,a.requestError?a.requestError.bind(a):void 0]),(a.response||a.responseError)&&g.push([a.response?a.response.bind(a):void 0,a.responseError?a.responseError.bind(a):void 0])});for(var i=Promise.resolve(b);g.length;){var j;i=(j=i).then.apply(j,g.shift())}return i})},a}(),y=a.JSONPRequestMessage=function(a){function b(b,c){var e=d(this,a.call(this,"JSONP",b));return e.responseType="jsonp",e.callbackParameterName=c,e}return e(b,a),b}(u),z=function(){function a(){}return a.prototype.open=function(a,b){this.method=a,this.url=b,this.callbackName="jsonp_callback_"+Math.round(1e5*Math.random())},a.prototype.send=function(){var a=this,b=this.url+(this.url.indexOf("?")>=0?"&":"?")+encodeURIComponent(this.callbackParameterName)+"="+this.callbackName,d=c.DOM.createElement("script");d.src=b,d.onerror=function(b){e(),a.status=0,a.onerror(new Error("error"))};var e=function(){delete c.PLATFORM.global[a.callbackName],c.DOM.removeNode(d)};c.PLATFORM.global[this.callbackName]=function(b){e(),void 0===a.status&&(a.status=200,a.statusText="OK",a.response=b,a.onload(a))},c.DOM.appendNode(d),void 0!==this.timeout&&setTimeout(function(){void 0===a.status&&(a.status=0,a.ontimeout(new Error("timeout")))},this.timeout)},a.prototype.abort=function(){void 0===this.status&&(this.status=0,this.onabort(new Error("abort")))},a.prototype.setRequestHeader=function(){},a}(),A=a.HttpRequestMessage=function(a){function b(b,c,e,f){var g=d(this,a.call(this,b,c,e,f));return g.responseType="json",g}return e(b,a),b}(u),B=a.RequestBuilder=function(){function a(a){this.client=a,this.transformers=a.requestTransformers.slice(0),this.useJsonp=!1}return a.prototype.asDelete=function(){return this._addTransformer(function(a,b,c){c.method="DELETE"})},a.prototype.asGet=function(){return this._addTransformer(function(a,b,c){c.method="GET"})},a.prototype.asHead=function(){return this._addTransformer(function(a,b,c){c.method="HEAD"})},a.prototype.asOptions=function(){return this._addTransformer(function(a,b,c){c.method="OPTIONS"})},a.prototype.asPatch=function(){return this._addTransformer(function(a,b,c){c.method="PATCH"})},a.prototype.asPost=function(){return this._addTransformer(function(a,b,c){c.method="POST"})},a.prototype.asPut=function(){return this._addTransformer(function(a,b,c){c.method="PUT"})},a.prototype.asJsonp=function(a){return this.useJsonp=!0,this._addTransformer(function(b,c,d){d.callbackParameterName=a})},a.prototype.withUrl=function(a){return this._addTransformer(function(b,c,d){d.url=a})},a.prototype.withContent=function(a){return this._addTransformer(function(b,c,d){d.content=a})},a.prototype.withBaseUrl=function(a){return this._addTransformer(function(b,c,d){d.baseUrl=a})},a.prototype.withParams=function(a){return this._addTransformer(function(b,c,d){d.params=a})},a.prototype.withResponseType=function(a){return this._addTransformer(function(b,c,d){d.responseType=a})},a.prototype.withTimeout=function(a){return this._addTransformer(function(b,c,d){d.timeout=a})},a.prototype.withHeader=function(a,b){return this._addTransformer(function(c,d,e){e.headers.add(a,b)})},a.prototype.withCredentials=function(a){return this._addTransformer(function(b,c,d){d.withCredentials=a})},a.prototype.withLogin=function(a,b){return this._addTransformer(function(c,d,e){e.user=a,e.password=b})},a.prototype.withReviver=function(a){return this._addTransformer(function(b,c,d){d.reviver=a})},a.prototype.withReplacer=function(a){return this._addTransformer(function(b,c,d){d.replacer=a})},a.prototype.withProgressCallback=function(a){return this._addTransformer(function(b,c,d){d.progressCallback=a})},a.prototype.withDownloadProgressCallback=function(a){return this._addTransformer(function(b,c,d){d.downloadProgressCallback=a})},a.prototype.withCallbackParameterName=function(a){return this._addTransformer(function(b,c,d){d.callbackParameterName=a})},a.prototype.withInterceptor=function(a){return this._addTransformer(function(b,c,d){d.interceptors=d.interceptors||[],d.interceptors.unshift(a); -})},a.prototype.skipContentProcessing=function(){return this._addTransformer(function(a,b,c){c.skipContentProcessing=!0})},a.prototype._addTransformer=function(a){return this.transformers.push(a),this},a.addHelper=function(b,c){a.prototype[b]=function(){return this._addTransformer(c.apply(this,arguments))}},a.prototype.send=function(){var a=this.useJsonp?new y:new A;return this.client.send(a,this.transformers)},a}();a.HttpClient=function(){function a(){this.isRequesting=!1,this.requestTransformers=[],this.requestProcessorFactories=new Map,this.requestProcessorFactories.set(A,p),this.requestProcessorFactories.set(y,o),this.pendingRequests=[]}return a.prototype.configure=function(a){var b=new B(this);return a(b),this.requestTransformers=b.transformers,this},a.prototype.createRequest=function(a){var b=new B(this);return a&&b.withUrl(a),b},a.prototype.send=function(a,b){var c=this,d=this.requestProcessorFactories.get(a.constructor),e=void 0,f=void 0,g=void 0,h=void 0;if(!d)throw new Error("No request message processor factory for "+a.constructor+".");return e=d(),q(this,e),b=b||this.requestTransformers,f=Promise.resolve(a).then(function(a){for(g=0,h=b.length;g0&&a.globalResources(f),e.info("Loading "+f.length+" wrappers",f),f.length>10&&e.warn("when using many wrappers, it is recommended not to use .core(), .pro() or .dynamic() but instead to load wrappers via .this should significantly speed up load times of your application.")}Object.defineProperty(a,"__esModule",{value:!0}),a.delayed=a.generateBindables=a.version=void 0,a.configure=g,Object.defineProperty(a,"version",{enumerable:!0,get:function(){return b.version}}),Object.defineProperty(a,"generateBindables",{enumerable:!0,get:function(){return c.generateBindables}}),Object.defineProperty(a,"delayed",{enumerable:!0,get:function(){return c.delayed}});var h=f(e)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5.js",["npm:aurelia-kendoui-bridge@1.6.5/index"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.AutoComplete=void 0;var h,i,j,k;a.AutoComplete=(h=(0,c.customElement)(f.constants.elementPrefix+"autocomplete"),i=(0,e.generateBindables)("kendoAutoComplete"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoAutoComplete").useRootElement(this.element).linkViewModel(this).useContainer(d).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("input");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("input");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoAutoComplete",a),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/barcode/barcode.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Barcode=void 0;var h,i,j,k;a.Barcode=(h=(0,c.customAttribute)(f.constants.attributePrefix+"barcode"),i=(0,e.generateBindables)("kendoBarcode"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoBarcode").useElement(this.element).linkViewModel(this)}return a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/button/button.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Button=void 0;var j,k,l,m,n,o;a.Button=(j=(0,c.customAttribute)(f.constants.attributePrefix+"button"),k=(0,e.generateBindables)("kendoButton"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoButton").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/buttongroup/buttongroup.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ButtonGroup=void 0;var j,k,l,m,n,o;a.ButtonGroup=(j=(0,c.customAttribute)(f.constants.attributePrefix+"buttongroup"),k=(0,e.generateBindables)("kendoMobileButtonGroup"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoMobileButtonGroup").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Calendar=void 0;var h,i,j,k;a.Calendar=(h=(0,c.customElement)(f.constants.elementPrefix+"calendar"),i=(0,e.generateBindables)("kendoCalendar"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoCalendar").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/chart.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/chart.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Chart=void 0;var i,j,k,l;a.Chart=(i=(0,c.customElement)(f.constants.elementPrefix+"chart"),j=(0,e.generateBindables)("kendoChart"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoChart").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Sparkline=void 0;var i,j,k,l;a.Sparkline=(i=(0,c.customElement)(f.constants.elementPrefix+"sparkline"),j=(0,e.generateBindables)("kendoSparkline"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoSparkline").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/stock.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/stock.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Stock=void 0;var i,j,k,l;a.Stock=(i=(0,c.customElement)(f.constants.elementPrefix+"stock"),j=(0,e.generateBindables)("kendoStockChart"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoStockChart").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeMap=void 0;var i,j,k,l;a.TreeMap=(i=(0,c.customElement)(f.constants.elementPrefix+"treemap"),j=(0,e.generateBindables)("kendoTreeMap"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoTreeMap").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ColorPalette=void 0;var h,i,j,k;a.ColorPalette=(h=(0,c.customElement)(f.constants.attributePrefix+"color-palette"),i=(0,e.generateBindables)("kendoColorPalette"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoColorPalette").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/colorpicker/colorpicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ColorPicker=void 0;var j,k,l,m,n,o;a.ColorPicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"color-picker"),k=(0,e.generateBindables)("kendoColorPicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoColorPicker").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.ComboBox=void 0;var k,l,m,n,o,p,q;a.ComboBox=(k=(0,c.customElement)(f.constants.elementPrefix+"combobox"),l=(0,e.generateBindables)("kendoComboBox"),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoComboBox").linkViewModel(this).useRootElement(this.element).useValueBinding().useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoComboBox",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/common/notify-binding-behavior.js",["exports","aurelia-binding","aurelia-dependency-injection"],function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.NotifyBindingBehavior=void 0;var e,f;a.NotifyBindingBehavior=(e=(0,c.inject)(b.EventManager),e(f=function(){function a(b){d(this,a),this.eventManager=b}return a.prototype.bind=function(a,b,c,d){if(a.updateSource){var e=a.observerLocator.getObserver(a.target,a.targetProperty);a.targetObserver=e,e.originalHandler=a.targetObserver.handler;var f=this.eventManager.createElementHandler(["blur"]);e.handler=f;var g=c||a.source.bindingContext,h=d||a.sourceExpression.expression.name,i=a.updateSource;a["intercepted-updateSource"]=i,a.updateSource=function(b){return g.set&&g.trigger&&(setTimeout(function(){return g.trigger.call(g,"change",{field:h})},100),g.dirty===!1&&(g.dirty=!0)),i.call(a,b)}}},a.prototype.unbind=function(a,b){a["intercepted-updateSource"]&&(a.updateSource=a["intercepted-updateSource"],a["intercepted-updateSource"]=null)},a}())||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/common/template.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/constants"],function(a,b,c,d){"use strict";function e(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Template=void 0;var h,i,j,k,l,m,n,o,p;a.Template=(h=(0,c.customElement)(d.constants.elementPrefix+"template"),i=(0,c.noView)(),j=(0,c.processContent)(function(a,b,c,d){var e=c.innerHTML;if(""!==e){var f=$(c).children("script");f.length>0?d.template=$(f).html():d.template=e}c.innerHTML=""}),k=(0,b.inject)(c.TargetInstruction),h(l=i(l=j(l=k((m=function a(b){f(this,a),e(this,"template",n,this),e(this,"for",o,this),e(this,"kendoTemplate",p,this),this.template=b.elementInstruction.template},n=g(m.prototype,"template",[c.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"for",[c.bindable],{enumerable:!0,initializer:function(){return"template"}}),p=g(m.prototype,"kendoTemplate",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),l=m))||l)||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/contextmenu/contextmenu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ContextMenu=void 0;var h,i,j,k;a.ContextMenu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"contextmenu"),i=(0,e.generateBindables)("kendoContextMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoContextMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/dateinput/dateinput.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DateInput=void 0;var j,k,l,m,n,o,p;a.DateInput=(j=(0,c.customAttribute)(f.constants.attributePrefix+"date-input"),k=(0,e.generateBindables)("kendoDateInput"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoDateInput").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/datepicker/datepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DatePicker=void 0;var j,k,l,m,n,o,p;a.DatePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"datepicker"),k=(0,e.generateBindables)("kendoDatePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoDatePicker").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly").useValueBinding()}return a.prototype.subscribe=function(a,b){ -return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/datetimepicker/datetimepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DateTimePicker=void 0;var j,k,l,m,n,o,p;a.DateTimePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"datetimepicker"),k=(0,e.generateBindables)("kendoDateTimePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoDateTimePicker").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Diagram=void 0;var h,i,j,k;a.Diagram=(h=(0,c.customElement)(f.constants.elementPrefix+"diagram"),i=(0,e.generateBindables)("kendoDiagram"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDiagram").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/dialog/dialog.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Dialog=void 0;var h,i,j,k;a.Dialog=(h=(0,c.customAttribute)(f.constants.attributePrefix+"dialog"),i=(0,e.generateBindables)("kendoDialog"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDialog").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/draggable/draggable.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Draggable=void 0;var h,i,j,k;a.Draggable=(h=(0,c.customAttribute)(f.constants.attributePrefix+"draggable"),i=(0,e.generateBindables)("kendoDraggable"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){var d=this;g(this,a),this.element=b,this.widgetBase=c.control("kendoDraggable").useElement(this.element).beforeInitialize(function(a){return d.beforeInitialize(a)}).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.beforeInitialize=function(a){a.container&&Object.assign(a,{container:kendo.jQuery(a.container)})},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target-area.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropTargetArea=void 0;var h,i,j,k;a.DropTargetArea=(h=(0,c.customAttribute)(f.constants.attributePrefix+"drop-target-area"),i=(0,e.generateBindables)("kendoDropTargetArea"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDropTargetArea").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropTarget=void 0;var h,i,j,k;a.DropTarget=(h=(0,c.customAttribute)(f.constants.attributePrefix+"drop-target"),i=(0,e.generateBindables)("kendoDropTarget"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDropTarget").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropDownList=void 0;var k,l,m,n,o,p,q,r;a.DropDownList=(k=(0,c.customElement)(f.constants.elementPrefix+"drop-down-list"),l=(0,e.generateBindables)("kendoDropDownList"),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kNoValueBinding",p,this),g(this,"kEnabled",q,this),g(this,"kReadOnly",r,this),this.element=b,this.widgetBase=c.control("kendoDropDownList").useRootElement(this.element).linkViewModel(this).useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoValueBinding||this.widgetBase.useValueBinding(),this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoDropDownList",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kNoValueBinding",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),q=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),r=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/editor/editor.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Editor=void 0;var h,i,j,k;a.Editor=(h=(0,c.customAttribute)(f.constants.attributePrefix+"rich-editor"),i=(0,e.generateBindables)("kendoEditor"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoEditor").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/filter-menu/filter-menu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.FilterMenu=void 0;var h,i,j,k;a.FilterMenu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"filter-menu"),i=(0,e.generateBindables)("kendoFilterMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoFilterMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.FlatColorPicker=void 0;var h,i,j,k;a.FlatColorPicker=(h=(0,c.customElement)(f.constants.attributePrefix+"flat-color-picker"),i=(0,e.generateBindables)("kendoFlatColorPicker"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoFlatColorPicker").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GanttCol=void 0;var h,i,j,k;a.GanttCol=(h=(0,b.customElement)(d.constants.elementPrefix+"gantt-col"),i=(0,e.generateBindables)("GanttColumn"),j=(0,c.inject)(f.TemplateGatherer),h(k=i(k=j(k=function a(){g(this,a)})||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../pdf/pdf"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function j(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Gantt=void 0;var k,l,m,n;a.Gantt=(k=(0,c.customElement)(f.constants.elementPrefix+"gantt"),l=(0,e.generateBindables)("kendoGantt"),m=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder),k(n=l(n=m(n=function(){function a(b,c,d,e){var f=this;i(this,a),this.element=b,this.optionsBuilder=e,this.widgetBase=c.control("kendoGantt").useRootElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(j(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoGantt",a),this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"gantt-col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GanttColumn"))}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.LinearGauge=void 0;var h,i,j,k;a.LinearGauge=(h=(0,c.customElement)(f.constants.elementPrefix+"linear-gauge"),i=(0,e.generateBindables)("kendoLinearGauge"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoLinearGauge").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.RadialGauge=void 0;var h,i,j,k;a.RadialGauge=(h=(0,c.customElement)(f.constants.elementPrefix+"radial-gauge"),i=(0,e.generateBindables)("kendoRadialGauge"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoRadialGauge").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/options-builder","../common/util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Col=void 0;var j,k,l,m;a.Col=(j=(0,b.customElement)(d.constants.elementPrefix+"col"),k=(0,e.generateBindables)("GridColumn"),l=(0,c.inject)(f.TemplateGatherer,g.OptionsBuilder,h.Util,Element),j(m=k(m=l(m=function(){function a(b,c,d,e){i(this,a),this.templateGatherer=b,this.optionsBuilder=c,this.util=d,this.element=e}return a.prototype.bind=function(a){this.$parent=a},a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"GridColumn",a)},a.prototype.afterOptionsBuild=function(a){var b=this,c=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GridColumn"))})),a.editor&&(a.editor=a.editor.bind(this.$parent));var e=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"grid-command");e&&e.length>0&&(a.command=[],e.forEach(function(c){var d=b.optionsBuilder.getOptions(c,"GridColumnCommandItem");d.click&&(d.click=d.click.bind(b.$parent)),a.command.push(d)}))},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.js",["exports","aurelia-templating","../common/constants","../common/decorators"],function(a,b,c,d){"use strict";function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GridCommand=void 0;var f,g,h;a.GridCommand=(f=(0,b.customElement)(c.constants.elementPrefix+"grid-command"),g=(0,d.generateBindables)("GridColumnCommandItem"),f(h=g(h=function a(){e(this,a)})||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/util"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GridToolbar=void 0;var i,j,k,l;a.GridToolbar=(i=(0,b.customElement)(d.constants.elementPrefix+"grid-toolbar"),j=(0,e.generateBindables)("GridToolbarItem"),k=(0,c.inject)(f.TemplateGatherer,g.Util,Element),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.templateGatherer=b,this.util=c,this.element=d}return a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"GridToolbarItem",a)},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/grid/grid.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../common/template-gatherer","../pdf/pdf"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function k(a){return a.children.length>0&&"TABLE"===a.children[0].nodeName}function l(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Grid=void 0;var m,n,o,p;a.Grid=(m=(0,c.customElement)(f.constants.elementPrefix+"grid"),n=(0,e.generateBindables)("kendoGrid"),o=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder,h.TemplateGatherer),m(p=n(p=o(p=function(){function a(b,c,d,e,f){var g=this;j(this,a),this.element=b,this.templateGatherer=f,this.optionsBuilder=e,this.widgetBase=c.control("kendoGrid").useRootElement(this.element).beforeInitialize(function(a){return g._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(l(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else if(k(this.element))this.widgetBase.useElement(this.element.children[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"kendoGrid",a),this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"col"),d=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"grid-toolbar");if(c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GridColumn"))})),d&&d.length>0){var e=d[0],g=this.optionsBuilder.getOptions(e,"GridToolbarItem");g.template?a.toolbar=g.template:a.toolbar=g}},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||p)||p)||p)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.ListBox=void 0;var i,j,k,l;a.ListBox=(i=(0,c.customElement)(f.constants.elementPrefix+"list-box"),j=(0,e.generateBindables)("kendoListBox"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoListBox").useElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=h(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoListBox",b),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/listview/listview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/listview/listview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ListView=void 0;var h,i,j,k;a.ListView=(h=(0,c.customElement)(f.constants.elementPrefix+"list-view"),i=(0,e.generateBindables)("kendoListView"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoListView").useElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoListView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/map/map.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return''})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/map/map.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){ -"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Map=void 0;var h,i,j,k;a.Map=(h=(0,c.customElement)(f.constants.elementPrefix+"map"),i=(0,e.generateBindables)("kendoMap"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMap").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/maskedtextbox/maskedtextbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.MaskedTextBox=void 0;var j,k,l,m,n,o,p,q;a.MaskedTextBox=(j=(0,c.customAttribute)(f.constants.attributePrefix+"maskedtextbox"),k=(0,e.generateBindables)("kendoMaskedTextBox"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kDisableDates",o,this),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoMaskedTextBox").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kDisableDates",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/mediaplayer/mediaplayer.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.MediaPlayer=void 0;var h,i,j,k;a.MediaPlayer=(h=(0,c.customAttribute)(f.constants.attributePrefix+"mediaplayer"),i=(0,e.generateBindables)("kendoMediaPlayer"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMediaPlayer").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/menu/menu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Menu=void 0;var h,i,j,k;a.Menu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"menu"),i=(0,e.generateBindables)("kendoMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.Multiselect=void 0;var k,l,m,n,o,p,q,r;a.Multiselect=(k=(0,c.customElement)(f.constants.elementPrefix+"multiselect"),l=(0,e.generateBindables)("kendoMultiSelect",["template"]),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),g(this,"kNoValueBinding",r,this),this.element=b,this.widgetBase=c.control("kendoMultiSelect").useRootElement(this.element).linkViewModel(this).useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoValueBinding||this.widgetBase.useValueBinding(),this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoMultiSelect",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){"kValue"===a&&""!==this.kWidget.input.val()&&this.kWidget.input.val()!==this.kWidget.options.placeholder||this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),r=i(o.prototype,"kNoValueBinding",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/notification/notification-template.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/constants"],function(a,b,c,d){"use strict";function e(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.NotificationTemplate=void 0;var h,i,j,k,l,m,n,o;a.NotificationTemplate=(h=(0,c.customElement)(d.constants.elementPrefix+"notification-template"),i=(0,c.noView)(),j=(0,c.processContent)(function(a,b,c,d){var e=c.innerHTML;return""!==e&&(d.template=e),!0}),k=(0,b.inject)(c.TargetInstruction),h(l=i(l=j(l=k((m=function a(b){f(this,a),e(this,"template",n,this),e(this,"type",o,this),this.template=b.elementInstruction.template},n=g(m.prototype,"template",[c.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"type",[c.bindable],{enumerable:!0,initializer:null}),l=m))||l)||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/notification/notification.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/notification/notification.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Notification=void 0;var h,i,j,k;a.Notification=(h=(0,c.customElement)(f.constants.elementPrefix+"notification"),i=(0,e.generateBindables)("kendoNotification"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){var e=this;g(this,a),this.element=b,this.widgetBase=c.control("kendoNotification").useElement(this.element).beforeInitialize(function(a){return e.beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.beforeInitialize=function(a){var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"notification-template");b&&b.length>0&&(a.templates=[],b.forEach(function(b){return a.templates.push({type:b.type,template:function(){return b.template}})}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/numerictextbox/numerictextbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.NumericTextBox=void 0;var j,k,l,m,n,o,p;a.NumericTextBox=(j=(0,c.customAttribute)(f.constants.attributePrefix+"numerictextbox"),k=(0,e.generateBindables)("kendoNumericTextBox"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoNumericTextBox").linkViewModel(this).useElement(this.element).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/widget-base","../common/decorators"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.children.length>0&&("UL"===a.children[0].nodeName||"OL"===a.children[0].nodeName)}Object.defineProperty(a,"__esModule",{value:!0}),a.PanelBar=void 0;var i,j,k,l;a.PanelBar=(i=(0,b.customElement)(d.constants.elementPrefix+"panel-bar"),j=(0,f.generateBindables)("kendoPanelBar"),k=(0,c.inject)(Element,e.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPanelBar").useRootElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.element;if(h(a))a=this.element.children[0];else{for(var b=document.createElement("ul");a.children.length>0;)b.appendChild(a.children[0]);a.appendChild(b),a=b}this.widgetBase.useElement(a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.PivotConfigurator=void 0;var h,i,j,k;a.PivotConfigurator=(h=(0,c.customElement)(f.constants.elementPrefix+"pivot-configurator"),i=(0,e.generateBindables)("kendoPivotConfigurator"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPivotConfigurator").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.PivotGrid=void 0;var i,j,k,l;a.PivotGrid=(i=(0,c.customElement)(f.constants.elementPrefix+"pivot-grid"),j=(0,e.generateBindables)("kendoPivotGrid"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.element=b,this.widgetBase=c.control("kendoPivotGrid").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoPivotGrid",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/popup/popup.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Popup=void 0;var h,i,j,k;a.Popup=(h=(0,c.customAttribute)(f.constants.attributePrefix+"popup"),i=(0,e.generateBindables)("kendoPopup"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPopup").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/progressbar/progressbar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ProgressBar=void 0;var j,k,l,m,n,o;a.ProgressBar=(j=(0,c.customAttribute)(f.constants.attributePrefix+"progress-bar"),k=(0,e.generateBindables)("kendoProgressBar"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoProgressBar").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/qrcode/qrcode.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.QRCode=void 0;var h,i,j,k;a.QRCode=(h=(0,c.customAttribute)(f.constants.attributePrefix+"qrcode"),i=(0,e.generateBindables)("kendoQRCode"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoQRCode").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.RangeSlider=void 0;var j,k,l,m,n,o;a.RangeSlider=(j=(0,c.customElement)(f.constants.elementPrefix+"range-slider"),k=(0,e.generateBindables)("kendoRangeSlider"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoRangeSlider").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.destroy();var a=this.element.querySelectorAll("div");if(0===a.length){var b=document.createElement("div");this.element.appendChild(b),a=[b]}var c=a[0].querySelectorAll("input");0===c.length&&(a[0].appendChild(document.createElement("input")),a[0].appendChild(document.createElement("input"))),this.widgetBase.useElement(a[0]),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/responsivepanel/responsivepanel.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ResponsivePanel=void 0;var h,i,j,k;a.ResponsivePanel=(h=(0,c.customAttribute)(f.constants.attributePrefix+"responsivepanel"),i=(0,e.generateBindables)("kendoResponsivePanel"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoResponsivePanel").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Scheduler=void 0;var i,j,k,l;a.Scheduler=(i=(0,c.customElement)(f.constants.elementPrefix+"scheduler"),j=(0,e.generateBindables)("kendoScheduler"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.element=b,this.widgetBase=c.control("kendoScheduler").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoScheduler",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Scrollview=void 0;var i,j,k,l;a.Scrollview=(i=(0,c.customElement)(f.constants.elementPrefix+"scrollview"),j=(0,e.generateBindables)("kendoMobileScrollView"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoMobileScrollView").useRootElement(this.element).linkViewModel(this).useContainer(d).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(h(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoMobileScrollView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/slider/slider.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Slider=void 0;var j,k,l,m,n,o;a.Slider=(j=(0,c.customAttribute)(f.constants.attributePrefix+"slider"), -k=(0,e.generateBindables)("kendoSlider"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoSlider").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/sortable/sortable.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Sortable=void 0;var h,i,j,k;a.Sortable=(h=(0,c.customAttribute)(f.constants.attributePrefix+"sortable"),i=(0,e.generateBindables)("kendoSortable"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSortable").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/splitter/splitter.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Splitter=void 0;var h,i,j,k;a.Splitter=(h=(0,c.customAttribute)(f.constants.attributePrefix+"splitter"),i=(0,e.generateBindables)("kendoSplitter"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSplitter").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Spreadsheet=void 0;var h,i,j,k;a.Spreadsheet=(h=(0,c.customElement)(f.constants.elementPrefix+"spreadsheet"),i=(0,e.generateBindables)("kendoSpreadsheet"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSpreadsheet").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/switch/switch.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Switch=void 0;var j,k,l,m,n,o;a.Switch=(j=(0,c.customAttribute)(f.constants.attributePrefix+"switch"),k=(0,e.generateBindables)("kendoMobileSwitch"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoMobileSwitch").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding("kChecked","check")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/tabstrip/tabstrip.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TabStrip=void 0;var h,i,j,k;a.TabStrip=(h=(0,c.customAttribute)(f.constants.attributePrefix+"tabstrip"),i=(0,e.generateBindables)("kendoTabStrip"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoTabStrip").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/timepicker/timepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.TimePicker=void 0;var j,k,l,m,n,o,p,q;a.TimePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"timepicker"),k=(0,e.generateBindables)("kendoTimePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kDisableDates",o,this),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoTimePicker").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kDisableDates",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/options-builder"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ToolbarItemButton=void 0;var h,i,j,k;a.ToolbarItemButton=(h=(0,b.customElement)(d.constants.elementPrefix+"toolbar-item-button"),i=(0,e.generateBindables)("ToolBarItemButton"),j=(0,c.inject)(f.OptionsBuilder),h(k=i(k=j(k=function(){function a(b){g(this,a),this.optionsBuilder=b}return a.prototype.getOptions=function(){return this.optionsBuilder.getOptions(this,"ToolBarItemButton")},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/options-builder","../common/util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ToolbarItem=void 0;var j,k,l,m;a.ToolbarItem=(j=(0,b.customElement)(d.constants.elementPrefix+"toolbar-item"),k=(0,e.generateBindables)("ToolBarItem"),l=(0,c.inject)(f.TemplateGatherer,g.OptionsBuilder,h.Util,Element),j(m=k(m=l(m=function(){function a(b,c,d,e){i(this,a),this.templateGatherer=b,this.optionsBuilder=c,this.util=d,this.element=e}return a.prototype.getOptions=function(){var a=this,b=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"ToolBarItem",b);var c=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"toolbar-item-button");return c&&c.length>0&&(this.kButtons=[],c.forEach(function(b){a.kButtons.push(b.getOptions())})),this.optionsBuilder.getOptions(this,"ToolBarItem")},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Toolbar=void 0;var i,j,k,l;a.Toolbar=(i=(0,c.customElement)(f.constants.elementPrefix+"toolbar"),j=(0,e.generateBindables)("kendoToolBar"),k=(0,b.inject)(Element,d.WidgetBase,g.OptionsBuilder,b.Container),i(l=j(l=k(l=function(){function a(b,c,d,e){var f=this;h(this,a),this.element=b,this.optionsBuilder=d,this.widgetBase=c.control("kendoToolBar").useElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(e)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"toolbar-item");b&&b.length>0&&(a.items=[],b.forEach(function(b){a.items.push(b.getOptions())}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/tooltip/tooltip.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Tooltip=void 0;var h,i,j,k;a.Tooltip=(h=(0,c.customAttribute)(f.constants.attributePrefix+"tooltip"),i=(0,e.generateBindables)("kendoTooltip"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoTooltip").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/util"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeCol=void 0;var i,j,k,l;a.TreeCol=(i=(0,b.customElement)(d.constants.elementPrefix+"tree-col"),j=(0,e.generateBindables)("TreeListColumn"),k=(0,c.inject)(f.TemplateGatherer,g.Util,Element),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.templateGatherer=b,this.util=c,this.element=d}return a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"TreeListColumn",a)},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/pdf/pdf.js",["exports"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});a.PDF=function a(){b(this,a)}})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../pdf/pdf"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeList=void 0;var j,k,l,m;a.TreeList=(j=(0,c.customElement)(f.constants.elementPrefix+"tree-list"),k=(0,e.generateBindables)("kendoTreeList"),l=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder),j(m=k(m=l(m=function(){function a(b,c,d,e){var f=this;i(this,a),this.element=b,this.optionsBuilder=e,this.widgetBase=c.control("kendoTreeList").useRootElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"tree-col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"TreeListColumn"))}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("ul").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeView=void 0;var i,j,k,l;a.TreeView=(i=(0,c.customElement)(f.constants.elementPrefix+"treeview"),j=(0,e.generateBindables)("kendoTreeView"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoTreeView").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(h(this.element))this.widgetBase.useElement(this.element.querySelectorAll("ul")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoTreeView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/upload/upload.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/upload/upload.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Upload=void 0;var h,i,j,k;a.Upload=(h=(0,c.customElement)(f.constants.elementPrefix+"upload"),i=(0,e.generateBindables)("kendoUpload"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoUpload").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=void 0,b=this.element.querySelectorAll("input");b.length>0?a=b[0]:(a=document.createElement("input"),this.element.appendChild(a)),this.widgetBase.useElement(a);var c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoUpload",c),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/validator/validator.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Validator=void 0;var h,i,j,k;a.Validator=(h=(0,c.customAttribute)(f.constants.attributePrefix+"validator"),i=(0,e.generateBindables)("kendoValidator"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoValidator").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/valueconverters/valueconverters.js",["exports"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});a.kendoToStringValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b,c){return kendo.toString(a,b,c)},a}(),a.kendoParseDateValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b,c){return kendo.parseDate(a,b,c)},a}(),a.kendoParseIntValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b){return kendo.parseInt(a,b)},a}(),a.kendoParseFloatValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b){return kendo.parseFloat(a,b)},a}(),a.kendoParseColorValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){return kendo.parseColor(a)},a}(),a.kendoStringifyValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){return kendo.stringify(a)},a}(),a.kendoFormatValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d)<[^<]*)*<\/script>/gi;a.HTMLSanitizer=function(){function a(){}return a.prototype.sanitize=function(a){return a.replace(b,"")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/attr-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.AttrBindingBehavior=void 0;a.AttrBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,c){a.targetObserver=new b.DataAttributeObserver(a.target,a.targetProperty)},a.prototype.unbind=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/binding-mode-behaviors.js",["exports","aurelia-binding","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=void 0;var d,e,f,g,h,i,j={bind:function(a,b,c){a.originalMode=a.mode,a.mode=this.mode},unbind:function(a,b){a.mode=a.originalMode,a.originalMode=null}};a.OneTimeBindingBehavior=(d=(0,c.mixin)(j),d(e=function(){this.mode=b.bindingMode.oneTime})||e),a.OneWayBindingBehavior=(f=(0,c.mixin)(j),f(g=function(){this.mode=b.bindingMode.oneWay})||g),a.TwoWayBindingBehavior=(h=(0,c.mixin)(j),h(i=function(){this.mode=b.bindingMode.twoWay})||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/throttle-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.throttleState,d=+new Date-c.last;return d>=c.delay?(clearTimeout(c.timeoutId),c.timeoutId=null,c.last=+new Date,void this.throttledMethod(a)):(c.newValue=a,void(null===c.timeoutId&&(c.timeoutId=setTimeout(function(){c.timeoutId=null,c.last=+new Date,b.throttledMethod(c.newValue)},c.delay-d))))}Object.defineProperty(a,"__esModule",{value:!0}),a.ThrottleBindingBehavior=void 0;a.ThrottleBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.throttledMethod=a[f],a.throttledMethod.originalName=f,a[f]=c,a.throttleState={delay:e,last:0,timeoutId:null}},a.prototype.unbind=function(a,b){var c=a.throttledMethod.originalName;a[c]=a.throttledMethod,a.throttledMethod=null,clearTimeout(a.throttleState.timeoutId),a.throttleState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/debounce-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.debounceState;return c.immediate?(c.immediate=!1,void this.debouncedMethod(a)):(clearTimeout(c.timeoutId),void(c.timeoutId=setTimeout(function(){return b.debouncedMethod(a)},c.delay)))}Object.defineProperty(a,"__esModule",{value:!0}),a.DebounceBindingBehavior=void 0;a.DebounceBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.debouncedMethod=a[f],a.debouncedMethod.originalName=f,a[f]=c,a.debounceState={delay:e,timeoutId:null,immediate:"updateTarget"===f}},a.prototype.unbind=function(a,b){var c=a.debouncedMethod.originalName;a[c]=a.debouncedMethod,a.debouncedMethod=null,clearTimeout(a.debounceState.timeoutId),a.debounceState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/self-binding-behavior.js",["exports"],function(a){"use strict";function b(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function c(a){var c=b(a);this.target===c&&this.selfEventCallSource(a)}Object.defineProperty(a,"__esModule",{value:!0});a.SelfBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,b){if(!a.callSource||!a.targetEvent)throw new Error("Self binding behavior only supports event.");a.selfEventCallSource=a.callSource,a.callSource=c},a.prototype.unbind=function(a,b){a.callSource=a.selfEventCallSource,a.selfEventCallSource=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/signal-binding-behavior.js",["exports","./binding-signaler"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SignalBindingBehavior=void 0; -a.SignalBindingBehavior=function(){function a(a){this.signals=a.signals}return a.inject=function(){return[b.BindingSignaler]},a.prototype.bind=function(a,b){if(!a.updateTarget)throw new Error("Only property bindings and string interpolation bindings can be signaled. Trigger, delegate and call bindings cannot be signaled.");if(3===arguments.length){var c=arguments[2],d=this.signals[c]||(this.signals[c]=[]);d.push(a),a.signalName=c}else{if(!(arguments.length>3))throw new Error("Signal name is required.");for(var e=Array.prototype.slice.call(arguments,2),f=e.length;f--;){var g=e[f],h=this.signals[g]||(this.signals[g]=[]);h.push(a)}a.signalName=e}},a.prototype.unbind=function(a,b){var c=a.signalName;if(a.signalName=null,Array.isArray(c))for(var d=c,e=d.length;e--;){var f=d[e],g=this.signals[f];g.splice(g.indexOf(a),1)}else{var h=this.signals[c];h.splice(h.indexOf(a),1)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/binding-signaler.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.BindingSignaler=void 0;a.BindingSignaler=function(){function a(){this.signals={}}return a.prototype.signal=function(a){var c=this.signals[a];if(c)for(var d=c.length;d--;)c[d].call(b.sourceContext)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.UpdateTriggerBindingBehavior=void 0;var c,d,e="The updateTrigger binding behavior requires at least one event name argument: eg ",f="The updateTrigger binding behavior can only be applied to two-way bindings on input/select elements.";a.UpdateTriggerBindingBehavior=(d=c=function(){function a(a){this.eventManager=a}return a.prototype.bind=function(a,c){for(var d=arguments.length,g=Array(d>2?d-2:0),h=2;h0?(q=a.removeViews(l,!0,!a.viewsRequireLifecycle),p=function(){for(var g=0;gd;)e--,a.removeView(e,!0,!a.viewsRequireLifecycle);for(var f=a.local,g=0;g0)return Promise.all(g).then(function(){var f=e._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),f)});var o=this._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),o)},a.prototype._handleAddedSplices=function(a,c,d){for(var e=void 0,f=void 0,g=c.length,h=0,i=d.length;hj.index)&&(f=e);k0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByKey=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByValue=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c0)for(h>d&&(h=d),e=0,f=h;e0&&(b-=1);b-1&&this.subscriptions.splice(b,1)},a}())||e)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/common/widget-base.js",["exports","./util","./options-builder","./template-compiler","./template-gatherer","../config-builder","aurelia-dependency-injection","aurelia-templating-resources","aurelia-task-queue","./observer","aurelia-logging"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";function l(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function m(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.WidgetBase=void 0;var n,o,p,q=l(k),r=q.getLogger("aurelia-kendoui-bridge");a.WidgetBase=(n=(0,g.transient)(),o=(0,g.inject)(i.TaskQueue,d.TemplateCompiler,c.OptionsBuilder,b.Util,e.TemplateGatherer,f.KendoConfigBuilder,h.RepeatStrategyLocator,j.Observer),n(p=o(p=function(){function a(b,c,d,e,f,g,h,i){m(this,a),this.bindingsToKendo=[],this.taskQueue=b,this.optionsBuilder=d,this.util=e,this.configBuilder=g,this.repeatStratLocator=h,this.templateGatherer=f,this.observer=i,c.initialize(),this.registerRepeatStrategy()}return a.prototype.control=function(a){if(!a||!window.kendo||!kendo.jQuery.fn[a])throw new Error("The kendo control '"+a+"' is not available. Did you load Kendo (in addition to the bridge)?");this.controlName=a;var b=kendo.jQuery.fn[this.controlName];return this.kendoOptions=b.widget.prototype.options,this.kendoEvents=b.widget.prototype.events,this},a.prototype.linkViewModel=function(a){if(!a)throw new Error("viewModel is not set");return this.viewModel=a,this},a.prototype.useContainer=function(a){if(!a)throw new Error("container is not set");return this.container=a,this},a.prototype.useElement=function(a){return this.element=a,this.rootElement||(this.rootElement=a),this},a.prototype.useRootElement=function(a){return this.rootElement=a,this},a.prototype.beforeInitialize=function(a){return this._beforeInitialize=a,this},a.prototype.afterInitialize=function(a){return this._afterInitialize=a,this},a.prototype.useParentCtx=function(a){return this.parentCtx=a,this},a.prototype.useValueBinding=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"kValue",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return this.valueBindingProperty=a,this.valueFunction=b,this.withValueBinding=!0,this.bindToKendo(a,b),this},a.prototype.bindToKendo=function(a,b){return this.bindingsToKendo.push({propertyName:a,functionName:b}),this},a.prototype.recreate=function(){var a=this;if(!this.element)throw new Error("element is not set. Call .useElement()");this.viewModel&&this.viewModel.kWidget&&this.destroy(this.viewModel.kWidget);var b=this._getOptions(this.rootElement);this._beforeInitialize&&this._beforeInitialize(b),Object.assign(b,{$angular:[{_$parent:this.parentCtx,_$container:this.container}]}),r.debug("initializing "+this.controlName+" with the following config",b);var c=this._createWidget(this.element,b,this.controlName);return c.$angular=[{_$parent:this.parentCtx,_$container:this.container}],this.withValueBinding&&(c.first("change",function(b){return a._handleValueChange(b.sender)}),c.one("dataBound",function(b){return a._handleValueChange(b.sender)})),this.bindingsToKendo.forEach(function(b){var d=a.viewModel[b.propertyName];"undefined"!=typeof d&&null!==d&&""!==d&&c[b.functionName](d)}),this._afterInitialize&&this._afterInitialize(),this.observer.notify("ready",c),this.util.getEventsFromAttributes(this.rootElement).indexOf("ready")>-1&&this.util.fireKendoEvent(this.rootElement,"ready",c),c},a.prototype._createWidget=function(a,b,c){return kendo.jQuery(a)[c](b).data(c)},a.prototype._getOptions=function(a){var b=this.optionsBuilder.getOptions(this.viewModel,this.controlName),c=this.getEventOptions(a);return this.util.pruneOptions(Object.assign({},this.viewModel.kOptions||{},b,c))},a.prototype.getEventOptions=function(a){var b=this,c={},d=this.kendoEvents.concat(["ready"]),e=["change"],f=this.util.getEventsFromAttributes(a);return f.forEach(function(f){if(!d.includes(f))throw new Error(f+" is not an event on the "+b.controlName+" control");e.includes(f)?c[f]=function(c){b.taskQueue.queueMicroTask(function(){return b.observer.notify(f,c),b.util.fireKendoEvent(a,b.util._hyphenate(f),c)})}:c[f]=function(c){b.observer.notify(f,c);var d=b.util.fireKendoEvent(a,b.util._hyphenate(f),c);b.configBuilder._propogatePreventDefault&&d.defaultPrevented&&c.preventDefault()}}),c},a.prototype._handleValueChange=function(a){this.viewModel[this.valueBindingProperty]=this.getValue(a)},a.prototype.getValue=function(a){return a[this.valueFunction]()},a.prototype.handlePropertyChanged=function(a,b,c,d){if(a){var e=this.bindingsToKendo.find(function(a){return a.propertyName===b});e&&("undefined"==typeof c?a[e.functionName](null):a[e.functionName]()!==c&&a[e.functionName](c))}},a.prototype.useTemplates=function(a,b,c){return this.templateGatherer.useTemplates(a,b,c)},a.prototype.registerRepeatStrategy=function(){if(this.configBuilder.registerRepeatStrategy){if(!window.kendo)return void r.warn("Could not add RepeatStrategy for kendo.data.ObservableArray as kendo.data.ObservableArray has not been loaded");this.repeatStratLocator.addStrategy(function(a){return a instanceof kendo.data.ObservableArray},new h.ArrayRepeatStrategy)}},a.prototype.subscribe=function(a,b){return this.observer.subscribe(a,b)},a.prototype.destroy=function(a){if(a&&a.element&&a.element.length>0){a.wrapper&&a.wrapper!==a.element&&(a.element.insertBefore(a.wrapper),a.wrapper.remove());for(var b=a.element[0].classList,c=0;c1&&void 0!==arguments[1]?arguments[1]:[];if(this.cache[a])return this.cache[a];var c=this.getWidgetProperties(a),d=this.getGeneratedProperties(a),e=c.concat(d.filter(function(a){return c.indexOf(a)<0}));return e=e.concat(b.filter(function(a){return e.indexOf(a)<0})),this.cache[a]=e,e},a.prototype.getGeneratedProperties=function(a){if(!b.bindables[a])throw new Error(a+" not found in generated bindables.js");return b.bindables[a]},a.prototype.getWidgetProperties=function(a){return window.kendo&&kendo.jQuery.fn[a]?Object.keys(kendo.jQuery.fn[a].widget.prototype.options):[]},a.prototype.getTemplateProperties=function(a){var b=this,c=this.getProperties(a),d=c.filter(function(a){return b.util.isTemplateProperty(a)});return d},a}())||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/common/util.js",["exports","./constants"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Util=void 0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=/([A-Z])/g;a.Util=function(){function a(){c(this,a)}return a.prototype.addHyphenAndLower=function(a){return"-"+a.toLowerCase()},a.prototype._hyphenate=function(a){return(a.charAt(0).toLowerCase()+a.slice(1)).replace(e,this.addHyphenAndLower)},a.prototype._unhyphenate=function(a){return a.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})},a.prototype.getBindablePropertyName=function(a){var c=""+b.constants.bindablePrefix+a;return this._unhyphenate(c)},a.prototype.getKendoPropertyName=function(a){var b=a.substring(1);return b.charAt(0).toLowerCase()+b.slice(1)},a.prototype.getEventsFromAttributes=function(a){for(var c=Array.prototype.slice.call(a.attributes),d=[],e=0;e2&&void 0!==arguments[2]?arguments[2]:{},d=new CustomEvent(b,{detail:c,bubbles:!0,cancelable:!0});return a.dispatchEvent(d),d},a.prototype.fireKendoEvent=function(a,c){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.fireEvent(a,""+b.constants.eventPrefix+c,d)},a.prototype.isTemplateProperty=function(a){return a.toLowerCase().indexOf("template")>-1},a.prototype.isObject=function(a){return null!==a&&"object"===("undefined"==typeof a?"undefined":d(a))},a.prototype.getChildrenVMs=function(a,b){var c=kendo.jQuery(a).children(b),d=[];return c.each(function(a,b){if(!b.au||!b.au.controller)throw new Error("au property not found on element "+b.tagName+". Did you load this custom element via or via main.js?");d.push(b.au.controller.viewModel)}),d},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.6.5/common/decorators.js",["exports","aurelia-templating","aurelia-dependency-injection","aurelia-metadata","aurelia-binding","aurelia-task-queue","./control-properties","./util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(i,j,k){var l=d.metadata.getOrCreateOwn(d.metadata.resource,b.HtmlBehaviorResource,i),m=c.Container.instance||new c.Container,n=m.get(g.ControlProperties),o=m.get(h.Util),p=n.getProperties(a,f);p.push("widget"),p.push("options"),p.push("noInit");for(var q=0;q=b.length)break;e=b[d++]}else{if(d=b.next(),d.done)break;e=d.value}var f=e,g=f[0],h=f[1];try{if(a(g,h))return}catch(a){}}else{var i=System._loader.modules;for(var j in i)try{if(a(j,i[j].module))return}catch(a){}}},System.set("text",System.newModule({translate:function(a){return'module.exports = "'+a.source.replace(/(["\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")+'";'}})),j.prototype._import=function(a){return System.import(a)},j.prototype.loadModule=function(a){var b=this;return System.normalize(a).then(function(a){var c=b.moduleRegistry[a];return void 0!==c?Promise.resolve(c):System.import(a).then(function(c){return b.moduleRegistry[a]=c,h(c,a)})})},j.prototype.map=function(a,b){var c;System.config({map:(c={},c[a]=b,c)})},j.prototype.normalizeSync=function(a,b){return System.normalizeSync(a,b)},j.prototype.normalize=function(a,b){return System.normalize(a,b)},j.prototype.applyPluginToUrl=function(a,b){return a+"!"+b},j.prototype.addPlugin=function(a,b){System.set(a,System.newModule({fetch:function(a,c){var d=b.fetch(a.address);return Promise.resolve(d).then(function(b){return a.metadata.result=b,""})},instantiate:function(a){return a.metadata.result}}))}):(d.PLATFORM.global.requirejs&&requirejs.s&&requirejs.s.contexts&&requirejs.s.contexts._&&requirejs.s.contexts._.defined?d.PLATFORM.eachModule=function(a){var b=requirejs.s.contexts._.defined;for(var c in b)try{if(a(c,b[c]))return}catch(a){}}:d.PLATFORM.eachModule=function(a){},j.prototype._import=function(a){return new Promise(function(b,c){require([a],b,c)})},j.prototype.loadModule=function(a){var b=this,c=this.moduleRegistry[a];return void 0!==c?Promise.resolve(c):new Promise(function(c,d){require([a],function(d){b.moduleRegistry[a]=d,c(h(d,a))},d)})},j.prototype.map=function(a,b){},j.prototype.normalize=function(a,b){return Promise.resolve(a)},j.prototype.normalizeSync=function(a,b){return a},j.prototype.applyPluginToUrl=function(a,b){return b+"!"+a},j.prototype.addPlugin=function(b,c){var d=a;d(b,[],{load:function(a,b,d){var e=c.fetch(a);Promise.resolve(e).then(d)}})})})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader-default@1.0.2.js",["npm:aurelia-loader-default@1.0.2/aurelia-loader-default"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js",["exports","aurelia-logging"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.ConsoleAppender=void 0;a.ConsoleAppender=function(){function a(){}return a.prototype.debug=function(a){for(var b,c=arguments.length,d=Array(c>1?c-1:0),e=1;e1?c-1:0),e=1;e1?c-1:0),e=1;e1?c-1:0),e=1;e instead.')}function i(a){a.container.registerSingleton(d.BindingLanguage,y),a.container.registerAlias(d.BindingLanguage,y)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingBindingLanguage=a.SyntaxInterpreter=a.ChildInterpolationBinding=a.InterpolationBinding=a.InterpolationBindingExpression=a.AttributeMap=void 0,a.configure=i;var j,k,l,m,n,o,p,q,r=e(b),s=a.AttributeMap=(k=j=function(){function a(a){this.elements=Object.create(null),this.allElements=Object.create(null),this.svg=a,this.registerUniversal("accesskey","accessKey"),this.registerUniversal("contenteditable","contentEditable"),this.registerUniversal("tabindex","tabIndex"),this.registerUniversal("textcontent","textContent"),this.registerUniversal("innerhtml","innerHTML"),this.registerUniversal("scrolltop","scrollTop"),this.registerUniversal("scrollleft","scrollLeft"),this.registerUniversal("readonly","readOnly"),this.register("label","for","htmlFor"),this.register("img","usemap","useMap"),this.register("input","maxlength","maxLength"),this.register("input","minlength","minLength"),this.register("input","formaction","formAction"),this.register("input","formenctype","formEncType"),this.register("input","formmethod","formMethod"),this.register("input","formnovalidate","formNoValidate"),this.register("input","formtarget","formTarget"),this.register("textarea","maxlength","maxLength"),this.register("td","rowspan","rowSpan"),this.register("td","colspan","colSpan"),this.register("th","rowspan","rowSpan"),this.register("th","colspan","colSpan")}return a.prototype.register=function(a,b,c){a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a]=this.elements[a]||Object.create(null);d[b]=c},a.prototype.registerUniversal=function(a,b){a=a.toLowerCase(),this.allElements[a]=b},a.prototype.map=function(a,b){if(this.svg.isStandardSvgAttribute(a,b))return b;a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a];return void 0!==d&&b in d?d[b]:b in this.allElements?this.allElements[b]:/(?:^data-)|(?:^aria-)|:/.test(b)?b:(0,c.camelCase)(b)},a}(),j.inject=[c.SVGAnalyzer],k),t=a.InterpolationBindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.parts=c,this.mode=d,this.lookupFunctions=e,this.attribute=this.attrToRemove=f,this.discrete=!1}return a.prototype.createBinding=function(a){return 3===this.parts.length?new v(a,this.observerLocator,this.parts[1],this.mode,this.lookupFunctions,this.targetProperty,this.parts[0],this.parts[2]):new u(this.observerLocator,this.parts,a,this.targetProperty,this.mode,this.lookupFunctions)},a}(),u=a.InterpolationBinding=function(){function a(a,b,c,d,e,f){h(c,d),this.observerLocator=a,this.parts=b,this.target=c,this.targetProperty=d,this.targetAccessor=a.getAccessor(c,d),this.mode=e,this.lookupFunctions=f}return a.prototype.interpolate=function(){if(this.isBound){for(var a="",b=this.parts,c=0,d=b.length;c=c.bindingMode.oneTime?d.attributes[b].defaultBindingMode:c.bindingMode.oneWay},a.prototype.bind=function(a,b,e,f,g){var h=f||d.BehaviorInstruction.attribute(e.attrName);return h.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),e.defaultBindingMode||this.determineDefaultBindingMode(b,e.attrName,g),a.lookupFunctions),h},a.prototype.trigger=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.none,!0,a.lookupFunctions)},a.prototype.capture=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.capturing,!0,a.lookupFunctions)},a.prototype.delegate=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.bubbling,!0,a.lookupFunctions)},a.prototype.call=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.CallExpression(this.observerLocator,e.attrName,this.parser.parse(e.attrValue),a.lookupFunctions),g},a.prototype.options=function(a,b,c,e,f){var g=e||d.BehaviorInstruction.attribute(c.attrName),h=c.attrValue,i=this.language,j=null,k="",l=void 0,m=void 0,n=void 0,o=!1,p=!1,q=!1;for(m=0,n=h.length;m=0&&c0&&c element in "+c+' has no "from" attribute.');h[i]=new e((0,b.relativeToFile)(g,c),f.getAttribute("as")),f.parentNode&&f.parentNode.removeChild(f)}}},{key:"factory",get:function(){return this._factory},set:function(a){this._factory=a,this.factoryIsReady=!0}}]),a}();a.Loader=function(){function a(){this.templateRegistry={}}return a.prototype.map=function(a,b){throw new Error("Loaders must implement map(id, source).")},a.prototype.normalizeSync=function(a,b){throw new Error("Loaders must implement normalizeSync(moduleId, relativeTo).")},a.prototype.normalize=function(a,b){throw new Error("Loaders must implement normalize(moduleId: string, relativeTo: string): Promise.")},a.prototype.loadModule=function(a){throw new Error("Loaders must implement loadModule(id).")},a.prototype.loadAllModules=function(a){throw new Error("Loader must implement loadAllModules(ids).")},a.prototype.loadTemplate=function(a){throw new Error("Loader must implement loadTemplate(url).")},a.prototype.loadText=function(a){throw new Error("Loader must implement loadText(url).")},a.prototype.applyPluginToUrl=function(a,b){throw new Error("Loader must implement applyPluginToUrl(url, pluginName).")},a.prototype.addPlugin=function(a,b){throw new Error("Loader must implement addPlugin(pluginName, implementation).")},a.prototype.getOrCreateTemplateRegistryEntry=function(a){return this.templateRegistry[a]||(this.templateRegistry[a]=new f(a))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0.js",["npm:aurelia-loader@1.0.0/aurelia-loader"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.2.2/aurelia-binding.js",["exports","aurelia-logging","aurelia-pal","aurelia-task-queue","aurelia-metadata"],function(a,b,c,d,e){"use strict";function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a){if(a in Ma)return Ma[a];var b=a.charAt(0).toLowerCase()+a.slice(1).replace(/[_.-](\w|$)/g,function(a,b){return b.toUpperCase()});return Ma[a]=b,b}function j(a,b){return{bindingContext:a,parentOverrideContext:b||null}}function k(a,b,c){var d=b.overrideContext;if(c){for(;c&&d;)c--,d=d.parentOverrideContext;if(c||!d)return;return a in d?d:d.bindingContext}for(;d&&!(a in d)&&!(d.bindingContext&&a in d.bindingContext);)d=d.parentOverrideContext;return d?a in d?d:d.bindingContext:b.bindingContext||b.overrideContext}function l(a,b){return b?{bindingContext:a,overrideContext:j(a,j(b))}:{bindingContext:a,overrideContext:j(a)}}function m(a){for(var b=void 0===this._observerSlots?0:this._observerSlots,c=b;c--&&this[Oa[c]]!==a;);if(c===-1){for(c=0;this[Oa[c]];)c++;this[Oa[c]]=a,a.subscribe(Na,this),c===b&&(this._observerSlots=c+1)}void 0===this._version&&(this._version=0),this[Pa[c]]=this._version}function n(a,b){var c=this.observerLocator.getObserver(a,b);m.call(this,c)}function o(a){var b=this.observerLocator.getArrayObserver(a);m.call(this,b)}function p(a){for(var b=this._observerSlots;b--;)if(a||this[Pa[b]]!==this._version){var c=this[Oa[b]];this[Oa[b]]=null,c&&c.unsubscribe(Na,this)}}function q(){return function(a){a.prototype.observeProperty=n,a.prototype.observeArray=o,a.prototype.unobserve=p,a.prototype.addObserver=m}}function r(a){for(var b=Ra.length,d=0;dVa)break}Ra.splice(0,d),Ra.length?c.PLATFORM.requestAnimationFrame(r):(Wa=!1,Xa=0)}function s(a){if(Xa>>0}function A(a){return+a}function B(a,b,c){return{index:a,removed:b,addedCount:c}}function C(){}function D(a,b,c,d,e,f){return eb.calcSplices(a,b,c,d,e,f)}function E(a,b,c,d){return b=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var l=i.removed;if(e.indexi.index+i.addedCount){var n=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(l,n)}e.removed=l,i.index=Qb&&a<=Vb||a===Kc}function S(a){return yc<=a&&a<=Gc||qc<=a&&a<=sc||a===xc||a===Yb}function T(a){return yc<=a&&a<=Gc||qc<=a&&a<=sc||oc<=a&&a<=pc||a===xc||a===Yb}function U(a){return oc<=a&&a<=pc}function V(a){return a===zc||a===rc}function W(a){return a===fc||a===dc}function X(a){switch(a){case Bc:return Rb;case Ac:return Tb;case Cc:return Ub;case Dc:return Qb;case Fc:return Sb;default:return a}}function Y(a,b){if(!a)throw b||"Assertion failed"}function Z(a,b){return Pc.for(a,b)}function $(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function _(){this.standardStopPropagation(),this.propagationStopped=!0}function aa(a){a.standardStopPropagation=a.stopPropagation,a.stopPropagation=_}function ba(a){var b=!1;a.propagationStopped=!1;for(var c=$(a),d=[];c;){if(c.capturedCallbacks){var e=c.capturedCallbacks[a.type];e&&(b||(aa(a),b=!0),d.push(e))}c=c.parentNode}for(var f=d.length-1;f>=0;f--){var g=d[f];if(g(a),a.propagationStopped)break}}function ca(a){var b=!1;a.propagationStopped=!1;for(var c=$(a);c&&!a.propagationStopped;){if(c.delegatedCallbacks){var d=c.delegatedCallbacks[a.type];d&&(b||(aa(a),b=!0),d(a))}c=c.parentNode}}function da(a){return!!(a&&a.get&&a.get.dependencies)}function ea(a,b,c){var d=Object.getOwnPropertyDescriptor(a.prototype,b);d.get.dependencies=c}function fa(){for(var a=arguments.length,b=Array(a),c=0;c0||c>0;)if(0!==b)if(0!==c){var f=a[b-1][c-1],g=a[b-1][c],h=a[b][c-1],i=void 0;i=gc?b=c-a.addedCount:b<0&&(b=c+a.removed.length+b-a.addedCount),b<0&&(b=0),a.index=b}null===this.changeRecords?this.changeRecords=[a]:this.changeRecords.push(a),this.queued||(this.queued=!0,this.taskQueue.queueMicroTask(this))}},a.prototype.flushChangeRecords=function(){(this.changeRecords&&this.changeRecords.length||this.oldCollection)&&this.call()},a.prototype.reset=function(a){this.oldCollection=a,this.hasSubscribers()&&!this.queued&&(this.queued=!0,this.taskQueue.queueMicroTask(this))},a.prototype.getLengthObserver=function(){return this.lengthObserver||(this.lengthObserver=new gb(this.collection))},a.prototype.call=function(){var a=this.changeRecords,b=this.oldCollection,c=void 0;this.queued=!1,this.changeRecords=[],this.oldCollection=null,this.hasSubscribers()&&(c=b?this.collection instanceof Map||this.collection instanceof Set?J(b):D(this.collection,0,this.collection.length,b,0,b.length):this.collection instanceof Map||this.collection instanceof Set?a:H(this.collection,a),this.callSubscribers(c)),this.lengthObserver&&this.lengthObserver.call(this.collection[this.lengthPropertyName])},a}())||qa),gb=a.CollectionLengthObserver=(ra=y(),ra(sa=function(){function a(a){this.collection=a,this.lengthPropertyName=a instanceof Map||a instanceof Set?"size":"length",this.currentValue=a[this.lengthPropertyName]}return a.prototype.getValue=function(){return this.collection[this.lengthPropertyName]},a.prototype.setValue=function(a){this.collection[this.lengthPropertyName]=a},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.call=function(a){var b=this.currentValue;this.callSubscribers(a,b),this.currentValue=a},a}())||sa),hb=Array.prototype.pop,ib=Array.prototype.push,jb=Array.prototype.reverse,kb=Array.prototype.shift,lb=Array.prototype.sort,mb=Array.prototype.splice,nb=Array.prototype.unshift;Array.prototype.pop=function(){var a=this.length>0,b=hb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:this.length,oldValue:b}),b},Array.prototype.push=function(){var a=ib.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:this.length-arguments.length,removed:[],addedCount:arguments.length}),a},Array.prototype.reverse=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=jb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.shift=function(){var a=this.length>0,b=kb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:0,oldValue:b}),b},Array.prototype.sort=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=lb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.splice=function(){var a=mb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:+arguments[0],removed:a,addedCount:arguments.length>2?arguments.length-2:0}),a},Array.prototype.unshift=function(){var a=nb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:0,removed:[],addedCount:arguments.length}),a},a.getArrayObserver=K;var ob=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b.for=function(a,c){return"__array_observer__"in c||Reflect.defineProperty(c,"__array_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__array_observer__},b.create=function(a,c){return new b(a,c)},b}(fb),pb=a.Expression=function(){function a(){this.isChain=!1,this.isAssignable=!1}return a.prototype.evaluate=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be evaluated.')},a.prototype.assign=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be assigned to.'); -},a.prototype.toString=function(){return"undefined"==typeof FEATURE_NO_UNPARSER?Ib.unparse(this):Function.prototype.toString.call(this)},a}(),qb=a.Chain=function(a){function b(b){var c=g(this,a.call(this));return c.expressions=b,c.isChain=!0,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=void 0,d=this.expressions,e=void 0,f=0,g=d.length;f":return c>d;case"<=":return c<=d;case">=":return c>=d;case"^":return c^d}throw new Error("Internal error ["+this.operation+"] not handled")},b.prototype.accept=function(a){return a.visitBinary(this)},b.prototype.connect=function(a,b){this.left.connect(a,b);var c=this.left.evaluate(b);"&&"===this.operation&&!c||"||"===this.operation&&c||this.right.connect(a,b)},b}(pb),Db=a.PrefixNot=function(a){function b(b,c){var d=g(this,a.call(this));return d.operation=b,d.expression=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return!this.expression.evaluate(a,b)},b.prototype.accept=function(a){return a.visitPrefix(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b}(pb),Eb=a.LiteralPrimitive=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralPrimitive(this)},b.prototype.connect=function(a,b){},b}(pb),Fb=a.LiteralString=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralString(this)},b.prototype.connect=function(a,b){},b}(pb),Gb=a.LiteralArray=function(a){function b(b){var c=g(this,a.call(this));return c.elements=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=this.elements,d=[],e=0,f=c.length;e=this.length)return this.peek=Pb,null;this.peek=this.input.charCodeAt(this.index)}if(S(this.peek))return this.scanIdentifier();if(U(this.peek))return this.scanNumber(this.index);var a=this.index;switch(this.peek){case gc:return this.advance(),U(this.peek)?this.scanNumber(a):new Lb(a,".");case ac:case bc:case Hc:case Jc:case tc:case vc:case ec:case ic:case jc:return this.scanCharacter(a,String.fromCharCode(this.peek));case _b:case Xb:return this.scanString();case dc:case fc:case cc:case hc:case Zb:case wc:case nc:return this.scanOperator(a,String.fromCharCode(this.peek));case kc:case mc:case Wb:case lc:return this.scanComplexOperator(a,lc,String.fromCharCode(this.peek),"=");case $b:return this.scanComplexOperator(a,$b,"&","&");case Ic:return this.scanComplexOperator(a,Ic,"|","|");case Kc:for(;R(this.peek);)this.advance();return this.scanToken()}var b=String.fromCharCode(this.peek);return this.error("Unexpected character ["+b+"]"),null},a.prototype.scanCharacter=function(a,b){return Y(this.peek===b.charCodeAt(0)),this.advance(),new Lb(a,b)},a.prototype.scanOperator=function(a,b){return Y(this.peek===b.charCodeAt(0)),Y(Ob.indexOf(b)!==-1),this.advance(),new Lb(a,b).withOp(b)},a.prototype.scanComplexOperator=function(a,b,c,d){Y(this.peek===c.charCodeAt(0)),this.advance();var e=c;return this.peek===b&&(this.advance(),e+=d),this.peek===b&&(this.advance(),e+=d),Y(Ob.indexOf(e)!==-1),new Lb(a,e).withOp(e)},a.prototype.scanIdentifier=function(){Y(S(this.peek));var a=this.index;for(this.advance();T(this.peek);)this.advance();var b=this.input.substring(a,this.index),c=new Lb(a,b);return Ob.indexOf(b)!==-1?c.withOp(b):c.withGetterSetter(b),c},a.prototype.scanNumber=function(a){Y(U(this.peek));var b=this.index===a;for(this.advance();;){if(!U(this.peek))if(this.peek===gc)b=!1;else{if(!V(this.peek))break;this.advance(),W(this.peek)&&this.advance(),U(this.peek)||this.error("Invalid exponent",-1),b=!1}this.advance()}var c=this.input.substring(a,this.index),d=b?parseInt(c,10):parseFloat(c);return new Lb(a,c).withValue(d)},a.prototype.scanString=function(){Y(this.peek===_b||this.peek===Xb);var a=this.index,b=this.peek;this.advance();for(var c=void 0,d=this.index;this.peek!==b;)if(this.peek===uc){c||(c=[]),c.push(this.input.substring(d,this.index)),this.advance();var e=void 0;if(this.peek===Ec){var f=this.input.substring(this.index+1,this.index+5);/[A-Z0-9]{4}/.test(f)||this.error("Invalid unicode escape [\\u"+f+"]"),e=parseInt(f,16);for(var g=0;g<5;++g)this.advance()}else e=X(this.peek),this.advance();c.push(String.fromCharCode(e)),d=this.index}else this.peek===Pb?this.error("Unterminated quote"):this.advance();var h=this.input.substring(d,this.index);this.advance();var i=this.input.substring(a,this.index),j=h;return null!==c&&void 0!==c&&(c.push(h),j=c.join("")),new Lb(a,i).withValue(j)},a.prototype.advance=function(){++this.index>=this.length?this.peek=Pb:this.peek=this.input.charCodeAt(this.index)},a.prototype.error=function(a){var b=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=this.index+b;throw new Error("Lexer Error: "+a+" at column "+c+" in expression ["+this.input+"]")},a}(),Ob=["undefined","null","true","false","+","-","*","/","%","^","=","==","===","!=","!==","<",">","<=",">=","&&","||","&","|","!","?"],Pb=0,Qb=9,Rb=10,Sb=11,Tb=12,Ub=13,Vb=32,Wb=33,Xb=34,Yb=36,Zb=37,$b=38,_b=39,ac=40,bc=41,cc=42,dc=43,ec=44,fc=45,gc=46,hc=47,ic=58,jc=59,kc=60,lc=61,mc=62,nc=63,oc=48,pc=57,qc=65,rc=69,sc=90,tc=91,uc=92,vc=93,wc=94,xc=95,yc=97,zc=101,Ac=102,Bc=110,Cc=114,Dc=116,Ec=117,Fc=118,Gc=122,Hc=123,Ic=124,Jc=125,Kc=160,Lc=new Lb(-1,null),Mc=a.Parser=function(){function a(){this.cache={},this.lexer=new Mb}return a.prototype.parse=function(a){return a=a||"",this.cache[a]||(this.cache[a]=new Nc(this.lexer,a).parseChain())},a}(),Nc=a.ParserImplementation=function(){function a(a,b){this.index=0,this.input=b,this.tokens=a.lex(b)}return a.prototype.parseChain=function(){for(var a=!1,b=[];this.optional(";");)a=!0;for(;this.index"))a=new Cb(">",a,this.parseAdditive());else if(this.optional("<="))a=new Cb("<=",a,this.parseAdditive());else{if(!this.optional(">="))return a;a=new Cb(">=",a,this.parseAdditive())}},a.prototype.parseAdditive=function(){for(var a=this.parseMultiplicative();;)if(this.optional("+"))a=new Cb("+",a,this.parseMultiplicative());else{if(!this.optional("-"))return a;a=new Cb("-",a,this.parseMultiplicative())}},a.prototype.parseMultiplicative=function(){for(var a=this.parsePrefix();;)if(this.optional("*"))a=new Cb("*",a,this.parsePrefix());else if(this.optional("%"))a=new Cb("%",a,this.parsePrefix());else{if(!this.optional("/"))return a;a=new Cb("/",a,this.parsePrefix())}},a.prototype.parsePrefix=function(){return this.optional("+")?this.parsePrefix():this.optional("-")?new Cb("-",new Eb(0),this.parsePrefix()):this.optional("!")?new Db("!",this.parsePrefix()):this.parseAccessOrCallMember()},a.prototype.parseAccessOrCallMember=function(){for(var a=this.parsePrimary();;)if(this.optional(".")){var b=this.peek.text;if(this.advance(),this.optional("(")){var c=this.parseExpressionList(")");this.expect(")"),a=a instanceof vb?new zb(b,c,a.ancestor):new Ab(a,b,c)}else a=a instanceof vb?new wb(b,a.ancestor):new xb(a,b)}else if(this.optional("[")){var d=this.parseExpression();this.expect("]"),a=new yb(a,d)}else{if(!this.optional("("))return a;var e=this.parseExpressionList(")");this.expect(")"),a=new Bb(a,e)}},a.prototype.parsePrimary=function(){if(this.optional("(")){var a=this.parseExpression();return this.expect(")"),a}if(this.optional("null"))return new Eb(null);if(this.optional("undefined"))return new Eb(void 0);if(this.optional("true"))return new Eb(!0);if(this.optional("false"))return new Eb(!1);if(this.optional("[")){var b=this.parseExpressionList("]");return this.expect("]"),new Gb(b)}if("{"===this.peek.text)return this.parseObject();if(null!==this.peek.key&&void 0!==this.peek.key)return this.parseAccessOrCallScope();if(null!==this.peek.value&&void 0!==this.peek.value){var c=this.peek.value;return this.advance(),c instanceof String||"string"==typeof c?new Fb(c):new Eb(c)}if(this.index>=this.tokens.length)throw new Error("Unexpected end of expression: "+this.input);this.error("Unexpected token "+this.peek.text)},a.prototype.parseAccessOrCallScope=function(){var a=this.peek.key;if(this.advance(),"$this"===a)return new vb(0);for(var b=0;"$parent"===a;)if(b++,this.optional("."))a=this.peek.key,this.advance();else{if(this.peek===Lc||"("===this.peek.text||")"===this.peek.text||"["===this.peek.text||"}"===this.peek.text||","===this.peek.text)return new vb(b);this.error("Unexpected token "+this.peek.text)}if(this.optional("(")){var c=this.parseExpressionList(")");return this.expect(")"),new zb(a,c,b)}return new wb(a,b)},a.prototype.parseObject=function(){var a=[],b=[];if(this.expect("{"),"}"!==this.peek.text)do{var c=this.peek,d=c.value;a.push("string"==typeof d?d:c.text),this.advance(),!c.key||","!==this.peek.text&&"}"!==this.peek.text?(this.expect(":"),b.push(this.parseExpression())):(--this.index,b.push(this.parseAccessOrCallScope()))}while(this.optional(","));return this.expect("}"),new Hb(a,b)},a.prototype.parseExpressionList=function(a){var b=[];if(this.peek.text!==a)do b.push(this.parseExpression());while(this.optional(","));return b},a.prototype.optional=function(a){return this.peek.text===a&&(this.advance(),!0)},a.prototype.expect=function(a){this.peek.text===a?this.advance():this.error("Missing expected "+a)},a.prototype.advance=function(){this.index++},a.prototype.error=function(a){var b=this.index").firstElementChild.nodeName&&pd.altGlyph&&(pd.altglyph=pd.altGlyph,delete pd.altGlyph,pd.altglyphdef=pd.altGlyphDef,delete pd.altGlyphDef,pd.altglyphitem=pd.altGlyphItem,delete pd.altGlyphItem,pd.glyphref=pd.glyphRef,delete pd.glyphRef)}return b.prototype.isStandardSvgAttribute=function(a,b){return qd[a]&&rd[b]||pd[a]&&pd[a].indexOf(b)!==-1},b}()}();var pd=a.elements=ld,qd=a.presentationElements=md,rd=a.presentationAttributes=nd,sd=a.SVGAnalyzer=od||function(){function a(){}return a.prototype.isStandardSvgAttribute=function(){return!1},a}(),td=a.ObserverLocator=(Ea=Da=function(){function a(a,b,c,d,e){this.taskQueue=a,this.eventManager=b,this.dirtyChecker=c,this.svgAnalyzer=d,this.parser=e,this.adapters=[],this.logger=Ja.getLogger("observer-locator")}return a.prototype.getObserver=function(a,b){var c=a.__observers__,d=void 0;return c&&b in c?c[b]:(d=this.createPropertyObserver(a,b),d.doNotCache||(void 0===c&&(c=this.getOrCreateObserversLookup(a)),c[b]=d),d)},a.prototype.getOrCreateObserversLookup=function(a){return a.__observers__||this.createObserversLookup(a)},a.prototype.createObserversLookup=function(a){var b={};return Reflect.defineProperty(a,"__observers__",{enumerable:!1,configurable:!1,writable:!1,value:b})||this.logger.warn("Cannot add observers to object",a),b},a.prototype.addAdapter=function(a){this.adapters.push(a)},a.prototype.getAdapterObserver=function(a,b,c){for(var d=0,e=this.adapters.length;db){for(var f=0,g=a.length-c;f-1&&c.splice(b,1)),a},a.prototype.publish=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],f=d.DOM.createCustomEvent(a,{cancelable:e,bubbles:c,detail:b});this.element.dispatchEvent(f)},a.prototype.subscribe=function(a,b){var c=this,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(b&&"function"==typeof b)return b.eventName=a,b.handler=b,b.bubbles=d,b.dispose=function(){c.element.removeEventListener(a,b,d),c._dequeueHandler(b)},this.element.addEventListener(a,b,d),this._enqueueHandler(b),b},a.prototype.subscribeOnce=function(a,b){var c=this,d=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(b&&"function"==typeof b){var e=function(){var e=function a(c){b(c),a.dispose()};return{v:c.subscribe(a,e,d)}}();if("object"===("undefined"==typeof e?"undefined":Pa(e)))return e.v}},a.prototype.dispose=function(a){if(a&&"string"==typeof a){var b=this.subscriptions[a];if(b)for(;b.length;){var c=b.pop();c&&c.dispose()}}else this.disposeAll()},a.prototype.disposeAll=function(){for(var a in this.subscriptions)this.dispose(a)},a}(),Xa=a.ResourceLoadContext=function(){function a(){this.dependencies={}}return a.prototype.addDependency=function(a){this.dependencies[a]=!0},a.prototype.hasDependency=function(a){return a in this.dependencies},a}(),Ya=a.ViewCompileInstruction=function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],b=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.targetShadowDOM=a,this.compileSurrogate=b,this.associatedModuleId=null};Ya.normal=new Ya;var Za=a.BehaviorInstruction=function(){function a(){this.initiatedByBehavior=!1,this.enhance=!1,this.partReplacements=null,this.viewFactory=null,this.originalAttrName=null,this.skipContentProcessing=!1,this.contentFactory=null,this.viewModel=null,this.anchorIsContainer=!1,this.host=null,this.attributes=null,this.type=null,this.attrName=null,this.inheritBindingContext=!1}return a.enhance=function(){var b=new a;return b.enhance=!0,b},a.unitTest=function(b,c){var d=new a;return d.type=b,d.attributes=c||{},d},a.element=function(b,c){var d=new a;return d.type=c,d.attributes={},d.anchorIsContainer=!(b.hasAttribute("containerless")||c.containerless),d.initiatedByBehavior=!0,d},a.attribute=function(b,c){var d=new a;return d.attrName=b,d.type=c||null,d.attributes={},d},a.dynamic=function(b,c,d){var e=new a;return e.host=b,e.viewModel=c,e.viewFactory=d,e.inheritBindingContext=!0,e},a}();Za.normal=new Za;var $a=a.TargetInstruction=(ja=ia=function(){function a(){this.injectorId=null,this.parentInjectorId=null,this.shadowSlot=!1,this.slotName=null,this.slotFallbackFactory=null,this.contentExpression=null,this.expressions=null,this.behaviorInstructions=null,this.providers=null,this.viewFactory=null,this.anchorIsContainer=!1,this.elementInstruction=null,this.lifting=!1,this.values=null}return a.shadowSlot=function(b){var c=new a;return c.parentInjectorId=b,c.shadowSlot=!0,c},a.contentExpression=function(b){var c=new a;return c.contentExpression=b,c},a.lifting=function(b,c){var d=new a;return d.parentInjectorId=b,d.expressions=a.noExpressions,d.behaviorInstructions=[c],d.viewFactory=c.viewFactory,d.providers=[c.type.target],d.lifting=!0,d},a.normal=function(b,c,d,e,f,g){var h=new a;return h.injectorId=b,h.parentInjectorId=c,h.providers=d,h.behaviorInstructions=e,h.expressions=f,h.anchorIsContainer=!g||g.anchorIsContainer,h.elementInstruction=g,h},a.surrogate=function(b,c,d,e){var f=new a;return f.expressions=d,f.behaviorInstructions=c,f.providers=b,f.values=e,f},a}(),ia.noExpressions=Object.freeze([]),ja),_a=a.viewStrategy=c.protocol.create("aurelia:view-strategy",{validate:function(a){return"function"==typeof a.loadViewFactory||"View strategies must implement: loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext): Promise"},compose:function(a){"function"!=typeof a.makeRelativeTo&&(a.makeRelativeTo=d.PLATFORM.noop)}}),ab=a.RelativeViewStrategy=(ka=_a(),ka(la=function(){function a(a){this.path=a,this.absolutePath=null}return a.prototype.loadViewFactory=function(a,b,c,d){return null===this.absolutePath&&this.moduleId&&(this.absolutePath=(0,e.relativeToFile)(this.path,this.moduleId)),b.associatedModuleId=this.moduleId,a.loadViewFactory(this.absolutePath||this.path,b,c,d)},a.prototype.makeRelativeTo=function(a){null===this.absolutePath&&(this.absolutePath=(0,e.relativeToFile)(this.path,a))},a}())||la),bb=a.ConventionalViewStrategy=(ma=_a(),ma(na=function(){function a(a,b){this.moduleId=b.moduleId,this.viewUrl=a.convertOriginToViewUrl(b)}return a.prototype.loadViewFactory=function(a,b,c,d){return b.associatedModuleId=this.moduleId,a.loadViewFactory(this.viewUrl,b,c,d)},a}())||na),cb=a.NoViewStrategy=(oa=_a(),oa(pa=function(){function a(a,b){this.dependencies=a||null,this.dependencyBaseUrl=b||""}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry,g=this.dependencies;if(e&&e.factoryIsReady)return Promise.resolve(null);if(this.entry=e=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),e.dependencies=[],e.templateIsLoaded=!0,null!==g)for(var h=0,i=g.length;h=d&&h!==a))return f.splice(i,0,b),k}return e.auProjectionChildren.push(b),e}}return this.anchor},a.prototype.projectTo=function(a){this.destinationSlots=a},a.prototype.projectFrom=function(a,b){var c=d.DOM.createComment("anchor"),e=this.anchor.parentNode;c.auSlotProjectFrom=b,c.auOwnerView=a,c.auProjectionChildren=[],e.insertBefore(c,this.anchor),this.children.push(c),null===this.projectFromAnchors&&(this.projectFromAnchors=[]),this.projectFromAnchors.push(c)},a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView&&(this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext),this.contentView.insertNodesBefore(this.anchor)),this.contentView.hasSlots){var e=this.contentView.slots,f=this.projectFromAnchors;if(null!==f)for(var g in e)for(var h=e[g],i=0,j=f.length;i2&&void 0!==arguments[2]?arguments[2]:Qa.instance;this.anchor=a,this.anchorIsContainer=b,this.bindingContext=null,this.overrideContext=null,this.animator=c,this.children=[],this.isBound=!1,this.isAttached=!1,this.contentSelectors=null,a.viewSlot=this,a.isContentProjectionSource=!1}return a.prototype.animateView=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"enter",c=q(a);if(null!==c)switch(b){case"enter":return this.animator.enter(c);case"leave":return this.animator.leave(c);default:throw new Error("Invalid animation direction: "+b)}},a.prototype.transformChildNodesIntoView=function(){var a=this.anchor;this.children.push({fragment:a,firstChild:a.firstChild,lastChild:a.lastChild,returnToCache:function(){},removeNodes:function(){for(var b=void 0;b=a.lastChild;)a.removeChild(b)},created:function(){},bind:function(){},unbind:function(){},attached:function(){},detached:function(){}})},a.prototype.bind=function(a,b){var c=void 0,d=void 0,e=void 0;if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a=a||this.bindingContext,this.overrideContext=b=b||this.overrideContext,e=this.children,c=0,d=e.length;c=d?this.add(b):(b.insertNodesBefore(c[a].firstChild),c.splice(a,0,b),this.isAttached?(b.attached(),this.animateView(b,"enter")):void 0)},a.prototype.move=function(a,b){if(a!==b){var c=this.children,d=c[a];d.removeNodes(),d.insertNodesBefore(c[b].firstChild),c.splice(a,1),c.splice(b,0,d)}},a.prototype.remove=function(a,b,c){return this.removeAt(this.children.indexOf(a),b,c)},a.prototype.removeMany=function(a,b,c){var d=this,e=this.children,f=a.length,g=void 0,h=[];a.forEach(function(a){if(c)return void a.removeNodes();var b=d.animateView(a,"leave");b?h.push(b.then(function(){return a.removeNodes()})):a.removeNodes()});var i=function(){if(d.isAttached)for(g=0;g=0&&e.splice(c,1)}};return h.length>0?Promise.all(h).then(function(){return i()}):i()},a.prototype.removeAt=function(a,b,c){var d=this,e=this.children[a],f=function(){return a=d.children.indexOf(e),e.removeNodes(),d.children.splice(a,1),d.isAttached&&e.detached(),b&&e.returnToCache(),e};if(!c){var g=this.animateView(e,"leave");if(g)return g.then(function(){return f()})}return f()},a.prototype.removeAll=function(a,b){var c=this,d=this.children,e=d.length,f=void 0,g=[];d.forEach(function(a){if(b)return void a.removeNodes();var d=c.animateView(a,"leave");d?g.push(d.then(function(){return a.removeNodes()})):a.removeNodes()});var h=function(){if(c.isAttached)for(f=0;f0?Promise.all(g).then(function(){return h()}):h()},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached)for(this.isAttached=!0,c=this.children,a=0,b=c.length;a=this.children.length?this.add(b):(lb.distributeView(b,this.projectToSlots,this,a),this.children.splice(a,0,b),this.isAttached&&b.attached())},a.prototype._projectionMove=function(a,b){if(a!==b){var c=this.children,d=c[a];lb.undistributeView(d,this.projectToSlots,this),lb.distributeView(d,this.projectToSlots,this,b),c.splice(a,1),c.splice(b,0,d)}},a.prototype._projectionRemove=function(a,b){lb.undistributeView(a,this.projectToSlots,this),this.children.splice(this.children.indexOf(a),1),this.isAttached&&a.detached()},a.prototype._projectionRemoveAt=function(a,b){var c=this.children[a];lb.undistributeView(c,this.projectToSlots,this),this.children.splice(a,1),this.isAttached&&c.detached()},a.prototype._projectionRemoveMany=function(a,b){var c=this;a.forEach(function(a){return c.remove(a,b)})},a.prototype._projectionRemoveAll=function(a){lb.undistributeAll(this.projectToSlots,this);var b=this.children;if(this.isAttached)for(var c=0,d=b.length;c0?this.cache=[]:this.cache=null,this.isCaching=this.cacheSize>0},a.prototype.getCachedView=function(){return null!==this.cache?this.cache.pop()||null:null},a.prototype.returnViewToCache=function(a){a.isAttached&&a.detached(),a.isBound&&a.unbind(),null!==this.cache&&this.cache.length0&&(a.splice(b-1,2),b-=2)}}}function c(a,c){var d=c&&c.split("/"),e=a.trim().split("/");if("."===e[0].charAt(0)&&d){var f=d.slice(0,d.length-1);e.unshift.apply(e,f)}return b(e),e.join("/")}function d(a,b){if(!a)return b;if(!b)return a;var c=a.match(/^([^\/]*?:)\//),d=c&&c.length>0?c[1]:"";a=a.substr(d.length);var e=void 0;e=0===a.indexOf("///")&&"file:"===d?"///":0===a.indexOf("//")?"//":0===a.indexOf("/")?"/":"";for(var f="/"===b.slice(-1)?"/":"",g=a.split("/"),h=b.split("/"),i=[],j=0,k=g.length;j=2){var l=f[1]?decodeURIComponent(f[1]):"";k?h(b,j,l):b[i]=g(b[i],l)}else b[i]=!0}}return b}Object.defineProperty(a,"__esModule",{value:!0}),a.relativeToFile=c,a.join=d,a.buildQueryString=f,a.parseQueryString=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=encodeURIComponent,l=function(a){return k(a).replace("%24","$")}})}();!function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1.js",["npm:aurelia-path@1.1.1/aurelia-path"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js",["exports","aurelia-path"],function(a,b){"use strict";function c(a,b,c,d){var e=a;"/"===a.charAt(0)&&(e=a.substr(1));for(var f=[],g=e.split("/"),h=0,i=g.length;h0;)h();return c}function f(a,b,c){for(var d=a.handlers,e=a.regex,f=b.match(e),g=1,h=new o(c),i=0,j=d.length;i=b.length)break;e=b[d++]}else{if(d=b.next(),d.done)break;e=d.value}var f=e,g=f.charSpec.validChars===a.validChars&&f.charSpec.invalidChars===a.invalidChars;if(g)return f}},a.prototype.put=function(b){var c=this.get(b);return c?c:(c=new a(b),this.nextStates.push(c),b.repeat&&c.nextStates.push(c),c)},a.prototype.match=function(a){for(var b=this.nextStates,c=[],d=0,e=b.length;d1&&"/"===i.charAt(l-1)&&(i=i.substr(0,l-1),h=!0);for(var m=0,n=i.length;m1?b-1:0),e=1;e=1?f(a):f()}function k(a){return function(c){b.metadata.define(b.metadata.invoker,a,c)}}function l(a){var c=function(a){b.metadata.define(b.metadata.invoker,R.instance,a)};return a?c(a):c}function m(a){return function(c){b.metadata.define(b.metadata.registration,a,c)}}function n(a){return m(new S(a))}function o(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return m(new T(a,b))}function p(a){if(null===a||void 0===a)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function q(a,b,c,d){for(var e=c.length,f=new Array(e),g=void 0;e--;){if(g=c[e],null===g||void 0===g)throw new Error("Constructor Parameter with index "+e+" cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?");f[e]=a.get(g)}return void 0!==d&&(f=f.concat(d)),Reflect.construct(b,f)}function r(a){return a.hasOwnProperty("inject")?"function"==typeof a.inject?a.inject():a.inject:[]}function s(a){var c=function(a){var c=a.inject?a.inject.slice():null,d=b.metadata.getOwn(b.metadata.paramTypes,a)||U;if(c){for(var e=0;e-1&&c.splice(f,1),c.splice(f>-1&&f1?b-1:0),d=1;d0?this.dynamicDependencies.map(function(b){return b["protocol:aurelia:resolver"]?b.get(a):a.get(b)}):void 0,c=a.invoke(this.key,b);return a.registerInstance(this.asKey,c),c},a.prototype.as=function(a){return this.asKey=a,this},a.of=function(b){for(var c=arguments.length,d=Array(c>1?c-1:0),e=1;ea.maxInstructionCount)throw new Error("Maximum navigation attempts exceeded. Giving up.")}else a.events.publish("router:navigation:processing",{instruction:c});var d=a.pipelineProvider.createPipeline();return d.run(c).then(function(d){return F(c,d,b,a)}).catch(function(a){return{output:a instanceof Error?a:new Error(a)}}).then(function(d){return G(c,d,!!b,a)})}}})},b.prototype._findViewModel=function(a){if(this.container.viewModel)return this.container.viewModel;if(a.container)for(var b=a.container;b;){if(b.viewModel)return this.container.viewModel=b.viewModel,b.viewModel;b=b.parent}},b}(W)})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.3.0.js",["npm:aurelia-router@1.3.0/aurelia-router"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.4.0/aurelia-pal.js",["exports"],function(a){"use strict";function b(a,b,c){if(b){if(b.innerError&&c)return b;var d="\n------------------------------------------------\n";a+=d+"Inner Error:\n","string"==typeof b?a+="Message: "+b:(a+=b.message?"Message: "+b.message:"Unknown Inner Error Type. Displaying Inner Error as JSON:\n "+JSON.stringify(b,null," "),b.stack&&(a+="\nInner Error Stack:\n"+b.stack,a+="\nEnd Inner Error Stack")),a+=d}var e=new Error(a);return b&&(e.innerError=b),e}function c(b){h||(a.isInitialized=h=!0,"function"!=typeof Object.getPropertyDescriptor&&(Object.getPropertyDescriptor=function(a,b){for(var c=Object.getOwnPropertyDescriptor(a,b),d=Object.getPrototypeOf(a);"undefined"==typeof c&&null!==d;)c=Object.getOwnPropertyDescriptor(d,b),d=Object.getPrototypeOf(d);return c}),b(f,e,g))}function d(){a.isInitialized=h=!1}Object.defineProperty(a,"__esModule",{value:!0}),a.AggregateError=b,a.initializePAL=c,a.reset=d;var e=a.FEATURE={},f=a.PLATFORM={noop:function(){},eachModule:function(){},moduleName:function(a){function b(b){return a.apply(this,arguments)}return b.toString=function(){return a.toString()},b}(function(a){return a})};f.global=function(){return"undefined"!=typeof self?self:"undefined"!=typeof global?global:new Function("return this")()}();var g=a.DOM={},h=a.isInitialized=!1})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.4.0.js",["npm:aurelia-pal@1.4.0/aurelia-pal"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.3.1/aurelia-logging.js",["exports"],function(a){"use strict";function b(){return[this].concat(Array.prototype.slice.call(arguments))}function c(a){var c=j[a];return function(){if(!(this.level0;)f=d[e],b.setAttribute(f.name,f.value),a.removeAttribute(f.name);return a.parentNode.removeChild(a),c(b)},c=function(a){for(var b=a.content=document.createDocumentFragment(),c=void 0;c=a.firstChild;)b.appendChild(c);return a},d=function(d){for(var e=c(d).content,f=e.querySelectorAll("template"),g=0,h=f.length;g element e.g. ");return k.ensureHTMLTemplateElement(c)},appendNode:function(a,b){(b||document.body).appendChild(a)},replaceNode:function(a,b,c){b.parentNode?b.parentNode.replaceChild(a,b):null!==l?l.unwrap(c).replaceChild(l.unwrap(a),l.unwrap(b)):c.replaceChild(a,b)},removeNode:function(a,b){a.parentNode?a.parentNode.removeChild(a):b&&(null!==l?l.unwrap(b).removeChild(l.unwrap(a)):b.removeChild(a))},injectStyles:function(a,b,c,d){if(d){var e=document.getElementById(d);if(e){var f="style"===e.tagName.toLowerCase();if(f)return void(e.innerHTML=a);throw new Error("The provided id does not indicate a style tag.")}}var g=document.createElement("style");return g.innerHTML=a,g.type="text/css",d&&(g.id=d),b=b||document.head,c&&b.childNodes.length>0?b.insertBefore(g,b.childNodes[0]):b.appendChild(g),g}}})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal-browser@1.7.0.js",["npm:aurelia-pal-browser@1.7.0/aurelia-pal-browser"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-polyfills@1.3.0/aurelia-polyfills.js",["aurelia-pal"],function(a){"use strict";var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a};"undefined"==typeof FEATURE_NO_ES2015&&(!function(c,d){if(!(d in c)){var e,f=a.PLATFORM.global,g=0,h=""+Math.random(),i="__symbol:",j=i.length,k="__symbol@@"+h,l="defineProperty",m="defineProperties",n="getOwnPropertyNames",o="getOwnPropertyDescriptor",p="propertyIsEnumerable",q=c[n],r=c[o],s=c.create,t=c.keys,u=c[l],v=c[m],w=r(c,n),x=c.prototype,y=x.hasOwnProperty,z=x[p],A=x.toString,B=(Array.prototype.indexOf||function(a){for(var b=this.length;b--&&this[b]!==a;);return b},function(a,b,c){y.call(a,k)||u(a,k,{enumerable:!1,configurable:!1,writable:!1,value:{}}),a[k]["@@"+b]=c}),C=function(a,c){var d=s(a);return null!==c&&"object"===("undefined"==typeof c?"undefined":b(c))&&q(c).forEach(function(a){H.call(c,a)&&N(d,a,c[a])}),d},D=function(a){var b=s(a);return b.enumerable=!1,b},E=function(){},F=function(a){return a!=k&&!y.call(K,a)},G=function(a){return a!=k&&y.call(K,a)},H=function(a){var b=""+a;return G(b)?y.call(this,b)&&this[k]&&this[k]["@@"+b]:z.call(this,a)},I=function(a){var b={enumerable:!1,configurable:!0,get:E,set:function(b){e(this,a,{enumerable:!1,configurable:!0,writable:!0,value:b}),B(this,a,!0)}};return u(x,a,b),K[a]=u(c(a),"constructor",L)},J=function(a){if(this&&this!==f)throw new TypeError("Symbol is not a constructor");return I(i.concat(a||"",h,++g))},K=s(null),L={value:J},M=function(a){return K[a]},N=function(a,b,c){var d=""+b;return G(d)?(e(a,d,c.enumerable?D(c):c),B(a,d,!!c.enumerable)):u(a,b,c),a},O=function(a){var b=A.call(a);return a="[object String]"===b?a.split(""):c(a),q(a).filter(G).map(M)};w.value=N,u(c,l,w),w.value=O,u(c,d,w);var P="object"===("undefined"==typeof window?"undefined":b(window))?c.getOwnPropertyNames(window):[],Q=c.getOwnPropertyNames;w.value=function(a){if("[object Window]"===A.call(a))try{return Q(a)}catch(a){return[].concat([],P)}return q(a).filter(F)},u(c,n,w),w.value=function(a,b){var c=O(b);return c.length?t(b).concat(c).forEach(function(c){H.call(b,c)&&N(a,c,b[c])}):v(a,b),a},u(c,m,w),w.value=H,u(x,p,w),w.value=J,u(f,"Symbol",w),w.value=function(a){var b=i.concat(i,a,h);return b in x?K[b]:I(b)},u(J,"for",w),w.value=function(a){return y.call(K,a)?a.slice(2*j,-h.length):void 0},u(J,"keyFor",w),w.value=function(a,b){var c=r(a,b);return c&&G(b)&&(c.enumerable=H.call(a,b)),c},u(c,o,w),w.value=function(a,b){return 1===arguments.length?s(a):C(a,b)},u(c,"create",w),w.value=function(){var a=A.call(this);return"[object String]"===a&&G(this)?"[object Symbol]":a},u(x,"toString",w);try{e=s(u({},i,{get:function(){return u(this,i,{value:!1})[i]}}))[i]||u}catch(a){e=function(a,b,c){var d=r(x,b);delete x[b],u(a,b,c),u(x,b,d)}}}}(Object,"getOwnPropertySymbols"),function(a,b){var c,d=a.defineProperty,e=a.prototype,f=e.toString,g="toStringTag";["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",g].forEach(function(b){if(!(b in Symbol))switch(d(Symbol,b,{value:Symbol(b)}),b){case g:c=a.getOwnPropertyDescriptor(e,"toString"),c.value=function(){var a=f.call(this),b="undefined"==typeof this||null===this?void 0:this[Symbol.toStringTag];return"undefined"==typeof b?a:"[object "+b+"]"},d(e,"toString",c)}})}(Object,Symbol),function(a,b,c){function d(){return this}b[a]||(b[a]=function(){var b=0,c=this,e={next:function(){var a=c.length<=b;return a?{done:a}:{done:a,value:c[b++]}}};return e[a]=d,e}),c[a]||(c[a]=function(){var b=String.fromCodePoint,c=this,e=0,f=c.length,g={next:function(){var a=f<=e,d=a?"":b(c.codePointAt(e));return e+=d.length,a?{done:a}:{done:a,value:d}}};return g[a]=d,g})}(Symbol.iterator,Array.prototype,String.prototype)),"undefined"==typeof FEATURE_NO_ES2015&&(Number.isNaN=Number.isNaN||function(a){return a!==a},Number.isFinite=Number.isFinite||function(a){return"number"==typeof a&&isFinite(a)}),String.prototype.endsWith&&!function(){try{return!"ab".endsWith("a",1)}catch(a){return!0}}()||(String.prototype.endsWith=function(a,b){var c=this.toString();("number"!=typeof b||!isFinite(b)||Math.floor(b)!==b||b>c.length)&&(b=c.length),b-=a.length;var d=c.indexOf(a,b);return d!==-1&&d===b}),String.prototype.startsWith&&!function(){try{return!"ab".startsWith("b",1)}catch(a){return!0}}()||(String.prototype.startsWith=function(a,b){return b=b||0,this.substr(b,a.length)===a}),"undefined"==typeof FEATURE_NO_ES2015&&(Array.from||(Array.from=function(){var a=function(a){return isNaN(a=+a)?0:(a>0?Math.floor:Math.ceil)(a)},b=function(b){return b>0?Math.min(a(b),9007199254740991):0},c=function(a,b,c,d){try{return b(c,d)}catch(b){throw"function"==typeof a.return&&a.return(),b}};return function(a){var d,e,f,g,h=Object(a),i="function"==typeof this?this:Array,j=arguments.length,k=j>1?arguments[1]:void 0,l=void 0!==k,m=0,n=h[Symbol.iterator];if(l&&(k=k.bind(j>2?arguments[2]:void 0)),void 0==n||Array.isArray(a))for(d=b(h.length),e=new i(d);d>m;m++)e[m]=l?k(h[m],m):h[m];else for(g=n.call(h),e=new i;!(f=g.next()).done;m++)e[m]=l?c(g,k,f.value,m):f.value;return e.length=m,e}}()),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{configurable:!0,writable:!0,enumerable:!1,value:function a(b){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof b)throw new TypeError("predicate must be a function");for(var a,c=Object(this),d=c.length>>>0,e=arguments[1],f=0;f>>0,e=arguments[1],f=0;f=0?d=e:(d=c+e,d<0&&(d=0));for(var f;d4?e-4:0),g=4;g1?b.normalize(c.moduleId,c.resourcesRelativeTo[1]).then(function(a){return d(a)}):d(e)}function o(a,b,c){function d(b){var c=b.moduleId,d=p(c);return f(c)&&(c=g(c)),a.loader.normalize(c,b.relativeTo).then(function(a){return{name:b.moduleId,importId:f(b.moduleId)?h(a,d):a}})}function f(a){var b=p(a);return!!b&&(""!==b&&(".js"!==b&&".ts"!==b))}function g(a){return a.replace(t,"")}function h(a,b){return g(a)+"."+b}var i=a.container.get(e.ViewEngine);return Promise.all(Object.keys(b).map(function(a){return d(b[a])})).then(function(a){var b=[],d=[];return a.forEach(function(a){b.push(void 0),d.push(a.importId)}),i.importViewResources(d,b,c)})}function p(a){var b=a.match(t);if(b&&b.length>0)return b[0].split(".")[1]}function q(a){if(a.processed)throw new Error("This config instance has already been applied. To load more plugins or global resources, create a new FrameworkConfiguration instance.")}Object.defineProperty(a,"__esModule",{value:!0}),a.LogManager=a.FrameworkConfiguration=a.Aurelia=void 0,Object.keys(b).forEach(function(c){"default"!==c&&"__esModule"!==c&&Object.defineProperty(a,c,{enumerable:!0,get:function(){return b[c]}})}),Object.keys(c).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return c[b]}})}),Object.keys(d).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return d[b]}})}),Object.keys(e).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return e[b]}})}),Object.keys(f).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return f[b]}})}),Object.keys(g).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return g[b]}})}),Object.keys(h).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return h[b]}})}),Object.keys(i).forEach(function(b){"default"!==b&&"__esModule"!==b&&Object.defineProperty(a,b,{enumerable:!0,get:function(){return i[b]}})});var r=k(j),s=(a.Aurelia=function(){function a(c,d,g){this.loader=c||new i.PLATFORM.Loader,this.container=d||(new b.Container).makeGlobal(),this.resources=g||new e.ViewResources,this.use=new u(this),this.logger=r.getLogger("aurelia"),this.hostConfigured=!1,this.host=null,this.use.instance(a,this),this.use.instance(f.Loader,this.loader),this.use.instance(e.ViewResources,this.resources)}return a.prototype.start=function(){var a=this;return this._started?this._started:(this.logger.info("Aurelia Starting"),this._started=this.use.apply().then(function(){if(l(),!a.container.hasResolver(e.BindingLanguage)){var b="You must configure Aurelia with a BindingLanguage implementation.";throw a.logger.error(b),new Error(b)}a.logger.info("Aurelia Started");var c=i.DOM.createCustomEvent("aurelia-started",{bubbles:!0,cancelable:!0});return i.DOM.dispatchEvent(c),a}))},a.prototype.enhance=function(){var a=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._configureHost(c||i.DOM.querySelectorAll("body")[0]),new Promise(function(c){var d=a.container.get(e.TemplatingEngine);a.root=d.enhance({container:a.container,element:a.host,resources:a.resources,bindingContext:b}),a.root.attached(),a._onAureliaComposed(),c(a)})},a.prototype.setRoot=function(){var a=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,d={};this.root&&this.root.viewModel&&this.root.viewModel.router&&(this.root.viewModel.router.deactivate(),this.root.viewModel.router.reset()),this._configureHost(c);var f=this.container.get(e.TemplatingEngine),g=this.container.get(e.CompositionTransaction);return delete g.initialComposition,b||(b=this.configModuleId?(0,h.relativeToFile)("./app",this.configModuleId):"app"),d.viewModel=b,d.container=d.childContainer=this.container,d.viewSlot=this.hostSlot,d.host=this.host,f.compose(d).then(function(b){return a.root=b,d.viewSlot.attached(),a._onAureliaComposed(),a})},a.prototype._configureHost=function(a){if(!this.hostConfigured){if(a=a||this.host,a&&"string"!=typeof a?this.host=a:this.host=i.DOM.getElementById(a||"applicationHost"),!this.host)throw new Error("No applicationHost was specified.");this.hostConfigured=!0,this.host.aurelia=this,this.hostSlot=new e.ViewSlot(this.host,!0),this.hostSlot.transformChildNodesIntoView(),this.container.registerInstance(i.DOM.boundary,this.host)}},a.prototype._onAureliaComposed=function(){var a=i.DOM.createCustomEvent("aurelia-composed",{bubbles:!0,cancelable:!0});setTimeout(function(){return i.DOM.dispatchEvent(a)},1)},a}(),r.getLogger("aurelia")),t=/\.[^\/.]+$/,u=function(){function a(a){var b=this;this.aurelia=a,this.container=a.container,this.info=[],this.processed=!1,this.preTasks=[],this.postTasks=[],this.resourcesToLoad={},this.preTask(function(){return a.loader.normalize("aurelia-bootstrapper").then(function(a){return b.bootstrapperName=a})}),this.postTask(function(){return o(a,b.resourcesToLoad,a.resources)})}return a.prototype.instance=function(a,b){return this.container.registerInstance(a,b),this},a.prototype.singleton=function(a,b){return this.container.registerSingleton(a,b),this},a.prototype.transient=function(a,b){return this.container.registerTransient(a,b),this},a.prototype.preTask=function(a){return q(this),this.preTasks.push(a),this},a.prototype.postTask=function(a){return q(this),this.postTasks.push(a),this},a.prototype.feature=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=/\/index$/i.test(a),d=c||p(a)?a:a+"/index",e=c?a.substr(0,a.length-6):a;return this.plugin({moduleId:d,resourcesRelativeTo:[e,""],config:b})},a.prototype.globalResources=function(a){q(this);for(var b=Array.isArray(a)?a:arguments,c=void 0,d=this.resourcesRelativeTo||["",""],e=0,f=b.length;e0,!a.isRequesting){var e=c.DOM.createCustomEvent("aurelia-http-client-requests-drained",{bubbles:!0,cancelable:!0});setTimeout(function(){return c.DOM.dispatchEvent(e)},1)}}Object.defineProperty(a,"__esModule",{value:!0}),a.HttpClient=a.RequestBuilder=a.HttpRequestMessage=a.JSONPRequestMessage=a.RequestMessageProcessor=a.mimeTypes=a.HttpResponseMessage=a.RequestMessage=a.Headers=void 0,a.timeoutTransformer=g,a.callbackParameterNameTransformer=h,a.credentialsTransformer=i,a.progressTransformer=j,a.downloadProgressTransformer=k,a.responseTypeTransformer=l,a.headerTransformer=m,a.contentTransformer=n,a.createJSONPRequestMessageProcessor=o,a.createHttpRequestMessageProcessor=p;var s=function(){function a(a,b){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:{};this.headers={};for(var b in a)this.headers[b.toLowerCase()]={key:b,value:a[b]}}return a.prototype.add=function(a,b){this.headers[a.toLowerCase()]={key:a,value:b}},a.prototype.get=function(a){var b=this.headers[a.toLowerCase()];return b?b.value:void 0},a.prototype.clear=function(){this.headers={}},a.prototype.has=function(a){return this.headers.hasOwnProperty(a.toLowerCase())},a.prototype.configureXHR=function(a){for(var b in this.headers)this.headers.hasOwnProperty(b)&&a.setRequestHeader(this.headers[b].key,this.headers[b].value)},a.parse=function(b){var c=new a;if(!b)return c;for(var d=b.split("\r\n"),e=0;e0){var h=f.substring(0,g),i=f.substring(g+2);c.add(h,i)}}return c},a}(),u=a.RequestMessage=function(){function a(a,b,c,d){this.method=a,this.url=b,this.content=c,this.headers=d||new t,this.baseUrl=""}return a.prototype.buildFullUrl=function(){var a=/^([a-z][a-z0-9+\-.]*:)?\/\//i,c=a.test(this.url)?this.url:(0,b.join)(this.baseUrl,this.url);if(this.params){var d=(0,b.buildQueryString)(this.params,this.traditional);c=d?c+(this.url.indexOf("?")<0?"?":"&")+d:c}return c},a}(),v=a.HttpResponseMessage=function(){function a(a,b,c,d){if(this.requestMessage=a,this.statusCode=b.status,this.response=b.response||b.responseText,this.isSuccess=b.status>=200&&b.status<400,this.statusText=b.statusText,this.reviver=d,this.mimeType=null,b.getAllResponseHeaders)try{this.headers=t.parse(b.getAllResponseHeaders())}catch(a){b.requestHeaders&&(this.headers=new t(b.requestHeaders))}else this.headers=new t;var e=void 0;this.headers&&this.headers.headers&&(e=this.headers.get("Content-Type")),e&&(this.mimeType=c=e.split(";")[0].trim(),w.hasOwnProperty(this.mimeType)&&(c=w[this.mimeType])),this.responseType=c}return s(a,[{key:"content",get:function(){try{return void 0!==this._content?this._content:void 0===this.response||null===this.response||""===this.response?(this._content=this.response,this._content):"json"===this.responseType?(this._content=JSON.parse(this.response,this.reviver),this._content):this.reviver?(this._content=this.reviver(this.response),this._content):(this._content=this.response,this._content)}catch(a){if(this.isSuccess)throw a;return this._content=null,this._content}}}]),a}(),w=a.mimeTypes={"text/html":"html","text/javascript":"js","application/javascript":"js","text/json":"json","application/json":"json","application/rss+xml":"rss","application/atom+xml":"atom","application/xhtml+xml":"xhtml","text/markdown":"md","text/xml":"xml","text/mathml":"mml","application/xml":"xml","text/yml":"yml","text/csv":"csv","text/css":"css","text/less":"less","text/stylus":"styl","text/scss":"scss","text/sass":"sass","text/plain":"txt"},x=a.RequestMessageProcessor=function(){function a(a,b){this.XHRType=a,this.xhrTransformers=b,this.isAborted=!1}return a.prototype.abort=function(){this.xhr&&this.xhr.readyState!==c.PLATFORM.XMLHttpRequest.UNSENT&&this.xhr.abort(),this.isAborted=!0},a.prototype.process=function(a,b){var c=this,d=new Promise(function(a,d){var e=c.xhr=new c.XHRType;e.onload=function(c){var f=new v(b,e,b.responseType,b.reviver);f.isSuccess?a(f):d(f)},e.ontimeout=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"timeout"))},e.onerror=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"error"))},e.onabort=function(a){d(new v(b,{response:a,status:e.status,statusText:e.statusText},"abort"))}});return Promise.resolve(b).then(function(b){var e=function(){return c.isAborted?c.xhr.abort():(c.xhr.open(b.method,b.buildFullUrl(),!0,b.user,b.password),f(c.xhrTransformers,a,c,b,c.xhr),"undefined"==typeof b.content?c.xhr.send():c.xhr.send(b.content)),d},g=[[e,void 0]],h=b.interceptors||[];h.forEach(function(a){(a.request||a.requestError)&&g.unshift([a.request?a.request.bind(a):void 0,a.requestError?a.requestError.bind(a):void 0]),(a.response||a.responseError)&&g.push([a.response?a.response.bind(a):void 0,a.responseError?a.responseError.bind(a):void 0])});for(var i=Promise.resolve(b);g.length;){var j;i=(j=i).then.apply(j,g.shift())}return i})},a}(),y=a.JSONPRequestMessage=function(a){function b(b,c){var e=d(this,a.call(this,"JSONP",b));return e.responseType="jsonp",e.callbackParameterName=c,e}return e(b,a),b}(u),z=function(){function a(){}return a.prototype.open=function(a,b){this.method=a,this.url=b,this.callbackName="jsonp_callback_"+Math.round(1e5*Math.random())},a.prototype.send=function(){var a=this,b=this.url+(this.url.indexOf("?")>=0?"&":"?")+encodeURIComponent(this.callbackParameterName)+"="+this.callbackName,d=c.DOM.createElement("script");d.src=b,d.onerror=function(b){e(),a.status=0,a.onerror(new Error("error"))};var e=function(){delete c.PLATFORM.global[a.callbackName],c.DOM.removeNode(d)};c.PLATFORM.global[this.callbackName]=function(b){e(),void 0===a.status&&(a.status=200,a.statusText="OK",a.response=b,a.onload(a))},c.DOM.appendNode(d),void 0!==this.timeout&&setTimeout(function(){void 0===a.status&&(a.status=0,a.ontimeout(new Error("timeout")))},this.timeout)},a.prototype.abort=function(){void 0===this.status&&(this.status=0,this.onabort(new Error("abort")))},a.prototype.setRequestHeader=function(){},a}(),A=a.HttpRequestMessage=function(a){function b(b,c,e,f){var g=d(this,a.call(this,b,c,e,f));return g.responseType="json",g}return e(b,a),b}(u),B=a.RequestBuilder=function(){function a(a){this.client=a,this.transformers=a.requestTransformers.slice(0),this.useJsonp=!1}return a.prototype.asDelete=function(){ +return this._addTransformer(function(a,b,c){c.method="DELETE"})},a.prototype.asGet=function(){return this._addTransformer(function(a,b,c){c.method="GET"})},a.prototype.asHead=function(){return this._addTransformer(function(a,b,c){c.method="HEAD"})},a.prototype.asOptions=function(){return this._addTransformer(function(a,b,c){c.method="OPTIONS"})},a.prototype.asPatch=function(){return this._addTransformer(function(a,b,c){c.method="PATCH"})},a.prototype.asPost=function(){return this._addTransformer(function(a,b,c){c.method="POST"})},a.prototype.asPut=function(){return this._addTransformer(function(a,b,c){c.method="PUT"})},a.prototype.asJsonp=function(a){return this.useJsonp=!0,this._addTransformer(function(b,c,d){d.callbackParameterName=a})},a.prototype.withUrl=function(a){return this._addTransformer(function(b,c,d){d.url=a})},a.prototype.withContent=function(a){return this._addTransformer(function(b,c,d){d.content=a})},a.prototype.withBaseUrl=function(a){return this._addTransformer(function(b,c,d){d.baseUrl=a})},a.prototype.withParams=function(a,b){return this._addTransformer(function(c,d,e){e.traditional=b,e.params=a})},a.prototype.withResponseType=function(a){return this._addTransformer(function(b,c,d){d.responseType=a})},a.prototype.withTimeout=function(a){return this._addTransformer(function(b,c,d){d.timeout=a})},a.prototype.withHeader=function(a,b){return this._addTransformer(function(c,d,e){e.headers.add(a,b)})},a.prototype.withCredentials=function(a){return this._addTransformer(function(b,c,d){d.withCredentials=a})},a.prototype.withLogin=function(a,b){return this._addTransformer(function(c,d,e){e.user=a,e.password=b})},a.prototype.withReviver=function(a){return this._addTransformer(function(b,c,d){d.reviver=a})},a.prototype.withReplacer=function(a){return this._addTransformer(function(b,c,d){d.replacer=a})},a.prototype.withProgressCallback=function(a){return this._addTransformer(function(b,c,d){d.progressCallback=a})},a.prototype.withDownloadProgressCallback=function(a){return this._addTransformer(function(b,c,d){d.downloadProgressCallback=a})},a.prototype.withCallbackParameterName=function(a){return this._addTransformer(function(b,c,d){d.callbackParameterName=a})},a.prototype.withInterceptor=function(a){return this._addTransformer(function(b,c,d){d.interceptors=d.interceptors||[],d.interceptors.unshift(a)})},a.prototype.skipContentProcessing=function(){return this._addTransformer(function(a,b,c){c.skipContentProcessing=!0})},a.prototype._addTransformer=function(a){return this.transformers.push(a),this},a.addHelper=function(b,c){a.prototype[b]=function(){return this._addTransformer(c.apply(this,arguments))}},a.prototype.send=function(){var a=this.useJsonp?new y:new A;return this.client.send(a,this.transformers)},a}();a.HttpClient=function(){function a(){this.isRequesting=!1,this.requestTransformers=[],this.requestProcessorFactories=new Map,this.requestProcessorFactories.set(A,p),this.requestProcessorFactories.set(y,o),this.pendingRequests=[]}return a.prototype.configure=function(a){var b=new B(this);return a(b),this.requestTransformers=b.transformers,this},a.prototype.createRequest=function(a){var b=new B(this);return a&&b.withUrl(a),b},a.prototype.send=function(a,b){var c=this,d=this.requestProcessorFactories.get(a.constructor),e=void 0,f=void 0,g=void 0,h=void 0;if(!d)throw new Error("No request message processor factory for "+a.constructor+".");return e=d(),q(this,e),b=b||this.requestTransformers,f=Promise.resolve(a).then(function(a){for(g=0,h=b.length;g1&&void 0!==arguments[1]?arguments[1]:"jsoncallback";return this.createRequest(a).asJsonp(b).send()},a.prototype.options=function(a){return this.createRequest(a).asOptions().send()},a.prototype.put=function(a,b){return this.createRequest(a).asPut().withContent(b).send()},a.prototype.patch=function(a,b){return this.createRequest(a).asPatch().withContent(b).send()},a.prototype.post=function(a,b){return this.createRequest(a).asPost().withContent(b).send()},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-http-client@1.2.1.js",["npm:aurelia-http-client@1.2.1/aurelia-http-client"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/version.js",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.version="1.7.0"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/index.js",["exports","./version","./common/decorators","./config-builder","aurelia-logging"],function(a,b,c,d,e){"use strict";function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function g(a,b){var c=a.container.get(d.KendoConfigBuilder),e=h.getLogger("aurelia-kendoui-bridge");void 0!==b&&"function"==typeof b&&b(c);var f=c.resources;f.length>0&&a.globalResources(f),e.info("Loading "+f.length+" wrappers",f),f.length>10&&e.warn("when using many wrappers, it is recommended not to use .core(), .pro() or .dynamic() but instead to load wrappers via .this should significantly speed up load times of your application.")}Object.defineProperty(a,"__esModule",{value:!0}),a.delayed=a.generateBindables=a.version=void 0,a.configure=g,Object.defineProperty(a,"version",{enumerable:!0,get:function(){return b.version}}),Object.defineProperty(a,"generateBindables",{enumerable:!0,get:function(){return c.generateBindables}}),Object.defineProperty(a,"delayed",{enumerable:!0,get:function(){return c.delayed}});var h=f(e)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0.js",["npm:aurelia-kendoui-bridge@1.7.0/index"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.AutoComplete=void 0;var h,i,j,k;a.AutoComplete=(h=(0,c.customElement)(f.constants.elementPrefix+"autocomplete"),i=(0,e.generateBindables)("kendoAutoComplete"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoAutoComplete").useRootElement(this.element).linkViewModel(this).useContainer(d).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("input");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("input");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoAutoComplete",a),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/barcode/barcode.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Barcode=void 0;var h,i,j,k;a.Barcode=(h=(0,c.customAttribute)(f.constants.attributePrefix+"barcode"),i=(0,e.generateBindables)("kendoBarcode"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoBarcode").useElement(this.element).linkViewModel(this)}return a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/button/button.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Button=void 0;var j,k,l,m,n,o;a.Button=(j=(0,c.customAttribute)(f.constants.attributePrefix+"button"),k=(0,e.generateBindables)("kendoButton"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoButton").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/buttongroup/buttongroup.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ButtonGroup=void 0;var j,k,l,m,n,o;a.ButtonGroup=(j=(0,c.customAttribute)(f.constants.attributePrefix+"buttongroup"),k=(0,e.generateBindables)("kendoMobileButtonGroup"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoMobileButtonGroup").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Calendar=void 0;var h,i,j,k;a.Calendar=(h=(0,c.customElement)(f.constants.elementPrefix+"calendar"),i=(0,e.generateBindables)("kendoCalendar"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoCalendar").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/chart.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/chart.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Chart=void 0;var i,j,k,l;a.Chart=(i=(0,c.customElement)(f.constants.elementPrefix+"chart"),j=(0,e.generateBindables)("kendoChart"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoChart").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Sparkline=void 0;var i,j,k,l;a.Sparkline=(i=(0,c.customElement)(f.constants.elementPrefix+"sparkline"),j=(0,e.generateBindables)("kendoSparkline"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoSparkline").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/stock.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/stock.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Stock=void 0;var i,j,k,l;a.Stock=(i=(0,c.customElement)(f.constants.elementPrefix+"stock"),j=(0,e.generateBindables)("kendoStockChart"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoStockChart").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeMap=void 0;var i,j,k,l;a.TreeMap=(i=(0,c.customElement)(f.constants.elementPrefix+"treemap"),j=(0,e.generateBindables)("kendoTreeMap"),k=(0,b.inject)(Element,d.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){h(this,a),this.element=b,this.widgetBase=c.control("kendoTreeMap").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ColorPalette=void 0;var h,i,j,k;a.ColorPalette=(h=(0,c.customElement)(f.constants.attributePrefix+"color-palette"),i=(0,e.generateBindables)("kendoColorPalette"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoColorPalette").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/colorpicker/colorpicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ColorPicker=void 0;var j,k,l,m,n,o;a.ColorPicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"color-picker"),k=(0,e.generateBindables)("kendoColorPicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoColorPicker").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.ComboBox=void 0;var k,l,m,n,o,p,q;a.ComboBox=(k=(0,c.customElement)(f.constants.elementPrefix+"combobox"),l=(0,e.generateBindables)("kendoComboBox"),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoComboBox").linkViewModel(this).useRootElement(this.element).useValueBinding().useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoComboBox",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/common/notify-binding-behavior.js",["exports","aurelia-binding","aurelia-dependency-injection"],function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.NotifyBindingBehavior=void 0;var e,f;a.NotifyBindingBehavior=(e=(0,c.inject)(b.EventManager),e(f=function(){function a(b){d(this,a),this.eventManager=b}return a.prototype.bind=function(a,b,c,d){if(a.updateSource){var e=a.observerLocator.getObserver(a.target,a.targetProperty);a.targetObserver=e,e.originalHandler=a.targetObserver.handler;var f=this.eventManager.createElementHandler(["blur"]);e.handler=f;var g=c||a.source.bindingContext,h=d||a.sourceExpression.expression.name,i=a.updateSource;a["intercepted-updateSource"]=i,a.updateSource=function(b){return g.set&&g.trigger&&(setTimeout(function(){return g.trigger.call(g,"change",{field:h})},100),g.dirty===!1&&(g.dirty=!0)),i.call(a,b)}}},a.prototype.unbind=function(a,b){a["intercepted-updateSource"]&&(a.updateSource=a["intercepted-updateSource"],a["intercepted-updateSource"]=null)},a}())||f)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/common/template.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/constants"],function(a,b,c,d){"use strict";function e(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Template=void 0;var h,i,j,k,l,m,n,o,p;a.Template=(h=(0,c.customElement)(d.constants.elementPrefix+"template"),i=(0,c.noView)(),j=(0,c.processContent)(function(a,b,c,d){var e=c.innerHTML;if(""!==e){var f=$(c).children("script");f.length>0?d.template=$(f).html():d.template=e}c.innerHTML=""}),k=(0,b.inject)(c.TargetInstruction),h(l=i(l=j(l=k((m=function a(b){f(this,a),e(this,"template",n,this),e(this,"for",o,this),e(this,"kendoTemplate",p,this),this.template=b.elementInstruction.template},n=g(m.prototype,"template",[c.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"for",[c.bindable],{enumerable:!0,initializer:function(){return"template"}}),p=g(m.prototype,"kendoTemplate",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),l=m))||l)||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/contextmenu/contextmenu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ContextMenu=void 0;var h,i,j,k;a.ContextMenu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"contextmenu"),i=(0,e.generateBindables)("kendoContextMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoContextMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/dateinput/dateinput.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DateInput=void 0;var j,k,l,m,n,o,p;a.DateInput=(j=(0,c.customAttribute)(f.constants.attributePrefix+"date-input"),k=(0,e.generateBindables)("kendoDateInput"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this), +this.element=b,this.widgetBase=c.control("kendoDateInput").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/datepicker/datepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DatePicker=void 0;var j,k,l,m,n,o,p;a.DatePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"datepicker"),k=(0,e.generateBindables)("kendoDatePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoDatePicker").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/datetimepicker/datetimepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.DateTimePicker=void 0;var j,k,l,m,n,o,p;a.DateTimePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"datetimepicker"),k=(0,e.generateBindables)("kendoDateTimePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoDateTimePicker").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Diagram=void 0;var h,i,j,k;a.Diagram=(h=(0,c.customElement)(f.constants.elementPrefix+"diagram"),i=(0,e.generateBindables)("kendoDiagram"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDiagram").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/dialog/dialog.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Dialog=void 0;var h,i,j,k;a.Dialog=(h=(0,c.customAttribute)(f.constants.attributePrefix+"dialog"),i=(0,e.generateBindables)("kendoDialog"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDialog").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/draggable/draggable.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Draggable=void 0;var h,i,j,k;a.Draggable=(h=(0,c.customAttribute)(f.constants.attributePrefix+"draggable"),i=(0,e.generateBindables)("kendoDraggable"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){var d=this;g(this,a),this.element=b,this.widgetBase=c.control("kendoDraggable").useElement(this.element).beforeInitialize(function(a){return d.beforeInitialize(a)}).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.beforeInitialize=function(a){a.container&&Object.assign(a,{container:kendo.jQuery(a.container)})},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target-area.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropTargetArea=void 0;var h,i,j,k;a.DropTargetArea=(h=(0,c.customAttribute)(f.constants.attributePrefix+"drop-target-area"),i=(0,e.generateBindables)("kendoDropTargetArea"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDropTargetArea").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropTarget=void 0;var h,i,j,k;a.DropTarget=(h=(0,c.customAttribute)(f.constants.attributePrefix+"drop-target"),i=(0,e.generateBindables)("kendoDropTarget"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoDropTarget").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.DropDownList=void 0;var k,l,m,n,o,p,q,r;a.DropDownList=(k=(0,c.customElement)(f.constants.elementPrefix+"drop-down-list"),l=(0,e.generateBindables)("kendoDropDownList"),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kNoValueBinding",p,this),g(this,"kEnabled",q,this),g(this,"kReadOnly",r,this),this.element=b,this.widgetBase=c.control("kendoDropDownList").useRootElement(this.element).linkViewModel(this).useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoValueBinding||this.widgetBase.useValueBinding(),this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoDropDownList",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kNoValueBinding",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),q=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),r=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/editor/editor.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Editor=void 0;var h,i,j,k;a.Editor=(h=(0,c.customAttribute)(f.constants.attributePrefix+"rich-editor"),i=(0,e.generateBindables)("kendoEditor"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoEditor").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/filter-menu/filter-menu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.FilterMenu=void 0;var h,i,j,k;a.FilterMenu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"filter-menu"),i=(0,e.generateBindables)("kendoFilterMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoFilterMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.FlatColorPicker=void 0;var h,i,j,k;a.FlatColorPicker=(h=(0,c.customElement)(f.constants.attributePrefix+"flat-color-picker"),i=(0,e.generateBindables)("kendoFlatColorPicker"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoFlatColorPicker").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GanttCol=void 0;var h,i,j,k;a.GanttCol=(h=(0,b.customElement)(d.constants.elementPrefix+"gantt-col"),i=(0,e.generateBindables)("GanttColumn"),j=(0,c.inject)(f.TemplateGatherer),h(k=i(k=j(k=function a(){g(this,a)})||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../pdf/pdf"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function j(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Gantt=void 0;var k,l,m,n;a.Gantt=(k=(0,c.customElement)(f.constants.elementPrefix+"gantt"),l=(0,e.generateBindables)("kendoGantt"),m=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder),k(n=l(n=m(n=function(){function a(b,c,d,e){var f=this;i(this,a),this.element=b,this.optionsBuilder=e,this.widgetBase=c.control("kendoGantt").useRootElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(j(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoGantt",a),this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"gantt-col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GanttColumn"))}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.LinearGauge=void 0;var h,i,j,k;a.LinearGauge=(h=(0,c.customElement)(f.constants.elementPrefix+"linear-gauge"),i=(0,e.generateBindables)("kendoLinearGauge"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoLinearGauge").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.RadialGauge=void 0;var h,i,j,k;a.RadialGauge=(h=(0,c.customElement)(f.constants.elementPrefix+"radial-gauge"),i=(0,e.generateBindables)("kendoRadialGauge"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoRadialGauge").useElement(this.element).linkViewModel(this).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/options-builder","../common/util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Col=void 0;var j,k,l,m;a.Col=(j=(0,b.customElement)(d.constants.elementPrefix+"col"),k=(0,e.generateBindables)("GridColumn"),l=(0,c.inject)(f.TemplateGatherer,g.OptionsBuilder,h.Util,Element),j(m=k(m=l(m=function(){function a(b,c,d,e){i(this,a),this.templateGatherer=b,this.optionsBuilder=c,this.util=d,this.element=e}return a.prototype.bind=function(a){this.$parent=a},a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"GridColumn",a)},a.prototype.afterOptionsBuild=function(a){var b=this,c=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GridColumn"))})),a.editor&&(a.editor=a.editor.bind(this.$parent));var e=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"grid-command");e&&e.length>0&&(a.command=[],e.forEach(function(c){var d=b.optionsBuilder.getOptions(c,"GridColumnCommandItem");d.click&&(d.click=d.click.bind(b.$parent)),a.command.push(d)}))},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.js",["exports","aurelia-templating","../common/constants","../common/decorators"],function(a,b,c,d){"use strict";function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GridCommand=void 0;var f,g,h;a.GridCommand=(f=(0,b.customElement)(c.constants.elementPrefix+"grid-command"),g=(0,d.generateBindables)("GridColumnCommandItem"),f(h=g(h=function a(){e(this,a)})||h)||h)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/util"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.GridToolbar=void 0;var i,j,k,l;a.GridToolbar=(i=(0,b.customElement)(d.constants.elementPrefix+"grid-toolbar"),j=(0,e.generateBindables)("GridToolbarItem"),k=(0,c.inject)(f.TemplateGatherer,g.Util,Element),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.templateGatherer=b,this.util=c,this.element=d}return a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"GridToolbarItem",a)},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/grid/grid.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../common/template-gatherer","../pdf/pdf"],function(a,b,c,d,e,f,g,h,i){"use strict";function j(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function k(a){return a.children.length>0&&"TABLE"===a.children[0].nodeName}function l(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Grid=void 0;var m,n,o,p;a.Grid=(m=(0,c.customElement)(f.constants.elementPrefix+"grid"),n=(0,e.generateBindables)("kendoGrid"),o=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder,h.TemplateGatherer),m(p=n(p=o(p=function(){function a(b,c,d,e,f){var g=this;j(this,a),this.element=b,this.templateGatherer=f,this.optionsBuilder=e,this.widgetBase=c.control("kendoGrid").useRootElement(this.element).beforeInitialize(function(a){return g._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(l(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else if(k(this.element))this.widgetBase.useElement(this.element.children[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"kendoGrid",a),this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"col"),d=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"grid-toolbar");if(c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"GridColumn"))})),d&&d.length>0){var e=d[0],g=this.optionsBuilder.getOptions(e,"GridToolbarItem");g.template?a.toolbar=g.template:a.toolbar=g}},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||p)||p)||p)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.ListBox=void 0;var i,j,k,l;a.ListBox=(i=(0,c.customElement)(f.constants.elementPrefix+"list-box"),j=(0,e.generateBindables)("kendoListBox"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoListBox").useElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=h(this.element); +this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoListBox",b),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/listview/listview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/listview/listview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ListView=void 0;var h,i,j,k;a.ListView=(h=(0,c.customElement)(f.constants.elementPrefix+"list-view"),i=(0,e.generateBindables)("kendoListView"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoListView").useElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoListView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/map/map.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return''})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/map/map.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Map=void 0;var h,i,j,k;a.Map=(h=(0,c.customElement)(f.constants.elementPrefix+"map"),i=(0,e.generateBindables)("kendoMap"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMap").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/maskedtextbox/maskedtextbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.MaskedTextBox=void 0;var j,k,l,m,n,o,p,q;a.MaskedTextBox=(j=(0,c.customAttribute)(f.constants.attributePrefix+"maskedtextbox"),k=(0,e.generateBindables)("kendoMaskedTextBox"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kDisableDates",o,this),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoMaskedTextBox").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kDisableDates",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/mediaplayer/mediaplayer.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.MediaPlayer=void 0;var h,i,j,k;a.MediaPlayer=(h=(0,c.customAttribute)(f.constants.attributePrefix+"mediaplayer"),i=(0,e.generateBindables)("kendoMediaPlayer"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMediaPlayer").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/menu/menu.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Menu=void 0;var h,i,j,k;a.Menu=(h=(0,c.customAttribute)(f.constants.attributePrefix+"menu"),i=(0,e.generateBindables)("kendoMenu"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoMenu").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}function j(a){return a.querySelectorAll("select")}Object.defineProperty(a,"__esModule",{value:!0}),a.Multiselect=void 0;var k,l,m,n,o,p,q,r;a.Multiselect=(k=(0,c.customElement)(f.constants.elementPrefix+"multiselect"),l=(0,e.generateBindables)("kendoMultiSelect",["template"]),m=(0,b.inject)(Element,d.WidgetBase,b.Container),k(n=l(n=m((o=function(){function a(b,c,d){h(this,a),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),g(this,"kNoValueBinding",r,this),this.element=b,this.widgetBase=c.control("kendoMultiSelect").useRootElement(this.element).linkViewModel(this).useContainer(d).bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoValueBinding||this.widgetBase.useValueBinding(),this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=j(this.element);this.widgetBase.useElement(a.length>0?a[0]:this.element);var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoMultiSelect",b),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){"kValue"===a&&""!==this.kWidget.input.val()&&this.kWidget.input.val()!==this.kWidget.options.placeholder||this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),p=i(o.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(o.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),r=i(o.prototype,"kNoValueBinding",[c.bindable],{enumerable:!0,initializer:function(){return!1}}),n=o))||n)||n)||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/notification/notification-template.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/constants"],function(a,b,c,d){"use strict";function e(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.NotificationTemplate=void 0;var h,i,j,k,l,m,n,o;a.NotificationTemplate=(h=(0,c.customElement)(d.constants.elementPrefix+"notification-template"),i=(0,c.noView)(),j=(0,c.processContent)(function(a,b,c,d){var e=c.innerHTML;return""!==e&&(d.template=e),!0}),k=(0,b.inject)(c.TargetInstruction),h(l=i(l=j(l=k((m=function a(b){f(this,a),e(this,"template",n,this),e(this,"type",o,this),this.template=b.elementInstruction.template},n=g(m.prototype,"template",[c.bindable],{enumerable:!0,initializer:null}),o=g(m.prototype,"type",[c.bindable],{enumerable:!0,initializer:null}),l=m))||l)||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/notification/notification.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/notification/notification.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Notification=void 0;var h,i,j,k;a.Notification=(h=(0,c.customElement)(f.constants.elementPrefix+"notification"),i=(0,e.generateBindables)("kendoNotification"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){var e=this;g(this,a),this.element=b,this.widgetBase=c.control("kendoNotification").useElement(this.element).beforeInitialize(function(a){return e.beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.beforeInitialize=function(a){var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"notification-template");b&&b.length>0&&(a.templates=[],b.forEach(function(b){return a.templates.push({type:b.type,template:function(){return b.template}})}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/numerictextbox/numerictextbox.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.NumericTextBox=void 0;var j,k,l,m,n,o,p;a.NumericTextBox=(j=(0,c.customAttribute)(f.constants.attributePrefix+"numerictextbox"),k=(0,e.generateBindables)("kendoNumericTextBox"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),g(this,"kReadOnly",p,this),this.element=b,this.widgetBase=c.control("kendoNumericTextBox").linkViewModel(this).useElement(this.element).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pager/pager.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return""})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pager/pager.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Pager=void 0;var j,k,l,m,n,o;a.Pager=(j=(0,c.customElement)(f.constants.elementPrefix+"pager"),k=(0,e.generateBindables)("kendoPager"),l=(0,b.inject)(Element,d.WidgetBase,b.Container),j(m=k(m=l((n=function(){function a(b,c,d){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoPager").linkViewModel(this).useElement(this.element).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoPager",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/widget-base","../common/decorators"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.children.length>0&&("UL"===a.children[0].nodeName||"OL"===a.children[0].nodeName)}Object.defineProperty(a,"__esModule",{value:!0}),a.PanelBar=void 0;var i,j,k,l;a.PanelBar=(i=(0,b.customElement)(d.constants.elementPrefix+"panel-bar"),j=(0,f.generateBindables)("kendoPanelBar"),k=(0,c.inject)(Element,e.WidgetBase),i(l=j(l=k(l=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPanelBar").useRootElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.element;if(h(a))a=this.element.children[0];else{for(var b=document.createElement("ul");a.children.length>0;)b.appendChild(a.children[0]);a.appendChild(b),a=b}this.widgetBase.useElement(a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.PivotConfigurator=void 0;var h,i,j,k;a.PivotConfigurator=(h=(0,c.customElement)(f.constants.elementPrefix+"pivot-configurator"),i=(0,e.generateBindables)("kendoPivotConfigurator"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPivotConfigurator").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.PivotGrid=void 0;var i,j,k,l;a.PivotGrid=(i=(0,c.customElement)(f.constants.elementPrefix+"pivot-grid"),j=(0,e.generateBindables)("kendoPivotGrid"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.element=b,this.widgetBase=c.control("kendoPivotGrid").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoPivotGrid",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/popup/popup.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Popup=void 0;var h,i,j,k;a.Popup=(h=(0,c.customAttribute)(f.constants.attributePrefix+"popup"),i=(0,e.generateBindables)("kendoPopup"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoPopup").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/progressbar/progressbar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.ProgressBar=void 0;var j,k,l,m,n,o;a.ProgressBar=(j=(0,c.customAttribute)(f.constants.attributePrefix+"progress-bar"),k=(0,e.generateBindables)("kendoProgressBar"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoProgressBar").useElement(this.element).bindToKendo("kEnabled","enable").linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/qrcode/qrcode.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.QRCode=void 0;var h,i,j,k;a.QRCode=(h=(0,c.customAttribute)(f.constants.attributePrefix+"qrcode"),i=(0,e.generateBindables)("kendoQRCode"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoQRCode").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.RangeSlider=void 0;var j,k,l,m,n,o;a.RangeSlider=(j=(0,c.customElement)(f.constants.elementPrefix+"range-slider"),k=(0,e.generateBindables)("kendoRangeSlider"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoRangeSlider").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.destroy();var a=this.element.querySelectorAll("div");if(0===a.length){var b=document.createElement("div");this.element.appendChild(b),a=[b]}var c=a[0].querySelectorAll("input");0===c.length&&(a[0].appendChild(document.createElement("input")),a[0].appendChild(document.createElement("input"))),this.widgetBase.useElement(a[0]),this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/responsivepanel/responsivepanel.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ResponsivePanel=void 0;var h,i,j,k;a.ResponsivePanel=(h=(0,c.customAttribute)(f.constants.attributePrefix+"responsivepanel"),i=(0,e.generateBindables)("kendoResponsivePanel"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoResponsivePanel").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js",[],function(){ +return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../pdf/pdf"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Scheduler=void 0;var i,j,k,l;a.Scheduler=(i=(0,c.customElement)(f.constants.elementPrefix+"scheduler"),j=(0,e.generateBindables)("kendoScheduler"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.element=b,this.widgetBase=c.control("kendoScheduler").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoScheduler",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("div").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.Scrollview=void 0;var i,j,k,l;a.Scrollview=(i=(0,c.customElement)(f.constants.elementPrefix+"scrollview"),j=(0,e.generateBindables)("kendoMobileScrollView"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoMobileScrollView").useRootElement(this.element).linkViewModel(this).useContainer(d).useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(h(this.element))this.widgetBase.useElement(this.element.querySelectorAll("div")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoMobileScrollView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/slider/slider.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Slider=void 0;var j,k,l,m,n,o;a.Slider=(j=(0,c.customAttribute)(f.constants.attributePrefix+"slider"),k=(0,e.generateBindables)("kendoSlider"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoSlider").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding()}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/sortable/sortable.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Sortable=void 0;var h,i,j,k;a.Sortable=(h=(0,c.customAttribute)(f.constants.attributePrefix+"sortable"),i=(0,e.generateBindables)("kendoSortable"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSortable").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/splitter/splitter.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Splitter=void 0;var h,i,j,k;a.Splitter=(h=(0,c.customAttribute)(f.constants.attributePrefix+"splitter"),i=(0,e.generateBindables)("kendoSplitter"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSplitter").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Spreadsheet=void 0;var h,i,j,k;a.Spreadsheet=(h=(0,c.customElement)(f.constants.elementPrefix+"spreadsheet"),i=(0,e.generateBindables)("kendoSpreadsheet"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoSpreadsheet").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/switch/switch.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.Switch=void 0;var j,k,l,m,n,o;a.Switch=(j=(0,c.customAttribute)(f.constants.attributePrefix+"switch"),k=(0,e.generateBindables)("kendoMobileSwitch"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kEnabled",o,this),this.element=b,this.widgetBase=c.control("kendoMobileSwitch").useElement(this.element).linkViewModel(this).bindToKendo("kEnabled","enable").useValueBinding("kChecked","check")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/tabstrip/tabstrip.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TabStrip=void 0;var h,i,j,k;a.TabStrip=(h=(0,c.customAttribute)(f.constants.attributePrefix+"tabstrip"),i=(0,e.generateBindables)("kendoTabStrip"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoTabStrip").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/timepicker/timepicker.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.TimePicker=void 0;var j,k,l,m,n,o,p,q;a.TimePicker=(j=(0,c.customAttribute)(f.constants.attributePrefix+"timepicker"),k=(0,e.generateBindables)("kendoTimePicker"),l=(0,b.inject)(Element,d.WidgetBase),j(m=k(m=l((n=function(){function a(b,c){h(this,a),g(this,"kDisableDates",o,this),g(this,"kEnabled",p,this),g(this,"kReadOnly",q,this),this.element=b,this.widgetBase=c.control("kendoTimePicker").useElement(this.element).linkViewModel(this).useValueBinding().bindToKendo("kEnabled","enable").bindToKendo("kReadOnly","readonly")}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.propertyChanged=function(a,b,c){this.widgetBase.handlePropertyChanged(this.kWidget,a,b,c)},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}(),o=i(n.prototype,"kDisableDates",[c.bindable],{enumerable:!0,initializer:null}),p=i(n.prototype,"kEnabled",[c.bindable],{enumerable:!0,initializer:null}),q=i(n.prototype,"kReadOnly",[c.bindable],{enumerable:!0,initializer:null}),m=n))||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/options-builder"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ToolbarItemButton=void 0;var h,i,j,k;a.ToolbarItemButton=(h=(0,b.customElement)(d.constants.elementPrefix+"toolbar-item-button"),i=(0,e.generateBindables)("ToolBarItemButton"),j=(0,c.inject)(f.OptionsBuilder),h(k=i(k=j(k=function(){function a(b){g(this,a),this.optionsBuilder=b}return a.prototype.getOptions=function(){return this.optionsBuilder.getOptions(this,"ToolBarItemButton")},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/options-builder","../common/util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.ToolbarItem=void 0;var j,k,l,m;a.ToolbarItem=(j=(0,b.customElement)(d.constants.elementPrefix+"toolbar-item"),k=(0,e.generateBindables)("ToolBarItem"),l=(0,c.inject)(f.TemplateGatherer,g.OptionsBuilder,h.Util,Element),j(m=k(m=l(m=function(){function a(b,c,d,e){i(this,a),this.templateGatherer=b,this.optionsBuilder=c,this.util=d,this.element=e}return a.prototype.getOptions=function(){var a=this,b=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"ToolBarItem",b);var c=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"toolbar-item-button");return c&&c.length>0&&(this.kButtons=[],c.forEach(function(b){a.kButtons.push(b.getOptions())})),this.optionsBuilder.getOptions(this,"ToolBarItem")},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Toolbar=void 0;var i,j,k,l;a.Toolbar=(i=(0,c.customElement)(f.constants.elementPrefix+"toolbar"),j=(0,e.generateBindables)("kendoToolBar"),k=(0,b.inject)(Element,d.WidgetBase,g.OptionsBuilder,b.Container),i(l=j(l=k(l=function(){function a(b,c,d,e){var f=this;h(this,a),this.element=b,this.optionsBuilder=d,this.widgetBase=c.control("kendoToolBar").useElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(e)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"toolbar-item");b&&b.length>0&&(a.items=[],b.forEach(function(b){a.items.push(b.getOptions())}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/tooltip/tooltip.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Tooltip=void 0;var h,i,j,k;a.Tooltip=(h=(0,c.customAttribute)(f.constants.attributePrefix+"tooltip"),i=(0,e.generateBindables)("kendoTooltip"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoTooltip").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return"\r\n"})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.js",["exports","aurelia-templating","aurelia-dependency-injection","../common/constants","../common/decorators","../common/template-gatherer","../common/util"],function(a,b,c,d,e,f,g){"use strict";function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeCol=void 0;var i,j,k,l;a.TreeCol=(i=(0,b.customElement)(d.constants.elementPrefix+"tree-col"),j=(0,e.generateBindables)("TreeListColumn"),k=(0,c.inject)(f.TemplateGatherer,g.Util,Element),i(l=j(l=k(l=function(){function a(b,c,d){h(this,a),this.templateGatherer=b,this.util=c,this.element=d}return a.prototype.beforeOptionsBuild=function(){var a=this.util.getChildrenVMs(this.element,d.constants.elementPrefix+"template");this.templateGatherer.useTemplates(this,"TreeListColumn",a)},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/pdf/pdf.js",["exports"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});a.PDF=function a(){b(this,a)}})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants","../common/options-builder","../pdf/pdf"],function(a,b,c,d,e,f,g,h){"use strict";function i(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeList=void 0;var j,k,l,m;a.TreeList=(j=(0,c.customElement)(f.constants.elementPrefix+"tree-list"),k=(0,e.generateBindables)("kendoTreeList"),l=(0,b.inject)(Element,d.WidgetBase,b.Container,g.OptionsBuilder),j(m=k(m=l(m=function(){function a(b,c,d,e){var f=this;i(this,a),this.element=b,this.optionsBuilder=e,this.widgetBase=c.control("kendoTreeList").useRootElement(this.element).beforeInitialize(function(a){return f._beforeInitialize(a)}).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){var a=this.element.querySelectorAll("div");if(a.length>0)this.widgetBase.useElement(a[0]);else{var b=document.createElement("div");this.element.appendChild(b),this.widgetBase.useElement(b)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype._beforeInitialize=function(a){var b=this,c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"tree-col");c&&c.length>0&&(a.columns=[],c.forEach(function(c){a.columns.push(b.optionsBuilder.getOptions(c,"TreeListColumn"))}))},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a){return a.querySelectorAll("ul").length>0}Object.defineProperty(a,"__esModule",{value:!0}),a.TreeView=void 0;var i,j,k,l;a.TreeView=(i=(0,c.customElement)(f.constants.elementPrefix+"treeview"),j=(0,e.generateBindables)("kendoTreeView"),k=(0,b.inject)(Element,d.WidgetBase,b.Container),i(l=j(l=k(l=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoTreeView").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){if(h(this.element))this.widgetBase.useElement(this.element.querySelectorAll("ul")[0]);else{var a=document.createElement("div");this.element.appendChild(a),this.widgetBase.useElement(a)}this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoTreeView",a),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||l)||l)||l)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/upload/upload.html!github:systemjs/plugin-text@0.0.7.js",[],function(){return'\r\n'})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/upload/upload.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Upload=void 0;var h,i,j,k;a.Upload=(h=(0,c.customElement)(f.constants.elementPrefix+"upload"),i=(0,e.generateBindables)("kendoUpload"),j=(0,b.inject)(Element,d.WidgetBase,b.Container),h(k=i(k=j(k=function(){function a(b,c,d){g(this,a),this.element=b,this.widgetBase=c.control("kendoUpload").useRootElement(this.element).linkViewModel(this).useContainer(d)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){var a=void 0,b=this.element.querySelectorAll("input");b.length>0?a=b[0]:(a=document.createElement("input"),this.element.appendChild(a)),this.widgetBase.useElement(a);var c=this.widgetBase.util.getChildrenVMs(this.element,f.constants.elementPrefix+"template");this.widgetBase.useTemplates(this,"kendoUpload",c),this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/validator/validator.js",["exports","aurelia-dependency-injection","aurelia-templating","../common/widget-base","../common/decorators","../common/constants"],function(a,b,c,d,e,f){"use strict";function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Validator=void 0;var h,i,j,k;a.Validator=(h=(0,c.customAttribute)(f.constants.attributePrefix+"validator"),i=(0,e.generateBindables)("kendoValidator"),j=(0,b.inject)(Element,d.WidgetBase),h(k=i(k=j(k=function(){function a(b,c){g(this,a),this.element=b,this.widgetBase=c.control("kendoValidator").useElement(this.element).linkViewModel(this)}return a.prototype.subscribe=function(a,b){return this.widgetBase.subscribe(a,b)},a.prototype.bind=function(a,b){this.widgetBase.useParentCtx(b)},a.prototype.attached=function(){this.kNoInit||this.recreate()},a.prototype.recreate=function(){this.kWidget=this.widgetBase.recreate()},a.prototype.destroy=function(){this.widgetBase.destroy(this.kWidget)},a.prototype.detached=function(){this.destroy()},a}())||k)||k)||k)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/valueconverters/valueconverters.js",["exports"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});a.kendoToStringValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b,c){return kendo.toString(a,b,c)},a}(),a.kendoParseDateValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b,c){return kendo.parseDate(a,b,c)},a}(),a.kendoParseIntValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b){return kendo.parseInt(a,b)},a}(),a.kendoParseFloatValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a,b){return kendo.parseFloat(a,b)},a}(),a.kendoParseColorValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){return kendo.parseColor(a)},a}(),a.kendoStringifyValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){return kendo.stringify(a)},a}(),a.kendoFormatValueConverter=function(){function a(){b(this,a)}return a.prototype.toView=function(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d)<[^<]*)*<\/script>/gi;a.HTMLSanitizer=function(){function a(){}return a.prototype.sanitize=function(a){return a.replace(b,"")},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/attr-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.AttrBindingBehavior=void 0;a.AttrBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,c){a.targetObserver=new b.DataAttributeObserver(a.target,a.targetProperty)},a.prototype.unbind=function(a,b){},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/binding-mode-behaviors.js",["exports","aurelia-binding","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.TwoWayBindingBehavior=a.OneWayBindingBehavior=a.OneTimeBindingBehavior=void 0;var d,e,f,g,h,i,j={bind:function(a,b,c){a.originalMode=a.mode,a.mode=this.mode},unbind:function(a,b){a.mode=a.originalMode,a.originalMode=null}};a.OneTimeBindingBehavior=(d=(0,c.mixin)(j),d(e=function(){this.mode=b.bindingMode.oneTime})||e),a.OneWayBindingBehavior=(f=(0,c.mixin)(j),f(g=function(){this.mode=b.bindingMode.oneWay})||g),a.TwoWayBindingBehavior=(h=(0,c.mixin)(j),h(i=function(){this.mode=b.bindingMode.twoWay})||i)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/throttle-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.throttleState,d=+new Date-c.last;return d>=c.delay?(clearTimeout(c.timeoutId),c.timeoutId=null,c.last=+new Date,void this.throttledMethod(a)):(c.newValue=a,void(null===c.timeoutId&&(c.timeoutId=setTimeout(function(){c.timeoutId=null,c.last=+new Date,b.throttledMethod(c.newValue)},c.delay-d))))}Object.defineProperty(a,"__esModule",{value:!0}),a.ThrottleBindingBehavior=void 0;a.ThrottleBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,d){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,f="updateTarget";a.callSource?f="callSource":a.updateSource&&a.mode===b.bindingMode.twoWay&&(f="updateSource"),a.throttledMethod=a[f],a.throttledMethod.originalName=f,a[f]=c,a.throttleState={delay:e,last:0,timeoutId:null}},a.prototype.unbind=function(a,b){var c=a.throttledMethod.originalName;a[c]=a.throttledMethod,a.throttledMethod=null,clearTimeout(a.throttleState.timeoutId),a.throttleState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/debounce-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";function c(a){var b=this,c=this.debounceState;clearTimeout(c.timeoutId),c.timeoutId=setTimeout(function(){return b.debouncedMethod(a)},c.delay)}function d(a,b,c){var d=this,f=this.debounceState;return clearTimeout(f.timeoutId),a!==f.callContextToDebounce?(f.oldValue=e,void this.debouncedMethod(a,b,c)):(f.oldValue===e&&(f.oldValue=c),void(f.timeoutId=setTimeout(function(){var c=f.oldValue;f.oldValue=e,d.debouncedMethod(a,b,c)},f.delay)))}Object.defineProperty(a,"__esModule",{value:!0}),a.DebounceBindingBehavior=void 0;var e={};a.DebounceBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,f){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,h=void 0!==a.callSource,i=h?"callSource":"call",j=h?c:d,k=a.mode,l=k===b.bindingMode.twoWay||k===b.bindingMode.fromView?b.targetContext:b.sourceContext;a.debouncedMethod=a[i],a.debouncedMethod.originalName=i,a[i]=j,a.debounceState={callContextToDebounce:l,delay:g,timeoutId:0,oldValue:e}},a.prototype.unbind=function(a,b){var c=a.debouncedMethod.originalName;a[c]=a.debouncedMethod,a.debouncedMethod=null,clearTimeout(a.debounceState.timeoutId),a.debounceState=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/self-binding-behavior.js",["exports"],function(a){"use strict";function b(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function c(a){var c=b(a);this.target===c&&this.selfEventCallSource(a)}Object.defineProperty(a,"__esModule",{value:!0});a.SelfBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,b){if(!a.callSource||!a.targetEvent)throw new Error("Self binding behavior only supports event.");a.selfEventCallSource=a.callSource,a.callSource=c},a.prototype.unbind=function(a,b){a.callSource=a.selfEventCallSource,a.selfEventCallSource=null},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/signal-binding-behavior.js",["exports","./binding-signaler"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SignalBindingBehavior=void 0;a.SignalBindingBehavior=function(){function a(a){this.signals=a.signals}return a.inject=function(){return[b.BindingSignaler]},a.prototype.bind=function(a,b){if(!a.updateTarget)throw new Error("Only property bindings and string interpolation bindings can be signaled. Trigger, delegate and call bindings cannot be signaled.");if(3===arguments.length){var c=arguments[2],d=this.signals[c]||(this.signals[c]=[]);d.push(a),a.signalName=c}else{if(!(arguments.length>3))throw new Error("Signal name is required.");for(var e=Array.prototype.slice.call(arguments,2),f=e.length;f--;){var g=e[f],h=this.signals[g]||(this.signals[g]=[]);h.push(a)}a.signalName=e}},a.prototype.unbind=function(a,b){var c=a.signalName;if(a.signalName=null,Array.isArray(c))for(var d=c,e=d.length;e--;){var f=d[e],g=this.signals[f];g.splice(g.indexOf(a),1)}else{var h=this.signals[c];h.splice(h.indexOf(a),1)}},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/binding-signaler.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.BindingSignaler=void 0;a.BindingSignaler=function(){function a(){this.signals={}}return a.prototype.signal=function(a){var c=this.signals[a];if(c)for(var d=c.length;d--;)c[d].call(b.sourceContext)},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js",["exports","aurelia-binding"],function(a,b){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.UpdateTriggerBindingBehavior=void 0;var c="The updateTrigger binding behavior requires at least one event name argument: eg ",d="The updateTrigger binding behavior can only be applied to two-way/ from-view bindings on input/select elements.";a.UpdateTriggerBindingBehavior=function(){function a(){}return a.prototype.bind=function(a,e){for(var f=arguments.length,g=Array(f>2?f-2:0),h=2;h0?(q=a.removeViews(l,!0,!a.viewsRequireLifecycle),p=function(){for(var g=0;gd;)e--,a.removeView(e,!0,!a.viewsRequireLifecycle);for(var f=a.local,g=0;g0)return Promise.all(g).then(function(){var f=e._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),f)});var o=this._handleAddedSplices(a,c,d);(0,b.updateOverrideContexts)(a.views(),o)},a.prototype._handleAddedSplices=function(a,c,d){for(var e=void 0,f=void 0,g=c.length,h=0,i=d.length;hj.index)&&(f=e);k0?Promise.all(l).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByKey=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c0?Promise.all(k).then(function(){(0,b.updateOverrideContexts)(a.views(),0)}):(0,b.updateOverrideContexts)(a.views(),0)},a.prototype._getViewIndexByValue=function(a,b){var c=void 0,d=void 0,e=void 0;for(c=0,d=a.viewCount();c0)for(h>d&&(h=d),e=0,f=h;e0&&(b-=1);b-1&&this.subscriptions.splice(b,1)},a}())||e)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/common/widget-base.js",["exports","./util","./options-builder","./template-compiler","./template-gatherer","../config-builder","aurelia-dependency-injection","aurelia-templating-resources","aurelia-task-queue","./observer","aurelia-logging"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";function l(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function m(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.WidgetBase=void 0;var n,o,p,q=l(k),r=q.getLogger("aurelia-kendoui-bridge");a.WidgetBase=(n=(0,g.transient)(),o=(0,g.inject)(i.TaskQueue,d.TemplateCompiler,c.OptionsBuilder,b.Util,e.TemplateGatherer,f.KendoConfigBuilder,h.RepeatStrategyLocator,j.Observer),n(p=o(p=function(){function a(b,c,d,e,f,g,h,i){m(this,a),this.bindingsToKendo=[],this.taskQueue=b,this.optionsBuilder=d,this.util=e, +this.configBuilder=g,this.repeatStratLocator=h,this.templateGatherer=f,this.observer=i,c.initialize(),this.registerRepeatStrategy()}return a.prototype.control=function(a){if(!a||!window.kendo||!kendo.jQuery.fn[a])throw new Error("The kendo control '"+a+"' is not available. Did you load Kendo (in addition to the bridge)?");this.controlName=a;var b=kendo.jQuery.fn[this.controlName];return this.kendoOptions=b.widget.prototype.options,this.kendoEvents=b.widget.prototype.events,this},a.prototype.linkViewModel=function(a){if(!a)throw new Error("viewModel is not set");return this.viewModel=a,this},a.prototype.useContainer=function(a){if(!a)throw new Error("container is not set");return this.container=a,this},a.prototype.useElement=function(a){return this.element=a,this.rootElement||(this.rootElement=a),this},a.prototype.useRootElement=function(a){return this.rootElement=a,this},a.prototype.beforeInitialize=function(a){return this._beforeInitialize=a,this},a.prototype.afterInitialize=function(a){return this._afterInitialize=a,this},a.prototype.useParentCtx=function(a){return this.parentCtx=a,this},a.prototype.useValueBinding=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"kValue",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return this.valueBindingProperty=a,this.valueFunction=b,this.withValueBinding=!0,this.bindToKendo(a,b),this},a.prototype.bindToKendo=function(a,b){return this.bindingsToKendo.push({propertyName:a,functionName:b}),this},a.prototype.recreate=function(){var a=this;if(!this.element)throw new Error("element is not set. Call .useElement()");this.viewModel&&this.viewModel.kWidget&&this.destroy(this.viewModel.kWidget);var b=this._getOptions(this.rootElement);this._beforeInitialize&&this._beforeInitialize(b),Object.assign(b,{$angular:[{_$parent:this.parentCtx,_$container:this.container}]}),r.debug("initializing "+this.controlName+" with the following config",b);var c=this._createWidget(this.element,b,this.controlName);return c.$angular=[{_$parent:this.parentCtx,_$container:this.container}],this.withValueBinding&&(c.first("change",function(b){return a._handleValueChange(b.sender)}),c.one("dataBound",function(b){return a._handleValueChange(b.sender)})),this.bindingsToKendo.forEach(function(b){var d=a.viewModel[b.propertyName];"undefined"!=typeof d&&null!==d&&""!==d&&c[b.functionName](d)}),this._afterInitialize&&this._afterInitialize(),this.observer.notify("ready",c),this.util.getEventsFromAttributes(this.rootElement).indexOf("ready")>-1&&this.util.fireKendoEvent(this.rootElement,"ready",c),c},a.prototype._createWidget=function(a,b,c){return kendo.jQuery(a)[c](b).data(c)},a.prototype._getOptions=function(a){var b=this.optionsBuilder.getOptions(this.viewModel,this.controlName),c=this.getEventOptions(a);return this.util.pruneOptions(Object.assign({},this.viewModel.kOptions||{},b,c))},a.prototype.getEventOptions=function(a){var b=this,c={},d=this.kendoEvents.concat(["ready"]),e=["change"],f=this.util.getEventsFromAttributes(a);return f.forEach(function(f){if(!d.includes(f))throw new Error(f+" is not an event on the "+b.controlName+" control");e.includes(f)?c[f]=function(c){b.taskQueue.queueMicroTask(function(){return b.observer.notify(f,c),b.util.fireKendoEvent(a,b.util._hyphenate(f),c)})}:c[f]=function(c){b.observer.notify(f,c);var d=b.util.fireKendoEvent(a,b.util._hyphenate(f),c);b.configBuilder._propogatePreventDefault&&d.defaultPrevented&&c.preventDefault()}}),c},a.prototype._handleValueChange=function(a){this.viewModel[this.valueBindingProperty]=this.getValue(a)},a.prototype.getValue=function(a){return a[this.valueFunction]()},a.prototype.handlePropertyChanged=function(a,b,c,d){if(a){var e=this.bindingsToKendo.find(function(a){return a.propertyName===b});e&&("undefined"==typeof c?a[e.functionName](null):a[e.functionName]()!==c&&a[e.functionName](c))}},a.prototype.useTemplates=function(a,b,c){return this.templateGatherer.useTemplates(a,b,c)},a.prototype.registerRepeatStrategy=function(){if(this.configBuilder.registerRepeatStrategy){if(!window.kendo)return void r.warn("Could not add RepeatStrategy for kendo.data.ObservableArray as kendo.data.ObservableArray has not been loaded");this.repeatStratLocator.addStrategy(function(a){return a instanceof kendo.data.ObservableArray},new h.ArrayRepeatStrategy)}},a.prototype.subscribe=function(a,b){return this.observer.subscribe(a,b)},a.prototype.destroy=function(a){if(a&&a.element&&a.element.length>0){a.wrapper&&a.wrapper!==a.element&&(a.element.insertBefore(a.wrapper),a.wrapper.remove());for(var b=a.element[0].classList,c=0;c1&&void 0!==arguments[1]?arguments[1]:[];if(this.cache[a])return this.cache[a];var c=this.getWidgetProperties(a),d=this.getGeneratedProperties(a),e=c.concat(d.filter(function(a){return c.indexOf(a)<0}));return e=e.concat(b.filter(function(a){return e.indexOf(a)<0})),this.cache[a]=e,e},a.prototype.getGeneratedProperties=function(a){if(!b.bindables[a])throw new Error(a+" not found in generated bindables.js");return b.bindables[a]},a.prototype.getWidgetProperties=function(a){return window.kendo&&kendo.jQuery.fn[a]?Object.keys(kendo.jQuery.fn[a].widget.prototype.options):[]},a.prototype.getTemplateProperties=function(a){var b=this,c=this.getProperties(a),d=c.filter(function(a){return b.util.isTemplateProperty(a)});return d},a}())||g)})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/common/util.js",["exports","./constants"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.Util=void 0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e=/([A-Z])/g;a.Util=function(){function a(){c(this,a)}return a.prototype.addHyphenAndLower=function(a){return"-"+a.toLowerCase()},a.prototype._hyphenate=function(a){return(a.charAt(0).toLowerCase()+a.slice(1)).replace(e,this.addHyphenAndLower)},a.prototype._unhyphenate=function(a){return a.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})},a.prototype.getBindablePropertyName=function(a){var c=""+b.constants.bindablePrefix+a;return this._unhyphenate(c)},a.prototype.getKendoPropertyName=function(a){var b=a.substring(1);return b.charAt(0).toLowerCase()+b.slice(1)},a.prototype.getEventsFromAttributes=function(a){for(var c=Array.prototype.slice.call(a.attributes),d=[],e=0;e2&&void 0!==arguments[2]?arguments[2]:{},d=new CustomEvent(b,{detail:c,bubbles:!0,cancelable:!0});return a.dispatchEvent(d),d},a.prototype.fireKendoEvent=function(a,c){var d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.fireEvent(a,""+b.constants.eventPrefix+c,d)},a.prototype.isTemplateProperty=function(a){return a.toLowerCase().indexOf("template")>-1},a.prototype.isObject=function(a){return null!==a&&"object"===("undefined"==typeof a?"undefined":d(a))},a.prototype.getChildrenVMs=function(a,b){var c=kendo.jQuery(a).children(b),d=[];return c.each(function(a,b){if(!b.au||!b.au.controller)throw new Error("au property not found on element "+b.tagName+". Did you load this custom element via or via main.js?");d.push(b.au.controller.viewModel)}),d},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-kendoui-bridge@1.7.0/common/decorators.js",["exports","aurelia-templating","aurelia-dependency-injection","aurelia-metadata","aurelia-binding","aurelia-task-queue","./control-properties","./util"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(i,j,k){var l=d.metadata.getOrCreateOwn(d.metadata.resource,b.HtmlBehaviorResource,i),m=c.Container.instance||new c.Container,n=m.get(g.ControlProperties),o=m.get(h.Util),p=n.getProperties(a,f);p.push("widget"),p.push("options"),p.push("noInit");for(var q=0;q1?c-1:0),e=1;e1?c-1:0),e=1;e1?c-1:0),e=1;e1?c-1:0),e=1;e instead.'); +}function i(a){a.container.registerSingleton(d.BindingLanguage,y),a.container.registerAlias(d.BindingLanguage,y)}Object.defineProperty(a,"__esModule",{value:!0}),a.TemplatingBindingLanguage=a.SyntaxInterpreter=a.ChildInterpolationBinding=a.InterpolationBinding=a.InterpolationBindingExpression=a.AttributeMap=void 0,a.configure=i;var j,k,l,m,n,o,p,q,r=e(b),s=a.AttributeMap=(k=j=function(){function a(a){this.elements=Object.create(null),this.allElements=Object.create(null),this.svg=a,this.registerUniversal("accesskey","accessKey"),this.registerUniversal("contenteditable","contentEditable"),this.registerUniversal("tabindex","tabIndex"),this.registerUniversal("textcontent","textContent"),this.registerUniversal("innerhtml","innerHTML"),this.registerUniversal("scrolltop","scrollTop"),this.registerUniversal("scrollleft","scrollLeft"),this.registerUniversal("readonly","readOnly"),this.register("label","for","htmlFor"),this.register("img","usemap","useMap"),this.register("input","maxlength","maxLength"),this.register("input","minlength","minLength"),this.register("input","formaction","formAction"),this.register("input","formenctype","formEncType"),this.register("input","formmethod","formMethod"),this.register("input","formnovalidate","formNoValidate"),this.register("input","formtarget","formTarget"),this.register("textarea","maxlength","maxLength"),this.register("td","rowspan","rowSpan"),this.register("td","colspan","colSpan"),this.register("th","rowspan","rowSpan"),this.register("th","colspan","colSpan")}return a.prototype.register=function(a,b,c){a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a]=this.elements[a]||Object.create(null);d[b]=c},a.prototype.registerUniversal=function(a,b){a=a.toLowerCase(),this.allElements[a]=b},a.prototype.map=function(a,b){if(this.svg.isStandardSvgAttribute(a,b))return b;a=a.toLowerCase(),b=b.toLowerCase();var d=this.elements[a];return void 0!==d&&b in d?d[b]:b in this.allElements?this.allElements[b]:/(?:^data-)|(?:^aria-)|:/.test(b)?b:(0,c.camelCase)(b)},a}(),j.inject=[c.SVGAnalyzer],k),t=a.InterpolationBindingExpression=function(){function a(a,b,c,d,e,f){this.observerLocator=a,this.targetProperty=b,this.parts=c,this.mode=d,this.lookupFunctions=e,this.attribute=this.attrToRemove=f,this.discrete=!1}return a.prototype.createBinding=function(a){return 3===this.parts.length?new v(a,this.observerLocator,this.parts[1],this.mode,this.lookupFunctions,this.targetProperty,this.parts[0],this.parts[2]):new u(this.observerLocator,this.parts,a,this.targetProperty,this.mode,this.lookupFunctions)},a}(),u=a.InterpolationBinding=function(){function a(a,b,c,d,e,f){h(c,d),this.observerLocator=a,this.parts=b,this.target=c,this.targetProperty=d,this.targetAccessor=a.getAccessor(c,d),this.mode=e,this.lookupFunctions=f}return a.prototype.interpolate=function(){if(this.isBound){for(var a="",b=this.parts,c=0,d=b.length;c=c.bindingMode.oneTime?d.attributes[b].defaultBindingMode:c.bindingMode.oneWay},a.prototype.bind=function(a,b,e,f,g){var h=f||d.BehaviorInstruction.attribute(e.attrName);return h.attributes[e.attrName]=new c.BindingExpression(this.observerLocator,this.attributeMap.map(b.tagName,e.attrName),this.parser.parse(e.attrValue),void 0===e.defaultBindingMode||null===e.defaultBindingMode?this.determineDefaultBindingMode(b,e.attrName,g):e.defaultBindingMode,a.lookupFunctions),h},a.prototype.trigger=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.none,!0,a.lookupFunctions)},a.prototype.capture=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.capturing,!0,a.lookupFunctions)},a.prototype.delegate=function(a,b,d){return new c.ListenerExpression(this.eventManager,d.attrName,this.parser.parse(d.attrValue),c.delegationStrategy.bubbling,!0,a.lookupFunctions)},a.prototype.call=function(a,b,e,f){var g=f||d.BehaviorInstruction.attribute(e.attrName);return g.attributes[e.attrName]=new c.CallExpression(this.observerLocator,e.attrName,this.parser.parse(e.attrValue),a.lookupFunctions),g},a.prototype.options=function(a,b,c,e,f){var g=e||d.BehaviorInstruction.attribute(c.attrName),h=c.attrValue,i=this.language,j=null,k="",l=void 0,m=void 0,n=void 0,o=!1,p=!1,q=!1;for(m=0,n=h.length;m=0&&c0&&c"),k(l=function(){})||l);a.TemplatingRouteLoader=(m=(0,b.inject)(c.CompositionEngine),m(n=function(a){function b(b){var c=h(this,a.call(this));return c.compositionEngine=b,c}return i(b,a),b.prototype.loadRoute=function(a,b){var c=a.container.createChild(),h=void 0;h=null===b.moduleId?o:/\.html/i.test(b.moduleId)?j(b.moduleId):(0,e.relativeToFile)(b.moduleId,f.Origin.get(a.container.viewModel.constructor).moduleId),b=b||{};var i={viewModel:h,childContainer:c,view:b.view||b.viewStrategy,router:a};return c.registerSingleton(g.RouterViewLocator),c.getChildRouter=function(){var b=void 0;return c.registerHandler(d.Router,function(d){return b||(b=a.createChild(c))}),c.get(d.Router)},this.compositionEngine.ensureViewModel(i)},b}(d.RouteLoader))||n)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.3.1/router-view.js",["exports","aurelia-dependency-injection","aurelia-binding","aurelia-templating","aurelia-router","aurelia-metadata","aurelia-pal"],function(a,b,c,d,e,f,g){"use strict";function h(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function i(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}Object.defineProperty(a,"__esModule",{value:!0}),a.RouterViewLocator=a.RouterView=void 0;var j,k,l,m,n,o,p,q,r=(a.RouterView=(j=(0,d.customElement)("router-view"),k=(0,b.inject)(g.DOM.Element,b.Container,d.ViewSlot,e.Router,d.ViewLocator,d.CompositionTransaction,d.CompositionEngine),j(l=(0,d.noView)(l=k((m=function(){function a(a,b,c,d,e,f,g){h(this,"swapOrder",n,this),h(this,"layoutView",o,this),h(this,"layoutViewModel",p,this),h(this,"layoutModel",q,this),this.element=a,this.container=b,this.viewSlot=c,this.router=d,this.viewLocator=e,this.compositionTransaction=f,this.compositionEngine=g,this.router.registerViewPort(this,this.element.getAttribute("name")),"initialComposition"in f||(f.initialComposition=!0,this.compositionTransactionNotifier=f.enlist())}return a.prototype.created=function(a){this.owningView=a},a.prototype.bind=function(a,b){this.container.viewModel=a,this.overrideContext=b},a.prototype.process=function(a,b){var c=this,e=a.component,g=e.childContainer,h=e.viewModel,i=e.viewModelResource,j=i.metadata,k=e.router.currentInstruction.config,l=k.viewPorts?k.viewPorts[a.name]||{}:{};g.get(r)._notify(this);var m={viewModel:l.layoutViewModel||k.layoutViewModel||this.layoutViewModel,view:l.layoutView||k.layoutView||this.layoutView,model:l.layoutModel||k.layoutModel||this.layoutModel,router:a.component.router,childContainer:g,viewSlot:this.viewSlot},n=this.viewLocator.getViewStrategy(e.view||h);return n&&e.view&&n.makeRelativeTo(f.Origin.get(e.router.container.viewModel.constructor).moduleId),j.load(g,i.value,null,n,!0).then(function(e){return c.compositionTransactionNotifier||(c.compositionTransactionOwnershipToken=c.compositionTransaction.tryCapture()),(m.viewModel||m.view)&&(a.layoutInstruction=m),a.controller=j.create(g,d.BehaviorInstruction.dynamic(c.element,h,e)),b?null:void c.swap(a)})},a.prototype.swap=function(a){var b=this,e=a.layoutInstruction,f=this.view,g=function(){var a=d.SwapStrategies[b.swapOrder]||d.SwapStrategies.after,c=b.viewSlot;a(c,f,function(){return Promise.resolve(c.add(b.view))}).then(function(){b._notify()})},h=function(c){return a.controller.automate(b.overrideContext,c),b.compositionTransactionOwnershipToken?b.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function(){return b.compositionTransactionOwnershipToken=null,g()}):g()};return e?(e.viewModel||(e.viewModel={}),this.compositionEngine.createController(e).then(function(f){return d.ShadowDOM.distributeView(a.controller.view,f.slots||f.view.slots),f.automate((0,c.createOverrideContext)(e.viewModel),b.owningView),f.view.children.push(a.controller.view),f.view||f}).then(function(a){return b.view=a,h(a)})):(this.view=a.controller.view,h(this.owningView))},a.prototype._notify=function(){this.compositionTransactionNotifier&&(this.compositionTransactionNotifier.done(),this.compositionTransactionNotifier=null)},a}(),n=i(m.prototype,"swapOrder",[d.bindable],{enumerable:!0,initializer:null}),o=i(m.prototype,"layoutView",[d.bindable],{enumerable:!0,initializer:null}),p=i(m.prototype,"layoutViewModel",[d.bindable],{enumerable:!0,initializer:null}),q=i(m.prototype,"layoutModel",[d.bindable],{enumerable:!0,initializer:null}),l=m))||l)||l)||l),a.RouterViewLocator=function(){function a(){var a=this;this.promise=new Promise(function(b){return a.resolve=b})}return a.prototype.findNearest=function(){return this.promise},a.prototype._notify=function(a){this.resolve(a)},a}())})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0/aurelia-loader.js",["exports","aurelia-path","aurelia-metadata"],function(a,b,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Loader=a.TemplateRegistryEntry=a.TemplateDependency=void 0;var d=function(){function a(a,b){for(var c=0;c element in "+c+' has no "from" attribute.');h[i]=new e((0,b.relativeToFile)(g,c),f.getAttribute("as")),f.parentNode&&f.parentNode.removeChild(f)}}},{key:"factory",get:function(){return this._factory},set:function(a){this._factory=a,this.factoryIsReady=!0}}]),a}();a.Loader=function(){function a(){this.templateRegistry={}}return a.prototype.map=function(a,b){throw new Error("Loaders must implement map(id, source).")},a.prototype.normalizeSync=function(a,b){throw new Error("Loaders must implement normalizeSync(moduleId, relativeTo).")},a.prototype.normalize=function(a,b){throw new Error("Loaders must implement normalize(moduleId: string, relativeTo: string): Promise.")},a.prototype.loadModule=function(a){throw new Error("Loaders must implement loadModule(id).")},a.prototype.loadAllModules=function(a){throw new Error("Loader must implement loadAllModules(ids).")},a.prototype.loadTemplate=function(a){throw new Error("Loader must implement loadTemplate(url).")},a.prototype.loadText=function(a){throw new Error("Loader must implement loadText(url).")},a.prototype.applyPluginToUrl=function(a,b){throw new Error("Loader must implement applyPluginToUrl(url, pluginName).")},a.prototype.addPlugin=function(a,b){throw new Error("Loader must implement addPlugin(pluginName, implementation).")},a.prototype.getOrCreateTemplateRegistryEntry=function(a){return this.templateRegistry[a]||(this.templateRegistry[a]=new f(a))},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-loader@1.0.0.js",["npm:aurelia-loader@1.0.0/aurelia-loader"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.7.1/aurelia-binding.js",["exports","aurelia-logging","aurelia-pal","aurelia-task-queue","aurelia-metadata"],function(a,b,c,d,e){"use strict";function f(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a){if(a in Pa)return Pa[a];var b=a.charAt(0).toLowerCase()+a.slice(1).replace(/[_.-](\w|$)/g,function(a,b){return b.toUpperCase()});return Pa[a]=b,b}function j(a,b){return{bindingContext:a,parentOverrideContext:b||null}}function k(a,b,c){var d=b.overrideContext;if(c){for(;c&&d;)c--,d=d.parentOverrideContext;if(c||!d)return;return a in d?d:d.bindingContext}for(;d&&!(a in d)&&!(d.bindingContext&&a in d.bindingContext);)d=d.parentOverrideContext;return d?a in d?d:d.bindingContext:b.bindingContext||b.overrideContext}function l(a,b){return b?{bindingContext:a,overrideContext:j(a,j(b))}:{bindingContext:a,overrideContext:j(a)}}function m(a){for(var b=void 0===this._observerSlots?0:this._observerSlots,c=b;c--&&this[Qa[c]]!==a;);if(c===-1){for(c=0;this[Qa[c]];)c++;this[Qa[c]]=a,a.subscribe(Oa,this),c===b&&(this._observerSlots=c+1)}void 0===this._version&&(this._version=0),this[Ra[c]]=this._version}function n(a,b){var c=this.observerLocator.getObserver(a,b);m.call(this,c)}function o(a){var b=this.observerLocator.getArrayObserver(a);m.call(this,b)}function p(a){for(var b=this._observerSlots;b--;)if(a||this[Ra[b]]!==this._version){var c=this[Qa[b]];this[Qa[b]]=null,c&&c.unsubscribe(Oa,this)}}function q(){return function(a){a.prototype.observeProperty=n,a.prototype.observeArray=o,a.prototype.unobserve=p,a.prototype.addObserver=m}}function r(a){for(var b=Ta.length,d=0;dXa)break}Ta.splice(0,d),Ta.length?c.PLATFORM.requestAnimationFrame(r):(Ya=!1,Za=0)}function s(a){if(Zae;)e++;return!(e>=c.length)&&(d.splice(e,1),c.splice(e,1),!0)}function v(a,b){var c=this._context0,d=this._callable0,e=this._context1,f=this._callable1,g=this._context2,h=this._callable2,i=this._contextsRest?this._contextsRest.length:0,j=void 0,k=void 0,l=void 0,m=void 0;if(i){for(l=ab.length;l--&&ab[l];);for(l<0?(l=ab.length,j=[],k=[],ab.push(!0),$a.push(j),_a.push(k)):(ab[l]=!0,j=$a[l],k=_a[l]),m=i;m--;)j[m]=this._contextsRest[m],k[m]=this._callablesRest[m]}if(c&&(d?d.call(c,a,b):c(a,b)),e&&(f?f.call(e,a,b):e(a,b)),g&&(h?h.call(g,a,b):g(a,b)),i){for(m=0;m>>0}function A(a){return+a}function B(a,b,c){return{index:a,removed:b,addedCount:c}}function C(){}function D(a,b,c,d,e,f){return gb.calcSplices(a,b,c,d,e,f)}function E(a,b,c,d){return b=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var l=i.removed;if(e.indexi.index+i.addedCount){var n=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(l,n)}e.removed=l,i.index=Sb&&a<=Xb||a===Mc}function S(a){return Ac<=a&&a<=Ic||sc<=a&&a<=uc||a===zc||a===$b}function T(a){return Ac<=a&&a<=Ic||sc<=a&&a<=uc||qc<=a&&a<=rc||a===zc||a===$b}function U(a){return qc<=a&&a<=rc}function V(a){return a===Bc||a===tc}function W(a){return a===hc||a===fc}function X(a){switch(a){case Dc:return Tb;case Cc:return Vb;case Ec:return Wb;case Fc:return Sb;case Hc:return Ub;default:return a}}function Y(a,b){if(!a)throw b||"Assertion failed"}function Z(a,b){return Rc.for(a,b)}function $(a){return a.path&&a.path[0]||a.deepPath&&a.deepPath[0]||a.target}function _(){this.standardStopPropagation(),this.propagationStopped=!0}function aa(a){a.propagationStopped=!1;for(var b=$(a),c=[];b;){if(b.capturedCallbacks){var d=b.capturedCallbacks[a.type];d&&(a.stopPropagation!==_&&(a.standardStopPropagation=a.stopPropagation,a.stopPropagation=_),c.push(d))}b=b.parentNode}for(var e=c.length-1;e>=0&&!a.propagationStopped;e--){var f=c[e];"handleEvent"in f?f.handleEvent(a):f(a)}}function ba(a){a.propagationStopped=!1;for(var b=$(a);b&&!a.propagationStopped;){if(b.delegatedCallbacks){var c=b.delegatedCallbacks[a.type];c&&(a.stopPropagation!==_&&(a.standardStopPropagation=a.stopPropagation,a.stopPropagation=_),"handleEvent"in c?c.handleEvent(a):c(a))}b=b.parentNode}}function ca(a){return!!(a&&a.get&&a.get.dependencies)}function da(a,b,c){var d=Object.getOwnPropertyDescriptor(a.prototype,b);d.get.dependencies=c}function ea(){for(var a=arguments.length,b=Array(a),c=0;c0||c>0;)if(0!==b)if(0!==c){var f=a[b-1][c-1],g=a[b-1][c],h=a[b][c-1],i=void 0;i=gc?b=c-a.addedCount:b<0&&(b=c+a.removed.length+b-a.addedCount),b<0&&(b=0),a.index=b}null===this.changeRecords?this.changeRecords=[a]:this.changeRecords.push(a),this.queued||(this.queued=!0,this.taskQueue.queueMicroTask(this))}},a.prototype.flushChangeRecords=function(){(this.changeRecords&&this.changeRecords.length||this.oldCollection)&&this.call()},a.prototype.reset=function(a){this.oldCollection=a,this.hasSubscribers()&&!this.queued&&(this.queued=!0,this.taskQueue.queueMicroTask(this))},a.prototype.getLengthObserver=function(){return this.lengthObserver||(this.lengthObserver=new ib(this.collection))},a.prototype.call=function(){var a=this.changeRecords,b=this.oldCollection,c=void 0;this.queued=!1,this.changeRecords=[],this.oldCollection=null,this.hasSubscribers()&&(c=b?this.collection instanceof Map||this.collection instanceof Set?J(b):D(this.collection,0,this.collection.length,b,0,b.length):this.collection instanceof Map||this.collection instanceof Set?a:H(this.collection,a),this.callSubscribers(c)),this.lengthObserver&&this.lengthObserver.call(this.collection[this.lengthPropertyName])},a}())||ra),ib=a.CollectionLengthObserver=(sa=y(),sa(ta=function(){function a(a){this.collection=a,this.lengthPropertyName=a instanceof Map||a instanceof Set?"size":"length",this.currentValue=a[this.lengthPropertyName]}return a.prototype.getValue=function(){return this.collection[this.lengthPropertyName]},a.prototype.setValue=function(a){this.collection[this.lengthPropertyName]=a},a.prototype.subscribe=function(a,b){this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.call=function(a){var b=this.currentValue;this.callSubscribers(a,b),this.currentValue=a},a}())||ta),jb=Array.prototype.pop,kb=Array.prototype.push,lb=Array.prototype.reverse,mb=Array.prototype.shift,nb=Array.prototype.sort,ob=Array.prototype.splice,pb=Array.prototype.unshift;Array.prototype.pop=function(){var a=this.length>0,b=jb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:this.length,oldValue:b}),b},Array.prototype.push=function(){var a=kb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:this.length-arguments.length,removed:[],addedCount:arguments.length}),a},Array.prototype.reverse=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=lb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.shift=function(){var a=this.length>0,b=mb.apply(this,arguments);return a&&void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"delete",object:this,name:0,oldValue:b}),b},Array.prototype.sort=function(){var a=void 0;void 0!==this.__array_observer__&&(this.__array_observer__.flushChangeRecords(),a=this.slice());var b=nb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.reset(a),b},Array.prototype.splice=function(){var a=ob.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:+arguments[0],removed:a,addedCount:arguments.length>2?arguments.length-2:0}),a},Array.prototype.unshift=function(){var a=pb.apply(this,arguments);return void 0!==this.__array_observer__&&this.__array_observer__.addChangeRecord({type:"splice",object:this,index:0,removed:[],addedCount:arguments.length}),a},a.getArrayObserver=K;var qb=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b.for=function(a,c){return"__array_observer__"in c||Reflect.defineProperty(c,"__array_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__array_observer__},b.create=function(a,c){return new b(a,c)},b}(hb),rb=a.Expression=function(){function a(){this.isChain=!1,this.isAssignable=!1}return a.prototype.evaluate=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be evaluated.')},a.prototype.assign=function(a,b,c){throw new Error('Binding expression "'+this+'" cannot be assigned to.')},a.prototype.toString=function(){return"undefined"==typeof FEATURE_NO_UNPARSER?Kb.unparse(this):Function.prototype.toString.call(this)},a}(),sb=a.Chain=function(a){function b(b){var c=g(this,a.call(this));return c.expressions=b,c.isChain=!0,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=void 0,d=this.expressions,e=void 0,f=0,g=d.length;f":return c>d;case"<=":return c<=d;case">=":return c>=d;case"^":return c^d}throw new Error("Internal error ["+this.operation+"] not handled")},b.prototype.accept=function(a){return a.visitBinary(this)},b.prototype.connect=function(a,b){this.left.connect(a,b);var c=this.left.evaluate(b);"&&"===this.operation&&!c||"||"===this.operation&&c||this.right.connect(a,b)},b}(rb),Fb=a.PrefixNot=function(a){function b(b,c){var d=g(this,a.call(this));return d.operation=b,d.expression=c,d}return h(b,a),b.prototype.evaluate=function(a,b){return!this.expression.evaluate(a,b)},b.prototype.accept=function(a){return a.visitPrefix(this)},b.prototype.connect=function(a,b){this.expression.connect(a,b)},b}(rb),Gb=a.LiteralPrimitive=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralPrimitive(this)},b.prototype.connect=function(a,b){},b}(rb),Hb=a.LiteralString=function(a){function b(b){var c=g(this,a.call(this));return c.value=b,c}return h(b,a),b.prototype.evaluate=function(a,b){return this.value},b.prototype.accept=function(a){return a.visitLiteralString(this)},b.prototype.connect=function(a,b){},b}(rb),Ib=a.LiteralArray=function(a){function b(b){var c=g(this,a.call(this));return c.elements=b,c}return h(b,a),b.prototype.evaluate=function(a,b){for(var c=this.elements,d=[],e=0,f=c.length;e=this.length)return this.peek=Rb,null;this.peek=this.input.charCodeAt(this.index)}if(S(this.peek))return this.scanIdentifier();if(U(this.peek))return this.scanNumber(this.index);var a=this.index;switch(this.peek){case ic:return this.advance(),U(this.peek)?this.scanNumber(a):new Nb(a,".");case cc:case dc:case Jc:case Lc:case vc:case xc:case gc:case kc:case lc:return this.scanCharacter(a,String.fromCharCode(this.peek));case bc:case Zb:return this.scanString();case fc:case hc:case ec:case jc:case _b:case yc:case pc:return this.scanOperator(a,String.fromCharCode(this.peek));case mc:case oc:case Yb:case nc:return this.scanComplexOperator(a,nc,String.fromCharCode(this.peek),"=");case ac:return this.scanComplexOperator(a,ac,"&","&");case Kc:return this.scanComplexOperator(a,Kc,"|","|");case Mc:for(;R(this.peek);)this.advance();return this.scanToken()}var b=String.fromCharCode(this.peek);return this.error("Unexpected character ["+b+"]"),null},a.prototype.scanCharacter=function(a,b){return Y(this.peek===b.charCodeAt(0)),this.advance(),new Nb(a,b)},a.prototype.scanOperator=function(a,b){return Y(this.peek===b.charCodeAt(0)),Y(1===Qb[b]),this.advance(),new Nb(a,b).withOp(b)},a.prototype.scanComplexOperator=function(a,b,c,d){Y(this.peek===c.charCodeAt(0)),this.advance();var e=c;return this.peek===b&&(this.advance(),e+=d),this.peek===b&&(this.advance(),e+=d),Y(1===Qb[e]),new Nb(a,e).withOp(e)},a.prototype.scanIdentifier=function(){Y(S(this.peek));var a=this.index;for(this.advance();T(this.peek);)this.advance();var b=this.input.substring(a,this.index),c=new Nb(a,b);return 1===Qb[b]?c.withOp(b):c.withGetterSetter(b),c},a.prototype.scanNumber=function(a){Y(U(this.peek));var b=this.index===a;for(this.advance();;){if(!U(this.peek))if(this.peek===ic)b=!1;else{if(!V(this.peek))break;this.advance(),W(this.peek)&&this.advance(),U(this.peek)||this.error("Invalid exponent",-1),b=!1}this.advance()}var c=this.input.substring(a,this.index),d=b?parseInt(c,10):parseFloat(c);return new Nb(a,c).withValue(d)},a.prototype.scanString=function(){Y(this.peek===bc||this.peek===Zb);var a=this.index,b=this.peek;this.advance();for(var c=void 0,d=this.index;this.peek!==b;)if(this.peek===wc){c||(c=[]),c.push(this.input.substring(d,this.index)),this.advance();var e=void 0;if(this.peek===Gc){var f=this.input.substring(this.index+1,this.index+5);/[A-Z0-9]{4}/.test(f)||this.error("Invalid unicode escape [\\u"+f+"]"),e=parseInt(f,16);for(var g=0;g<5;++g)this.advance()}else e=X(this.peek),this.advance();c.push(String.fromCharCode(e)),d=this.index}else this.peek===Rb?this.error("Unterminated quote"):this.advance();var h=this.input.substring(d,this.index);this.advance();var i=this.input.substring(a,this.index),j=h;return null!==c&&void 0!==c&&(c.push(h),j=c.join("")),new Nb(a,i).withValue(j)},a.prototype.advance=function(){++this.index>=this.length?this.peek=Rb:this.peek=this.input.charCodeAt(this.index)},a.prototype.error=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=this.index+b;throw new Error("Lexer Error: "+a+" at column "+c+" in expression ["+this.input+"]")},a}(),Qb={undefined:1,null:1,true:1,false:1,"+":1,"-":1,"*":1,"/":1,"%":1,"^":1,"=":1,"==":1,"===":1,"!=":1,"!==":1,"<":1,">":1,"<=":1,">=":1,"&&":1,"||":1,"&":1,"|":1,"!":1,"?":1},Rb=0,Sb=9,Tb=10,Ub=11,Vb=12,Wb=13,Xb=32,Yb=33,Zb=34,$b=36,_b=37,ac=38,bc=39,cc=40,dc=41,ec=42,fc=43,gc=44,hc=45,ic=46,jc=47,kc=58,lc=59,mc=60,nc=61,oc=62,pc=63,qc=48,rc=57,sc=65,tc=69,uc=90,vc=91,wc=92,xc=93,yc=94,zc=95,Ac=97,Bc=101,Cc=102,Dc=110,Ec=114,Fc=116,Gc=117,Hc=118,Ic=122,Jc=123,Kc=124,Lc=125,Mc=160,Nc=new Nb(-1,null),Oc=a.Parser=function(){function a(){this.cache={},this.lexer=new Ob}return a.prototype.parse=function(a){return a=a||"",this.cache[a]||(this.cache[a]=new Pc(this.lexer,a).parseChain())},a}(),Pc=a.ParserImplementation=function(){function a(a,b){this.index=0,this.input=b,this.tokens=a.lex(b)}return a.prototype.parseChain=function(){for(var a=!1,b=[];this.optional(";");)a=!0;for(;this.index"))a=new Eb(">",a,this.parseAdditive());else if(this.optional("<="))a=new Eb("<=",a,this.parseAdditive());else{if(!this.optional(">="))return a;a=new Eb(">=",a,this.parseAdditive())}},a.prototype.parseAdditive=function(){for(var a=this.parseMultiplicative();;)if(this.optional("+"))a=new Eb("+",a,this.parseMultiplicative());else{if(!this.optional("-"))return a;a=new Eb("-",a,this.parseMultiplicative())}},a.prototype.parseMultiplicative=function(){for(var a=this.parsePrefix();;)if(this.optional("*"))a=new Eb("*",a,this.parsePrefix());else if(this.optional("%"))a=new Eb("%",a,this.parsePrefix());else{if(!this.optional("/"))return a;a=new Eb("/",a,this.parsePrefix())}},a.prototype.parsePrefix=function(){return this.optional("+")?this.parsePrefix():this.optional("-")?new Eb("-",new Gb(0),this.parsePrefix()):this.optional("!")?new Fb("!",this.parsePrefix()):this.parseAccessOrCallMember()},a.prototype.parseAccessOrCallMember=function(){for(var a=this.parsePrimary();;)if(this.optional(".")){var b=this.peek.text;if(this.advance(),this.optional("(")){var c=this.parseExpressionList(")");this.expect(")"),a=a instanceof xb?new Bb(b,c,a.ancestor):new Cb(a,b,c)}else a=a instanceof xb?new yb(b,a.ancestor):new zb(a,b)}else if(this.optional("[")){var d=this.parseExpression();this.expect("]"),a=new Ab(a,d)}else{if(!this.optional("("))return a;var e=this.parseExpressionList(")");this.expect(")"),a=new Db(a,e)}},a.prototype.parsePrimary=function(){if(this.optional("(")){var a=this.parseExpression();return this.expect(")"),a}if(this.optional("null"))return new Gb(null);if(this.optional("undefined"))return new Gb(void 0);if(this.optional("true"))return new Gb(!0);if(this.optional("false"))return new Gb(!1);if(this.optional("[")){var b=this.parseExpressionList("]");return this.expect("]"),new Ib(b)}if("{"===this.peek.text)return this.parseObject();if(null!==this.peek.key&&void 0!==this.peek.key)return this.parseAccessOrCallScope(); +if(null!==this.peek.value&&void 0!==this.peek.value){var c=this.peek.value;return this.advance(),c instanceof String||"string"==typeof c?new Hb(c):new Gb(c)}if(this.index>=this.tokens.length)throw new Error("Unexpected end of expression: "+this.input);this.error("Unexpected token "+this.peek.text)},a.prototype.parseAccessOrCallScope=function(){var a=this.peek.key;if(this.advance(),"$this"===a)return new xb(0);for(var b=0;"$parent"===a;)if(b++,this.optional("."))a=this.peek.key,this.advance();else{if(this.peek===Nc||"("===this.peek.text||")"===this.peek.text||"["===this.peek.text||"}"===this.peek.text||","===this.peek.text||"|"===this.peek.text||"&"===this.peek.text)return new xb(b);this.error("Unexpected token "+this.peek.text)}if(this.optional("(")){var c=this.parseExpressionList(")");return this.expect(")"),new Bb(a,c,b)}return new yb(a,b)},a.prototype.parseObject=function(){var a=[],b=[];if(this.expect("{"),"}"!==this.peek.text)do{var c=this.peek,d=c.value;a.push("string"==typeof d?d:c.text),this.advance(),!c.key||","!==this.peek.text&&"}"!==this.peek.text?(this.expect(":"),b.push(this.parseExpression())):(--this.index,b.push(this.parseAccessOrCallScope()))}while(this.optional(","));return this.expect("}"),new Jb(a,b)},a.prototype.parseExpressionList=function(a){var b=[];if(this.peek.text!==a)do b.push(this.parseExpression());while(this.optional(","));return b},a.prototype.optional=function(a){return this.peek.text===a&&(this.advance(),!0)},a.prototype.expect=function(a){this.peek.text===a?this.advance():this.error("Missing expected "+a)},a.prototype.advance=function(){this.index++},a.prototype.error=function(a){var b=this.indexd;++d)a.addEventListener(c[d],b)},a.prototype.dispose=function(){if(null!==this.element){for(var a=this.element,b=this.handler,c=this.events,d=0,e=c.length;e>d;++d)a.removeEventListener(c[d],b);this.element=this.handler=null}},a}(),$c=a.DirtyChecker=function(){function a(){this.tracked=[],this.checkDelay=120}return a.prototype.addProperty=function(a){var b=this.tracked;b.push(a),1===b.length&&this.scheduleDirtyCheck()},a.prototype.removeProperty=function(a){var b=this.tracked;b.splice(b.indexOf(a),1)},a.prototype.scheduleDirtyCheck=function(){var a=this;setTimeout(function(){return a.check()},this.checkDelay)},a.prototype.check=function(){for(var a=this.tracked,b=a.length;b--;){var c=a[b];c.isDirty()&&c.call()}a.length&&this.scheduleDirtyCheck()},a}(),_c=a.DirtyCheckProperty=(ua=y(),ua(va=function(){function a(a,b,c){this.dirtyChecker=a,this.obj=b,this.propertyName=c}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.call=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.isDirty=function(){return this.oldValue!==this.obj[this.propertyName]},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.dirtyChecker.addProperty(this)),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&this.dirtyChecker.removeProperty(this)},a}())||va),ad=Ka.getLogger("property-observation"),bd=a.propertyAccessor={getValue:function(a,b){return a[b]},setValue:function(a,b,c){b[c]=a}},cd=a.PrimitiveObserver=function(){function a(a,b){this.doNotCache=!0,this.primitive=a,this.propertyName=b}return a.prototype.getValue=function(){return this.primitive[this.propertyName]},a.prototype.setValue=function(){var a=La(this.primitive);throw new Error("The "+this.propertyName+" property of a "+a+" ("+this.primitive+") cannot be assigned.")},a.prototype.subscribe=function(){},a.prototype.unsubscribe=function(){},a}(),dd=a.SetterObserver=(wa=y(),wa(xa=function(){function a(a,b,c){this.taskQueue=a,this.obj=b,this.propertyName=c,this.queued=!1,this.observing=!1}return a.prototype.getValue=function(){return this.obj[this.propertyName]},a.prototype.setValue=function(a){this.obj[this.propertyName]=a},a.prototype.getterValue=function(){return this.currentValue},a.prototype.setterValue=function(a){var b=this.currentValue;b!==a&&(this.queued||(this.oldValue=b,this.queued=!0,this.taskQueue.queueMicroTask(this)),this.currentValue=a)},a.prototype.call=function(){var a=this.oldValue,b=this.currentValue;this.queued=!1,this.callSubscribers(b,a)},a.prototype.subscribe=function(a,b){this.observing||this.convertProperty(),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)},a.prototype.convertProperty=function(){this.observing=!0,this.currentValue=this.obj[this.propertyName],this.setValue=this.setterValue,this.getValue=this.getterValue,Reflect.defineProperty(this.obj,this.propertyName,{configurable:!0,enumerable:!(this.propertyName in this.obj)||this.obj.propertyIsEnumerable(this.propertyName),get:this.getValue.bind(this),set:this.setValue.bind(this)})||ad.warn("Cannot observe property '"+this.propertyName+"' of object",this.obj)},a}())||xa),ed=a.XLinkAttributeObserver=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.attributeName=c}return a.prototype.getValue=function(){return this.element.getAttributeNS("http://www.w3.org/1999/xlink",this.attributeName)},a.prototype.setValue=function(a){return this.element.setAttributeNS("http://www.w3.org/1999/xlink",this.attributeName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),fd=a.dataAttributeAccessor={getValue:function(a,b){return a.getAttribute(b)},setValue:function(a,b,c){null===a||void 0===a?b.removeAttribute(c):b.setAttribute(c,a)}},gd=a.DataAttributeObserver=function(){function a(a,b){this.element=a,this.propertyName=b}return a.prototype.getValue=function(){return this.element.getAttribute(this.propertyName)},a.prototype.setValue=function(a){return null===a||void 0===a?this.element.removeAttribute(this.propertyName):this.element.setAttribute(this.propertyName,a)},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),hd=a.StyleObserver=function(){function a(a,b){this.element=a,this.propertyName=b,this.styles=null,this.version=0}return a.prototype.getValue=function(){return this.element.style.cssText},a.prototype._setProperty=function(a,b){var c="";null!==b&&void 0!==b&&"function"==typeof b.indexOf&&b.indexOf("!important")!==-1&&(c="important",b=b.replace("!important","")),this.element.style.setProperty(a,b,c)},a.prototype.setValue=function(a){var b=this.styles||{},c=void 0,d=this.version;if(null!==a&&void 0!==a)if(a instanceof Object){var e=void 0;for(c in a)a.hasOwnProperty(c)&&(e=a[c],c=c.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}),b[c]=d,this._setProperty(c,e))}else if(a.length)for(var f=/\s*([\w\-]+)\s*:\s*((?:(?:[\w\-]+\(\s*(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[\w\-]+\(\s*(?:^"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^\)]*)\),?|[^\)]*)\),?|"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^;]*),?\s*)+);?/g,g=void 0;null!==(g=f.exec(a));)c=g[1],c&&(b[c]=d,this._setProperty(c,g[2]));if(this.styles=b,this.version+=1,0!==d){d-=1;for(c in b)b.hasOwnProperty(c)&&b[c]===d&&this.element.style.removeProperty(c)}},a.prototype.subscribe=function(){throw new Error('Observation of a "'+this.element.nodeName+'" element\'s "'+this.propertyName+'" property is not supported.')},a}(),id=a.ValueAttributeObserver=(ya=y(),ya(za=function(){function a(a,b,c){this.element=a,this.propertyName=b,this.handler=c,"files"===b&&(this.setValue=function(){})}return a.prototype.getValue=function(){return this.element[this.propertyName]},a.prototype.setValue=function(a){a=void 0===a||null===a?"":a,this.element[this.propertyName]!==a&&(this.element[this.propertyName]=a,this.notify())},a.prototype.notify=function(){var a=this.oldValue,b=this.getValue();this.callSubscribers(b,a),this.oldValue=b},a.prototype.handleEvent=function(){this.notify()},a.prototype.subscribe=function(a,b){this.hasSubscribers()||(this.oldValue=this.getValue(),this.handler.subscribe(this.element,this)),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&this.handler.dispose()},a}())||za),jd="CheckedObserver:array",kd="CheckedObserver:value",ld=a.CheckedObserver=(Aa=y(),Aa(Ba=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){this.initialSync&&this.value===a||(this.arrayObserver&&(this.arrayObserver.unsubscribe(jd,this),this.arrayObserver=null),"checkbox"===this.element.type&&Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(jd,this)),this.oldValue=this.value,this.value=a,this.synchronizeElement(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeElement(),this.valueObserver||(this.valueObserver=this.element.__observers__.model||this.element.__observers__.value,this.valueObserver&&this.valueObserver.subscribe(kd,this))},a.prototype.synchronizeElement=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d="radio"===b.type,e=b.matcher||function(a,b){return a===b};b.checked=d&&!!e(a,c)||!d&&a===!0||!d&&Array.isArray(a)&&a.findIndex(function(a){return!!e(a,c)})!==-1},a.prototype.synchronizeValue=function(){var a=this.value,b=this.element,c=b.hasOwnProperty("model")?b.model:b.value,d=void 0,e=b.matcher||function(a,b){return a===b};if("checkbox"===b.type){if(Array.isArray(a))return d=a.findIndex(function(a){return!!e(a,c)}),void(b.checked&&d===-1?a.push(c):b.checked||d===-1||a.splice(d,1));a=b.checked}else{if(!b.checked)return;a=c}this.oldValue=this.value,this.value=a,this.notify()},a.prototype.notify=function(){var a=this.oldValue,b=this.value;b!==a&&this.callSubscribers(b,a)},a.prototype.handleEvent=function(){this.synchronizeValue()},a.prototype.subscribe=function(a,b){this.hasSubscribers()||this.handler.subscribe(this.element,this),this.addSubscriber(a,b)},a.prototype.unsubscribe=function(a,b){this.removeSubscriber(a,b)&&!this.hasSubscribers()&&this.handler.dispose()},a.prototype.unbind=function(){this.arrayObserver&&(this.arrayObserver.unsubscribe(jd,this),this.arrayObserver=null),this.valueObserver&&this.valueObserver.unsubscribe(kd,this)},a}())||Ba),md="SelectValueObserver:array",nd=a.SelectValueObserver=(Ca=y(),Ca(Da=function(){function a(a,b,c){this.element=a,this.handler=b,this.observerLocator=c}return a.prototype.getValue=function(){return this.value},a.prototype.setValue=function(a){if(null!==a&&void 0!==a&&this.element.multiple&&!Array.isArray(a))throw new Error("Only null or Array instances can be bound to a multi-select.");this.value!==a&&(this.arrayObserver&&(this.arrayObserver.unsubscribe(md,this),this.arrayObserver=null),Array.isArray(a)&&(this.arrayObserver=this.observerLocator.getArrayObserver(a),this.arrayObserver.subscribe(md,this)),this.oldValue=this.value,this.value=a,this.synchronizeOptions(),this.notify(),this.initialSync||(this.initialSync=!0,this.observerLocator.taskQueue.queueMicroTask(this)))},a.prototype.call=function(a,b){this.synchronizeOptions()},a.prototype.synchronizeOptions=function(){var a=this.value,b=void 0;Array.isArray(a)&&(b=!0);for(var c=this.element.options,d=c.length,e=this.element.matcher||function(a,b){return a===b},f=function(){var f=c.item(d),g=f.hasOwnProperty("model")?f.model:f.value;return b?(f.selected=a.findIndex(function(a){return!!e(g,a)})!==-1,"continue"):void(f.selected=!!e(g,a))};d--;){f()}},a.prototype.synchronizeValue=function(){for(var a=this,b=this.element.options,c=0,d=[],e=0,f=b.length;e").firstElementChild.nodeName&&vd.altGlyph&&(vd.altglyph=vd.altGlyph,delete vd.altGlyph,vd.altglyphdef=vd.altGlyphDef,delete vd.altGlyphDef,vd.altglyphitem=vd.altGlyphItem,delete vd.altGlyphItem,vd.glyphref=vd.glyphRef,delete vd.glyphRef)}return a.prototype.isStandardSvgAttribute=function(a,b){return wd[a]&&xd[b]||vd[a]&&vd[a].indexOf(b)!==-1},a}()}var vd=a.elements=qd,wd=a.presentationElements=rd,xd=a.presentationAttributes=sd,yd=a.SVGAnalyzer=td||function(){function a(){}return a.prototype.isStandardSvgAttribute=function(){return!1},a}(),zd=a.ObserverLocator=(Fa=Ea=function(){function a(a,b,c,d,e){this.taskQueue=a,this.eventManager=b,this.dirtyChecker=c,this.svgAnalyzer=d,this.parser=e,this.adapters=[],this.logger=Ka.getLogger("observer-locator")}return a.prototype.getObserver=function(a,b){var c=a.__observers__,d=void 0;return c&&b in c?c[b]:(d=this.createPropertyObserver(a,b),d.doNotCache||(void 0===c&&(c=this.getOrCreateObserversLookup(a)),c[b]=d),d)},a.prototype.getOrCreateObserversLookup=function(a){return a.__observers__||this.createObserversLookup(a)},a.prototype.createObserversLookup=function(a){var b={};return Reflect.defineProperty(a,"__observers__",{enumerable:!1,configurable:!1,writable:!1,value:b})||this.logger.warn("Cannot add observers to object",a),b},a.prototype.addAdapter=function(a){this.adapters.push(a)},a.prototype.getAdapterObserver=function(a,b,c){for(var d=0,e=this.adapters.length;d2&&void 0!==arguments[2]?arguments[2]:Mb.toView,d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Hd;return new Ad(this.observerLocator,a,this.parser.parse(b),c,d)},a.prototype.propertyObserver=function(a,b){var c=this;return{subscribe:function(d){var e=c.observerLocator.getObserver(a,b);return e.subscribe(d),{dispose:function(){return e.unsubscribe(d)}}}}},a.prototype.collectionObserver=function(a){var b=this;return{subscribe:function(c){var d=void 0;if(a instanceof Array)d=b.observerLocator.getArrayObserver(a);else if(a instanceof Map)d=b.observerLocator.getMapObserver(a);else{if(!(a instanceof Set))throw new Error("collection must be an instance of Array, Map or Set.");d=b.observerLocator.getSetObserver(a)}return d.subscribe(c),{dispose:function(){return d.unsubscribe(c)}}}}},a.prototype.expressionObserver=function(a,b){var c={bindingContext:a,overrideContext:j(a)};return new bb(c,this.parser.parse(b),this.observerLocator,Hd)},a.prototype.parseExpression=function(a){return this.parser.parse(a)},a.prototype.registerAdapter=function(a){this.observerLocator.addAdapter(a)},a}(),Ia.inject=[zd,Oc],Ja),Set.prototype);a.getSetObserver=ja;var Jd=function(a){function b(b,c){return g(this,a.call(this,b,c))}return h(b,a),b.for=function(a,c){return"__set_observer__"in c||Reflect.defineProperty(c,"__set_observer__",{value:b.create(a,c),enumerable:!1,configurable:!1}),c.__set_observer__},b.create=function(a,c){var d=new b(a,c),e=Id;return e.add===c.add&&e.delete===c.delete&&e.clear===c.clear||(e={add:c.add,delete:c.delete,clear:c.clear}),c.add=function(){var a="add",b=c.size,f=e.add.apply(c,arguments),g=c.size===b;return g||d.addChangeRecord({type:a,object:c,value:Array.from(c).pop()}),f},c.delete=function(){var a=c.has(arguments[0]),b=e.delete.apply(c,arguments);return a&&d.addChangeRecord({type:"delete",object:c,value:arguments[0]}),b},c.clear=function(){var a=e.clear.apply(c,arguments);return d.addChangeRecord({type:"clear",object:c}),a},d},b}(hb),Kd={}})}(),function(){var a=System.amdDefine;a("npm:aurelia-binding@1.7.1.js",["npm:aurelia-binding@1.7.1/aurelia-binding"],function(a){return a})}();!function(){var a=System.amdDefine;a("npm:aurelia-task-queue@1.2.1/aurelia-task-queue.js",["exports","aurelia-pal"],function(a,b){"use strict";function c(a){var c=1,d=b.DOM.createMutationObserver(a),e=b.DOM.createTextNode("");return d.observe(e,{characterData:!0}),function(){c=-c,e.data=c}}function d(a){return function(){function b(){clearTimeout(c),clearInterval(d),a()}var c=setTimeout(b,0),d=setInterval(b,50)}}function e(a,b,c){c&&b.stack&&"object"===("undefined"==typeof a?"undefined":i(a))&&null!==a&&(a.stack=h(a.stack)+b.stack),"onError"in b?b.onError(a):j?setImmediate(function(){throw a}):setTimeout(function(){throw a},0)}function f(){var a=new Error;if(a.stack)return a.stack;try{throw a}catch(a){return a.stack}}function g(a){return a.replace(/^[\s\S]*?\bqueue(Micro)?Task\b[^\n]*\n/,"")}function h(a){var b=a.lastIndexOf("flushMicroTaskQueue");return b<0&&(b=a.lastIndexOf("flushTaskQueue"),b<0)?a:(b=a.lastIndexOf("\n",b),b<0?a:a.substr(0,b))}Object.defineProperty(a,"__esModule",{value:!0}),a.TaskQueue=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},j="function"==typeof setImmediate,k="\nEnqueued in TaskQueue by:\n",l="\nEnqueued in MicroTaskQueue by:\n";a.TaskQueue=function(){function a(){var a=this;this.flushing=!1,this.longStacks=!1,this.microTaskQueue=[],this.microTaskQueueCapacity=1024,this.taskQueue=[],b.FEATURE.mutationObserver?this.requestFlushMicroTaskQueue=c(function(){return a.flushMicroTaskQueue()}):this.requestFlushMicroTaskQueue=d(function(){return a.flushMicroTaskQueue()}),this.requestFlushTaskQueue=d(function(){return a.flushTaskQueue()})}return a.prototype._flushQueue=function(a,b){var c=0,d=void 0;try{for(this.flushing=!0;cb){for(var f=0,g=a.length-c;f-1&&c.splice(b,1)),a},a.prototype.publish=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],f=d.DOM.createCustomEvent(a,{cancelable:e,bubbles:c,detail:b});this.element.dispatchEvent(f)},a.prototype.subscribe=function(a,b){var c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("function"==typeof b){var d=new Xa(this,a,b,c,!1);return d}},a.prototype.subscribeOnce=function(a,b){var c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("function"==typeof b){var d=new Xa(this,a,b,c,!0);return d}},a.prototype.dispose=function(a){if(a&&"string"==typeof a){var b=this.subscriptions[a];if(b)for(;b.length;){var c=b.pop();c&&c.dispose()}}else this.disposeAll()},a.prototype.disposeAll=function(){for(var a in this.subscriptions)this.dispose(a)},a}(),Xa=function(){function a(a,b,c,d,e){this.owner=a,this.eventName=b,this.handler=c,this.capture="boolean"==typeof d?d:d.capture,this.bubbles=!this.capture,this.captureOrOptions=d,this.once=e,a.element.addEventListener(b,this,d),a._enqueueHandler(this)}return a.prototype.handleEvent=function(a){var b=this.handler;b(a),this.once&&this.dispose()},a.prototype.dispose=function(){this.owner.element.removeEventListener(this.eventName,this,this.captureOrOptions),this.owner._dequeueHandler(this),this.owner=this.handler=null},a}(),Ya=a.ResourceLoadContext=function(){function a(){this.dependencies={}}return a.prototype.addDependency=function(a){this.dependencies[a]=!0},a.prototype.hasDependency=function(a){return a in this.dependencies},a}(),Za=a.ViewCompileInstruction=function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],b=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.targetShadowDOM=a,this.compileSurrogate=b,this.associatedModuleId=null};Za.normal=new Za;var $a=a.BehaviorInstruction=function(){function a(){this.initiatedByBehavior=!1,this.enhance=!1,this.partReplacements=null,this.viewFactory=null,this.originalAttrName=null,this.skipContentProcessing=!1,this.contentFactory=null,this.viewModel=null,this.anchorIsContainer=!1,this.host=null,this.attributes=null,this.type=null,this.attrName=null,this.inheritBindingContext=!1}return a.enhance=function(){var b=new a;return b.enhance=!0,b},a.unitTest=function(b,c){var d=new a;return d.type=b,d.attributes=c||{},d},a.element=function(b,c){var d=new a;return d.type=c,d.attributes={},d.anchorIsContainer=!(b.hasAttribute("containerless")||c.containerless),d.initiatedByBehavior=!0,d},a.attribute=function(b,c){var d=new a;return d.attrName=b,d.type=c||null,d.attributes={},d},a.dynamic=function(b,c,d){var e=new a;return e.host=b,e.viewModel=c,e.viewFactory=d,e.inheritBindingContext=!0,e},a}();$a.normal=new $a;var _a=a.TargetInstruction=(ja=ia=function(){function a(){this.injectorId=null,this.parentInjectorId=null,this.shadowSlot=!1,this.slotName=null,this.slotFallbackFactory=null,this.contentExpression=null,this.expressions=null,this.behaviorInstructions=null,this.providers=null,this.viewFactory=null,this.anchorIsContainer=!1,this.elementInstruction=null,this.lifting=!1,this.values=null}return a.shadowSlot=function(b){var c=new a;return c.parentInjectorId=b,c.shadowSlot=!0,c},a.contentExpression=function(b){var c=new a;return c.contentExpression=b,c},a.lifting=function(b,c){var d=new a;return d.parentInjectorId=b,d.expressions=a.noExpressions,d.behaviorInstructions=[c],d.viewFactory=c.viewFactory,d.providers=[c.type.target],d.lifting=!0,d},a.normal=function(b,c,d,e,f,g){var h=new a;return h.injectorId=b,h.parentInjectorId=c,h.providers=d,h.behaviorInstructions=e,h.expressions=f,h.anchorIsContainer=!g||g.anchorIsContainer,h.elementInstruction=g,h},a.surrogate=function(b,c,d,e){var f=new a;return f.expressions=d,f.behaviorInstructions=c,f.providers=b,f.values=e,f},a}(),ia.noExpressions=Object.freeze([]),ja),ab=a.viewStrategy=c.protocol.create("aurelia:view-strategy",{validate:function(a){return"function"==typeof a.loadViewFactory||"View strategies must implement: loadViewFactory(viewEngine: ViewEngine, compileInstruction: ViewCompileInstruction, loadContext?: ResourceLoadContext): Promise"},compose:function(a){"function"!=typeof a.makeRelativeTo&&(a.makeRelativeTo=d.PLATFORM.noop)}}),bb=a.RelativeViewStrategy=(ka=ab(),ka(la=function(){function a(a){this.path=a,this.absolutePath=null}return a.prototype.loadViewFactory=function(a,b,c,d){return null===this.absolutePath&&this.moduleId&&(this.absolutePath=(0,e.relativeToFile)(this.path,this.moduleId)),b.associatedModuleId=this.moduleId,a.loadViewFactory(this.absolutePath||this.path,b,c,d)},a.prototype.makeRelativeTo=function(a){null===this.absolutePath&&(this.absolutePath=(0,e.relativeToFile)(this.path,a))},a}())||la),cb=a.ConventionalViewStrategy=(ma=ab(),ma(na=function(){function a(a,b){this.moduleId=b.moduleId,this.viewUrl=a.convertOriginToViewUrl(b)}return a.prototype.loadViewFactory=function(a,b,c,d){return b.associatedModuleId=this.moduleId,a.loadViewFactory(this.viewUrl,b,c,d)},a}())||na),db=a.NoViewStrategy=(oa=ab(),oa(pa=function(){function a(a,b){this.dependencies=a||null,this.dependencyBaseUrl=b||""}return a.prototype.loadViewFactory=function(a,b,c,d){var e=this.entry,g=this.dependencies;if(e&&e.factoryIsReady)return Promise.resolve(null);if(this.entry=e=new f.TemplateRegistryEntry(this.moduleId||this.dependencyBaseUrl),e.dependencies=[],e.templateIsLoaded=!0,null!==g)for(var h=0,i=g.length;h=d&&h!==a))return f.splice(i,0,b),k}return e.auProjectionChildren.push(b),e}}return this.anchor},a.prototype.projectTo=function(a){this.destinationSlots=a},a.prototype.projectFrom=function(a,b){var c=d.DOM.createComment("anchor"),e=this.anchor.parentNode;c.auSlotProjectFrom=b,c.auOwnerView=a,c.auProjectionChildren=[],e.insertBefore(c,this.anchor),this.children.push(c),null===this.projectFromAnchors&&(this.projectFromAnchors=[]),this.projectFromAnchors.push(c)},a.prototype.renderFallbackContent=function(a,b,c,d){if(null===this.contentView&&(this.contentView=this.fallbackFactory.create(this.ownerView.container),this.contentView.bind(this.ownerView.bindingContext,this.ownerView.overrideContext),this.contentView.insertNodesBefore(this.anchor)),this.contentView.hasSlots){var e=this.contentView.slots,f=this.projectFromAnchors;if(null!==f)for(var g in e)for(var h=e[g],i=0,j=f.length;i2&&void 0!==arguments[2]?arguments[2]:Qa.instance;this.anchor=a,this.anchorIsContainer=b,this.bindingContext=null,this.overrideContext=null,this.animator=c,this.children=[],this.isBound=!1,this.isAttached=!1,this.contentSelectors=null,a.viewSlot=this,a.isContentProjectionSource=!1}return a.prototype.animateView=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"enter",c=q(a);if(null!==c)switch(b){case"enter":return this.animator.enter(c);case"leave":return this.animator.leave(c);default:throw new Error("Invalid animation direction: "+b)}},a.prototype.transformChildNodesIntoView=function(){var a=this.anchor;this.children.push({fragment:a,firstChild:a.firstChild,lastChild:a.lastChild,returnToCache:function(){},removeNodes:function(){for(var b=void 0;b=a.lastChild;)a.removeChild(b)},created:function(){},bind:function(){},unbind:function(){},attached:function(){},detached:function(){}})},a.prototype.bind=function(a,b){var c=void 0,d=void 0,e=void 0;if(this.isBound){if(this.bindingContext===a)return;this.unbind()}for(this.isBound=!0,this.bindingContext=a=a||this.bindingContext,this.overrideContext=b=b||this.overrideContext,e=this.children,c=0,d=e.length;c=d?this.add(b):(b.insertNodesBefore(c[a].firstChild),c.splice(a,0,b),this.isAttached?(b.attached(),this.animateView(b,"enter")):void 0)},a.prototype.move=function(a,b){if(a!==b){var c=this.children,d=c[a];d.removeNodes(),d.insertNodesBefore(c[b].firstChild),c.splice(a,1),c.splice(b,0,d)}},a.prototype.remove=function(a,b,c){return this.removeAt(this.children.indexOf(a),b,c)},a.prototype.removeMany=function(a,b,c){var d=this,e=this.children,f=a.length,g=void 0,h=[];a.forEach(function(a){if(c)return void a.removeNodes();var b=d.animateView(a,"leave");b?h.push(b.then(function(){return a.removeNodes()})):a.removeNodes()});var i=function(){if(d.isAttached)for(g=0;g=0&&e.splice(c,1)}};return h.length>0?Promise.all(h).then(function(){return i()}):i()},a.prototype.removeAt=function(a,b,c){var d=this,e=this.children[a],f=function(){return a=d.children.indexOf(e),e.removeNodes(),d.children.splice(a,1),d.isAttached&&e.detached(),b&&e.returnToCache(),e};if(!c){var g=this.animateView(e,"leave");if(g)return g.then(function(){return f()})}return f()},a.prototype.removeAll=function(a,b){var c=this,d=this.children,e=d.length,f=void 0,g=[];d.forEach(function(a){if(b)return void a.removeNodes();var d=c.animateView(a,"leave");d?g.push(d.then(function(){return a.removeNodes()})):a.removeNodes()});var h=function(){if(c.isAttached)for(f=0;f0?Promise.all(g).then(function(){return h()}):h()},a.prototype.attached=function(){var a=void 0,b=void 0,c=void 0,d=void 0;if(!this.isAttached)for(this.isAttached=!0,c=this.children,a=0,b=c.length;a=this.children.length?this.add(b):(mb.distributeView(b,this.projectToSlots,this,a),this.children.splice(a,0,b),this.isAttached&&b.attached())},a.prototype._projectionMove=function(a,b){if(a!==b){var c=this.children,d=c[a];mb.undistributeView(d,this.projectToSlots,this),mb.distributeView(d,this.projectToSlots,this,b),c.splice(a,1),c.splice(b,0,d)}},a.prototype._projectionRemove=function(a,b){mb.undistributeView(a,this.projectToSlots,this),this.children.splice(this.children.indexOf(a),1),this.isAttached&&a.detached()},a.prototype._projectionRemoveAt=function(a,b){var c=this.children[a];mb.undistributeView(c,this.projectToSlots,this),this.children.splice(a,1),this.isAttached&&c.detached()},a.prototype._projectionRemoveMany=function(a,b){var c=this;a.forEach(function(a){return c.remove(a,b)})},a.prototype._projectionRemoveAll=function(a){mb.undistributeAll(this.projectToSlots,this);var b=this.children;if(this.isAttached)for(var c=0,d=b.length;c0?this.cache=[]:this.cache=null,this.isCaching=this.cacheSize>0},a.prototype.getCachedView=function(){return null!==this.cache?this.cache.pop()||null:null},a.prototype.returnViewToCache=function(a){a.isAttached&&a.detached(),a.isBound&&a.unbind(),null!==this.cache&&this.cache.length0&&(a.splice(b-1,2),b-=2)}}}function c(a,c){var d=c&&c.split("/"),e=a.trim().split("/");if("."===e[0].charAt(0)&&d){var f=d.slice(0,d.length-1);e.unshift.apply(e,f)}return b(e),e.join("/")}function d(a,b){if(!a)return b;if(!b)return a;var c=a.match(/^([^\/]*?:)\//),d=c&&c.length>0?c[1]:"";a=a.substr(d.length);var e=void 0;e=0===a.indexOf("///")&&"file:"===d?"///":0===a.indexOf("//")?"//":0===a.indexOf("/")?"/":"";for(var f="/"===b.slice(-1)?"/":"",g=a.split("/"),h=b.split("/"),i=[],j=0,k=g.length;j=2){var l=f[1]?decodeURIComponent(f[1]):"";k?h(b,j,l):b[i]=g(b[i],l)}else b[i]=!0}}return b}Object.defineProperty(a,"__esModule",{value:!0}),a.relativeToFile=c,a.join=d,a.buildQueryString=f,a.parseQueryString=i;var j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},k=encodeURIComponent,l=function(a){return k(a).replace("%24","$")}})}(),function(){var a=System.amdDefine;a("npm:aurelia-path@1.1.1.js",["npm:aurelia-path@1.1.1/aurelia-path"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js",["exports","aurelia-path"],function(a,b){"use strict";function c(a,b,c,d){var e=a;"/"===a.charAt(0)&&(e=a.substr(1));for(var f=[],g=e.split("/"),h=0,i=g.length;h0;)h();return c}function f(a,b,c){for(var d=a.handlers,e=a.regex,f=b.match(e),g=1,h=new o(c),i=0,j=d.length;i=b.length)break;e=b[d++]}else{if(d=b.next(),d.done)break;e=d.value}var f=e,g=f.charSpec.validChars===a.validChars&&f.charSpec.invalidChars===a.invalidChars;if(g)return f}},a.prototype.put=function(b){var c=this.get(b);return c?c:(c=new a(b),this.nextStates.push(c),b.repeat&&c.nextStates.push(c),c)},a.prototype.match=function(a){for(var b=this.nextStates,c=[],d=0,e=b.length;d1&&"/"===i.charAt(l-1)&&(i=i.substr(0,l-1),h=!0);for(var m=0,n=i.length;m1?b-1:0),e=1;e=1?f(a):f()}function k(a){return function(c){b.metadata.define(b.metadata.invoker,a,c)}}function l(a){var c=function(a){b.metadata.define(b.metadata.invoker,R.instance,a)};return a?c(a):c}function m(a){return function(c){b.metadata.define(b.metadata.registration,a,c)}}function n(a){return m(new S(a))}function o(a){var b=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return m(new T(a,b))}function p(a){if(null===a||void 0===a)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function q(a,b,c,d){for(var e=c.length,f=new Array(e),g=void 0;e--;){if(g=c[e],null===g||void 0===g)throw new Error("Constructor Parameter with index "+e+" cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?");f[e]=a.get(g)}return void 0!==d&&(f=f.concat(d)),Reflect.construct(b,f)}function r(a){return a.hasOwnProperty("inject")?"function"==typeof a.inject?a.inject():a.inject:[]}function s(a){var c=function(a){var c=a.inject?a.inject.slice():null,d=b.metadata.getOwn(b.metadata.paramTypes,a)||U;if(c){for(var e=0;e-1&&c.splice(f,1),c.splice(f>-1&&f1?b-1:0),d=1;d0?this.dynamicDependencies.map(function(b){return b["protocol:aurelia:resolver"]?b.get(a):a.get(b)}):void 0,c=a.invoke(this.key,b);return a.registerInstance(this.asKey,c),c},a.prototype.as=function(a){return this.asKey=a,this},a.of=function(b){for(var c=arguments.length,d=Array(c>1?c-1:0),e=1;e2&&void 0!==arguments[2]&&arguments[2];return b||"#"===a[0]||(a="#"+a),b&&c&&(a=a.substring(1,a.length)),a}function k(a,b,c,d){if(M.test(a))return a;var e="";return b.length&&"/"!==b[0]&&(e+="/"),e+=b,e.length&&"/"===e[e.length-1]||"/"===a[0]||(e+="/"),e.length&&"/"===e[e.length-1]&&"/"===a[0]&&(e=e.substring(0,e.length-1)),j(e+a,c,d)}function l(a,b,c){return L.test(a)?j(a,c):k(a,b,c)}function m(a,b){return function(a){return Promise.resolve({status:b,output:a,completed:b===N.completed})}}function n(a){a.previousInstruction=null,a.plan=null}function o(a){return a&&"function"==typeof a.navigate}function p(a,b){var c=a.config;if("redirect"in c){var d=l(c.redirect,r(a));return a.queryString&&(d+="?"+a.queryString),Promise.reject(new S(d))}var e=a.previousInstruction,f={},g=a.router.viewPortDefaults;if(e){var h=q(e,a),i=[],j=function(d){var j=e.viewPortInstructions[d],k=d in c.viewPorts?c.viewPorts[d]:j;null===k.moduleId&&d in a.router.viewPortDefaults&&(k=g[d]);var l=f[d]={name:d,config:k,prevComponent:j.component,prevModuleId:j.moduleId};if(j.moduleId!==k.moduleId)l.strategy=U.replace;else if("determineActivationStrategy"in j.component.viewModel){var m;l.strategy=(m=j.component.viewModel).determineActivationStrategy.apply(m,a.lifecycleArgs)}else c.activationStrategy?l.strategy=c.activationStrategy:h||b?l.strategy=U.invokeLifecycle:l.strategy=U.noChange;if(l.strategy!==U.replace&&j.childRouter){var n=a.getWildcardPath(),o=j.childRouter._createNavigationInstruction(n,a).then(function(a){return l.childNavigationInstruction=a,p(a,l.strategy===U.invokeLifecycle).then(function(b){a.plan=b})});i.push(o)}};for(var k in e.viewPortInstructions)j(k);return Promise.all(i).then(function(){return f})}for(var k in c.viewPorts){var m=c.viewPorts[k];null===m.moduleId&&k in a.router.viewPortDefaults&&(m=g[k]),f[k]={name:k,strategy:U.replace,config:m}}return Promise.resolve(f)}function q(a,b){var c=a.params,d=b.params,e=b.config.hasChildRouter?b.getWildCardName():null;for(var f in d)if(f!==e&&c[f]!==d[f])return!0;for(var g in c)if(g!==e&&c[g]!==d[g])return!0;if(!b.options.compareQueryParams)return!1;var h=a.queryParams,i=b.queryParams;for(var j in i)if(h[j]!==i[j])return!0;for(var k in h)if(h[k]!==i[k])return!0;return!1}function r(a){var b=[];for(a=a.parentInstruction;a;)b.unshift(a.getBaseUrl()),a=a.parentInstruction;return b.unshift("/"),b.join("")}function s(a,b){if("object"!==("undefined"==typeof a?"undefined":J(a)))throw new Error("Invalid Route Config");if("string"!=typeof a.route){var c=a.name||"(no name)";throw new Error('Invalid Route Config for "'+c+'": You must specify a "route:" pattern.')}if(!("redirect"in a||a.moduleId||a.navigationStrategy||a.viewPorts))throw new Error('Invalid Route Config for "'+a.route+'": You must specify a "moduleId:", "redirect:", "navigationStrategy:", or "viewPorts:".')}function t(a,b,c){return Promise.resolve(b.call(c,a)).then(function(){return"viewPorts"in a.config||(a.config.viewPorts={default:{moduleId:a.config.moduleId}}),a})}function u(a,b,c,d){function e(a){return d||z(a)?f():c.cancel(a)}function f(){if(i--)try{var d=h[i],f=d[b](a);return A(f,e,c.cancel)}catch(a){return c.cancel(a)}return c()}var g=a.plan,h=v(g,b),i=h.length;return f()}function v(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(var d in a){var e=a[d],f=e.prevComponent;if((e.strategy===U.invokeLifecycle||e.strategy===U.replace)&&f){var g=f.viewModel;b in g&&c.push(g)}e.strategy===U.replace&&f?w(f,b,c):e.childNavigationInstruction&&v(e.childNavigationInstruction.plan,b,c)}return c}function w(a,b,c){var d=a.childRouter;if(d&&d.currentInstruction){var e=d.currentInstruction.viewPortInstructions;for(var f in e){var g=e[f],h=g.component,i=h.viewModel;b in i&&c.push(i),w(h,b,c)}}}function x(a,b,c,d){function e(a,b){return d||z(a,b)?f():c.cancel(a)}function f(){if(i++,i2&&void 0!==arguments[2]?arguments[2]:[],d=arguments[3],e=a.plan;return Object.keys(e).filter(function(f){var g=e[f],h=a.viewPortInstructions[f],i=h.component.viewModel;(g.strategy===U.invokeLifecycle||g.strategy===U.replace)&&b in i&&c.push({viewModel:i,lifecycleArgs:h.lifecycleArgs,router:d}),g.childNavigationInstruction&&y(g.childNavigationInstruction,b,c,h.component.childRouter||d)}),c}function z(a,b){return!(a instanceof Error)&&(o(a)?("function"==typeof a.setRouter&&a.setRouter(b),!!a.shouldContinueProcessing):void 0===a||a)}function A(a,b,c){if(a&&"function"==typeof a.then)return Promise.resolve(a).then(b).catch(c);if(a&&"function"==typeof a.subscribe){var d=a;return new _(function(e){return d.subscribe({next:function(){e.subscribed&&(e.unsubscribe(),b(a))},error:function(a){e.subscribed&&(e.unsubscribe(),c(a))},complete:function(){e.subscribed&&(e.unsubscribe(),b(a))}})})}try{return b(a)}catch(a){return c(a)}}function B(a,b){var c=C(b),d=c.map(function(b){return D(a,b.navigationInstruction,b.viewPortPlan)});return Promise.all(d)}function C(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=a.plan;for(var d in c){var e=c[d];if(e.strategy===U.replace)b.push({viewPortPlan:e,navigationInstruction:a}),e.childNavigationInstruction&&C(e.childNavigationInstruction,b);else{var f=a.addViewPortInstruction(d,e.strategy,e.prevModuleId,e.prevComponent);e.childNavigationInstruction&&(f.childNavigationInstruction=e.childNavigationInstruction,C(e.childNavigationInstruction,b))}}return b}function D(a,b,c){var d=c.config?c.config.moduleId:null;return E(a,b,c.config).then(function(e){var f=b.addViewPortInstruction(c.name,c.strategy,d,e),g=e.childRouter; +if(g){var h=b.getWildcardPath();return g._createNavigationInstruction(h,b).then(function(b){return c.childNavigationInstruction=b,p(b).then(function(c){return b.plan=c,f.childNavigationInstruction=b,B(a,b)})})}})}function E(a,b,c){var d=b.router,e=b.lifecycleArgs;return a.loadRoute(d,c,b).then(function(a){var b=a.viewModel,f=a.childContainer;if(a.router=d,a.config=c,"configureRouter"in b){var g=f.getChildRouter();return a.childRouter=g,g.configure(function(a){return b.configureRouter.apply(b,[a,g].concat(e))}).then(function(){return a})}return a})}function F(a,b,c,d){b&&"completed"in b&&"output"in b||(b=b||{},b.output=new Error("Expected router pipeline to return a navigation result, but got ["+JSON.stringify(b)+"] instead."));var e=null;return o(b.output)?b.output.navigate(d):(e=b,b.completed||(b.output instanceof Error&&ea.error(b.output),H(d))),d._dequeueInstruction(c+1).then(function(a){return e||a||b})}function G(a,b,c,d){a.resolve(b);var e={instruction:a,result:b};if(c)d.events.publish("router:navigation:child:complete",e);else{d.isNavigating=!1,d.isExplicitNavigation=!1,d.isExplicitNavigationBack=!1,d.isNavigatingFirst=!1,d.isNavigatingNew=!1,d.isNavigatingRefresh=!1,d.isNavigatingForward=!1,d.isNavigatingBack=!1;var f=void 0;if(b.output instanceof Error)f="error";else if(b.completed){var g=a.queryString?"?"+a.queryString:"";d.history.previousLocation=a.fragment+g,f="success"}else f="canceled";d.events.publish("router:navigation:"+f,e),d.events.publish("router:navigation:complete",e)}return b}function H(a){var b=a.history.previousLocation;b?a.navigate(a.history.previousLocation,{trigger:!1,replace:!0}):a.fallbackRoute?a.navigate(a.fallbackRoute,{trigger:!0,replace:!0}):ea.error("Router navigation failed, and no previous location or fallbackRoute could be restored.")}Object.defineProperty(a,"__esModule",{value:!0}),a.AppRouter=a.PipelineProvider=a.LoadRouteStep=a.RouteLoader=a.ActivateNextStep=a.DeactivatePreviousStep=a.CanActivateNextStep=a.CanDeactivatePreviousStep=a.Router=a.BuildNavigationPlanStep=a.activationStrategy=a.RouterConfiguration=a.RedirectToRoute=a.Redirect=a.NavModel=a.NavigationInstruction=a.CommitChangesStep=a.Pipeline=a.pipelineStatus=void 0,a._normalizeAbsolutePath=j,a._createRootedPath=k,a._resolveUrl=l,a.isNavigationCommand=o,a._buildNavigationPlan=p;var I=g(b),J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},K=function(){function a(a,b){for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:" | ",b="",c=[];this.config.navModel.title&&(b=this.router.transformTitle(this.config.navModel.title));for(var d in this.viewPortInstructions){var e=this.viewPortInstructions[d];if(e.childNavigationInstruction){var f=e.childNavigationInstruction._buildTitle(a);f&&c.push(f)}}return c.length&&(b=c.join(a)+(b?a:"")+b),this.router.title&&(b+=(b?a:"")+this.router.transformTitle(this.router.title)),b},a}(),R=a.NavModel=function(){function a(a,b){this.isActive=!1,this.title=null,this.href=null,this.relativeHref=null,this.settings={},this.config=null,this.router=a,this.relativeHref=b}return a.prototype.setTitle=function(a){this.title=a,this.isActive&&this.router.updateTitle()},a}(),S=a.Redirect=function(){function a(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.url=a,this.options=Object.assign({trigger:!0,replace:!0},b),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigate(this.url,this.options)},a}(),T=(a.RedirectToRoute=function(){function a(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.route=a,this.params=b,this.options=Object.assign({trigger:!0,replace:!0},c),this.shouldContinueProcessing=!1}return a.prototype.setRouter=function(a){this.router=a},a.prototype.navigate=function(a){var b=this.options.useAppRouter?a:this.router||a;b.navigateToRoute(this.route,this.params,this.options)},a}(),a.RouterConfiguration=function(){function a(){this.instructions=[],this.options={},this.pipelineSteps=[]}return a.prototype.addPipelineStep=function(a,b){return this.pipelineSteps.push({name:a,step:b}),this},a.prototype.addAuthorizeStep=function(a){return this.addPipelineStep("authorize",a)},a.prototype.addPreActivateStep=function(a){return this.addPipelineStep("preActivate",a)},a.prototype.addPreRenderStep=function(a){return this.addPipelineStep("preRender",a)},a.prototype.addPostRenderStep=function(a){return this.addPipelineStep("postRender",a)},a.prototype.fallbackRoute=function(a){return this._fallbackRoute=a,this},a.prototype.map=function(a){return Array.isArray(a)?(a.forEach(this.map.bind(this)),this):this.mapRoute(a)},a.prototype.useViewPortDefaults=function(a){return this.viewPortDefaults=a,this},a.prototype.mapRoute=function(a){return this.instructions.push(function(b){var c=[];if(Array.isArray(a.route))for(var d=0,e=a.route.length;d2&&void 0!==arguments[2]?arguments[2]:{},d=this._recognizer.hasRoute(a);if((!this.isConfigured||!d)&&this.parent)return this.parent.generate(a,b);if(!d)throw new Error("A route with name '"+a+"' could not be found. Check that `name: '"+a+"'` was specified in the route's config.");var e=this._recognizer.generate(a,b),f=k(e,this.baseUrl,this.history._hasPushState,c.absolute);return c.absolute?""+this.history.getAbsoluteRoot()+f:f},a.prototype.createNavModel=function(a){var b=new R(this,"href"in a?a.href:a.route);return b.title=a.title,b.order=a.nav,b.href=a.href,b.settings=a.settings,b.config=a,b},a.prototype.addRoute=function(a,b){s(a,this.routes),"viewPorts"in a||a.navigationStrategy||(a.viewPorts={default:{moduleId:a.moduleId,view:a.view}}),b||(b=this.createNavModel(a)),this.routes.push(a);var c=a.route;"/"===c.charAt(0)&&(c=c.substr(1));var d=a.caseSensitive===!0,e=this._recognizer.add({path:c,handler:a,caseSensitive:d});if(c){var f=a.settings;delete a.settings;var g=JSON.parse(JSON.stringify(a));a.settings=f,g.route=c+"/*childRoute",g.hasChildRouter=!0,this._childRecognizer.add({path:g.route,handler:g,caseSensitive:d}),g.navModel=b,g.settings=a.settings,g.navigationStrategy=a.navigationStrategy}if(a.navModel=b,(b.order||0===b.order)&&this.navigation.indexOf(b)===-1){if(!b.href&&""!==b.href&&(e.types.dynamics||e.types.stars))throw new Error('Invalid route config for "'+a.route+'" : dynamic routes must specify an "href:" to be included in the navigation model.');"number"!=typeof b.order&&(b.order=++this._fallbackOrder),this.navigation.push(b),this.navigation=this.navigation.sort(function(a,b){return a.order-b.order})}},a.prototype.hasRoute=function(a){return!!(this._recognizer.hasRoute(a)||this.parent&&this.parent.hasRoute(a))},a.prototype.hasOwnRoute=function(a){return this._recognizer.hasRoute(a)},a.prototype.handleUnknownRoutes=function(a){var b=this;if(!a)throw new Error("Invalid unknown route handler");this.catchAllHandler=function(c){return b._createRouteConfig(a,c).then(function(a){return c.config=a,c})}},a.prototype.updateTitle=function(){return this.parent?this.parent.updateTitle():void(this.currentInstruction&&this.currentInstruction._updateTitle())},a.prototype.refreshNavigation=function(){for(var a=this.navigation,b=0,c=a.length;b0&&void 0!==arguments[0]?arguments[0]:"",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=a,d="",e=a.indexOf("?");e!==-1&&(c=a.substr(0,e),d=a.substr(e+1));var f=this._recognizer.recognize(a);f&&f.length||(f=this._childRecognizer.recognize(a));var g={fragment:c,queryString:d,config:null,parentInstruction:b,previousInstruction:this.currentInstruction,router:this,options:{compareQueryParams:this.options.compareQueryParams}};if(f&&f.length){var h=f[0],i=new Q(Object.assign({},g,{params:h.params,queryParams:h.queryParams||f.queryParams,config:h.config||h.handler}));return"function"==typeof h.handler?t(i,h.handler,h):h.handler&&"function"==typeof h.handler.navigationStrategy?t(i,h.handler.navigationStrategy,h.handler):Promise.resolve(i)}if(this.catchAllHandler){var j=new Q(Object.assign({},g,{params:{path:c},queryParams:f?f.queryParams:{},config:null}));return t(j,this.catchAllHandler)}if(this.parent){var k=this._parentCatchAllHandler(this.parent);if(k){var l=this._findParentInstructionFromRouter(k,b),m=new Q(Object.assign({},g,{params:{path:c},queryParams:f?f.queryParams:{},router:k,parentInstruction:l,parentCatchHandler:!0,config:null}));return t(m,k.catchAllHandler)}}return Promise.reject(new Error("Route not found: "+a))},a.prototype._findParentInstructionFromRouter=function(a,b){return b.router===a?(b.fragment=a.baseUrl,b):b.parentInstruction?this._findParentInstructionFromRouter(a,b.parentInstruction):void 0},a.prototype._parentCatchAllHandler=function(a){return a.catchAllHandler?a:!!a.parent&&this._parentCatchAllHandler(a.parent)},a.prototype._createRouteConfig=function(a,b){var c=this;return Promise.resolve(a).then(function(a){return"string"==typeof a?{moduleId:a}:"function"==typeof a?a(b):a}).then(function(a){return"string"==typeof a?{moduleId:a}:a}).then(function(a){return a.route=b.params.path,s(a,c.routes),a.navModel||(a.navModel=c.createNavModel(a)),a})},K(a,[{key:"isRoot",get:function(){return!this.parent}}]),a}(),X=a.CanDeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a,"canDeactivate",b)},a}(),Y=a.CanActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"canActivate",b)},a}(),Z=a.DeactivatePreviousStep=function(){function a(){}return a.prototype.run=function(a,b){return u(a,"deactivate",b,!0)},a}(),$=a.ActivateNextStep=function(){function a(){}return a.prototype.run=function(a,b){return x(a,"activate",b,!0)},a}(),_=function(){function a(a){this._subscribed=!0,this._subscription=a(this),this._subscribed||this.unsubscribe()}return a.prototype.unsubscribe=function(){this._subscribed&&this._subscription&&this._subscription.unsubscribe(),this._subscribed=!1},K(a,[{key:"subscribed",get:function(){return this._subscribed}}]),a}(),aa=a.RouteLoader=function(){function a(){}return a.prototype.loadRoute=function(a,b,c){throw Error('Route loaders must implement "loadRoute(router, config, navigationInstruction)".')},a}(),ba=a.LoadRouteStep=function(){function a(a){this.routeLoader=a}return a.inject=function(){return[aa]},a.prototype.run=function(a,b){return B(this.routeLoader,a).then(b).catch(b.cancel)},a}(),ca=function(){function a(a,b,c){this.steps=[],this.container=a,this.slotName=b,this.slotAlias=c}return a.prototype.getSteps=function(){var a=this;return this.steps.map(function(b){return a.container.get(b)})},a}(),da=a.PipelineProvider=function(){function a(a){this.container=a,this.steps=[V,X,ba,this._createPipelineSlot("authorize"),Y,this._createPipelineSlot("preActivate","modelbind"),Z,$,this._createPipelineSlot("preRender","precommit"),P,this._createPipelineSlot("postRender","postcomplete")]}return a.inject=function(){return[d.Container]},a.prototype.createPipeline=function(){var a=this,b=new O;return this.steps.forEach(function(c){return b.addStep(a.container.get(c))}),b},a.prototype._findStep=function(a){return this.steps.find(function(b){return b.slotName===a||b.slotAlias===a})},a.prototype.addStep=function(a,b){var c=this._findStep(a);if(!c)throw new Error("Invalid pipeline slot name: "+a+".");c.steps.includes(b)||c.steps.push(b)},a.prototype.removeStep=function(a,b){var c=this._findStep(a);c&&c.steps.splice(c.steps.indexOf(b),1)},a.prototype._clearSteps=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",b=this._findStep(a);b&&(b.steps=[])},a.prototype.reset=function(){this._clearSteps("authorize"),this._clearSteps("preActivate"),this._clearSteps("preRender"),this._clearSteps("postRender")},a.prototype._createPipelineSlot=function(a,b){return new ca(this.container,a,b)},a}(),ea=I.getLogger("app-router");a.AppRouter=function(a){function b(b,c,d,e){var f=h(this,a.call(this,b,c));return f.pipelineProvider=d,f.events=e,f}return i(b,a),b.inject=function(){return[d.Container,e.History,da,f.EventAggregator]},b.prototype.reset=function(){a.prototype.reset.call(this),this.maxInstructionCount=10,this._queue?this._queue.length=0:this._queue=[]},b.prototype.loadUrl=function(a){var b=this;return this._createNavigationInstruction(a).then(function(a){return b._queueInstruction(a)}).catch(function(a){ea.error(a),H(b)})},b.prototype.registerViewPort=function(b,c){var d=this;if(a.prototype.registerViewPort.call(this,b,c),this.isActive)this._dequeueInstruction();else{var e=this._findViewModel(b);if("configureRouter"in e){if(!this.isConfigured){var f=this._resolveConfiguredPromise;return this._resolveConfiguredPromise=function(){},this.configure(function(a){return e.configureRouter(a,d)}).then(function(){d.activate(),f()})}}else this.activate()}return Promise.resolve()},b.prototype.activate=function(a){this.isActive||(this.isActive=!0,this.options=Object.assign({routeHandler:this.loadUrl.bind(this)},this.options,a),this.history.activate(this.options),this._dequeueInstruction())},b.prototype.deactivate=function(){this.isActive=!1,this.history.deactivate()},b.prototype._queueInstruction=function(a){var b=this;return new Promise(function(c){a.resolve=c,b._queue.unshift(a),b._dequeueInstruction()})},b.prototype._dequeueInstruction=function(){var a=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Promise.resolve().then(function(){if(!a.isNavigating||b){var c=a._queue.shift();if(a._queue.length=0,c){a.isNavigating=!0;var d=a.history.getState("NavigationTracker");if(d||a.currentNavigationTracker?d?a.currentNavigationTracker?a.currentNavigationTrackerd&&(a.isNavigatingBack=!0):a.isNavigatingRefresh=!0:a.isNavigatingNew=!0:(a.isNavigatingFirst=!0,a.isNavigatingNew=!0),d||(d=Date.now(),a.history.setState("NavigationTracker",d)),a.currentNavigationTracker=d,c.previousInstruction=a.currentInstruction,b){if(b===a.maxInstructionCount-1)return ea.error(b+1+" navigation instructions have been attempted without success. Restoring last known good location."),H(a),a._dequeueInstruction(b+1);if(b>a.maxInstructionCount)throw new Error("Maximum navigation attempts exceeded. Giving up.")}else a.events.publish("router:navigation:processing",{instruction:c});var e=a.pipelineProvider.createPipeline();return e.run(c).then(function(d){return F(c,d,b,a)}).catch(function(a){return{output:a instanceof Error?a:new Error(a)}}).then(function(d){return G(c,d,!!b,a)})}}})},b.prototype._findViewModel=function(a){if(this.container.viewModel)return this.container.viewModel;if(a.container)for(var b=a.container;b;){if(b.viewModel)return this.container.viewModel=b.viewModel,b.viewModel;b=b.parent}},b}(W)})}(),function(){var a=System.amdDefine;a("npm:aurelia-router@1.5.0.js",["npm:aurelia-router@1.5.0/aurelia-router"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.7.0/aurelia-pal.js",["exports"],function(a){"use strict";function b(a,b,c){if(b){if(b.innerError&&c)return b;var d="\n------------------------------------------------\n";a+=d+"Inner Error:\n","string"==typeof b?a+="Message: "+b:(a+=b.message?"Message: "+b.message:"Unknown Inner Error Type. Displaying Inner Error as JSON:\n "+JSON.stringify(b,null," "),b.stack&&(a+="\nInner Error Stack:\n"+b.stack,a+="\nEnd Inner Error Stack")),a+=d}var e=new Error(a);return b&&(e.innerError=b),e}function c(b){h||(a.isInitialized=h=!0,"function"!=typeof Object.getPropertyDescriptor&&(Object.getPropertyDescriptor=function(a,b){for(var c=Object.getOwnPropertyDescriptor(a,b),d=Object.getPrototypeOf(a);"undefined"==typeof c&&null!==d;)c=Object.getOwnPropertyDescriptor(d,b),d=Object.getPrototypeOf(d);return c}),b(f,e,g))}function d(){a.isInitialized=h=!1}Object.defineProperty(a,"__esModule",{value:!0}),a.AggregateError=b,a.initializePAL=c,a.reset=d;var e=a.FEATURE={},f=a.PLATFORM={noop:function(){},eachModule:function(){},moduleName:function(a){function b(b){return a.apply(this,arguments)}return b.toString=function(){return a.toString()},b}(function(a){return a})};f.global=function(){return"undefined"!=typeof self?self:"undefined"!=typeof global?global:new Function("return this")()}();var g=a.DOM={},h=a.isInitialized=!1})}(),function(){var a=System.amdDefine;a("npm:aurelia-pal@1.7.0.js",["npm:aurelia-pal@1.7.0/aurelia-pal"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.4.0/aurelia-logging.js",["exports"],function(a){"use strict";function b(a){return u.filter(function(b){return b===a}).length>0}function c(){return[this].concat(Array.prototype.slice.call(arguments))}function d(a){var b=q[a];return function(){if(!(this.level0?f():v.prototype[a]=function(){}}function n(a){if(void 0!==q[a]){if(b(a))throw Error('Built-in log level "'+a+'" cannot be removed.');delete q[a],delete v.prototype[a]}}function o(a){t=a;for(var b in r)r[b].setLevel(a)}function p(){return t}Object.defineProperty(a,"__esModule",{value:!0}),a.getLogger=h,a.addAppender=i,a.removeAppender=j,a.getAppenders=k,a.clearAppenders=l,a.addCustomLevel=m,a.removeCustomLevel=n,a.setLevel=o,a.getLevel=p;var q=a.logLevel={none:0,error:10,warn:20,info:30,debug:40},r={},s=[],t=q.none,u=["none","error","warn","info","debug"],v=a.Logger=function(){function a(a){var b=r[a];return b?b:(r[a]=this,this.id=a,void(this.level=t))}return a.prototype.debug=function(a){},a.prototype.info=function(a){},a.prototype.warn=function(a){},a.prototype.error=function(a){},a.prototype.setLevel=function(a){this.level=a},a}()})}(),function(){var a=System.amdDefine;a("npm:aurelia-logging@1.4.0.js",["npm:aurelia-logging@1.4.0/aurelia-logging"],function(a){return a})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.3.1/route-href.js",["exports","aurelia-templating","aurelia-dependency-injection","aurelia-router","aurelia-pal","aurelia-logging"],function(a,b,c,d,e,f){"use strict";function g(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}Object.defineProperty(a,"__esModule",{value:!0}),a.RouteHref=void 0;var h,i,j,k,l,m,n=g(f),o=n.getLogger("route-href");a.RouteHref=(h=(0,b.customAttribute)("route-href"),i=(0,b.bindable)({name:"route",changeHandler:"processChange",primaryProperty:!0}),j=(0,b.bindable)({name:"params",changeHandler:"processChange"}),k=(0,b.bindable)({name:"attribute",defaultValue:"href"}),l=(0,c.inject)(d.Router,e.DOM.Element),h(m=i(m=j(m=k(m=l(m=function(){function a(a,b){this.router=a,this.element=b}return a.prototype.bind=function(){this.isActive=!0,this.processChange()},a.prototype.unbind=function(){this.isActive=!1},a.prototype.attributeChanged=function(a,b){b&&this.element.removeAttribute(b),this.processChange()},a.prototype.processChange=function(){var a=this;return this.router.ensureConfigured().then(function(){if(!a.isActive)return null;var b=a.router.generate(a.route,a.params);return a.element.au.controller?a.element.au.controller.viewModel[a.attribute]=b:a.element.setAttribute(a.attribute,b),null}).catch(function(a){o.error(a)})},a}())||m)||m)||m)||m)||m)})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.3.1/aurelia-templating-router.js",["exports","aurelia-pal","aurelia-router","./route-loader","./router-view","./route-href"],function(a,b,c,d,e,f){"use strict";function g(a){a.singleton(c.RouteLoader,d.TemplatingRouteLoader).singleton(c.Router,c.AppRouter).globalResources(b.PLATFORM.moduleName("./router-view"),b.PLATFORM.moduleName("./route-href")),a.container.registerAlias(c.Router,c.AppRouter)}Object.defineProperty(a,"__esModule",{value:!0}),a.configure=a.RouteHref=a.RouterView=a.TemplatingRouteLoader=void 0,a.TemplatingRouteLoader=d.TemplatingRouteLoader,a.RouterView=e.RouterView,a.RouteHref=f.RouteHref,a.configure=g})}(),function(){var a=System.amdDefine;a("npm:aurelia-templating-router@1.3.1.js",["npm:aurelia-templating-router@1.3.1/aurelia-templating-router"],function(a){return a})}(); \ No newline at end of file diff --git a/config.js b/config.js index 80f378d..02c1b7d 100644 --- a/config.js +++ b/config.js @@ -15,45 +15,45 @@ System.config({ }, map: { "aurelia-after-attached-plugin": "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3", - "aurelia-animator-css": "npm:aurelia-animator-css@1.0.2", - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "aurelia-animator-css": "npm:aurelia-animator-css@1.0.4", + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-fetch-client": "npm:aurelia-fetch-client@1.1.3", - "aurelia-framework": "npm:aurelia-framework@1.1.4", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0", - "aurelia-http-client": "npm:aurelia-http-client@1.1.1", - "aurelia-kendoui-bridge": "npm:aurelia-kendoui-bridge@1.6.5", + "aurelia-fetch-client": "npm:aurelia-fetch-client@1.3.1", + "aurelia-framework": "npm:aurelia-framework@1.2.0", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-history-browser": "npm:aurelia-history-browser@1.1.1", + "aurelia-http-client": "npm:aurelia-http-client@1.2.1", + "aurelia-kendoui-bridge": "npm:aurelia-kendoui-bridge@1.7.0", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-loader-default": "npm:aurelia-loader-default@1.0.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-loader-default": "npm:aurelia-loader-default@1.0.4", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-binding": "npm:aurelia-templating-binding@1.3.0", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0", - "aurelia-templating-router": "npm:aurelia-templating-router@1.1.0", + "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.1", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-binding": "npm:aurelia-templating-binding@1.4.1", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0", + "aurelia-templating-router": "npm:aurelia-templating-router@1.3.1", "babel": "npm:babel-core@5.8.38", "babel-runtime": "npm:babel-runtime@5.8.38", "core-js": "npm:core-js@0.9.18", - "css": "github:systemjs/plugin-css@0.1.36", + "css": "github:systemjs/plugin-css@0.1.37", "json": "github:systemjs/plugin-json@0.1.2", "text": "github:systemjs/plugin-text@0.0.7", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3": { - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, "github:jspm/nodelibs-assert@0.1.0": { "assert": "npm:assert@1.4.1" }, "github:jspm/nodelibs-buffer@0.1.1": { - "buffer": "npm:buffer@5.0.7" + "buffer": "npm:buffer@5.1.0" }, "github:jspm/nodelibs-process@0.1.2": { "process": "npm:process@0.11.10" @@ -70,147 +70,147 @@ System.config({ "process": "github:jspm/nodelibs-process@0.1.2", "util": "npm:util@0.10.3" }, - "npm:aurelia-animator-css@1.0.2": { + "npm:aurelia-animator-css@1.0.4": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-binding@1.2.2": { - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "npm:aurelia-binding@1.7.1": { + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1" }, "npm:aurelia-bootstrapper@1.0.1": { "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-framework": "npm:aurelia-framework@1.1.4", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0", - "aurelia-loader-default": "npm:aurelia-loader-default@1.0.2", + "aurelia-framework": "npm:aurelia-framework@1.2.0", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-history-browser": "npm:aurelia-history-browser@1.1.1", + "aurelia-loader-default": "npm:aurelia-loader-default@1.0.4", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-pal-browser": "npm:aurelia-pal-browser@1.3.0", - "aurelia-polyfills": "npm:aurelia-polyfills@1.2.2", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-binding": "npm:aurelia-templating-binding@1.3.0", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0", - "aurelia-templating-router": "npm:aurelia-templating-router@1.1.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-pal-browser": "npm:aurelia-pal-browser@1.7.0", + "aurelia-polyfills": "npm:aurelia-polyfills@1.3.0", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-binding": "npm:aurelia-templating-binding@1.4.1", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0", + "aurelia-templating-router": "npm:aurelia-templating-router@1.3.1" }, "npm:aurelia-dependency-injection@1.3.2": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, "npm:aurelia-event-aggregator@1.0.1": { - "aurelia-logging": "npm:aurelia-logging@1.3.1" + "aurelia-logging": "npm:aurelia-logging@1.4.0" }, - "npm:aurelia-framework@1.1.4": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-framework@1.2.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-history-browser@1.0.0": { - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-history-browser@1.1.1": { + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-http-client@1.1.1": { - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "npm:aurelia-http-client@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1" }, - "npm:aurelia-kendoui-bridge@1.6.5": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-kendoui-bridge@1.7.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0" }, - "npm:aurelia-loader-default@1.0.2": { + "npm:aurelia-loader-default@1.0.4": { "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, "npm:aurelia-loader@1.0.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-path": "npm:aurelia-path@1.1.1" }, "npm:aurelia-logging-console@1.0.0": { - "aurelia-logging": "npm:aurelia-logging@1.3.1" + "aurelia-logging": "npm:aurelia-logging@1.4.0" }, "npm:aurelia-metadata@1.0.3": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-pal-browser@1.3.0": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-pal-browser@1.7.0": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-polyfills@1.2.2": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-polyfills@1.3.0": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-route-recognizer@1.1.0": { + "npm:aurelia-route-recognizer@1.1.1": { "aurelia-path": "npm:aurelia-path@1.1.1" }, - "npm:aurelia-router@1.3.0": { + "npm:aurelia-router@1.5.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0" + "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.1" }, - "npm:aurelia-task-queue@1.2.0": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-task-queue@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-templating-binding@1.3.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "npm:aurelia-templating-binding@1.4.1": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating-resources@1.4.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating-resources@1.6.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating-router@1.1.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating-router@1.3.1": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating@1.4.2": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating@1.7.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1" }, "npm:babel-runtime@5.8.38": { "process": "github:jspm/nodelibs-process@0.1.2" }, - "npm:buffer@5.0.7": { - "base64-js": "npm:base64-js@1.2.1", - "ieee754": "npm:ieee754@1.1.8" + "npm:buffer@5.1.0": { + "base64-js": "npm:base64-js@1.2.3", + "ieee754": "npm:ieee754@1.1.11" }, "npm:core-js@0.9.18": { "fs": "github:jspm/nodelibs-fs@0.1.2", @@ -238,224 +238,228 @@ System.config({ "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3.js", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/aurelia-after-attached-plugin.js", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/index.js", - "github:systemjs/plugin-css@0.1.36.js", - "github:systemjs/plugin-css@0.1.36/css.js", + "github:systemjs/plugin-css@0.1.37.js", + "github:systemjs/plugin-css@0.1.37/css.js", "github:systemjs/plugin-json@0.1.2.js", "github:systemjs/plugin-json@0.1.2/json.js", "github:systemjs/plugin-text@0.0.7.js", "github:systemjs/plugin-text@0.0.7/text.js", - "npm:aurelia-animator-css@1.0.2.js", - "npm:aurelia-animator-css@1.0.2/aurelia-animator-css.js", - "npm:aurelia-binding@1.2.2.js", - "npm:aurelia-binding@1.2.2/aurelia-binding.js", + "npm:aurelia-animator-css@1.0.4.js", + "npm:aurelia-animator-css@1.0.4/aurelia-animator-css.js", + "npm:aurelia-binding@1.7.1.js", + "npm:aurelia-binding@1.7.1/aurelia-binding.js", "npm:aurelia-bootstrapper@1.0.1.js", "npm:aurelia-bootstrapper@1.0.1/aurelia-bootstrapper.js", "npm:aurelia-dependency-injection@1.3.2.js", "npm:aurelia-dependency-injection@1.3.2/aurelia-dependency-injection.js", "npm:aurelia-event-aggregator@1.0.1.js", "npm:aurelia-event-aggregator@1.0.1/aurelia-event-aggregator.js", - "npm:aurelia-fetch-client@1.1.3.js", - "npm:aurelia-fetch-client@1.1.3/aurelia-fetch-client.js", - "npm:aurelia-framework@1.1.4.js", - "npm:aurelia-framework@1.1.4/aurelia-framework.js", - "npm:aurelia-history-browser@1.0.0.js", - "npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js", - "npm:aurelia-history@1.0.0.js", - "npm:aurelia-history@1.0.0/aurelia-history.js", - "npm:aurelia-http-client@1.1.1.js", - "npm:aurelia-http-client@1.1.1/aurelia-http-client.js", - "npm:aurelia-kendoui-bridge@1.6.5.js", - "npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.js", - "npm:aurelia-kendoui-bridge@1.6.5/barcode/barcode.js", - "npm:aurelia-kendoui-bridge@1.6.5/button/button.js", - "npm:aurelia-kendoui-bridge@1.6.5/buttongroup/buttongroup.js", - "npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/chart.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/chart.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/stock.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/stock.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpicker/colorpicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/bindables.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/constants.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/control-properties.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/decorators.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/notify-binding-behavior.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/observer.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/options-builder.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template-compiler.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template-gatherer.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/util.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/widget-base.js", - "npm:aurelia-kendoui-bridge@1.6.5/config-builder.js", - "npm:aurelia-kendoui-bridge@1.6.5/contextmenu/contextmenu.js", - "npm:aurelia-kendoui-bridge@1.6.5/dateinput/dateinput.js", - "npm:aurelia-kendoui-bridge@1.6.5/datepicker/datepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/datetimepicker/datetimepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.js", - "npm:aurelia-kendoui-bridge@1.6.5/dialog/dialog.js", - "npm:aurelia-kendoui-bridge@1.6.5/draggable/draggable.js", - "npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target-area.js", - "npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target.js", - "npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.js", - "npm:aurelia-kendoui-bridge@1.6.5/editor/editor.js", - "npm:aurelia-kendoui-bridge@1.6.5/filter-menu/filter-menu.js", - "npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/col.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid.js", - "npm:aurelia-kendoui-bridge@1.6.5/index.js", - "npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/listview/listview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/listview/listview.js", - "npm:aurelia-kendoui-bridge@1.6.5/map/map.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/map/map.js", - "npm:aurelia-kendoui-bridge@1.6.5/maskedtextbox/maskedtextbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/mediaplayer/mediaplayer.js", - "npm:aurelia-kendoui-bridge@1.6.5/menu/menu.js", - "npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification-template.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification.js", - "npm:aurelia-kendoui-bridge@1.6.5/numerictextbox/numerictextbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/pdf/pdf.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.js", - "npm:aurelia-kendoui-bridge@1.6.5/popup/popup.js", - "npm:aurelia-kendoui-bridge@1.6.5/progressbar/progressbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/qrcode/qrcode.js", - "npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.js", - "npm:aurelia-kendoui-bridge@1.6.5/responsivepanel/responsivepanel.js", - "npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.js", - "npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.js", - "npm:aurelia-kendoui-bridge@1.6.5/slider/slider.js", - "npm:aurelia-kendoui-bridge@1.6.5/sortable/sortable.js", - "npm:aurelia-kendoui-bridge@1.6.5/splitter/splitter.js", - "npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.js", - "npm:aurelia-kendoui-bridge@1.6.5/switch/switch.js", - "npm:aurelia-kendoui-bridge@1.6.5/tabstrip/tabstrip.js", - "npm:aurelia-kendoui-bridge@1.6.5/timepicker/timepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/tooltip/tooltip.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.js", - "npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.js", - "npm:aurelia-kendoui-bridge@1.6.5/upload/upload.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/upload/upload.js", - "npm:aurelia-kendoui-bridge@1.6.5/validator/validator.js", - "npm:aurelia-kendoui-bridge@1.6.5/valueconverters/valueconverters.js", - "npm:aurelia-kendoui-bridge@1.6.5/version.js", - "npm:aurelia-kendoui-bridge@1.6.5/window/window.js", - "npm:aurelia-loader-default@1.0.2.js", - "npm:aurelia-loader-default@1.0.2/aurelia-loader-default.js", + "npm:aurelia-fetch-client@1.3.1.js", + "npm:aurelia-fetch-client@1.3.1/aurelia-fetch-client.js", + "npm:aurelia-framework@1.2.0.js", + "npm:aurelia-framework@1.2.0/aurelia-framework.js", + "npm:aurelia-history-browser@1.1.1.js", + "npm:aurelia-history-browser@1.1.1/aurelia-history-browser.js", + "npm:aurelia-history@1.1.0.js", + "npm:aurelia-history@1.1.0/aurelia-history.js", + "npm:aurelia-http-client@1.2.1.js", + "npm:aurelia-http-client@1.2.1/aurelia-http-client.js", + "npm:aurelia-kendoui-bridge@1.7.0.js", + "npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.js", + "npm:aurelia-kendoui-bridge@1.7.0/barcode/barcode.js", + "npm:aurelia-kendoui-bridge@1.7.0/button/button.js", + "npm:aurelia-kendoui-bridge@1.7.0/buttongroup/buttongroup.js", + "npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/chart.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/chart.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/stock.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/stock.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpicker/colorpicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/bindables.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/constants.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/control-properties.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/decorators.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/notify-binding-behavior.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/observer.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/options-builder.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template-compiler.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template-gatherer.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/util.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/widget-base.js", + "npm:aurelia-kendoui-bridge@1.7.0/config-builder.js", + "npm:aurelia-kendoui-bridge@1.7.0/contextmenu/contextmenu.js", + "npm:aurelia-kendoui-bridge@1.7.0/dateinput/dateinput.js", + "npm:aurelia-kendoui-bridge@1.7.0/datepicker/datepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/datetimepicker/datetimepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.js", + "npm:aurelia-kendoui-bridge@1.7.0/dialog/dialog.js", + "npm:aurelia-kendoui-bridge@1.7.0/draggable/draggable.js", + "npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target-area.js", + "npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target.js", + "npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.js", + "npm:aurelia-kendoui-bridge@1.7.0/editor/editor.js", + "npm:aurelia-kendoui-bridge@1.7.0/filter-menu/filter-menu.js", + "npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/col.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid.js", + "npm:aurelia-kendoui-bridge@1.7.0/index.js", + "npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/listview/listview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/listview/listview.js", + "npm:aurelia-kendoui-bridge@1.7.0/map/map.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/map/map.js", + "npm:aurelia-kendoui-bridge@1.7.0/maskedtextbox/maskedtextbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/mediaplayer/mediaplayer.js", + "npm:aurelia-kendoui-bridge@1.7.0/menu/menu.js", + "npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification-template.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification.js", + "npm:aurelia-kendoui-bridge@1.7.0/numerictextbox/numerictextbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/pager/pager.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pager/pager.js", + "npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/pdf/pdf.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.js", + "npm:aurelia-kendoui-bridge@1.7.0/popup/popup.js", + "npm:aurelia-kendoui-bridge@1.7.0/progressbar/progressbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/qrcode/qrcode.js", + "npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.js", + "npm:aurelia-kendoui-bridge@1.7.0/responsivepanel/responsivepanel.js", + "npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.js", + "npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.js", + "npm:aurelia-kendoui-bridge@1.7.0/slider/slider.js", + "npm:aurelia-kendoui-bridge@1.7.0/sortable/sortable.js", + "npm:aurelia-kendoui-bridge@1.7.0/splitter/splitter.js", + "npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.js", + "npm:aurelia-kendoui-bridge@1.7.0/switch/switch.js", + "npm:aurelia-kendoui-bridge@1.7.0/tabstrip/tabstrip.js", + "npm:aurelia-kendoui-bridge@1.7.0/timepicker/timepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/tooltip/tooltip.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.js", + "npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.js", + "npm:aurelia-kendoui-bridge@1.7.0/upload/upload.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/upload/upload.js", + "npm:aurelia-kendoui-bridge@1.7.0/validator/validator.js", + "npm:aurelia-kendoui-bridge@1.7.0/valueconverters/valueconverters.js", + "npm:aurelia-kendoui-bridge@1.7.0/version.js", + "npm:aurelia-kendoui-bridge@1.7.0/window/window.js", + "npm:aurelia-loader-default@1.0.4.js", + "npm:aurelia-loader-default@1.0.4/aurelia-loader-default.js", "npm:aurelia-loader@1.0.0.js", "npm:aurelia-loader@1.0.0/aurelia-loader.js", "npm:aurelia-logging-console@1.0.0.js", "npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js", - "npm:aurelia-logging@1.3.1.js", - "npm:aurelia-logging@1.3.1/aurelia-logging.js", + "npm:aurelia-logging@1.4.0.js", + "npm:aurelia-logging@1.4.0/aurelia-logging.js", "npm:aurelia-metadata@1.0.3.js", "npm:aurelia-metadata@1.0.3/aurelia-metadata.js", - "npm:aurelia-pal-browser@1.3.0.js", - "npm:aurelia-pal-browser@1.3.0/aurelia-pal-browser.js", - "npm:aurelia-pal@1.4.0.js", - "npm:aurelia-pal@1.4.0/aurelia-pal.js", + "npm:aurelia-pal-browser@1.7.0.js", + "npm:aurelia-pal-browser@1.7.0/aurelia-pal-browser.js", + "npm:aurelia-pal@1.7.0.js", + "npm:aurelia-pal@1.7.0/aurelia-pal.js", "npm:aurelia-path@1.1.1.js", "npm:aurelia-path@1.1.1/aurelia-path.js", - "npm:aurelia-polyfills@1.2.2.js", - "npm:aurelia-polyfills@1.2.2/aurelia-polyfills.js", - "npm:aurelia-route-recognizer@1.1.0.js", - "npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js", - "npm:aurelia-router@1.3.0.js", - "npm:aurelia-router@1.3.0/aurelia-router.js", - "npm:aurelia-task-queue@1.2.0.js", - "npm:aurelia-task-queue@1.2.0/aurelia-task-queue.js", - "npm:aurelia-templating-binding@1.3.0.js", - "npm:aurelia-templating-binding@1.3.0/aurelia-templating-binding.js", - "npm:aurelia-templating-resources@1.4.0.js", - "npm:aurelia-templating-resources@1.4.0/abstract-repeater.js", - "npm:aurelia-templating-resources@1.4.0/analyze-view-factory.js", - "npm:aurelia-templating-resources@1.4.0/array-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/attr-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/aurelia-hide-style.js", - "npm:aurelia-templating-resources@1.4.0/aurelia-templating-resources.js", - "npm:aurelia-templating-resources@1.4.0/binding-mode-behaviors.js", - "npm:aurelia-templating-resources@1.4.0/binding-signaler.js", - "npm:aurelia-templating-resources@1.4.0/compose.js", - "npm:aurelia-templating-resources@1.4.0/css-resource.js", - "npm:aurelia-templating-resources@1.4.0/debounce-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/dynamic-element.js", - "npm:aurelia-templating-resources@1.4.0/focus.js", - "npm:aurelia-templating-resources@1.4.0/hide.js", - "npm:aurelia-templating-resources@1.4.0/html-resource-plugin.js", - "npm:aurelia-templating-resources@1.4.0/html-sanitizer.js", - "npm:aurelia-templating-resources@1.4.0/if.js", - "npm:aurelia-templating-resources@1.4.0/map-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/null-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/number-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/repeat-strategy-locator.js", - "npm:aurelia-templating-resources@1.4.0/repeat-utilities.js", - "npm:aurelia-templating-resources@1.4.0/repeat.js", - "npm:aurelia-templating-resources@1.4.0/replaceable.js", - "npm:aurelia-templating-resources@1.4.0/sanitize-html.js", - "npm:aurelia-templating-resources@1.4.0/self-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/set-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/show.js", - "npm:aurelia-templating-resources@1.4.0/signal-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/throttle-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/with.js", - "npm:aurelia-templating-router@1.1.0.js", - "npm:aurelia-templating-router@1.1.0/aurelia-templating-router.js", - "npm:aurelia-templating-router@1.1.0/route-href.js", - "npm:aurelia-templating-router@1.1.0/route-loader.js", - "npm:aurelia-templating-router@1.1.0/router-view.js", - "npm:aurelia-templating@1.4.2.js", - "npm:aurelia-templating@1.4.2/aurelia-templating.js" + "npm:aurelia-polyfills@1.3.0.js", + "npm:aurelia-polyfills@1.3.0/aurelia-polyfills.js", + "npm:aurelia-route-recognizer@1.1.1.js", + "npm:aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js", + "npm:aurelia-router@1.5.0.js", + "npm:aurelia-router@1.5.0/aurelia-router.js", + "npm:aurelia-task-queue@1.2.1.js", + "npm:aurelia-task-queue@1.2.1/aurelia-task-queue.js", + "npm:aurelia-templating-binding@1.4.1.js", + "npm:aurelia-templating-binding@1.4.1/aurelia-templating-binding.js", + "npm:aurelia-templating-resources@1.6.0.js", + "npm:aurelia-templating-resources@1.6.0/abstract-repeater.js", + "npm:aurelia-templating-resources@1.6.0/analyze-view-factory.js", + "npm:aurelia-templating-resources@1.6.0/array-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/attr-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/aurelia-hide-style.js", + "npm:aurelia-templating-resources@1.6.0/aurelia-templating-resources.js", + "npm:aurelia-templating-resources@1.6.0/binding-mode-behaviors.js", + "npm:aurelia-templating-resources@1.6.0/binding-signaler.js", + "npm:aurelia-templating-resources@1.6.0/compose.js", + "npm:aurelia-templating-resources@1.6.0/css-resource.js", + "npm:aurelia-templating-resources@1.6.0/debounce-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/dynamic-element.js", + "npm:aurelia-templating-resources@1.6.0/else.js", + "npm:aurelia-templating-resources@1.6.0/focus.js", + "npm:aurelia-templating-resources@1.6.0/hide.js", + "npm:aurelia-templating-resources@1.6.0/html-resource-plugin.js", + "npm:aurelia-templating-resources@1.6.0/html-sanitizer.js", + "npm:aurelia-templating-resources@1.6.0/if-core.js", + "npm:aurelia-templating-resources@1.6.0/if.js", + "npm:aurelia-templating-resources@1.6.0/map-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/null-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/number-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/repeat-strategy-locator.js", + "npm:aurelia-templating-resources@1.6.0/repeat-utilities.js", + "npm:aurelia-templating-resources@1.6.0/repeat.js", + "npm:aurelia-templating-resources@1.6.0/replaceable.js", + "npm:aurelia-templating-resources@1.6.0/sanitize-html.js", + "npm:aurelia-templating-resources@1.6.0/self-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/set-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/show.js", + "npm:aurelia-templating-resources@1.6.0/signal-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/throttle-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/with.js", + "npm:aurelia-templating-router@1.3.1.js", + "npm:aurelia-templating-router@1.3.1/aurelia-templating-router.js", + "npm:aurelia-templating-router@1.3.1/route-href.js", + "npm:aurelia-templating-router@1.3.1/route-loader.js", + "npm:aurelia-templating-router@1.3.1/router-view.js", + "npm:aurelia-templating@1.7.0.js", + "npm:aurelia-templating@1.7.0/aurelia-templating.js" ] } }); \ No newline at end of file diff --git a/config2.js b/config2.js index 285d2fc..a50e622 100644 --- a/config2.js +++ b/config2.js @@ -10,51 +10,51 @@ System.config({ "optional": [] }, paths: { - "github:*": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.6.5/jspm_packages/github/*", - "npm:*": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.6.5/jspm_packages/npm/*", - "bundles/bundle.js": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.6.5/bundles/bundle.js" + "github:*": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.7.0/jspm_packages/github/*", + "npm:*": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.7.0/jspm_packages/npm/*", + "bundles/bundle.js": "https://cdn.rawgit.com/aurelia-ui-toolkits/aurelia-kendoui-bundles/1.7.0/bundles/bundle.js" }, map: { "aurelia-after-attached-plugin": "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3", - "aurelia-animator-css": "npm:aurelia-animator-css@1.0.2", - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "aurelia-animator-css": "npm:aurelia-animator-css@1.0.4", + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-fetch-client": "npm:aurelia-fetch-client@1.1.3", - "aurelia-framework": "npm:aurelia-framework@1.1.4", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0", - "aurelia-http-client": "npm:aurelia-http-client@1.1.1", - "aurelia-kendoui-bridge": "npm:aurelia-kendoui-bridge@1.6.5", + "aurelia-fetch-client": "npm:aurelia-fetch-client@1.3.1", + "aurelia-framework": "npm:aurelia-framework@1.2.0", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-history-browser": "npm:aurelia-history-browser@1.1.1", + "aurelia-http-client": "npm:aurelia-http-client@1.2.1", + "aurelia-kendoui-bridge": "npm:aurelia-kendoui-bridge@1.7.0", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-loader-default": "npm:aurelia-loader-default@1.0.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-loader-default": "npm:aurelia-loader-default@1.0.4", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-binding": "npm:aurelia-templating-binding@1.3.0", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0", - "aurelia-templating-router": "npm:aurelia-templating-router@1.1.0", + "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.1", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-binding": "npm:aurelia-templating-binding@1.4.1", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0", + "aurelia-templating-router": "npm:aurelia-templating-router@1.3.1", "babel": "npm:babel-core@5.8.38", "babel-runtime": "npm:babel-runtime@5.8.38", "core-js": "npm:core-js@0.9.18", - "css": "github:systemjs/plugin-css@0.1.36", + "css": "github:systemjs/plugin-css@0.1.37", "json": "github:systemjs/plugin-json@0.1.2", "text": "github:systemjs/plugin-text@0.0.7", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3": { - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, "github:jspm/nodelibs-assert@0.1.0": { "assert": "npm:assert@1.4.1" }, "github:jspm/nodelibs-buffer@0.1.1": { - "buffer": "npm:buffer@5.0.7" + "buffer": "npm:buffer@5.1.0" }, "github:jspm/nodelibs-process@0.1.2": { "process": "npm:process@0.11.10" @@ -71,147 +71,147 @@ System.config({ "process": "github:jspm/nodelibs-process@0.1.2", "util": "npm:util@0.10.3" }, - "npm:aurelia-animator-css@1.0.2": { + "npm:aurelia-animator-css@1.0.4": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-binding@1.2.2": { - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "npm:aurelia-binding@1.7.1": { + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1" }, "npm:aurelia-bootstrapper@1.0.1": { "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-framework": "npm:aurelia-framework@1.1.4", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0", - "aurelia-loader-default": "npm:aurelia-loader-default@1.0.2", + "aurelia-framework": "npm:aurelia-framework@1.2.0", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-history-browser": "npm:aurelia-history-browser@1.1.1", + "aurelia-loader-default": "npm:aurelia-loader-default@1.0.4", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-pal-browser": "npm:aurelia-pal-browser@1.3.0", - "aurelia-polyfills": "npm:aurelia-polyfills@1.2.2", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-binding": "npm:aurelia-templating-binding@1.3.0", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0", - "aurelia-templating-router": "npm:aurelia-templating-router@1.1.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-pal-browser": "npm:aurelia-pal-browser@1.7.0", + "aurelia-polyfills": "npm:aurelia-polyfills@1.3.0", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-binding": "npm:aurelia-templating-binding@1.4.1", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0", + "aurelia-templating-router": "npm:aurelia-templating-router@1.3.1" }, "npm:aurelia-dependency-injection@1.3.2": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, "npm:aurelia-event-aggregator@1.0.1": { - "aurelia-logging": "npm:aurelia-logging@1.3.1" + "aurelia-logging": "npm:aurelia-logging@1.4.0" }, - "npm:aurelia-framework@1.1.4": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-framework@1.2.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-history-browser@1.0.0": { - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-history-browser@1.1.1": { + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-http-client@1.1.1": { - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "npm:aurelia-http-client@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1" }, - "npm:aurelia-kendoui-bridge@1.6.5": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-kendoui-bridge@1.7.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2", - "aurelia-templating-resources": "npm:aurelia-templating-resources@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0", + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0", + "aurelia-templating-resources": "npm:aurelia-templating-resources@1.6.0" }, - "npm:aurelia-loader-default@1.0.2": { + "npm:aurelia-loader-default@1.0.4": { "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, "npm:aurelia-loader@1.0.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-path": "npm:aurelia-path@1.1.1" }, "npm:aurelia-logging-console@1.0.0": { - "aurelia-logging": "npm:aurelia-logging@1.3.1" + "aurelia-logging": "npm:aurelia-logging@1.4.0" }, "npm:aurelia-metadata@1.0.3": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-pal-browser@1.3.0": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-pal-browser@1.7.0": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-polyfills@1.2.2": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-polyfills@1.3.0": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-route-recognizer@1.1.0": { + "npm:aurelia-route-recognizer@1.1.1": { "aurelia-path": "npm:aurelia-path@1.1.1" }, - "npm:aurelia-router@1.3.0": { + "npm:aurelia-router@1.5.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", - "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-history": "npm:aurelia-history@1.1.0", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0" + "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.1" }, - "npm:aurelia-task-queue@1.2.0": { - "aurelia-pal": "npm:aurelia-pal@1.4.0" + "npm:aurelia-task-queue@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@1.7.0" }, - "npm:aurelia-templating-binding@1.3.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "npm:aurelia-templating-binding@1.4.1": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating-resources@1.4.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating-resources@1.6.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating-router@1.1.0": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating-router@1.3.1": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-router": "npm:aurelia-router@1.3.0", - "aurelia-templating": "npm:aurelia-templating@1.4.2" + "aurelia-router": "npm:aurelia-router@1.5.0", + "aurelia-templating": "npm:aurelia-templating@1.7.0" }, - "npm:aurelia-templating@1.4.2": { - "aurelia-binding": "npm:aurelia-binding@1.2.2", + "npm:aurelia-templating@1.7.0": { + "aurelia-binding": "npm:aurelia-binding@1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.2", "aurelia-loader": "npm:aurelia-loader@1.0.0", - "aurelia-logging": "npm:aurelia-logging@1.3.1", + "aurelia-logging": "npm:aurelia-logging@1.4.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.4.0", + "aurelia-pal": "npm:aurelia-pal@1.7.0", "aurelia-path": "npm:aurelia-path@1.1.1", - "aurelia-task-queue": "npm:aurelia-task-queue@1.2.0" + "aurelia-task-queue": "npm:aurelia-task-queue@1.2.1" }, "npm:babel-runtime@5.8.38": { "process": "github:jspm/nodelibs-process@0.1.2" }, - "npm:buffer@5.0.7": { - "base64-js": "npm:base64-js@1.2.1", - "ieee754": "npm:ieee754@1.1.8" + "npm:buffer@5.1.0": { + "base64-js": "npm:base64-js@1.2.3", + "ieee754": "npm:ieee754@1.1.11" }, "npm:core-js@0.9.18": { "fs": "github:jspm/nodelibs-fs@0.1.2", @@ -239,224 +239,228 @@ System.config({ "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3.js", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/aurelia-after-attached-plugin.js", "github:aurelia-ui-toolkits/aurelia-after-attached-plugin@0.1.3/index.js", - "github:systemjs/plugin-css@0.1.36.js", - "github:systemjs/plugin-css@0.1.36/css.js", + "github:systemjs/plugin-css@0.1.37.js", + "github:systemjs/plugin-css@0.1.37/css.js", "github:systemjs/plugin-json@0.1.2.js", "github:systemjs/plugin-json@0.1.2/json.js", "github:systemjs/plugin-text@0.0.7.js", "github:systemjs/plugin-text@0.0.7/text.js", - "npm:aurelia-animator-css@1.0.2.js", - "npm:aurelia-animator-css@1.0.2/aurelia-animator-css.js", - "npm:aurelia-binding@1.2.2.js", - "npm:aurelia-binding@1.2.2/aurelia-binding.js", + "npm:aurelia-animator-css@1.0.4.js", + "npm:aurelia-animator-css@1.0.4/aurelia-animator-css.js", + "npm:aurelia-binding@1.7.1.js", + "npm:aurelia-binding@1.7.1/aurelia-binding.js", "npm:aurelia-bootstrapper@1.0.1.js", "npm:aurelia-bootstrapper@1.0.1/aurelia-bootstrapper.js", "npm:aurelia-dependency-injection@1.3.2.js", "npm:aurelia-dependency-injection@1.3.2/aurelia-dependency-injection.js", "npm:aurelia-event-aggregator@1.0.1.js", "npm:aurelia-event-aggregator@1.0.1/aurelia-event-aggregator.js", - "npm:aurelia-fetch-client@1.1.3.js", - "npm:aurelia-fetch-client@1.1.3/aurelia-fetch-client.js", - "npm:aurelia-framework@1.1.4.js", - "npm:aurelia-framework@1.1.4/aurelia-framework.js", - "npm:aurelia-history-browser@1.0.0.js", - "npm:aurelia-history-browser@1.0.0/aurelia-history-browser.js", - "npm:aurelia-history@1.0.0.js", - "npm:aurelia-history@1.0.0/aurelia-history.js", - "npm:aurelia-http-client@1.1.1.js", - "npm:aurelia-http-client@1.1.1/aurelia-http-client.js", - "npm:aurelia-kendoui-bridge@1.6.5.js", - "npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.js", - "npm:aurelia-kendoui-bridge@1.6.5/barcode/barcode.js", - "npm:aurelia-kendoui-bridge@1.6.5/button/button.js", - "npm:aurelia-kendoui-bridge@1.6.5/buttongroup/buttongroup.js", - "npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/calendar/calendar.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/chart.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/chart.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/sparkline.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/stock.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/stock.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/chart/treemap.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.js", - "npm:aurelia-kendoui-bridge@1.6.5/colorpicker/colorpicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/combobox/combobox.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/bindables.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/constants.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/control-properties.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/decorators.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/notify-binding-behavior.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/observer.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/options-builder.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template-compiler.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template-gatherer.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/template.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/util.js", - "npm:aurelia-kendoui-bridge@1.6.5/common/widget-base.js", - "npm:aurelia-kendoui-bridge@1.6.5/config-builder.js", - "npm:aurelia-kendoui-bridge@1.6.5/contextmenu/contextmenu.js", - "npm:aurelia-kendoui-bridge@1.6.5/dateinput/dateinput.js", - "npm:aurelia-kendoui-bridge@1.6.5/datepicker/datepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/datetimepicker/datetimepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/diagram/diagram.js", - "npm:aurelia-kendoui-bridge@1.6.5/dialog/dialog.js", - "npm:aurelia-kendoui-bridge@1.6.5/draggable/draggable.js", - "npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target-area.js", - "npm:aurelia-kendoui-bridge@1.6.5/drop-target/drop-target.js", - "npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.js", - "npm:aurelia-kendoui-bridge@1.6.5/editor/editor.js", - "npm:aurelia-kendoui-bridge@1.6.5/filter-menu/filter-menu.js", - "npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gantt/gantt.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/col.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-command.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/grid/grid.js", - "npm:aurelia-kendoui-bridge@1.6.5/index.js", - "npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/listbox/listbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/listview/listview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/listview/listview.js", - "npm:aurelia-kendoui-bridge@1.6.5/map/map.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/map/map.js", - "npm:aurelia-kendoui-bridge@1.6.5/maskedtextbox/maskedtextbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/mediaplayer/mediaplayer.js", - "npm:aurelia-kendoui-bridge@1.6.5/menu/menu.js", - "npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification-template.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/notification/notification.js", - "npm:aurelia-kendoui-bridge@1.6.5/numerictextbox/numerictextbox.js", - "npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/pdf/pdf.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.js", - "npm:aurelia-kendoui-bridge@1.6.5/popup/popup.js", - "npm:aurelia-kendoui-bridge@1.6.5/progressbar/progressbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/qrcode/qrcode.js", - "npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.js", - "npm:aurelia-kendoui-bridge@1.6.5/responsivepanel/responsivepanel.js", - "npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.js", - "npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.js", - "npm:aurelia-kendoui-bridge@1.6.5/slider/slider.js", - "npm:aurelia-kendoui-bridge@1.6.5/sortable/sortable.js", - "npm:aurelia-kendoui-bridge@1.6.5/splitter/splitter.js", - "npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.js", - "npm:aurelia-kendoui-bridge@1.6.5/switch/switch.js", - "npm:aurelia-kendoui-bridge@1.6.5/tabstrip/tabstrip.js", - "npm:aurelia-kendoui-bridge@1.6.5/timepicker/timepicker.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.js", - "npm:aurelia-kendoui-bridge@1.6.5/tooltip/tooltip.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/tree-col.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treelist/treelist.js", - "npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/treeview/treeview.js", - "npm:aurelia-kendoui-bridge@1.6.5/upload/upload.html!github:systemjs/plugin-text@0.0.7.js", - "npm:aurelia-kendoui-bridge@1.6.5/upload/upload.js", - "npm:aurelia-kendoui-bridge@1.6.5/validator/validator.js", - "npm:aurelia-kendoui-bridge@1.6.5/valueconverters/valueconverters.js", - "npm:aurelia-kendoui-bridge@1.6.5/version.js", - "npm:aurelia-kendoui-bridge@1.6.5/window/window.js", - "npm:aurelia-loader-default@1.0.2.js", - "npm:aurelia-loader-default@1.0.2/aurelia-loader-default.js", + "npm:aurelia-fetch-client@1.3.1.js", + "npm:aurelia-fetch-client@1.3.1/aurelia-fetch-client.js", + "npm:aurelia-framework@1.2.0.js", + "npm:aurelia-framework@1.2.0/aurelia-framework.js", + "npm:aurelia-history-browser@1.1.1.js", + "npm:aurelia-history-browser@1.1.1/aurelia-history-browser.js", + "npm:aurelia-history@1.1.0.js", + "npm:aurelia-history@1.1.0/aurelia-history.js", + "npm:aurelia-http-client@1.2.1.js", + "npm:aurelia-http-client@1.2.1/aurelia-http-client.js", + "npm:aurelia-kendoui-bridge@1.7.0.js", + "npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.js", + "npm:aurelia-kendoui-bridge@1.7.0/barcode/barcode.js", + "npm:aurelia-kendoui-bridge@1.7.0/button/button.js", + "npm:aurelia-kendoui-bridge@1.7.0/buttongroup/buttongroup.js", + "npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/calendar/calendar.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/chart.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/chart.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/sparkline.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/stock.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/stock.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/chart/treemap.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.js", + "npm:aurelia-kendoui-bridge@1.7.0/colorpicker/colorpicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/combobox/combobox.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/bindables.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/constants.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/control-properties.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/decorators.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/notify-binding-behavior.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/observer.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/options-builder.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template-compiler.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template-gatherer.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/template.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/util.js", + "npm:aurelia-kendoui-bridge@1.7.0/common/widget-base.js", + "npm:aurelia-kendoui-bridge@1.7.0/config-builder.js", + "npm:aurelia-kendoui-bridge@1.7.0/contextmenu/contextmenu.js", + "npm:aurelia-kendoui-bridge@1.7.0/dateinput/dateinput.js", + "npm:aurelia-kendoui-bridge@1.7.0/datepicker/datepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/datetimepicker/datetimepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/diagram/diagram.js", + "npm:aurelia-kendoui-bridge@1.7.0/dialog/dialog.js", + "npm:aurelia-kendoui-bridge@1.7.0/draggable/draggable.js", + "npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target-area.js", + "npm:aurelia-kendoui-bridge@1.7.0/drop-target/drop-target.js", + "npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.js", + "npm:aurelia-kendoui-bridge@1.7.0/editor/editor.js", + "npm:aurelia-kendoui-bridge@1.7.0/filter-menu/filter-menu.js", + "npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gantt/gantt.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/col.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-command.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/grid/grid.js", + "npm:aurelia-kendoui-bridge@1.7.0/index.js", + "npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/listbox/listbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/listview/listview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/listview/listview.js", + "npm:aurelia-kendoui-bridge@1.7.0/map/map.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/map/map.js", + "npm:aurelia-kendoui-bridge@1.7.0/maskedtextbox/maskedtextbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/mediaplayer/mediaplayer.js", + "npm:aurelia-kendoui-bridge@1.7.0/menu/menu.js", + "npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification-template.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/notification/notification.js", + "npm:aurelia-kendoui-bridge@1.7.0/numerictextbox/numerictextbox.js", + "npm:aurelia-kendoui-bridge@1.7.0/pager/pager.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pager/pager.js", + "npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/pdf/pdf.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.js", + "npm:aurelia-kendoui-bridge@1.7.0/popup/popup.js", + "npm:aurelia-kendoui-bridge@1.7.0/progressbar/progressbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/qrcode/qrcode.js", + "npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.js", + "npm:aurelia-kendoui-bridge@1.7.0/responsivepanel/responsivepanel.js", + "npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.js", + "npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.js", + "npm:aurelia-kendoui-bridge@1.7.0/slider/slider.js", + "npm:aurelia-kendoui-bridge@1.7.0/sortable/sortable.js", + "npm:aurelia-kendoui-bridge@1.7.0/splitter/splitter.js", + "npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.js", + "npm:aurelia-kendoui-bridge@1.7.0/switch/switch.js", + "npm:aurelia-kendoui-bridge@1.7.0/tabstrip/tabstrip.js", + "npm:aurelia-kendoui-bridge@1.7.0/timepicker/timepicker.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.js", + "npm:aurelia-kendoui-bridge@1.7.0/tooltip/tooltip.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/tree-col.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treelist/treelist.js", + "npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/treeview/treeview.js", + "npm:aurelia-kendoui-bridge@1.7.0/upload/upload.html!github:systemjs/plugin-text@0.0.7.js", + "npm:aurelia-kendoui-bridge@1.7.0/upload/upload.js", + "npm:aurelia-kendoui-bridge@1.7.0/validator/validator.js", + "npm:aurelia-kendoui-bridge@1.7.0/valueconverters/valueconverters.js", + "npm:aurelia-kendoui-bridge@1.7.0/version.js", + "npm:aurelia-kendoui-bridge@1.7.0/window/window.js", + "npm:aurelia-loader-default@1.0.4.js", + "npm:aurelia-loader-default@1.0.4/aurelia-loader-default.js", "npm:aurelia-loader@1.0.0.js", "npm:aurelia-loader@1.0.0/aurelia-loader.js", "npm:aurelia-logging-console@1.0.0.js", "npm:aurelia-logging-console@1.0.0/aurelia-logging-console.js", - "npm:aurelia-logging@1.3.1.js", - "npm:aurelia-logging@1.3.1/aurelia-logging.js", + "npm:aurelia-logging@1.4.0.js", + "npm:aurelia-logging@1.4.0/aurelia-logging.js", "npm:aurelia-metadata@1.0.3.js", "npm:aurelia-metadata@1.0.3/aurelia-metadata.js", - "npm:aurelia-pal-browser@1.3.0.js", - "npm:aurelia-pal-browser@1.3.0/aurelia-pal-browser.js", - "npm:aurelia-pal@1.4.0.js", - "npm:aurelia-pal@1.4.0/aurelia-pal.js", + "npm:aurelia-pal-browser@1.7.0.js", + "npm:aurelia-pal-browser@1.7.0/aurelia-pal-browser.js", + "npm:aurelia-pal@1.7.0.js", + "npm:aurelia-pal@1.7.0/aurelia-pal.js", "npm:aurelia-path@1.1.1.js", "npm:aurelia-path@1.1.1/aurelia-path.js", - "npm:aurelia-polyfills@1.2.2.js", - "npm:aurelia-polyfills@1.2.2/aurelia-polyfills.js", - "npm:aurelia-route-recognizer@1.1.0.js", - "npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js", - "npm:aurelia-router@1.3.0.js", - "npm:aurelia-router@1.3.0/aurelia-router.js", - "npm:aurelia-task-queue@1.2.0.js", - "npm:aurelia-task-queue@1.2.0/aurelia-task-queue.js", - "npm:aurelia-templating-binding@1.3.0.js", - "npm:aurelia-templating-binding@1.3.0/aurelia-templating-binding.js", - "npm:aurelia-templating-resources@1.4.0.js", - "npm:aurelia-templating-resources@1.4.0/abstract-repeater.js", - "npm:aurelia-templating-resources@1.4.0/analyze-view-factory.js", - "npm:aurelia-templating-resources@1.4.0/array-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/attr-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/aurelia-hide-style.js", - "npm:aurelia-templating-resources@1.4.0/aurelia-templating-resources.js", - "npm:aurelia-templating-resources@1.4.0/binding-mode-behaviors.js", - "npm:aurelia-templating-resources@1.4.0/binding-signaler.js", - "npm:aurelia-templating-resources@1.4.0/compose.js", - "npm:aurelia-templating-resources@1.4.0/css-resource.js", - "npm:aurelia-templating-resources@1.4.0/debounce-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/dynamic-element.js", - "npm:aurelia-templating-resources@1.4.0/focus.js", - "npm:aurelia-templating-resources@1.4.0/hide.js", - "npm:aurelia-templating-resources@1.4.0/html-resource-plugin.js", - "npm:aurelia-templating-resources@1.4.0/html-sanitizer.js", - "npm:aurelia-templating-resources@1.4.0/if.js", - "npm:aurelia-templating-resources@1.4.0/map-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/null-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/number-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/repeat-strategy-locator.js", - "npm:aurelia-templating-resources@1.4.0/repeat-utilities.js", - "npm:aurelia-templating-resources@1.4.0/repeat.js", - "npm:aurelia-templating-resources@1.4.0/replaceable.js", - "npm:aurelia-templating-resources@1.4.0/sanitize-html.js", - "npm:aurelia-templating-resources@1.4.0/self-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/set-repeat-strategy.js", - "npm:aurelia-templating-resources@1.4.0/show.js", - "npm:aurelia-templating-resources@1.4.0/signal-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/throttle-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js", - "npm:aurelia-templating-resources@1.4.0/with.js", - "npm:aurelia-templating-router@1.1.0.js", - "npm:aurelia-templating-router@1.1.0/aurelia-templating-router.js", - "npm:aurelia-templating-router@1.1.0/route-href.js", - "npm:aurelia-templating-router@1.1.0/route-loader.js", - "npm:aurelia-templating-router@1.1.0/router-view.js", - "npm:aurelia-templating@1.4.2.js", - "npm:aurelia-templating@1.4.2/aurelia-templating.js" + "npm:aurelia-polyfills@1.3.0.js", + "npm:aurelia-polyfills@1.3.0/aurelia-polyfills.js", + "npm:aurelia-route-recognizer@1.1.1.js", + "npm:aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js", + "npm:aurelia-router@1.5.0.js", + "npm:aurelia-router@1.5.0/aurelia-router.js", + "npm:aurelia-task-queue@1.2.1.js", + "npm:aurelia-task-queue@1.2.1/aurelia-task-queue.js", + "npm:aurelia-templating-binding@1.4.1.js", + "npm:aurelia-templating-binding@1.4.1/aurelia-templating-binding.js", + "npm:aurelia-templating-resources@1.6.0.js", + "npm:aurelia-templating-resources@1.6.0/abstract-repeater.js", + "npm:aurelia-templating-resources@1.6.0/analyze-view-factory.js", + "npm:aurelia-templating-resources@1.6.0/array-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/attr-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/aurelia-hide-style.js", + "npm:aurelia-templating-resources@1.6.0/aurelia-templating-resources.js", + "npm:aurelia-templating-resources@1.6.0/binding-mode-behaviors.js", + "npm:aurelia-templating-resources@1.6.0/binding-signaler.js", + "npm:aurelia-templating-resources@1.6.0/compose.js", + "npm:aurelia-templating-resources@1.6.0/css-resource.js", + "npm:aurelia-templating-resources@1.6.0/debounce-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/dynamic-element.js", + "npm:aurelia-templating-resources@1.6.0/else.js", + "npm:aurelia-templating-resources@1.6.0/focus.js", + "npm:aurelia-templating-resources@1.6.0/hide.js", + "npm:aurelia-templating-resources@1.6.0/html-resource-plugin.js", + "npm:aurelia-templating-resources@1.6.0/html-sanitizer.js", + "npm:aurelia-templating-resources@1.6.0/if-core.js", + "npm:aurelia-templating-resources@1.6.0/if.js", + "npm:aurelia-templating-resources@1.6.0/map-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/null-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/number-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/repeat-strategy-locator.js", + "npm:aurelia-templating-resources@1.6.0/repeat-utilities.js", + "npm:aurelia-templating-resources@1.6.0/repeat.js", + "npm:aurelia-templating-resources@1.6.0/replaceable.js", + "npm:aurelia-templating-resources@1.6.0/sanitize-html.js", + "npm:aurelia-templating-resources@1.6.0/self-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/set-repeat-strategy.js", + "npm:aurelia-templating-resources@1.6.0/show.js", + "npm:aurelia-templating-resources@1.6.0/signal-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/throttle-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js", + "npm:aurelia-templating-resources@1.6.0/with.js", + "npm:aurelia-templating-router@1.3.1.js", + "npm:aurelia-templating-router@1.3.1/aurelia-templating-router.js", + "npm:aurelia-templating-router@1.3.1/route-href.js", + "npm:aurelia-templating-router@1.3.1/route-loader.js", + "npm:aurelia-templating-router@1.3.1/router-view.js", + "npm:aurelia-templating@1.7.0.js", + "npm:aurelia-templating@1.7.0/aurelia-templating.js" ] } }); \ No newline at end of file diff --git a/jspm_packages/.dependencies.json b/jspm_packages/.dependencies.json index 508b6b7..18566e8 100644 --- a/jspm_packages/.dependencies.json +++ b/jspm_packages/.dependencies.json @@ -40,7 +40,6 @@ "process": "github:jspm/nodelibs-process@^0.1.0" }, "npm:indexof@0.0.1": {}, - "npm:aurelia-history@1.0.0": {}, "npm:aurelia-logging-console@1.0.0": { "aurelia-logging": "npm:aurelia-logging@^1.0.0" }, @@ -48,13 +47,6 @@ "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", "aurelia-path": "npm:aurelia-path@^1.0.0" }, - "npm:aurelia-history-browser@1.0.0": { - "aurelia-history": "npm:aurelia-history@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.0.0" - }, - "npm:aurelia-route-recognizer@1.1.0": { - "aurelia-path": "npm:aurelia-path@^1.0.0" - }, "npm:aurelia-metadata@1.0.3": { "aurelia-pal": "npm:aurelia-pal@^1.0.0" }, @@ -82,60 +74,87 @@ "aurelia-task-queue": "npm:aurelia-task-queue@^1.0.0", "aurelia-templating": "npm:aurelia-templating@^1.0.0" }, - "npm:ieee754@1.1.8": {}, - "npm:aurelia-templating-binding@1.3.0": { - "aurelia-binding": "npm:aurelia-binding@^1.1.0", - "aurelia-logging": "npm:aurelia-logging@^1.0.0", - "aurelia-templating": "npm:aurelia-templating@^1.3.0" + "npm:process@0.11.10": { + "assert": "github:jspm/nodelibs-assert@^0.1.0", + "vm": "github:jspm/nodelibs-vm@^0.1.0", + "fs": "github:jspm/nodelibs-fs@^0.1.0" }, - "npm:aurelia-task-queue@1.2.0": { + "github:jspm/nodelibs-buffer@0.1.1": { + "buffer": "npm:buffer@^5.0.6" + }, + "npm:aurelia-dependency-injection@1.3.2": { + "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", "aurelia-pal": "npm:aurelia-pal@^1.0.0" }, - "npm:aurelia-templating-router@1.1.0": { - "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", + "npm:aurelia-pal@1.7.0": {}, + "npm:aurelia-history@1.1.0": {}, + "npm:aurelia-logging@1.4.0": {}, + "npm:aurelia-task-queue@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@^1.0.0" + }, + "npm:aurelia-templating-binding@1.4.1": { + "aurelia-binding": "npm:aurelia-binding@^1.3.0", "aurelia-logging": "npm:aurelia-logging@^1.0.0", + "aurelia-templating": "npm:aurelia-templating@^1.3.0" + }, + "npm:aurelia-animator-css@1.0.4": { "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.3.0", - "aurelia-path": "npm:aurelia-path@^1.0.0", - "aurelia-router": "npm:aurelia-router@^1.0.1", - "aurelia-templating": "npm:aurelia-templating@^1.3.0", - "aurelia-binding": "npm:aurelia-binding@^1.0.9" + "aurelia-pal": "npm:aurelia-pal@^1.0.0", + "aurelia-templating": "npm:aurelia-templating@^1.0.0" }, - "npm:aurelia-loader-default@1.0.2": { + "npm:aurelia-loader-default@1.0.4": { "aurelia-loader": "npm:aurelia-loader@^1.0.0", "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", "aurelia-pal": "npm:aurelia-pal@^1.0.0" }, - "npm:aurelia-logging@1.3.1": {}, - "npm:aurelia-animator-css@1.0.2": { - "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.0.0", - "aurelia-templating": "npm:aurelia-templating@^1.0.0" + "npm:aurelia-polyfills@1.3.0": { + "aurelia-pal": "npm:aurelia-pal@^1.0.0" }, - "npm:aurelia-http-client@1.1.1": { - "aurelia-pal": "npm:aurelia-pal@^1.0.0", + "npm:aurelia-pal-browser@1.7.0": { + "aurelia-pal": "npm:aurelia-pal@^1.4.0" + }, + "npm:aurelia-history-browser@1.1.1": { + "aurelia-history": "npm:aurelia-history@^1.0.0", + "aurelia-pal": "npm:aurelia-pal@^1.0.0" + }, + "npm:aurelia-route-recognizer@1.1.1": { "aurelia-path": "npm:aurelia-path@^1.0.0" }, - "npm:aurelia-router@1.3.0": { + "npm:aurelia-fetch-client@1.3.1": {}, + "npm:aurelia-http-client@1.2.1": { + "aurelia-pal": "npm:aurelia-pal@^1.0.0", + "aurelia-path": "npm:aurelia-path@^1.1.1" + }, + "npm:aurelia-templating-router@1.3.1": { + "aurelia-binding": "npm:aurelia-binding@^1.3.0", + "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", + "aurelia-logging": "npm:aurelia-logging@^1.0.0", + "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", + "aurelia-pal": "npm:aurelia-pal@^1.3.0", + "aurelia-path": "npm:aurelia-path@^1.0.0", + "aurelia-router": "npm:aurelia-router@^1.5.0", + "aurelia-templating": "npm:aurelia-templating@^1.5.0" + }, + "npm:aurelia-router@1.5.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@^1.0.0", - "aurelia-history": "npm:aurelia-history@^1.0.0", + "aurelia-history": "npm:aurelia-history@^1.1.0", "aurelia-logging": "npm:aurelia-logging@^1.0.0", "aurelia-path": "npm:aurelia-path@^1.0.0", "aurelia-route-recognizer": "npm:aurelia-route-recognizer@^1.0.0" }, - "npm:aurelia-templating-resources@1.4.0": { - "aurelia-binding": "npm:aurelia-binding@^1.1.0", + "npm:aurelia-framework@1.2.0": { + "aurelia-binding": "npm:aurelia-binding@^1.0.0", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", "aurelia-loader": "npm:aurelia-loader@^1.0.0", "aurelia-logging": "npm:aurelia-logging@^1.0.0", "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.3.0", + "aurelia-pal": "npm:aurelia-pal@^1.0.0", "aurelia-path": "npm:aurelia-path@^1.0.0", "aurelia-task-queue": "npm:aurelia-task-queue@^1.0.0", - "aurelia-templating": "npm:aurelia-templating@^1.3.0" + "aurelia-templating": "npm:aurelia-templating@^1.0.0" }, - "npm:aurelia-templating@1.4.2": { + "npm:aurelia-templating@1.7.0": { "aurelia-binding": "npm:aurelia-binding@^1.0.0", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", "aurelia-loader": "npm:aurelia-loader@^1.0.0", @@ -145,50 +164,25 @@ "aurelia-path": "npm:aurelia-path@^1.0.0", "aurelia-task-queue": "npm:aurelia-task-queue@^1.1.0" }, - "npm:process@0.11.10": { - "assert": "github:jspm/nodelibs-assert@^0.1.0", - "vm": "github:jspm/nodelibs-vm@^0.1.0", - "fs": "github:jspm/nodelibs-fs@^0.1.0" - }, - "github:jspm/nodelibs-buffer@0.1.1": { - "buffer": "npm:buffer@^5.0.6" - }, - "npm:base64-js@1.2.1": {}, - "npm:aurelia-polyfills@1.2.2": { - "aurelia-pal": "npm:aurelia-pal@^1.0.0" - }, - "npm:aurelia-framework@1.1.4": { - "aurelia-binding": "npm:aurelia-binding@^1.0.0", + "npm:aurelia-templating-resources@1.6.0": { + "aurelia-binding": "npm:aurelia-binding@^1.7.1", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", "aurelia-loader": "npm:aurelia-loader@^1.0.0", "aurelia-logging": "npm:aurelia-logging@^1.0.0", "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.0.0", + "aurelia-pal": "npm:aurelia-pal@^1.3.0", "aurelia-path": "npm:aurelia-path@^1.0.0", "aurelia-task-queue": "npm:aurelia-task-queue@^1.0.0", - "aurelia-templating": "npm:aurelia-templating@^1.0.0" - }, - "npm:buffer@5.0.7": { - "base64-js": "npm:base64-js@^1.0.2", - "ieee754": "npm:ieee754@^1.1.4" + "aurelia-templating": "npm:aurelia-templating@^1.5.0" }, - "npm:aurelia-pal@1.4.0": {}, - "npm:aurelia-pal-browser@1.3.0": { - "aurelia-pal": "npm:aurelia-pal@^1.4.0" - }, - "npm:aurelia-dependency-injection@1.3.2": { - "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", - "aurelia-pal": "npm:aurelia-pal@^1.0.0" - }, - "npm:aurelia-fetch-client@1.1.3": {}, - "github:systemjs/plugin-css@0.1.36": {}, - "npm:aurelia-binding@1.2.2": { + "github:systemjs/plugin-css@0.1.37": {}, + "npm:aurelia-binding@1.7.1": { "aurelia-logging": "npm:aurelia-logging@^1.0.0", "aurelia-metadata": "npm:aurelia-metadata@^1.0.0", "aurelia-pal": "npm:aurelia-pal@^1.0.0", "aurelia-task-queue": "npm:aurelia-task-queue@^1.0.0" }, - "npm:aurelia-kendoui-bridge@1.6.5": { + "npm:aurelia-kendoui-bridge@1.7.0": { "aurelia-binding": "npm:aurelia-binding@^1.0.4", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0", "aurelia-logging": "npm:aurelia-logging@^1.0.0", @@ -198,5 +192,11 @@ "aurelia-task-queue": "npm:aurelia-task-queue@^1.0.0", "aurelia-templating": "npm:aurelia-templating@^1.1.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@^1.0.0" + }, + "npm:ieee754@1.1.11": {}, + "npm:base64-js@1.2.3": {}, + "npm:buffer@5.1.0": { + "base64-js": "npm:base64-js@^1.0.2", + "ieee754": "npm:ieee754@^1.1.4" } } \ No newline at end of file diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36.js b/jspm_packages/github/systemjs/plugin-css@0.1.36.js deleted file mode 100644 index 20cac02..0000000 --- a/jspm_packages/github/systemjs/plugin-css@0.1.36.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("github:systemjs/plugin-css@0.1.36/css"); \ No newline at end of file diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/.jspm-hash b/jspm_packages/github/systemjs/plugin-css@0.1.36/.jspm-hash deleted file mode 100644 index 5ff990b..0000000 --- a/jspm_packages/github/systemjs/plugin-css@0.1.36/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -5889e0617d328f516f7f6c21d6774094e82c46e799914b932bd37a50b983c5e7c90ae93bjspm-github@0.13.10.16.1 \ No newline at end of file diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.37.js b/jspm_packages/github/systemjs/plugin-css@0.1.37.js new file mode 100644 index 0000000..f876ed5 --- /dev/null +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37.js @@ -0,0 +1 @@ +module.exports = require("github:systemjs/plugin-css@0.1.37/css"); \ No newline at end of file diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/.gitignore b/jspm_packages/github/systemjs/plugin-css@0.1.37/.gitignore similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/.gitignore rename to jspm_packages/github/systemjs/plugin-css@0.1.37/.gitignore diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.37/.jspm-hash b/jspm_packages/github/systemjs/plugin-css@0.1.37/.jspm-hash new file mode 100644 index 0000000..5955757 --- /dev/null +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37/.jspm-hash @@ -0,0 +1 @@ +12e6185a60ee79f1d757834740a6e24d9ea497f999914b932bd37a50b983c5e7c90ae93bjspm-github@0.13.10.16.1 \ No newline at end of file diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/LICENSE b/jspm_packages/github/systemjs/plugin-css@0.1.37/LICENSE similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/LICENSE rename to jspm_packages/github/systemjs/plugin-css@0.1.37/LICENSE diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/README.md b/jspm_packages/github/systemjs/plugin-css@0.1.37/README.md similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/README.md rename to jspm_packages/github/systemjs/plugin-css@0.1.37/README.md diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/jspm.config.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/jspm.config.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/jspm.config.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/jspm.config.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/package.json b/jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/package.json similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/package.json rename to jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/package.json diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/postcss-bundle.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/postcss-bundle.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/build-post-css/postcss-bundle.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/build-post-css/postcss-bundle.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/css-plugin-base-builder.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/css-plugin-base-builder.js similarity index 98% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/css-plugin-base-builder.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/css-plugin-base-builder.js index 551b261..63261ea 100644 --- a/jspm_packages/github/systemjs/plugin-css@0.1.36/css-plugin-base-builder.js +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37/css-plugin-base-builder.js @@ -122,7 +122,7 @@ exports.bundle = function(loads, compileOpts, outputOpts) { } }), atUrl({ url: function(fileName, decl, from, dirname, to, options, result) { - if ((absUrl(fileName) && fileName.charAt(0) !== '/') || fileName.match(/^%23/)) + if ((absUrl(fileName) && (!loader.browserRootURL || fileName.charAt(0) !== '/')) || fileName.match(/^%23/)) return fileName; // dirname may be renormalized to cwd diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/css-plugin-base.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/css-plugin-base.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/css-plugin-base.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/css-plugin-base.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/css.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/css.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/css.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/css.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/package.json b/jspm_packages/github/systemjs/plugin-css@0.1.37/package.json similarity index 95% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/package.json rename to jspm_packages/github/systemjs/plugin-css@0.1.37/package.json index d12d427..8329647 100644 --- a/jspm_packages/github/systemjs/plugin-css@0.1.36/package.json +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37/package.json @@ -1,6 +1,6 @@ { "name": "systemjs-plugin-css", - "version": "0.1.36", + "version": "0.1.37", "main": "css", "registry": "jspm", "scripts": { diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/postcss-bundle.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/postcss-bundle.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/postcss-bundle.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/postcss-bundle.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/bundle.css b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/bundle.css similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/bundle.css rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/bundle.css diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/bundle.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/bundle.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/bundle.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/bundle.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/css.browser.spec.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/css.browser.spec.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/css.browser.spec.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/css.browser.spec.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/css.builder.spec.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/css.builder.spec.js similarity index 52% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/css.builder.spec.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/css.builder.spec.js index 650af19..e887b35 100644 --- a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/css.builder.spec.js +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/css.builder.spec.js @@ -25,6 +25,41 @@ describe('CSS Builder', function() { }); }); + describe('with a browserRootURL config', function () { + it('should preprend it to a relative url(...) reference', function () { + var builder = new Builder(); + builder.config(System.getConfig()); + builder.config({ + browserRootURL: 'https://example.com/', + rootURL: './test' + }); + return builder.compile('test/data/test.css!', {minify: false}).then((results) => { + return expect(results.source).to.contain("body{background-color:red;background-image:url(https://example.com/data/x.png)}"); + }); + }); + + it('should preprend it to a root-relative url(...) reference', function () { + var builder = new Builder(); + builder.config(System.getConfig()); + builder.config({ + browserRootURL: 'https://example.com/', + rootURL: './test' + }); + return builder.compile('test/data/rootRelative.css!', {minify: false}).then((results) => { + return expect(results.source).to.contain("body{background-color:red;background-image:url(https://example.com/path/to/x.png)}"); + }); + }); + }); + + // https://github.com/systemjs/plugin-css/pull/135#commitcomment-24415595 + it('should handle a root-relative url when no rootURL and no browserRootURL are configured', function () { + var builder = new Builder(); + builder.config(System.getConfig()); + return builder.compile('test/data/rootRelative.css!', {minify: false}).then((results) => { + return expect(results.source).to.contain("body{background-color:red;background-image:url(/path/to/x.png)}"); + }); + }); + it('Should support buildCSS: false', function() { var builder = new Builder(); builder.config(System.getConfig()); diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/data/dep.css b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/dep.css similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/data/dep.css rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/dep.css diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/rootRelative.css b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/rootRelative.css new file mode 100644 index 0000000..41db838 --- /dev/null +++ b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/rootRelative.css @@ -0,0 +1,6 @@ +@import "./dep.css"; + +body { + background-color: red; + background-image: url(/path/to/x.png); +} diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/data/test.css b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/test.css similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/data/test.css rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/data/test.css diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/mocha-setup.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/mocha-setup.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/mocha-setup.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/mocha-setup.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/mocha.opts b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/mocha.opts similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/mocha.opts rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/mocha.opts diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/phantom.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/phantom.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/phantom.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/phantom.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/systemjs-config.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/systemjs-config.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/systemjs-config.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/systemjs-config.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/test.js b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/test.js similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/test.js rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/test.js diff --git a/jspm_packages/github/systemjs/plugin-css@0.1.36/test/testrunner.html b/jspm_packages/github/systemjs/plugin-css@0.1.37/test/testrunner.html similarity index 100% rename from jspm_packages/github/systemjs/plugin-css@0.1.36/test/testrunner.html rename to jspm_packages/github/systemjs/plugin-css@0.1.37/test/testrunner.html diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.2.js b/jspm_packages/npm/aurelia-animator-css@1.0.2.js deleted file mode 100644 index e2ce74f..0000000 --- a/jspm_packages/npm/aurelia-animator-css@1.0.2.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-animator-css@1.0.2/aurelia-animator-css"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.2/.jspm-hash b/jspm_packages/npm/aurelia-animator-css@1.0.2/.jspm-hash deleted file mode 100644 index b4ebf62..0000000 --- a/jspm_packages/npm/aurelia-animator-css@1.0.2/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -5b8c77d3e3204f4683e4b98d245e77663f01687299914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.4.js b/jspm_packages/npm/aurelia-animator-css@1.0.4.js new file mode 100644 index 0000000..9e41b9c --- /dev/null +++ b/jspm_packages/npm/aurelia-animator-css@1.0.4.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-animator-css@1.0.4/aurelia-animator-css"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.4/.jspm-hash b/jspm_packages/npm/aurelia-animator-css@1.0.4/.jspm-hash new file mode 100644 index 0000000..79d168a --- /dev/null +++ b/jspm_packages/npm/aurelia-animator-css@1.0.4/.jspm-hash @@ -0,0 +1 @@ +8336ab84f9a8bf60a4536e99145e73a80c0f0dac99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.2/aurelia-animator-css.js b/jspm_packages/npm/aurelia-animator-css@1.0.4/aurelia-animator-css.js similarity index 92% rename from jspm_packages/npm/aurelia-animator-css@1.0.2/aurelia-animator-css.js rename to jspm_packages/npm/aurelia-animator-css@1.0.4/aurelia-animator-css.js index 5fb5bda..174f1a0 100644 --- a/jspm_packages/npm/aurelia-animator-css@1.0.2/aurelia-animator-css.js +++ b/jspm_packages/npm/aurelia-animator-css@1.0.4/aurelia-animator-css.js @@ -191,6 +191,9 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur var _animStart = void 0; var animHasStarted = false; _this4._addMultipleEventListener(element, 'webkitAnimationStart animationstart', _animStart = function animStart(evAnimStart) { + if (evAnimStart.target !== element) { + return; + } animHasStarted = true; _this4.isAnimating = true; @@ -206,6 +209,9 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur if (!animHasStarted) { return; } + if (evAnimEnd.target !== element) { + return; + } evAnimEnd.stopPropagation(); @@ -225,7 +231,6 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur }, false); var parent = element.parentElement; - var delay = 0; var attrib = 'data-animator-pending' + direction; var cleanupAnimation = function cleanupAnimation() { @@ -243,10 +248,10 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur parent && parent.setAttribute(attrib, +(parent.getAttribute(attrib) || 1) - 1); }; - if (parent !== null && parent !== undefined && (parent.classList.contains('au-stagger') || parent.classList.contains('au-stagger-enter'))) { + if (parent !== null && parent !== undefined && (parent.classList.contains('au-stagger') || parent.classList.contains('au-stagger-' + direction))) { var offset = +(parent.getAttribute(attrib) || 0); parent.setAttribute(attrib, offset + 1); - delay = _this4._getElementAnimationDelay(parent) * offset; + var delay = _this4._getElementAnimationDelay(parent) * offset; _this4._triggerDOMEvent(_aureliaTemplating.animationEvent.staggerNext, element); setTimeout(function () { @@ -285,12 +290,20 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur _this5._triggerDOMEvent(_aureliaTemplating.animationEvent.removeClassBegin, element); } + if (classList.contains(className + '-add')) { + classList.remove(className + '-add'); + classList.add(className); + } + classList.remove(className); var prevAnimationNames = _this5._getElementAnimationNames(element); var _animStart2 = void 0; var animHasStarted = false; _this5._addMultipleEventListener(element, 'webkitAnimationStart animationstart', _animStart2 = function animStart(evAnimStart) { + if (evAnimStart.target !== element) { + return; + } animHasStarted = true; _this5.isAnimating = true; @@ -308,9 +321,18 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur if (!animHasStarted) { return; } + if (evAnimEnd.target !== element) { + return; + } + + if (!element.classList.contains(className + '-remove')) { + resolve(true); + } evAnimEnd.stopPropagation(); + classList.remove(className); + classList.remove(className + '-remove'); evAnimEnd.target.removeEventListener(evAnimEnd.type, _animEnd2); @@ -355,9 +377,17 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur _this6._triggerDOMEvent(_aureliaTemplating.animationEvent.addClassBegin, element); } + if (classList.contains(className + '-remove')) { + classList.remove(className + '-remove'); + classList.remove(className); + } + var _animStart3 = void 0; var animHasStarted = false; _this6._addMultipleEventListener(element, 'webkitAnimationStart animationstart', _animStart3 = function animStart(evAnimStart) { + if (evAnimStart.target !== element) { + return; + } animHasStarted = true; _this6.isAnimating = true; @@ -375,6 +405,13 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur if (!animHasStarted) { return; } + if (evAnimEnd.target !== element) { + return; + } + + if (!element.classList.contains(className + '-add')) { + resolve(true); + } evAnimEnd.stopPropagation(); diff --git a/jspm_packages/npm/aurelia-animator-css@1.0.2/index.js b/jspm_packages/npm/aurelia-animator-css@1.0.4/index.js similarity index 100% rename from jspm_packages/npm/aurelia-animator-css@1.0.2/index.js rename to jspm_packages/npm/aurelia-animator-css@1.0.4/index.js diff --git a/jspm_packages/npm/aurelia-binding@1.2.2.js b/jspm_packages/npm/aurelia-binding@1.2.2.js deleted file mode 100644 index e16b32c..0000000 --- a/jspm_packages/npm/aurelia-binding@1.2.2.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-binding@1.2.2/aurelia-binding"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-binding@1.2.2/.jspm-hash b/jspm_packages/npm/aurelia-binding@1.2.2/.jspm-hash deleted file mode 100644 index dc76d47..0000000 --- a/jspm_packages/npm/aurelia-binding@1.2.2/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -f40da1b31aa68046d32aa05bcfaf5bd3f3e4971699914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-binding@1.7.1.js b/jspm_packages/npm/aurelia-binding@1.7.1.js new file mode 100644 index 0000000..0d81b0e --- /dev/null +++ b/jspm_packages/npm/aurelia-binding@1.7.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-binding@1.7.1/aurelia-binding"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-binding@1.7.1/.jspm-hash b/jspm_packages/npm/aurelia-binding@1.7.1/.jspm-hash new file mode 100644 index 0000000..929d4d5 --- /dev/null +++ b/jspm_packages/npm/aurelia-binding@1.7.1/.jspm-hash @@ -0,0 +1 @@ +9d76784d35d84b8117f23c0eba00de6282ded10799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-binding@1.2.2/aurelia-binding.js b/jspm_packages/npm/aurelia-binding@1.7.1/aurelia-binding.js similarity index 82% rename from jspm_packages/npm/aurelia-binding@1.2.2/aurelia-binding.js rename to jspm_packages/npm/aurelia-binding@1.7.1/aurelia-binding.js index c21f3c8..2f318ba 100644 --- a/jspm_packages/npm/aurelia-binding@1.2.2/aurelia-binding.js +++ b/jspm_packages/npm/aurelia-binding@1.7.1/aurelia-binding.js @@ -5,7 +5,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure Object.defineProperty(exports, "__esModule", { value: true }); - exports.getSetObserver = exports.BindingEngine = exports.NameExpression = exports.Listener = exports.ListenerExpression = exports.BindingBehaviorResource = exports.ValueConverterResource = exports.Call = exports.CallExpression = exports.Binding = exports.BindingExpression = exports.ObjectObservationAdapter = exports.ObserverLocator = exports.SVGAnalyzer = exports.presentationAttributes = exports.presentationElements = exports.elements = exports.ComputedExpression = exports.ClassObserver = exports.SelectValueObserver = exports.CheckedObserver = exports.ValueAttributeObserver = exports.StyleObserver = exports.DataAttributeObserver = exports.dataAttributeAccessor = exports.XLinkAttributeObserver = exports.SetterObserver = exports.PrimitiveObserver = exports.propertyAccessor = exports.DirtyCheckProperty = exports.DirtyChecker = exports.EventManager = exports.delegationStrategy = exports.getMapObserver = exports.ParserImplementation = exports.Parser = exports.Scanner = exports.Lexer = exports.Token = exports.bindingMode = exports.ExpressionCloner = exports.Unparser = exports.LiteralObject = exports.LiteralArray = exports.LiteralString = exports.LiteralPrimitive = exports.PrefixNot = exports.Binary = exports.CallFunction = exports.CallMember = exports.CallScope = exports.AccessKeyed = exports.AccessMember = exports.AccessScope = exports.AccessThis = exports.Conditional = exports.Assign = exports.ValueConverter = exports.BindingBehavior = exports.Chain = exports.Expression = exports.getArrayObserver = exports.CollectionLengthObserver = exports.ModifyCollectionObserver = exports.ExpressionObserver = exports.sourceContext = undefined; + exports.getSetObserver = exports.BindingEngine = exports.NameExpression = exports.Listener = exports.ListenerExpression = exports.BindingBehaviorResource = exports.ValueConverterResource = exports.Call = exports.CallExpression = exports.Binding = exports.BindingExpression = exports.ObjectObservationAdapter = exports.ObserverLocator = exports.SVGAnalyzer = exports.presentationAttributes = exports.presentationElements = exports.elements = exports.ComputedExpression = exports.ClassObserver = exports.SelectValueObserver = exports.CheckedObserver = exports.ValueAttributeObserver = exports.StyleObserver = exports.DataAttributeObserver = exports.dataAttributeAccessor = exports.XLinkAttributeObserver = exports.SetterObserver = exports.PrimitiveObserver = exports.propertyAccessor = exports.DirtyCheckProperty = exports.DirtyChecker = exports.EventSubscriber = exports.EventManager = exports.delegationStrategy = exports.getMapObserver = exports.ParserImplementation = exports.Parser = exports.Scanner = exports.Lexer = exports.Token = exports.bindingMode = exports.ExpressionCloner = exports.Unparser = exports.LiteralObject = exports.LiteralArray = exports.LiteralString = exports.LiteralPrimitive = exports.PrefixNot = exports.Binary = exports.CallFunction = exports.CallMember = exports.CallScope = exports.AccessKeyed = exports.AccessMember = exports.AccessScope = exports.AccessThis = exports.Conditional = exports.Assign = exports.ValueConverter = exports.BindingBehavior = exports.Chain = exports.Expression = exports.getArrayObserver = exports.CollectionLengthObserver = exports.ModifyCollectionObserver = exports.ExpressionObserver = exports.sourceContext = exports.targetContext = undefined; exports.camelCase = camelCase; exports.createOverrideContext = createOverrideContext; exports.getContextFor = getContextFor; @@ -25,6 +25,8 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure exports.valueConverter = valueConverter; exports.bindingBehavior = bindingBehavior; exports.observable = observable; + exports.connectBindingToSignal = connectBindingToSignal; + exports.signalBindings = signalBindings; var LogManager = _interopRequireWildcard(_aureliaLogging); @@ -48,7 +50,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { @@ -97,6 +99,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var _dec, _dec2, _class, _dec3, _class2, _dec4, _class3, _dec5, _class5, _dec6, _class7, _dec7, _class8, _dec8, _class9, _dec9, _class10, _class12, _temp, _dec10, _class13, _class14, _temp2; + var targetContext = exports.targetContext = 'Binding:target'; + var sourceContext = exports.sourceContext = 'Binding:source'; + var map = Object.create(null); function camelCase(name) { @@ -154,7 +159,6 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; } - var sourceContext = exports.sourceContext = 'Binding:source'; var slotNames = []; var versionSlotNames = []; @@ -319,13 +323,20 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this._callable2 = null; return true; } - var rest = this._contextsRest; - var index = void 0; - if (!rest || !rest.length || (index = rest.indexOf(context)) === -1 || this._callablesRest[index] !== callable) { + var callables = this._callablesRest; + if (callables === undefined || callables.length === 0) { return false; } - rest.splice(index, 1); - this._callablesRest.splice(index, 1); + var contexts = this._contextsRest; + var i = 0; + while (!(callables[i] === callable && contexts[i] === context) && callables.length > i) { + i++; + } + if (i >= callables.length) { + return false; + } + contexts.splice(i, 1); + callables.splice(i, 1); return true; } @@ -1332,6 +1343,18 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure while (i--) { expressions[i].connect(binding, scope); } + var converter = binding.lookupFunctions.valueConverters(this.name); + if (!converter) { + throw new Error('No ValueConverter named "' + this.name + '" was found!'); + } + var signals = converter.signals; + if (signals === undefined) { + return; + } + i = signals.length; + while (i--) { + connectBindingToSignal(binding, signals[i]); + } }; return ValueConverter; @@ -2047,7 +2070,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure Unparser.prototype.visitChain = function visitChain(chain) { var expressions = chain.expressions; - for (var _i16 = 0, length = expression.length; _i16 < length; ++_i16) { + for (var _i16 = 0, length = expressions.length; _i16 < length; ++_i16) { if (_i16 !== 0) { this.write(';'); } @@ -2301,8 +2324,10 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var bindingMode = exports.bindingMode = { oneTime: 0, + toView: 1, oneWay: 1, - twoWay: 2 + twoWay: 2, + fromView: 3 }; var Token = exports.Token = function () { @@ -2443,7 +2468,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure Scanner.prototype.scanOperator = function scanOperator(start, text) { assert(this.peek === text.charCodeAt(0)); - assert(OPERATORS.indexOf(text) !== -1); + assert(OPERATORS[text] === 1); this.advance(); return new Token(start, text).withOp(text); }; @@ -2464,7 +2489,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure text += two; } - assert(OPERATORS.indexOf(text) !== -1); + assert(OPERATORS[text] === 1); return new Token(start, text).withOp(text); }; @@ -2482,7 +2507,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var text = this.input.substring(start, this.index); var result = new Token(start, text); - if (OPERATORS.indexOf(text) !== -1) { + if (OPERATORS[text] === 1) { result.withOp(text); } else { result.withGetterSetter(text); @@ -2596,7 +2621,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; Scanner.prototype.error = function error(message) { - var offset = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1]; + var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; var position = this.index + offset; throw new Error('Lexer Error: ' + message + ' at column ' + position + ' in expression [' + this.input + ']'); @@ -2605,7 +2630,33 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure return Scanner; }(); - var OPERATORS = ['undefined', 'null', 'true', 'false', '+', '-', '*', '/', '%', '^', '=', '==', '===', '!=', '!==', '<', '>', '<=', '>=', '&&', '||', '&', '|', '!', '?']; + var OPERATORS = { + 'undefined': 1, + 'null': 1, + 'true': 1, + 'false': 1, + '+': 1, + '-': 1, + '*': 1, + '/': 1, + '%': 1, + '^': 1, + '=': 1, + '==': 1, + '===': 1, + '!=': 1, + '!==': 1, + '<': 1, + '>': 1, + '<=': 1, + '>=': 1, + '&&': 1, + '||': 1, + '&': 1, + '|': 1, + '!': 1, + '?': 1 + }; var $EOF = 0; var $TAB = 9; @@ -2811,9 +2862,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure while (this.peek.text === '=') { if (!result.isAssignable) { var end = this.index < this.tokens.length ? this.peek.index : this.input.length; - var _expression = this.input.substring(start, end); + var expression = this.input.substring(start, end); - this.error('Expression ' + _expression + ' is not assignable'); + this.error('Expression ' + expression + ' is not assignable'); } this.expect('='); @@ -2832,9 +2883,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (!this.optional(':')) { var end = this.index < this.tokens.length ? this.peek.index : this.input.length; - var _expression2 = this.input.substring(start, end); + var expression = this.input.substring(start, end); - this.error('Conditional expression ' + _expression2 + ' requires all 3 expressions'); + this.error('Conditional expression ' + expression + ' requires all 3 expressions'); } var no = this.parseExpression(); @@ -2994,9 +3045,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure } else if (this.optional('false')) { return new LiteralPrimitive(false); } else if (this.optional('[')) { - var elements = this.parseExpressionList(']'); + var _elements = this.parseExpressionList(']'); this.expect(']'); - return new LiteralArray(elements); + return new LiteralArray(_elements); } else if (this.peek.text === '{') { return this.parseObject(); } else if (this.peek.key !== null && this.peek.key !== undefined) { @@ -3027,7 +3078,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (this.optional('.')) { name = this.peek.key; this.advance(); - } else if (this.peek === EOF || this.peek.text === '(' || this.peek.text === ')' || this.peek.text === '[' || this.peek.text === '}' || this.peek.text === ',') { + } else if (this.peek === EOF || this.peek.text === '(' || this.peek.text === ')' || this.peek.text === '[' || this.peek.text === '}' || this.peek.text === ',' || this.peek.text === '|' || this.peek.text === '&') { return new AccessThis(ancestor); } else { this.error('Unexpected token ' + this.peek.text); @@ -3214,13 +3265,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.propagationStopped = true; } - function interceptStopPropagation(event) { - event.standardStopPropagation = event.stopPropagation; - event.stopPropagation = stopPropagation; - } - function handleCapturedEvent(event) { - var interceptInstalled = false; event.propagationStopped = false; var target = findOriginalEventTarget(event); @@ -3230,20 +3275,21 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (target.capturedCallbacks) { var callback = target.capturedCallbacks[event.type]; if (callback) { - if (!interceptInstalled) { - interceptStopPropagation(event); - interceptInstalled = true; + if (event.stopPropagation !== stopPropagation) { + event.standardStopPropagation = event.stopPropagation; + event.stopPropagation = stopPropagation; } orderedCallbacks.push(callback); } } target = target.parentNode; } - for (var _i22 = orderedCallbacks.length - 1; _i22 >= 0; _i22--) { + for (var _i22 = orderedCallbacks.length - 1; _i22 >= 0 && !event.propagationStopped; _i22--) { var orderedCallback = orderedCallbacks[_i22]; - orderedCallback(event); - if (event.propagationStopped) { - break; + if ('handleEvent' in orderedCallback) { + orderedCallback.handleEvent(event); + } else { + orderedCallback(event); } } } @@ -3276,7 +3322,6 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }(); function handleDelegatedEvent(event) { - var interceptInstalled = false; event.propagationStopped = false; var target = findOriginalEventTarget(event); @@ -3284,11 +3329,15 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (target.delegatedCallbacks) { var callback = target.delegatedCallbacks[event.type]; if (callback) { - if (!interceptInstalled) { - interceptStopPropagation(event); - interceptInstalled = true; + if (event.stopPropagation !== stopPropagation) { + event.standardStopPropagation = event.stopPropagation; + event.stopPropagation = stopPropagation; + } + if ('handleEvent' in callback) { + callback.handleEvent(event); + } else { + callback(event); } - callback(event); } } @@ -3316,13 +3365,48 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.count--; if (this.count === 0) { - _aureliaPal.DOM.removeEventListener(this.eventName, handleDelegatedEvent); + _aureliaPal.DOM.removeEventListener(this.eventName, handleDelegatedEvent, false); } }; return DelegateHandlerEntry; }(); + var DelegationEntryHandler = function () { + function DelegationEntryHandler(entry, lookup, targetEvent) { + + + this.entry = entry; + this.lookup = lookup; + this.targetEvent = targetEvent; + } + + DelegationEntryHandler.prototype.dispose = function dispose() { + this.entry.decrement(); + this.lookup[this.targetEvent] = null; + this.entry = this.lookup = this.targetEvent = null; + }; + + return DelegationEntryHandler; + }(); + + var EventHandler = function () { + function EventHandler(target, targetEvent, callback) { + + + this.target = target; + this.targetEvent = targetEvent; + this.callback = callback; + } + + EventHandler.prototype.dispose = function dispose() { + this.target.removeEventListener(this.targetEvent, this.callback); + this.target = this.targetEvent = this.callback = null; + }; + + return EventHandler; + }(); + var DefaultEventStrategy = function () { function DefaultEventStrategy() { @@ -3331,53 +3415,51 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.capturedHandlers = {}; } - DefaultEventStrategy.prototype.subscribe = function subscribe(target, targetEvent, callback, strategy) { - var _this22 = this; - + DefaultEventStrategy.prototype.subscribe = function subscribe(target, targetEvent, callback, strategy, disposable) { var delegatedHandlers = void 0; var capturedHandlers = void 0; var handlerEntry = void 0; if (strategy === delegationStrategy.bubbling) { - var _ret = function () { - delegatedHandlers = _this22.delegatedHandlers; - handlerEntry = delegatedHandlers[targetEvent] || (delegatedHandlers[targetEvent] = new DelegateHandlerEntry(targetEvent)); - var delegatedCallbacks = target.delegatedCallbacks || (target.delegatedCallbacks = {}); + delegatedHandlers = this.delegatedHandlers; + handlerEntry = delegatedHandlers[targetEvent] || (delegatedHandlers[targetEvent] = new DelegateHandlerEntry(targetEvent)); + var delegatedCallbacks = target.delegatedCallbacks || (target.delegatedCallbacks = {}); - handlerEntry.increment(); - delegatedCallbacks[targetEvent] = callback; + handlerEntry.increment(); + delegatedCallbacks[targetEvent] = callback; - return { - v: function v() { - handlerEntry.decrement(); - delegatedCallbacks[targetEvent] = null; - } - }; - }(); + if (disposable === true) { + return new DelegationEntryHandler(handlerEntry, delegatedCallbacks, targetEvent); + } - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; + return function () { + handlerEntry.decrement(); + delegatedCallbacks[targetEvent] = null; + }; } if (strategy === delegationStrategy.capturing) { - var _ret2 = function () { - capturedHandlers = _this22.capturedHandlers; - handlerEntry = capturedHandlers[targetEvent] || (capturedHandlers[targetEvent] = new CapturedHandlerEntry(targetEvent)); - var capturedCallbacks = target.capturedCallbacks || (target.capturedCallbacks = {}); + capturedHandlers = this.capturedHandlers; + handlerEntry = capturedHandlers[targetEvent] || (capturedHandlers[targetEvent] = new CapturedHandlerEntry(targetEvent)); + var capturedCallbacks = target.capturedCallbacks || (target.capturedCallbacks = {}); - handlerEntry.increment(); - capturedCallbacks[targetEvent] = callback; + handlerEntry.increment(); + capturedCallbacks[targetEvent] = callback; - return { - v: function v() { - handlerEntry.decrement(); - capturedCallbacks[targetEvent] = null; - } - }; - }(); + if (disposable === true) { + return new DelegationEntryHandler(handlerEntry, capturedCallbacks, targetEvent); + } - if ((typeof _ret2 === 'undefined' ? 'undefined' : _typeof(_ret2)) === "object") return _ret2.v; + return function () { + handlerEntry.decrement(); + capturedCallbacks[targetEvent] = null; + }; } - target.addEventListener(targetEvent, callback, false); + target.addEventListener(targetEvent, callback); + + if (disposable === true) { + return new EventHandler(target, targetEvent, callback); + } return function () { target.removeEventListener(targetEvent, callback); @@ -3446,39 +3528,15 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var properties = config.properties; var propertyName = void 0; - this.elementHandlerLookup[tagName] = {}; + var lookup = this.elementHandlerLookup[tagName] = {}; for (propertyName in properties) { if (properties.hasOwnProperty(propertyName)) { - this.registerElementPropertyConfig(tagName, propertyName, properties[propertyName]); + lookup[propertyName] = properties[propertyName]; } } }; - EventManager.prototype.registerElementPropertyConfig = function registerElementPropertyConfig(tagName, propertyName, events) { - this.elementHandlerLookup[tagName][propertyName] = this.createElementHandler(events); - }; - - EventManager.prototype.createElementHandler = function createElementHandler(events) { - return { - subscribe: function subscribe(target, callback) { - events.forEach(function (changeEvent) { - target.addEventListener(changeEvent, callback, false); - }); - - return function () { - events.forEach(function (changeEvent) { - target.removeEventListener(changeEvent, callback); - }); - }; - } - }; - }; - - EventManager.prototype.registerElementHandler = function registerElementHandler(tagName, handler) { - this.elementHandlerLookup[tagName.toLowerCase()] = handler; - }; - EventManager.prototype.registerEventStrategy = function registerEventStrategy(eventName, strategy) { this.eventStrategyLookup[eventName] = strategy; }; @@ -3491,28 +3549,63 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure tagName = target.tagName.toLowerCase(); if (lookup[tagName] && lookup[tagName][propertyName]) { - return lookup[tagName][propertyName]; + return new EventSubscriber(lookup[tagName][propertyName]); } if (propertyName === 'textContent' || propertyName === 'innerHTML') { - return lookup['content editable'].value; + return new EventSubscriber(lookup['content editable'].value); } if (propertyName === 'scrollTop' || propertyName === 'scrollLeft') { - return lookup['scrollable element'][propertyName]; + return new EventSubscriber(lookup['scrollable element'][propertyName]); } } return null; }; - EventManager.prototype.addEventListener = function addEventListener(target, targetEvent, callback, delegate) { - return (this.eventStrategyLookup[targetEvent] || this.defaultEventStrategy).subscribe(target, targetEvent, callback, delegate); + EventManager.prototype.addEventListener = function addEventListener(target, targetEvent, callbackOrListener, delegate, disposable) { + return (this.eventStrategyLookup[targetEvent] || this.defaultEventStrategy).subscribe(target, targetEvent, callbackOrListener, delegate, disposable); }; return EventManager; }(); + var EventSubscriber = exports.EventSubscriber = function () { + function EventSubscriber(events) { + + + this.events = events; + this.element = null; + this.handler = null; + } + + EventSubscriber.prototype.subscribe = function subscribe(element, callbackOrListener) { + this.element = element; + this.handler = callbackOrListener; + + var events = this.events; + for (var _i23 = 0, ii = events.length; ii > _i23; ++_i23) { + element.addEventListener(events[_i23], callbackOrListener); + } + }; + + EventSubscriber.prototype.dispose = function dispose() { + if (this.element === null) { + return; + } + var element = this.element; + var callbackOrListener = this.handler; + var events = this.events; + for (var _i24 = 0, ii = events.length; ii > _i24; ++_i24) { + element.removeEventListener(events[_i24], callbackOrListener); + } + this.element = this.handler = null; + }; + + return EventSubscriber; + }(); + var DirtyChecker = exports.DirtyChecker = function () { function DirtyChecker() { @@ -3537,10 +3630,10 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; DirtyChecker.prototype.scheduleDirtyCheck = function scheduleDirtyCheck() { - var _this23 = this; + var _this22 = this; setTimeout(function () { - return _this23.check(); + return _this22.check(); }, this.checkDelay); }; @@ -3754,7 +3847,11 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure return obj.getAttribute(propertyName); }, setValue: function setValue(value, obj, propertyName) { - return obj.setAttribute(propertyName, value); + if (value === null || value === undefined) { + obj.removeAttribute(propertyName); + } else { + obj.setAttribute(propertyName, value); + } } }; @@ -3771,6 +3868,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; DataAttributeObserver.prototype.setValue = function setValue(newValue) { + if (newValue === null || newValue === undefined) { + return this.element.removeAttribute(this.propertyName); + } return this.element.setAttribute(this.propertyName, newValue); }; @@ -3896,10 +3996,14 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.oldValue = newValue; }; + ValueAttributeObserver.prototype.handleEvent = function handleEvent() { + this.notify(); + }; + ValueAttributeObserver.prototype.subscribe = function subscribe(context, callable) { if (!this.hasSubscribers()) { this.oldValue = this.getValue(); - this.disposeHandler = this.handler.subscribe(this.element, this.notify.bind(this)); + this.handler.subscribe(this.element, this); } this.addSubscriber(context, callable); @@ -3907,8 +4011,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure ValueAttributeObserver.prototype.unsubscribe = function unsubscribe(context, callable) { if (this.removeSubscriber(context, callable) && !this.hasSubscribers()) { - this.disposeHandler(); - this.disposeHandler = null; + this.handler.dispose(); } }; @@ -4029,17 +4132,20 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.callSubscribers(newValue, oldValue); }; + CheckedObserver.prototype.handleEvent = function handleEvent() { + this.synchronizeValue(); + }; + CheckedObserver.prototype.subscribe = function subscribe(context, callable) { if (!this.hasSubscribers()) { - this.disposeHandler = this.handler.subscribe(this.element, this.synchronizeValue.bind(this, false)); + this.handler.subscribe(this.element, this); } this.addSubscriber(context, callable); }; CheckedObserver.prototype.unsubscribe = function unsubscribe(context, callable) { if (this.removeSubscriber(context, callable) && !this.hasSubscribers()) { - this.disposeHandler(); - this.disposeHandler = null; + this.handler.dispose(); } }; @@ -4132,21 +4238,21 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; while (i--) { - var _ret3 = _loop(); + var _ret = _loop(); - if (_ret3 === 'continue') continue; + if (_ret === 'continue') continue; } }; SelectValueObserver.prototype.synchronizeValue = function synchronizeValue() { - var _this24 = this; + var _this23 = this; var options = this.element.options; var count = 0; var value = []; - for (var _i23 = 0, ii = options.length; _i23 < ii; _i23++) { - var _option = options.item(_i23); + for (var _i25 = 0, ii = options.length; _i25 < ii; _i25++) { + var _option = options.item(_i25); if (!_option.selected) { continue; } @@ -4156,25 +4262,25 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (this.element.multiple) { if (Array.isArray(this.value)) { - var _ret4 = function () { - var matcher = _this24.element.matcher || function (a, b) { + var _ret2 = function () { + var matcher = _this23.element.matcher || function (a, b) { return a === b; }; var i = 0; var _loop2 = function _loop2() { - var a = _this24.value[i]; + var a = _this23.value[i]; if (value.findIndex(function (b) { return matcher(a, b); }) === -1) { - _this24.value.splice(i, 1); + _this23.value.splice(i, 1); } else { i++; } }; - while (i < _this24.value.length) { + while (i < _this23.value.length) { _loop2(); } @@ -4182,10 +4288,10 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var _loop3 = function _loop3() { var a = value[i]; - if (_this24.value.findIndex(function (b) { + if (_this23.value.findIndex(function (b) { return matcher(a, b); }) === -1) { - _this24.value.push(a); + _this23.value.push(a); } i++; }; @@ -4198,7 +4304,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; }(); - if ((typeof _ret4 === 'undefined' ? 'undefined' : _typeof(_ret4)) === "object") return _ret4.v; + if ((typeof _ret2 === 'undefined' ? 'undefined' : _typeof(_ret2)) === "object") return _ret2.v; } } else { if (count === 0) { @@ -4222,26 +4328,29 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.callSubscribers(newValue, oldValue); }; + SelectValueObserver.prototype.handleEvent = function handleEvent() { + this.synchronizeValue(); + }; + SelectValueObserver.prototype.subscribe = function subscribe(context, callable) { if (!this.hasSubscribers()) { - this.disposeHandler = this.handler.subscribe(this.element, this.synchronizeValue.bind(this, false)); + this.handler.subscribe(this.element, this); } this.addSubscriber(context, callable); }; SelectValueObserver.prototype.unsubscribe = function unsubscribe(context, callable) { if (this.removeSubscriber(context, callable) && !this.hasSubscribers()) { - this.disposeHandler(); - this.disposeHandler = null; + this.handler.dispose(); } }; SelectValueObserver.prototype.bind = function bind() { - var _this25 = this; + var _this24 = this; this.domObserver = _aureliaPal.DOM.createMutationObserver(function () { - _this25.synchronizeOptions(); - _this25.synchronizeValue(); + _this24.synchronizeOptions(); + _this24.synchronizeValue(); }); this.domObserver.observe(this.element, { childList: true, subtree: true }); }; @@ -4281,8 +4390,8 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (newValue !== null && newValue !== undefined && newValue.length) { names = newValue.split(/\s+/); - for (var _i24 = 0, length = names.length; _i24 < length; _i24++) { - name = names[_i24]; + for (var _i26 = 0, length = names.length; _i26 < length; _i26++) { + name = names[_i26]; if (name === '') { continue; } @@ -4341,12 +4450,12 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure function ComputedExpression(name, dependencies) { - var _this26 = _possibleConstructorReturn(this, _Expression19.call(this)); + var _this25 = _possibleConstructorReturn(this, _Expression19.call(this)); - _this26.name = name; - _this26.dependencies = dependencies; - _this26.isAssignable = true; - return _this26; + _this25.name = name; + _this25.dependencies = dependencies; + _this25.isAssignable = true; + return _this25; } ComputedExpression.prototype.evaluate = function evaluate(scope, lookupFunctions) { @@ -4375,9 +4484,9 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure function createComputedObserver(obj, propertyName, descriptor, observerLocator) { var dependencies = descriptor.get.dependencies; if (!(dependencies instanceof ComputedExpression)) { - var _i25 = dependencies.length; - while (_i25--) { - dependencies[_i25] = observerLocator.parser.parse(dependencies[_i25]); + var _i27 = dependencies.length; + while (_i27--) { + dependencies[_i27] = observerLocator.parser.parse(dependencies[_i27]); } dependencies = descriptor.get.dependencies = new ComputedExpression(propertyName, dependencies); } @@ -4392,236 +4501,234 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var svgAnalyzer = void 0; if (typeof FEATURE_NO_SVG === 'undefined') { - (function () { - svgElements = { - a: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'target', 'transform', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - altGlyph: ['class', 'dx', 'dy', 'externalResourcesRequired', 'format', 'glyphRef', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - altGlyphDef: ['id', 'xml:base', 'xml:lang', 'xml:space'], - altGlyphItem: ['id', 'xml:base', 'xml:lang', 'xml:space'], - animate: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - animateColor: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - animateMotion: ['accumulate', 'additive', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keyPoints', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'origin', 'path', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'rotate', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - animateTransform: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'type', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - circle: ['class', 'cx', 'cy', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'r', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - clipPath: ['class', 'clipPathUnits', 'externalResourcesRequired', 'id', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - 'color-profile': ['id', 'local', 'name', 'rendering-intent', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - cursor: ['externalResourcesRequired', 'id', 'requiredExtensions', 'requiredFeatures', 'systemLanguage', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - defs: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - desc: ['class', 'id', 'style', 'xml:base', 'xml:lang', 'xml:space'], - ellipse: ['class', 'cx', 'cy', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rx', 'ry', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - feBlend: ['class', 'height', 'id', 'in', 'in2', 'mode', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feColorMatrix: ['class', 'height', 'id', 'in', 'result', 'style', 'type', 'values', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feComponentTransfer: ['class', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feComposite: ['class', 'height', 'id', 'in', 'in2', 'k1', 'k2', 'k3', 'k4', 'operator', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feConvolveMatrix: ['bias', 'class', 'divisor', 'edgeMode', 'height', 'id', 'in', 'kernelMatrix', 'kernelUnitLength', 'order', 'preserveAlpha', 'result', 'style', 'targetX', 'targetY', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feDiffuseLighting: ['class', 'diffuseConstant', 'height', 'id', 'in', 'kernelUnitLength', 'result', 'style', 'surfaceScale', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feDisplacementMap: ['class', 'height', 'id', 'in', 'in2', 'result', 'scale', 'style', 'width', 'x', 'xChannelSelector', 'xml:base', 'xml:lang', 'xml:space', 'y', 'yChannelSelector'], - feDistantLight: ['azimuth', 'elevation', 'id', 'xml:base', 'xml:lang', 'xml:space'], - feFlood: ['class', 'height', 'id', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feFuncA: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], - feFuncB: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], - feFuncG: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], - feFuncR: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], - feGaussianBlur: ['class', 'height', 'id', 'in', 'result', 'stdDeviation', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feImage: ['class', 'externalResourcesRequired', 'height', 'id', 'preserveAspectRatio', 'result', 'style', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feMerge: ['class', 'height', 'id', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feMergeNode: ['id', 'xml:base', 'xml:lang', 'xml:space'], - feMorphology: ['class', 'height', 'id', 'in', 'operator', 'radius', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feOffset: ['class', 'dx', 'dy', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - fePointLight: ['id', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'z'], - feSpecularLighting: ['class', 'height', 'id', 'in', 'kernelUnitLength', 'result', 'specularConstant', 'specularExponent', 'style', 'surfaceScale', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feSpotLight: ['id', 'limitingConeAngle', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'specularExponent', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'z'], - feTile: ['class', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - feTurbulence: ['baseFrequency', 'class', 'height', 'id', 'numOctaves', 'result', 'seed', 'stitchTiles', 'style', 'type', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - filter: ['class', 'externalResourcesRequired', 'filterRes', 'filterUnits', 'height', 'id', 'primitiveUnits', 'style', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - font: ['class', 'externalResourcesRequired', 'horiz-adv-x', 'horiz-origin-x', 'horiz-origin-y', 'id', 'style', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], - 'font-face': ['accent-height', 'alphabetic', 'ascent', 'bbox', 'cap-height', 'descent', 'font-family', 'font-size', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'hanging', 'id', 'ideographic', 'mathematical', 'overline-position', 'overline-thickness', 'panose-1', 'slope', 'stemh', 'stemv', 'strikethrough-position', 'strikethrough-thickness', 'underline-position', 'underline-thickness', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'widths', 'x-height', 'xml:base', 'xml:lang', 'xml:space'], - 'font-face-format': ['id', 'string', 'xml:base', 'xml:lang', 'xml:space'], - 'font-face-name': ['id', 'name', 'xml:base', 'xml:lang', 'xml:space'], - 'font-face-src': ['id', 'xml:base', 'xml:lang', 'xml:space'], - 'font-face-uri': ['id', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - foreignObject: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - g: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - glyph: ['arabic-form', 'class', 'd', 'glyph-name', 'horiz-adv-x', 'id', 'lang', 'orientation', 'style', 'unicode', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], - glyphRef: ['class', 'dx', 'dy', 'format', 'glyphRef', 'id', 'style', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - hkern: ['g1', 'g2', 'id', 'k', 'u1', 'u2', 'xml:base', 'xml:lang', 'xml:space'], - image: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - line: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'x1', 'x2', 'xml:base', 'xml:lang', 'xml:space', 'y1', 'y2'], - linearGradient: ['class', 'externalResourcesRequired', 'gradientTransform', 'gradientUnits', 'id', 'spreadMethod', 'style', 'x1', 'x2', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y1', 'y2'], - marker: ['class', 'externalResourcesRequired', 'id', 'markerHeight', 'markerUnits', 'markerWidth', 'orient', 'preserveAspectRatio', 'refX', 'refY', 'style', 'viewBox', 'xml:base', 'xml:lang', 'xml:space'], - mask: ['class', 'externalResourcesRequired', 'height', 'id', 'maskContentUnits', 'maskUnits', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - metadata: ['id', 'xml:base', 'xml:lang', 'xml:space'], - 'missing-glyph': ['class', 'd', 'horiz-adv-x', 'id', 'style', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], - mpath: ['externalResourcesRequired', 'id', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - path: ['class', 'd', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'pathLength', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - pattern: ['class', 'externalResourcesRequired', 'height', 'id', 'patternContentUnits', 'patternTransform', 'patternUnits', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'viewBox', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - polygon: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'points', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - polyline: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'points', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - radialGradient: ['class', 'cx', 'cy', 'externalResourcesRequired', 'fx', 'fy', 'gradientTransform', 'gradientUnits', 'id', 'r', 'spreadMethod', 'style', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - rect: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rx', 'ry', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - script: ['externalResourcesRequired', 'id', 'type', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - set: ['attributeName', 'attributeType', 'begin', 'dur', 'end', 'externalResourcesRequired', 'fill', 'id', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - stop: ['class', 'id', 'offset', 'style', 'xml:base', 'xml:lang', 'xml:space'], - style: ['id', 'media', 'title', 'type', 'xml:base', 'xml:lang', 'xml:space'], - svg: ['baseProfile', 'class', 'contentScriptType', 'contentStyleType', 'externalResourcesRequired', 'height', 'id', 'onabort', 'onactivate', 'onclick', 'onerror', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onresize', 'onscroll', 'onunload', 'onzoom', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'version', 'viewBox', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'zoomAndPan'], - switch: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], - symbol: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'preserveAspectRatio', 'style', 'viewBox', 'xml:base', 'xml:lang', 'xml:space'], - text: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'transform', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - textPath: ['class', 'externalResourcesRequired', 'id', 'lengthAdjust', 'method', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'spacing', 'startOffset', 'style', 'systemLanguage', 'textLength', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], - title: ['class', 'id', 'style', 'xml:base', 'xml:lang', 'xml:space'], - tref: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'x', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - tspan: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], - use: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], - view: ['externalResourcesRequired', 'id', 'preserveAspectRatio', 'viewBox', 'viewTarget', 'xml:base', 'xml:lang', 'xml:space', 'zoomAndPan'], - vkern: ['g1', 'g2', 'id', 'k', 'u1', 'u2', 'xml:base', 'xml:lang', 'xml:space'] - }; - - - svgPresentationElements = { - 'a': true, - 'altGlyph': true, - 'animate': true, - 'animateColor': true, - 'circle': true, - 'clipPath': true, - 'defs': true, - 'ellipse': true, - 'feBlend': true, - 'feColorMatrix': true, - 'feComponentTransfer': true, - 'feComposite': true, - 'feConvolveMatrix': true, - 'feDiffuseLighting': true, - 'feDisplacementMap': true, - 'feFlood': true, - 'feGaussianBlur': true, - 'feImage': true, - 'feMerge': true, - 'feMorphology': true, - 'feOffset': true, - 'feSpecularLighting': true, - 'feTile': true, - 'feTurbulence': true, - 'filter': true, - 'font': true, - 'foreignObject': true, - 'g': true, - 'glyph': true, - 'glyphRef': true, - 'image': true, - 'line': true, - 'linearGradient': true, - 'marker': true, - 'mask': true, - 'missing-glyph': true, - 'path': true, - 'pattern': true, - 'polygon': true, - 'polyline': true, - 'radialGradient': true, - 'rect': true, - 'stop': true, - 'svg': true, - 'switch': true, - 'symbol': true, - 'text': true, - 'textPath': true, - 'tref': true, - 'tspan': true, - 'use': true - }; - - svgPresentationAttributes = { - 'alignment-baseline': true, - 'baseline-shift': true, - 'clip-path': true, - 'clip-rule': true, - 'clip': true, - 'color-interpolation-filters': true, - 'color-interpolation': true, - 'color-profile': true, - 'color-rendering': true, - 'color': true, - 'cursor': true, - 'direction': true, - 'display': true, - 'dominant-baseline': true, - 'enable-background': true, - 'fill-opacity': true, - 'fill-rule': true, - 'fill': true, - 'filter': true, - 'flood-color': true, - 'flood-opacity': true, - 'font-family': true, - 'font-size-adjust': true, - 'font-size': true, - 'font-stretch': true, - 'font-style': true, - 'font-variant': true, - 'font-weight': true, - 'glyph-orientation-horizontal': true, - 'glyph-orientation-vertical': true, - 'image-rendering': true, - 'kerning': true, - 'letter-spacing': true, - 'lighting-color': true, - 'marker-end': true, - 'marker-mid': true, - 'marker-start': true, - 'mask': true, - 'opacity': true, - 'overflow': true, - 'pointer-events': true, - 'shape-rendering': true, - 'stop-color': true, - 'stop-opacity': true, - 'stroke-dasharray': true, - 'stroke-dashoffset': true, - 'stroke-linecap': true, - 'stroke-linejoin': true, - 'stroke-miterlimit': true, - 'stroke-opacity': true, - 'stroke-width': true, - 'stroke': true, - 'text-anchor': true, - 'text-decoration': true, - 'text-rendering': true, - 'unicode-bidi': true, - 'visibility': true, - 'word-spacing': true, - 'writing-mode': true - }; - - var createElement = function createElement(html) { - var div = _aureliaPal.DOM.createElement('div'); - div.innerHTML = html; - return div.firstChild; - }; + svgElements = { + a: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'target', 'transform', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + altGlyph: ['class', 'dx', 'dy', 'externalResourcesRequired', 'format', 'glyphRef', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + altGlyphDef: ['id', 'xml:base', 'xml:lang', 'xml:space'], + altGlyphItem: ['id', 'xml:base', 'xml:lang', 'xml:space'], + animate: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + animateColor: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + animateMotion: ['accumulate', 'additive', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keyPoints', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'origin', 'path', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'rotate', 'systemLanguage', 'to', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + animateTransform: ['accumulate', 'additive', 'attributeName', 'attributeType', 'begin', 'by', 'calcMode', 'dur', 'end', 'externalResourcesRequired', 'fill', 'from', 'id', 'keySplines', 'keyTimes', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'type', 'values', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + circle: ['class', 'cx', 'cy', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'r', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + clipPath: ['class', 'clipPathUnits', 'externalResourcesRequired', 'id', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + 'color-profile': ['id', 'local', 'name', 'rendering-intent', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + cursor: ['externalResourcesRequired', 'id', 'requiredExtensions', 'requiredFeatures', 'systemLanguage', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + defs: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + desc: ['class', 'id', 'style', 'xml:base', 'xml:lang', 'xml:space'], + ellipse: ['class', 'cx', 'cy', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rx', 'ry', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + feBlend: ['class', 'height', 'id', 'in', 'in2', 'mode', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feColorMatrix: ['class', 'height', 'id', 'in', 'result', 'style', 'type', 'values', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feComponentTransfer: ['class', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feComposite: ['class', 'height', 'id', 'in', 'in2', 'k1', 'k2', 'k3', 'k4', 'operator', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feConvolveMatrix: ['bias', 'class', 'divisor', 'edgeMode', 'height', 'id', 'in', 'kernelMatrix', 'kernelUnitLength', 'order', 'preserveAlpha', 'result', 'style', 'targetX', 'targetY', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feDiffuseLighting: ['class', 'diffuseConstant', 'height', 'id', 'in', 'kernelUnitLength', 'result', 'style', 'surfaceScale', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feDisplacementMap: ['class', 'height', 'id', 'in', 'in2', 'result', 'scale', 'style', 'width', 'x', 'xChannelSelector', 'xml:base', 'xml:lang', 'xml:space', 'y', 'yChannelSelector'], + feDistantLight: ['azimuth', 'elevation', 'id', 'xml:base', 'xml:lang', 'xml:space'], + feFlood: ['class', 'height', 'id', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feFuncA: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], + feFuncB: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], + feFuncG: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], + feFuncR: ['amplitude', 'exponent', 'id', 'intercept', 'offset', 'slope', 'tableValues', 'type', 'xml:base', 'xml:lang', 'xml:space'], + feGaussianBlur: ['class', 'height', 'id', 'in', 'result', 'stdDeviation', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feImage: ['class', 'externalResourcesRequired', 'height', 'id', 'preserveAspectRatio', 'result', 'style', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feMerge: ['class', 'height', 'id', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feMergeNode: ['id', 'xml:base', 'xml:lang', 'xml:space'], + feMorphology: ['class', 'height', 'id', 'in', 'operator', 'radius', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feOffset: ['class', 'dx', 'dy', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + fePointLight: ['id', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'z'], + feSpecularLighting: ['class', 'height', 'id', 'in', 'kernelUnitLength', 'result', 'specularConstant', 'specularExponent', 'style', 'surfaceScale', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feSpotLight: ['id', 'limitingConeAngle', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'specularExponent', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'z'], + feTile: ['class', 'height', 'id', 'in', 'result', 'style', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + feTurbulence: ['baseFrequency', 'class', 'height', 'id', 'numOctaves', 'result', 'seed', 'stitchTiles', 'style', 'type', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + filter: ['class', 'externalResourcesRequired', 'filterRes', 'filterUnits', 'height', 'id', 'primitiveUnits', 'style', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + font: ['class', 'externalResourcesRequired', 'horiz-adv-x', 'horiz-origin-x', 'horiz-origin-y', 'id', 'style', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], + 'font-face': ['accent-height', 'alphabetic', 'ascent', 'bbox', 'cap-height', 'descent', 'font-family', 'font-size', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'hanging', 'id', 'ideographic', 'mathematical', 'overline-position', 'overline-thickness', 'panose-1', 'slope', 'stemh', 'stemv', 'strikethrough-position', 'strikethrough-thickness', 'underline-position', 'underline-thickness', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'widths', 'x-height', 'xml:base', 'xml:lang', 'xml:space'], + 'font-face-format': ['id', 'string', 'xml:base', 'xml:lang', 'xml:space'], + 'font-face-name': ['id', 'name', 'xml:base', 'xml:lang', 'xml:space'], + 'font-face-src': ['id', 'xml:base', 'xml:lang', 'xml:space'], + 'font-face-uri': ['id', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + foreignObject: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + g: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + glyph: ['arabic-form', 'class', 'd', 'glyph-name', 'horiz-adv-x', 'id', 'lang', 'orientation', 'style', 'unicode', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], + glyphRef: ['class', 'dx', 'dy', 'format', 'glyphRef', 'id', 'style', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + hkern: ['g1', 'g2', 'id', 'k', 'u1', 'u2', 'xml:base', 'xml:lang', 'xml:space'], + image: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + line: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'x1', 'x2', 'xml:base', 'xml:lang', 'xml:space', 'y1', 'y2'], + linearGradient: ['class', 'externalResourcesRequired', 'gradientTransform', 'gradientUnits', 'id', 'spreadMethod', 'style', 'x1', 'x2', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y1', 'y2'], + marker: ['class', 'externalResourcesRequired', 'id', 'markerHeight', 'markerUnits', 'markerWidth', 'orient', 'preserveAspectRatio', 'refX', 'refY', 'style', 'viewBox', 'xml:base', 'xml:lang', 'xml:space'], + mask: ['class', 'externalResourcesRequired', 'height', 'id', 'maskContentUnits', 'maskUnits', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + metadata: ['id', 'xml:base', 'xml:lang', 'xml:space'], + 'missing-glyph': ['class', 'd', 'horiz-adv-x', 'id', 'style', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'xml:base', 'xml:lang', 'xml:space'], + mpath: ['externalResourcesRequired', 'id', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + path: ['class', 'd', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'pathLength', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + pattern: ['class', 'externalResourcesRequired', 'height', 'id', 'patternContentUnits', 'patternTransform', 'patternUnits', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'viewBox', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + polygon: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'points', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + polyline: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'points', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + radialGradient: ['class', 'cx', 'cy', 'externalResourcesRequired', 'fx', 'fy', 'gradientTransform', 'gradientUnits', 'id', 'r', 'spreadMethod', 'style', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + rect: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rx', 'ry', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + script: ['externalResourcesRequired', 'id', 'type', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + set: ['attributeName', 'attributeType', 'begin', 'dur', 'end', 'externalResourcesRequired', 'fill', 'id', 'max', 'min', 'onbegin', 'onend', 'onload', 'onrepeat', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'systemLanguage', 'to', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + stop: ['class', 'id', 'offset', 'style', 'xml:base', 'xml:lang', 'xml:space'], + style: ['id', 'media', 'title', 'type', 'xml:base', 'xml:lang', 'xml:space'], + svg: ['baseProfile', 'class', 'contentScriptType', 'contentStyleType', 'externalResourcesRequired', 'height', 'id', 'onabort', 'onactivate', 'onclick', 'onerror', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onresize', 'onscroll', 'onunload', 'onzoom', 'preserveAspectRatio', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'version', 'viewBox', 'width', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y', 'zoomAndPan'], + switch: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'xml:base', 'xml:lang', 'xml:space'], + symbol: ['class', 'externalResourcesRequired', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'preserveAspectRatio', 'style', 'viewBox', 'xml:base', 'xml:lang', 'xml:space'], + text: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'transform', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + textPath: ['class', 'externalResourcesRequired', 'id', 'lengthAdjust', 'method', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'spacing', 'startOffset', 'style', 'systemLanguage', 'textLength', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space'], + title: ['class', 'id', 'style', 'xml:base', 'xml:lang', 'xml:space'], + tref: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'x', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + tspan: ['class', 'dx', 'dy', 'externalResourcesRequired', 'id', 'lengthAdjust', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'rotate', 'style', 'systemLanguage', 'textLength', 'x', 'xml:base', 'xml:lang', 'xml:space', 'y'], + use: ['class', 'externalResourcesRequired', 'height', 'id', 'onactivate', 'onclick', 'onfocusin', 'onfocusout', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'requiredExtensions', 'requiredFeatures', 'style', 'systemLanguage', 'transform', 'width', 'x', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang', 'xml:space', 'y'], + view: ['externalResourcesRequired', 'id', 'preserveAspectRatio', 'viewBox', 'viewTarget', 'xml:base', 'xml:lang', 'xml:space', 'zoomAndPan'], + vkern: ['g1', 'g2', 'id', 'k', 'u1', 'u2', 'xml:base', 'xml:lang', 'xml:space'] + }; + + + svgPresentationElements = { + 'a': true, + 'altGlyph': true, + 'animate': true, + 'animateColor': true, + 'circle': true, + 'clipPath': true, + 'defs': true, + 'ellipse': true, + 'feBlend': true, + 'feColorMatrix': true, + 'feComponentTransfer': true, + 'feComposite': true, + 'feConvolveMatrix': true, + 'feDiffuseLighting': true, + 'feDisplacementMap': true, + 'feFlood': true, + 'feGaussianBlur': true, + 'feImage': true, + 'feMerge': true, + 'feMorphology': true, + 'feOffset': true, + 'feSpecularLighting': true, + 'feTile': true, + 'feTurbulence': true, + 'filter': true, + 'font': true, + 'foreignObject': true, + 'g': true, + 'glyph': true, + 'glyphRef': true, + 'image': true, + 'line': true, + 'linearGradient': true, + 'marker': true, + 'mask': true, + 'missing-glyph': true, + 'path': true, + 'pattern': true, + 'polygon': true, + 'polyline': true, + 'radialGradient': true, + 'rect': true, + 'stop': true, + 'svg': true, + 'switch': true, + 'symbol': true, + 'text': true, + 'textPath': true, + 'tref': true, + 'tspan': true, + 'use': true + }; + + svgPresentationAttributes = { + 'alignment-baseline': true, + 'baseline-shift': true, + 'clip-path': true, + 'clip-rule': true, + 'clip': true, + 'color-interpolation-filters': true, + 'color-interpolation': true, + 'color-profile': true, + 'color-rendering': true, + 'color': true, + 'cursor': true, + 'direction': true, + 'display': true, + 'dominant-baseline': true, + 'enable-background': true, + 'fill-opacity': true, + 'fill-rule': true, + 'fill': true, + 'filter': true, + 'flood-color': true, + 'flood-opacity': true, + 'font-family': true, + 'font-size-adjust': true, + 'font-size': true, + 'font-stretch': true, + 'font-style': true, + 'font-variant': true, + 'font-weight': true, + 'glyph-orientation-horizontal': true, + 'glyph-orientation-vertical': true, + 'image-rendering': true, + 'kerning': true, + 'letter-spacing': true, + 'lighting-color': true, + 'marker-end': true, + 'marker-mid': true, + 'marker-start': true, + 'mask': true, + 'opacity': true, + 'overflow': true, + 'pointer-events': true, + 'shape-rendering': true, + 'stop-color': true, + 'stop-opacity': true, + 'stroke-dasharray': true, + 'stroke-dashoffset': true, + 'stroke-linecap': true, + 'stroke-linejoin': true, + 'stroke-miterlimit': true, + 'stroke-opacity': true, + 'stroke-width': true, + 'stroke': true, + 'text-anchor': true, + 'text-decoration': true, + 'text-rendering': true, + 'unicode-bidi': true, + 'visibility': true, + 'word-spacing': true, + 'writing-mode': true + }; + + var createElement = function createElement(html) { + var div = _aureliaPal.DOM.createElement('div'); + div.innerHTML = html; + return div.firstChild; + }; + + svgAnalyzer = function () { + function SVGAnalyzer() { + - svgAnalyzer = function () { - function SVGAnalyzer() { - - - if (createElement('').firstElementChild.nodeName === 'altglyph' && elements.altGlyph) { - elements.altglyph = elements.altGlyph; - delete elements.altGlyph; - elements.altglyphdef = elements.altGlyphDef; - delete elements.altGlyphDef; - elements.altglyphitem = elements.altGlyphItem; - delete elements.altGlyphItem; - elements.glyphref = elements.glyphRef; - delete elements.glyphRef; - } + if (createElement('').firstElementChild.nodeName === 'altglyph' && elements.altGlyph) { + elements.altglyph = elements.altGlyph; + delete elements.altGlyph; + elements.altglyphdef = elements.altGlyphDef; + delete elements.altGlyphDef; + elements.altglyphitem = elements.altGlyphItem; + delete elements.altGlyphItem; + elements.glyphref = elements.glyphRef; + delete elements.glyphRef; } + } - SVGAnalyzer.prototype.isStandardSvgAttribute = function isStandardSvgAttribute(nodeName, attributeName) { - return presentationElements[nodeName] && presentationAttributes[attributeName] || elements[nodeName] && elements[nodeName].indexOf(attributeName) !== -1; - }; + SVGAnalyzer.prototype.isStandardSvgAttribute = function isStandardSvgAttribute(nodeName, attributeName) { + return presentationElements[nodeName] && presentationAttributes[attributeName] || elements[nodeName] && elements[nodeName].indexOf(attributeName) !== -1; + }; - return SVGAnalyzer; - }(); - })(); + return SVGAnalyzer; + }(); } var elements = exports.elements = svgElements; @@ -4648,6 +4755,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.dirtyChecker = dirtyChecker; this.svgAnalyzer = svgAnalyzer; this.parser = parser; + this.adapters = []; this.logger = LogManager.getLogger('observer-locator'); } @@ -4697,8 +4805,8 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; ObserverLocator.prototype.getAdapterObserver = function getAdapterObserver(obj, propertyName, descriptor) { - for (var _i26 = 0, ii = this.adapters.length; _i26 < ii; _i26++) { - var adapter = this.adapters[_i26]; + for (var _i28 = 0, ii = this.adapters.length; _i28 < ii; _i28++) { + var adapter = this.adapters[_i28]; var observer = adapter.getObserver(obj, propertyName, descriptor); if (observer) { return observer; @@ -4791,7 +4899,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (propertyName === 'class' || propertyName === 'style' || propertyName === 'css' || propertyName === 'value' && (obj.tagName.toLowerCase() === 'input' || obj.tagName.toLowerCase() === 'select') || propertyName === 'checked' && obj.tagName.toLowerCase() === 'input' || propertyName === 'model' && obj.tagName.toLowerCase() === 'input' || /^xlink:.+$/.exec(propertyName)) { return this.getObserver(obj, propertyName); } - if (/^\w+:|^data-|^aria-/.test(propertyName) || obj instanceof _aureliaPal.DOM.SVGElement && this.svgAnalyzer.isStandardSvgAttribute(obj.nodeName, propertyName)) { + if (/^\w+:|^data-|^aria-/.test(propertyName) || obj instanceof _aureliaPal.DOM.SVGElement && this.svgAnalyzer.isStandardSvgAttribute(obj.nodeName, propertyName) || obj.tagName.toLowerCase() === 'img' && propertyName === 'src' || obj.tagName.toLowerCase() === 'a' && propertyName === 'href') { return dataAttributeAccessor; } } @@ -4845,8 +4953,6 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure return BindingExpression; }(); - var targetContext = 'Binding:target'; - var Binding = exports.Binding = (_dec10 = connectable(), _dec10(_class13 = function () { function Binding(observerLocator, sourceExpression, target, targetProperty, mode, lookupFunctions) { @@ -4909,21 +5015,27 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure var mode = this.mode; if (!this.targetObserver) { - var method = mode === bindingMode.twoWay ? 'getObserver' : 'getAccessor'; + var method = mode === bindingMode.twoWay || mode === bindingMode.fromView ? 'getObserver' : 'getAccessor'; this.targetObserver = this.observerLocator[method](this.target, this.targetProperty); } if ('bind' in this.targetObserver) { this.targetObserver.bind(); } - var value = this.sourceExpression.evaluate(source, this.lookupFunctions); - this.updateTarget(value); + if (this.mode !== bindingMode.fromView) { + var value = this.sourceExpression.evaluate(source, this.lookupFunctions); + this.updateTarget(value); + } - if (mode === bindingMode.oneWay) { + if (mode === bindingMode.oneTime) { + return; + } else if (mode === bindingMode.toView) { enqueueBindingConnect(this); } else if (mode === bindingMode.twoWay) { this.sourceExpression.connect(this, source); this.targetObserver.subscribe(targetContext, this); + } else if (mode === bindingMode.fromView) { + this.targetObserver.subscribe(targetContext, this); } }; @@ -5000,7 +5112,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; Call.prototype.bind = function bind(source) { - var _this27 = this; + var _this26 = this; if (this.isBound) { if (this.source === source) { @@ -5015,7 +5127,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.sourceExpression.bind(this, source, this.lookupFunctions); } this.targetProperty.setValue(function ($event) { - return _this27.callSource($event); + return _this26.callSource($event); }); }; @@ -5151,9 +5263,11 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure return result; }; - Listener.prototype.bind = function bind(source) { - var _this28 = this; + Listener.prototype.handleEvent = function handleEvent(event) { + this.callSource(event); + }; + Listener.prototype.bind = function bind(source) { if (this.isBound) { if (this.source === source) { return; @@ -5166,9 +5280,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure if (this.sourceExpression.bind) { this.sourceExpression.bind(this, source, this.lookupFunctions); } - this._disposeListener = this.eventManager.addEventListener(this.target, this.targetEvent, function (event) { - return _this28.callSource(event); - }, this.delegationStrategy); + this._handler = this.eventManager.addEventListener(this.target, this.targetEvent, this, this.delegationStrategy, true); }; Listener.prototype.unbind = function unbind() { @@ -5180,8 +5292,8 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure this.sourceExpression.unbind(this, this.source); } this.source = null; - this._disposeListener(); - this._disposeListener = null; + this._handler.dispose(); + this._handler = null; }; return Listener; @@ -5294,18 +5406,18 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure } BindingEngine.prototype.createBindingExpression = function createBindingExpression(targetProperty, sourceExpression) { - var mode = arguments.length <= 2 || arguments[2] === undefined ? bindingMode.oneWay : arguments[2]; - var lookupFunctions = arguments.length <= 3 || arguments[3] === undefined ? LookupFunctions : arguments[3]; + var mode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : bindingMode.toView; + var lookupFunctions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : LookupFunctions; return new BindingExpression(this.observerLocator, targetProperty, this.parser.parse(sourceExpression), mode, lookupFunctions); }; BindingEngine.prototype.propertyObserver = function propertyObserver(obj, propertyName) { - var _this29 = this; + var _this27 = this; return { subscribe: function subscribe(callback) { - var observer = _this29.observerLocator.getObserver(obj, propertyName); + var observer = _this27.observerLocator.getObserver(obj, propertyName); observer.subscribe(callback); return { dispose: function dispose() { @@ -5317,17 +5429,17 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure }; BindingEngine.prototype.collectionObserver = function collectionObserver(collection) { - var _this30 = this; + var _this28 = this; return { subscribe: function subscribe(callback) { var observer = void 0; if (collection instanceof Array) { - observer = _this30.observerLocator.getArrayObserver(collection); + observer = _this28.observerLocator.getArrayObserver(collection); } else if (collection instanceof Map) { - observer = _this30.observerLocator.getMapObserver(collection); + observer = _this28.observerLocator.getMapObserver(collection); } else if (collection instanceof Set) { - observer = _this30.observerLocator.getSetObserver(collection); + observer = _this28.observerLocator.getSetObserver(collection); } else { throw new Error('collection must be an instance of Array, Map or Set.'); } @@ -5508,4 +5620,19 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-task-queue', 'aure } return deco(targetOrConfig, key, descriptor); } + + var signals = {}; + + function connectBindingToSignal(binding, name) { + if (!signals.hasOwnProperty(name)) { + signals[name] = 0; + } + binding.observeProperty(signals, name); + } + + function signalBindings(name) { + if (signals.hasOwnProperty(name)) { + signals[name]++; + } + } }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-binding@1.2.2/index.js b/jspm_packages/npm/aurelia-binding@1.7.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-binding@1.2.2/index.js rename to jspm_packages/npm/aurelia-binding@1.7.1/index.js diff --git a/jspm_packages/npm/aurelia-fetch-client@1.1.3.js b/jspm_packages/npm/aurelia-fetch-client@1.1.3.js deleted file mode 100644 index a072c13..0000000 --- a/jspm_packages/npm/aurelia-fetch-client@1.1.3.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-fetch-client@1.1.3/aurelia-fetch-client"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-fetch-client@1.1.3/.jspm-hash b/jspm_packages/npm/aurelia-fetch-client@1.1.3/.jspm-hash deleted file mode 100644 index 5c3c332..0000000 --- a/jspm_packages/npm/aurelia-fetch-client@1.1.3/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -3b6a4b8b9de4809e996bda1299f05838c3907b0a99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-fetch-client@1.3.1.js b/jspm_packages/npm/aurelia-fetch-client@1.3.1.js new file mode 100644 index 0000000..72ca9a5 --- /dev/null +++ b/jspm_packages/npm/aurelia-fetch-client@1.3.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-fetch-client@1.3.1/aurelia-fetch-client"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-fetch-client@1.3.1/.jspm-hash b/jspm_packages/npm/aurelia-fetch-client@1.3.1/.jspm-hash new file mode 100644 index 0000000..af2895f --- /dev/null +++ b/jspm_packages/npm/aurelia-fetch-client@1.3.1/.jspm-hash @@ -0,0 +1 @@ +95af3c0ef0c434e92160d4882c088c7943bf241199914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-fetch-client@1.1.3/aurelia-fetch-client.js b/jspm_packages/npm/aurelia-fetch-client@1.3.1/aurelia-fetch-client.js similarity index 93% rename from jspm_packages/npm/aurelia-fetch-client@1.1.3/aurelia-fetch-client.js rename to jspm_packages/npm/aurelia-fetch-client@1.3.1/aurelia-fetch-client.js index 60aaa0b..f5c5886 100644 --- a/jspm_packages/npm/aurelia-fetch-client@1.1.3/aurelia-fetch-client.js +++ b/jspm_packages/npm/aurelia-fetch-client@1.3.1/aurelia-fetch-client.js @@ -15,8 +15,8 @@ define(['exports'], function (exports) { - function json(body) { - return new Blob([JSON.stringify(body !== undefined ? body : {})], { type: 'application/json' }); + function json(body, replacer) { + return JSON.stringify(body !== undefined ? body : {}, replacer); } var HttpClientConfiguration = exports.HttpClientConfiguration = function () { @@ -197,8 +197,12 @@ define(['exports'], function (exports) { requestContentType = new Headers(requestInit.headers).get('Content-Type'); request = new Request(getRequestUrl(this.baseUrl, input), requestInit); } - if (!requestContentType && new Headers(parsedDefaultHeaders).has('content-type')) { - request.headers.set('Content-Type', new Headers(parsedDefaultHeaders).get('content-type')); + if (!requestContentType) { + if (new Headers(parsedDefaultHeaders).has('content-type')) { + request.headers.set('Content-Type', new Headers(parsedDefaultHeaders).get('content-type')); + } else if (body && isJSON(body)) { + request.headers.set('Content-Type', 'application/json'); + } } setDefaultHeaders(request.headers, parsedDefaultHeaders); if (body && Blob.prototype.isPrototypeOf(body) && body.type) { @@ -248,6 +252,16 @@ define(['exports'], function (exports) { }, Promise.resolve(input)); } + function isJSON(str) { + try { + JSON.parse(str); + } catch (err) { + return false; + } + + return true; + } + function identity(x) { return x; } diff --git a/jspm_packages/npm/aurelia-fetch-client@1.1.3/index.js b/jspm_packages/npm/aurelia-fetch-client@1.3.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-fetch-client@1.1.3/index.js rename to jspm_packages/npm/aurelia-fetch-client@1.3.1/index.js diff --git a/jspm_packages/npm/aurelia-framework@1.1.4.js b/jspm_packages/npm/aurelia-framework@1.1.4.js deleted file mode 100644 index fc0700e..0000000 --- a/jspm_packages/npm/aurelia-framework@1.1.4.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-framework@1.1.4/aurelia-framework"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-framework@1.1.4/.jspm-hash b/jspm_packages/npm/aurelia-framework@1.1.4/.jspm-hash deleted file mode 100644 index 127fbd6..0000000 --- a/jspm_packages/npm/aurelia-framework@1.1.4/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -4dc630b1c48203167466e5df2878803ff41dff6599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-framework@1.2.0.js b/jspm_packages/npm/aurelia-framework@1.2.0.js new file mode 100644 index 0000000..768b992 --- /dev/null +++ b/jspm_packages/npm/aurelia-framework@1.2.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-framework@1.2.0/aurelia-framework"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-framework@1.2.0/.jspm-hash b/jspm_packages/npm/aurelia-framework@1.2.0/.jspm-hash new file mode 100644 index 0000000..aab26bd --- /dev/null +++ b/jspm_packages/npm/aurelia-framework@1.2.0/.jspm-hash @@ -0,0 +1 @@ +21da578ce7332022a13741cadb2a84cd258641c799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-framework@1.1.4/aurelia-framework.js b/jspm_packages/npm/aurelia-framework@1.2.0/aurelia-framework.js similarity index 95% rename from jspm_packages/npm/aurelia-framework@1.1.4/aurelia-framework.js rename to jspm_packages/npm/aurelia-framework@1.2.0/aurelia-framework.js index f8aff58..3b794ff 100644 --- a/jspm_packages/npm/aurelia-framework@1.1.4/aurelia-framework.js +++ b/jspm_packages/npm/aurelia-framework@1.2.0/aurelia-framework.js @@ -155,8 +155,8 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m Aurelia.prototype.enhance = function enhance() { var _this2 = this; - var bindingContext = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; - var applicationHost = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1]; + var bindingContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var applicationHost = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; this._configureHost(applicationHost || _aureliaPal.DOM.querySelectorAll('body')[0]); @@ -172,8 +172,8 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m Aurelia.prototype.setRoot = function setRoot() { var _this3 = this; - var root = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0]; - var applicationHost = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1]; + var root = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var applicationHost = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; var instruction = {}; @@ -402,7 +402,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m }; FrameworkConfiguration.prototype.feature = function feature(plugin) { - var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; + var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var hasIndex = /\/index$/i.test(plugin); var moduleId = hasIndex || getExt(plugin) ? plugin : plugin + '/index'; @@ -498,14 +498,20 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-m return this.basicConfiguration().history().router(); }; - FrameworkConfiguration.prototype.developmentLogging = function developmentLogging() { + FrameworkConfiguration.prototype.developmentLogging = function developmentLogging(level) { var _this6 = this; + var logLevel = level ? TheLogManager.logLevel[level] : undefined; + + if (logLevel === undefined) { + logLevel = TheLogManager.logLevel.debug; + } + this.preTask(function () { return _this6.aurelia.loader.normalize('aurelia-logging-console', _this6.bootstrapperName).then(function (name) { return _this6.aurelia.loader.loadModule(name).then(function (m) { TheLogManager.addAppender(new m.ConsoleAppender()); - TheLogManager.setLevel(TheLogManager.logLevel.debug); + TheLogManager.setLevel(logLevel); }); }); }); diff --git a/jspm_packages/npm/aurelia-framework@1.1.4/index.js b/jspm_packages/npm/aurelia-framework@1.2.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-framework@1.1.4/index.js rename to jspm_packages/npm/aurelia-framework@1.2.0/index.js diff --git a/jspm_packages/npm/aurelia-history-browser@1.0.0.js b/jspm_packages/npm/aurelia-history-browser@1.0.0.js deleted file mode 100644 index ec0d790..0000000 --- a/jspm_packages/npm/aurelia-history-browser@1.0.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-history-browser@1.0.0/aurelia-history-browser"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history-browser@1.0.0/.jspm-hash b/jspm_packages/npm/aurelia-history-browser@1.0.0/.jspm-hash deleted file mode 100644 index a8aff0e..0000000 --- a/jspm_packages/npm/aurelia-history-browser@1.0.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -954e31cb5d9a18914502e02e544e83c0c152d07c99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history-browser@1.1.1.js b/jspm_packages/npm/aurelia-history-browser@1.1.1.js new file mode 100644 index 0000000..e2fdd9c --- /dev/null +++ b/jspm_packages/npm/aurelia-history-browser@1.1.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-history-browser@1.1.1/aurelia-history-browser"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history-browser@1.1.1/.jspm-hash b/jspm_packages/npm/aurelia-history-browser@1.1.1/.jspm-hash new file mode 100644 index 0000000..4f46cb2 --- /dev/null +++ b/jspm_packages/npm/aurelia-history-browser@1.1.1/.jspm-hash @@ -0,0 +1 @@ +a7cdfe23ca9f0ce0c86a2e5e83243c993ca94a5099914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history-browser@1.0.0/aurelia-history-browser.js b/jspm_packages/npm/aurelia-history-browser@1.1.1/aurelia-history-browser.js similarity index 94% rename from jspm_packages/npm/aurelia-history-browser@1.0.0/aurelia-history-browser.js rename to jspm_packages/npm/aurelia-history-browser@1.1.1/aurelia-history-browser.js index 4c6d10e..014bff8 100644 --- a/jspm_packages/npm/aurelia-history-browser@1.0.0/aurelia-history-browser.js +++ b/jspm_packages/npm/aurelia-history-browser@1.1.1/aurelia-history-browser.js @@ -266,6 +266,22 @@ define(['exports', 'aurelia-pal', 'aurelia-history'], function (exports, _aureli _aureliaPal.DOM.title = title; }; + BrowserHistory.prototype.setState = function setState(key, value) { + var state = Object.assign({}, this.history.state); + var _location = this.location; + var pathname = _location.pathname; + var search = _location.search; + var hash = _location.hash; + + state[key] = value; + this.history.replaceState(state, null, '' + pathname + search + hash); + }; + + BrowserHistory.prototype.getState = function getState(key) { + var state = Object.assign({}, this.history.state); + return state[key]; + }; + BrowserHistory.prototype._getHash = function _getHash() { return this.location.hash.substr(1); }; diff --git a/jspm_packages/npm/aurelia-history-browser@1.0.0/index.js b/jspm_packages/npm/aurelia-history-browser@1.1.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-history-browser@1.0.0/index.js rename to jspm_packages/npm/aurelia-history-browser@1.1.1/index.js diff --git a/jspm_packages/npm/aurelia-history@1.0.0.js b/jspm_packages/npm/aurelia-history@1.0.0.js deleted file mode 100644 index 9ee5df5..0000000 --- a/jspm_packages/npm/aurelia-history@1.0.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-history@1.0.0/aurelia-history"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history@1.0.0/.jspm-hash b/jspm_packages/npm/aurelia-history@1.0.0/.jspm-hash deleted file mode 100644 index 3ce06e5..0000000 --- a/jspm_packages/npm/aurelia-history@1.0.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -3b3a47eea34a2c2cb17e46d4fbe3565fa746114999914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history@1.1.0.js b/jspm_packages/npm/aurelia-history@1.1.0.js new file mode 100644 index 0000000..6a733ba --- /dev/null +++ b/jspm_packages/npm/aurelia-history@1.1.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-history@1.1.0/aurelia-history"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history@1.1.0/.jspm-hash b/jspm_packages/npm/aurelia-history@1.1.0/.jspm-hash new file mode 100644 index 0000000..fb4c975 --- /dev/null +++ b/jspm_packages/npm/aurelia-history@1.1.0/.jspm-hash @@ -0,0 +1 @@ +779aa386d56803aaa4bdb7d71435a57768505f5799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history@1.0.0/aurelia-history.js b/jspm_packages/npm/aurelia-history@1.1.0/aurelia-history.js similarity index 83% rename from jspm_packages/npm/aurelia-history@1.0.0/aurelia-history.js rename to jspm_packages/npm/aurelia-history@1.1.0/aurelia-history.js index 325083d..e403924 100644 --- a/jspm_packages/npm/aurelia-history@1.0.0/aurelia-history.js +++ b/jspm_packages/npm/aurelia-history@1.1.0/aurelia-history.js @@ -41,6 +41,14 @@ define(['exports'], function (exports) { mi('setTitle'); }; + History.prototype.setState = function setState(key, value) { + mi('setState'); + }; + + History.prototype.getState = function getState(key) { + mi('getState'); + }; + return History; }(); }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-history@1.0.0/index.js b/jspm_packages/npm/aurelia-history@1.1.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-history@1.0.0/index.js rename to jspm_packages/npm/aurelia-history@1.1.0/index.js diff --git a/jspm_packages/npm/aurelia-http-client@1.1.1.js b/jspm_packages/npm/aurelia-http-client@1.1.1.js deleted file mode 100644 index 4096bf6..0000000 --- a/jspm_packages/npm/aurelia-http-client@1.1.1.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-http-client@1.1.1/aurelia-http-client"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-http-client@1.1.1/.jspm-hash b/jspm_packages/npm/aurelia-http-client@1.1.1/.jspm-hash deleted file mode 100644 index 4154483..0000000 --- a/jspm_packages/npm/aurelia-http-client@1.1.1/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -9eaa96485c1e2ac2d9584f427ee5efd94f96286799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-http-client@1.2.1.js b/jspm_packages/npm/aurelia-http-client@1.2.1.js new file mode 100644 index 0000000..6a6d252 --- /dev/null +++ b/jspm_packages/npm/aurelia-http-client@1.2.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-http-client@1.2.1/aurelia-http-client"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-http-client@1.2.1/.jspm-hash b/jspm_packages/npm/aurelia-http-client@1.2.1/.jspm-hash new file mode 100644 index 0000000..c38d439 --- /dev/null +++ b/jspm_packages/npm/aurelia-http-client@1.2.1/.jspm-hash @@ -0,0 +1 @@ +f4e0d9daab8c39e383b1866120f787bd6eb8d94f99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-http-client@1.1.1/aurelia-http-client.js b/jspm_packages/npm/aurelia-http-client@1.2.1/aurelia-http-client.js similarity index 96% rename from jspm_packages/npm/aurelia-http-client@1.1.1/aurelia-http-client.js rename to jspm_packages/npm/aurelia-http-client@1.2.1/aurelia-http-client.js index 033103c..1e7cad1 100644 --- a/jspm_packages/npm/aurelia-http-client@1.1.1/aurelia-http-client.js +++ b/jspm_packages/npm/aurelia-http-client@1.2.1/aurelia-http-client.js @@ -63,7 +63,7 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa var Headers = exports.Headers = function () { function Headers() { - var headers = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; + var headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; @@ -139,7 +139,7 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa var url = absoluteUrl.test(this.url) ? this.url : (0, _aureliaPath.join)(this.baseUrl, this.url); if (this.params) { - var qs = (0, _aureliaPath.buildQueryString)(this.params); + var qs = (0, _aureliaPath.buildQueryString)(this.params, this.traditional); url = qs ? url + (this.url.indexOf('?') < 0 ? '?' : '&') + qs : url; } @@ -617,8 +617,9 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa }); }; - RequestBuilder.prototype.withParams = function withParams(params) { + RequestBuilder.prototype.withParams = function withParams(params, traditional) { return this._addTransformer(function (client, processor, message) { + message.traditional = traditional; message.params = params; }); }; @@ -727,12 +728,10 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa client.isRequesting = client.pendingRequests.length > 0; if (!client.isRequesting) { - (function () { - var evt = _aureliaPal.DOM.createCustomEvent('aurelia-http-client-requests-drained', { bubbles: true, cancelable: true }); - setTimeout(function () { - return _aureliaPal.DOM.dispatchEvent(evt); - }, 1); - })(); + var evt = _aureliaPal.DOM.createCustomEvent('aurelia-http-client-requests-drained', { bubbles: true, cancelable: true }); + setTimeout(function () { + return _aureliaPal.DOM.dispatchEvent(evt); + }, 1); } } @@ -809,8 +808,14 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa return this.createRequest(url).asDelete().send(); }; - HttpClient.prototype.get = function get(url) { - return this.createRequest(url).asGet().send(); + HttpClient.prototype.get = function get(url, params, traditional) { + var req = this.createRequest(url).asGet(); + + if (params) { + return req.withParams(params, traditional).send(); + } + + return req.send(); }; HttpClient.prototype.head = function head(url) { @@ -818,7 +823,7 @@ define(['exports', 'aurelia-path', 'aurelia-pal'], function (exports, _aureliaPa }; HttpClient.prototype.jsonp = function jsonp(url) { - var callbackParameterName = arguments.length <= 1 || arguments[1] === undefined ? 'jsoncallback' : arguments[1]; + var callbackParameterName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'jsoncallback'; return this.createRequest(url).asJsonp(callbackParameterName).send(); }; diff --git a/jspm_packages/npm/aurelia-http-client@1.1.1/index.js b/jspm_packages/npm/aurelia-http-client@1.2.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-http-client@1.1.1/index.js rename to jspm_packages/npm/aurelia-http-client@1.2.1/index.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5.js deleted file mode 100644 index c078c3c..0000000 --- a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-kendoui-bridge@1.6.5/index"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/.jspm-hash b/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/.jspm-hash deleted file mode 100644 index 2564206..0000000 --- a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -b670458eed6f8f5326cda9bbca83ff57ec2b9e9a99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0.js new file mode 100644 index 0000000..701e8b8 --- /dev/null +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-kendoui-bridge@1.7.0/index"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/.jspm-hash b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/.jspm-hash new file mode 100644 index 0000000..5112b4f --- /dev/null +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/.jspm-hash @@ -0,0 +1 @@ +e29c1b22f54bb12b04c79f9c4500346303522b7a99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/aurelia-kendoui-bridge.d.ts b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/aurelia-kendoui-bridge.d.ts similarity index 99% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/aurelia-kendoui-bridge.d.ts rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/aurelia-kendoui-bridge.d.ts index 7aae20b..c3cac3e 100644 --- a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/aurelia-kendoui-bridge.d.ts +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/aurelia-kendoui-bridge.d.ts @@ -125,6 +125,7 @@ declare module 'aurelia-kendoui-bridge' { kendoMobileButtonGroup(): KendoConfigBuilder; kendoMultiSelect(): KendoConfigBuilder; kendoNumericTextBox(): KendoConfigBuilder; + kendoPager(): KendoConfigBuilder; kendoPanelBar(): KendoConfigBuilder; kendoPivotGrid(): KendoConfigBuilder; kendoPopup(): KendoConfigBuilder; @@ -191,8 +192,7 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class ButtonGroup { - kEnabled: any; + export class Calendar { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; @@ -202,7 +202,8 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Calendar { + export class ButtonGroup { + kEnabled: any; constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; @@ -256,16 +257,6 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class ColorPalette { - constructor(element?: any, widgetBase?: any); - subscribe(event?: any, callback?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - attached(): any; - recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - destroy(): any; - detached(): any; - } export class ColorPicker { kEnabled: any; constructor(element?: any, widgetBase?: any); @@ -277,18 +268,6 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class ComboBox { - kEnabled: any; - kReadOnly: any; - constructor(element?: any, widgetBase?: any, container?: any); - subscribe(event?: any, callback?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - attached(): any; - recreate(): any; - propertyChanged(property?: any, newValue?: any, oldValue?: any): any; - destroy(): any; - detached(): any; - } export let bindables: any; export const constants: any; @@ -589,6 +568,28 @@ declare module 'aurelia-kendoui-bridge' { */ destroy(widget?: any): any; } + export class ColorPalette { + constructor(element?: any, widgetBase?: any); + subscribe(event?: any, callback?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + attached(): any; + recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + destroy(): any; + detached(): any; + } + export class ComboBox { + kEnabled: any; + kReadOnly: any; + constructor(element?: any, widgetBase?: any, container?: any); + subscribe(event?: any, callback?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + attached(): any; + recreate(): any; + propertyChanged(property?: any, newValue?: any, oldValue?: any): any; + destroy(): any; + detached(): any; + } export class ContextMenu { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; @@ -610,7 +611,7 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class DatePicker { + export class DateTimePicker { kEnabled: any; kReadOnly: any; constructor(element?: any, widgetBase?: any); @@ -622,7 +623,7 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class DateTimePicker { + export class DatePicker { kEnabled: any; kReadOnly: any; constructor(element?: any, widgetBase?: any); @@ -652,17 +653,16 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Draggable { + export class DropTargetArea { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; recreate(): any; - beforeInitialize(options?: any): any; destroy(): any; detached(): any; } - export class DropTargetArea { + export class DropTarget { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; @@ -671,12 +671,13 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class DropTarget { + export class Draggable { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; recreate(): any; + beforeInitialize(options?: any): any; destroy(): any; detached(): any; } @@ -712,15 +713,6 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class FlatColorPicker { - constructor(element?: any, widgetBase?: any); - subscribe(event?: any, callback?: any): any; - bind(ctx?: any, overrideCtx?: any): any; - attached(): any; - recreate(): any; - destroy(): any; - detached(): any; - } export class GanttCol { } @@ -755,6 +747,15 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } + export class FlatColorPicker { + constructor(element?: any, widgetBase?: any); + subscribe(event?: any, callback?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + attached(): any; + recreate(): any; + destroy(): any; + detached(): any; + } export class Col { constructor(templateGatherer?: any, optionsBuilder?: any, util?: any, element?: any); bind($parent?: any): any; @@ -799,7 +800,10 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Map { + export class MaskedTextBox { + kDisableDates: any; + kEnabled: any; + kReadOnly: any; constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; @@ -809,10 +813,7 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class MaskedTextBox { - kDisableDates: any; - kEnabled: any; - kReadOnly: any; + export class Map { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; @@ -880,6 +881,16 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } + export class Pager { + kEnabled: any; + constructor(element?: any, widgetBase?: any, container?: any); + subscribe(event?: any, callback?: any): any; + bind(ctx?: any, overrideCtx?: any): any; + attached(): any; + recreate(): any; + destroy(): any; + detached(): any; + } export class PanelBar { constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; @@ -888,9 +899,6 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; destroy(): any; detached(): any; - } - export class PDF { - } export class PivotConfigurator { constructor(element?: any, widgetBase?: any); @@ -920,6 +928,9 @@ declare module 'aurelia-kendoui-bridge' { recreate(): any; destroy(): any; detached(): any; + } + export class PDF { + } export class ProgressBar { kEnabled: any; @@ -952,8 +963,10 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class ResponsivePanel { - constructor(element?: any, widgetBase?: any); + + //eslint-disable-line no-unused-vars + export class Scheduler { + constructor(element?: any, widgetBase?: any, container?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -961,10 +974,8 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - - //eslint-disable-line no-unused-vars - export class Scheduler { - constructor(element?: any, widgetBase?: any, container?: any); + export class ResponsivePanel { + constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -1039,16 +1050,8 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class ToolbarItemButton { - constructor(optionsBuilder?: any); - getOptions(): any; - } - export class ToolbarItem { - constructor(templateGatherer?: any, optionsBuilder?: any, util?: any, element?: any); - getOptions(): any; - } - export class Toolbar { - constructor(element?: any, widgetBase?: any, optionsBuilder?: any, container?: any); + export class Tooltip { + constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -1069,14 +1072,16 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class TreeCol { - constructor(templateGatherer?: any, util?: any, element?: any); - beforeOptionsBuild(): any; + export class ToolbarItemButton { + constructor(optionsBuilder?: any); + getOptions(): any; } - - //eslint-disable-line no-unused-vars - export class TreeList { - constructor(element?: any, widgetBase?: any, container?: any, optionsBuilder?: any); + export class ToolbarItem { + constructor(templateGatherer?: any, optionsBuilder?: any, util?: any, element?: any); + getOptions(): any; + } + export class Toolbar { + constructor(element?: any, widgetBase?: any, optionsBuilder?: any, container?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -1084,8 +1089,14 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Tooltip { - constructor(element?: any, widgetBase?: any); + export class TreeCol { + constructor(templateGatherer?: any, util?: any, element?: any); + beforeOptionsBuild(): any; + } + + //eslint-disable-line no-unused-vars + export class TreeList { + constructor(element?: any, widgetBase?: any, container?: any, optionsBuilder?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -1102,8 +1113,8 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Upload { - constructor(element?: any, widgetBase?: any, container?: any); + export class Validator { + constructor(element?: any, widgetBase?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; @@ -1111,8 +1122,8 @@ declare module 'aurelia-kendoui-bridge' { destroy(): any; detached(): any; } - export class Validator { - constructor(element?: any, widgetBase?: any); + export class Upload { + constructor(element?: any, widgetBase?: any, container?: any); subscribe(event?: any, callback?: any): any; bind(ctx?: any, overrideCtx?: any): any; attached(): any; diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/autocomplete/autocomplete.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/autocomplete/autocomplete.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/barcode/barcode.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/barcode/barcode.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/barcode/barcode.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/barcode/barcode.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/button/button.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/button/button.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/button/button.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/button/button.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/buttongroup/buttongroup.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/buttongroup/buttongroup.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/buttongroup/buttongroup.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/buttongroup/buttongroup.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/calendar/calendar.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/calendar/calendar.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/calendar/calendar.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/calendar/calendar.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/calendar/calendar.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/calendar/calendar.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/calendar/calendar.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/calendar/calendar.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/chart.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/chart.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/chart.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/chart.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/chart.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/chart.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/chart.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/chart.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/sparkline.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/sparkline.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/sparkline.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/sparkline.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/sparkline.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/sparkline.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/sparkline.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/sparkline.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/stock.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/stock.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/stock.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/stock.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/stock.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/stock.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/stock.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/stock.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/treemap.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/treemap.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/treemap.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/treemap.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/treemap.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/treemap.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/chart/treemap.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/chart/treemap.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpalette/colorpalette.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpalette/colorpalette.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpicker/colorpicker.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpicker/colorpicker.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/colorpicker/colorpicker.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/colorpicker/colorpicker.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/combobox/combobox.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/combobox/combobox.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/combobox/combobox.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/combobox/combobox.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/combobox/combobox.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/combobox/combobox.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/combobox/combobox.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/combobox/combobox.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/bindables.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/bindables.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/bindables.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/bindables.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/constants.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/constants.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/constants.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/constants.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/control-properties.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/control-properties.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/control-properties.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/control-properties.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/decorators.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/decorators.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/decorators.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/decorators.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/notify-binding-behavior.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/notify-binding-behavior.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/notify-binding-behavior.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/notify-binding-behavior.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/observer.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/observer.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/observer.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/observer.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/options-builder.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/options-builder.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/options-builder.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/options-builder.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template-compiler.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template-compiler.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template-compiler.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template-compiler.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template-gatherer.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template-gatherer.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template-gatherer.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template-gatherer.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/template.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/template.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/util.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/util.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/util.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/util.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/widget-base.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/widget-base.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/common/widget-base.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/common/widget-base.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/config-builder.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/config-builder.js similarity index 98% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/config-builder.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/config-builder.js index 76e0912..4abc8ce 100644 --- a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/config-builder.js +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/config-builder.js @@ -66,7 +66,7 @@ define(['exports', 'aurelia-logging', 'aurelia-pal'], function (exports, _aureli }; KendoConfigBuilder.prototype.pro = function pro() { - this.core().kendoBarcode().kendoChart().kendoDiagram().kendoEditor().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload(); + this.core().kendoBarcode().kendoChart().kendoDiagram().kendoEditor().kendoFilterMenu().kendoGantt().kendoGrid().kendoMap().kendoLinearGauge().kendoPager().kendoPivotGrid().kendoQRCode().kendoRadialGauge().kendoScheduler().kendoTreeList().kendoTreeView().kendoUpload(); return this; }; @@ -273,6 +273,11 @@ define(['exports', 'aurelia-logging', 'aurelia-pal'], function (exports, _aureli return this; }; + KendoConfigBuilder.prototype.kendoPager = function kendoPager() { + this.resources.push(_aureliaPal.PLATFORM.moduleName('./pager/pager')); + return this; + }; + KendoConfigBuilder.prototype.kendoPanelBar = function kendoPanelBar() { this.resources.push(_aureliaPal.PLATFORM.moduleName('./panelbar/panelbar')); return this; diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/contextmenu/contextmenu.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/contextmenu/contextmenu.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/contextmenu/contextmenu.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/contextmenu/contextmenu.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dateinput/dateinput.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dateinput/dateinput.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dateinput/dateinput.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dateinput/dateinput.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/datepicker/datepicker.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/datepicker/datepicker.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/datepicker/datepicker.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/datepicker/datepicker.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/datetimepicker/datetimepicker.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/datetimepicker/datetimepicker.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/datetimepicker/datetimepicker.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/datetimepicker/datetimepicker.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/diagram/diagram.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/diagram/diagram.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/diagram/diagram.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/diagram/diagram.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/diagram/diagram.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/diagram/diagram.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/diagram/diagram.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/diagram/diagram.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dialog/dialog.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dialog/dialog.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dialog/dialog.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dialog/dialog.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/draggable/draggable.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/draggable/draggable.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/draggable/draggable.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/draggable/draggable.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/drop-target/drop-target-area.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/drop-target/drop-target-area.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/drop-target/drop-target-area.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/drop-target/drop-target-area.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/drop-target/drop-target.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/drop-target/drop-target.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/drop-target/drop-target.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/drop-target/drop-target.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/dropdownlist/dropdownlist.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/dropdownlist/dropdownlist.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/editor/editor.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/editor/editor.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/editor/editor.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/editor/editor.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/filter-menu/filter-menu.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/filter-menu/filter-menu.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/filter-menu/filter-menu.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/filter-menu/filter-menu.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/flatcolorpicker/flatcolorpicker.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/flatcolorpicker/flatcolorpicker.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt-col.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt-col.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gantt/gantt.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gantt/gantt.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/linear-gauge.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/linear-gauge.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/gauges/radial-gauge.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/gauges/radial-gauge.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/col.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/col.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/col.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/col.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/col.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/col.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/col.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/col.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-command.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-command.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-command.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-command.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-command.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-command.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-command.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-command.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid-toolbar.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid-toolbar.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/grid/grid.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/grid/grid.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/index.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/index.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/index.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listbox/listbox.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listbox/listbox.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listbox/listbox.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listbox/listbox.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listbox/listbox.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listbox/listbox.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listbox/listbox.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listbox/listbox.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listview/listview.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listview/listview.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listview/listview.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listview/listview.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listview/listview.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listview/listview.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/listview/listview.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/listview/listview.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/map/map.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/map/map.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/map/map.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/map/map.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/map/map.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/map/map.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/map/map.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/map/map.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/maskedtextbox/maskedtextbox.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/maskedtextbox/maskedtextbox.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/maskedtextbox/maskedtextbox.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/maskedtextbox/maskedtextbox.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/mediaplayer/mediaplayer.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/mediaplayer/mediaplayer.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/mediaplayer/mediaplayer.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/mediaplayer/mediaplayer.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/menu/menu.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/menu/menu.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/menu/menu.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/menu/menu.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/multiselect/multiselect.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/multiselect/multiselect.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification-template.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification-template.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification-template.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification-template.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/notification/notification.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/notification/notification.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/numerictextbox/numerictextbox.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/numerictextbox/numerictextbox.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/numerictextbox/numerictextbox.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/numerictextbox/numerictextbox.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.html new file mode 100644 index 0000000..fd6f1b0 --- /dev/null +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.js new file mode 100644 index 0000000..7eee907 --- /dev/null +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pager/pager.js @@ -0,0 +1,105 @@ +/* */ +define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../common/widget-base', '../common/decorators', '../common/constants'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _widgetBase, _decorators, _constants) { + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Pager = undefined; + + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } + + var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor; + + var Pager = exports.Pager = (_dec = (0, _aureliaTemplating.customElement)(_constants.constants.elementPrefix + 'pager'), _dec2 = (0, _decorators.generateBindables)('kendoPager'), _dec3 = (0, _aureliaDependencyInjection.inject)(Element, _widgetBase.WidgetBase, _aureliaDependencyInjection.Container), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () { + function Pager(element, widgetBase, container) { + _classCallCheck(this, Pager); + + _initDefineProp(this, 'kEnabled', _descriptor, this); + + this.element = element; + this.widgetBase = widgetBase.control('kendoPager').linkViewModel(this).useElement(this.element).useContainer(container); + } + + Pager.prototype.subscribe = function subscribe(event, callback) { + return this.widgetBase.subscribe(event, callback); + }; + + Pager.prototype.bind = function bind(ctx, overrideCtx) { + this.widgetBase.useParentCtx(overrideCtx); + }; + + Pager.prototype.attached = function attached() { + if (!this.kNoInit) { + this.recreate(); + } + }; + + Pager.prototype.recreate = function recreate() { + var templates = this.widgetBase.util.getChildrenVMs(this.element, _constants.constants.elementPrefix + 'template'); + this.widgetBase.useTemplates(this, 'kendoPager', templates); + + this.kWidget = this.widgetBase.recreate(); + }; + + Pager.prototype.destroy = function destroy() { + this.widgetBase.destroy(this.kWidget); + }; + + Pager.prototype.detached = function detached() { + this.destroy(); + }; + + return Pager; + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'kEnabled', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null + })), _class2)) || _class) || _class) || _class); +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/panelbar/panelbar.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/panelbar/panelbar.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pdf/pdf.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pdf/pdf.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pdf/pdf.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pdf/pdf.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotconfigurator.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotconfigurator.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/pivotgrid/pivotgrid.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/pivotgrid/pivotgrid.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/popup/popup.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/popup/popup.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/popup/popup.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/popup/popup.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/progressbar/progressbar.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/progressbar/progressbar.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/progressbar/progressbar.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/progressbar/progressbar.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/qrcode/qrcode.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/qrcode/qrcode.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/qrcode/qrcode.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/qrcode/qrcode.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/rangeslider/rangeslider.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/rangeslider/rangeslider.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/responsivepanel/responsivepanel.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/responsivepanel/responsivepanel.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/responsivepanel/responsivepanel.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/responsivepanel/responsivepanel.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scheduler/scheduler.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scheduler/scheduler.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/scrollview/scrollview.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/scrollview/scrollview.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/slider/slider.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/slider/slider.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/slider/slider.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/slider/slider.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/sortable/sortable.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/sortable/sortable.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/sortable/sortable.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/sortable/sortable.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/splitter/splitter.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/splitter/splitter.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/splitter/splitter.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/splitter/splitter.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/spreadsheet/spreadsheet.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/spreadsheet/spreadsheet.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/switch/switch.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/switch/switch.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/switch/switch.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/switch/switch.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/tabstrip/tabstrip.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/tabstrip/tabstrip.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/tabstrip/tabstrip.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/tabstrip/tabstrip.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/timepicker/timepicker.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/timepicker/timepicker.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/timepicker/timepicker.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/timepicker/timepicker.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item-button.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item-button.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar-item.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar-item.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/toolbar/toolbar.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/toolbar/toolbar.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/tooltip/tooltip.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/tooltip/tooltip.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/tooltip/tooltip.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/tooltip/tooltip.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/tree-col.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/tree-col.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/tree-col.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/tree-col.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/tree-col.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/tree-col.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/tree-col.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/tree-col.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/treelist.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/treelist.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/treelist.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/treelist.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/treelist.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/treelist.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treelist/treelist.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treelist/treelist.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treeview/treeview.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treeview/treeview.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treeview/treeview.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treeview/treeview.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treeview/treeview.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treeview/treeview.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/treeview/treeview.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/treeview/treeview.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/upload/upload.html b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/upload/upload.html similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/upload/upload.html rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/upload/upload.html diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/upload/upload.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/upload/upload.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/upload/upload.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/upload/upload.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/validator/validator.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/validator/validator.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/validator/validator.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/validator/validator.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/valueconverters/valueconverters.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/valueconverters/valueconverters.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/valueconverters/valueconverters.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/valueconverters/valueconverters.js diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/version.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/version.js similarity index 76% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/version.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/version.js index 88484d2..22748e7 100644 --- a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/version.js +++ b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/version.js @@ -5,5 +5,5 @@ define(['exports'], function (exports) { Object.defineProperty(exports, "__esModule", { value: true }); - var version = exports.version = '1.6.5'; + var version = exports.version = '1.7.0'; }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/window/window.js b/jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/window/window.js similarity index 100% rename from jspm_packages/npm/aurelia-kendoui-bridge@1.6.5/window/window.js rename to jspm_packages/npm/aurelia-kendoui-bridge@1.7.0/window/window.js diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.2.js b/jspm_packages/npm/aurelia-loader-default@1.0.2.js deleted file mode 100644 index 3f09713..0000000 --- a/jspm_packages/npm/aurelia-loader-default@1.0.2.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-loader-default@1.0.2/aurelia-loader-default"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.2/.jspm-hash b/jspm_packages/npm/aurelia-loader-default@1.0.2/.jspm-hash deleted file mode 100644 index 2112319..0000000 --- a/jspm_packages/npm/aurelia-loader-default@1.0.2/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -0bacb0a0e06ea4a8f21d356e236e0c90b263461599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.4.js b/jspm_packages/npm/aurelia-loader-default@1.0.4.js new file mode 100644 index 0000000..3acf9dd --- /dev/null +++ b/jspm_packages/npm/aurelia-loader-default@1.0.4.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-loader-default@1.0.4/aurelia-loader-default"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.4/.jspm-hash b/jspm_packages/npm/aurelia-loader-default@1.0.4/.jspm-hash new file mode 100644 index 0000000..87e6551 --- /dev/null +++ b/jspm_packages/npm/aurelia-loader-default@1.0.4/.jspm-hash @@ -0,0 +1 @@ +da3c06622cd491cc7ba886633caeabf7a21d3f4499914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.2/aurelia-loader-default.js b/jspm_packages/npm/aurelia-loader-default@1.0.4/aurelia-loader-default.js similarity index 91% rename from jspm_packages/npm/aurelia-loader-default@1.0.2/aurelia-loader-default.js rename to jspm_packages/npm/aurelia-loader-default@1.0.4/aurelia-loader-default.js index c655f86..6d7edde 100644 --- a/jspm_packages/npm/aurelia-loader-default@1.0.2/aurelia-loader-default.js +++ b/jspm_packages/npm/aurelia-loader-default@1.0.4/aurelia-loader-default.js @@ -145,7 +145,7 @@ define(['exports', 'aurelia-loader', 'aurelia-pal', 'aurelia-metadata'], functio DefaultLoader.prototype._import = function (moduleId) { return new Promise(function (resolve, reject) { - require([moduleId], resolve, reject); + _aureliaPal.PLATFORM.global.require([moduleId], resolve, reject); }); }; @@ -158,7 +158,7 @@ define(['exports', 'aurelia-loader', 'aurelia-pal', 'aurelia-metadata'], functio } return new Promise(function (resolve, reject) { - require([id], function (m) { + _aureliaPal.PLATFORM.global.require([id], function (m) { _this2.moduleRegistry[id] = m; resolve(ensureOriginOnExports(m, id)); }, reject); @@ -191,24 +191,13 @@ define(['exports', 'aurelia-loader', 'aurelia-pal', 'aurelia-metadata'], functio } else { _aureliaPal.PLATFORM.eachModule = function (callback) { if (System.registry) { - for (var _iterator = System.registry.entries(), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { - var _ref; - - if (_isArray) { - if (_i >= _iterator.length) break; - _ref = _iterator[_i++]; - } else { - _i = _iterator.next(); - if (_i.done) break; - _ref = _i.value; - } - - var _ref2 = _ref; - var k = _ref2[0]; - var m = _ref2[1]; - + var keys = Array.from(System.registry.keys()); + for (var i = 0; i < keys.length; i++) { try { - if (callback(k, m)) return; + var key = keys[i]; + if (callback(key, System.registry.get(key))) { + return; + } } catch (e) {} } return; @@ -216,9 +205,9 @@ define(['exports', 'aurelia-loader', 'aurelia-pal', 'aurelia-metadata'], functio var modules = System._loader.modules; - for (var key in modules) { + for (var _key in modules) { try { - if (callback(key, modules[key].module)) return; + if (callback(_key, modules[_key].module)) return; } catch (e) {} } }; diff --git a/jspm_packages/npm/aurelia-loader-default@1.0.2/index.js b/jspm_packages/npm/aurelia-loader-default@1.0.4/index.js similarity index 100% rename from jspm_packages/npm/aurelia-loader-default@1.0.2/index.js rename to jspm_packages/npm/aurelia-loader-default@1.0.4/index.js diff --git a/jspm_packages/npm/aurelia-logging@1.3.1.js b/jspm_packages/npm/aurelia-logging@1.3.1.js deleted file mode 100644 index 6d784f7..0000000 --- a/jspm_packages/npm/aurelia-logging@1.3.1.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-logging@1.3.1/aurelia-logging"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-logging@1.3.1/.jspm-hash b/jspm_packages/npm/aurelia-logging@1.3.1/.jspm-hash deleted file mode 100644 index 286044a..0000000 --- a/jspm_packages/npm/aurelia-logging@1.3.1/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -b34ae759372ba08740ab12233a89bad15487fe9899914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-logging@1.4.0.js b/jspm_packages/npm/aurelia-logging@1.4.0.js new file mode 100644 index 0000000..eb2286c --- /dev/null +++ b/jspm_packages/npm/aurelia-logging@1.4.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-logging@1.4.0/aurelia-logging"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-logging@1.4.0/.jspm-hash b/jspm_packages/npm/aurelia-logging@1.4.0/.jspm-hash new file mode 100644 index 0000000..37339df --- /dev/null +++ b/jspm_packages/npm/aurelia-logging@1.4.0/.jspm-hash @@ -0,0 +1 @@ +04fb7aa74015593f7a15b225beeba07b7d14dcd599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-logging@1.3.1/aurelia-logging.js b/jspm_packages/npm/aurelia-logging@1.4.0/aurelia-logging.js similarity index 50% rename from jspm_packages/npm/aurelia-logging@1.3.1/aurelia-logging.js rename to jspm_packages/npm/aurelia-logging@1.4.0/aurelia-logging.js index a457c52..7a854bc 100644 --- a/jspm_packages/npm/aurelia-logging@1.3.1/aurelia-logging.js +++ b/jspm_packages/npm/aurelia-logging@1.4.0/aurelia-logging.js @@ -8,6 +8,10 @@ define(['exports'], function (exports) { exports.getLogger = getLogger; exports.addAppender = addAppender; exports.removeAppender = removeAppender; + exports.getAppenders = getAppenders; + exports.clearAppenders = clearAppenders; + exports.addCustomLevel = addCustomLevel; + exports.removeCustomLevel = removeCustomLevel; exports.setLevel = setLevel; exports.getLevel = getLevel; @@ -15,16 +19,23 @@ define(['exports'], function (exports) { var logLevel = exports.logLevel = { none: 0, - error: 1, - warn: 2, - info: 3, - debug: 4 + error: 10, + warn: 20, + info: 30, + debug: 40 }; var loggers = {}; var appenders = []; var globalDefaultLevel = logLevel.none; + var standardLevels = ['none', 'error', 'warn', 'info', 'debug']; + function isStandardLevel(level) { + return standardLevels.filter(function (l) { + return l === level; + }).length > 0; + } + function appendArgs() { return [this].concat(Array.prototype.slice.call(arguments)); } @@ -46,12 +57,44 @@ define(['exports'], function (exports) { }; } + function logFactoryCustom(level) { + var threshold = logLevel[level]; + return function () { + if (this.level < threshold) { + return; + } + + var args = appendArgs.apply(this, arguments); + var i = appenders.length; + while (i--) { + var appender = appenders[i]; + if (appender[level] !== undefined) { + appender[level].apply(appender, args); + } + } + }; + } + function connectLoggers() { var proto = Logger.prototype; - proto.debug = logFactory('debug'); - proto.info = logFactory('info'); - proto.warn = logFactory('warn'); - proto.error = logFactory('error'); + for (var _level in logLevel) { + if (isStandardLevel(_level)) { + if (_level !== 'none') { + proto[_level] = logFactory(_level); + } + } else { + proto[_level] = logFactoryCustom(_level); + } + } + } + + function disconnectLoggers() { + var proto = Logger.prototype; + for (var _level2 in logLevel) { + if (_level2 !== 'none') { + proto[_level2] = function () {}; + } + } } function getLogger(id) { @@ -70,6 +113,46 @@ define(['exports'], function (exports) { }); } + function getAppenders() { + return [].concat(appenders); + } + + function clearAppenders() { + appenders = []; + disconnectLoggers(); + } + + function addCustomLevel(name, value) { + if (logLevel[name] !== undefined) { + throw Error('Log level "' + name + '" already exists.'); + } + + if (isNaN(value)) { + throw Error('Value must be a number.'); + } + + logLevel[name] = value; + + if (appenders.length > 0) { + connectLoggers(); + } else { + Logger.prototype[name] = function () {}; + } + } + + function removeCustomLevel(name) { + if (logLevel[name] === undefined) { + return; + } + + if (isStandardLevel(name)) { + throw Error('Built-in log level "' + name + '" cannot be removed.'); + } + + delete logLevel[name]; + delete Logger.prototype[name]; + } + function setLevel(level) { globalDefaultLevel = level; for (var key in loggers) { diff --git a/jspm_packages/npm/aurelia-logging@1.3.1/index.js b/jspm_packages/npm/aurelia-logging@1.4.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-logging@1.3.1/index.js rename to jspm_packages/npm/aurelia-logging@1.4.0/index.js diff --git a/jspm_packages/npm/aurelia-pal-browser@1.3.0.js b/jspm_packages/npm/aurelia-pal-browser@1.3.0.js deleted file mode 100644 index 0bec532..0000000 --- a/jspm_packages/npm/aurelia-pal-browser@1.3.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-pal-browser@1.3.0/aurelia-pal-browser"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal-browser@1.3.0/.jspm-hash b/jspm_packages/npm/aurelia-pal-browser@1.3.0/.jspm-hash deleted file mode 100644 index 2d10f28..0000000 --- a/jspm_packages/npm/aurelia-pal-browser@1.3.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -63b5eaf36934dae89952ed16374cf1b029820ee099914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal-browser@1.7.0.js b/jspm_packages/npm/aurelia-pal-browser@1.7.0.js new file mode 100644 index 0000000..60a30dc --- /dev/null +++ b/jspm_packages/npm/aurelia-pal-browser@1.7.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-pal-browser@1.7.0/aurelia-pal-browser"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal-browser@1.7.0/.jspm-hash b/jspm_packages/npm/aurelia-pal-browser@1.7.0/.jspm-hash new file mode 100644 index 0000000..e3e4e47 --- /dev/null +++ b/jspm_packages/npm/aurelia-pal-browser@1.7.0/.jspm-hash @@ -0,0 +1 @@ +affeb662d074e1244bbc0187201a7d0262a170a499914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal-browser@1.3.0/aurelia-pal-browser.js b/jspm_packages/npm/aurelia-pal-browser@1.7.0/aurelia-pal-browser.js similarity index 80% rename from jspm_packages/npm/aurelia-pal-browser@1.3.0/aurelia-pal-browser.js rename to jspm_packages/npm/aurelia-pal-browser@1.7.0/aurelia-pal-browser.js index d8787ba..06e3f1a 100644 --- a/jspm_packages/npm/aurelia-pal-browser@1.3.0/aurelia-pal-browser.js +++ b/jspm_packages/npm/aurelia-pal-browser@1.7.0/aurelia-pal-browser.js @@ -210,26 +210,109 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { } if (typeof FEATURE_NO_IE === 'undefined') { - // @license http://opensource.org/licenses/MIT - if ('performance' in window === false) { - window.performance = {}; - } - - if ('now' in window.performance === false) { - (function () { - var nowOffset = Date.now(); + (function () { + var _filterEntries = function _filterEntries(key, value) { + var i = 0, + n = _entries.length, + result = []; + for (; i < n; i++) { + if (_entries[i][key] == value) { + result.push(_entries[i]); + } + } + return result; + }; - if (performance.timing && performance.timing.navigationStart) { - nowOffset = performance.timing.navigationStart; + var _clearEntries = function _clearEntries(type, name) { + var i = _entries.length, + entry; + while (i--) { + entry = _entries[i]; + if (entry.entryType == type && (name === void 0 || entry.name == name)) { + _entries.splice(i, 1); + } } + }; + + // @license http://opensource.org/licenses/MIT + if ('performance' in window === false) { + window.performance = {}; + } + + if ('now' in window.performance === false) { + (function () { + var nowOffset = Date.now(); - window.performance.now = function now() { - return Date.now() - nowOffset; + if (performance.timing && performance.timing.navigationStart) { + nowOffset = performance.timing.navigationStart; + } + + window.performance.now = function now() { + return Date.now() - nowOffset; + }; + })(); + } + + var startOffset = Date.now ? Date.now() : +new Date(); + var _entries = []; + var _marksIndex = {}; + + ; + + if (!window.performance.mark) { + window.performance.mark = window.performance.webkitMark || function (name) { + var mark = { + name: name, + entryType: "mark", + startTime: window.performance.now(), + duration: 0 + }; + + _entries.push(mark); + _marksIndex[name] = mark; }; - })(); - } + } + + if (!window.performance.measure) { + window.performance.measure = window.performance.webkitMeasure || function (name, startMark, endMark) { + startMark = _marksIndex[startMark].startTime; + endMark = _marksIndex[endMark].startTime; + + _entries.push({ + name: name, + entryType: "measure", + startTime: startMark, + duration: endMark - startMark + }); + }; + } + + if (!window.performance.getEntriesByType) { + window.performance.getEntriesByType = window.performance.webkitGetEntriesByType || function (type) { + return _filterEntries("entryType", type); + }; + } + + if (!window.performance.getEntriesByName) { + window.performance.getEntriesByName = window.performance.webkitGetEntriesByName || function (name) { + return _filterEntries("name", name); + }; + } + + if (!window.performance.clearMarks) { + window.performance.clearMarks = window.performance.webkitClearMarks || function (name) { + _clearEntries("mark", name); + }; + } + + if (!window.performance.clearMeasures) { + window.performance.clearMeasures = window.performance.webkitClearMeasures || function (name) { + _clearEntries("measure", name); + }; + } - _PLATFORM.performance = window.performance; + _PLATFORM.performance = window.performance; + })(); } if (typeof FEATURE_NO_IE === 'undefined') { @@ -277,7 +360,11 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { var _FEATURE = exports._FEATURE = { shadowDOM: !!HTMLElement.prototype.attachShadow, scopedCSS: 'scoped' in document.createElement('style'), - htmlTemplateElement: 'content' in document.createElement('template'), + htmlTemplateElement: function () { + var d = document.createElement('div'); + d.innerHTML = ''; + return 'content' in d.children[0]; + }(), mutationObserver: !!(window.MutationObserver || window.WebKitMutationObserver), ensureHTMLTemplateElement: function ensureHTMLTemplateElement(t) { return t; @@ -347,6 +434,7 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { var _DOM = exports._DOM = { Element: Element, + NodeList: NodeList, SVGElement: SVGElement, boundary: 'aurelia-dom-boundary', addEventListener: function addEventListener(eventName, callback, capture) { @@ -438,11 +526,29 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { } } }, - injectStyles: function injectStyles(styles, destination, prepend) { + injectStyles: function injectStyles(styles, destination, prepend, id) { + if (id) { + var oldStyle = document.getElementById(id); + if (oldStyle) { + var isStyleTag = oldStyle.tagName.toLowerCase() === 'style'; + + if (isStyleTag) { + oldStyle.innerHTML = styles; + return; + } + + throw new Error('The provided id does not indicate a style tag.'); + } + } + var node = document.createElement('style'); node.innerHTML = styles; node.type = 'text/css'; + if (id) { + node.id = id; + } + destination = destination || document.head; if (prepend && destination.childNodes.length > 0) { diff --git a/jspm_packages/npm/aurelia-pal-browser@1.3.0/index.js b/jspm_packages/npm/aurelia-pal-browser@1.7.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-pal-browser@1.3.0/index.js rename to jspm_packages/npm/aurelia-pal-browser@1.7.0/index.js diff --git a/jspm_packages/npm/aurelia-pal@1.4.0.js b/jspm_packages/npm/aurelia-pal@1.4.0.js deleted file mode 100644 index ac60ea8..0000000 --- a/jspm_packages/npm/aurelia-pal@1.4.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-pal@1.4.0/aurelia-pal"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal@1.4.0/.jspm-hash b/jspm_packages/npm/aurelia-pal@1.4.0/.jspm-hash deleted file mode 100644 index 24a22b0..0000000 --- a/jspm_packages/npm/aurelia-pal@1.4.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -1148f256c854c0e020a0a8f465cbf4a6eeaf918899914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal@1.7.0.js b/jspm_packages/npm/aurelia-pal@1.7.0.js new file mode 100644 index 0000000..3f1f9ba --- /dev/null +++ b/jspm_packages/npm/aurelia-pal@1.7.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-pal@1.7.0/aurelia-pal"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal@1.7.0/.jspm-hash b/jspm_packages/npm/aurelia-pal@1.7.0/.jspm-hash new file mode 100644 index 0000000..7d4dadf --- /dev/null +++ b/jspm_packages/npm/aurelia-pal@1.7.0/.jspm-hash @@ -0,0 +1 @@ +443fd75c72a0b3e1daa3181f655ea770a579dd8899914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-pal@1.4.0/aurelia-pal.js b/jspm_packages/npm/aurelia-pal@1.7.0/aurelia-pal.js similarity index 100% rename from jspm_packages/npm/aurelia-pal@1.4.0/aurelia-pal.js rename to jspm_packages/npm/aurelia-pal@1.7.0/aurelia-pal.js diff --git a/jspm_packages/npm/aurelia-pal@1.4.0/index.js b/jspm_packages/npm/aurelia-pal@1.7.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-pal@1.4.0/index.js rename to jspm_packages/npm/aurelia-pal@1.7.0/index.js diff --git a/jspm_packages/npm/aurelia-polyfills@1.2.2.js b/jspm_packages/npm/aurelia-polyfills@1.2.2.js deleted file mode 100644 index b6040ab..0000000 --- a/jspm_packages/npm/aurelia-polyfills@1.2.2.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-polyfills@1.2.2/aurelia-polyfills"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-polyfills@1.2.2/.jspm-hash b/jspm_packages/npm/aurelia-polyfills@1.2.2/.jspm-hash deleted file mode 100644 index 52c7793..0000000 --- a/jspm_packages/npm/aurelia-polyfills@1.2.2/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -b8d0eb059e94f25be583e29af0aa50ab49f5c27d99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-polyfills@1.3.0.js b/jspm_packages/npm/aurelia-polyfills@1.3.0.js new file mode 100644 index 0000000..896d61a --- /dev/null +++ b/jspm_packages/npm/aurelia-polyfills@1.3.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-polyfills@1.3.0/aurelia-polyfills"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-polyfills@1.3.0/.jspm-hash b/jspm_packages/npm/aurelia-polyfills@1.3.0/.jspm-hash new file mode 100644 index 0000000..215ef67 --- /dev/null +++ b/jspm_packages/npm/aurelia-polyfills@1.3.0/.jspm-hash @@ -0,0 +1 @@ +899ec0051f76a971c3169341279ed62c7f39f70799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-polyfills@1.2.2/aurelia-polyfills.js b/jspm_packages/npm/aurelia-polyfills@1.3.0/aurelia-polyfills.js similarity index 99% rename from jspm_packages/npm/aurelia-polyfills@1.2.2/aurelia-polyfills.js rename to jspm_packages/npm/aurelia-polyfills@1.3.0/aurelia-polyfills.js index 1fff265..22c26b8 100644 --- a/jspm_packages/npm/aurelia-polyfills@1.2.2/aurelia-polyfills.js +++ b/jspm_packages/npm/aurelia-polyfills@1.3.0/aurelia-polyfills.js @@ -547,6 +547,16 @@ define(['aurelia-pal'], function (_aureliaPal) { }() }); })(Object); + + if (!Object.is) { + Object.is = function (x, y) { + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + }; + } } if (typeof FEATURE_NO_ES2015 === 'undefined') { diff --git a/jspm_packages/npm/aurelia-polyfills@1.2.2/index.js b/jspm_packages/npm/aurelia-polyfills@1.3.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-polyfills@1.2.2/index.js rename to jspm_packages/npm/aurelia-polyfills@1.3.0/index.js diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.0.js b/jspm_packages/npm/aurelia-route-recognizer@1.1.0.js deleted file mode 100644 index 141154f..0000000 --- a/jspm_packages/npm/aurelia-route-recognizer@1.1.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-route-recognizer@1.1.0/aurelia-route-recognizer"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.0/.jspm-hash b/jspm_packages/npm/aurelia-route-recognizer@1.1.0/.jspm-hash deleted file mode 100644 index ce26d16..0000000 --- a/jspm_packages/npm/aurelia-route-recognizer@1.1.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -13e21580ae7ddf24b9d4b3bb96ce6453321fbc0599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.1.js b/jspm_packages/npm/aurelia-route-recognizer@1.1.1.js new file mode 100644 index 0000000..85794b3 --- /dev/null +++ b/jspm_packages/npm/aurelia-route-recognizer@1.1.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-route-recognizer@1.1.1/aurelia-route-recognizer"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.1/.jspm-hash b/jspm_packages/npm/aurelia-route-recognizer@1.1.1/.jspm-hash new file mode 100644 index 0000000..bf82d39 --- /dev/null +++ b/jspm_packages/npm/aurelia-route-recognizer@1.1.1/.jspm-hash @@ -0,0 +1 @@ +3b89c112d8f1af218bc205ab5a6fe0d3913fffb099914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js b/jspm_packages/npm/aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js similarity index 99% rename from jspm_packages/npm/aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js rename to jspm_packages/npm/aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js index b3291d3..2d7414d 100644 --- a/jspm_packages/npm/aurelia-route-recognizer@1.1.0/aurelia-route-recognizer.js +++ b/jspm_packages/npm/aurelia-route-recognizer@1.1.1/aurelia-route-recognizer.js @@ -362,8 +362,6 @@ define(['exports', 'aurelia-path'], function (exports, _aureliaPath) { return findHandler(state, normalizedPath, queryParams); } - - return undefined; }; return RouteRecognizer; @@ -393,9 +391,9 @@ define(['exports', 'aurelia-path'], function (exports, _aureliaPath) { var match = segment.match(/^:([^?]+)(\?)?$/); if (match) { - var _match = match; - var _name = _match[1]; - var optional = _match[2]; + var _match = match, + _name = _match[1], + optional = _match[2]; if (_name.indexOf('=') !== -1) { throw new Error('Parameter ' + _name + ' in route ' + route + ' has a default value, which is not supported.'); diff --git a/jspm_packages/npm/aurelia-route-recognizer@1.1.0/index.js b/jspm_packages/npm/aurelia-route-recognizer@1.1.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-route-recognizer@1.1.0/index.js rename to jspm_packages/npm/aurelia-route-recognizer@1.1.1/index.js diff --git a/jspm_packages/npm/aurelia-router@1.3.0.js b/jspm_packages/npm/aurelia-router@1.3.0.js deleted file mode 100644 index 2bbe87e..0000000 --- a/jspm_packages/npm/aurelia-router@1.3.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-router@1.3.0/aurelia-router"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-router@1.3.0/.jspm-hash b/jspm_packages/npm/aurelia-router@1.3.0/.jspm-hash deleted file mode 100644 index ec8b966..0000000 --- a/jspm_packages/npm/aurelia-router@1.3.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -55fc65fe010771ac7adf2ebb0c897a0b66592d7299914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-router@1.5.0.js b/jspm_packages/npm/aurelia-router@1.5.0.js new file mode 100644 index 0000000..3199db8 --- /dev/null +++ b/jspm_packages/npm/aurelia-router@1.5.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-router@1.5.0/aurelia-router"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-router@1.5.0/.jspm-hash b/jspm_packages/npm/aurelia-router@1.5.0/.jspm-hash new file mode 100644 index 0000000..fb398cb --- /dev/null +++ b/jspm_packages/npm/aurelia-router@1.5.0/.jspm-hash @@ -0,0 +1 @@ +beac6b5820ce470c92f0a18450b24ab431b0a60e99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-router@1.3.0/aurelia-router.js b/jspm_packages/npm/aurelia-router@1.5.0/aurelia-router.js similarity index 85% rename from jspm_packages/npm/aurelia-router@1.3.0/aurelia-router.js rename to jspm_packages/npm/aurelia-router@1.5.0/aurelia-router.js index 7b2e18f..bdbbec7 100644 --- a/jspm_packages/npm/aurelia-router@1.3.0/aurelia-router.js +++ b/jspm_packages/npm/aurelia-router@1.5.0/aurelia-router.js @@ -58,7 +58,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { @@ -82,7 +82,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen function _normalizeAbsolutePath(path, hasPushState) { - var absolute = arguments.length <= 2 || arguments[2] === undefined ? false : arguments[2]; + var absolute = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; if (!hasPushState && path[0] !== '#') { path = '#' + path; @@ -297,7 +297,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen NavigationInstruction.prototype.getBaseUrl = function getBaseUrl() { var _this = this; - var fragment = this.fragment; + var fragment = decodeURI(this.fragment); if (fragment === '') { var nonEmptyRoute = this.router.routes.find(function (route) { @@ -309,18 +309,17 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } if (!this.params) { - return fragment; + return encodeURI(fragment); } var wildcardName = this.getWildCardName(); var path = this.params[wildcardName] || ''; if (!path) { - return fragment; + return encodeURI(fragment); } - path = encodeURI(path); - return fragment.substr(0, fragment.lastIndexOf(path)); + return encodeURI(fragment.substr(0, fragment.lastIndexOf(path))); }; NavigationInstruction.prototype._commitChanges = function _commitChanges(waitToSwap) { @@ -350,17 +349,18 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } if (viewPortInstruction.strategy === activationStrategy.replace) { - if (waitToSwap) { - delaySwaps.push({ viewPort: viewPort, viewPortInstruction: viewPortInstruction }); - } - - loads.push(viewPort.process(viewPortInstruction, waitToSwap).then(function (x) { - if (viewPortInstruction.childNavigationInstruction) { - return viewPortInstruction.childNavigationInstruction._commitChanges(); + if (viewPortInstruction.childNavigationInstruction && viewPortInstruction.childNavigationInstruction.parentCatchHandler) { + loads.push(viewPortInstruction.childNavigationInstruction._commitChanges(waitToSwap)); + } else { + if (waitToSwap) { + delaySwaps.push({ viewPort: viewPort, viewPortInstruction: viewPortInstruction }); } - - return undefined; - })); + loads.push(viewPort.process(viewPortInstruction, waitToSwap).then(function (x) { + if (viewPortInstruction.childNavigationInstruction) { + return viewPortInstruction.childNavigationInstruction._commitChanges(waitToSwap); + } + })); + } } else { if (viewPortInstruction.childNavigationInstruction) { loads.push(viewPortInstruction.childNavigationInstruction._commitChanges(waitToSwap)); @@ -390,7 +390,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }; NavigationInstruction.prototype._buildTitle = function _buildTitle() { - var separator = arguments.length <= 0 || arguments[0] === undefined ? ' | ' : arguments[0]; + var separator = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ' | '; var title = ''; var childTitles = []; @@ -461,7 +461,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var Redirect = exports.Redirect = function () { function Redirect(url) { - var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; @@ -484,8 +484,8 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var RedirectToRoute = exports.RedirectToRoute = function () { function RedirectToRoute(route) { - var params = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; - var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; + var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; @@ -551,15 +551,20 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen return this.mapRoute(route); }; + RouterConfiguration.prototype.useViewPortDefaults = function useViewPortDefaults(viewPortConfig) { + this.viewPortDefaults = viewPortConfig; + return this; + }; + RouterConfiguration.prototype.mapRoute = function mapRoute(config) { this.instructions.push(function (router) { var routeConfigs = []; if (Array.isArray(config.route)) { for (var i = 0, ii = config.route.length; i < ii; ++i) { - var current = Object.assign({}, config); - current.route = config.route[i]; - routeConfigs.push(current); + var _current = Object.assign({}, config); + _current.route = config.route[i]; + routeConfigs.push(_current); } } else { routeConfigs.push(Object.assign({}, config)); @@ -603,6 +608,10 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen router.fallbackRoute = this._fallbackRoute; } + if (this.viewPortDefaults) { + router.useViewPortDefaults(this.viewPortDefaults); + } + router.options = this.options; var pipelineSteps = this.pipelineSteps; @@ -613,9 +622,9 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var pipelineProvider = router.pipelineProvider; for (var _i2 = 0, _ii2 = pipelineSteps.length; _i2 < _ii2; ++_i2) { - var _pipelineSteps$_i = pipelineSteps[_i2]; - var _name = _pipelineSteps$_i.name; - var step = _pipelineSteps$_i.step; + var _pipelineSteps$_i = pipelineSteps[_i2], + _name = _pipelineSteps$_i.name, + step = _pipelineSteps$_i.step; pipelineProvider.addStep(_name, step); } @@ -647,9 +656,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }(); function _buildNavigationPlan(instruction, forceLifecycleMinimum) { - var prev = instruction.previousInstruction; var config = instruction.config; - var plan = {}; if ('redirect' in config) { var redirectLocation = _resolveUrl(config.redirect, getInstructionBaseUrl(instruction)); @@ -660,15 +667,20 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen return Promise.reject(new Redirect(redirectLocation)); } + var prev = instruction.previousInstruction; + var plan = {}; + var defaults = instruction.router.viewPortDefaults; + if (prev) { var newParams = hasDifferentParameterValues(prev, instruction); var pending = []; var _loop2 = function _loop2(viewPortName) { var prevViewPortInstruction = prev.viewPortInstructions[viewPortName]; - var nextViewPortConfig = config.viewPorts[viewPortName]; - - if (!nextViewPortConfig) throw new Error('Invalid Route Config: Configuration for viewPort "' + viewPortName + '" was not found for route: "' + instruction.config.route + '."'); + var nextViewPortConfig = viewPortName in config.viewPorts ? config.viewPorts[viewPortName] : prevViewPortInstruction; + if (nextViewPortConfig.moduleId === null && viewPortName in instruction.router.viewPortDefaults) { + nextViewPortConfig = defaults[viewPortName]; + } var viewPortPlan = plan[viewPortName] = { name: viewPortName, @@ -714,11 +726,15 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }); } - for (var _viewPortName in config.viewPorts) { - plan[_viewPortName] = { - name: _viewPortName, + for (var viewPortName in config.viewPorts) { + var viewPortConfig = config.viewPorts[viewPortName]; + if (viewPortConfig.moduleId === null && viewPortName in instruction.router.viewPortDefaults) { + viewPortConfig = defaults[viewPortName]; + } + plan[viewPortName] = { + name: viewPortName, strategy: activationStrategy.replace, - config: instruction.config.viewPorts[_viewPortName] + config: viewPortConfig }; } @@ -792,6 +808,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen this.parent = null; this.options = {}; + this.viewPortDefaults = {}; this.transformTitle = function (title) { if (_this3.parent) { @@ -815,8 +832,14 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen this.isNavigating = false; this.isExplicitNavigation = false; this.isExplicitNavigationBack = false; + this.isNavigatingFirst = false; + this.isNavigatingNew = false; + this.isNavigatingRefresh = false; + this.isNavigatingForward = false; + this.isNavigatingBack = false; this.navigation = []; this.currentInstruction = null; + this.viewPortDefaults = {}; this._fallbackOrder = 100; this._recognizer = new _aureliaRouteRecognizer.RouteRecognizer(); this._childRecognizer = new _aureliaRouteRecognizer.RouteRecognizer(); @@ -883,7 +906,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }; Router.prototype.generate = function generate(name, params) { - var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var hasRoute = this._recognizer.hasRoute(name); if ((!this.isConfigured || !hasRoute) && this.parent) { @@ -1009,15 +1032,24 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var nav = this.navigation; for (var i = 0, length = nav.length; i < length; i++) { - var current = nav[i]; - if (!current.config.href) { - current.href = _createRootedPath(current.relativeHref, this.baseUrl, this.history._hasPushState); + var _current2 = nav[i]; + if (!_current2.config.href) { + _current2.href = _createRootedPath(_current2.relativeHref, this.baseUrl, this.history._hasPushState); } else { - current.href = _normalizeAbsolutePath(current.config.href, this.history._hasPushState); + _current2.href = _normalizeAbsolutePath(_current2.config.href, this.history._hasPushState); } } }; + Router.prototype.useViewPortDefaults = function useViewPortDefaults(viewPortDefaults) { + for (var viewPortName in viewPortDefaults) { + var viewPortConfig = viewPortDefaults[viewPortName]; + this.viewPortDefaults[viewPortName] = { + moduleId: viewPortConfig.moduleId + }; + } + }; + Router.prototype._refreshBaseUrl = function _refreshBaseUrl() { if (this.parent) { var baseUrl = this.parent.currentInstruction.getBaseUrl(); @@ -1026,8 +1058,8 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }; Router.prototype._createNavigationInstruction = function _createNavigationInstruction() { - var url = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0]; - var parentInstruction = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1]; + var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var parentInstruction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; var fragment = url; var queryString = ''; @@ -1073,15 +1105,50 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } else if (this.catchAllHandler) { var _instruction2 = new NavigationInstruction(Object.assign({}, instructionInit, { params: { path: fragment }, - queryParams: results && results.queryParams, + queryParams: results ? results.queryParams : {}, config: null })); return evaluateNavigationStrategy(_instruction2, this.catchAllHandler); + } else if (this.parent) { + var _router = this._parentCatchAllHandler(this.parent); + + if (_router) { + var newParentInstruction = this._findParentInstructionFromRouter(_router, parentInstruction); + + var _instruction3 = new NavigationInstruction(Object.assign({}, instructionInit, { + params: { path: fragment }, + queryParams: results ? results.queryParams : {}, + router: _router, + parentInstruction: newParentInstruction, + parentCatchHandler: true, + config: null })); + + return evaluateNavigationStrategy(_instruction3, _router.catchAllHandler); + } } return Promise.reject(new Error('Route not found: ' + url)); }; + Router.prototype._findParentInstructionFromRouter = function _findParentInstructionFromRouter(router, instruction) { + if (instruction.router === router) { + instruction.fragment = router.baseUrl; + return instruction; + } else if (instruction.parentInstruction) { + return this._findParentInstructionFromRouter(router, instruction.parentInstruction); + } + return undefined; + }; + + Router.prototype._parentCatchAllHandler = function _parentCatchAllHandler(router) { + if (router.catchAllHandler) { + return router; + } else if (router.parent) { + return this._parentCatchAllHandler(router.parent); + } + return false; + }; + Router.prototype._createRouteConfig = function _createRouteConfig(config, instruction) { var _this7 = this; @@ -1152,7 +1219,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } CanDeactivatePreviousStep.prototype.run = function run(navigationInstruction, next) { - return processDeactivatable(navigationInstruction.plan, 'canDeactivate', next); + return processDeactivatable(navigationInstruction, 'canDeactivate', next); }; return CanDeactivatePreviousStep; @@ -1176,7 +1243,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } DeactivatePreviousStep.prototype.run = function run(navigationInstruction, next) { - return processDeactivatable(navigationInstruction.plan, 'deactivate', next, true); + return processDeactivatable(navigationInstruction, 'deactivate', next, true); }; return DeactivatePreviousStep; @@ -1194,7 +1261,8 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen return ActivateNextStep; }(); - function processDeactivatable(plan, callbackName, next, ignoreResult) { + function processDeactivatable(navigationInstruction, callbackName, next, ignoreResult) { + var plan = navigationInstruction.plan; var infos = findDeactivatable(plan, callbackName); var i = infos.length; @@ -1210,7 +1278,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen if (i--) { try { var viewModel = infos[i]; - var _result = viewModel[callbackName](); + var _result = viewModel[callbackName](navigationInstruction); return processPotential(_result, inspect, next.cancel); } catch (error) { return next.cancel(error); @@ -1224,7 +1292,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } function findDeactivatable(plan, callbackName) { - var list = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2]; + var list = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; for (var viewPortName in plan) { var _viewPortPlan = plan[viewPortName]; @@ -1238,10 +1306,10 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } } - if (_viewPortPlan.childNavigationInstruction) { - findDeactivatable(_viewPortPlan.childNavigationInstruction.plan, callbackName, list); - } else if (prevComponent) { + if (_viewPortPlan.strategy === activationStrategy.replace && prevComponent) { addPreviousDeactivatable(prevComponent, callbackName, list); + } else if (_viewPortPlan.childNavigationInstruction) { + findDeactivatable(_viewPortPlan.childNavigationInstruction.plan, callbackName, list); } } @@ -1286,19 +1354,13 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen if (i < length) { try { - var _ret3 = function () { - var _current$viewModel; - - var current = infos[i]; - var result = (_current$viewModel = current.viewModel)[callbackName].apply(_current$viewModel, current.lifecycleArgs); - return { - v: processPotential(result, function (val) { - return inspect(val, current.router); - }, next.cancel) - }; - }(); - - if ((typeof _ret3 === 'undefined' ? 'undefined' : _typeof(_ret3)) === "object") return _ret3.v; + var _current3$viewModel; + + var _current3 = infos[i]; + var _result2 = (_current3$viewModel = _current3.viewModel)[callbackName].apply(_current3$viewModel, _current3.lifecycleArgs); + return processPotential(_result2, function (val) { + return inspect(val, _current3.router); + }, next.cancel); } catch (error) { return next.cancel(error); } @@ -1311,7 +1373,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } function findActivatable(navigationInstruction, callbackName) { - var list = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2]; + var list = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; var router = arguments[3]; var plan = navigationInstruction.plan; @@ -1389,35 +1451,29 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } if (obj && typeof obj.subscribe === 'function') { - var _ret4 = function () { - var obs = obj; - return { - v: new SafeSubscription(function (sub) { - return obs.subscribe({ - next: function next() { - if (sub.subscribed) { - sub.unsubscribe(); - resolve(obj); - } - }, - error: function error(_error) { - if (sub.subscribed) { - sub.unsubscribe(); - reject(_error); - } - }, - complete: function complete() { - if (sub.subscribed) { - sub.unsubscribe(); - resolve(obj); - } - } - }); - }) - }; - }(); - - if ((typeof _ret4 === 'undefined' ? 'undefined' : _typeof(_ret4)) === "object") return _ret4.v; + var obs = obj; + return new SafeSubscription(function (sub) { + return obs.subscribe({ + next: function next() { + if (sub.subscribed) { + sub.unsubscribe(); + resolve(obj); + } + }, + error: function error(_error) { + if (sub.subscribed) { + sub.unsubscribe(); + reject(_error); + } + }, + complete: function complete() { + if (sub.subscribed) { + sub.unsubscribe(); + resolve(obj); + } + } + }); + }); } try { @@ -1467,7 +1523,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } function determineWhatToLoad(navigationInstruction) { - var toLoad = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1]; + var toLoad = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var plan = navigationInstruction.plan; @@ -1494,7 +1550,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } function loadRoute(routeLoader, navigationInstruction, viewPortPlan) { - var moduleId = viewPortPlan.config.moduleId; + var moduleId = viewPortPlan.config ? viewPortPlan.config.moduleId : null; return loadComponent(routeLoader, navigationInstruction, viewPortPlan.config).then(function (component) { var viewPortInstruction = navigationInstruction.addViewPortInstruction(viewPortPlan.name, viewPortPlan.strategy, moduleId, component); @@ -1524,27 +1580,21 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen var lifecycleArgs = navigationInstruction.lifecycleArgs; return routeLoader.loadRoute(router, config, navigationInstruction).then(function (component) { - var viewModel = component.viewModel; - var childContainer = component.childContainer; + var viewModel = component.viewModel, + childContainer = component.childContainer; component.router = router; component.config = config; if ('configureRouter' in viewModel) { - var _ret5 = function () { - var childRouter = childContainer.getChildRouter(); - component.childRouter = childRouter; - - return { - v: childRouter.configure(function (c) { - return viewModel.configureRouter.apply(viewModel, [c, childRouter].concat(lifecycleArgs)); - }).then(function () { - return component; - }) - }; - }(); + var childRouter = childContainer.getChildRouter(); + component.childRouter = childRouter; - if ((typeof _ret5 === 'undefined' ? 'undefined' : _typeof(_ret5)) === "object") return _ret5.v; + return childRouter.configure(function (c) { + return viewModel.configureRouter.apply(viewModel, [c, childRouter].concat(lifecycleArgs)); + }).then(function () { + return component; + }); } return component; @@ -1620,7 +1670,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen }; PipelineProvider.prototype._clearSteps = function _clearSteps() { - var name = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0]; + var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var slot = this._findStep(name); if (slot) { @@ -1688,33 +1738,21 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen _Router.prototype.registerViewPort.call(this, viewPort, name); if (!this.isActive) { - var _ret6 = function () { - var viewModel = _this12._findViewModel(viewPort); - if ('configureRouter' in viewModel) { - if (!_this12.isConfigured) { - var _ret7 = function () { - var resolveConfiguredPromise = _this12._resolveConfiguredPromise; - _this12._resolveConfiguredPromise = function () {}; - return { - v: { - v: _this12.configure(function (config) { - return viewModel.configureRouter(config, _this12); - }).then(function () { - _this12.activate(); - resolveConfiguredPromise(); - }) - } - }; - }(); - - if ((typeof _ret7 === 'undefined' ? 'undefined' : _typeof(_ret7)) === "object") return _ret7.v; - } - } else { - _this12.activate(); + var viewModel = this._findViewModel(viewPort); + if ('configureRouter' in viewModel) { + if (!this.isConfigured) { + var resolveConfiguredPromise = this._resolveConfiguredPromise; + this._resolveConfiguredPromise = function () {}; + return this.configure(function (config) { + return viewModel.configureRouter(config, _this12); + }).then(function () { + _this12.activate(); + resolveConfiguredPromise(); + }); } - }(); - - if ((typeof _ret6 === 'undefined' ? 'undefined' : _typeof(_ret6)) === "object") return _ret6.v; + } else { + this.activate(); + } } else { this._dequeueInstruction(); } @@ -1751,7 +1789,7 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen AppRouter.prototype._dequeueInstruction = function _dequeueInstruction() { var _this14 = this; - var instructionCount = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0]; + var instructionCount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; return Promise.resolve().then(function () { if (_this14.isNavigating && !instructionCount) { @@ -1766,6 +1804,25 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen } _this14.isNavigating = true; + + var navtracker = _this14.history.getState('NavigationTracker'); + if (!navtracker && !_this14.currentNavigationTracker) { + _this14.isNavigatingFirst = true; + _this14.isNavigatingNew = true; + } else if (!navtracker) { + _this14.isNavigatingNew = true; + } else if (!_this14.currentNavigationTracker) { + _this14.isNavigatingRefresh = true; + } else if (_this14.currentNavigationTracker < navtracker) { + _this14.isNavigatingForward = true; + } else if (_this14.currentNavigationTracker > navtracker) { + _this14.isNavigatingBack = true; + }if (!navtracker) { + navtracker = Date.now(); + _this14.history.setState('NavigationTracker', navtracker); + } + _this14.currentNavigationTracker = navtracker; + instruction.previousInstruction = _this14.currentInstruction; if (!instructionCount) { @@ -1848,6 +1905,11 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen router.isNavigating = false; router.isExplicitNavigation = false; router.isExplicitNavigationBack = false; + router.isNavigatingFirst = false; + router.isNavigatingNew = false; + router.isNavigatingRefresh = false; + router.isNavigatingForward = false; + router.isNavigatingBack = false; var eventName = void 0; diff --git a/jspm_packages/npm/aurelia-router@1.3.0/index.js b/jspm_packages/npm/aurelia-router@1.5.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-router@1.3.0/index.js rename to jspm_packages/npm/aurelia-router@1.5.0/index.js diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.0.js b/jspm_packages/npm/aurelia-task-queue@1.2.0.js deleted file mode 100644 index f40068b..0000000 --- a/jspm_packages/npm/aurelia-task-queue@1.2.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-task-queue@1.2.0/aurelia-task-queue"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.0/.jspm-hash b/jspm_packages/npm/aurelia-task-queue@1.2.0/.jspm-hash deleted file mode 100644 index 3603c92..0000000 --- a/jspm_packages/npm/aurelia-task-queue@1.2.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -9233ac30ec10b620113bbab37024a28e61f5986599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.1.js b/jspm_packages/npm/aurelia-task-queue@1.2.1.js new file mode 100644 index 0000000..e542014 --- /dev/null +++ b/jspm_packages/npm/aurelia-task-queue@1.2.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-task-queue@1.2.1/aurelia-task-queue"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.1/.jspm-hash b/jspm_packages/npm/aurelia-task-queue@1.2.1/.jspm-hash new file mode 100644 index 0000000..e8e7801 --- /dev/null +++ b/jspm_packages/npm/aurelia-task-queue@1.2.1/.jspm-hash @@ -0,0 +1 @@ +2e25c7cd663b7e3074f1d99744eb2d14ec5ce59499914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.0/aurelia-task-queue.js b/jspm_packages/npm/aurelia-task-queue@1.2.1/aurelia-task-queue.js similarity index 90% rename from jspm_packages/npm/aurelia-task-queue@1.2.0/aurelia-task-queue.js rename to jspm_packages/npm/aurelia-task-queue@1.2.1/aurelia-task-queue.js index 9a093f9..57f3e61 100644 --- a/jspm_packages/npm/aurelia-task-queue@1.2.0/aurelia-task-queue.js +++ b/jspm_packages/npm/aurelia-task-queue@1.2.1/aurelia-task-queue.js @@ -89,6 +89,36 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { }); } + TaskQueue.prototype._flushQueue = function _flushQueue(queue, capacity) { + var index = 0; + var task = void 0; + + try { + this.flushing = true; + while (index < queue.length) { + task = queue[index]; + if (this.longStacks) { + this.stack = typeof task.stack === 'string' ? task.stack : undefined; + } + task.call(); + index++; + + if (index > capacity) { + for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) { + queue[scan] = queue[scan + index]; + } + + queue.length -= index; + index = 0; + } + } + } catch (error) { + onError(error, task, this.longStacks); + } finally { + this.flushing = false; + } + }; + TaskQueue.prototype.queueMicroTask = function queueMicroTask(task) { if (this.microTaskQueue.length < 1) { this.requestFlushMicroTaskQueue(); @@ -97,6 +127,7 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { if (this.longStacks) { task.stack = this.prepareQueueStack(microStackSeparator); } + this.microTaskQueue.push(task); }; @@ -108,72 +139,29 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { if (this.longStacks) { task.stack = this.prepareQueueStack(stackSeparator); } + this.taskQueue.push(task); }; TaskQueue.prototype.flushTaskQueue = function flushTaskQueue() { var queue = this.taskQueue; - var index = 0; - var task = void 0; - this.taskQueue = []; - - try { - this.flushing = true; - while (index < queue.length) { - task = queue[index]; - if (this.longStacks) { - this.stack = typeof task.stack === 'string' ? task.stack : undefined; - } - task.call(); - index++; - } - } catch (error) { - onError(error, task, this.longStacks); - } finally { - this.flushing = false; - } + this._flushQueue(queue, Number.MAX_VALUE); }; TaskQueue.prototype.flushMicroTaskQueue = function flushMicroTaskQueue() { var queue = this.microTaskQueue; - var capacity = this.microTaskQueueCapacity; - var index = 0; - var task = void 0; - - try { - this.flushing = true; - while (index < queue.length) { - task = queue[index]; - if (this.longStacks) { - this.stack = typeof task.stack === 'string' ? task.stack : undefined; - } - task.call(); - index++; - - if (index > capacity) { - for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) { - queue[scan] = queue[scan + index]; - } - - queue.length -= index; - index = 0; - } - } - } catch (error) { - onError(error, task, this.longStacks); - } finally { - this.flushing = false; - } - + this._flushQueue(queue, this.microTaskQueueCapacity); queue.length = 0; }; TaskQueue.prototype.prepareQueueStack = function prepareQueueStack(separator) { var stack = separator + filterQueueStack(captureStack()); + if (typeof this.stack === 'string') { stack = filterFlushStack(stack) + this.stack; } + return stack; }; @@ -200,13 +188,16 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) { function filterFlushStack(stack) { var index = stack.lastIndexOf('flushMicroTaskQueue'); + if (index < 0) { index = stack.lastIndexOf('flushTaskQueue'); if (index < 0) { return stack; } } + index = stack.lastIndexOf('\n', index); + return index < 0 ? stack : stack.substr(0, index); } }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-task-queue@1.2.0/index.js b/jspm_packages/npm/aurelia-task-queue@1.2.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-task-queue@1.2.0/index.js rename to jspm_packages/npm/aurelia-task-queue@1.2.1/index.js diff --git a/jspm_packages/npm/aurelia-templating-binding@1.3.0.js b/jspm_packages/npm/aurelia-templating-binding@1.3.0.js deleted file mode 100644 index 2a2d0a6..0000000 --- a/jspm_packages/npm/aurelia-templating-binding@1.3.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-templating-binding@1.3.0/aurelia-templating-binding"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-binding@1.3.0/.jspm-hash b/jspm_packages/npm/aurelia-templating-binding@1.3.0/.jspm-hash deleted file mode 100644 index c35c649..0000000 --- a/jspm_packages/npm/aurelia-templating-binding@1.3.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -595c6f96404a62e5c072cacc0990daf17535075d99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-binding@1.4.1.js b/jspm_packages/npm/aurelia-templating-binding@1.4.1.js new file mode 100644 index 0000000..25290fe --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-binding@1.4.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-templating-binding@1.4.1/aurelia-templating-binding"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-binding@1.4.1/.jspm-hash b/jspm_packages/npm/aurelia-templating-binding@1.4.1/.jspm-hash new file mode 100644 index 0000000..275c225 --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-binding@1.4.1/.jspm-hash @@ -0,0 +1 @@ +492565b2a3185478979eec38c5dbf02e00a3dcd799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-binding@1.3.0/aurelia-templating-binding.js b/jspm_packages/npm/aurelia-templating-binding@1.4.1/aurelia-templating-binding.js similarity index 96% rename from jspm_packages/npm/aurelia-templating-binding@1.3.0/aurelia-templating-binding.js rename to jspm_packages/npm/aurelia-templating-binding@1.4.1/aurelia-templating-binding.js index d7e11a0..741a542 100644 --- a/jspm_packages/npm/aurelia-templating-binding@1.3.0/aurelia-templating-binding.js +++ b/jspm_packages/npm/aurelia-templating-binding@1.4.1/aurelia-templating-binding.js @@ -373,7 +373,7 @@ define(['exports', 'aurelia-logging', 'aurelia-binding', 'aurelia-templating'], SyntaxInterpreter.prototype.bind = function bind(resources, element, info, existingInstruction, context) { var instruction = existingInstruction || _aureliaTemplating.BehaviorInstruction.attribute(info.attrName); - instruction.attributes[info.attrName] = new _aureliaBinding.BindingExpression(this.observerLocator, this.attributeMap.map(element.tagName, info.attrName), this.parser.parse(info.attrValue), info.defaultBindingMode || this.determineDefaultBindingMode(element, info.attrName, context), resources.lookupFunctions); + instruction.attributes[info.attrName] = new _aureliaBinding.BindingExpression(this.observerLocator, this.attributeMap.map(element.tagName, info.attrName), this.parser.parse(info.attrValue), info.defaultBindingMode === undefined || info.defaultBindingMode === null ? this.determineDefaultBindingMode(element, info.attrName, context) : info.defaultBindingMode, resources.lookupFunctions); return instruction; }; @@ -465,7 +465,7 @@ define(['exports', 'aurelia-logging', 'aurelia-binding', 'aurelia-templating'], SyntaxInterpreter.prototype._getPrimaryPropertyName = function _getPrimaryPropertyName(resources, context) { var type = resources.getAttribute(context.attributeName); if (type && type.primaryProperty) { - return type.primaryProperty.name; + return type.primaryProperty.attribute; } return null; }; @@ -508,10 +508,18 @@ define(['exports', 'aurelia-logging', 'aurelia-binding', 'aurelia-templating'], return instruction; }; - SyntaxInterpreter.prototype['one-way'] = function oneWay(resources, element, info, existingInstruction) { + SyntaxInterpreter.prototype['to-view'] = function toView(resources, element, info, existingInstruction) { var instruction = existingInstruction || _aureliaTemplating.BehaviorInstruction.attribute(info.attrName); - instruction.attributes[info.attrName] = new _aureliaBinding.BindingExpression(this.observerLocator, this.attributeMap.map(element.tagName, info.attrName), this.parser.parse(info.attrValue), _aureliaBinding.bindingMode.oneWay, resources.lookupFunctions); + instruction.attributes[info.attrName] = new _aureliaBinding.BindingExpression(this.observerLocator, this.attributeMap.map(element.tagName, info.attrName), this.parser.parse(info.attrValue), _aureliaBinding.bindingMode.toView, resources.lookupFunctions); + + return instruction; + }; + + SyntaxInterpreter.prototype['from-view'] = function fromView(resources, element, info, existingInstruction) { + var instruction = existingInstruction || _aureliaTemplating.BehaviorInstruction.attribute(info.attrName); + + instruction.attributes[info.attrName] = new _aureliaBinding.BindingExpression(this.observerLocator, this.attributeMap.map(element.tagName, info.attrName), this.parser.parse(info.attrValue), _aureliaBinding.bindingMode.fromView, resources.lookupFunctions); return instruction; }; @@ -527,6 +535,9 @@ define(['exports', 'aurelia-logging', 'aurelia-binding', 'aurelia-templating'], return SyntaxInterpreter; }(), _class3.inject = [_aureliaBinding.Parser, _aureliaBinding.ObserverLocator, _aureliaBinding.EventManager, AttributeMap], _temp2); + + SyntaxInterpreter.prototype['one-way'] = SyntaxInterpreter.prototype['to-view']; + var info = {}; var TemplatingBindingLanguage = exports.TemplatingBindingLanguage = (_temp3 = _class4 = function (_BindingLanguage) { diff --git a/jspm_packages/npm/aurelia-templating-binding@1.3.0/index.js b/jspm_packages/npm/aurelia-templating-binding@1.4.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-binding@1.3.0/index.js rename to jspm_packages/npm/aurelia-templating-binding@1.4.1/index.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0.js b/jspm_packages/npm/aurelia-templating-resources@1.4.0.js deleted file mode 100644 index 6efdfba..0000000 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-templating-resources@1.4.0/aurelia-templating-resources"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/.jspm-hash b/jspm_packages/npm/aurelia-templating-resources@1.4.0/.jspm-hash deleted file mode 100644 index 8b37761..0000000 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -9c82e8dfb9f6b18af2fca77d986e9341b740971399914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/if.js b/jspm_packages/npm/aurelia-templating-resources@1.4.0/if.js deleted file mode 100644 index 7cdbcbd..0000000 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/if.js +++ /dev/null @@ -1,117 +0,0 @@ -/* */ -define(['exports', 'aurelia-templating', 'aurelia-dependency-injection'], function (exports, _aureliaTemplating, _aureliaDependencyInjection) { - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.If = undefined; - - - - var _dec, _dec2, _class; - - var If = exports.If = (_dec = (0, _aureliaTemplating.customAttribute)('if'), _dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.BoundViewFactory, _aureliaTemplating.ViewSlot), _dec(_class = (0, _aureliaTemplating.templateController)(_class = _dec2(_class = function () { - function If(viewFactory, viewSlot) { - - - this.viewFactory = viewFactory; - this.viewSlot = viewSlot; - this.showing = false; - this.view = null; - this.bindingContext = null; - this.overrideContext = null; - } - - If.prototype.bind = function bind(bindingContext, overrideContext) { - this.bindingContext = bindingContext; - this.overrideContext = overrideContext; - this.valueChanged(this.value); - }; - - If.prototype.valueChanged = function valueChanged(newValue) { - var _this = this; - - if (this.__queuedChanges) { - this.__queuedChanges.push(newValue); - return; - } - - var maybePromise = this._runValueChanged(newValue); - if (maybePromise instanceof Promise) { - (function () { - var queuedChanges = _this.__queuedChanges = []; - - var runQueuedChanges = function runQueuedChanges() { - if (!queuedChanges.length) { - _this.__queuedChanges = undefined; - return; - } - - var nextPromise = _this._runValueChanged(queuedChanges.shift()) || Promise.resolve(); - nextPromise.then(runQueuedChanges); - }; - - maybePromise.then(runQueuedChanges); - })(); - } - }; - - If.prototype._runValueChanged = function _runValueChanged(newValue) { - var _this2 = this; - - if (!newValue) { - var viewOrPromise = void 0; - if (this.view !== null && this.showing) { - viewOrPromise = this.viewSlot.remove(this.view); - if (viewOrPromise instanceof Promise) { - viewOrPromise.then(function () { - return _this2.view.unbind(); - }); - } else { - this.view.unbind(); - } - } - - this.showing = false; - return viewOrPromise; - } - - if (this.view === null) { - this.view = this.viewFactory.create(); - } - - if (!this.view.isBound) { - this.view.bind(this.bindingContext, this.overrideContext); - } - - if (!this.showing) { - this.showing = true; - return this.viewSlot.add(this.view); - } - - return undefined; - }; - - If.prototype.unbind = function unbind() { - if (this.view === null) { - return; - } - - this.view.unbind(); - - if (!this.viewFactory.isCaching) { - return; - } - - if (this.showing) { - this.showing = false; - this.viewSlot.remove(this.view, true, true); - } - this.view.returnToCache(); - this.view = null; - }; - - return If; - }()) || _class) || _class) || _class); -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.6.0.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0.js new file mode 100644 index 0000000..0090264 --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-templating-resources@1.6.0/aurelia-templating-resources"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.6.0/.jspm-hash b/jspm_packages/npm/aurelia-templating-resources@1.6.0/.jspm-hash new file mode 100644 index 0000000..035a074 --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/.jspm-hash @@ -0,0 +1 @@ +d7e06d776a934708be9042d39e997883b61d01e199914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/abstract-repeater.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/abstract-repeater.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/abstract-repeater.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/abstract-repeater.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/analyze-view-factory.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/analyze-view-factory.js similarity index 96% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/analyze-view-factory.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/analyze-view-factory.js index 60eb85c..7c56b0c 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/analyze-view-factory.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/analyze-view-factory.js @@ -6,7 +6,7 @@ define(['exports'], function (exports) { value: true }); exports.viewsRequireLifecycle = viewsRequireLifecycle; - var lifecycleOptionalBehaviors = exports.lifecycleOptionalBehaviors = ['focus', 'if', 'repeat', 'show', 'with']; + var lifecycleOptionalBehaviors = exports.lifecycleOptionalBehaviors = ['focus', 'if', 'else', 'repeat', 'show', 'hide', 'with']; function behaviorRequiresLifecycle(instruction) { var t = instruction.type; diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/array-repeat-strategy.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/array-repeat-strategy.js similarity index 63% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/array-repeat-strategy.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/array-repeat-strategy.js index 89d3399..acfa49c 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/array-repeat-strategy.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/array-repeat-strategy.js @@ -37,71 +37,69 @@ define(['exports', './repeat-utilities', 'aurelia-binding'], function (exports, } if (repeat.viewsRequireLifecycle) { - (function () { - var childrenSnapshot = children.slice(0); - var itemNameInBindingContext = repeat.local; - var matcher = repeat.matcher(); - - var itemsPreviouslyInViews = []; - var viewsToRemove = []; - - for (var index = 0; index < viewsLength; index++) { - var view = childrenSnapshot[index]; - var oldItem = view.bindingContext[itemNameInBindingContext]; - - if ((0, _repeatUtilities.indexOf)(items, oldItem, matcher) === -1) { - viewsToRemove.push(view); - } else { - itemsPreviouslyInViews.push(oldItem); - } - } + var childrenSnapshot = children.slice(0); + var itemNameInBindingContext = repeat.local; + var matcher = repeat.matcher(); - var updateViews = void 0; - var removePromise = void 0; - - if (itemsPreviouslyInViews.length > 0) { - removePromise = repeat.removeViews(viewsToRemove, true, !repeat.viewsRequireLifecycle); - updateViews = function updateViews() { - for (var _index = 0; _index < itemsLength; _index++) { - var item = items[_index]; - var indexOfView = (0, _repeatUtilities.indexOf)(itemsPreviouslyInViews, item, matcher, _index); - var _view = void 0; - - if (indexOfView === -1) { - var overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, items[_index], _index, itemsLength); - repeat.insertView(_index, overrideContext.bindingContext, overrideContext); - - itemsPreviouslyInViews.splice(_index, 0, undefined); - } else if (indexOfView === _index) { - _view = children[indexOfView]; - itemsPreviouslyInViews[indexOfView] = undefined; - } else { - _view = children[indexOfView]; - repeat.moveView(indexOfView, _index); - itemsPreviouslyInViews.splice(indexOfView, 1); - itemsPreviouslyInViews.splice(_index, 0, undefined); - } - - if (_view) { - (0, _repeatUtilities.updateOverrideContext)(_view.overrideContext, _index, itemsLength); - } - } + var itemsPreviouslyInViews = []; + var viewsToRemove = []; - _this._inPlaceProcessItems(repeat, items); - }; - } else { - removePromise = repeat.removeAllViews(true, !repeat.viewsRequireLifecycle); - updateViews = function updateViews() { - return _this._standardProcessInstanceChanged(repeat, items); - }; - } + for (var index = 0; index < viewsLength; index++) { + var view = childrenSnapshot[index]; + var oldItem = view.bindingContext[itemNameInBindingContext]; - if (removePromise instanceof Promise) { - removePromise.then(updateViews); + if ((0, _repeatUtilities.indexOf)(items, oldItem, matcher) === -1) { + viewsToRemove.push(view); } else { - updateViews(); + itemsPreviouslyInViews.push(oldItem); } - })(); + } + + var updateViews = void 0; + var removePromise = void 0; + + if (itemsPreviouslyInViews.length > 0) { + removePromise = repeat.removeViews(viewsToRemove, true, !repeat.viewsRequireLifecycle); + updateViews = function updateViews() { + for (var _index = 0; _index < itemsLength; _index++) { + var item = items[_index]; + var indexOfView = (0, _repeatUtilities.indexOf)(itemsPreviouslyInViews, item, matcher, _index); + var _view = void 0; + + if (indexOfView === -1) { + var overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, items[_index], _index, itemsLength); + repeat.insertView(_index, overrideContext.bindingContext, overrideContext); + + itemsPreviouslyInViews.splice(_index, 0, undefined); + } else if (indexOfView === _index) { + _view = children[indexOfView]; + itemsPreviouslyInViews[indexOfView] = undefined; + } else { + _view = children[indexOfView]; + repeat.moveView(indexOfView, _index); + itemsPreviouslyInViews.splice(indexOfView, 1); + itemsPreviouslyInViews.splice(_index, 0, undefined); + } + + if (_view) { + (0, _repeatUtilities.updateOverrideContext)(_view.overrideContext, _index, itemsLength); + } + } + + _this._inPlaceProcessItems(repeat, items); + }; + } else { + removePromise = repeat.removeAllViews(true, !repeat.viewsRequireLifecycle); + updateViews = function updateViews() { + return _this._standardProcessInstanceChanged(repeat, items); + }; + } + + if (removePromise instanceof Promise) { + removePromise.then(updateViews); + } else { + updateViews(); + } } else { this._inPlaceProcessItems(repeat, items); } @@ -165,23 +163,21 @@ define(['exports', './repeat-utilities', 'aurelia-binding'], function (exports, var maybePromise = this._runSplices(repeat, array.slice(0), splices); if (maybePromise instanceof Promise) { - (function () { - var queuedSplices = repeat.__queuedSplices = []; - - var runQueuedSplices = function runQueuedSplices() { - if (!queuedSplices.length) { - repeat.__queuedSplices = undefined; - repeat.__array = undefined; - return; - } + var queuedSplices = repeat.__queuedSplices = []; - var nextPromise = _this2._runSplices(repeat, repeat.__array, queuedSplices) || Promise.resolve(); - queuedSplices = repeat.__queuedSplices = []; - nextPromise.then(runQueuedSplices); - }; + var runQueuedSplices = function runQueuedSplices() { + if (!queuedSplices.length) { + repeat.__queuedSplices = undefined; + repeat.__array = undefined; + return; + } + + var nextPromise = _this2._runSplices(repeat, repeat.__array, queuedSplices) || Promise.resolve(); + queuedSplices = repeat.__queuedSplices = []; + nextPromise.then(runQueuedSplices); + }; - maybePromise.then(runQueuedSplices); - })(); + maybePromise.then(runQueuedSplices); } }; diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/attr-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/attr-binding-behavior.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/attr-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/attr-binding-behavior.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/aurelia-hide-style.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/aurelia-hide-style.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/aurelia-hide-style.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/aurelia-hide-style.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/aurelia-templating-resources.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/aurelia-templating-resources.js similarity index 63% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/aurelia-templating-resources.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/aurelia-templating-resources.js index 71075fc..c37cebc 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/aurelia-templating-resources.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/aurelia-templating-resources.js @@ -1,17 +1,17 @@ /* */ -define(['exports', 'aurelia-pal', './compose', './if', './with', './repeat', './show', './hide', './sanitize-html', './replaceable', './focus', 'aurelia-templating', './css-resource', './html-sanitizer', './attr-binding-behavior', './binding-mode-behaviors', './throttle-binding-behavior', './debounce-binding-behavior', './self-binding-behavior', './signal-binding-behavior', './binding-signaler', './update-trigger-binding-behavior', './abstract-repeater', './repeat-strategy-locator', './html-resource-plugin', './null-repeat-strategy', './array-repeat-strategy', './map-repeat-strategy', './set-repeat-strategy', './number-repeat-strategy', './repeat-utilities', './analyze-view-factory', './aurelia-hide-style'], function (exports, _aureliaPal, _compose, _if, _with, _repeat, _show, _hide, _sanitizeHtml, _replaceable, _focus, _aureliaTemplating, _cssResource, _htmlSanitizer, _attrBindingBehavior, _bindingModeBehaviors, _throttleBindingBehavior, _debounceBindingBehavior, _selfBindingBehavior, _signalBindingBehavior, _bindingSignaler, _updateTriggerBindingBehavior, _abstractRepeater, _repeatStrategyLocator, _htmlResourcePlugin, _nullRepeatStrategy, _arrayRepeatStrategy, _mapRepeatStrategy, _setRepeatStrategy, _numberRepeatStrategy, _repeatUtilities, _analyzeViewFactory, _aureliaHideStyle) { +define(['exports', 'aurelia-pal', './compose', './if', './else', './with', './repeat', './show', './hide', './sanitize-html', './replaceable', './focus', 'aurelia-templating', './css-resource', './html-sanitizer', './attr-binding-behavior', './binding-mode-behaviors', './throttle-binding-behavior', './debounce-binding-behavior', './self-binding-behavior', './signal-binding-behavior', './binding-signaler', './update-trigger-binding-behavior', './abstract-repeater', './repeat-strategy-locator', './html-resource-plugin', './null-repeat-strategy', './array-repeat-strategy', './map-repeat-strategy', './set-repeat-strategy', './number-repeat-strategy', './repeat-utilities', './analyze-view-factory', './aurelia-hide-style'], function (exports, _aureliaPal, _compose, _if, _else, _with, _repeat, _show, _hide, _sanitizeHtml, _replaceable, _focus, _aureliaTemplating, _cssResource, _htmlSanitizer, _attrBindingBehavior, _bindingModeBehaviors, _throttleBindingBehavior, _debounceBindingBehavior, _selfBindingBehavior, _signalBindingBehavior, _bindingSignaler, _updateTriggerBindingBehavior, _abstractRepeater, _repeatStrategyLocator, _htmlResourcePlugin, _nullRepeatStrategy, _arrayRepeatStrategy, _mapRepeatStrategy, _setRepeatStrategy, _numberRepeatStrategy, _repeatUtilities, _analyzeViewFactory, _aureliaHideStyle) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); - exports.viewsRequireLifecycle = exports.unwrapExpression = exports.updateOneTimeBinding = exports.isOneTime = exports.getItemsSourceExpression = exports.updateOverrideContext = exports.createFullOverrideContext = exports.NumberRepeatStrategy = exports.SetRepeatStrategy = exports.MapRepeatStrategy = exports.ArrayRepeatStrategy = exports.NullRepeatStrategy = exports.RepeatStrategyLocator = exports.AbstractRepeater = exports.UpdateTriggerBindingBehavior = exports.BindingSignaler = exports.SignalBindingBehavior = exports.SelfBindingBehavior = exports.DebounceBindingBehavior = exports.ThrottleBindingBehavior = exports.TwoWayBindingBehavior = exports.OneWayBindingBehavior = exports.OneTimeBindingBehavior = exports.AttrBindingBehavior = exports.configure = exports.Focus = exports.Replaceable = exports.SanitizeHTMLValueConverter = exports.HTMLSanitizer = exports.Hide = exports.Show = exports.Repeat = exports.With = exports.If = exports.Compose = undefined; + exports.viewsRequireLifecycle = exports.unwrapExpression = exports.updateOneTimeBinding = exports.isOneTime = exports.getItemsSourceExpression = exports.updateOverrideContext = exports.createFullOverrideContext = exports.NumberRepeatStrategy = exports.SetRepeatStrategy = exports.MapRepeatStrategy = exports.ArrayRepeatStrategy = exports.NullRepeatStrategy = exports.RepeatStrategyLocator = exports.AbstractRepeater = exports.UpdateTriggerBindingBehavior = exports.BindingSignaler = exports.SignalBindingBehavior = exports.SelfBindingBehavior = exports.DebounceBindingBehavior = exports.ThrottleBindingBehavior = exports.TwoWayBindingBehavior = exports.OneWayBindingBehavior = exports.OneTimeBindingBehavior = exports.AttrBindingBehavior = exports.configure = exports.Focus = exports.Replaceable = exports.SanitizeHTMLValueConverter = exports.HTMLSanitizer = exports.Hide = exports.Show = exports.Repeat = exports.With = exports.Else = exports.If = exports.Compose = undefined; function configure(config) { (0, _aureliaHideStyle.injectAureliaHideStyleAtHead)(); - config.globalResources(_aureliaPal.PLATFORM.moduleName('./compose'), _aureliaPal.PLATFORM.moduleName('./if'), _aureliaPal.PLATFORM.moduleName('./with'), _aureliaPal.PLATFORM.moduleName('./repeat'), _aureliaPal.PLATFORM.moduleName('./show'), _aureliaPal.PLATFORM.moduleName('./hide'), _aureliaPal.PLATFORM.moduleName('./replaceable'), _aureliaPal.PLATFORM.moduleName('./sanitize-html'), _aureliaPal.PLATFORM.moduleName('./focus'), _aureliaPal.PLATFORM.moduleName('./binding-mode-behaviors'), _aureliaPal.PLATFORM.moduleName('./self-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./throttle-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./debounce-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./signal-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./update-trigger-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./attr-binding-behavior')); + config.globalResources(_aureliaPal.PLATFORM.moduleName('./compose'), _aureliaPal.PLATFORM.moduleName('./if'), _aureliaPal.PLATFORM.moduleName('./else'), _aureliaPal.PLATFORM.moduleName('./with'), _aureliaPal.PLATFORM.moduleName('./repeat'), _aureliaPal.PLATFORM.moduleName('./show'), _aureliaPal.PLATFORM.moduleName('./hide'), _aureliaPal.PLATFORM.moduleName('./replaceable'), _aureliaPal.PLATFORM.moduleName('./sanitize-html'), _aureliaPal.PLATFORM.moduleName('./focus'), _aureliaPal.PLATFORM.moduleName('./binding-mode-behaviors'), _aureliaPal.PLATFORM.moduleName('./self-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./throttle-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./debounce-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./signal-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./update-trigger-binding-behavior'), _aureliaPal.PLATFORM.moduleName('./attr-binding-behavior')); (0, _htmlResourcePlugin.configure)(config); @@ -30,6 +30,7 @@ define(['exports', 'aurelia-pal', './compose', './if', './with', './repeat', './ exports.Compose = _compose.Compose; exports.If = _if.If; + exports.Else = _else.Else; exports.With = _with.With; exports.Repeat = _repeat.Repeat; exports.Show = _show.Show; diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/binding-mode-behaviors.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/binding-mode-behaviors.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/binding-mode-behaviors.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/binding-mode-behaviors.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/binding-signaler.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/binding-signaler.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/binding-signaler.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/binding-signaler.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/compose.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/compose.js similarity index 62% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/compose.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/compose.js index db6ce12..3c45672 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/compose.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/compose.js @@ -1,5 +1,5 @@ /* */ -define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aurelia-templating', 'aurelia-pal'], function (exports, _aureliaDependencyInjection, _aureliaTaskQueue, _aureliaTemplating, _aureliaPal) { +define(['exports', 'aurelia-dependency-injection', 'aurelia-logging', 'aurelia-task-queue', 'aurelia-templating', 'aurelia-pal'], function (exports, _aureliaDependencyInjection, _aureliaLogging, _aureliaTaskQueue, _aureliaTemplating, _aureliaPal) { 'use strict'; Object.defineProperty(exports, "__esModule", { @@ -7,6 +7,25 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli }); exports.Compose = undefined; + var LogManager = _interopRequireWildcard(_aureliaLogging); + + function _interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } else { + var newObj = {}; + + if (obj != null) { + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; + } + } + + newObj.default = obj; + return newObj; + } + } + function _initDefineProp(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { @@ -54,6 +73,8 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli var _dec, _dec2, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4; + var logger = LogManager.getLogger('templating-resources'); + var Compose = exports.Compose = (_dec = (0, _aureliaTemplating.customElement)('compose'), _dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaDependencyInjection.Container, _aureliaTemplating.CompositionEngine, _aureliaTemplating.ViewSlot, _aureliaTemplating.ViewResources, _aureliaTaskQueue.TaskQueue), _dec(_class = (0, _aureliaTemplating.noView)(_class = _dec2(_class = (_class2 = function () { function Compose(element, container, compositionEngine, viewSlot, viewResources, taskQueue) { @@ -74,6 +95,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli this.taskQueue = taskQueue; this.currentController = null; this.currentViewModel = null; + this.changes = Object.create(null); } Compose.prototype.created = function created(owningView) { @@ -83,14 +105,15 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli Compose.prototype.bind = function bind(bindingContext, overrideContext) { this.bindingContext = bindingContext; this.overrideContext = overrideContext; - processInstruction(this, createInstruction(this, { - view: this.view, - viewModel: this.viewModel, - model: this.model - })); + this.changes.view = this.view; + this.changes.viewModel = this.viewModel; + this.changes.model = this.model; + processChanges(this); }; - Compose.prototype.unbind = function unbind(bindingContext, overrideContext) { + Compose.prototype.unbind = function unbind() { + this.changes = Object.create(null); + this.pendingTask = null; this.bindingContext = null; this.overrideContext = null; var returnToCache = true; @@ -99,65 +122,18 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli }; Compose.prototype.modelChanged = function modelChanged(newValue, oldValue) { - var _this = this; - - if (this.currentInstruction) { - this.currentInstruction.model = newValue; - return; - } - - this.taskQueue.queueMicroTask(function () { - if (_this.currentInstruction) { - _this.currentInstruction.model = newValue; - return; - } - - var vm = _this.currentViewModel; - - if (vm && typeof vm.activate === 'function') { - vm.activate(newValue); - } - }); + this.changes.model = newValue; + requestUpdate(this); }; Compose.prototype.viewChanged = function viewChanged(newValue, oldValue) { - var _this2 = this; - - var instruction = createInstruction(this, { - view: newValue, - viewModel: this.currentViewModel || this.viewModel, - model: this.model - }); - - if (this.currentInstruction) { - this.currentInstruction = instruction; - return; - } - - this.currentInstruction = instruction; - this.taskQueue.queueMicroTask(function () { - return processInstruction(_this2, _this2.currentInstruction); - }); + this.changes.view = newValue; + requestUpdate(this); }; Compose.prototype.viewModelChanged = function viewModelChanged(newValue, oldValue) { - var _this3 = this; - - var instruction = createInstruction(this, { - viewModel: newValue, - view: this.view, - model: this.model - }); - - if (this.currentInstruction) { - this.currentInstruction = instruction; - return; - } - - this.currentInstruction = instruction; - this.taskQueue.queueMicroTask(function () { - return processInstruction(_this3, _this3.currentInstruction); - }); + this.changes.viewModel = newValue; + requestUpdate(this); }; return Compose; @@ -176,6 +152,19 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli })), _class2)) || _class) || _class) || _class); + function isEmpty(obj) { + for (var key in obj) { + return false; + } + return true; + } + + function tryActivateViewModel(vm, model) { + if (vm && typeof vm.activate === 'function') { + return Promise.resolve(vm.activate(model)); + } + } + function createInstruction(composer, instruction) { return Object.assign(instruction, { bindingContext: composer.bindingContext, @@ -190,11 +179,53 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-task-queue', 'aureli }); } - function processInstruction(composer, instruction) { - composer.currentInstruction = null; - composer.compositionEngine.compose(instruction).then(function (controller) { - composer.currentController = controller; - composer.currentViewModel = controller ? controller.viewModel : null; + function processChanges(composer) { + var changes = composer.changes; + composer.changes = Object.create(null); + + if (!('view' in changes) && !('viewModel' in changes) && 'model' in changes) { + composer.pendingTask = tryActivateViewModel(composer.currentViewModel, changes.model); + if (!composer.pendingTask) { + return; + } + } else { + var instruction = { + view: composer.view, + viewModel: composer.currentViewModel || composer.viewModel, + model: composer.model + }; + + instruction = Object.assign(instruction, changes); + + instruction = createInstruction(composer, instruction); + composer.pendingTask = composer.compositionEngine.compose(instruction).then(function (controller) { + composer.currentController = controller; + composer.currentViewModel = controller ? controller.viewModel : null; + }); + } + + composer.pendingTask = composer.pendingTask.catch(function (e) { + logger.error(e); + }).then(function () { + if (!composer.pendingTask) { + return; + } + + composer.pendingTask = null; + if (!isEmpty(composer.changes)) { + processChanges(composer); + } + }); + } + + function requestUpdate(composer) { + if (composer.pendingTask || composer.updateRequested) { + return; + } + composer.updateRequested = true; + composer.taskQueue.queueMicroTask(function () { + composer.updateRequested = false; + processChanges(composer); }); } }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/css-resource.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/css-resource.js similarity index 98% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/css-resource.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/css-resource.js index bab88c5..dc93ceb 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/css-resource.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/css-resource.js @@ -102,7 +102,7 @@ define(['exports', 'aurelia-templating', 'aurelia-loader', 'aurelia-dependency-i } else if (_aureliaPal.FEATURE.scopedCSS) { var styleNode = _aureliaPal.DOM.injectStyles(this.css, content, true); styleNode.setAttribute('scoped', 'scoped'); - } else if (!this.owner._alreadyGloballyInjected) { + } else if (this._global && !this.owner._alreadyGloballyInjected) { _aureliaPal.DOM.injectStyles(this.css); this.owner._alreadyGloballyInjected = true; } diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/debounce-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/debounce-binding-behavior.js similarity index 51% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/debounce-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/debounce-binding-behavior.js index 47a1076..ae45baa 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/debounce-binding-behavior.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/debounce-binding-behavior.js @@ -9,18 +9,35 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { - function debounce(newValue) { + var unset = {}; + + function debounceCallSource(event) { var _this = this; var state = this.debounceState; - if (state.immediate) { - state.immediate = false; - this.debouncedMethod(newValue); + clearTimeout(state.timeoutId); + state.timeoutId = setTimeout(function () { + return _this.debouncedMethod(event); + }, state.delay); + } + + function debounceCall(context, newValue, oldValue) { + var _this2 = this; + + var state = this.debounceState; + clearTimeout(state.timeoutId); + if (context !== state.callContextToDebounce) { + state.oldValue = unset; + this.debouncedMethod(context, newValue, oldValue); return; } - clearTimeout(state.timeoutId); + if (state.oldValue === unset) { + state.oldValue = oldValue; + } state.timeoutId = setTimeout(function () { - return _this.debouncedMethod(newValue); + var ov = state.oldValue; + state.oldValue = unset; + _this2.debouncedMethod(context, newValue, ov); }, state.delay); } @@ -32,22 +49,23 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { DebounceBindingBehavior.prototype.bind = function bind(binding, source) { var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200; - var methodToDebounce = 'updateTarget'; - if (binding.callSource) { - methodToDebounce = 'callSource'; - } else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) { - methodToDebounce = 'updateSource'; - } + var isCallSource = binding.callSource !== undefined; + var methodToDebounce = isCallSource ? 'callSource' : 'call'; + var debouncer = isCallSource ? debounceCallSource : debounceCall; + var mode = binding.mode; + var callContextToDebounce = mode === _aureliaBinding.bindingMode.twoWay || mode === _aureliaBinding.bindingMode.fromView ? _aureliaBinding.targetContext : _aureliaBinding.sourceContext; binding.debouncedMethod = binding[methodToDebounce]; binding.debouncedMethod.originalName = methodToDebounce; - binding[methodToDebounce] = debounce; + binding[methodToDebounce] = debouncer; binding.debounceState = { + callContextToDebounce: callContextToDebounce, delay: delay, - timeoutId: null, - immediate: methodToDebounce === 'updateTarget' }; + timeoutId: 0, + oldValue: unset + }; }; DebounceBindingBehavior.prototype.unbind = function unbind(binding, source) { diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/dynamic-element.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/dynamic-element.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/dynamic-element.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/dynamic-element.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.6.0/else.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/else.js new file mode 100644 index 0000000..85bb1d6 --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/else.js @@ -0,0 +1,74 @@ +/* */ +define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', './if-core'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _ifCore) { + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Else = undefined; + + + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + var _dec, _dec2, _class; + + var Else = exports.Else = (_dec = (0, _aureliaTemplating.customAttribute)('else'), _dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.BoundViewFactory, _aureliaTemplating.ViewSlot), _dec(_class = (0, _aureliaTemplating.templateController)(_class = _dec2(_class = function (_IfCore) { + _inherits(Else, _IfCore); + + function Else(viewFactory, viewSlot) { + + + var _this = _possibleConstructorReturn(this, _IfCore.call(this, viewFactory, viewSlot)); + + _this._registerInIf(); + return _this; + } + + Else.prototype.bind = function bind(bindingContext, overrideContext) { + _IfCore.prototype.bind.call(this, bindingContext, overrideContext); + + if (this.ifVm.condition) { + this._hide(); + } else { + this._show(); + } + }; + + Else.prototype._registerInIf = function _registerInIf() { + var previous = this.viewSlot.anchor.previousSibling; + while (previous && !previous.au) { + previous = previous.previousSibling; + } + if (!previous || !previous.au.if) { + throw new Error("Can't find matching If for Else custom attribute."); + } + this.ifVm = previous.au.if.viewModel; + this.ifVm.elseVm = this; + }; + + return Else; + }(_ifCore.IfCore)) || _class) || _class) || _class); +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/focus.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/focus.js similarity index 73% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/focus.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/focus.js index 74dbd0d..552475e 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/focus.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/focus.js @@ -13,23 +13,12 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency- var Focus = exports.Focus = (_dec = (0, _aureliaTemplating.customAttribute)('focus', _aureliaBinding.bindingMode.twoWay), _dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaTaskQueue.TaskQueue), _dec(_class = _dec2(_class = function () { function Focus(element, taskQueue) { - var _this = this; - this.element = element; this.taskQueue = taskQueue; this.isAttached = false; this.needsApply = false; - - this.focusListener = function (e) { - _this.value = true; - }; - this.blurListener = function (e) { - if (_aureliaPal.DOM.activeElement !== _this.element) { - _this.value = false; - } - }; } Focus.prototype.valueChanged = function valueChanged(newValue) { @@ -41,12 +30,12 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency- }; Focus.prototype._apply = function _apply() { - var _this2 = this; + var _this = this; if (this.value) { this.taskQueue.queueMicroTask(function () { - if (_this2.value) { - _this2.element.focus(); + if (_this.value) { + _this.element.focus(); } }); } else { @@ -60,14 +49,22 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency- this.needsApply = false; this._apply(); } - this.element.addEventListener('focus', this.focusListener); - this.element.addEventListener('blur', this.blurListener); + this.element.addEventListener('focus', this); + this.element.addEventListener('blur', this); }; Focus.prototype.detached = function detached() { this.isAttached = false; - this.element.removeEventListener('focus', this.focusListener); - this.element.removeEventListener('blur', this.blurListener); + this.element.removeEventListener('focus', this); + this.element.removeEventListener('blur', this); + }; + + Focus.prototype.handleEvent = function handleEvent(e) { + if (e.type === 'focus') { + this.value = true; + } else if (_aureliaPal.DOM.activeElement !== this.element) { + this.value = false; + } }; return Focus; diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/hide.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/hide.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/hide.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/hide.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/html-resource-plugin.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/html-resource-plugin.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/html-resource-plugin.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/html-resource-plugin.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/html-sanitizer.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/html-sanitizer.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/html-sanitizer.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/html-sanitizer.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.6.0/if-core.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/if-core.js new file mode 100644 index 0000000..8e2605e --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/if-core.js @@ -0,0 +1,91 @@ +/* */ +define(["exports"], function (exports) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + + + var IfCore = exports.IfCore = function () { + function IfCore(viewFactory, viewSlot) { + + + this.viewFactory = viewFactory; + this.viewSlot = viewSlot; + this.view = null; + this.bindingContext = null; + this.overrideContext = null; + + this.showing = false; + } + + IfCore.prototype.bind = function bind(bindingContext, overrideContext) { + this.bindingContext = bindingContext; + this.overrideContext = overrideContext; + }; + + IfCore.prototype.unbind = function unbind() { + if (this.view === null) { + return; + } + + this.view.unbind(); + + if (!this.viewFactory.isCaching) { + return; + } + + if (this.showing) { + this.showing = false; + this.viewSlot.remove(this.view, true, true); + } else { + this.view.returnToCache(); + } + + this.view = null; + }; + + IfCore.prototype._show = function _show() { + if (this.showing) { + if (!this.view.isBound) { + this.view.bind(this.bindingContext, this.overrideContext); + } + return; + } + + if (this.view === null) { + this.view = this.viewFactory.create(); + } + + if (!this.view.isBound) { + this.view.bind(this.bindingContext, this.overrideContext); + } + + this.showing = true; + return this.viewSlot.add(this.view); + }; + + IfCore.prototype._hide = function _hide() { + var _this = this; + + if (!this.showing) { + return; + } + + this.showing = false; + var removed = this.viewSlot.remove(this.view); + + if (removed instanceof Promise) { + return removed.then(function () { + return _this.view.unbind(); + }); + } + + this.view.unbind(); + }; + + return IfCore; + }(); +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.6.0/if.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/if.js new file mode 100644 index 0000000..f9be4ac --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/if.js @@ -0,0 +1,158 @@ +/* */ +define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', './if-core'], function (exports, _aureliaTemplating, _aureliaDependencyInjection, _ifCore) { + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.If = undefined; + + function _initDefineProp(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); + } + + + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return call && (typeof call === "object" || typeof call === "function") ? call : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; + } + + function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object['ke' + 'ys'](descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object['define' + 'Property'](target, property, desc); + desc = null; + } + + return desc; + } + + function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.'); + } + + var _dec, _dec2, _dec3, _class, _desc, _value, _class2, _descriptor, _descriptor2; + + var If = exports.If = (_dec = (0, _aureliaTemplating.customAttribute)('if'), _dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.BoundViewFactory, _aureliaTemplating.ViewSlot), _dec3 = (0, _aureliaTemplating.bindable)({ primaryProperty: true }), _dec(_class = (0, _aureliaTemplating.templateController)(_class = _dec2(_class = (_class2 = function (_IfCore) { + _inherits(If, _IfCore); + + function If() { + var _temp, _this, _ret; + + + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return _ret = (_temp = (_this = _possibleConstructorReturn(this, _IfCore.call.apply(_IfCore, [this].concat(args))), _this), _initDefineProp(_this, 'condition', _descriptor, _this), _initDefineProp(_this, 'swapOrder', _descriptor2, _this), _temp), _possibleConstructorReturn(_this, _ret); + } + + If.prototype.bind = function bind(bindingContext, overrideContext) { + _IfCore.prototype.bind.call(this, bindingContext, overrideContext); + if (this.condition) { + this._show(); + } else { + this._hide(); + } + }; + + If.prototype.conditionChanged = function conditionChanged(newValue) { + this._update(newValue); + }; + + If.prototype._update = function _update(show) { + var _this2 = this; + + if (this.animating) { + return; + } + + var promise = void 0; + if (this.elseVm) { + promise = show ? this._swap(this.elseVm, this) : this._swap(this, this.elseVm); + } else { + promise = show ? this._show() : this._hide(); + } + + if (promise) { + this.animating = true; + promise.then(function () { + _this2.animating = false; + if (_this2.condition !== _this2.showing) { + _this2._update(_this2.condition); + } + }); + } + }; + + If.prototype._swap = function _swap(remove, add) { + switch (this.swapOrder) { + case 'before': + return Promise.resolve(add._show()).then(function () { + return remove._hide(); + }); + case 'with': + return Promise.all([remove._hide(), add._show()]); + default: + var promise = remove._hide(); + return promise ? promise.then(function () { + return add._show(); + }) : add._show(); + } + }; + + return If; + }(_ifCore.IfCore), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'condition', [_dec3], { + enumerable: true, + initializer: null + }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, 'swapOrder', [_aureliaTemplating.bindable], { + enumerable: true, + initializer: null + })), _class2)) || _class) || _class) || _class); +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/index.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/index.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/index.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/map-repeat-strategy.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/map-repeat-strategy.js similarity index 95% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/map-repeat-strategy.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/map-repeat-strategy.js index 0a58c23..1d024e7 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/map-repeat-strategy.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/map-repeat-strategy.js @@ -48,6 +48,7 @@ define(['exports', './repeat-utilities'], function (exports, _repeatUtilities) { var ii = void 0; var overrideContext = void 0; var removeIndex = void 0; + var addIndex = void 0; var record = void 0; var rmPromises = []; var viewOrPromise = void 0; @@ -66,7 +67,8 @@ define(['exports', './repeat-utilities'], function (exports, _repeatUtilities) { repeat.insertView(removeIndex, overrideContext.bindingContext, overrideContext); break; case 'add': - overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, map.get(key), map.size - 1, map.size, key); + addIndex = repeat.viewCount() <= map.size - 1 ? repeat.viewCount() : map.size - 1; + overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, map.get(key), addIndex, map.size, key); repeat.insertView(map.size - 1, overrideContext.bindingContext, overrideContext); break; case 'delete': diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/null-repeat-strategy.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/null-repeat-strategy.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/null-repeat-strategy.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/null-repeat-strategy.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/number-repeat-strategy.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/number-repeat-strategy.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/number-repeat-strategy.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/number-repeat-strategy.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat-strategy-locator.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat-strategy-locator.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat-strategy-locator.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat-strategy-locator.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat-utilities.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat-utilities.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat-utilities.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat-utilities.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat.js similarity index 99% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat.js index d632efa..5a7205c 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/repeat.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/repeat.js @@ -126,7 +126,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t this.scope = null; this.items = null; this.matcherBinding = null; - this.viewSlot.removeAll(true); + this.viewSlot.removeAll(true, true); this._unsubscribeCollection(); }; diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/replaceable.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/replaceable.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/replaceable.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/replaceable.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/sanitize-html.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/sanitize-html.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/sanitize-html.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/sanitize-html.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/self-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/self-binding-behavior.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/self-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/self-binding-behavior.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/set-repeat-strategy.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/set-repeat-strategy.js similarity index 94% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/set-repeat-strategy.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/set-repeat-strategy.js index 0b77264..7952d45 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/set-repeat-strategy.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/set-repeat-strategy.js @@ -57,8 +57,9 @@ define(['exports', './repeat-utilities'], function (exports, _repeatUtilities) { value = record.value; switch (record.type) { case 'add': - overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, value, set.size - 1, set.size); - repeat.insertView(set.size - 1, overrideContext.bindingContext, overrideContext); + var size = Math.max(set.size - 1, 0); + overrideContext = (0, _repeatUtilities.createFullOverrideContext)(repeat, value, size, set.size); + repeat.insertView(size, overrideContext.bindingContext, overrideContext); break; case 'delete': removeIndex = this._getViewIndexByValue(repeat, value); diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/show.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/show.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/show.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/show.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/signal-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/signal-binding-behavior.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/signal-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/signal-binding-behavior.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/throttle-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/throttle-binding-behavior.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/throttle-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/throttle-binding-behavior.js diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js similarity index 78% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js index 8a63a84..3138fac 100644 --- a/jspm_packages/npm/aurelia-templating-resources@1.4.0/update-trigger-binding-behavior.js +++ b/jspm_packages/npm/aurelia-templating-resources@1.6.0/update-trigger-binding-behavior.js @@ -9,16 +9,12 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { - var _class, _temp; - var eventNamesRequired = 'The updateTrigger binding behavior requires at least one event name argument: eg '; - var notApplicableMessage = 'The updateTrigger binding behavior can only be applied to two-way bindings on input/select elements.'; + var notApplicableMessage = 'The updateTrigger binding behavior can only be applied to two-way/ from-view bindings on input/select elements.'; - var UpdateTriggerBindingBehavior = exports.UpdateTriggerBindingBehavior = (_temp = _class = function () { - function UpdateTriggerBindingBehavior(eventManager) { + var UpdateTriggerBindingBehavior = exports.UpdateTriggerBindingBehavior = function () { + function UpdateTriggerBindingBehavior() { - - this.eventManager = eventManager; } UpdateTriggerBindingBehavior.prototype.bind = function bind(binding, source) { @@ -29,7 +25,7 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { if (events.length === 0) { throw new Error(eventNamesRequired); } - if (binding.mode !== _aureliaBinding.bindingMode.twoWay) { + if (binding.mode !== _aureliaBinding.bindingMode.twoWay && binding.mode !== _aureliaBinding.bindingMode.fromView) { throw new Error(notApplicableMessage); } @@ -41,15 +37,16 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { targetObserver.originalHandler = binding.targetObserver.handler; - var handler = this.eventManager.createElementHandler(events); + var handler = new _aureliaBinding.EventSubscriber(events); targetObserver.handler = handler; }; UpdateTriggerBindingBehavior.prototype.unbind = function unbind(binding, source) { + binding.targetObserver.handler.dispose(); binding.targetObserver.handler = binding.targetObserver.originalHandler; binding.targetObserver.originalHandler = null; }; return UpdateTriggerBindingBehavior; - }(), _class.inject = [_aureliaBinding.EventManager], _temp); + }(); }); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-resources@1.4.0/with.js b/jspm_packages/npm/aurelia-templating-resources@1.6.0/with.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-resources@1.4.0/with.js rename to jspm_packages/npm/aurelia-templating-resources@1.6.0/with.js diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0.js b/jspm_packages/npm/aurelia-templating-router@1.1.0.js deleted file mode 100644 index 3ea3397..0000000 --- a/jspm_packages/npm/aurelia-templating-router@1.1.0.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-templating-router@1.1.0/aurelia-templating-router"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/.jspm-hash b/jspm_packages/npm/aurelia-templating-router@1.1.0/.jspm-hash deleted file mode 100644 index 5e48d33..0000000 --- a/jspm_packages/npm/aurelia-templating-router@1.1.0/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -969219ffcd3578bec6c97c5adb471c7ad853d4db99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-router@1.3.1.js b/jspm_packages/npm/aurelia-templating-router@1.3.1.js new file mode 100644 index 0000000..458ba7a --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-router@1.3.1.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-templating-router@1.3.1/aurelia-templating-router"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-router@1.3.1/.jspm-hash b/jspm_packages/npm/aurelia-templating-router@1.3.1/.jspm-hash new file mode 100644 index 0000000..74f460f --- /dev/null +++ b/jspm_packages/npm/aurelia-templating-router@1.3.1/.jspm-hash @@ -0,0 +1 @@ +273edaaabb39f2c022625a0e278f95882f51561f99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/aurelia-templating-router.js b/jspm_packages/npm/aurelia-templating-router@1.3.1/aurelia-templating-router.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-router@1.1.0/aurelia-templating-router.js rename to jspm_packages/npm/aurelia-templating-router@1.3.1/aurelia-templating-router.js diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/index.js b/jspm_packages/npm/aurelia-templating-router@1.3.1/index.js similarity index 100% rename from jspm_packages/npm/aurelia-templating-router@1.1.0/index.js rename to jspm_packages/npm/aurelia-templating-router@1.3.1/index.js diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/route-href.js b/jspm_packages/npm/aurelia-templating-router@1.3.1/route-href.js similarity index 83% rename from jspm_packages/npm/aurelia-templating-router@1.1.0/route-href.js rename to jspm_packages/npm/aurelia-templating-router@1.3.1/route-href.js index a08ebf0..d65b789 100644 --- a/jspm_packages/npm/aurelia-templating-router@1.1.0/route-href.js +++ b/jspm_packages/npm/aurelia-templating-router@1.3.1/route-href.js @@ -32,7 +32,7 @@ define(['exports', 'aurelia-templating', 'aurelia-dependency-injection', 'aureli var logger = LogManager.getLogger('route-href'); - var RouteHref = exports.RouteHref = (_dec = (0, _aureliaTemplating.customAttribute)('route-href'), _dec2 = (0, _aureliaTemplating.bindable)({ name: 'route', changeHandler: 'processChange' }), _dec3 = (0, _aureliaTemplating.bindable)({ name: 'params', changeHandler: 'processChange' }), _dec4 = (0, _aureliaTemplating.bindable)({ name: 'attribute', defaultValue: 'href' }), _dec5 = (0, _aureliaDependencyInjection.inject)(_aureliaRouter.Router, _aureliaPal.DOM.Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = _dec5(_class = function () { + var RouteHref = exports.RouteHref = (_dec = (0, _aureliaTemplating.customAttribute)('route-href'), _dec2 = (0, _aureliaTemplating.bindable)({ name: 'route', changeHandler: 'processChange', primaryProperty: true }), _dec3 = (0, _aureliaTemplating.bindable)({ name: 'params', changeHandler: 'processChange' }), _dec4 = (0, _aureliaTemplating.bindable)({ name: 'attribute', defaultValue: 'href' }), _dec5 = (0, _aureliaDependencyInjection.inject)(_aureliaRouter.Router, _aureliaPal.DOM.Element), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = _dec5(_class = function () { function RouteHref(router, element) { diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/route-loader.js b/jspm_packages/npm/aurelia-templating-router@1.3.1/route-loader.js similarity index 73% rename from jspm_packages/npm/aurelia-templating-router@1.1.0/route-loader.js rename to jspm_packages/npm/aurelia-templating-router@1.3.1/route-loader.js index 5a7e208..d0d12e9 100644 --- a/jspm_packages/npm/aurelia-templating-router@1.1.0/route-loader.js +++ b/jspm_packages/npm/aurelia-templating-router@1.3.1/route-loader.js @@ -7,8 +7,6 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli }); exports.TemplatingRouteLoader = undefined; - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); @@ -33,9 +31,14 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var _dec, _class; + + + var _dec, _class, _dec2, _class2; - var TemplatingRouteLoader = exports.TemplatingRouteLoader = (_dec = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.CompositionEngine), _dec(_class = function (_RouteLoader) { + var EmptyClass = (_dec = (0, _aureliaTemplating.inlineView)(''), _dec(_class = function EmptyClass() { + + }) || _class); + var TemplatingRouteLoader = exports.TemplatingRouteLoader = (_dec2 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.CompositionEngine), _dec2(_class2 = function (_RouteLoader) { _inherits(TemplatingRouteLoader, _RouteLoader); function TemplatingRouteLoader(compositionEngine) { @@ -50,7 +53,16 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli TemplatingRouteLoader.prototype.loadRoute = function loadRoute(router, config) { var childContainer = router.container.createChild(); - var viewModel = /\.html/.test(config.moduleId) ? createDynamicClass(config.moduleId) : (0, _aureliaPath.relativeToFile)(config.moduleId, _aureliaMetadata.Origin.get(router.container.viewModel.constructor).moduleId); + var viewModel = void 0; + if (config.moduleId === null) { + viewModel = EmptyClass; + } else if (/\.html/i.test(config.moduleId)) { + viewModel = createDynamicClass(config.moduleId); + } else { + viewModel = (0, _aureliaPath.relativeToFile)(config.moduleId, _aureliaMetadata.Origin.get(router.container.viewModel.constructor).moduleId); + } + + config = config || {}; var instruction = { viewModel: viewModel, @@ -75,15 +87,15 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli }; return TemplatingRouteLoader; - }(_aureliaRouter.RouteLoader)) || _class); + }(_aureliaRouter.RouteLoader)) || _class2); function createDynamicClass(moduleId) { - var _dec2, _dec3, _class2; + var _dec3, _dec4, _class3; var name = /([^\/^\?]+)\.html/i.exec(moduleId)[1]; - var DynamicClass = (_dec2 = (0, _aureliaTemplating.customElement)(name), _dec3 = (0, _aureliaTemplating.useView)(moduleId), _dec2(_class2 = _dec3(_class2 = function () { + var DynamicClass = (_dec3 = (0, _aureliaTemplating.customElement)(name), _dec4 = (0, _aureliaTemplating.useView)(moduleId), _dec3(_class3 = _dec4(_class3 = function () { function DynamicClass() { } @@ -93,7 +105,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aureli }; return DynamicClass; - }()) || _class2) || _class2); + }()) || _class3) || _class3); return DynamicClass; diff --git a/jspm_packages/npm/aurelia-templating-router@1.1.0/router-view.js b/jspm_packages/npm/aurelia-templating-router@1.3.1/router-view.js similarity index 99% rename from jspm_packages/npm/aurelia-templating-router@1.1.0/router-view.js rename to jspm_packages/npm/aurelia-templating-router@1.3.1/router-view.js index dce4a0c..7c9aac5 100644 --- a/jspm_packages/npm/aurelia-templating-router@1.1.0/router-view.js +++ b/jspm_packages/npm/aurelia-templating-router@1.3.1/router-view.js @@ -99,7 +99,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t var viewModelResource = component.viewModelResource; var metadata = viewModelResource.metadata; var config = component.router.currentInstruction.config; - var viewPort = config.viewPorts ? config.viewPorts[viewPortInstruction.name] : {}; + var viewPort = config.viewPorts ? config.viewPorts[viewPortInstruction.name] || {} : {}; childContainer.get(RouterViewLocator)._notify(this); @@ -129,7 +129,7 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-t viewPortInstruction.controller = metadata.create(childContainer, _aureliaTemplating.BehaviorInstruction.dynamic(_this.element, viewModel, viewFactory)); if (waitToSwap) { - return; + return null; } _this.swap(viewPortInstruction); diff --git a/jspm_packages/npm/aurelia-templating@1.4.2.js b/jspm_packages/npm/aurelia-templating@1.4.2.js deleted file mode 100644 index d7e6e9a..0000000 --- a/jspm_packages/npm/aurelia-templating@1.4.2.js +++ /dev/null @@ -1,3 +0,0 @@ -define(["npm:aurelia-templating@1.4.2/aurelia-templating"], function(main) { - return main; -}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating@1.4.2/.jspm-hash b/jspm_packages/npm/aurelia-templating@1.4.2/.jspm-hash deleted file mode 100644 index 23358fc..0000000 --- a/jspm_packages/npm/aurelia-templating@1.4.2/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -479ce47705a095fd636e0975c9cb79cbee7ed7cb99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating@1.7.0.js b/jspm_packages/npm/aurelia-templating@1.7.0.js new file mode 100644 index 0000000..eed529a --- /dev/null +++ b/jspm_packages/npm/aurelia-templating@1.7.0.js @@ -0,0 +1,3 @@ +define(["npm:aurelia-templating@1.7.0/aurelia-templating"], function(main) { + return main; +}); \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating@1.7.0/.jspm-hash b/jspm_packages/npm/aurelia-templating@1.7.0/.jspm-hash new file mode 100644 index 0000000..03937e7 --- /dev/null +++ b/jspm_packages/npm/aurelia-templating@1.7.0/.jspm-hash @@ -0,0 +1 @@ +013c08fd1b09a57f5051522e1bb3f657f0803b6899914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/aurelia-templating@1.4.2/aurelia-templating.js b/jspm_packages/npm/aurelia-templating@1.7.0/aurelia-templating.js similarity index 96% rename from jspm_packages/npm/aurelia-templating@1.4.2/aurelia-templating.js rename to jspm_packages/npm/aurelia-templating@1.7.0/aurelia-templating.js index 382e148..158ba4a 100644 --- a/jspm_packages/npm/aurelia-templating@1.4.2/aurelia-templating.js +++ b/jspm_packages/npm/aurelia-templating@1.7.0/aurelia-templating.js @@ -66,14 +66,14 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; }(); - var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; - var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + var _class, _temp, _dec, _class2, _dec2, _class3, _dec3, _class4, _dec4, _class5, _dec5, _class6, _class7, _temp2, _dec6, _class8, _class9, _temp3, _class11, _dec7, _class13, _dec8, _class14, _class15, _temp4, _dec9, _class16, _dec10, _class17, _dec11, _class18; + var animationEvent = exports.animationEvent = { @@ -301,43 +301,22 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ElementEvents.prototype.subscribe = function subscribe(eventName, handler) { - var _this2 = this; + var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - - if (handler && typeof handler === 'function') { - handler.eventName = eventName; - handler.handler = handler; - handler.bubbles = bubbles; - handler.dispose = function () { - _this2.element.removeEventListener(eventName, handler, bubbles); - _this2._dequeueHandler(handler); - }; - this.element.addEventListener(eventName, handler, bubbles); - this._enqueueHandler(handler); - return handler; + if (typeof handler === 'function') { + var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, false); + return eventHandler; } return undefined; }; ElementEvents.prototype.subscribeOnce = function subscribeOnce(eventName, handler) { - var _this3 = this; - - var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + var captureOrOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - if (handler && typeof handler === 'function') { - var _ret = function () { - var _handler = function _handler(event) { - handler(event); - _handler.dispose(); - }; - return { - v: _this3.subscribe(eventName, _handler, bubbles) - }; - }(); - - if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === "object") return _ret.v; + if (typeof handler === 'function') { + var eventHandler = new EventHandlerImpl(this, eventName, handler, captureOrOptions, true); + return eventHandler; } return undefined; @@ -368,6 +347,39 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return ElementEvents; }(); + var EventHandlerImpl = function () { + function EventHandlerImpl(owner, eventName, handler, captureOrOptions, once) { + + + this.owner = owner; + this.eventName = eventName; + this.handler = handler; + + this.capture = typeof captureOrOptions === 'boolean' ? captureOrOptions : captureOrOptions.capture; + this.bubbles = !this.capture; + this.captureOrOptions = captureOrOptions; + this.once = once; + owner.element.addEventListener(eventName, this, captureOrOptions); + owner._enqueueHandler(this); + } + + EventHandlerImpl.prototype.handleEvent = function handleEvent(e) { + var fn = this.handler; + fn(e); + if (this.once) { + this.dispose(); + } + }; + + EventHandlerImpl.prototype.dispose = function dispose() { + this.owner.element.removeEventListener(this.eventName, this, this.captureOrOptions); + this.owner._dequeueHandler(this); + this.owner = this.handler = null; + }; + + return EventHandlerImpl; + }(); + var ResourceLoadContext = exports.ResourceLoadContext = function () { function ResourceLoadContext() { @@ -1764,7 +1776,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeMany = function removeMany(viewsToRemove, returnToCache, skipAnimation) { - var _this4 = this; + var _this2 = this; var children = this.children; var ii = viewsToRemove.length; @@ -1777,7 +1789,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return; } - var animation = _this4.animateView(child, 'leave'); + var animation = _this2.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1788,7 +1800,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }); var removeAction = function removeAction() { - if (_this4.isAttached) { + if (_this2.isAttached) { for (i = 0; i < ii; ++i) { viewsToRemove[i].detached(); } @@ -1818,16 +1830,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeAt = function removeAt(index, returnToCache, skipAnimation) { - var _this5 = this; + var _this3 = this; var view = this.children[index]; var removeAction = function removeAction() { - index = _this5.children.indexOf(view); + index = _this3.children.indexOf(view); view.removeNodes(); - _this5.children.splice(index, 1); + _this3.children.splice(index, 1); - if (_this5.isAttached) { + if (_this3.isAttached) { view.detached(); } @@ -1851,7 +1863,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.removeAll = function removeAll(returnToCache, skipAnimation) { - var _this6 = this; + var _this4 = this; var children = this.children; var ii = children.length; @@ -1864,7 +1876,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return; } - var animation = _this6.animateView(child, 'leave'); + var animation = _this4.animateView(child, 'leave'); if (animation) { rmPromises.push(animation.then(function () { return child.removeNodes(); @@ -1875,7 +1887,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }); var removeAction = function removeAction() { - if (_this6.isAttached) { + if (_this4.isAttached) { for (i = 0; i < ii; ++i) { children[i].detached(); } @@ -1891,7 +1903,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } } - _this6.children = []; + _this4.children = []; }; if (rmPromises.length > 0) { @@ -1938,7 +1950,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype.projectTo = function projectTo(slots) { - var _this7 = this; + var _this5 = this; this.projectToSlots = slots; this.add = this._projectionAdd; @@ -1949,7 +1961,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.removeMany = this._projectionRemoveMany; this.removeAll = this._projectionRemoveAll; this.children.forEach(function (view) { - return ShadowDOM.distributeView(view, slots, _this7); + return ShadowDOM.distributeView(view, slots, _this5); }); }; @@ -2013,10 +2025,10 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewSlot.prototype._projectionRemoveMany = function _projectionRemoveMany(viewsToRemove, returnToCache) { - var _this8 = this; + var _this6 = this; viewsToRemove.forEach(function (view) { - return _this8.remove(view, returnToCache); + return _this6.remove(view, returnToCache); }); }; @@ -2620,7 +2632,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (info.command && info.command !== 'options' && type.primaryProperty) { var primaryProperty = type.primaryProperty; - attrName = info.attrName = primaryProperty.name; + attrName = info.attrName = primaryProperty.attribute; info.defaultBindingMode = primaryProperty.defaultBindingMode; } @@ -2706,6 +2718,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var attr = void 0; var attrName = void 0; var attrValue = void 0; + var originalAttrName = void 0; var instruction = void 0; var info = void 0; var property = void 0; @@ -2719,6 +2732,9 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } return node.nextSibling; } else if (tagName === 'template') { + if (!('content' in node)) { + throw new Error('You cannot place a template element within ' + node.namespaceURI + ' namespace'); + } viewFactory = this.compile(node, resources); viewFactory.part = node.getAttribute('part'); } else { @@ -2732,7 +2748,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli for (i = 0, ii = attributes.length; i < ii; ++i) { attr = attributes[i]; - attrName = attr.name; + originalAttrName = attrName = attr.name; attrValue = attr.value; info = bindingLanguage.inspectAttribute(resources, tagName, attrName, attrValue); @@ -2757,7 +2773,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (info.command && info.command !== 'options' && type.primaryProperty) { var primaryProperty = type.primaryProperty; - attrName = info.attrName = primaryProperty.name; + attrName = info.attrName = primaryProperty.attribute; info.defaultBindingMode = primaryProperty.defaultBindingMode; } @@ -2789,7 +2805,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this._configureProperties(instruction, resources); if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2807,7 +2823,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli instruction.attributes[resources.mapAttribute(attrName)] = attrValue; if (type.liftsContent) { - instruction.originalAttrName = attrName; + instruction.originalAttrName = originalAttrName; liftingInstruction = instruction; break; } else { @@ -2825,6 +2841,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli auTargetID = makeIntoInstructionTarget(node); instructions[auTargetID] = TargetInstruction.lifting(parentInjectorId, liftingInstruction); } else { + var skipContentProcessing = false; + if (expressions.length || behaviorInstructions.length) { injectorId = behaviorInstructions.length ? getNextInjectorId() : false; @@ -2832,6 +2850,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli instruction = behaviorInstructions[i]; instruction.type.compile(this, resources, node, instruction, parentNode); providers.push(instruction.type.target); + skipContentProcessing = skipContentProcessing || instruction.skipContentProcessing; } for (i = 0, ii = expressions.length; i < ii; ++i) { @@ -2845,7 +2864,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli instructions[auTargetID] = TargetInstruction.normal(injectorId, parentInjectorId, providers, behaviorInstructions, expressions, elementInstruction); } - if (elementInstruction && elementInstruction.skipContentProcessing) { + if (skipContentProcessing) { return node.nextSibling; } @@ -3129,12 +3148,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var ProxyViewFactory = function () { function ProxyViewFactory(promise) { - var _this9 = this; + var _this7 = this; promise.then(function (x) { - return _this9.viewFactory = x; + return _this7.viewFactory = x; }); } @@ -3164,6 +3183,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return ProxyViewFactory; }(); + var auSlotBehavior = null; + var ViewEngine = exports.ViewEngine = (_dec8 = (0, _aureliaDependencyInjection.inject)(_aureliaLoader.Loader, _aureliaDependencyInjection.Container, ViewCompiler, ModuleAnalyzer, ViewResources), _dec8(_class14 = (_temp4 = _class15 = function () { function ViewEngine(loader, container, viewCompiler, moduleAnalyzer, appResources) { @@ -3175,8 +3196,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli this.appResources = appResources; this._pluginMap = {}; - var auSlotBehavior = new HtmlBehaviorResource(); - auSlotBehavior.attributeName = 'au-slot'; + if (auSlotBehavior === null) { + auSlotBehavior = new HtmlBehaviorResource(); + auSlotBehavior.attributeName = 'au-slot'; + _aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, auSlotBehavior, SlotCustomAttribute); + } + auSlotBehavior.initialize(container, SlotCustomAttribute); auSlotBehavior.register(appResources); } @@ -3188,14 +3213,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewEngine.prototype.loadViewFactory = function loadViewFactory(urlOrRegistryEntry, compileInstruction, loadContext, target) { - var _this10 = this; + var _this8 = this; loadContext = loadContext || new ResourceLoadContext(); return ensureRegistryEntry(this.loader, urlOrRegistryEntry).then(function (registryEntry) { + var url = registryEntry.address; + if (registryEntry.onReady) { - if (!loadContext.hasDependency(urlOrRegistryEntry)) { - loadContext.addDependency(urlOrRegistryEntry); + if (!loadContext.hasDependency(url)) { + loadContext.addDependency(url); return registryEntry.onReady; } @@ -3206,16 +3233,16 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli return Promise.resolve(new ProxyViewFactory(registryEntry.onReady)); } - loadContext.addDependency(urlOrRegistryEntry); + loadContext.addDependency(url); - registryEntry.onReady = _this10.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { + registryEntry.onReady = _this8.loadTemplateResources(registryEntry, compileInstruction, loadContext, target).then(function (resources) { registryEntry.resources = resources; if (registryEntry.template === null) { return registryEntry.factory = null; } - var viewFactory = _this10.viewCompiler.compile(registryEntry.template, resources, compileInstruction); + var viewFactory = _this8.viewCompiler.compile(registryEntry.template, resources, compileInstruction); return registryEntry.factory = viewFactory; }); @@ -3264,30 +3291,30 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; ViewEngine.prototype.importViewModelResource = function importViewModelResource(moduleImport, moduleMember) { - var _this11 = this; + var _this9 = this; return this.loader.loadModule(moduleImport).then(function (viewModelModule) { var normalizedId = _aureliaMetadata.Origin.get(viewModelModule).moduleId; - var resourceModule = _this11.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); + var resourceModule = _this9.moduleAnalyzer.analyze(normalizedId, viewModelModule, moduleMember); if (!resourceModule.mainResource) { throw new Error('No view model found in module "' + moduleImport + '".'); } - resourceModule.initialize(_this11.container); + resourceModule.initialize(_this9.container); return resourceModule.mainResource; }); }; ViewEngine.prototype.importViewResources = function importViewResources(moduleIds, names, resources, compileInstruction, loadContext) { - var _this12 = this; + var _this10 = this; loadContext = loadContext || new ResourceLoadContext(); compileInstruction = compileInstruction || ViewCompileInstruction.normal; moduleIds = moduleIds.map(function (x) { - return _this12._applyLoaderPlugin(x); + return _this10._applyLoaderPlugin(x); }); return this.loader.loadAllModules(moduleIds).then(function (imports) { @@ -3297,8 +3324,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var normalizedId = void 0; var current = void 0; var associatedModule = void 0; - var container = _this12.container; - var moduleAnalyzer = _this12.moduleAnalyzer; + var container = _this10.container; + var moduleAnalyzer = _this10.moduleAnalyzer; var allAnalysis = new Array(imports.length); for (i = 0, ii = imports.length; i < ii; ++i) { @@ -3585,16 +3612,18 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }()) || _class16); - function getObserver(behavior, instance, name) { + function getObserver(instance, name) { var lookup = instance.__observers__; if (lookup === undefined) { - if (!behavior.isInitialized) { - behavior.initialize(_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(), instance.constructor); + var ctor = Object.getPrototypeOf(instance).constructor; + var _behavior = _aureliaMetadata.metadata.get(_aureliaMetadata.metadata.resource, ctor); + if (!_behavior.isInitialized) { + _behavior.initialize(_aureliaDependencyInjection.Container.instance || new _aureliaDependencyInjection.Container(), instance.constructor); } - lookup = behavior.observerLocator.getOrCreateObserversLookup(instance); - behavior._ensurePropertiesDefined(instance, lookup); + lookup = _behavior.observerLocator.getOrCreateObserversLookup(instance); + _behavior._ensurePropertiesDefined(instance, lookup); } return lookup[name]; @@ -3626,13 +3655,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (descriptor) { this.descriptor = descriptor; - return this._configureDescriptor(behavior, descriptor); + return this._configureDescriptor(descriptor); } return undefined; }; - BindableProperty.prototype._configureDescriptor = function _configureDescriptor(behavior, descriptor) { + BindableProperty.prototype._configureDescriptor = function _configureDescriptor(descriptor) { var name = this.name; descriptor.configurable = true; @@ -3651,15 +3680,15 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } descriptor.get = function () { - return getObserver(behavior, this, name).getValue(); + return getObserver(this, name).getValue(); }; descriptor.set = function (value) { - getObserver(behavior, this, name).setValue(value); + getObserver(this, name).setValue(value); }; descriptor.get.getObserver = function (obj) { - return getObserver(behavior, obj, name); + return getObserver(obj, name); }; return descriptor; @@ -3931,18 +3960,20 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli for (i = 0, ii = properties.length; i < ii; ++i) { properties[i].defineOn(target, this); } + + this._copyInheritedProperties(container, target); } }; HtmlBehaviorResource.prototype.register = function register(registry, name) { - var _this13 = this; + var _this11 = this; if (this.attributeName !== null) { registry.registerAttribute(name || this.attributeName, this, this.attributeName); if (Array.isArray(this.aliases)) { this.aliases.forEach(function (alias) { - registry.registerAttribute(alias, _this13, _this13.attributeName); + registry.registerAttribute(alias, _this11, _this11.attributeName); }); } } @@ -3953,7 +3984,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; HtmlBehaviorResource.prototype.load = function load(container, target, loadContext, viewStrategy, transientView) { - var _this14 = this; + var _this12 = this; var options = void 0; @@ -3966,8 +3997,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } return viewStrategy.loadViewFactory(container.get(ViewEngine), options, loadContext, target).then(function (viewFactory) { - if (!transientView || !_this14.viewFactory) { - _this14.viewFactory = viewFactory; + if (!transientView || !_this12.viewFactory) { + _this12.viewFactory = viewFactory; } return viewFactory; @@ -4037,6 +4068,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } else { instruction.skipContentProcessing = true; } + } else if (!this.processContent(compiler, resources, node, instruction)) { + instruction.skipContentProcessing = true; } return node; @@ -4159,6 +4192,44 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli } }; + HtmlBehaviorResource.prototype._copyInheritedProperties = function _copyInheritedProperties(container, target) { + var _this13 = this; + + var behavior = void 0; + var derived = target; + + while (true) { + var proto = Object.getPrototypeOf(target.prototype); + target = proto && proto.constructor; + if (!target) { + return; + } + behavior = _aureliaMetadata.metadata.getOwn(_aureliaMetadata.metadata.resource, target); + if (behavior) { + break; + } + } + behavior.initialize(container, target); + + var _loop = function _loop(_i8, _ii8) { + var prop = behavior.properties[_i8]; + + if (_this13.properties.some(function (p) { + return p.name === prop.name; + })) { + return 'continue'; + } + + new BindableProperty(prop).registerWith(derived, _this13); + }; + + for (var _i8 = 0, _ii8 = behavior.properties.length; _i8 < _ii8; ++_i8) { + var _ret = _loop(_i8, _ii8); + + if (_ret === 'continue') continue; + } + }; + return HtmlBehaviorResource; }(); @@ -4227,8 +4298,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli var bindersLength = binders.length; var groupedMutations = new Map(); - for (var _i8 = 0, _ii8 = mutations.length; _i8 < _ii8; ++_i8) { - var record = mutations[_i8]; + for (var _i9 = 0, _ii9 = mutations.length; _i9 < _ii9; ++_i9) { + var record = mutations[_i9]; var added = record.addedNodes; var removed = record.removedNodes; @@ -4296,8 +4367,8 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (assignedSlot && assignedSlot.projectFromAnchors) { var anchors = assignedSlot.projectFromAnchors; - for (var _i9 = 0, _ii9 = anchors.length; _i9 < _ii9; ++_i9) { - if (anchors[_i9].auOwnerView === contentView) { + for (var _i10 = 0, _ii10 = anchors.length; _i10 < _ii10; ++_i10) { + if (anchors[_i10].auOwnerView === contentView) { return true; } } @@ -4398,6 +4469,12 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (this.all) { var items = this.viewModel[this.property] || (this.viewModel[this.property] = []); + + if (this.selector === '*') { + items.push(value); + return true; + } + var index = 0; var prev = element.previousElementSibling; @@ -4485,27 +4562,27 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; CompositionEngine.prototype._createControllerAndSwap = function _createControllerAndSwap(context) { - var _this15 = this; + var _this14 = this; return this.createController(context).then(function (controller) { controller.automate(context.overrideContext, context.owningView); if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this15._swap(context, controller.view); + return _this14._swap(context, controller.view); }).then(function () { return controller; }); } - return _this15._swap(context, controller.view).then(function () { + return _this14._swap(context, controller.view).then(function () { return controller; }); }); }; CompositionEngine.prototype.createController = function createController(context) { - var _this16 = this; + var _this15 = this; var childContainer = void 0; var viewModel = void 0; @@ -4518,7 +4595,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli viewModelResource = context.viewModelResource; m = viewModelResource.metadata; - var viewStrategy = _this16.viewLocator.getViewStrategy(context.view || viewModel); + var viewStrategy = _this15.viewLocator.getViewStrategy(context.view || viewModel); if (context.viewResources) { viewStrategy.makeRelativeTo(context.viewResources.viewUrl); @@ -4558,7 +4635,7 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli }; CompositionEngine.prototype.compose = function compose(context) { - var _this17 = this; + var _this16 = this; context.childContainer = context.childContainer || context.container.createChild(); context.view = this.viewLocator.getViewStrategy(context.view); @@ -4585,13 +4662,13 @@ define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aureli if (context.compositionTransactionOwnershipToken) { return context.compositionTransactionOwnershipToken.waitForCompositionComplete().then(function () { - return _this17._swap(context, result); + return _this16._swap(context, result); }).then(function () { return result; }); } - return _this17._swap(context, result).then(function () { + return _this16._swap(context, result).then(function () { return result; }); }); diff --git a/jspm_packages/npm/aurelia-templating@1.4.2/index.js b/jspm_packages/npm/aurelia-templating@1.7.0/index.js similarity index 100% rename from jspm_packages/npm/aurelia-templating@1.4.2/index.js rename to jspm_packages/npm/aurelia-templating@1.7.0/index.js diff --git a/jspm_packages/npm/base64-js@1.2.1.js b/jspm_packages/npm/base64-js@1.2.1.js deleted file mode 100644 index 959cb2e..0000000 --- a/jspm_packages/npm/base64-js@1.2.1.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("npm:base64-js@1.2.1/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/base64-js@1.2.1/.jspm-hash b/jspm_packages/npm/base64-js@1.2.1/.jspm-hash deleted file mode 100644 index 6b6e525..0000000 --- a/jspm_packages/npm/base64-js@1.2.1/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -a91947da1f4a516ea38e5b4ec0ec3773675e088699914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/base64-js@1.2.1/base64js.min.js b/jspm_packages/npm/base64-js@1.2.1/base64js.min.js deleted file mode 100644 index 1c2a199..0000000 --- a/jspm_packages/npm/base64-js@1.2.1/base64js.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/* */ -"format cjs"; -(function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r()}else if(typeof define==="function"&&define.amd){define([],r)}else{var e;if(typeof window!=="undefined"){e=window}else if(typeof global!=="undefined"){e=global}else if(typeof self!=="undefined"){e=self}else{e=this}e.base64js=r()}})(function(){var r,e,t;return function r(e,t,n){function o(i,a){if(!t[i]){if(!e[i]){var u=typeof require=="function"&&require;if(!a&&u)return u(i,!0);if(f)return f(i,!0);var d=new Error("Cannot find module '"+i+"'");throw d.code="MODULE_NOT_FOUND",d}var c=t[i]={exports:{}};e[i][0].call(c.exports,function(r){var t=e[i][1][r];return o(t?t:r)},c,c.exports,r,e,t,n)}return t[i].exports}var f=typeof require=="function"&&require;for(var i=0;i0){throw new Error("Invalid string. Length must be a multiple of 4")}return r[e-2]==="="?2:r[e-1]==="="?1:0}function c(r){return r.length*3/4-d(r)}function v(r){var e,t,n,i,a;var u=r.length;i=d(r);a=new f(u*3/4-i);t=i>0?u-4:u;var c=0;for(e=0;e>16&255;a[c++]=n>>8&255;a[c++]=n&255}if(i===2){n=o[r.charCodeAt(e)]<<2|o[r.charCodeAt(e+1)]>>4;a[c++]=n&255}else if(i===1){n=o[r.charCodeAt(e)]<<10|o[r.charCodeAt(e+1)]<<4|o[r.charCodeAt(e+2)]>>2;a[c++]=n>>8&255;a[c++]=n&255}return a}function l(r){return n[r>>18&63]+n[r>>12&63]+n[r>>6&63]+n[r&63]}function h(r,e,t){var n;var o=[];for(var f=e;fd?d:u+a))}if(o===1){e=r[t-1];f+=n[e>>2];f+=n[e<<4&63];f+="=="}else if(o===2){e=(r[t-2]<<8)+r[t-1];f+=n[e>>10];f+=n[e>>4&63];f+=n[e<<2&63];f+="="}i.push(f);return i.join("")}},{}]},{},[])("/")}); diff --git a/jspm_packages/npm/base64-js@1.2.3.js b/jspm_packages/npm/base64-js@1.2.3.js new file mode 100644 index 0000000..788ba0b --- /dev/null +++ b/jspm_packages/npm/base64-js@1.2.3.js @@ -0,0 +1 @@ +module.exports = require("npm:base64-js@1.2.3/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/base64-js@1.2.3/.jspm-hash b/jspm_packages/npm/base64-js@1.2.3/.jspm-hash new file mode 100644 index 0000000..c553686 --- /dev/null +++ b/jspm_packages/npm/base64-js@1.2.3/.jspm-hash @@ -0,0 +1 @@ +fb13668233d9614cf5fb4bce95a9ba4096cdf80199914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/base64-js@1.2.3/base64js.min.js b/jspm_packages/npm/base64-js@1.2.3/base64js.min.js new file mode 100644 index 0000000..8bf1fef --- /dev/null +++ b/jspm_packages/npm/base64-js@1.2.3/base64js.min.js @@ -0,0 +1,3 @@ +/* */ +"format cjs"; +(function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r()}else if(typeof define==="function"&&define.amd){define([],r)}else{var e;if(typeof window!=="undefined"){e=window}else if(typeof global!=="undefined"){e=global}else if(typeof self!=="undefined"){e=self}else{e=this}e.base64js=r()}})(function(){var r,e,n;return function(){function r(e,n,t){function o(i,a){if(!n[i]){if(!e[i]){var u=typeof require=="function"&&require;if(!a&&u)return u(i,!0);if(f)return f(i,!0);var d=new Error("Cannot find module '"+i+"'");throw d.code="MODULE_NOT_FOUND",d}var c=n[i]={exports:{}};e[i][0].call(c.exports,function(r){var n=e[i][1][r];return o(n?n:r)},c,c.exports,r,e,n,t)}return n[i].exports}var f=typeof require=="function"&&require;for(var i=0;i0){throw new Error("Invalid string. Length must be a multiple of 4")}return r[e-2]==="="?2:r[e-1]==="="?1:0}function c(r){return r.length*3/4-d(r)}function v(r){var e,n,t,i,a;var u=r.length;i=d(r);a=new f(u*3/4-i);n=i>0?u-4:u;var c=0;for(e=0;e>16&255;a[c++]=t>>8&255;a[c++]=t&255}if(i===2){t=o[r.charCodeAt(e)]<<2|o[r.charCodeAt(e+1)]>>4;a[c++]=t&255}else if(i===1){t=o[r.charCodeAt(e)]<<10|o[r.charCodeAt(e+1)]<<4|o[r.charCodeAt(e+2)]>>2;a[c++]=t>>8&255;a[c++]=t&255}return a}function l(r){return t[r>>18&63]+t[r>>12&63]+t[r>>6&63]+t[r&63]}function h(r,e,n){var t;var o=[];for(var f=e;fd?d:u+a))}if(o===1){e=r[n-1];f+=t[e>>2];f+=t[e<<4&63];f+="=="}else if(o===2){e=(r[n-2]<<8)+r[n-1];f+=t[e>>10];f+=t[e>>4&63];f+=t[e<<2&63];f+="="}i.push(f);return i.join("")}},{}]},{},[])("/")}); diff --git a/jspm_packages/npm/base64-js@1.2.1/index.js b/jspm_packages/npm/base64-js@1.2.3/index.js similarity index 93% rename from jspm_packages/npm/base64-js@1.2.1/index.js rename to jspm_packages/npm/base64-js@1.2.3/index.js index c48346c..94913a0 100644 --- a/jspm_packages/npm/base64-js@1.2.1/index.js +++ b/jspm_packages/npm/base64-js@1.2.3/index.js @@ -15,6 +15,8 @@ for (var i = 0, len = code.length; i < len; ++i) { revLookup[code.charCodeAt(i)] = i } +// Support decoding URL-safe base64 strings, as Node.js does. +// See: https://en.wikipedia.org/wiki/Base64#URL_applications revLookup['-'.charCodeAt(0)] = 62 revLookup['_'.charCodeAt(0)] = 63 @@ -76,7 +78,7 @@ function encodeChunk (uint8, start, end) { var tmp var output = [] for (var i = start; i < end; i += 3) { - tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) + tmp = ((uint8[i] << 16) & 0xFF0000) + ((uint8[i + 1] << 8) & 0xFF00) + (uint8[i + 2] & 0xFF) output.push(tripletToBase64(tmp)) } return output.join('') diff --git a/jspm_packages/npm/base64-js@1.2.1/package.json b/jspm_packages/npm/base64-js@1.2.3/package.json similarity index 97% rename from jspm_packages/npm/base64-js@1.2.1/package.json rename to jspm_packages/npm/base64-js@1.2.3/package.json index 18cdcbe..500f29f 100644 --- a/jspm_packages/npm/base64-js@1.2.1/package.json +++ b/jspm_packages/npm/base64-js@1.2.3/package.json @@ -1,6 +1,6 @@ { "name": "base64-js", - "version": "1.2.1", + "version": "1.2.3", "description": "Base64 encoding/decoding in pure JS", "keywords": [ "base64" diff --git a/jspm_packages/npm/base64-js@1.2.1/test/big-data.js b/jspm_packages/npm/base64-js@1.2.3/test/big-data.js similarity index 100% rename from jspm_packages/npm/base64-js@1.2.1/test/big-data.js rename to jspm_packages/npm/base64-js@1.2.3/test/big-data.js diff --git a/jspm_packages/npm/base64-js@1.2.1/test/convert.js b/jspm_packages/npm/base64-js@1.2.3/test/convert.js similarity index 55% rename from jspm_packages/npm/base64-js@1.2.1/test/convert.js rename to jspm_packages/npm/base64-js@1.2.3/test/convert.js index 827183d..59f2790 100644 --- a/jspm_packages/npm/base64-js@1.2.1/test/convert.js +++ b/jspm_packages/npm/base64-js@1.2.3/test/convert.js @@ -20,6 +20,36 @@ test('convert to base64 and back', function(t) { t.equal(b64.byteLength(b64Str), arr.length, 'Checked length for ' + check); } }); +var data = [[[0, 0, 0], 'AAAA'], [[0, 0, 1], 'AAAB'], [[0, 1, -1], 'AAH/'], [[1, 1, 1], 'AQEB'], [[0, -73, 23], 'ALcX']]; +test('convert known data to string', function(t) { + for (var i = 0; i < data.length; i++) { + var bytes = data[i][0]; + var expected = data[i][1]; + var actual = b64.fromByteArray(bytes); + t.equal(actual, expected, 'Ensure that ' + bytes + ' serialise to ' + expected); + } + t.end(); +}); +test('convert known data from string', function(t) { + for (var i = 0; i < data.length; i++) { + var expected = data[i][0]; + var string = data[i][1]; + var actual = b64.toByteArray(string); + t.ok(equal(actual, expected), 'Ensure that ' + string + ' deserialise to ' + expected); + } + t.end(); +}); +function equal(a, b) { + var i; + var length = a.length; + if (length !== b.length) + return false; + for (i = 0; i < length; ++i) { + if ((a[i] & 0xFF) !== (b[i] & 0xFF)) + return false; + } + return true; +} function map(arr, callback) { var res = []; var kValue, diff --git a/jspm_packages/npm/base64-js@1.2.1/test/url-safe.js b/jspm_packages/npm/base64-js@1.2.3/test/url-safe.js similarity index 100% rename from jspm_packages/npm/base64-js@1.2.1/test/url-safe.js rename to jspm_packages/npm/base64-js@1.2.3/test/url-safe.js diff --git a/jspm_packages/npm/buffer@5.0.7.js b/jspm_packages/npm/buffer@5.0.7.js deleted file mode 100644 index 3101556..0000000 --- a/jspm_packages/npm/buffer@5.0.7.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("npm:buffer@5.0.7/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/buffer@5.0.7/.jspm-hash b/jspm_packages/npm/buffer@5.0.7/.jspm-hash deleted file mode 100644 index 3bca46a..0000000 --- a/jspm_packages/npm/buffer@5.0.7/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -570a290b625cf2603290c1149223d27ccf04db9799914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/buffer@5.0.7/.npmignore b/jspm_packages/npm/buffer@5.0.7/.npmignore deleted file mode 100644 index 3856da0..0000000 --- a/jspm_packages/npm/buffer@5.0.7/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -.zuul.yml -bin/ -perf/ diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-alloc.js b/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-alloc.js deleted file mode 100644 index b328970..0000000 --- a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-alloc.js +++ /dev/null @@ -1,1042 +0,0 @@ -/* */ -'use strict'; -var Buffer = require('../../index').Buffer; -var common = {skip: function() {}}; -var assert = require('assert'); -var Buffer = require('../../index').Buffer; -var cntr = 0; -var b = Buffer.allocUnsafe(1024); -assert.strictEqual(1024, b.length); -b[0] = -1; -assert.strictEqual(b[0], 255); -for (var i = 0; i < 1024; i++) { - b[i] = i % 256; -} -for (var i = 0; i < 1024; i++) { - assert.strictEqual(i % 256, b[i]); -} -var c = Buffer.allocUnsafe(512); -assert.strictEqual(512, c.length); -var d = Buffer.from([]); -assert.strictEqual(0, d.length); -var ui32 = new Uint32Array(4).fill(42); -var e = Buffer.from(ui32); -for (var [index, value] of e.entries()) { - assert.strictEqual(value, ui32[index]); -} -assert.throws(function() { - Buffer.allocUnsafe(8).fill('a', -1); -}); -assert.throws(function() { - Buffer.allocUnsafe(8).fill('a', 0, 9); -}); -Buffer.allocUnsafe(8).fill(''); -Buffer.alloc(8, ''); -{ - var buf = Buffer.alloc(64, 10); - for (var i = 0; i < buf.length; i++) - assert.equal(buf[i], 10); - buf.fill(11, 0, buf.length >> 1); - for (var i = 0; i < buf.length >> 1; i++) - assert.equal(buf[i], 11); - for (var i = (buf.length >> 1) + 1; i < buf.length; i++) - assert.equal(buf[i], 10); - buf.fill('h'); - for (var i = 0; i < buf.length; i++) - assert.equal('h'.charCodeAt(0), buf[i]); - buf.fill(0); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - buf.fill(null); - for (var i = 0; i < buf.length; i++) - assert.equal(0, buf[i]); - buf.fill(1, 16, 32); - for (var i = 0; i < 16; i++) - assert.equal(0, buf[i]); - for (var i = 16; i < 32; i++) - assert.equal(1, buf[i]); - for (var i = 32; i < buf.length; i++) - assert.equal(0, buf[i]); -} -{ - var buf = Buffer.alloc(10, 'abc'); - assert.equal(buf.toString(), 'abcabcabca'); - buf.fill('է'); - assert.equal(buf.toString(), 'էէէէէ'); -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 512); - assert.strictEqual(512, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0, 0); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = c.copy(b, 0); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(c[i], b[i]); - } -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, b.length - Math.floor(c.length / 2)); - assert.strictEqual(Math.floor(c.length / 2), copied); - for (var i = 0; i < Math.floor(c.length / 2); i++) { - assert.strictEqual(b[b.length - Math.floor(c.length / 2) + i], c[i]); - } - for (var i = Math.floor(c.length / 2) + 1; i < c.length; i++) { - assert.strictEqual(c[c.length - 1], c[i]); - } -} -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 513); - assert.strictEqual(c.length, copied); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} -{ - b.fill(++cntr); - b.fill(++cntr, 256); - var copied = b.copy(b, 0, 256, 1024); - assert.strictEqual(768, copied); - for (var i = 0; i < b.length; i++) { - assert.strictEqual(cntr, b[i]); - } -} -var bb = Buffer.allocUnsafe(10); -bb.fill('hello crazy world'); -assert.doesNotThrow(() => { - b.copy(c, 0, 100, 10); -}); -assert.throws(function() { - Buffer.allocUnsafe(5).copy(Buffer.allocUnsafe(5), 0, -1); -}, RangeError); -{ - b.fill(++cntr); - c.fill(++cntr); - var copied = b.copy(c, 0, 0, 1025); - for (var i = 0; i < c.length; i++) { - assert.strictEqual(b[i], c[i]); - } -} -assert.throws(function() { - b.copy(c, 0, 0, -1); -}, RangeError); -assert.equal(b.copy(c, 0, 100, 10), 0); -assert.equal(b.copy(c, 512, 0, 10), 0); -var caught_error; -caught_error = null; -try { - b.toString('invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); -caught_error = null; -try { - b.write('test string', 0, 5, 'invalid'); -} catch (err) { - caught_error = err; -} -assert.strictEqual('Unknown encoding: invalid', caught_error.message); -Buffer.from(''); -Buffer.from('', 'ascii'); -Buffer.from('', 'latin1'); -Buffer.alloc(0); -Buffer.allocUnsafe(0); -assert.throws(function() { - b.write('', 2048); -}, RangeError); -assert.throws(function() { - b.write('a', -1); -}, RangeError); -assert.throws(function() { - b.write('a', 2048); -}, RangeError); -assert.throws(function() { - b.write('a', -1); -}, RangeError); -b.copy(Buffer.alloc(0), 0, 0, 0); -b.copy(Buffer.alloc(0), 1, 1, 1); -b.copy(Buffer.alloc(1), 1, 1, 1); -b.copy(Buffer.alloc(1), 0, 2048, 2048); -var rangeBuffer = Buffer.from('abc'); -assert.equal(rangeBuffer.toString('ascii', 3), ''); -assert.equal(rangeBuffer.toString('ascii', +Infinity), ''); -assert.equal(rangeBuffer.toString('ascii', 3.14, 3), ''); -assert.equal(rangeBuffer.toString('ascii', 'Infinity', 3), ''); -assert.equal(rangeBuffer.toString('ascii', 1, 0), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -1.2), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -100), ''); -assert.equal(rangeBuffer.toString('ascii', 1, -Infinity), ''); -assert.equal(rangeBuffer.toString('ascii', -1, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -1.99, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', -Infinity, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 'node.js', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', {}, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', [], 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', NaN, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', null, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', undefined, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', false, 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '1', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', '3', 3), ''); -assert.equal(rangeBuffer.toString('ascii', Number(3), 3), ''); -assert.equal(rangeBuffer.toString('ascii', '3.14', 3), ''); -assert.equal(rangeBuffer.toString('ascii', '1.99', 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 1.99, 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', true, 3), 'bc'); -assert.equal(rangeBuffer.toString('ascii', 0, 5), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 6.99), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Infinity), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '5'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '6.99'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 'Infinity'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, 'node.js'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, {}), ''); -assert.equal(rangeBuffer.toString('ascii', 0, NaN), ''); -assert.equal(rangeBuffer.toString('ascii', 0, undefined), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, null), ''); -assert.equal(rangeBuffer.toString('ascii', 0, []), ''); -assert.equal(rangeBuffer.toString('ascii', 0, false), ''); -assert.equal(rangeBuffer.toString('ascii', 0, ''), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '-1'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '1'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-Infinity'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, '3'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, Number(3)), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '3.14'), 'abc'); -assert.equal(rangeBuffer.toString('ascii', 0, '1.99'), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, '-1.99'), ''); -assert.equal(rangeBuffer.toString('ascii', 0, 1.99), 'a'); -assert.equal(rangeBuffer.toString('ascii', 0, true), 'a'); -assert.equal(rangeBuffer.toString({toString: function() { - return 'ascii'; - }}), 'abc'); -var writeTest = Buffer.from('abcdes'); -writeTest.write('n', 'ascii'); -writeTest.write('o', '1', 'ascii'); -writeTest.write('d', '2', 'ascii'); -writeTest.write('e', 3, 'ascii'); -writeTest.write('j', 4, 'ascii'); -assert.equal(writeTest.toString(), 'nodejs'); -{ - var asciiString = 'hello world'; - for (var i = 0; i < asciiString.length; i++) { - b[i] = asciiString.charCodeAt(i); - } - var asciiSlice = b.toString('ascii', 0, asciiString.length); - assert.equal(asciiString, asciiSlice); -} -{ - var asciiString = 'hello world'; - var offset = 100; - var written = b.write(asciiString, offset, 'ascii'); - assert.equal(asciiString.length, written); - var asciiSlice = b.toString('ascii', offset, offset + asciiString.length); - assert.equal(asciiString, asciiSlice); -} -{ - var asciiString = 'hello world'; - var offset = 100; - var sliceA = b.slice(offset, offset + asciiString.length); - var sliceB = b.slice(offset, offset + asciiString.length); - for (var i = 0; i < asciiString.length; i++) { - assert.equal(sliceA[i], sliceB[i]); - } -} -var utf8String = '¡hέlló wôrld!'; -var offset = 100; -b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8'); -var utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); -var written = b.write(utf8String, offset, 'utf8'); -assert.equal(Buffer.byteLength(utf8String), written); -utf8Slice = b.toString('utf8', offset, offset + Buffer.byteLength(utf8String)); -assert.equal(utf8String, utf8Slice); -var sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String)); -var sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String)); -for (var i = 0; i < Buffer.byteLength(utf8String); i++) { - assert.equal(sliceA[i], sliceB[i]); -} -{ - var slice = b.slice(100, 150); - assert.equal(50, slice.length); - for (var i = 0; i < 50; i++) { - assert.equal(b[100 + i], slice[i]); - } -} -{ - var b = Buffer.allocUnsafe(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(b.parent, c.parent); - assert.equal(b.parent, d.parent); -} -{ - var b = Buffer.allocUnsafeSlow(5); - var c = b.slice(0, 4); - var d = c.slice(0, 2); - assert.equal(c.parent, d.parent); -} -{ - var testValue = '\u00F6\u65E5\u672C\u8A9E'; - var buffer = Buffer.allocUnsafe(32); - var size = buffer.write(testValue, 0, 'utf8'); - var slice = buffer.toString('utf8', 0, size); - assert.equal(slice, testValue); -} -{ - var a = Buffer.allocUnsafe(8); - for (var i = 0; i < 8; i++) - a[i] = i; - var b = a.slice(4, 8); - assert.equal(4, b[0]); - assert.equal(5, b[1]); - assert.equal(6, b[2]); - assert.equal(7, b[3]); - var c = b.slice(2, 4); - assert.equal(6, c[0]); - assert.equal(7, c[1]); -} -{ - var d = Buffer.from([23, 42, 255]); - assert.equal(d.length, 3); - assert.equal(d[0], 23); - assert.equal(d[1], 42); - assert.equal(d[2], 255); - assert.deepStrictEqual(d, Buffer.from(d)); -} -{ - var e = Buffer.from('über'); - assert.deepStrictEqual(e, Buffer.from([195, 188, 98, 101, 114])); -} -{ - var f = Buffer.from('über', 'ascii'); - assert.deepStrictEqual(f, Buffer.from([252, 98, 101, 114])); -} -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - { - var f = Buffer.from('über', encoding); - assert.deepStrictEqual(f, Buffer.from([252, 0, 98, 0, 101, 0, 114, 0])); - } - { - var f = Buffer.from('привет', encoding); - assert.deepStrictEqual(f, Buffer.from([63, 4, 64, 4, 56, 4, 50, 4, 53, 4, 66, 4])); - assert.equal(f.toString(encoding), 'привет'); - } - { - var f = Buffer.from([0, 0, 0, 0, 0]); - assert.equal(f.length, 5); - var size = f.write('あいうえお', encoding); - assert.equal(size, 4); - assert.deepStrictEqual(f, Buffer.from([0x42, 0x30, 0x44, 0x30, 0x00])); - } -}); -{ - var f = Buffer.from('\uD83D\uDC4D', 'utf-16le'); - assert.equal(f.length, 4); - assert.deepStrictEqual(f, Buffer.from('3DD84DDC', 'hex')); -} -var arrayIsh = { - 0: 0, - 1: 1, - 2: 2, - 3: 3, - length: 4 -}; -var g = Buffer.from(arrayIsh); -assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); -var strArrayIsh = { - 0: '0', - 1: '1', - 2: '2', - 3: '3', - length: 4 -}; -g = Buffer.from(strArrayIsh); -assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); -assert.equal('TWFu', (Buffer.from('Man')).toString('base64')); -{ - var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff]; - assert.deepStrictEqual(Buffer.from('//++/++/++//', 'base64'), Buffer.from(expected)); - assert.deepStrictEqual(Buffer.from('__--_--_--__', 'base64'), Buffer.from(expected)); -} -{ - var quote = 'Man is distinguished, not only by his reason, but by this ' + 'singular passion from other animals, which is a lust ' + 'of the mind, that by a perseverance of delight in the ' + 'continued and indefatigable generation of knowledge, ' + 'exceeds the short vehemence of any carnal pleasure.'; - var expected = 'TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb' + '24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlci' + 'BhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQ' + 'gYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu' + 'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' + 'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' + '5hbCBwbGVhc3VyZS4='; - assert.equal(expected, (Buffer.from(quote)).toString('base64')); - var b = Buffer.allocUnsafe(1024); - var bytesWritten = b.write(expected, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - var expectedWhite = expected.slice(0, 60) + ' \n' + expected.slice(60, 120) + ' \n' + expected.slice(120, 180) + ' \n' + expected.slice(180, 240) + ' \n' + expected.slice(240, 300) + '\n' + expected.slice(300, 360) + '\n'; - b = Buffer.allocUnsafe(1024); - bytesWritten = b.write(expectedWhite, 0, 'base64'); - assert.equal(quote.length, bytesWritten); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - b = Buffer.from(expectedWhite, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); - var expectedIllegal = expected.slice(0, 60) + ' \x80' + expected.slice(60, 120) + ' \xff' + expected.slice(120, 180) + ' \x00' + expected.slice(180, 240) + ' \x98' + expected.slice(240, 300) + '\x03' + expected.slice(300, 360); - b = Buffer.from(expectedIllegal, 'base64'); - assert.equal(quote.length, b.length); - assert.equal(quote, b.toString('ascii', 0, quote.length)); -} -assert.equal(Buffer.from('', 'base64').toString(), ''); -assert.equal(Buffer.from('K', 'base64').toString(), ''); -assert.equal(Buffer.from('Kg==', 'base64').toString(), '*'); -assert.equal(Buffer.from('Kio=', 'base64').toString(), '**'); -assert.equal(Buffer.from('Kioq', 'base64').toString(), '***'); -assert.equal(Buffer.from('KioqKg==', 'base64').toString(), '****'); -assert.equal(Buffer.from('KioqKio=', 'base64').toString(), '*****'); -assert.equal(Buffer.from('KioqKioq', 'base64').toString(), '******'); -assert.equal(Buffer.from('KioqKioqKg==', 'base64').toString(), '*******'); -assert.equal(Buffer.from('KioqKioqKio=', 'base64').toString(), '********'); -assert.equal(Buffer.from('KioqKioqKioq', 'base64').toString(), '*********'); -assert.equal(Buffer.from('KioqKioqKioqKg==', 'base64').toString(), '**********'); -assert.equal(Buffer.from('KioqKioqKioqKio=', 'base64').toString(), '***********'); -assert.equal(Buffer.from('KioqKioqKioqKioq', 'base64').toString(), '************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKg==', 'base64').toString(), '*************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKio=', 'base64').toString(), '**************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioq', 'base64').toString(), '***************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg==', 'base64').toString(), '****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio=', 'base64').toString(), '*****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioq', 'base64').toString(), '******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg==', 'base64').toString(), '*******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio=', 'base64').toString(), '********************'); -assert.equal(Buffer.from('Kg', 'base64').toString(), '*'); -assert.equal(Buffer.from('Kio', 'base64').toString(), '**'); -assert.equal(Buffer.from('KioqKg', 'base64').toString(), '****'); -assert.equal(Buffer.from('KioqKio', 'base64').toString(), '*****'); -assert.equal(Buffer.from('KioqKioqKg', 'base64').toString(), '*******'); -assert.equal(Buffer.from('KioqKioqKio', 'base64').toString(), '********'); -assert.equal(Buffer.from('KioqKioqKioqKg', 'base64').toString(), '**********'); -assert.equal(Buffer.from('KioqKioqKioqKio', 'base64').toString(), '***********'); -assert.equal(Buffer.from('KioqKioqKioqKioqKg', 'base64').toString(), '*************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKio', 'base64').toString(), '**************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg', 'base64').toString(), '****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio', 'base64').toString(), '*****************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg', 'base64').toString(), '*******************'); -assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio', 'base64').toString(), '********************'); -assert.equal(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw==', 'base64').length, 32); -assert.equal(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw=', 'base64').length, 32); -assert.equal(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw', 'base64').length, 32); -assert.equal(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg==', 'base64').length, 31); -assert.equal(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg=', 'base64').length, 31); -assert.equal(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg', 'base64').length, 31); -var dot = Buffer.from('//4uAA==', 'base64'); -assert.equal(dot[0], 0xff); -assert.equal(dot[1], 0xfe); -assert.equal(dot[2], 0x2e); -assert.equal(dot[3], 0x00); -assert.equal(dot.toString('base64'), '//4uAA=='); -{ - var segments = ['TWFkbmVzcz8h', 'IFRoaXM=', 'IGlz', 'IG5vZGUuanMh']; - var b = Buffer.allocUnsafe(64); - var pos = 0; - for (var i = 0; i < segments.length; ++i) { - pos += b.write(segments[i], pos, 'base64'); - } - assert.equal(b.toString('latin1', 0, pos), 'Madness?! This is node.js!'); -} -{ - var l = Buffer.poolSize + 5; - var s = ''; - for (var i = 0; i < l; i++) { - s += 'h'; - } - var b = Buffer.from(s); - for (var i = 0; i < l; i++) { - assert.equal('h'.charCodeAt(0), b[i]); - } - var sb = b.toString(); - assert.equal(sb.length, s.length); - assert.equal(sb, s); -} -{ - var b = Buffer.from('abcde'); - assert.equal('bcde', b.slice(1).toString()); -} -assert.equal(0, Buffer.from('hello').slice(0, 0).length); -var hexb = Buffer.allocUnsafe(256); -for (var i = 0; i < 256; i++) { - hexb[i] = i; -} -var hexStr = hexb.toString('hex'); -assert.equal(hexStr, '000102030405060708090a0b0c0d0e0f' + '101112131415161718191a1b1c1d1e1f' + '202122232425262728292a2b2c2d2e2f' + '303132333435363738393a3b3c3d3e3f' + '404142434445464748494a4b4c4d4e4f' + '505152535455565758595a5b5c5d5e5f' + '606162636465666768696a6b6c6d6e6f' + '707172737475767778797a7b7c7d7e7f' + '808182838485868788898a8b8c8d8e8f' + '909192939495969798999a9b9c9d9e9f' + 'a0a1a2a3a4a5a6a7a8a9aaabacadaeaf' + 'b0b1b2b3b4b5b6b7b8b9babbbcbdbebf' + 'c0c1c2c3c4c5c6c7c8c9cacbcccdcecf' + 'd0d1d2d3d4d5d6d7d8d9dadbdcdddedf' + 'e0e1e2e3e4e5e6e7e8e9eaebecedeeef' + 'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff'); -var hexb2 = Buffer.from(hexStr, 'hex'); -for (var i = 0; i < 256; i++) { - assert.equal(hexb2[i], hexb[i]); -} -{ - var b = Buffer.from([1, 2, 3, 4, 5]); - var b2 = b.toString('hex', 1, 10000); - var b3 = b.toString('hex', 1, 5); - var b4 = b.toString('hex', 1); - assert.equal(b2, b3); - assert.equal(b2, b4); -} -function buildBuffer(data) { - if (Array.isArray(data)) { - var buffer = Buffer.allocUnsafe(data.length); - data.forEach(function(v, k) { - buffer[k] = v; - }); - return buffer; - } - return null; -} -var x = buildBuffer([0x81, 0xa3, 0x66, 0x6f, 0x6f, 0xa3, 0x62, 0x61, 0x72]); -assert.equal('', x.inspect()); -{ - var z = x.slice(4); - assert.equal(5, z.length); - assert.equal(0x6f, z[0]); - assert.equal(0xa3, z[1]); - assert.equal(0x62, z[2]); - assert.equal(0x61, z[3]); - assert.equal(0x72, z[4]); -} -{ - var z = x.slice(0); - assert.equal(z.length, x.length); -} -{ - var z = x.slice(0, 4); - assert.equal(4, z.length); - assert.equal(0x81, z[0]); - assert.equal(0xa3, z[1]); -} -{ - var z = x.slice(0, 9); - assert.equal(9, z.length); -} -{ - var z = x.slice(1, 4); - assert.equal(3, z.length); - assert.equal(0xa3, z[0]); -} -{ - var z = x.slice(2, 4); - assert.equal(2, z.length); - assert.equal(0x66, z[0]); - assert.equal(0x6f, z[1]); -} -assert.equal(0, Buffer.from('hello').slice(0, 0).length); -['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - var b = Buffer.allocUnsafe(10); - b.write('あいうえお', encoding); - assert.equal(b.toString(encoding), 'あいうえお'); -}); -{ - var b = Buffer.from([0xde, 0xad, 0xbe, 0xef]); - var s = String.fromCharCode(0xffff); - b.write(s, 0, 'latin1'); - assert.equal(0xff, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); - s = String.fromCharCode(0xaaee); - b.write(s, 0, 'latin1'); - assert.equal(0xee, b[0]); - assert.equal(0xad, b[1]); - assert.equal(0xbe, b[2]); - assert.equal(0xef, b[3]); -} -{ - var buf = Buffer.from('\0'); - assert.equal(buf.length, 1); - buf = Buffer.from('\0\0'); - assert.equal(buf.length, 2); -} -{ - var buf = Buffer.allocUnsafe(2); - var written = buf.write(''); - assert.equal(written, 0); - written = buf.write('\0'); - assert.equal(written, 1); - written = buf.write('a\0'); - assert.equal(written, 2); - written = buf.write('あ'); - assert.equal(written, 0); - written = buf.write('\0あ'); - assert.equal(written, 1); - written = buf.write('\0\0あ'); - assert.equal(written, 2); -} -{ - var buf = Buffer.allocUnsafe(10); - written = buf.write('あいう'); - assert.equal(written, 9); - written = buf.write('あいう\0'); - assert.equal(written, 10); -} -{ - var buf = Buffer.allocUnsafe(4); - buf.fill(0xFF); - var written = buf.write('abcd', 1, 2, 'utf8'); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - buf.fill(0xFF); - written = buf.write('abcd', 1, 4); - assert.equal(written, 3); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0x63); - buf.fill(0xFF); - written = buf.write('abcd', 1, 2, 'utf8'); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0x61); - assert.equal(buf[2], 0x62); - assert.equal(buf[3], 0xFF); - buf.fill(0xFF); - written = buf.write('abcdef', 1, 2, 'hex'); - assert.equal(written, 2); - assert.equal(buf[0], 0xFF); - assert.equal(buf[1], 0xAB); - assert.equal(buf[2], 0xCD); - assert.equal(buf[3], 0xFF); - ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) { - buf.fill(0xFF); - written = buf.write('abcd', 0, 2, encoding); - assert.equal(written, 2); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x00); - assert.equal(buf[2], 0xFF); - assert.equal(buf[3], 0xFF); - }); -} -{ - var b = Buffer.allocUnsafe(16); - assert.equal(4, b.writeUInt32LE(0, 0)); - assert.equal(6, b.writeUInt16LE(0, 4)); - assert.equal(7, b.writeUInt8(0, 6)); - assert.equal(8, b.writeInt8(0, 7)); - assert.equal(16, b.writeDoubleLE(0, 8)); -} -{ - var buf = Buffer.from('ab\ud800cd', 'utf8'); - assert.equal(buf[0], 0x61); - assert.equal(buf[1], 0x62); - assert.equal(buf[2], 0xef); - assert.equal(buf[3], 0xbf); - assert.equal(buf[4], 0xbd); - assert.equal(buf[5], 0x63); - assert.equal(buf[6], 0x64); -} -{ - var buf = Buffer.from([0, 0, 0, 0, 0]); - var sub = buf.slice(0, 4); - written = sub.write('12345', 'latin1'); - assert.equal(written, 4); - assert.equal(buf[4], 0); -} -Buffer.allocUnsafe(3.3).fill().toString(); -Buffer.alloc(3.3).fill().toString(); -assert.equal(Buffer.allocUnsafe(NaN).length, 0); -assert.equal(Buffer.allocUnsafe(3.3).length, 3); -assert.equal(Buffer.from({length: 3.3}).length, 3); -assert.equal(Buffer.from({length: 'BAM'}).length, 0); -assert.equal(Buffer.from('99').length, 2); -assert.equal(Buffer.from('13.37').length, 5); -'ascii utf8 hex base64 latin1'.split(' ').forEach(function(enc) { - assert.equal(Buffer.allocUnsafe(1).write('aaaaaa', 0, 1, enc), 1); -}); -{ - var a = Buffer.allocUnsafe(3); - var b = Buffer.from('xxx'); - a.write('aaaaaaaa', 'base64'); - assert.equal(b.toString(), 'xxx'); -} -Buffer.from(Buffer.allocUnsafe(0), 0, 0); -['hex', 'utf8', 'utf-8', 'ascii', 'latin1', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), true); -}); -['utf9', 'utf-7', 'Unicode-FTW', 'new gnu gun', false, NaN, {}, Infinity, [], 1, 0, -1].forEach(function(enc) { - assert.equal(Buffer.isEncoding(enc), false); -}); -{ - var buffer = Buffer.from('test'); - var string = JSON.stringify(buffer); - assert.strictEqual(string, '{"type":"Buffer","data":[116,101,115,116]}'); - assert.deepStrictEqual(buffer, JSON.parse(string, function(key, value) { - return value && value.type === 'Buffer' ? Buffer.from(value.data) : value; - })); -} -{ - var buf = Buffer.from('test'); - var json = JSON.stringify(buf); - var obj = JSON.parse(json); - var copy = Buffer.from(obj); - assert(buf.equals(copy)); -} -assert.throws(function() { - Buffer.allocUnsafe(0xFFFFFFFF); -}, RangeError); -assert.throws(function() { - Buffer.allocUnsafe(0xFFFFFFFFF); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(0xffffffff); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(0xffffffff); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, 0xffffffff); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(-1); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.readFloatLE(-1); -}, RangeError); -assert.throws(function() { - var buf = Buffer.allocUnsafe(8); - buf.writeFloatLE(0.0, -1); -}, RangeError); -{ - var buf = Buffer.allocUnsafe(0); - assert.throws(function() { - buf.readUInt8(0); - }, RangeError); - assert.throws(function() { - buf.readInt8(0); - }, RangeError); -} -{ - var buf = Buffer.from([0xFF]); - assert.equal(buf.readUInt8(0), 255); - assert.equal(buf.readInt8(0), -1); -} -[16, 32].forEach(function(bits) { - var buf = Buffer.allocUnsafe(bits / 8 - 1); - assert.throws(function() { - buf['readUInt' + bits + 'BE'](0); - }, RangeError, 'readUInt' + bits + 'BE'); - assert.throws(function() { - buf['readUInt' + bits + 'LE'](0); - }, RangeError, 'readUInt' + bits + 'LE'); - assert.throws(function() { - buf['readInt' + bits + 'BE'](0); - }, RangeError, 'readInt' + bits + 'BE()'); - assert.throws(function() { - buf['readInt' + bits + 'LE'](0); - }, RangeError, 'readInt' + bits + 'LE()'); -}); -[16, 32].forEach(function(bits) { - var buf = Buffer.from([0xFF, 0xFF, 0xFF, 0xFF]); - assert.equal(buf['readUInt' + bits + 'BE'](0), (0xFFFFFFFF >>> (32 - bits))); - assert.equal(buf['readUInt' + bits + 'LE'](0), (0xFFFFFFFF >>> (32 - bits))); - assert.equal(buf['readInt' + bits + 'BE'](0), (0xFFFFFFFF >> (32 - bits))); - assert.equal(buf['readInt' + bits + 'LE'](0), (0xFFFFFFFF >> (32 - bits))); -}); -{ - var buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06]); - assert.strictEqual(buf.readUIntLE(0, 1), 0x01); - assert.strictEqual(buf.readUIntBE(0, 1), 0x01); - assert.strictEqual(buf.readUIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readUIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readUIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readUIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readUIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readUIntBE(0, 6), 0x010203040506); - assert.strictEqual(buf.readIntLE(0, 1), 0x01); - assert.strictEqual(buf.readIntBE(0, 1), 0x01); - assert.strictEqual(buf.readIntLE(0, 3), 0x030201); - assert.strictEqual(buf.readIntBE(0, 3), 0x010203); - assert.strictEqual(buf.readIntLE(0, 5), 0x0504030201); - assert.strictEqual(buf.readIntBE(0, 5), 0x0102030405); - assert.strictEqual(buf.readIntLE(0, 6), 0x060504030201); - assert.strictEqual(buf.readIntBE(0, 6), 0x010203040506); -} -{ - var buf = Buffer.allocUnsafe(3); - buf.writeUIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 3), 0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeUIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readUIntBE(0, 3), 0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 3), 0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); - assert.equal(buf.readIntBE(0, 3), 0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x123456, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]); - assert.equal(buf.readIntBE(0, 3), -0x123456); - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]); - assert.equal(buf.readIntLE(0, 3), -0x123400); - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x123400, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x123400); - buf = Buffer.allocUnsafe(3); - buf.writeIntLE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]); - assert.equal(buf.readIntLE(0, 3), -0x120000); - buf = Buffer.allocUnsafe(3); - buf.writeIntBE(-0x120000, 0, 3); - assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 3), -0x120000); - buf = Buffer.allocUnsafe(5); - buf.writeUIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readUIntLE(0, 5), 0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeUIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readUIntBE(0, 5), 0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); - assert.equal(buf.readIntLE(0, 5), 0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); - assert.equal(buf.readIntBE(0, 5), 0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x70, 0x87, 0xa9, 0xcb, 0xed]); - assert.equal(buf.readIntLE(0, 5), -0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(-0x1234567890, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xa9, 0x87, 0x70]); - assert.equal(buf.readIntBE(0, 5), -0x1234567890); - buf = Buffer.allocUnsafe(5); - buf.writeIntLE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0x00, 0xee, 0xff]); - assert.equal(buf.readIntLE(0, 5), -0x0012000000); - buf = Buffer.allocUnsafe(5); - buf.writeIntBE(-0x0012000000, 0, 5); - assert.deepStrictEqual(buf.toJSON().data, [0xff, 0xee, 0x00, 0x00, 0x00]); - assert.equal(buf.readIntBE(0, 5), -0x0012000000); -} -{ - var buf = Buffer.from('0123456789'); - assert.equal(buf.slice(-10, 10), '0123456789'); - assert.equal(buf.slice(-20, 10), '0123456789'); - assert.equal(buf.slice(-20, -10), ''); - assert.equal(buf.slice(), '0123456789'); - assert.equal(buf.slice(0), '0123456789'); - assert.equal(buf.slice(0, 0), ''); - assert.equal(buf.slice(undefined), '0123456789'); - assert.equal(buf.slice('foobar'), '0123456789'); - assert.equal(buf.slice(undefined, undefined), '0123456789'); - assert.equal(buf.slice(2), '23456789'); - assert.equal(buf.slice(5), '56789'); - assert.equal(buf.slice(10), ''); - assert.equal(buf.slice(5, 8), '567'); - assert.equal(buf.slice(8, -1), '8'); - assert.equal(buf.slice(-10), '0123456789'); - assert.equal(buf.slice(0, -9), '0'); - assert.equal(buf.slice(0, -10), ''); - assert.equal(buf.slice(0, -1), '012345678'); - assert.equal(buf.slice(2, -2), '234567'); - assert.equal(buf.slice(0, 65536), '0123456789'); - assert.equal(buf.slice(65536, 0), ''); - assert.equal(buf.slice(-5, -8), ''); - assert.equal(buf.slice(-5, -3), '56'); - assert.equal(buf.slice(-10, 10), '0123456789'); - for (var i = 0, - s = buf.toString(); i < buf.length; ++i) { - assert.equal(buf.slice(i), s.slice(i)); - assert.equal(buf.slice(0, i), s.slice(0, i)); - assert.equal(buf.slice(-i), s.slice(-i)); - assert.equal(buf.slice(0, -i), s.slice(0, -i)); - } - var utf16Buf = Buffer.from('0123456789', 'utf16le'); - assert.equal(buf.slice('0', '1'), '0'); - assert.equal(buf.slice('-5', '10'), '56789'); - assert.equal(buf.slice('-10', '10'), '0123456789'); - assert.equal(buf.slice('-10', '-5'), '01234'); - assert.equal(buf.slice('-10', '-0'), ''); - assert.equal(buf.slice('111'), ''); - assert.equal(buf.slice('0', '-111'), ''); - Buffer.alloc(0).slice(0, 1); -} -assert.throws(function() { - Buffer.from('', 'buffer'); -}, TypeError); -{ - var a = [0]; - for (var i = 0; i < 7; ++i) - a = a.concat(a); - a = a.map(function(_, i) { - return i; - }); - var b = Buffer.from(a); - var c = Buffer.from(b); - assert.strictEqual(b.length, a.length); - assert.strictEqual(c.length, a.length); - for (var i = 0, - k = a.length; i < k; ++i) { - assert.strictEqual(a[i], i); - assert.strictEqual(b[i], i); - assert.strictEqual(c[i], i); - } -} -assert.throws(function() { - Buffer.allocUnsafe((-1 >>> 0) + 1); -}, RangeError); -assert.throws(function() { - Buffer.allocUnsafeSlow((-1 >>> 0) + 1); -}, RangeError); -if (common.hasCrypto) { - var crypto = require('crypto'); - var b1 = Buffer.from('YW55=======', 'base64'); - var b2 = Buffer.from('YW55', 'base64'); - assert.equal(crypto.createHash('sha1').update(b1).digest('hex'), crypto.createHash('sha1').update(b2).digest('hex')); -} else { - common.skip('missing crypto'); -} -{ - var b = Buffer.alloc(1, 'a'); - var c = Buffer.alloc(1, 'c'); - var d = Buffer.alloc(2, 'aa'); - assert.equal(b.compare(c), -1); - assert.equal(c.compare(d), 1); - assert.equal(d.compare(b), 1); - assert.equal(b.compare(d), -1); - assert.equal(b.compare(b), 0); - assert.equal(Buffer.compare(b, c), -1); - assert.equal(Buffer.compare(c, d), 1); - assert.equal(Buffer.compare(d, b), 1); - assert.equal(Buffer.compare(b, d), -1); - assert.equal(Buffer.compare(c, c), 0); - assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(0)), 0); - assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(1)), -1); - assert.equal(Buffer.compare(Buffer.alloc(1), Buffer.alloc(0)), 1); -} -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - Buffer.compare(b, 'abc'); -}); -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - Buffer.compare('abc', b); -}); -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - b.compare('abc'); -}); -{ - var b = Buffer.alloc(5, 'abcdf'); - var c = Buffer.alloc(5, 'abcdf'); - var d = Buffer.alloc(5, 'abcde'); - var e = Buffer.alloc(6, 'abcdef'); - assert.ok(b.equals(c)); - assert.ok(!c.equals(d)); - assert.ok(!d.equals(e)); - assert.ok(d.equals(d)); -} -assert.throws(function() { - var b = Buffer.allocUnsafe(1); - b.equals('abc'); -}); -assert.throws(() => { - Buffer.allocUnsafe(1422561062959).toString('utf8'); -}); -var ps = Buffer.poolSize; -Buffer.poolSize = 0; -assert.equal(Buffer.allocUnsafe(1).parent, undefined); -Buffer.poolSize = ps; -assert.throws(function() { - Buffer.allocUnsafe(10).copy(); -}); -var regErrorMsg = new RegExp('First argument must be a string, Buffer, ' + 'ArrayBuffer, Array, or array-like object.'); -assert.throws(function() { - Buffer.from(); -}, regErrorMsg); -assert.throws(function() { - Buffer.from(null); -}, regErrorMsg); -assert.throws(function() { - Buffer.from(new ArrayBuffer(0), -1 >>> 0); -}, /RangeError: 'offset' is out of bounds/); -assert.throws(() => { - var a = Buffer(1).fill(0); - var b = Buffer(1).fill(0); - a.copy(b, 0, 0x100000000, 0x100000001); -}), /out of range index/; -var ubuf = Buffer.allocUnsafeSlow(10); -assert(ubuf); -assert(ubuf.buffer); -assert.equal(ubuf.buffer.byteLength, 10); -assert.doesNotThrow(() => { - Buffer.from(new ArrayBuffer()); -}); -assert.throws(() => Buffer.alloc(-Buffer.poolSize), '"size" argument must not be negative'); -assert.throws(() => Buffer.alloc(-100), '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafe(-Buffer.poolSize), '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafe(-100), '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafeSlow(-Buffer.poolSize), '"size" argument must not be negative'); -assert.throws(() => Buffer.allocUnsafeSlow(-100), '"size" argument must not be negative'); -assert.throws(() => Buffer.alloc({valueOf: () => 1}), /"size" argument must be a number/); -assert.throws(() => Buffer.alloc({valueOf: () => -1}), /"size" argument must be a number/); diff --git a/jspm_packages/npm/buffer@5.1.0.js b/jspm_packages/npm/buffer@5.1.0.js new file mode 100644 index 0000000..75f4040 --- /dev/null +++ b/jspm_packages/npm/buffer@5.1.0.js @@ -0,0 +1 @@ +module.exports = require("npm:buffer@5.1.0/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/buffer@5.1.0/.jspm-hash b/jspm_packages/npm/buffer@5.1.0/.jspm-hash new file mode 100644 index 0000000..4b11399 --- /dev/null +++ b/jspm_packages/npm/buffer@5.1.0/.jspm-hash @@ -0,0 +1 @@ +c913e43678c7cb7c8bd16afbcddb6c5505e8f9fe99914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/buffer@5.0.7/.travis.yml b/jspm_packages/npm/buffer@5.1.0/.travis.yml similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/.travis.yml rename to jspm_packages/npm/buffer@5.1.0/.travis.yml diff --git a/jspm_packages/npm/buffer@5.0.7/AUTHORS.md b/jspm_packages/npm/buffer@5.1.0/AUTHORS.md similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/AUTHORS.md rename to jspm_packages/npm/buffer@5.1.0/AUTHORS.md diff --git a/jspm_packages/npm/buffer@5.0.7/LICENSE b/jspm_packages/npm/buffer@5.1.0/LICENSE similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/LICENSE rename to jspm_packages/npm/buffer@5.1.0/LICENSE diff --git a/jspm_packages/npm/buffer@5.0.7/README.md b/jspm_packages/npm/buffer@5.1.0/README.md similarity index 99% rename from jspm_packages/npm/buffer@5.0.7/README.md rename to jspm_packages/npm/buffer@5.1.0/README.md index e925100..1086896 100644 --- a/jspm_packages/npm/buffer@5.0.7/README.md +++ b/jspm_packages/npm/buffer@5.1.0/README.md @@ -28,7 +28,7 @@ instance methods, and class methods that are supported. - Manipulate binary data like a boss, in all browsers! - Super fast. Backed by Typed Arrays (`Uint8Array`/`ArrayBuffer`, not `Object`) - Extremely small bundle size (**6.75KB minified + gzipped**, 51.9KB with comments) -- Excellent browser support (IE 11, Edge, Chrome, Firefox, Safari 5.1+, Opera, iOS, etc.) +- Excellent browser support (Chrome, Firefox, Edge, Safari 9+, IE 11, iOS 9+, Android, etc.) - Preserves Node API exactly, with one minor difference (see below) - Square-bracket `buf[4]` notation works! - Does not modify any browser prototypes or put anything on `window` @@ -154,7 +154,7 @@ sanity check (since `BrowserBuffer` uses `Uint8Array` under the hood, `Uint8Arra always be at least a bit faster). Finally, `NodeBuffer` is the node.js buffer module, which is included to compare against. -NOTE: Performance has improved since these benchmarks were taken. PR welcoem to update the README. +NOTE: Performance has improved since these benchmarks were taken. PR welcome to update the README. ### Chrome 38 diff --git a/jspm_packages/npm/buffer@5.0.7/index.js b/jspm_packages/npm/buffer@5.1.0/index.js similarity index 95% rename from jspm_packages/npm/buffer@5.0.7/index.js rename to jspm_packages/npm/buffer@5.1.0/index.js index f696940..8ea2326 100644 --- a/jspm_packages/npm/buffer@5.0.7/index.js +++ b/jspm_packages/npm/buffer@5.1.0/index.js @@ -1,7 +1,7 @@ /*! * The buffer module from node.js, for the browser. * - * @author Feross Aboukhadijeh + * @author Feross Aboukhadijeh * @license MIT */ /* eslint-disable no-proto */ @@ -53,6 +53,24 @@ function typedArraySupport () { } } +Object.defineProperty(Buffer.prototype, 'parent', { + get: function () { + if (!(this instanceof Buffer)) { + return undefined + } + return this.buffer + } +}) + +Object.defineProperty(Buffer.prototype, 'offset', { + get: function () { + if (!(this instanceof Buffer)) { + return undefined + } + return this.byteOffset + } +}) + function createBuffer (length) { if (length > K_MAX_LENGTH) { throw new RangeError('Invalid typed array length') @@ -104,7 +122,7 @@ function from (value, encodingOrOffset, length) { throw new TypeError('"value" argument must not be a number') } - if (isArrayBuffer(value)) { + if (isArrayBuffer(value) || (value && isArrayBuffer(value.buffer))) { return fromArrayBuffer(value, encodingOrOffset, length) } @@ -134,7 +152,7 @@ Buffer.__proto__ = Uint8Array function assertSize (size) { if (typeof size !== 'number') { - throw new TypeError('"size" argument must be a number') + throw new TypeError('"size" argument must be of type number') } else if (size < 0) { throw new RangeError('"size" argument must not be negative') } @@ -188,7 +206,7 @@ function fromString (string, encoding) { } if (!Buffer.isEncoding(encoding)) { - throw new TypeError('"encoding" must be a valid string encoding') + throw new TypeError('Unknown encoding: ' + encoding) } var length = byteLength(string, encoding) | 0 @@ -217,11 +235,11 @@ function fromArrayLike (array) { function fromArrayBuffer (array, byteOffset, length) { if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('\'offset\' is out of bounds') + throw new RangeError('"offset" is outside of buffer bounds') } if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('\'length\' is out of bounds') + throw new RangeError('"length" is outside of buffer bounds') } var buf @@ -252,7 +270,7 @@ function fromObject (obj) { } if (obj) { - if (isArrayBufferView(obj) || 'length' in obj) { + if (ArrayBuffer.isView(obj) || 'length' in obj) { if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) { return createBuffer(0) } @@ -264,7 +282,7 @@ function fromObject (obj) { } } - throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') + throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object.') } function checked (length) { @@ -351,6 +369,9 @@ Buffer.concat = function concat (list, length) { var pos = 0 for (i = 0; i < list.length; ++i) { var buf = list[i] + if (ArrayBuffer.isView(buf)) { + buf = Buffer.from(buf) + } if (!Buffer.isBuffer(buf)) { throw new TypeError('"list" argument must be an Array of Buffers') } @@ -364,7 +385,7 @@ function byteLength (string, encoding) { if (Buffer.isBuffer(string)) { return string.length } - if (isArrayBufferView(string) || isArrayBuffer(string)) { + if (ArrayBuffer.isView(string) || isArrayBuffer(string)) { return string.byteLength } if (typeof string !== 'string') { @@ -532,6 +553,8 @@ Buffer.prototype.toString = function toString () { return slowToString.apply(this, arguments) } +Buffer.prototype.toLocaleString = Buffer.prototype.toString + Buffer.prototype.equals = function equals (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') if (this === b) return true @@ -752,9 +775,7 @@ function hexWrite (buf, string, offset, length) { } } - // must be an even number of digits var strLen = string.length - if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') if (length > strLen / 2) { length = strLen / 2 @@ -1447,6 +1468,7 @@ Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) Buffer.prototype.copy = function copy (target, targetStart, start, end) { + if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer') if (!start) start = 0 if (!end && end !== 0) end = this.length if (targetStart >= target.length) targetStart = target.length @@ -1461,7 +1483,7 @@ Buffer.prototype.copy = function copy (target, targetStart, start, end) { if (targetStart < 0) { throw new RangeError('targetStart out of bounds') } - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') + if (start < 0 || start >= this.length) throw new RangeError('Index out of range') if (end < 0) throw new RangeError('sourceEnd out of bounds') // Are we oob? @@ -1471,22 +1493,19 @@ Buffer.prototype.copy = function copy (target, targetStart, start, end) { } var len = end - start - var i - if (this === target && start < targetStart && targetStart < end) { + if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') { + // Use built-in when available, missing from IE11 + this.copyWithin(targetStart, start, end) + } else if (this === target && start < targetStart && targetStart < end) { // descending copy from end - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start] - } - } else if (len < 1000) { - // ascending copy from start - for (i = 0; i < len; ++i) { + for (var i = len - 1; i >= 0; --i) { target[i + targetStart] = this[i + start] } } else { Uint8Array.prototype.set.call( target, - this.subarray(start, start + len), + this.subarray(start, end), targetStart ) } @@ -1509,18 +1528,20 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) { encoding = end end = this.length } - if (val.length === 1) { - var code = val.charCodeAt(0) - if (code < 256) { - val = code - } - } if (encoding !== undefined && typeof encoding !== 'string') { throw new TypeError('encoding must be a string') } if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } + if (val.length === 1) { + var code = val.charCodeAt(0) + if ((encoding === 'utf8' && code < 128) || + encoding === 'latin1') { + // Fast path: If `val` fits into a single byte, use that numeric value. + val = code + } + } } else if (typeof val === 'number') { val = val & 255 } @@ -1549,6 +1570,10 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) { ? val : new Buffer(val, encoding) var len = bytes.length + if (len === 0) { + throw new TypeError('The value "' + val + + '" is invalid for argument "value"') + } for (i = 0; i < end - start; ++i) { this[i + start] = bytes[i % len] } @@ -1563,6 +1588,8 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) { var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g function base64clean (str) { + // Node takes equal signs as end of the Base64 encoding + str = str.split('=')[0] // Node strips out invalid characters like \n and \t from the string, base64-js does not str = str.trim().replace(INVALID_BASE64_RE, '') // Node converts strings with length < 2 to '' @@ -1704,11 +1731,6 @@ function isArrayBuffer (obj) { typeof obj.byteLength === 'number') } -// Node 0.10 supports `ArrayBuffer` but lacks `ArrayBuffer.isView` -function isArrayBufferView (obj) { - return (typeof ArrayBuffer.isView === 'function') && ArrayBuffer.isView(obj) -} - function numberIsNaN (obj) { return obj !== obj // eslint-disable-line no-self-compare } diff --git a/jspm_packages/npm/buffer@5.0.7/package.json b/jspm_packages/npm/buffer@5.1.0/package.json similarity index 97% rename from jspm_packages/npm/buffer@5.0.7/package.json rename to jspm_packages/npm/buffer@5.1.0/package.json index cb3ed32..409f3be 100644 --- a/jspm_packages/npm/buffer@5.0.7/package.json +++ b/jspm_packages/npm/buffer@5.1.0/package.json @@ -1,7 +1,7 @@ { "name": "buffer", "description": "Node.js Buffer API, for the browser", - "version": "5.0.7", + "version": "5.1.0", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -70,6 +70,7 @@ "standard": { "ignore": [ "test/node/**/*.js", + "test/common.js", "test/_polyfill.js", "perf/**/*.js" ] diff --git a/jspm_packages/npm/buffer@5.0.7/test/base64.js b/jspm_packages/npm/buffer@5.1.0/test/base64.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/base64.js rename to jspm_packages/npm/buffer@5.1.0/test/base64.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/basic.js b/jspm_packages/npm/buffer@5.1.0/test/basic.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/basic.js rename to jspm_packages/npm/buffer@5.1.0/test/basic.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/compare.js b/jspm_packages/npm/buffer@5.1.0/test/compare.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/compare.js rename to jspm_packages/npm/buffer@5.1.0/test/compare.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/constructor.js b/jspm_packages/npm/buffer@5.1.0/test/constructor.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/constructor.js rename to jspm_packages/npm/buffer@5.1.0/test/constructor.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/from-string.js b/jspm_packages/npm/buffer@5.1.0/test/from-string.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/from-string.js rename to jspm_packages/npm/buffer@5.1.0/test/from-string.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/is-buffer.js b/jspm_packages/npm/buffer@5.1.0/test/is-buffer.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/is-buffer.js rename to jspm_packages/npm/buffer@5.1.0/test/is-buffer.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/methods.js b/jspm_packages/npm/buffer@5.1.0/test/methods.js similarity index 92% rename from jspm_packages/npm/buffer@5.0.7/test/methods.js rename to jspm_packages/npm/buffer@5.1.0/test/methods.js index b780ed1..bb4a06c 100644 --- a/jspm_packages/npm/buffer@5.0.7/test/methods.js +++ b/jspm_packages/npm/buffer@5.1.0/test/methods.js @@ -47,6 +47,12 @@ test('concat() a varying number of buffers', function(t) { t.equal(flatLongLen.toString(), (new Array(10 + 1).join('asdf'))); t.end(); }); +test('concat() works on Uint8Array instances', function(t) { + var result = B.concat([new Uint8Array([1, 2]), new Uint8Array([3, 4])]); + var expected = Buffer.from([1, 2, 3, 4]); + t.deepEqual(result, expected); + t.end(); +}); test('fill', function(t) { var b = new B(10); b.fill(2); diff --git a/jspm_packages/npm/buffer@5.1.0/test/node/common.js b/jspm_packages/npm/buffer@5.1.0/test/node/common.js new file mode 100644 index 0000000..27d62ef --- /dev/null +++ b/jspm_packages/npm/buffer@5.1.0/test/node/common.js @@ -0,0 +1,101 @@ +/* */ +(function(process) { + 'use strict'; + const assert = require('assert'); + const mustCallChecks = []; + function runCallChecks(exitCode) { + if (exitCode !== 0) + return; + const failed = mustCallChecks.filter(function(context) { + if ('minimum' in context) { + context.messageSegment = `at least ${context.minimum}`; + return context.actual < context.minimum; + } else { + context.messageSegment = `exactly ${context.exact}`; + return context.actual !== context.exact; + } + }); + failed.forEach(function(context) { + console.log('Mismatched %s function calls. Expected %s, actual %d.', context.name, context.messageSegment, context.actual); + console.log(context.stack.split('\n').slice(2).join('\n')); + }); + if (failed.length) + process.exit(1); + } + exports.mustCall = function(fn, exact) { + return _mustCallInner(fn, exact, 'exact'); + }; + function _mustCallInner(fn, criteria = 1, field) { + if (process._exiting) + throw new Error('Cannot use common.mustCall*() in process exit handler'); + if (typeof fn === 'number') { + criteria = fn; + fn = noop; + } else if (fn === undefined) { + fn = noop; + } + if (typeof criteria !== 'number') + throw new TypeError(`Invalid ${field} value: ${criteria}`); + const context = { + [field]: criteria, + actual: 0, + stack: (new Error()).stack, + name: fn.name || '' + }; + if (mustCallChecks.length === 0) + process.on('exit', runCallChecks); + mustCallChecks.push(context); + return function() { + context.actual++; + return fn.apply(this, arguments); + }; + } + exports.printSkipMessage = function(msg) {}; + exports.expectsError = function expectsError(fn, settings, exact) { + if (typeof fn !== 'function') { + exact = settings; + settings = fn; + fn = undefined; + } + function innerFn(error) { + if ('type' in settings) { + const type = settings.type; + if (type !== Error && !Error.isPrototypeOf(type)) { + throw new TypeError('`settings.type` must inherit from `Error`'); + } + assert(error instanceof type, `${error.name} is not instance of ${type.name}`); + let typeName = error.constructor.name; + if (typeName === 'NodeError' && type.name !== 'NodeError') { + typeName = Object.getPrototypeOf(error.constructor).name; + } + assert.strictEqual(typeName, type.name); + } + if ('message' in settings) { + const message = settings.message; + if (typeof message === 'string') { + assert.strictEqual(error.message, message); + } else { + assert(message.test(error.message), `${error.message} does not match ${message}`); + } + } + if ('name' in settings) { + assert.strictEqual(error.name, settings.name); + } + if (error.constructor.name === 'AssertionError') { + ['generatedMessage', 'actual', 'expected', 'operator'].forEach((key) => { + if (key in settings) { + const actual = error[key]; + const expected = settings[key]; + assert.strictEqual(actual, expected, `${key}: expected ${expected}, not ${actual}`); + } + }); + } + return true; + } + if (fn) { + assert.throws(fn, innerFn); + return; + } + return exports.mustCall(innerFn, exact); + }; +})(require('process')); diff --git a/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-alloc.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-alloc.js new file mode 100644 index 0000000..a8b73da --- /dev/null +++ b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-alloc.js @@ -0,0 +1,701 @@ +/* */ +(function(process) { + 'use strict'; + var Buffer = require('../../index').Buffer; + const common = require('./common'); + const assert = require('assert'); + const vm = require('vm'); + const SlowBuffer = require('../../index').SlowBuffer; + const b = Buffer.allocUnsafe(1024); + assert.strictEqual(1024, b.length); + b[0] = -1; + assert.strictEqual(b[0], 255); + for (let i = 0; i < 1024; i++) { + b[i] = i % 256; + } + for (let i = 0; i < 1024; i++) { + assert.strictEqual(i % 256, b[i]); + } + const c = Buffer.allocUnsafe(512); + assert.strictEqual(512, c.length); + const d = Buffer.from([]); + assert.strictEqual(0, d.length); + { + const b = Buffer.alloc(128); + assert.strictEqual(128, b.length); + assert.strictEqual(0, b.byteOffset); + assert.strictEqual(0, b.offset); + } + { + const ui32 = new Uint32Array(4).fill(42); + const e = Buffer.from(ui32); + for (const [index, value] of e.entries()) { + assert.strictEqual(value, ui32[index]); + } + } + { + const ui32 = new Uint32Array(4).fill(42); + const e = Buffer(ui32); + for (const [key, value] of e.entries()) { + assert.deepStrictEqual(value, ui32[key]); + } + } + assert.throws(() => b.toString('invalid'), /Unknown encoding: invalid/); + assert.throws(() => b.write('test string', 0, 5, 'invalid'), /Unknown encoding: invalid/); + assert.throws(() => b.write('test', 'utf8', 0), /is no longer supported/); + assert.doesNotThrow(() => Buffer.from('')); + assert.doesNotThrow(() => Buffer.from('', 'ascii')); + assert.doesNotThrow(() => Buffer.from('', 'latin1')); + assert.doesNotThrow(() => Buffer.alloc(0)); + assert.doesNotThrow(() => Buffer.allocUnsafe(0)); + assert.doesNotThrow(() => new Buffer('')); + assert.doesNotThrow(() => new Buffer('', 'ascii')); + assert.doesNotThrow(() => new Buffer('', 'latin1')); + assert.doesNotThrow(() => new Buffer('', 'binary')); + assert.doesNotThrow(() => Buffer(0)); + assert.throws(() => b.write('', 2048), RangeError); + assert.throws(() => b.write('a', -1), RangeError); + assert.throws(() => b.write('a', 2048), RangeError); + assert.throws(() => b.write('a', -1), RangeError); + b.copy(Buffer.alloc(0), 0, 0, 0); + b.copy(Buffer.alloc(0), 1, 1, 1); + b.copy(Buffer.alloc(1), 1, 1, 1); + b.copy(Buffer.alloc(1), 0, 2048, 2048); + { + const writeTest = Buffer.from('abcdes'); + writeTest.write('n', 'ascii'); + writeTest.write('o', '1', 'ascii'); + writeTest.write('d', '2', 'ascii'); + writeTest.write('e', 3, 'ascii'); + writeTest.write('j', 4, 'ascii'); + assert.strictEqual(writeTest.toString(), 'nodejs'); + } + assert.doesNotThrow(() => Buffer.alloc(1).write('', 1, 0)); + { + const asciiString = 'hello world'; + for (let i = 0; i < asciiString.length; i++) { + b[i] = asciiString.charCodeAt(i); + } + const asciiSlice = b.toString('ascii', 0, asciiString.length); + assert.strictEqual(asciiString, asciiSlice); + } + { + const asciiString = 'hello world'; + const offset = 100; + assert.strictEqual(asciiString.length, b.write(asciiString, offset, 'ascii')); + const asciiSlice = b.toString('ascii', offset, offset + asciiString.length); + assert.strictEqual(asciiString, asciiSlice); + } + { + const asciiString = 'hello world'; + const offset = 100; + const sliceA = b.slice(offset, offset + asciiString.length); + const sliceB = b.slice(offset, offset + asciiString.length); + for (let i = 0; i < asciiString.length; i++) { + assert.strictEqual(sliceA[i], sliceB[i]); + } + } + { + const utf8String = '¡hέlló wôrld!'; + const offset = 100; + b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8'); + let utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String)); + assert.strictEqual(utf8String, utf8Slice); + assert.strictEqual(Buffer.byteLength(utf8String), b.write(utf8String, offset, 'utf8')); + utf8Slice = b.toString('utf8', offset, offset + Buffer.byteLength(utf8String)); + assert.strictEqual(utf8String, utf8Slice); + const sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String)); + const sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String)); + for (let i = 0; i < Buffer.byteLength(utf8String); i++) { + assert.strictEqual(sliceA[i], sliceB[i]); + } + } + { + const slice = b.slice(100, 150); + assert.strictEqual(50, slice.length); + for (let i = 0; i < 50; i++) { + assert.strictEqual(b[100 + i], slice[i]); + } + } + { + const b = Buffer.allocUnsafe(5); + const c = b.slice(0, 4); + const d = c.slice(0, 2); + assert.strictEqual(b.parent, c.parent); + assert.strictEqual(b.parent, d.parent); + } + { + const b = Buffer.allocUnsafeSlow(5); + const c = b.slice(0, 4); + const d = c.slice(0, 2); + assert.strictEqual(c.parent, d.parent); + } + { + const testValue = '\u00F6\u65E5\u672C\u8A9E'; + const buffer = Buffer.allocUnsafe(32); + const size = buffer.write(testValue, 0, 'utf8'); + const slice = buffer.toString('utf8', 0, size); + assert.strictEqual(slice, testValue); + } + { + const a = Buffer.allocUnsafe(8); + for (let i = 0; i < 8; i++) + a[i] = i; + const b = a.slice(4, 8); + assert.strictEqual(4, b[0]); + assert.strictEqual(5, b[1]); + assert.strictEqual(6, b[2]); + assert.strictEqual(7, b[3]); + const c = b.slice(2, 4); + assert.strictEqual(6, c[0]); + assert.strictEqual(7, c[1]); + } + { + const d = Buffer.from([23, 42, 255]); + assert.strictEqual(d.length, 3); + assert.strictEqual(d[0], 23); + assert.strictEqual(d[1], 42); + assert.strictEqual(d[2], 255); + assert.deepStrictEqual(d, Buffer.from(d)); + } + { + const e = Buffer.from('über'); + assert.deepStrictEqual(e, Buffer.from([195, 188, 98, 101, 114])); + } + { + const f = Buffer.from('über', 'ascii'); + assert.deepStrictEqual(f, Buffer.from([252, 98, 101, 114])); + } + ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach((encoding) => { + { + const f = Buffer.from('über', encoding); + assert.deepStrictEqual(f, Buffer.from([252, 0, 98, 0, 101, 0, 114, 0])); + } + { + const f = Buffer.from('привет', encoding); + assert.deepStrictEqual(f, Buffer.from([63, 4, 64, 4, 56, 4, 50, 4, 53, 4, 66, 4])); + assert.strictEqual(f.toString(encoding), 'привет'); + } + { + const f = Buffer.from([0, 0, 0, 0, 0]); + assert.strictEqual(f.length, 5); + const size = f.write('あいうえお', encoding); + assert.strictEqual(size, 4); + assert.deepStrictEqual(f, Buffer.from([0x42, 0x30, 0x44, 0x30, 0x00])); + } + }); + { + const f = Buffer.from('\uD83D\uDC4D', 'utf-16le'); + assert.strictEqual(f.length, 4); + assert.deepStrictEqual(f, Buffer.from('3DD84DDC', 'hex')); + } + { + const arrayIsh = { + 0: 0, + 1: 1, + 2: 2, + 3: 3, + length: 4 + }; + let g = Buffer.from(arrayIsh); + assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); + const strArrayIsh = { + 0: '0', + 1: '1', + 2: '2', + 3: '3', + length: 4 + }; + g = Buffer.from(strArrayIsh); + assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3])); + } + assert.strictEqual('TWFu', (Buffer.from('Man')).toString('base64')); + { + const expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff]; + assert.deepStrictEqual(Buffer.from('//++/++/++//', 'base64'), Buffer.from(expected)); + assert.deepStrictEqual(Buffer.from('__--_--_--__', 'base64'), Buffer.from(expected)); + } + { + const quote = 'Man is distinguished, not only by his reason, but by this ' + 'singular passion from other animals, which is a lust ' + 'of the mind, that by a perseverance of delight in the ' + 'continued and indefatigable generation of knowledge, ' + 'exceeds the short vehemence of any carnal pleasure.'; + const expected = 'TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb' + '24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlci' + 'BhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQ' + 'gYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu' + 'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' + 'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' + '5hbCBwbGVhc3VyZS4='; + assert.strictEqual(expected, (Buffer.from(quote)).toString('base64')); + let b = Buffer.allocUnsafe(1024); + let bytesWritten = b.write(expected, 0, 'base64'); + assert.strictEqual(quote.length, bytesWritten); + assert.strictEqual(quote, b.toString('ascii', 0, quote.length)); + const expectedWhite = `${expected.slice(0, 60)} \n` + `${expected.slice(60, 120)} \n` + `${expected.slice(120, 180)} \n` + `${expected.slice(180, 240)} \n` + `${expected.slice(240, 300)}\n` + `${expected.slice(300, 360)}\n`; + b = Buffer.allocUnsafe(1024); + bytesWritten = b.write(expectedWhite, 0, 'base64'); + assert.strictEqual(quote.length, bytesWritten); + assert.strictEqual(quote, b.toString('ascii', 0, quote.length)); + b = Buffer.from(expectedWhite, 'base64'); + assert.strictEqual(quote.length, b.length); + assert.strictEqual(quote, b.toString('ascii', 0, quote.length)); + const expectedIllegal = expected.slice(0, 60) + ' \x80' + expected.slice(60, 120) + ' \xff' + expected.slice(120, 180) + ' \x00' + expected.slice(180, 240) + ' \x98' + expected.slice(240, 300) + '\x03' + expected.slice(300, 360); + b = Buffer.from(expectedIllegal, 'base64'); + assert.strictEqual(quote.length, b.length); + assert.strictEqual(quote, b.toString('ascii', 0, quote.length)); + } + assert.strictEqual(Buffer.from('', 'base64').toString(), ''); + assert.strictEqual(Buffer.from('K', 'base64').toString(), ''); + assert.strictEqual(Buffer.from('Kg==', 'base64').toString(), '*'); + assert.strictEqual(Buffer.from('Kio=', 'base64').toString(), '*'.repeat(2)); + assert.strictEqual(Buffer.from('Kioq', 'base64').toString(), '*'.repeat(3)); + assert.strictEqual(Buffer.from('KioqKg==', 'base64').toString(), '*'.repeat(4)); + assert.strictEqual(Buffer.from('KioqKio=', 'base64').toString(), '*'.repeat(5)); + assert.strictEqual(Buffer.from('KioqKioq', 'base64').toString(), '*'.repeat(6)); + assert.strictEqual(Buffer.from('KioqKioqKg==', 'base64').toString(), '*'.repeat(7)); + assert.strictEqual(Buffer.from('KioqKioqKio=', 'base64').toString(), '*'.repeat(8)); + assert.strictEqual(Buffer.from('KioqKioqKioq', 'base64').toString(), '*'.repeat(9)); + assert.strictEqual(Buffer.from('KioqKioqKioqKg==', 'base64').toString(), '*'.repeat(10)); + assert.strictEqual(Buffer.from('KioqKioqKioqKio=', 'base64').toString(), '*'.repeat(11)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioq', 'base64').toString(), '*'.repeat(12)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKg==', 'base64').toString(), '*'.repeat(13)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKio=', 'base64').toString(), '*'.repeat(14)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioq', 'base64').toString(), '*'.repeat(15)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKg==', 'base64').toString(), '*'.repeat(16)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKio=', 'base64').toString(), '*'.repeat(17)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKioq', 'base64').toString(), '*'.repeat(18)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKioqKg==', 'base64').toString(), '*'.repeat(19)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKioqKio=', 'base64').toString(), '*'.repeat(20)); + assert.strictEqual(Buffer.from('Kg', 'base64').toString(), '*'); + assert.strictEqual(Buffer.from('Kio', 'base64').toString(), '*'.repeat(2)); + assert.strictEqual(Buffer.from('KioqKg', 'base64').toString(), '*'.repeat(4)); + assert.strictEqual(Buffer.from('KioqKio', 'base64').toString(), '*'.repeat(5)); + assert.strictEqual(Buffer.from('KioqKioqKg', 'base64').toString(), '*'.repeat(7)); + assert.strictEqual(Buffer.from('KioqKioqKio', 'base64').toString(), '*'.repeat(8)); + assert.strictEqual(Buffer.from('KioqKioqKioqKg', 'base64').toString(), '*'.repeat(10)); + assert.strictEqual(Buffer.from('KioqKioqKioqKio', 'base64').toString(), '*'.repeat(11)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKg', 'base64').toString(), '*'.repeat(13)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKio', 'base64').toString(), '*'.repeat(14)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKg', 'base64').toString(), '*'.repeat(16)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKio', 'base64').toString(), '*'.repeat(17)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKioqKg', 'base64').toString(), '*'.repeat(19)); + assert.strictEqual(Buffer.from('KioqKioqKioqKioqKioqKioqKio', 'base64').toString(), '*'.repeat(20)); + assert.strictEqual(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw==', 'base64').length, 32); + assert.strictEqual(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw=', 'base64').length, 32); + assert.strictEqual(Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw', 'base64').length, 32); + assert.strictEqual(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg==', 'base64').length, 31); + assert.strictEqual(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg=', 'base64').length, 31); + assert.strictEqual(Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg', 'base64').length, 31); + { + const dot = Buffer.from('//4uAA==', 'base64'); + assert.strictEqual(dot[0], 0xff); + assert.strictEqual(dot[1], 0xfe); + assert.strictEqual(dot[2], 0x2e); + assert.strictEqual(dot[3], 0x00); + assert.strictEqual(dot.toString('base64'), '//4uAA=='); + } + { + const segments = ['TWFkbmVzcz8h', 'IFRoaXM=', 'IGlz', 'IG5vZGUuanMh']; + const b = Buffer.allocUnsafe(64); + let pos = 0; + for (let i = 0; i < segments.length; ++i) { + pos += b.write(segments[i], pos, 'base64'); + } + assert.strictEqual(b.toString('latin1', 0, pos), 'Madness?! This is node.js!'); + } + assert.strictEqual(Buffer.from('=bad'.repeat(1e4), 'base64').length, 0); + assert.deepStrictEqual(Buffer.from('w0 ', 'base64'), Buffer.from('w0', 'base64')); + assert.deepStrictEqual(Buffer.from(' YWJvcnVtLg', 'base64'), Buffer.from('YWJvcnVtLg', 'base64')); + { + const l = Buffer.poolSize + 5; + const s = 'h'.repeat(l); + const b = Buffer.from(s); + for (let i = 0; i < l; i++) { + assert.strictEqual('h'.charCodeAt(0), b[i]); + } + const sb = b.toString(); + assert.strictEqual(sb.length, s.length); + assert.strictEqual(sb, s); + } + { + const hexb = Buffer.allocUnsafe(256); + for (let i = 0; i < 256; i++) { + hexb[i] = i; + } + const hexStr = hexb.toString('hex'); + assert.strictEqual(hexStr, '000102030405060708090a0b0c0d0e0f' + '101112131415161718191a1b1c1d1e1f' + '202122232425262728292a2b2c2d2e2f' + '303132333435363738393a3b3c3d3e3f' + '404142434445464748494a4b4c4d4e4f' + '505152535455565758595a5b5c5d5e5f' + '606162636465666768696a6b6c6d6e6f' + '707172737475767778797a7b7c7d7e7f' + '808182838485868788898a8b8c8d8e8f' + '909192939495969798999a9b9c9d9e9f' + 'a0a1a2a3a4a5a6a7a8a9aaabacadaeaf' + 'b0b1b2b3b4b5b6b7b8b9babbbcbdbebf' + 'c0c1c2c3c4c5c6c7c8c9cacbcccdcecf' + 'd0d1d2d3d4d5d6d7d8d9dadbdcdddedf' + 'e0e1e2e3e4e5e6e7e8e9eaebecedeeef' + 'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff'); + const hexb2 = Buffer.from(hexStr, 'hex'); + for (let i = 0; i < 256; i++) { + assert.strictEqual(hexb2[i], hexb[i]); + } + } + assert.strictEqual(Buffer.from('A', 'hex').length, 0); + assert.deepStrictEqual(Buffer.from('Abx', 'hex'), Buffer.from('Ab', 'hex')); + assert.strictEqual(Buffer.from('A', 'base64').length, 0); + { + const b = Buffer.from([1, 2, 3, 4, 5]); + const b2 = b.toString('hex', 1, 10000); + const b3 = b.toString('hex', 1, 5); + const b4 = b.toString('hex', 1); + assert.strictEqual(b2, b3); + assert.strictEqual(b2, b4); + } + function buildBuffer(data) { + if (Array.isArray(data)) { + const buffer = Buffer.allocUnsafe(data.length); + data.forEach((v, k) => buffer[k] = v); + return buffer; + } + return null; + } + const x = buildBuffer([0x81, 0xa3, 0x66, 0x6f, 0x6f, 0xa3, 0x62, 0x61, 0x72]); + assert.strictEqual('', x.inspect()); + { + const z = x.slice(4); + assert.strictEqual(5, z.length); + assert.strictEqual(0x6f, z[0]); + assert.strictEqual(0xa3, z[1]); + assert.strictEqual(0x62, z[2]); + assert.strictEqual(0x61, z[3]); + assert.strictEqual(0x72, z[4]); + } + { + const z = x.slice(0); + assert.strictEqual(z.length, x.length); + } + { + const z = x.slice(0, 4); + assert.strictEqual(4, z.length); + assert.strictEqual(0x81, z[0]); + assert.strictEqual(0xa3, z[1]); + } + { + const z = x.slice(0, 9); + assert.strictEqual(9, z.length); + } + { + const z = x.slice(1, 4); + assert.strictEqual(3, z.length); + assert.strictEqual(0xa3, z[0]); + } + { + const z = x.slice(2, 4); + assert.strictEqual(2, z.length); + assert.strictEqual(0x66, z[0]); + assert.strictEqual(0x6f, z[1]); + } + ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach((encoding) => { + const b = Buffer.allocUnsafe(10); + b.write('あいうえお', encoding); + assert.strictEqual(b.toString(encoding), 'あいうえお'); + }); + ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach((encoding) => { + const b = Buffer.allocUnsafe(11); + b.write('あいうえお', 1, encoding); + assert.strictEqual(b.toString(encoding, 1), 'あいうえお'); + }); + { + const b = Buffer.from([0xde, 0xad, 0xbe, 0xef]); + let s = String.fromCharCode(0xffff); + b.write(s, 0, 'latin1'); + assert.strictEqual(0xff, b[0]); + assert.strictEqual(0xad, b[1]); + assert.strictEqual(0xbe, b[2]); + assert.strictEqual(0xef, b[3]); + s = String.fromCharCode(0xaaee); + b.write(s, 0, 'latin1'); + assert.strictEqual(0xee, b[0]); + assert.strictEqual(0xad, b[1]); + assert.strictEqual(0xbe, b[2]); + assert.strictEqual(0xef, b[3]); + } + { + const b = Buffer.from([0xde, 0xad, 0xbe, 0xef]); + let s = String.fromCharCode(0xffff); + b.write(s, 0, 'latin1'); + assert.strictEqual(0xff, b[0]); + assert.strictEqual(0xad, b[1]); + assert.strictEqual(0xbe, b[2]); + assert.strictEqual(0xef, b[3]); + s = String.fromCharCode(0xaaee); + b.write(s, 0, 'latin1'); + assert.strictEqual(0xee, b[0]); + assert.strictEqual(0xad, b[1]); + assert.strictEqual(0xbe, b[2]); + assert.strictEqual(0xef, b[3]); + } + { + let buf = Buffer.from('\0'); + assert.strictEqual(buf.length, 1); + buf = Buffer.from('\0\0'); + assert.strictEqual(buf.length, 2); + } + { + const buf = Buffer.allocUnsafe(2); + assert.strictEqual(buf.write(''), 0); + assert.strictEqual(buf.write('\0'), 1); + assert.strictEqual(buf.write('a\0'), 2); + assert.strictEqual(buf.write('あ'), 0); + assert.strictEqual(buf.write('\0あ'), 1); + assert.strictEqual(buf.write('\0\0あ'), 2); + } + { + const buf = Buffer.allocUnsafe(10); + assert.strictEqual(buf.write('あいう'), 9); + assert.strictEqual(buf.write('あいう\0'), 10); + } + { + const buf = Buffer.allocUnsafe(4); + buf.fill(0xFF); + assert.strictEqual(buf.write('abcd', 1, 2, 'utf8'), 2); + assert.strictEqual(buf[0], 0xFF); + assert.strictEqual(buf[1], 0x61); + assert.strictEqual(buf[2], 0x62); + assert.strictEqual(buf[3], 0xFF); + buf.fill(0xFF); + assert.strictEqual(buf.write('abcd', 1, 4), 3); + assert.strictEqual(buf[0], 0xFF); + assert.strictEqual(buf[1], 0x61); + assert.strictEqual(buf[2], 0x62); + assert.strictEqual(buf[3], 0x63); + buf.fill(0xFF); + assert.strictEqual(buf.write('abcd', 1, 2, 'utf8'), 2); + assert.strictEqual(buf[0], 0xFF); + assert.strictEqual(buf[1], 0x61); + assert.strictEqual(buf[2], 0x62); + assert.strictEqual(buf[3], 0xFF); + buf.fill(0xFF); + assert.strictEqual(buf.write('abcdef', 1, 2, 'hex'), 2); + assert.strictEqual(buf[0], 0xFF); + assert.strictEqual(buf[1], 0xAB); + assert.strictEqual(buf[2], 0xCD); + assert.strictEqual(buf[3], 0xFF); + ['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach((encoding) => { + buf.fill(0xFF); + assert.strictEqual(buf.write('abcd', 0, 2, encoding), 2); + assert.strictEqual(buf[0], 0x61); + assert.strictEqual(buf[1], 0x00); + assert.strictEqual(buf[2], 0xFF); + assert.strictEqual(buf[3], 0xFF); + }); + } + { + const b = Buffer.allocUnsafe(16); + assert.strictEqual(4, b.writeUInt32LE(0, 0)); + assert.strictEqual(6, b.writeUInt16LE(0, 4)); + assert.strictEqual(7, b.writeUInt8(0, 6)); + assert.strictEqual(8, b.writeInt8(0, 7)); + assert.strictEqual(16, b.writeDoubleLE(0, 8)); + } + { + const buf = Buffer.from('ab\ud800cd', 'utf8'); + assert.strictEqual(buf[0], 0x61); + assert.strictEqual(buf[1], 0x62); + assert.strictEqual(buf[2], 0xef); + assert.strictEqual(buf[3], 0xbf); + assert.strictEqual(buf[4], 0xbd); + assert.strictEqual(buf[5], 0x63); + assert.strictEqual(buf[6], 0x64); + } + { + const buf = Buffer.from([0, 0, 0, 0, 0]); + const sub = buf.slice(0, 4); + assert.strictEqual(sub.write('12345', 'latin1'), 4); + assert.strictEqual(buf[4], 0); + assert.strictEqual(sub.write('12345', 'binary'), 4); + assert.strictEqual(buf[4], 0); + } + { + const buf = Buffer.alloc(5, '800A', 'hex'); + assert.strictEqual(buf[0], 128); + assert.strictEqual(buf[1], 10); + assert.strictEqual(buf[2], 128); + assert.strictEqual(buf[3], 10); + assert.strictEqual(buf[4], 128); + } + Buffer.allocUnsafe(3.3).fill().toString(); + Buffer.alloc(3.3).fill().toString(); + assert.strictEqual(Buffer.allocUnsafe(NaN).length, 0); + assert.strictEqual(Buffer.allocUnsafe(3.3).length, 3); + assert.strictEqual(Buffer.from({length: 3.3}).length, 3); + assert.strictEqual(Buffer.from({length: 'BAM'}).length, 0); + assert.strictEqual(Buffer.from('99').length, 2); + assert.strictEqual(Buffer.from('13.37').length, 5); + ['ascii', 'utf8', 'hex', 'base64', 'latin1', 'binary'].forEach((enc) => { + assert.strictEqual(Buffer.allocUnsafe(1).write('aaaaaa', 0, 1, enc), 1); + }); + { + const a = Buffer.allocUnsafe(3); + const b = Buffer.from('xxx'); + a.write('aaaaaaaa', 'base64'); + assert.strictEqual(b.toString(), 'xxx'); + } + Buffer.from(Buffer.allocUnsafe(0), 0, 0); + assert.throws(() => Buffer.alloc(8).writeFloatLE(0, 5), RangeError); + assert.throws(() => Buffer.alloc(16).writeDoubleLE(0, 9), RangeError); + assert.throws(() => Buffer.allocUnsafe(8).writeFloatLE(0.0, 0xffffffff), RangeError); + assert.throws(() => Buffer.allocUnsafe(8).writeFloatLE(0.0, 0xffffffff), RangeError); + assert.throws(() => Buffer.allocUnsafe(8).writeFloatLE(0.0, -1), RangeError); + assert.throws(() => Buffer.allocUnsafe(8).writeFloatLE(0.0, -1), RangeError); + { + let buf = Buffer.allocUnsafe(3); + buf.writeUIntLE(0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); + assert.strictEqual(buf.readUIntLE(0, 3), 0x123456); + buf.fill(0xFF); + buf.writeUIntBE(0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); + assert.strictEqual(buf.readUIntBE(0, 3), 0x123456); + buf.fill(0xFF); + buf.writeIntLE(0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]); + assert.strictEqual(buf.readIntLE(0, 3), 0x123456); + buf.fill(0xFF); + buf.writeIntBE(0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]); + assert.strictEqual(buf.readIntBE(0, 3), 0x123456); + buf.fill(0xFF); + buf.writeIntLE(-0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]); + assert.strictEqual(buf.readIntLE(0, 3), -0x123456); + buf.fill(0xFF); + buf.writeIntBE(-0x123456, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]); + assert.strictEqual(buf.readIntBE(0, 3), -0x123456); + buf.fill(0xFF); + buf.writeIntLE(-0x123400, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]); + assert.strictEqual(buf.readIntLE(0, 3), -0x123400); + buf.fill(0xFF); + buf.writeIntBE(-0x123400, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]); + assert.strictEqual(buf.readIntBE(0, 3), -0x123400); + buf.fill(0xFF); + buf.writeIntLE(-0x120000, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]); + assert.strictEqual(buf.readIntLE(0, 3), -0x120000); + buf.fill(0xFF); + buf.writeIntBE(-0x120000, 0, 3); + assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]); + assert.strictEqual(buf.readIntBE(0, 3), -0x120000); + buf = Buffer.allocUnsafe(5); + buf.writeUIntLE(0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); + assert.strictEqual(buf.readUIntLE(0, 5), 0x1234567890); + buf.fill(0xFF); + buf.writeUIntBE(0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); + assert.strictEqual(buf.readUIntBE(0, 5), 0x1234567890); + buf.fill(0xFF); + buf.writeIntLE(0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]); + assert.strictEqual(buf.readIntLE(0, 5), 0x1234567890); + buf.fill(0xFF); + buf.writeIntBE(0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]); + assert.strictEqual(buf.readIntBE(0, 5), 0x1234567890); + buf.fill(0xFF); + buf.writeIntLE(-0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x70, 0x87, 0xa9, 0xcb, 0xed]); + assert.strictEqual(buf.readIntLE(0, 5), -0x1234567890); + buf.fill(0xFF); + buf.writeIntBE(-0x1234567890, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xa9, 0x87, 0x70]); + assert.strictEqual(buf.readIntBE(0, 5), -0x1234567890); + buf.fill(0xFF); + buf.writeIntLE(-0x0012000000, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0x00, 0xee, 0xff]); + assert.strictEqual(buf.readIntLE(0, 5), -0x0012000000); + buf.fill(0xFF); + buf.writeIntBE(-0x0012000000, 0, 5); + assert.deepStrictEqual(buf.toJSON().data, [0xff, 0xee, 0x00, 0x00, 0x00]); + assert.strictEqual(buf.readIntBE(0, 5), -0x0012000000); + } + common.expectsError(() => Buffer.from('', 'buffer'), { + code: 'ERR_UNKNOWN_ENCODING', + type: TypeError, + message: 'Unknown encoding: buffer' + }); + { + const a = [...Array(128).keys()]; + const b = Buffer.from(a); + const c = Buffer.from(b); + assert.strictEqual(b.length, a.length); + assert.strictEqual(c.length, a.length); + for (let i = 0, + k = a.length; i < k; ++i) { + assert.strictEqual(a[i], i); + assert.strictEqual(b[i], i); + assert.strictEqual(c[i], i); + } + } + if (common.hasCrypto) { + const crypto = require('crypto'); + const b1 = Buffer.from('YW55=======', 'base64'); + const b2 = Buffer.from('YW55', 'base64'); + assert.strictEqual(crypto.createHash('sha1').update(b1).digest('hex'), crypto.createHash('sha1').update(b2).digest('hex')); + } else { + common.printSkipMessage('missing crypto'); + } + const ps = Buffer.poolSize; + Buffer.poolSize = 0; + assert(Buffer.allocUnsafe(1).parent instanceof ArrayBuffer); + Buffer.poolSize = ps; + assert.throws(() => Buffer.allocUnsafe(10).copy(), /TypeError: argument should be a Buffer/); + const regErrorMsg = new RegExp('The first argument must be one of type string, Buffer, ' + 'ArrayBuffer, Array, or Array-like Object\\.'); + assert.throws(() => Buffer.from(), regErrorMsg); + assert.throws(() => Buffer.from(null), regErrorMsg); + assert.strictEqual(Buffer.prototype.parent, undefined); + assert.strictEqual(Buffer.prototype.offset, undefined); + assert.strictEqual(SlowBuffer.prototype.parent, undefined); + assert.strictEqual(SlowBuffer.prototype.offset, undefined); + { + assert.deepStrictEqual(Buffer.from({length: -Buffer.poolSize}), Buffer.from('')); + assert.deepStrictEqual(Buffer.from({length: -100}), Buffer.from('')); + assert.doesNotThrow(() => Buffer.from('abc')); + } + { + const errMsg = common.expectsError({ + code: 'ERR_BUFFER_OUT_OF_BOUNDS', + type: RangeError, + message: '"offset" is outside of buffer bounds' + }); + assert.throws(() => Buffer.from(new ArrayBuffer(0), -1 >>> 0), errMsg); + } + common.expectsError(() => { + const a = Buffer.alloc(1); + const b = Buffer.alloc(1); + a.copy(b, 0, 0x100000000, 0x100000001); + }, { + code: undefined, + type: RangeError, + message: 'Index out of range' + }); + { + const ubuf = Buffer.allocUnsafeSlow(10); + assert(ubuf); + assert(ubuf.buffer); + assert.strictEqual(ubuf.buffer.byteLength, 10); + } + assert.doesNotThrow(() => Buffer.from(new ArrayBuffer())); + const arrayBuf = vm.runInNewContext('new ArrayBuffer()'); + assert.doesNotThrow(() => Buffer.from(arrayBuf)); + assert.doesNotThrow(() => Buffer.from({buffer: arrayBuf})); + assert.throws(() => Buffer.alloc({valueOf: () => 1}), /"size" argument must be of type number/); + assert.throws(() => Buffer.alloc({valueOf: () => -1}), /"size" argument must be of type number/); + assert.strictEqual(Buffer.prototype.toLocaleString, Buffer.prototype.toString); + { + const buf = Buffer.from('test'); + assert.strictEqual(buf.toLocaleString(), buf.toString()); + } + common.expectsError(() => { + Buffer.alloc(0x1000, 'This is not correctly encoded', 'hex'); + }, { + code: 'ERR_INVALID_ARG_VALUE', + type: TypeError + }); + common.expectsError(() => { + Buffer.alloc(0x1000, 'c', 'hex'); + }, { + code: 'ERR_INVALID_ARG_VALUE', + type: TypeError + }); + common.expectsError(() => { + Buffer.alloc(1, Buffer.alloc(0)); + }, { + code: 'ERR_INVALID_ARG_VALUE', + type: TypeError + }); +})(require('process')); diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-arraybuffer.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-arraybuffer.js similarity index 69% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-arraybuffer.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-arraybuffer.js index a9a28b1..5d9a0e2 100644 --- a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-arraybuffer.js +++ b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-arraybuffer.js @@ -1,6 +1,7 @@ /* */ 'use strict'; var Buffer = require('../../index').Buffer; +var common = require('./common'); var assert = require('assert'); var Buffer = require('../../index').Buffer; var LENGTH = 16; @@ -9,7 +10,7 @@ var dv = new DataView(ab); var ui = new Uint8Array(ab); var buf = Buffer.from(ab); assert.ok(buf instanceof Buffer); -assert.equal(buf.parent, undefined); +assert.equal(buf.parent, buf.buffer); assert.equal(buf.buffer, ab); assert.equal(buf.length, ab.byteLength); buf.fill(0xC); @@ -49,15 +50,15 @@ b.writeDoubleBE(11.11, 0, true); assert.equal(buf[2], 4); buf[0] = 9; assert.equal(ab[1], 9); - assert.throws(() => Buffer.from(ab.buffer, 6), (err) => { - assert(err instanceof RangeError); - assert(/'offset' is out of bounds/.test(err.message)); - return true; + common.expectsError(() => Buffer.from(ab.buffer, 6), { + code: 'ERR_BUFFER_OUT_OF_BOUNDS', + type: RangeError, + message: '"offset" is outside of buffer bounds' }); - assert.throws(() => Buffer.from(ab.buffer, 3, 6), (err) => { - assert(err instanceof RangeError); - assert(/'length' is out of bounds/.test(err.message)); - return true; + common.expectsError(() => Buffer.from(ab.buffer, 3, 6), { + code: 'ERR_BUFFER_OUT_OF_BOUNDS', + type: RangeError, + message: '"length" is outside of buffer bounds' }); } { @@ -74,14 +75,14 @@ b.writeDoubleBE(11.11, 0, true); assert.equal(buf[2], 4); buf[0] = 9; assert.equal(ab[1], 9); - assert.throws(() => Buffer(ab.buffer, 6), (err) => { - assert(err instanceof RangeError); - assert(/'offset' is out of bounds/.test(err.message)); - return true; + common.expectsError(() => Buffer(ab.buffer, 6), { + code: 'ERR_BUFFER_OUT_OF_BOUNDS', + type: RangeError, + message: '"offset" is outside of buffer bounds' }); - assert.throws(() => Buffer(ab.buffer, 3, 6), (err) => { - assert(err instanceof RangeError); - assert(/'length' is out of bounds/.test(err.message)); - return true; + common.expectsError(() => Buffer(ab.buffer, 3, 6), { + code: 'ERR_BUFFER_OUT_OF_BOUNDS', + type: RangeError, + message: '"length" is outside of buffer bounds' }); } diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-ascii.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-ascii.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-ascii.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-ascii.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-bad-overload.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-bad-overload.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-bad-overload.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-bad-overload.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-badhex.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-badhex.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-badhex.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-badhex.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-bytelength.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-bytelength.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-bytelength.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-bytelength.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-compare-offset.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-compare-offset.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-compare-offset.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-compare-offset.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-concat.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-concat.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-concat.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-concat.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-fill.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-fill.js similarity index 95% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-fill.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-fill.js index 7646734..6f5f058 100644 --- a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-fill.js +++ b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-fill.js @@ -1,6 +1,7 @@ /* */ 'use strict'; var Buffer = require('../../index').Buffer; +const common = require('./common'); var assert = require('assert'); var os = require('os'); var SIZE = 28; @@ -115,8 +116,20 @@ testBufs('c8a26161', 8, 1, 'hex'); testBufs('61c8b462c8b563c8b6', 4, -1, 'hex'); testBufs('61c8b462c8b563c8b6', 4, 1, 'hex'); testBufs('61c8b462c8b563c8b6', 12, 1, 'hex'); -buf1.fill('yKJh', 'hex'); -assert.throws(() => buf1.fill('\u0222', 'hex')); +common.expectsError(() => { + const buf = Buffer.allocUnsafe(SIZE); + buf.fill('yKJh', 'hex'); +}, { + code: 'ERR_INVALID_ARG_VALUE', + type: TypeError +}); +common.expectsError(() => { + const buf = Buffer.allocUnsafe(SIZE); + buf.fill('\u0222', 'hex'); +}, { + code: 'ERR_INVALID_ARG_VALUE', + type: TypeError +}); testBufs('YWJj', 'ucs2'); testBufs('yKJhYQ==', 'ucs2'); testBufs('Yci0Ysi1Y8i2', 'ucs2'); diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-includes.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-includes.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-includes.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-includes.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-indexof.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-indexof.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-indexof.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-indexof.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-inheritance.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-inheritance.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-inheritance.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-inheritance.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-inspect.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-inspect.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-inspect.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-inspect.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-iterator.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-iterator.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-iterator.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-iterator.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-safe-unsafe.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-safe-unsafe.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-safe-unsafe.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-safe-unsafe.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-slow.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-slow.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-slow.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-slow.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-swap.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-swap.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-swap.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-swap.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-zero-fill-cli.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-zero-fill-cli.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-zero-fill-cli.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-zero-fill-cli.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-zero-fill-reset.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-zero-fill-reset.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer-zero-fill-reset.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer-zero-fill-reset.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer.js b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer.js similarity index 98% rename from jspm_packages/npm/buffer@5.0.7/test/node/test-buffer.js rename to jspm_packages/npm/buffer@5.1.0/test/node/test-buffer.js index 7d7a53c..f065295 100644 --- a/jspm_packages/npm/buffer@5.0.7/test/node/test-buffer.js +++ b/jspm_packages/npm/buffer@5.1.0/test/node/test-buffer.js @@ -505,9 +505,6 @@ var hexb2 = new Buffer(hexStr, 'hex'); for (var i = 0; i < 256; i++) { assert.equal(hexb2[i], hexb[i]); } -assert.throws(function() { - Buffer.from('A', 'hex'); -}, TypeError); { var b = new Buffer([1, 2, 3, 4, 5]); var b2 = b.toString('hex', 1, 10000); @@ -1032,24 +1029,6 @@ assert.throws(function() { assert.throws(function() { Buffer(1422561062959).toString('utf8'); }); -var ps = Buffer.poolSize; -Buffer.poolSize = 0; -assert.equal(Buffer(1).parent, undefined); -Buffer.poolSize = ps; -assert.throws(function() { - Buffer(10).copy(); -}); -var regErrorMsg = new RegExp('First argument must be a string, Buffer, ' + 'ArrayBuffer, Array, or array-like object.'); -assert.throws(function() { - new Buffer(); -}, regErrorMsg); -assert.throws(function() { - new Buffer(null); -}, regErrorMsg); -assert.equal(Buffer.prototype.parent, undefined); -assert.equal(Buffer.prototype.offset, undefined); -assert.equal(SlowBuffer.prototype.parent, undefined); -assert.equal(SlowBuffer.prototype.offset, undefined); { assert.deepStrictEqual(Buffer({length: -Buffer.poolSize}), Buffer.from('')); assert.deepStrictEqual(Buffer({length: -100}), Buffer.from('')); diff --git a/jspm_packages/npm/buffer@5.0.7/test/slice.js b/jspm_packages/npm/buffer@5.1.0/test/slice.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/slice.js rename to jspm_packages/npm/buffer@5.1.0/test/slice.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/static.js b/jspm_packages/npm/buffer@5.1.0/test/static.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/static.js rename to jspm_packages/npm/buffer@5.1.0/test/static.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/to-string.js b/jspm_packages/npm/buffer@5.1.0/test/to-string.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/to-string.js rename to jspm_packages/npm/buffer@5.1.0/test/to-string.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/write.js b/jspm_packages/npm/buffer@5.1.0/test/write.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/write.js rename to jspm_packages/npm/buffer@5.1.0/test/write.js diff --git a/jspm_packages/npm/buffer@5.0.7/test/write_infinity.js b/jspm_packages/npm/buffer@5.1.0/test/write_infinity.js similarity index 100% rename from jspm_packages/npm/buffer@5.0.7/test/write_infinity.js rename to jspm_packages/npm/buffer@5.1.0/test/write_infinity.js diff --git a/jspm_packages/npm/ieee754@1.1.11.js b/jspm_packages/npm/ieee754@1.1.11.js new file mode 100644 index 0000000..d36998c --- /dev/null +++ b/jspm_packages/npm/ieee754@1.1.11.js @@ -0,0 +1 @@ +module.exports = require("npm:ieee754@1.1.11/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/ieee754@1.1.11/.jspm-hash b/jspm_packages/npm/ieee754@1.1.11/.jspm-hash new file mode 100644 index 0000000..d6434d0 --- /dev/null +++ b/jspm_packages/npm/ieee754@1.1.11/.jspm-hash @@ -0,0 +1 @@ +c16384ffe00f5b7835824e67b6f2bd44a522945599914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/ieee754@1.1.8/LICENSE b/jspm_packages/npm/ieee754@1.1.11/LICENSE similarity index 100% rename from jspm_packages/npm/ieee754@1.1.8/LICENSE rename to jspm_packages/npm/ieee754@1.1.11/LICENSE diff --git a/jspm_packages/npm/ieee754@1.1.8/README.md b/jspm_packages/npm/ieee754@1.1.11/README.md similarity index 82% rename from jspm_packages/npm/ieee754@1.1.8/README.md rename to jspm_packages/npm/ieee754@1.1.11/README.md index 11f4d40..cb7527b 100644 --- a/jspm_packages/npm/ieee754@1.1.8/README.md +++ b/jspm_packages/npm/ieee754@1.1.11/README.md @@ -1,12 +1,16 @@ -# ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] - -[![saucelabs][saucelabs-image]][saucelabs-url] +# ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] [travis-image]: https://img.shields.io/travis/feross/ieee754/master.svg [travis-url]: https://travis-ci.org/feross/ieee754 [npm-image]: https://img.shields.io/npm/v/ieee754.svg [npm-url]: https://npmjs.org/package/ieee754 [downloads-image]: https://img.shields.io/npm/dm/ieee754.svg +[downloads-url]: https://npmjs.org/package/ieee754 +[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg +[standard-url]: https://standardjs.com + +[![saucelabs][saucelabs-image]][saucelabs-url] + [saucelabs-image]: https://saucelabs.com/browser-matrix/ieee754.svg [saucelabs-url]: https://saucelabs.com/u/ieee754 diff --git a/jspm_packages/npm/ieee754@1.1.8/index.js b/jspm_packages/npm/ieee754@1.1.11/index.js similarity index 86% rename from jspm_packages/npm/ieee754@1.1.8/index.js rename to jspm_packages/npm/ieee754@1.1.11/index.js index 3b0841e..b050446 100644 --- a/jspm_packages/npm/ieee754@1.1.8/index.js +++ b/jspm_packages/npm/ieee754@1.1.11/index.js @@ -1,7 +1,7 @@ /* */ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m - var eLen = nBytes * 8 - mLen - 1 + var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var nBits = -7 @@ -14,12 +14,12 @@ exports.read = function (buffer, offset, isLE, mLen, nBytes) { e = s & ((1 << (-nBits)) - 1) s >>= (-nBits) nBits += eLen - for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} + for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} m = e & ((1 << (-nBits)) - 1) e >>= (-nBits) nBits += mLen - for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} + for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} if (e === 0) { e = 1 - eBias @@ -34,7 +34,7 @@ exports.read = function (buffer, offset, isLE, mLen, nBytes) { exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { var e, m, c - var eLen = nBytes * 8 - mLen - 1 + var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) @@ -67,7 +67,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { m = 0 e = eMax } else if (e + eBias >= 1) { - m = (value * c - 1) * Math.pow(2, mLen) + m = ((value * c) - 1) * Math.pow(2, mLen) e = e + eBias } else { m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) diff --git a/jspm_packages/npm/ieee754@1.1.8/package.json b/jspm_packages/npm/ieee754@1.1.11/package.json similarity index 81% rename from jspm_packages/npm/ieee754@1.1.8/package.json rename to jspm_packages/npm/ieee754@1.1.11/package.json index 681f0de..b5bf464 100644 --- a/jspm_packages/npm/ieee754@1.1.8/package.json +++ b/jspm_packages/npm/ieee754@1.1.11/package.json @@ -1,7 +1,7 @@ { "name": "ieee754", "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", - "version": "1.1.8", + "version": "1.1.11", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -11,9 +11,9 @@ "Romain Beauxis " ], "devDependencies": { + "airtap": "0.0.4", "standard": "*", - "tape": "^4.0.0", - "zuul": "^3.0.0" + "tape": "^4.0.0" }, "keywords": [ "IEEE 754", @@ -30,8 +30,8 @@ }, "scripts": { "test": "standard && npm run test-node && npm run test-browser", - "test-browser": "zuul -- test/*.js", - "test-browser-local": "zuul --local -- test/*.js", + "test-browser": "airtap -- test/*.js", + "test-browser-local": "airtap --local -- test/*.js", "test-node": "tape test/*.js" } } diff --git a/jspm_packages/npm/ieee754@1.1.11/test/basic.js b/jspm_packages/npm/ieee754@1.1.11/test/basic.js new file mode 100644 index 0000000..3d2c44d --- /dev/null +++ b/jspm_packages/npm/ieee754@1.1.11/test/basic.js @@ -0,0 +1,38 @@ +/* */ +(function(Buffer) { + var ieee754 = require('../index'); + var test = require('tape'); + var EPSILON = 0.00001; + test('read float', function(t) { + var val = 42.42; + var buf = Buffer.alloc(4); + buf.writeFloatLE(val, 0); + var num = ieee754.read(buf, 0, true, 23, 4); + t.ok(Math.abs(num - val) < EPSILON); + t.end(); + }); + test('write float', function(t) { + var val = 42.42; + var buf = Buffer.alloc(4); + ieee754.write(buf, val, 0, true, 23, 4); + var num = buf.readFloatLE(0); + t.ok(Math.abs(num - val) < EPSILON); + t.end(); + }); + test('read double', function(t) { + var value = 12345.123456789; + var buf = Buffer.alloc(8); + buf.writeDoubleLE(value, 0); + var num = ieee754.read(buf, 0, true, 52, 8); + t.ok(Math.abs(num - value) < EPSILON); + t.end(); + }); + test('write double', function(t) { + var value = 12345.123456789; + var buf = Buffer.alloc(8); + ieee754.write(buf, value, 0, true, 52, 8); + var num = buf.readDoubleLE(0); + t.ok(Math.abs(num - value) < EPSILON); + t.end(); + }); +})(require('buffer').Buffer); diff --git a/jspm_packages/npm/ieee754@1.1.8.js b/jspm_packages/npm/ieee754@1.1.8.js deleted file mode 100644 index 9c799b0..0000000 --- a/jspm_packages/npm/ieee754@1.1.8.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("npm:ieee754@1.1.8/index.js"); \ No newline at end of file diff --git a/jspm_packages/npm/ieee754@1.1.8/.jspm-hash b/jspm_packages/npm/ieee754@1.1.8/.jspm-hash deleted file mode 100644 index 4209414..0000000 --- a/jspm_packages/npm/ieee754@1.1.8/.jspm-hash +++ /dev/null @@ -1 +0,0 @@ -be33d40ac10ef1926701f6f08a2d86fbfd1ad3e499914b932bd37a50b983c5e7c90ae93bjspm-npm@0.260.16.1 \ No newline at end of file diff --git a/jspm_packages/npm/ieee754@1.1.8/.travis.yml b/jspm_packages/npm/ieee754@1.1.8/.travis.yml deleted file mode 100644 index 6c45b34..0000000 --- a/jspm_packages/npm/ieee754@1.1.8/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: -- 'node' -env: - global: - - secure: f3NrmOV/A7oACn47J1mkIpH8Sn/LINtluZvo/9pGo3Ss4+D2lyt7UawpedHtnYgU9WEyjPSi7pDWopUrIzusQ2trLYRJr8WAOEyHlgaepDyy4BW3ghGMKHMsS05kilYLP8nu1sRd6y1AcUYKw+kUrrSPanI7kViWVQ5d5DuwXO8= - - secure: a6teILh33z5fbGQbh5/EkFfAyXfa2fPJG1upy9K+jLAbG4WZxXD+YmXG9Tz33/2NJm6UplGfTJ8IQEXgxEfAFk3ao3xfKxzm3i64XxtroSlXIFNSiQKogxDfLEtWDoNNCodPHaV3ATEqxGJ5rkkUeU1+ROWW0sjG5JR26k8/Hfg= diff --git a/jspm_packages/npm/ieee754@1.1.8/.zuul.yml b/jspm_packages/npm/ieee754@1.1.8/.zuul.yml deleted file mode 100644 index b5ba0c4..0000000 --- a/jspm_packages/npm/ieee754@1.1.8/.zuul.yml +++ /dev/null @@ -1,20 +0,0 @@ -ui: tape -scripts: - - "./test/_polyfill.js" -browsers: - - name: chrome - version: latest - - name: firefox - version: latest - - name: safari - version: latest - - name: ie - version: 11 - - name: microsoftedge - version: latest - - name: opera - version: latest - - name: android - version: latest - - name: iphone - version: latest diff --git a/jspm_packages/npm/ieee754@1.1.8/test/basic.js b/jspm_packages/npm/ieee754@1.1.8/test/basic.js deleted file mode 100644 index 92141c5..0000000 --- a/jspm_packages/npm/ieee754@1.1.8/test/basic.js +++ /dev/null @@ -1,20 +0,0 @@ -/* */ -(function(Buffer) { - var ieee754 = require('../index'); - var test = require('tape'); - var EPSILON = 0.00001; - test('read float', function(t) { - var buf = new Buffer(4); - buf.writeFloatLE(42.42, 0); - var num = ieee754.read(buf, 0, true, 23, 4); - t.ok(Math.abs(num - 42.42) < EPSILON); - t.end(); - }); - test('write float', function(t) { - var buf = new Buffer(4); - ieee754.write(buf, 42.42, 0, true, 23, 4); - var num = buf.readFloatLE(0); - t.ok(Math.abs(num - 42.42) < EPSILON); - t.end(); - }); -})(require('buffer').Buffer);