@truedat/dq 7.5.7 → 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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
|
|
4
3
|
export const JoinTypeIcon = ({ type }) => {
|
|
@@ -7,36 +6,36 @@ export const JoinTypeIcon = ({ type }) => {
|
|
|
7
6
|
return (
|
|
8
7
|
<div className="join_type">
|
|
9
8
|
<div className="circle circle-left">
|
|
10
|
-
<div className="circle circle-center fill"
|
|
9
|
+
<div className="circle circle-center fill" />
|
|
11
10
|
</div>
|
|
12
|
-
<div className="circle circle-right"
|
|
11
|
+
<div className="circle circle-right" />
|
|
13
12
|
</div>
|
|
14
13
|
);
|
|
15
14
|
case "left":
|
|
16
15
|
return (
|
|
17
16
|
<div className="join_type">
|
|
18
17
|
<div className="circle circle-left fill">
|
|
19
|
-
<div className="circle circle-center fill"
|
|
18
|
+
<div className="circle circle-center fill" />
|
|
20
19
|
</div>
|
|
21
|
-
<div className="circle circle-right"
|
|
20
|
+
<div className="circle circle-right" />
|
|
22
21
|
</div>
|
|
23
22
|
);
|
|
24
23
|
case "right":
|
|
25
24
|
return (
|
|
26
25
|
<div className="join_type">
|
|
27
26
|
<div className="circle circle-left">
|
|
28
|
-
<div className="circle circle-center fill"
|
|
27
|
+
<div className="circle circle-center fill" />
|
|
29
28
|
</div>
|
|
30
|
-
<div className="circle circle-right fill"
|
|
29
|
+
<div className="circle circle-right fill" />
|
|
31
30
|
</div>
|
|
32
31
|
);
|
|
33
32
|
case "full_outer":
|
|
34
33
|
return (
|
|
35
34
|
<div className="join_type">
|
|
36
35
|
<div className="circle circle-left fill">
|
|
37
|
-
<div className="circle circle-center fill"
|
|
36
|
+
<div className="circle circle-center fill" />
|
|
38
37
|
</div>
|
|
39
|
-
<div className="circle circle-right fill"
|
|
38
|
+
<div className="circle circle-right fill" />
|
|
40
39
|
</div>
|
|
41
40
|
);
|
|
42
41
|
default:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
@@ -97,8 +97,8 @@ export const NewBasicRuleImplementation = ({
|
|
|
97
97
|
clone
|
|
98
98
|
? "ruleImplementations.actions.create"
|
|
99
99
|
: edition
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
? "ruleImplementations.actions.edit"
|
|
101
|
+
: "ruleImplementations.actions.create"
|
|
102
102
|
}
|
|
103
103
|
/>
|
|
104
104
|
</Header.Content>
|
|
@@ -117,7 +117,7 @@ export const NewBasicRuleImplementation = ({
|
|
|
117
117
|
/>
|
|
118
118
|
</Grid.Row>
|
|
119
119
|
</Grid.Column>
|
|
120
|
-
<Grid.Column width="5"
|
|
120
|
+
<Grid.Column width="5" />
|
|
121
121
|
</Grid>
|
|
122
122
|
);
|
|
123
123
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { FormattedMessage } from "react-intl";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
|
-
import { useParams } from "react-router
|
|
4
|
+
import { useParams } from "react-router";
|
|
6
5
|
import { Container, Header, Icon, Segment } from "semantic-ui-react";
|
|
7
6
|
import { createRule } from "../routines";
|
|
8
7
|
import RuleForm from "./RuleForm";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import queryString from "query-string";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
|
-
import { useLocation } from "react-router
|
|
7
|
+
import { useLocation } from "react-router";
|
|
8
8
|
import { Divider, Loader, Header, Grid } from "semantic-ui-react";
|
|
9
9
|
import { linkTo } from "@truedat/core/routes";
|
|
10
10
|
import { Loading } from "@truedat/core/components";
|
|
@@ -588,8 +588,8 @@ export const NewRuleImplementation = ({
|
|
|
588
588
|
clone
|
|
589
589
|
? "ruleImplementations.actions.create"
|
|
590
590
|
: edition
|
|
591
|
-
|
|
592
|
-
|
|
591
|
+
? "ruleImplementations.actions.edit"
|
|
592
|
+
: "ruleImplementations.actions.create"
|
|
593
593
|
}
|
|
594
594
|
/>
|
|
595
595
|
</Header.Content>
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import Moment from "react-moment";
|
|
4
3
|
import { Feed } from "semantic-ui-react";
|
|
@@ -7,13 +6,11 @@ const dateDecorator = date =>
|
|
|
7
6
|
date && <Moment locale="es" date={date} format="YYYY-MM-DD HH:mm:ss.SSS" />;
|
|
8
7
|
|
|
9
8
|
export const Event = ({ inserted_at, message, type }) => (
|
|
10
|
-
<Feed.Event
|
|
11
|
-
<Feed.Content
|
|
9
|
+
<Feed.Event><Feed.Content
|
|
12
10
|
date={dateDecorator(inserted_at)}
|
|
13
11
|
summary={type}
|
|
14
12
|
extraText={message}
|
|
15
|
-
|
|
16
|
-
</Feed.Event>
|
|
13
|
+
/></Feed.Event>
|
|
17
14
|
);
|
|
18
15
|
|
|
19
16
|
Event.propTypes = {
|
|
@@ -24,16 +21,14 @@ Event.propTypes = {
|
|
|
24
21
|
|
|
25
22
|
export const QualityEventError = ({ inserted_at, message, type }) => {
|
|
26
23
|
return (
|
|
27
|
-
<Feed size="large">
|
|
28
|
-
{
|
|
24
|
+
(<Feed size="large">{
|
|
29
25
|
<Event
|
|
30
26
|
key="failed_event"
|
|
31
27
|
inserted_at={inserted_at}
|
|
32
28
|
message={message}
|
|
33
29
|
type={type}
|
|
34
30
|
/>
|
|
35
|
-
}
|
|
36
|
-
</Feed>
|
|
31
|
+
}</Feed>)
|
|
37
32
|
);
|
|
38
33
|
};
|
|
39
34
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Route,
|
|
3
|
-
import {
|
|
4
|
-
import { useAuthorized } from "@truedat/core/hooks";
|
|
2
|
+
import { Route, Routes } from "react-router";
|
|
3
|
+
import { ProtectedRoute, Loader } from "@truedat/core/router";
|
|
5
4
|
import {
|
|
6
5
|
EXECUTION_GROUP,
|
|
7
6
|
EXECUTION_GROUPS,
|
|
@@ -17,52 +16,79 @@ import ImplementationsRoutes from "./ImplementationsRoutes";
|
|
|
17
16
|
import RulesRoutes from "./RulesRoutes";
|
|
18
17
|
|
|
19
18
|
const ExecutionsRoutes = () => (
|
|
20
|
-
<
|
|
19
|
+
<Routes>
|
|
21
20
|
<Route
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
// EXECUTION_GROUPS = "/executionGroups";
|
|
22
|
+
index
|
|
23
|
+
element={<ExecutionGroups />}
|
|
24
|
+
/>
|
|
25
|
+
<Route
|
|
26
|
+
// EXECUTION_GROUP = "/executionGroups/:id";
|
|
27
|
+
path=":id"
|
|
28
|
+
element={
|
|
24
29
|
<>
|
|
25
30
|
<ExecutionGroupLoader />
|
|
26
31
|
<ExecutionGroup />
|
|
27
32
|
</>
|
|
28
|
-
|
|
33
|
+
}
|
|
29
34
|
/>
|
|
30
|
-
|
|
31
|
-
</Switch>
|
|
35
|
+
</Routes>
|
|
32
36
|
);
|
|
33
37
|
|
|
34
38
|
const QualityRoutes = () => {
|
|
35
|
-
const authorized = useAuthorized("quality");
|
|
36
|
-
|
|
37
39
|
return (
|
|
38
|
-
|
|
40
|
+
<Routes>
|
|
39
41
|
<Route
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
// EXECUTION_GROUPS = "/executionGroups";
|
|
43
|
+
path="/executionGroups/*"
|
|
44
|
+
element={
|
|
45
|
+
<ProtectedRoute authorization="quality">
|
|
46
|
+
<ExecutionsRoutes />
|
|
47
|
+
</ProtectedRoute>
|
|
48
|
+
}
|
|
42
49
|
/>
|
|
50
|
+
|
|
43
51
|
<Route
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
// RULES = "/rules";
|
|
53
|
+
path="/rules/*"
|
|
54
|
+
element={
|
|
55
|
+
<ProtectedRoute authorization="quality">
|
|
56
|
+
<RulesRoutes />
|
|
57
|
+
</ProtectedRoute>
|
|
58
|
+
}
|
|
46
59
|
/>
|
|
60
|
+
|
|
47
61
|
<Route
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
62
|
+
// IMPLEMENTATIONS = "/implementations";
|
|
63
|
+
path="/implementations/*"
|
|
64
|
+
element={
|
|
65
|
+
<ProtectedRoute authorization="quality">
|
|
66
|
+
<ImplementationsRoutes />
|
|
67
|
+
</ProtectedRoute>
|
|
51
68
|
}
|
|
52
69
|
/>
|
|
70
|
+
|
|
53
71
|
<Route
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
72
|
+
// IMPLEMENTATIONS_PENDING = "/pendingImplementations";
|
|
73
|
+
path="/pendingImplementations/*"
|
|
74
|
+
element={
|
|
75
|
+
<ProtectedRoute authorization="quality">
|
|
76
|
+
<ImplementationsRoutes />
|
|
77
|
+
</ProtectedRoute>
|
|
57
78
|
}
|
|
58
79
|
/>
|
|
80
|
+
|
|
59
81
|
<Route
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
82
|
+
// IMPLEMENTATIONS_DEPRECATED = "/deprecatedImplementations";
|
|
83
|
+
path="/deprecatedImplementations/*"
|
|
84
|
+
element={
|
|
85
|
+
<ProtectedRoute authorization="quality">
|
|
86
|
+
<ImplementationsRoutes />
|
|
87
|
+
</ProtectedRoute>
|
|
63
88
|
}
|
|
64
89
|
/>
|
|
65
|
-
|
|
90
|
+
<Route path="*" element={null} />
|
|
91
|
+
</Routes>
|
|
66
92
|
);
|
|
67
93
|
};
|
|
68
94
|
|
|
@@ -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, linkTo } from "@truedat/core/routes";
|
|
9
9
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
|
-
import { useParams } from "react-router
|
|
6
|
+
import { useParams } from "react-router";
|
|
7
7
|
import { Button, Form } from "semantic-ui-react";
|
|
8
8
|
import { createRemediation, updateRemediation } from "../routines";
|
|
9
9
|
|
|
10
|
-
const SelectableDynamicForm =
|
|
11
|
-
import("@truedat/df/components/SelectableDynamicForm")
|
|
10
|
+
const SelectableDynamicForm = lazy(
|
|
11
|
+
() => import("@truedat/df/components/SelectableDynamicForm")
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
export const RemediationForm = ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useState, useEffect } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import { useParams } from "react-router
|
|
6
|
+
import { useParams } from "react-router";
|
|
7
7
|
import { Button, Grid, Container } from "semantic-ui-react";
|
|
8
8
|
import { FormattedMessage } from "react-intl";
|
|
9
9
|
import { Loading } from "@truedat/core/components";
|
|
@@ -14,8 +14,8 @@ import RemediationForm from "./RemediationForm";
|
|
|
14
14
|
|
|
15
15
|
import "../styles/remediationPlan.less";
|
|
16
16
|
|
|
17
|
-
const DynamicFormViewer =
|
|
18
|
-
import("@truedat/df/components/DynamicFormViewer")
|
|
17
|
+
const DynamicFormViewer = lazy(
|
|
18
|
+
() => import("@truedat/df/components/DynamicFormViewer")
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
export const RemediationPlan = ({
|
|
@@ -84,7 +84,6 @@ export const RemediationPlan = ({
|
|
|
84
84
|
/>
|
|
85
85
|
</div>
|
|
86
86
|
) : null}
|
|
87
|
-
|
|
88
87
|
<Grid>
|
|
89
88
|
<Grid.Column width={8}>
|
|
90
89
|
{!isEdit && remediation?.df_name ? (
|
package/src/components/Rule.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
3
|
-
import PropTypes from "prop-types";
|
|
2
|
+
import { Link } from "react-router";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
|
-
import
|
|
4
|
+
import PropTypes from "prop-types";
|
|
6
5
|
import { Button, Icon } from "semantic-ui-react";
|
|
7
6
|
import { FormattedMessage } from "react-intl";
|
|
8
7
|
import { ConfirmModal, GroupActions } from "@truedat/core/components";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { Breadcrumb } from "semantic-ui-react";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
|
-
import { Link } from "react-router
|
|
4
|
+
import { Link } from "react-router";
|
|
6
5
|
import { FormattedMessage } from "react-intl";
|
|
7
6
|
import { RULES } from "@truedat/core/routes";
|
|
8
7
|
|
|
9
8
|
export const RuleCrumbs = ({ rule }) => {
|
|
10
|
-
return rule
|
|
9
|
+
return rule?.name ? (
|
|
11
10
|
<Breadcrumb>
|
|
12
11
|
<Breadcrumb.Section as={Link} to={RULES} active={false}>
|
|
13
12
|
<FormattedMessage id="rules.crumbs.top" />
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy, useEffect, useState } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
|
-
import { FormattedMessage,
|
|
4
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
|
-
import {
|
|
7
|
-
import { compose } from "redux";
|
|
6
|
+
import { useParams } from "react-router";
|
|
8
7
|
import {
|
|
9
8
|
Accordion,
|
|
10
9
|
Button,
|
|
@@ -21,12 +20,12 @@ import {
|
|
|
21
20
|
RichTextEditor,
|
|
22
21
|
} from "@truedat/core/components";
|
|
23
22
|
|
|
24
|
-
const ConceptSelector =
|
|
25
|
-
import("@truedat/bg/concepts/relations/components/ConceptSelector")
|
|
23
|
+
const ConceptSelector = lazy(
|
|
24
|
+
() => import("@truedat/bg/concepts/relations/components/ConceptSelector")
|
|
26
25
|
);
|
|
27
26
|
|
|
28
|
-
const SelectableDynamicForm =
|
|
29
|
-
import("@truedat/df/components/SelectableDynamicForm")
|
|
27
|
+
const SelectableDynamicForm = lazy(
|
|
28
|
+
() => import("@truedat/df/components/SelectableDynamicForm")
|
|
30
29
|
);
|
|
31
30
|
|
|
32
31
|
export const FieldLabelWrapping = ({
|
|
@@ -75,12 +74,12 @@ const filters = {
|
|
|
75
74
|
export const RuleForm = ({
|
|
76
75
|
concept,
|
|
77
76
|
editMode,
|
|
78
|
-
intl,
|
|
79
77
|
isSubmitting,
|
|
80
|
-
match,
|
|
81
78
|
onSubmit,
|
|
82
79
|
rule: ruleData,
|
|
83
80
|
}) => {
|
|
81
|
+
const intl = useIntl();
|
|
82
|
+
const params = useParams();
|
|
84
83
|
const [valid, setValid] = useState(false);
|
|
85
84
|
const [domainsLoading, setDomainsLoading] = useState(true);
|
|
86
85
|
const [activeSelection, setActiveSelection] = useState(false);
|
|
@@ -145,7 +144,7 @@ export const RuleForm = ({
|
|
|
145
144
|
|
|
146
145
|
onSubmit({
|
|
147
146
|
rule: { ...ruleData, df_name: templateName },
|
|
148
|
-
ids:
|
|
147
|
+
ids: params,
|
|
149
148
|
});
|
|
150
149
|
};
|
|
151
150
|
|
|
@@ -274,7 +273,6 @@ export const RuleForm = ({
|
|
|
274
273
|
</Label>
|
|
275
274
|
) : null}
|
|
276
275
|
</Form.Group>
|
|
277
|
-
|
|
278
276
|
<Accordion>
|
|
279
277
|
<Accordion.Title
|
|
280
278
|
active={activeSelection && !!domain_id}
|
|
@@ -294,7 +292,6 @@ export const RuleForm = ({
|
|
|
294
292
|
</Accordion>
|
|
295
293
|
</Segment>
|
|
296
294
|
) : null}
|
|
297
|
-
|
|
298
295
|
<SelectableDynamicForm
|
|
299
296
|
scope="dq"
|
|
300
297
|
domainIds={_.isNil(domain_id) ? null : [domain_id]}
|
|
@@ -305,7 +302,6 @@ export const RuleForm = ({
|
|
|
305
302
|
onChange={handleContentChange}
|
|
306
303
|
onNameChange={(df_name) => setTemplateName(df_name)}
|
|
307
304
|
/>
|
|
308
|
-
|
|
309
305
|
<div className="actions">
|
|
310
306
|
<HistoryBackButton
|
|
311
307
|
content={formatMessage({ id: "actions.cancel" })}
|
|
@@ -327,9 +323,7 @@ export const RuleForm = ({
|
|
|
327
323
|
RuleForm.propTypes = {
|
|
328
324
|
concept: PropTypes.object,
|
|
329
325
|
editMode: PropTypes.bool,
|
|
330
|
-
intl: PropTypes.object,
|
|
331
326
|
isSubmitting: PropTypes.bool,
|
|
332
|
-
match: PropTypes.object,
|
|
333
327
|
onSubmit: PropTypes.func.isRequired,
|
|
334
328
|
rule: PropTypes.object,
|
|
335
329
|
};
|
|
@@ -339,8 +333,4 @@ const mapStateToProps = ({ ruleCreating, ruleUpdating, concept }) => ({
|
|
|
339
333
|
concept,
|
|
340
334
|
});
|
|
341
335
|
|
|
342
|
-
export default
|
|
343
|
-
withRouter,
|
|
344
|
-
injectIntl,
|
|
345
|
-
connect(mapStateToProps)
|
|
346
|
-
)(RuleForm);
|
|
336
|
+
export default connect(mapStateToProps)(RuleForm);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
4
3
|
import { connect } from "react-redux";
|
|
5
|
-
import { Link
|
|
4
|
+
import { Link } from "react-router";
|
|
5
|
+
import { useParams } from "react-router";
|
|
6
6
|
import { Button } from "semantic-ui-react";
|
|
7
7
|
import { linkTo } from "@truedat/core/routes";
|
|
8
8
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
3
|
-
import { useParams } from "react-router-dom";
|
|
2
|
+
import { useParams } from "react-router";
|
|
4
3
|
import { useQuery } from "@apollo/client";
|
|
5
4
|
import PropTypes from "prop-types";
|
|
6
5
|
import { connect } from "react-redux";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
|
-
import { Link } from "react-router
|
|
2
|
+
import { Link } from "react-router";
|
|
4
3
|
import { Table } from "semantic-ui-react";
|
|
5
4
|
import { FormattedMessage } from "react-intl";
|
|
6
5
|
import { DateTime } from "@truedat/core/components";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import PropTypes from "prop-types";
|
|
3
|
-
import { Link } from "react-router
|
|
2
|
+
import { Link } from "react-router";
|
|
4
3
|
import { linkTo } from "@truedat/core/routes";
|
|
5
4
|
|
|
6
5
|
export const RuleImplementationLink = ({ id, implementation_key }) => (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect } from "react";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
3
|
import { connect } from "react-redux";
|
|
4
|
-
import { useParams } from "react-router
|
|
4
|
+
import { useParams } from "react-router";
|
|
5
5
|
import { Loading } from "@truedat/core/components";
|
|
6
6
|
import { clearRuleImplementation, fetchRuleImplementation } from "../routines";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "lodash/fp";
|
|
2
|
-
import
|
|
2
|
+
import { lazy } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
5
|
import { connect } from "react-redux";
|
|
@@ -8,8 +8,8 @@ import InformationSummary from "./InformationSummary";
|
|
|
8
8
|
import ImplementationSummary from "./ImplementationSummary";
|
|
9
9
|
import RawContent from "./RawContent";
|
|
10
10
|
|
|
11
|
-
const DynamicFormViewer =
|
|
12
|
-
import("@truedat/df/components/DynamicFormViewer")
|
|
11
|
+
const DynamicFormViewer = lazy(
|
|
12
|
+
() => import("@truedat/df/components/DynamicFormViewer")
|
|
13
13
|
);
|
|
14
14
|
|
|
15
15
|
const summarySteps = ["dataset", "populations", "validations", "segments"];
|
|
@@ -49,7 +49,6 @@ export const RuleImplementationProperties = ({
|
|
|
49
49
|
<List.Header>
|
|
50
50
|
<FormattedMessage id="quality.domain" />
|
|
51
51
|
</List.Header>
|
|
52
|
-
|
|
53
52
|
<List.Content>{ruleImplementation?.domain.name}</List.Content>
|
|
54
53
|
</List.Item>
|
|
55
54
|
</List>
|