-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NPM package updates and docker build script update (#750)
* Apply npm updates without Virology updates * update WNPRC_Virology npm packages with new lock file
- Loading branch information
Showing
23 changed files
with
9,635 additions
and
22,011 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import * as React from "react"; | ||
import * as ReactDom from "react-dom"; | ||
import { ContextProvider } from "./ContextProvider"; | ||
import AbstractContainer from "./AbstractContainer"; | ||
import * as jQuery from 'jquery'; | ||
import { App } from '@labkey/api'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
//export this function to be called in a requiresScript callback | ||
App.registerApp<any>('Abstract', (id, rand) => { | ||
ReactDom.render( | ||
const container = document.getElementById("abstract-section" + id + rand); | ||
const root = createRoot(container); | ||
root.render( | ||
<ContextProvider> | ||
<AbstractContainer id={id} /> | ||
</ContextProvider>, | ||
document.getElementById("abstract-section" + id + rand) | ||
</ContextProvider> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
|
||
// Main react component | ||
import {GridPanelConfig} from '../components/GridPanelConfig'; | ||
// Grid Panel Props | ||
import { gridConfig } from './configProps'; | ||
// Import stylesheets | ||
import '../wnprc_ehr.scss'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
|
||
const render = (): void => { | ||
ReactDOM.render( | ||
const container = document.getElementById('app'); | ||
const root = createRoot(container); | ||
root.render( | ||
<GridPanelConfig | ||
{...gridConfig} | ||
/>, | ||
document.getElementById('app') | ||
) | ||
/> | ||
); | ||
}; | ||
|
||
render(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import * as React from "react"; | ||
import { ContextProvider } from "./ContextProvider"; | ||
import FeedingFormContainer from "./FeedingFormContainer"; | ||
import * as ReactDOM from 'react-dom'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
window.addEventListener('DOMContentLoaded', (event) => { | ||
ReactDOM.render( | ||
const container = document.getElementById('app'); | ||
const root = createRoot(container); | ||
root.render( | ||
<ContextProvider> | ||
<FeedingFormContainer /> | ||
</ContextProvider>, | ||
document.getElementById('app') | ||
</ContextProvider> | ||
) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
|
||
// Main react component | ||
import {GridPanelConfig} from '../components/GridPanelConfig'; | ||
// Grid Panel Props | ||
import { gridConfig } from './configProps'; | ||
// Import stylesheets | ||
import '../wnprc_ehr.scss'; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
|
||
const render = (): void => { | ||
ReactDOM.render( | ||
<GridPanelConfig {...gridConfig} />, | ||
document.getElementById('app') | ||
) | ||
const container = document.getElementById('app'); | ||
const root = createRoot(container); | ||
root.render( | ||
<GridPanelConfig | ||
{...gridConfig} | ||
/> | ||
); | ||
}; | ||
|
||
render(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
// React | ||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
|
||
// Components | ||
import EnterWeightFormContainer from "./containers/Forms/EnterWeightFormContainer"; | ||
import {ContextProvider} from "./containers/App/ContextProvider"; | ||
import { createRoot } from 'react-dom/client'; | ||
|
||
|
||
window.addEventListener('DOMContentLoaded', (event) => { | ||
ReactDOM.render( | ||
const container = document.getElementById('app'); | ||
const root = createRoot(container); | ||
root.render( | ||
<ContextProvider> | ||
<EnterWeightFormContainer /> | ||
</ContextProvider>, | ||
document.getElementById('app') | ||
) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.