UNPKG

vineanova-redux-artifacts

Version:

VineaOpenApiReduxArtifacts is a powerful npm library designed to simplify the integration of Swagger APIs into Redux architecture. By leveraging templates (Mustache files), this library automatically generates Redux ducks, actions, sagas, selectors, and A

910 lines (903 loc) 43.1 kB
import { createSelector } from 'reselect'; const getLkplookupClassification = state => state.entities.lookupClassification; const getLkplookupClassificationGroup = state => state.entities.lookupClassificationGroup; const getLkplookupClassificationGroupIdentityType = state => state.entities.lookupClassificationGroupIdentityType; const getLkplookupReferenceType = state => state.entities.lookupReferenceType; const getLkplookupIdentityType = state => state.entities.lookupIdentityType; const getLkplookupRoleType = state => state.entities.lookupRoleType; const getLkplookupRoleTypeIdentityType = state => state.entities.lookupRoleTypeIdentityType; const getLkplookupBusinessUnit = state => state.entities.lookupBusinessUnit; const getLkplookupReferenceTypeIdentityType = state => state.entities.lookupReferenceTypeIdentityType; const getLkplookupRelationshipType = state => state.entities.lookupRelationshipType; const getLkplookupContactMethod = state => state.entities.lookupContactMethod; const getLkplookupGender = state => state.entities.lookupGender; const getLkplookupNationality = state => state.entities.lookupNationality; const getLkplookupEthnicity = state => state.entities.lookupEthnicity; const getLkplookupLanguage = state => state.entities.lookupLanguage; const getLkplookupCountry = state => state.entities.lookupCountry; const getLkplookupSalutation = state => state.entities.lookupSalutation; const getLkplookupGrowingRegion = state => state.entities.lookupGrowingRegion; const getLkplookupGrowingSubRegion = state => state.entities.lookupGrowingSubRegion; const getLkplookupTown = state => state.entities.lookupTown; const getLkplookupVariety = state => state.entities.lookupVariety; const getLkplookupBlockVintageStatus = state => state.entities.lookupBlockVintageStatus; const getLkplookupTrellis = state => state.entities.lookupTrellis; const getLkplookupRootStock = state => state.entities.lookupRootStock; const getLkplookupVarietyClone = state => state.entities.lookupVarietyClone; const getLkplookupVintage = state => state.entities.lookupVintage; const getLkplookupRowSpecialAttribute = state => state.entities.lookupRowSpecialAttribute; const getLkplookupNoteStatus = state => state.entities.lookupNoteStatus; const getLkplookupMeasure = state => state.entities.lookupMeasure; const getLkplookupMeasureGroup = state => state.entities.lookupMeasureGroup; const getLkplookupMeasureInstance = state => state.entities.lookupMeasureInstance; const getLkplookupKeyword = state => state.entities.lookupKeyword; const getLkplookupSampleRequestStatus = state => state.entities.lookupSampleRequestStatus; const getLkplookupPayrollSystem = state => state.entities.lookupPayrollSystem; const getLkplookupDataProvider = state => state.entities.lookupDataProvider; const getLkplookupDataProviderType = state => state.entities.lookupDataProviderType; const getLkplookupPhenologyMeasure = state => state.entities.lookupPhenologyMeasure; const getLkplookupPhenologyMeasureOption = state => state.entities.lookupPhenologyMeasureOption; const getLkplookupPhenologyMeasureSet = state => state.entities.lookupPhenologyMeasureSet; const getLkplookupPhenologyMeasureType = state => state.entities.lookupPhenologyMeasureType; const getLkplookupCropSettingInstance = state => state.entities.lookupCropSettingInstance; const getLkplookupCropSettingOption = state => state.entities.lookupCropSettingOption; const getLkplookupInactiveReason = state => state.entities.lookupInactiveReason; const getLkplookupDocumentType = state => state.entities.lookupDocumentType; const getLkplookupDocumentStatus = state => state.entities.lookupDocumentStatus; const getLkplookupDashboardPageFilters = state => state.entities.lookupDashboardPageFilters; const getLkplookupChartFilters = state => state.entities.lookupChartFilters; const getLkplookupVehicleType = state => state.entities.lookupVehicleType; const getLkplookupVehicleMake = state => state.entities.lookupVehicleMake; const getLkplookupConsumableType = state => state.entities.lookupConsumableType; const getLkplookupSensorStatus = state => state.entities.lookupSensorStatus; const getLkplookupSensorType = state => state.entities.lookupSensorType; const getLkplookupSensorTypeMeasureUnit = state => state.entities.lookupSensorTypeMeasureUnit; const getLkplookupActivity = state => state.entities.lookupActivity; const getLkplookupDisplayAttribute = state => state.entities.lookupDisplayAttribute; const getLkplookupDuration = state => state.entities.lookupDuration; const getLkplookupWorkUnit = state => state.entities.lookupWorkUnit; const getLkplookupResourceType = state => state.entities.lookupResourceType; const getLkplookupResourceTypeUnit = state => state.entities.lookupResourceTypeUnit; const getLkplookupCostingUnit = state => state.entities.lookupCostingUnit; const getLkplookupActivityGroup = state => state.entities.lookupActivityGroup; const getLkplookupPlanType = state => state.entities.lookupPlanType; const getLkplookupPlanStatus = state => state.entities.lookupPlanStatus; const getLkplookupSupplyContractType = state => state.entities.lookupSupplyContractType; const getLkplookupJobEventAction = state => state.entities.lookupJobEventAction; const getLkplookupJobInvoiceMethod = state => state.entities.lookupJobInvoiceMethod; const getLkplookupJobQuantityType = state => state.entities.lookupJobQuantityType; const getLkplookupJobStatus = state => state.entities.lookupJobStatus; const getLkplookupJobType = state => state.entities.lookupJobType; const getLkplookupJobTypeWorkRecordType = state => state.entities.lookupJobTypeWorkRecordType; const getLkplookupWorkRecordLevel = state => state.entities.lookupWorkRecordLevel; const getLkplookupPayrollRecordType = state => state.entities.lookupPayrollRecordType; const getLkplookupJobWorkUnit = state => state.entities.lookupJobWorkUnit; const getLkplookupWorkRecordUnitType = state => state.entities.lookupWorkRecordUnitType; const getLkplookupIdentityActivity = state => state.entities.lookupIdentityActivity; const getLkplookupSiteType = state => state.entities.lookupSiteType; const getLkplookupImportType = state => state.entities.lookupImportType; const getLkplookupEventLogStatus = state => state.entities.lookupEventLogStatus; const getLkplookupCostAllocationFactor = state => state.entities.lookupCostAllocationFactor; const getLkplookupReportType = state => state.entities.lookupReportType; const getLkplookupWineryDataType = state => state.entities.lookupWineryDataType; const getLkplookupWineryDataAllocationRule = state => state.entities.lookupWineryDataAllocationRule; const getLkplookupWorkRecordType = state => state.entities.lookupWorkRecordType; const getLkplookupPayLoading = state => state.entities.lookupPayLoading; const getLkplookupSplitType = state => state.entities.lookupSplitType; const getLkplookupPayrollStatus = state => state.entities.lookupPayrollStatus; const getLkplookupBatchStatus = state => state.entities.lookupBatchStatus; const getLkplookupTeamType = state => state.entities.lookupTeamType; const getLkplookupNotificationMethod = state => state.entities.lookupNotificationMethod; const getLkplookupAbsenceOutcome = state => state.entities.lookupAbsenceOutcome; const getLkplookupMedicalCertificateStatus = state => state.entities.lookupMedicalCertificateStatus; const getLkplookupSickLeaveEligibility = state => state.entities.lookupSickLeaveEligibility; const getLkplookupAbsenceReason = state => state.entities.lookupAbsenceReason; const getLkplookupAccountSystemSettings = state => state.entities.lookupAccountSystemSettings; const getLkplookupReportCategory = state => state.entities.lookupReportCategory; const getLkplookupDashboardPage = state => state.entities.lookupDashboardPage; const getLkplookupPlantStatus = state => state.entities.lookupPlantStatus; const getLkplookupTableLookups = state => state.entities.lookupTableLookups; export const areLookupsLoading = createSelector( [ getLkplookupClassification, getLkplookupClassificationGroup, getLkplookupClassificationGroupIdentityType, getLkplookupReferenceType, getLkplookupIdentityType, getLkplookupRoleType, getLkplookupRoleTypeIdentityType, getLkplookupBusinessUnit, getLkplookupReferenceTypeIdentityType, getLkplookupRelationshipType, getLkplookupContactMethod, getLkplookupGender, getLkplookupNationality, getLkplookupEthnicity, getLkplookupLanguage, getLkplookupCountry, getLkplookupSalutation, getLkplookupGrowingRegion, getLkplookupGrowingSubRegion, getLkplookupTown, getLkplookupVariety, getLkplookupBlockVintageStatus, getLkplookupTrellis, getLkplookupRootStock, getLkplookupVarietyClone, getLkplookupVintage, getLkplookupRowSpecialAttribute, getLkplookupNoteStatus, getLkplookupMeasure, getLkplookupMeasureGroup, getLkplookupMeasureInstance, getLkplookupKeyword, getLkplookupSampleRequestStatus, getLkplookupPayrollSystem, getLkplookupDataProvider, getLkplookupDataProviderType, getLkplookupPhenologyMeasure, getLkplookupPhenologyMeasureOption, getLkplookupPhenologyMeasureSet, getLkplookupPhenologyMeasureType, getLkplookupCropSettingInstance, getLkplookupCropSettingOption, getLkplookupInactiveReason, getLkplookupDocumentType, getLkplookupDocumentStatus, getLkplookupDashboardPageFilters, getLkplookupChartFilters, getLkplookupVehicleType, getLkplookupVehicleMake, getLkplookupConsumableType, getLkplookupSensorStatus, getLkplookupSensorType, getLkplookupSensorTypeMeasureUnit, getLkplookupActivity, getLkplookupDisplayAttribute, getLkplookupDuration, getLkplookupWorkUnit, getLkplookupResourceType, getLkplookupResourceTypeUnit, getLkplookupCostingUnit, getLkplookupActivityGroup, getLkplookupPlanType, getLkplookupPlanStatus, getLkplookupSupplyContractType, getLkplookupJobEventAction, getLkplookupJobInvoiceMethod, getLkplookupJobQuantityType, getLkplookupJobStatus, getLkplookupJobType, getLkplookupJobTypeWorkRecordType, getLkplookupWorkRecordLevel, getLkplookupPayrollRecordType, getLkplookupJobWorkUnit, getLkplookupWorkRecordUnitType, getLkplookupIdentityActivity, getLkplookupSiteType, getLkplookupImportType, getLkplookupEventLogStatus, getLkplookupCostAllocationFactor, getLkplookupReportType, getLkplookupWineryDataType, getLkplookupWineryDataAllocationRule, getLkplookupWorkRecordType, getLkplookupPayLoading, getLkplookupSplitType, getLkplookupPayrollStatus, getLkplookupBatchStatus, getLkplookupTeamType, getLkplookupNotificationMethod, getLkplookupAbsenceOutcome, getLkplookupMedicalCertificateStatus, getLkplookupSickLeaveEligibility, getLkplookupAbsenceReason, getLkplookupAccountSystemSettings, getLkplookupReportCategory, getLkplookupDashboardPage, getLkplookupPlantStatus, getLkplookupTableLookups, ], ( lkplookupClassification, lkplookupClassificationGroup, lkplookupClassificationGroupIdentityType, lkplookupReferenceType, lkplookupIdentityType, lkplookupRoleType, lkplookupRoleTypeIdentityType, lkplookupBusinessUnit, lkplookupReferenceTypeIdentityType, lkplookupRelationshipType, lkplookupContactMethod, lkplookupGender, lkplookupNationality, lkplookupEthnicity, lkplookupLanguage, lkplookupCountry, lkplookupSalutation, lkplookupGrowingRegion, lkplookupGrowingSubRegion, lkplookupTown, lkplookupVariety, lkplookupBlockVintageStatus, lkplookupTrellis, lkplookupRootStock, lkplookupVarietyClone, lkplookupVintage, lkplookupRowSpecialAttribute, lkplookupNoteStatus, lkplookupMeasure, lkplookupMeasureGroup, lkplookupMeasureInstance, lkplookupKeyword, lkplookupSampleRequestStatus, lkplookupPayrollSystem, lkplookupDataProvider, lkplookupDataProviderType, lkplookupPhenologyMeasure, lkplookupPhenologyMeasureOption, lkplookupPhenologyMeasureSet, lkplookupPhenologyMeasureType, lkplookupCropSettingInstance, lkplookupCropSettingOption, lkplookupInactiveReason, lkplookupDocumentType, lkplookupDocumentStatus, lkplookupDashboardPageFilters, lkplookupChartFilters, lkplookupVehicleType, lkplookupVehicleMake, lkplookupConsumableType, lkplookupSensorStatus, lkplookupSensorType, lkplookupSensorTypeMeasureUnit, lkplookupActivity, lkplookupDisplayAttribute, lkplookupDuration, lkplookupWorkUnit, lkplookupResourceType, lkplookupResourceTypeUnit, lkplookupCostingUnit, lkplookupActivityGroup, lkplookupPlanType, lkplookupPlanStatus, lkplookupSupplyContractType, lkplookupJobEventAction, lkplookupJobInvoiceMethod, lkplookupJobQuantityType, lkplookupJobStatus, lkplookupJobType, lkplookupJobTypeWorkRecordType, lkplookupWorkRecordLevel, lkplookupPayrollRecordType, lkplookupJobWorkUnit, lkplookupWorkRecordUnitType, lkplookupIdentityActivity, lkplookupSiteType, lkplookupImportType, lkplookupEventLogStatus, lkplookupCostAllocationFactor, lkplookupReportType, lkplookupWineryDataType, lkplookupWineryDataAllocationRule, lkplookupWorkRecordType, lkplookupPayLoading, lkplookupSplitType, lkplookupPayrollStatus, lkplookupBatchStatus, lkplookupTeamType, lkplookupNotificationMethod, lkplookupAbsenceOutcome, lkplookupMedicalCertificateStatus, lkplookupSickLeaveEligibility, lkplookupAbsenceReason, lkplookupAccountSystemSettings, lkplookupReportCategory, lkplookupDashboardPage, lkplookupPlantStatus, lkplookupTableLookups, ) => { const { isLoading: lookupClassificationIsLoading } = lkplookupClassification; const { isLoading: lookupClassificationGroupIsLoading } = lkplookupClassificationGroup; const { isLoading: lookupClassificationGroupIdentityTypeIsLoading } = lkplookupClassificationGroupIdentityType; const { isLoading: lookupReferenceTypeIsLoading } = lkplookupReferenceType; const { isLoading: lookupIdentityTypeIsLoading } = lkplookupIdentityType; const { isLoading: lookupRoleTypeIsLoading } = lkplookupRoleType; const { isLoading: lookupRoleTypeIdentityTypeIsLoading } = lkplookupRoleTypeIdentityType; const { isLoading: lookupBusinessUnitIsLoading } = lkplookupBusinessUnit; const { isLoading: lookupReferenceTypeIdentityTypeIsLoading } = lkplookupReferenceTypeIdentityType; const { isLoading: lookupRelationshipTypeIsLoading } = lkplookupRelationshipType; const { isLoading: lookupContactMethodIsLoading } = lkplookupContactMethod; const { isLoading: lookupGenderIsLoading } = lkplookupGender; const { isLoading: lookupNationalityIsLoading } = lkplookupNationality; const { isLoading: lookupEthnicityIsLoading } = lkplookupEthnicity; const { isLoading: lookupLanguageIsLoading } = lkplookupLanguage; const { isLoading: lookupCountryIsLoading } = lkplookupCountry; const { isLoading: lookupSalutationIsLoading } = lkplookupSalutation; const { isLoading: lookupGrowingRegionIsLoading } = lkplookupGrowingRegion; const { isLoading: lookupGrowingSubRegionIsLoading } = lkplookupGrowingSubRegion; const { isLoading: lookupTownIsLoading } = lkplookupTown; const { isLoading: lookupVarietyIsLoading } = lkplookupVariety; const { isLoading: lookupBlockVintageStatusIsLoading } = lkplookupBlockVintageStatus; const { isLoading: lookupTrellisIsLoading } = lkplookupTrellis; const { isLoading: lookupRootStockIsLoading } = lkplookupRootStock; const { isLoading: lookupVarietyCloneIsLoading } = lkplookupVarietyClone; const { isLoading: lookupVintageIsLoading } = lkplookupVintage; const { isLoading: lookupRowSpecialAttributeIsLoading } = lkplookupRowSpecialAttribute; const { isLoading: lookupNoteStatusIsLoading } = lkplookupNoteStatus; const { isLoading: lookupMeasureIsLoading } = lkplookupMeasure; const { isLoading: lookupMeasureGroupIsLoading } = lkplookupMeasureGroup; const { isLoading: lookupMeasureInstanceIsLoading } = lkplookupMeasureInstance; const { isLoading: lookupKeywordIsLoading } = lkplookupKeyword; const { isLoading: lookupSampleRequestStatusIsLoading } = lkplookupSampleRequestStatus; const { isLoading: lookupPayrollSystemIsLoading } = lkplookupPayrollSystem; const { isLoading: lookupDataProviderIsLoading } = lkplookupDataProvider; const { isLoading: lookupDataProviderTypeIsLoading } = lkplookupDataProviderType; const { isLoading: lookupPhenologyMeasureIsLoading } = lkplookupPhenologyMeasure; const { isLoading: lookupPhenologyMeasureOptionIsLoading } = lkplookupPhenologyMeasureOption; const { isLoading: lookupPhenologyMeasureSetIsLoading } = lkplookupPhenologyMeasureSet; const { isLoading: lookupPhenologyMeasureTypeIsLoading } = lkplookupPhenologyMeasureType; const { isLoading: lookupCropSettingInstanceIsLoading } = lkplookupCropSettingInstance; const { isLoading: lookupCropSettingOptionIsLoading } = lkplookupCropSettingOption; const { isLoading: lookupInactiveReasonIsLoading } = lkplookupInactiveReason; const { isLoading: lookupDocumentTypeIsLoading } = lkplookupDocumentType; const { isLoading: lookupDocumentStatusIsLoading } = lkplookupDocumentStatus; const { isLoading: lookupDashboardPageFiltersIsLoading } = lkplookupDashboardPageFilters; const { isLoading: lookupChartFiltersIsLoading } = lkplookupChartFilters; const { isLoading: lookupVehicleTypeIsLoading } = lkplookupVehicleType; const { isLoading: lookupVehicleMakeIsLoading } = lkplookupVehicleMake; const { isLoading: lookupConsumableTypeIsLoading } = lkplookupConsumableType; const { isLoading: lookupSensorStatusIsLoading } = lkplookupSensorStatus; const { isLoading: lookupSensorTypeIsLoading } = lkplookupSensorType; const { isLoading: lookupSensorTypeMeasureUnitIsLoading } = lkplookupSensorTypeMeasureUnit; const { isLoading: lookupActivityIsLoading } = lkplookupActivity; const { isLoading: lookupDisplayAttributeIsLoading } = lkplookupDisplayAttribute; const { isLoading: lookupDurationIsLoading } = lkplookupDuration; const { isLoading: lookupWorkUnitIsLoading } = lkplookupWorkUnit; const { isLoading: lookupResourceTypeIsLoading } = lkplookupResourceType; const { isLoading: lookupResourceTypeUnitIsLoading } = lkplookupResourceTypeUnit; const { isLoading: lookupCostingUnitIsLoading } = lkplookupCostingUnit; const { isLoading: lookupActivityGroupIsLoading } = lkplookupActivityGroup; const { isLoading: lookupPlanTypeIsLoading } = lkplookupPlanType; const { isLoading: lookupPlanStatusIsLoading } = lkplookupPlanStatus; const { isLoading: lookupSupplyContractTypeIsLoading } = lkplookupSupplyContractType; const { isLoading: lookupJobEventActionIsLoading } = lkplookupJobEventAction; const { isLoading: lookupJobInvoiceMethodIsLoading } = lkplookupJobInvoiceMethod; const { isLoading: lookupJobQuantityTypeIsLoading } = lkplookupJobQuantityType; const { isLoading: lookupJobStatusIsLoading } = lkplookupJobStatus; const { isLoading: lookupJobTypeIsLoading } = lkplookupJobType; const { isLoading: lookupJobTypeWorkRecordTypeIsLoading } = lkplookupJobTypeWorkRecordType; const { isLoading: lookupWorkRecordLevelIsLoading } = lkplookupWorkRecordLevel; const { isLoading: lookupPayrollRecordTypeIsLoading } = lkplookupPayrollRecordType; const { isLoading: lookupJobWorkUnitIsLoading } = lkplookupJobWorkUnit; const { isLoading: lookupWorkRecordUnitTypeIsLoading } = lkplookupWorkRecordUnitType; const { isLoading: lookupIdentityActivityIsLoading } = lkplookupIdentityActivity; const { isLoading: lookupSiteTypeIsLoading } = lkplookupSiteType; const { isLoading: lookupImportTypeIsLoading } = lkplookupImportType; const { isLoading: lookupEventLogStatusIsLoading } = lkplookupEventLogStatus; const { isLoading: lookupCostAllocationFactorIsLoading } = lkplookupCostAllocationFactor; const { isLoading: lookupReportTypeIsLoading } = lkplookupReportType; const { isLoading: lookupWineryDataTypeIsLoading } = lkplookupWineryDataType; const { isLoading: lookupWineryDataAllocationRuleIsLoading } = lkplookupWineryDataAllocationRule; const { isLoading: lookupWorkRecordTypeIsLoading } = lkplookupWorkRecordType; const { isLoading: lookupPayLoadingIsLoading } = lkplookupPayLoading; const { isLoading: lookupSplitTypeIsLoading } = lkplookupSplitType; const { isLoading: lookupPayrollStatusIsLoading } = lkplookupPayrollStatus; const { isLoading: lookupBatchStatusIsLoading } = lkplookupBatchStatus; const { isLoading: lookupTeamTypeIsLoading } = lkplookupTeamType; const { isLoading: lookupNotificationMethodIsLoading } = lkplookupNotificationMethod; const { isLoading: lookupAbsenceOutcomeIsLoading } = lkplookupAbsenceOutcome; const { isLoading: lookupMedicalCertificateStatusIsLoading } = lkplookupMedicalCertificateStatus; const { isLoading: lookupSickLeaveEligibilityIsLoading } = lkplookupSickLeaveEligibility; const { isLoading: lookupAbsenceReasonIsLoading } = lkplookupAbsenceReason; const { isLoading: lookupAccountSystemSettingsIsLoading } = lkplookupAccountSystemSettings; const { isLoading: lookupReportCategoryIsLoading } = lkplookupReportCategory; const { isLoading: lookupDashboardPageIsLoading } = lkplookupDashboardPage; const { isLoading: lookupPlantStatusIsLoading } = lkplookupPlantStatus; const { isLoading: lookupTableLookupsIsLoading } = lkplookupTableLookups; return ( lookupClassificationIsLoading || lookupClassificationGroupIsLoading || lookupClassificationGroupIdentityTypeIsLoading || lookupReferenceTypeIsLoading || lookupIdentityTypeIsLoading || lookupRoleTypeIsLoading || lookupRoleTypeIdentityTypeIsLoading || lookupBusinessUnitIsLoading || lookupReferenceTypeIdentityTypeIsLoading || lookupRelationshipTypeIsLoading || lookupContactMethodIsLoading || lookupGenderIsLoading || lookupNationalityIsLoading || lookupEthnicityIsLoading || lookupLanguageIsLoading || lookupCountryIsLoading || lookupSalutationIsLoading || lookupGrowingRegionIsLoading || lookupGrowingSubRegionIsLoading || lookupTownIsLoading || lookupVarietyIsLoading || lookupBlockVintageStatusIsLoading || lookupTrellisIsLoading || lookupRootStockIsLoading || lookupVarietyCloneIsLoading || lookupVintageIsLoading || lookupRowSpecialAttributeIsLoading || lookupNoteStatusIsLoading || lookupMeasureIsLoading || lookupMeasureGroupIsLoading || lookupMeasureInstanceIsLoading || lookupKeywordIsLoading || lookupSampleRequestStatusIsLoading || lookupPayrollSystemIsLoading || lookupDataProviderIsLoading || lookupDataProviderTypeIsLoading || lookupPhenologyMeasureIsLoading || lookupPhenologyMeasureOptionIsLoading || lookupPhenologyMeasureSetIsLoading || lookupPhenologyMeasureTypeIsLoading || lookupCropSettingInstanceIsLoading || lookupCropSettingOptionIsLoading || lookupInactiveReasonIsLoading || lookupDocumentTypeIsLoading || lookupDocumentStatusIsLoading || lookupDashboardPageFiltersIsLoading || lookupChartFiltersIsLoading || lookupVehicleTypeIsLoading || lookupVehicleMakeIsLoading || lookupConsumableTypeIsLoading || lookupSensorStatusIsLoading || lookupSensorTypeIsLoading || lookupSensorTypeMeasureUnitIsLoading || lookupActivityIsLoading || lookupDisplayAttributeIsLoading || lookupDurationIsLoading || lookupWorkUnitIsLoading || lookupResourceTypeIsLoading || lookupResourceTypeUnitIsLoading || lookupCostingUnitIsLoading || lookupActivityGroupIsLoading || lookupPlanTypeIsLoading || lookupPlanStatusIsLoading || lookupSupplyContractTypeIsLoading || lookupJobEventActionIsLoading || lookupJobInvoiceMethodIsLoading || lookupJobQuantityTypeIsLoading || lookupJobStatusIsLoading || lookupJobTypeIsLoading || lookupJobTypeWorkRecordTypeIsLoading || lookupWorkRecordLevelIsLoading || lookupPayrollRecordTypeIsLoading || lookupJobWorkUnitIsLoading || lookupWorkRecordUnitTypeIsLoading || lookupIdentityActivityIsLoading || lookupSiteTypeIsLoading || lookupImportTypeIsLoading || lookupEventLogStatusIsLoading || lookupCostAllocationFactorIsLoading || lookupReportTypeIsLoading || lookupWineryDataTypeIsLoading || lookupWineryDataAllocationRuleIsLoading || lookupWorkRecordTypeIsLoading || lookupPayLoadingIsLoading || lookupSplitTypeIsLoading || lookupPayrollStatusIsLoading || lookupBatchStatusIsLoading || lookupTeamTypeIsLoading || lookupNotificationMethodIsLoading || lookupAbsenceOutcomeIsLoading || lookupMedicalCertificateStatusIsLoading || lookupSickLeaveEligibilityIsLoading || lookupAbsenceReasonIsLoading || lookupAccountSystemSettingsIsLoading || lookupReportCategoryIsLoading || lookupDashboardPageIsLoading || lookupPlantStatusIsLoading || lookupTableLookupsIsLoading || false ); }, ); export const areLookupsLoaded = createSelector( [ getLkplookupClassification, getLkplookupClassificationGroup, getLkplookupClassificationGroupIdentityType, getLkplookupReferenceType, getLkplookupIdentityType, getLkplookupRoleType, getLkplookupRoleTypeIdentityType, getLkplookupBusinessUnit, getLkplookupReferenceTypeIdentityType, getLkplookupRelationshipType, getLkplookupContactMethod, getLkplookupGender, getLkplookupNationality, getLkplookupEthnicity, getLkplookupLanguage, getLkplookupCountry, getLkplookupSalutation, getLkplookupGrowingRegion, getLkplookupGrowingSubRegion, getLkplookupTown, getLkplookupVariety, getLkplookupBlockVintageStatus, getLkplookupTrellis, getLkplookupRootStock, getLkplookupVarietyClone, getLkplookupVintage, getLkplookupRowSpecialAttribute, getLkplookupNoteStatus, getLkplookupMeasure, getLkplookupMeasureGroup, getLkplookupMeasureInstance, getLkplookupKeyword, getLkplookupSampleRequestStatus, getLkplookupPayrollSystem, getLkplookupDataProvider, getLkplookupDataProviderType, getLkplookupPhenologyMeasure, getLkplookupPhenologyMeasureOption, getLkplookupPhenologyMeasureSet, getLkplookupPhenologyMeasureType, getLkplookupCropSettingInstance, getLkplookupCropSettingOption, getLkplookupInactiveReason, getLkplookupDocumentType, getLkplookupDocumentStatus, getLkplookupDashboardPageFilters, getLkplookupChartFilters, getLkplookupVehicleType, getLkplookupVehicleMake, getLkplookupConsumableType, getLkplookupSensorStatus, getLkplookupSensorType, getLkplookupSensorTypeMeasureUnit, getLkplookupActivity, getLkplookupDisplayAttribute, getLkplookupDuration, getLkplookupWorkUnit, getLkplookupResourceType, getLkplookupResourceTypeUnit, getLkplookupCostingUnit, getLkplookupActivityGroup, getLkplookupPlanType, getLkplookupPlanStatus, getLkplookupSupplyContractType, getLkplookupJobEventAction, getLkplookupJobInvoiceMethod, getLkplookupJobQuantityType, getLkplookupJobStatus, getLkplookupJobType, getLkplookupJobTypeWorkRecordType, getLkplookupWorkRecordLevel, getLkplookupPayrollRecordType, getLkplookupJobWorkUnit, getLkplookupWorkRecordUnitType, getLkplookupIdentityActivity, getLkplookupSiteType, getLkplookupImportType, getLkplookupEventLogStatus, getLkplookupCostAllocationFactor, getLkplookupReportType, getLkplookupWineryDataType, getLkplookupWineryDataAllocationRule, getLkplookupWorkRecordType, getLkplookupPayLoading, getLkplookupSplitType, getLkplookupPayrollStatus, getLkplookupBatchStatus, getLkplookupTeamType, getLkplookupNotificationMethod, getLkplookupAbsenceOutcome, getLkplookupMedicalCertificateStatus, getLkplookupSickLeaveEligibility, getLkplookupAbsenceReason, getLkplookupAccountSystemSettings, getLkplookupReportCategory, getLkplookupDashboardPage, getLkplookupPlantStatus, getLkplookupTableLookups, ], ( lkplookupClassification, lkplookupClassificationGroup, lkplookupClassificationGroupIdentityType, lkplookupReferenceType, lkplookupIdentityType, lkplookupRoleType, lkplookupRoleTypeIdentityType, lkplookupBusinessUnit, lkplookupReferenceTypeIdentityType, lkplookupRelationshipType, lkplookupContactMethod, lkplookupGender, lkplookupNationality, lkplookupEthnicity, lkplookupLanguage, lkplookupCountry, lkplookupSalutation, lkplookupGrowingRegion, lkplookupGrowingSubRegion, lkplookupTown, lkplookupVariety, lkplookupBlockVintageStatus, lkplookupTrellis, lkplookupRootStock, lkplookupVarietyClone, lkplookupVintage, lkplookupRowSpecialAttribute, lkplookupNoteStatus, lkplookupMeasure, lkplookupMeasureGroup, lkplookupMeasureInstance, lkplookupKeyword, lkplookupSampleRequestStatus, lkplookupPayrollSystem, lkplookupDataProvider, lkplookupDataProviderType, lkplookupPhenologyMeasure, lkplookupPhenologyMeasureOption, lkplookupPhenologyMeasureSet, lkplookupPhenologyMeasureType, lkplookupCropSettingInstance, lkplookupCropSettingOption, lkplookupInactiveReason, lkplookupDocumentType, lkplookupDocumentStatus, lkplookupDashboardPageFilters, lkplookupChartFilters, lkplookupVehicleType, lkplookupVehicleMake, lkplookupConsumableType, lkplookupSensorStatus, lkplookupSensorType, lkplookupSensorTypeMeasureUnit, lkplookupActivity, lkplookupDisplayAttribute, lkplookupDuration, lkplookupWorkUnit, lkplookupResourceType, lkplookupResourceTypeUnit, lkplookupCostingUnit, lkplookupActivityGroup, lkplookupPlanType, lkplookupPlanStatus, lkplookupSupplyContractType, lkplookupJobEventAction, lkplookupJobInvoiceMethod, lkplookupJobQuantityType, lkplookupJobStatus, lkplookupJobType, lkplookupJobTypeWorkRecordType, lkplookupWorkRecordLevel, lkplookupPayrollRecordType, lkplookupJobWorkUnit, lkplookupWorkRecordUnitType, lkplookupIdentityActivity, lkplookupSiteType, lkplookupImportType, lkplookupEventLogStatus, lkplookupCostAllocationFactor, lkplookupReportType, lkplookupWineryDataType, lkplookupWineryDataAllocationRule, lkplookupWorkRecordType, lkplookupPayLoading, lkplookupSplitType, lkplookupPayrollStatus, lkplookupBatchStatus, lkplookupTeamType, lkplookupNotificationMethod, lkplookupAbsenceOutcome, lkplookupMedicalCertificateStatus, lkplookupSickLeaveEligibility, lkplookupAbsenceReason, lkplookupAccountSystemSettings, lkplookupReportCategory, lkplookupDashboardPage, lkplookupPlantStatus, lkplookupTableLookups, ) => { const { isLoaded: lookupClassificationIsLoaded } = lkplookupClassification; const { isLoaded: lookupClassificationGroupIsLoaded } = lkplookupClassificationGroup; const { isLoaded: lookupClassificationGroupIdentityTypeIsLoaded } = lkplookupClassificationGroupIdentityType; const { isLoaded: lookupReferenceTypeIsLoaded } = lkplookupReferenceType; const { isLoaded: lookupIdentityTypeIsLoaded } = lkplookupIdentityType; const { isLoaded: lookupRoleTypeIsLoaded } = lkplookupRoleType; const { isLoaded: lookupRoleTypeIdentityTypeIsLoaded } = lkplookupRoleTypeIdentityType; const { isLoaded: lookupBusinessUnitIsLoaded } = lkplookupBusinessUnit; const { isLoaded: lookupReferenceTypeIdentityTypeIsLoaded } = lkplookupReferenceTypeIdentityType; const { isLoaded: lookupRelationshipTypeIsLoaded } = lkplookupRelationshipType; const { isLoaded: lookupContactMethodIsLoaded } = lkplookupContactMethod; const { isLoaded: lookupGenderIsLoaded } = lkplookupGender; const { isLoaded: lookupNationalityIsLoaded } = lkplookupNationality; const { isLoaded: lookupEthnicityIsLoaded } = lkplookupEthnicity; const { isLoaded: lookupLanguageIsLoaded } = lkplookupLanguage; const { isLoaded: lookupCountryIsLoaded } = lkplookupCountry; const { isLoaded: lookupSalutationIsLoaded } = lkplookupSalutation; const { isLoaded: lookupGrowingRegionIsLoaded } = lkplookupGrowingRegion; const { isLoaded: lookupGrowingSubRegionIsLoaded } = lkplookupGrowingSubRegion; const { isLoaded: lookupTownIsLoaded } = lkplookupTown; const { isLoaded: lookupVarietyIsLoaded } = lkplookupVariety; const { isLoaded: lookupBlockVintageStatusIsLoaded } = lkplookupBlockVintageStatus; const { isLoaded: lookupTrellisIsLoaded } = lkplookupTrellis; const { isLoaded: lookupRootStockIsLoaded } = lkplookupRootStock; const { isLoaded: lookupVarietyCloneIsLoaded } = lkplookupVarietyClone; const { isLoaded: lookupVintageIsLoaded } = lkplookupVintage; const { isLoaded: lookupRowSpecialAttributeIsLoaded } = lkplookupRowSpecialAttribute; const { isLoaded: lookupNoteStatusIsLoaded } = lkplookupNoteStatus; const { isLoaded: lookupMeasureIsLoaded } = lkplookupMeasure; const { isLoaded: lookupMeasureGroupIsLoaded } = lkplookupMeasureGroup; const { isLoaded: lookupMeasureInstanceIsLoaded } = lkplookupMeasureInstance; const { isLoaded: lookupKeywordIsLoaded } = lkplookupKeyword; const { isLoaded: lookupSampleRequestStatusIsLoaded } = lkplookupSampleRequestStatus; const { isLoaded: lookupPayrollSystemIsLoaded } = lkplookupPayrollSystem; const { isLoaded: lookupDataProviderIsLoaded } = lkplookupDataProvider; const { isLoaded: lookupDataProviderTypeIsLoaded } = lkplookupDataProviderType; const { isLoaded: lookupPhenologyMeasureIsLoaded } = lkplookupPhenologyMeasure; const { isLoaded: lookupPhenologyMeasureOptionIsLoaded } = lkplookupPhenologyMeasureOption; const { isLoaded: lookupPhenologyMeasureSetIsLoaded } = lkplookupPhenologyMeasureSet; const { isLoaded: lookupPhenologyMeasureTypeIsLoaded } = lkplookupPhenologyMeasureType; const { isLoaded: lookupCropSettingInstanceIsLoaded } = lkplookupCropSettingInstance; const { isLoaded: lookupCropSettingOptionIsLoaded } = lkplookupCropSettingOption; const { isLoaded: lookupInactiveReasonIsLoaded } = lkplookupInactiveReason; const { isLoaded: lookupDocumentTypeIsLoaded } = lkplookupDocumentType; const { isLoaded: lookupDocumentStatusIsLoaded } = lkplookupDocumentStatus; const { isLoaded: lookupDashboardPageFiltersIsLoaded } = lkplookupDashboardPageFilters; const { isLoaded: lookupChartFiltersIsLoaded } = lkplookupChartFilters; const { isLoaded: lookupVehicleTypeIsLoaded } = lkplookupVehicleType; const { isLoaded: lookupVehicleMakeIsLoaded } = lkplookupVehicleMake; const { isLoaded: lookupConsumableTypeIsLoaded } = lkplookupConsumableType; const { isLoaded: lookupSensorStatusIsLoaded } = lkplookupSensorStatus; const { isLoaded: lookupSensorTypeIsLoaded } = lkplookupSensorType; const { isLoaded: lookupSensorTypeMeasureUnitIsLoaded } = lkplookupSensorTypeMeasureUnit; const { isLoaded: lookupActivityIsLoaded } = lkplookupActivity; const { isLoaded: lookupDisplayAttributeIsLoaded } = lkplookupDisplayAttribute; const { isLoaded: lookupDurationIsLoaded } = lkplookupDuration; const { isLoaded: lookupWorkUnitIsLoaded } = lkplookupWorkUnit; const { isLoaded: lookupResourceTypeIsLoaded } = lkplookupResourceType; const { isLoaded: lookupResourceTypeUnitIsLoaded } = lkplookupResourceTypeUnit; const { isLoaded: lookupCostingUnitIsLoaded } = lkplookupCostingUnit; const { isLoaded: lookupActivityGroupIsLoaded } = lkplookupActivityGroup; const { isLoaded: lookupPlanTypeIsLoaded } = lkplookupPlanType; const { isLoaded: lookupPlanStatusIsLoaded } = lkplookupPlanStatus; const { isLoaded: lookupSupplyContractTypeIsLoaded } = lkplookupSupplyContractType; const { isLoaded: lookupJobEventActionIsLoaded } = lkplookupJobEventAction; const { isLoaded: lookupJobInvoiceMethodIsLoaded } = lkplookupJobInvoiceMethod; const { isLoaded: lookupJobQuantityTypeIsLoaded } = lkplookupJobQuantityType; const { isLoaded: lookupJobStatusIsLoaded } = lkplookupJobStatus; const { isLoaded: lookupJobTypeIsLoaded } = lkplookupJobType; const { isLoaded: lookupJobTypeWorkRecordTypeIsLoaded } = lkplookupJobTypeWorkRecordType; const { isLoaded: lookupWorkRecordLevelIsLoaded } = lkplookupWorkRecordLevel; const { isLoaded: lookupPayrollRecordTypeIsLoaded } = lkplookupPayrollRecordType; const { isLoaded: lookupJobWorkUnitIsLoaded } = lkplookupJobWorkUnit; const { isLoaded: lookupWorkRecordUnitTypeIsLoaded } = lkplookupWorkRecordUnitType; const { isLoaded: lookupIdentityActivityIsLoaded } = lkplookupIdentityActivity; const { isLoaded: lookupSiteTypeIsLoaded } = lkplookupSiteType; const { isLoaded: lookupImportTypeIsLoaded } = lkplookupImportType; const { isLoaded: lookupEventLogStatusIsLoaded } = lkplookupEventLogStatus; const { isLoaded: lookupCostAllocationFactorIsLoaded } = lkplookupCostAllocationFactor; const { isLoaded: lookupReportTypeIsLoaded } = lkplookupReportType; const { isLoaded: lookupWineryDataTypeIsLoaded } = lkplookupWineryDataType; const { isLoaded: lookupWineryDataAllocationRuleIsLoaded } = lkplookupWineryDataAllocationRule; const { isLoaded: lookupWorkRecordTypeIsLoaded } = lkplookupWorkRecordType; const { isLoaded: lookupPayLoadingIsLoaded } = lkplookupPayLoading; const { isLoaded: lookupSplitTypeIsLoaded } = lkplookupSplitType; const { isLoaded: lookupPayrollStatusIsLoaded } = lkplookupPayrollStatus; const { isLoaded: lookupBatchStatusIsLoaded } = lkplookupBatchStatus; const { isLoaded: lookupTeamTypeIsLoaded } = lkplookupTeamType; const { isLoaded: lookupNotificationMethodIsLoaded } = lkplookupNotificationMethod; const { isLoaded: lookupAbsenceOutcomeIsLoaded } = lkplookupAbsenceOutcome; const { isLoaded: lookupMedicalCertificateStatusIsLoaded } = lkplookupMedicalCertificateStatus; const { isLoaded: lookupSickLeaveEligibilityIsLoaded } = lkplookupSickLeaveEligibility; const { isLoaded: lookupAbsenceReasonIsLoaded } = lkplookupAbsenceReason; const { isLoaded: lookupAccountSystemSettingsIsLoaded } = lkplookupAccountSystemSettings; const { isLoaded: lookupReportCategoryIsLoaded } = lkplookupReportCategory; const { isLoaded: lookupDashboardPageIsLoaded } = lkplookupDashboardPage; const { isLoaded: lookupPlantStatusIsLoaded } = lkplookupPlantStatus; const { isLoaded: lookupTableLookupsIsLoaded } = lkplookupTableLookups; return ( lookupClassificationIsLoaded || lookupClassificationGroupIsLoaded || lookupClassificationGroupIdentityTypeIsLoaded || lookupReferenceTypeIsLoaded || lookupIdentityTypeIsLoaded || lookupRoleTypeIsLoaded || lookupRoleTypeIdentityTypeIsLoaded || lookupBusinessUnitIsLoaded || lookupReferenceTypeIdentityTypeIsLoaded || lookupRelationshipTypeIsLoaded || lookupContactMethodIsLoaded || lookupGenderIsLoaded || lookupNationalityIsLoaded || lookupEthnicityIsLoaded || lookupLanguageIsLoaded || lookupCountryIsLoaded || lookupSalutationIsLoaded || lookupGrowingRegionIsLoaded || lookupGrowingSubRegionIsLoaded || lookupTownIsLoaded || lookupVarietyIsLoaded || lookupBlockVintageStatusIsLoaded || lookupTrellisIsLoaded || lookupRootStockIsLoaded || lookupVarietyCloneIsLoaded || lookupVintageIsLoaded || lookupRowSpecialAttributeIsLoaded || lookupNoteStatusIsLoaded || lookupMeasureIsLoaded || lookupMeasureGroupIsLoaded || lookupMeasureInstanceIsLoaded || lookupKeywordIsLoaded || lookupSampleRequestStatusIsLoaded || lookupPayrollSystemIsLoaded || lookupDataProviderIsLoaded || lookupDataProviderTypeIsLoaded || lookupPhenologyMeasureIsLoaded || lookupPhenologyMeasureOptionIsLoaded || lookupPhenologyMeasureSetIsLoaded || lookupPhenologyMeasureTypeIsLoaded || lookupCropSettingInstanceIsLoaded || lookupCropSettingOptionIsLoaded || lookupInactiveReasonIsLoaded || lookupDocumentTypeIsLoaded || lookupDocumentStatusIsLoaded || lookupDashboardPageFiltersIsLoaded || lookupChartFiltersIsLoaded || lookupVehicleTypeIsLoaded || lookupVehicleMakeIsLoaded || lookupConsumableTypeIsLoaded || lookupSensorStatusIsLoaded || lookupSensorTypeIsLoaded || lookupSensorTypeMeasureUnitIsLoaded || lookupActivityIsLoaded || lookupDisplayAttributeIsLoaded || lookupDurationIsLoaded || lookupWorkUnitIsLoaded || lookupResourceTypeIsLoaded || lookupResourceTypeUnitIsLoaded || lookupCostingUnitIsLoaded || lookupActivityGroupIsLoaded || lookupPlanTypeIsLoaded || lookupPlanStatusIsLoaded || lookupSupplyContractTypeIsLoaded || lookupJobEventActionIsLoaded || lookupJobInvoiceMethodIsLoaded || lookupJobQuantityTypeIsLoaded || lookupJobStatusIsLoaded || lookupJobTypeIsLoaded || lookupJobTypeWorkRecordTypeIsLoaded || lookupWorkRecordLevelIsLoaded || lookupPayrollRecordTypeIsLoaded || lookupJobWorkUnitIsLoaded || lookupWorkRecordUnitTypeIsLoaded || lookupIdentityActivityIsLoaded || lookupSiteTypeIsLoaded || lookupImportTypeIsLoaded || lookupEventLogStatusIsLoaded || lookupCostAllocationFactorIsLoaded || lookupReportTypeIsLoaded || lookupWineryDataTypeIsLoaded || lookupWineryDataAllocationRuleIsLoaded || lookupWorkRecordTypeIsLoaded || lookupPayLoadingIsLoaded || lookupSplitTypeIsLoaded || lookupPayrollStatusIsLoaded || lookupBatchStatusIsLoaded || lookupTeamTypeIsLoaded || lookupNotificationMethodIsLoaded || lookupAbsenceOutcomeIsLoaded || lookupMedicalCertificateStatusIsLoaded || lookupSickLeaveEligibilityIsLoaded || lookupAbsenceReasonIsLoaded || lookupAccountSystemSettingsIsLoaded || lookupReportCategoryIsLoaded || lookupDashboardPageIsLoaded || lookupPlantStatusIsLoaded || lookupTableLookupsIsLoaded || false ); }, );