@iqworksai/common-components 0.1.21 → 0.1.23

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 (536) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +8 -0
  2. package/dist/_virtual/dayjs.min.mjs +4 -0
  3. package/dist/_virtual/index.mjs +4 -0
  4. package/dist/_virtual/index2.mjs +4 -0
  5. package/dist/_virtual/jquery.mjs +4 -0
  6. package/dist/_virtual/jstree.mjs +4 -0
  7. package/dist/_virtual/papaparse.min.mjs +4 -0
  8. package/dist/_virtual/react-is.development.mjs +4 -0
  9. package/dist/_virtual/react-is.production.min.mjs +4 -0
  10. package/dist/_virtual/use-sync-external-store-shim.development.mjs +4 -0
  11. package/dist/_virtual/use-sync-external-store-shim.production.mjs +4 -0
  12. package/dist/_virtual/use-sync-external-store-with-selector.development.mjs +4 -0
  13. package/dist/_virtual/use-sync-external-store-with-selector.production.mjs +4 -0
  14. package/dist/_virtual/utc.mjs +4 -0
  15. package/dist/_virtual/with-selector.development.mjs +4 -0
  16. package/dist/_virtual/with-selector.mjs +4 -0
  17. package/dist/_virtual/with-selector.production.mjs +4 -0
  18. package/dist/_virtual/with-selector2.mjs +4 -0
  19. package/dist/assets/integrations/athena.svg.mjs +4 -0
  20. package/dist/assets/integrations/awsS3.svg.mjs +4 -0
  21. package/dist/assets/integrations/azureBlob.svg.mjs +4 -0
  22. package/dist/assets/integrations/bigquery.svg.mjs +4 -0
  23. package/dist/assets/integrations/box.svg.mjs +4 -0
  24. package/dist/assets/integrations/confluence.svg.mjs +4 -0
  25. package/dist/assets/integrations/databricks.svg.mjs +4 -0
  26. package/dist/assets/integrations/drive.svg.mjs +4 -0
  27. package/dist/assets/integrations/dropbox.svg.mjs +4 -0
  28. package/dist/assets/integrations/dynamics365.svg.mjs +4 -0
  29. package/dist/assets/integrations/dynamodb.svg.mjs +4 -0
  30. package/dist/assets/integrations/endpoints.svg.mjs +4 -0
  31. package/dist/assets/integrations/exchange.svg.mjs +4 -0
  32. package/dist/assets/integrations/github.svg.mjs +4 -0
  33. package/dist/assets/integrations/gitlab.svg.mjs +4 -0
  34. package/dist/assets/integrations/gmail.svg.mjs +4 -0
  35. package/dist/assets/integrations/googleCloudStorage.svg.mjs +4 -0
  36. package/dist/assets/integrations/hubspot.svg.mjs +4 -0
  37. package/dist/assets/integrations/jira.svg.mjs +4 -0
  38. package/dist/assets/integrations/mssql.svg.mjs +4 -0
  39. package/dist/assets/integrations/mysql.svg.mjs +4 -0
  40. package/dist/assets/integrations/netsuite.svg.mjs +4 -0
  41. package/dist/assets/integrations/oneDrive.svg.mjs +4 -0
  42. package/dist/assets/integrations/outlook.svg.mjs +4 -0
  43. package/dist/assets/integrations/postgres.svg.mjs +4 -0
  44. package/dist/assets/integrations/redshift.svg.mjs +4 -0
  45. package/dist/assets/integrations/salesforce.svg.mjs +4 -0
  46. package/dist/assets/integrations/sap.svg.mjs +4 -0
  47. package/dist/assets/integrations/servicenow.svg.mjs +4 -0
  48. package/dist/assets/integrations/sharedDrive.svg.mjs +4 -0
  49. package/dist/assets/integrations/sharepoint.svg.mjs +4 -0
  50. package/dist/assets/integrations/slack.svg.mjs +4 -0
  51. package/dist/assets/integrations/snowflake.svg.mjs +4 -0
  52. package/dist/assets/integrations/teams.svg.mjs +4 -0
  53. package/dist/assets/integrations/workday.svg.mjs +4 -0
  54. package/dist/assets/integrations/zendesk.svg.mjs +4 -0
  55. package/dist/assets/logos/aiq-logo.svg.mjs +4 -0
  56. package/dist/assets/logos/classify-iq-logo.svg.mjs +4 -0
  57. package/dist/assets/logos/comply-iq-logo.svg.mjs +4 -0
  58. package/dist/assets/logos/consent-iq-logo.svg.mjs +4 -0
  59. package/dist/assets/logos/discover-iq-logo.svg.mjs +4 -0
  60. package/dist/assets/logos/iqagent-logo.svg.mjs +4 -0
  61. package/dist/assets/logos/iqworks-icon.png.mjs +4 -0
  62. package/dist/assets/logos/iqworks-icon.svg.mjs +10 -0
  63. package/dist/assets/logos/iqworks-icon.svg2.mjs +4 -0
  64. package/dist/assets/logos/iqworks-logo.svg.mjs +4 -0
  65. package/dist/assets/logos/light/aiq-logo-light.svg.mjs +4 -0
  66. package/dist/assets/logos/light/classify-iq-logo-light.svg.mjs +4 -0
  67. package/dist/assets/logos/light/comply-iq-logo-light.svg.mjs +4 -0
  68. package/dist/assets/logos/light/consent-iq-logo-light.svg.mjs +4 -0
  69. package/dist/assets/logos/light/discover-iq-logo-light.svg.mjs +4 -0
  70. package/dist/assets/logos/light/iqagent-logo.svg.mjs +4 -0
  71. package/dist/assets/logos/light/iqworks-icon-light.png.mjs +4 -0
  72. package/dist/assets/logos/light/iqworks-icon-light.svg.mjs +10 -0
  73. package/dist/assets/logos/light/iqworks-icon-light.svg2.mjs +4 -0
  74. package/dist/assets/logos/light/iqworks-logo-light.svg.mjs +4 -0
  75. package/dist/assets/logos/light/protect-iq-logo-light.svg.mjs +4 -0
  76. package/dist/assets/logos/light/retain-iq-logo-light.svg.mjs +4 -0
  77. package/dist/assets/logos/light/search-iq-logo-light.svg.mjs +4 -0
  78. package/dist/assets/logos/protect-iq-logo.svg.mjs +4 -0
  79. package/dist/assets/logos/retain-iq-logo.svg.mjs +4 -0
  80. package/dist/assets/logos/search-iq-logo.svg.mjs +4 -0
  81. package/dist/components/Alert/index.mjs +34 -0
  82. package/dist/components/CSVImporter/helpers.mjs +82 -0
  83. package/dist/components/CSVImporter/index.mjs +156 -0
  84. package/dist/components/Charts/ChartHeader/index.mjs +15 -0
  85. package/dist/components/Charts/CustomLegends/index.mjs +72 -0
  86. package/dist/components/Charts/DonutChart/index.mjs +120 -0
  87. package/dist/components/Charts/GaugeChart/index.mjs +229 -0
  88. package/dist/components/Charts/GeoChart/index.mjs +85 -0
  89. package/dist/components/Charts/HorizontalBarChart/index.mjs +118 -0
  90. package/dist/components/Charts/NoDataChart/index.mjs +19 -0
  91. package/dist/components/Charts/PieChart/index.mjs +120 -0
  92. package/dist/components/Charts/StorageChart/index.mjs +44 -0
  93. package/dist/components/Charts/VerticalBarChart/index.mjs +130 -0
  94. package/dist/components/ConfidenceScoreTooltip/index.mjs +113 -0
  95. package/dist/components/ConfirmationModal/index.mjs +96 -0
  96. package/dist/components/CountryBox/index.mjs +18 -0
  97. package/dist/components/DbSchemaBrowser/index.mjs +750 -0
  98. package/dist/components/Dropdown/index.mjs +59 -0
  99. package/dist/components/ErrorBoundary/ComponentErrorBoundary.mjs +43 -0
  100. package/dist/components/ErrorBoundary/index.mjs +184 -0
  101. package/dist/components/Favicons/index.d.ts +83 -0
  102. package/dist/components/Favicons/index.d.ts.map +1 -0
  103. package/dist/components/Favicons/index.mjs +67 -0
  104. package/dist/components/FileBrowser/index.mjs +706 -0
  105. package/dist/components/FileTypeIcon/index.mjs +12 -0
  106. package/dist/components/ImagePreviewModal/index.mjs +101 -0
  107. package/dist/components/InstallUpdateLoader/index.mjs +99 -0
  108. package/dist/components/IntegrationLogos/index.mjs +146 -0
  109. package/dist/components/Loader/index.mjs +30 -0
  110. package/dist/components/Logos/index.mjs +121 -0
  111. package/dist/components/Modal/index.mjs +126 -0
  112. package/dist/components/MultiSelect/index.mjs +236 -0
  113. package/dist/components/NoActiveAttributeWarning/index.mjs +9 -0
  114. package/dist/components/ResourceUsageBadge/index.mjs +47 -0
  115. package/dist/components/RiskScoreLabel/index.mjs +10 -0
  116. package/dist/components/ShowMultiData/index.mjs +32 -0
  117. package/dist/components/StatusBadge/index.mjs +39 -0
  118. package/dist/components/Table/index.mjs +732 -0
  119. package/dist/components/TaskResult/index.mjs +157 -0
  120. package/dist/components/Timer/index.mjs +33 -0
  121. package/dist/components/Toast/index.mjs +31 -0
  122. package/dist/components/ToggleSwitch/index.mjs +26 -0
  123. package/dist/components/ToolTip/index.mjs +63 -0
  124. package/dist/constants/browserConstants.mjs +9 -0
  125. package/dist/constants/enums.mjs +9 -0
  126. package/dist/constants/statusBadgeClasses.mjs +15 -0
  127. package/dist/context/ContextProvider.mjs +21 -0
  128. package/dist/context/LoaderContext.mjs +15 -0
  129. package/dist/context/ThemeContext.mjs +201 -0
  130. package/dist/context/ToastContext.mjs +24 -0
  131. package/dist/hooks/useApiCache.mjs +47 -0
  132. package/dist/hooks/useAssetPath.mjs +16 -0
  133. package/dist/hooks/useBodyScrollLock.mjs +13 -0
  134. package/dist/hooks/useClickOutside.mjs +21 -0
  135. package/dist/hooks/useDebounce.mjs +15 -0
  136. package/dist/hooks/useFilterCache.mjs +22 -0
  137. package/dist/hooks/useReduxHook.mjs +17 -0
  138. package/dist/{index-DuYopz3l.cjs → index-CUUuCzyM.cjs} +44 -32
  139. package/dist/{index-CM7jFsCE.cjs → index-DtVOjJk3.cjs} +1 -1
  140. package/dist/index.cjs +1 -1
  141. package/dist/index.d.ts +1 -0
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.mjs +166 -100
  144. package/dist/jquery-BKuE7Afe.cjs +13 -0
  145. package/dist/{jstree-CXGKFWK1.cjs → jstree-CtrCtuMv.cjs} +3 -3
  146. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +8 -0
  147. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +6 -0
  148. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +7 -0
  149. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +7 -0
  150. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +6 -0
  151. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
  152. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +17 -0
  153. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
  154. package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +12 -0
  155. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
  156. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +16 -0
  157. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
  158. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +6 -0
  159. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +24 -0
  160. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
  161. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
  162. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
  163. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +13 -0
  164. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +12 -0
  165. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +10 -0
  166. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
  167. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
  168. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.mjs +10 -0
  169. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
  170. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +14 -0
  171. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
  172. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
  173. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +11 -0
  174. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +245 -0
  175. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
  176. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
  177. package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.mjs +56 -0
  178. package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.mjs +43 -0
  179. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +127 -0
  180. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +44 -0
  181. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
  182. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.mjs +7 -0
  183. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +34 -0
  184. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +392 -0
  185. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +400 -0
  186. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.mjs +365 -0
  187. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs +13 -0
  188. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +176 -0
  189. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +136 -0
  190. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +129 -0
  191. package/dist/node_modules/@headlessui/react/dist/components/description/description.mjs +39 -0
  192. package/dist/node_modules/@headlessui/react/dist/components/keyboard.mjs +4 -0
  193. package/dist/node_modules/@headlessui/react/dist/components/label/label.mjs +61 -0
  194. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.mjs +21 -0
  195. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.mjs +120 -0
  196. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.mjs +205 -0
  197. package/dist/node_modules/@headlessui/react/dist/components/mouse.mjs +4 -0
  198. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.mjs +51 -0
  199. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.mjs +14 -0
  200. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.mjs +52 -0
  201. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.mjs +38 -0
  202. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.mjs +8 -0
  203. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.mjs +12 -0
  204. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.mjs +33 -0
  205. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.mjs +9 -0
  206. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.mjs +15 -0
  207. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.mjs +26 -0
  208. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.mjs +9 -0
  209. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.mjs +8 -0
  210. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.mjs +15 -0
  211. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.mjs +41 -0
  212. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.mjs +13 -0
  213. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.mjs +8 -0
  214. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.mjs +11 -0
  215. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.mjs +28 -0
  216. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.mjs +14 -0
  217. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.mjs +38 -0
  218. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.mjs +8 -0
  219. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.mjs +32 -0
  220. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.mjs +12 -0
  221. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.mjs +12 -0
  222. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.mjs +7 -0
  223. package/dist/node_modules/@headlessui/react/dist/hooks/use-store.mjs +7 -0
  224. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.mjs +20 -0
  225. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.mjs +17 -0
  226. package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.mjs +16 -0
  227. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.mjs +73 -0
  228. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.mjs +18 -0
  229. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.mjs +15 -0
  230. package/dist/node_modules/@headlessui/react/dist/internal/disabled.mjs +8 -0
  231. package/dist/node_modules/@headlessui/react/dist/internal/floating.mjs +154 -0
  232. package/dist/node_modules/@headlessui/react/dist/internal/id.mjs +8 -0
  233. package/dist/node_modules/@headlessui/react/dist/internal/open-closed.mjs +15 -0
  234. package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.mjs +8 -0
  235. package/dist/node_modules/@headlessui/react/dist/machine.mjs +74 -0
  236. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.mjs +33 -0
  237. package/dist/node_modules/@headlessui/react/dist/react-glue.mjs +12 -0
  238. package/dist/node_modules/@headlessui/react/dist/utils/bugs.mjs +19 -0
  239. package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.mjs +40 -0
  240. package/dist/node_modules/@headlessui/react/dist/utils/class-names.mjs +6 -0
  241. package/dist/node_modules/@headlessui/react/dist/utils/default-map.mjs +12 -0
  242. package/dist/node_modules/@headlessui/react/dist/utils/disposables.mjs +40 -0
  243. package/dist/node_modules/@headlessui/react/dist/utils/dom.mjs +46 -0
  244. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.mjs +21 -0
  245. package/dist/node_modules/@headlessui/react/dist/utils/env.mjs +34 -0
  246. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.mjs +97 -0
  247. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.mjs +31 -0
  248. package/dist/node_modules/@headlessui/react/dist/utils/match.mjs +11 -0
  249. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.mjs +8 -0
  250. package/dist/node_modules/@headlessui/react/dist/utils/owner.mjs +22 -0
  251. package/dist/node_modules/@headlessui/react/dist/utils/platform.mjs +14 -0
  252. package/dist/node_modules/@headlessui/react/dist/utils/render.mjs +126 -0
  253. package/dist/node_modules/@headlessui/react/dist/utils/store.mjs +14 -0
  254. package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +448 -0
  255. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.mjs +34 -0
  256. package/dist/node_modules/@react-aria/interactions/dist/useFocus.mjs +30 -0
  257. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs +93 -0
  258. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs +57 -0
  259. package/dist/node_modules/@react-aria/interactions/dist/useHover.mjs +86 -0
  260. package/dist/node_modules/@react-aria/interactions/dist/utils.mjs +66 -0
  261. package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.mjs +27 -0
  262. package/dist/node_modules/@react-aria/utils/dist/domHelpers.mjs +15 -0
  263. package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs +45 -0
  264. package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.mjs +7 -0
  265. package/dist/node_modules/@react-aria/utils/dist/openLink.mjs +28 -0
  266. package/dist/node_modules/@react-aria/utils/dist/platform.mjs +47 -0
  267. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs +34 -0
  268. package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs +6 -0
  269. package/dist/node_modules/@react-stately/flags/dist/import.mjs +7 -0
  270. package/dist/node_modules/@reactflow/background/dist/esm/index.mjs +57 -0
  271. package/dist/node_modules/@reactflow/controls/dist/esm/index.mjs +96 -0
  272. package/dist/node_modules/@reactflow/core/dist/esm/index.mjs +2666 -0
  273. package/dist/node_modules/@reactflow/minimap/dist/esm/index.mjs +122 -0
  274. package/dist/node_modules/@reactflow/node-resizer/dist/esm/index.mjs +130 -0
  275. package/dist/node_modules/@reactflow/node-toolbar/dist/esm/index.mjs +72 -0
  276. package/dist/node_modules/@tanstack/react-table/build/lib/index.mjs +100 -0
  277. package/dist/node_modules/@tanstack/table-core/build/lib/index.mjs +1721 -0
  278. package/dist/node_modules/chart.js/auto/auto.mjs +51 -0
  279. package/dist/node_modules/chart.js/dist/chart.mjs +7174 -0
  280. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.mjs +1734 -0
  281. package/dist/node_modules/chartjs-chart-geo/build/index.mjs +874 -0
  282. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +613 -0
  283. package/dist/node_modules/classcat/index.mjs +14 -0
  284. package/dist/node_modules/d3-array/src/fsum.mjs +27 -0
  285. package/dist/node_modules/d3-array/src/merge.mjs +10 -0
  286. package/dist/node_modules/d3-array/src/range.mjs +9 -0
  287. package/dist/node_modules/d3-color/src/color.mjs +305 -0
  288. package/dist/node_modules/d3-color/src/cubehelix.mjs +37 -0
  289. package/dist/node_modules/d3-color/src/define.mjs +12 -0
  290. package/dist/node_modules/d3-color/src/math.mjs +5 -0
  291. package/dist/node_modules/d3-dispatch/src/dispatch.mjs +64 -0
  292. package/dist/node_modules/d3-drag/src/constant.mjs +4 -0
  293. package/dist/node_modules/d3-drag/src/drag.mjs +121 -0
  294. package/dist/node_modules/d3-drag/src/event.mjs +33 -0
  295. package/dist/node_modules/d3-drag/src/nodrag.mjs +16 -0
  296. package/dist/node_modules/d3-drag/src/noevent.mjs +13 -0
  297. package/dist/node_modules/d3-ease/src/cubic.mjs +6 -0
  298. package/dist/node_modules/d3-geo/src/cartesian.mjs +33 -0
  299. package/dist/node_modules/d3-geo/src/circle.mjs +18 -0
  300. package/dist/node_modules/d3-geo/src/clip/antimeridian.mjs +45 -0
  301. package/dist/node_modules/d3-geo/src/clip/buffer.mjs +23 -0
  302. package/dist/node_modules/d3-geo/src/clip/circle.mjs +66 -0
  303. package/dist/node_modules/d3-geo/src/clip/index.mjs +67 -0
  304. package/dist/node_modules/d3-geo/src/clip/line.mjs +43 -0
  305. package/dist/node_modules/d3-geo/src/clip/rectangle.mjs +76 -0
  306. package/dist/node_modules/d3-geo/src/clip/rejoin.mjs +56 -0
  307. package/dist/node_modules/d3-geo/src/compose.mjs +11 -0
  308. package/dist/node_modules/d3-geo/src/contains.mjs +70 -0
  309. package/dist/node_modules/d3-geo/src/distance.mjs +8 -0
  310. package/dist/node_modules/d3-geo/src/graticule.mjs +68 -0
  311. package/dist/node_modules/d3-geo/src/identity.mjs +4 -0
  312. package/dist/node_modules/d3-geo/src/length.mjs +32 -0
  313. package/dist/node_modules/d3-geo/src/math.mjs +33 -0
  314. package/dist/node_modules/d3-geo/src/noop.mjs +5 -0
  315. package/dist/node_modules/d3-geo/src/path/area.mjs +33 -0
  316. package/dist/node_modules/d3-geo/src/path/bounds.mjs +18 -0
  317. package/dist/node_modules/d3-geo/src/path/centroid.mjs +48 -0
  318. package/dist/node_modules/d3-geo/src/path/context.mjs +43 -0
  319. package/dist/node_modules/d3-geo/src/path/index.mjs +41 -0
  320. package/dist/node_modules/d3-geo/src/path/measure.mjs +31 -0
  321. package/dist/node_modules/d3-geo/src/path/string.mjs +69 -0
  322. package/dist/node_modules/d3-geo/src/pointEqual.mjs +7 -0
  323. package/dist/node_modules/d3-geo/src/polygonContains.mjs +27 -0
  324. package/dist/node_modules/d3-geo/src/projection/albers.mjs +7 -0
  325. package/dist/node_modules/d3-geo/src/projection/albersUsa.mjs +65 -0
  326. package/dist/node_modules/d3-geo/src/projection/azimuthal.mjs +23 -0
  327. package/dist/node_modules/d3-geo/src/projection/azimuthalEqualArea.mjs +16 -0
  328. package/dist/node_modules/d3-geo/src/projection/azimuthalEquidistant.mjs +16 -0
  329. package/dist/node_modules/d3-geo/src/projection/conic.mjs +11 -0
  330. package/dist/node_modules/d3-geo/src/projection/conicConformal.mjs +26 -0
  331. package/dist/node_modules/d3-geo/src/projection/conicEqualArea.mjs +23 -0
  332. package/dist/node_modules/d3-geo/src/projection/conicEquidistant.mjs +22 -0
  333. package/dist/node_modules/d3-geo/src/projection/cylindricalEqualArea.mjs +13 -0
  334. package/dist/node_modules/d3-geo/src/projection/equalEarth.mjs +25 -0
  335. package/dist/node_modules/d3-geo/src/projection/equirectangular.mjs +12 -0
  336. package/dist/node_modules/d3-geo/src/projection/fit.mjs +33 -0
  337. package/dist/node_modules/d3-geo/src/projection/gnomonic.mjs +15 -0
  338. package/dist/node_modules/d3-geo/src/projection/index.mjs +104 -0
  339. package/dist/node_modules/d3-geo/src/projection/mercator.mjs +34 -0
  340. package/dist/node_modules/d3-geo/src/projection/naturalEarth1.mjs +27 -0
  341. package/dist/node_modules/d3-geo/src/projection/orthographic.mjs +14 -0
  342. package/dist/node_modules/d3-geo/src/projection/resample.mjs +62 -0
  343. package/dist/node_modules/d3-geo/src/projection/stereographic.mjs +17 -0
  344. package/dist/node_modules/d3-geo/src/projection/transverseMercator.mjs +20 -0
  345. package/dist/node_modules/d3-geo/src/rotation.mjs +48 -0
  346. package/dist/node_modules/d3-geo/src/stream.mjs +52 -0
  347. package/dist/node_modules/d3-geo/src/transform.mjs +33 -0
  348. package/dist/node_modules/d3-interpolate/src/basis.mjs +15 -0
  349. package/dist/node_modules/d3-interpolate/src/color.mjs +29 -0
  350. package/dist/node_modules/d3-interpolate/src/constant.mjs +4 -0
  351. package/dist/node_modules/d3-interpolate/src/cubehelix.mjs +19 -0
  352. package/dist/node_modules/d3-interpolate/src/number.mjs +8 -0
  353. package/dist/node_modules/d3-interpolate/src/rgb.mjs +28 -0
  354. package/dist/node_modules/d3-interpolate/src/string.mjs +24 -0
  355. package/dist/node_modules/d3-interpolate/src/transform/decompose.mjs +23 -0
  356. package/dist/node_modules/d3-interpolate/src/transform/index.mjs +37 -0
  357. package/dist/node_modules/d3-interpolate/src/transform/parse.mjs +13 -0
  358. package/dist/node_modules/d3-interpolate/src/zoom.mjs +42 -0
  359. package/dist/node_modules/d3-scale-chromatic/src/colors.mjs +7 -0
  360. package/dist/node_modules/d3-scale-chromatic/src/diverging/BrBG.mjs +18 -0
  361. package/dist/node_modules/d3-scale-chromatic/src/diverging/PRGn.mjs +18 -0
  362. package/dist/node_modules/d3-scale-chromatic/src/diverging/PiYG.mjs +18 -0
  363. package/dist/node_modules/d3-scale-chromatic/src/diverging/PuOr.mjs +18 -0
  364. package/dist/node_modules/d3-scale-chromatic/src/diverging/RdBu.mjs +18 -0
  365. package/dist/node_modules/d3-scale-chromatic/src/diverging/RdGy.mjs +18 -0
  366. package/dist/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.mjs +18 -0
  367. package/dist/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.mjs +18 -0
  368. package/dist/node_modules/d3-scale-chromatic/src/diverging/Spectral.mjs +18 -0
  369. package/dist/node_modules/d3-scale-chromatic/src/ramp.mjs +5 -0
  370. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.mjs +16 -0
  371. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.mjs +16 -0
  372. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.mjs +16 -0
  373. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.mjs +16 -0
  374. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.mjs +16 -0
  375. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.mjs +16 -0
  376. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.mjs +16 -0
  377. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.mjs +16 -0
  378. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.mjs +16 -0
  379. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.mjs +16 -0
  380. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.mjs +16 -0
  381. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.mjs +16 -0
  382. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.mjs +6 -0
  383. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.mjs +6 -0
  384. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.mjs +13 -0
  385. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.mjs +9 -0
  386. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.mjs +6 -0
  387. package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.mjs +15 -0
  388. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Blues.mjs +16 -0
  389. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Greens.mjs +16 -0
  390. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Greys.mjs +16 -0
  391. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.mjs +16 -0
  392. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Purples.mjs +16 -0
  393. package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Reds.mjs +16 -0
  394. package/dist/node_modules/d3-selection/src/array.mjs +6 -0
  395. package/dist/node_modules/d3-selection/src/constant.mjs +8 -0
  396. package/dist/node_modules/d3-selection/src/creator.mjs +20 -0
  397. package/dist/node_modules/d3-selection/src/matcher.mjs +14 -0
  398. package/dist/node_modules/d3-selection/src/namespace.mjs +8 -0
  399. package/dist/node_modules/d3-selection/src/namespaces.mjs +12 -0
  400. package/dist/node_modules/d3-selection/src/pointer.mjs +18 -0
  401. package/dist/node_modules/d3-selection/src/select.mjs +7 -0
  402. package/dist/node_modules/d3-selection/src/selection/append.mjs +10 -0
  403. package/dist/node_modules/d3-selection/src/selection/attr.mjs +44 -0
  404. package/dist/node_modules/d3-selection/src/selection/call.mjs +7 -0
  405. package/dist/node_modules/d3-selection/src/selection/classed.mjs +54 -0
  406. package/dist/node_modules/d3-selection/src/selection/clone.mjs +14 -0
  407. package/dist/node_modules/d3-selection/src/selection/data.mjs +42 -0
  408. package/dist/node_modules/d3-selection/src/selection/datum.mjs +6 -0
  409. package/dist/node_modules/d3-selection/src/selection/dispatch.mjs +21 -0
  410. package/dist/node_modules/d3-selection/src/selection/each.mjs +9 -0
  411. package/dist/node_modules/d3-selection/src/selection/empty.mjs +6 -0
  412. package/dist/node_modules/d3-selection/src/selection/enter.mjs +27 -0
  413. package/dist/node_modules/d3-selection/src/selection/exit.mjs +8 -0
  414. package/dist/node_modules/d3-selection/src/selection/filter.mjs +12 -0
  415. package/dist/node_modules/d3-selection/src/selection/html.mjs +20 -0
  416. package/dist/node_modules/d3-selection/src/selection/index.mjs +87 -0
  417. package/dist/node_modules/d3-selection/src/selection/insert.mjs +14 -0
  418. package/dist/node_modules/d3-selection/src/selection/iterator.mjs +8 -0
  419. package/dist/node_modules/d3-selection/src/selection/join.mjs +7 -0
  420. package/dist/node_modules/d3-selection/src/selection/lower.mjs +9 -0
  421. package/dist/node_modules/d3-selection/src/selection/merge.mjs +12 -0
  422. package/dist/node_modules/d3-selection/src/selection/node.mjs +11 -0
  423. package/dist/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
  424. package/dist/node_modules/d3-selection/src/selection/on.mjs +52 -0
  425. package/dist/node_modules/d3-selection/src/selection/order.mjs +9 -0
  426. package/dist/node_modules/d3-selection/src/selection/property.mjs +22 -0
  427. package/dist/node_modules/d3-selection/src/selection/raise.mjs +9 -0
  428. package/dist/node_modules/d3-selection/src/selection/remove.mjs +10 -0
  429. package/dist/node_modules/d3-selection/src/selection/select.mjs +12 -0
  430. package/dist/node_modules/d3-selection/src/selection/selectAll.mjs +18 -0
  431. package/dist/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
  432. package/dist/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
  433. package/dist/node_modules/d3-selection/src/selection/size.mjs +8 -0
  434. package/dist/node_modules/d3-selection/src/selection/sort.mjs +19 -0
  435. package/dist/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
  436. package/dist/node_modules/d3-selection/src/selection/style.mjs +27 -0
  437. package/dist/node_modules/d3-selection/src/selection/text.mjs +20 -0
  438. package/dist/node_modules/d3-selection/src/selector.mjs +10 -0
  439. package/dist/node_modules/d3-selection/src/selectorAll.mjs +11 -0
  440. package/dist/node_modules/d3-selection/src/sourceEvent.mjs +8 -0
  441. package/dist/node_modules/d3-selection/src/window.mjs +6 -0
  442. package/dist/node_modules/d3-timer/src/timeout.mjs +10 -0
  443. package/dist/node_modules/d3-timer/src/timer.mjs +62 -0
  444. package/dist/node_modules/d3-transition/src/interrupt.mjs +18 -0
  445. package/dist/node_modules/d3-transition/src/selection/index.mjs +5 -0
  446. package/dist/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
  447. package/dist/node_modules/d3-transition/src/selection/transition.mjs +28 -0
  448. package/dist/node_modules/d3-transition/src/transition/attr.mjs +49 -0
  449. package/dist/node_modules/d3-transition/src/transition/attrTween.mjs +38 -0
  450. package/dist/node_modules/d3-transition/src/transition/delay.mjs +18 -0
  451. package/dist/node_modules/d3-transition/src/transition/duration.mjs +18 -0
  452. package/dist/node_modules/d3-transition/src/transition/ease.mjs +14 -0
  453. package/dist/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
  454. package/dist/node_modules/d3-transition/src/transition/end.mjs +16 -0
  455. package/dist/node_modules/d3-transition/src/transition/filter.mjs +12 -0
  456. package/dist/node_modules/d3-transition/src/transition/index.mjs +65 -0
  457. package/dist/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
  458. package/dist/node_modules/d3-transition/src/transition/merge.mjs +13 -0
  459. package/dist/node_modules/d3-transition/src/transition/on.mjs +21 -0
  460. package/dist/node_modules/d3-transition/src/transition/remove.mjs +13 -0
  461. package/dist/node_modules/d3-transition/src/transition/schedule.mjs +85 -0
  462. package/dist/node_modules/d3-transition/src/transition/select.mjs +14 -0
  463. package/dist/node_modules/d3-transition/src/transition/selectAll.mjs +18 -0
  464. package/dist/node_modules/d3-transition/src/transition/selection.mjs +8 -0
  465. package/dist/node_modules/d3-transition/src/transition/style.mjs +45 -0
  466. package/dist/node_modules/d3-transition/src/transition/styleTween.mjs +23 -0
  467. package/dist/node_modules/d3-transition/src/transition/text.mjs +18 -0
  468. package/dist/node_modules/d3-transition/src/transition/textTween.mjs +23 -0
  469. package/dist/node_modules/d3-transition/src/transition/transition.mjs +19 -0
  470. package/dist/node_modules/d3-transition/src/transition/tween.mjs +56 -0
  471. package/dist/node_modules/d3-zoom/src/constant.mjs +4 -0
  472. package/dist/node_modules/d3-zoom/src/event.mjs +17 -0
  473. package/dist/node_modules/d3-zoom/src/noevent.mjs +10 -0
  474. package/dist/node_modules/d3-zoom/src/transform.mjs +45 -0
  475. package/dist/node_modules/d3-zoom/src/zoom.mjs +233 -0
  476. package/dist/node_modules/dayjs/dayjs.min.mjs +282 -0
  477. package/dist/node_modules/dayjs/plugin/utc.mjs +79 -0
  478. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.mjs +17 -0
  479. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.mjs +95 -0
  480. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.mjs +78 -0
  481. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.mjs +8 -0
  482. package/dist/node_modules/jquery/dist/jquery.mjs +3642 -0
  483. package/dist/{jstree-ETZgxxT1.js → node_modules/jstree/dist/jstree.mjs} +17 -17
  484. package/dist/node_modules/memoize-one/dist/memoize-one.esm.mjs +36 -0
  485. package/dist/node_modules/papaparse/papaparse.min.mjs +421 -0
  486. package/dist/node_modules/react-chartjs-2/dist/index.mjs +94 -0
  487. package/dist/node_modules/react-icons/ai/index.mjs +20 -0
  488. package/dist/node_modules/react-icons/fa/index.mjs +64 -0
  489. package/dist/node_modules/react-icons/fi/index.mjs +48 -0
  490. package/dist/node_modules/react-icons/go/index.mjs +8 -0
  491. package/dist/node_modules/react-icons/io/index.mjs +8 -0
  492. package/dist/node_modules/react-icons/io5/index.mjs +20 -0
  493. package/dist/node_modules/react-icons/lib/iconBase.mjs +108 -0
  494. package/dist/node_modules/react-icons/lib/iconContext.mjs +12 -0
  495. package/dist/node_modules/react-icons/md/index.mjs +56 -0
  496. package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.mjs +17 -0
  497. package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.mjs +1763 -0
  498. package/dist/node_modules/react-select/dist/index-641ee5b8.esm.mjs +867 -0
  499. package/dist/node_modules/react-select/dist/react-select.esm.mjs +19 -0
  500. package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.mjs +62 -0
  501. package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.mjs +29 -0
  502. package/dist/node_modules/reactflow/dist/esm/index.mjs +77 -0
  503. package/dist/node_modules/stylis/src/Enum.mjs +12 -0
  504. package/dist/node_modules/stylis/src/Middleware.mjs +18 -0
  505. package/dist/node_modules/stylis/src/Parser.mjs +114 -0
  506. package/dist/node_modules/stylis/src/Serializer.mjs +27 -0
  507. package/dist/node_modules/stylis/src/Tokenizer.mjs +131 -0
  508. package/dist/node_modules/stylis/src/Utility.mjs +50 -0
  509. package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +5 -0
  510. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +67 -0
  511. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +66 -0
  512. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +67 -0
  513. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +55 -0
  514. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.mjs +66 -0
  515. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.mjs +65 -0
  516. package/dist/node_modules/use-sync-external-store/shim/index.mjs +10 -0
  517. package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +10 -0
  518. package/dist/node_modules/use-sync-external-store/with-selector.mjs +8 -0
  519. package/dist/node_modules/zustand/esm/shallow.mjs +30 -0
  520. package/dist/node_modules/zustand/esm/traditional.mjs +22 -0
  521. package/dist/node_modules/zustand/esm/vanilla.mjs +18 -0
  522. package/dist/types/table.mjs +14 -0
  523. package/dist/utils/classNames.mjs +26 -0
  524. package/dist/utils/dbSchemaBrowserUtils.mjs +86 -0
  525. package/dist/utils/fileBrowserUtils.mjs +66 -0
  526. package/dist/utils/formatBytes.mjs +8 -0
  527. package/dist/utils/memoUtils.mjs +29 -0
  528. package/dist/utils/riskScore.mjs +42 -0
  529. package/dist/utils/statusConfig.mjs +72 -0
  530. package/package.json +5 -1
  531. package/dist/index--e0eFmJz.js +0 -28717
  532. package/dist/index-Bsibz5yn.js +0 -5204
  533. package/dist/jquery-B5k82Ft4.js +0 -3622
  534. package/dist/jquery-DJhgA209.cjs +0 -13
  535. package/dist/jquery-DXFsjw95.js +0 -26
  536. package/dist/jquery-DeHtnyTt.cjs +0 -1
@@ -0,0 +1,85 @@
1
+ import N from "../../../d3-dispatch/src/dispatch.mjs";
2
+ import { timer as T } from "../../../d3-timer/src/timer.mjs";
3
+ import w from "../../../d3-timer/src/timeout.mjs";
4
+ var A = N("start", "end", "cancel", "interrupt"), R = [], x = 0, l = 1, y = 2, v = 3, E = 4, g = 5, h = 6;
5
+ function U(r, e, t, i, u, c) {
6
+ var _ = r.__transition;
7
+ if (!_) r.__transition = {};
8
+ else if (t in _) return;
9
+ G(r, t, {
10
+ name: e,
11
+ index: i,
12
+ // For context during callback.
13
+ group: u,
14
+ // For context during callback.
15
+ on: A,
16
+ tween: R,
17
+ time: c.time,
18
+ delay: c.delay,
19
+ duration: c.duration,
20
+ ease: c.ease,
21
+ timer: null,
22
+ state: x
23
+ });
24
+ }
25
+ function j(r, e) {
26
+ var t = D(r, e);
27
+ if (t.state > x) throw new Error("too late; already scheduled");
28
+ return t;
29
+ }
30
+ function k(r, e) {
31
+ var t = D(r, e);
32
+ if (t.state > v) throw new Error("too late; already running");
33
+ return t;
34
+ }
35
+ function D(r, e) {
36
+ var t = r.__transition;
37
+ if (!t || !(t = t[e])) throw new Error("transition not found");
38
+ return t;
39
+ }
40
+ function G(r, e, t) {
41
+ var i = r.__transition, u;
42
+ i[e] = t, t.timer = T(c, 0, t.time);
43
+ function c(o) {
44
+ t.state = l, t.timer.restart(_, t.delay, t.time), t.delay <= o && _(o - t.delay);
45
+ }
46
+ function _(o) {
47
+ var n, m, d, a;
48
+ if (t.state !== l) return p();
49
+ for (n in i)
50
+ if (a = i[n], a.name === t.name) {
51
+ if (a.state === v) return w(_);
52
+ a.state === E ? (a.state = h, a.timer.stop(), a.on.call("interrupt", r, r.__data__, a.index, a.group), delete i[n]) : +n < e && (a.state = h, a.timer.stop(), a.on.call("cancel", r, r.__data__, a.index, a.group), delete i[n]);
53
+ }
54
+ if (w(function() {
55
+ t.state === v && (t.state = E, t.timer.restart(s, t.delay, t.time), s(o));
56
+ }), t.state = y, t.on.call("start", r, r.__data__, t.index, t.group), t.state === y) {
57
+ for (t.state = v, u = new Array(d = t.tween.length), n = 0, m = -1; n < d; ++n)
58
+ (a = t.tween[n].value.call(r, r.__data__, t.index, t.group)) && (u[++m] = a);
59
+ u.length = m + 1;
60
+ }
61
+ }
62
+ function s(o) {
63
+ for (var n = o < t.duration ? t.ease.call(null, o / t.duration) : (t.timer.restart(p), t.state = g, 1), m = -1, d = u.length; ++m < d; )
64
+ u[m].call(r, n);
65
+ t.state === g && (t.on.call("end", r, r.__data__, t.index, t.group), p());
66
+ }
67
+ function p() {
68
+ t.state = h, t.timer.stop(), delete i[e];
69
+ for (var o in i) return;
70
+ delete r.__transition;
71
+ }
72
+ }
73
+ export {
74
+ x as CREATED,
75
+ h as ENDED,
76
+ g as ENDING,
77
+ E as RUNNING,
78
+ l as SCHEDULED,
79
+ v as STARTED,
80
+ y as STARTING,
81
+ U as default,
82
+ D as get,
83
+ j as init,
84
+ k as set
85
+ };
@@ -0,0 +1,14 @@
1
+ import { Transition as v } from "./index.mjs";
2
+ import w, { get as y } from "./schedule.mjs";
3
+ import s from "../../../d3-selection/src/selector.mjs";
4
+ function x(_) {
5
+ var m = this._name, i = this._id;
6
+ typeof _ != "function" && (_ = s(_));
7
+ for (var e = this._groups, l = e.length, c = new Array(l), r = 0; r < l; ++r)
8
+ for (var f = e[r], o = f.length, n = c[r] = new Array(o), a, h, t = 0; t < o; ++t)
9
+ (a = f[t]) && (h = _.call(a, a.__data__, t, f)) && ("__data__" in a && (h.__data__ = a.__data__), n[t] = h, w(n[t], m, i, t, n, y(a, i)));
10
+ return new v(c, this._parents, m, i);
11
+ }
12
+ export {
13
+ x as default
14
+ };
@@ -0,0 +1,18 @@
1
+ import { Transition as g } from "./index.mjs";
2
+ import w, { get as x } from "./schedule.mjs";
3
+ import y from "../../../d3-selection/src/selectorAll.mjs";
4
+ function B(f) {
5
+ var n = this._name, o = this._id;
6
+ typeof f != "function" && (f = y(f));
7
+ for (var l = this._groups, e = l.length, h = [], s = [], m = 0; m < e; ++m)
8
+ for (var _ = l[m], p = _.length, t, a = 0; a < p; ++a)
9
+ if (t = _[a]) {
10
+ for (var r = f.call(t, t.__data__, a, _), v, u = x(t, o), i = 0, A = r.length; i < A; ++i)
11
+ (v = r[i]) && w(v, n, o, i, r, u);
12
+ h.push(r), s.push(t);
13
+ }
14
+ return new g(h, s, n, o);
15
+ }
16
+ export {
17
+ B as default
18
+ };
@@ -0,0 +1,8 @@
1
+ import t from "../../../d3-selection/src/selection/index.mjs";
2
+ var o = t.prototype.constructor;
3
+ function r() {
4
+ return new o(this._groups, this._parents);
5
+ }
6
+ export {
7
+ r as default
8
+ };
@@ -0,0 +1,45 @@
1
+ import { set as p } from "./schedule.mjs";
2
+ import { tweenValue as v } from "./tween.mjs";
3
+ import g from "./interpolate.mjs";
4
+ import { interpolateTransformCss as d } from "../../../d3-interpolate/src/transform/index.mjs";
5
+ import { styleValue as f } from "../../../d3-selection/src/selection/style.mjs";
6
+ function a(t, n) {
7
+ var i, r, o;
8
+ return function() {
9
+ var s = f(this, t), e = (this.style.removeProperty(t), f(this, t));
10
+ return s === e ? null : s === i && e === r ? o : o = n(i = s, r = e);
11
+ };
12
+ }
13
+ function c(t) {
14
+ return function() {
15
+ this.style.removeProperty(t);
16
+ };
17
+ }
18
+ function w(t, n, i) {
19
+ var r, o = i + "", s;
20
+ return function() {
21
+ var e = f(this, t);
22
+ return e === o ? null : e === r ? s : s = n(r = e, i);
23
+ };
24
+ }
25
+ function T(t, n, i) {
26
+ var r, o, s;
27
+ return function() {
28
+ var e = f(this, t), u = i(this), l = u + "";
29
+ return u == null && (l = u = (this.style.removeProperty(t), f(this, t))), e === l ? null : e === r && l === o ? s : (o = l, s = n(r = e, u));
30
+ };
31
+ }
32
+ function P(t, n) {
33
+ var i, r, o, s = "style." + n, e = "end." + s, u;
34
+ return function() {
35
+ var l = p(this, t), y = l.on, h = l.value[s] == null ? u || (u = c(n)) : void 0;
36
+ (y !== i || o !== h) && (r = (i = y).copy()).on(e, o = h), l.on = r;
37
+ };
38
+ }
39
+ function b(t, n, i) {
40
+ var r = (t += "") == "transform" ? d : g;
41
+ return n == null ? this.styleTween(t, a(t, r)).on("end.style." + t, c(t)) : typeof n == "function" ? this.styleTween(t, T(t, r, v(this, "style." + t, n))).each(P(this._id, t)) : this.styleTween(t, w(t, r, n), i).on("end.style." + t, null);
42
+ }
43
+ export {
44
+ b as default
45
+ };
@@ -0,0 +1,23 @@
1
+ function s(n, e, r) {
2
+ return function(t) {
3
+ this.style.setProperty(n, e.call(this, t), r);
4
+ };
5
+ }
6
+ function f(n, e, r) {
7
+ var t, u;
8
+ function l() {
9
+ var i = e.apply(this, arguments);
10
+ return i !== u && (t = (u = i) && s(n, i, r)), t;
11
+ }
12
+ return l._value = e, l;
13
+ }
14
+ function o(n, e, r) {
15
+ var t = "style." + (n += "");
16
+ if (arguments.length < 2) return (t = this.tween(t)) && t._value;
17
+ if (e == null) return this.tween(t, null);
18
+ if (typeof e != "function") throw new Error();
19
+ return this.tween(t, f(n, e, r ?? ""));
20
+ }
21
+ export {
22
+ o as default
23
+ };
@@ -0,0 +1,18 @@
1
+ import { tweenValue as e } from "./tween.mjs";
2
+ function i(t) {
3
+ return function() {
4
+ this.textContent = t;
5
+ };
6
+ }
7
+ function o(t) {
8
+ return function() {
9
+ var n = t(this);
10
+ this.textContent = n ?? "";
11
+ };
12
+ }
13
+ function r(t) {
14
+ return this.tween("text", typeof t == "function" ? o(e(this, "text", t)) : i(t == null ? "" : t + ""));
15
+ }
16
+ export {
17
+ r as default
18
+ };
@@ -0,0 +1,23 @@
1
+ function u(n) {
2
+ return function(t) {
3
+ this.textContent = n.call(this, t);
4
+ };
5
+ }
6
+ function o(n) {
7
+ var t, r;
8
+ function i() {
9
+ var e = n.apply(this, arguments);
10
+ return e !== r && (t = (r = e) && u(e)), t;
11
+ }
12
+ return i._value = n, i;
13
+ }
14
+ function f(n) {
15
+ var t = "text";
16
+ if (arguments.length < 1) return (t = this.tween(t)) && t._value;
17
+ if (n == null) return this.tween(t, null);
18
+ if (typeof n != "function") throw new Error();
19
+ return this.tween(t, o(n));
20
+ }
21
+ export {
22
+ f as default
23
+ };
@@ -0,0 +1,19 @@
1
+ import { newId as l, Transition as _ } from "./index.mjs";
2
+ import u, { get as v } from "./schedule.mjs";
3
+ function w() {
4
+ for (var s = this._name, o = this._id, d = l(), e = this._groups, m = e.length, n = 0; n < m; ++n)
5
+ for (var r = e[n], f = r.length, i, a = 0; a < f; ++a)
6
+ if (i = r[a]) {
7
+ var t = v(i, o);
8
+ u(i, s, d, a, r, {
9
+ time: t.time + t.delay + t.duration,
10
+ delay: 0,
11
+ duration: t.duration,
12
+ ease: t.ease
13
+ });
14
+ }
15
+ return new _(e, this._parents, s, d);
16
+ }
17
+ export {
18
+ w as default
19
+ };
@@ -0,0 +1,56 @@
1
+ import { get as h, set as l } from "./schedule.mjs";
2
+ function s(t, r) {
3
+ var u, n;
4
+ return function() {
5
+ var e = l(this, t), i = e.tween;
6
+ if (i !== u) {
7
+ n = u = i;
8
+ for (var a = 0, o = n.length; a < o; ++a)
9
+ if (n[a].name === r) {
10
+ n = n.slice(), n.splice(a, 1);
11
+ break;
12
+ }
13
+ }
14
+ e.tween = n;
15
+ };
16
+ }
17
+ function w(t, r, u) {
18
+ var n, e;
19
+ if (typeof u != "function") throw new Error();
20
+ return function() {
21
+ var i = l(this, t), a = i.tween;
22
+ if (a !== n) {
23
+ e = (n = a).slice();
24
+ for (var o = { name: r, value: u }, f = 0, c = e.length; f < c; ++f)
25
+ if (e[f].name === r) {
26
+ e[f] = o;
27
+ break;
28
+ }
29
+ f === c && e.push(o);
30
+ }
31
+ i.tween = e;
32
+ };
33
+ }
34
+ function d(t, r) {
35
+ var u = this._id;
36
+ if (t += "", arguments.length < 2) {
37
+ for (var n = h(this.node(), u).tween, e = 0, i = n.length, a; e < i; ++e)
38
+ if ((a = n[e]).name === t)
39
+ return a.value;
40
+ return null;
41
+ }
42
+ return this.each((r == null ? s : w)(u, t, r));
43
+ }
44
+ function g(t, r, u) {
45
+ var n = t._id;
46
+ return t.each(function() {
47
+ var e = l(this, n);
48
+ (e.value || (e.value = {}))[r] = u.apply(this, arguments);
49
+ }), function(e) {
50
+ return h(e, n).value[r];
51
+ };
52
+ }
53
+ export {
54
+ d as default,
55
+ g as tweenValue
56
+ };
@@ -0,0 +1,4 @@
1
+ const a = (t) => () => t;
2
+ export {
3
+ a as default
4
+ };
@@ -0,0 +1,17 @@
1
+ function l(e, {
2
+ sourceEvent: u,
3
+ target: r,
4
+ transform: t,
5
+ dispatch: a
6
+ }) {
7
+ Object.defineProperties(this, {
8
+ type: { value: e, enumerable: !0, configurable: !0 },
9
+ sourceEvent: { value: u, enumerable: !0, configurable: !0 },
10
+ target: { value: r, enumerable: !0, configurable: !0 },
11
+ transform: { value: t, enumerable: !0, configurable: !0 },
12
+ _: { value: a }
13
+ });
14
+ }
15
+ export {
16
+ l as default
17
+ };
@@ -0,0 +1,10 @@
1
+ function t(o) {
2
+ o.stopImmediatePropagation();
3
+ }
4
+ function a(o) {
5
+ o.preventDefault(), o.stopImmediatePropagation();
6
+ }
7
+ export {
8
+ a as default,
9
+ t as nopropagation
10
+ };
@@ -0,0 +1,45 @@
1
+ function i(t, n, r) {
2
+ this.k = t, this.x = n, this.y = r;
3
+ }
4
+ i.prototype = {
5
+ constructor: i,
6
+ scale: function(t) {
7
+ return t === 1 ? this : new i(this.k * t, this.x, this.y);
8
+ },
9
+ translate: function(t, n) {
10
+ return t === 0 & n === 0 ? this : new i(this.k, this.x + this.k * t, this.y + this.k * n);
11
+ },
12
+ apply: function(t) {
13
+ return [t[0] * this.k + this.x, t[1] * this.k + this.y];
14
+ },
15
+ applyX: function(t) {
16
+ return t * this.k + this.x;
17
+ },
18
+ applyY: function(t) {
19
+ return t * this.k + this.y;
20
+ },
21
+ invert: function(t) {
22
+ return [(t[0] - this.x) / this.k, (t[1] - this.y) / this.k];
23
+ },
24
+ invertX: function(t) {
25
+ return (t - this.x) / this.k;
26
+ },
27
+ invertY: function(t) {
28
+ return (t - this.y) / this.k;
29
+ },
30
+ rescaleX: function(t) {
31
+ return t.copy().domain(t.range().map(this.invertX, this).map(t.invert, t));
32
+ },
33
+ rescaleY: function(t) {
34
+ return t.copy().domain(t.range().map(this.invertY, this).map(t.invert, t));
35
+ },
36
+ toString: function() {
37
+ return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
38
+ }
39
+ };
40
+ var s = new i(1, 0, 0);
41
+ i.prototype;
42
+ export {
43
+ i as Transform,
44
+ s as identity
45
+ };
@@ -0,0 +1,233 @@
1
+ import "../../d3-transition/src/selection/index.mjs";
2
+ import A from "../../d3-transition/src/interrupt.mjs";
3
+ import X from "./constant.mjs";
4
+ import et from "./event.mjs";
5
+ import { identity as L, Transform as C } from "./transform.mjs";
6
+ import I, { nopropagation as F } from "./noevent.mjs";
7
+ import ot from "../../d3-dispatch/src/dispatch.mjs";
8
+ import nt from "../../d3-interpolate/src/zoom.mjs";
9
+ import V from "../../d3-selection/src/select.mjs";
10
+ import M from "../../d3-selection/src/pointer.mjs";
11
+ import it, { yesdrag as ut } from "../../d3-drag/src/nodrag.mjs";
12
+ function rt(u) {
13
+ return (!u.ctrlKey || u.type === "wheel") && !u.button;
14
+ }
15
+ function st() {
16
+ var u = this;
17
+ return u instanceof SVGElement ? (u = u.ownerSVGElement || u, u.hasAttribute("viewBox") ? (u = u.viewBox.baseVal, [[u.x, u.y], [u.x + u.width, u.y + u.height]]) : [[0, 0], [u.width.baseVal.value, u.height.baseVal.value]]) : [[0, 0], [u.clientWidth, u.clientHeight]];
18
+ }
19
+ function J() {
20
+ return this.__zoom || L;
21
+ }
22
+ function ht(u) {
23
+ return -u.deltaY * (u.deltaMode === 1 ? 0.05 : u.deltaMode ? 1 : 2e-3) * (u.ctrlKey ? 10 : 1);
24
+ }
25
+ function at() {
26
+ return navigator.maxTouchPoints || "ontouchstart" in this;
27
+ }
28
+ function ct(u, p, m) {
29
+ var T = u.invertX(p[0][0]) - m[0][0], b = u.invertX(p[1][0]) - m[1][0], g = u.invertY(p[0][1]) - m[0][1], l = u.invertY(p[1][1]) - m[1][1];
30
+ return u.translate(
31
+ b > T ? (T + b) / 2 : Math.min(0, T) || Math.max(0, b),
32
+ l > g ? (g + l) / 2 : Math.min(0, g) || Math.max(0, l)
33
+ );
34
+ }
35
+ function Tt() {
36
+ var u = rt, p = st, m = ct, T = ht, b = at, g = [0, 1 / 0], l = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], Y = 250, G = nt, k = ot("start", "zoom", "end"), x, K, D, H = 500, N = 150, q = 0, S = 10;
37
+ function r(t) {
38
+ t.property("__zoom", J).on("wheel.zoom", O, { passive: !1 }).on("mousedown.zoom", Q).on("dblclick.zoom", R).filter(b).on("touchstart.zoom", U).on("touchmove.zoom", $).on("touchend.zoom touchcancel.zoom", tt).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
39
+ }
40
+ r.transform = function(t, o, e, n) {
41
+ var i = t.selection ? t.selection() : t;
42
+ i.property("__zoom", J), t !== i ? P(t, o, e, n) : i.interrupt().each(function() {
43
+ v(this, arguments).event(n).start().zoom(null, typeof o == "function" ? o.apply(this, arguments) : o).end();
44
+ });
45
+ }, r.scaleBy = function(t, o, e, n) {
46
+ r.scaleTo(t, function() {
47
+ var i = this.__zoom.k, s = typeof o == "function" ? o.apply(this, arguments) : o;
48
+ return i * s;
49
+ }, e, n);
50
+ }, r.scaleTo = function(t, o, e, n) {
51
+ r.transform(t, function() {
52
+ var i = p.apply(this, arguments), s = this.__zoom, h = e == null ? W(i) : typeof e == "function" ? e.apply(this, arguments) : e, a = s.invert(h), c = typeof o == "function" ? o.apply(this, arguments) : o;
53
+ return m(E(B(s, c), h, a), i, l);
54
+ }, e, n);
55
+ }, r.translateBy = function(t, o, e, n) {
56
+ r.transform(t, function() {
57
+ return m(this.__zoom.translate(
58
+ typeof o == "function" ? o.apply(this, arguments) : o,
59
+ typeof e == "function" ? e.apply(this, arguments) : e
60
+ ), p.apply(this, arguments), l);
61
+ }, null, n);
62
+ }, r.translateTo = function(t, o, e, n, i) {
63
+ r.transform(t, function() {
64
+ var s = p.apply(this, arguments), h = this.__zoom, a = n == null ? W(s) : typeof n == "function" ? n.apply(this, arguments) : n;
65
+ return m(L.translate(a[0], a[1]).scale(h.k).translate(
66
+ typeof o == "function" ? -o.apply(this, arguments) : -o,
67
+ typeof e == "function" ? -e.apply(this, arguments) : -e
68
+ ), s, l);
69
+ }, n, i);
70
+ };
71
+ function B(t, o) {
72
+ return o = Math.max(g[0], Math.min(g[1], o)), o === t.k ? t : new C(o, t.x, t.y);
73
+ }
74
+ function E(t, o, e) {
75
+ var n = o[0] - e[0] * t.k, i = o[1] - e[1] * t.k;
76
+ return n === t.x && i === t.y ? t : new C(t.k, n, i);
77
+ }
78
+ function W(t) {
79
+ return [(+t[0][0] + +t[1][0]) / 2, (+t[0][1] + +t[1][1]) / 2];
80
+ }
81
+ function P(t, o, e, n) {
82
+ t.on("start.zoom", function() {
83
+ v(this, arguments).event(n).start();
84
+ }).on("interrupt.zoom end.zoom", function() {
85
+ v(this, arguments).event(n).end();
86
+ }).tween("zoom", function() {
87
+ var i = this, s = arguments, h = v(i, s).event(n), a = p.apply(i, s), c = e == null ? W(a) : typeof e == "function" ? e.apply(i, s) : e, z = Math.max(a[1][0] - a[0][0], a[1][1] - a[0][1]), f = i.__zoom, d = typeof o == "function" ? o.apply(i, s) : o, w = G(f.invert(c).concat(z / f.k), d.invert(c).concat(z / d.k));
88
+ return function(y) {
89
+ if (y === 1) y = d;
90
+ else {
91
+ var _ = w(y), Z = z / _[2];
92
+ y = new C(Z, c[0] - _[0] * Z, c[1] - _[1] * Z);
93
+ }
94
+ h.zoom(null, y);
95
+ };
96
+ });
97
+ }
98
+ function v(t, o, e) {
99
+ return !e && t.__zooming || new j(t, o);
100
+ }
101
+ function j(t, o) {
102
+ this.that = t, this.args = o, this.active = 0, this.sourceEvent = null, this.extent = p.apply(t, o), this.taps = 0;
103
+ }
104
+ j.prototype = {
105
+ event: function(t) {
106
+ return t && (this.sourceEvent = t), this;
107
+ },
108
+ start: function() {
109
+ return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this;
110
+ },
111
+ zoom: function(t, o) {
112
+ return this.mouse && t !== "mouse" && (this.mouse[1] = o.invert(this.mouse[0])), this.touch0 && t !== "touch" && (this.touch0[1] = o.invert(this.touch0[0])), this.touch1 && t !== "touch" && (this.touch1[1] = o.invert(this.touch1[0])), this.that.__zoom = o, this.emit("zoom"), this;
113
+ },
114
+ end: function() {
115
+ return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this;
116
+ },
117
+ emit: function(t) {
118
+ var o = V(this.that).datum();
119
+ k.call(
120
+ t,
121
+ this.that,
122
+ new et(t, {
123
+ sourceEvent: this.sourceEvent,
124
+ target: r,
125
+ transform: this.that.__zoom,
126
+ dispatch: k
127
+ }),
128
+ o
129
+ );
130
+ }
131
+ };
132
+ function O(t, ...o) {
133
+ if (!u.apply(this, arguments)) return;
134
+ var e = v(this, o).event(t), n = this.__zoom, i = Math.max(g[0], Math.min(g[1], n.k * Math.pow(2, T.apply(this, arguments)))), s = M(t);
135
+ if (e.wheel)
136
+ (e.mouse[0][0] !== s[0] || e.mouse[0][1] !== s[1]) && (e.mouse[1] = n.invert(e.mouse[0] = s)), clearTimeout(e.wheel);
137
+ else {
138
+ if (n.k === i) return;
139
+ e.mouse = [s, n.invert(s)], A(this), e.start();
140
+ }
141
+ I(t), e.wheel = setTimeout(h, N), e.zoom("mouse", m(E(B(n, i), e.mouse[0], e.mouse[1]), e.extent, l));
142
+ function h() {
143
+ e.wheel = null, e.end();
144
+ }
145
+ }
146
+ function Q(t, ...o) {
147
+ if (D || !u.apply(this, arguments)) return;
148
+ var e = t.currentTarget, n = v(this, o, !0).event(t), i = V(t.view).on("mousemove.zoom", c, !0).on("mouseup.zoom", z, !0), s = M(t, e), h = t.clientX, a = t.clientY;
149
+ it(t.view), F(t), n.mouse = [s, this.__zoom.invert(s)], A(this), n.start();
150
+ function c(f) {
151
+ if (I(f), !n.moved) {
152
+ var d = f.clientX - h, w = f.clientY - a;
153
+ n.moved = d * d + w * w > q;
154
+ }
155
+ n.event(f).zoom("mouse", m(E(n.that.__zoom, n.mouse[0] = M(f, e), n.mouse[1]), n.extent, l));
156
+ }
157
+ function z(f) {
158
+ i.on("mousemove.zoom mouseup.zoom", null), ut(f.view, n.moved), I(f), n.event(f).end();
159
+ }
160
+ }
161
+ function R(t, ...o) {
162
+ if (u.apply(this, arguments)) {
163
+ var e = this.__zoom, n = M(t.changedTouches ? t.changedTouches[0] : t, this), i = e.invert(n), s = e.k * (t.shiftKey ? 0.5 : 2), h = m(E(B(e, s), n, i), p.apply(this, o), l);
164
+ I(t), Y > 0 ? V(this).transition().duration(Y).call(P, h, n, t) : V(this).call(r.transform, h, n, t);
165
+ }
166
+ }
167
+ function U(t, ...o) {
168
+ if (u.apply(this, arguments)) {
169
+ var e = t.touches, n = e.length, i = v(this, o, t.changedTouches.length === n).event(t), s, h, a, c;
170
+ for (F(t), h = 0; h < n; ++h)
171
+ a = e[h], c = M(a, this), c = [c, this.__zoom.invert(c), a.identifier], i.touch0 ? !i.touch1 && i.touch0[2] !== c[2] && (i.touch1 = c, i.taps = 0) : (i.touch0 = c, s = !0, i.taps = 1 + !!x);
172
+ x && (x = clearTimeout(x)), s && (i.taps < 2 && (K = c[0], x = setTimeout(function() {
173
+ x = null;
174
+ }, H)), A(this), i.start());
175
+ }
176
+ }
177
+ function $(t, ...o) {
178
+ if (this.__zooming) {
179
+ var e = v(this, o).event(t), n = t.changedTouches, i = n.length, s, h, a, c;
180
+ for (I(t), s = 0; s < i; ++s)
181
+ h = n[s], a = M(h, this), e.touch0 && e.touch0[2] === h.identifier ? e.touch0[0] = a : e.touch1 && e.touch1[2] === h.identifier && (e.touch1[0] = a);
182
+ if (h = e.that.__zoom, e.touch1) {
183
+ var z = e.touch0[0], f = e.touch0[1], d = e.touch1[0], w = e.touch1[1], y = (y = d[0] - z[0]) * y + (y = d[1] - z[1]) * y, _ = (_ = w[0] - f[0]) * _ + (_ = w[1] - f[1]) * _;
184
+ h = B(h, Math.sqrt(y / _)), a = [(z[0] + d[0]) / 2, (z[1] + d[1]) / 2], c = [(f[0] + w[0]) / 2, (f[1] + w[1]) / 2];
185
+ } else if (e.touch0) a = e.touch0[0], c = e.touch0[1];
186
+ else return;
187
+ e.zoom("touch", m(E(h, a, c), e.extent, l));
188
+ }
189
+ }
190
+ function tt(t, ...o) {
191
+ if (this.__zooming) {
192
+ var e = v(this, o).event(t), n = t.changedTouches, i = n.length, s, h;
193
+ for (F(t), D && clearTimeout(D), D = setTimeout(function() {
194
+ D = null;
195
+ }, H), s = 0; s < i; ++s)
196
+ h = n[s], e.touch0 && e.touch0[2] === h.identifier ? delete e.touch0 : e.touch1 && e.touch1[2] === h.identifier && delete e.touch1;
197
+ if (e.touch1 && !e.touch0 && (e.touch0 = e.touch1, delete e.touch1), e.touch0) e.touch0[1] = this.__zoom.invert(e.touch0[0]);
198
+ else if (e.end(), e.taps === 2 && (h = M(h, this), Math.hypot(K[0] - h[0], K[1] - h[1]) < S)) {
199
+ var a = V(this).on("dblclick.zoom");
200
+ a && a.apply(this, arguments);
201
+ }
202
+ }
203
+ }
204
+ return r.wheelDelta = function(t) {
205
+ return arguments.length ? (T = typeof t == "function" ? t : X(+t), r) : T;
206
+ }, r.filter = function(t) {
207
+ return arguments.length ? (u = typeof t == "function" ? t : X(!!t), r) : u;
208
+ }, r.touchable = function(t) {
209
+ return arguments.length ? (b = typeof t == "function" ? t : X(!!t), r) : b;
210
+ }, r.extent = function(t) {
211
+ return arguments.length ? (p = typeof t == "function" ? t : X([[+t[0][0], +t[0][1]], [+t[1][0], +t[1][1]]]), r) : p;
212
+ }, r.scaleExtent = function(t) {
213
+ return arguments.length ? (g[0] = +t[0], g[1] = +t[1], r) : [g[0], g[1]];
214
+ }, r.translateExtent = function(t) {
215
+ return arguments.length ? (l[0][0] = +t[0][0], l[1][0] = +t[1][0], l[0][1] = +t[0][1], l[1][1] = +t[1][1], r) : [[l[0][0], l[0][1]], [l[1][0], l[1][1]]];
216
+ }, r.constrain = function(t) {
217
+ return arguments.length ? (m = t, r) : m;
218
+ }, r.duration = function(t) {
219
+ return arguments.length ? (Y = +t, r) : Y;
220
+ }, r.interpolate = function(t) {
221
+ return arguments.length ? (G = t, r) : G;
222
+ }, r.on = function() {
223
+ var t = k.on.apply(k, arguments);
224
+ return t === k ? r : t;
225
+ }, r.clickDistance = function(t) {
226
+ return arguments.length ? (q = (t = +t) * t, r) : Math.sqrt(q);
227
+ }, r.tapDistance = function(t) {
228
+ return arguments.length ? (S = +t, r) : S;
229
+ }, r;
230
+ }
231
+ export {
232
+ Tt as default
233
+ };