quantum-component-library 1.4.63 → 1.4.65
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/README.md +115 -115
- package/dist/components/module-form/index.d.ts +9 -5
- package/dist/components.cjs +1 -1
- package/dist/components.js +1571 -1507
- package/dist/generated/gql.d.ts +2 -2
- package/dist/generated/graphql.d.ts +105 -3
- package/dist/generated-graphql.cjs +1 -1
- package/dist/generated-graphql.js +68 -66
- package/dist/generated.cjs +1 -1
- package/dist/generated.js +3 -3
- package/dist/{graphql-D_TLPK-5.js → graphql-DAkuEEbq.js} +1 -0
- package/dist/{graphql-C2l-Swfm.cjs → graphql-kPu5QxaL.cjs} +1 -0
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/lib/services/rom.json.d.ts +223 -223
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +1 -1
- package/package.json +133 -133
package/dist/generated.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./generated-graphql.cjs");function d(e,t){return t}function m(e,t){return e}function c(e,t,a){const r=e.__meta__?.deferredFields;if(!r)return!0;const i=t.definitions[0]?.name?.value,s=i&&r[i]||[];return s.length>0&&s.every(o=>a&&o in a)}const l={"\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n ...Threshold\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n reports {\n ...Report\n }\n }\n":n.AssessmentActionFragmentDoc,"\n fragment AnalysisThreshold on TestAnalysisThreshold {\n testAnalysisId\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n":n.AnalysisThresholdFragmentDoc,"\n fragment AnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n discriminator\n threshold {\n id\n testAnalysisId\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n":n.AnalysisMetricFragmentDoc,"\n fragment HistoricalAnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n":n.HistoricalAnalysisMetricFragmentDoc,"\n fragment AnalysisDiscreteMetric on DiscreteMetric {\n unit\n value\n }\n":n.AnalysisDiscreteMetricFragmentDoc,"\n fragment AnalysisComparativeMetric on ComparativeMetric {\n unitA\n unitB\n valueA\n valueB\n labelA\n labelB\n }\n":n.AnalysisComparativeMetricFragmentDoc,"\n fragment AnalysisKeypointsMetric on KeypointsMetric {\n keypoints {\n unit\n value\n frame\n timestamp\n timeSeries {\n label\n unit\n timeSeriesJson\n }\n }\n }\n":n.AnalysisKeypointsMetricFragmentDoc,"\n fragment AnalysisTableMetric on TableMetric {\n rows {\n id\n order\n cells {\n id\n order\n value\n unit\n colSpan\n rowSpan\n isLabel\n isNumeric\n }\n }\n }\n":n.AnalysisTableMetricFragmentDoc,"\n fragment AnalysisImageMetric on ImageMetric {\n path\n }\n":n.AnalysisImageMetricFragmentDoc,"\n fragment AnalysisTestAction on Action {\n id\n name\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n }\n":n.AnalysisTestActionFragmentDoc,"\n fragment FullTestAnalysis on TestAnalysis {\n id\n testId\n name\n kind\n createdAt\n updatedAt\n startedAt\n startFrame\n endFrame\n actionSide\n thresholds {\n ...AnalysisThreshold\n }\n metrics {\n ...AnalysisMetric\n }\n test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n sessionId\n kindId\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n action {\n ...AnalysisTestAction\n }\n }\n # New actions don't have classifications\n action {\n id\n name\n }\n }\n":n.FullTestAnalysisFragmentDoc,"\n fragment BasicTestAnalysis on TestAnalysis {\n id\n testId\n name\n kind\n createdAt\n updatedAt\n startedAt\n startFrame\n endFrame\n actionSide\n thresholds {\n ...AnalysisThreshold\n }\n }\n":n.BasicTestAnalysisFragmentDoc,"\n fragment ReviewTestReport on TestReport {\n id\n createdAt\n name\n }\n":n.ReviewTestReportFragmentDoc,"\n fragment UserGroup on Group {\n id\n name\n imageUrl\n }\n":n.UserGroupFragmentDoc,"\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n":n.MetadataGroupFragmentDoc,"\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n":n.MetadataItemFragmentDoc,"\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n":n.LibraryModuleActionFragmentDoc,"\n fragment LibraryActionModule on ActionModule {\n id\n name\n description\n moduleActions {\n ...LibraryModuleAction\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n # metadataGroups can be empty if no metadata is associated with this module\n metadataGroups {\n ...MetadataGroup\n }\n }\n":n.LibraryActionModuleFragmentDoc,"\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n":n.LibraryModuleCategoryFragmentDoc,"\n fragment PoseTask on PoseTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n":n.PoseTaskFragmentDoc,"\n fragment TranscodeTask on TranscodeTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n":n.TranscodeTaskFragmentDoc,"\n fragment TestFile on TestFile {\n id\n videoFile\n dataFile\n videoFileFormat\n videoDataOffset\n poseTaskStatus\n postProcessingStatus\n dataSources\n poseTask {\n ...PoseTask\n }\n transcodeTask {\n ...TranscodeTask\n }\n }\n":n.TestFileFragmentDoc,"\n fragment ReviewParameter on Parameter {\n id\n kind\n partKind\n partId\n partDimension\n }\n":n.ReviewParameterFragmentDoc,"\n fragment ReviewTrialParameterMetrics on TrialParameterMetrics {\n trialParameterId\n min\n max\n minTimestamp\n maxTimestamp\n percentInside\n volumeInside\n volumeOutside\n }\n":n.ReviewTrialParameterMetricsFragmentDoc,"\n fragment ReviewTrialParameterData on TrialParameterData {\n trialParameterId\n timestamps\n values\n }\n":n.ReviewTrialParameterDataFragmentDoc,"\n fragment ReviewTrialParameter on TrialParameter {\n trialId\n id\n min\n max\n parameter {\n ...ReviewParameter\n }\n metrics {\n ...ReviewTrialParameterMetrics\n }\n data {\n ...ReviewTrialParameterData\n }\n }\n":n.ReviewTrialParameterFragmentDoc,"\n fragment ReviewTrial on Trial {\n id\n createdAt\n label\n startFrame\n endFrame\n excludeFromAverage\n parameters {\n ...ReviewTrialParameter\n }\n }\n":n.ReviewTrialFragmentDoc,"\n fragment TestParameterScoreOverview on TestAverageParameterScore {\n parameter {\n ...ReviewParameter\n }\n averageScore\n trialCount\n variance\n stdDev\n averagePercentInside\n variancePercentInside\n stdDevPercentInside\n }\n":n.TestParameterScoreOverviewFragmentDoc,"\n fragment TestReportOverview on TestReportUnion {\n ... on MovementCoordinationReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on GeneralActivityReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on RangeReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on StabilityBalanceReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n }\n":n.TestReportOverviewFragmentDoc,"\n fragment TestWithParameterScores on Test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n timezone\n sessionId\n kindId\n comment\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n session {\n id\n name\n }\n action {\n id\n name\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n activityKind\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n }\n reports {\n ...TestReportOverview\n }\n analysis {\n ...ProfileSessionTestAnalysis\n }\n }\n":n.TestWithParameterScoresFragmentDoc,"\n fragment Threshold on Threshold {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n":n.ThresholdFragmentDoc,"\n fragment Report on Report {\n id\n name\n sensorLocations\n reportKind\n instructions\n autoGenerate\n thresholds {\n ...Threshold\n }\n }\n":n.ReportFragmentDoc,"\n fragment ProfileSessionTestAnalysis on TestAnalysisSummary {\n id\n name\n classification\n kind\n createdAt\n updatedAt\n startedAt\n # New actions don't have classifications\n action {\n id\n name\n }\n actionSide\n hasBeenGenerated\n }\n":n.ProfileSessionTestAnalysisFragmentDoc,"\n fragment ProfileSessionTest on Test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n timezone\n sessionId\n kindId\n comment\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n analysis {\n ...ProfileSessionTestAnalysis\n }\n action {\n id\n name\n activityKind\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n }\n }\n":n.ProfileSessionTestFragmentDoc,"\n fragment ProfileSession on Session {\n id\n name\n createdAt\n updatedAt\n createdById\n createdForId\n startedAt\n tests {\n ...ProfileSessionTest\n }\n }\n":n.ProfileSessionFragmentDoc,"\n mutation createAction($fields: CreateActionInput!) {\n createAction(input: $fields) {\n ...AssessmentAction\n }\n }\n":n.CreateActionDocument,"\n mutation updateAction($id: ID!, $fields: UpdateActionInput!) {\n updateAction(id: $id, input: $fields) {\n ...AssessmentAction\n }\n }\n":n.UpdateActionDocument,"\n mutation convertActionToQuantumOwned($id: ID!) {\n convertActionToQuantumOwned(id: $id) {\n ...AssessmentAction\n }\n }\n":n.ConvertActionToQuantumOwnedDocument,"\n mutation createLibraryModule($input: CreateModuleInput!) {\n createModule(input: $input) {\n ...LibraryActionModule\n }\n }\n":n.CreateLibraryModuleDocument,"\n mutation deleteLibraryModule($id: ID!) {\n deleteModule(id: $id)\n }\n":n.DeleteLibraryModuleDocument,"\n mutation updateLibraryModule($id: ID!, $input: UpdateModuleInput!) {\n updateModule(id: $id, input: $input) {\n ...LibraryActionModule\n }\n }\n":n.UpdateLibraryModuleDocument,"\n mutation copyModules($input: CopyModulesInput!) {\n copyModules(input: $input)\n }\n":n.CopyModulesDocument,"\n query getActions {\n actions {\n ...AssessmentAction\n }\n }\n":n.GetActionsDocument,"\n query getQuantumOwnedActions {\n quantumOwnedActions {\n ...AssessmentAction\n }\n }\n":n.GetQuantumOwnedActionsDocument,"\n query getActionById($id: ID!) {\n getActionById(id: $id) {\n ...AssessmentAction\n }\n }\n":n.GetActionByIdDocument,"\n query searchUseCases($query: String!, $skip: Int, $limit: Int) {\n useCases(search: $query, skip: $skip, limit: $limit) {\n id\n name\n }\n }\n":n.SearchUseCasesDocument,"\n query searchQuantumOwnedUseCases($query: String!, $skip: Int, $limit: Int) {\n quantumOwnedUseCases(search: $query, skip: $skip, limit: $limit) {\n id\n name\n }\n }\n":n.SearchQuantumOwnedUseCasesDocument,"\n query getGroups {\n groups {\n ...UserGroup\n }\n }\n":n.GetGroupsDocument,"\n query getModulesByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n modules(groupId: $groupId) {\n ...LibraryActionModule\n }\n }\n":n.GetModulesByGroupDocument,"\n query getActionsByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n actions(groupId: $groupId) {\n ...AssessmentAction\n }\n }\n":n.GetActionsByGroupDocument,"\n query getMetadataByKey($key: String!) {\n getMetadataByKey(key: $key) {\n ...MetadataGroup\n }\n }\n":n.GetMetadataByKeyDocument,"\n query getLibraryModules {\n modules {\n ...LibraryActionModule\n }\n }\n":n.GetLibraryModulesDocument,"\n query getLibraryModule($id: ID!) {\n module(id: $id) {\n ...LibraryActionModule\n }\n }\n":n.GetLibraryModuleDocument,"\n query getAllModuleCategories {\n moduleCategories {\n ...LibraryModuleCategory\n }\n }\n":n.GetAllModuleCategoriesDocument};function u(e){return l[e]??{}}exports.getFragmentData=d;exports.graphql=u;exports.isFragmentReady=c;exports.makeFragmentData=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./generated-graphql.cjs");function d(e,t){return t}function m(e,t){return e}function c(e,t,a){const r=e.__meta__?.deferredFields;if(!r)return!0;const i=t.definitions[0]?.name?.value,s=i&&r[i]||[];return s.length>0&&s.every(o=>a&&o in a)}const l={"\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n ...Threshold\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n reports {\n ...Report\n }\n }\n":n.AssessmentActionFragmentDoc,"\n fragment AnalysisThreshold on TestAnalysisThreshold {\n testAnalysisId\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n":n.AnalysisThresholdFragmentDoc,"\n fragment AnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n discriminator\n threshold {\n id\n testAnalysisId\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n":n.AnalysisMetricFragmentDoc,"\n fragment HistoricalAnalysisMetric on AnalysisMetric {\n id\n createdAt\n key {\n id\n name\n }\n analysis {\n id\n startedAt\n }\n name\n description\n metric {\n ... on DiscreteMetric {\n __typename\n ...AnalysisDiscreteMetric\n }\n ... on ComparativeMetric {\n __typename\n ...AnalysisComparativeMetric\n }\n ... on KeypointsMetric {\n __typename\n ...AnalysisKeypointsMetric\n }\n ... on TableMetric {\n __typename\n ...AnalysisTableMetric\n }\n ... on ImageMetric {\n __typename\n ...AnalysisImageMetric\n }\n }\n }\n":n.HistoricalAnalysisMetricFragmentDoc,"\n fragment AnalysisDiscreteMetric on DiscreteMetric {\n unit\n value\n }\n":n.AnalysisDiscreteMetricFragmentDoc,"\n fragment AnalysisComparativeMetric on ComparativeMetric {\n unitA\n unitB\n valueA\n valueB\n labelA\n labelB\n }\n":n.AnalysisComparativeMetricFragmentDoc,"\n fragment AnalysisKeypointsMetric on KeypointsMetric {\n keypoints {\n unit\n value\n frame\n timestamp\n timeSeries {\n label\n unit\n timeSeriesJson\n }\n }\n }\n":n.AnalysisKeypointsMetricFragmentDoc,"\n fragment AnalysisTableMetric on TableMetric {\n rows {\n id\n order\n cells {\n id\n order\n value\n unit\n colSpan\n rowSpan\n isLabel\n isNumeric\n }\n }\n }\n":n.AnalysisTableMetricFragmentDoc,"\n fragment AnalysisImageMetric on ImageMetric {\n path\n }\n":n.AnalysisImageMetricFragmentDoc,"\n fragment AnalysisTestAction on Action {\n id\n name\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n }\n":n.AnalysisTestActionFragmentDoc,"\n fragment FullTestAnalysis on TestAnalysis {\n id\n testId\n name\n kind\n createdAt\n updatedAt\n startedAt\n startFrame\n endFrame\n actionSide\n thresholds {\n ...AnalysisThreshold\n }\n metrics {\n ...AnalysisMetric\n }\n test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n sessionId\n kindId\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n action {\n ...AnalysisTestAction\n }\n }\n # New actions don't have classifications\n action {\n id\n name\n }\n }\n":n.FullTestAnalysisFragmentDoc,"\n fragment BasicTestAnalysis on TestAnalysis {\n id\n testId\n name\n kind\n createdAt\n updatedAt\n startedAt\n startFrame\n endFrame\n actionSide\n thresholds {\n ...AnalysisThreshold\n }\n }\n":n.BasicTestAnalysisFragmentDoc,"\n fragment ReviewTestReport on TestReport {\n id\n createdAt\n name\n }\n":n.ReviewTestReportFragmentDoc,"\n fragment UserGroup on Group {\n id\n name\n imageUrl\n }\n":n.UserGroupFragmentDoc,"\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n":n.MetadataGroupFragmentDoc,"\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n":n.MetadataItemFragmentDoc,"\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n":n.LibraryModuleActionFragmentDoc,"\n fragment LibraryActionModule on ActionModule {\n id\n name\n description\n moduleActions {\n ...LibraryModuleAction\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n # metadataGroups can be empty if no metadata is associated with this module\n metadataGroups {\n ...MetadataGroup\n }\n }\n":n.LibraryActionModuleFragmentDoc,"\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n":n.LibraryModuleCategoryFragmentDoc,"\n fragment PoseTask on PoseTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n":n.PoseTaskFragmentDoc,"\n fragment TranscodeTask on TranscodeTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n":n.TranscodeTaskFragmentDoc,"\n fragment TestFile on TestFile {\n id\n videoFile\n dataFile\n videoFileFormat\n videoDataOffset\n poseTaskStatus\n postProcessingStatus\n dataSources\n poseTask {\n ...PoseTask\n }\n transcodeTask {\n ...TranscodeTask\n }\n }\n":n.TestFileFragmentDoc,"\n fragment ReviewParameter on Parameter {\n id\n kind\n partKind\n partId\n partDimension\n }\n":n.ReviewParameterFragmentDoc,"\n fragment ReviewTrialParameterMetrics on TrialParameterMetrics {\n trialParameterId\n min\n max\n minTimestamp\n maxTimestamp\n percentInside\n volumeInside\n volumeOutside\n }\n":n.ReviewTrialParameterMetricsFragmentDoc,"\n fragment ReviewTrialParameterData on TrialParameterData {\n trialParameterId\n timestamps\n values\n }\n":n.ReviewTrialParameterDataFragmentDoc,"\n fragment ReviewTrialParameter on TrialParameter {\n trialId\n id\n min\n max\n parameter {\n ...ReviewParameter\n }\n metrics {\n ...ReviewTrialParameterMetrics\n }\n data {\n ...ReviewTrialParameterData\n }\n }\n":n.ReviewTrialParameterFragmentDoc,"\n fragment ReviewTrial on Trial {\n id\n createdAt\n label\n startFrame\n endFrame\n excludeFromAverage\n parameters {\n ...ReviewTrialParameter\n }\n }\n":n.ReviewTrialFragmentDoc,"\n fragment TestParameterScoreOverview on TestAverageParameterScore {\n parameter {\n ...ReviewParameter\n }\n averageScore\n trialCount\n variance\n stdDev\n averagePercentInside\n variancePercentInside\n stdDevPercentInside\n }\n":n.TestParameterScoreOverviewFragmentDoc,"\n fragment TestReportOverview on TestReportUnion {\n ... on MovementCoordinationReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on GeneralActivityReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on RangeReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n\n ... on StabilityBalanceReport {\n __typename\n id\n report {\n id\n createdAt\n name\n }\n averageParameterScores {\n ...TestParameterScoreOverview\n }\n }\n }\n":n.TestReportOverviewFragmentDoc,"\n fragment TestWithParameterScores on Test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n timezone\n sessionId\n kindId\n comment\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n session {\n id\n name\n }\n action {\n id\n name\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n activityKind\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n }\n reports {\n ...TestReportOverview\n }\n analysis {\n ...ProfileSessionTestAnalysis\n }\n }\n":n.TestWithParameterScoresFragmentDoc,"\n fragment Threshold on Threshold {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n":n.ThresholdFragmentDoc,"\n fragment Report on Report {\n id\n name\n sensorLocations\n reportKind\n instructions\n autoGenerate\n thresholds {\n ...Threshold\n }\n }\n":n.ReportFragmentDoc,"\n fragment ProfileSessionTestAnalysis on TestAnalysisSummary {\n id\n name\n classification\n kind\n createdAt\n updatedAt\n startedAt\n # New actions don't have classifications\n action {\n id\n name\n }\n actionSide\n hasBeenGenerated\n }\n":n.ProfileSessionTestAnalysisFragmentDoc,"\n fragment ProfileSessionTest on Test {\n id\n name\n createdAt\n updatedAt\n startedAt\n endedAt\n timezone\n sessionId\n kindId\n comment\n file {\n ...TestFile\n }\n info {\n athleteWeight\n }\n analysis {\n ...ProfileSessionTestAnalysis\n }\n action {\n id\n name\n activityKind\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n id\n kind\n min\n max\n partKind\n partId\n partDimension\n }\n sensorLocations\n useCases {\n id\n name\n }\n }\n }\n":n.ProfileSessionTestFragmentDoc,"\n fragment ProfileSession on Session {\n id\n name\n createdAt\n updatedAt\n createdById\n createdForId\n startedAt\n tests {\n ...ProfileSessionTest\n }\n }\n":n.ProfileSessionFragmentDoc,"\n mutation createAction($fields: CreateActionInput!) {\n createAction(input: $fields) {\n ...AssessmentAction\n }\n }\n":n.CreateActionDocument,"\n mutation updateAction($id: ID!, $fields: UpdateActionInput!) {\n updateAction(id: $id, input: $fields) {\n ...AssessmentAction\n }\n }\n":n.UpdateActionDocument,"\n mutation convertActionToQuantumOwned($id: ID!) {\n convertActionToQuantumOwned(id: $id) {\n ...AssessmentAction\n }\n }\n":n.ConvertActionToQuantumOwnedDocument,"\n mutation createLibraryModule($input: CreateModuleInput!) {\n createModule(input: $input) {\n ...LibraryActionModule\n }\n }\n":n.CreateLibraryModuleDocument,"\n mutation deleteLibraryModule($id: ID!) {\n deleteModule(id: $id)\n }\n":n.DeleteLibraryModuleDocument,"\n mutation updateLibraryModule($id: ID!, $input: UpdateModuleInput!) {\n updateModule(id: $id, input: $input) {\n ...LibraryActionModule\n }\n }\n":n.UpdateLibraryModuleDocument,"\n mutation copyModules($input: CopyModulesInput!) {\n copyModules(input: $input)\n }\n":n.CopyModulesDocument,"\n query getActions {\n actions {\n ...AssessmentAction\n }\n }\n":n.GetActionsDocument,"\n query getQuantumOwnedActions {\n quantumOwnedActions {\n ...AssessmentAction\n }\n }\n":n.GetQuantumOwnedActionsDocument,"\n query getActionById($id: ID!) {\n getActionById(id: $id) {\n ...AssessmentAction\n }\n }\n":n.GetActionByIdDocument,"\n query searchUseCases($query: String!, $skip: Int, $limit: Int) {\n useCases(search: $query, skip: $skip, limit: $limit) {\n id\n name\n }\n }\n":n.SearchUseCasesDocument,"\n query searchQuantumOwnedUseCases($query: String!, $skip: Int, $limit: Int) {\n quantumOwnedUseCases(search: $query, skip: $skip, limit: $limit) {\n id\n name\n }\n }\n":n.SearchQuantumOwnedUseCasesDocument,"\n query getGroups {\n groups {\n ...UserGroup\n }\n }\n":n.GetGroupsDocument,"\n query getModulesByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n modules(groupId: $groupId) {\n ...LibraryActionModule\n }\n }\n":n.GetModulesByGroupDocument,"\n query getActionsByGroup($groupId: ID!) {\n group(id: $groupId) {\n name\n }\n\n actions(groupId: $groupId) {\n ...AssessmentAction\n }\n }\n":n.GetActionsByGroupDocument,"\n query getMetadataByKey($key: String!) {\n getMetadataByKey(key: $key) {\n ...MetadataGroup\n }\n }\n":n.GetMetadataByKeyDocument,"\n query getLibraryModules {\n modules {\n ...LibraryActionModule\n }\n }\n":n.GetLibraryModulesDocument,"\n query getLibraryModule($id: ID!) {\n module(id: $id) {\n ...LibraryActionModule\n }\n }\n":n.GetLibraryModuleDocument,"\n query getAllModuleCategories {\n moduleCategories {\n ...LibraryModuleCategory\n }\n }\n":n.GetAllModuleCategoriesDocument};function u(e){return l[e]??{}}exports.getFragmentData=d;exports.graphql=u;exports.isFragmentReady=c;exports.makeFragmentData=m;
|
package/dist/generated.js
CHANGED
|
@@ -8,8 +8,8 @@ function un(n, e) {
|
|
|
8
8
|
function pn(n, e, t) {
|
|
9
9
|
const a = n.__meta__?.deferredFields;
|
|
10
10
|
if (!a) return !0;
|
|
11
|
-
const
|
|
12
|
-
return
|
|
11
|
+
const i = e.definitions[0]?.name?.value, r = i && a[i] || [];
|
|
12
|
+
return r.length > 0 && r.every((s) => t && s in t);
|
|
13
13
|
}
|
|
14
14
|
const dn = {
|
|
15
15
|
"\n fragment AssessmentAction on Action {\n id\n name\n activityKind\n activityType\n sessionType\n cameraPlacement\n videoLink\n description\n instructionsPointOfInterest\n instructionsMovementReport\n laterality\n thresholds {\n ...Threshold\n }\n sensorLocations\n useCases {\n id\n name\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n metadataGroups {\n ...MetadataGroup\n }\n reports {\n ...Report\n }\n }\n": on,
|
|
@@ -28,7 +28,7 @@ const dn = {
|
|
|
28
28
|
"\n fragment UserGroup on Group {\n id\n name\n imageUrl\n }\n": J,
|
|
29
29
|
"\n fragment MetadataGroup on MetadataGroup {\n key\n data {\n ...MetadataItem\n }\n }\n": H,
|
|
30
30
|
"\n fragment MetadataItem on MetadataItem {\n id\n label\n value\n sort\n }\n": z,
|
|
31
|
-
"\n fragment LibraryModuleAction on ModuleAction {\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n": W,
|
|
31
|
+
"\n fragment LibraryModuleAction on ModuleAction {\n id\n moduleId\n actionId\n sortOrder\n action {\n ...AssessmentAction\n }\n reportId\n report {\n ...Report\n }\n }\n": W,
|
|
32
32
|
"\n fragment LibraryActionModule on ActionModule {\n id\n name\n description\n moduleActions {\n ...LibraryModuleAction\n }\n categories {\n ...LibraryModuleCategory\n }\n quantumOwned\n # metadataGroups can be empty if no metadata is associated with this module\n metadataGroups {\n ...MetadataGroup\n }\n }\n": N,
|
|
33
33
|
"\n fragment LibraryModuleCategory on ModuleCategory {\n id\n name\n description\n sortOrder\n }\n": Q,
|
|
34
34
|
"\n fragment PoseTask on PoseTask {\n id\n taskId\n status\n attempts\n maxAttempts\n }\n": x,
|
package/dist/hooks.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./services-human-DFPelsei.cjs"),l=require("./types.cjs");require("./lodash-vendor-CfNg9qwP.cjs");require("./moment-vendor-1cRqq0AH.cjs");const f=require("./graphql-vendor-CSrUjvOC.cjs"),p=require("urql"),P=require("./providers.cjs");require("./react-jsx-runtime-vendor-Dszzpdy0.cjs");require("./graphql-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./services-human-DFPelsei.cjs"),l=require("./types.cjs");require("./lodash-vendor-CfNg9qwP.cjs");require("./moment-vendor-1cRqq0AH.cjs");const f=require("./graphql-vendor-CSrUjvOC.cjs"),p=require("urql"),P=require("./providers.cjs");require("./react-jsx-runtime-vendor-Dszzpdy0.cjs");require("./graphql-kPu5QxaL.cjs");const d=(e,s)=>u.useMemo(()=>e.flatMap(o=>c.getEnabledJointPlanes(o,s).map(t=>({id:{joint:o},plane:t,...c.getDefaultJointRange(o,t),sensorOnly:s===l.AngleDataSource.Sensor}))),[e,s]),b=(e,s)=>{const n=u.useMemo(()=>{const t=c.getAllAvailableLimbs();return e.filter(a=>t.some(r=>r.id===a))},[e]);return u.useMemo(()=>n.flatMap(t=>c.getEnabledSegmentPlanes(t,s).map(a=>({id:{segment:t},plane:a,...c.getDefaultLimbRange(t,a),sensorOnly:s===l.AngleDataSource.Sensor}))),[n,s])},S=()=>{const e=u.useMemo(()=>c.getAllAvailableLimbs(),[]),s=u.useMemo(()=>c.getAllAvailablePoseJoints(),[]),n=b(e.map(r=>r.id),l.AngleDataSource.Pose),o=d(s.map(r=>r.id),l.AngleDataSource.Pose),t=b(e.map(r=>r.id),l.AngleDataSource.Sensor),a=d(s.map(r=>r.id),l.AngleDataSource.Sensor);return u.useMemo(()=>{const r=new Map;return[...o,...n].forEach(i=>{const m="joint"in i.id?`joint:${i.id.joint}:${i.plane}`:`segment:${i.id.segment}:${i.plane}`;r.set(m,{...i,sensorOnly:!1})}),[...a,...t].forEach(i=>{const m="joint"in i.id?`joint:${i.id.joint}:${i.plane}`:`segment:${i.id.segment}:${i.plane}`;r.has(m)||r.set(m,{...i,sensorOnly:!0})}),Array.from(r.values())},[o,n,a,t])},h=({url:e,getAuthToken:s})=>new p.Client({url:e,requestPolicy:"cache-and-network",exchanges:[f.authExchange(n=>{const o=s();return Promise.resolve({addAuthToOperation(t){return o?n.appendHeaders(t,{Authorization:`Bearer ${o}`}):t},didAuthError:t=>/unauthorized/gi.test(t?.message),refreshAuth:()=>Promise.resolve()})}),p.fetchExchange]}),q=({url:e,getAuthToken:s})=>u.useMemo(()=>h({url:e,getAuthToken:s}),[e,s]),g=e=>{const s=c.getAllAvailableJoints();return u.useMemo(()=>s.filter(n=>n.id==="NavalSpine"||n.id==="ChestSpine"?!1:c.limbsRequiredForJoints[n.id].every(t=>e.includes(t))),[e,s])},L=e=>{const s=u.useMemo(()=>e.map(l.sensorLocationToLimbId).filter(o=>!!o),[e]);return g(s)},A=e=>u.useMemo(()=>{const n=c.getAllAvailableLimbs(),o=e.map(l.sensorLocationToLimbId);return n.filter(t=>o.includes(t.id))},[e]),O=e=>{const s=A(e),n=L(e),o=d(n.map(a=>a.id),l.AngleDataSource.Sensor),t=b(s.map(a=>a.id),l.AngleDataSource.Sensor);return[...o,...t]},v=()=>{const e=u.useContext(P.UiLabelContext);if(e===void 0)throw new Error("useUiLabelContext must be used within a UiLabelProvider");return e};exports.useAllPartParameters=S;exports.useGraphqlClient=q;exports.useJointsForLimbIds=g;exports.useJointsForSensorLocations=L;exports.useLimbsForSensorLocations=A;exports.usePartOptionsForJoints=d;exports.usePartOptionsForLimbs=b;exports.usePartOptionsForSensorLocations=O;exports.useUiLabelContext=v;
|
package/dist/hooks.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as v } from "./graphql-vendor-ipMKtdBu.js";
|
|
|
7
7
|
import { Client as x, fetchExchange as y } from "urql";
|
|
8
8
|
import { UiLabelContext as S } from "./providers.js";
|
|
9
9
|
import "./react-jsx-runtime-vendor-OVHDjVDe.js";
|
|
10
|
-
import "./graphql-
|
|
10
|
+
import "./graphql-DAkuEEbq.js";
|
|
11
11
|
const c = (e, s) => l(
|
|
12
12
|
() => e.flatMap(
|
|
13
13
|
(o) => g(o, s).map((t) => ({
|
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"LeftAnkle": {
|
|
3
|
-
"sagittal": {
|
|
4
|
-
"__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
|
|
5
|
-
"min": -20,
|
|
6
|
-
"max": 30
|
|
7
|
-
},
|
|
8
|
-
"frontal": {
|
|
9
|
-
"__COMMENT__": "-Inversion, +Eversion",
|
|
10
|
-
"min": -30,
|
|
11
|
-
"max": 20
|
|
12
|
-
},
|
|
13
|
-
"transverse": {
|
|
14
|
-
"__COMMENT__": "-Pronation, +Supination",
|
|
15
|
-
"min": -10,
|
|
16
|
-
"max": 10
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"RightAnkle": {
|
|
20
|
-
"sagittal": {
|
|
21
|
-
"__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
|
|
22
|
-
"min": -20,
|
|
23
|
-
"max": 30
|
|
24
|
-
},
|
|
25
|
-
"frontal": {
|
|
26
|
-
"__COMMENT__": "-Inversion, +Eversion",
|
|
27
|
-
"min": -30,
|
|
28
|
-
"max": 20
|
|
29
|
-
},
|
|
30
|
-
"transverse": {
|
|
31
|
-
"__COMMENT__": "-Pronation, +Supination",
|
|
32
|
-
"min": -10,
|
|
33
|
-
"max": 10
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"LeftKnee": {
|
|
37
|
-
"sagittal": {
|
|
38
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
39
|
-
"min": -5,
|
|
40
|
-
"max": 142
|
|
41
|
-
},
|
|
42
|
-
"frontal": {
|
|
43
|
-
"__COMMENT__": "N/A",
|
|
44
|
-
"min": 0,
|
|
45
|
-
"max": 0
|
|
46
|
-
},
|
|
47
|
-
"transverse": {
|
|
48
|
-
"__COMMENT__": "N/A",
|
|
49
|
-
"min": 0,
|
|
50
|
-
"max": 0
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"RightKnee": {
|
|
54
|
-
"sagittal": {
|
|
55
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
56
|
-
"min": -5,
|
|
57
|
-
"max": 142
|
|
58
|
-
},
|
|
59
|
-
"frontal": {
|
|
60
|
-
"__COMMENT__": "N/A",
|
|
61
|
-
"min": 0,
|
|
62
|
-
"max": 0
|
|
63
|
-
},
|
|
64
|
-
"transverse": {
|
|
65
|
-
"__COMMENT__": "N/A",
|
|
66
|
-
"min": 0,
|
|
67
|
-
"max": 0
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"LeftHip": {
|
|
71
|
-
"sagittal": {
|
|
72
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
73
|
-
"min": -18,
|
|
74
|
-
"max": 134
|
|
75
|
-
},
|
|
76
|
-
"frontal": {
|
|
77
|
-
"__COMMENT__": "-Adduction, +Abduction",
|
|
78
|
-
"min": -20,
|
|
79
|
-
"max": 40
|
|
80
|
-
},
|
|
81
|
-
"transverse": {
|
|
82
|
-
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
83
|
-
"min": -40,
|
|
84
|
-
"max": 50
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"RightHip": {
|
|
88
|
-
"sagittal": {
|
|
89
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
90
|
-
"min": -18,
|
|
91
|
-
"max": 134
|
|
92
|
-
},
|
|
93
|
-
"frontal": {
|
|
94
|
-
"__COMMENT__": "-Adduction, +Abduction",
|
|
95
|
-
"min": -20,
|
|
96
|
-
"max": 40
|
|
97
|
-
},
|
|
98
|
-
"transverse": {
|
|
99
|
-
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
100
|
-
"min": -40,
|
|
101
|
-
"max": 50
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"NavalSpine": {
|
|
105
|
-
"sagittal": {
|
|
106
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
107
|
-
"min": -75,
|
|
108
|
-
"max": 60
|
|
109
|
-
},
|
|
110
|
-
"frontal": {
|
|
111
|
-
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
112
|
-
"min": -45,
|
|
113
|
-
"max": 45
|
|
114
|
-
},
|
|
115
|
-
"transverse": {
|
|
116
|
-
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
117
|
-
"min": -80,
|
|
118
|
-
"max": 80
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"ChestSpine": {
|
|
122
|
-
"sagittal": {
|
|
123
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
124
|
-
"min": -25,
|
|
125
|
-
"max": 50
|
|
126
|
-
},
|
|
127
|
-
"frontal": {
|
|
128
|
-
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
129
|
-
"min": -25,
|
|
130
|
-
"max": 25
|
|
131
|
-
},
|
|
132
|
-
"transverse": {
|
|
133
|
-
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
134
|
-
"min": -30,
|
|
135
|
-
"max": 30
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"TotalSpine": {
|
|
139
|
-
"__COMMENT__": "This is the sum of the ChestSpine and NavalSpine",
|
|
140
|
-
"sagittal": {
|
|
141
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
142
|
-
"min": -100,
|
|
143
|
-
"max": 110
|
|
144
|
-
},
|
|
145
|
-
"frontal": {
|
|
146
|
-
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
147
|
-
"min": -70,
|
|
148
|
-
"max": 70
|
|
149
|
-
},
|
|
150
|
-
"transverse": {
|
|
151
|
-
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
152
|
-
"min": -110,
|
|
153
|
-
"max": 110
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"LeftShoulder": {
|
|
157
|
-
"sagittal": {
|
|
158
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
159
|
-
"min": -50,
|
|
160
|
-
"max": 180
|
|
161
|
-
},
|
|
162
|
-
"frontal": {
|
|
163
|
-
"__COMMENT__": "-Adduction, +Abduction",
|
|
164
|
-
"min": -50,
|
|
165
|
-
"max": 180
|
|
166
|
-
},
|
|
167
|
-
"transverse": {
|
|
168
|
-
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
169
|
-
"min": -90,
|
|
170
|
-
"max": 90
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"RightShoulder": {
|
|
174
|
-
"sagittal": {
|
|
175
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
176
|
-
"min": -50,
|
|
177
|
-
"max": 180
|
|
178
|
-
},
|
|
179
|
-
"frontal": {
|
|
180
|
-
"__COMMENT__": "-Adduction, +Abduction",
|
|
181
|
-
"min": -50,
|
|
182
|
-
"max": 180
|
|
183
|
-
},
|
|
184
|
-
"transverse": {
|
|
185
|
-
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
186
|
-
"min": -90,
|
|
187
|
-
"max": 90
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
"LeftElbow": {
|
|
191
|
-
"sagittal": {
|
|
192
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
193
|
-
"min": 0,
|
|
194
|
-
"max": 140
|
|
195
|
-
},
|
|
196
|
-
"frontal": {
|
|
197
|
-
"__COMMENT__": "N/A",
|
|
198
|
-
"min": 0,
|
|
199
|
-
"max": 0
|
|
200
|
-
},
|
|
201
|
-
"transverse": {
|
|
202
|
-
"__COMMENT__": "-Pronation/+Supination (of forearm)",
|
|
203
|
-
"min": -80,
|
|
204
|
-
"max": 80
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"RightElbow": {
|
|
208
|
-
"sagittal": {
|
|
209
|
-
"__COMMENT__": "-Extension, +Flexion",
|
|
210
|
-
"min": 0,
|
|
211
|
-
"max": 140
|
|
212
|
-
},
|
|
213
|
-
"frontal": {
|
|
214
|
-
"__COMMENT__": "N/A",
|
|
215
|
-
"min": 0,
|
|
216
|
-
"max": 0
|
|
217
|
-
},
|
|
218
|
-
"transverse": {
|
|
219
|
-
"__COMMENT__": "-Pronation/+Supination (of forearm)",
|
|
220
|
-
"min": -80,
|
|
221
|
-
"max": 80
|
|
222
|
-
}
|
|
223
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"LeftAnkle": {
|
|
3
|
+
"sagittal": {
|
|
4
|
+
"__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
|
|
5
|
+
"min": -20,
|
|
6
|
+
"max": 30
|
|
7
|
+
},
|
|
8
|
+
"frontal": {
|
|
9
|
+
"__COMMENT__": "-Inversion, +Eversion",
|
|
10
|
+
"min": -30,
|
|
11
|
+
"max": 20
|
|
12
|
+
},
|
|
13
|
+
"transverse": {
|
|
14
|
+
"__COMMENT__": "-Pronation, +Supination",
|
|
15
|
+
"min": -10,
|
|
16
|
+
"max": 10
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"RightAnkle": {
|
|
20
|
+
"sagittal": {
|
|
21
|
+
"__COMMENT__": "-Plantar Flexion, +Dorsi flexion",
|
|
22
|
+
"min": -20,
|
|
23
|
+
"max": 30
|
|
24
|
+
},
|
|
25
|
+
"frontal": {
|
|
26
|
+
"__COMMENT__": "-Inversion, +Eversion",
|
|
27
|
+
"min": -30,
|
|
28
|
+
"max": 20
|
|
29
|
+
},
|
|
30
|
+
"transverse": {
|
|
31
|
+
"__COMMENT__": "-Pronation, +Supination",
|
|
32
|
+
"min": -10,
|
|
33
|
+
"max": 10
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"LeftKnee": {
|
|
37
|
+
"sagittal": {
|
|
38
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
39
|
+
"min": -5,
|
|
40
|
+
"max": 142
|
|
41
|
+
},
|
|
42
|
+
"frontal": {
|
|
43
|
+
"__COMMENT__": "N/A",
|
|
44
|
+
"min": 0,
|
|
45
|
+
"max": 0
|
|
46
|
+
},
|
|
47
|
+
"transverse": {
|
|
48
|
+
"__COMMENT__": "N/A",
|
|
49
|
+
"min": 0,
|
|
50
|
+
"max": 0
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"RightKnee": {
|
|
54
|
+
"sagittal": {
|
|
55
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
56
|
+
"min": -5,
|
|
57
|
+
"max": 142
|
|
58
|
+
},
|
|
59
|
+
"frontal": {
|
|
60
|
+
"__COMMENT__": "N/A",
|
|
61
|
+
"min": 0,
|
|
62
|
+
"max": 0
|
|
63
|
+
},
|
|
64
|
+
"transverse": {
|
|
65
|
+
"__COMMENT__": "N/A",
|
|
66
|
+
"min": 0,
|
|
67
|
+
"max": 0
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"LeftHip": {
|
|
71
|
+
"sagittal": {
|
|
72
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
73
|
+
"min": -18,
|
|
74
|
+
"max": 134
|
|
75
|
+
},
|
|
76
|
+
"frontal": {
|
|
77
|
+
"__COMMENT__": "-Adduction, +Abduction",
|
|
78
|
+
"min": -20,
|
|
79
|
+
"max": 40
|
|
80
|
+
},
|
|
81
|
+
"transverse": {
|
|
82
|
+
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
83
|
+
"min": -40,
|
|
84
|
+
"max": 50
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"RightHip": {
|
|
88
|
+
"sagittal": {
|
|
89
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
90
|
+
"min": -18,
|
|
91
|
+
"max": 134
|
|
92
|
+
},
|
|
93
|
+
"frontal": {
|
|
94
|
+
"__COMMENT__": "-Adduction, +Abduction",
|
|
95
|
+
"min": -20,
|
|
96
|
+
"max": 40
|
|
97
|
+
},
|
|
98
|
+
"transverse": {
|
|
99
|
+
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
100
|
+
"min": -40,
|
|
101
|
+
"max": 50
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"NavalSpine": {
|
|
105
|
+
"sagittal": {
|
|
106
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
107
|
+
"min": -75,
|
|
108
|
+
"max": 60
|
|
109
|
+
},
|
|
110
|
+
"frontal": {
|
|
111
|
+
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
112
|
+
"min": -45,
|
|
113
|
+
"max": 45
|
|
114
|
+
},
|
|
115
|
+
"transverse": {
|
|
116
|
+
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
117
|
+
"min": -80,
|
|
118
|
+
"max": 80
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"ChestSpine": {
|
|
122
|
+
"sagittal": {
|
|
123
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
124
|
+
"min": -25,
|
|
125
|
+
"max": 50
|
|
126
|
+
},
|
|
127
|
+
"frontal": {
|
|
128
|
+
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
129
|
+
"min": -25,
|
|
130
|
+
"max": 25
|
|
131
|
+
},
|
|
132
|
+
"transverse": {
|
|
133
|
+
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
134
|
+
"min": -30,
|
|
135
|
+
"max": 30
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"TotalSpine": {
|
|
139
|
+
"__COMMENT__": "This is the sum of the ChestSpine and NavalSpine",
|
|
140
|
+
"sagittal": {
|
|
141
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
142
|
+
"min": -100,
|
|
143
|
+
"max": 110
|
|
144
|
+
},
|
|
145
|
+
"frontal": {
|
|
146
|
+
"__COMMENT__": "-Bend Right, +Bend Left",
|
|
147
|
+
"min": -70,
|
|
148
|
+
"max": 70
|
|
149
|
+
},
|
|
150
|
+
"transverse": {
|
|
151
|
+
"__COMMENT__": "-Twist Right, +Twist Left",
|
|
152
|
+
"min": -110,
|
|
153
|
+
"max": 110
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"LeftShoulder": {
|
|
157
|
+
"sagittal": {
|
|
158
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
159
|
+
"min": -50,
|
|
160
|
+
"max": 180
|
|
161
|
+
},
|
|
162
|
+
"frontal": {
|
|
163
|
+
"__COMMENT__": "-Adduction, +Abduction",
|
|
164
|
+
"min": -50,
|
|
165
|
+
"max": 180
|
|
166
|
+
},
|
|
167
|
+
"transverse": {
|
|
168
|
+
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
169
|
+
"min": -90,
|
|
170
|
+
"max": 90
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"RightShoulder": {
|
|
174
|
+
"sagittal": {
|
|
175
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
176
|
+
"min": -50,
|
|
177
|
+
"max": 180
|
|
178
|
+
},
|
|
179
|
+
"frontal": {
|
|
180
|
+
"__COMMENT__": "-Adduction, +Abduction",
|
|
181
|
+
"min": -50,
|
|
182
|
+
"max": 180
|
|
183
|
+
},
|
|
184
|
+
"transverse": {
|
|
185
|
+
"__COMMENT__": "-Internal Rotation, +External Rotation",
|
|
186
|
+
"min": -90,
|
|
187
|
+
"max": 90
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"LeftElbow": {
|
|
191
|
+
"sagittal": {
|
|
192
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
193
|
+
"min": 0,
|
|
194
|
+
"max": 140
|
|
195
|
+
},
|
|
196
|
+
"frontal": {
|
|
197
|
+
"__COMMENT__": "N/A",
|
|
198
|
+
"min": 0,
|
|
199
|
+
"max": 0
|
|
200
|
+
},
|
|
201
|
+
"transverse": {
|
|
202
|
+
"__COMMENT__": "-Pronation/+Supination (of forearm)",
|
|
203
|
+
"min": -80,
|
|
204
|
+
"max": 80
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"RightElbow": {
|
|
208
|
+
"sagittal": {
|
|
209
|
+
"__COMMENT__": "-Extension, +Flexion",
|
|
210
|
+
"min": 0,
|
|
211
|
+
"max": 140
|
|
212
|
+
},
|
|
213
|
+
"frontal": {
|
|
214
|
+
"__COMMENT__": "N/A",
|
|
215
|
+
"min": 0,
|
|
216
|
+
"max": 0
|
|
217
|
+
},
|
|
218
|
+
"transverse": {
|
|
219
|
+
"__COMMENT__": "-Pronation/+Supination (of forearm)",
|
|
220
|
+
"min": -80,
|
|
221
|
+
"max": 80
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
export default _default;
|
package/dist/providers.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./react-jsx-runtime-vendor-Dszzpdy0.cjs"),o=require("./graphql-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./react-jsx-runtime-vendor-Dszzpdy0.cjs"),o=require("./graphql-kPu5QxaL.cjs"),s=require("react"),l=require("urql"),m=require("@chakra-ui/react"),v=require("./hooks.cjs"),c=require("./generated.cjs"),d=s.createContext(void 0),x=({children:n})=>{const[{data:t,fetching:e}]=l.useQuery({query:o.GET_METADATA_BY_KEY,variables:{key:"ui_label"}}),r=s.useCallback(b=>{if(e)return"Loading...";const u=c.getFragmentData(o.METADATA_GROUP_FRAGMENT,t?.getMetadataByKey);return u?c.getFragmentData(o.METADATA_ITEM_FRAGMENT,u.data).find(g=>g.value===b)?.label??"":""},[t,e]),i=s.useMemo(()=>({getLabel:r,isLoading:e}),[r,e]);return a.jsxRuntimeExports.jsx(d.Provider,{value:i,children:n})},E=({children:n,url:t,getAuthToken:e,chakraProviderProps:r})=>{const i=v.useGraphqlClient({url:t,getAuthToken:e});return a.jsxRuntimeExports.jsx(l.Provider,{value:i,children:a.jsxRuntimeExports.jsx(m.ChakraProvider,{...r,children:a.jsxRuntimeExports.jsx(x,{children:n})})})};exports.QuantumLibraryProvider=E;exports.UiLabelContext=d;exports.UiLabelProvider=x;
|
package/dist/providers.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as a } from "./react-jsx-runtime-vendor-OVHDjVDe.js";
|
|
2
|
-
import { G as u, M as d, a as c } from "./graphql-
|
|
2
|
+
import { G as u, M as d, a as c } from "./graphql-DAkuEEbq.js";
|
|
3
3
|
import { createContext as f, useCallback as p, useMemo as A } from "react";
|
|
4
4
|
import { useQuery as v, Provider as x } from "urql";
|
|
5
5
|
import { ChakraProvider as T } from "@chakra-ui/react";
|