synapse-react-client 2.0.63 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -33
- package/dist/containers/AccountLevelBadge.js +6 -6
- package/dist/containers/AccountLevelBadge.js.map +1 -1
- package/dist/containers/ErrorPage.js +6 -6
- package/dist/containers/ErrorPage.js.map +1 -1
- package/dist/containers/TermsAndConditions.js +16 -16
- package/dist/containers/TermsAndConditions.js.map +1 -1
- package/dist/containers/TermsAndConditionsItem.js +2 -2
- package/dist/containers/TermsAndConditionsItem.js.map +1 -1
- package/dist/containers/download_list_v2/DownloadListTable.js +4 -4
- package/dist/containers/download_list_v2/DownloadListTable.js.map +1 -1
- package/dist/containers/evaluation_queues/CalendarWithIconFormGroup.js +2 -2
- package/dist/containers/evaluation_queues/CalendarWithIconFormGroup.js.map +1 -1
- package/dist/containers/evaluation_queues/round_limits/EvaluationRoundLimitOptionsList.js +4 -4
- package/dist/containers/evaluation_queues/round_limits/EvaluationRoundLimitOptionsList.js.map +1 -1
- package/dist/containers/synapse_form_wrapper/SynapseFormSubmissionsGrid.js +10 -10
- package/dist/containers/synapse_form_wrapper/SynapseFormSubmissionsGrid.js.map +1 -1
- package/dist/containers/synapse_form_wrapper/SynapseFormWrapper.js +3 -3
- package/dist/containers/synapse_form_wrapper/SynapseFormWrapper.js.map +1 -1
- package/dist/containers/table/datasets/DatasetItemsEditor.js +15 -11
- package/dist/containers/table/datasets/DatasetItemsEditor.js.map +1 -1
- package/dist/containers/table/table-top/DownloadLoginModal.js +1 -2
- package/dist/containers/table/table-top/DownloadLoginModal.js.map +1 -1
- package/dist/style/bootstrap4_backports/_base-import.scss +1 -1
- package/dist/style/bootstrap4_backports/_overrides.scss +0 -6
- package/dist/style/components/_dataset-editor.scss +1 -1
- package/dist/style/components/_download-list-v2.scss +2 -2
- package/dist/style/components/_fluid-modal.scss +0 -5
- package/dist/style/components/_markdown.scss +0 -1
- package/dist/style/components/entity_finder/_details-view.scss +1 -1
- package/dist/style/components/synapse_form_wrapper/_synapse-form-wrapper.scss +2 -2
- package/dist/style/main.css +6 -17
- package/dist/style/main.scss +1 -1
- package/dist/umd/{synapse-react-client.production.styles.css → synapse-react-client.development.css} +2215 -2236
- package/dist/umd/synapse-react-client.development.css.map +7 -0
- package/dist/umd/synapse-react-client.development.js +83007 -0
- package/dist/umd/synapse-react-client.development.js.map +7 -0
- package/dist/umd/synapse-react-client.production.min.css +12 -0
- package/dist/umd/synapse-react-client.production.min.js +953 -95
- package/dist/{rollup.index.d.ts → umd.index.d.ts} +1 -1
- package/dist/{rollup.index.js → umd.index.js} +2 -2
- package/dist/umd.index.js.map +1 -0
- package/dist/utils/synapseTypes/ExternalFileHandleInterface.js +3 -2
- package/dist/utils/synapseTypes/ExternalFileHandleInterface.js.map +1 -1
- package/package.json +21 -24
- package/dist/rollup.index.js.map +0 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ You can use a cdn containing the javascript and css required for the client here
|
|
|
45
45
|
/>
|
|
46
46
|
<link
|
|
47
47
|
rel="stylesheet"
|
|
48
|
-
src="https://unpkg.com/synapse-react-client@1.10.10/umd/synapse-react-client.production.
|
|
48
|
+
src="https://unpkg.com/synapse-react-client@1.10.10/umd/synapse-react-client.production.min.css"
|
|
49
49
|
/>
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -140,7 +140,7 @@ To function properly, all components must be wrapped in a [SynapseContextProvide
|
|
|
140
140
|
|
|
141
141
|
The context provider also maintains a shared cache (via `react-query`). It is recommended to place the provider at the highest possible point in your component tree, and to use the same provider across components if possible.
|
|
142
142
|
|
|
143
|
-
Example:
|
|
143
|
+
Example:
|
|
144
144
|
|
|
145
145
|
```tsx
|
|
146
146
|
const myToken = "example-token" // this value may also be undefined, if a user is not signed in
|
|
@@ -185,11 +185,12 @@ For a list of variables you can override, see [`src/lib/style/abstracts/_variabl
|
|
|
185
185
|
Override the variables by importing the SCSS in your project like so:
|
|
186
186
|
|
|
187
187
|
```scss
|
|
188
|
-
@use 'node_modules/synapse-react-client/dist/style/main.scss' with
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
188
|
+
@use 'node_modules/synapse-react-client/dist/style/main.scss' with
|
|
189
|
+
(
|
|
190
|
+
$primary-action-color: $-my-primary-color,
|
|
191
|
+
$secondary-action-color: $-my-secondary-color,
|
|
192
|
+
// ...any other overrides continue
|
|
193
|
+
);
|
|
193
194
|
@use 'node_modules/synapse-react-client/dist/template_style/Index.scss';
|
|
194
195
|
```
|
|
195
196
|
|
|
@@ -222,32 +223,27 @@ See [Examples](Examples.md)
|
|
|
222
223
|
the folder will only contain data that is to be mocked for __tests__.
|
|
223
224
|
├── /umd
|
|
224
225
|
├── synapse-react-client.production.min.js: The umd bundle of the client's javascript.
|
|
225
|
-
├── synapse-react-client.production.
|
|
226
|
+
├── synapse-react-client.production.min.css: The umd bundle of the client's styling.
|
|
226
227
|
```
|
|
227
228
|
|
|
228
229
|
### Configuration Files
|
|
229
230
|
|
|
230
|
-
|File|Description|
|
|
231
|
-
|
|
232
|
-
| ./types.d.ts
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
231
|
+
| File | Description |
|
|
232
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
233
|
+
| ./types.d.ts | In general this would be used as a library with type declarations for other client developers using Typescript. Currently, it contains only definitions for global CDNs used in the project. |
|
|
234
|
+
| ./tsconfig.json | Typescript configuration for IDEs, especially VSCode. |
|
|
235
|
+
| ./tsconfig.build.json | Typescript configuration for the emitted build |
|
|
236
|
+
| ./esbuild.config.mjs | ESBuild configuration to create the UMD package |
|
|
237
237
|
|
|
238
238
|
## Project Development
|
|
239
239
|
|
|
240
|
-
This project's core dependencies are [Typescript](https://www.typescriptlang.org/docs/home.html), and [
|
|
240
|
+
This project's core dependencies are [Typescript](https://www.typescriptlang.org/docs/home.html), and [esbuild](https://esbuild.github.io/).
|
|
241
241
|
|
|
242
242
|
Motivation for dependencies-
|
|
243
243
|
|
|
244
244
|
- Typescript is a superset of Javascript that provides static typing. This catches many bugs at compile time and makes the client much more self-documenting.
|
|
245
245
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
Caveats of these dependencies-
|
|
249
|
-
When rollup bundles the app and resolves an `import module from 'library'` statement it will attempt to include the module in the final output. This is done by looking through the `node_modules/` folder and attempting to copy the code for the library, it's done via [rollup-plugin-node-resolve](https://github.com/rollup/rollup-plugin-node-resolve). This doesn't work for every library nor should it be done for every library. `React`, if bundled in this fashion would bloat the bundle to 100k plus lines, its prefereable to include `React` via CDN. Additionally, some bundles don't resolve well (e.g. they have circular dependencies). If this happens you have to use a CDN for the code and tell rollup to recognize the import as a global in the final output file. In the [rollup config](./rollup.config.js),
|
|
250
|
-
specify this in the `external` and `output.globals` fields.
|
|
246
|
+
- esbuild allows the client to be built as a UMD bundle **without** having to eject the application from react's built in webpack configuation. The primary motivation for bundling the package as a UMD build is using the package in synapse.org.
|
|
251
247
|
|
|
252
248
|
## Release Cycle
|
|
253
249
|
|
|
@@ -268,10 +264,10 @@ Once the hotfix is complete it is merged to both develop and master
|
|
|
268
264
|
|
|
269
265
|
To expose a component from the library you must export it from [index.ts](src/lib/index.ts).
|
|
270
266
|
|
|
271
|
-
To expose a component for use in synapse.org, you must export it from [
|
|
267
|
+
To expose a component for use in synapse.org, you must export it from [umd.index.ts](src/lib/umd.index.ts). See [Project Development](#project-development) for more information on the UMD build and synapse.org.
|
|
272
268
|
|
|
273
269
|
To release the react-client, bump the [package version](https://next.yarnpkg.com/cli/version), merge into main,
|
|
274
|
-
and run `yarn publish`. Note - you must have access to the synapse-react-client [npm package](https://www.npmjs.com/package/synapse-react-client) to be able to run the command. Publising the package will also release a new version of the
|
|
270
|
+
and run `yarn publish`. Note - you must have access to the synapse-react-client [npm package](https://www.npmjs.com/package/synapse-react-client) to be able to run the command. Publising the package will also release a new version of the UMD build, it can be pulled down using unpkg.com, the URL is available [here](https://unpkg.com/browse/synapse-react-client@latest/dist/umd/synapse-react-client.production.min.js)
|
|
275
271
|
|
|
276
272
|
## Updating this Project to New Releases
|
|
277
273
|
|
|
@@ -376,15 +372,15 @@ There are open issues in the microsoft vscode repository that block the ability
|
|
|
376
372
|
### `yarn run build`
|
|
377
373
|
|
|
378
374
|
Builds the app for production to the `build` folder.<br>
|
|
379
|
-
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
380
|
-
|
|
381
|
-
It produces a build for npm distribution and umd. <br>
|
|
382
375
|
|
|
383
|
-
|
|
376
|
+
### `yarn run build:esbuild`
|
|
384
377
|
|
|
385
|
-
|
|
378
|
+
This project can be built as a umd bundle. It produces three files
|
|
386
379
|
|
|
387
|
-
|
|
380
|
+
- `synapse-react-client.production.min.js`
|
|
381
|
+
- `synapse-react-client.development.js`
|
|
382
|
+
- `synapse-react-client.production.min.styles.css`.
|
|
383
|
+
Note - this script is run automatically as part of the build command.
|
|
388
384
|
|
|
389
385
|
### `npm run eject`
|
|
390
386
|
|
|
@@ -513,7 +509,3 @@ For improved vscode intellisense support you can optionally add a jsconfig.json
|
|
|
513
509
|
}
|
|
514
510
|
}
|
|
515
511
|
```
|
|
516
|
-
|
|
517
|
-
# rollup.config.js
|
|
518
|
-
|
|
519
|
-
This is required to build a umd build, docs can be found here: https://rollupjs.org/guide/en
|
|
@@ -5,9 +5,9 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
var react_1 = require("react");
|
|
7
7
|
var utils_1 = require("../utils");
|
|
8
|
-
var account_registered_svg_1 = require("../assets/icons/account-registered.svg");
|
|
9
|
-
var account_certified_svg_1 = require("../assets/icons/account-certified.svg");
|
|
10
|
-
var account_validated_svg_1 = require("../assets/icons/account-validated.svg");
|
|
8
|
+
var account_registered_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/account-registered.svg"));
|
|
9
|
+
var account_certified_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/account-certified.svg"));
|
|
10
|
+
var account_validated_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/account-validated.svg"));
|
|
11
11
|
var ErrorBanner_1 = require("./ErrorBanner");
|
|
12
12
|
exports.accountLevelRegisteredLabel = 'Registered';
|
|
13
13
|
exports.accountLevelCertifiedLabel = 'Certified';
|
|
@@ -52,14 +52,14 @@ var AccountLevelBadge = function (_a) {
|
|
|
52
52
|
return React.createElement(ErrorBanner_1.ErrorBanner, { error: error });
|
|
53
53
|
}
|
|
54
54
|
var accountLevelString = exports.accountLevelRegisteredLabel;
|
|
55
|
-
var icon = React.createElement(account_registered_svg_1.
|
|
55
|
+
var icon = React.createElement(account_registered_svg_1.default, null);
|
|
56
56
|
if (userBundle === null || userBundle === void 0 ? void 0 : userBundle.isCertified) {
|
|
57
57
|
accountLevelString = exports.accountLevelCertifiedLabel;
|
|
58
|
-
icon = React.createElement(account_certified_svg_1.
|
|
58
|
+
icon = React.createElement(account_certified_svg_1.default, null);
|
|
59
59
|
}
|
|
60
60
|
if (userBundle === null || userBundle === void 0 ? void 0 : userBundle.isVerified) {
|
|
61
61
|
accountLevelString = exports.accountLevelVerifiedLabel;
|
|
62
|
-
icon = React.createElement(account_validated_svg_1.
|
|
62
|
+
icon = React.createElement(account_validated_svg_1.default, null);
|
|
63
63
|
}
|
|
64
64
|
return (React.createElement("div", { className: 'AccountLevelBadge cardContainer' },
|
|
65
65
|
React.createElement("div", { className: "AccountLevelBadge__iconContainer" }, icon),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountLevelBadge.js","sourceRoot":"","sources":["../../src/lib/containers/AccountLevelBadge.tsx"],"names":[],"mappings":";;;;AACA,wDAA8B;AAC9B,+BAA2C;AAC3C,kCAA0D;AAC1D
|
|
1
|
+
{"version":3,"file":"AccountLevelBadge.js","sourceRoot":"","sources":["../../src/lib/containers/AccountLevelBadge.tsx"],"names":[],"mappings":";;;;AACA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A;IAC5D,IAAI,IAAI,GAAG,oBAAC,gCAAU,OAAG,CAAA;IACzB,IAAI,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,WAAW,EAAE;QAC3B,kBAAkB,GAAG,kCAA0B,CAAA;QAC/C,IAAI,GAAG,oBAAC,+BAAS,OAAG,CAAA;KACrB;IACD,IAAI,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,EAAE;QAC1B,kBAAkB,GAAG,iCAAyB,CAAA;QAC9C,IAAI,GAAG,oBAAC,+BAAS,OAAG,CAAA;KACrB;IACD,OAAO,CACL,6BAAK,SAAS,EAAE,iCAAiC;QAC/C,6BAAK,SAAS,EAAC,kCAAkC,IAAE,IAAI,CAAO;QAC9D,6BAAK,SAAS,EAAC,yBAAyB;YACtC,2BAAG,SAAS,EAAC,2CAA2C,IACrD,kBAAkB,CACjB;YACJ,2BAAG,SAAS,EAAC,4CAA4C,4BAErD;YACJ,2BACE,SAAS,EAAC,uCAAuC,EACjD,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,0DAA0D,iBAG7D,CACA,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAvEY,QAAA,iBAAiB,qBAuE7B"}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
5
|
-
var maintenance_svg_1 = require("../assets/icons/error_page/maintenance.svg");
|
|
6
|
-
var no_access_svg_1 = require("../assets/icons/error_page/no-access.svg");
|
|
7
|
-
var unavailable_svg_1 = require("../assets/icons/error_page/unavailable.svg");
|
|
5
|
+
var maintenance_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/error_page/maintenance.svg"));
|
|
6
|
+
var no_access_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/error_page/no-access.svg"));
|
|
7
|
+
var unavailable_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/error_page/unavailable.svg"));
|
|
8
8
|
var getEndpoint_1 = require("../utils/functions/getEndpoint");
|
|
9
9
|
var getImage = function (image) {
|
|
10
10
|
switch (image) {
|
|
11
11
|
case "maintenance":
|
|
12
|
-
return React.createElement(maintenance_svg_1.
|
|
12
|
+
return React.createElement(maintenance_svg_1.default, null);
|
|
13
13
|
case "noAccess":
|
|
14
|
-
return React.createElement(no_access_svg_1.
|
|
14
|
+
return React.createElement(no_access_svg_1.default, null);
|
|
15
15
|
case "unavailable":
|
|
16
|
-
return React.createElement(unavailable_svg_1.
|
|
16
|
+
return React.createElement(unavailable_svg_1.default, null);
|
|
17
17
|
default:
|
|
18
18
|
return React.createElement(React.Fragment, null);
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorPage.js","sourceRoot":"","sources":["../../src/lib/containers/ErrorPage.tsx"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"ErrorPage.js","sourceRoot":"","sources":["../../src/lib/containers/ErrorPage.tsx"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,4GAAuE;AACvE,wGAAkE;AAClE,4GAAuE;AACvE,8DAA2E;AAQ3E,IAAM,QAAQ,GAAG,UAAC,KAAY;IAC5B,QAAQ,KAAK,EAAE;QACb,KAAK,aAAa;YAChB,OAAO,oBAAC,yBAAc,OAAG,CAAA;QAC3B,KAAK,UAAU;YACb,OAAO,oBAAC,uBAAW,OAAG,CAAA;QACxB,KAAK,aAAa;YAChB,OAAO,oBAAC,yBAAc,OAAG,CAAA;QAC3B;YACE,OAAO,yCAAK,CAAA;KACf;AACH,CAAC,CAAA;AAED,IAAM,SAAS,GAA4C,UAAC,KAAK;IACxD,IAAA,KAAK,GAAoB,KAAK,MAAzB,EAAE,KAAK,GAAa,KAAK,MAAlB,EAAE,OAAO,GAAI,KAAK,QAAT,CAAS;IAErC,OAAO,CACL,6BAAK,SAAS,EAAE,oBAAoB;QAClC,6BAAK,SAAS,EAAE,oBAAoB;YAClC,6BAAK,SAAS,EAAE,kBAAkB,IAAG,QAAQ,CAAC,KAAK,CAAC,CAAO;YAC3D,6BAAK,SAAS,EAAE,oBAAoB;gBAClC,gCAAK,KAAK,CAAM;gBAChB,+BAAI,OAAO,CAAK;gBAChB;oBACE;wBAAI,2BAAG,IAAI,EAAE,wCAA0B,CAAC,MAAM,mBAAkB,CAAK;oBACrE;wBAAI,2BAAG,IAAI,EAAE,wCAAwC,iBAAgB,CAAK;oBAC1E;wBAAI,2BAAG,IAAI,EAAE,4BAA4B,aAAY,CAAK,CACvD,CACD,CACF,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,SAAS,CAAA"}
|
|
@@ -3,55 +3,55 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
5
5
|
var TermsAndConditionsItem_1 = (0, tslib_1.__importDefault)(require("./TermsAndConditionsItem"));
|
|
6
|
-
var chat_bubbles_svg_1 = require("../assets/icons/terms/chat-bubbles.svg");
|
|
7
|
-
var lock_svg_1 = require("../assets/icons/terms/lock.svg");
|
|
8
|
-
var scale_svg_1 = require("../assets/icons/terms/scale.svg");
|
|
9
|
-
var shield_svg_1 = require("../assets/icons/terms/shield.svg");
|
|
10
|
-
var people_svg_1 = require("../assets/icons/terms/people.svg");
|
|
11
|
-
var pen_svg_1 = require("../assets/icons/terms/pen.svg");
|
|
12
|
-
var speaker_svg_1 = require("../assets/icons/terms/speaker.svg");
|
|
13
|
-
var flag_svg_1 = require("../assets/icons/terms/flag.svg");
|
|
6
|
+
var chat_bubbles_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/chat-bubbles.svg"));
|
|
7
|
+
var lock_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/lock.svg"));
|
|
8
|
+
var scale_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/scale.svg"));
|
|
9
|
+
var shield_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/shield.svg"));
|
|
10
|
+
var people_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/people.svg"));
|
|
11
|
+
var pen_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/pen.svg"));
|
|
12
|
+
var speaker_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/speaker.svg"));
|
|
13
|
+
var flag_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/flag.svg"));
|
|
14
14
|
var react_bootstrap_1 = require("react-bootstrap");
|
|
15
15
|
var dataUseLink = "https://s3.amazonaws.com/static.synapse.org/governance/SynapseCommonsDataUseProcedure.pdf?v=4";
|
|
16
16
|
var termsLink = "https://s3.amazonaws.com/static.synapse.org/governance/SageBionetworksSynapseTermsandConditionsofUse.pdf?v=5";
|
|
17
17
|
var tcList = [
|
|
18
18
|
{
|
|
19
|
-
icon: chat_bubbles_svg_1.
|
|
19
|
+
icon: chat_bubbles_svg_1.default,
|
|
20
20
|
label: 'I will adhere to the Synapse Community Standards of inclusion and respect.',
|
|
21
21
|
description: "A participant in the Synapse Community: <ul>\n <li>Welcomes others</li>\n <li>Uses inclusive language</li>\n <li>Shares experiences and knowledge</li>\n <li>Respects other viewpoints and ideas</li>\n <li>Shows empathy and kindness when interacting with others</li>\n </ul>\nPlease refer to our full <a target=\"_blank\" href=\"https://help.synapse.org/docs/Governance-Overview.2009597114.html#GovernanceOverview-SynapseCodeofConduct\">Synapse Code of Conduct</a>.",
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
icon: lock_svg_1.
|
|
24
|
+
icon: lock_svg_1.default,
|
|
25
25
|
label: 'I will adhere to all conditions and use limitations, including privacy laws and regulations.',
|
|
26
26
|
description: "For more information about how Sage Bionetworks regulates data access and privacy, please refer to the \n <a target=\"_blank\" href=" + dataUseLink + ">Synapse Commons Data Use Procedure</a>."
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
icon: scale_svg_1.
|
|
29
|
+
icon: scale_svg_1.default,
|
|
30
30
|
label: 'I will act ethically and responsibly.',
|
|
31
31
|
description: "You agree to the following Synapse Operating Ethics Principles, outlined in our \n <a target=\"_blank\" href=" + termsLink + ">Terms and Conditions of Use</a>.\n <br><br>Consequences of misconduct can include loss of both data use privileges and future use of Synapse."
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
icon: shield_svg_1.
|
|
34
|
+
icon: shield_svg_1.default,
|
|
35
35
|
label: 'I will use appropriate physical, technical and administrative measures to keep data secure and protect participants\' privacy.',
|
|
36
36
|
description: "In your use of Synapse, you agree to:<ul>\n <li>Keep your login information secure and not share with others.</li>\n <li>Keep data safe from breach or misuse through appropriate security measures.</li>\n <li>Not attempt to re-identify or contact participants.</li>\n <li>Refrain from unauthorized data redistribution. Please refer to the \n <a target=\"_blank\" href=" + dataUseLink + ">Synapse Commons Data Use Procedure</a>.</li>\n </ul>\n For more information, please refer to the full <a target=\"_blank\" href=" + termsLink + ">Synapse Terms and Conditions of Use</a>."
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
icon: people_svg_1.
|
|
39
|
+
icon: people_svg_1.default,
|
|
40
40
|
label: 'I will support open access best practices for public facing data.',
|
|
41
41
|
description: "The Synapse open access platform promotes data accessibility and collaboration. We encourage you to \n contribute your research findings to open access journals when applicable.<br><br>\n You agree to support open access best practices when possible (e.g., sharing code, metadata, annotating files for discovery)."
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
icon: pen_svg_1.
|
|
44
|
+
icon: pen_svg_1.default,
|
|
45
45
|
label: 'I will credit research participants and all data sources.',
|
|
46
46
|
description: "You agree to acknowledge data participants and to cite contributors and data sources using the language provided with the dataset.<br><br>\n It is our policy to terminate the access privileges of those who infringe the intellectual property rights of others. For more information, please refer to our full \n <a target=\"_blank\" href=" + termsLink + ">Terms and Conditions of Use</a>."
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
icon: speaker_svg_1.
|
|
49
|
+
icon: speaker_svg_1.default,
|
|
50
50
|
label: 'I will not use data for marketing and/or advertising.',
|
|
51
51
|
description: "Data may not be used for marketing or advertising purposes. You agree not to upload or otherwise transmit \n any unsolicited or unauthorized advertising, promotional materials, junk mail, spam, or any other form of solicitation (commercial or otherwise). <br><br>\n Please review the <a target=\"_blank\" href=\"https://s3.amazonaws.com/static.synapse.org/governance/SynapsePrivacyPolicy.pdf?v=5\">Synapse Privacy Policy</a> for Sage's commitment to privacy protections."
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
icon: flag_svg_1.
|
|
54
|
+
icon: flag_svg_1.default,
|
|
55
55
|
label: "I will report any suspected data breach or misuse to privacyofficer@sagebase.org within 2 business days of initial incident knowledge.",
|
|
56
56
|
description: "Data misuse includes violating dataset access requirements, unauthorized use or \n redistribution, lack of data accreditation, and unethical data handling.<br><br>\n For more information about what classifies as a violation of our data governance policies, please refer to our \n <a target=\"_blank\" href=" + dataUseLink + ">Data Use Procedure</a> and <a target=\"_blank\" href=" + termsLink + ">Terms and Conditions of Use</a>."
|
|
57
57
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermsAndConditions.js","sourceRoot":"","sources":["../../src/lib/containers/TermsAndConditions.tsx"],"names":[],"mappings":";;;AAAA,0DAAkD;AAElD,iGAA6D;AAC7D,
|
|
1
|
+
{"version":3,"file":"TermsAndConditions.js","sourceRoot":"","sources":["../../src/lib/containers/TermsAndConditions.tsx"],"names":[],"mappings":";;;AAAA,0DAAkD;AAElD,iGAA6D;AAC7D,yGAAmE;AACnE,yFAAoD;AACpD,2FAAsD;AACtD,6FAAwD;AACxD,6FAAwD;AACxD,uFAAkD;AAClD,+FAA0D;AAC1D,yFAAoD;AACpD,mDAAwC;AAMxC,IAAM,WAAW,GAAG,+FAA+F,CAAA;AACnH,IAAM,SAAS,GAAG,8G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,EAAE,GAAC,CAAC,CAAC,CAAC,CAAA;SAClE;IACH,CAAC,CAAA;IAED,OAAM,CACJ,2CAAS,SAAS,EAAC,kBAAkB;QACnC,sCAAI,SAAS,EAAC,aAAa,qBAAoB;QAC/C;YACE,+KAEQ;YACR,sCAAI,SAAS,EAAC,WAAW,IACvB,MAAM,CAAC,MAAM;gBACX,MAAM,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,CAAC;oBACjB,OAAO,CACL,sCAAI,GAAG,EAAE,aAAW,CAAG,EAAE,SAAS,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE;wBACpF,8BAAC,gCAAsB,IACrB,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,CAAC,EACL,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAC3B,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAC3B,QAAQ,EAAE,mBAAmB,GAC7B,CACC,CACN,CAAA;gBACP,CAAC,CAAC,CACG;YACL,uCAAK,SAAS,EAAC,YAAY;gBAAC,8BAAC,wBAAM,IAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAC,QAAQ,iDAAoD,CAAM,CAC3H,CACC,CACX,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
5
|
-
var check_svg_1 = require("../assets/icons/terms/check.svg");
|
|
5
|
+
var check_svg_1 = (0, tslib_1.__importDefault)(require("../assets/icons/terms/check.svg"));
|
|
6
6
|
var TermsAndConditionsItem = function (props) {
|
|
7
7
|
var id = props.id, item = props.item, enabled = props.enabled, checked = props.checked, onChange = props.onChange;
|
|
8
8
|
var _a = (0, react_1.useState)(false), showDesc = _a[0], setShowDes = _a[1];
|
|
@@ -37,7 +37,7 @@ var TermsAndConditionsItem = function (props) {
|
|
|
37
37
|
react_1.default.createElement("a", { className: "terms-show-desc highlight-link", href: "", onClick: handleShowDescLink }, showDesc ? "Show Less" : "Show More"))),
|
|
38
38
|
react_1.default.createElement("span", { className: "terms-checkbox" },
|
|
39
39
|
react_1.default.createElement("span", { className: isChecked ? "terms-circle terms-checked" : "terms-circle", onClick: handleCheckboxClick },
|
|
40
|
-
react_1.default.createElement(check_svg_1.
|
|
40
|
+
react_1.default.createElement(check_svg_1.default, null)),
|
|
41
41
|
"I agree")));
|
|
42
42
|
};
|
|
43
43
|
exports.default = TermsAndConditionsItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermsAndConditionsItem.js","sourceRoot":"","sources":["../../src/lib/containers/TermsAndConditionsItem.tsx"],"names":[],"mappings":";;;AAAA,0DAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"TermsAndConditionsItem.js","sourceRoot":"","sources":["../../src/lib/containers/TermsAndConditionsItem.tsx"],"names":[],"mappings":";;;AAAA,0DAAkD;AAClD,2FAAsD;AAgBtD,IAAM,sBAAsB,GAAyD,UAAA,KAAK;IAChF,IAAA,EAAE,GAAuC,KAAK,GAA5C,EAAE,IAAI,GAAiC,KAAK,KAAtC,EAAE,OAAO,GAAwB,KAAK,QAA7B,EAAE,OAAO,GAAe,KAAK,QAApB,EAAE,QAAQ,GAAK,KAAK,SAAV,CAAU;IAChD,IAAA,KAA2B,IAAA,gBAAQ,EAAU,KAAK,CAAC,EAAjD,QAAQ,QAAA,EAAE,UAAU,QAA6B,CAAA;IACnD,IAAA,KAA8B,IAAA,gBAAQ,EAAU,KAAK,CAAC,EAApD,SAAS,QAAA,EAAE,YAAY,QAA6B,CAAA;IAC5D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,EAAE;YACX,YAAY,CAAC,OAAO,CAAC,CAAA;SACt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
|
|
131
131
|
react_1.default.createElement("th", null,
|
|
132
132
|
"Size",
|
|
133
133
|
react_1.default.createElement("span", null, showInteractiveSortIcon('fileSize'))),
|
|
134
|
-
react_1.default.createElement("th", null,
|
|
135
|
-
"Project",
|
|
136
|
-
react_1.default.createElement("span", null, showInteractiveSortIcon('projectName'))),
|
|
137
134
|
react_1.default.createElement("th", null,
|
|
138
135
|
"SynID",
|
|
139
136
|
react_1.default.createElement("span", null, showInteractiveSortIcon('synId'))),
|
|
137
|
+
react_1.default.createElement("th", null,
|
|
138
|
+
"Project",
|
|
139
|
+
react_1.default.createElement("span", null, showInteractiveSortIcon('projectName'))),
|
|
140
140
|
react_1.default.createElement("th", null,
|
|
141
141
|
"Added On",
|
|
142
142
|
react_1.default.createElement("span", null, showInteractiveSortIcon('addedOn'))),
|
|
@@ -168,8 +168,8 @@ function DownloadListTable(props) {
|
|
|
168
168
|
react_1.default.createElement("a", { target: "_blank", rel: "noopener noreferrer", href: getEndpoint_1.PRODUCTION_ENDPOINT_CONFIG.PORTAL + "#!Synapse:" + item.fileEntityId + "." + item.versionNumber }, item.fileName)),
|
|
169
169
|
react_1.default.createElement("td", null, item.fileSizeBytes &&
|
|
170
170
|
(0, calculateFriendlyFileSize_1.calculateFriendlyFileSize)(item.fileSizeBytes)),
|
|
171
|
+
react_1.default.createElement("td", null, item.fileEntityId),
|
|
171
172
|
react_1.default.createElement("td", null, item.projectName),
|
|
172
|
-
react_1.default.createElement("td", null, item.projectId),
|
|
173
173
|
react_1.default.createElement("td", null, addedOn),
|
|
174
174
|
react_1.default.createElement("td", null,
|
|
175
175
|
react_1.default.createElement(UserCard_1.default, { size: 'SMALL USER CARD', ownerId: item.createdBy })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadListTable.js","sourceRoot":"","sources":["../../../src/lib/containers/download_list_v2/DownloadListTable.tsx"],"names":[],"mappings":";;;;AAAA,0DAAkD;AAClD,6DAAsD;AAEtD,qDAAgD;AAChD,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CAAC,IAAI,IAAC,IAAI,EAAC,MAAM,IACvB,qBAAqB,CAAC,GAAG,CAAC,UAAA,eAAe,IAAI,OAAA,CAC5C,8BAAC,0BAAQ,CAAC,IAAI,IACZ,IAAI,EAAC,UAAU,EACf,GAAG,EAAK,oBAAoB,CAAC,eAAe,CAAC,mBAAgB,EAC7D,OAAO,EAAE;wBACP,SAAS,CAAC,eAAe,CAAC,CAAA;oBAC5B,CAAC,IAEA,oBAAoB,CAAC,eAAe,CAAC,CACxB,CACjB,EAV6C,CAU7C,CAAC,CACY,CACP,CACP;QACL,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CACrB;YACE,8BAAC,uBAAK,IACJ,OAAO,EAAE,IAAI,EACb,UAAU,EAAE,IAAI,EAChB,SAAS,EAAC,qBAAqB;gBAE/B;oBACE;wBACE,yCAEK;wBACL;;4BAEE,4CAAO,uBAAuB,CAAC,UAAU,CAAC,CAAQ,CAC/C;wBACL;;4BAEE,4CAAO,uBAAuB,CAAC,UAAU,CAAC,CAAQ,CAC/C;wBACL;;4BAEE,4CAAO,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"DownloadListTable.js","sourceRoot":"","sources":["../../../src/lib/containers/download_list_v2/DownloadListTable.tsx"],"names":[],"mappings":";;;;AAAA,0DAAkD;AAClD,6DAAsD;AAEtD,qDAAgD;AAChD,mDAAiD;AACjD,6FAA2F;AAC3F,8GAAoH;AACpH,2EAAuD;AAOvD,qCAA2C;AAC3C,+DAA2B;AAC3B,sEAAkC;AAClC,8EAA8C;AAC9C,yDAA6E;AAC7E,6DAA8D;AAC9D,iEAA8E;AAC9E,oEAAgC;AAChC,6EAAwC;AACxC,wEAAmE;AACnE,sEAAoE;AACpE,kFAA8C;AAC9C,gDAA8C;AAE9C,yGAAqE;AACxD,QAAA,uBAAuB,GAAG,yBAAyB,CAAA;AACnD,QAAA,uBAAuB,GAAG,yBAAyB,CAAA;AAOhE,SAAwB,iBAAiB,CAAC,KAA6B;IAAvE,iB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,EAAE,CAAC,GAAI,CAC1C,CACA,CACJ,CAAA;AACH,CAAC;AA9TD,oCA8TC"}
|
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
var react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
6
|
var moment_timezone_1 = (0, tslib_1.__importDefault)(require("moment-timezone"));
|
|
7
7
|
var react_bootstrap_1 = require("react-bootstrap");
|
|
8
|
-
var calendar_clock_svg_1 = require("../../assets/icons/calendar-clock.svg");
|
|
8
|
+
var calendar_clock_svg_1 = (0, tslib_1.__importDefault)(require("../../assets/icons/calendar-clock.svg"));
|
|
9
9
|
var react_datetime_1 = (0, tslib_1.__importDefault)(require("react-datetime"));
|
|
10
10
|
require("react-datetime/css/react-datetime.css");
|
|
11
11
|
var SynapseContext_1 = require("../../utils/SynapseContext");
|
|
@@ -17,7 +17,7 @@ var CalendarWithIconFormGroup = function (_a) {
|
|
|
17
17
|
react_1.default.createElement(react_bootstrap_1.InputGroup, null,
|
|
18
18
|
react_1.default.createElement(react_bootstrap_1.InputGroup.Prepend, null,
|
|
19
19
|
react_1.default.createElement(react_bootstrap_1.InputGroup.Text, null,
|
|
20
|
-
react_1.default.createElement(calendar_clock_svg_1.
|
|
20
|
+
react_1.default.createElement(calendar_clock_svg_1.default, null))),
|
|
21
21
|
react_1.default.createElement(react_datetime_1.default, { value: value, utc: utcTime,
|
|
22
22
|
// using 24-hour time format
|
|
23
23
|
timeFormat: 'HH:mm z', displayTimeZone: moment_timezone_1.default.tz.guess(), onChange: setterCallback, inputProps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarWithIconFormGroup.js","sourceRoot":"","sources":["../../../src/lib/containers/evaluation_queues/CalendarWithIconFormGroup.tsx"],"names":[],"mappings":";;;;AAAA,6DAAyB;AAEzB,iFAAoC;AACpC,mDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"CalendarWithIconFormGroup.js","sourceRoot":"","sources":["../../../src/lib/containers/evaluation_queues/CalendarWithIconFormGroup.tsx"],"names":[],"mappings":";;;;AAAA,6DAAyB;AAEzB,iFAAoC;AACpC,mDAAkD;AAClD,0GAAqE;AACrE,+EAAqC;AACrC,iDAA8C;AAC9C,6DAA8D;AAUvD,IAAM,yBAAyB,GAA4D,UAAC,EAMlG;QALC,KAAK,WAAA,EACL,cAAc,oBAAA,EACd,KAAK,WAAA,EACL,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,WAAW,iBAAA;IAEH,IAAA,OAAO,GAAK,IAAA,kCAAiB,GAAE,QAAxB,CAAwB;IACvC,OAAO,CACL,8BAAC,sBAAI,CAAC,KAAK,IAAC,SAAS,EAAC,+BAA+B;QAClD,KAAK,IAAI,6CAAQ,KAAK,CAAS;QAChC,8BAAC,4BAAU;YACT,8BAAC,4BAAU,CAAC,OAAO;gBACjB,8BAAC,4BAAU,CAAC,IAAI;oBACd,8BAAC,4BAAiB,OAAG,CACL,CACC;YACrB,8BAAC,wBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,OAAO;gBACZ,4BAA4B;gBAC5B,UAAU,EAAE,SAAS,EACrB,eAAe,EAAE,yBAAM,CAAC,EAAE,CAAC,KAAK,EAAE,EAClC,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE;oBACV,QAAQ,EAAE,QAAQ;oBAClB,SAAS,EAAE,qDAAqD;oBAChE,4GAA4G;oBAC5G,sGAAsG;oBACtG,+DAA+D;oBAC/D,YAAY,EAAE,cAAc;iBAC7B,EACD,WAAW,EAAE,WAAW,GACxB,CACS,CACF,CACd,CAAA;AACH,CAAC,CAAA;AArCY,QAAA,yBAAyB,6BAqCrC"}
|
|
@@ -4,8 +4,8 @@ exports.EvaluationRoundLimitOptionsList = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
6
6
|
var EvaluationRoundLimitOptions_1 = require("./EvaluationRoundLimitOptions");
|
|
7
|
-
var icon_plus_square_filled_svg_1 = require("../../../assets/icons/icon_plus_square_filled.svg");
|
|
8
|
-
var icon_times_svg_1 = require("../../../assets/icons/icon_times.svg");
|
|
7
|
+
var icon_plus_square_filled_svg_1 = (0, tslib_1.__importDefault)(require("../../../assets/icons/icon_plus_square_filled.svg"));
|
|
8
|
+
var icon_times_svg_1 = (0, tslib_1.__importDefault)(require("../../../assets/icons/icon_times.svg"));
|
|
9
9
|
var react_bootstrap_1 = require("react-bootstrap");
|
|
10
10
|
var AVAILABLE_LIMIT_TYPES = Object.keys(EvaluationRoundLimitOptions_1.LIMIT_TYPE_DISPLAY_NAME);
|
|
11
11
|
var selectUnusedType = function (selectedTypes) {
|
|
@@ -35,7 +35,7 @@ var EvaluationRoundLimitOptionsList = function (_a) {
|
|
|
35
35
|
, {
|
|
36
36
|
// use an invalid variant, we just want the basic bootstrap 4 "btn" class behavior
|
|
37
37
|
variant: "", className: "remove-button", onClick: handleDeleteLimit(index) },
|
|
38
|
-
react_1.default.createElement(icon_times_svg_1.
|
|
38
|
+
react_1.default.createElement(icon_times_svg_1.default, { className: "SRC-icon-fill" })),
|
|
39
39
|
// if last element
|
|
40
40
|
index === limitInputs.length - 1 &&
|
|
41
41
|
// if the are unused limit types
|
|
@@ -44,7 +44,7 @@ var EvaluationRoundLimitOptionsList = function (_a) {
|
|
|
44
44
|
, {
|
|
45
45
|
// use an invalid variant, we just want the basic bootstrap 4 "btn" class behavior
|
|
46
46
|
variant: "", onClick: addNewLimit, className: "add-button" },
|
|
47
|
-
react_1.default.createElement(icon_plus_square_filled_svg_1.
|
|
47
|
+
react_1.default.createElement(icon_plus_square_filled_svg_1.default, { className: "SRC-icon-fill" })))));
|
|
48
48
|
})));
|
|
49
49
|
};
|
|
50
50
|
exports.EvaluationRoundLimitOptionsList = EvaluationRoundLimitOptionsList;
|
package/dist/containers/evaluation_queues/round_limits/EvaluationRoundLimitOptionsList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EvaluationRoundLimitOptionsList.js","sourceRoot":"","sources":["../../../../src/lib/containers/evaluation_queues/round_limits/EvaluationRoundLimitOptionsList.tsx"],"names":[],"mappings":";;;;AAAA,0DAAqD;AACrD,6EAGsC;AAEtC
|
|
1
|
+
{"version":3,"file":"EvaluationRoundLimitOptionsList.js","sourceRoot":"","sources":["../../../../src/lib/containers/evaluation_queues/round_limits/EvaluationRoundLimitOptionsList.tsx"],"names":[],"mappings":";;;;AAAA,0DAAqD;AACrD,6EAGsC;AAEtC,+HAAoF;AACpF,qGAA4D;AAE5D,mDAAwC;AAExC,IAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC,qDAAuB,CAAC,CAAA;AAalE,IAAM,gBAAgB,GAAG,UACvB,aAA4C;IAE5C,OAAO,qBAAqB,CAAC,IAAI,CAC/B,UAAA,GAAG,IAAI,OAAA,CAAC,aAAa,CAAC,GAAG,CAAC,GAA+B,CAAC,EAAnD,CAAmD,CAC/B,CAAA;AAC/B,CAAC,CAAA;AAEM,IAAM,+BAA+B,GAAkE,UAAC,EAK9G;QAJC,WAAW,iBAAA,EACX,YAAY,kBAAA,EACZ,iBAAiB,uBAAA,EACjB,aAAa,mBAAA;IAEb,0CAA0C;IAC1C,IAAM,aAAa,GAAkC,IAAI,GAAG,CAC1D,WAAW,CAAC,GAAG,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,IAAI,EAAV,CAAU,CAAC,CACrC,CAAA;IAED,IAAM,WAAW,GAAG,IAAA,mBAAW,EAAC;QAC9B,aAAa,CAAC;YACZ,IAAI,EAAE,gBAAgB,CAAC,aAAa,CAAC;YACrC,mBAAmB,EAAE,EAAE;SACxB,CAAC,CAAA;IACJ,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAA;IAElC,sDAAsD;IACtD,IAAA,iBAAS,EAAC;QACR,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,WAAW,EAAE,CAAA;SACd;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAA;IAE9B,OAAO,CACL,uCAAK,SAAS,EAAC,sBAAsB,IAClC,WAAW,CAAC,GAAG,CAAC,UAAC,KAAK,EAAE,KAAK;QAC5B,OAAO,CACL,8BAAC,eAAK,CAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,CAAC,IAAI;YAC7B,8BAAC,yDAA2B,IAC1B,UAAU,EAAE,KAAK,EACjB,gBAAgB,EAAE,aAAa,EAC/B,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAC,GAC7B;YAGF,8BAAC,wBAAM;YACL,kFAAkF;;gBAAlF,kFAAkF;gBAClF,OAAO,EAAC,EAAE,EACV,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC;gBAEjC,8BAAC,wBAAS,IAAC,SAAS,EAAC,eAAe,GAAG,CAChC;YAIP,kBAAkB;YAClB,KAAK,KAAK,WAAW,CAAC,MAAM,GAAG,CAAC;gBAC9B,gCAAgC;gBAChC,WAAW,CAAC,MAAM,GAAG,qBAAqB,CAAC,MAAM,IAAI,CACnD,8BAAC,wBAAM;YACL,kFAAkF;;gBAAlF,kFAAkF;gBAClF,OAAO,EAAC,EAAE,EACV,OAAO,EAAE,WAAW,EACpB,SAAS,EAAC,YAAY;gBAEtB,8BAAC,qCAAoB,IAAC,SAAS,EAAC,eAAe,GAAG,CAC3C,CACV,CAEU,CAClB,CAAA;IACH,CAAC,CAAC,CACE,CACP,CAAA;AACH,CAAC,CAAA;AAnEY,QAAA,+BAA+B,mCAmE3C"}
|
|
@@ -7,8 +7,8 @@ var synapseTypes_1 = require("../../utils/synapseTypes/");
|
|
|
7
7
|
var free_solid_svg_icons_1 = require("@fortawesome/free-solid-svg-icons");
|
|
8
8
|
var react_fontawesome_1 = require("@fortawesome/react-fontawesome");
|
|
9
9
|
var WarningModal_1 = (0, tslib_1.__importDefault)(require("./WarningModal"));
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var react_bootstrap_1 = require("react-bootstrap");
|
|
11
|
+
var react_bootstrap_2 = require("react-bootstrap");
|
|
12
12
|
var moment_1 = (0, tslib_1.__importDefault)(require("moment"));
|
|
13
13
|
var SynapseConstants_1 = require("../../utils/SynapseConstants");
|
|
14
14
|
var json_form_tool_no_submissions_svg_1 = (0, tslib_1.__importDefault)(require("../../assets/icons/json-form-tool-no-submissions.svg"));
|
|
@@ -193,7 +193,7 @@ var SynapseFormSubmissionGrid = /** @class */ (function (_super) {
|
|
|
193
193
|
React.createElement("h3", null, "Your Submissions"),
|
|
194
194
|
React.createElement("div", { className: "panel padding-full unauthenticated text-center" },
|
|
195
195
|
React.createElement("p", { className: "padding-full" }, "Please sign in or register to initiate or continue your submission"),
|
|
196
|
-
React.createElement(
|
|
196
|
+
React.createElement(react_bootstrap_1.Button, { className: SynapseConstants_1.SRC_SIGN_IN_CLASS + " pill", variant: "primary", size: "lg" }, "Sign In"))));
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
_this.renderSubmissionsTable = function (fileList, pathpart, formGroupId, fileListType, nextPageToken) {
|
|
@@ -338,22 +338,22 @@ var SynapseFormSubmissionGrid = /** @class */ (function (_super) {
|
|
|
338
338
|
React.createElement("div", { className: "panel panel-default padding-full" },
|
|
339
339
|
this.renderSubmissionsTables(this.state.inProgress, this.state.submitted, this.props.pathpart, this.props.formGroupId),
|
|
340
340
|
React.createElement("div", { className: "text-center bootstrap-4-backport" },
|
|
341
|
-
React.createElement(
|
|
341
|
+
React.createElement(react_bootstrap_1.Button, { className: "pill-xl btn-large" // .btn-large is a custom class, don't use size="lg"
|
|
342
342
|
, variant: "primary", href: this.props.pathpart + "?formGroupId=" + this.props.formGroupId },
|
|
343
343
|
"Add new ",
|
|
344
344
|
this.props.itemNoun))))),
|
|
345
345
|
this.state.modalContext && (React.createElement(WarningModal_1.default, { className: "theme-" + this.props.formClass, show: typeof this.state.modalContext !== 'undefined', title: this.modalTitle, modalBody: this.modalCopy, onConfirmCallbackArgs: this.state.modalContext.arguments, onCancel: function () { return _this.setState({ modalContext: undefined }); }, onConfirm: function (token, formDataId) {
|
|
346
346
|
return _this.deleteFile(token, formDataId);
|
|
347
347
|
} })),
|
|
348
|
-
React.createElement(
|
|
349
|
-
React.createElement(
|
|
350
|
-
React.createElement(
|
|
351
|
-
React.createElement(
|
|
348
|
+
React.createElement(react_bootstrap_2.Modal, { show: this.state.isShowInfoModal, animation: false, className: "theme-" + this.props.formClass },
|
|
349
|
+
React.createElement(react_bootstrap_2.Modal.Header, { closeButton: false, onHide: function () { return _this.setState({ isShowInfoModal: false }); } },
|
|
350
|
+
React.createElement(react_bootstrap_2.Modal.Title, null, "More Information")),
|
|
351
|
+
React.createElement(react_bootstrap_2.Modal.Body, null,
|
|
352
352
|
"Please ",
|
|
353
353
|
React.createElement("a", { href: "mailto:ModelAD@iupui.edu" }, "contact us"),
|
|
354
354
|
" for more information about your submission"),
|
|
355
|
-
React.createElement(
|
|
356
|
-
React.createElement(
|
|
355
|
+
React.createElement(react_bootstrap_2.Modal.Footer, null,
|
|
356
|
+
React.createElement(react_bootstrap_1.Button, { variant: "success", onClick: function () { return _this.setState({ isShowInfoModal: false }); } }, "OK"))))));
|
|
357
357
|
};
|
|
358
358
|
SynapseFormSubmissionGrid.requestFilter = {
|
|
359
359
|
IN_PROGRESS: [synapseTypes_1.StatusEnum.WAITING_FOR_SUBMISSION],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SynapseFormSubmissionsGrid.js","sourceRoot":"","sources":["../../../src/lib/containers/synapse_form_wrapper/SynapseFormSubmissionsGrid.tsx"],"names":[],"mappings":";;;AAAA,wDAA8B;AAE9B,qCAA2C;AAC3C,0DAKkC;AAClC,0EAAoE;AACpE,oEAAgE;AAChE,6EAAyC;AACzC
|
|
1
|
+
{"version":3,"file":"SynapseFormSubmissionsGrid.js","sourceRoot":"","sources":["../../../src/lib/contain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AE,cAAM,OAAA,KAAI,CAAC,QAAQ,CAAC,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,EAAzC,CAAyC,SAGjD,CACI,CACT,CACJ,CACF,CACP,CAAA;IACH,CAAC;IAxbM,uCAAa,GAAG;QACrB,WAAW,EAAE,CAAC,yBAAU,CAAC,sBAAsB,CAAC;QAChD,SAAS,EAAE;YACT,yBAAU,CAAC,4BAA4B;YACvC,yBAAU,CAAC,QAAQ;YACnB,yBAAU,CAAC,QAAQ;SACpB;KACF,CAAA;IAkbH,gCAAC;CAAA,AAjdD,CAAuD,KAAK,CAAC,SAAS,GAidrE;kBAjdoB,yBAAyB"}
|
|
@@ -5,7 +5,7 @@ var json_schema_ref_parser_1 = (0, tslib_1.__importDefault)(require("json-schema
|
|
|
5
5
|
var lodash_es_1 = require("lodash-es");
|
|
6
6
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
7
7
|
var react_bootstrap_1 = require("react-bootstrap");
|
|
8
|
-
var
|
|
8
|
+
var react_bootstrap_2 = require("react-bootstrap");
|
|
9
9
|
var utils_1 = require("../../utils");
|
|
10
10
|
var SynapseConstants_1 = require("../../utils/SynapseConstants");
|
|
11
11
|
var SynapseForm_1 = (0, tslib_1.__importDefault)(require("./SynapseForm"));
|
|
@@ -283,8 +283,8 @@ var SynapseFormWrapper = /** @class */ (function (_super) {
|
|
|
283
283
|
return React.createElement(React.Fragment, null);
|
|
284
284
|
}
|
|
285
285
|
if (notification.type === types_1.StatusEnum.ERROR) {
|
|
286
|
-
return (React.createElement(
|
|
287
|
-
React.createElement(
|
|
286
|
+
return (React.createElement(react_bootstrap_2.Alert, { variant: "danger", onClose: function () { return _this.setState({ status: undefined }); } },
|
|
287
|
+
React.createElement(react_bootstrap_2.Alert.Heading, null, "Error"),
|
|
288
288
|
React.createElement("p", null,
|
|
289
289
|
notification.name,
|
|
290
290
|
" ",
|