@gen3/frontend 0.10.75 → 0.10.77
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.
- package/dist/cjs/index.js +19 -43
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts +0 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.d.ts.map +1 -1
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js +3 -3
- package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js.map +1 -1
- package/dist/dts/components/Buttons/UploadJSONButton.d.ts.map +1 -1
- package/dist/dts/components/Buttons/UploadJSONButton.js +12 -1
- package/dist/dts/components/Buttons/UploadJSONButton.js.map +1 -1
- package/dist/dts/components/Content/TextContent.d.ts +2 -1
- package/dist/dts/components/Content/TextContent.d.ts.map +1 -1
- package/dist/dts/components/Content/TextContent.js +8 -5
- package/dist/dts/components/Content/TextContent.js.map +1 -1
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.d.ts +12 -8
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.d.ts.map +1 -1
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.js +11 -17
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.js.map +1 -1
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.unit.test.js +4 -18
- package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.unit.test.js.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.d.ts.map +1 -1
- package/dist/dts/components/Login/LoginProvidersPanel.js +8 -5
- package/dist/dts/components/Login/LoginProvidersPanel.js.map +1 -1
- package/dist/dts/components/MessageCards/ErrorCard.js +1 -1
- package/dist/dts/components/MessageCards/ErrorCard.js.map +1 -1
- package/dist/dts/components/MessageCards/WarningCard.js +1 -1
- package/dist/dts/components/MessageCards/WarningCard.js.map +1 -1
- package/dist/dts/components/MessagePanel.d.ts.map +1 -1
- package/dist/dts/components/MessagePanel.js +1 -1
- package/dist/dts/components/MessagePanel.js.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.d.ts +2 -3
- package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
- package/dist/dts/components/Providers/Gen3Provider.js +4 -8
- package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.d.ts +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.d.ts.map +1 -1
- package/dist/dts/components/Providers/ResourceMonitor.js +131 -48
- package/dist/dts/components/Providers/ResourceMonitor.js.map +1 -1
- package/dist/dts/components/charts/Charts.d.ts.map +1 -1
- package/dist/dts/components/charts/Charts.js +4 -3
- package/dist/dts/components/charts/Charts.js.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.d.ts.map +1 -1
- package/dist/dts/components/charts/echarts/BarChart.js +4 -28
- package/dist/dts/components/charts/echarts/BarChart.js.map +1 -1
- package/dist/dts/components/facets/RangeFacet.d.ts.map +1 -1
- package/dist/dts/components/facets/RangeFacet.js +1 -3
- package/dist/dts/components/facets/RangeFacet.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts +0 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortBuilder.js +1 -13
- package/dist/dts/features/CohortBuilder/CohortBuilder.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortManager.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortManager.js +17 -0
- package/dist/dts/features/CohortBuilder/CohortManager.js.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortPanel.js +2 -3
- package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts +3 -0
- package/dist/dts/features/CohortBuilder/CohortSelector.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/CohortSelector.js +18 -0
- package/dist/dts/features/CohortBuilder/CohortSelector.js.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpression/QueryExpressionSection.d.ts → QueryExpressionSection.d.ts} +4 -1
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpression/QueryExpressionSection.js → QueryExpressionSection.js} +28 -36
- package/dist/dts/features/CohortBuilder/QueryExpressionSection.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpressionsExpandedContext.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryExpressionsExpandedContext.js.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpression/QueryRepresentation.d.ts → QueryRepresentation.d.ts} +1 -1
- package/dist/dts/features/CohortBuilder/QueryRepresentation.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/{QueryExpression/QueryRepresentation.js → QueryRepresentation.js} +30 -23
- package/dist/dts/features/CohortBuilder/QueryRepresentation.js.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryRepresentationLabel.d.ts.map +1 -0
- package/dist/dts/features/CohortBuilder/QueryRepresentationLabel.js.map +1 -0
- package/dist/dts/features/CohortBuilder/hooks.d.ts +0 -1
- package/dist/dts/features/CohortBuilder/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/hooks.js +1 -52
- package/dist/dts/features/CohortBuilder/hooks.js.map +1 -1
- package/dist/dts/features/CohortBuilder/style.d.ts +0 -6
- package/dist/dts/features/CohortBuilder/style.d.ts.map +1 -1
- package/dist/dts/features/CohortBuilder/style.js +0 -11
- package/dist/dts/features/CohortBuilder/style.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js +4 -6
- package/dist/dts/features/CohortDiscovery/ChartsAndFacetsPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/IndexPanel.js +3 -5
- package/dist/dts/features/CohortDiscovery/IndexPanel.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.d.ts +0 -2
- package/dist/dts/features/CohortDiscovery/appApi.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/appApi.js +0 -2
- package/dist/dts/features/CohortDiscovery/appApi.js.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.d.ts +0 -10
- package/dist/dts/features/CohortDiscovery/hooks.d.ts.map +1 -1
- package/dist/dts/features/CohortDiscovery/hooks.js +1 -38
- package/dist/dts/features/CohortDiscovery/hooks.js.map +1 -1
- package/dist/dts/features/CohortDiversity/diversityApi.d.ts +12 -12
- package/dist/dts/features/Crosswalk/CrosswalkPanel.d.ts +1 -1
- package/dist/dts/features/Crosswalk/CrosswalkPanel.d.ts.map +1 -1
- package/dist/dts/features/Crosswalk/CrosswalkPanel.js +11 -11
- package/dist/dts/features/Crosswalk/CrosswalkPanel.js.map +1 -1
- package/dist/dts/features/Crosswalk/types.d.ts +1 -0
- package/dist/dts/features/Crosswalk/types.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/QueryDetails.js +2 -2
- package/dist/dts/features/DataLibrary/QueryDetails.js.map +1 -1
- package/dist/dts/features/Dictionary/Dictionary.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/Dictionary.js +1 -0
- package/dist/dts/features/Dictionary/Dictionary.js.map +1 -1
- package/dist/dts/features/Dictionary/index.d.ts +3 -1
- package/dist/dts/features/Dictionary/index.d.ts.map +1 -1
- package/dist/dts/features/Dictionary/index.js +3 -1
- package/dist/dts/features/Dictionary/index.js.map +1 -1
- package/dist/dts/features/Dictionary/metadata/MetadataDictionary.d.ts +7 -0
- package/dist/dts/features/Dictionary/metadata/MetadataDictionary.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js +39 -0
- package/dist/dts/features/Dictionary/metadata/MetadataDictionary.js.map +1 -0
- package/dist/dts/features/Dictionary/metadata/MetadataPropertiesTable.d.ts +9 -0
- package/dist/dts/features/Dictionary/metadata/MetadataPropertiesTable.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/metadata/MetadataPropertiesTable.js +113 -0
- package/dist/dts/features/Dictionary/metadata/MetadataPropertiesTable.js.map +1 -0
- package/dist/dts/features/Dictionary/metadata/registerApp.d.ts +3 -0
- package/dist/dts/features/Dictionary/metadata/registerApp.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/metadata/registerApp.js +13 -0
- package/dist/dts/features/Dictionary/metadata/registerApp.js.map +1 -0
- package/dist/dts/features/Dictionary/metadata/types.d.ts +17 -0
- package/dist/dts/features/Dictionary/metadata/types.d.ts.map +1 -0
- package/dist/dts/features/Dictionary/metadata/types.js +2 -0
- package/dist/dts/features/Dictionary/metadata/types.js.map +1 -0
- package/dist/dts/features/Navigation/TopBar.d.ts.map +1 -1
- package/dist/dts/features/Navigation/TopBar.js +4 -3
- package/dist/dts/features/Navigation/TopBar.js.map +1 -1
- package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.d.ts.map +1 -1
- package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.js +1 -1
- package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.js.map +1 -1
- package/dist/dts/features/Workspace/NotebookCard.d.ts.map +1 -1
- package/dist/dts/features/Workspace/NotebookCard.js +30 -8
- package/dist/dts/features/Workspace/NotebookCard.js.map +1 -1
- package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.d.ts.map +1 -1
- package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.js +3 -4
- package/dist/dts/features/Workspace/PaymentPanel/PaymentPanel.js.map +1 -1
- package/dist/dts/features/Workspace/StatusAndControls.d.ts.map +1 -1
- package/dist/dts/features/Workspace/StatusAndControls.js +3 -4
- package/dist/dts/features/Workspace/StatusAndControls.js.map +1 -1
- package/dist/dts/features/Workspace/Workspace.d.ts.map +1 -1
- package/dist/dts/features/Workspace/Workspace.js +0 -1
- package/dist/dts/features/Workspace/Workspace.js.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.js +4 -1
- package/dist/dts/features/Workspace/WorkspaceNotebookPanelWithControls.js.map +1 -1
- package/dist/dts/features/Workspace/WorkspacePanel.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspacePanel.js +10 -9
- package/dist/dts/features/Workspace/WorkspacePanel.js.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceProvider.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceProvider.js +1 -0
- package/dist/dts/features/Workspace/WorkspaceProvider.js.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceStatusProvider.d.ts +2 -1
- package/dist/dts/features/Workspace/WorkspaceStatusProvider.d.ts.map +1 -1
- package/dist/dts/features/Workspace/WorkspaceStatusProvider.js +56 -27
- package/dist/dts/features/Workspace/WorkspaceStatusProvider.js.map +1 -1
- package/dist/dts/features/Workspace/types.d.ts +10 -0
- package/dist/dts/features/Workspace/types.d.ts.map +1 -1
- package/dist/dts/features/Workspace/types.js +10 -1
- package/dist/dts/features/Workspace/types.js.map +1 -1
- package/dist/dts/index.d.ts +3 -2
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.js +3 -2
- package/dist/dts/index.js.map +1 -1
- package/dist/dts/lib/session/session.d.ts.map +1 -1
- package/dist/dts/lib/session/session.js +7 -7
- package/dist/dts/lib/session/session.js.map +1 -1
- package/dist/dts/pages/Crosswalk/data.d.ts +2 -3
- package/dist/dts/pages/Crosswalk/data.d.ts.map +1 -1
- package/dist/dts/pages/Crosswalk/data.js +27 -11
- package/dist/dts/pages/Crosswalk/data.js.map +1 -1
- package/dist/dts/pages/Theme/index.d.ts.map +1 -1
- package/dist/dts/utils/date.d.ts +0 -6
- package/dist/dts/utils/date.d.ts.map +1 -1
- package/dist/dts/utils/date.js +0 -12
- package/dist/dts/utils/date.js.map +1 -1
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/index.js +1 -0
- package/dist/dts/utils/index.js.map +1 -1
- package/dist/dts/utils/time.d.ts +15 -0
- package/dist/dts/utils/time.d.ts.map +1 -1
- package/dist/dts/utils/time.js +105 -0
- package/dist/dts/utils/time.js.map +1 -1
- package/dist/esm/index.js +19 -43
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +46 -15
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/dts/components/CountButton/CountButton.d.ts +0 -19
- package/dist/dts/components/CountButton/CountButton.d.ts.map +0 -1
- package/dist/dts/components/CountButton/CountButton.js +0 -18
- package/dist/dts/components/CountButton/CountButton.js.map +0 -1
- package/dist/dts/components/ErrorMessage.d.ts +0 -6
- package/dist/dts/components/ErrorMessage.d.ts.map +0 -1
- package/dist/dts/components/ErrorMessage.js +0 -8
- package/dist/dts/components/ErrorMessage.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts +0 -10
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js +0 -53
- package/dist/dts/features/CohortBuilder/CohortManager/CohortActions.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +0 -7
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +0 -38
- package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts +0 -13
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js +0 -56
- package/dist/dts/features/CohortBuilder/CohortManager/CohortSelector.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/cohortUtils.d.ts +0 -4
- package/dist/dts/features/CohortBuilder/CohortManager/cohortUtils.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/cohortUtils.js +0 -22
- package/dist/dts/features/CohortBuilder/CohortManager/cohortUtils.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js +0 -320
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveCohortModal.js.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts +0 -29
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js +0 -85
- package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveOrCreateEntityModal.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts +0 -6
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js +0 -55
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts +0 -13
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js +0 -41
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionContext.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionSection.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionsExpandedContext.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpressionsExpandedContext.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentation.js.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentationLabel.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/QueryExpression/QueryRepresentationLabel.js.map +0 -1
- package/dist/dts/features/CohortBuilder/cohortUtils.d.ts +0 -4
- package/dist/dts/features/CohortBuilder/cohortUtils.d.ts.map +0 -1
- package/dist/dts/features/CohortBuilder/cohortUtils.js +0 -23
- package/dist/dts/features/CohortBuilder/cohortUtils.js.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortManager.d.ts.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortManager.js +0 -57
- package/dist/dts/features/CohortDiscovery/CohortManager.js.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts +0 -23
- package/dist/dts/features/CohortDiscovery/CohortSelectors.d.ts.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js +0 -35
- package/dist/dts/features/CohortDiscovery/CohortSelectors.js.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts +0 -91
- package/dist/dts/features/CohortDiscovery/CohortSlice.d.ts.map +0 -1
- package/dist/dts/features/CohortDiscovery/CohortSlice.js +0 -93
- package/dist/dts/features/CohortDiscovery/CohortSlice.js.map +0 -1
- package/dist/dts/utils/icons.d.ts +0 -18
- package/dist/dts/utils/icons.d.ts.map +0 -1
- package/dist/dts/utils/icons.js +0 -18
- package/dist/dts/utils/icons.js.map +0 -1
- /package/dist/dts/features/{CohortDiscovery → CohortBuilder}/CohortManager.d.ts +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryExpression/QueryExpressionsExpandedContext.d.ts → QueryExpressionsExpandedContext.d.ts} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryExpression/QueryExpressionsExpandedContext.js → QueryExpressionsExpandedContext.js} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryExpression/QueryRepresentationLabel.d.ts → QueryRepresentationLabel.d.ts} +0 -0
- /package/dist/dts/features/CohortBuilder/{QueryExpression/QueryRepresentationLabel.js → QueryRepresentationLabel.js} +0 -0
|
@@ -5,7 +5,6 @@ declare const reducers: import("redux").Reducer<{
|
|
|
5
5
|
filtersExpandedState: {
|
|
6
6
|
[x: string]: boolean;
|
|
7
7
|
};
|
|
8
|
-
cohorts: import("./CohortSlice").CohortState;
|
|
9
8
|
}, import("redux").UnknownAction, Partial<{
|
|
10
9
|
selectedIndexFacets: {
|
|
11
10
|
[x: string]: string[];
|
|
@@ -13,7 +12,6 @@ declare const reducers: import("redux").Reducer<{
|
|
|
13
12
|
filtersExpandedState: {
|
|
14
13
|
[x: string]: boolean;
|
|
15
14
|
} | undefined;
|
|
16
|
-
cohorts: import("./CohortSlice").CohortState | undefined;
|
|
17
15
|
}>>;
|
|
18
16
|
export declare const id: any, AppStore: any, AppContext: any, useAppSelector: any, useAppDispatch: any;
|
|
19
17
|
export type AppState = ReturnType<typeof reducers>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"appApi.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":"AAoBA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;GAGZ,CAAC;AAEH,eAAO,MAAQ,EAAE,OAAE,QAAQ,OAAE,UAAU,OAAE,cAAc,OAAE,cAAc,KAKnE,CAAC;AAEL,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -5,7 +5,6 @@ import storage from 'redux-persist/lib/storage';
|
|
|
5
5
|
import { createAppStore } from '@gen3/core';
|
|
6
6
|
import { filtersExpandedReducer } from './FilterExpandSlice';
|
|
7
7
|
import { selectedFacetsReducer } from './SelectedFacetsSlice';
|
|
8
|
-
import { cohortReducer } from './CohortSlice';
|
|
9
8
|
var _APP_NAME = 'CohortDiscovery';
|
|
10
9
|
var persistConfig = {
|
|
11
10
|
key: _APP_NAME,
|
|
@@ -19,7 +18,6 @@ var persistConfig = {
|
|
|
19
18
|
var reducers = combineReducers({
|
|
20
19
|
selectedIndexFacets: selectedFacetsReducer,
|
|
21
20
|
filtersExpandedState: filtersExpandedReducer,
|
|
22
|
-
cohorts: cohortReducer,
|
|
23
21
|
});
|
|
24
22
|
export var id = (_a = createAppStore({
|
|
25
23
|
reducers: persistReducer(persistConfig, reducers),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"appApi.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/appApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,IAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,IAAM,aAAa,GAAG;IACpB,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,CAAC;IACV,OAAO,SAAA;IACP,SAAS,EAAE,CAAC,mBAAmB,CAAC;CACjC,CAAC;AAEF,gEAAgE;AAChE,oEAAoE;AACpE,2CAA2C;AAE3C,IAAM,QAAQ,GAAG,eAAe,CAAC;IAC/B,mBAAmB,EAAE,qBAAqB;IAC1C,oBAAoB,EAAE,sBAAsB;CAC7C,CAAC,CAAC;AAEH,MAAM,CAAS,IAAA,EAAE,IAAJ,KACX,cAAc,CAAC;IACb,QAAQ,EAAE,cAAc,CAAC,aAAa,EAAE,QAAQ,CAAC;IACjD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;CACjB,CAAC,QALa,EAAE,QAAQ,cAAA,EAAE,UAAU,gBAAA,EAAE,cAAc,oBAAA,EAAE,cAAc,oBAAA,CAKlE"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import { FilterSet, Operation } from '@gen3/core';
|
|
2
1
|
export declare const useToggleExpandFilter: () => (field: string, expanded: boolean) => void;
|
|
3
2
|
export declare const useFilterExpandedState: (field: string) => any;
|
|
4
3
|
export declare const useAllFiltersCollapsed: () => any;
|
|
5
|
-
export declare const useCohortFacetFilters: (index: string) => FilterSet;
|
|
6
|
-
export declare const useClearFilters: (index: string) => (field: string) => void;
|
|
7
|
-
/**
|
|
8
|
-
* Update Guppy filters: process nested fields and have the final
|
|
9
|
-
* leaf be filtered
|
|
10
|
-
* @param index
|
|
11
|
-
*/
|
|
12
|
-
export declare const useUpdateFilters: (index: string) => (field: string, filter: Operation) => void;
|
|
13
|
-
export declare const useGetFacetFilters: (index: string, field: string) => Operation;
|
|
14
4
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAQA,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,qBAAqB,gBAEjB,MAAM,YAAY,OAAO,SAGzC,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAW,MAAM,QAInD,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAElC,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { useAppDispatch, useAppSelector } from './appApi';
|
|
2
|
-
import {
|
|
3
|
-
import { removeCohortFilter, updateCohortFilter } from './CohortSlice';
|
|
4
|
-
import { buildNested } from '../../components/facets';
|
|
5
|
-
import { selectIndexedFilterByName, selectCohortFilters, } from './CohortSelectors';
|
|
2
|
+
import { selectFilterExpanded, selectAllFiltersCollapsed, toggleCategoryFilter, } from './FilterExpandSlice';
|
|
6
3
|
export var useToggleExpandFilter = function () {
|
|
7
4
|
var dispatch = useAppDispatch();
|
|
8
5
|
return function (field, expanded) {
|
|
@@ -17,38 +14,4 @@ export var useFilterExpandedState = function (field) {
|
|
|
17
14
|
export var useAllFiltersCollapsed = function () {
|
|
18
15
|
return useAppSelector(function (state) { return selectAllFiltersCollapsed(state); });
|
|
19
16
|
};
|
|
20
|
-
export var useCohortFacetFilters = function (index) {
|
|
21
|
-
return useAppSelector(function (state) { return selectCohortFilters(state)[index]; });
|
|
22
|
-
};
|
|
23
|
-
export var useClearFilters = function (index) {
|
|
24
|
-
var dispatch = useAppDispatch();
|
|
25
|
-
return function (field) {
|
|
26
|
-
dispatch(removeCohortFilter({ index: index, field: field }));
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Update Guppy filters: process nested fields and have the final
|
|
31
|
-
* leaf be filtered
|
|
32
|
-
* @param index
|
|
33
|
-
*/
|
|
34
|
-
export var useUpdateFilters = function (index) {
|
|
35
|
-
var dispatch = useAppDispatch();
|
|
36
|
-
// update the filter for this facet
|
|
37
|
-
return function (field, filter) {
|
|
38
|
-
dispatch(updateCohortFilter({
|
|
39
|
-
index: index,
|
|
40
|
-
field: field,
|
|
41
|
-
filter: buildNested(field, filter),
|
|
42
|
-
}));
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export var useGetFacetFilters = function (index, field) {
|
|
46
|
-
return useAppSelector(function (state) {
|
|
47
|
-
var _a;
|
|
48
|
-
return (_a = selectIndexedFilterByName(state, index, field)) !== null && _a !== void 0 ? _a : {
|
|
49
|
-
operator: 'and',
|
|
50
|
-
operands: [],
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
17
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/features/CohortDiscovery/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACnC,IAAM,QAAQ,GAAG,cAAc,EAAE,CAAC;IAClC,OAAO,UAAC,KAAa,EAAE,QAAiB;QACtC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,KAAK,OAAA,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,KAAa;IAClD,OAAO,cAAc,CAAC,UAAC,KAAe;QACpC,OAAA,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC;IAAlC,CAAkC,CACnC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACpC,OAAO,cAAc,CAAC,UAAC,KAAe,IAAK,OAAA,yBAAyB,CAAC,KAAK,CAAC,EAAhC,CAAgC,CAAC,CAAC;AAC/E,CAAC,CAAC"}
|
|
@@ -7,13 +7,13 @@ export declare const diversityDataApi: import("@reduxjs/toolkit/query").Api<impo
|
|
|
7
7
|
}, string, never, keyof import("@reduxjs/toolkit/query").ApiModules<any, any, any, any>>;
|
|
8
8
|
export declare const useGetDatasetQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
9
9
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
10
|
-
originalArgs?: undefined;
|
|
11
|
-
data?: undefined;
|
|
12
|
-
error?: undefined;
|
|
13
|
-
requestId?: undefined;
|
|
10
|
+
originalArgs?: undefined | undefined;
|
|
11
|
+
data?: undefined | undefined;
|
|
12
|
+
error?: undefined | undefined;
|
|
13
|
+
requestId?: undefined | undefined;
|
|
14
14
|
endpointName?: string | undefined;
|
|
15
|
-
startedTimeStamp?: undefined;
|
|
16
|
-
fulfilledTimeStamp?: undefined;
|
|
15
|
+
startedTimeStamp?: undefined | undefined;
|
|
16
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
currentData?: AggregationsData | undefined;
|
|
19
19
|
isUninitialized: false;
|
|
@@ -74,13 +74,13 @@ export declare const useGetDatasetQuery: <R extends Record<string, any> = import
|
|
|
74
74
|
skip?: boolean;
|
|
75
75
|
selectFromResult?: ((state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
76
76
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
77
|
-
originalArgs?: undefined;
|
|
78
|
-
data?: undefined;
|
|
79
|
-
error?: undefined;
|
|
80
|
-
requestId?: undefined;
|
|
77
|
+
originalArgs?: undefined | undefined;
|
|
78
|
+
data?: undefined | undefined;
|
|
79
|
+
error?: undefined | undefined;
|
|
80
|
+
requestId?: undefined | undefined;
|
|
81
81
|
endpointName?: string | undefined;
|
|
82
|
-
startedTimeStamp?: undefined;
|
|
83
|
-
fulfilledTimeStamp?: undefined;
|
|
82
|
+
startedTimeStamp?: undefined | undefined;
|
|
83
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
84
84
|
} & {
|
|
85
85
|
currentData?: AggregationsData | undefined;
|
|
86
86
|
isUninitialized: false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CrosswalkConfig } from './types';
|
|
2
|
-
declare const CrosswalkPanel: ({ mapping, showSubmittedIdInTable, }: CrosswalkConfig) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CrosswalkPanel: ({ mapping, showSubmittedIdInTable, idEntryPlaceholderText, }: CrosswalkConfig) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CrosswalkPanel;
|
|
4
4
|
//# sourceMappingURL=CrosswalkPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrosswalkPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/Crosswalk/CrosswalkPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,SAAS,CAAC;AAuCjE,QAAA,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"CrosswalkPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/Crosswalk/CrosswalkPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,SAAS,CAAC;AAuCjE,QAAA,MAAM,cAAc,iEAIjB,eAAe,4CAmJjB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -9,11 +9,11 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
9
9
|
};
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from 'react';
|
|
12
|
-
import { Group, Stack, Button, Textarea } from '@mantine/core';
|
|
12
|
+
import { Group, Stack, Button, Textarea, Tooltip } from '@mantine/core';
|
|
13
13
|
import { useClipboard } from '@mantine/hooks';
|
|
14
14
|
import { useLazyGetCrosswalkDataQuery } from '@gen3/core';
|
|
15
15
|
import CrosswalkTable from './CrosswalkTable';
|
|
16
|
-
var MIN_ROWS =
|
|
16
|
+
var MIN_ROWS = 22;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
@@ -41,7 +41,7 @@ var downloadData = function (data) {
|
|
|
41
41
|
document.body.removeChild(link);
|
|
42
42
|
};
|
|
43
43
|
var CrosswalkPanel = function (_a) {
|
|
44
|
-
var mapping = _a.mapping, showSubmittedIdInTable = _a.showSubmittedIdInTable;
|
|
44
|
+
var mapping = _a.mapping, showSubmittedIdInTable = _a.showSubmittedIdInTable, idEntryPlaceholderText = _a.idEntryPlaceholderText;
|
|
45
45
|
var _b = useState(''), query = _b[0], setQuery = _b[1];
|
|
46
46
|
var _c = useState(''), sourceIds = _c[0], setSourceIds = _c[1];
|
|
47
47
|
var clipboard = useClipboard({ timeout: 500 });
|
|
@@ -83,18 +83,18 @@ var CrosswalkPanel = function (_a) {
|
|
|
83
83
|
var updateIdQuery = function (values) {
|
|
84
84
|
setSourceIds(values);
|
|
85
85
|
};
|
|
86
|
-
return (_jsxs(Group, { wrap:
|
|
86
|
+
return (_jsxs(Group, { wrap: "nowrap", className: "w-full items-start justify-start bg-base-lightest", align: "stretch", children: [_jsxs(Stack, { align: "stretch", justify: "flex-start", className: "p-2 w-1/4 h-full", children: [_jsxs(Group, { wrap: "nowrap", children: [_jsx(Tooltip, { label: "Submit IDs to crosswalk service", children: _jsx(Button, { size: "md", color: "secondary.4", disabled: sourceIds.length == 0, onClick: function () { return onSubmit(); }, children: "Submit" }) }), _jsx(Tooltip, { label: "Clear all Ids", children: _jsx(Button, { size: "md", color: "secondary.4", disabled: sourceIds.length == 0, onClick: function () { return clear(); }, children: "Clear" }) })] }), _jsx(Textarea, { placeholder: idEntryPlaceholderText, radius: "md", size: "md", required: true, value: sourceIds, minRows: MIN_ROWS, onChange: function (event) { return updateIdQuery(event.currentTarget.value); }, classNames: {
|
|
87
87
|
root: 'h-full',
|
|
88
88
|
wrapper: 'h-full',
|
|
89
89
|
}, styles: {
|
|
90
90
|
input: { height: '100%' },
|
|
91
|
-
} })] }), _jsxs(Stack, { align: "stretch", justify: "flex-start", className: "w-full p-2 border-0", children: [_jsxs(Group, { justify: "flex-end", children: [_jsx(Button, { variant: "outline", size: "md", color: clipboard.copied ? 'accent.4' : 'accent-warm.4', onClick: function () {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
} })] }), _jsxs(Stack, { align: "stretch", justify: "flex-start", className: "w-full p-2 border-0", children: [_jsxs(Group, { justify: "flex-end", children: [_jsx(Tooltip, { label: "Copy mapping to clipboard", children: _jsx(Button, { variant: "outline", size: "md", color: clipboard.copied ? 'accent.4' : 'accent-warm.4', onClick: function () {
|
|
92
|
+
if (data)
|
|
93
|
+
clipboard.copy(buildCSVData(data, mapping, showSubmittedIdInTable));
|
|
94
|
+
}, disabled: !data || data.length == 0, children: "Copy" }) }), _jsx(Tooltip, { label: "Download mapping", children: _jsx(Button, { variant: "outline", size: "md", onClick: function () {
|
|
95
|
+
if (data)
|
|
96
|
+
downloadData(buildCSVData(data, mapping, showSubmittedIdInTable));
|
|
97
|
+
}, disabled: !data || data.length == 0, children: "Download" }) })] }), _jsx(CrosswalkTable, { mapping: mapping, data: data !== null && data !== void 0 ? data : [], isFetching: isFetching, isSuccess: isSuccess, isError: isError, tableMessage: tableMessage, showSubmittedIdInTable: showSubmittedIdInTable !== null && showSubmittedIdInTable !== void 0 ? showSubmittedIdInTable : false })] })] }));
|
|
98
98
|
};
|
|
99
99
|
export default CrosswalkPanel;
|
|
100
100
|
//# sourceMappingURL=CrosswalkPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrosswalkPanel.js","sourceRoot":"","sources":["../../../../src/features/Crosswalk/CrosswalkPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"CrosswalkPanel.js","sourceRoot":"","sources":["../../../../src/features/Crosswalk/CrosswalkPanel.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,4BAA4B,EAAiB,MAAM,YAAY,CAAC;AAEzE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,IAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;GAEG;AACH,IAAM,YAAY,GAAG,UACnB,IAA0B,EAC1B,OAAyB,EACzB,eAAyB;IAEzB,IAAM,OAAO,GAAG;QACd,iBAAiB;QACjB,eAAe;YACb,CAAC,CAAC,UAAG,OAAO,CAAC,MAAM,CAAC,KAAK,cAAI,OAAO,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ACpD,CAAC;oCACN,CAAC,EACD,QAAQ,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,yBAG5B,GACD,IACJ,EACR,KAAC,cAAc,IACb,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,EAChB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,YAAY,EAC1B,sBAAsB,EAAE,sBAAsB,aAAtB,sBAAsB,cAAtB,sBAAsB,GAAI,KAAK,GACvD,IACI,IACF,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/Crosswalk/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,aAAc,SAAQ,aAAa;IAC3C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/Crosswalk/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,aAAc,SAAQ,aAAa;IAC3C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryDetails.d.ts","sourceRoot":"","sources":["../../../../src/features/DataLibrary/QueryDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAe,MAAM,YAAY,CAAC;AAmBrD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"QueryDetails.d.ts","sourceRoot":"","sources":["../../../../src/features/DataLibrary/QueryDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAe,MAAM,YAAY,CAAC;AAmBrD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAuCtC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { isFilterSet } from '@gen3/core';
|
|
3
3
|
import { Group, Text } from '@mantine/core';
|
|
4
4
|
import { ErrorCard } from '../../components/MessageCards';
|
|
5
|
-
import QueryExpressionSection from '../CohortBuilder/
|
|
5
|
+
import QueryExpressionSection from '../CohortBuilder/QueryExpressionSection';
|
|
6
6
|
var LabeledText = function (_a) {
|
|
7
7
|
var label = _a.label, text = _a.text;
|
|
8
8
|
return (_jsxs("div", { className: "flex p-1 space-x-2", children: [_jsxs(Text, { fw: 600, children: [label, ":"] }), _jsxs(Text, { fw: 400, children: [" ", text] })] }));
|
|
@@ -14,7 +14,7 @@ var QueryDetails = function (_a) {
|
|
|
14
14
|
}
|
|
15
15
|
return (_jsxs("div", { className: "flex flex-col", children: [_jsxs(Group, { classNames: {
|
|
16
16
|
root: 'p-2 bg-base-lighter rounded-t-lg border-2 border-b-0 border-base-light',
|
|
17
|
-
}, children: [_jsx(Text, { fw: 700, children: name }), _jsx(LabeledText, { label: "Index:", text: index }), _jsx(LabeledText, { label: "Schema Version:", text: schemaVersion }), _jsx(LabeledText, { label: "ID:", text: id })] }), _jsx("div", { className: "p-2 overflow-scroll w-full bg-base-lighter rounded-b-lg border-2 border-t-0 border-base-light", children: isFilterSet(data) ? (_jsx(QueryExpressionSection, { index: index, displayOnly: true, showTitle: false })) : (_jsx(Text, { fw: 400, children: JSON.stringify(data, null, 2) })) })] }));
|
|
17
|
+
}, children: [_jsx(Text, { fw: 700, children: name }), _jsx(LabeledText, { label: "Index:", text: index }), _jsx(LabeledText, { label: "Schema Version:", text: schemaVersion }), _jsx(LabeledText, { label: "ID:", text: id })] }), _jsx("div", { className: "p-2 overflow-scroll w-full bg-base-lighter rounded-b-lg border-2 border-t-0 border-base-light", children: isFilterSet(data) ? (_jsx(QueryExpressionSection, { currentCohortId: id, index: index, currentCohortName: name, filters: data, displayOnly: true, showTitle: false })) : (_jsx(Text, { fw: 400, children: JSON.stringify(data, null, 2) })) })] }));
|
|
18
18
|
};
|
|
19
19
|
export default QueryDetails;
|
|
20
20
|
//# sourceMappingURL=QueryDetails.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryDetails.js","sourceRoot":"","sources":["../../../../src/features/DataLibrary/QueryDetails.tsx"],"names":[],"mappings":";AACA,OAAO,EAAc,WAAW,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,+BA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E,EAAE,GAAI,IAC/B,EACR,cAAK,SAAS,EAAC,+FAA+F,YAC3G,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACnB,KAAC,sBAAsB,IACrB,eAAe,EAAE,EAAE,EACnB,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,IAAI,EACvB,OAAO,EAAE,IAAI,EACb,WAAW,EAAE,IAAI,EACjB,SAAS,EAAE,KAAK,GACQ,CAC3B,CAAC,CAAC,CAAC,CACF,KAAC,IAAI,IAAC,EAAE,EAAE,GAAG,YAAG,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,GAAQ,CACtD,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dictionary.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/Dictionary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;;
|
|
1
|
+
{"version":3,"file":"Dictionary.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/Dictionary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;;AA0ErD,wBAAsC"}
|
|
@@ -17,6 +17,7 @@ var Dictionary = function () {
|
|
|
17
17
|
setSelectedId(function () { return SearchPathToPropertyIdString(item); });
|
|
18
18
|
}, []);
|
|
19
19
|
var scrollToSelection = useCallback(function (itemRef) {
|
|
20
|
+
// @ts-expect-error need to refactor this
|
|
20
21
|
targetRef.current = itemRef;
|
|
21
22
|
scrollIntoView();
|
|
22
23
|
}, [scrollIntoView, targetRef]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dictionary.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/Dictionary.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,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AAE,aAAa,YAElB,cAAK,SAAS,EAAC,QAAQ,YACpB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM;wBAC7B,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,UAAC,QAAQ,IAAK,OAAA,CACxC,KAAC,aAAa,IAEZ,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,iBAAiB,IAH/B,QAAQ,CAIb,CACH,EAPyC,CAOzC,CAAC,GACA,GACF,IACL,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { type DataDictionary, type DictionaryNode, type DictionaryProps } from './types';
|
|
2
2
|
import DictionaryWithContext from './DictionaryWithContext';
|
|
3
|
-
|
|
3
|
+
import MetadataDictionary from './metadata/MetadataDictionary';
|
|
4
|
+
import { registerMetadataSchemaApp } from './metadata/registerApp';
|
|
5
|
+
export { type DataDictionary, type DictionaryNode, type DictionaryProps, DictionaryWithContext, MetadataDictionary, registerMetadataSchemaApp, };
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACrB,MAAM,SAAS,CAAC;AACjB,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/Dictionary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACrB,MAAM,SAAS,CAAC;AACjB,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import DictionaryWithContext from './DictionaryWithContext';
|
|
2
|
-
|
|
2
|
+
import MetadataDictionary from './metadata/MetadataDictionary';
|
|
3
|
+
import { registerMetadataSchemaApp } from './metadata/registerApp';
|
|
4
|
+
export { DictionaryWithContext, MetadataDictionary, registerMetadataSchemaApp, };
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/index.ts"],"names":[],"mappings":"AAKA,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/Dictionary/index.ts"],"names":[],"mappings":"AAKA,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAIL,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MetadataPropertiesConfiguration } from './types';
|
|
2
|
+
export interface MetadataDictionaryProps {
|
|
3
|
+
schemas: Array<MetadataPropertiesConfiguration>;
|
|
4
|
+
}
|
|
5
|
+
declare const MetadataDictionary: ({ schemas }: MetadataDictionaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default MetadataDictionary;
|
|
7
|
+
//# sourceMappingURL=MetadataDictionary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetadataDictionary.d.ts","sourceRoot":"","sources":["../../../../../src/features/Dictionary/metadata/MetadataDictionary.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAmB,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAyF3E,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CACjD;AACD,QAAA,MAAM,kBAAkB,gBAAiB,uBAAuB,4CAoC/D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Center, Group, Loader, Stack, Tabs, Text } from '@mantine/core';
|
|
3
|
+
import { useGetMetadataByIdQuery } from '@gen3/core';
|
|
4
|
+
import MetadataPropertiesTable from './MetadataPropertiesTable';
|
|
5
|
+
import { ErrorCard } from '../../../components/MessageCards';
|
|
6
|
+
var isMetadataSchema = function (obj, definitionsFieldName) {
|
|
7
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
var record = obj;
|
|
11
|
+
return (typeof record.url === 'string' &&
|
|
12
|
+
typeof record.version === 'string' &&
|
|
13
|
+
typeof record.date === 'string' &&
|
|
14
|
+
definitionsFieldName in record &&
|
|
15
|
+
typeof record[definitionsFieldName] === 'object');
|
|
16
|
+
};
|
|
17
|
+
var MetadataSchemaPanel = function (_a) {
|
|
18
|
+
var label = _a.label, schemaID = _a.schemaID, definitionsFieldName = _a.definitionsFieldName, _b = _a.fontSize, fontSize = _b === void 0 ? 'sm' : _b;
|
|
19
|
+
var _c = useGetMetadataByIdQuery(schemaID), data = _c.data, isLoading = _c.isLoading, isError = _c.isError;
|
|
20
|
+
if (isLoading) {
|
|
21
|
+
return (_jsx(Center, { className: "mt-10", children: _jsx(Loader, {}) }));
|
|
22
|
+
}
|
|
23
|
+
if (isError) {
|
|
24
|
+
return (_jsx(ErrorCard, { message: "There was a error getting the Metadata schema" }));
|
|
25
|
+
}
|
|
26
|
+
if (isMetadataSchema(data, definitionsFieldName)) {
|
|
27
|
+
var elements = data[definitionsFieldName];
|
|
28
|
+
return (_jsx("div", { className: "w-full m-2 bg-base-lightest", children: _jsxs(Stack, { children: [_jsxs(Group, { justify: "space-between", className: "px-4 mt-3", children: [_jsx(Text, { fw: 600, size: fontSize, c: "base-contrast[0]", children: label }), _jsxs(Group, { children: [_jsxs(Group, { children: [_jsx(Text, { fw: 600, size: fontSize, c: "base-contrast[0]", children: "Version:" }), _jsx(Text, { c: "base-contrast[0]", size: fontSize, children: data.version })] }), _jsxs(Group, { children: [_jsx(Text, { fw: 600, size: fontSize, c: "base-contrast[0]", children: "Date:" }), _jsx(Text, { size: fontSize, c: "base-contrast[0]", children: data.date })] })] })] }), _jsx(MetadataPropertiesTable, { elements: elements, fontSize: fontSize })] }) }));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var MetadataDictionary = function (_a) {
|
|
32
|
+
var schemas = _a.schemas;
|
|
33
|
+
if (schemas.length === 1) {
|
|
34
|
+
return (_jsx(MetadataSchemaPanel, { label: schemas[0].label, schemaID: schemas[0].schemaID, definitionsFieldName: schemas[0].definitionsFieldName }));
|
|
35
|
+
}
|
|
36
|
+
return (_jsxs(Tabs, { defaultValue: schemas[0].schemaID, className: "w-full", keepMounted: false, children: [_jsx(Tabs.List, { children: schemas.map(function (schema) { return (_jsx(Tabs.Tab, { value: schema.schemaID, children: schema.label }, schema.schemaID)); }) }), schemas.map(function (schema) { return (_jsx(Tabs.Panel, { value: schema.schemaID, children: _jsx(MetadataSchemaPanel, { label: schema.label, schemaID: schema.schemaID, definitionsFieldName: schema.definitionsFieldName, fontSize: schema.fontSize }) }, schema.schemaID)); })] }));
|
|
37
|
+
};
|
|
38
|
+
export default MetadataDictionary;
|
|
39
|
+
//# sourceMappingURL=MetadataDictionary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetadataDictionary.js","sourceRoot":"","sources":["../../../../../src/features/Dictionary/metadata/MetadataDictionary.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAS7D,IAAM,gBAAgB,GAAG,UACvB,GAAY,EACZ,oBAA4B;IAE5B,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAM,MAAM,GAAG,GAA8B,CAAC;IAE9C,OAAO,CACL,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ;QAC9B,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ;QAClC,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ;QAC/B,oBAAoB,IAAI,MAAM;QAC9B,OAAO,MAAM,CAAC,oBAAoB,CAAC,KAAK,QAAQ,CACjD,CAAC;AACJ,CAAC,CAAC;AAEF,IAAM,mBAAmB,GAAG,UAAC,EAKK;QAJhC,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,oBAAoB,0BAAA,EACpB,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA;IAET,IAAA,KAA+B,uBAAuB,CAAC,QAAQ,CAAC,EAA9D,IAAI,UAAA,EAAE,SAAS,eAAA,EAAE,OAAO,aAAsC,CAAC;IAEvE,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,CACL,KAAC,MAAM,IAAC,SAAS,EAAC,OAAO,YACvB,KAAC,MAAM,KAAU,GACV,CACV,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CACL,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vB,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EAC7B,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,oBAAoB,GACrD,CACH,CAAC;IACJ,CAAC;IAED,OAAO,CACL,MAAC,IAAI,IACH,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjC,SAAS,EAAC,QAAQ,EAClB,WAAW,EAAE,KAAK,aAElB,KAAC,IAAI,CAAC,IAAI,cACP,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,CACvB,KAAC,IAAI,CAAC,GAAG,IAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,YAC7B,MAAM,CAAC,KAAK,IADwB,MAAM,CAAC,QAAQ,CAE3C,CACZ,EAJwB,CAIxB,CAAC,GACQ,EACX,OAAO,CAAC,GAAG,CAAC,UAAC,MAAM,IAAK,OAAA,CACvB,KAAC,IAAI,CAAC,KAAK,IAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,YAChC,KAAC,mBAAmB,IAClB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,EACjD,QAAQ,EAAE,MAAM,CAAC,QAAQ,GACzB,IANqC,MAAM,CAAC,QAAQ,CAO3C,CACd,EATwB,CASxB,CAAC,IACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MetadataElement } from './types';
|
|
3
|
+
interface MetadataPropertiesTableProps {
|
|
4
|
+
elements: Array<MetadataElement>;
|
|
5
|
+
fontSize?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ elements, fontSize, }: MetadataPropertiesTableProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=MetadataPropertiesTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetadataPropertiesTable.d.ts","sourceRoot":"","sources":["../../../../../src/features/Dictionary/metadata/MetadataPropertiesTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAU1C,UAAU,4BAA4B;IACpC,QAAQ,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;4EA+CE,4BAA4B;AAkF/B,wBAAmD"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React, { useMemo } from 'react';
|
|
3
|
+
import { MantineReactTable, useMantineReactTable, } from 'mantine-react-table';
|
|
4
|
+
import { List } from '@mantine/core';
|
|
5
|
+
import { FaCircle as DiscIcon, FaCheck as Check } from 'react-icons/fa';
|
|
6
|
+
import { TableIcons } from '../../../components/Tables/TableIcons';
|
|
7
|
+
var buildValueElements = function (element) {
|
|
8
|
+
var _a;
|
|
9
|
+
switch (element.type) {
|
|
10
|
+
case 'string':
|
|
11
|
+
return _jsx("span", {});
|
|
12
|
+
case 'enum':
|
|
13
|
+
return (_jsx(List, { size: "sm", spacing: "xs", center: true, classNames: {
|
|
14
|
+
itemWrapper: 'flex items-center',
|
|
15
|
+
}, icon: _jsx(DiscIcon, { size: "0.5rem" }), id: "".concat(element.id, "-enum-value-list"), children: (_a = element === null || element === void 0 ? void 0 : element.enum) === null || _a === void 0 ? void 0 : _a.map(function (value) { return (_jsx(List.Item, { children: value }, "value-enum-".concat(element.id, "-").concat(value))); }) }));
|
|
16
|
+
case 'number':
|
|
17
|
+
if ((element === null || element === void 0 ? void 0 : element.minimum) !== undefined && (element === null || element === void 0 ? void 0 : element.maximum) !== undefined) {
|
|
18
|
+
return (_jsxs("span", { children: [element.minimum, " - ", element.maximum] }));
|
|
19
|
+
}
|
|
20
|
+
else if ((element === null || element === void 0 ? void 0 : element.minimum) !== undefined) {
|
|
21
|
+
return _jsx("span", { children: element.minimum });
|
|
22
|
+
}
|
|
23
|
+
else if ((element === null || element === void 0 ? void 0 : element.maximum) !== undefined) {
|
|
24
|
+
return _jsx("span", { children: element.minimum });
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
default:
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
var MetadataPropertiesTable = function (_a) {
|
|
34
|
+
var elements = _a.elements, _b = _a.fontSize, fontSize = _b === void 0 ? 'sm' : _b;
|
|
35
|
+
var columns = useMemo(function () {
|
|
36
|
+
return [
|
|
37
|
+
{
|
|
38
|
+
accessorKey: 'name',
|
|
39
|
+
header: 'Name',
|
|
40
|
+
Cell: function (_a) {
|
|
41
|
+
var cell = _a.cell;
|
|
42
|
+
return _jsx("span", { children: cell.getValue() });
|
|
43
|
+
},
|
|
44
|
+
size: 120,
|
|
45
|
+
maxSize: 180,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
accessorKey: 'type',
|
|
49
|
+
header: 'Type',
|
|
50
|
+
size: 120,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
header: 'Values',
|
|
54
|
+
Cell: function (_a) {
|
|
55
|
+
var row = _a.row;
|
|
56
|
+
return buildValueElements(row.original);
|
|
57
|
+
},
|
|
58
|
+
size: 120,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
accessorKey: 'required',
|
|
62
|
+
header: 'Required',
|
|
63
|
+
size: 80,
|
|
64
|
+
Cell: function (_a) {
|
|
65
|
+
var cell = _a.cell;
|
|
66
|
+
if (cell.getValue() === true) {
|
|
67
|
+
return _jsx(Check, { className: "text-utility-success" });
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
accessorKey: 'description',
|
|
73
|
+
header: 'Description',
|
|
74
|
+
},
|
|
75
|
+
];
|
|
76
|
+
}, []);
|
|
77
|
+
var table = useMantineReactTable({
|
|
78
|
+
columns: columns,
|
|
79
|
+
data: elements,
|
|
80
|
+
enablePagination: false,
|
|
81
|
+
enableBottomToolbar: false,
|
|
82
|
+
enableTopToolbar: false,
|
|
83
|
+
enableRowSelection: false,
|
|
84
|
+
enableColumnActions: false,
|
|
85
|
+
enableColumnResizing: true,
|
|
86
|
+
layoutMode: 'grid',
|
|
87
|
+
icons: TableIcons,
|
|
88
|
+
getRowId: function (originalRow) { return originalRow.id; },
|
|
89
|
+
mantineTableProps: {
|
|
90
|
+
style: {
|
|
91
|
+
tableLayout: 'fixed',
|
|
92
|
+
'mrt-table-head-cell-resize-handle': '#FF0000',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
mantineTableHeadRowProps: {
|
|
96
|
+
style: {
|
|
97
|
+
'--mrt-base-background-color': 'var(--mantine-color-accent-cool-2)',
|
|
98
|
+
fontSize: "var(--mantine-font-size-".concat(fontSize, ")"),
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
mantineTableHeadCellProps: {
|
|
102
|
+
style: {
|
|
103
|
+
color: 'var(--mantine-color-accent-contrast-cool-2)',
|
|
104
|
+
fontSize: "var(--mantine-font-size-".concat(fontSize, ")"),
|
|
105
|
+
'--mantine-color-placeholder': 'var(--mantine-color-accent-4)',
|
|
106
|
+
'--resize-handle-thickness': 10,
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
return (_jsx("div", { className: "grow w-auto inline-block overflow-x-scroll", children: _jsx(MantineReactTable, { table: table }) }));
|
|
111
|
+
};
|
|
112
|
+
export default React.memo(MetadataPropertiesTable);
|
|
113
|
+
//# sourceMappingURL=MetadataPropertiesTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metadata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,CAAC,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerApp.d.ts","sourceRoot":"","sources":["../../../../../src/features/Dictionary/metadata/registerApp.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB,kFAMlC,CAAC;AAEL,eAAO,MAAM,yBAAyB,uBAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createGen3App } from '@gen3/core';
|
|
2
|
+
import MetadataDictionary from './MetadataDictionary';
|
|
3
|
+
var _APP_NAME = 'MetadataDictionary';
|
|
4
|
+
export var registerMetadataSchemaApp = function () {
|
|
5
|
+
return createGen3App({
|
|
6
|
+
App: MetadataDictionary,
|
|
7
|
+
name: _APP_NAME,
|
|
8
|
+
version: 'v1.0.0',
|
|
9
|
+
requiredEntityTypes: [],
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
export var MetadataDictionaryAppName = _APP_NAME;
|
|
13
|
+
//# sourceMappingURL=registerApp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerApp.js","sourceRoot":"","sources":["../../../../../src/features/Dictionary/metadata/registerApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,IAAM,SAAS,GAAG,oBAAoB,CAAC;AAEvC,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACvC,OAAA,aAAa,CAAC;QACZ,GAAG,EAAE,kBAAkB;QACvB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,mBAAmB,EAAE,EAAE;KACxB,CAAC;AALF,CAKE,CAAC;AAEL,MAAM,CAAC,IAAM,yBAAyB,GAAG,SAAS,CAAC"}
|