@gen3/frontend 0.11.17 → 0.11.19

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.
Files changed (107) hide show
  1. package/dist/cjs/index.js +627 -383
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Content/TextContent.d.ts.map +1 -1
  4. package/dist/dts/components/Content/TextContent.js +7 -8
  5. package/dist/dts/components/Content/TextContent.js.map +1 -1
  6. package/dist/dts/components/Details/DetailsDrawer.d.ts +2 -2
  7. package/dist/dts/components/Details/DetailsDrawer.d.ts.map +1 -1
  8. package/dist/dts/components/Details/DetailsDrawer.js +2 -2
  9. package/dist/dts/components/Details/DetailsDrawer.js.map +1 -1
  10. package/dist/dts/components/Layout/TexturedSidePanel.js +1 -1
  11. package/dist/dts/components/Layout/TexturedSidePanel.js.map +1 -1
  12. package/dist/dts/components/Providers/Gen3Provider.d.ts +1 -1
  13. package/dist/dts/components/charts/Charts.d.ts.map +1 -1
  14. package/dist/dts/components/charts/Charts.js +14 -12
  15. package/dist/dts/components/charts/Charts.js.map +1 -1
  16. package/dist/dts/components/charts/utils.d.ts +16 -0
  17. package/dist/dts/components/charts/utils.d.ts.map +1 -1
  18. package/dist/dts/components/charts/utils.js +28 -1
  19. package/dist/dts/components/charts/utils.js.map +1 -1
  20. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +4 -4
  21. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +2 -1
  22. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  23. package/dist/dts/features/CohortBuilder/CohortBuilder.js +5 -3
  24. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  25. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  26. package/dist/dts/features/CohortBuilder/CohortPanel.js +24 -2
  27. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  28. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -1
  29. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  30. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +58 -26
  31. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  32. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +5 -1
  33. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
  34. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  35. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +63 -28
  36. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  37. package/dist/dts/features/CohortBuilder/index.d.ts +1 -1
  38. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  39. package/dist/dts/features/CohortBuilder/index.js +1 -1
  40. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  41. package/dist/dts/features/CohortBuilder/types.d.ts +1 -0
  42. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  43. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  44. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +1 -1
  45. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -1
  46. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +21 -14
  47. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -1
  48. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -1
  49. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +1 -0
  50. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -1
  51. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +11 -10
  52. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -1
  53. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +9 -5
  54. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -1
  55. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +1 -0
  56. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -1
  57. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +21 -6
  58. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -1
  59. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -1
  60. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +1 -1
  61. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -1
  62. package/dist/dts/features/CohortDiscovery/appApi.js +1 -1
  63. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  64. package/dist/dts/features/CohortDiscovery/constants.d.ts +2 -0
  65. package/dist/dts/features/CohortDiscovery/constants.d.ts.map +1 -1
  66. package/dist/dts/features/CohortDiscovery/constants.js +11 -0
  67. package/dist/dts/features/CohortDiscovery/constants.js.map +1 -1
  68. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.d.ts.map +1 -1
  69. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js +2 -1
  70. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js.map +1 -1
  71. package/dist/dts/features/Dictionary/metadata/types.d.ts +1 -0
  72. package/dist/dts/features/Dictionary/metadata/types.d.ts.map +1 -1
  73. package/dist/dts/features/Discovery/Discovery.d.ts.map +1 -1
  74. package/dist/dts/features/Discovery/Discovery.js +3 -2
  75. package/dist/dts/features/Discovery/Discovery.js.map +1 -1
  76. package/dist/dts/features/Discovery/types.d.ts +1 -0
  77. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  78. package/dist/dts/features/Discovery/types.js.map +1 -1
  79. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  80. package/dist/dts/features/Navigation/Footer/FooterColumn.js +3 -0
  81. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  82. package/dist/dts/features/Navigation/Footer/types.d.ts +1 -0
  83. package/dist/dts/features/Navigation/Footer/types.d.ts.map +1 -1
  84. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.d.ts.map +1 -1
  85. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.js +28 -1
  86. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.js.map +1 -1
  87. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.d.ts.map +1 -1
  88. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.js +7 -0
  89. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.js.map +1 -1
  90. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js +4 -4
  91. package/dist/dts/features/Study/StudyDetails/SinglePageStudyDetailsPanel.js.map +1 -1
  92. package/dist/dts/features/Study/StudyDetails/StudyItems.d.ts.map +1 -1
  93. package/dist/dts/features/Study/StudyDetails/StudyItems.js +9 -5
  94. package/dist/dts/features/Study/StudyDetails/StudyItems.js.map +1 -1
  95. package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
  96. package/dist/dts/lib/common/staticProps.js +11 -23
  97. package/dist/dts/lib/common/staticProps.js.map +1 -1
  98. package/dist/dts/lib/content/filesystem.js +1 -1
  99. package/dist/dts/lib/content/filesystem.js.map +1 -1
  100. package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
  101. package/dist/dts/pages/Explorer/Explorer.js +4 -1
  102. package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
  103. package/dist/esm/index.js +627 -384
  104. package/dist/esm/index.js.map +1 -1
  105. package/dist/index.d.ts +203 -181
  106. package/dist/tsconfig.tsbuildinfo +1 -1
  107. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { JSONObject, HistogramDataArray, AggregationsData, EnumFilterValue, IndexAndField, Operation, CombineMode, DataFetchingResult, Accessibility, SharedFieldMapping, Includes, Intersection, OperatorWithFieldAndArrayOfOperands, ServiceAndMethod, DataLibraryStoreMode, ExportDatasetFields, FilterSet, CohortItem, FileItem } from '@gen3/core';
2
+ import { JSONObject, AggregationsData, HistogramDataArray, EnumFilterValue, IndexAndField, Operation, CombineMode, DataFetchingResult, ServiceAndMethod, Accessibility, SharedFieldMapping, Includes, Intersection, OperatorWithFieldAndArrayOfOperands, DataLibraryStoreMode, ExportDatasetFields, FilterSet, CohortItem, FileItem } from '@gen3/core';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactElement, ReactNode, CSSProperties, ComponentType, RefObject, PropsWithChildren } from 'react';
5
5
  import { EChartsOption, SetOptionOpts } from 'echarts';
@@ -349,6 +349,21 @@ declare const processRangeKeyLabel: (key: [number, number]) => string;
349
349
  * @returns {number[]} - An array of row spans for each item in the charts object.
350
350
  */
351
351
  declare const computeRowSpan: (numItems: number, numCols?: number) => Array<number>;
352
+ /**
353
+ * Filters the keys from the provided aggregation data based on a given list of keys to remove.
354
+ *
355
+ * This function processes an `AggregationsData` object by iterating through its properties.
356
+ * It removes elements from the data that match any of the keys specified in the `keysToRemove` array.
357
+ * The filtering applies specifically to elements with a valid `key` property of type == string.
358
+ * If the `key` is empty or matches one of the `keysToRemove`, it is excluded from the resulting object.
359
+ *
360
+ * @param {AggregationsData} data - The aggregation data object to filter. Expected to have properties that
361
+ * are arrays of items containing a `key` property.
362
+ * @param {Array<string>} keysToRemove - Array of string keys that should be removed from the aggregation data.
363
+ * @returns {AggregationsData} A new `AggregationsData` object with filtered entries,
364
+ * omitting the specified keys.
365
+ */
366
+ declare const filterAggregationsDataKeys: (data: AggregationsData, keysToRemove: Array<string>) => AggregationsData;
352
367
 
353
368
  interface SummaryChart extends Partial<TitleAndDescription> {
354
369
  readonly chartType: string;
@@ -717,6 +732,183 @@ interface DetailsPanelComponentProps extends Record<string, unknown> {
717
732
  row?: MRT_Row<Record<string, any>>;
718
733
  }
719
734
 
735
+ declare const create10ColorPallet: (mainColor: string) => Record<string, string>;
736
+ declare const create10ColorAccessibleContrast: (pallet: Record<string, string>) => Record<string, string>;
737
+
738
+ type TenStringArray = [
739
+ string?,
740
+ string?,
741
+ string?,
742
+ string?,
743
+ string?,
744
+ string?,
745
+ string?,
746
+ string?,
747
+ string?,
748
+ string?
749
+ ];
750
+
751
+ /**
752
+ * @returns {number} time in seconds since Unix epoch.
753
+ */
754
+ declare function getCurrentUnixTimestamp(): number;
755
+ /**
756
+ * convert unix timestamp to date time string
757
+ * @param {number} unixTime
758
+ * @returns {string} date time string
759
+ */
760
+ declare function unixTimeToString(unixTime: number): string;
761
+ /**
762
+ * Converts a given duration in minutes to its equivalent in milliseconds.
763
+ *
764
+ * @param {number} minutes - The time duration in minutes to be converted.
765
+ * @returns {number} The equivalent duration in milliseconds.
766
+ */
767
+ declare const convertMinutesToMilliseconds: (minutes: number) => number;
768
+ /**
769
+ * Converts a given time in seconds to milliseconds.
770
+ *
771
+ * @param {number} seconds - The time in seconds to be converted.
772
+ * @returns {number} The equivalent time in milliseconds.
773
+ */
774
+ declare const convertSecondsToMilliseconds: (seconds: number) => number;
775
+ declare const MinutesToMilliseconds: (minutes: number) => number;
776
+
777
+ interface ResourceEntry {
778
+ value: string;
779
+ label: string;
780
+ children?: Array<ResourceEntry>;
781
+ }
782
+ declare const convertPathsToTree: (paths: Array<string>) => ResourceEntry[];
783
+
784
+ interface UserAuthMapping {
785
+ service: string;
786
+ method: string;
787
+ }
788
+ declare const resourcePathFromProjectID: (projectID: string) => string;
789
+ declare const userHasMethodForServiceOnResource: (method: string, service: string, resourcePath: string, userAuthMapping?: Record<string, Array<ServiceAndMethod>>) => boolean;
790
+
791
+ declare const focusStyles = "focus-visible:outline-none focus-visible:ring-offset-2 focus:ring-offset-white rounded-md focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-focusColor";
792
+
793
+ declare const stripTrailingSlash: (str: string) => string;
794
+ declare const SPECIAL_CASE_FIELDS: {
795
+ icd_10_code: string;
796
+ };
797
+ declare const toDisplayName: (field: string) => string;
798
+ declare const toCountsString: (counts: number | undefined, units: string) => string;
799
+
800
+ declare const isArrayOfString: (value: any) => value is Array<string>;
801
+ declare const isTextTransform: (value: any) => value is CSSProperties["textTransform"];
802
+
803
+ declare const isPropertyKey: (value: unknown) => value is PropertyKey;
804
+ declare const hasOwnProperty: <X extends object, Y extends PropertyKey>(obj?: X, prop?: Y) => obj is X & Record<Y, unknown>;
805
+ declare const getParamsValueAsString: (params?: JSONObject, key?: string) => string | undefined;
806
+ declare const extractObjectKey: <T extends object>(obj: T) => keyof T | undefined;
807
+
808
+ declare const accessibleFieldName = "__accessible";
809
+ declare enum AccessLevel {
810
+ ACCESSIBLE = 1,
811
+ UNACCESSIBLE = 2,
812
+ WAITING = 3,
813
+ NOT_AVAILABLE = 4,
814
+ OTHER = 5,
815
+ MIXED = 6
816
+ }
817
+
818
+ interface AuthorizationValues {
819
+ enabled: boolean;
820
+ menuText: string;
821
+ }
822
+ interface DataAuthorization {
823
+ columnTooltip?: string;
824
+ supportedValues?: Record<string, AuthorizationValues>;
825
+ isMesh?: boolean;
826
+ enabled?: boolean;
827
+ }
828
+
829
+ interface StudyDetailsField {
830
+ name: string;
831
+ field: string;
832
+ contentType?: string;
833
+ includeLabel?: boolean;
834
+ includeIfNotAvailable?: boolean;
835
+ valueIfNotAvailable?: string | number;
836
+ renderer?: string;
837
+ params?: Record<string, unknown>;
838
+ classNames?: Record<string, string>;
839
+ }
840
+ interface StudyPageGroup {
841
+ groupName?: string;
842
+ groupWidth?: 'half' | 'full';
843
+ fields: StudyDetailsField[];
844
+ }
845
+ interface StudyPageConfig {
846
+ showAllAvailableFields?: boolean;
847
+ header?: {
848
+ field: string;
849
+ className?: string;
850
+ };
851
+ downloadLinks?: DataDownloadLinks;
852
+ downloadLinkFields?: DownloadLinkFields;
853
+ classNames?: Record<string, string>;
854
+ fieldsToShow: Array<StudyPageGroup>;
855
+ }
856
+ interface StudyColumn {
857
+ name: string;
858
+ field: string;
859
+ contentType?: StudyColumnContentTypes;
860
+ cellRenderFunction?: string;
861
+ params?: JSONObject;
862
+ errorIfNotAvailable?: boolean;
863
+ valueIfNotAvailable?: string | number;
864
+ }
865
+ type StudyColumnContentTypes = string | 'string' | 'number' | 'date' | 'array' | 'link' | 'boolean' | 'paragraphs';
866
+ interface DataDownloadLinks {
867
+ field: string;
868
+ name?: string;
869
+ className?: Record<string, string>;
870
+ }
871
+ interface DownloadLinkFields {
872
+ idField: string;
873
+ titleField: string;
874
+ descriptionField: string;
875
+ }
876
+ interface StudyTabTagField extends StudyDetailsField {
877
+ categories?: string[];
878
+ }
879
+ interface StudyTabGroup {
880
+ header: string;
881
+ fields: Array<StudyDetailsField | StudyTabTagField>;
882
+ }
883
+ interface StudyDetailTab {
884
+ tabName: string;
885
+ groups: StudyTabGroup[];
886
+ }
887
+ interface StudyDetailView {
888
+ header: {
889
+ field: string;
890
+ className?: string;
891
+ };
892
+ tabs: StudyDetailTab[];
893
+ }
894
+ interface TagData {
895
+ name: string;
896
+ category: string;
897
+ }
898
+ interface TagInfo$1 {
899
+ name: string;
900
+ category: string;
901
+ }
902
+ interface TagCategory extends TagInfo$1 {
903
+ displayName: string;
904
+ color: string;
905
+ display: boolean;
906
+ }
907
+ interface TagsConfig {
908
+ tagCategories: TagCategory[];
909
+ showUnknownTags?: boolean;
910
+ }
911
+
720
912
  interface TableDetailsPanelProps extends DetailsPanelComponentProps {
721
913
  index: string;
722
914
  tableConfig: SummaryTable;
@@ -734,12 +926,15 @@ interface TableDetailsPanelProps extends DetailsPanelComponentProps {
734
926
  * @property {string} [idField] - The field used as an identifier for the Explorer details.
735
927
  */
736
928
  interface ExplorerDetailsConfig {
737
- mode?: 'click' | 'doubleclick' | 'expand';
929
+ mode?: 'click' | 'doubleclick' | 'expand' | 'none';
738
930
  title?: string;
739
931
  panel: string;
932
+ panelContainer?: 'modal' | 'drawer';
740
933
  params?: Record<string, unknown>;
741
934
  classNames?: Record<string, string>;
742
935
  idField?: string;
936
+ dataPath?: string;
937
+ simpleDetailsView?: StudyPageConfig;
743
938
  }
744
939
 
745
940
  declare const ExplorerTableCellRendererFactory: () => RenderFactoryTypedInstance<CellRendererFunctionProps>;
@@ -853,6 +1048,7 @@ interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
853
1048
  interface CohortPanelConfiguration {
854
1049
  guppyConfig: DataTypeConfigWithManifest;
855
1050
  tabTitle: string;
1051
+ tabType?: 'pills' | 'outline';
856
1052
  chartsSection?: CollapsableChartsPanelConfiguration;
857
1053
  charts?: Record<string, SummaryChart>;
858
1054
  table?: SummaryTable;
@@ -1191,6 +1387,7 @@ interface FooterLogo {
1191
1387
  width: number;
1192
1388
  height: number;
1193
1389
  className?: string;
1390
+ href?: string;
1194
1391
  }
1195
1392
  type FooterRow = FooterLogo | FooterText | FooterLink | FooterLinks | FooterSectionProps;
1196
1393
  interface FooterColumnProps {
@@ -1292,183 +1489,6 @@ interface SummaryStatisticsConfig {
1292
1489
  displayFunction?: string;
1293
1490
  }
1294
1491
 
1295
- declare const create10ColorPallet: (mainColor: string) => Record<string, string>;
1296
- declare const create10ColorAccessibleContrast: (pallet: Record<string, string>) => Record<string, string>;
1297
-
1298
- type TenStringArray = [
1299
- string?,
1300
- string?,
1301
- string?,
1302
- string?,
1303
- string?,
1304
- string?,
1305
- string?,
1306
- string?,
1307
- string?,
1308
- string?
1309
- ];
1310
-
1311
- /**
1312
- * @returns {number} time in seconds since Unix epoch.
1313
- */
1314
- declare function getCurrentUnixTimestamp(): number;
1315
- /**
1316
- * convert unix timestamp to date time string
1317
- * @param {number} unixTime
1318
- * @returns {string} date time string
1319
- */
1320
- declare function unixTimeToString(unixTime: number): string;
1321
- /**
1322
- * Converts a given duration in minutes to its equivalent in milliseconds.
1323
- *
1324
- * @param {number} minutes - The time duration in minutes to be converted.
1325
- * @returns {number} The equivalent duration in milliseconds.
1326
- */
1327
- declare const convertMinutesToMilliseconds: (minutes: number) => number;
1328
- /**
1329
- * Converts a given time in seconds to milliseconds.
1330
- *
1331
- * @param {number} seconds - The time in seconds to be converted.
1332
- * @returns {number} The equivalent time in milliseconds.
1333
- */
1334
- declare const convertSecondsToMilliseconds: (seconds: number) => number;
1335
- declare const MinutesToMilliseconds: (minutes: number) => number;
1336
-
1337
- interface ResourceEntry {
1338
- value: string;
1339
- label: string;
1340
- children?: Array<ResourceEntry>;
1341
- }
1342
- declare const convertPathsToTree: (paths: Array<string>) => ResourceEntry[];
1343
-
1344
- interface UserAuthMapping {
1345
- service: string;
1346
- method: string;
1347
- }
1348
- declare const resourcePathFromProjectID: (projectID: string) => string;
1349
- declare const userHasMethodForServiceOnResource: (method: string, service: string, resourcePath: string, userAuthMapping?: Record<string, Array<ServiceAndMethod>>) => boolean;
1350
-
1351
- declare const focusStyles = "focus-visible:outline-none focus-visible:ring-offset-2 focus:ring-offset-white rounded-md focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-focusColor";
1352
-
1353
- declare const stripTrailingSlash: (str: string) => string;
1354
- declare const SPECIAL_CASE_FIELDS: {
1355
- icd_10_code: string;
1356
- };
1357
- declare const toDisplayName: (field: string) => string;
1358
- declare const toCountsString: (counts: number | undefined, units: string) => string;
1359
-
1360
- declare const isArrayOfString: (value: any) => value is Array<string>;
1361
- declare const isTextTransform: (value: any) => value is CSSProperties["textTransform"];
1362
-
1363
- declare const isPropertyKey: (value: unknown) => value is PropertyKey;
1364
- declare const hasOwnProperty: <X extends object, Y extends PropertyKey>(obj?: X, prop?: Y) => obj is X & Record<Y, unknown>;
1365
- declare const getParamsValueAsString: (params?: JSONObject, key?: string) => string | undefined;
1366
- declare const extractObjectKey: <T extends object>(obj: T) => keyof T | undefined;
1367
-
1368
- declare const accessibleFieldName = "__accessible";
1369
- declare enum AccessLevel {
1370
- ACCESSIBLE = 1,
1371
- UNACCESSIBLE = 2,
1372
- WAITING = 3,
1373
- NOT_AVAILABLE = 4,
1374
- OTHER = 5,
1375
- MIXED = 6
1376
- }
1377
-
1378
- interface AuthorizationValues {
1379
- enabled: boolean;
1380
- menuText: string;
1381
- }
1382
- interface DataAuthorization {
1383
- columnTooltip?: string;
1384
- supportedValues?: Record<string, AuthorizationValues>;
1385
- isMesh?: boolean;
1386
- enabled?: boolean;
1387
- }
1388
-
1389
- interface StudyDetailsField {
1390
- name: string;
1391
- field: string;
1392
- contentType?: string;
1393
- includeLabel?: boolean;
1394
- includeIfNotAvailable?: boolean;
1395
- valueIfNotAvailable?: string | number;
1396
- renderer?: string;
1397
- params?: Record<string, unknown>;
1398
- classNames?: Record<string, string>;
1399
- }
1400
- interface StudyPageGroup {
1401
- groupName?: string;
1402
- groupWidth?: 'half' | 'full';
1403
- fields: StudyDetailsField[];
1404
- }
1405
- interface StudyPageConfig {
1406
- showAllAvailableFields?: boolean;
1407
- header?: {
1408
- field: string;
1409
- className?: string;
1410
- };
1411
- downloadLinks?: DataDownloadLinks;
1412
- downloadLinkFields?: DownloadLinkFields;
1413
- classNames?: Record<string, string>;
1414
- fieldsToShow: Array<StudyPageGroup>;
1415
- }
1416
- interface StudyColumn {
1417
- name: string;
1418
- field: string;
1419
- contentType?: StudyColumnContentTypes;
1420
- cellRenderFunction?: string;
1421
- params?: JSONObject;
1422
- errorIfNotAvailable?: boolean;
1423
- valueIfNotAvailable?: string | number;
1424
- }
1425
- type StudyColumnContentTypes = string | 'string' | 'number' | 'date' | 'array' | 'link' | 'boolean' | 'paragraphs';
1426
- interface DataDownloadLinks {
1427
- field: string;
1428
- name?: string;
1429
- className?: Record<string, string>;
1430
- }
1431
- interface DownloadLinkFields {
1432
- idField: string;
1433
- titleField: string;
1434
- descriptionField: string;
1435
- }
1436
- interface StudyTabTagField extends StudyDetailsField {
1437
- categories?: string[];
1438
- }
1439
- interface StudyTabGroup {
1440
- header: string;
1441
- fields: Array<StudyDetailsField | StudyTabTagField>;
1442
- }
1443
- interface StudyDetailTab {
1444
- tabName: string;
1445
- groups: StudyTabGroup[];
1446
- }
1447
- interface StudyDetailView {
1448
- header: {
1449
- field: string;
1450
- className?: string;
1451
- };
1452
- tabs: StudyDetailTab[];
1453
- }
1454
- interface TagData {
1455
- name: string;
1456
- category: string;
1457
- }
1458
- interface TagInfo$1 {
1459
- name: string;
1460
- category: string;
1461
- }
1462
- interface TagCategory extends TagInfo$1 {
1463
- displayName: string;
1464
- color: string;
1465
- display: boolean;
1466
- }
1467
- interface TagsConfig {
1468
- tagCategories: TagCategory[];
1469
- showUnknownTags?: boolean;
1470
- }
1471
-
1472
1492
  interface KeyValueSearchFilter {
1473
1493
  key: string;
1474
1494
  keyDisplayName?: string;
@@ -1541,6 +1561,7 @@ interface DiscoveryIndexConfig {
1541
1561
  studyField?: string;
1542
1562
  maxStudies?: number;
1543
1563
  label?: string;
1564
+ tabType?: 'pills' | 'outline';
1544
1565
  features: {
1545
1566
  advSearchFilters?: AdvancedSearchFilters;
1546
1567
  aiSearch?: boolean;
@@ -1957,6 +1978,7 @@ interface MetadataPropertiesConfiguration {
1957
1978
  schemaID: string;
1958
1979
  definitionsFieldName: string;
1959
1980
  fontSize?: string;
1981
+ tabType?: 'pills' | 'outline';
1960
1982
  }
1961
1983
 
1962
1984
  interface MetadataDictionaryProps {
@@ -2090,6 +2112,7 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
2090
2112
  black?: string | undefined;
2091
2113
  colors?: {
2092
2114
  [x: string & {}]: _mantine_core.MantineColorsTuple | undefined;
2115
+ green?: _mantine_core.MantineColorsTuple | undefined;
2093
2116
  dark?: _mantine_core.MantineColorsTuple | undefined;
2094
2117
  gray?: _mantine_core.MantineColorsTuple | undefined;
2095
2118
  red?: _mantine_core.MantineColorsTuple | undefined;
@@ -2099,7 +2122,6 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
2099
2122
  indigo?: _mantine_core.MantineColorsTuple | undefined;
2100
2123
  blue?: _mantine_core.MantineColorsTuple | undefined;
2101
2124
  cyan?: _mantine_core.MantineColorsTuple | undefined;
2102
- green?: _mantine_core.MantineColorsTuple | undefined;
2103
2125
  lime?: _mantine_core.MantineColorsTuple | undefined;
2104
2126
  yellow?: _mantine_core.MantineColorsTuple | undefined;
2105
2127
  orange?: _mantine_core.MantineColorsTuple | undefined;
@@ -2647,5 +2669,5 @@ declare function export_default(req: NextApiRequest, res: NextApiResponse): Prom
2647
2669
 
2648
2670
  declare const staticNotebookAPI: (req: NextApiRequest, res: NextApiResponse) => Promise<void | Response>;
2649
2671
 
2650
- export { AISearchPageGetServerSideProps, AccessLevel, AccordionPanel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BAD_DATA_MESSAGE, Banner, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableCharts, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DAYS_IN_YEAR, DEFAULT_MAXIMUM, DEFAULT_MINIMUM, DEFAULT_VISIBLE_ITEMS, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, DropdownPanel, DropdownWithIcon, EnumFacet, EnumFacetChart, ErrorCard, ExactValueFacet, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FacetControlsHeader, FacetExpander, FacetSelector, FacetSortPanel, FacetTabs, FiltersPanel, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, MultiSelectValueFacet, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, RangeFacet, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SegmentedControl, SessionExpiredModal, SinglePageStudyDetailsPanel, StaticNotebookIFrame, StaticNotebookViewer, StudyDetailsPanel, StudyGroup, StudyGroupPanel, StudyProvider, SubmissionPage, SubmissionPageGetServerSideProps, TabbedCohortBuilder, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, TabbedPanel, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, addIntersectionToIncludes, addUnion, export_default as analysisApiCohortDiscovery, buildNested, capitalize, classifyFacets, compareKeysAscending, compareKeysDescending, computeRowSpan, convertMinutesToMilliseconds, convertPathsToTree, convertSecondsToMilliseconds, convertToStringArray, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, extractRangeValues, focusStyles, getAllFieldsFromFilterConfigs, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isEnumFacetResponse, isHeaderMetadata, isPropertyKey, isTextTransform, mapFacetSortToSortType, processBucketData, processLabel, processRangeData, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeIntersectionFromEnum, removeKey, removeUnion, resourcePathFromProjectID, export_default$3 as sessionLogout, export_default$4 as sessionToken, staticNotebookAPI, stripTrailingSlash, toCountsString, toDisplayName, truncateString, unixTimeToString, updateFacetEnum, useClearFilters, useDiscoveryContext, useExtractEnumFilterValues, useExtractRangeFilterValues, useFieldNameToTitle, useGetFacetFilters, useUpdateFilters, userHasMethodForServiceOnResource };
2672
+ export { AISearchPageGetServerSideProps, AccessLevel, AccordionPanel, ActionBar, ActionButton, AdminAuthZPageGetServerSideProps, AiSearch, AISearchPage as AiSearchPage, AnalysisCenter, AnalysisCenterWithSections, AnalysisEditorPage, AnalysisEditorPageGetServerSideProps, AnalysisPage, AnalysisPageGetServerSideProps, AuthzPage, BAD_DATA_MESSAGE, Banner, BaseModal, Charts, CohortBuilder, CohortManager, CollapsableCharts, CollapsableSidebar, ColorThemePage, ColorThemePageGetServerSideProps, _default as ContentSource, CreateCredentialsAPIKeyModal, CrosswalkPage, CrosswalkPageGetServerSideProps, Custom404Page, DAYS_IN_YEAR, DEFAULT_MAXIMUM, DEFAULT_MINIMUM, DEFAULT_VISIBLE_ITEMS, DataLibraryPage, DataLibraryPageGetServerSideProps, DictionaryPage, DictionaryPageGetServerSideProps, DiscoveryCellRendererFactory, DiscoveryProvider as DiscoveryConfigProvider, DiscoveryIndexPanel, DiscoveryPage, DiscoveryPageGetServerSideProps, DiscoveryRowRendererFactory, DropdownButton, DropdownPanel, DropdownWithIcon, EnumFacet, EnumFacetChart, ErrorCard, ExactValueFacet, ExplorerPage, ExplorerPageGetServerSideProps, ExplorerPageGetServerSidePropsForConfigId, ExplorerTableCellRendererFactory, ExplorerTableDetailsPanelFactory, FacetControlsHeader, FacetExpander, FacetSelector, FacetSortPanel, FacetTabs, FiltersPanel, FirstTimeModal, Footer, Gen3Button, Gen3ButtonReverse, Gen3Link, Gen3ModalsProvider, Gen3Provider, GqlQueryEditor, Header, HoverLink, LandingPage, LandingPageGetServerSideProps, LoginButton, LoginPage, LoginPageGetServerSideProps, LoginPanel, LoginProvidersPanel, MinutesToMilliseconds, MultiSelectValueFacet, NavPageLayout, NavigationBar, NavigationButton, NoAccessModal, NotebookLitePage, NotebookLitePageGetStaticProps, ProfilePage, ProfilePageGetServerSideProps, ProfileProvider, ProtectedContent, QueryExpression, QueryExpressionContext, QueryExpressionSection, QueryPage, QueryPageGetServerSideProps, RangeFacet, ReactECharts, ResourcesFilters, SPECIAL_CASE_FIELDS, SegmentedControl, SessionExpiredModal, SinglePageStudyDetailsPanel, StaticNotebookIFrame, StaticNotebookViewer, StudyDetailsPanel, StudyGroup, StudyGroupPanel, StudyProvider, SubmissionPage, SubmissionPageGetServerSideProps, TabbedCohortBuilder, TabbedCohortBuilderPage, TabbedCohortBuilderPageGetServerSideProps, TabbedPanel, TagCloud, TailwindConfig, TopBar, UploadJSONButton, User$1 as User, Workspace, WorkspaceNoAccessPage, WorkspaceNoAccessPageServerSideProps, WorkspacePage, WorkspacePageGetServerSideProps, accessibleFieldName, addIntersectionToIncludes, addUnion, export_default as analysisApiCohortDiscovery, buildNested, capitalize, classifyFacets, compareKeysAscending, compareKeysDescending, computeRowSpan, convertMinutesToMilliseconds, convertPathsToTree, convertSecondsToMilliseconds, convertToStringArray, create10ColorAccessibleContrast, create10ColorPallet, createMantineTheme, export_default$2 as credentialsLogin, export_default$1 as credentialsLogout, extractObjectKey, extractRangeValues, filterAggregationsDataKeys, focusStyles, getAllFieldsFromFilterConfigs, getCurrentUnixTimestamp, getNavPageLayoutPropsFromConfig, getParamsValueAsString, getTagInfo, hasOwnProperty, isArrayOfString, isEnumFacetResponse, isHeaderMetadata, isPropertyKey, isTextTransform, mapFacetSortToSortType, processBucketData, processLabel, processRangeData, processRangeKeyLabel, registerCohortBuilderDefaultPreviewRenderers, registerCohortDiscoveryApp, registerCohortSimilarityApp, registerDefaultDiscoveryDataLoaders, registerDiscoveryDefaultCellRenderers, registerDiscoveryDefaultStudyPreviewRenderers, registerExplorerDefaultCellRenderers, registerMetadataSchemaApp, removeIntersectionFromEnum, removeKey, removeUnion, resourcePathFromProjectID, export_default$3 as sessionLogout, export_default$4 as sessionToken, staticNotebookAPI, stripTrailingSlash, toCountsString, toDisplayName, truncateString, unixTimeToString, updateFacetEnum, useClearFilters, useDiscoveryContext, useExtractEnumFilterValues, useExtractRangeFilterValues, useFieldNameToTitle, useGetFacetFilters, useUpdateFilters, userHasMethodForServiceOnResource };
2651
2673
  export type { AdvancedRangeFacetHooks, AllowableRange, AnalysisCenterSection, AnalysisCenterWithSectionsConfiguration, AnalysisPageLayoutProps, AnalysisToolConfiguration, AuthorizationValues, BannerLevelCategories, BannerProps, CellRenderFunctionProps, CellRendererFunctionProps, ChartProps, ClearFacetFunction, ClearFacetHook, ClearIndexedFacetFunction, CohortBuilderCategoryConfig, CohortBuilderConfiguration, CohortBuilderProps, CohortBuilderTabCategoryConfig, CohortPanelConfiguration, CollapsableChartsPanelConfiguration, CustomFacetHooks, DataAuthorization, DiscoveryConfig, EnumChartProps, EnumFacetData, EnumFacetDataChangedFunction, EnumFacetDataHooks, EnumFacetResponse, EnumOperandValue, ExplorerPageProps, FacetCardProps, FacetCommonHooks, FacetDataHooks, FacetDefinition, FacetRequiredHooks, FacetResponse, FacetSortType, FacetType, FieldNameToTitleFunction, FieldToName, Fonts, FooterProps, FromToRange, FromToRangeValues, GetEnumFacetDataFunction, GetFacetCombineModeFunction, GetFacetDataFunction, GetNumericRangeFacetDataFunction, GetRangeFacetDataFunction, GetRangeFacetWithDefinedRangesDataFunction, GetTotalCountsFunction, HeaderMetadata, HeaderProps, LoginConfig, ModalsConfig, NavPageLayoutProps, NavigationProps, NumericFacetCardProps, NumericFacetProps, NumericFromTo, NumericRangeFacetHooks, NumericUnits, ProfileConfig, QueryOptions, RangeBucketElement, RangeFacetHooks, RangeFacetResponse, RangeFromOp, RangeToOp, ReactEChartsProps, RegisteredIcons, RowRenderFunctionParams, SelectFacetFilterFunction, SelectedFields$1 as SelectedFields, SessionConfiguration, SetFacetCombineModeFunction, SortType, StudyDetailsField, SummaryChart, TabbedCohortBuilderConfiguration, TabbedCohortBuilderFacetConfig, TableDetailsPanelProps, TagData, TagsConfig, TenStringArray, TopBarProps, UpdateFacetFilterFunction, UpdateFacetFilterHook, UserAuthMapping, WorkspaceConfig };