diff --git a/doc/build/export.js b/doc/build/export.js index 7d44aac..f939882 100755 --- a/doc/build/export.js +++ b/doc/build/export.js @@ -11,7 +11,8 @@ module.exports = { 'jspm_packages/system-polyfills.js', 'jspm_packages/system-csp-production.js', 'styles/*', - 'states.json' + 'states.json', + 'images/flags/*' ], // this section lists any jspm packages that have // unbundled resources that need to be exported. diff --git a/doc/config.js b/doc/config.js index 9e49b73..e5a0350 100755 --- a/doc/config.js +++ b/doc/config.js @@ -45,6 +45,7 @@ System.config({ "vm-browserify": "npm:vm-browserify@0.0.4" }, "github:tochoromero/aurelia-bootstrap@master": { + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.2.0", "tether": "npm:tether@1.4.0", "velocity-animate": "npm:velocity-animate@1.4.2" @@ -60,13 +61,13 @@ System.config({ }, "npm:aurelia-animator-css@1.0.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.2.0" }, "npm:aurelia-binding@1.1.1": { "aurelia-logging": "npm:aurelia-logging@1.2.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0" }, "npm:aurelia-bootstrapper@1.0.0": { @@ -76,7 +77,7 @@ System.config({ "aurelia-history-browser": "npm:aurelia-history-browser@1.0.0", "aurelia-loader-default": "npm:aurelia-loader-default@1.0.0", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0", "aurelia-polyfills": "npm:aurelia-polyfills@1.0.0", "aurelia-router": "npm:aurelia-router@1.0.2", @@ -87,7 +88,7 @@ System.config({ }, "npm:aurelia-dependency-injection@1.3.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-event-aggregator@1.0.0": { "aurelia-logging": "npm:aurelia-logging@1.2.0" @@ -98,19 +99,19 @@ System.config({ "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.2.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0", "aurelia-templating": "npm:aurelia-templating@1.2.0" }, "npm:aurelia-history-browser@1.0.0": { "aurelia-history": "npm:aurelia-history@1.0.0", - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-loader-default@1.0.0": { "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-loader@1.0.0": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", @@ -120,13 +121,13 @@ System.config({ "aurelia-logging": "npm:aurelia-logging@1.2.0" }, "npm:aurelia-metadata@1.0.3": { - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-pal-browser@1.0.0": { - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-polyfills@1.0.0": { - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-route-recognizer@1.0.0": { "aurelia-path": "npm:aurelia-path@1.1.1" @@ -144,7 +145,7 @@ System.config({ "prismjs": "npm:prismjs@1.5.1" }, "npm:aurelia-task-queue@1.1.0": { - "aurelia-pal": "npm:aurelia-pal@1.2.0" + "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-templating-binding@1.0.0": { "aurelia-binding": "npm:aurelia-binding@1.1.1", @@ -157,7 +158,7 @@ System.config({ "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.2.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0", "aurelia-templating": "npm:aurelia-templating@1.2.0" @@ -166,7 +167,7 @@ System.config({ "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.0", "aurelia-logging": "npm:aurelia-logging@1.2.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-router": "npm:aurelia-router@1.0.2", "aurelia-templating": "npm:aurelia-templating@1.2.0" @@ -177,7 +178,7 @@ System.config({ "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.2.0", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", - "aurelia-pal": "npm:aurelia-pal@1.2.0", + "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0" }, @@ -217,5 +218,180 @@ System.config({ "npm:vm-browserify@0.0.4": { "indexof": "npm:indexof@0.0.1" } + }, + bundles: { + "app-build.js": [ + "accordion/accordion.html!github:systemjs/plugin-text@0.0.8.js", + "accordion/accordion.js", + "app.html!github:systemjs/plugin-text@0.0.8.js", + "app.js", + "buttons/buttons.html!github:systemjs/plugin-text@0.0.8.js", + "buttons/buttons.js", + "collapse/collapse.html!github:systemjs/plugin-text@0.0.8.js", + "collapse/collapse.js", + "dropdown/dropdown.html!github:systemjs/plugin-text@0.0.8.js", + "dropdown/dropdown.js", + "global-defaults/global-defaults.html!github:systemjs/plugin-text@0.0.8.js", + "global-defaults/global-defaults.js", + "introduction/introduction.html!github:systemjs/plugin-text@0.0.8.js", + "introduction/introduction.js", + "main.js", + "nav-bar.html!github:systemjs/plugin-text@0.0.8.js", + "pagination/pagination.html!github:systemjs/plugin-text@0.0.8.js", + "pagination/pagination.js", + "popover/popover.html!github:systemjs/plugin-text@0.0.8.js", + "popover/popover.js", + "resources/index.js", + "resources/settings-type/any.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/boolean.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/function.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/markup.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/number.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/property.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/ref.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/string.html!github:systemjs/plugin-text@0.0.8.js", + "resources/settings-type/two-way.html!github:systemjs/plugin-text@0.0.8.js", + "tabs/tabs.html!github:systemjs/plugin-text@0.0.8.js", + "tabs/tabs.js", + "tooltip/tooltip.html!github:systemjs/plugin-text@0.0.8.js", + "tooltip/tooltip.js", + "typeahead/typeahead.html!github:systemjs/plugin-text@0.0.8.js", + "typeahead/typeahead.js" + ], + "aurelia.js": [ + "github:github/fetch@1.0.0.js", + "github:github/fetch@1.0.0/fetch.js", + "github:jspm/nodelibs-process@0.1.2.js", + "github:jspm/nodelibs-process@0.1.2/index.js", + "github:systemjs/plugin-text@0.0.8.js", + "github:systemjs/plugin-text@0.0.8/text.js", + "github:tochoromero/aurelia-bootstrap@master.js", + "github:tochoromero/aurelia-bootstrap@master/accordion/aubs-accordion-group.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/accordion/aubs-accordion-group.js", + "github:tochoromero/aurelia-bootstrap@master/accordion/aubs-accordion.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/accordion/aubs-accordion.js", + "github:tochoromero/aurelia-bootstrap@master/buttons/aubs-btn-checkbox.js", + "github:tochoromero/aurelia-bootstrap@master/buttons/aubs-btn-loading.js", + "github:tochoromero/aurelia-bootstrap@master/buttons/aubs-btn-radio.js", + "github:tochoromero/aurelia-bootstrap@master/collapse/aubs-collapse.js", + "github:tochoromero/aurelia-bootstrap@master/dropdown/aubs-dropdown-toggle.js", + "github:tochoromero/aurelia-bootstrap@master/dropdown/aubs-dropdown.js", + "github:tochoromero/aurelia-bootstrap@master/index.js", + "github:tochoromero/aurelia-bootstrap@master/pagination/aubs-pagination.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/pagination/aubs-pagination.js", + "github:tochoromero/aurelia-bootstrap@master/popover/aubs-popover.js", + "github:tochoromero/aurelia-bootstrap@master/tabs/aubs-tab.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/tabs/aubs-tab.js", + "github:tochoromero/aurelia-bootstrap@master/tabs/aubs-tabset.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/tabs/aubs-tabset.js", + "github:tochoromero/aurelia-bootstrap@master/tooltip/aubs-tooltip.js", + "github:tochoromero/aurelia-bootstrap@master/typeahead/aubs-typeahead.html!github:systemjs/plugin-text@0.0.8.js", + "github:tochoromero/aurelia-bootstrap@master/typeahead/aubs-typeahead.js", + "github:tochoromero/aurelia-bootstrap@master/typeahead/typeahead-highlight.js", + "github:tochoromero/aurelia-bootstrap@master/utils/bootstrap-config.js", + "github:tochoromero/aurelia-bootstrap@master/utils/bootstrap-options.js", + "github:tochoromero/aurelia-bootstrap@master/utils/tooltip-service.js", + "npm:aurelia-binding@1.1.1.js", + "npm:aurelia-binding@1.1.1/aurelia-binding.js", + "npm:aurelia-bootstrapper@1.0.0.js", + "npm:aurelia-bootstrapper@1.0.0/aurelia-bootstrapper.js", + "npm:aurelia-dependency-injection@1.3.0.js", + "npm:aurelia-dependency-injection@1.3.0/aurelia-dependency-injection.js", + "npm:aurelia-event-aggregator@1.0.0.js", + "npm:aurelia-event-aggregator@1.0.0/aurelia-event-aggregator.js", + "npm:aurelia-fetch-client@1.0.0.js", + "npm:aurelia-fetch-client@1.0.0/aurelia-fetch-client.js", + "npm:aurelia-framework@1.0.1.js", + "npm:aurelia-framework@1.0.1/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-loader-default@1.0.0.js", + "npm:aurelia-loader-default@1.0.0/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.2.0.js", + "npm:aurelia-logging@1.2.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.0.0.js", + "npm:aurelia-pal-browser@1.0.0/aurelia-pal-browser.js", + "npm:aurelia-pal@1.3.0.js", + "npm:aurelia-pal@1.3.0/aurelia-pal.js", + "npm:aurelia-path@1.1.1.js", + "npm:aurelia-path@1.1.1/aurelia-path.js", + "npm:aurelia-polyfills@1.0.0.js", + "npm:aurelia-polyfills@1.0.0/aurelia-polyfills.js", + "npm:aurelia-route-recognizer@1.0.0.js", + "npm:aurelia-route-recognizer@1.0.0/aurelia-route-recognizer.js", + "npm:aurelia-router@1.0.2.js", + "npm:aurelia-router@1.0.2/aurelia-router.js", + "npm:aurelia-syntax-highlighter@0.0.4.js", + "npm:aurelia-syntax-highlighter@0.0.4/index.js", + "npm:aurelia-syntax-highlighter@0.0.4/syntax-highlighter.js", + "npm:aurelia-task-queue@1.1.0.js", + "npm:aurelia-task-queue@1.1.0/aurelia-task-queue.js", + "npm:aurelia-templating-binding@1.0.0.js", + "npm:aurelia-templating-binding@1.0.0/aurelia-templating-binding.js", + "npm:aurelia-templating-resources@1.2.0.js", + "npm:aurelia-templating-resources@1.2.0/abstract-repeater.js", + "npm:aurelia-templating-resources@1.2.0/analyze-view-factory.js", + "npm:aurelia-templating-resources@1.2.0/array-repeat-strategy.js", + "npm:aurelia-templating-resources@1.2.0/attr-binding-behavior.js", + "npm:aurelia-templating-resources@1.2.0/aurelia-hide-style.js", + "npm:aurelia-templating-resources@1.2.0/aurelia-templating-resources.js", + "npm:aurelia-templating-resources@1.2.0/binding-mode-behaviors.js", + "npm:aurelia-templating-resources@1.2.0/binding-signaler.js", + "npm:aurelia-templating-resources@1.2.0/compose.js", + "npm:aurelia-templating-resources@1.2.0/css-resource.js", + "npm:aurelia-templating-resources@1.2.0/debounce-binding-behavior.js", + "npm:aurelia-templating-resources@1.2.0/dynamic-element.js", + "npm:aurelia-templating-resources@1.2.0/focus.js", + "npm:aurelia-templating-resources@1.2.0/hide.js", + "npm:aurelia-templating-resources@1.2.0/html-resource-plugin.js", + "npm:aurelia-templating-resources@1.2.0/html-sanitizer.js", + "npm:aurelia-templating-resources@1.2.0/if.js", + "npm:aurelia-templating-resources@1.2.0/map-repeat-strategy.js", + "npm:aurelia-templating-resources@1.2.0/null-repeat-strategy.js", + "npm:aurelia-templating-resources@1.2.0/number-repeat-strategy.js", + "npm:aurelia-templating-resources@1.2.0/repeat-strategy-locator.js", + "npm:aurelia-templating-resources@1.2.0/repeat-utilities.js", + "npm:aurelia-templating-resources@1.2.0/repeat.js", + "npm:aurelia-templating-resources@1.2.0/replaceable.js", + "npm:aurelia-templating-resources@1.2.0/sanitize-html.js", + "npm:aurelia-templating-resources@1.2.0/set-repeat-strategy.js", + "npm:aurelia-templating-resources@1.2.0/show.js", + "npm:aurelia-templating-resources@1.2.0/signal-binding-behavior.js", + "npm:aurelia-templating-resources@1.2.0/throttle-binding-behavior.js", + "npm:aurelia-templating-resources@1.2.0/update-trigger-binding-behavior.js", + "npm:aurelia-templating-resources@1.2.0/with.js", + "npm:aurelia-templating-router@1.0.0.js", + "npm:aurelia-templating-router@1.0.0/aurelia-templating-router.js", + "npm:aurelia-templating-router@1.0.0/route-href.js", + "npm:aurelia-templating-router@1.0.0/route-loader.js", + "npm:aurelia-templating-router@1.0.0/router-view.js", + "npm:aurelia-templating@1.2.0.js", + "npm:aurelia-templating@1.2.0/aurelia-templating.js", + "npm:prismjs@1.5.1.js", + "npm:prismjs@1.5.1/prism.js", + "npm:process@0.11.9.js", + "npm:process@0.11.9/browser.js", + "npm:tether@1.4.0.js", + "npm:tether@1.4.0/dist/js/tether.js", + "npm:velocity-animate@1.4.2.js", + "npm:velocity-animate@1.4.2/velocity.js" + ] + }, + depCache: { + "main.js": [ + "fetch" + ], + "typeahead/typeahead.js": [ + "aurelia-framework", + "aurelia-fetch-client" + ] } }); \ No newline at end of file diff --git a/doc/images/flags/ak.png b/doc/images/flags/ak.png new file mode 100755 index 0000000..d79dc4f Binary files /dev/null and b/doc/images/flags/ak.png differ diff --git a/doc/images/flags/al.png b/doc/images/flags/al.png new file mode 100755 index 0000000..a729794 Binary files /dev/null and b/doc/images/flags/al.png differ diff --git a/doc/images/flags/ar.png b/doc/images/flags/ar.png new file mode 100755 index 0000000..6357a8f Binary files /dev/null and b/doc/images/flags/ar.png differ diff --git a/doc/images/flags/az.png b/doc/images/flags/az.png new file mode 100755 index 0000000..b6d8aae Binary files /dev/null and b/doc/images/flags/az.png differ diff --git a/doc/images/flags/ca.png b/doc/images/flags/ca.png new file mode 100755 index 0000000..9d6d955 Binary files /dev/null and b/doc/images/flags/ca.png differ diff --git a/doc/images/flags/co.png b/doc/images/flags/co.png new file mode 100755 index 0000000..888e830 Binary files /dev/null and b/doc/images/flags/co.png differ diff --git a/doc/images/flags/ct.png b/doc/images/flags/ct.png new file mode 100755 index 0000000..a953918 Binary files /dev/null and b/doc/images/flags/ct.png differ diff --git a/doc/images/flags/de.png b/doc/images/flags/de.png new file mode 100755 index 0000000..1bfb3ba Binary files /dev/null and b/doc/images/flags/de.png differ diff --git a/doc/images/flags/fl.png b/doc/images/flags/fl.png new file mode 100755 index 0000000..199a2f1 Binary files /dev/null and b/doc/images/flags/fl.png differ diff --git a/doc/images/flags/ga.png b/doc/images/flags/ga.png new file mode 100755 index 0000000..03f52bb Binary files /dev/null and b/doc/images/flags/ga.png differ diff --git a/doc/images/flags/hi.png b/doc/images/flags/hi.png new file mode 100755 index 0000000..36de7a5 Binary files /dev/null and b/doc/images/flags/hi.png differ diff --git a/doc/images/flags/ia.png b/doc/images/flags/ia.png new file mode 100755 index 0000000..c2c4cf0 Binary files /dev/null and b/doc/images/flags/ia.png differ diff --git a/doc/images/flags/id.png b/doc/images/flags/id.png new file mode 100755 index 0000000..bfbf897 Binary files /dev/null and b/doc/images/flags/id.png differ diff --git a/doc/images/flags/il.png b/doc/images/flags/il.png new file mode 100755 index 0000000..5c13e67 Binary files /dev/null and b/doc/images/flags/il.png differ diff --git a/doc/images/flags/in.png b/doc/images/flags/in.png new file mode 100755 index 0000000..5952580 Binary files /dev/null and b/doc/images/flags/in.png differ diff --git a/doc/images/flags/ks.png b/doc/images/flags/ks.png new file mode 100755 index 0000000..9190b24 Binary files /dev/null and b/doc/images/flags/ks.png differ diff --git a/doc/images/flags/ky.png b/doc/images/flags/ky.png new file mode 100755 index 0000000..5c8d0ca Binary files /dev/null and b/doc/images/flags/ky.png differ diff --git a/doc/images/flags/la.png b/doc/images/flags/la.png new file mode 100755 index 0000000..3f2c478 Binary files /dev/null and b/doc/images/flags/la.png differ diff --git a/doc/images/flags/ma.png b/doc/images/flags/ma.png new file mode 100755 index 0000000..a502081 Binary files /dev/null and b/doc/images/flags/ma.png differ diff --git a/doc/images/flags/md.png b/doc/images/flags/md.png new file mode 100755 index 0000000..1717a26 Binary files /dev/null and b/doc/images/flags/md.png differ diff --git a/doc/images/flags/me.png b/doc/images/flags/me.png new file mode 100755 index 0000000..7e696f3 Binary files /dev/null and b/doc/images/flags/me.png differ diff --git a/doc/images/flags/mi.png b/doc/images/flags/mi.png new file mode 100755 index 0000000..49494fc Binary files /dev/null and b/doc/images/flags/mi.png differ diff --git a/doc/images/flags/mn.png b/doc/images/flags/mn.png new file mode 100755 index 0000000..602f36b Binary files /dev/null and b/doc/images/flags/mn.png differ diff --git a/doc/images/flags/mo.png b/doc/images/flags/mo.png new file mode 100755 index 0000000..413ea1a Binary files /dev/null and b/doc/images/flags/mo.png differ diff --git a/doc/images/flags/ms.png b/doc/images/flags/ms.png new file mode 100755 index 0000000..d3e4a1c Binary files /dev/null and b/doc/images/flags/ms.png differ diff --git a/doc/images/flags/mt.png b/doc/images/flags/mt.png new file mode 100755 index 0000000..6822acb Binary files /dev/null and b/doc/images/flags/mt.png differ diff --git a/doc/images/flags/nc.png b/doc/images/flags/nc.png new file mode 100755 index 0000000..9555820 Binary files /dev/null and b/doc/images/flags/nc.png differ diff --git a/doc/images/flags/nd.png b/doc/images/flags/nd.png new file mode 100755 index 0000000..87e401c Binary files /dev/null and b/doc/images/flags/nd.png differ diff --git a/doc/images/flags/ne.png b/doc/images/flags/ne.png new file mode 100755 index 0000000..a69e15f Binary files /dev/null and b/doc/images/flags/ne.png differ diff --git a/doc/images/flags/nh.png b/doc/images/flags/nh.png new file mode 100755 index 0000000..d6ad1cb Binary files /dev/null and b/doc/images/flags/nh.png differ diff --git a/doc/images/flags/nj.png b/doc/images/flags/nj.png new file mode 100755 index 0000000..f2c6466 Binary files /dev/null and b/doc/images/flags/nj.png differ diff --git a/doc/images/flags/nm.png b/doc/images/flags/nm.png new file mode 100755 index 0000000..c273181 Binary files /dev/null and b/doc/images/flags/nm.png differ diff --git a/doc/images/flags/nv.png b/doc/images/flags/nv.png new file mode 100755 index 0000000..8f1a855 Binary files /dev/null and b/doc/images/flags/nv.png differ diff --git a/doc/images/flags/ny.png b/doc/images/flags/ny.png new file mode 100755 index 0000000..794b86e Binary files /dev/null and b/doc/images/flags/ny.png differ diff --git a/doc/images/flags/oh.png b/doc/images/flags/oh.png new file mode 100755 index 0000000..08601a6 Binary files /dev/null and b/doc/images/flags/oh.png differ diff --git a/doc/images/flags/ok.png b/doc/images/flags/ok.png new file mode 100755 index 0000000..543be91 Binary files /dev/null and b/doc/images/flags/ok.png differ diff --git a/doc/images/flags/or.png b/doc/images/flags/or.png new file mode 100755 index 0000000..846b4a6 Binary files /dev/null and b/doc/images/flags/or.png differ diff --git a/doc/images/flags/pa.png b/doc/images/flags/pa.png new file mode 100755 index 0000000..55f6c0f Binary files /dev/null and b/doc/images/flags/pa.png differ diff --git a/doc/images/flags/ri.png b/doc/images/flags/ri.png new file mode 100755 index 0000000..5cece5d Binary files /dev/null and b/doc/images/flags/ri.png differ diff --git a/doc/images/flags/sc.png b/doc/images/flags/sc.png new file mode 100755 index 0000000..9e39303 Binary files /dev/null and b/doc/images/flags/sc.png differ diff --git a/doc/images/flags/sd.png b/doc/images/flags/sd.png new file mode 100755 index 0000000..154618f Binary files /dev/null and b/doc/images/flags/sd.png differ diff --git a/doc/images/flags/tn.png b/doc/images/flags/tn.png new file mode 100755 index 0000000..321b48c Binary files /dev/null and b/doc/images/flags/tn.png differ diff --git a/doc/images/flags/tx.png b/doc/images/flags/tx.png new file mode 100755 index 0000000..0914b31 Binary files /dev/null and b/doc/images/flags/tx.png differ diff --git a/doc/images/flags/ut.png b/doc/images/flags/ut.png new file mode 100755 index 0000000..7a01ae6 Binary files /dev/null and b/doc/images/flags/ut.png differ diff --git a/doc/images/flags/va.png b/doc/images/flags/va.png new file mode 100755 index 0000000..ce58c01 Binary files /dev/null and b/doc/images/flags/va.png differ diff --git a/doc/images/flags/vt.png b/doc/images/flags/vt.png new file mode 100755 index 0000000..fe1b19f Binary files /dev/null and b/doc/images/flags/vt.png differ diff --git a/doc/images/flags/wa.png b/doc/images/flags/wa.png new file mode 100755 index 0000000..0c0d8f0 Binary files /dev/null and b/doc/images/flags/wa.png differ diff --git a/doc/images/flags/wi.png b/doc/images/flags/wi.png new file mode 100755 index 0000000..2569f17 Binary files /dev/null and b/doc/images/flags/wi.png differ diff --git a/doc/images/flags/wv.png b/doc/images/flags/wv.png new file mode 100755 index 0000000..b403899 Binary files /dev/null and b/doc/images/flags/wv.png differ diff --git a/doc/images/flags/wy.png b/doc/images/flags/wy.png new file mode 100755 index 0000000..82a453c Binary files /dev/null and b/doc/images/flags/wy.png differ diff --git a/doc/src/typeahead/typeahead.html b/doc/src/typeahead/typeahead.html index affb32b..b1a0d2f 100644 --- a/doc/src/typeahead/typeahead.html +++ b/doc/src/typeahead/typeahead.html @@ -48,6 +48,13 @@

Async Data

+
@@ -219,6 +226,13 @@

Options

<div class="col-xs-6"> <aubs-typeahead data.call="getStates(filter, limit)" value.bind="state" debounce.bind="350" placeholder="States" open-on-focus.bind="true" key="state" results-limit.bind="10" select-single-result.bind="true"> + <template replace-part="item-template"> + <a class="dropdown-item ${open}focusedItem === item ? 'active' : ''}" href="javascript:void(0)" + show.bind="!loading" click.delegate="itemSelected(item)"> + <img src="images/flags/${open}item.short}.png" width="30px" style="margin-right: 10px"/> + ${open}getName(item)} + </a> + </template> </aubs-typeahead> <br/> <button class="btn btn-default" click.delegate="state = null" disabled.bind="!state">Clear State</button> diff --git a/doc/states.json b/doc/states.json index 28ec160..0c799bb 100644 --- a/doc/states.json +++ b/doc/states.json @@ -1,238 +1,206 @@ [ { "state": "Alabama", - "short": "AL" + "short": "al" }, { "state": "Alaska", - "short": "AK" - }, - { - "state": "American Samoa", - "short": "AS" + "short": "ak" }, { "state": "Arizona", - "short": "AZ" + "short": "az" }, { "state": "Arkansas", - "short": "AR" + "short": "ar" }, { "state": "California", - "short": "CA" + "short": "ca" }, { "state": "Colorado", - "short": "CO" + "short": "co" }, { "state": "Connecticut", - "short": "CT" + "short": "ct" }, { "state": "Delaware", - "short": "DE" - }, - { - "state": "District Of Columbia", - "short": "DC" - }, - { - "state": "Federated States Of Micronesia", - "short": "FM" + "short": "de" }, { "state": "Florida", - "short": "FL" + "short": "fl" }, { "state": "Georgia", - "short": "GA" - }, - { - "state": "Guam", - "short": "GU" + "short": "ga" }, { "state": "Hawaii", - "short": "HI" + "short": "hi" }, { "state": "Idaho", - "short": "ID" + "short": "id" }, { "state": "Illinois", - "short": "IL" + "short": "il" }, { "state": "Indiana", - "short": "IN" + "short": "in" }, { "state": "Iowa", - "short": "IA" + "short": "ia" }, { "state": "Kansas", - "short": "KS" + "short": "ks" }, { "state": "Kentucky", - "short": "KY" + "short": "ky" }, { "state": "Louisiana", - "short": "LA" + "short": "la" }, { "state": "Maine", - "short": "ME" + "short": "me" }, { "state": "Marshall Islands", - "short": "MH" + "short": "mh" }, { "state": "Maryland", - "short": "MD" + "short": "md" }, { "state": "Massachusetts", - "short": "MA" + "short": "ma" }, { "state": "Michigan", - "short": "MI" + "short": "mi" }, { "state": "Minnesota", - "short": "MN" + "short": "mn" }, { "state": "Mississippi", - "short": "MS" + "short": "ms" }, { "state": "Missouri", - "short": "MO" + "short": "mo" }, { "state": "Montana", - "short": "MT" + "short": "mt" }, { "state": "Nebraska", - "short": "NE" + "short": "ne" }, { "state": "Nevada", - "short": "NV" + "short": "nv" }, { "state": "New Hampshire", - "short": "NH" + "short": "nh" }, { "state": "New Jersey", - "short": "NJ" + "short": "nj" }, { "state": "New Mexico", - "short": "NM" + "short": "nm" }, { "state": "New York", - "short": "NY" + "short": "ny" }, { "state": "North Carolina", - "short": "NC" + "short": "nc" }, { "state": "North Dakota", - "short": "ND" - }, - { - "state": "Northern Mariana Islands", - "short": "MP" + "short": "nd" }, { "state": "Ohio", - "short": "OH" + "short": "oh" }, { "state": "Oklahoma", - "short": "OK" + "short": "ok" }, { "state": "Oregon", - "short": "OR" - }, - { - "state": "Palau", - "short": "PW" + "short": "or" }, { "state": "Pennsylvania", - "short": "PA" - }, - { - "state": "Puerto Rico", - "short": "PR" + "short": "pa" }, { "state": "Rhode Island", - "short": "RI" + "short": "ri" }, { "state": "South Carolina", - "short": "SC" + "short": "sc" }, { "state": "South Dakota", - "short": "SD" + "short": "sd" }, { "state": "Tennessee", - "short": "TN" + "short": "tn" }, { "state": "Texas", - "short": "TX" + "short": "tx" }, { "state": "Utah", - "short": "UT" + "short": "ut" }, { "state": "Vermont", - "short": "VT" - }, - { - "state": "Virgin Islands", - "short": "VI" + "short": "vt" }, { "state": "Virginia", - "short": "VA" + "short": "va" }, { "state": "Washington", - "short": "WA" + "short": "wa" }, { "state": "West Virginia", - "short": "WV" + "short": "wv" }, { "state": "Wisconsin", - "short": "WI" + "short": "wi" }, { "state": "Wyoming", - "short": "WY" + "short": "wy" } ]