@gen-epix/ui-client-casedb 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/mui.d.ts +1 -1
- package/dist/@types/{ui-casedb.d.ts → ui-client-casedb.d.ts} +1 -1
- package/dist/_chunks/AddCasesToEventDialog.js +74 -74
- package/dist/_chunks/AddCasesToEventDialog.js.map +1 -1
- package/dist/_chunks/CaseContentForm.js +2 -2
- package/dist/_chunks/CaseContentForm.js.map +1 -1
- package/dist/_chunks/CaseDbDownloadUtil.js +40 -35
- package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -1
- package/dist/_chunks/CaseInfoDialog.js +195 -195
- package/dist/_chunks/CaseInfoDialog.js.map +1 -1
- package/dist/_chunks/CaseSetInfoDialog.js +131 -131
- package/dist/_chunks/CaseSetInfoDialog.js.map +1 -1
- package/dist/_chunks/CaseTypeInfoDialog.js +63 -61
- package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -1
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +6 -6
- package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -1
- package/dist/_chunks/CompletCaseTypeLoader.js +3 -3
- package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -1
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +1 -1
- package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -1
- package/dist/_chunks/CustomTabPanel.js.map +1 -1
- package/dist/_chunks/Dashboard.js +399 -386
- package/dist/_chunks/Dashboard.js.map +1 -1
- package/dist/_chunks/DashboardStoreLoader.js +5 -5
- package/dist/_chunks/DashboardStoreLoader.js.map +1 -1
- package/dist/_chunks/DataCollectionAccessInfo.js +21 -21
- package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -1
- package/dist/_chunks/EpiCurveUtil.js +4 -4
- package/dist/_chunks/EpiCurveUtil.js.map +1 -1
- package/dist/_chunks/EpiCurveWidget.js +189 -183
- package/dist/_chunks/EpiCurveWidget.js.map +1 -1
- package/dist/_chunks/FilterUtil.js +103 -101
- package/dist/_chunks/FilterUtil.js.map +1 -1
- package/dist/_chunks/FindSimilarCasesDialog.js +16 -16
- package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -1
- package/dist/_chunks/FindSimilarCasesUtil.js +9 -9
- package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -1
- package/dist/_chunks/HomePageTrends.js +8 -8
- package/dist/_chunks/HomePageTrends.js.map +1 -1
- package/dist/_chunks/LegendaItem.js +3 -3
- package/dist/_chunks/LegendaItem.js.map +1 -1
- package/dist/_chunks/LineListWidget.js +23 -21
- package/dist/_chunks/LineListWidget.js.map +1 -1
- package/dist/_chunks/PanelSeparator.js +374 -384
- package/dist/_chunks/PanelSeparator.js.map +1 -1
- package/dist/_chunks/Upload.js +222 -207
- package/dist/_chunks/Upload.js.map +1 -1
- package/dist/_chunks/UploadUtil.js +1970 -841
- package/dist/_chunks/UploadUtil.js.map +1 -1
- package/dist/_chunks/UserRightsDialog.js +12 -12
- package/dist/_chunks/UserRightsDialog.js.map +1 -1
- package/dist/_chunks/_MapCache.js +2 -2
- package/dist/_chunks/_baseGet.js +1 -1
- package/dist/_chunks/_baseGet.js.map +1 -1
- package/dist/_chunks/_baseIteratee.js +1 -1
- package/dist/_chunks/_baseIteratee.js.map +1 -1
- package/dist/_chunks/_setToString.js.map +1 -1
- package/dist/_chunks/{chunk-KS7C4IRE.js → chunk-BV7QT456.js} +330 -495
- package/dist/_chunks/chunk-BV7QT456.js.map +1 -0
- package/dist/_chunks/cloneDeep.js +11 -9
- package/dist/_chunks/cloneDeep.js.map +1 -1
- package/dist/_chunks/dashboardStore.js +259 -261
- package/dist/_chunks/dashboardStore.js.map +1 -1
- package/dist/_chunks/esm.js +2900 -2868
- package/dist/_chunks/esm.js.map +1 -1
- package/dist/_chunks/format.js +8 -8
- package/dist/_chunks/format.js.map +1 -1
- package/dist/_chunks/index.esm.js +919 -796
- package/dist/_chunks/index.esm.js.map +1 -1
- package/dist/_chunks/index.module.js +1 -1
- package/dist/_chunks/index.module.js.map +1 -1
- package/dist/_chunks/protectedTokens.js +79 -81
- package/dist/_chunks/protectedTokens.js.map +1 -1
- package/dist/_chunks/react.js +1 -1
- package/dist/_chunks/react.js.map +1 -1
- package/dist/_chunks/round.js +1 -1
- package/dist/_chunks/round.js.map +1 -1
- package/dist/_chunks/shallow.js +2 -2
- package/dist/_chunks/shallow.js.map +1 -1
- package/dist/_chunks/sync.js +198 -161
- package/dist/_chunks/sync.js.map +1 -1
- package/dist/_chunks/toDate.js +1 -1
- package/dist/_chunks/toDate.js.map +1 -1
- package/dist/_chunks/toString.js +1 -1
- package/dist/_chunks/toString.js.map +1 -1
- package/dist/_chunks/useUnit.js.map +1 -1
- package/dist/_chunks/vanilla.js +1 -1
- package/dist/_chunks/vanilla.js.map +1 -1
- package/dist/_chunks/yup.js +5 -5
- package/dist/_chunks/yup.js.map +1 -1
- package/dist/classes/filters/SelectionFilter.d.ts +2 -2
- package/dist/classes/filters/TreeFilter.d.ts +2 -2
- package/dist/classes/services/DataService/index.js +3 -3
- package/dist/classes/services/DataService/index.js.map +1 -1
- package/dist/classes/services/EventBusService/EventBusService.d.ts +1 -1
- package/dist/classes/services/EventBusService/index.js.map +1 -1
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +1 -1
- package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -1
- package/dist/components/app/CaseDbApp/index.js +8 -5
- package/dist/components/app/CaseDbApp/index.js.map +1 -1
- package/dist/components/form/fields/ArrangementEditor/index.js +83 -83
- package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -1
- package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +2 -2
- package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +2 -2
- package/dist/components/ui/CaseContentFormDialog/index.js +1 -1
- package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -1
- package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseSummary/index.js +1 -1
- package/dist/components/ui/CaseSummary/index.js.map +1 -1
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +2 -2
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +1 -1
- package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +2 -2
- package/dist/components/ui/ContextMenu/index.js.map +1 -1
- package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +2 -2
- package/dist/components/ui/CreateEventDialog/index.js +9 -9
- package/dist/components/ui/CreateEventDialog/index.js.map +1 -1
- package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +1 -1
- package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +1 -1
- package/dist/components/ui/Dashboard/DashboardWidget.d.ts +1 -1
- package/dist/components/ui/DashboardEditCases/index.js +1 -1
- package/dist/components/ui/DashboardEditCases/index.js.map +1 -1
- package/dist/components/ui/FileSelector/index.js +46 -46
- package/dist/components/ui/FileSelector/index.js.map +1 -1
- package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +2 -2
- package/dist/components/ui/Grouping/index.js +50 -50
- package/dist/components/ui/Grouping/index.js.map +1 -1
- package/dist/components/ui/HistogramWidget/index.js +1 -1
- package/dist/components/ui/HistogramWidget/index.js.map +1 -1
- package/dist/components/ui/MapWidget/index.js +7 -3
- package/dist/components/ui/MapWidget/index.js.map +1 -1
- package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +2 -2
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js +6 -6
- package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -1
- package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +2 -2
- package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +2 -2
- package/dist/components/ui/SequenceDownloadDialog/index.js +22 -22
- package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -1
- package/dist/components/ui/TreeDescription/index.js.map +1 -1
- package/dist/components/ui/TreeWidget/index.js +11 -11
- package/dist/components/ui/TreeWidget/index.js.map +1 -1
- package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +2 -2
- package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +2 -2
- package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +2 -2
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +2 -2
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +25 -11
- package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -1
- package/dist/components/ui/Warning/index.js.map +1 -1
- package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -1
- package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +1 -1
- package/dist/components/ui/WidgetMenu/index.js +2 -2
- package/dist/components/ui/WidgetMenu/index.js.map +1 -1
- package/dist/components/ui/WidgetUnavailable/index.js.map +1 -1
- package/dist/constants/query.d.ts +1 -1
- package/dist/constants/query.js +1 -1
- package/dist/constants/query.js.map +1 -1
- package/dist/context/caseAbac/CaseAbacContext.d.ts +1 -1
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseRightsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetRightsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseSetsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js +2 -2
- package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypesQuery/index.js +3 -3
- package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useColSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useColSetsQuery/index.js +3 -3
- package/dist/dataHooks/useColSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useColTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useColsQuery/index.js +3 -3
- package/dist/dataHooks/useColsQuery/index.js.map +1 -1
- package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptQuery/index.js +3 -3
- package/dist/dataHooks/useConceptQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useConceptSetsQuery/index.js +3 -3
- package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +2 -2
- package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -1
- package/dist/dataHooks/useDataCollectionsQuery/index.js +3 -3
- package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -1
- package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +1 -1
- package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -1
- package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +1 -1
- package/dist/dataHooks/useDimsQuery/index.js +3 -3
- package/dist/dataHooks/useDimsQuery/index.js.map +1 -1
- package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +1 -1
- package/dist/dataHooks/useDiseasesQuery/index.js +3 -3
- package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -1
- package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +1 -1
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +3 -3
- package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -1
- package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +1 -1
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefColsQuery/index.js +3 -3
- package/dist/dataHooks/useRefColsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +1 -1
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +2 -2
- package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefDimsQuery/index.js +3 -3
- package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionQuery/index.js +3 -3
- package/dist/dataHooks/useRegionQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +1 -1
- package/dist/dataHooks/useRegionSetsQuery/index.js +3 -3
- package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -1
- package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +1 -1
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js +3 -3
- package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -1
- package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +1 -1
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -1
- package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +1 -1
- package/dist/dataHooks/useUnitQuery/useUnit.d.ts +1 -1
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +3 -3
- package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -1
- package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +1 -1
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +2 -2
- package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -1
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +2 -2
- package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -1
- package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +1 -1
- package/dist/hooks/useUserCasePolicyNameFactory/index.js +3 -3
- package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -1
- package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +1 -1
- package/dist/locale/nl.json +1 -1
- package/dist/models/config.d.ts +1 -1
- package/dist/models/dashboard.d.ts +1 -1
- package/dist/models/dashboard.js.map +1 -1
- package/dist/models/theme.d.ts +2 -2
- package/dist/pages/CaseDbUsersAdminPage/index.js +5 -5
- package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -1
- package/dist/pages/CaseSetCategoryAdminPage/index.js +4 -4
- package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -1
- package/dist/pages/CaseSetStatusAdminPage/index.js +4 -4
- package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +4 -4
- package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypeSetsAdminPage/index.js +6 -6
- package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -1
- package/dist/pages/CaseTypesAdminPage/index.js +5 -5
- package/dist/pages/CaseTypesAdminPage/index.js.map +1 -1
- package/dist/pages/CasesDetailPage/index.js +5 -5
- package/dist/pages/CasesDetailPage/index.js.map +1 -1
- package/dist/pages/CasesPage/index.js +10 -10
- package/dist/pages/CasesPage/index.js.map +1 -1
- package/dist/pages/ColSetsAdminPage/index.js +6 -6
- package/dist/pages/ColSetsAdminPage/index.js.map +1 -1
- package/dist/pages/ColsAdminPage/index.js +5 -5
- package/dist/pages/ColsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptRelationsAdminPage/index.js +19 -19
- package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptSetsAdminPage/index.js +5 -5
- package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -1
- package/dist/pages/ConceptsAdminPage/index.js +5 -5
- package/dist/pages/ConceptsAdminPage/index.js.map +1 -1
- package/dist/pages/DataCollectionSetsAdminPage/index.js +12 -12
- package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -1
- package/dist/pages/DataCollectionVisualizationPage/index.js +4 -4
- package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -1
- package/dist/pages/DataCollectionsAdminPage/index.js +4 -4
- package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -1
- package/dist/pages/DimsAdminPage/index.js +6 -6
- package/dist/pages/DimsAdminPage/index.js.map +1 -1
- package/dist/pages/DiseasesAdminPage/index.js +4 -4
- package/dist/pages/DiseasesAdminPage/index.js.map +1 -1
- package/dist/pages/EtiologicalAgentsAdminPage/index.js +4 -4
- package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -1
- package/dist/pages/EtiologiesAdminPage/index.js +3 -3
- package/dist/pages/EtiologiesAdminPage/index.js.map +1 -1
- package/dist/pages/EventsDetailPage/index.js +5 -5
- package/dist/pages/EventsDetailPage/index.js.map +1 -1
- package/dist/pages/EventsPage/index.js +11 -11
- package/dist/pages/EventsPage/index.js.map +1 -1
- package/dist/pages/HomePage/index.js +2 -2
- package/dist/pages/HomePage/index.js.map +1 -1
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/RefColsAdminPage/index.js +7 -7
- package/dist/pages/RefColsAdminPage/index.js.map +1 -1
- package/dist/pages/RefDimsAdminPage/index.js +5 -5
- package/dist/pages/RefDimsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionRelationsAdminPage/index.js +3 -3
- package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionSetShapesAdminPage/index.js +4 -4
- package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -1
- package/dist/pages/RegionSetsAdminPage/index.js +5 -5
- package/dist/pages/RegionSetsAdminPage/index.js.map +1 -1
- package/dist/pages/RegionsAdminPage/index.js +5 -5
- package/dist/pages/RegionsAdminPage/index.js.map +1 -1
- package/dist/pages/TrendsPage/index.js +1 -1
- package/dist/pages/TrendsPage/index.js.map +1 -1
- package/dist/pages/UploadPage/index.js +1 -1
- package/dist/pages/UploadPage/index.js.map +1 -1
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/UserEffectiveRightsAdminPage/index.js +12 -12
- package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -1
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +8 -8
- package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -1
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js +4 -4
- package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -1
- package/dist/routes/adminRoutes.d.ts +1 -1
- package/dist/routes/index.js +11 -8
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/routes.d.ts +1 -1
- package/dist/setup/setup.js +5 -5
- package/dist/setup/setup.js.map +1 -1
- package/dist/stores/dashboardStore/dashboardStore.d.ts +1 -1
- package/dist/stores/uploadStore/index.js +2 -2
- package/dist/stores/uploadStore/index.js.map +1 -1
- package/dist/stores/uploadStore/uploadStore.d.ts +1 -1
- package/dist/stores/userProfileStore/index.js +2 -2
- package/dist/stores/userProfileStore/index.js.map +1 -1
- package/dist/theme/demoTheme/index.js +2 -2
- package/dist/theme/demoTheme/index.js.map +1 -1
- package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +1 -1
- package/dist/utils/CaseDbDataUtil/index.js +1 -1
- package/dist/utils/CaseDbDataUtil/index.js.map +1 -1
- package/dist/utils/CaseDbStandardConfigUtil/index.js +2488 -1408
- package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -1
- package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +1 -1
- package/dist/utils/CaseDbTableUtil/index.js +1 -1
- package/dist/utils/CaseDbTableUtil/index.js.map +1 -1
- package/dist/utils/CaseSelectionUtil/index.js.map +1 -1
- package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +1 -1
- package/dist/utils/CaseTypeFormUtil/index.js +7 -10
- package/dist/utils/CaseTypeFormUtil/index.js.map +1 -1
- package/dist/utils/CaseTypeUtil/index.js +1 -1
- package/dist/utils/CaseTypeUtil/index.js.map +1 -1
- package/dist/utils/CaseUtil/index.js +3 -3
- package/dist/utils/CaseUtil/index.js.map +1 -1
- package/dist/utils/DashboardUtil/index.js +1 -1
- package/dist/utils/DashboardUtil/index.js.map +1 -1
- package/dist/utils/DataSetUtil/index.js.map +1 -1
- package/dist/utils/FileUtil/index.js +1 -1
- package/dist/utils/FileUtil/index.js.map +1 -1
- package/dist/utils/FilterUtil/FilterUtil.d.ts +2 -2
- package/dist/utils/HistogramUtil/index.js +1 -1
- package/dist/utils/HistogramUtil/index.js.map +1 -1
- package/dist/utils/MapUtil/index.js +1 -1
- package/dist/utils/MapUtil/index.js.map +1 -1
- package/dist/utils/StratificationUtil/index.js +3 -2
- package/dist/utils/StratificationUtil/index.js.map +1 -1
- package/dist/utils/UploadUtil/UploadUtil.d.ts +1 -1
- package/package.json +19 -11
- package/dist/_chunks/chunk-KS7C4IRE.js.map +0 -1
package/dist/_chunks/sync.js
CHANGED
|
@@ -179,7 +179,8 @@ var ee = /*#__PURE__*/ v(y, 9, 0), te = /*#__PURE__*/ v(y, 9, 1), x = /*#__PURE_
|
|
|
179
179
|
}
|
|
180
180
|
f && h(y + j), r.set(e.subarray(A, M), y), t.b = y += j, t.p = _ = M * 8, t.f = g;
|
|
181
181
|
continue;
|
|
182
|
-
}
|
|
182
|
+
}
|
|
183
|
+
if (k == 1) b = te, ee = S, x = 9, E = 5;
|
|
183
184
|
else if (k == 2) {
|
|
184
185
|
var ie = C(e, _, 31) + 257, ae = C(e, _ + 10, 15) + 4, oe = ie + C(e, _ + 5, 31) + 1;
|
|
185
186
|
_ += 14;
|
|
@@ -460,11 +461,12 @@ var ee = /*#__PURE__*/ v(y, 9, 0), te = /*#__PURE__*/ v(y, 9, 1), x = /*#__PURE_
|
|
|
460
461
|
if (typeof s == "function") {
|
|
461
462
|
t += ";" + c + "=";
|
|
462
463
|
var l = s.toString();
|
|
463
|
-
if (s.prototype)
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
464
|
+
if (s.prototype) {
|
|
465
|
+
if (l.indexOf("[native code]") != -1) {
|
|
466
|
+
var u = l.indexOf(" ", 8) + 1;
|
|
467
|
+
t += l.slice(u, l.indexOf("(", u));
|
|
468
|
+
} else for (var d in t += l, s.prototype) t += ";" + c + ".prototype." + d + "=" + s.prototype[d].toString();
|
|
469
|
+
} else t += l;
|
|
468
470
|
} else n[c] = s;
|
|
469
471
|
}
|
|
470
472
|
return t;
|
|
@@ -621,11 +623,10 @@ function Te(e, t) {
|
|
|
621
623
|
if (t) {
|
|
622
624
|
for (var n = "", r = 0; r < e.length; r += 16384) n += String.fromCharCode.apply(null, e.subarray(r, r + 16384));
|
|
623
625
|
return n;
|
|
624
|
-
} else if (Se) return Se.decode(e);
|
|
625
|
-
else {
|
|
626
|
-
var i = Ce(e), a = i.s, n = i.r;
|
|
627
|
-
return n.length && D(8), a;
|
|
628
626
|
}
|
|
627
|
+
if (Se) return Se.decode(e);
|
|
628
|
+
var i = Ce(e), a = i.s, n = i.r;
|
|
629
|
+
return n.length && D(8), a;
|
|
629
630
|
}
|
|
630
631
|
var Ee = function(e, t) {
|
|
631
632
|
return t + 30 + H(e, t + 26) + H(e, t + 28);
|
|
@@ -768,23 +769,24 @@ function Pe(e, t, r) {
|
|
|
768
769
|
size: u,
|
|
769
770
|
originalSize: p,
|
|
770
771
|
compression: c
|
|
771
|
-
}))
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
772
|
+
})) {
|
|
773
|
+
if (!c) y(null, T(e, v, v + u));
|
|
774
|
+
else if (c == 8) {
|
|
775
|
+
var b = e.subarray(v, v + u);
|
|
776
|
+
if (p < 524288 || u > .8 * p) try {
|
|
777
|
+
y(null, ye(b, { out: new n(p) }));
|
|
778
|
+
} catch (e) {
|
|
779
|
+
y(e, null);
|
|
780
|
+
}
|
|
781
|
+
else i.push(ve(b, { size: p }, y));
|
|
782
|
+
} else y(D(14, "unknown compression type " + c, 1), null);
|
|
783
|
+
} else y(null, null);
|
|
782
784
|
}, g = 0; g < u; ++g) h(g);
|
|
783
785
|
} else s(null, {});
|
|
784
786
|
return a;
|
|
785
787
|
}
|
|
786
788
|
//#endregion
|
|
787
|
-
//#region ../../node_modules/.pnpm/csv@6.6.
|
|
789
|
+
//#region ../../node_modules/.pnpm/csv@6.6.3/node_modules/csv/dist/esm/sync.js
|
|
788
790
|
var Fe = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {}, Ie = [], Le = [], Re = typeof Uint8Array < "u" ? Uint8Array : Array, ze = !1;
|
|
789
791
|
function Be() {
|
|
790
792
|
ze = !0;
|
|
@@ -830,7 +832,7 @@ function Ke(e, t, n, r, i, a) {
|
|
|
830
832
|
var qe = {}.toString, Je = Array.isArray || function(e) {
|
|
831
833
|
return qe.call(e) == "[object Array]";
|
|
832
834
|
}, Ye = 50;
|
|
833
|
-
G.TYPED_ARRAY_SUPPORT = Fe.TYPED_ARRAY_SUPPORT === void 0
|
|
835
|
+
G.TYPED_ARRAY_SUPPORT = Fe.TYPED_ARRAY_SUPPORT === void 0 || Fe.TYPED_ARRAY_SUPPORT, Xe();
|
|
834
836
|
function Xe() {
|
|
835
837
|
return G.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
|
|
836
838
|
}
|
|
@@ -1018,7 +1020,7 @@ G.prototype.swap16 = function() {
|
|
|
1018
1020
|
return e === 0 ? "" : arguments.length === 0 ? bt(this, 0, e) : lt.apply(this, arguments);
|
|
1019
1021
|
}, G.prototype.equals = function(e) {
|
|
1020
1022
|
if (!st(e)) throw TypeError("Argument must be a Buffer");
|
|
1021
|
-
return this === e
|
|
1023
|
+
return this === e || G.compare(this, e) === 0;
|
|
1022
1024
|
}, G.prototype.inspect = function() {
|
|
1023
1025
|
var e = "", t = Ye;
|
|
1024
1026
|
return this.length > 0 && (e = this.toString("hex", 0, t).match(/.{2}/g).join(" "), this.length > t && (e += " ... ")), "<Buffer " + e + ">";
|
|
@@ -1040,8 +1042,10 @@ function dt(e, t, n, r, i) {
|
|
|
1040
1042
|
if (typeof n == "string" ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
|
|
1041
1043
|
if (i) return -1;
|
|
1042
1044
|
n = e.length - 1;
|
|
1043
|
-
} else if (n < 0)
|
|
1044
|
-
|
|
1045
|
+
} else if (n < 0) {
|
|
1046
|
+
if (i) n = 0;
|
|
1047
|
+
else return -1;
|
|
1048
|
+
}
|
|
1045
1049
|
if (typeof t == "string" && (t = G.from(t, r)), st(t)) return t.length === 0 ? -1 : ft(e, t, n, r, i);
|
|
1046
1050
|
if (typeof t == "number") return t &= 255, G.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? i ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : ft(e, [t], n, r, i);
|
|
1047
1051
|
throw TypeError("val must be string, number or Buffer");
|
|
@@ -1393,7 +1397,8 @@ function It(e, t) {
|
|
|
1393
1397
|
if (n > 56319) {
|
|
1394
1398
|
(t -= 3) > -1 && a.push(239, 191, 189);
|
|
1395
1399
|
continue;
|
|
1396
|
-
}
|
|
1400
|
+
}
|
|
1401
|
+
if (o + 1 === r) {
|
|
1397
1402
|
(t -= 3) > -1 && a.push(239, 191, 189);
|
|
1398
1403
|
continue;
|
|
1399
1404
|
}
|
|
@@ -1726,13 +1731,15 @@ function En(e, t) {
|
|
|
1726
1731
|
}
|
|
1727
1732
|
var Dn = {}, On;
|
|
1728
1733
|
function kn(e) {
|
|
1729
|
-
if (qn(On) && (On = Sn.env.NODE_DEBUG || ""), e = e.toUpperCase(), !Dn[e])
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1734
|
+
if (qn(On) && (On = Sn.env.NODE_DEBUG || ""), e = e.toUpperCase(), !Dn[e]) {
|
|
1735
|
+
if (RegExp("\\b" + e + "\\b", "i").test(On)) {
|
|
1736
|
+
var t = 0;
|
|
1737
|
+
Dn[e] = function() {
|
|
1738
|
+
var n = Tn.apply(null, arguments);
|
|
1739
|
+
console.error("%s %d: %s", e, t, n);
|
|
1740
|
+
};
|
|
1741
|
+
} else Dn[e] = function() {};
|
|
1742
|
+
}
|
|
1736
1743
|
return Dn[e];
|
|
1737
1744
|
}
|
|
1738
1745
|
function An(e, t) {
|
|
@@ -1972,7 +1979,7 @@ lr.prototype.push = function(e) {
|
|
|
1972
1979
|
}, lr.prototype.shift = function() {
|
|
1973
1980
|
if (this.length !== 0) {
|
|
1974
1981
|
var e = this.head.data;
|
|
1975
|
-
return this.length === 1 ? this.
|
|
1982
|
+
return this.head = this.length === 1 ? this.tail = null : this.head.next, --this.length, e;
|
|
1976
1983
|
}
|
|
1977
1984
|
}, lr.prototype.clear = function() {
|
|
1978
1985
|
this.head = this.tail = null, this.length = 0;
|
|
@@ -2091,7 +2098,7 @@ function _r(e, t) {
|
|
|
2091
2098
|
}
|
|
2092
2099
|
function vr(e, t) {
|
|
2093
2100
|
e ||= {}, this.objectMode = !!e.objectMode, t instanceof di && (this.objectMode = this.objectMode || !!e.readableObjectMode);
|
|
2094
|
-
var n = e.highWaterMark, r = this.objectMode ? 16 :
|
|
2101
|
+
var n = e.highWaterMark, r = this.objectMode ? 16 : 16384;
|
|
2095
2102
|
this.highWaterMark = n || n === 0 ? n : r, this.highWaterMark = ~~this.highWaterMark, this.buffer = new lr(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.defaultEncoding = e.defaultEncoding || "utf8", this.ranOut = !1, this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, e.encoding && (this.decoder = new fr(e.encoding), this.encoding = e.encoding);
|
|
2096
2103
|
}
|
|
2097
2104
|
function Z(e) {
|
|
@@ -2111,17 +2118,18 @@ function yr(e, t, n, r, i) {
|
|
|
2111
2118
|
var a = wr(t, n);
|
|
2112
2119
|
if (a) e.emit("error", a);
|
|
2113
2120
|
else if (n === null) t.reading = !1, Tr(e, t);
|
|
2114
|
-
else if (t.objectMode || n && n.length > 0)
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2121
|
+
else if (t.objectMode || n && n.length > 0) {
|
|
2122
|
+
if (t.ended && !i) {
|
|
2123
|
+
var o = /* @__PURE__ */ Error("stream.push() after EOF");
|
|
2124
|
+
e.emit("error", o);
|
|
2125
|
+
} else if (t.endEmitted && i) {
|
|
2126
|
+
var s = /* @__PURE__ */ Error("stream.unshift() after end event");
|
|
2127
|
+
e.emit("error", s);
|
|
2128
|
+
} else {
|
|
2129
|
+
var c;
|
|
2130
|
+
t.decoder && !i && !r && (n = t.decoder.write(n), c = !t.objectMode && n.length === 0), i || (t.reading = !1), c || (t.flowing && t.length === 0 && !t.sync ? (e.emit("data", n), e.read(0)) : (t.length += t.objectMode ? 1 : n.length, i ? t.buffer.unshift(n) : t.buffer.push(n), t.needReadable && Er(e))), Or(e, t);
|
|
2131
|
+
}
|
|
2132
|
+
} else i || (t.reading = !1);
|
|
2125
2133
|
return br(t);
|
|
2126
2134
|
}
|
|
2127
2135
|
function br(e) {
|
|
@@ -2185,9 +2193,7 @@ Z.prototype._read = function(e) {
|
|
|
2185
2193
|
case 1:
|
|
2186
2194
|
r.pipes = [r.pipes, e];
|
|
2187
2195
|
break;
|
|
2188
|
-
default:
|
|
2189
|
-
r.pipes.push(e);
|
|
2190
|
-
break;
|
|
2196
|
+
default: r.pipes.push(e);
|
|
2191
2197
|
}
|
|
2192
2198
|
r.pipesCount += 1, X("pipe count=%d opts=%j", r.pipesCount, t);
|
|
2193
2199
|
var i = !t || t.end !== !1 ? o : l;
|
|
@@ -2314,7 +2320,7 @@ function Lr(e, t) {
|
|
|
2314
2320
|
for (e -= i.length; n = n.next;) {
|
|
2315
2321
|
var a = n.data, o = e > a.length ? a.length : e;
|
|
2316
2322
|
if (o === a.length ? i += a : i += a.slice(0, e), e -= o, e === 0) {
|
|
2317
|
-
o === a.length ? (++r,
|
|
2323
|
+
o === a.length ? (++r, t.head = n.next ? n.next : t.tail = null) : (t.head = n, n.data = a.slice(o));
|
|
2318
2324
|
break;
|
|
2319
2325
|
}
|
|
2320
2326
|
++r;
|
|
@@ -2326,7 +2332,7 @@ function Rr(e, t) {
|
|
|
2326
2332
|
for (r.data.copy(n), e -= r.data.length; r = r.next;) {
|
|
2327
2333
|
var a = r.data, o = e > a.length ? a.length : e;
|
|
2328
2334
|
if (a.copy(n, n.length - e, 0, o), e -= o, e === 0) {
|
|
2329
|
-
o === a.length ? (++i,
|
|
2335
|
+
o === a.length ? (++i, t.head = r.next ? r.next : t.tail = null) : (t.head = r, r.data = a.slice(o));
|
|
2330
2336
|
break;
|
|
2331
2337
|
}
|
|
2332
2338
|
++i;
|
|
@@ -2357,7 +2363,7 @@ function Gr(e, t) {
|
|
|
2357
2363
|
Object.defineProperty(this, "buffer", { get: En(function() {
|
|
2358
2364
|
return this.getBuffer();
|
|
2359
2365
|
}, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.") }), e ||= {}, this.objectMode = !!e.objectMode, t instanceof di && (this.objectMode = this.objectMode || !!e.writableObjectMode);
|
|
2360
|
-
var n = e.highWaterMark, r = this.objectMode ? 16 :
|
|
2366
|
+
var n = e.highWaterMark, r = this.objectMode ? 16 : 16384;
|
|
2361
2367
|
this.highWaterMark = n || n === 0 ? n : r, this.highWaterMark = ~~this.highWaterMark, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1;
|
|
2362
2368
|
var i = e.decodeStrings === !1;
|
|
2363
2369
|
this.decodeStrings = !i, this.defaultEncoding = e.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) {
|
|
@@ -2768,7 +2774,7 @@ var $ = class e extends Error {
|
|
|
2768
2774
|
this.buf.copy(t, 0, 0, e), this.buf = t;
|
|
2769
2775
|
}
|
|
2770
2776
|
toString(e) {
|
|
2771
|
-
return e ? this.buf.
|
|
2777
|
+
return e ? this.buf.toString(e, 0, this.length) : Uint8Array.prototype.slice.call(this.buf.slice(0, this.length));
|
|
2772
2778
|
}
|
|
2773
2779
|
toJSON() {
|
|
2774
2780
|
return this.toString("utf8");
|
|
@@ -2965,8 +2971,10 @@ var $ = class e extends Error {
|
|
|
2965
2971
|
if (t.info === void 0 || t.info === null || t.info === !1) t.info = !1;
|
|
2966
2972
|
else if (t.info !== !0) throw Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);
|
|
2967
2973
|
if (t.max_record_size === void 0 || t.max_record_size === null || t.max_record_size === !1) t.max_record_size = 0;
|
|
2968
|
-
else if (!(Number.isInteger(t.max_record_size) && t.max_record_size >= 0))
|
|
2969
|
-
|
|
2974
|
+
else if (!(Number.isInteger(t.max_record_size) && t.max_record_size >= 0)) {
|
|
2975
|
+
if (typeof t.max_record_size == "string" && /\d+/.test(t.max_record_size)) t.max_record_size = parseInt(t.max_record_size);
|
|
2976
|
+
else throw Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);
|
|
2977
|
+
}
|
|
2970
2978
|
if (t.objname === void 0 || t.objname === null || t.objname === !1) t.objname = void 0;
|
|
2971
2979
|
else if (J(t.objname)) {
|
|
2972
2980
|
if (t.objname.length === 0) throw Error("Invalid Option: objname must be a non empty buffer");
|
|
@@ -3017,20 +3025,34 @@ var $ = class e extends Error {
|
|
|
3017
3025
|
`got ${JSON.stringify(e)}`
|
|
3018
3026
|
], t);
|
|
3019
3027
|
return typeof e == "string" && (e = G.from(e, t.encoding)), e;
|
|
3020
|
-
}), typeof t.relax_column_count != "boolean")
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
if (typeof t.
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
if (typeof t.
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
if (typeof t.
|
|
3033
|
-
|
|
3028
|
+
}), typeof t.relax_column_count != "boolean") {
|
|
3029
|
+
if (t.relax_column_count === void 0 || t.relax_column_count === null) t.relax_column_count = !1;
|
|
3030
|
+
else throw Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);
|
|
3031
|
+
}
|
|
3032
|
+
if (typeof t.relax_column_count_less != "boolean") {
|
|
3033
|
+
if (t.relax_column_count_less === void 0 || t.relax_column_count_less === null) t.relax_column_count_less = !1;
|
|
3034
|
+
else throw Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);
|
|
3035
|
+
}
|
|
3036
|
+
if (typeof t.relax_column_count_more != "boolean") {
|
|
3037
|
+
if (t.relax_column_count_more === void 0 || t.relax_column_count_more === null) t.relax_column_count_more = !1;
|
|
3038
|
+
else throw Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);
|
|
3039
|
+
}
|
|
3040
|
+
if (typeof t.relax_quotes != "boolean") {
|
|
3041
|
+
if (t.relax_quotes === void 0 || t.relax_quotes === null) t.relax_quotes = !1;
|
|
3042
|
+
else throw Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);
|
|
3043
|
+
}
|
|
3044
|
+
if (typeof t.skip_empty_lines != "boolean") {
|
|
3045
|
+
if (t.skip_empty_lines === void 0 || t.skip_empty_lines === null) t.skip_empty_lines = !1;
|
|
3046
|
+
else throw Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);
|
|
3047
|
+
}
|
|
3048
|
+
if (typeof t.skip_records_with_empty_values != "boolean") {
|
|
3049
|
+
if (t.skip_records_with_empty_values === void 0 || t.skip_records_with_empty_values === null) t.skip_records_with_empty_values = !1;
|
|
3050
|
+
else throw Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);
|
|
3051
|
+
}
|
|
3052
|
+
if (typeof t.skip_records_with_error != "boolean") {
|
|
3053
|
+
if (t.skip_records_with_error === void 0 || t.skip_records_with_error === null) t.skip_records_with_error = !1;
|
|
3054
|
+
else throw Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);
|
|
3055
|
+
}
|
|
3034
3056
|
if (t.rtrim === void 0 || t.rtrim === null || t.rtrim === !1) t.rtrim = !1;
|
|
3035
3057
|
else if (t.rtrim !== !0) throw Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);
|
|
3036
3058
|
if (t.ltrim === void 0 || t.ltrim === null || t.ltrim === !1) t.ltrim = !1;
|
|
@@ -3038,13 +3060,17 @@ var $ = class e extends Error {
|
|
|
3038
3060
|
if (t.trim === void 0 || t.trim === null || t.trim === !1) t.trim = !1;
|
|
3039
3061
|
else if (t.trim !== !0) throw Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);
|
|
3040
3062
|
if (t.trim === !0 && e.ltrim !== !1 ? t.ltrim = !0 : t.ltrim !== !0 && (t.ltrim = !1), t.trim === !0 && e.rtrim !== !1 ? t.rtrim = !0 : t.rtrim !== !0 && (t.rtrim = !1), t.to === void 0 || t.to === null) t.to = -1;
|
|
3041
|
-
else if (t.to !== -1)
|
|
3042
|
-
if (t.to
|
|
3043
|
-
|
|
3063
|
+
else if (t.to !== -1) {
|
|
3064
|
+
if (typeof t.to == "string" && /\d+/.test(t.to) && (t.to = parseInt(t.to)), Number.isInteger(t.to)) {
|
|
3065
|
+
if (t.to <= 0) throw Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`);
|
|
3066
|
+
} else throw Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);
|
|
3067
|
+
}
|
|
3044
3068
|
if (t.to_line === void 0 || t.to_line === null) t.to_line = -1;
|
|
3045
|
-
else if (t.to_line !== -1)
|
|
3046
|
-
if (t.to_line
|
|
3047
|
-
|
|
3069
|
+
else if (t.to_line !== -1) {
|
|
3070
|
+
if (typeof t.to_line == "string" && /\d+/.test(t.to_line) && (t.to_line = parseInt(t.to_line)), Number.isInteger(t.to_line)) {
|
|
3071
|
+
if (t.to_line <= 0) throw Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`);
|
|
3072
|
+
} else throw Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);
|
|
3073
|
+
}
|
|
3048
3074
|
return t;
|
|
3049
3075
|
}, Ni = function(e, t) {
|
|
3050
3076
|
t || ({delimiter_auto: t} = Mi({ delimiter_auto: !0 })), typeof e == "string" && (e = G.from(e)), J(e) && (e = ((e) => {
|
|
@@ -3108,30 +3134,34 @@ var $ = class e extends Error {
|
|
|
3108
3134
|
}
|
|
3109
3135
|
}
|
|
3110
3136
|
let { previousBuf: C } = this.state, w;
|
|
3111
|
-
if (C === void 0)
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
} else w = e;
|
|
3115
|
-
else w = C !== void 0 && e === void 0 ? C : G.concat([C, e]);
|
|
3116
|
-
if (ee === !1) if (i === !1) this.state.bomSkipped = !0;
|
|
3117
|
-
else if (w.length < 3) {
|
|
3118
|
-
if (t === !1) {
|
|
3119
|
-
this.state.previousBuf = w;
|
|
3137
|
+
if (C === void 0) {
|
|
3138
|
+
if (e === void 0) {
|
|
3139
|
+
r();
|
|
3120
3140
|
return;
|
|
3121
3141
|
}
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3142
|
+
w = e;
|
|
3143
|
+
} else w = C !== void 0 && e === void 0 ? C : G.concat([C, e]);
|
|
3144
|
+
if (ee === !1) {
|
|
3145
|
+
if (i === !1) this.state.bomSkipped = !0;
|
|
3146
|
+
else if (w.length < 3) {
|
|
3147
|
+
if (t === !1) {
|
|
3148
|
+
this.state.previousBuf = w;
|
|
3149
|
+
return;
|
|
3150
|
+
}
|
|
3151
|
+
} else {
|
|
3152
|
+
for (let e in Ri) if (Ri[e].compare(w, 0, Ri[e].length) === 0) {
|
|
3153
|
+
let t = Ri[e].length;
|
|
3154
|
+
this.state.bufBytesStart += t, w = w.slice(t);
|
|
3155
|
+
let n = Mi({
|
|
3156
|
+
...this.original_options,
|
|
3157
|
+
encoding: e
|
|
3158
|
+
});
|
|
3159
|
+
for (let e in n) this.options[e] = n[e];
|
|
3160
|
+
({comment: _, escape: v, quote: y} = this.options);
|
|
3161
|
+
break;
|
|
3162
|
+
}
|
|
3163
|
+
this.state.bomSkipped = !0;
|
|
3133
3164
|
}
|
|
3134
|
-
this.state.bomSkipped = !0;
|
|
3135
3165
|
}
|
|
3136
3166
|
let re = w.length, T;
|
|
3137
3167
|
for (T = 0; T < re && !this.__needMoreData(T, re, t); T++) {
|
|
@@ -3143,43 +3173,47 @@ var $ = class e extends Error {
|
|
|
3143
3173
|
let e = w[T];
|
|
3144
3174
|
if (d === !0 && S.append(e), (e === Ii || e === Li) && this.state.wasRowDelimiter === !1 && (this.state.wasRowDelimiter = !0), this.state.escaping === !0) this.state.escaping = !1;
|
|
3145
3175
|
else {
|
|
3146
|
-
if (v !== null && this.state.quoting === !0 && this.__isEscape(w, T, e) && T + v.length < re)
|
|
3147
|
-
if (
|
|
3176
|
+
if (v !== null && this.state.quoting === !0 && this.__isEscape(w, T, e) && T + v.length < re) {
|
|
3177
|
+
if (ne) {
|
|
3178
|
+
if (this.__isQuote(w, T + v.length)) {
|
|
3179
|
+
this.state.escaping = !0, T += v.length - 1;
|
|
3180
|
+
continue;
|
|
3181
|
+
}
|
|
3182
|
+
} else {
|
|
3148
3183
|
this.state.escaping = !0, T += v.length - 1;
|
|
3149
3184
|
continue;
|
|
3150
3185
|
}
|
|
3151
|
-
} else {
|
|
3152
|
-
this.state.escaping = !0, T += v.length - 1;
|
|
3153
|
-
continue;
|
|
3154
3186
|
}
|
|
3155
|
-
if (this.state.commenting === !1 && this.__isQuote(w, T))
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3187
|
+
if (this.state.commenting === !1 && this.__isQuote(w, T)) {
|
|
3188
|
+
if (this.state.quoting === !0) {
|
|
3189
|
+
let t = w[T + y.length], n = p && this.__isCharTrimable(w, T + y.length), r = _ !== null && this.__compareBytes(_, w, T + y.length, t), i = this.__isDelimiter(w, T + y.length, t), a = b.length === 0 ? this.__autoDiscoverRecordDelimiter(w, T + y.length) : this.__isRecordDelimiter(t, w, T + y.length);
|
|
3190
|
+
if (v !== null && this.__isEscape(w, T, e) && this.__isQuote(w, T + v.length)) T += v.length - 1;
|
|
3191
|
+
else if (!t || i || a || r || n) {
|
|
3192
|
+
this.state.quoting = !1, this.state.wasQuoting = !0, T += y.length - 1;
|
|
3193
|
+
continue;
|
|
3194
|
+
} else if (f === !1) {
|
|
3195
|
+
let e = this.__error(new $("CSV_INVALID_CLOSING_QUOTE", [
|
|
3196
|
+
"Invalid Closing Quote:",
|
|
3197
|
+
`got "${String.fromCharCode(t)}"`,
|
|
3198
|
+
`at line ${this.info.lines}`,
|
|
3199
|
+
"instead of delimiter, record delimiter, trimable character",
|
|
3200
|
+
"(if activated) or comment"
|
|
3201
|
+
], this.options, this.__infoField()));
|
|
3202
|
+
if (e !== void 0) return e;
|
|
3203
|
+
} else this.state.quoting = !1, this.state.wasQuoting = !0, this.state.field.prepend(y), T += y.length - 1;
|
|
3204
|
+
} else if (this.state.field.length !== 0) {
|
|
3205
|
+
if (f === !1) {
|
|
3206
|
+
let e = this.__infoField(), t = Object.keys(Ri).map((e) => Ri[e].equals(this.state.field.toString()) ? e : !1).filter(Boolean)[0], n = this.__error(new $("INVALID_OPENING_QUOTE", [
|
|
3207
|
+
"Invalid Opening Quote:",
|
|
3208
|
+
`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(s))}`,
|
|
3209
|
+
t ? `(${t} bom)` : void 0
|
|
3210
|
+
], this.options, e, { field: this.state.field }));
|
|
3211
|
+
if (n !== void 0) return n;
|
|
3212
|
+
}
|
|
3213
|
+
} else {
|
|
3214
|
+
this.state.quoting = !0, T += y.length - 1;
|
|
3160
3215
|
continue;
|
|
3161
|
-
} else if (f === !1) {
|
|
3162
|
-
let e = this.__error(new $("CSV_INVALID_CLOSING_QUOTE", [
|
|
3163
|
-
"Invalid Closing Quote:",
|
|
3164
|
-
`got "${String.fromCharCode(t)}"`,
|
|
3165
|
-
`at line ${this.info.lines}`,
|
|
3166
|
-
"instead of delimiter, record delimiter, trimable character",
|
|
3167
|
-
"(if activated) or comment"
|
|
3168
|
-
], this.options, this.__infoField()));
|
|
3169
|
-
if (e !== void 0) return e;
|
|
3170
|
-
} else this.state.quoting = !1, this.state.wasQuoting = !0, this.state.field.prepend(y), T += y.length - 1;
|
|
3171
|
-
} else if (this.state.field.length !== 0) {
|
|
3172
|
-
if (f === !1) {
|
|
3173
|
-
let e = this.__infoField(), t = Object.keys(Ri).map((e) => Ri[e].equals(this.state.field.toString()) ? e : !1).filter(Boolean)[0], n = this.__error(new $("INVALID_OPENING_QUOTE", [
|
|
3174
|
-
"Invalid Opening Quote:",
|
|
3175
|
-
`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(s))}`,
|
|
3176
|
-
t ? `(${t} bom)` : void 0
|
|
3177
|
-
], this.options, e, { field: this.state.field }));
|
|
3178
|
-
if (n !== void 0) return n;
|
|
3179
3216
|
}
|
|
3180
|
-
} else {
|
|
3181
|
-
this.state.quoting = !0, T += y.length - 1;
|
|
3182
|
-
continue;
|
|
3183
3217
|
}
|
|
3184
3218
|
if (this.state.quoting === !1) {
|
|
3185
3219
|
let t = this.__isRecordDelimiter(e, w, T);
|
|
@@ -3241,17 +3275,18 @@ var $ = class e extends Error {
|
|
|
3241
3275
|
continue;
|
|
3242
3276
|
}
|
|
3243
3277
|
}
|
|
3244
|
-
if (t === !0)
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
this.
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3278
|
+
if (t === !0) {
|
|
3279
|
+
if (this.state.quoting === !0) {
|
|
3280
|
+
let e = this.__error(new $("CSV_QUOTE_NOT_CLOSED", ["Quote Not Closed:", `the parsing is finished with an opening quote at line ${this.info.lines}`], this.options, this.__infoField()));
|
|
3281
|
+
if (e !== void 0) return e;
|
|
3282
|
+
} else if (this.state.wasQuoting === !0 || this.state.record.length !== 0 || this.state.field.length !== 0) {
|
|
3283
|
+
this.info.bytes = this.state.bufBytesStart + T;
|
|
3284
|
+
let e = this.__onField();
|
|
3285
|
+
if (e !== void 0) return e;
|
|
3286
|
+
let t = this.__onRecord(n);
|
|
3287
|
+
if (t !== void 0) return t;
|
|
3288
|
+
} else this.state.wasRowDelimiter === !0 ? this.info.empty_lines++ : this.state.commenting === !0 && this.info.comment_lines++;
|
|
3289
|
+
} else this.state.bufBytesStart += T, this.state.previousBuf = w.slice(T);
|
|
3255
3290
|
this.state.wasRowDelimiter === !0 && (this.info.lines++, this.state.wasRowDelimiter = !1);
|
|
3256
3291
|
},
|
|
3257
3292
|
__onRecord: function(e) {
|
|
@@ -3293,7 +3328,12 @@ var $ = class e extends Error {
|
|
|
3293
3328
|
let { objname: a } = this.options;
|
|
3294
3329
|
if (t !== !1) {
|
|
3295
3330
|
let o = {};
|
|
3296
|
-
for (let e = 0, r = f.length; e < r; e++) t[e] === void 0 || t[e].disabled || (n === !0 && o
|
|
3331
|
+
for (let e = 0, r = f.length; e < r; e++) t[e] === void 0 || t[e].disabled || (n === !0 && Object.hasOwn(o, t[e].name) ? Array.isArray(o[t[e].name]) ? o[t[e].name] = o[t[e].name].concat(f[e]) : o[t[e].name] = [o[t[e].name], f[e]] : Object.defineProperty(o, t[e].name, {
|
|
3332
|
+
value: f[e],
|
|
3333
|
+
enumerable: !0,
|
|
3334
|
+
writable: !0,
|
|
3335
|
+
configurable: !0
|
|
3336
|
+
}));
|
|
3297
3337
|
if (l === !0 || i === !0) {
|
|
3298
3338
|
let t = Object.assign({ record: o }, l === !0 ? { raw: this.state.rawBuffer.toString(r) } : {}, i === !0 ? { info: this.__infoRecord() } : {}), n = this.__push(a === void 0 ? t : [o[a], t], e);
|
|
3299
3339
|
if (n) return n;
|
|
@@ -3454,7 +3494,8 @@ var $ = class e extends Error {
|
|
|
3454
3494
|
return e;
|
|
3455
3495
|
}
|
|
3456
3496
|
return;
|
|
3457
|
-
}
|
|
3497
|
+
}
|
|
3498
|
+
return i;
|
|
3458
3499
|
},
|
|
3459
3500
|
__infoDataSet: function() {
|
|
3460
3501
|
return {
|
|
@@ -3603,9 +3644,7 @@ var $ = class e extends Error {
|
|
|
3603
3644
|
case "ascii":
|
|
3604
3645
|
t.record_delimiter = "";
|
|
3605
3646
|
break;
|
|
3606
|
-
case "unicode":
|
|
3607
|
-
t.record_delimiter = "\u2028";
|
|
3608
|
-
break;
|
|
3647
|
+
case "unicode": t.record_delimiter = "\u2028";
|
|
3609
3648
|
}
|
|
3610
3649
|
return [void 0, t];
|
|
3611
3650
|
}, ia = G.from([
|
|
@@ -3614,7 +3653,9 @@ var $ = class e extends Error {
|
|
|
3614
3653
|
191
|
|
3615
3654
|
]), aa = function(e, t) {
|
|
3616
3655
|
return t.length !== 0 && (e.indexOf(t) !== -1 || t.length > 1 && (e + t).indexOf(t) < e.length);
|
|
3617
|
-
}, oa = function(e, t
|
|
3656
|
+
}, oa = function(e, t) {
|
|
3657
|
+
return t ? t.some((t) => typeof t == "string" ? e.indexOf(t) !== -1 : e.search(t) !== -1) : !1;
|
|
3658
|
+
}, sa = function(e, t, n) {
|
|
3618
3659
|
return {
|
|
3619
3660
|
options: e,
|
|
3620
3661
|
state: t,
|
|
@@ -3690,13 +3731,11 @@ var $ = class e extends Error {
|
|
|
3690
3731
|
} else if (a == null) t = this.options;
|
|
3691
3732
|
else return [Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(a)}`)];
|
|
3692
3733
|
let { delimiter: s, escape: c, quote: l, quoted: u, quoted_empty: d, quoted_string: f, quoted_match: p, record_delimiter: m, escape_formulas: h } = t;
|
|
3693
|
-
if (a === "" && o === "")
|
|
3694
|
-
|
|
3695
|
-
e &&= e.length > 0, (e || !0 === d || !0 === f && !1 !== d) === !0 && (a = l + a + l), i += a;
|
|
3696
|
-
} else if (a) {
|
|
3734
|
+
if (a === "" && o === "") (oa(a, p) || !0 === d || !0 === f && !1 !== d) === !0 && (a = l + a + l), i += a;
|
|
3735
|
+
else if (a) {
|
|
3697
3736
|
if (typeof a != "string") return [Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(a)}`)];
|
|
3698
|
-
let e = aa(a, s), t = l !== "" && a.indexOf(l) >= 0, n = a.indexOf(c) >= 0 && c !== l, r = aa(a, m), d = f && typeof o == "string", g =
|
|
3699
|
-
if (
|
|
3737
|
+
let e = aa(a, s), t = l !== "" && a.indexOf(l) >= 0, n = a.indexOf(c) >= 0 && c !== l, r = aa(a, m), d = f && typeof o == "string", g = oa(a, p);
|
|
3738
|
+
if (h) switch (a[0]) {
|
|
3700
3739
|
case "=":
|
|
3701
3740
|
case "+":
|
|
3702
3741
|
case "-":
|
|
@@ -3706,9 +3745,7 @@ var $ = class e extends Error {
|
|
|
3706
3745
|
case "=":
|
|
3707
3746
|
case "+":
|
|
3708
3747
|
case "-":
|
|
3709
|
-
case "@":
|
|
3710
|
-
a = `'${a}`;
|
|
3711
|
-
break;
|
|
3748
|
+
case "@": a = `'${a}`;
|
|
3712
3749
|
}
|
|
3713
3750
|
let _ = t === !0 || e || r || u || d || g;
|
|
3714
3751
|
_ === !0 && n === !0 && (a = a.replaceAll(c, () => c + c)), t === !0 && (a = a.replaceAll(l, () => c + l)), _ === !0 && (a = l + a + l), i += a;
|
|
@@ -3735,10 +3772,10 @@ var $ = class e extends Error {
|
|
|
3735
3772
|
}
|
|
3736
3773
|
}
|
|
3737
3774
|
};
|
|
3738
|
-
},
|
|
3775
|
+
}, ca = function(e, t = {}) {
|
|
3739
3776
|
let n = [], [r, i] = ra(t);
|
|
3740
3777
|
if (r !== void 0) throw r;
|
|
3741
|
-
let a =
|
|
3778
|
+
let a = sa(i, { stop: !1 }, { records: 0 });
|
|
3742
3779
|
for (let t of e) {
|
|
3743
3780
|
let e = a.__transform(t, function(e) {
|
|
3744
3781
|
n.push(e);
|
|
@@ -3755,7 +3792,7 @@ var $ = class e extends Error {
|
|
|
3755
3792
|
if (e !== void 0) throw e;
|
|
3756
3793
|
}
|
|
3757
3794
|
return n.join("");
|
|
3758
|
-
},
|
|
3795
|
+
}, la = function(e = {}, t) {
|
|
3759
3796
|
return this.options = e, (e.consume === void 0 || e.consume === null) && (this.options.consume = !1), this.options.objectMode = !0, (e.parallel === void 0 || e.parallel === null) && (this.options.parallel = 100), (e.params === void 0 || e.params === null) && (e.params = null), this.handler = t, yi.Transform.call(this, this.options), this.state = {
|
|
3760
3797
|
running: 0,
|
|
3761
3798
|
started: 0,
|
|
@@ -3763,7 +3800,7 @@ var $ = class e extends Error {
|
|
|
3763
3800
|
paused: !1
|
|
3764
3801
|
}, this;
|
|
3765
3802
|
};
|
|
3766
|
-
cr.inherits(
|
|
3803
|
+
cr.inherits(la, yi.Transform), la.prototype._transform = function(e, t, n) {
|
|
3767
3804
|
this.state.started++, this.state.running++, !this.state.paused && this.state.running < this.options.parallel && (n(), n = null);
|
|
3768
3805
|
try {
|
|
3769
3806
|
let t = this.handler.length;
|
|
@@ -3780,17 +3817,17 @@ cr.inherits(ca, yi.Transform), ca.prototype._transform = function(e, t, n) {
|
|
|
3780
3817
|
} catch (e) {
|
|
3781
3818
|
this.__done(e);
|
|
3782
3819
|
}
|
|
3783
|
-
},
|
|
3820
|
+
}, la.prototype._flush = function(e) {
|
|
3784
3821
|
this.state.running === 0 ? e() : this._ending = function() {
|
|
3785
3822
|
e();
|
|
3786
3823
|
};
|
|
3787
|
-
},
|
|
3824
|
+
}, la.prototype.__done = function(e, t, n) {
|
|
3788
3825
|
if (this.state.running--, e) return this.destroy(e);
|
|
3789
3826
|
this.state.finished++;
|
|
3790
3827
|
for (let e of t) typeof e == "number" && (e = `${e}`), e != null && e !== "" && (this.state.paused = !this.push(e));
|
|
3791
3828
|
n && n(), this._ending && this.state.running === 0 && this._ending();
|
|
3792
3829
|
};
|
|
3793
3830
|
//#endregion
|
|
3794
|
-
export { Pe as a, we as i,
|
|
3831
|
+
export { Pe as a, we as i, ca as n, Me as o, Te as r, Bi as t };
|
|
3795
3832
|
|
|
3796
3833
|
//# sourceMappingURL=sync.js.map
|