@gen3/frontend 0.11.16 → 0.11.18

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 (95) hide show
  1. package/dist/cjs/index.js +454 -299
  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/Layout/TexturedSidePanel.js +1 -1
  7. package/dist/dts/components/Layout/TexturedSidePanel.js.map +1 -1
  8. package/dist/dts/components/Protected/ProtectedContent.d.ts.map +1 -1
  9. package/dist/dts/components/Protected/ProtectedContent.js +11 -3
  10. package/dist/dts/components/Protected/ProtectedContent.js.map +1 -1
  11. package/dist/dts/components/Providers/Gen3Provider.d.ts +21 -21
  12. package/dist/dts/components/charts/utils.d.ts +16 -0
  13. package/dist/dts/components/charts/utils.d.ts.map +1 -1
  14. package/dist/dts/components/charts/utils.js +28 -1
  15. package/dist/dts/components/charts/utils.js.map +1 -1
  16. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +6 -6
  17. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +2 -1
  18. package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
  19. package/dist/dts/features/CohortBuilder/CohortBuilder.js +5 -3
  20. package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
  21. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  22. package/dist/dts/features/CohortBuilder/CohortPanel.js +24 -2
  23. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  24. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  25. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js +58 -26
  26. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  27. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts +3 -0
  28. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/types.d.ts.map +1 -1
  29. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  30. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +39 -26
  31. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  32. package/dist/dts/features/CohortBuilder/index.d.ts +1 -1
  33. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  34. package/dist/dts/features/CohortBuilder/index.js +1 -1
  35. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  36. package/dist/dts/features/CohortBuilder/types.d.ts +1 -0
  37. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  38. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  39. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts +1 -1
  40. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.d.ts.map +1 -1
  41. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js +21 -14
  42. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManager.js.map +1 -1
  43. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.d.ts.map +1 -1
  44. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js +1 -0
  45. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerMiddleware.js.map +1 -1
  46. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts +11 -10
  47. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.d.ts.map +1 -1
  48. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js +9 -5
  49. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSelectors.js.map +1 -1
  50. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts +1 -0
  51. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.d.ts.map +1 -1
  52. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js +21 -6
  53. package/dist/dts/features/CohortDiscovery/CohortManagment/CohortManagerSlice.js.map +1 -1
  54. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.d.ts.map +1 -1
  55. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js +1 -1
  56. package/dist/dts/features/CohortDiscovery/SavedCohorts/SavedCohortsTable.js.map +1 -1
  57. package/dist/dts/features/CohortDiscovery/appApi.js +1 -1
  58. package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
  59. package/dist/dts/features/CohortDiscovery/constants.d.ts +2 -0
  60. package/dist/dts/features/CohortDiscovery/constants.d.ts.map +1 -1
  61. package/dist/dts/features/CohortDiscovery/constants.js +11 -0
  62. package/dist/dts/features/CohortDiscovery/constants.js.map +1 -1
  63. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.d.ts.map +1 -1
  64. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js +4 -2
  65. package/dist/dts/features/DataLibrary/tables/SelectedItemsTable.js.map +1 -1
  66. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.d.ts.map +1 -1
  67. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js +2 -1
  68. package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js.map +1 -1
  69. package/dist/dts/features/Dictionary/metadata/types.d.ts +1 -0
  70. package/dist/dts/features/Dictionary/metadata/types.d.ts.map +1 -1
  71. package/dist/dts/features/Discovery/Discovery.d.ts.map +1 -1
  72. package/dist/dts/features/Discovery/Discovery.js +3 -2
  73. package/dist/dts/features/Discovery/Discovery.js.map +1 -1
  74. package/dist/dts/features/Discovery/types.d.ts +1 -0
  75. package/dist/dts/features/Discovery/types.d.ts.map +1 -1
  76. package/dist/dts/features/Discovery/types.js.map +1 -1
  77. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.d.ts.map +1 -1
  78. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.js +28 -1
  79. package/dist/dts/features/StaticNotebook/StaticNotebookIFrame.js.map +1 -1
  80. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.d.ts.map +1 -1
  81. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.js +7 -0
  82. package/dist/dts/features/StaticNotebook/api/staticNotebookAPI.js.map +1 -1
  83. package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
  84. package/dist/dts/lib/common/staticProps.js +11 -23
  85. package/dist/dts/lib/common/staticProps.js.map +1 -1
  86. package/dist/dts/lib/content/filesystem.js +1 -1
  87. package/dist/dts/lib/content/filesystem.js.map +1 -1
  88. package/dist/dts/pages/Explorer/Explorer.d.ts.map +1 -1
  89. package/dist/dts/pages/Explorer/Explorer.js +4 -1
  90. package/dist/dts/pages/Explorer/Explorer.js.map +1 -1
  91. package/dist/esm/index.js +454 -300
  92. package/dist/esm/index.js.map +1 -1
  93. package/dist/index.d.ts +220 -200
  94. package/dist/tsconfig.tsbuildinfo +1 -1
  95. 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;
@@ -740,6 +932,8 @@ interface ExplorerDetailsConfig {
740
932
  params?: Record<string, unknown>;
741
933
  classNames?: Record<string, string>;
742
934
  idField?: string;
935
+ dataPath?: string;
936
+ simpleDetailsView?: StudyPageConfig;
743
937
  }
744
938
 
745
939
  declare const ExplorerTableCellRendererFactory: () => RenderFactoryTypedInstance<CellRendererFunctionProps>;
@@ -853,6 +1047,7 @@ interface DropdownsWithButtonsProps extends DropdownButtonsConfig {
853
1047
  interface CohortPanelConfiguration {
854
1048
  guppyConfig: DataTypeConfigWithManifest;
855
1049
  tabTitle: string;
1050
+ tabType?: 'pills' | 'outline';
856
1051
  chartsSection?: CollapsableChartsPanelConfiguration;
857
1052
  charts?: Record<string, SummaryChart>;
858
1053
  table?: SummaryTable;
@@ -1292,183 +1487,6 @@ interface SummaryStatisticsConfig {
1292
1487
  displayFunction?: string;
1293
1488
  }
1294
1489
 
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
1490
  interface KeyValueSearchFilter {
1473
1491
  key: string;
1474
1492
  keyDisplayName?: string;
@@ -1541,6 +1559,7 @@ interface DiscoveryIndexConfig {
1541
1559
  studyField?: string;
1542
1560
  maxStudies?: number;
1543
1561
  label?: string;
1562
+ tabType?: 'pills' | 'outline';
1544
1563
  features: {
1545
1564
  advSearchFilters?: AdvancedSearchFilters;
1546
1565
  aiSearch?: boolean;
@@ -1957,6 +1976,7 @@ interface MetadataPropertiesConfiguration {
1957
1976
  schemaID: string;
1958
1977
  definitionsFieldName: string;
1959
1978
  fontSize?: string;
1979
+ tabType?: 'pills' | 'outline';
1960
1980
  }
1961
1981
 
1962
1982
  interface MetadataDictionaryProps {
@@ -2090,20 +2110,20 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
2090
2110
  black?: string | undefined;
2091
2111
  colors?: {
2092
2112
  [x: string & {}]: _mantine_core.MantineColorsTuple | undefined;
2093
- dark?: _mantine_core.MantineColorsTuple | undefined;
2094
- gray?: _mantine_core.MantineColorsTuple | undefined;
2095
- red?: _mantine_core.MantineColorsTuple | undefined;
2096
- pink?: _mantine_core.MantineColorsTuple | undefined;
2097
- grape?: _mantine_core.MantineColorsTuple | undefined;
2098
- violet?: _mantine_core.MantineColorsTuple | undefined;
2099
- indigo?: _mantine_core.MantineColorsTuple | undefined;
2100
2113
  blue?: _mantine_core.MantineColorsTuple | undefined;
2101
2114
  cyan?: _mantine_core.MantineColorsTuple | undefined;
2115
+ gray?: _mantine_core.MantineColorsTuple | undefined;
2102
2116
  green?: _mantine_core.MantineColorsTuple | undefined;
2117
+ indigo?: _mantine_core.MantineColorsTuple | undefined;
2103
2118
  lime?: _mantine_core.MantineColorsTuple | undefined;
2104
- yellow?: _mantine_core.MantineColorsTuple | undefined;
2105
2119
  orange?: _mantine_core.MantineColorsTuple | undefined;
2120
+ pink?: _mantine_core.MantineColorsTuple | undefined;
2121
+ red?: _mantine_core.MantineColorsTuple | undefined;
2106
2122
  teal?: _mantine_core.MantineColorsTuple | undefined;
2123
+ violet?: _mantine_core.MantineColorsTuple | undefined;
2124
+ yellow?: _mantine_core.MantineColorsTuple | undefined;
2125
+ dark?: _mantine_core.MantineColorsTuple | undefined;
2126
+ grape?: _mantine_core.MantineColorsTuple | undefined;
2107
2127
  } | undefined;
2108
2128
  primaryShade?: _mantine_core.MantineColorShade | {
2109
2129
  light?: _mantine_core.MantineColorShade | undefined;
@@ -2118,7 +2138,7 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
2118
2138
  headings?: {
2119
2139
  fontFamily?: string | undefined;
2120
2140
  fontWeight?: string | undefined;
2121
- textWrap?: "wrap" | "balance" | "nowrap" | "pretty" | "stable" | undefined;
2141
+ textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
2122
2142
  sizes?: {
2123
2143
  h1?: {
2124
2144
  fontSize?: string | undefined;
@@ -2155,52 +2175,52 @@ declare const createMantineTheme: (fonts: Fonts, colors: Record<string, TenStrin
2155
2175
  radius?: {
2156
2176
  [x: string & {}]: string | undefined;
2157
2177
  sm?: string | undefined;
2158
- xs?: string | undefined;
2159
2178
  md?: string | undefined;
2160
- lg?: string | undefined;
2161
2179
  xl?: string | undefined;
2180
+ xs?: string | undefined;
2181
+ lg?: string | undefined;
2162
2182
  } | undefined;
2163
2183
  defaultRadius?: _mantine_core.MantineRadius | undefined;
2164
2184
  spacing?: {
2165
2185
  [x: number]: string | undefined;
2166
2186
  [x: string & {}]: string | undefined;
2167
2187
  sm?: string | undefined;
2168
- xs?: string | undefined;
2169
2188
  md?: string | undefined;
2170
- lg?: string | undefined;
2171
2189
  xl?: string | undefined;
2190
+ xs?: string | undefined;
2191
+ lg?: string | undefined;
2172
2192
  } | undefined;
2173
2193
  fontSizes?: {
2174
2194
  [x: string & {}]: string | undefined;
2175
2195
  sm?: string | undefined;
2176
- xs?: string | undefined;
2177
2196
  md?: string | undefined;
2178
- lg?: string | undefined;
2179
2197
  xl?: string | undefined;
2198
+ xs?: string | undefined;
2199
+ lg?: string | undefined;
2180
2200
  } | undefined;
2181
2201
  lineHeights?: {
2182
2202
  [x: string & {}]: string | undefined;
2183
2203
  sm?: string | undefined;
2184
- xs?: string | undefined;
2185
2204
  md?: string | undefined;
2186
- lg?: string | undefined;
2187
2205
  xl?: string | undefined;
2206
+ xs?: string | undefined;
2207
+ lg?: string | undefined;
2188
2208
  } | undefined;
2189
2209
  breakpoints?: {
2190
2210
  [x: string & {}]: string | undefined;
2191
2211
  sm?: string | undefined;
2192
- xs?: string | undefined;
2193
2212
  md?: string | undefined;
2194
- lg?: string | undefined;
2195
2213
  xl?: string | undefined;
2214
+ xs?: string | undefined;
2215
+ lg?: string | undefined;
2196
2216
  } | undefined;
2197
2217
  shadows?: {
2198
2218
  [x: string & {}]: string | undefined;
2199
2219
  sm?: string | undefined;
2200
- xs?: string | undefined;
2201
2220
  md?: string | undefined;
2202
- lg?: string | undefined;
2203
2221
  xl?: string | undefined;
2222
+ xs?: string | undefined;
2223
+ lg?: string | undefined;
2204
2224
  } | undefined;
2205
2225
  respectReducedMotion?: boolean | undefined;
2206
2226
  cursorType?: "default" | "pointer" | undefined;
@@ -2647,5 +2667,5 @@ declare function export_default(req: NextApiRequest, res: NextApiResponse): Prom
2647
2667
 
2648
2668
  declare const staticNotebookAPI: (req: NextApiRequest, res: NextApiResponse) => Promise<void | Response>;
2649
2669
 
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 };
2670
+ 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
2671
  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 };