File tree Expand file tree Collapse file tree
resources/queries/study/demographics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ module.exports = {
1919 '^.+\\.tsx?$' : [
2020 'ts-jest' ,
2121 {
22- tsconfig : 'node_modules/@labkey/build/webpack/tsconfig.json' ,
22+ isolatedModules : true
2323 }
2424 ] ,
2525 } ,
Original file line number Diff line number Diff line change 1313 "dependencies" : {
1414 "@emotion/react" : " ^11.11.1" ,
1515 "@emotion/styled" : " ^11.11.0" ,
16- "@labkey/api" : " ^1.24.0 " ,
16+ "@labkey/api" : " ^1.34.1 " ,
1717 "@mui/material" : " ^5.0.0" ,
1818 "@mui/styles" : " ^5.14.7" ,
1919 "@mui/x-data-grid" : " ^6.0.0" ,
20- "chart.js" : " ^4.4.0 " ,
20+ "chart.js" : " ^4.4.3 " ,
2121 "react" : " ^17.0.2" ,
2222 "react-chartjs-2" : " ^5.2.0" ,
2323 "react-dom" : " ^17.0.2" ,
24- "react-hot-loader" : " ^4.13.0" ,
2524 "react-tooltip" : " ^5.21.1" ,
2625 "tsv" : " ^0.2.0" ,
2726 "uuid" : " ^9.0.0"
2827 },
2928 "devDependencies" : {
30- "@labkey/build" : " ^6.16 .0" ,
29+ "@labkey/build" : " ^7.3 .0" ,
3130 "@types/chart.js" : " ^2.9.37" ,
3231 "@types/jest" : " ^29.0.0" ,
3332 "@types/jexl" : " ^2.3.1" ,
4443 "jest-cli" : " ^29.0.0" ,
4544 "jest-environment-jsdom" : " ^29.7.0" ,
4645 "jest-mock" : " ^29.0.0" ,
47- "rimraf" : " ^3 .0.2 " ,
46+ "rimraf" : " ^6 .0.1 " ,
4847 "ts-jest" : " ^29.0.0"
4948 }
5049}
Original file line number Diff line number Diff line change 44 <column name =" u24_status" />
55 <column name =" Id" />
66 <column name =" gender" />
7+ <column name =" Id/age/yearAndDays" />
78 <column name =" Id/ageClass/label" >
89 <properties >
910 <property name =" columnTitle" value =" Age Class" />
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
3- import { AppContainer } from 'react-hot-loader' ;
43
54import { Dashboard } from './Dashboard' ;
65
76const render = ( ) => {
8- ReactDOM . render (
9- < AppContainer >
10- < Dashboard />
11- </ AppContainer > ,
12- document . getElementById ( 'app' )
13- )
7+ ReactDOM . render ( < Dashboard /> , document . getElementById ( 'app' ) ) ;
148} ;
159
16- declare const module : any ;
17-
18- if ( module . hot ) {
19- module . hot . accept ( ) ;
20- }
21-
2210render ( ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
3- import { AppContainer } from 'react-hot-loader' ;
43import { App } from '@labkey/api' ;
54
6- import { Dashboard } from " ../Dashboard" ;
5+ import { Dashboard } from ' ../Dashboard' ;
76
8- App . registerApp < any > ( 'dashboardWebpart' , ( target : string ) => {
9- ReactDOM . render (
10- < AppContainer >
11- < Dashboard />
12- </ AppContainer > ,
13- document . getElementById ( target )
14- ) ;
15- } , true /* hot */ ) ;
7+ const render = ( target : string ) => {
8+ ReactDOM . render ( < Dashboard /> , document . getElementById ( target ) ) ;
9+ } ;
1610
17- declare const module : any ;
11+ App . registerApp < any > ( 'dashboardWebpart' , render , true /* hot */ ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
3- import { AppContainer } from 'react-hot-loader' ;
43
54import { GeneticsPlot } from './GeneticsPlot' ;
65
76const render = ( ) => {
8- ReactDOM . render (
9- < AppContainer >
10- < GeneticsPlot />
11- </ AppContainer > ,
12- document . getElementById ( 'app' )
13- )
7+ ReactDOM . render ( < GeneticsPlot /> , document . getElementById ( 'app' ) ) ;
148} ;
159
16- declare const module : any ;
17-
18- if ( module . hot ) {
19- module . hot . accept ( ) ;
20- }
21-
2210render ( ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
3- import { AppContainer } from 'react-hot-loader' ;
43import { App } from '@labkey/api' ;
54
65import { GeneticsPlot } from '../GeneticsPlot' ;
76
8- App . registerApp < any > ( 'mccPcaWebpart' , ( target : string ) => {
9- ReactDOM . render (
10- < AppContainer >
11- < GeneticsPlot />
12- </ AppContainer > ,
13- document . getElementById ( target )
14- ) ;
15- } , true /* hot */ ) ;
7+ const render = ( target : string ) => {
8+ ReactDOM . render ( < GeneticsPlot /> , document . getElementById ( target ) ) ;
9+ } ;
1610
17- declare const module : any ;
11+ App . registerApp < any > ( 'mccPcaWebpart' , render , true /* hot */ ) ;
You can’t perform that action at this time.
0 commit comments