| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| function arvadosObjectName(item) { | function arvadosObjectName(item) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| const typeIdToName = { | const typeIdToName = { | ||||
| 'tpzed': 'user', | 'tpzed': 'user', | ||||
| 'j7d0g': 'group', | 'j7d0g': 'group', | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function detectHashes(obj) { | function detectHashes(obj) { | ||||
| let Q = [ obj ]; | let Q = [ obj ]; | ||||
| let matches = {}; | let matches = {}; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function detectUuids(obj) { | function detectUuids(obj) { | ||||
| let Q = [ obj ]; | let Q = [ obj ]; | ||||
| let matches = {}; | let matches = {}; | ||||
| @@ -7,7 +14,7 @@ function detectUuids(obj) { | |||||
| if (!item) | if (!item) | ||||
| continue; | continue; | ||||
| if (typeof(item) === 'string') { | if (typeof(item) === 'string') { | ||||
| // use regexes | // use regexes | ||||
| let rx = /[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}/g; | let rx = /[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}/g; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| import arvadosObjectName from 'arvados-object-name'; | import arvadosObjectName from 'arvados-object-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import wbApplyPromiseOrdering from 'wb-apply-promise-ordering'; | import wbApplyPromiseOrdering from 'wb-apply-promise-ordering'; | ||||
| const requestPromiseOrdering = {}; | const requestPromiseOrdering = {}; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| function urlForObject(item, mode='primary') { | function urlForObject(item, mode='primary') { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| const UUID_PATTERN = '[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}'; | const UUID_PATTERN = '[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import arvadosTypeName from 'arvados-type-name'; | import arvadosTypeName from 'arvados-type-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| function wbDownloadFile(arvHost, arvToken, | function wbDownloadFile(arvHost, arvToken, | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| class WBManifestWorkerWrapper { | class WBManifestWorkerWrapper { | ||||
| constructor() { | constructor() { | ||||
| this.worker = new Worker('/js/wb-manifest-worker.js'); | this.worker = new Worker('/js/wb-manifest-worker.js'); | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function wbInputSpecInfo(inputSpec) { | function wbInputSpecInfo(inputSpec) { | ||||
| const isFile = (inputSpec.type === 'File' || inputSpec.type === 'File[]' || | const isFile = (inputSpec.type === 'File' || inputSpec.type === 'File[]' || | ||||
| (inputSpec.type.type === 'array' && [].concat(inputSpec.type.items).indexOf('File') !== -1)); | (inputSpec.type.type === 'array' && [].concat(inputSpec.type.items).indexOf('File') !== -1)); | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function wbParseWorkflowDef(text) { | function wbParseWorkflowDef(text) { | ||||
| let definition; | let definition; | ||||
| try { | try { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function encodeURIComponentIncludingDots(s) { | function encodeURIComponentIncludingDots(s) { | ||||
| return encodeURIComponent(s).replace('.', '%2E'); | return encodeURIComponent(s).replace('.', '%2E'); | ||||
| } | } | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function wbProcessStateName(containerRequest, container) { | function wbProcessStateName(containerRequest, container) { | ||||
| const cr = containerRequest; | const cr = containerRequest; | ||||
| const c = container; | const c = container; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import wbUuidsToCwl from 'wb-uuids-to-cwl'; | import wbUuidsToCwl from 'wb-uuids-to-cwl'; | ||||
| @@ -62,7 +69,7 @@ function ensureSubProject(arvHost, arvToken, projectUuid) { | |||||
| [ 'properties.type', '=', 'daily_process_subproject' ], | [ 'properties.type', '=', 'daily_process_subproject' ], | ||||
| [ 'properties.date', '=', date ] | [ 'properties.date', '=', date ] | ||||
| ]; | ]; | ||||
| return makeArvadosRequest(arvHost, arvToken, | return makeArvadosRequest(arvHost, arvToken, | ||||
| '/arvados/v1/groups?filters=' + encodeURIComponent(JSON.stringify(filters_1))); | '/arvados/v1/groups?filters=' + encodeURIComponent(JSON.stringify(filters_1))); | ||||
| }); | }); | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function wbUuidsToCwl(obj) { | function wbUuidsToCwl(obj) { | ||||
| if (obj instanceof Array) { | if (obj instanceof Array) { | ||||
| const res = []; | const res = []; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBBreadcrumbs from 'wb-breadcrumbs'; | import WBBreadcrumbs from 'wb-breadcrumbs'; | ||||
| import fetchObjectParents from 'fetch-object-parents'; | import fetchObjectParents from 'fetch-object-parents'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import WBBreadcrumbs from 'wb-breadcrumbs'; | import WBBreadcrumbs from 'wb-breadcrumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -25,7 +32,7 @@ class WBCollectionFields extends Component { | |||||
| prepareRows(item) { | prepareRows(item) { | ||||
| const { app } = this.props; | const { app } = this.props; | ||||
| const { arvHost, arvToken } = app.state; | const { arvHost, arvToken } = app.state; | ||||
| let rows = [ | let rows = [ | ||||
| [ 'Name', item.name ], | [ 'Name', item.name ], | ||||
| [ 'Description', wbFormatSpecialValue(item.description) ], | [ 'Description', wbFormatSpecialValue(item.description) ], | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBInlineSearch extends Component { | class WBInlineSearch extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBJsonViewer from 'wb-json-viewer'; | import WBJsonViewer from 'wb-json-viewer'; | ||||
| import WBAccordion from 'wb-accordion'; | import WBAccordion from 'wb-accordion'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBIdTools from 'wb-id-tools'; | import WBIdTools from 'wb-id-tools'; | ||||
| import urlForObject from 'url-for-object'; | import urlForObject from 'url-for-object'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import WBIdTools from 'wb-id-tools'; | import WBIdTools from 'wb-id-tools'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import WBPagination from 'wb-pagination'; | import WBPagination from 'wb-pagination'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import urlForObject from 'url-for-object'; | import urlForObject from 'url-for-object'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbar from 'wb-navbar'; | import WBNavbar from 'wb-navbar'; | ||||
| import WBInlineSearch from 'wb-inline-search'; | import WBInlineSearch from 'wb-inline-search'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import { encodeURIComponentIncludingDots } from 'wb-process-misc'; | import { encodeURIComponentIncludingDots } from 'wb-process-misc'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import wbProcessStateName from 'wb-process-state-name'; | import wbProcessStateName from 'wb-process-state-name'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBPagination from 'wb-pagination'; | import WBPagination from 'wb-pagination'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import wbInputSpecInfo from 'wb-input-spec-info'; | import wbInputSpecInfo from 'wb-input-spec-info'; | ||||
| import WBPathDisplay from 'wb-path-display'; | import WBPathDisplay from 'wb-path-display'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| function fetchProjectParents(arvHost, arvToken, uuid) { | function fetchProjectParents(arvHost, arvToken, uuid) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| class WBArvadosCollection { | class WBArvadosCollection { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBBrowseDialog extends Component { | class WBBrowseDialog extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| // | // | ||||
| // Directory: Hash[string, [Directory, File]] | // Directory: Hash[string, [Directory, File]] | ||||
| // File = [blockRefs, size] | // File = [blockRefs, size] | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| function rdvHash(serviceId, locator) { | function rdvHash(serviceId, locator) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function mkdir(parent, name) { | function mkdir(parent, name) { | ||||
| if (name in parent && (parent[name] instanceof Array)) | if (name in parent && (parent[name] instanceof Array)) | ||||
| throw Error('File with the same name already exists'); | throw Error('File with the same name already exists'); | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBBreadcrumbs from 'wb-breadcrumbs'; | import WBBreadcrumbs from 'wb-breadcrumbs'; | ||||
| import fetchProjectParents from 'fetch-project-parents'; | import fetchProjectParents from 'fetch-project-parents'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| class WBRootDirWrapper { | class WBRootDirWrapper { | ||||
| constructor(rootDir, streams) { | constructor(rootDir, streams) { | ||||
| this.rootDir = rootDir; | this.rootDir = rootDir; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBManifestWorkerWrapper from 'wb-manifest-worker-wrapper'; | import WBManifestWorkerWrapper from 'wb-manifest-worker-wrapper'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import WBPagination from 'wb-pagination'; | import WBPagination from 'wb-pagination'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import WBPagination from 'wb-pagination'; | import WBPagination from 'wb-pagination'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import WBPagination from 'wb-pagination'; | import WBPagination from 'wb-pagination'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBBrowseDialogProjectList from 'wb-browse-dialog-project-list'; | import WBBrowseDialogProjectList from 'wb-browse-dialog-project-list'; | ||||
| import WBBrowseDialogCollectionList from 'wb-browse-dialog-collection-list'; | import WBBrowseDialogCollectionList from 'wb-browse-dialog-collection-list'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBDialog from 'wb-dialog'; | import WBDialog from 'wb-dialog'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBDialog from 'wb-dialog'; | import WBDialog from 'wb-dialog'; | ||||
| import linkState from 'linkstate'; | import linkState from 'linkstate'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBDialog from 'wb-dialog'; | import WBDialog from 'wb-dialog'; | ||||
| import linkState from 'linkstate'; | import linkState from 'linkstate'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBDialog from 'wb-dialog'; | import WBDialog from 'wb-dialog'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBDialog from 'wb-dialog'; | import WBDialog from 'wb-dialog'; | ||||
| import linkState from 'linkstate'; | import linkState from 'linkstate'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBTable from 'wb-table'; | import WBTable from 'wb-table'; | ||||
| import WBNameAndUuid from 'wb-name-and-uuid'; | import WBNameAndUuid from 'wb-name-and-uuid'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, render } from 'preact'; | import { h, render } from 'preact'; | ||||
| import WBApp from 'wb-app'; | import WBApp from 'wb-app'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| const defaultOrderRegistry = {}; | const defaultOrderRegistry = {}; | ||||
| /* function notify(orderRegistry) { | /* function notify(orderRegistry) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| function wbDisableControls() { | function wbDisableControls() { | ||||
| $('input, select, button').attr('disabled', 'disabled'); | $('input, select, button').attr('disabled', 'disabled'); | ||||
| $('a').each(function() { $(this).data('old_href', $(this).attr('href')); }); | $('a').each(function() { $(this).data('old_href', $(this).attr('href')); }); | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h } from 'preact'; | import { h } from 'preact'; | ||||
| function wbFormatDate(dateStr) { | function wbFormatDate(dateStr) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h } from 'preact'; | import { h } from 'preact'; | ||||
| function wbFormatSpecialValue(value) { | function wbFormatSpecialValue(value) { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { Router, route } from 'preact-router'; | import { Router, route } from 'preact-router'; | ||||
| import WBBrowse from 'wb-browse'; | import WBBrowse from 'wb-browse'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import makeArvadosRequest from 'make-arvados-request'; | import makeArvadosRequest from 'make-arvados-request'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import WBNavbar from 'wb-navbar'; | import WBNavbar from 'wb-navbar'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import { route } from 'preact-router'; | import { route } from 'preact-router'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| import WBNavbarCommon from 'wb-navbar-common'; | import WBNavbarCommon from 'wb-navbar-common'; | ||||
| import WBArvadosCrumbs from 'wb-arvados-crumbs'; | import WBArvadosCrumbs from 'wb-arvados-crumbs'; | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBAccordion extends Component { | class WBAccordion extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBBreadcrumbs extends Component { | class WBBreadcrumbs extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBCheckboxes extends Component { | class WBCheckboxes extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, createRef } from 'preact'; | import { h, Component, createRef } from 'preact'; | ||||
| class WBDialog extends Component { | class WBDialog extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBNavbar extends Component { | class WBNavbar extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBPagination extends Component { | class WBPagination extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBSelect extends Component { | class WBSelect extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component } from 'preact'; | import { h, Component } from 'preact'; | ||||
| class WBTable extends Component { | class WBTable extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| import { h, Component, VNode } from 'preact'; | import { h, Component, VNode } from 'preact'; | ||||
| class WBTabs extends Component { | class WBTabs extends Component { | ||||
| @@ -1,3 +1,10 @@ | |||||
| // | |||||
| // Copyright (C) Stanislaw Adaszewski, 2020 | |||||
| // Contact: s.adaszewski@gmail.com | |||||
| // Website: https://adared.ch/wba | |||||
| // License: GPLv3 | |||||
| // | |||||
| const rx = /^[a-f0-9]{32}\+[0-9]+/; | const rx = /^[a-f0-9]{32}\+[0-9]+/; | ||||
| const rootDir = {}; | const rootDir = {}; | ||||
| const streams = []; | const streams = []; | ||||