gramene-search 1.6.9 → 1.6.10

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.
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- 156394149
2
- 1729101128735480000
1
+ 158404126
2
+ 1729191235100827000
@@ -1,2 +1,2 @@
1
- 156393539
2
- 1729101120946195000
1
+ 158403413
2
+ 1729191229232116000
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ var $gXNCa$reactsimpletreemenu = require("react-simple-tree-menu");
24
24
  var $gXNCa$aggridreact = require("ag-grid-react");
25
25
  require("ag-grid-community/styles/ag-grid.css");
26
26
  require("ag-grid-community/styles/ag-theme-quartz.css");
27
+ require("@fortawesome/fontawesome-free/css/all.min.css");
27
28
  var $gXNCa$gramenedbxrefs = require("gramene-dbxrefs");
28
29
  var $gXNCa$reacticonsai = require("react-icons/ai");
29
30
  var $gXNCa$gramenesearchvis = require("gramene-search-vis");
@@ -3287,6 +3288,7 @@ var $54c74a4689d5a778$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.conn
3287
3288
 
3288
3289
 
3289
3290
 
3291
+
3290
3292
  const $283508ffcf8a47c4$var$ggURL = {
3291
3293
  IRRI: "https://gringlobal.irri.org/gringlobal/accessiondetail?id=",
3292
3294
  ARS: "https://npgsweb.ars-grin.gov/gringlobal/accessiondetail.aspx?id=",
@@ -3480,7 +3482,7 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
3480
3482
  const columnDefs = [
3481
3483
  {
3482
3484
  field: "pop",
3483
- headerName: "Study",
3485
+ headerName: "Study/Population",
3484
3486
  flex: 1,
3485
3487
  cellRenderer: (params)=>{
3486
3488
  if (params.data.summary || params.data.tally === 1) return params.value;
@@ -3509,6 +3511,23 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
3509
3511
  field: "accession",
3510
3512
  headerName: "Order Germplasm",
3511
3513
  flex: 1,
3514
+ headerComponent: (props)=>{
3515
+ return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
3516
+ style: {
3517
+ display: "flex",
3518
+ alignItems: "center"
3519
+ },
3520
+ children: [
3521
+ /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("i", {
3522
+ className: "fas fa-shopping-cart"
3523
+ }),
3524
+ "\xa0",
3525
+ /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("span", {
3526
+ children: props.displayName
3527
+ })
3528
+ ]
3529
+ });
3530
+ },
3512
3531
  cellRenderer: (params)=>{
3513
3532
  if (params.value) return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($283508ffcf8a47c4$var$AccessionLink, {
3514
3533
  germplasm: params.value.germplasm,
@@ -3528,6 +3547,8 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
3528
3547
  {
3529
3548
  field: "synonym",
3530
3549
  headerName: "Synonym",
3550
+ filter: false,
3551
+ sortable: false,
3531
3552
  flex: 1,
3532
3553
  cellRenderer: (params)=>{
3533
3554
  console.log(params.data);
@@ -3538,6 +3559,8 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
3538
3559
  {
3539
3560
  field: "search",
3540
3561
  headerName: "All LOF Genes",
3562
+ sortable: false,
3563
+ filter: false,
3541
3564
  flex: 1,
3542
3565
  cellRenderer: (params)=>{
3543
3566
  if (params.data.accession) {
@@ -3559,7 +3582,8 @@ const $283508ffcf8a47c4$var$GridWithGroups = ({ groups: groups, gene_id: gene_id
3559
3582
  }
3560
3583
  ];
3561
3584
  const defaultColDef = {
3562
- sortable: false,
3585
+ sortable: true,
3586
+ filter: "agTextColumnFilter",
3563
3587
  cellStyle: (params)=>{
3564
3588
  if (params.data.summary) return {
3565
3589
  cursor: "pointer"