@truedat/dq 7.5.9 → 7.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +41 -71
- package/src/components/ConceptRules.js +1 -2
- package/src/components/ConditionCell.js +17 -16
- package/src/components/ConditionSummary.js +1 -1
- package/src/components/EditRule.js +0 -1
- package/src/components/ExecutionForm.js +2 -4
- package/src/components/ExecutionGroup.js +0 -1
- package/src/components/ExecutionGroupBreadcrumbs.js +1 -2
- package/src/components/ExecutionGroupContent.js +3 -3
- package/src/components/ExecutionGroupLink.js +1 -2
- package/src/components/ExecutionGroupLoader.js +1 -1
- package/src/components/ExecutionGroupMessage.js +0 -1
- package/src/components/ExecutionGroups.js +1 -2
- package/src/components/ExecutionGroupsTable.js +0 -1
- package/src/components/ExecutionPopup.js +1 -1
- package/src/components/FieldSummary.js +1 -2
- package/src/components/ImplementationActions.js +1 -2
- package/src/components/ImplementationCrumbs.js +2 -3
- package/src/components/ImplementationExecutionFilters.js +2 -2
- package/src/components/ImplementationExecutions.js +2 -2
- package/src/components/ImplementationResultBar.js +14 -15
- package/src/components/ImplementationSearchResults.js +6 -4
- package/src/components/ImplementationStructureDelete.js +0 -1
- package/src/components/ImplementationStructureLink.js +1 -2
- package/src/components/ImplementationStructureLinksActions.js +1 -2
- package/src/components/ImplementationStructures.js +2 -2
- package/src/components/ImplementationStructuresNew.js +3 -4
- package/src/components/ImplementationSummary.js +3 -7
- package/src/components/Implementations.js +3 -3
- package/src/components/ImplementationsHeader.js +4 -5
- package/src/components/ImplementationsRoutes.js +379 -322
- package/src/components/ImplementationsUploadButton.js +0 -1
- package/src/components/InformationSummary.js +0 -1
- package/src/components/JoinTypeIcon.js +8 -9
- package/src/components/MoveImplementation.js +0 -1
- package/src/components/NewBasicRuleImplementation.js +4 -4
- package/src/components/NewRemediation.js +1 -1
- package/src/components/NewRule.js +1 -2
- package/src/components/NewRuleImplementation.js +4 -4
- package/src/components/QualityEventError.js +4 -9
- package/src/components/QualityRoutes.js +52 -26
- package/src/components/RawContent.js +0 -1
- package/src/components/RemediationCrumbs.js +2 -2
- package/src/components/RemediationForm.js +4 -4
- package/src/components/RemediationPlan.js +4 -5
- package/src/components/Rule.js +0 -1
- package/src/components/RuleActions.js +2 -3
- package/src/components/RuleCrumbs.js +2 -3
- package/src/components/RuleEventDecorator.js +0 -1
- package/src/components/RuleEventRow.js +0 -1
- package/src/components/RuleEvents.js +0 -1
- package/src/components/RuleForm.js +11 -21
- package/src/components/RuleFormImplementations.js +0 -1
- package/src/components/RuleImplementation.js +0 -1
- package/src/components/RuleImplementationActions.js +2 -2
- package/src/components/RuleImplementationEventRow.js +0 -1
- package/src/components/RuleImplementationEvents.js +0 -1
- package/src/components/RuleImplementationHistory.js +1 -2
- package/src/components/RuleImplementationHistoryRow.js +1 -2
- package/src/components/RuleImplementationLink.js +1 -2
- package/src/components/RuleImplementationLoader.js +2 -2
- package/src/components/RuleImplementationProperties.js +3 -4
- package/src/components/RuleImplementationResultTabs.js +7 -11
- package/src/components/RuleImplementationResults.js +2 -3
- package/src/components/RuleImplementationResultsLink.js +1 -2
- package/src/components/RuleImplementationRow.js +0 -1
- package/src/components/RuleImplementationTabs.js +24 -21
- package/src/components/RuleImplementationsActions.js +1 -2
- package/src/components/RuleImplementationsDownload.js +0 -1
- package/src/components/RuleImplementationsFromRuleLoader.js +2 -2
- package/src/components/RuleImplementationsLabelResults.js +5 -6
- package/src/components/RuleImplementationsOptions.js +1 -2
- package/src/components/RuleImplementationsSearch.js +0 -1
- package/src/components/RuleImplementationsTable.js +1 -1
- package/src/components/RuleLink.js +1 -2
- package/src/components/RuleLoader.js +2 -2
- package/src/components/RuleProperties.js +4 -6
- package/src/components/RuleResult.js +0 -1
- package/src/components/RuleResultDecorator.js +5 -6
- package/src/components/RuleResultDetails.js +0 -4
- package/src/components/RuleResultRemediationLoader.js +1 -1
- package/src/components/RuleResultRemediations.js +0 -1
- package/src/components/RuleResultRow.js +1 -2
- package/src/components/RuleResultSegmentRow.js +0 -1
- package/src/components/RuleResultSegments.js +0 -1
- package/src/components/RuleResultSegmentsLoader.js +1 -1
- package/src/components/RuleResultsRoutes.js +41 -41
- package/src/components/RuleResultsTable.js +0 -1
- package/src/components/RuleResultsUpload.js +0 -1
- package/src/components/RuleRoutes.js +72 -67
- package/src/components/RuleRow.js +1 -2
- package/src/components/RuleSelectionForm.js +0 -1
- package/src/components/RuleSelector.js +0 -1
- package/src/components/RuleSubscriptionLoader.js +1 -1
- package/src/components/RuleSummary.js +1 -1
- package/src/components/RuleTabs.js +8 -7
- package/src/components/Rules.js +2 -2
- package/src/components/RulesActions.js +1 -2
- package/src/components/RulesLabelResults.js +2 -3
- package/src/components/RulesRoutes.js +32 -21
- package/src/components/RulesSearch.js +0 -1
- package/src/components/RulesUploadButton.js +0 -1
- package/src/components/Subscription.js +3 -3
- package/src/components/TaxonomySummary.js +0 -1
- package/src/components/__tests__/ConceptRules.spec.js +0 -1
- package/src/components/__tests__/ConceptRulesLoader.spec.js +19 -22
- package/src/components/__tests__/ConditionSummary.spec.js +0 -1
- package/src/components/__tests__/EditRule.spec.js +10 -7
- package/src/components/__tests__/ExecutionForm.spec.js +5 -14
- package/src/components/__tests__/ExecutionGroup.spec.js +18 -11
- package/src/components/__tests__/ExecutionGroupBreadcrumbs.spec.js +0 -1
- package/src/components/__tests__/ExecutionGroupContent.spec.js +0 -2
- package/src/components/__tests__/ExecutionGroupLink.spec.js +0 -1
- package/src/components/__tests__/ExecutionGroupLoader.spec.js +18 -18
- package/src/components/__tests__/ExecutionGroupMessage.spec.js +9 -13
- package/src/components/__tests__/ExecutionGroups.spec.js +0 -1
- package/src/components/__tests__/ExecutionGroupsTable.spec.js +0 -1
- package/src/components/__tests__/ExecutionPopup.spec.js +0 -1
- package/src/components/__tests__/ImplementationActions.spec.js +0 -1
- package/src/components/__tests__/ImplementationExecutionFilters.spec.js +2 -3
- package/src/components/__tests__/ImplementationExecutions.spec.js +2 -3
- package/src/components/__tests__/ImplementationResultBar.spec.js +44 -27
- package/src/components/__tests__/ImplementationSearchResults.spec.js +13 -22
- package/src/components/__tests__/ImplementationStructureDelete.spec.js +0 -1
- package/src/components/__tests__/ImplementationStructureLink.spec.js +0 -1
- package/src/components/__tests__/ImplementationStructures.spec.js +1 -2
- package/src/components/__tests__/ImplementationStructuresNew.spec.js +43 -23
- package/src/components/__tests__/ImplementationSummary.spec.js +65 -37
- package/src/components/__tests__/Implementations.spec.js +4 -10
- package/src/components/__tests__/ImplementationsRoutes.spec.js +133 -0
- package/src/components/__tests__/ImplementationsUploadButton.spec.js +51 -32
- package/src/components/__tests__/InformationSummary.spec.js +0 -1
- package/src/components/__tests__/MoveImplementation.spec.js +0 -1
- package/src/components/__tests__/NewBasicRuleImplementation.spec.js +19 -23
- package/src/components/__tests__/NewRule.spec.js +23 -14
- package/src/components/__tests__/NewRuleImplementation.spec.js +101 -101
- package/src/components/__tests__/QualityEventError.spec.js +4 -4
- package/src/components/__tests__/QualityRoutes.spec.js +86 -0
- package/src/components/__tests__/RawContent.spec.js +0 -1
- package/src/components/__tests__/RemediationForm.spec.js +0 -2
- package/src/components/__tests__/RemediationPlan.spec.js +23 -29
- package/src/components/__tests__/Rule.spec.js +19 -5
- package/src/components/__tests__/RuleActions.spec.js +11 -8
- package/src/components/__tests__/RuleCrumbs.spec.js +12 -11
- package/src/components/__tests__/RuleEventDecorator.spec.js +0 -1
- package/src/components/__tests__/RuleEventRow.spec.js +0 -1
- package/src/components/__tests__/RuleEvents.spec.js +0 -1
- package/src/components/__tests__/RuleForm.spec.js +30 -73
- package/src/components/__tests__/RuleFormImplementations.spec.js +15 -16
- package/src/components/__tests__/RuleImplementation.spec.js +23 -30
- package/src/components/__tests__/RuleImplementationEvents.spec.js +0 -1
- package/src/components/__tests__/RuleImplementationHistory.spec.js +7 -22
- package/src/components/__tests__/RuleImplementationLoader.spec.js +2 -3
- package/src/components/__tests__/RuleImplementationProperties.spec.js +56 -82
- package/src/components/__tests__/RuleImplementationResultTabs.spec.js +5 -17
- package/src/components/__tests__/RuleImplementationResults.spec.js +2 -3
- package/src/components/__tests__/RuleImplementationResultsLink.spec.js +5 -5
- package/src/components/__tests__/RuleImplementationTabs.spec.js +0 -1
- package/src/components/__tests__/RuleImplementationsActions.spec.js +58 -35
- package/src/components/__tests__/RuleImplementationsFromRuleLoader.spec.js +34 -24
- package/src/components/__tests__/RuleImplementationsLoader.spec.js +22 -14
- package/src/components/__tests__/RuleImplementationsOptions.spec.js +0 -1
- package/src/components/__tests__/RuleImplementationsSearch.spec.js +14 -23
- package/src/components/__tests__/RuleImplementationsTable.spec.js +30 -56
- package/src/components/__tests__/RuleProperties.spec.js +4 -10
- package/src/components/__tests__/RuleResult.spec.js +10 -22
- package/src/components/__tests__/RuleResultDecorator.spec.js +36 -26
- package/src/components/__tests__/RuleResultDetails.spec.js +24 -57
- package/src/components/__tests__/RuleResultRemediationLoader.spec.js +15 -14
- package/src/components/__tests__/RuleResultRemediations.spec.js +2 -3
- package/src/components/__tests__/RuleResultRoutes.spec.js +83 -59
- package/src/components/__tests__/RuleResultRow.spec.js +0 -1
- package/src/components/__tests__/RuleResultSegmentRow.spec.js +46 -83
- package/src/components/__tests__/RuleResultSegments.spec.js +5 -10
- package/src/components/__tests__/RuleResultSegmentsLoader.spec.js +15 -14
- package/src/components/__tests__/RuleResultsUpload.spec.js +0 -1
- package/src/components/__tests__/RuleRoutes.spec.js +90 -14
- package/src/components/__tests__/RuleRow.spec.js +0 -2
- package/src/components/__tests__/RuleSearch.spec.js +10 -15
- package/src/components/__tests__/RuleSelectionForm.spec.js +0 -1
- package/src/components/__tests__/RuleSubscriptionLoader.spec.js +19 -18
- package/src/components/__tests__/RuleSummary.spec.js +0 -1
- package/src/components/__tests__/Rules.spec.js +58 -24
- package/src/components/__tests__/RulesActions.spec.js +17 -13
- package/src/components/__tests__/RulesLoader.spec.js +9 -9
- package/src/components/__tests__/RulesRoutes.spec.js +51 -0
- package/src/components/__tests__/RulesUploadButton.spec.js +0 -1
- package/src/components/__tests__/Subscription.spec.js +18 -19
- package/src/components/__tests__/TaxonomySummary.spec.js +0 -1
- package/src/components/__tests__/__snapshots__/ConceptRules.spec.js.snap +3 -0
- package/src/components/__tests__/__snapshots__/ConditionSummary.spec.js.snap +1 -0
- package/src/components/__tests__/__snapshots__/EditRule.spec.js.snap +120 -80
- package/src/components/__tests__/__snapshots__/ExecutionForm.spec.js.snap +6 -6
- package/src/components/__tests__/__snapshots__/ExecutionGroup.spec.js.snap +12 -10
- package/src/components/__tests__/__snapshots__/ExecutionGroupBreadcrumbs.spec.js.snap +2 -1
- package/src/components/__tests__/__snapshots__/ExecutionGroupLink.spec.js.snap +1 -0
- package/src/components/__tests__/__snapshots__/ExecutionGroupMessage.spec.js.snap +36 -9
- package/src/components/__tests__/__snapshots__/ExecutionGroups.spec.js.snap +9 -6
- package/src/components/__tests__/__snapshots__/ExecutionGroupsTable.spec.js.snap +6 -5
- package/src/components/__tests__/__snapshots__/ImplementationActions.spec.js.snap +6 -5
- package/src/components/__tests__/__snapshots__/ImplementationExecutionFilters.spec.js.snap +4 -0
- package/src/components/__tests__/__snapshots__/ImplementationExecutions.spec.js.snap +10 -5
- package/src/components/__tests__/__snapshots__/ImplementationResultBar.spec.js.snap +10 -20
- package/src/components/__tests__/__snapshots__/ImplementationSearchResults.spec.js.snap +249 -71
- package/src/components/__tests__/__snapshots__/ImplementationStructureLink.spec.js.snap +1 -0
- package/src/components/__tests__/__snapshots__/ImplementationStructures.spec.js.snap +3 -1
- package/src/components/__tests__/__snapshots__/ImplementationStructuresNew.spec.js.snap +220 -9
- package/src/components/__tests__/__snapshots__/ImplementationSummary.spec.js.snap +312 -166
- package/src/components/__tests__/__snapshots__/Implementations.spec.js.snap +9 -21
- package/src/components/__tests__/__snapshots__/ImplementationsRoutes.spec.js.snap +37 -0
- package/src/components/__tests__/__snapshots__/InformationSummary.spec.js.snap +10 -10
- package/src/components/__tests__/__snapshots__/MoveImplementation.spec.js.snap +1 -0
- package/src/components/__tests__/__snapshots__/NewBasicRuleImplementation.spec.js.snap +76 -20
- package/src/components/__tests__/__snapshots__/NewRule.spec.js.snap +125 -54
- package/src/components/__tests__/__snapshots__/NewRuleImplementation.spec.js.snap +157 -79
- package/src/components/__tests__/__snapshots__/QualityEventError.spec.js.snap +31 -10
- package/src/components/__tests__/__snapshots__/QualityRoutes.spec.js.snap +51 -0
- package/src/components/__tests__/__snapshots__/RawContent.spec.js.snap +26 -26
- package/src/components/__tests__/__snapshots__/RemediationForm.spec.js.snap +4 -5
- package/src/components/__tests__/__snapshots__/RemediationPlan.spec.js.snap +2 -4
- package/src/components/__tests__/__snapshots__/Rule.spec.js.snap +42 -41
- package/src/components/__tests__/__snapshots__/RuleActions.spec.js.snap +41 -43
- package/src/components/__tests__/__snapshots__/RuleCrumbs.spec.js.snap +40 -60
- package/src/components/__tests__/__snapshots__/RuleForm.spec.js.snap +194 -45
- package/src/components/__tests__/__snapshots__/RuleFormImplementations.spec.js.snap +20 -8
- package/src/components/__tests__/__snapshots__/RuleImplementation.spec.js.snap +23 -14
- package/src/components/__tests__/__snapshots__/RuleImplementationEvents.spec.js.snap +3 -3
- package/src/components/__tests__/__snapshots__/RuleImplementationHistory.spec.js.snap +7 -4
- package/src/components/__tests__/__snapshots__/RuleImplementationProperties.spec.js.snap +123 -98
- package/src/components/__tests__/__snapshots__/RuleImplementationResultTabs.spec.js.snap +2 -1
- package/src/components/__tests__/__snapshots__/RuleImplementationResults.spec.js.snap +12 -6
- package/src/components/__tests__/__snapshots__/RuleImplementationResultsLink.spec.js.snap +8 -5
- package/src/components/__tests__/__snapshots__/RuleImplementationTabs.spec.js.snap +14 -7
- package/src/components/__tests__/__snapshots__/RuleImplementationsActions.spec.js.snap +105 -68
- package/src/components/__tests__/__snapshots__/RuleImplementationsFromRuleLoader.spec.js.snap +1 -35
- package/src/components/__tests__/__snapshots__/RuleImplementationsLoader.spec.js.snap +1 -31
- package/src/components/__tests__/__snapshots__/RuleImplementationsOptions.spec.js.snap +4 -4
- package/src/components/__tests__/__snapshots__/RuleImplementationsSearch.spec.js.snap +46 -15
- package/src/components/__tests__/__snapshots__/RuleImplementationsTable.spec.js.snap +54 -107
- package/src/components/__tests__/__snapshots__/RuleProperties.spec.js.snap +3 -3
- package/src/components/__tests__/__snapshots__/RuleResult.spec.js.snap +17 -1
- package/src/components/__tests__/__snapshots__/RuleResultDecorator.spec.js.snap +4 -4
- package/src/components/__tests__/__snapshots__/RuleResultDetails.spec.js.snap +17 -17
- package/src/components/__tests__/__snapshots__/RuleResultRoutes.spec.js.snap +4 -321
- package/src/components/__tests__/__snapshots__/RuleResultSegments.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/RuleResultsUpload.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/RuleRoutes.spec.js.snap +32 -1
- package/src/components/__tests__/__snapshots__/RuleRow.spec.js.snap +4 -6
- package/src/components/__tests__/__snapshots__/RuleSearch.spec.js.snap +46 -15
- package/src/components/__tests__/__snapshots__/RuleSelectionForm.spec.js.snap +1 -0
- package/src/components/__tests__/__snapshots__/RuleSubscriptionLoader.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/Rules.spec.js.snap +128 -173
- package/src/components/__tests__/__snapshots__/RulesActions.spec.js.snap +5 -7
- package/src/components/__tests__/__snapshots__/RulesRoutes.spec.js.snap +60 -0
- package/src/components/__tests__/__snapshots__/Subscription.spec.js.snap +127 -184
- package/src/components/ruleImplementationForm/DatasetForm.js +8 -7
- package/src/components/ruleImplementationForm/DateField.js +0 -1
- package/src/components/ruleImplementationForm/DateTimeField.js +0 -1
- package/src/components/ruleImplementationForm/FieldModifier.js +3 -3
- package/src/components/ruleImplementationForm/FieldsGrid.js +1 -1
- package/src/components/ruleImplementationForm/FieldsGroup.js +3 -3
- package/src/components/ruleImplementationForm/FiltersField.js +5 -5
- package/src/components/ruleImplementationForm/FiltersFormGroup.js +5 -6
- package/src/components/ruleImplementationForm/FiltersGrid.js +1 -1
- package/src/components/ruleImplementationForm/FiltersGroup.js +6 -1
- package/src/components/ruleImplementationForm/FixedListField.js +6 -7
- package/src/components/ruleImplementationForm/InformationForm.js +3 -4
- package/src/components/ruleImplementationForm/LimitsForm.js +0 -1
- package/src/components/ruleImplementationForm/NumberField.js +0 -1
- package/src/components/ruleImplementationForm/PopulationForm.js +0 -1
- package/src/components/ruleImplementationForm/RuleImplementationBasicForm.js +6 -7
- package/src/components/ruleImplementationForm/RuleImplementationForm.js +8 -8
- package/src/components/ruleImplementationForm/RuleImplementationRawForm.js +10 -9
- package/src/components/ruleImplementationForm/SegmentsForm.js +0 -1
- package/src/components/ruleImplementationForm/StringField.js +2 -3
- package/src/components/ruleImplementationForm/StringListField.js +2 -3
- package/src/components/ruleImplementationForm/ValidationsForm.js +0 -1
- package/src/components/ruleImplementationForm/ValueConditions.js +3 -3
- package/src/components/ruleImplementationForm/__tests__/DataSetForm.spec.js +5 -18
- package/src/components/ruleImplementationForm/__tests__/FiltersField.spec.js +5 -10
- package/src/components/ruleImplementationForm/__tests__/FiltersFormGroup.spec.js +7 -21
- package/src/components/ruleImplementationForm/__tests__/FiltersGroup.spec.js +12 -21
- package/src/components/ruleImplementationForm/__tests__/InformationForm.spec.js +9 -3
- package/src/components/ruleImplementationForm/__tests__/LimitsForm.spec.js +74 -57
- package/src/components/ruleImplementationForm/__tests__/RuleImplementationBasicForm.spec.js +41 -27
- package/src/components/ruleImplementationForm/__tests__/RuleImplementationForm.spec.js +0 -2
- package/src/components/ruleImplementationForm/__tests__/RuleImplementationRawForm.spec.js +81 -52
- package/src/components/ruleImplementationForm/__tests__/ValueConditions.spec.js +11 -21
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/DataSetForm.spec.js.snap +6 -6
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersField.spec.js.snap +24 -48
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersFormGroup.spec.js.snap +102 -6
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersGroup.spec.js.snap +69 -6
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/InformationForm.spec.js.snap +88 -18
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/LimitsForm.spec.js.snap +68 -68
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/RuleImplementationBasicForm.spec.js.snap +78 -17
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/RuleImplementationForm.spec.js.snap +23 -24
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/RuleImplementationRawForm.spec.js.snap +87 -30
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/ValueConditions.spec.js.snap +69 -6
- package/src/components/ruleImplementationForm/limitsValidation.js +11 -10
- package/src/hooks/useConcept.js +4 -1
- package/src/sagas/__tests__/createImplementationStructure.spec.js +2 -2
- package/src/sagas/__tests__/createRemediation.spec.js +3 -3
- package/src/sagas/__tests__/deleteImplementation.spec.js +1 -1
- package/src/sagas/__tests__/deleteImplementationStructure.spec.js +2 -2
- package/src/sagas/__tests__/deleteRemediation.spec.js +3 -3
- package/src/sagas/__tests__/deleteRule.spec.js +1 -1
- package/src/sagas/__tests__/deleteRuleResult.spec.js +2 -2
- package/src/sagas/__tests__/fetchRemediation.spec.js +2 -2
- package/src/sagas/__tests__/fetchRule.spec.js +2 -2
- package/src/sagas/__tests__/fetchRuleImplementation.spec.js +3 -3
- package/src/sagas/__tests__/fetchRuleImplementations.spec.js +3 -3
- package/src/sagas/__tests__/fetchSegmentResults.spec.js +3 -3
- package/src/sagas/__tests__/updateRemediation.spec.js +3 -3
- package/src/sagas/__tests__/updateRule.spec.js +1 -1
- package/src/sagas/__tests__/updateRuleImplementation.spec.js +5 -5
- package/src/sagas/createImplementationStructure.js +3 -1
- package/src/sagas/createRemediation.js +3 -1
- package/src/sagas/deleteImplementation.js +1 -1
- package/src/sagas/deleteImplementationStructure.js +1 -1
- package/src/sagas/deleteRemediation.js +3 -1
- package/src/sagas/deleteRule.js +2 -2
- package/src/sagas/deleteRuleResult.js +1 -1
- package/src/sagas/fetchConceptRules.js +1 -1
- package/src/sagas/fetchExecutionGroup.js +1 -1
- package/src/sagas/fetchRemediation.js +1 -1
- package/src/sagas/fetchRuleImplementations.js +1 -1
- package/src/sagas/fetchSegmentResults.js +1 -1
- package/src/sagas/updateRemediation.js +3 -1
- package/src/sagas/updateRule.js +1 -1
- package/src/sagas/updateRuleImplementation.js +1 -1
- package/src/selectors/__tests__/getPreviousRuleImplementationQuery.spec.js +2 -2
- package/src/selectors/__tests__/getRuleImplementationColumns.spec.js +1 -1
- package/src/selectors/__tests__/getRuleImplementationForm.spec.js +16 -16
- package/src/selectors/__tests__/getRuleImplementationSelectedFilterActiveValues.spec.js +2 -2
- package/src/selectors/getImplementationStructureLinksColumns.js +0 -1
- package/src/selectors/getImplementationsExecution.js +2 -2
- package/src/selectors/getLinkedImplementationsToRulesColumns.js +0 -1
- package/src/selectors/getPreviousRuleImplementationQuery.js +1 -1
- package/src/selectors/getRuleImplementationColumns.js +0 -1
- package/src/selectors/getRuleImplementationForm.js +5 -5
- package/src/selectors/getRuleImplementationSelectedFilters.js +1 -1
- package/src/selectors/ruleColumnsSelector.js +0 -1
- package/src/styles/ruleSummary.less +21 -21
- package/src/components/RuleRangeNumber.js +0 -46
- package/src/components/RuleRangePercentage.js +0 -116
- package/src/components/__tests__/RuleRangeNumber.spec.js +0 -20
- package/src/components/__tests__/RuleRangePercentage.spec.js +0 -34
- package/src/components/__tests__/UploadModal.spec.js +0 -158
- package/src/components/__tests__/__snapshots__/RuleRangeNumber.spec.js.snap +0 -50
- package/src/components/__tests__/__snapshots__/RuleRangePercentage.spec.js.snap +0 -303
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.10",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"jsnext:main": "src/index.js",
|
|
7
6
|
"module": "src/index.js",
|
|
8
7
|
"files": [
|
|
9
|
-
"src"
|
|
8
|
+
"src",
|
|
9
|
+
"index.js"
|
|
10
10
|
],
|
|
11
11
|
"author": "Bluetab Solutions",
|
|
12
12
|
"license": "GPL-3.0",
|
|
@@ -15,59 +15,23 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"clean": "rimraf yarn-error.log",
|
|
18
|
-
"debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
19
18
|
"test": "TZ=UTC jest --coverage",
|
|
20
|
-
"test:watch": "TZ=UTC jest --watch",
|
|
21
19
|
"eslint": "eslint src/**",
|
|
22
20
|
"eslint:fix": "eslint --fix src/**"
|
|
23
21
|
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@babel/cli": "^7.19.3",
|
|
26
|
-
"@babel/core": "^7.20.5",
|
|
27
|
-
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
28
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
|
|
29
|
-
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
30
|
-
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
31
|
-
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
|
|
32
|
-
"@babel/preset-env": "^7.20.2",
|
|
33
|
-
"@babel/preset-react": "^7.18.6",
|
|
34
|
-
"@testing-library/jest-dom": "^5.16.5",
|
|
35
|
-
"@testing-library/react": "^12.0.0",
|
|
36
|
-
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "7.5.9",
|
|
38
|
-
"babel-jest": "^28.1.0",
|
|
39
|
-
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
|
-
"babel-plugin-lodash": "^3.3.4",
|
|
41
|
-
"babel-plugin-react-intl": "^5.1.18",
|
|
42
|
-
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
|
|
43
|
-
"enzyme": "^3.11.0",
|
|
44
|
-
"enzyme-to-json": "^3.6.2",
|
|
45
|
-
"identity-obj-proxy": "^3.0.0",
|
|
46
|
-
"jest": "^29.0.0",
|
|
47
|
-
"jest-environment-jsdom": "^29.0.0",
|
|
48
|
-
"react": "^16.14.0",
|
|
49
|
-
"react-dom": "^16.14.0",
|
|
50
|
-
"redux-saga-test-plan": "^4.0.4",
|
|
51
|
-
"rimraf": "^3.0.2",
|
|
52
|
-
"semantic-ui-react": "^2.1.4"
|
|
53
|
-
},
|
|
54
22
|
"jest": {
|
|
55
23
|
"maxWorkers": "50%",
|
|
56
24
|
"testTimeout": 10000,
|
|
57
25
|
"moduleDirectories": [
|
|
58
|
-
"<rootDir>/src"
|
|
59
|
-
"../../node_modules"
|
|
60
|
-
],
|
|
61
|
-
"setupFilesAfterEnv": [
|
|
62
|
-
"@truedat/test/setup"
|
|
26
|
+
"<rootDir>/src"
|
|
63
27
|
],
|
|
64
28
|
"moduleNameMapper": {
|
|
65
29
|
"\\.(css|less|png)$": "identity-obj-proxy",
|
|
66
30
|
"^@truedat/([^/]+)$": "<rootDir>/../$1/src/index",
|
|
67
31
|
"^@truedat/([^/]+)/(.*)$": "<rootDir>/../$1/src/$2"
|
|
68
32
|
},
|
|
69
|
-
"
|
|
70
|
-
"
|
|
33
|
+
"setupFilesAfterEnv": [
|
|
34
|
+
"@truedat/test/setup"
|
|
71
35
|
],
|
|
72
36
|
"testEnvironment": "jsdom",
|
|
73
37
|
"testMatch": [
|
|
@@ -75,9 +39,6 @@
|
|
|
75
39
|
"**/?(*.)+(spec|test).[jt]s?(x)",
|
|
76
40
|
"!**/__fixtures__/**"
|
|
77
41
|
],
|
|
78
|
-
"testPathIgnorePatterns": [
|
|
79
|
-
"<rootDir>/node_modules/"
|
|
80
|
-
],
|
|
81
42
|
"transform": {
|
|
82
43
|
"\\.js$": [
|
|
83
44
|
"babel-jest",
|
|
@@ -85,38 +46,47 @@
|
|
|
85
46
|
"rootMode": "upward"
|
|
86
47
|
}
|
|
87
48
|
]
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@testing-library/dom": "^10.4.0",
|
|
53
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
54
|
+
"@testing-library/react": "^16.2.0",
|
|
55
|
+
"@testing-library/user-event": "^14.6.1",
|
|
56
|
+
"@truedat/test": "7.5.10",
|
|
57
|
+
"identity-obj-proxy": "^3.0.0",
|
|
58
|
+
"jest": "^29.7.0",
|
|
59
|
+
"redux-saga-test-plan": "^4.0.6"
|
|
92
60
|
},
|
|
93
61
|
"dependencies": {
|
|
94
|
-
"@apollo/client": "^3.
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
62
|
+
"@apollo/client": "^3.13.5",
|
|
63
|
+
"axios": "^1.8.4",
|
|
64
|
+
"file-saver": "^2.0.5",
|
|
65
|
+
"graphql": "^16.10.0",
|
|
66
|
+
"is-hotkey": "^0.2.0",
|
|
67
|
+
"is-url": "^1.2.4",
|
|
68
|
+
"lodash": "^4.17.21",
|
|
69
|
+
"moment": "^2.30.1",
|
|
70
|
+
"path-to-regexp": "^8.2.0",
|
|
101
71
|
"prop-types": "^15.8.1",
|
|
102
72
|
"query-string": "^7.1.2",
|
|
103
73
|
"rc-slider": "^8.6.1",
|
|
104
|
-
"react
|
|
105
|
-
"react-
|
|
106
|
-
"react-
|
|
107
|
-
"react-
|
|
108
|
-
"
|
|
109
|
-
"
|
|
74
|
+
"react": "^19.0.0",
|
|
75
|
+
"react-csv": "^2.2.2",
|
|
76
|
+
"react-dom": "^19.0.0",
|
|
77
|
+
"react-dropzone": "^14.3.8",
|
|
78
|
+
"react-hook-form": "^7.54.2",
|
|
79
|
+
"react-intl": "^7.1.10",
|
|
80
|
+
"react-moment": "^1.1.3",
|
|
81
|
+
"react-redux": "^9.2.0",
|
|
82
|
+
"react-router": "^7.4.0",
|
|
83
|
+
"redux": "^5.0.1",
|
|
84
|
+
"redux-saga": "^1.3.0",
|
|
110
85
|
"redux-saga-routines": "^3.2.3",
|
|
111
|
-
"reselect": "^
|
|
86
|
+
"reselect": "^5.1.1",
|
|
112
87
|
"semantic-ui-calendar-react": "^0.15.3",
|
|
113
|
-
"semantic-ui-react": "^
|
|
114
|
-
"swr": "^
|
|
115
|
-
},
|
|
116
|
-
"peerDependencies": {
|
|
117
|
-
"react": ">= 16.8.6 < 17",
|
|
118
|
-
"react-dom": ">= 16.8.6 < 17",
|
|
119
|
-
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
88
|
+
"semantic-ui-react": "^3.0.0-beta.2",
|
|
89
|
+
"swr": "^2.3.3"
|
|
120
90
|
},
|
|
121
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "8a8c49e9d5d6bb4e5f2b503b063bfd6dd20a503d"
|
|
122
92
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
5
|
-
import { Link } from "react-router
|
|
4
|
+
import { Link } from "react-router";
|
|
6
5
|
import { Table, Button, Message, Segment, TableCell } from "semantic-ui-react";
|
|
7
6
|
import { connect } from "react-redux";
|
|
8
7
|
import { linkTo } from "@truedat/core/routes";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { Fragment } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { Icon, Table } from "semantic-ui-react";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { linkTo } from "@truedat/core/routes";
|
|
7
|
-
import { Link } from "react-router
|
|
7
|
+
import { Link } from "react-router";
|
|
8
8
|
import { FormattedMessage } from "react-intl";
|
|
9
9
|
|
|
10
10
|
const QualifyAndLinkStructure = ({ value, aliasArray }) =>
|
|
@@ -61,7 +61,7 @@ const FormattedLink = ({ value, aliasArray, operator = {} }) => {
|
|
|
61
61
|
defaultMessage={`"${
|
|
62
62
|
_.isArray(value.raw) ? _.join(", ")(value.raw) : value.raw
|
|
63
63
|
}"`}
|
|
64
|
-
|
|
64
|
+
/>
|
|
65
65
|
</span>
|
|
66
66
|
);
|
|
67
67
|
}
|
|
@@ -124,13 +124,13 @@ export const getValues = ({ value = [], operator = {}, value_modifier }) => {
|
|
|
124
124
|
value_modifier
|
|
125
125
|
)
|
|
126
126
|
: operator?.value_type === "reference_dataset_field"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
127
|
+
? valuesFromKeys(
|
|
128
|
+
defaultOrValue,
|
|
129
|
+
["referenceDataset", "name"],
|
|
130
|
+
[],
|
|
131
|
+
value_modifier
|
|
132
|
+
)
|
|
133
|
+
: valuesFromKeys(defaultOrValue, ["raw"], [], value_modifier);
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
const OperatorMessage = ({ operator }) =>
|
|
@@ -253,12 +253,13 @@ export const ConditionCell = ({
|
|
|
253
253
|
_.prop("modifier.params"),
|
|
254
254
|
_.toPairs,
|
|
255
255
|
_.map(([paramName, paramValue]) => (
|
|
256
|
-
<div
|
|
257
|
-
{
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
256
|
+
<div
|
|
257
|
+
key={paramName}
|
|
258
|
+
className="smaller"
|
|
259
|
+
>{`${formatMessage({
|
|
260
|
+
id: `filtersGrid.field.modifier.${value.modifier.name}.${paramName}`,
|
|
261
|
+
defaultMessage: paramName,
|
|
262
|
+
})}: ${paramValue}`}</div>
|
|
262
263
|
))
|
|
263
264
|
)(value)}
|
|
264
265
|
</>
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState } from "react";
|
|
3
3
|
import { Button, Form, Header } from "semantic-ui-react";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { TemplateSelector } from "@truedat/core/components";
|
|
7
7
|
import { validateContent } from "@truedat/df/utils";
|
|
8
8
|
|
|
9
|
-
const DynamicForm =
|
|
10
|
-
import("@truedat/df/components/DynamicForm")
|
|
11
|
-
);
|
|
9
|
+
const DynamicForm = lazy(() => import("@truedat/df/components/DynamicForm"));
|
|
12
10
|
|
|
13
11
|
export const ExecutionForm = ({ count, onSubmit, onCancel }) => {
|
|
14
12
|
const { formatMessage } = useIntl();
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { Breadcrumb } from "semantic-ui-react";
|
|
4
|
-
import { Link } from "react-router
|
|
3
|
+
import { Link } from "react-router";
|
|
5
4
|
import { FormattedMessage } from "react-intl";
|
|
6
5
|
import { DateTime } from "@truedat/core/components";
|
|
7
6
|
import { EXECUTION_GROUPS } from "@truedat/core/routes";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { useQuery } from "@apollo/client";
|
|
5
5
|
import { TEMPLATES_QUERY } from "@truedat/core/api/queries";
|
|
6
6
|
|
|
7
|
-
const DynamicFormViewer =
|
|
8
|
-
import("@truedat/df/components/DynamicFormViewer")
|
|
7
|
+
const DynamicFormViewer = lazy(
|
|
8
|
+
() => import("@truedat/df/components/DynamicFormViewer")
|
|
9
9
|
);
|
|
10
10
|
|
|
11
11
|
const templateFieldNames = _.flow(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
|
-
import { useParams } from "react-router
|
|
2
|
+
import { useParams } from "react-router";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { fetchExecutionGroup, clearExecutionGroup } from "../routines";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { useQuery } from "@apollo/client";
|
|
3
2
|
import queryString from "query-string";
|
|
4
3
|
import { useIntl } from "react-intl";
|
|
5
|
-
import { useLocation } from "react-router
|
|
4
|
+
import { useLocation } from "react-router";
|
|
6
5
|
import { Header, Segment } from "semantic-ui-react";
|
|
7
6
|
import { CursorPagination } from "@truedat/core/components";
|
|
8
7
|
import { MY_EXECUTION_GROUPS_QUERY } from "../api/queries";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { Header, Icon, Segment, Table } from "semantic-ui-react";
|
|
5
|
-
import { Link } from "react-router
|
|
4
|
+
import { Link } from "react-router";
|
|
6
5
|
import { FormattedMessage } from "react-intl";
|
|
7
6
|
import { linkTo } from "@truedat/core/routes";
|
|
8
7
|
import ConditionCell from "./ConditionCell";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
|
-
import { Link } from "react-router
|
|
3
|
+
import { Link } from "react-router";
|
|
5
4
|
import { useIntl } from "react-intl";
|
|
6
5
|
import { connect } from "react-redux";
|
|
7
6
|
import { Button } from "semantic-ui-react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { Breadcrumb } from "semantic-ui-react";
|
|
5
4
|
import { connect } from "react-redux";
|
|
6
|
-
import { Link
|
|
5
|
+
import { Link } from "react-router";
|
|
6
|
+
import { useParams } from "react-router";
|
|
7
7
|
import { FormattedMessage } from "react-intl";
|
|
8
8
|
import { RULES, IMPLEMENTATIONS, linkTo } from "@truedat/core/routes";
|
|
9
9
|
import { DateTime } from "@truedat/core/components";
|
|
@@ -43,7 +43,6 @@ export const ImplementationCrumbs = ({ ruleImplementation, ruleResult }) => {
|
|
|
43
43
|
<FormattedMessage id="implementations.crumbs.top" />
|
|
44
44
|
</Breadcrumb.Section>
|
|
45
45
|
)}
|
|
46
|
-
|
|
47
46
|
{ruleImplementation.id && (
|
|
48
47
|
<>
|
|
49
48
|
<Breadcrumb.Divider icon="right angle" />
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { useQuery } from "@apollo/client";
|
|
5
4
|
import queryString from "query-string";
|
|
6
5
|
import { useIntl } from "react-intl";
|
|
7
|
-
import { useLocation,
|
|
6
|
+
import { useLocation, Link } from "react-router";
|
|
7
|
+
import { useParams } from "react-router";
|
|
8
8
|
import { Menu } from "semantic-ui-react";
|
|
9
9
|
import { Loading } from "@truedat/core/components";
|
|
10
10
|
import { IMPLEMENTATION_EXECUTION_FILTERS_QUERY } from "../api/queries";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { useQuery } from "@apollo/client";
|
|
5
4
|
import queryString from "query-string";
|
|
6
5
|
import { FormattedMessage } from "react-intl";
|
|
7
|
-
import { useLocation
|
|
6
|
+
import { useLocation } from "react-router";
|
|
7
|
+
import { useParams } from "react-router";
|
|
8
8
|
import { Grid, Segment, Table } from "semantic-ui-react";
|
|
9
9
|
import { CursorPagination, DateTime, Loading } from "@truedat/core/components";
|
|
10
10
|
import { IMPLEMENTATION_EXECUTIONS_QUERY } from "../api/queries";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { DateTime } from "@truedat/core/components/DateTime";
|
|
5
4
|
import { Popup } from "semantic-ui-react";
|
|
6
|
-
import { Link } from "react-router
|
|
5
|
+
import { Link } from "react-router";
|
|
7
6
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
8
7
|
import { linkTo } from "@truedat/core/routes";
|
|
9
8
|
import { calculateResultDecoration } from "./RuleResultDecorator";
|
|
@@ -19,19 +18,19 @@ export default function ImplementationResultBar({ implementation }) {
|
|
|
19
18
|
resultText: intl.formatMessage({ id: "quality.error" }),
|
|
20
19
|
}
|
|
21
20
|
: ruleResult?.records === 0
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
? {
|
|
22
|
+
color: "empyDataset",
|
|
23
|
+
resultText: intl.formatMessage(
|
|
24
|
+
{ id: `quality.result.empty_dataset.date` },
|
|
25
|
+
{ date: <DateTime value={ruleResult.date} /> }
|
|
26
|
+
),
|
|
27
|
+
}
|
|
28
|
+
: calculateResultDecoration({
|
|
29
|
+
ruleResult,
|
|
30
|
+
ruleImplementation: implementation,
|
|
31
|
+
date: ruleResult?.date,
|
|
32
|
+
intl,
|
|
33
|
+
});
|
|
35
34
|
|
|
36
35
|
const propsByColor = {
|
|
37
36
|
red: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { useEffect, useRef, useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { Dimmer, Loader, Segment } from "semantic-ui-react";
|
|
@@ -99,9 +99,11 @@ export const ImplementationSearchResults = ({
|
|
|
99
99
|
<RuleImplementationsSearch />
|
|
100
100
|
<RuleImplementationSelectedFilters />
|
|
101
101
|
<Dimmer.Dimmable dimmed={loading}>
|
|
102
|
-
|
|
103
|
-
<
|
|
104
|
-
|
|
102
|
+
{loading ? (
|
|
103
|
+
<Dimmer active inverted>
|
|
104
|
+
<Loader />
|
|
105
|
+
</Dimmer>
|
|
106
|
+
) : null}
|
|
105
107
|
<RuleImplementationsLabelResults
|
|
106
108
|
executeImplementationsOn={executeImplementationsOn}
|
|
107
109
|
implementationsToExecute={_.size(selectedImplementations)}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
4
|
import { Button } from "semantic-ui-react";
|
|
6
|
-
import { Link } from "react-router
|
|
5
|
+
import { Link } from "react-router";
|
|
7
6
|
import { FormattedMessage } from "react-intl";
|
|
8
7
|
import { linkTo } from "@truedat/core/routes";
|
|
9
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { lazy } from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
4
|
import { Segment } from "semantic-ui-react";
|
|
5
5
|
import { getImplementationStructureLinksColumns } from "../selectors";
|
|
6
6
|
import ImplementationStructureLinksActions from "./ImplementationStructureLinksActions";
|
|
7
7
|
|
|
8
|
-
const LinksPane =
|
|
8
|
+
const LinksPane = lazy(() => import("@truedat/lm/components/LinksPane"));
|
|
9
9
|
|
|
10
10
|
export const ImplementationStructures = ({ groups }) => (
|
|
11
11
|
<Segment attached="bottom">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
@@ -8,8 +8,8 @@ import { HistoryBackButton } from "@truedat/core/components";
|
|
|
8
8
|
import { linkTo } from "@truedat/core/routes";
|
|
9
9
|
import { createImplementationStructure } from "../routines";
|
|
10
10
|
|
|
11
|
-
const StructureSelector =
|
|
12
|
-
import("@truedat/dd/components/StructureSelector")
|
|
11
|
+
const StructureSelector = lazy(
|
|
12
|
+
() => import("@truedat/dd/components/StructureSelector")
|
|
13
13
|
);
|
|
14
14
|
|
|
15
15
|
export const ImplementationStructuresNew = ({
|
|
@@ -94,7 +94,6 @@ export const ImplementationStructuresNew = ({
|
|
|
94
94
|
content={formatMessage({ id: "actions.cancel" })}
|
|
95
95
|
disabled={creatingImplementationStructure}
|
|
96
96
|
/>
|
|
97
|
-
|
|
98
97
|
<Button
|
|
99
98
|
primary
|
|
100
99
|
content={formatMessage({ id: "actions.create" })}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import PropTypes from "prop-types";
|
|
4
3
|
import { Header, Icon, List, Table, Segment } from "semantic-ui-react";
|
|
5
|
-
import { Link } from "react-router
|
|
4
|
+
import { Link } from "react-router";
|
|
6
5
|
import { FormattedMessage } from "react-intl";
|
|
7
6
|
import { linkTo } from "@truedat/core/routes";
|
|
8
7
|
import ConditionSummary, { empty, path } from "./ConditionSummary";
|
|
@@ -39,7 +38,7 @@ const FormattedLink = ({ value, operator = {} }) =>
|
|
|
39
38
|
defaultMessage={`"${
|
|
40
39
|
_.isArray(value.raw) ? _.join(", ")(value.raw) : value.raw
|
|
41
40
|
}"`}
|
|
42
|
-
|
|
41
|
+
/>
|
|
43
42
|
</span>
|
|
44
43
|
);
|
|
45
44
|
|
|
@@ -80,7 +79,7 @@ const UnionSummary = ({ alias, row }) => {
|
|
|
80
79
|
{row.clauses.map((clause, k) =>
|
|
81
80
|
_.size(clause) > 0 ? (
|
|
82
81
|
<List.Item key={k}>
|
|
83
|
-
{clause.left && <AliasText alias={alias} clause={clause.left} />}
|
|
82
|
+
{clause.left && <AliasText alias={alias} clause={clause.left} />}={" "}
|
|
84
83
|
{clause.right && <AliasText alias={alias} clause={clause.right} />}
|
|
85
84
|
</List.Item>
|
|
86
85
|
) : null
|
|
@@ -140,7 +139,6 @@ const DatasetSummary = ({ rows, alias }) =>
|
|
|
140
139
|
{_.path("structure.name")(row)}
|
|
141
140
|
</span>
|
|
142
141
|
)}
|
|
143
|
-
|
|
144
142
|
{row.alias?.text && <span>({row.alias.text})</span>}
|
|
145
143
|
<UnionSummary alias={alias} row={row} />
|
|
146
144
|
</Table.Cell>
|
|
@@ -169,12 +167,10 @@ export const ImplementationSummary = ({ ruleImplementation, activeSteps }) => {
|
|
|
169
167
|
_.includes("executable")(steps) ? (
|
|
170
168
|
<InformationSummary ruleImplementation={ruleImplementation} />
|
|
171
169
|
) : null}
|
|
172
|
-
|
|
173
170
|
{_.includes("dataset")(steps) &&
|
|
174
171
|
!_.isEmpty(ruleImplementation?.data_structures) ? (
|
|
175
172
|
<TaxonomySummary ruleImplementation={ruleImplementation} />
|
|
176
173
|
) : null}
|
|
177
|
-
|
|
178
174
|
{dataset && _.includes("dataset")(steps) && (
|
|
179
175
|
<DatasetSummary rows={dataset} alias={alias} />
|
|
180
176
|
)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { lazy } from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { Segment } from "semantic-ui-react";
|
|
4
4
|
import ImplementationsHeader from "./ImplementationsHeader";
|
|
@@ -6,8 +6,8 @@ import ImplementationFiltersLoader from "./ImplementationFiltersLoader";
|
|
|
6
6
|
import ImplementationSearchResults from "./ImplementationSearchResults";
|
|
7
7
|
import RuleImplementationsLoader from "./RuleImplementationsLoader";
|
|
8
8
|
|
|
9
|
-
const UserSearchFiltersLoader =
|
|
10
|
-
import("@truedat/dd/components/UserSearchFiltersLoader")
|
|
9
|
+
const UserSearchFiltersLoader = lazy(
|
|
10
|
+
() => import("@truedat/dd/components/UserSearchFiltersLoader")
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
export const Implementations = ({ defaultFilters }) => (
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { Header, Icon } from "semantic-ui-react";
|
|
3
2
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
4
3
|
import { useActiveRoute } from "@truedat/core/hooks";
|
|
@@ -14,13 +13,13 @@ export const ImplementationSearchResultsHeader = () => {
|
|
|
14
13
|
const header = pending
|
|
15
14
|
? "implementations.header.manage"
|
|
16
15
|
: deprecated
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
? "implementations.header.deprecated"
|
|
17
|
+
: "implementations.header";
|
|
19
18
|
const subheader = pending
|
|
20
19
|
? "implementations.subheader.manage"
|
|
21
20
|
: deprecated
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
? "implementations.subheader.deprecated"
|
|
22
|
+
: "implementations.subheader";
|
|
24
23
|
return (
|
|
25
24
|
<Header as="h2">
|
|
26
25
|
<Icon
|