diff --git a/shrine-webclient/src/main/js/client/js-shrine/assets/css/styles.css b/shrine-webclient/src/main/js/client/js-shrine/assets/css/styles.css index 2e2206b77..bf1976f2e 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/assets/css/styles.css +++ b/shrine-webclient/src/main/js/client/js-shrine/assets/css/styles.css @@ -1,532 +1,536 @@ +.mailto { + box-sizing: border-box; + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + padding: 10px; + color: #333; + background: #f2f2f2; + height: 100% p; + height-font-size: 16px; + height-line-height: 1.6em; } + .mailto .button { + border: 1px solid #6576a8; + background: #6d85ad; + border: 0; + outline: 0; + font-weight: bold; + text-transform: uppercase; + text-decoration: none; + letter-spacing: 1px; + color: #fff; + cursor: pointer; } + .mailto .button:hover { + background: #9cb8d9; } + .mailto .button:active { + background: #6576a8; } + .mailto .button--large { + position: relative; + padding: 15px 30px; + border-radius: 5px; + font-size: 16px; } + .mailto .button--large:active { + top: 1px; } + .mailto .content { + max-width: 350px; + text-align: center; } + .mailto .email { + position: relative; } + @import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); * { box-sizing: border-box; } .query-viewer { overflow: auto; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; height: 100%; } .flex-table { display: flex; width: 100%; flex-direction: column; margin: 0; } div.ellipses { overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .flex-table-item { flex: 1 1 0; white-space: nowrap; max-width: 15%; border-left: 1px solid rgba(98, 108, 146, 0.3); flex-flow: column; transition: all .5s ease; padding: 2px; text-align: right; vertical-align: top; font-weight: 300; font-size: 12px; color: black; } .flex-table-item:last-child { border-right: 1px solid rgba(98, 108, 146, 0.3); } .flex-table-item:first-child { - flex: 2; } + flex: .25; } .flex-table-item:nth-child(2) { + flex: 2; } + +.flex-table-item:nth-child(3) { flex: .8; } .flex-table-item:nth-child(3) { flex: .5; } .flex-table.query-viewer .flex-table-item:hover { background: rgba(98, 108, 146, 0.3) !important; cursor: pointer; } .node-header, .node-header > .flex-table-item { border: none !important; text-align: center; padding-right: 8px; text-transform: uppercase; } .flex-table-row { border-top: 1px solid rgba(98, 108, 146, 0.3); display: flex; flex-flow: row no-wrap; width: 100%; } .flex-table-row:nth-child(even) { background: rgba(98, 108, 146, 0.1); } .flex-table-row:last-child { /*being overwritten by above rule */ border-bottom: 1px solid rgba(98, 108, 146, 0.3) !important; } .v-full { height: 90vh; } .v-min { height: 90px; } /*@import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); body{ overflow: hidden; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; } html, body, .box-wrapper{ width: 100%; height: 100%; margin: 0; } .box-wrapper{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: wrap; flex-wrap: wrap; } .box-wrapper > .box { margin-top: 0; width: 100%; transition: all .2s ease; .hideextra { white-space: nowrap; overflow: hidden; text-overflow:ellipsis; } section{ margin: 20 0 6 0; .v-full { height: 90vh; } .v-min{ height: 90px; } .v-min > table { padding-bottom: 1%; } .tbl-content{ overflow: auto; margin-top: 0px; border: 1px solid rgba(98,108,146,0.3); } } table{ width:100%; table-layout: fixed; .tbl-header{ background-color: rgba(98,108,146, .3); div.tbl-header{ max-width: 5rem; } } tr{ background: white; cursor: pointer; &:nth-child(odd) {background: rgba(98,108,146, .1)} } th{ padding: 2px 4px 4px 2px; text-align: left; font-weight: 500; font-size: .75rem; color: #626C92; text-transform: uppercase; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } td{ transition: all .5s ease; padding: 2px; text-align: left; vertical-align: top; font-weight: 300; font-size: 12px; color: black; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } } } */ /*{ position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: #337ab7; text-decoration: none; background-color: #fff; border: 1px solid #ddd; } :focus { z-index: 3; color: #fff; cursor: default; background-color: #337ab7; border-color: #337ab7; }*/ -.mailto { - box-sizing: border-box; - display: flex; - justify-content: center; - align-items: center; - width: 100%; - height: 100%; - padding: 10px; - color: #333; - background: #f2f2f2; - height: 100% p; - height-font-size: 16px; - height-line-height: 1.6em; } - .mailto .button { - border: 1px solid #6576a8; - background: #6d85ad; - border: 0; - outline: 0; - font-weight: bold; - text-transform: uppercase; - text-decoration: none; - letter-spacing: 1px; - color: #fff; - cursor: pointer; } - .mailto .button:hover { - background: #9cb8d9; } - .mailto .button:active { - background: #6576a8; } - .mailto .button--large { - position: relative; - padding: 15px 30px; - border-radius: 5px; - font-size: 16px; } - .mailto .button--large:active { - top: 1px; } - .mailto .content { - max-width: 350px; - text-align: center; } - .mailto .email { - position: relative; } - -@import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); -ul.context-menu { - transition: opacity 0.2s linear; - list-style: none; - margin: 0; - padding: 0; - font: 200 11px "Roboto", sans-serif; - position: absolute; - color: #626C92; - box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2); - border-radius: 5px; - border: 1px solid rgba(98, 108, 146, 0.25); } - ul.context-menu * { - transition: color 0.2s, background 0.2s; } - ul.context-menu.hide { - visibility: hidden; - opacity: 0; } - ul.context-menu.show { - visibility: visible; - opacity: 1; } - ul.context-menu li { - min-width: 100px; - overflow: hidden; - white-space: nowrap; - padding: 6px 8px; - background-color: #fff; - border-bottom: 1px solid #ecf0f1; } - ul.context-menu li a { - color: #626C92; - text-decoration: none; } - ul.context-menu li:hover { - background-color: #ecf0f1; - color: #2980b9; } - ul.context-menu li:hover a { - color: #2980b9; } - ul.context-menu li:first-child { - border-radius: 5px 5px 0 0; } - ul.context-menu li:last-child { - border-bottom: 0; - border-radius: 0 0 5px 5px; } - @import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); .loader { background: #fff; margin: 50px 300px; /*todo cleanup with mixin*/ } .loader h1 { color: #626C92; font: 300 11px "Roboto", sans-serif; } .loader div.slider { position: absolute; width: 200px; height: 2px; margin-top: -30px; } .loader div.slider div.line { position: absolute; background: rgba(0, 0, 0, 0.2); width: 200px; height: 2px; } .loader div.slider div.break { position: absolute; width: 50%; height: 2px; } .loader div.slider div.break.dot1 { animation: loading 2s infinite; background: #D9ECF0; } .loader div.slider div.break.dot2 { animation: loading 2s 0.5s infinite; background: #6677AA; } .loader div.slider div.break.dot3 { animation: loading 2s 1s infinite; background: #D9ECF0; } @-webkit-keyframes "loading" { from { left: 0; opacity: 1; } to { left: 200px; opacity: 1; } } @-moz-keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } @-o-keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } @keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } -.paginator * { - -webkit-transition: all .10s ease-in-out; - transition: all .10s ease-in-out; - font-family: 'Open Sans'; } - -.paginator { - margin: 0; } - -.paginator--center { - text-align: center; } - -.paginator--right { - text-align: right; } - -.paginator .btn-group { - list-style-type: none; - margin: 0; - padding: 0; - display: inline-block; } - -.paginator .btn-group__item { +@import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); +ul.context-menu { + transition: opacity 0.2s linear; + list-style: none; margin: 0; padding: 0; - height: 40px; - float: left; } - -.paginator .btn-group__item .btn { - margin: 0; - padding: .5em .75em; - border: 0; - font-weight: 300; - background-color: transparent; - box-shadow: inset 0 -2px 0 0 #777; - color: #777; } - -.paginator .btn-group__item .btn:hover { - box-shadow: inset 0 -4px 0 0 #626C92; - cursor: pointer; } - -.paginator .btn-group__item .current { - box-shadow: inset 0 -4px 0 0 #626C92; + font: 200 11px "Roboto", sans-serif; + position: absolute; color: #626C92; - font-weight: bold; } - -.paginator .btn-group__item .current:hover { - box-shadow: inset 0 -4px 0 0 #626C92; - cursor: pointer; } - -.paginator .btn[disabled] { - box-shadow: inset 0 -2px 0 0 #e6e6e6; - color: #e6e6e6; } - -.paginator .btn[disabled]:hover { - box-shadow: inset 0 -2px 0 0 #626C92; - cursor: pointer; } - -.paginator .i-chevron-left, -.paginator .i-chevron-right { - margin: 15px; - border-style: solid; - border-color: #3a3a3a; - width: 5px; - height: 5px; - display: block; - cursor: pointer; } - -.paginator .i-chevron-left { - border-width: 1px 0 0 1px; - -webkit-transform: rotate(-45deg); - -ms-transform: rotate(-45deg); - transform: rotate(-45deg); } - -.paginator .i-chevron-right { - border-width: 1px 1px 0 0; - -ms-transform: rotate(45deg); - -webkit-transform: rotate(45deg); - transform: rotate(45deg); } - -.paginator .i-chevron-left:hover { - border-width: 2px 0 0 2px; } - -.paginator .i-chevron-right:hover { - border-width: 2px 2px 0 0; } + box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2); + border-radius: 5px; + border: 1px solid rgba(98, 108, 146, 0.25); } + ul.context-menu * { + transition: color 0.2s, background 0.2s; } + ul.context-menu.hide { + visibility: hidden; + opacity: 0; } + ul.context-menu.show { + visibility: visible; + opacity: 1; } + ul.context-menu li { + min-width: 100px; + overflow: hidden; + white-space: nowrap; + padding: 6px 8px; + background-color: #fff; + border-bottom: 1px solid #ecf0f1; } + ul.context-menu li a { + color: #626C92; + text-decoration: none; } + ul.context-menu li:hover { + background-color: #ecf0f1; + color: #2980b9; } + ul.context-menu li:hover a { + color: #2980b9; } + ul.context-menu li:first-child { + border-radius: 5px 5px 0 0; } + ul.context-menu li:last-child { + border-bottom: 0; + border-radius: 0 0 5px 5px; } svg.query-status { height: 25px; -webkit-transform: rotate(270deg); transform: rotate(270deg); width: 25px; } .query-status > .countdown__background { transition: all .5s ease; fill: none; stroke: #c0c0c0; stroke-width: 8; } .flex-table.query-viewer .flex-table-item:hover .query-status > .countdown__background { stroke: #000; } .query-status > .error__progress { fill: none; stroke: #ff0000; stroke-dasharray: 100 100; stroke-linecap: butt; stroke-width: 6; } .query-status > .ready__progress { fill: none; stroke: #00ff00; stroke-dasharray: 100 100; stroke-linecap: butt; stroke-width: 6; } .tooltip { font-family: sans-serif; } .tooltip [data-line1] { position: relative; } .tooltip [data-line1]::before, .tooltip [data-line1]::after { text-transform: none; font-size: .9em; line-height: 1; user-select: none; pointer-events: none; position: absolute; display: none; opacity: 0; left: 50%; transform: translate(-50%, -0.5em); display: block; } .tooltip [data-line1]::before { content: ''; border: 5px solid transparent; z-index: 10001; bottom: 100%; border-bottom-width: 0; border-top-color: #333; } .tooltip [data-line1]::after { bottom: calc(100% + 5px); font-family: Helvetica, sans-serif; text-align: center; min-width: 3em; max-width: 42em; padding: 1ch 1.5ch; border-radius: .3ch; box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35); background: #333; color: #fff; z-index: 10000; display: block; white-space: pre; content: attr(data-line1); } /* display second line if provided */ .tooltip [data-line1][data-line2]::after { content: attr(data-line1) "\a" attr(data-line2); } /* KEYFRAMES */ @keyframes tooltips-vert { to { opacity: .9; transform: translate(-50%, 0); } } @keyframes tooltips-horz { to { opacity: .9; transform: translate(0, -50%); } } -/* FX All The Things */ +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::before, +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::after, .tooltip [data-line1]:hover::before, .tooltip [data-line2]:hover::after { animation: tooltips-vert 300ms ease-out forwards; } -/* UNRELATED to tooltips */ -body { +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::before { + top: 7px; + border-top-width: 0; + border: 5px solid transparent; + border-bottom-color: #333; } + +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::after { + bottom: calc(-100% - 20px); } + +.paginator * { + -webkit-transition: all .10s ease-in-out; + transition: all .10s ease-in-out; + font-family: 'Open Sans'; } + +.paginator { + margin: 0; } + +.paginator--center { + text-align: center; } + +.paginator--right { + text-align: right; } + +.paginator .btn-group { + list-style-type: none; margin: 0; - min-height: 100vh; - display: flex; - flex-direction: column; - font-family: sans-serif; - background: #ededed; } + padding: 0; + display: inline-block; } + +.paginator .btn-group__item { + margin: 0; + padding: 0; + height: 40px; + float: left; } + +.paginator .btn-group__item .btn { + margin: 0; + padding: .5em .75em; + border: 0; + font-weight: 300; + background-color: transparent; + box-shadow: inset 0 -2px 0 0 #777; + color: #777; } + +.paginator .btn-group__item .btn:hover { + box-shadow: inset 0 -4px 0 0 #626C92; + cursor: pointer; } + +.paginator .btn-group__item .current { + box-shadow: inset 0 -4px 0 0 #626C92; + color: #626C92; + font-weight: bold; } + +.paginator .btn-group__item .current:hover { + box-shadow: inset 0 -4px 0 0 #626C92; + cursor: pointer; } + +.paginator .btn[disabled] { + box-shadow: inset 0 -2px 0 0 #e6e6e6; + color: #e6e6e6; } + +.paginator .btn[disabled]:hover { + box-shadow: inset 0 -2px 0 0 #626C92; + cursor: pointer; } + +.paginator .i-chevron-left, +.paginator .i-chevron-right { + margin: 15px; + border-style: solid; + border-color: #3a3a3a; + width: 5px; + height: 5px; + display: block; + cursor: pointer; } + +.paginator .i-chevron-left { + border-width: 1px 0 0 1px; + -webkit-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + transform: rotate(-45deg); } + +.paginator .i-chevron-right { + border-width: 1px 1px 0 0; + -ms-transform: rotate(45deg); + -webkit-transform: rotate(45deg); + transform: rotate(45deg); } + +.paginator .i-chevron-left:hover { + border-width: 2px 0 0 2px; } + +.paginator .i-chevron-right:hover { + border-width: 2px 2px 0 0; } diff --git a/shrine-webclient/src/main/js/client/js-shrine/config.js b/shrine-webclient/src/main/js/client/js-shrine/config.js index f7d001f8b..6c26323c4 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/config.js +++ b/shrine-webclient/src/main/js/client/js-shrine/config.js @@ -1,716 +1,718 @@ System.config({ defaultJSExtensions: true, transpiler: false, paths: { "*": "dist/*", "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "aurelia-animator-css": "npm:aurelia-animator-css@1.0.1", "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.1", "aurelia-framework": "npm:aurelia-framework@1.0.6", "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-browser": "npm:aurelia-pal-browser@1.0.0", "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0", "bluebird": "npm:bluebird@3.4.1", "bootstrap": "github:twbs/bootstrap@3.3.7", "fetch": "github:github/fetch@1.0.0", "font-awesome": "npm:font-awesome@4.7.0", "jquery": "npm:jquery@2.2.4", "moment": "npm:moment@2.18.1", "ramda": "npm:ramda@0.23.0", "text": "github:systemjs/plugin-text@0.0.8", "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.6" }, "github:jspm/nodelibs-process@0.1.2": { "process": "npm:process@0.11.10" }, "github:jspm/nodelibs-util@0.1.0": { "util": "npm:util@0.10.3" }, "github:jspm/nodelibs-vm@0.1.0": { "vm-browserify": "npm:vm-browserify@0.0.4" }, "github:twbs/bootstrap@3.3.7": { "jquery": "npm:jquery@2.2.4" }, "npm:assert@1.4.1": { "assert": "github:jspm/nodelibs-assert@0.1.0", "buffer": "github:jspm/nodelibs-buffer@0.1.1", "process": "github:jspm/nodelibs-process@0.1.2", "util": "npm:util@0.10.3" }, "npm:aurelia-animator-css@1.0.1": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-binding@1.0.9": { "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0" }, "npm:aurelia-bootstrapper@1.0.0": { "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", "aurelia-framework": "npm:aurelia-framework@1.0.6", "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.0", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.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.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0" }, "npm:aurelia-dependency-injection@1.3.1": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-event-aggregator@1.0.1": { "aurelia-logging": "npm:aurelia-logging@1.3.1" }, "npm:aurelia-framework@1.0.6": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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.1.1" }, "npm:aurelia-history-browser@1.0.0": { "aurelia-history": "npm:aurelia-history@1.0.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.3.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" }, "npm:aurelia-metadata@1.0.3": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-pal-browser@1.0.0": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-polyfills@1.1.1": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-route-recognizer@1.1.0": { "aurelia-path": "npm:aurelia-path@1.1.1" }, "npm:aurelia-router@1.3.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "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-path": "npm:aurelia-path@1.1.1", "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0" }, "npm:aurelia-task-queue@1.1.0": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-templating-binding@1.0.0": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-templating-resources@1.1.1": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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.1.1" }, "npm:aurelia-templating-router@1.0.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-templating@1.1.1": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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" }, "npm:bluebird@3.4.1": { "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:buffer@5.0.6": { "base64-js": "npm:base64-js@1.2.0", "ieee754": "npm:ieee754@1.1.8" }, "npm:font-awesome@4.7.0": { "css": "github:systemjs/plugin-css@0.1.33" }, "npm:inherits@2.0.1": { "util": "github:jspm/nodelibs-util@0.1.0" }, "npm:process@0.11.10": { "assert": "github:jspm/nodelibs-assert@0.1.0", "fs": "github:jspm/nodelibs-fs@0.1.2", "vm": "github:jspm/nodelibs-vm@0.1.0" }, "npm:ramda@0.23.0": { "assert": "github:jspm/nodelibs-assert@0.1.0", "process": "github:jspm/nodelibs-process@0.1.2", "util": "github:jspm/nodelibs-util@0.1.0", "vm": "github:jspm/nodelibs-vm@0.1.0" }, "npm:util@0.10.3": { "inherits": "npm:inherits@2.0.1", "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:vm-browserify@0.0.4": { "indexof": "npm:indexof@0.0.1" } }, - depCache: { - "common/container.js": [ - "ramda" - ], - "common/i2b2.pub-sub.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "./i2b2.service", - "./shrine.messages" - ], - "common/i2b2.service.js": [ - "ramda", - "./container" - ], - "common/queries.model.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "repository/qep.repository", - "./shrine.messages" - ], - "repository/qep.repository.js": [ - "aurelia-framework", - "aurelia-fetch-client", - "fetch" - ], - "shell.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/i2b2.pub-sub", - "common/queries.model", - "common/shrine.messages" - ], - "views/mailto/mailto.js": [ - "aurelia-framework", - "views/mailto/mailto.service", - "views/mailto/mailto.config" - ], - "views/mailto/mailto.service.js": [ - "aurelia-framework", - "repository/qep.repository" - ], - "views/query-viewer/context-menu/context-menu.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/shrine.messages" - ], - "views/query-viewer/date.converter.js": [ - "moment" - ], - "views/query-viewer/loading-bar/loading-bar.js": [ - "aurelia-framework" - ], - "views/query-viewer/paginator/paginator.js": [ - "aurelia-framework" - ], - "views/query-viewer/query-status/query-status.js": [ - "aurelia-framework" - ], - "views/query-viewer/query-viewer.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/queries.model", - "./scroll.service", - "common/shrine.messages" - ], - "views/query-viewer/scroll.service.js": [ - "ramda", - "common/container" - ] - }, bundles: { "app-build.js": [ "common/container.js", "common/i2b2.pub-sub.js", "common/i2b2.service.js", "common/queries.model.js", "common/shrine.messages.js", "main.js", "repository/qep.repository.js", "shell.html!github:systemjs/plugin-text@0.0.8.js", "shell.js", "views/mailto/mailto.config.js", "views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js", "views/mailto/mailto.js", "views/mailto/mailto.service.js", "views/query-viewer/box-style.converter.js", "views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/context-menu/context-menu.js", "views/query-viewer/date.converter.js", "views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/loading-bar/loading-bar.js", "views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/paginator/paginator.js", "views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/query-status/query-status.js", "views/query-viewer/query-viewer.config.js", "views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/query-viewer.js", "views/query-viewer/result-style.converter.js", "views/query-viewer/result-value.converter.js", "views/query-viewer/scroll.service.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", "npm:aurelia-binding@1.0.9.js", "npm:aurelia-binding@1.0.9/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.1.js", "npm:aurelia-dependency-injection@1.3.1/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.0.1.js", "npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js", "npm:aurelia-framework@1.0.6.js", "npm:aurelia-framework@1.0.6/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.3.1.js", "npm:aurelia-logging@1.3.1/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.1.1.js", "npm:aurelia-polyfills@1.1.1/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.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.1.1.js", "npm:aurelia-templating-resources@1.1.1/abstract-repeater.js", "npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js", "npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js", "npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js", "npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js", "npm:aurelia-templating-resources@1.1.1/binding-signaler.js", "npm:aurelia-templating-resources@1.1.1/compose.js", "npm:aurelia-templating-resources@1.1.1/css-resource.js", "npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/dynamic-element.js", "npm:aurelia-templating-resources@1.1.1/focus.js", "npm:aurelia-templating-resources@1.1.1/hide.js", "npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js", "npm:aurelia-templating-resources@1.1.1/html-sanitizer.js", "npm:aurelia-templating-resources@1.1.1/if.js", "npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js", "npm:aurelia-templating-resources@1.1.1/repeat-utilities.js", "npm:aurelia-templating-resources@1.1.1/repeat.js", "npm:aurelia-templating-resources@1.1.1/replaceable.js", "npm:aurelia-templating-resources@1.1.1/sanitize-html.js", "npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/show.js", "npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/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.1.1.js", "npm:aurelia-templating@1.1.1/aurelia-templating.js", "npm:font-awesome@4.7.0.js", "npm:font-awesome@4.7.0/css/font-awesome.css!github:systemjs/plugin-css@0.1.33.js", "npm:jquery@2.2.4.js", "npm:jquery@2.2.4/dist/jquery.js", "npm:moment@2.18.1.js", "npm:moment@2.18.1/moment.js", "npm:process@0.11.10.js", "npm:process@0.11.10/browser.js", "npm:ramda@0.23.0.js", "npm:ramda@0.23.0/index.js", "npm:ramda@0.23.0/src/F.js", "npm:ramda@0.23.0/src/T.js", "npm:ramda@0.23.0/src/__.js", "npm:ramda@0.23.0/src/add.js", "npm:ramda@0.23.0/src/addIndex.js", "npm:ramda@0.23.0/src/adjust.js", "npm:ramda@0.23.0/src/all.js", "npm:ramda@0.23.0/src/allPass.js", "npm:ramda@0.23.0/src/always.js", "npm:ramda@0.23.0/src/and.js", "npm:ramda@0.23.0/src/any.js", "npm:ramda@0.23.0/src/anyPass.js", "npm:ramda@0.23.0/src/ap.js", "npm:ramda@0.23.0/src/aperture.js", "npm:ramda@0.23.0/src/append.js", "npm:ramda@0.23.0/src/apply.js", "npm:ramda@0.23.0/src/applySpec.js", "npm:ramda@0.23.0/src/ascend.js", "npm:ramda@0.23.0/src/assoc.js", "npm:ramda@0.23.0/src/assocPath.js", "npm:ramda@0.23.0/src/binary.js", "npm:ramda@0.23.0/src/bind.js", "npm:ramda@0.23.0/src/both.js", "npm:ramda@0.23.0/src/call.js", "npm:ramda@0.23.0/src/chain.js", "npm:ramda@0.23.0/src/clamp.js", "npm:ramda@0.23.0/src/clone.js", "npm:ramda@0.23.0/src/comparator.js", "npm:ramda@0.23.0/src/complement.js", "npm:ramda@0.23.0/src/compose.js", "npm:ramda@0.23.0/src/composeK.js", "npm:ramda@0.23.0/src/composeP.js", "npm:ramda@0.23.0/src/concat.js", "npm:ramda@0.23.0/src/cond.js", "npm:ramda@0.23.0/src/construct.js", "npm:ramda@0.23.0/src/constructN.js", "npm:ramda@0.23.0/src/contains.js", "npm:ramda@0.23.0/src/converge.js", "npm:ramda@0.23.0/src/countBy.js", "npm:ramda@0.23.0/src/curry.js", "npm:ramda@0.23.0/src/curryN.js", "npm:ramda@0.23.0/src/dec.js", "npm:ramda@0.23.0/src/defaultTo.js", "npm:ramda@0.23.0/src/descend.js", "npm:ramda@0.23.0/src/difference.js", "npm:ramda@0.23.0/src/differenceWith.js", "npm:ramda@0.23.0/src/dissoc.js", "npm:ramda@0.23.0/src/dissocPath.js", "npm:ramda@0.23.0/src/divide.js", "npm:ramda@0.23.0/src/drop.js", "npm:ramda@0.23.0/src/dropLast.js", "npm:ramda@0.23.0/src/dropLastWhile.js", "npm:ramda@0.23.0/src/dropRepeats.js", "npm:ramda@0.23.0/src/dropRepeatsWith.js", "npm:ramda@0.23.0/src/dropWhile.js", "npm:ramda@0.23.0/src/either.js", "npm:ramda@0.23.0/src/empty.js", "npm:ramda@0.23.0/src/eqBy.js", "npm:ramda@0.23.0/src/eqProps.js", "npm:ramda@0.23.0/src/equals.js", "npm:ramda@0.23.0/src/evolve.js", "npm:ramda@0.23.0/src/filter.js", "npm:ramda@0.23.0/src/find.js", "npm:ramda@0.23.0/src/findIndex.js", "npm:ramda@0.23.0/src/findLast.js", "npm:ramda@0.23.0/src/findLastIndex.js", "npm:ramda@0.23.0/src/flatten.js", "npm:ramda@0.23.0/src/flip.js", "npm:ramda@0.23.0/src/forEach.js", "npm:ramda@0.23.0/src/forEachObjIndexed.js", "npm:ramda@0.23.0/src/fromPairs.js", "npm:ramda@0.23.0/src/groupBy.js", "npm:ramda@0.23.0/src/groupWith.js", "npm:ramda@0.23.0/src/gt.js", "npm:ramda@0.23.0/src/gte.js", "npm:ramda@0.23.0/src/has.js", "npm:ramda@0.23.0/src/hasIn.js", "npm:ramda@0.23.0/src/head.js", "npm:ramda@0.23.0/src/identical.js", "npm:ramda@0.23.0/src/identity.js", "npm:ramda@0.23.0/src/ifElse.js", "npm:ramda@0.23.0/src/inc.js", "npm:ramda@0.23.0/src/indexBy.js", "npm:ramda@0.23.0/src/indexOf.js", "npm:ramda@0.23.0/src/init.js", "npm:ramda@0.23.0/src/insert.js", "npm:ramda@0.23.0/src/insertAll.js", "npm:ramda@0.23.0/src/internal/_Set.js", "npm:ramda@0.23.0/src/internal/_aperture.js", "npm:ramda@0.23.0/src/internal/_arity.js", "npm:ramda@0.23.0/src/internal/_arrayFromIterator.js", "npm:ramda@0.23.0/src/internal/_assign.js", "npm:ramda@0.23.0/src/internal/_checkForMethod.js", "npm:ramda@0.23.0/src/internal/_clone.js", "npm:ramda@0.23.0/src/internal/_cloneRegExp.js", "npm:ramda@0.23.0/src/internal/_complement.js", "npm:ramda@0.23.0/src/internal/_concat.js", "npm:ramda@0.23.0/src/internal/_contains.js", "npm:ramda@0.23.0/src/internal/_containsWith.js", "npm:ramda@0.23.0/src/internal/_createPartialApplicator.js", "npm:ramda@0.23.0/src/internal/_curry1.js", "npm:ramda@0.23.0/src/internal/_curry2.js", "npm:ramda@0.23.0/src/internal/_curry3.js", "npm:ramda@0.23.0/src/internal/_curryN.js", "npm:ramda@0.23.0/src/internal/_dispatchable.js", "npm:ramda@0.23.0/src/internal/_dropLast.js", "npm:ramda@0.23.0/src/internal/_dropLastWhile.js", "npm:ramda@0.23.0/src/internal/_equals.js", "npm:ramda@0.23.0/src/internal/_filter.js", "npm:ramda@0.23.0/src/internal/_flatCat.js", "npm:ramda@0.23.0/src/internal/_forceReduced.js", "npm:ramda@0.23.0/src/internal/_functionName.js", "npm:ramda@0.23.0/src/internal/_has.js", "npm:ramda@0.23.0/src/internal/_identity.js", "npm:ramda@0.23.0/src/internal/_indexOf.js", "npm:ramda@0.23.0/src/internal/_isArguments.js", "npm:ramda@0.23.0/src/internal/_isArray.js", "npm:ramda@0.23.0/src/internal/_isFunction.js", "npm:ramda@0.23.0/src/internal/_isInteger.js", "npm:ramda@0.23.0/src/internal/_isNumber.js", "npm:ramda@0.23.0/src/internal/_isObject.js", "npm:ramda@0.23.0/src/internal/_isPlaceholder.js", "npm:ramda@0.23.0/src/internal/_isRegExp.js", "npm:ramda@0.23.0/src/internal/_isString.js", "npm:ramda@0.23.0/src/internal/_isTransformer.js", "npm:ramda@0.23.0/src/internal/_makeFlat.js", "npm:ramda@0.23.0/src/internal/_map.js", "npm:ramda@0.23.0/src/internal/_objectAssign.js", "npm:ramda@0.23.0/src/internal/_of.js", "npm:ramda@0.23.0/src/internal/_pipe.js", "npm:ramda@0.23.0/src/internal/_pipeP.js", "npm:ramda@0.23.0/src/internal/_quote.js", "npm:ramda@0.23.0/src/internal/_reduce.js", "npm:ramda@0.23.0/src/internal/_reduced.js", "npm:ramda@0.23.0/src/internal/_stepCat.js", "npm:ramda@0.23.0/src/internal/_toISOString.js", "npm:ramda@0.23.0/src/internal/_toString.js", "npm:ramda@0.23.0/src/internal/_xall.js", "npm:ramda@0.23.0/src/internal/_xany.js", "npm:ramda@0.23.0/src/internal/_xaperture.js", "npm:ramda@0.23.0/src/internal/_xchain.js", "npm:ramda@0.23.0/src/internal/_xdrop.js", "npm:ramda@0.23.0/src/internal/_xdropLast.js", "npm:ramda@0.23.0/src/internal/_xdropLastWhile.js", "npm:ramda@0.23.0/src/internal/_xdropRepeatsWith.js", "npm:ramda@0.23.0/src/internal/_xdropWhile.js", "npm:ramda@0.23.0/src/internal/_xfBase.js", "npm:ramda@0.23.0/src/internal/_xfilter.js", "npm:ramda@0.23.0/src/internal/_xfind.js", "npm:ramda@0.23.0/src/internal/_xfindIndex.js", "npm:ramda@0.23.0/src/internal/_xfindLast.js", "npm:ramda@0.23.0/src/internal/_xfindLastIndex.js", "npm:ramda@0.23.0/src/internal/_xmap.js", "npm:ramda@0.23.0/src/internal/_xreduceBy.js", "npm:ramda@0.23.0/src/internal/_xtake.js", "npm:ramda@0.23.0/src/internal/_xtakeWhile.js", "npm:ramda@0.23.0/src/internal/_xwrap.js", "npm:ramda@0.23.0/src/intersection.js", "npm:ramda@0.23.0/src/intersectionWith.js", "npm:ramda@0.23.0/src/intersperse.js", "npm:ramda@0.23.0/src/into.js", "npm:ramda@0.23.0/src/invert.js", "npm:ramda@0.23.0/src/invertObj.js", "npm:ramda@0.23.0/src/invoker.js", "npm:ramda@0.23.0/src/is.js", "npm:ramda@0.23.0/src/isArrayLike.js", "npm:ramda@0.23.0/src/isEmpty.js", "npm:ramda@0.23.0/src/isNil.js", "npm:ramda@0.23.0/src/join.js", "npm:ramda@0.23.0/src/juxt.js", "npm:ramda@0.23.0/src/keys.js", "npm:ramda@0.23.0/src/keysIn.js", "npm:ramda@0.23.0/src/last.js", "npm:ramda@0.23.0/src/lastIndexOf.js", "npm:ramda@0.23.0/src/length.js", "npm:ramda@0.23.0/src/lens.js", "npm:ramda@0.23.0/src/lensIndex.js", "npm:ramda@0.23.0/src/lensPath.js", "npm:ramda@0.23.0/src/lensProp.js", "npm:ramda@0.23.0/src/lift.js", "npm:ramda@0.23.0/src/liftN.js", "npm:ramda@0.23.0/src/lt.js", "npm:ramda@0.23.0/src/lte.js", "npm:ramda@0.23.0/src/map.js", "npm:ramda@0.23.0/src/mapAccum.js", "npm:ramda@0.23.0/src/mapAccumRight.js", "npm:ramda@0.23.0/src/mapObjIndexed.js", "npm:ramda@0.23.0/src/match.js", "npm:ramda@0.23.0/src/mathMod.js", "npm:ramda@0.23.0/src/max.js", "npm:ramda@0.23.0/src/maxBy.js", "npm:ramda@0.23.0/src/mean.js", "npm:ramda@0.23.0/src/median.js", "npm:ramda@0.23.0/src/memoize.js", "npm:ramda@0.23.0/src/merge.js", "npm:ramda@0.23.0/src/mergeAll.js", "npm:ramda@0.23.0/src/mergeWith.js", "npm:ramda@0.23.0/src/mergeWithKey.js", "npm:ramda@0.23.0/src/min.js", "npm:ramda@0.23.0/src/minBy.js", "npm:ramda@0.23.0/src/modulo.js", "npm:ramda@0.23.0/src/multiply.js", "npm:ramda@0.23.0/src/nAry.js", "npm:ramda@0.23.0/src/negate.js", "npm:ramda@0.23.0/src/none.js", "npm:ramda@0.23.0/src/not.js", "npm:ramda@0.23.0/src/nth.js", "npm:ramda@0.23.0/src/nthArg.js", "npm:ramda@0.23.0/src/objOf.js", "npm:ramda@0.23.0/src/of.js", "npm:ramda@0.23.0/src/omit.js", "npm:ramda@0.23.0/src/once.js", "npm:ramda@0.23.0/src/or.js", "npm:ramda@0.23.0/src/over.js", "npm:ramda@0.23.0/src/pair.js", "npm:ramda@0.23.0/src/partial.js", "npm:ramda@0.23.0/src/partialRight.js", "npm:ramda@0.23.0/src/partition.js", "npm:ramda@0.23.0/src/path.js", "npm:ramda@0.23.0/src/pathEq.js", "npm:ramda@0.23.0/src/pathOr.js", "npm:ramda@0.23.0/src/pathSatisfies.js", "npm:ramda@0.23.0/src/pick.js", "npm:ramda@0.23.0/src/pickAll.js", "npm:ramda@0.23.0/src/pickBy.js", "npm:ramda@0.23.0/src/pipe.js", "npm:ramda@0.23.0/src/pipeK.js", "npm:ramda@0.23.0/src/pipeP.js", "npm:ramda@0.23.0/src/pluck.js", "npm:ramda@0.23.0/src/prepend.js", "npm:ramda@0.23.0/src/product.js", "npm:ramda@0.23.0/src/project.js", "npm:ramda@0.23.0/src/prop.js", "npm:ramda@0.23.0/src/propEq.js", "npm:ramda@0.23.0/src/propIs.js", "npm:ramda@0.23.0/src/propOr.js", "npm:ramda@0.23.0/src/propSatisfies.js", "npm:ramda@0.23.0/src/props.js", "npm:ramda@0.23.0/src/range.js", "npm:ramda@0.23.0/src/reduce.js", "npm:ramda@0.23.0/src/reduceBy.js", "npm:ramda@0.23.0/src/reduceRight.js", "npm:ramda@0.23.0/src/reduceWhile.js", "npm:ramda@0.23.0/src/reduced.js", "npm:ramda@0.23.0/src/reject.js", "npm:ramda@0.23.0/src/remove.js", "npm:ramda@0.23.0/src/repeat.js", "npm:ramda@0.23.0/src/replace.js", "npm:ramda@0.23.0/src/reverse.js", "npm:ramda@0.23.0/src/scan.js", "npm:ramda@0.23.0/src/sequence.js", "npm:ramda@0.23.0/src/set.js", "npm:ramda@0.23.0/src/slice.js", "npm:ramda@0.23.0/src/sort.js", "npm:ramda@0.23.0/src/sortBy.js", "npm:ramda@0.23.0/src/sortWith.js", "npm:ramda@0.23.0/src/split.js", "npm:ramda@0.23.0/src/splitAt.js", "npm:ramda@0.23.0/src/splitEvery.js", "npm:ramda@0.23.0/src/splitWhen.js", "npm:ramda@0.23.0/src/subtract.js", "npm:ramda@0.23.0/src/sum.js", "npm:ramda@0.23.0/src/symmetricDifference.js", "npm:ramda@0.23.0/src/symmetricDifferenceWith.js", "npm:ramda@0.23.0/src/tail.js", "npm:ramda@0.23.0/src/take.js", "npm:ramda@0.23.0/src/takeLast.js", "npm:ramda@0.23.0/src/takeLastWhile.js", "npm:ramda@0.23.0/src/takeWhile.js", "npm:ramda@0.23.0/src/tap.js", "npm:ramda@0.23.0/src/test.js", "npm:ramda@0.23.0/src/times.js", "npm:ramda@0.23.0/src/toLower.js", "npm:ramda@0.23.0/src/toPairs.js", "npm:ramda@0.23.0/src/toPairsIn.js", "npm:ramda@0.23.0/src/toString.js", "npm:ramda@0.23.0/src/toUpper.js", "npm:ramda@0.23.0/src/transduce.js", "npm:ramda@0.23.0/src/transpose.js", "npm:ramda@0.23.0/src/traverse.js", "npm:ramda@0.23.0/src/trim.js", "npm:ramda@0.23.0/src/tryCatch.js", "npm:ramda@0.23.0/src/type.js", "npm:ramda@0.23.0/src/unapply.js", "npm:ramda@0.23.0/src/unary.js", "npm:ramda@0.23.0/src/uncurryN.js", "npm:ramda@0.23.0/src/unfold.js", "npm:ramda@0.23.0/src/union.js", "npm:ramda@0.23.0/src/unionWith.js", "npm:ramda@0.23.0/src/uniq.js", "npm:ramda@0.23.0/src/uniqBy.js", "npm:ramda@0.23.0/src/uniqWith.js", "npm:ramda@0.23.0/src/unless.js", "npm:ramda@0.23.0/src/unnest.js", "npm:ramda@0.23.0/src/until.js", "npm:ramda@0.23.0/src/update.js", "npm:ramda@0.23.0/src/useWith.js", "npm:ramda@0.23.0/src/values.js", "npm:ramda@0.23.0/src/valuesIn.js", "npm:ramda@0.23.0/src/view.js", "npm:ramda@0.23.0/src/when.js", "npm:ramda@0.23.0/src/where.js", "npm:ramda@0.23.0/src/whereEq.js", "npm:ramda@0.23.0/src/without.js", "npm:ramda@0.23.0/src/xprod.js", "npm:ramda@0.23.0/src/zip.js", "npm:ramda@0.23.0/src/zipObj.js", "npm:ramda@0.23.0/src/zipWith.js" ] + }, + depCache: { + "common/container.js": [ + "ramda" + ], + "common/i2b2.pub-sub.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "./i2b2.service", + "./shrine.messages" + ], + "common/i2b2.service.js": [ + "aurelia-framework", + "ramda", + "./container" + ], + "common/queries.model.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "repository/qep.repository", + "./shrine.messages" + ], + "repository/qep.repository.js": [ + "aurelia-framework", + "aurelia-fetch-client", + "fetch" + ], + "shell.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/i2b2.pub-sub", + "common/queries.model", + "common/shrine.messages" + ], + "views/mailto/mailto.js": [ + "aurelia-framework", + "views/mailto/mailto.service", + "views/mailto/mailto.config" + ], + "views/mailto/mailto.service.js": [ + "aurelia-framework", + "repository/qep.repository" + ], + "views/query-viewer/context-menu/context-menu.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/shrine.messages" + ], + "views/query-viewer/date.converter.js": [ + "moment" + ], + "views/query-viewer/loading-bar/loading-bar.js": [ + "aurelia-framework" + ], + "views/query-viewer/paginator/paginator.js": [ + "aurelia-framework" + ], + "views/query-viewer/query-status/query-status.js": [ + "aurelia-framework", + "ramda" + ], + "views/query-viewer/query-viewer.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/queries.model", + "./scroll.service", + "common/shrine.messages" + ], + "views/query-viewer/scroll.service.js": [ + "ramda", + "common/container" + ] } }); \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/app-build.js b/shrine-webclient/src/main/js/client/js-shrine/dist/app-build.js index 67ab02eb4..e1ccae596 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/app-build.js +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/app-build.js @@ -1 +1 @@ -"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("common/i2b2.service.js",["ramda","./container"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f;return{setters:[function(a){d=a},function(a){e=a.Container}],execute:function(){a("I2B2Service",f=function b(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;c(this,b);var f=a?e.of(a):e.of(null),g=d.curry(function(a,b){return b.value?e.of(d.prop(a,b.value)):e.of(null)}),h=d.compose(g("i2b2"),g("window"),g("parent")),i=d.compose(g("CRC"),h),j=d.compose(g("events"),h),k=d.compose(g("SHRINE"),h);b.prototype.onResize=function(a){return j(f).map(function(b){return b.changedZoomWindows.subscribe(a)})},b.prototype.onHistory=function(a){return i(f).map(function(b){return b.ctrlr.history.events.onDataUpdate.subscribe(a)})},b.prototype.onQuery=function(a){return j(f).map(function(b){return b.afterQueryInit.subscribe(a)})},b.prototype.onViewSelected=function(a){return g("addEventListener",f).value?e.of(f.value.addEventListener("message",a,!1)):e.of(null)},b.prototype.loadHistory=function(){return i(f).map(function(a){return a.view.history.doRefreshAll()})},b.prototype.loadQuery=function(a){return i(f).map(function(b){return b.ctrlr.QT.doQueryLoad(a)})},b.prototype.errorDetail=function(a){return k(f).map(function(b){return b.plugin.errorDetail(a)})},b.prototype.renameQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.queryRename(a,!1)})},b.prototype.flagQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.Flag({queryId:a,message:""})})},b.prototype.unflagQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.Unflag({queryId:a})})}}),a("I2B2Service",f)}}}),System.register("common/i2b2.pub-sub.js",["aurelia-framework","aurelia-event-aggregator","./i2b2.service","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2Service},function(a){g=a.notifications,h=a.commands}],execute:function(){a("I2B2PubSub",(i=d(e,f,g,h),k=i(j=function b(a,d,e){c(this,b),this.listen=function(){d.onResize(function(a,b){return b.find(function(a){return"ADD"===a.action})?f():g()}),d.onHistory(function(){return i()}),d.onQuery(function(a,b){return j(b[0].name)}),d.onViewSelected(function(a){return k(a.data)}),a.subscribe(h.i2b2.cloneQuery,l),a.subscribe(h.i2b2.showError,m),a.subscribe(h.i2b2.renameQuery,n),a.subscribe(h.i2b2.flagQuery,o),a.subscribe(h.i2b2.unflagQuery,p)};var f=function(){return a.publish(e.i2b2.tabMax)},g=function(){return a.publish(e.i2b2.tabMin)},i=function(){return a.publish(e.i2b2.historyRefreshed)},j=function(b){return a.publish(e.i2b2.queryStarted,b)},k=function(b){return a.publish(e.i2b2.viewSelected,b)},l=function(a){return d.loadQuery(a)},m=function(a){return d.errorDetail(a)},n=function(a){return d.renameQuery(a)},o=function(a){return d.flagQuery(a)},p=function(a){return d.unflagQuery(a)}})||j)),a("I2B2PubSub",k)}}}),System.register("shell.js",["aurelia-framework","aurelia-event-aggregator","common/i2b2.pub-sub","common/queries.model","common/shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2PubSub},function(a){g=a.QueriesModel},function(a){h=a.notifications}],execute:function(){a("Shell",(i=d(e,f,g,h),k=i(j=function b(a,d,e,f){var g=this;c(this,b),b.prototype.init=function(){g.view="query-viewer"},this.init(),d.listen(),e.load(),a.subscribe(f.i2b2.viewSelected,function(a){g.view=a})})||j)),a("Shell",k)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","repository/qep.repository"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.QEPRepository}],execute:function(){a("MailToService",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.repository=b}return a.prototype.fetchStewardEmail=function(){return this.repository.fetchStewardEmail()},a}())||g)),a("MailToService",h)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n \n\n***Never send patient information, passwords, or other sensitive information by email****\n \nName:\n \nTitle:\n \nUser name (to log into SHRINE):\n \nTelephone Number (optional):\n \nPreferred email address (optional):\n \n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){window.top.location="mailto:"+b+"?subject="+a.config.subject+"&body="+a.config.body})},a}())||h)),a("MailTo",i)}}}),System.register("views/query-viewer/box-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("BoxStyleValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return"transform: translate("+String(-100*a)+"%);"},a}()),a("BoxStyleValueConverter",d)}}}),function(){var a=System.amdDefine;a("views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/context-menu/context-menu.js",["aurelia-framework","aurelia-event-aggregator","common/shrine.messages"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m,n;return{setters:[function(a){f=a.inject,g=a.bindable},function(a){h=a.EventAggregator},function(a){i=a.commands}],execute:function(){a("ContextMenu",(j=f(h,i),n=j((l=function b(a,e){var f=this;d(this,b),c(this,"context",m,this),b.prototype.cloneQuery=function(b){a.publish(e.i2b2.cloneQuery,b),f.context["class"]="hide"},b.prototype.renameQuery=function(b){a.publish(e.i2b2.renameQuery,b),f.context["class"]="hide"},b.prototype.flagQuery=function(b){a.publish(e.i2b2.flagQuery,b),f.context["class"]="hide"},b.prototype.unflagQuery=function(b){a.publish(e.i2b2.unflagQuery,b),f.context["class"]="hide"}},m=e(l.prototype,"context",[g],{enumerable:!0,initializer:null}),k=l))||k)),a("ContextMenu",n)}}}),System.register("views/query-viewer/date.converter.js",["moment"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e;return{setters:[function(a){d=a["default"]}],execute:function(){a("DateValueConverter",e=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return d(a).format("MM/DD/YYYY")},a}()),a("DateValueConverter",e)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/loading-bar/loading-bar.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i;return{setters:[function(a){f=a.bindable}],execute:function(){a("LoadingBar",(g=function b(){d(this,b),c(this,"status",h,this)},h=e(g.prototype,"status",[f],{enumerable:!0,initializer:null}),i=g)),a("LoadingBar",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return""})}(),function(){var a=System.amdDefine;a("views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/paginator/paginator.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){h=function(){function a(a,b){for(var c=0;cb?b:a,this.element.dispatchEvent(new CustomEvent("paginator-click",{detail:{index:this.index},bubbles:!0,cancelable:!0}))}}]),a}(),l=e(k.prototype,"pages",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("Paginator",m)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/query-status/query-status.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){a("QueryStatus",(h=function(){function a(){d(this,a),c(this,"status",i,this)}return a.prototype.attached=function(){var a=this.status,b=function(a,b){return Math.floor(a/b*75)},c=b(a.finished,a.total),d=b(a.error,a.total);this.readyOffset=100-c,this.errorOffset=this.readyOffset-d,this.finished=a.finished,this.error=a.error,this.pending=a.total-(a.finished+a.error),this.total=a.total},a}(),i=e(h.prototype,"status",[f],{enumerable:!0,initializer:null}),j=h)),a("QueryStatus",j)}}}),System.register("views/query-viewer/query-viewer.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("QueryViewerConfig",c={maxNodesPerScreen:10,maxQueriesPerScroll:40}),a("QueryViewerConfig",c)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("repository/qep.repository.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:0;return this.http.fetch("qep/queryResults?limit="+a+"&skip="+b).then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a=document.URL,b=":6443/shrine-metadata/";return a.substring(0,a.lastIndexOf(":"))+b}},{key:"auth",get:function(){var a=sessionStorage.getItem("shrine.auth");return sessionStorage.removeItem("shrine.auth"),a}}]),a}())||h)),a("QEPRepository",i)}}}),System.register("common/queries.model.js",["aurelia-framework","aurelia-event-aggregator","repository/qep.repository","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.QEPRepository},function(a){g=a.notifications}],execute:function(){a("QueriesModel",(h=d(e,f,g),j=h(i=function b(a,d,e){var f=this;c(this,b);var g=d,h=40,i=0,j=0,k=null;b.prototype.load=function(){return g.fetchPreviousQueries(f.maxQueriesPerFetch()+f.loadedCount()).then(function(a){return j=a.rowCount,i=a.queryResults.length,a})["catch"](function(a){return console.log(a)}).then(l).then(function(b){k=b,a.publish(e.shrine.queriesReceived,k)})},b.prototype.totalQueries=function(){return j},b.prototype.loadedCount=function(){return i},b.prototype.maxQueriesPerFetch=function(){return h},b.prototype.moreToLoad=function(){return i1&&void 0!==arguments[1]?arguments[1]:6;return new Promise(function(b,c){for(var d=[],e=6,f=a.adapters,g=f.length,h=a.queryResults,i=0;i1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b},a.prototype.getColorValue=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c},a}()),a("ResultStyleValueConverter",d)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?"":a.count<0?"<=10":a.count:"not available"},a}()),a("ResultValueConverter",d)}}}); \ No newline at end of file +"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("common/i2b2.service.js",["aurelia-framework","ramda","./container"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a},function(a){f=a.Container}],execute:function(){a("I2B2Service",(g=d(window),i=g(h=function b(a){c(this,b);var d=a?f.of(a):f.of(null),g=e.curry(function(a,b){return b.value?f.of(e.prop(a,b.value)):f.of(null)}),h=e.compose(g("i2b2"),g("window"),g("parent")),i=e.compose(g("CRC"),h),j=e.compose(g("events"),h),k=e.compose(g("SHRINE"),h);b.prototype.onResize=function(a){return j(d).map(function(b){return b.changedZoomWindows.subscribe(a)})},b.prototype.onHistory=function(a){return i(d).map(function(b){return b.ctrlr.history.events.onDataUpdate.subscribe(a)})},b.prototype.onQuery=function(a){return j(d).map(function(b){return b.afterQueryInit.subscribe(a)})},b.prototype.onViewSelected=function(a){return g("addEventListener",d).value?f.of(d.value.addEventListener("message",a,!1)):f.of(null)},b.prototype.loadHistory=function(){return i(d).map(function(a){return a.view.history.doRefreshAll()})},b.prototype.loadQuery=function(a){return i(d).map(function(b){return b.ctrlr.QT.doQueryLoad(a)})},b.prototype.errorDetail=function(a){return k(d).map(function(b){return b.plugin.errorDetail(a)})},b.prototype.renameQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.queryRename(a,!1)})},b.prototype.flagQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.Flag({queryId:a,message:""})})},b.prototype.unflagQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.Unflag({queryId:a})})}})||h)),a("I2B2Service",i)}}}),System.register("common/i2b2.pub-sub.js",["aurelia-framework","aurelia-event-aggregator","./i2b2.service","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2Service},function(a){g=a.notifications,h=a.commands}],execute:function(){a("I2B2PubSub",(i=d(e,f,g,h),k=i(j=function b(a,d,e){c(this,b),this.listen=function(){d.onResize(function(a,b){return b.find(function(a){return"ADD"===a.action})?f():g()}),d.onHistory(function(){return i()}),d.onQuery(function(a,b){return j(b[0].name)}),d.onViewSelected(function(a){return k(a.data)}),a.subscribe(h.i2b2.cloneQuery,l),a.subscribe(h.i2b2.showError,m),a.subscribe(h.i2b2.renameQuery,n),a.subscribe(h.i2b2.flagQuery,o),a.subscribe(h.i2b2.unflagQuery,p)};var f=function(){return a.publish(e.i2b2.tabMax)},g=function(){return a.publish(e.i2b2.tabMin)},i=function(){return a.publish(e.i2b2.historyRefreshed)},j=function(b){return a.publish(e.i2b2.queryStarted,b)},k=function(b){return a.publish(e.i2b2.viewSelected,b)},l=function(a){return d.loadQuery(a)},m=function(a){return d.errorDetail(a)},n=function(a){return d.renameQuery(a)},o=function(a){return d.flagQuery(a)},p=function(a){return d.unflagQuery(a)}})||j)),a("I2B2PubSub",k)}}}),System.register("shell.js",["aurelia-framework","aurelia-event-aggregator","common/i2b2.pub-sub","common/queries.model","common/shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2PubSub},function(a){g=a.QueriesModel},function(a){h=a.notifications}],execute:function(){a("Shell",(i=d(e,f,g,h),k=i(j=function b(a,d,e,f){var g=this;c(this,b),b.prototype.init=function(){g.view="query-viewer"},this.init(),d.listen(),e.load(),a.subscribe(f.i2b2.viewSelected,function(a){g.view=a})})||j)),a("Shell",k)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","repository/qep.repository"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.QEPRepository}],execute:function(){a("MailToService",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.repository=b}return a.prototype.fetchStewardEmail=function(){return this.repository.fetchStewardEmail()},a}())||g)),a("MailToService",h)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n \n\n***Never send patient information, passwords, or other sensitive information by email****\n \nName:\n \nTitle:\n \nUser name (to log into SHRINE):\n \nTelephone Number (optional):\n \nPreferred email address (optional):\n \n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){window.top.location="mailto:"+b+"?subject="+a.config.subject+"&body="+a.config.body})},a}())||h)),a("MailTo",i)}}}),System.register("views/query-viewer/box-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("BoxStyleValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return"transform: translate("+String(-100*a)+"%);"},a}()),a("BoxStyleValueConverter",d)}}}),function(){var a=System.amdDefine;a("views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/context-menu/context-menu.js",["aurelia-framework","aurelia-event-aggregator","common/shrine.messages"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m,n;return{setters:[function(a){f=a.inject,g=a.bindable},function(a){h=a.EventAggregator},function(a){i=a.commands}],execute:function(){a("ContextMenu",(j=f(h,i),n=j((l=function b(a,e){var f=this;d(this,b),c(this,"context",m,this),b.prototype.cloneQuery=function(b){a.publish(e.i2b2.cloneQuery,b),f.context["class"]="hide"},b.prototype.renameQuery=function(b){a.publish(e.i2b2.renameQuery,b),f.context["class"]="hide"},b.prototype.flagQuery=function(b){a.publish(e.i2b2.flagQuery,b),f.context["class"]="hide"},b.prototype.unflagQuery=function(b){a.publish(e.i2b2.unflagQuery,b),f.context["class"]="hide"}},m=e(l.prototype,"context",[g],{enumerable:!0,initializer:null}),k=l))||k)),a("ContextMenu",n)}}}),System.register("views/query-viewer/date.converter.js",["moment"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e;return{setters:[function(a){d=a["default"]}],execute:function(){a("DateValueConverter",e=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return d(a).format("MM/DD/YYYY")},a}()),a("DateValueConverter",e)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/loading-bar/loading-bar.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i;return{setters:[function(a){f=a.bindable}],execute:function(){a("LoadingBar",(g=function b(){d(this,b),c(this,"status",h,this)},h=e(g.prototype,"status",[f],{enumerable:!0,initializer:null}),i=g)),a("LoadingBar",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return""})}(),function(){var a=System.amdDefine;a("views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/paginator/paginator.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){h=function(){function a(a,b){for(var c=0;cb?b:a,this.element.dispatchEvent(new CustomEvent("paginator-click",{detail:{index:this.index},bubbles:!0,cancelable:!0}))}}]),a}(),l=e(k.prototype,"pages",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("Paginator",m)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/query-status/query-status.js",["aurelia-framework","ramda"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject},function(a){h=a}],execute:function(){a("QueryStatus",(i=g(Math),m=i((k=function(){function a(b){d(this,a),c(this,"status",l,this),this.floor=b.floor}return a.prototype.attached=function(){var a=75,b=h.curry(function(a,b,c,d){return a(d/c*b)})(this.floor,a,this.status.total),c=this.status,d=b(c.finished),e=b(c.error);this.readyOffset=100-d,this.errorOffset=this.readyOffset-e,this.finished=c.finished,this.error=c.error,this.pending=c.total-(c.finished+c.error),this.total=c.total},a}(),l=e(k.prototype,"status",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("QueryStatus",m)}}}),System.register("views/query-viewer/query-viewer.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("QueryViewerConfig",c={maxNodesPerScreen:10,maxQueriesPerScroll:40}),a("QueryViewerConfig",c)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("repository/qep.repository.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:0;return this.http.fetch("qep/queryResults?limit="+a+"&skip="+b).then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a=document.URL,b=":6443/shrine-metadata/";return a.substring(0,a.lastIndexOf(":"))+b}},{key:"auth",get:function(){var a=sessionStorage.getItem("shrine.auth");return sessionStorage.removeItem("shrine.auth"),a}}]),a}())||h)),a("QEPRepository",i)}}}),System.register("common/queries.model.js",["aurelia-framework","aurelia-event-aggregator","repository/qep.repository","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.QEPRepository},function(a){g=a.notifications}],execute:function(){a("QueriesModel",(h=d(e,f,g),j=h(i=function b(a,d,e){var f=this;c(this,b);var g=d,h=40,i=0,j=0,k=null;b.prototype.load=function(){return g.fetchPreviousQueries(f.maxQueriesPerFetch()+f.loadedCount()).then(function(a){return j=a.rowCount,i=a.queryResults.length,a})["catch"](function(a){return console.log(a)}).then(l).then(function(b){k=b,a.publish(e.shrine.queriesReceived,k)})},b.prototype.totalQueries=function(){return j},b.prototype.loadedCount=function(){return i},b.prototype.maxQueriesPerFetch=function(){return h},b.prototype.moreToLoad=function(){return i1&&void 0!==arguments[1]?arguments[1]:6;return new Promise(function(b,c){for(var d=[],e=6,f=a.adapters,g=f.length,h=a.queryResults,i=0;i1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b},a.prototype.getColorValue=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c},a}()),a("ResultStyleValueConverter",d)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?"":a.count<0?"<=10":a.count:"not available"},a}()),a("ResultValueConverter",d)}}}); \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js b/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js index 8efe6a42e..e35cf1717 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js @@ -1,88 +1,88 @@ -System.register(['ramda', './container'], function (_export, _context) { +System.register(['aurelia-framework', 'ramda', './container'], function (_export, _context) { "use strict"; - var _, Container, I2B2Service; + var inject, _, Container, _dec, _class, I2B2Service; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } return { - setters: [function (_ramda) { + setters: [function (_aureliaFramework) { + inject = _aureliaFramework.inject; + }, function (_ramda) { _ = _ramda; }, function (_container) { Container = _container.Container; }], execute: function () { - _export('I2B2Service', I2B2Service = function I2B2Service() { - var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window; - + _export('I2B2Service', I2B2Service = (_dec = inject(window), _dec(_class = function I2B2Service(context) { _classCallCheck(this, I2B2Service); var ctx = context ? Container.of(context) : Container.of(null); var prop = _.curry(function (m, c) { return c.value ? Container.of(_.prop(m, c.value)) : Container.of(null); }); var i2b2 = _.compose(prop('i2b2'), prop('window'), prop('parent')); var crc = _.compose(prop('CRC'), i2b2); var events = _.compose(prop('events'), i2b2); var shrine = _.compose(prop('SHRINE'), i2b2); I2B2Service.prototype.onResize = function (f) { return events(ctx).map(function (v) { return v.changedZoomWindows.subscribe(f); }); }; I2B2Service.prototype.onHistory = function (f) { return crc(ctx).map(function (v) { return v.ctrlr.history.events.onDataUpdate.subscribe(f); }); }; I2B2Service.prototype.onQuery = function (f) { return events(ctx).map(function (v) { return v.afterQueryInit.subscribe(f); }); }; I2B2Service.prototype.onViewSelected = function (f) { return prop('addEventListener', ctx).value ? Container.of(ctx.value.addEventListener('message', f, false)) : Container.of(null); }; I2B2Service.prototype.loadHistory = function () { return crc(ctx).map(function (v) { return v.view.history.doRefreshAll(); }); }; I2B2Service.prototype.loadQuery = function (id) { return crc(ctx).map(function (v) { return v.ctrlr.QT.doQueryLoad(id); }); }; I2B2Service.prototype.errorDetail = function (d) { return shrine(ctx).map(function (v) { return v.plugin.errorDetail(d); }); }; I2B2Service.prototype.renameQuery = function (id) { return crc(ctx).map(function (v) { return v.ctrlr.history.queryRename(id, false); }); }; I2B2Service.prototype.flagQuery = function (id) { return crc(ctx).map(function (v) { return v.ctrlr.history.Flag({ queryId: id, message: '' }); }); }; I2B2Service.prototype.unflagQuery = function (id) { return crc(ctx).map(function (v) { return v.ctrlr.history.Unflag({ queryId: id }); }); }; - }); + }) || _class)); _export('I2B2Service', I2B2Service); } }; }); //# sourceMappingURL=i2b2.service.js.map diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js.map b/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js.map index f00a1fbed..e47e96d79 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js.map +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/common/i2b2.service.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/i2b2.service.js"],"names":["_","Container","I2B2Service","context","window","ctx","of","prop","curry","m","c","value","i2b2","compose","crc","events","shrine","prototype","onResize","map","v","changedZoomWindows","subscribe","f","onHistory","ctrlr","history","onDataUpdate","onQuery","afterQueryInit","onViewSelected","addEventListener","loadHistory","view","doRefreshAll","loadQuery","QT","doQueryLoad","id","errorDetail","plugin","d","renameQuery","queryRename","flagQuery","Flag","queryId","message","unflagQuery","Unflag"],"mappings":";;;;;;;;;;;;;AACYA,a;;AACJC,qB,cAAAA,S;;;mCAEKC,W,GACT,uBAA8B;AAAA,oBAAlBC,OAAkB,uEAARC,MAAQ;;AAAA;;AAG1B,oBAAMC,MAAMF,UAASF,UAAUK,EAAV,CAAaH,OAAb,CAAT,GAAiCF,UAAUK,EAAV,CAAa,IAAb,CAA7C;AACA,oBAAMC,OAAOP,EAAEQ,KAAF,CAAQ,UAACC,CAAD,EAAIC,CAAJ;AAAA,2BAAUA,EAAEC,KAAF,GAASV,UAAUK,EAAV,CAAaN,EAAEO,IAAF,CAAOE,CAAP,EAAUC,EAAEC,KAAZ,CAAb,CAAT,GAA4CV,UAAUK,EAAV,CAAa,IAAb,CAAtD;AAAA,iBAAR,CAAb;AACA,oBAAMM,OAAOZ,EAAEa,OAAF,CAAUN,KAAK,MAAL,CAAV,EAAwBA,KAAK,QAAL,CAAxB,EAAwCA,KAAK,QAAL,CAAxC,CAAb;AACA,oBAAMO,MAAMd,EAAEa,OAAF,CAAUN,KAAK,KAAL,CAAV,EAAuBK,IAAvB,CAAZ;AACA,oBAAMG,SAASf,EAAEa,OAAF,CAAUN,KAAK,QAAL,CAAV,EAA0BK,IAA1B,CAAf;AACA,oBAAMI,SAAShB,EAAEa,OAAF,CAAUN,KAAK,QAAL,CAAV,EAA0BK,IAA1B,CAAf;;AAGAV,4BAAYe,SAAZ,CAAsBC,QAAtB,GAAkC;AAAA,2BAAKH,OAAOV,GAAP,EAAYc,GAAZ,CAAgB,UAACC,CAAD;AAAA,+BAAOA,EAAEC,kBAAF,CAAqBC,SAArB,CAA+BC,CAA/B,CAAP;AAAA,qBAAhB,CAAL;AAAA,iBAAlC;AACArB,4BAAYe,SAAZ,CAAsBO,SAAtB,GAAkC;AAAA,2BAAKV,IAAIT,GAAJ,EAASc,GAAT,CAAa,UAACC,CAAD;AAAA,+BAAOA,EAAEK,KAAF,CAAQC,OAAR,CAAgBX,MAAhB,CAAuBY,YAAvB,CAAoCL,SAApC,CAA8CC,CAA9C,CAAP;AAAA,qBAAb,CAAL;AAAA,iBAAlC;AACArB,4BAAYe,SAAZ,CAAsBW,OAAtB,GAAgC;AAAA,2BAAKb,OAAOV,GAAP,EAAYc,GAAZ,CAAgB,UAACC,CAAD;AAAA,+BAAOA,EAAES,cAAF,CAAiBP,SAAjB,CAA2BC,CAA3B,CAAP;AAAA,qBAAhB,CAAL;AAAA,iBAAhC;AACArB,4BAAYe,SAAZ,CAAsBa,cAAtB,GAAuC;AAAA,2BAAKvB,KAAK,kBAAL,EAAyBF,GAAzB,EAA8BM,KAA9B,GACxCV,UAAUK,EAAV,CAAaD,IAAIM,KAAJ,CAAUoB,gBAAV,CAA2B,SAA3B,EAAsCR,CAAtC,EAAyC,KAAzC,CAAb,CADwC,GACwBtB,UAAUK,EAAV,CAAa,IAAb,CAD7B;AAAA,iBAAvC;;AAIAJ,4BAAYe,SAAZ,CAAsBe,WAAtB,GAAoC;AAAA,2BAAMlB,IAAIT,GAAJ,EAASc,GAAT,CAAa,UAACC,CAAD;AAAA,+BAAOA,EAAEa,IAAF,CAAOP,OAAP,CAAeQ,YAAf,EAAP;AAAA,qBAAb,CAAN;AAAA,iBAApC;AACAhC,4BAAYe,SAAZ,CAAsBkB,SAAtB,GAAkC;AAAA,2BAAMrB,IAAIT,GAAJ,EAASc,GAAT,CAAa,UAACC,CAAD;AAAA,+BAAOA,EAAEK,KAAF,CAAQW,EAAR,CAAWC,WAAX,CAAuBC,EAAvB,CAAP;AAAA,qBAAb,CAAN;AAAA,iBAAlC;AACApC,4BAAYe,SAAZ,CAAsBsB,WAAtB,GAAoC;AAAA,2BAAKvB,OAAOX,GAAP,EAAYc,GAAZ,CAAgB,UAACC,CAAD;AAAA,+BAAOA,EAAEoB,MAAF,CAASD,WAAT,CAAqBE,CAArB,CAAP;AAAA,qBAAhB,CAAL;AAAA,iBAApC;AACAvC,4BAAYe,SAAZ,CAAsByB,WAAtB,GAAoC;AAAA,2BAAM5B,IAAIT,GAAJ,EAASc,GAAT,CAAa;AAAA,+BAAKC,EAAEK,KAAF,CAAQC,OAAR,CAAgBiB,WAAhB,CAA4BL,EAA5B,EAAgC,KAAhC,CAAL;AAAA,qBAAb,CAAN;AAAA,iBAApC;AACApC,4BAAYe,SAAZ,CAAsB2B,SAAtB,GAAkC;AAAA,2BAAM9B,IAAIT,GAAJ,EAASc,GAAT,CAAa;AAAA,+BAAKC,EAAEK,KAAF,CAAQC,OAAR,CAAgBmB,IAAhB,CAAqB,EAAEC,SAASR,EAAX,EAAeS,SAAS,EAAxB,EAArB,CAAL;AAAA,qBAAb,CAAN;AAAA,iBAAlC;AACA7C,4BAAYe,SAAZ,CAAsB+B,WAAtB,GAAoC;AAAA,2BAAMlC,IAAIT,GAAJ,EAASc,GAAT,CAAa;AAAA,+BAAKC,EAAEK,KAAF,CAAQC,OAAR,CAAgBuB,MAAhB,CAAuB,EAAEH,SAASR,EAAX,EAAvB,CAAL;AAAA,qBAAb,CAAN;AAAA,iBAApC;AACH,a","file":"i2b2.service.js","sourceRoot":"/src"} \ No newline at end of file +{"version":3,"sources":["common/i2b2.service.js"],"names":["inject","_","Container","I2B2Service","window","context","ctx","of","prop","curry","m","c","value","i2b2","compose","crc","events","shrine","prototype","onResize","map","v","changedZoomWindows","subscribe","f","onHistory","ctrlr","history","onDataUpdate","onQuery","afterQueryInit","onViewSelected","addEventListener","loadHistory","view","doRefreshAll","loadQuery","QT","doQueryLoad","id","errorDetail","plugin","d","renameQuery","queryRename","flagQuery","Flag","queryId","message","unflagQuery","Unflag"],"mappings":"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","file":"i2b2.service.js","sourceRoot":"/src"} \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js b/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js index 0e56bcdcc..5ed8b2c25 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js @@ -1,123 +1,125 @@ System.register(['aurelia-framework', 'aurelia-event-aggregator', 'repository/qep.repository', './shrine.messages'], function (_export, _context) { "use strict"; var inject, EventAggregator, QEPRepository, notifications, _dec, _class, QueriesModel; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } return { setters: [function (_aureliaFramework) { inject = _aureliaFramework.inject; }, function (_aureliaEventAggregator) { EventAggregator = _aureliaEventAggregator.EventAggregator; }, function (_repositoryQepRepository) { QEPRepository = _repositoryQepRepository.QEPRepository; }, function (_shrineMessages) { notifications = _shrineMessages.notifications; }], execute: function () { _export('QueriesModel', QueriesModel = (_dec = inject(EventAggregator, QEPRepository, notifications), _dec(_class = function QueriesModel(evtAgg, QEPRepository, notifications) { var _this = this; _classCallCheck(this, QueriesModel); var qep = QEPRepository; var maxQueriesPerFetch = 40; var loadedCount = 0; var totalQueries = 0; var data = null; QueriesModel.prototype.load = function () { return qep.fetchPreviousQueries(_this.maxQueriesPerFetch() + _this.loadedCount()).then(function (result) { totalQueries = result.rowCount; loadedCount = result.queryResults.length; return result; }).catch(function (error) { return console.log(error); }).then(toPages).then(function (pages) { data = pages; evtAgg.publish(notifications.shrine.queriesReceived, data); }); }; QueriesModel.prototype.totalQueries = function () { return totalQueries; }; QueriesModel.prototype.loadedCount = function () { return loadedCount; }; QueriesModel.prototype.maxQueriesPerFetch = function () { return maxQueriesPerFetch; }; QueriesModel.prototype.moreToLoad = function () { return loadedCount < totalQueries; }; QueriesModel.prototype.hasData = function () { return data !== null && data !== undefined; }; var toPages = function toPages(data) { var nodesPerPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6; return new Promise(function (resolve, reject) { var pages = []; var nodesPerPage = 6; var nodes = data.adapters; var lastNodeIndex = nodes.length; var queries = data.queryResults; for (var i = 0; i < lastNodeIndex; i = i + nodesPerPage) { var numberOfNodes = geNumberOfNodes(nodes, i, nodesPerPage); var pageNodes = nodes.slice(i, numberOfNodes); var results = mapQueries(pageNodes, queries); pages.push({ nodes: pageNodes, results: results }); } resolve(pages); }); }; var geNumberOfNodes = function geNumberOfNodes(nodes, startIndex, nodesPerPage) { var numNodes = startIndex + nodesPerPage; return numNodes < nodes.length ? numNodes : nodes.length; }; var mapQueries = function mapQueries(nodes, queries) { var results = []; queries.forEach(function (q, i) { var result = { name: q.query.queryName, id: q.query.networkId, date: q.query.dateCreated, + flagged: q.query.flagged === true, + flagMessage: q.query.flagMessage || null, nodeResults: [], status: q.adaptersToResults.reduce(function (s, r) { var finished = r.status === "FINISHED" ? s.finished + 1 : s.finished; var error = r.status === "ERROR" ? s.error + 1 : s.error; return { error: error, finished: finished, total: q.adaptersToResults.length }; }, { error: 0, finished: 0, total: q.adaptersToResults.length }) }; nodes.forEach(function (n) { result.nodeResults.push(q.adaptersToResults.find(function (a) { return a.adapterNode === n; })); }); results.push(result); }); return results; }; }) || _class)); _export('QueriesModel', QueriesModel); } }; }); //# sourceMappingURL=queries.model.js.map diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js.map b/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js.map index f1eb2b8fb..c7533b8b4 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js.map +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/common/queries.model.js.map @@ -1 +1 @@ -{"version":3,"sources":["common/queries.model.js"],"names":["inject","EventAggregator","QEPRepository","notifications","QueriesModel","evtAgg","qep","maxQueriesPerFetch","loadedCount","totalQueries","data","prototype","load","fetchPreviousQueries","then","result","rowCount","queryResults","length","catch","console","log","error","toPages","pages","publish","shrine","queriesReceived","moreToLoad","hasData","undefined","nodesPerPage","Promise","resolve","reject","nodes","adapters","lastNodeIndex","queries","i","numberOfNodes","geNumberOfNodes","pageNodes","slice","results","mapQueries","push","startIndex","numNodes","forEach","q","name","query","queryName","id","networkId","date","dateCreated","nodeResults","status","adaptersToResults","reduce","s","r","finished","total","find","a","adapterNode","n"],"mappings":"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","file":"queries.model.js","sourceRoot":"/src"} \ No newline at end of file +{"version":3,"sources":["common/queries.model.js"],"names":["inject","EventAggregator","QEPRepository","notifications","QueriesModel","evtAgg","qep","maxQueriesPerFetch","loadedCount","totalQueries","data","prototype","load","fetchPreviousQueries","then","result","rowCount","queryResults","length","catch","console","log","error","toPages","pages","publish","shrine","queriesReceived","moreToLoad","hasData","undefined","nodesPerPage","Promise","resolve","reject","nodes","adapters","lastNodeIndex","queries","i","numberOfNodes","geNumberOfNodes","pageNodes","slice","results","mapQueries","push","startIndex","numNodes","forEach","q","name","query","queryName","id","networkId","date","dateCreated","flagged","flagMessage","nodeResults","status","adaptersToResults","reduce","s","r","finished","total","find","a","adapterNode","n"],"mappings":";;;;;;;;;;;;;AAASA,kB,qBAAAA,M;;AACDC,2B,2BAAAA,e;;AACCC,yB,4BAAAA,a;;AACDC,yB,mBAAAA,a;;;oCAEKC,Y,WADZJ,OAAOC,eAAP,EAAwBC,aAAxB,EAAwCC,aAAxC,C,gBAGG,sBAAYE,MAAZ,EAAoBH,aAApB,EAAmCC,aAAnC,EAAkD;AAAA;;AAAA;;AAC9C,oBAAMG,MAAMJ,aAAZ;AACA,oBAAMK,qBAAqB,EAA3B;AACA,oBAAIC,cAAc,CAAlB;AACA,oBAAIC,eAAe,CAAnB;AACA,oBAAIC,OAAO,IAAX;;AAEAN,6BAAaO,SAAb,CAAuBC,IAAvB,GAA8B;AAAA,2BAC1BN,IAAIO,oBAAJ,CAAyB,MAAKN,kBAAL,KAA4B,MAAKC,WAAL,EAArD,EACKM,IADL,CACU,kBAAU;AACZL,uCAAeM,OAAOC,QAAtB;AACAR,sCAAcO,OAAOE,YAAP,CAAoBC,MAAlC;AACA,+BAAOH,MAAP;AACH,qBALL,EAMKI,KANL,CAMW;AAAA,+BAASC,QAAQC,GAAR,CAAYC,KAAZ,CAAT;AAAA,qBANX,EAOKR,IAPL,CAOUS,OAPV,EAQKT,IARL,CAQU,iBAAS;AACXJ,+BAAOc,KAAP;AACAnB,+BAAOoB,OAAP,CAAetB,cAAcuB,MAAd,CAAqBC,eAApC,EAAqDjB,IAArD;AACH,qBAXL,CAD0B;AAAA,iBAA9B;;AAcAN,6BAAaO,SAAb,CAAuBF,YAAvB,GAAsC;AAAA,2BAAMA,YAAN;AAAA,iBAAtC;AACAL,6BAAaO,SAAb,CAAuBH,WAAvB,GAAqC;AAAA,2BAAMA,WAAN;AAAA,iBAArC;AACAJ,6BAAaO,SAAb,CAAuBJ,kBAAvB,GAA4C;AAAA,2BAAMA,kBAAN;AAAA,iBAA5C;AACAH,6BAAaO,SAAb,CAAuBiB,UAAvB,GAAoC;AAAA,2BAAMpB,cAAcC,YAApB;AAAA,iBAApC;AACAL,6BAAaO,SAAb,CAAuBkB,OAAvB,GAAiC;AAAA,2BAAMnB,SAAS,IAAT,IAAiBA,SAASoB,SAAhC;AAAA,iBAAjC;;AAEA,oBAAMP,UAAU,SAAVA,OAAU,CAACb,IAAD,EAA4B;AAAA,wBAArBqB,YAAqB,uEAAN,CAAM;;AACxC,2BAAO,IAAIC,OAAJ,CAAY,UAACC,OAAD,EAAUC,MAAV,EAAqB;AACpC,4BAAMV,QAAQ,EAAd;;AAEA,4BAAMO,eAAe,CAArB;AACA,4BAAMI,QAAQzB,KAAK0B,QAAnB;AACA,4BAAMC,gBAAgBF,MAAMjB,MAA5B;AACA,4BAAMoB,UAAU5B,KAAKO,YAArB;;AAEA,6BAAK,IAAIsB,IAAI,CAAb,EAAgBA,IAAIF,aAApB,EAAmCE,IAAIA,IAAIR,YAA3C,EAAyD;AACrD,gCAAMS,gBAAgBC,gBAAgBN,KAAhB,EAAuBI,CAAvB,EAA0BR,YAA1B,CAAtB;AACA,gCAAMW,YAAYP,MAAMQ,KAAN,CAAYJ,CAAZ,EAAeC,aAAf,CAAlB;AACA,gCAAMI,UAAUC,WAAWH,SAAX,EAAsBJ,OAAtB,CAAhB;AACAd,kCAAMsB,IAAN,CAAW;AACPX,uCAAOO,SADA;AAEPE,yCAASA;AAFF,6BAAX;AAIH;;AAEDX,gCAAQT,KAAR;AACH,qBAnBM,CAAP;AAoBH,iBArBD;;AAuBA,oBAAMiB,kBAAkB,SAAlBA,eAAkB,CAACN,KAAD,EAAQY,UAAR,EAAoBhB,YAApB,EAAqC;AACzD,wBAAMiB,WAAWD,aAAahB,YAA9B;AACA,2BAAOiB,WAAWb,MAAMjB,MAAjB,GAA0B8B,QAA1B,GAAqCb,MAAMjB,MAAlD;AACH,iBAHD;;AAKA,oBAAM2B,aAAa,SAAbA,UAAa,CAACV,KAAD,EAAQG,OAAR,EAAoB;AACnC,wBAAMM,UAAU,EAAhB;AACAN,4BAAQW,OAAR,CAAgB,UAACC,CAAD,EAAIX,CAAJ,EAAU;AACtB,4BAAMxB,SAAS;AACXoC,kCAAMD,EAAEE,KAAF,CAAQC,SADH;AAEXC,gCAAIJ,EAAEE,KAAF,CAAQG,SAFD;AAGXC,kCAAMN,EAAEE,KAAF,CAAQK,WAHH;AAIXC,qCAASR,EAAEE,KAAF,CAAQM,OAAR,KAAoB,IAJlB;AAKXC,yCAAaT,EAAEE,KAAF,CAAQO,WAAR,IAAuB,IALzB;AAMXC,yCAAa,EANF;AAOXC,oCAAQX,EAAEY,iBAAF,CAAoBC,MAApB,CAA2B,UAACC,CAAD,EAAIC,CAAJ,EAAU;AACzC,oCAAMC,WAAWD,EAAEJ,MAAF,KAAa,UAAb,GAAyBG,EAAEE,QAAF,GAAa,CAAtC,GAA0CF,EAAEE,QAA7D;AACA,oCAAM5C,QAAQ2C,EAAEJ,MAAF,KAAa,OAAb,GAAsBG,EAAE1C,KAAF,GAAU,CAAhC,GAAoC0C,EAAE1C,KAApD;AACA,uCAAO,EAACA,OAAOA,KAAR,EAAe4C,UAAUA,QAAzB,EAAmCC,OAAOjB,EAAEY,iBAAF,CAAoB5C,MAA9D,EAAP;AACH,6BAJO,EAIL,EAACI,OAAO,CAAR,EAAW4C,UAAU,CAArB,EAAwBC,OAAOjB,EAAEY,iBAAF,CAAoB5C,MAAnD,EAJK;AAPG,yBAAf;AAaAiB,8BAAMc,OAAN,CAAc,aAAK;AACflC,mCAAO6C,WAAP,CAAmBd,IAAnB,CAAwBI,EAAEY,iBAAF,CAAoBM,IAApB,CAAyB;AAAA,uCAAKC,EAAEC,WAAF,KAAkBC,CAAvB;AAAA,6BAAzB,CAAxB;AACH,yBAFD;AAGA3B,gCAAQE,IAAR,CAAa/B,MAAb;AACH,qBAlBD;;AAoBA,2BAAO6B,OAAP;AACH,iBAvBD;AAwBH,a","file":"queries.model.js","sourceRoot":"/src"} \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/context-menu/context-menu.html b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/context-menu/context-menu.html index 40431a749..2d39ec97f 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/context-menu/context-menu.html +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/context-menu/context-menu.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js index 9c7bc02ba..e036d6936 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js @@ -1,93 +1,99 @@ -System.register(['aurelia-framework'], function (_export, _context) { +System.register(['aurelia-framework', 'ramda'], function (_export, _context) { "use strict"; - var bindable, inject, _desc, _value, _class, _descriptor, QueryStatus; + var bindable, inject, _, _dec, _class, _desc, _value, _class2, _descriptor, QueryStatus; 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.'); } return { setters: [function (_aureliaFramework) { bindable = _aureliaFramework.bindable; inject = _aureliaFramework.inject; + }, function (_ramda) { + _ = _ramda; }], execute: function () { - _export('QueryStatus', QueryStatus = (_class = function () { - function QueryStatus() { + _export('QueryStatus', QueryStatus = (_dec = inject(Math), _dec(_class = (_class2 = function () { + function QueryStatus(Math) { _classCallCheck(this, QueryStatus); _initDefineProp(this, 'status', _descriptor, this); + + this.floor = Math.floor; } QueryStatus.prototype.attached = function attached() { + var svgScaleMultiplier = 75; + var scaleToSVG = _.curry(function (f, m, t, n) { + return f(n / t * m); + })(this.floor, svgScaleMultiplier, this.status.total); + var status = this.status; - var scaleToSVG = function scaleToSVG(n, t) { - return Math.floor(n / t * 75); - }; - var finishedPct = scaleToSVG(status.finished, status.total); - var errorPct = scaleToSVG(status.error, status.total); + var finishedPct = scaleToSVG(status.finished); + var errorPct = scaleToSVG(status.error); this.readyOffset = 100 - finishedPct; this.errorOffset = this.readyOffset - errorPct; this.finished = status.finished; this.error = status.error; this.pending = status.total - (status.finished + status.error); this.total = status.total; }; return QueryStatus; - }(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, 'status', [bindable], { + }(), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, 'status', [bindable], { enumerable: true, initializer: null - })), _class)); + })), _class2)) || _class)); _export('QueryStatus', QueryStatus); } }; }); //# sourceMappingURL=query-status.js.map diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js.map b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js.map index 08a48a1f8..ad601debb 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js.map +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-status/query-status.js.map @@ -1 +1 @@ -{"version":3,"sources":["views/query-viewer/query-status/query-status.js"],"names":["bindable","inject","QueryStatus","attached","status","scaleToSVG","n","t","Math","floor","finishedPct","finished","total","errorPct","error","readyOffset","errorOffset","pending"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,oB,qBAAAA,Q;AAAUC,kB,qBAAAA,M;;;mCAGNC,W;;;;;;;sCAETC,Q,uBAAW;AACP,wBAAMC,SAAS,KAAKA,MAApB;AACA,wBAAMC,aAAa,SAAbA,UAAa,CAACC,CAAD,EAAIC,CAAJ;AAAA,+BAAUC,KAAKC,KAAL,CAAYH,IAAIC,CAAL,GAAU,EAArB,CAAV;AAAA,qBAAnB;AACA,wBAAMG,cAAcL,WAAWD,OAAOO,QAAlB,EAA4BP,OAAOQ,KAAnC,CAApB;AACA,wBAAMC,WAAWR,WAAWD,OAAOU,KAAlB,EAAyBV,OAAOQ,KAAhC,CAAjB;AACA,yBAAKG,WAAL,GAAoB,MAAML,WAA1B;AACA,yBAAKM,WAAL,GAAoB,KAAKD,WAAL,GAAmBF,QAAvC;AACA,yBAAKF,QAAL,GAAgBP,OAAOO,QAAvB;AACA,yBAAKG,KAAL,GAAaV,OAAOU,KAApB;AACA,yBAAKG,OAAL,GAAeb,OAAOQ,KAAP,IAAgBR,OAAOO,QAAP,GAAkBP,OAAOU,KAAzC,CAAf;AACA,yBAAKF,KAAL,GAAaR,OAAOQ,KAApB;AACH,iB;;;uFAZAZ,Q","file":"query-status.js","sourceRoot":"/src"} \ No newline at end of file +{"version":3,"sources":["views/query-viewer/query-status/query-status.js"],"names":["bindable","inject","_","QueryStatus","Math","floor","attached","svgScaleMultiplier","scaleToSVG","curry","f","m","t","n","status","total","finishedPct","finished","errorPct","error","readyOffset","errorOffset","pending"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,oB,qBAAAA,Q;AAAUC,kB,qBAAAA,M;;AACPC,a;;;mCAECC,W,WADZF,OAAOG,IAAP,C;AAGG,qCAAYA,IAAZ,EAAkB;AAAA;;AAAA;;AACd,yBAAKC,KAAL,GAAaD,KAAKC,KAAlB;AACH;;sCACDC,Q,uBAAW;AACP,wBAAMC,qBAAqB,EAA3B;AACA,wBAAMC,aAAaN,EAAEO,KAAF,CAAQ,UAACC,CAAD,EAAIC,CAAJ,EAAOC,CAAP,EAAUC,CAAV;AAAA,+BAAgBH,EAAGG,IAAID,CAAL,GAAUD,CAAZ,CAAhB;AAAA,qBAAR,EACd,KAAKN,KADS,EACFE,kBADE,EACkB,KAAKO,MAAL,CAAYC,KAD9B,CAAnB;;AAIA,wBAAMD,SAAS,KAAKA,MAApB;AACA,wBAAME,cAAcR,WAAWM,OAAOG,QAAlB,CAApB;AACA,wBAAMC,WAAWV,WAAWM,OAAOK,KAAlB,CAAjB;AACA,yBAAKC,WAAL,GAAoB,MAAMJ,WAA1B;AACA,yBAAKK,WAAL,GAAoB,KAAKD,WAAL,GAAmBF,QAAvC;AACA,yBAAKD,QAAL,GAAgBH,OAAOG,QAAvB;AACA,yBAAKE,KAAL,GAAaL,OAAOK,KAApB;AACA,yBAAKG,OAAL,GAAeR,OAAOC,KAAP,IAAgBD,OAAOG,QAAP,GAAkBH,OAAOK,KAAzC,CAAf;AACA,yBAAKJ,KAAL,GAAaD,OAAOC,KAApB;AACH,iB;;;wFAnBAf,Q","file":"query-status.js","sourceRoot":"/src"} \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.html b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.html index 40d1b0a40..d5abaa1d7 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.html +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.js.map b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.js.map index 8f5cecd17..33e9f0f31 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.js.map +++ b/shrine-webclient/src/main/js/client/js-shrine/dist/views/query-viewer/query-viewer.js.map @@ -1 +1 @@ -{"version":3,"sources":["views/query-viewer/query-viewer.js"],"names":["inject","EventAggregator","QueriesModel","ScrollService","notifications","commands","QueryViewer","evtAgg","queries","prototype","init","pageIndex","showLoader","vertStyle","runningQueryName","setToPage","i","page","pages","scrolledToBottom","scrollRatio","e","value","onScroll","loadingInfiniteScroll","moreToLoad","load","publishError","r","stopPropagation","publish","i2b2","showError","getContext","c","x","pageX","y","pageY","class","query","isCount","undefined","count","subscribe","historyRefreshed","tabMax","tabMin","queryStarted","n","shrine","queriesReceived","d","updatePage","$event","index","event","detail"],"mappings":"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","file":"query-viewer.js","sourceRoot":"/src"} \ No newline at end of file +{"version":3,"sources":["views/query-viewer/query-viewer.js"],"names":["inject","EventAggregator","QueriesModel","ScrollService","notifications","commands","QueryViewer","evtAgg","queries","prototype","init","pageIndex","showLoader","vertStyle","runningQueryName","setToPage","i","page","pages","scrolledToBottom","scrollRatio","e","value","onScroll","loadingInfiniteScroll","moreToLoad","load","publishError","r","stopPropagation","publish","i2b2","showError","getContext","c","x","pageX","y","pageY","class","query","isCount","undefined","count","subscribe","historyRefreshed","tabMax","tabMin","queryStarted","n","shrine","queriesReceived","d","updatePage","$event","index","event","detail"],"mappings":"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","file":"query-viewer.js","sourceRoot":"/src"} \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/export/assets/css/styles.css b/shrine-webclient/src/main/js/client/js-shrine/export/assets/css/styles.css index 2e2206b77..bf1976f2e 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/export/assets/css/styles.css +++ b/shrine-webclient/src/main/js/client/js-shrine/export/assets/css/styles.css @@ -1,532 +1,536 @@ +.mailto { + box-sizing: border-box; + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + padding: 10px; + color: #333; + background: #f2f2f2; + height: 100% p; + height-font-size: 16px; + height-line-height: 1.6em; } + .mailto .button { + border: 1px solid #6576a8; + background: #6d85ad; + border: 0; + outline: 0; + font-weight: bold; + text-transform: uppercase; + text-decoration: none; + letter-spacing: 1px; + color: #fff; + cursor: pointer; } + .mailto .button:hover { + background: #9cb8d9; } + .mailto .button:active { + background: #6576a8; } + .mailto .button--large { + position: relative; + padding: 15px 30px; + border-radius: 5px; + font-size: 16px; } + .mailto .button--large:active { + top: 1px; } + .mailto .content { + max-width: 350px; + text-align: center; } + .mailto .email { + position: relative; } + @import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); * { box-sizing: border-box; } .query-viewer { overflow: auto; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; height: 100%; } .flex-table { display: flex; width: 100%; flex-direction: column; margin: 0; } div.ellipses { overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .flex-table-item { flex: 1 1 0; white-space: nowrap; max-width: 15%; border-left: 1px solid rgba(98, 108, 146, 0.3); flex-flow: column; transition: all .5s ease; padding: 2px; text-align: right; vertical-align: top; font-weight: 300; font-size: 12px; color: black; } .flex-table-item:last-child { border-right: 1px solid rgba(98, 108, 146, 0.3); } .flex-table-item:first-child { - flex: 2; } + flex: .25; } .flex-table-item:nth-child(2) { + flex: 2; } + +.flex-table-item:nth-child(3) { flex: .8; } .flex-table-item:nth-child(3) { flex: .5; } .flex-table.query-viewer .flex-table-item:hover { background: rgba(98, 108, 146, 0.3) !important; cursor: pointer; } .node-header, .node-header > .flex-table-item { border: none !important; text-align: center; padding-right: 8px; text-transform: uppercase; } .flex-table-row { border-top: 1px solid rgba(98, 108, 146, 0.3); display: flex; flex-flow: row no-wrap; width: 100%; } .flex-table-row:nth-child(even) { background: rgba(98, 108, 146, 0.1); } .flex-table-row:last-child { /*being overwritten by above rule */ border-bottom: 1px solid rgba(98, 108, 146, 0.3) !important; } .v-full { height: 90vh; } .v-min { height: 90px; } /*@import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); body{ overflow: hidden; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; } html, body, .box-wrapper{ width: 100%; height: 100%; margin: 0; } .box-wrapper{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: wrap; flex-wrap: wrap; } .box-wrapper > .box { margin-top: 0; width: 100%; transition: all .2s ease; .hideextra { white-space: nowrap; overflow: hidden; text-overflow:ellipsis; } section{ margin: 20 0 6 0; .v-full { height: 90vh; } .v-min{ height: 90px; } .v-min > table { padding-bottom: 1%; } .tbl-content{ overflow: auto; margin-top: 0px; border: 1px solid rgba(98,108,146,0.3); } } table{ width:100%; table-layout: fixed; .tbl-header{ background-color: rgba(98,108,146, .3); div.tbl-header{ max-width: 5rem; } } tr{ background: white; cursor: pointer; &:nth-child(odd) {background: rgba(98,108,146, .1)} } th{ padding: 2px 4px 4px 2px; text-align: left; font-weight: 500; font-size: .75rem; color: #626C92; text-transform: uppercase; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } td{ transition: all .5s ease; padding: 2px; text-align: left; vertical-align: top; font-weight: 300; font-size: 12px; color: black; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } } } */ /*{ position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: #337ab7; text-decoration: none; background-color: #fff; border: 1px solid #ddd; } :focus { z-index: 3; color: #fff; cursor: default; background-color: #337ab7; border-color: #337ab7; }*/ -.mailto { - box-sizing: border-box; - display: flex; - justify-content: center; - align-items: center; - width: 100%; - height: 100%; - padding: 10px; - color: #333; - background: #f2f2f2; - height: 100% p; - height-font-size: 16px; - height-line-height: 1.6em; } - .mailto .button { - border: 1px solid #6576a8; - background: #6d85ad; - border: 0; - outline: 0; - font-weight: bold; - text-transform: uppercase; - text-decoration: none; - letter-spacing: 1px; - color: #fff; - cursor: pointer; } - .mailto .button:hover { - background: #9cb8d9; } - .mailto .button:active { - background: #6576a8; } - .mailto .button--large { - position: relative; - padding: 15px 30px; - border-radius: 5px; - font-size: 16px; } - .mailto .button--large:active { - top: 1px; } - .mailto .content { - max-width: 350px; - text-align: center; } - .mailto .email { - position: relative; } - -@import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); -ul.context-menu { - transition: opacity 0.2s linear; - list-style: none; - margin: 0; - padding: 0; - font: 200 11px "Roboto", sans-serif; - position: absolute; - color: #626C92; - box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2); - border-radius: 5px; - border: 1px solid rgba(98, 108, 146, 0.25); } - ul.context-menu * { - transition: color 0.2s, background 0.2s; } - ul.context-menu.hide { - visibility: hidden; - opacity: 0; } - ul.context-menu.show { - visibility: visible; - opacity: 1; } - ul.context-menu li { - min-width: 100px; - overflow: hidden; - white-space: nowrap; - padding: 6px 8px; - background-color: #fff; - border-bottom: 1px solid #ecf0f1; } - ul.context-menu li a { - color: #626C92; - text-decoration: none; } - ul.context-menu li:hover { - background-color: #ecf0f1; - color: #2980b9; } - ul.context-menu li:hover a { - color: #2980b9; } - ul.context-menu li:first-child { - border-radius: 5px 5px 0 0; } - ul.context-menu li:last-child { - border-bottom: 0; - border-radius: 0 0 5px 5px; } - @import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); .loader { background: #fff; margin: 50px 300px; /*todo cleanup with mixin*/ } .loader h1 { color: #626C92; font: 300 11px "Roboto", sans-serif; } .loader div.slider { position: absolute; width: 200px; height: 2px; margin-top: -30px; } .loader div.slider div.line { position: absolute; background: rgba(0, 0, 0, 0.2); width: 200px; height: 2px; } .loader div.slider div.break { position: absolute; width: 50%; height: 2px; } .loader div.slider div.break.dot1 { animation: loading 2s infinite; background: #D9ECF0; } .loader div.slider div.break.dot2 { animation: loading 2s 0.5s infinite; background: #6677AA; } .loader div.slider div.break.dot3 { animation: loading 2s 1s infinite; background: #D9ECF0; } @-webkit-keyframes "loading" { from { left: 0; opacity: 1; } to { left: 200px; opacity: 1; } } @-moz-keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } @-o-keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } @keyframes "loading" { from { left: 0; opacity: 0; } to { left: 200px; opacity: 1; } } -.paginator * { - -webkit-transition: all .10s ease-in-out; - transition: all .10s ease-in-out; - font-family: 'Open Sans'; } - -.paginator { - margin: 0; } - -.paginator--center { - text-align: center; } - -.paginator--right { - text-align: right; } - -.paginator .btn-group { - list-style-type: none; - margin: 0; - padding: 0; - display: inline-block; } - -.paginator .btn-group__item { +@import url(http://fonts.googleapis.com/css?family=Roboto:400,300&subset=latin,latin-ext); +ul.context-menu { + transition: opacity 0.2s linear; + list-style: none; margin: 0; padding: 0; - height: 40px; - float: left; } - -.paginator .btn-group__item .btn { - margin: 0; - padding: .5em .75em; - border: 0; - font-weight: 300; - background-color: transparent; - box-shadow: inset 0 -2px 0 0 #777; - color: #777; } - -.paginator .btn-group__item .btn:hover { - box-shadow: inset 0 -4px 0 0 #626C92; - cursor: pointer; } - -.paginator .btn-group__item .current { - box-shadow: inset 0 -4px 0 0 #626C92; + font: 200 11px "Roboto", sans-serif; + position: absolute; color: #626C92; - font-weight: bold; } - -.paginator .btn-group__item .current:hover { - box-shadow: inset 0 -4px 0 0 #626C92; - cursor: pointer; } - -.paginator .btn[disabled] { - box-shadow: inset 0 -2px 0 0 #e6e6e6; - color: #e6e6e6; } - -.paginator .btn[disabled]:hover { - box-shadow: inset 0 -2px 0 0 #626C92; - cursor: pointer; } - -.paginator .i-chevron-left, -.paginator .i-chevron-right { - margin: 15px; - border-style: solid; - border-color: #3a3a3a; - width: 5px; - height: 5px; - display: block; - cursor: pointer; } - -.paginator .i-chevron-left { - border-width: 1px 0 0 1px; - -webkit-transform: rotate(-45deg); - -ms-transform: rotate(-45deg); - transform: rotate(-45deg); } - -.paginator .i-chevron-right { - border-width: 1px 1px 0 0; - -ms-transform: rotate(45deg); - -webkit-transform: rotate(45deg); - transform: rotate(45deg); } - -.paginator .i-chevron-left:hover { - border-width: 2px 0 0 2px; } - -.paginator .i-chevron-right:hover { - border-width: 2px 2px 0 0; } + box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.2); + border-radius: 5px; + border: 1px solid rgba(98, 108, 146, 0.25); } + ul.context-menu * { + transition: color 0.2s, background 0.2s; } + ul.context-menu.hide { + visibility: hidden; + opacity: 0; } + ul.context-menu.show { + visibility: visible; + opacity: 1; } + ul.context-menu li { + min-width: 100px; + overflow: hidden; + white-space: nowrap; + padding: 6px 8px; + background-color: #fff; + border-bottom: 1px solid #ecf0f1; } + ul.context-menu li a { + color: #626C92; + text-decoration: none; } + ul.context-menu li:hover { + background-color: #ecf0f1; + color: #2980b9; } + ul.context-menu li:hover a { + color: #2980b9; } + ul.context-menu li:first-child { + border-radius: 5px 5px 0 0; } + ul.context-menu li:last-child { + border-bottom: 0; + border-radius: 0 0 5px 5px; } svg.query-status { height: 25px; -webkit-transform: rotate(270deg); transform: rotate(270deg); width: 25px; } .query-status > .countdown__background { transition: all .5s ease; fill: none; stroke: #c0c0c0; stroke-width: 8; } .flex-table.query-viewer .flex-table-item:hover .query-status > .countdown__background { stroke: #000; } .query-status > .error__progress { fill: none; stroke: #ff0000; stroke-dasharray: 100 100; stroke-linecap: butt; stroke-width: 6; } .query-status > .ready__progress { fill: none; stroke: #00ff00; stroke-dasharray: 100 100; stroke-linecap: butt; stroke-width: 6; } .tooltip { font-family: sans-serif; } .tooltip [data-line1] { position: relative; } .tooltip [data-line1]::before, .tooltip [data-line1]::after { text-transform: none; font-size: .9em; line-height: 1; user-select: none; pointer-events: none; position: absolute; display: none; opacity: 0; left: 50%; transform: translate(-50%, -0.5em); display: block; } .tooltip [data-line1]::before { content: ''; border: 5px solid transparent; z-index: 10001; bottom: 100%; border-bottom-width: 0; border-top-color: #333; } .tooltip [data-line1]::after { bottom: calc(100% + 5px); font-family: Helvetica, sans-serif; text-align: center; min-width: 3em; max-width: 42em; padding: 1ch 1.5ch; border-radius: .3ch; box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35); background: #333; color: #fff; z-index: 10000; display: block; white-space: pre; content: attr(data-line1); } /* display second line if provided */ .tooltip [data-line1][data-line2]::after { content: attr(data-line1) "\a" attr(data-line2); } /* KEYFRAMES */ @keyframes tooltips-vert { to { opacity: .9; transform: translate(-50%, 0); } } @keyframes tooltips-horz { to { opacity: .9; transform: translate(0, -50%); } } -/* FX All The Things */ +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::before, +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::after, .tooltip [data-line1]:hover::before, .tooltip [data-line2]:hover::after { animation: tooltips-vert 300ms ease-out forwards; } -/* UNRELATED to tooltips */ -body { +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::before { + top: 7px; + border-top-width: 0; + border: 5px solid transparent; + border-bottom-color: #333; } + +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::after { + bottom: calc(-100% - 20px); } + +.paginator * { + -webkit-transition: all .10s ease-in-out; + transition: all .10s ease-in-out; + font-family: 'Open Sans'; } + +.paginator { + margin: 0; } + +.paginator--center { + text-align: center; } + +.paginator--right { + text-align: right; } + +.paginator .btn-group { + list-style-type: none; margin: 0; - min-height: 100vh; - display: flex; - flex-direction: column; - font-family: sans-serif; - background: #ededed; } + padding: 0; + display: inline-block; } + +.paginator .btn-group__item { + margin: 0; + padding: 0; + height: 40px; + float: left; } + +.paginator .btn-group__item .btn { + margin: 0; + padding: .5em .75em; + border: 0; + font-weight: 300; + background-color: transparent; + box-shadow: inset 0 -2px 0 0 #777; + color: #777; } + +.paginator .btn-group__item .btn:hover { + box-shadow: inset 0 -4px 0 0 #626C92; + cursor: pointer; } + +.paginator .btn-group__item .current { + box-shadow: inset 0 -4px 0 0 #626C92; + color: #626C92; + font-weight: bold; } + +.paginator .btn-group__item .current:hover { + box-shadow: inset 0 -4px 0 0 #626C92; + cursor: pointer; } + +.paginator .btn[disabled] { + box-shadow: inset 0 -2px 0 0 #e6e6e6; + color: #e6e6e6; } + +.paginator .btn[disabled]:hover { + box-shadow: inset 0 -2px 0 0 #626C92; + cursor: pointer; } + +.paginator .i-chevron-left, +.paginator .i-chevron-right { + margin: 15px; + border-style: solid; + border-color: #3a3a3a; + width: 5px; + height: 5px; + display: block; + cursor: pointer; } + +.paginator .i-chevron-left { + border-width: 1px 0 0 1px; + -webkit-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + transform: rotate(-45deg); } + +.paginator .i-chevron-right { + border-width: 1px 1px 0 0; + -ms-transform: rotate(45deg); + -webkit-transform: rotate(45deg); + transform: rotate(45deg); } + +.paginator .i-chevron-left:hover { + border-width: 2px 0 0 2px; } + +.paginator .i-chevron-right:hover { + border-width: 2px 2px 0 0; } diff --git a/shrine-webclient/src/main/js/client/js-shrine/export/config.js b/shrine-webclient/src/main/js/client/js-shrine/export/config.js index f7d001f8b..6c26323c4 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/export/config.js +++ b/shrine-webclient/src/main/js/client/js-shrine/export/config.js @@ -1,716 +1,718 @@ System.config({ defaultJSExtensions: true, transpiler: false, paths: { "*": "dist/*", "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "aurelia-animator-css": "npm:aurelia-animator-css@1.0.1", "aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0", "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", "aurelia-fetch-client": "npm:aurelia-fetch-client@1.0.1", "aurelia-framework": "npm:aurelia-framework@1.0.6", "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-browser": "npm:aurelia-pal-browser@1.0.0", "aurelia-polyfills": "npm:aurelia-polyfills@1.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0", "bluebird": "npm:bluebird@3.4.1", "bootstrap": "github:twbs/bootstrap@3.3.7", "fetch": "github:github/fetch@1.0.0", "font-awesome": "npm:font-awesome@4.7.0", "jquery": "npm:jquery@2.2.4", "moment": "npm:moment@2.18.1", "ramda": "npm:ramda@0.23.0", "text": "github:systemjs/plugin-text@0.0.8", "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.6" }, "github:jspm/nodelibs-process@0.1.2": { "process": "npm:process@0.11.10" }, "github:jspm/nodelibs-util@0.1.0": { "util": "npm:util@0.10.3" }, "github:jspm/nodelibs-vm@0.1.0": { "vm-browserify": "npm:vm-browserify@0.0.4" }, "github:twbs/bootstrap@3.3.7": { "jquery": "npm:jquery@2.2.4" }, "npm:assert@1.4.1": { "assert": "github:jspm/nodelibs-assert@0.1.0", "buffer": "github:jspm/nodelibs-buffer@0.1.1", "process": "github:jspm/nodelibs-process@0.1.2", "util": "npm:util@0.10.3" }, "npm:aurelia-animator-css@1.0.1": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-binding@1.0.9": { "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-task-queue": "npm:aurelia-task-queue@1.1.0" }, "npm:aurelia-bootstrapper@1.0.0": { "aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.1", "aurelia-framework": "npm:aurelia-framework@1.0.6", "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.0", "aurelia-logging-console": "npm:aurelia-logging-console@1.0.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.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1", "aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0", "aurelia-templating-resources": "npm:aurelia-templating-resources@1.1.1", "aurelia-templating-router": "npm:aurelia-templating-router@1.0.0" }, "npm:aurelia-dependency-injection@1.3.1": { "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-event-aggregator@1.0.1": { "aurelia-logging": "npm:aurelia-logging@1.3.1" }, "npm:aurelia-framework@1.0.6": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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.1.1" }, "npm:aurelia-history-browser@1.0.0": { "aurelia-history": "npm:aurelia-history@1.0.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.3.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" }, "npm:aurelia-metadata@1.0.3": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-pal-browser@1.0.0": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-polyfills@1.1.1": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-route-recognizer@1.1.0": { "aurelia-path": "npm:aurelia-path@1.1.1" }, "npm:aurelia-router@1.3.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "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-path": "npm:aurelia-path@1.1.1", "aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.1.0" }, "npm:aurelia-task-queue@1.1.0": { "aurelia-pal": "npm:aurelia-pal@1.3.0" }, "npm:aurelia-templating-binding@1.0.0": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-templating-resources@1.1.1": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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.1.1" }, "npm:aurelia-templating-router@1.0.0": { "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "aurelia-pal": "npm:aurelia-pal@1.3.0", "aurelia-path": "npm:aurelia-path@1.1.1", "aurelia-router": "npm:aurelia-router@1.3.0", "aurelia-templating": "npm:aurelia-templating@1.1.1" }, "npm:aurelia-templating@1.1.1": { "aurelia-binding": "npm:aurelia-binding@1.0.9", "aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.3.1", "aurelia-loader": "npm:aurelia-loader@1.0.0", "aurelia-logging": "npm:aurelia-logging@1.3.1", "aurelia-metadata": "npm:aurelia-metadata@1.0.3", "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" }, "npm:bluebird@3.4.1": { "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:buffer@5.0.6": { "base64-js": "npm:base64-js@1.2.0", "ieee754": "npm:ieee754@1.1.8" }, "npm:font-awesome@4.7.0": { "css": "github:systemjs/plugin-css@0.1.33" }, "npm:inherits@2.0.1": { "util": "github:jspm/nodelibs-util@0.1.0" }, "npm:process@0.11.10": { "assert": "github:jspm/nodelibs-assert@0.1.0", "fs": "github:jspm/nodelibs-fs@0.1.2", "vm": "github:jspm/nodelibs-vm@0.1.0" }, "npm:ramda@0.23.0": { "assert": "github:jspm/nodelibs-assert@0.1.0", "process": "github:jspm/nodelibs-process@0.1.2", "util": "github:jspm/nodelibs-util@0.1.0", "vm": "github:jspm/nodelibs-vm@0.1.0" }, "npm:util@0.10.3": { "inherits": "npm:inherits@2.0.1", "process": "github:jspm/nodelibs-process@0.1.2" }, "npm:vm-browserify@0.0.4": { "indexof": "npm:indexof@0.0.1" } }, - depCache: { - "common/container.js": [ - "ramda" - ], - "common/i2b2.pub-sub.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "./i2b2.service", - "./shrine.messages" - ], - "common/i2b2.service.js": [ - "ramda", - "./container" - ], - "common/queries.model.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "repository/qep.repository", - "./shrine.messages" - ], - "repository/qep.repository.js": [ - "aurelia-framework", - "aurelia-fetch-client", - "fetch" - ], - "shell.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/i2b2.pub-sub", - "common/queries.model", - "common/shrine.messages" - ], - "views/mailto/mailto.js": [ - "aurelia-framework", - "views/mailto/mailto.service", - "views/mailto/mailto.config" - ], - "views/mailto/mailto.service.js": [ - "aurelia-framework", - "repository/qep.repository" - ], - "views/query-viewer/context-menu/context-menu.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/shrine.messages" - ], - "views/query-viewer/date.converter.js": [ - "moment" - ], - "views/query-viewer/loading-bar/loading-bar.js": [ - "aurelia-framework" - ], - "views/query-viewer/paginator/paginator.js": [ - "aurelia-framework" - ], - "views/query-viewer/query-status/query-status.js": [ - "aurelia-framework" - ], - "views/query-viewer/query-viewer.js": [ - "aurelia-framework", - "aurelia-event-aggregator", - "common/queries.model", - "./scroll.service", - "common/shrine.messages" - ], - "views/query-viewer/scroll.service.js": [ - "ramda", - "common/container" - ] - }, bundles: { "app-build.js": [ "common/container.js", "common/i2b2.pub-sub.js", "common/i2b2.service.js", "common/queries.model.js", "common/shrine.messages.js", "main.js", "repository/qep.repository.js", "shell.html!github:systemjs/plugin-text@0.0.8.js", "shell.js", "views/mailto/mailto.config.js", "views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js", "views/mailto/mailto.js", "views/mailto/mailto.service.js", "views/query-viewer/box-style.converter.js", "views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/context-menu/context-menu.js", "views/query-viewer/date.converter.js", "views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/loading-bar/loading-bar.js", "views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/paginator/paginator.js", "views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/query-status/query-status.js", "views/query-viewer/query-viewer.config.js", "views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js", "views/query-viewer/query-viewer.js", "views/query-viewer/result-style.converter.js", "views/query-viewer/result-value.converter.js", "views/query-viewer/scroll.service.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", "npm:aurelia-binding@1.0.9.js", "npm:aurelia-binding@1.0.9/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.1.js", "npm:aurelia-dependency-injection@1.3.1/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.0.1.js", "npm:aurelia-fetch-client@1.0.1/aurelia-fetch-client.js", "npm:aurelia-framework@1.0.6.js", "npm:aurelia-framework@1.0.6/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.3.1.js", "npm:aurelia-logging@1.3.1/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.1.1.js", "npm:aurelia-polyfills@1.1.1/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.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.1.1.js", "npm:aurelia-templating-resources@1.1.1/abstract-repeater.js", "npm:aurelia-templating-resources@1.1.1/analyze-view-factory.js", "npm:aurelia-templating-resources@1.1.1/array-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/attr-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/aurelia-hide-style.js", "npm:aurelia-templating-resources@1.1.1/aurelia-templating-resources.js", "npm:aurelia-templating-resources@1.1.1/binding-mode-behaviors.js", "npm:aurelia-templating-resources@1.1.1/binding-signaler.js", "npm:aurelia-templating-resources@1.1.1/compose.js", "npm:aurelia-templating-resources@1.1.1/css-resource.js", "npm:aurelia-templating-resources@1.1.1/debounce-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/dynamic-element.js", "npm:aurelia-templating-resources@1.1.1/focus.js", "npm:aurelia-templating-resources@1.1.1/hide.js", "npm:aurelia-templating-resources@1.1.1/html-resource-plugin.js", "npm:aurelia-templating-resources@1.1.1/html-sanitizer.js", "npm:aurelia-templating-resources@1.1.1/if.js", "npm:aurelia-templating-resources@1.1.1/map-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/null-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/number-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/repeat-strategy-locator.js", "npm:aurelia-templating-resources@1.1.1/repeat-utilities.js", "npm:aurelia-templating-resources@1.1.1/repeat.js", "npm:aurelia-templating-resources@1.1.1/replaceable.js", "npm:aurelia-templating-resources@1.1.1/sanitize-html.js", "npm:aurelia-templating-resources@1.1.1/set-repeat-strategy.js", "npm:aurelia-templating-resources@1.1.1/show.js", "npm:aurelia-templating-resources@1.1.1/signal-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/throttle-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/update-trigger-binding-behavior.js", "npm:aurelia-templating-resources@1.1.1/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.1.1.js", "npm:aurelia-templating@1.1.1/aurelia-templating.js", "npm:font-awesome@4.7.0.js", "npm:font-awesome@4.7.0/css/font-awesome.css!github:systemjs/plugin-css@0.1.33.js", "npm:jquery@2.2.4.js", "npm:jquery@2.2.4/dist/jquery.js", "npm:moment@2.18.1.js", "npm:moment@2.18.1/moment.js", "npm:process@0.11.10.js", "npm:process@0.11.10/browser.js", "npm:ramda@0.23.0.js", "npm:ramda@0.23.0/index.js", "npm:ramda@0.23.0/src/F.js", "npm:ramda@0.23.0/src/T.js", "npm:ramda@0.23.0/src/__.js", "npm:ramda@0.23.0/src/add.js", "npm:ramda@0.23.0/src/addIndex.js", "npm:ramda@0.23.0/src/adjust.js", "npm:ramda@0.23.0/src/all.js", "npm:ramda@0.23.0/src/allPass.js", "npm:ramda@0.23.0/src/always.js", "npm:ramda@0.23.0/src/and.js", "npm:ramda@0.23.0/src/any.js", "npm:ramda@0.23.0/src/anyPass.js", "npm:ramda@0.23.0/src/ap.js", "npm:ramda@0.23.0/src/aperture.js", "npm:ramda@0.23.0/src/append.js", "npm:ramda@0.23.0/src/apply.js", "npm:ramda@0.23.0/src/applySpec.js", "npm:ramda@0.23.0/src/ascend.js", "npm:ramda@0.23.0/src/assoc.js", "npm:ramda@0.23.0/src/assocPath.js", "npm:ramda@0.23.0/src/binary.js", "npm:ramda@0.23.0/src/bind.js", "npm:ramda@0.23.0/src/both.js", "npm:ramda@0.23.0/src/call.js", "npm:ramda@0.23.0/src/chain.js", "npm:ramda@0.23.0/src/clamp.js", "npm:ramda@0.23.0/src/clone.js", "npm:ramda@0.23.0/src/comparator.js", "npm:ramda@0.23.0/src/complement.js", "npm:ramda@0.23.0/src/compose.js", "npm:ramda@0.23.0/src/composeK.js", "npm:ramda@0.23.0/src/composeP.js", "npm:ramda@0.23.0/src/concat.js", "npm:ramda@0.23.0/src/cond.js", "npm:ramda@0.23.0/src/construct.js", "npm:ramda@0.23.0/src/constructN.js", "npm:ramda@0.23.0/src/contains.js", "npm:ramda@0.23.0/src/converge.js", "npm:ramda@0.23.0/src/countBy.js", "npm:ramda@0.23.0/src/curry.js", "npm:ramda@0.23.0/src/curryN.js", "npm:ramda@0.23.0/src/dec.js", "npm:ramda@0.23.0/src/defaultTo.js", "npm:ramda@0.23.0/src/descend.js", "npm:ramda@0.23.0/src/difference.js", "npm:ramda@0.23.0/src/differenceWith.js", "npm:ramda@0.23.0/src/dissoc.js", "npm:ramda@0.23.0/src/dissocPath.js", "npm:ramda@0.23.0/src/divide.js", "npm:ramda@0.23.0/src/drop.js", "npm:ramda@0.23.0/src/dropLast.js", "npm:ramda@0.23.0/src/dropLastWhile.js", "npm:ramda@0.23.0/src/dropRepeats.js", "npm:ramda@0.23.0/src/dropRepeatsWith.js", "npm:ramda@0.23.0/src/dropWhile.js", "npm:ramda@0.23.0/src/either.js", "npm:ramda@0.23.0/src/empty.js", "npm:ramda@0.23.0/src/eqBy.js", "npm:ramda@0.23.0/src/eqProps.js", "npm:ramda@0.23.0/src/equals.js", "npm:ramda@0.23.0/src/evolve.js", "npm:ramda@0.23.0/src/filter.js", "npm:ramda@0.23.0/src/find.js", "npm:ramda@0.23.0/src/findIndex.js", "npm:ramda@0.23.0/src/findLast.js", "npm:ramda@0.23.0/src/findLastIndex.js", "npm:ramda@0.23.0/src/flatten.js", "npm:ramda@0.23.0/src/flip.js", "npm:ramda@0.23.0/src/forEach.js", "npm:ramda@0.23.0/src/forEachObjIndexed.js", "npm:ramda@0.23.0/src/fromPairs.js", "npm:ramda@0.23.0/src/groupBy.js", "npm:ramda@0.23.0/src/groupWith.js", "npm:ramda@0.23.0/src/gt.js", "npm:ramda@0.23.0/src/gte.js", "npm:ramda@0.23.0/src/has.js", "npm:ramda@0.23.0/src/hasIn.js", "npm:ramda@0.23.0/src/head.js", "npm:ramda@0.23.0/src/identical.js", "npm:ramda@0.23.0/src/identity.js", "npm:ramda@0.23.0/src/ifElse.js", "npm:ramda@0.23.0/src/inc.js", "npm:ramda@0.23.0/src/indexBy.js", "npm:ramda@0.23.0/src/indexOf.js", "npm:ramda@0.23.0/src/init.js", "npm:ramda@0.23.0/src/insert.js", "npm:ramda@0.23.0/src/insertAll.js", "npm:ramda@0.23.0/src/internal/_Set.js", "npm:ramda@0.23.0/src/internal/_aperture.js", "npm:ramda@0.23.0/src/internal/_arity.js", "npm:ramda@0.23.0/src/internal/_arrayFromIterator.js", "npm:ramda@0.23.0/src/internal/_assign.js", "npm:ramda@0.23.0/src/internal/_checkForMethod.js", "npm:ramda@0.23.0/src/internal/_clone.js", "npm:ramda@0.23.0/src/internal/_cloneRegExp.js", "npm:ramda@0.23.0/src/internal/_complement.js", "npm:ramda@0.23.0/src/internal/_concat.js", "npm:ramda@0.23.0/src/internal/_contains.js", "npm:ramda@0.23.0/src/internal/_containsWith.js", "npm:ramda@0.23.0/src/internal/_createPartialApplicator.js", "npm:ramda@0.23.0/src/internal/_curry1.js", "npm:ramda@0.23.0/src/internal/_curry2.js", "npm:ramda@0.23.0/src/internal/_curry3.js", "npm:ramda@0.23.0/src/internal/_curryN.js", "npm:ramda@0.23.0/src/internal/_dispatchable.js", "npm:ramda@0.23.0/src/internal/_dropLast.js", "npm:ramda@0.23.0/src/internal/_dropLastWhile.js", "npm:ramda@0.23.0/src/internal/_equals.js", "npm:ramda@0.23.0/src/internal/_filter.js", "npm:ramda@0.23.0/src/internal/_flatCat.js", "npm:ramda@0.23.0/src/internal/_forceReduced.js", "npm:ramda@0.23.0/src/internal/_functionName.js", "npm:ramda@0.23.0/src/internal/_has.js", "npm:ramda@0.23.0/src/internal/_identity.js", "npm:ramda@0.23.0/src/internal/_indexOf.js", "npm:ramda@0.23.0/src/internal/_isArguments.js", "npm:ramda@0.23.0/src/internal/_isArray.js", "npm:ramda@0.23.0/src/internal/_isFunction.js", "npm:ramda@0.23.0/src/internal/_isInteger.js", "npm:ramda@0.23.0/src/internal/_isNumber.js", "npm:ramda@0.23.0/src/internal/_isObject.js", "npm:ramda@0.23.0/src/internal/_isPlaceholder.js", "npm:ramda@0.23.0/src/internal/_isRegExp.js", "npm:ramda@0.23.0/src/internal/_isString.js", "npm:ramda@0.23.0/src/internal/_isTransformer.js", "npm:ramda@0.23.0/src/internal/_makeFlat.js", "npm:ramda@0.23.0/src/internal/_map.js", "npm:ramda@0.23.0/src/internal/_objectAssign.js", "npm:ramda@0.23.0/src/internal/_of.js", "npm:ramda@0.23.0/src/internal/_pipe.js", "npm:ramda@0.23.0/src/internal/_pipeP.js", "npm:ramda@0.23.0/src/internal/_quote.js", "npm:ramda@0.23.0/src/internal/_reduce.js", "npm:ramda@0.23.0/src/internal/_reduced.js", "npm:ramda@0.23.0/src/internal/_stepCat.js", "npm:ramda@0.23.0/src/internal/_toISOString.js", "npm:ramda@0.23.0/src/internal/_toString.js", "npm:ramda@0.23.0/src/internal/_xall.js", "npm:ramda@0.23.0/src/internal/_xany.js", "npm:ramda@0.23.0/src/internal/_xaperture.js", "npm:ramda@0.23.0/src/internal/_xchain.js", "npm:ramda@0.23.0/src/internal/_xdrop.js", "npm:ramda@0.23.0/src/internal/_xdropLast.js", "npm:ramda@0.23.0/src/internal/_xdropLastWhile.js", "npm:ramda@0.23.0/src/internal/_xdropRepeatsWith.js", "npm:ramda@0.23.0/src/internal/_xdropWhile.js", "npm:ramda@0.23.0/src/internal/_xfBase.js", "npm:ramda@0.23.0/src/internal/_xfilter.js", "npm:ramda@0.23.0/src/internal/_xfind.js", "npm:ramda@0.23.0/src/internal/_xfindIndex.js", "npm:ramda@0.23.0/src/internal/_xfindLast.js", "npm:ramda@0.23.0/src/internal/_xfindLastIndex.js", "npm:ramda@0.23.0/src/internal/_xmap.js", "npm:ramda@0.23.0/src/internal/_xreduceBy.js", "npm:ramda@0.23.0/src/internal/_xtake.js", "npm:ramda@0.23.0/src/internal/_xtakeWhile.js", "npm:ramda@0.23.0/src/internal/_xwrap.js", "npm:ramda@0.23.0/src/intersection.js", "npm:ramda@0.23.0/src/intersectionWith.js", "npm:ramda@0.23.0/src/intersperse.js", "npm:ramda@0.23.0/src/into.js", "npm:ramda@0.23.0/src/invert.js", "npm:ramda@0.23.0/src/invertObj.js", "npm:ramda@0.23.0/src/invoker.js", "npm:ramda@0.23.0/src/is.js", "npm:ramda@0.23.0/src/isArrayLike.js", "npm:ramda@0.23.0/src/isEmpty.js", "npm:ramda@0.23.0/src/isNil.js", "npm:ramda@0.23.0/src/join.js", "npm:ramda@0.23.0/src/juxt.js", "npm:ramda@0.23.0/src/keys.js", "npm:ramda@0.23.0/src/keysIn.js", "npm:ramda@0.23.0/src/last.js", "npm:ramda@0.23.0/src/lastIndexOf.js", "npm:ramda@0.23.0/src/length.js", "npm:ramda@0.23.0/src/lens.js", "npm:ramda@0.23.0/src/lensIndex.js", "npm:ramda@0.23.0/src/lensPath.js", "npm:ramda@0.23.0/src/lensProp.js", "npm:ramda@0.23.0/src/lift.js", "npm:ramda@0.23.0/src/liftN.js", "npm:ramda@0.23.0/src/lt.js", "npm:ramda@0.23.0/src/lte.js", "npm:ramda@0.23.0/src/map.js", "npm:ramda@0.23.0/src/mapAccum.js", "npm:ramda@0.23.0/src/mapAccumRight.js", "npm:ramda@0.23.0/src/mapObjIndexed.js", "npm:ramda@0.23.0/src/match.js", "npm:ramda@0.23.0/src/mathMod.js", "npm:ramda@0.23.0/src/max.js", "npm:ramda@0.23.0/src/maxBy.js", "npm:ramda@0.23.0/src/mean.js", "npm:ramda@0.23.0/src/median.js", "npm:ramda@0.23.0/src/memoize.js", "npm:ramda@0.23.0/src/merge.js", "npm:ramda@0.23.0/src/mergeAll.js", "npm:ramda@0.23.0/src/mergeWith.js", "npm:ramda@0.23.0/src/mergeWithKey.js", "npm:ramda@0.23.0/src/min.js", "npm:ramda@0.23.0/src/minBy.js", "npm:ramda@0.23.0/src/modulo.js", "npm:ramda@0.23.0/src/multiply.js", "npm:ramda@0.23.0/src/nAry.js", "npm:ramda@0.23.0/src/negate.js", "npm:ramda@0.23.0/src/none.js", "npm:ramda@0.23.0/src/not.js", "npm:ramda@0.23.0/src/nth.js", "npm:ramda@0.23.0/src/nthArg.js", "npm:ramda@0.23.0/src/objOf.js", "npm:ramda@0.23.0/src/of.js", "npm:ramda@0.23.0/src/omit.js", "npm:ramda@0.23.0/src/once.js", "npm:ramda@0.23.0/src/or.js", "npm:ramda@0.23.0/src/over.js", "npm:ramda@0.23.0/src/pair.js", "npm:ramda@0.23.0/src/partial.js", "npm:ramda@0.23.0/src/partialRight.js", "npm:ramda@0.23.0/src/partition.js", "npm:ramda@0.23.0/src/path.js", "npm:ramda@0.23.0/src/pathEq.js", "npm:ramda@0.23.0/src/pathOr.js", "npm:ramda@0.23.0/src/pathSatisfies.js", "npm:ramda@0.23.0/src/pick.js", "npm:ramda@0.23.0/src/pickAll.js", "npm:ramda@0.23.0/src/pickBy.js", "npm:ramda@0.23.0/src/pipe.js", "npm:ramda@0.23.0/src/pipeK.js", "npm:ramda@0.23.0/src/pipeP.js", "npm:ramda@0.23.0/src/pluck.js", "npm:ramda@0.23.0/src/prepend.js", "npm:ramda@0.23.0/src/product.js", "npm:ramda@0.23.0/src/project.js", "npm:ramda@0.23.0/src/prop.js", "npm:ramda@0.23.0/src/propEq.js", "npm:ramda@0.23.0/src/propIs.js", "npm:ramda@0.23.0/src/propOr.js", "npm:ramda@0.23.0/src/propSatisfies.js", "npm:ramda@0.23.0/src/props.js", "npm:ramda@0.23.0/src/range.js", "npm:ramda@0.23.0/src/reduce.js", "npm:ramda@0.23.0/src/reduceBy.js", "npm:ramda@0.23.0/src/reduceRight.js", "npm:ramda@0.23.0/src/reduceWhile.js", "npm:ramda@0.23.0/src/reduced.js", "npm:ramda@0.23.0/src/reject.js", "npm:ramda@0.23.0/src/remove.js", "npm:ramda@0.23.0/src/repeat.js", "npm:ramda@0.23.0/src/replace.js", "npm:ramda@0.23.0/src/reverse.js", "npm:ramda@0.23.0/src/scan.js", "npm:ramda@0.23.0/src/sequence.js", "npm:ramda@0.23.0/src/set.js", "npm:ramda@0.23.0/src/slice.js", "npm:ramda@0.23.0/src/sort.js", "npm:ramda@0.23.0/src/sortBy.js", "npm:ramda@0.23.0/src/sortWith.js", "npm:ramda@0.23.0/src/split.js", "npm:ramda@0.23.0/src/splitAt.js", "npm:ramda@0.23.0/src/splitEvery.js", "npm:ramda@0.23.0/src/splitWhen.js", "npm:ramda@0.23.0/src/subtract.js", "npm:ramda@0.23.0/src/sum.js", "npm:ramda@0.23.0/src/symmetricDifference.js", "npm:ramda@0.23.0/src/symmetricDifferenceWith.js", "npm:ramda@0.23.0/src/tail.js", "npm:ramda@0.23.0/src/take.js", "npm:ramda@0.23.0/src/takeLast.js", "npm:ramda@0.23.0/src/takeLastWhile.js", "npm:ramda@0.23.0/src/takeWhile.js", "npm:ramda@0.23.0/src/tap.js", "npm:ramda@0.23.0/src/test.js", "npm:ramda@0.23.0/src/times.js", "npm:ramda@0.23.0/src/toLower.js", "npm:ramda@0.23.0/src/toPairs.js", "npm:ramda@0.23.0/src/toPairsIn.js", "npm:ramda@0.23.0/src/toString.js", "npm:ramda@0.23.0/src/toUpper.js", "npm:ramda@0.23.0/src/transduce.js", "npm:ramda@0.23.0/src/transpose.js", "npm:ramda@0.23.0/src/traverse.js", "npm:ramda@0.23.0/src/trim.js", "npm:ramda@0.23.0/src/tryCatch.js", "npm:ramda@0.23.0/src/type.js", "npm:ramda@0.23.0/src/unapply.js", "npm:ramda@0.23.0/src/unary.js", "npm:ramda@0.23.0/src/uncurryN.js", "npm:ramda@0.23.0/src/unfold.js", "npm:ramda@0.23.0/src/union.js", "npm:ramda@0.23.0/src/unionWith.js", "npm:ramda@0.23.0/src/uniq.js", "npm:ramda@0.23.0/src/uniqBy.js", "npm:ramda@0.23.0/src/uniqWith.js", "npm:ramda@0.23.0/src/unless.js", "npm:ramda@0.23.0/src/unnest.js", "npm:ramda@0.23.0/src/until.js", "npm:ramda@0.23.0/src/update.js", "npm:ramda@0.23.0/src/useWith.js", "npm:ramda@0.23.0/src/values.js", "npm:ramda@0.23.0/src/valuesIn.js", "npm:ramda@0.23.0/src/view.js", "npm:ramda@0.23.0/src/when.js", "npm:ramda@0.23.0/src/where.js", "npm:ramda@0.23.0/src/whereEq.js", "npm:ramda@0.23.0/src/without.js", "npm:ramda@0.23.0/src/xprod.js", "npm:ramda@0.23.0/src/zip.js", "npm:ramda@0.23.0/src/zipObj.js", "npm:ramda@0.23.0/src/zipWith.js" ] + }, + depCache: { + "common/container.js": [ + "ramda" + ], + "common/i2b2.pub-sub.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "./i2b2.service", + "./shrine.messages" + ], + "common/i2b2.service.js": [ + "aurelia-framework", + "ramda", + "./container" + ], + "common/queries.model.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "repository/qep.repository", + "./shrine.messages" + ], + "repository/qep.repository.js": [ + "aurelia-framework", + "aurelia-fetch-client", + "fetch" + ], + "shell.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/i2b2.pub-sub", + "common/queries.model", + "common/shrine.messages" + ], + "views/mailto/mailto.js": [ + "aurelia-framework", + "views/mailto/mailto.service", + "views/mailto/mailto.config" + ], + "views/mailto/mailto.service.js": [ + "aurelia-framework", + "repository/qep.repository" + ], + "views/query-viewer/context-menu/context-menu.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/shrine.messages" + ], + "views/query-viewer/date.converter.js": [ + "moment" + ], + "views/query-viewer/loading-bar/loading-bar.js": [ + "aurelia-framework" + ], + "views/query-viewer/paginator/paginator.js": [ + "aurelia-framework" + ], + "views/query-viewer/query-status/query-status.js": [ + "aurelia-framework", + "ramda" + ], + "views/query-viewer/query-viewer.js": [ + "aurelia-framework", + "aurelia-event-aggregator", + "common/queries.model", + "./scroll.service", + "common/shrine.messages" + ], + "views/query-viewer/scroll.service.js": [ + "ramda", + "common/container" + ] } }); \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/export/dist/app-build.js b/shrine-webclient/src/main/js/client/js-shrine/export/dist/app-build.js index 67ab02eb4..e1ccae596 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/export/dist/app-build.js +++ b/shrine-webclient/src/main/js/client/js-shrine/export/dist/app-build.js @@ -1 +1 @@ -"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("common/i2b2.service.js",["ramda","./container"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f;return{setters:[function(a){d=a},function(a){e=a.Container}],execute:function(){a("I2B2Service",f=function b(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;c(this,b);var f=a?e.of(a):e.of(null),g=d.curry(function(a,b){return b.value?e.of(d.prop(a,b.value)):e.of(null)}),h=d.compose(g("i2b2"),g("window"),g("parent")),i=d.compose(g("CRC"),h),j=d.compose(g("events"),h),k=d.compose(g("SHRINE"),h);b.prototype.onResize=function(a){return j(f).map(function(b){return b.changedZoomWindows.subscribe(a)})},b.prototype.onHistory=function(a){return i(f).map(function(b){return b.ctrlr.history.events.onDataUpdate.subscribe(a)})},b.prototype.onQuery=function(a){return j(f).map(function(b){return b.afterQueryInit.subscribe(a)})},b.prototype.onViewSelected=function(a){return g("addEventListener",f).value?e.of(f.value.addEventListener("message",a,!1)):e.of(null)},b.prototype.loadHistory=function(){return i(f).map(function(a){return a.view.history.doRefreshAll()})},b.prototype.loadQuery=function(a){return i(f).map(function(b){return b.ctrlr.QT.doQueryLoad(a)})},b.prototype.errorDetail=function(a){return k(f).map(function(b){return b.plugin.errorDetail(a)})},b.prototype.renameQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.queryRename(a,!1)})},b.prototype.flagQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.Flag({queryId:a,message:""})})},b.prototype.unflagQuery=function(a){return i(f).map(function(b){return b.ctrlr.history.Unflag({queryId:a})})}}),a("I2B2Service",f)}}}),System.register("common/i2b2.pub-sub.js",["aurelia-framework","aurelia-event-aggregator","./i2b2.service","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2Service},function(a){g=a.notifications,h=a.commands}],execute:function(){a("I2B2PubSub",(i=d(e,f,g,h),k=i(j=function b(a,d,e){c(this,b),this.listen=function(){d.onResize(function(a,b){return b.find(function(a){return"ADD"===a.action})?f():g()}),d.onHistory(function(){return i()}),d.onQuery(function(a,b){return j(b[0].name)}),d.onViewSelected(function(a){return k(a.data)}),a.subscribe(h.i2b2.cloneQuery,l),a.subscribe(h.i2b2.showError,m),a.subscribe(h.i2b2.renameQuery,n),a.subscribe(h.i2b2.flagQuery,o),a.subscribe(h.i2b2.unflagQuery,p)};var f=function(){return a.publish(e.i2b2.tabMax)},g=function(){return a.publish(e.i2b2.tabMin)},i=function(){return a.publish(e.i2b2.historyRefreshed)},j=function(b){return a.publish(e.i2b2.queryStarted,b)},k=function(b){return a.publish(e.i2b2.viewSelected,b)},l=function(a){return d.loadQuery(a)},m=function(a){return d.errorDetail(a)},n=function(a){return d.renameQuery(a)},o=function(a){return d.flagQuery(a)},p=function(a){return d.unflagQuery(a)}})||j)),a("I2B2PubSub",k)}}}),System.register("shell.js",["aurelia-framework","aurelia-event-aggregator","common/i2b2.pub-sub","common/queries.model","common/shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2PubSub},function(a){g=a.QueriesModel},function(a){h=a.notifications}],execute:function(){a("Shell",(i=d(e,f,g,h),k=i(j=function b(a,d,e,f){var g=this;c(this,b),b.prototype.init=function(){g.view="query-viewer"},this.init(),d.listen(),e.load(),a.subscribe(f.i2b2.viewSelected,function(a){g.view=a})})||j)),a("Shell",k)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","repository/qep.repository"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.QEPRepository}],execute:function(){a("MailToService",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.repository=b}return a.prototype.fetchStewardEmail=function(){return this.repository.fetchStewardEmail()},a}())||g)),a("MailToService",h)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n \n\n***Never send patient information, passwords, or other sensitive information by email****\n \nName:\n \nTitle:\n \nUser name (to log into SHRINE):\n \nTelephone Number (optional):\n \nPreferred email address (optional):\n \n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){window.top.location="mailto:"+b+"?subject="+a.config.subject+"&body="+a.config.body})},a}())||h)),a("MailTo",i)}}}),System.register("views/query-viewer/box-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("BoxStyleValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return"transform: translate("+String(-100*a)+"%);"},a}()),a("BoxStyleValueConverter",d)}}}),function(){var a=System.amdDefine;a("views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/context-menu/context-menu.js",["aurelia-framework","aurelia-event-aggregator","common/shrine.messages"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m,n;return{setters:[function(a){f=a.inject,g=a.bindable},function(a){h=a.EventAggregator},function(a){i=a.commands}],execute:function(){a("ContextMenu",(j=f(h,i),n=j((l=function b(a,e){var f=this;d(this,b),c(this,"context",m,this),b.prototype.cloneQuery=function(b){a.publish(e.i2b2.cloneQuery,b),f.context["class"]="hide"},b.prototype.renameQuery=function(b){a.publish(e.i2b2.renameQuery,b),f.context["class"]="hide"},b.prototype.flagQuery=function(b){a.publish(e.i2b2.flagQuery,b),f.context["class"]="hide"},b.prototype.unflagQuery=function(b){a.publish(e.i2b2.unflagQuery,b),f.context["class"]="hide"}},m=e(l.prototype,"context",[g],{enumerable:!0,initializer:null}),k=l))||k)),a("ContextMenu",n)}}}),System.register("views/query-viewer/date.converter.js",["moment"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e;return{setters:[function(a){d=a["default"]}],execute:function(){a("DateValueConverter",e=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return d(a).format("MM/DD/YYYY")},a}()),a("DateValueConverter",e)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/loading-bar/loading-bar.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i;return{setters:[function(a){f=a.bindable}],execute:function(){a("LoadingBar",(g=function b(){d(this,b),c(this,"status",h,this)},h=e(g.prototype,"status",[f],{enumerable:!0,initializer:null}),i=g)),a("LoadingBar",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return""})}(),function(){var a=System.amdDefine;a("views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/paginator/paginator.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){h=function(){function a(a,b){for(var c=0;cb?b:a,this.element.dispatchEvent(new CustomEvent("paginator-click",{detail:{index:this.index},bubbles:!0,cancelable:!0}))}}]),a}(),l=e(k.prototype,"pages",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("Paginator",m)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/query-status/query-status.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){a("QueryStatus",(h=function(){function a(){d(this,a),c(this,"status",i,this)}return a.prototype.attached=function(){var a=this.status,b=function(a,b){return Math.floor(a/b*75)},c=b(a.finished,a.total),d=b(a.error,a.total);this.readyOffset=100-c,this.errorOffset=this.readyOffset-d,this.finished=a.finished,this.error=a.error,this.pending=a.total-(a.finished+a.error),this.total=a.total},a}(),i=e(h.prototype,"status",[f],{enumerable:!0,initializer:null}),j=h)),a("QueryStatus",j)}}}),System.register("views/query-viewer/query-viewer.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("QueryViewerConfig",c={maxNodesPerScreen:10,maxQueriesPerScroll:40}),a("QueryViewerConfig",c)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("repository/qep.repository.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:0;return this.http.fetch("qep/queryResults?limit="+a+"&skip="+b).then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a=document.URL,b=":6443/shrine-metadata/";return a.substring(0,a.lastIndexOf(":"))+b}},{key:"auth",get:function(){var a=sessionStorage.getItem("shrine.auth");return sessionStorage.removeItem("shrine.auth"),a}}]),a}())||h)),a("QEPRepository",i)}}}),System.register("common/queries.model.js",["aurelia-framework","aurelia-event-aggregator","repository/qep.repository","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.QEPRepository},function(a){g=a.notifications}],execute:function(){a("QueriesModel",(h=d(e,f,g),j=h(i=function b(a,d,e){var f=this;c(this,b);var g=d,h=40,i=0,j=0,k=null;b.prototype.load=function(){return g.fetchPreviousQueries(f.maxQueriesPerFetch()+f.loadedCount()).then(function(a){return j=a.rowCount,i=a.queryResults.length,a})["catch"](function(a){return console.log(a)}).then(l).then(function(b){k=b,a.publish(e.shrine.queriesReceived,k)})},b.prototype.totalQueries=function(){return j},b.prototype.loadedCount=function(){return i},b.prototype.maxQueriesPerFetch=function(){return h},b.prototype.moreToLoad=function(){return i1&&void 0!==arguments[1]?arguments[1]:6;return new Promise(function(b,c){for(var d=[],e=6,f=a.adapters,g=f.length,h=a.queryResults,i=0;i1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b},a.prototype.getColorValue=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c},a}()),a("ResultStyleValueConverter",d)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?"":a.count<0?"<=10":a.count:"not available"},a}()),a("ResultValueConverter",d)}}}); \ No newline at end of file +"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("common/i2b2.service.js",["aurelia-framework","ramda","./container"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a},function(a){f=a.Container}],execute:function(){a("I2B2Service",(g=d(window),i=g(h=function b(a){c(this,b);var d=a?f.of(a):f.of(null),g=e.curry(function(a,b){return b.value?f.of(e.prop(a,b.value)):f.of(null)}),h=e.compose(g("i2b2"),g("window"),g("parent")),i=e.compose(g("CRC"),h),j=e.compose(g("events"),h),k=e.compose(g("SHRINE"),h);b.prototype.onResize=function(a){return j(d).map(function(b){return b.changedZoomWindows.subscribe(a)})},b.prototype.onHistory=function(a){return i(d).map(function(b){return b.ctrlr.history.events.onDataUpdate.subscribe(a)})},b.prototype.onQuery=function(a){return j(d).map(function(b){return b.afterQueryInit.subscribe(a)})},b.prototype.onViewSelected=function(a){return g("addEventListener",d).value?f.of(d.value.addEventListener("message",a,!1)):f.of(null)},b.prototype.loadHistory=function(){return i(d).map(function(a){return a.view.history.doRefreshAll()})},b.prototype.loadQuery=function(a){return i(d).map(function(b){return b.ctrlr.QT.doQueryLoad(a)})},b.prototype.errorDetail=function(a){return k(d).map(function(b){return b.plugin.errorDetail(a)})},b.prototype.renameQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.queryRename(a,!1)})},b.prototype.flagQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.Flag({queryId:a,message:""})})},b.prototype.unflagQuery=function(a){return i(d).map(function(b){return b.ctrlr.history.Unflag({queryId:a})})}})||h)),a("I2B2Service",i)}}}),System.register("common/i2b2.pub-sub.js",["aurelia-framework","aurelia-event-aggregator","./i2b2.service","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2Service},function(a){g=a.notifications,h=a.commands}],execute:function(){a("I2B2PubSub",(i=d(e,f,g,h),k=i(j=function b(a,d,e){c(this,b),this.listen=function(){d.onResize(function(a,b){return b.find(function(a){return"ADD"===a.action})?f():g()}),d.onHistory(function(){return i()}),d.onQuery(function(a,b){return j(b[0].name)}),d.onViewSelected(function(a){return k(a.data)}),a.subscribe(h.i2b2.cloneQuery,l),a.subscribe(h.i2b2.showError,m),a.subscribe(h.i2b2.renameQuery,n),a.subscribe(h.i2b2.flagQuery,o),a.subscribe(h.i2b2.unflagQuery,p)};var f=function(){return a.publish(e.i2b2.tabMax)},g=function(){return a.publish(e.i2b2.tabMin)},i=function(){return a.publish(e.i2b2.historyRefreshed)},j=function(b){return a.publish(e.i2b2.queryStarted,b)},k=function(b){return a.publish(e.i2b2.viewSelected,b)},l=function(a){return d.loadQuery(a)},m=function(a){return d.errorDetail(a)},n=function(a){return d.renameQuery(a)},o=function(a){return d.flagQuery(a)},p=function(a){return d.unflagQuery(a)}})||j)),a("I2B2PubSub",k)}}}),System.register("shell.js",["aurelia-framework","aurelia-event-aggregator","common/i2b2.pub-sub","common/queries.model","common/shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j,k;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.I2B2PubSub},function(a){g=a.QueriesModel},function(a){h=a.notifications}],execute:function(){a("Shell",(i=d(e,f,g,h),k=i(j=function b(a,d,e,f){var g=this;c(this,b),b.prototype.init=function(){g.view="query-viewer"},this.init(),d.listen(),e.load(),a.subscribe(f.i2b2.viewSelected,function(a){g.view=a})})||j)),a("Shell",k)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","repository/qep.repository"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h;return{setters:[function(a){d=a.inject},function(a){e=a.QEPRepository}],execute:function(){a("MailToService",(f=d(e),h=f(g=function(){function a(b){c(this,a),this.repository=b}return a.prototype.fetchStewardEmail=function(){return this.repository.fetchStewardEmail()},a}())||g)),a("MailToService",h)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n \n\n***Never send patient information, passwords, or other sensitive information by email****\n \nName:\n \nTitle:\n \nUser name (to log into SHRINE):\n \nTelephone Number (optional):\n \nPreferred email address (optional):\n \n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){window.top.location="mailto:"+b+"?subject="+a.config.subject+"&body="+a.config.body})},a}())||h)),a("MailTo",i)}}}),System.register("views/query-viewer/box-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("BoxStyleValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return"transform: translate("+String(-100*a)+"%);"},a}()),a("BoxStyleValueConverter",d)}}}),function(){var a=System.amdDefine;a("views/query-viewer/context-menu/context-menu.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/context-menu/context-menu.js",["aurelia-framework","aurelia-event-aggregator","common/shrine.messages"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m,n;return{setters:[function(a){f=a.inject,g=a.bindable},function(a){h=a.EventAggregator},function(a){i=a.commands}],execute:function(){a("ContextMenu",(j=f(h,i),n=j((l=function b(a,e){var f=this;d(this,b),c(this,"context",m,this),b.prototype.cloneQuery=function(b){a.publish(e.i2b2.cloneQuery,b),f.context["class"]="hide"},b.prototype.renameQuery=function(b){a.publish(e.i2b2.renameQuery,b),f.context["class"]="hide"},b.prototype.flagQuery=function(b){a.publish(e.i2b2.flagQuery,b),f.context["class"]="hide"},b.prototype.unflagQuery=function(b){a.publish(e.i2b2.unflagQuery,b),f.context["class"]="hide"}},m=e(l.prototype,"context",[g],{enumerable:!0,initializer:null}),k=l))||k)),a("ContextMenu",n)}}}),System.register("views/query-viewer/date.converter.js",["moment"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e;return{setters:[function(a){d=a["default"]}],execute:function(){a("DateValueConverter",e=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return d(a).format("MM/DD/YYYY")},a}()),a("DateValueConverter",e)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/loading-bar.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/loading-bar/loading-bar.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i;return{setters:[function(a){f=a.bindable}],execute:function(){a("LoadingBar",(g=function b(){d(this,b),c(this,"status",h,this)},h=e(g.prototype,"status",[f],{enumerable:!0,initializer:null}),i=g)),a("LoadingBar",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/loading-bar/row-loader.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return""})}(),function(){var a=System.amdDefine;a("views/query-viewer/paginator/paginator.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/paginator/paginator.js",["aurelia-framework"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject}],execute:function(){h=function(){function a(a,b){for(var c=0;cb?b:a,this.element.dispatchEvent(new CustomEvent("paginator-click",{detail:{index:this.index},bubbles:!0,cancelable:!0}))}}]),a}(),l=e(k.prototype,"pages",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("Paginator",m)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-status/query-status.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("views/query-viewer/query-status/query-status.js",["aurelia-framework","ramda"],function(a,b){"use strict";function c(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 d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(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}var f,g,h,i,j,k,l,m;return{setters:[function(a){f=a.bindable,g=a.inject},function(a){h=a}],execute:function(){a("QueryStatus",(i=g(Math),m=i((k=function(){function a(b){d(this,a),c(this,"status",l,this),this.floor=b.floor}return a.prototype.attached=function(){var a=75,b=h.curry(function(a,b,c,d){return a(d/c*b)})(this.floor,a,this.status.total),c=this.status,d=b(c.finished),e=b(c.error);this.readyOffset=100-d,this.errorOffset=this.readyOffset-e,this.finished=c.finished,this.error=c.error,this.pending=c.total-(c.finished+c.error),this.total=c.total},a}(),l=e(k.prototype,"status",[f],{enumerable:!0,initializer:null}),j=k))||j)),a("QueryStatus",m)}}}),System.register("views/query-viewer/query-viewer.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("QueryViewerConfig",c={maxNodesPerScreen:10,maxQueriesPerScroll:40}),a("QueryViewerConfig",c)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return''})}(),System.register("repository/qep.repository.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:0;return this.http.fetch("qep/queryResults?limit="+a+"&skip="+b).then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a=document.URL,b=":6443/shrine-metadata/";return a.substring(0,a.lastIndexOf(":"))+b}},{key:"auth",get:function(){var a=sessionStorage.getItem("shrine.auth");return sessionStorage.removeItem("shrine.auth"),a}}]),a}())||h)),a("QEPRepository",i)}}}),System.register("common/queries.model.js",["aurelia-framework","aurelia-event-aggregator","repository/qep.repository","./shrine.messages"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.EventAggregator},function(a){f=a.QEPRepository},function(a){g=a.notifications}],execute:function(){a("QueriesModel",(h=d(e,f,g),j=h(i=function b(a,d,e){var f=this;c(this,b);var g=d,h=40,i=0,j=0,k=null;b.prototype.load=function(){return g.fetchPreviousQueries(f.maxQueriesPerFetch()+f.loadedCount()).then(function(a){return j=a.rowCount,i=a.queryResults.length,a})["catch"](function(a){return console.log(a)}).then(l).then(function(b){k=b,a.publish(e.shrine.queriesReceived,k)})},b.prototype.totalQueries=function(){return j},b.prototype.loadedCount=function(){return i},b.prototype.maxQueriesPerFetch=function(){return h},b.prototype.moreToLoad=function(){return i1&&void 0!==arguments[1]?arguments[1]:6;return new Promise(function(b,c){for(var d=[],e=6,f=a.adapters,g=f.length,h=a.queryResults,i=0;i1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b},a.prototype.getColorValue=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c},a}()),a("ResultStyleValueConverter",d)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?"":a.count<0?"<=10":a.count:"not available"},a}()),a("ResultValueConverter",d)}}}); \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/common/i2b2.service.js b/shrine-webclient/src/main/js/client/js-shrine/src/common/i2b2.service.js index 1a8a64974..85872f90b 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/common/i2b2.service.js +++ b/shrine-webclient/src/main/js/client/js-shrine/src/common/i2b2.service.js @@ -1,32 +1,34 @@ +import {inject} from 'aurelia-framework'; import * as _ from 'ramda'; import {Container} from './container'; +@inject(window) export class I2B2Service { - constructor(context = window) { + constructor(context) { //private const ctx = context? Container.of(context) : Container.of(null); const prop = _.curry((m, c) => c.value? Container.of(_.prop(m, c.value)) : Container.of(null)); const i2b2 = _.compose(prop('i2b2'), prop('window'), prop('parent')); const crc = _.compose(prop('CRC'), i2b2); const events = _.compose(prop('events'), i2b2); const shrine = _.compose(prop('SHRINE'), i2b2); // -- @todo: makes assumption that i2b2 object conforms to predictable structure? -- // I2B2Service.prototype.onResize = f => events(ctx).map((v) => v.changedZoomWindows.subscribe(f)); I2B2Service.prototype.onHistory = f => crc(ctx).map((v) => v.ctrlr.history.events.onDataUpdate.subscribe(f)); I2B2Service.prototype.onQuery = f => events(ctx).map((v) => v.afterQueryInit.subscribe(f)); I2B2Service.prototype.onViewSelected = f => prop('addEventListener', ctx).value? Container.of(ctx.value.addEventListener('message', f, false)) : Container.of(null); // commands I2B2Service.prototype.loadHistory = () => crc(ctx).map((v) => v.view.history.doRefreshAll()); I2B2Service.prototype.loadQuery = id => crc(ctx).map((v) => v.ctrlr.QT.doQueryLoad(id)); I2B2Service.prototype.errorDetail = d => shrine(ctx).map((v) => v.plugin.errorDetail(d)); I2B2Service.prototype.renameQuery = id => crc(ctx).map(v => v.ctrlr.history.queryRename(id, false)); I2B2Service.prototype.flagQuery = id => crc(ctx).map(v => v.ctrlr.history.Flag({ queryId: id, message: ''})); I2B2Service.prototype.unflagQuery = id => crc(ctx).map(v => v.ctrlr.history.Unflag({ queryId: id})); } } diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/common/queries.model.js b/shrine-webclient/src/main/js/client/js-shrine/src/common/queries.model.js index a2b89dcf9..e4ddf7618 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/common/queries.model.js +++ b/shrine-webclient/src/main/js/client/js-shrine/src/common/queries.model.js @@ -1,86 +1,88 @@ import { inject } from 'aurelia-framework'; import {EventAggregator} from 'aurelia-event-aggregator'; import { QEPRepository } from 'repository/qep.repository' import {notifications} from './shrine.messages'; @inject(EventAggregator, QEPRepository, notifications) export class QueriesModel { constructor(evtAgg, QEPRepository, notifications) { const qep = QEPRepository; const maxQueriesPerFetch = 40; let loadedCount = 0; let totalQueries = 0; let data = null; QueriesModel.prototype.load = () => qep.fetchPreviousQueries(this.maxQueriesPerFetch() + this.loadedCount()) .then(result => { totalQueries = result.rowCount; loadedCount = result.queryResults.length return result; }) .catch(error => console.log(error)) .then(toPages) .then(pages => { data = pages; evtAgg.publish(notifications.shrine.queriesReceived, data); }); QueriesModel.prototype.totalQueries = () => totalQueries; QueriesModel.prototype.loadedCount = () => loadedCount; QueriesModel.prototype.maxQueriesPerFetch = () => maxQueriesPerFetch; QueriesModel.prototype.moreToLoad = () => loadedCount < totalQueries; QueriesModel.prototype.hasData = () => data !== null && data !== undefined; const toPages = (data, nodesPerPage = 6) => { return new Promise((resolve, reject) => { const pages = []; /*@todo: move to config*/ const nodesPerPage = 6; const nodes = data.adapters; const lastNodeIndex = nodes.length; const queries = data.queryResults; for (let i = 0; i < lastNodeIndex; i = i + nodesPerPage) { const numberOfNodes = geNumberOfNodes(nodes, i, nodesPerPage); const pageNodes = nodes.slice(i, numberOfNodes); const results = mapQueries(pageNodes, queries); pages.push({ nodes: pageNodes, results: results }) } resolve(pages); }); } const geNumberOfNodes = (nodes, startIndex, nodesPerPage) => { const numNodes = startIndex + nodesPerPage; return numNodes < nodes.length ? numNodes : nodes.length; } const mapQueries = (nodes, queries) => { const results = []; queries.forEach((q, i) => { const result = { name: q.query.queryName, id: q.query.networkId, date: q.query.dateCreated, + flagged: q.query.flagged === true, + flagMessage: q.query.flagMessage || null, nodeResults: [], status: q.adaptersToResults.reduce((s, r) => { const finished = r.status === "FINISHED"? s.finished + 1 : s.finished; const error = r.status === "ERROR"? s.error + 1 : s.error; return {error: error, finished: finished, total: q.adaptersToResults.length} }, {error: 0, finished: 0, total: q.adaptersToResults.length}) }; nodes.forEach(n => { result.nodeResults.push(q.adaptersToResults.find(a => a.adapterNode === n)); }); results.push(result); }) return results; } } } \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/context-menu/context-menu.html b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/context-menu/context-menu.html index 5b1ae4231..083ab2226 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/context-menu/context-menu.html +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/context-menu/context-menu.html @@ -1,9 +1,9 @@ \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.html b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.html index b823267bb..de7a3b9dd 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.html +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.html @@ -1,11 +1,12 @@ \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.js b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.js index 54150c3f9..f909c6fae 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.js +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/query-status.js @@ -1,18 +1,25 @@ import { bindable, inject } from 'aurelia-framework'; - - +import * as _ from 'ramda' +@inject(Math) export class QueryStatus { @bindable status; + constructor(Math) { + this.floor = Math.floor; + } attached() { + const svgScaleMultiplier = 75; + const scaleToSVG = _.curry((f, m, t, n) => f((n / t) * m)) + (this.floor, svgScaleMultiplier, this.status.total); + + //@todo: use composition instead of variables below. const status = this.status; - const scaleToSVG = (n, t) => Math.floor((n / t) * 75); - const finishedPct = scaleToSVG(status.finished, status.total); - const errorPct = scaleToSVG(status.error, status.total); + const finishedPct = scaleToSVG(status.finished); + const errorPct = scaleToSVG(status.error); this.readyOffset = (100 - finishedPct); this.errorOffset = (this.readyOffset - errorPct); this.finished = status.finished; this.error = status.error; this.pending = status.total - (status.finished + status.error); this.total = status.total; } } \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/tooltip.scss b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/tooltip.scss index 87bbb8ea1..83086fe3b 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/tooltip.scss +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-status/tooltip.scss @@ -1,84 +1,88 @@ .tooltip{ font-family: sans-serif; } .tooltip [data-line1] { position: relative; } .tooltip [data-line1]::before, .tooltip [data-line1]::after { text-transform: none; font-size: .9em; line-height: 1; user-select: none; pointer-events: none; position: absolute; display: none; opacity: 0; left: 50%; transform: translate(-50%, -.5em); display: block; } .tooltip [data-line1]::before { content: ''; border: 5px solid transparent; z-index: 10001; - bottom: 100%; + bottom: 100%; border-bottom-width: 0; border-top-color: #333; } .tooltip [data-line1]::after { bottom: calc(100% + 5px); font-family: Helvetica, sans-serif; text-align: center; min-width: 3em; max-width: 42em; padding: 1ch 1.5ch; border-radius: .3ch; box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35); background: #333; color: #fff; z-index: 10000; display: block; white-space: pre; content: attr(data-line1); } /* display second line if provided */ .tooltip [data-line1][data-line2]::after{ content: attr(data-line1) "\A" attr(data-line2); } /* KEYFRAMES */ @keyframes tooltips-vert { to { opacity: .9; transform: translate(-50%, 0); } } @keyframes tooltips-horz { to { opacity: .9; transform: translate(0, -50%); } } -/* FX All The Things */ + +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::before, +.flex-table.query-viewer .flex-table-item:hover .tooltip [data-line1]::after, .tooltip [data-line1]:hover::before, .tooltip [data-line2]:hover::after{ animation: tooltips-vert 300ms ease-out forwards; } -/* UNRELATED to tooltips */ -body { - margin: 0; - min-height: 100vh; - display: flex; - flex-direction: column; - font-family: sans-serif; - background: #ededed; -} + +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::before{ + top: 7px; + border-top-width: 0; + border: 5px solid transparent; + border-bottom-color: #333; +} + +.flex-table.query-viewer .flex-table-row:first-child .flex-table-item .tooltip [data-line1]::after{ + bottom: calc(-100% - 20px); +} \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.html b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.html index d12fb6bdd..d3b760f3c 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.html +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.html @@ -1,71 +1,77 @@ \ No newline at end of file diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.js b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.js index 13f42b24f..210d5d415 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.js +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.js @@ -1,61 +1,60 @@ import { inject } from 'aurelia-framework'; import { EventAggregator } from 'aurelia-event-aggregator' import { QueriesModel } from 'common/queries.model' import { ScrollService } from './scroll.service'; import { notifications, commands } from 'common/shrine.messages'; @inject(EventAggregator, QueriesModel, notifications, commands) export class QueryViewer { constructor(evtAgg, queries, notifications, commands) { QueryViewer.prototype.init = () => { this.pageIndex = 0; this.showLoader = true; this.vertStyle = 'v-min'; this.runningQueryName = null; } this.init(); QueryViewer.prototype.setToPage = i => { this.pageIndex = i; this.page = this.pages[this.pageIndex]; } const scrolledToBottom = e => ScrollService.scrollRatio(e).value === 1; QueryViewer.prototype.onScroll = e => { if (scrolledToBottom(e) && !this.loadingInfiniteScroll && queries.moreToLoad()) { this.loadingInfiniteScroll = true; queries.load(); } } QueryViewer.prototype.publishError = (e, r) => { e.stopPropagation(); return evtAgg.publish(commands.i2b2.showError, r); } QueryViewer.prototype.getContext = (e, r, c) => ({ x: e.pageX, y: e.pageY, class: 'show', query: r, isCount: c !== undefined, count: c}); - //notifications @todo: remove subscriptions on detach? evtAgg.subscribe(notifications.i2b2.historyRefreshed, () => queries.load()); evtAgg.subscribe(notifications.i2b2.tabMax, () => this.vertStyle = 'v-full'); evtAgg.subscribe(notifications.i2b2.tabMin, () => this.vertStyle = 'v-min'); evtAgg.subscribe(notifications.i2b2.queryStarted, n => this.runningQueryName = n); evtAgg.subscribe(notifications.shrine.queriesReceived, d => { this.pages = d; this.page = this.pages[0]; this.runningQueryName = null; this.loadingInfiniteScroll = false; this.showLoader = false; }); } updatePage($event) { $event.stopPropagation(); const index = event.detail.index; this.page = this.pages[index]; } } diff --git a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.scss b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.scss index 13946a98c..a45b7c73e 100644 --- a/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.scss +++ b/shrine-webclient/src/main/js/client/js-shrine/src/views/query-viewer/query-viewer.scss @@ -1,200 +1,203 @@ @import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); *{ box-sizing: border-box; } .query-viewer{ overflow: auto; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; height: 100%; } .flex-table { display: flex; width: 100%; flex-direction: column; margin: 0; } div.ellipses{ overflow: hidden; text-overflow:ellipsis; max-width: 100%; } .flex-table-item { flex: 1 1 0; white-space: nowrap; max-width: 15%; border-left: 1px solid rgba(98,108,146,0.3); flex-flow: column; transition: all .5s ease; padding: 2px; text-align: right; vertical-align: top; font-weight: 300; font-size: 12px; color: black; } .flex-table-item:last-child{ border-right: 1px solid rgba(98,108,146,0.3); } .flex-table-item:first-child{ + flex: .25; +} +.flex-table-item:nth-child(2){ flex: 2 } -.flex-table-item:nth-child(2){ +.flex-table-item:nth-child(3){ flex: .8 } .flex-table-item:nth-child(3){ flex: .5 } .flex-table.query-viewer .flex-table-item:hover{ background: rgba(98,108,146, .3) !important; cursor: pointer; } .node-header, .node-header > .flex-table-item{ border: none !important; text-align: center; padding-right: 8px; text-transform: uppercase; } .flex-table-row { border-top: 1px solid rgba(98,108,146,0.3); display: flex; flex-flow: row no-wrap; width: 100%; } .flex-table-row:nth-child(even) { background: rgba(98,108,146, .1) } .flex-table-row:last-child { /*being overwritten by above rule */ border-bottom: 1px solid rgba(98,108,146,0.3) !important; } .v-full { height: 90vh; } .v-min{ height: 90px; } /*@import url(http://fonts.googleapis.com/css?family=Roboto:400,500,300,700); body{ overflow: hidden; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto', sans-serif; } html, body, .box-wrapper{ width: 100%; height: 100%; margin: 0; } .box-wrapper{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: wrap; flex-wrap: wrap; } .box-wrapper > .box { margin-top: 0; width: 100%; transition: all .2s ease; .hideextra { white-space: nowrap; overflow: hidden; text-overflow:ellipsis; } section{ margin: 20 0 6 0; .v-full { height: 90vh; } .v-min{ height: 90px; } .v-min > table { padding-bottom: 1%; } .tbl-content{ overflow: auto; margin-top: 0px; border: 1px solid rgba(98,108,146,0.3); } } table{ width:100%; table-layout: fixed; .tbl-header{ background-color: rgba(98,108,146, .3); div.tbl-header{ max-width: 5rem; } } tr{ background: white; cursor: pointer; &:nth-child(odd) {background: rgba(98,108,146, .1)} } th{ padding: 2px 4px 4px 2px; text-align: left; font-weight: 500; font-size: .75rem; color: #626C92; text-transform: uppercase; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } td{ transition: all .5s ease; padding: 2px; text-align: left; vertical-align: top; font-weight: 300; font-size: 12px; color: black; border-bottom: solid 1px rgba(98,108,146,0.1); border-left: solid 1px rgba(98,108,146,0.1); &:hover{ background: rgba(98,108,146, .3) !important; } } } } */ \ No newline at end of file