@gen-epix/ui-client-casedb 4.0.0 → 4.0.1

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.
Files changed (393) hide show
  1. package/dist/@types/mui.d.ts +1 -1
  2. package/dist/@types/{ui-casedb.d.ts → ui-client-casedb.d.ts} +1 -1
  3. package/dist/_chunks/AddCasesToEventDialog.js +74 -74
  4. package/dist/_chunks/AddCasesToEventDialog.js.map +1 -1
  5. package/dist/_chunks/CaseContentForm.js +2 -2
  6. package/dist/_chunks/CaseContentForm.js.map +1 -1
  7. package/dist/_chunks/CaseDbDownloadUtil.js +40 -35
  8. package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -1
  9. package/dist/_chunks/CaseInfoDialog.js +195 -195
  10. package/dist/_chunks/CaseInfoDialog.js.map +1 -1
  11. package/dist/_chunks/CaseSetInfoDialog.js +131 -131
  12. package/dist/_chunks/CaseSetInfoDialog.js.map +1 -1
  13. package/dist/_chunks/CaseTypeInfoDialog.js +63 -61
  14. package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -1
  15. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +6 -6
  16. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -1
  17. package/dist/_chunks/CompletCaseTypeLoader.js +3 -3
  18. package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -1
  19. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +1 -1
  20. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -1
  21. package/dist/_chunks/CustomTabPanel.js.map +1 -1
  22. package/dist/_chunks/Dashboard.js +399 -386
  23. package/dist/_chunks/Dashboard.js.map +1 -1
  24. package/dist/_chunks/DashboardStoreLoader.js +5 -5
  25. package/dist/_chunks/DashboardStoreLoader.js.map +1 -1
  26. package/dist/_chunks/DataCollectionAccessInfo.js +21 -21
  27. package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -1
  28. package/dist/_chunks/EpiCurveUtil.js +4 -4
  29. package/dist/_chunks/EpiCurveUtil.js.map +1 -1
  30. package/dist/_chunks/EpiCurveWidget.js +189 -183
  31. package/dist/_chunks/EpiCurveWidget.js.map +1 -1
  32. package/dist/_chunks/FilterUtil.js +103 -101
  33. package/dist/_chunks/FilterUtil.js.map +1 -1
  34. package/dist/_chunks/FindSimilarCasesDialog.js +16 -16
  35. package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -1
  36. package/dist/_chunks/FindSimilarCasesUtil.js +9 -9
  37. package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -1
  38. package/dist/_chunks/HomePageTrends.js +8 -8
  39. package/dist/_chunks/HomePageTrends.js.map +1 -1
  40. package/dist/_chunks/LegendaItem.js +3 -3
  41. package/dist/_chunks/LegendaItem.js.map +1 -1
  42. package/dist/_chunks/LineListWidget.js +23 -21
  43. package/dist/_chunks/LineListWidget.js.map +1 -1
  44. package/dist/_chunks/PanelSeparator.js +374 -384
  45. package/dist/_chunks/PanelSeparator.js.map +1 -1
  46. package/dist/_chunks/Upload.js +222 -207
  47. package/dist/_chunks/Upload.js.map +1 -1
  48. package/dist/_chunks/UploadUtil.js +1970 -841
  49. package/dist/_chunks/UploadUtil.js.map +1 -1
  50. package/dist/_chunks/UserRightsDialog.js +12 -12
  51. package/dist/_chunks/UserRightsDialog.js.map +1 -1
  52. package/dist/_chunks/_MapCache.js +2 -2
  53. package/dist/_chunks/_baseGet.js +1 -1
  54. package/dist/_chunks/_baseGet.js.map +1 -1
  55. package/dist/_chunks/_baseIteratee.js +1 -1
  56. package/dist/_chunks/_baseIteratee.js.map +1 -1
  57. package/dist/_chunks/_setToString.js.map +1 -1
  58. package/dist/_chunks/{chunk-KS7C4IRE.js → chunk-BV7QT456.js} +330 -495
  59. package/dist/_chunks/chunk-BV7QT456.js.map +1 -0
  60. package/dist/_chunks/cloneDeep.js +11 -9
  61. package/dist/_chunks/cloneDeep.js.map +1 -1
  62. package/dist/_chunks/dashboardStore.js +259 -261
  63. package/dist/_chunks/dashboardStore.js.map +1 -1
  64. package/dist/_chunks/esm.js +2900 -2868
  65. package/dist/_chunks/esm.js.map +1 -1
  66. package/dist/_chunks/format.js +8 -8
  67. package/dist/_chunks/format.js.map +1 -1
  68. package/dist/_chunks/index.esm.js +919 -796
  69. package/dist/_chunks/index.esm.js.map +1 -1
  70. package/dist/_chunks/index.module.js +1 -1
  71. package/dist/_chunks/index.module.js.map +1 -1
  72. package/dist/_chunks/protectedTokens.js +79 -81
  73. package/dist/_chunks/protectedTokens.js.map +1 -1
  74. package/dist/_chunks/react.js +1 -1
  75. package/dist/_chunks/react.js.map +1 -1
  76. package/dist/_chunks/round.js +1 -1
  77. package/dist/_chunks/round.js.map +1 -1
  78. package/dist/_chunks/shallow.js +2 -2
  79. package/dist/_chunks/shallow.js.map +1 -1
  80. package/dist/_chunks/sync.js +198 -161
  81. package/dist/_chunks/sync.js.map +1 -1
  82. package/dist/_chunks/toDate.js +1 -1
  83. package/dist/_chunks/toDate.js.map +1 -1
  84. package/dist/_chunks/toString.js +1 -1
  85. package/dist/_chunks/toString.js.map +1 -1
  86. package/dist/_chunks/useUnit.js.map +1 -1
  87. package/dist/_chunks/vanilla.js +1 -1
  88. package/dist/_chunks/vanilla.js.map +1 -1
  89. package/dist/_chunks/yup.js +5 -5
  90. package/dist/_chunks/yup.js.map +1 -1
  91. package/dist/classes/filters/SelectionFilter.d.ts +2 -2
  92. package/dist/classes/filters/TreeFilter.d.ts +2 -2
  93. package/dist/classes/services/DataService/index.js +3 -3
  94. package/dist/classes/services/DataService/index.js.map +1 -1
  95. package/dist/classes/services/EventBusService/EventBusService.d.ts +1 -1
  96. package/dist/classes/services/EventBusService/index.js.map +1 -1
  97. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +1 -1
  98. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -1
  99. package/dist/components/app/CaseDbApp/index.js +8 -5
  100. package/dist/components/app/CaseDbApp/index.js.map +1 -1
  101. package/dist/components/form/fields/ArrangementEditor/index.js +83 -83
  102. package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -1
  103. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +2 -2
  104. package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +2 -2
  105. package/dist/components/ui/CaseContentFormDialog/index.js +1 -1
  106. package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -1
  107. package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +2 -2
  108. package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +2 -2
  109. package/dist/components/ui/CaseSummary/index.js +1 -1
  110. package/dist/components/ui/CaseSummary/index.js.map +1 -1
  111. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +2 -2
  112. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +1 -1
  113. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +2 -2
  114. package/dist/components/ui/ContextMenu/index.js.map +1 -1
  115. package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +2 -2
  116. package/dist/components/ui/CreateEventDialog/index.js +9 -9
  117. package/dist/components/ui/CreateEventDialog/index.js.map +1 -1
  118. package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +1 -1
  119. package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +1 -1
  120. package/dist/components/ui/Dashboard/DashboardWidget.d.ts +1 -1
  121. package/dist/components/ui/DashboardEditCases/index.js +1 -1
  122. package/dist/components/ui/DashboardEditCases/index.js.map +1 -1
  123. package/dist/components/ui/FileSelector/index.js +46 -46
  124. package/dist/components/ui/FileSelector/index.js.map +1 -1
  125. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +2 -2
  126. package/dist/components/ui/Grouping/index.js +50 -50
  127. package/dist/components/ui/Grouping/index.js.map +1 -1
  128. package/dist/components/ui/HistogramWidget/index.js +1 -1
  129. package/dist/components/ui/HistogramWidget/index.js.map +1 -1
  130. package/dist/components/ui/MapWidget/index.js +7 -3
  131. package/dist/components/ui/MapWidget/index.js.map +1 -1
  132. package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +2 -2
  133. package/dist/components/ui/RemoveCasesFromEventDialog/index.js +6 -6
  134. package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -1
  135. package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +2 -2
  136. package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +2 -2
  137. package/dist/components/ui/SequenceDownloadDialog/index.js +22 -22
  138. package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -1
  139. package/dist/components/ui/TreeDescription/index.js.map +1 -1
  140. package/dist/components/ui/TreeWidget/index.js +11 -11
  141. package/dist/components/ui/TreeWidget/index.js.map +1 -1
  142. package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +2 -2
  143. package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +2 -2
  144. package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +2 -2
  145. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +2 -2
  146. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +25 -11
  147. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -1
  148. package/dist/components/ui/Warning/index.js.map +1 -1
  149. package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -1
  150. package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +1 -1
  151. package/dist/components/ui/WidgetMenu/index.js +2 -2
  152. package/dist/components/ui/WidgetMenu/index.js.map +1 -1
  153. package/dist/components/ui/WidgetUnavailable/index.js.map +1 -1
  154. package/dist/constants/query.d.ts +1 -1
  155. package/dist/constants/query.js +1 -1
  156. package/dist/constants/query.js.map +1 -1
  157. package/dist/context/caseAbac/CaseAbacContext.d.ts +1 -1
  158. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +3 -3
  159. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -1
  160. package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +1 -1
  161. package/dist/dataHooks/useCaseRightsQuery/index.js +2 -2
  162. package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -1
  163. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +3 -3
  164. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -1
  165. package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +1 -1
  166. package/dist/dataHooks/useCaseSetRightsQuery/index.js +2 -2
  167. package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -1
  168. package/dist/dataHooks/useCaseSetStatsQuery/index.js +3 -3
  169. package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -1
  170. package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +1 -1
  171. package/dist/dataHooks/useCaseSetStatusesQuery/index.js +3 -3
  172. package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -1
  173. package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +1 -1
  174. package/dist/dataHooks/useCaseSetsQuery/index.js +3 -3
  175. package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -1
  176. package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +1 -1
  177. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +3 -3
  178. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -1
  179. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +1 -1
  180. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -1
  181. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +1 -1
  182. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +2 -2
  183. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -1
  184. package/dist/dataHooks/useCaseTypeSetsQuery/index.js +3 -3
  185. package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -1
  186. package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +1 -1
  187. package/dist/dataHooks/useCaseTypeStatsQuery/index.js +2 -2
  188. package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -1
  189. package/dist/dataHooks/useCaseTypesQuery/index.js +3 -3
  190. package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -1
  191. package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +1 -1
  192. package/dist/dataHooks/useColSetMembersQuery/index.js +2 -2
  193. package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -1
  194. package/dist/dataHooks/useColSetsQuery/index.js +3 -3
  195. package/dist/dataHooks/useColSetsQuery/index.js.map +1 -1
  196. package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +1 -1
  197. package/dist/dataHooks/useColTypesQuery/index.js.map +1 -1
  198. package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +1 -1
  199. package/dist/dataHooks/useColsQuery/index.js +3 -3
  200. package/dist/dataHooks/useColsQuery/index.js.map +1 -1
  201. package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +1 -1
  202. package/dist/dataHooks/useConceptQuery/index.js +3 -3
  203. package/dist/dataHooks/useConceptQuery/index.js.map +1 -1
  204. package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +1 -1
  205. package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -1
  206. package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +1 -1
  207. package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -1
  208. package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +1 -1
  209. package/dist/dataHooks/useConceptSetsQuery/index.js +3 -3
  210. package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -1
  211. package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +1 -1
  212. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +2 -2
  213. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -1
  214. package/dist/dataHooks/useDataCollectionsQuery/index.js +3 -3
  215. package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -1
  216. package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +1 -1
  217. package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -1
  218. package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +1 -1
  219. package/dist/dataHooks/useDimsQuery/index.js +3 -3
  220. package/dist/dataHooks/useDimsQuery/index.js.map +1 -1
  221. package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +1 -1
  222. package/dist/dataHooks/useDiseasesQuery/index.js +3 -3
  223. package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -1
  224. package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +1 -1
  225. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +3 -3
  226. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -1
  227. package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +1 -1
  228. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +3 -3
  229. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -1
  230. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +1 -1
  231. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +2 -2
  232. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -1
  233. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +2 -2
  234. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -1
  235. package/dist/dataHooks/useRefColsQuery/index.js +3 -3
  236. package/dist/dataHooks/useRefColsQuery/index.js.map +1 -1
  237. package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +1 -1
  238. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +2 -2
  239. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -1
  240. package/dist/dataHooks/useRefDimsQuery/index.js +3 -3
  241. package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -1
  242. package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +1 -1
  243. package/dist/dataHooks/useRegionQuery/index.js +3 -3
  244. package/dist/dataHooks/useRegionQuery/index.js.map +1 -1
  245. package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +1 -1
  246. package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -1
  247. package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +1 -1
  248. package/dist/dataHooks/useRegionSetsQuery/index.js +3 -3
  249. package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -1
  250. package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +1 -1
  251. package/dist/dataHooks/useSequencingProtocolsQuery/index.js +3 -3
  252. package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -1
  253. package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +1 -1
  254. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -1
  255. package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +1 -1
  256. package/dist/dataHooks/useUnitQuery/useUnit.d.ts +1 -1
  257. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +2 -2
  258. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -1
  259. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +3 -3
  260. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -1
  261. package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +1 -1
  262. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +2 -2
  263. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -1
  264. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +2 -2
  265. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -1
  266. package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +1 -1
  267. package/dist/hooks/useUserCasePolicyNameFactory/index.js +3 -3
  268. package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -1
  269. package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +1 -1
  270. package/dist/locale/nl.json +1 -1
  271. package/dist/models/config.d.ts +1 -1
  272. package/dist/models/dashboard.d.ts +1 -1
  273. package/dist/models/dashboard.js.map +1 -1
  274. package/dist/models/theme.d.ts +2 -2
  275. package/dist/pages/CaseDbUsersAdminPage/index.js +5 -5
  276. package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -1
  277. package/dist/pages/CaseSetCategoryAdminPage/index.js +4 -4
  278. package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -1
  279. package/dist/pages/CaseSetStatusAdminPage/index.js +4 -4
  280. package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -1
  281. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +4 -4
  282. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -1
  283. package/dist/pages/CaseTypeSetsAdminPage/index.js +6 -6
  284. package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -1
  285. package/dist/pages/CaseTypesAdminPage/index.js +5 -5
  286. package/dist/pages/CaseTypesAdminPage/index.js.map +1 -1
  287. package/dist/pages/CasesDetailPage/index.js +5 -5
  288. package/dist/pages/CasesDetailPage/index.js.map +1 -1
  289. package/dist/pages/CasesPage/index.js +10 -10
  290. package/dist/pages/CasesPage/index.js.map +1 -1
  291. package/dist/pages/ColSetsAdminPage/index.js +6 -6
  292. package/dist/pages/ColSetsAdminPage/index.js.map +1 -1
  293. package/dist/pages/ColsAdminPage/index.js +5 -5
  294. package/dist/pages/ColsAdminPage/index.js.map +1 -1
  295. package/dist/pages/ConceptRelationsAdminPage/index.js +19 -19
  296. package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -1
  297. package/dist/pages/ConceptSetsAdminPage/index.js +5 -5
  298. package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -1
  299. package/dist/pages/ConceptsAdminPage/index.js +5 -5
  300. package/dist/pages/ConceptsAdminPage/index.js.map +1 -1
  301. package/dist/pages/DataCollectionSetsAdminPage/index.js +12 -12
  302. package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -1
  303. package/dist/pages/DataCollectionVisualizationPage/index.js +4 -4
  304. package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -1
  305. package/dist/pages/DataCollectionsAdminPage/index.js +4 -4
  306. package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -1
  307. package/dist/pages/DimsAdminPage/index.js +6 -6
  308. package/dist/pages/DimsAdminPage/index.js.map +1 -1
  309. package/dist/pages/DiseasesAdminPage/index.js +4 -4
  310. package/dist/pages/DiseasesAdminPage/index.js.map +1 -1
  311. package/dist/pages/EtiologicalAgentsAdminPage/index.js +4 -4
  312. package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -1
  313. package/dist/pages/EtiologiesAdminPage/index.js +3 -3
  314. package/dist/pages/EtiologiesAdminPage/index.js.map +1 -1
  315. package/dist/pages/EventsDetailPage/index.js +5 -5
  316. package/dist/pages/EventsDetailPage/index.js.map +1 -1
  317. package/dist/pages/EventsPage/index.js +11 -11
  318. package/dist/pages/EventsPage/index.js.map +1 -1
  319. package/dist/pages/HomePage/index.js +2 -2
  320. package/dist/pages/HomePage/index.js.map +1 -1
  321. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +4 -4
  322. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -1
  323. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +4 -4
  324. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -1
  325. package/dist/pages/RefColsAdminPage/index.js +7 -7
  326. package/dist/pages/RefColsAdminPage/index.js.map +1 -1
  327. package/dist/pages/RefDimsAdminPage/index.js +5 -5
  328. package/dist/pages/RefDimsAdminPage/index.js.map +1 -1
  329. package/dist/pages/RegionRelationsAdminPage/index.js +3 -3
  330. package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -1
  331. package/dist/pages/RegionSetShapesAdminPage/index.js +4 -4
  332. package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -1
  333. package/dist/pages/RegionSetsAdminPage/index.js +5 -5
  334. package/dist/pages/RegionSetsAdminPage/index.js.map +1 -1
  335. package/dist/pages/RegionsAdminPage/index.js +5 -5
  336. package/dist/pages/RegionsAdminPage/index.js.map +1 -1
  337. package/dist/pages/TrendsPage/index.js +1 -1
  338. package/dist/pages/TrendsPage/index.js.map +1 -1
  339. package/dist/pages/UploadPage/index.js +1 -1
  340. package/dist/pages/UploadPage/index.js.map +1 -1
  341. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +4 -4
  342. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -1
  343. package/dist/pages/UserEffectiveRightsAdminPage/index.js +12 -12
  344. package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -1
  345. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +8 -8
  346. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -1
  347. package/dist/pages/UserShareCasePoliciesAdminPage/index.js +4 -4
  348. package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -1
  349. package/dist/routes/adminRoutes.d.ts +1 -1
  350. package/dist/routes/index.js +11 -8
  351. package/dist/routes/index.js.map +1 -1
  352. package/dist/routes/routes.d.ts +1 -1
  353. package/dist/setup/setup.js +5 -5
  354. package/dist/setup/setup.js.map +1 -1
  355. package/dist/stores/dashboardStore/dashboardStore.d.ts +1 -1
  356. package/dist/stores/uploadStore/index.js +2 -2
  357. package/dist/stores/uploadStore/index.js.map +1 -1
  358. package/dist/stores/uploadStore/uploadStore.d.ts +1 -1
  359. package/dist/stores/userProfileStore/index.js +2 -2
  360. package/dist/stores/userProfileStore/index.js.map +1 -1
  361. package/dist/theme/demoTheme/index.js +2 -2
  362. package/dist/theme/demoTheme/index.js.map +1 -1
  363. package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +1 -1
  364. package/dist/utils/CaseDbDataUtil/index.js +1 -1
  365. package/dist/utils/CaseDbDataUtil/index.js.map +1 -1
  366. package/dist/utils/CaseDbStandardConfigUtil/index.js +2488 -1408
  367. package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -1
  368. package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +1 -1
  369. package/dist/utils/CaseDbTableUtil/index.js +1 -1
  370. package/dist/utils/CaseDbTableUtil/index.js.map +1 -1
  371. package/dist/utils/CaseSelectionUtil/index.js.map +1 -1
  372. package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +1 -1
  373. package/dist/utils/CaseTypeFormUtil/index.js +7 -10
  374. package/dist/utils/CaseTypeFormUtil/index.js.map +1 -1
  375. package/dist/utils/CaseTypeUtil/index.js +1 -1
  376. package/dist/utils/CaseTypeUtil/index.js.map +1 -1
  377. package/dist/utils/CaseUtil/index.js +3 -3
  378. package/dist/utils/CaseUtil/index.js.map +1 -1
  379. package/dist/utils/DashboardUtil/index.js +1 -1
  380. package/dist/utils/DashboardUtil/index.js.map +1 -1
  381. package/dist/utils/DataSetUtil/index.js.map +1 -1
  382. package/dist/utils/FileUtil/index.js +1 -1
  383. package/dist/utils/FileUtil/index.js.map +1 -1
  384. package/dist/utils/FilterUtil/FilterUtil.d.ts +2 -2
  385. package/dist/utils/HistogramUtil/index.js +1 -1
  386. package/dist/utils/HistogramUtil/index.js.map +1 -1
  387. package/dist/utils/MapUtil/index.js +1 -1
  388. package/dist/utils/MapUtil/index.js.map +1 -1
  389. package/dist/utils/StratificationUtil/index.js +3 -2
  390. package/dist/utils/StratificationUtil/index.js.map +1 -1
  391. package/dist/utils/UploadUtil/UploadUtil.d.ts +1 -1
  392. package/package.json +11 -11
  393. package/dist/_chunks/chunk-KS7C4IRE.js.map +0 -1
@@ -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
- } else if (k == 1) b = te, ee = S, x = 9, E = 5;
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) if (l.indexOf("[native code]") != -1) {
464
- var u = l.indexOf(" ", 8) + 1;
465
- t += l.slice(u, l.indexOf("(", u));
466
- } else for (var d in t += l, s.prototype) t += ";" + c + ".prototype." + d + "=" + s.prototype[d].toString();
467
- else t += l;
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
- })) if (!c) y(null, T(e, v, v + u));
772
- else if (c == 8) {
773
- var b = e.subarray(v, v + u);
774
- if (p < 524288 || u > .8 * p) try {
775
- y(null, ye(b, { out: new n(p) }));
776
- } catch (e) {
777
- y(e, null);
778
- }
779
- else i.push(ve(b, { size: p }, y));
780
- } else y(D(14, "unknown compression type " + c, 1), null);
781
- else y(null, null);
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.1/node_modules/csv/dist/esm/sync.js
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 ? !0 : Fe.TYPED_ARRAY_SUPPORT, Xe();
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 ? !0 : G.compare(this, e) === 0;
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) if (i) n = 0;
1044
- else return -1;
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
- } else if (o + 1 === r) {
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]) if (RegExp("\\b" + e + "\\b", "i").test(On)) {
1730
- var t = 0;
1731
- Dn[e] = function() {
1732
- var n = Tn.apply(null, arguments);
1733
- console.error("%s %d: %s", e, t, n);
1734
- };
1735
- } else Dn[e] = function() {};
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.head = this.tail = null : this.head = this.head.next, --this.length, e;
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 : 16 * 1024;
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) if (t.ended && !i) {
2115
- var o = /* @__PURE__ */ Error("stream.push() after EOF");
2116
- e.emit("error", o);
2117
- } else if (t.endEmitted && i) {
2118
- var s = /* @__PURE__ */ Error("stream.unshift() after end event");
2119
- e.emit("error", s);
2120
- } else {
2121
- var c;
2122
- 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);
2123
- }
2124
- else i || (t.reading = !1);
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, n.next ? t.head = n.next : t.head = t.tail = null) : (t.head = n, n.data = a.slice(o));
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, r.next ? t.head = r.next : t.head = t.tail = null) : (t.head = r, r.data = a.slice(o));
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 : 16 * 1024;
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.slice(0, this.length).toString(e) : Uint8Array.prototype.slice.call(this.buf.slice(0, this.length));
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)) if (typeof t.max_record_size == "string" && /\d+/.test(t.max_record_size)) t.max_record_size = parseInt(t.max_record_size);
2969
- else throw Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);
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") if (t.relax_column_count === void 0 || t.relax_column_count === null) t.relax_column_count = !1;
3021
- else throw Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);
3022
- if (typeof t.relax_column_count_less != "boolean") if (t.relax_column_count_less === void 0 || t.relax_column_count_less === null) t.relax_column_count_less = !1;
3023
- else throw Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);
3024
- if (typeof t.relax_column_count_more != "boolean") if (t.relax_column_count_more === void 0 || t.relax_column_count_more === null) t.relax_column_count_more = !1;
3025
- else throw Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);
3026
- if (typeof t.relax_quotes != "boolean") if (t.relax_quotes === void 0 || t.relax_quotes === null) t.relax_quotes = !1;
3027
- else throw Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);
3028
- if (typeof t.skip_empty_lines != "boolean") if (t.skip_empty_lines === void 0 || t.skip_empty_lines === null) t.skip_empty_lines = !1;
3029
- else throw Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);
3030
- if (typeof t.skip_records_with_empty_values != "boolean") if (t.skip_records_with_empty_values === void 0 || t.skip_records_with_empty_values === null) t.skip_records_with_empty_values = !1;
3031
- else throw Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);
3032
- if (typeof t.skip_records_with_error != "boolean") if (t.skip_records_with_error === void 0 || t.skip_records_with_error === null) t.skip_records_with_error = !1;
3033
- else throw Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);
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) if (typeof t.to == "string" && /\d+/.test(t.to) && (t.to = parseInt(t.to)), Number.isInteger(t.to)) {
3042
- if (t.to <= 0) throw Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`);
3043
- } else throw Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);
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) if (typeof t.to_line == "string" && /\d+/.test(t.to_line) && (t.to_line = parseInt(t.to_line)), Number.isInteger(t.to_line)) {
3046
- 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)}`);
3047
- } else throw Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);
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) if (e === void 0) {
3112
- r();
3113
- return;
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
- } else {
3123
- for (let e in Ri) if (Ri[e].compare(w, 0, Ri[e].length) === 0) {
3124
- let t = Ri[e].length;
3125
- this.state.bufBytesStart += t, w = w.slice(t);
3126
- let n = Mi({
3127
- ...this.original_options,
3128
- encoding: e
3129
- });
3130
- for (let e in n) this.options[e] = n[e];
3131
- ({comment: _, escape: v, quote: y} = this.options);
3132
- break;
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) if (ne) {
3147
- if (this.__isQuote(w, T + v.length)) {
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)) if (this.state.quoting === !0) {
3156
- 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);
3157
- if (v !== null && this.__isEscape(w, T, e) && this.__isQuote(w, T + v.length)) T += v.length - 1;
3158
- else if (!t || i || a || r || n) {
3159
- this.state.quoting = !1, this.state.wasQuoting = !0, T += y.length - 1;
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) if (this.state.quoting === !0) {
3245
- 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()));
3246
- if (e !== void 0) return e;
3247
- } else if (this.state.wasQuoting === !0 || this.state.record.length !== 0 || this.state.field.length !== 0) {
3248
- this.info.bytes = this.state.bufBytesStart + T;
3249
- let e = this.__onField();
3250
- if (e !== void 0) return e;
3251
- let t = this.__onRecord(n);
3252
- if (t !== void 0) return t;
3253
- } else this.state.wasRowDelimiter === !0 ? this.info.empty_lines++ : this.state.commenting === !0 && this.info.comment_lines++;
3254
- else this.state.bufBytesStart += T, this.state.previousBuf = w.slice(T);
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[t[e].name] !== void 0 ? 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]] : o[t[e].name] = f[e]);
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
- } else return i;
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, n) {
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
- let e = p && p.filter((e) => typeof e == "string" ? a.indexOf(e) !== -1 : e.test(a));
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 = p && p.filter((e) => typeof e == "string" ? a.indexOf(e) !== -1 : e.test(a));
3699
- if (g &&= g.length > 0, h) switch (a[0]) {
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
- }, sa = function(e, t = {}) {
3775
+ }, ca = function(e, t = {}) {
3739
3776
  let n = [], [r, i] = ra(t);
3740
3777
  if (r !== void 0) throw r;
3741
- let a = oa(i, { stop: !1 }, { records: 0 });
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
- }, ca = function(e = {}, t) {
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(ca, yi.Transform), ca.prototype._transform = function(e, t, n) {
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
- }, ca.prototype._flush = function(e) {
3820
+ }, la.prototype._flush = function(e) {
3784
3821
  this.state.running === 0 ? e() : this._ending = function() {
3785
3822
  e();
3786
3823
  };
3787
- }, ca.prototype.__done = function(e, t, n) {
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, sa as n, Me as o, Te as r, Bi as t };
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