@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.
- package/dist/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/_virtual/dayjs.min.mjs +4 -0
- package/dist/_virtual/index.mjs +4 -0
- package/dist/_virtual/index2.mjs +4 -0
- package/dist/_virtual/jquery.mjs +4 -0
- package/dist/_virtual/jstree.mjs +4 -0
- package/dist/_virtual/papaparse.min.mjs +4 -0
- package/dist/_virtual/react-is.development.mjs +4 -0
- package/dist/_virtual/react-is.production.min.mjs +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.mjs +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.mjs +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.mjs +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.mjs +4 -0
- package/dist/_virtual/utc.mjs +4 -0
- package/dist/_virtual/with-selector.development.mjs +4 -0
- package/dist/_virtual/with-selector.mjs +4 -0
- package/dist/_virtual/with-selector.production.mjs +4 -0
- package/dist/_virtual/with-selector2.mjs +4 -0
- package/dist/assets/integrations/athena.svg.mjs +4 -0
- package/dist/assets/integrations/awsS3.svg.mjs +4 -0
- package/dist/assets/integrations/azureBlob.svg.mjs +4 -0
- package/dist/assets/integrations/bigquery.svg.mjs +4 -0
- package/dist/assets/integrations/box.svg.mjs +4 -0
- package/dist/assets/integrations/confluence.svg.mjs +4 -0
- package/dist/assets/integrations/databricks.svg.mjs +4 -0
- package/dist/assets/integrations/drive.svg.mjs +4 -0
- package/dist/assets/integrations/dropbox.svg.mjs +4 -0
- package/dist/assets/integrations/dynamics365.svg.mjs +4 -0
- package/dist/assets/integrations/dynamodb.svg.mjs +4 -0
- package/dist/assets/integrations/endpoints.svg.mjs +4 -0
- package/dist/assets/integrations/exchange.svg.mjs +4 -0
- package/dist/assets/integrations/github.svg.mjs +4 -0
- package/dist/assets/integrations/gitlab.svg.mjs +4 -0
- package/dist/assets/integrations/gmail.svg.mjs +4 -0
- package/dist/assets/integrations/googleCloudStorage.svg.mjs +4 -0
- package/dist/assets/integrations/hubspot.svg.mjs +4 -0
- package/dist/assets/integrations/jira.svg.mjs +4 -0
- package/dist/assets/integrations/mssql.svg.mjs +4 -0
- package/dist/assets/integrations/mysql.svg.mjs +4 -0
- package/dist/assets/integrations/netsuite.svg.mjs +4 -0
- package/dist/assets/integrations/oneDrive.svg.mjs +4 -0
- package/dist/assets/integrations/outlook.svg.mjs +4 -0
- package/dist/assets/integrations/postgres.svg.mjs +4 -0
- package/dist/assets/integrations/redshift.svg.mjs +4 -0
- package/dist/assets/integrations/salesforce.svg.mjs +4 -0
- package/dist/assets/integrations/sap.svg.mjs +4 -0
- package/dist/assets/integrations/servicenow.svg.mjs +4 -0
- package/dist/assets/integrations/sharedDrive.svg.mjs +4 -0
- package/dist/assets/integrations/sharepoint.svg.mjs +4 -0
- package/dist/assets/integrations/slack.svg.mjs +4 -0
- package/dist/assets/integrations/snowflake.svg.mjs +4 -0
- package/dist/assets/integrations/teams.svg.mjs +4 -0
- package/dist/assets/integrations/workday.svg.mjs +4 -0
- package/dist/assets/integrations/zendesk.svg.mjs +4 -0
- package/dist/assets/logos/aiq-logo.svg.mjs +4 -0
- package/dist/assets/logos/classify-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/comply-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/consent-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/discover-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/iqagent-logo.svg.mjs +4 -0
- package/dist/assets/logos/iqworks-icon.png.mjs +4 -0
- package/dist/assets/logos/iqworks-icon.svg.mjs +10 -0
- package/dist/assets/logos/iqworks-icon.svg2.mjs +4 -0
- package/dist/assets/logos/iqworks-logo.svg.mjs +4 -0
- package/dist/assets/logos/light/aiq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/classify-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/comply-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/consent-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/discover-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/iqagent-logo.svg.mjs +4 -0
- package/dist/assets/logos/light/iqworks-icon-light.png.mjs +4 -0
- package/dist/assets/logos/light/iqworks-icon-light.svg.mjs +10 -0
- package/dist/assets/logos/light/iqworks-icon-light.svg2.mjs +4 -0
- package/dist/assets/logos/light/iqworks-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/protect-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/retain-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/light/search-iq-logo-light.svg.mjs +4 -0
- package/dist/assets/logos/protect-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/retain-iq-logo.svg.mjs +4 -0
- package/dist/assets/logos/search-iq-logo.svg.mjs +4 -0
- package/dist/components/Alert/index.mjs +34 -0
- package/dist/components/CSVImporter/helpers.mjs +82 -0
- package/dist/components/CSVImporter/index.mjs +156 -0
- package/dist/components/Charts/ChartHeader/index.mjs +15 -0
- package/dist/components/Charts/CustomLegends/index.mjs +72 -0
- package/dist/components/Charts/DonutChart/index.mjs +120 -0
- package/dist/components/Charts/GaugeChart/index.mjs +229 -0
- package/dist/components/Charts/GeoChart/index.mjs +85 -0
- package/dist/components/Charts/HorizontalBarChart/index.mjs +118 -0
- package/dist/components/Charts/NoDataChart/index.mjs +19 -0
- package/dist/components/Charts/PieChart/index.mjs +120 -0
- package/dist/components/Charts/StorageChart/index.mjs +44 -0
- package/dist/components/Charts/VerticalBarChart/index.mjs +130 -0
- package/dist/components/ConfidenceScoreTooltip/index.mjs +113 -0
- package/dist/components/ConfirmationModal/index.mjs +96 -0
- package/dist/components/CountryBox/index.mjs +18 -0
- package/dist/components/DbSchemaBrowser/index.mjs +750 -0
- package/dist/components/Dropdown/index.mjs +59 -0
- package/dist/components/ErrorBoundary/ComponentErrorBoundary.mjs +43 -0
- package/dist/components/ErrorBoundary/index.mjs +184 -0
- package/dist/components/Favicons/index.d.ts +83 -0
- package/dist/components/Favicons/index.d.ts.map +1 -0
- package/dist/components/Favicons/index.mjs +67 -0
- package/dist/components/FileBrowser/index.mjs +706 -0
- package/dist/components/FileTypeIcon/index.mjs +12 -0
- package/dist/components/ImagePreviewModal/index.mjs +101 -0
- package/dist/components/InstallUpdateLoader/index.mjs +99 -0
- package/dist/components/IntegrationLogos/index.mjs +146 -0
- package/dist/components/Loader/index.mjs +30 -0
- package/dist/components/Logos/index.mjs +121 -0
- package/dist/components/Modal/index.mjs +126 -0
- package/dist/components/MultiSelect/index.mjs +236 -0
- package/dist/components/NoActiveAttributeWarning/index.mjs +9 -0
- package/dist/components/ResourceUsageBadge/index.mjs +47 -0
- package/dist/components/RiskScoreLabel/index.mjs +10 -0
- package/dist/components/ShowMultiData/index.mjs +32 -0
- package/dist/components/StatusBadge/index.mjs +39 -0
- package/dist/components/Table/index.mjs +732 -0
- package/dist/components/TaskResult/index.mjs +157 -0
- package/dist/components/Timer/index.mjs +33 -0
- package/dist/components/Toast/index.mjs +31 -0
- package/dist/components/ToggleSwitch/index.mjs +26 -0
- package/dist/components/ToolTip/index.mjs +63 -0
- package/dist/constants/browserConstants.mjs +9 -0
- package/dist/constants/enums.mjs +9 -0
- package/dist/constants/statusBadgeClasses.mjs +15 -0
- package/dist/context/ContextProvider.mjs +21 -0
- package/dist/context/LoaderContext.mjs +15 -0
- package/dist/context/ThemeContext.mjs +201 -0
- package/dist/context/ToastContext.mjs +24 -0
- package/dist/hooks/useApiCache.mjs +47 -0
- package/dist/hooks/useAssetPath.mjs +16 -0
- package/dist/hooks/useBodyScrollLock.mjs +13 -0
- package/dist/hooks/useClickOutside.mjs +21 -0
- package/dist/hooks/useDebounce.mjs +15 -0
- package/dist/hooks/useFilterCache.mjs +22 -0
- package/dist/hooks/useReduxHook.mjs +17 -0
- package/dist/{index-DuYopz3l.cjs → index-CUUuCzyM.cjs} +44 -32
- package/dist/{index-CM7jFsCE.cjs → index-DtVOjJk3.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +166 -100
- package/dist/jquery-BKuE7Afe.cjs +13 -0
- package/dist/{jstree-CXGKFWK1.cjs → jstree-CtrCtuMv.cjs} +3 -3
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +24 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +11 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +245 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.mjs +56 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.mjs +43 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +127 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +44 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.mjs +7 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +34 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +392 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +400 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.mjs +365 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs +13 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +176 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +129 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.mjs +39 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.mjs +4 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.mjs +61 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.mjs +21 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.mjs +120 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.mjs +205 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.mjs +4 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.mjs +51 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.mjs +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.mjs +52 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.mjs +38 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.mjs +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.mjs +33 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.mjs +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.mjs +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.mjs +26 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.mjs +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.mjs +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.mjs +41 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.mjs +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.mjs +11 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.mjs +28 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.mjs +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.mjs +38 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.mjs +32 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.mjs +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.mjs +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.mjs +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.mjs +7 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.mjs +20 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.mjs +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.mjs +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.mjs +73 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.mjs +18 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.mjs +15 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.mjs +154 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.mjs +15 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/machine.mjs +74 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.mjs +33 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.mjs +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.mjs +19 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.mjs +40 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.mjs +6 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.mjs +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.mjs +40 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.mjs +46 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.mjs +21 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.mjs +34 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.mjs +97 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.mjs +31 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.mjs +11 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.mjs +8 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.mjs +22 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.mjs +14 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.mjs +126 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.mjs +14 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +448 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.mjs +34 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.mjs +30 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.mjs +93 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.mjs +57 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.mjs +86 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.mjs +66 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.mjs +27 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.mjs +15 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs +45 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.mjs +7 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.mjs +28 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.mjs +47 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs +34 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs +6 -0
- package/dist/node_modules/@react-stately/flags/dist/import.mjs +7 -0
- package/dist/node_modules/@reactflow/background/dist/esm/index.mjs +57 -0
- package/dist/node_modules/@reactflow/controls/dist/esm/index.mjs +96 -0
- package/dist/node_modules/@reactflow/core/dist/esm/index.mjs +2666 -0
- package/dist/node_modules/@reactflow/minimap/dist/esm/index.mjs +122 -0
- package/dist/node_modules/@reactflow/node-resizer/dist/esm/index.mjs +130 -0
- package/dist/node_modules/@reactflow/node-toolbar/dist/esm/index.mjs +72 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.mjs +100 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.mjs +1721 -0
- package/dist/node_modules/chart.js/auto/auto.mjs +51 -0
- package/dist/node_modules/chart.js/dist/chart.mjs +7174 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.mjs +1734 -0
- package/dist/node_modules/chartjs-chart-geo/build/index.mjs +874 -0
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +613 -0
- package/dist/node_modules/classcat/index.mjs +14 -0
- package/dist/node_modules/d3-array/src/fsum.mjs +27 -0
- package/dist/node_modules/d3-array/src/merge.mjs +10 -0
- package/dist/node_modules/d3-array/src/range.mjs +9 -0
- package/dist/node_modules/d3-color/src/color.mjs +305 -0
- package/dist/node_modules/d3-color/src/cubehelix.mjs +37 -0
- package/dist/node_modules/d3-color/src/define.mjs +12 -0
- package/dist/node_modules/d3-color/src/math.mjs +5 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.mjs +64 -0
- package/dist/node_modules/d3-drag/src/constant.mjs +4 -0
- package/dist/node_modules/d3-drag/src/drag.mjs +121 -0
- package/dist/node_modules/d3-drag/src/event.mjs +33 -0
- package/dist/node_modules/d3-drag/src/nodrag.mjs +16 -0
- package/dist/node_modules/d3-drag/src/noevent.mjs +13 -0
- package/dist/node_modules/d3-ease/src/cubic.mjs +6 -0
- package/dist/node_modules/d3-geo/src/cartesian.mjs +33 -0
- package/dist/node_modules/d3-geo/src/circle.mjs +18 -0
- package/dist/node_modules/d3-geo/src/clip/antimeridian.mjs +45 -0
- package/dist/node_modules/d3-geo/src/clip/buffer.mjs +23 -0
- package/dist/node_modules/d3-geo/src/clip/circle.mjs +66 -0
- package/dist/node_modules/d3-geo/src/clip/index.mjs +67 -0
- package/dist/node_modules/d3-geo/src/clip/line.mjs +43 -0
- package/dist/node_modules/d3-geo/src/clip/rectangle.mjs +76 -0
- package/dist/node_modules/d3-geo/src/clip/rejoin.mjs +56 -0
- package/dist/node_modules/d3-geo/src/compose.mjs +11 -0
- package/dist/node_modules/d3-geo/src/contains.mjs +70 -0
- package/dist/node_modules/d3-geo/src/distance.mjs +8 -0
- package/dist/node_modules/d3-geo/src/graticule.mjs +68 -0
- package/dist/node_modules/d3-geo/src/identity.mjs +4 -0
- package/dist/node_modules/d3-geo/src/length.mjs +32 -0
- package/dist/node_modules/d3-geo/src/math.mjs +33 -0
- package/dist/node_modules/d3-geo/src/noop.mjs +5 -0
- package/dist/node_modules/d3-geo/src/path/area.mjs +33 -0
- package/dist/node_modules/d3-geo/src/path/bounds.mjs +18 -0
- package/dist/node_modules/d3-geo/src/path/centroid.mjs +48 -0
- package/dist/node_modules/d3-geo/src/path/context.mjs +43 -0
- package/dist/node_modules/d3-geo/src/path/index.mjs +41 -0
- package/dist/node_modules/d3-geo/src/path/measure.mjs +31 -0
- package/dist/node_modules/d3-geo/src/path/string.mjs +69 -0
- package/dist/node_modules/d3-geo/src/pointEqual.mjs +7 -0
- package/dist/node_modules/d3-geo/src/polygonContains.mjs +27 -0
- package/dist/node_modules/d3-geo/src/projection/albers.mjs +7 -0
- package/dist/node_modules/d3-geo/src/projection/albersUsa.mjs +65 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthal.mjs +23 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthalEqualArea.mjs +16 -0
- package/dist/node_modules/d3-geo/src/projection/azimuthalEquidistant.mjs +16 -0
- package/dist/node_modules/d3-geo/src/projection/conic.mjs +11 -0
- package/dist/node_modules/d3-geo/src/projection/conicConformal.mjs +26 -0
- package/dist/node_modules/d3-geo/src/projection/conicEqualArea.mjs +23 -0
- package/dist/node_modules/d3-geo/src/projection/conicEquidistant.mjs +22 -0
- package/dist/node_modules/d3-geo/src/projection/cylindricalEqualArea.mjs +13 -0
- package/dist/node_modules/d3-geo/src/projection/equalEarth.mjs +25 -0
- package/dist/node_modules/d3-geo/src/projection/equirectangular.mjs +12 -0
- package/dist/node_modules/d3-geo/src/projection/fit.mjs +33 -0
- package/dist/node_modules/d3-geo/src/projection/gnomonic.mjs +15 -0
- package/dist/node_modules/d3-geo/src/projection/index.mjs +104 -0
- package/dist/node_modules/d3-geo/src/projection/mercator.mjs +34 -0
- package/dist/node_modules/d3-geo/src/projection/naturalEarth1.mjs +27 -0
- package/dist/node_modules/d3-geo/src/projection/orthographic.mjs +14 -0
- package/dist/node_modules/d3-geo/src/projection/resample.mjs +62 -0
- package/dist/node_modules/d3-geo/src/projection/stereographic.mjs +17 -0
- package/dist/node_modules/d3-geo/src/projection/transverseMercator.mjs +20 -0
- package/dist/node_modules/d3-geo/src/rotation.mjs +48 -0
- package/dist/node_modules/d3-geo/src/stream.mjs +52 -0
- package/dist/node_modules/d3-geo/src/transform.mjs +33 -0
- package/dist/node_modules/d3-interpolate/src/basis.mjs +15 -0
- package/dist/node_modules/d3-interpolate/src/color.mjs +29 -0
- package/dist/node_modules/d3-interpolate/src/constant.mjs +4 -0
- package/dist/node_modules/d3-interpolate/src/cubehelix.mjs +19 -0
- package/dist/node_modules/d3-interpolate/src/number.mjs +8 -0
- package/dist/node_modules/d3-interpolate/src/rgb.mjs +28 -0
- package/dist/node_modules/d3-interpolate/src/string.mjs +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.mjs +23 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.mjs +37 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.mjs +13 -0
- package/dist/node_modules/d3-interpolate/src/zoom.mjs +42 -0
- package/dist/node_modules/d3-scale-chromatic/src/colors.mjs +7 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/BrBG.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/PRGn.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/PiYG.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/PuOr.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/RdBu.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/RdGy.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/diverging/Spectral.mjs +18 -0
- package/dist/node_modules/d3-scale-chromatic/src/ramp.mjs +5 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.mjs +6 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.mjs +6 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.mjs +13 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.mjs +9 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.mjs +6 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.mjs +15 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Blues.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Greens.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Greys.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Purples.mjs +16 -0
- package/dist/node_modules/d3-scale-chromatic/src/sequential-single/Reds.mjs +16 -0
- package/dist/node_modules/d3-selection/src/array.mjs +6 -0
- package/dist/node_modules/d3-selection/src/constant.mjs +8 -0
- package/dist/node_modules/d3-selection/src/creator.mjs +20 -0
- package/dist/node_modules/d3-selection/src/matcher.mjs +14 -0
- package/dist/node_modules/d3-selection/src/namespace.mjs +8 -0
- package/dist/node_modules/d3-selection/src/namespaces.mjs +12 -0
- package/dist/node_modules/d3-selection/src/pointer.mjs +18 -0
- package/dist/node_modules/d3-selection/src/select.mjs +7 -0
- package/dist/node_modules/d3-selection/src/selection/append.mjs +10 -0
- package/dist/node_modules/d3-selection/src/selection/attr.mjs +44 -0
- package/dist/node_modules/d3-selection/src/selection/call.mjs +7 -0
- package/dist/node_modules/d3-selection/src/selection/classed.mjs +54 -0
- package/dist/node_modules/d3-selection/src/selection/clone.mjs +14 -0
- package/dist/node_modules/d3-selection/src/selection/data.mjs +42 -0
- package/dist/node_modules/d3-selection/src/selection/datum.mjs +6 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.mjs +21 -0
- package/dist/node_modules/d3-selection/src/selection/each.mjs +9 -0
- package/dist/node_modules/d3-selection/src/selection/empty.mjs +6 -0
- package/dist/node_modules/d3-selection/src/selection/enter.mjs +27 -0
- package/dist/node_modules/d3-selection/src/selection/exit.mjs +8 -0
- package/dist/node_modules/d3-selection/src/selection/filter.mjs +12 -0
- package/dist/node_modules/d3-selection/src/selection/html.mjs +20 -0
- package/dist/node_modules/d3-selection/src/selection/index.mjs +87 -0
- package/dist/node_modules/d3-selection/src/selection/insert.mjs +14 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.mjs +8 -0
- package/dist/node_modules/d3-selection/src/selection/join.mjs +7 -0
- package/dist/node_modules/d3-selection/src/selection/lower.mjs +9 -0
- package/dist/node_modules/d3-selection/src/selection/merge.mjs +12 -0
- package/dist/node_modules/d3-selection/src/selection/node.mjs +11 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
- package/dist/node_modules/d3-selection/src/selection/on.mjs +52 -0
- package/dist/node_modules/d3-selection/src/selection/order.mjs +9 -0
- package/dist/node_modules/d3-selection/src/selection/property.mjs +22 -0
- package/dist/node_modules/d3-selection/src/selection/raise.mjs +9 -0
- package/dist/node_modules/d3-selection/src/selection/remove.mjs +10 -0
- package/dist/node_modules/d3-selection/src/selection/select.mjs +12 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.mjs +18 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
- package/dist/node_modules/d3-selection/src/selection/size.mjs +8 -0
- package/dist/node_modules/d3-selection/src/selection/sort.mjs +19 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
- package/dist/node_modules/d3-selection/src/selection/style.mjs +27 -0
- package/dist/node_modules/d3-selection/src/selection/text.mjs +20 -0
- package/dist/node_modules/d3-selection/src/selector.mjs +10 -0
- package/dist/node_modules/d3-selection/src/selectorAll.mjs +11 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.mjs +8 -0
- package/dist/node_modules/d3-selection/src/window.mjs +6 -0
- package/dist/node_modules/d3-timer/src/timeout.mjs +10 -0
- package/dist/node_modules/d3-timer/src/timer.mjs +62 -0
- package/dist/node_modules/d3-transition/src/interrupt.mjs +18 -0
- package/dist/node_modules/d3-transition/src/selection/index.mjs +5 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
- package/dist/node_modules/d3-transition/src/selection/transition.mjs +28 -0
- package/dist/node_modules/d3-transition/src/transition/attr.mjs +49 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.mjs +38 -0
- package/dist/node_modules/d3-transition/src/transition/delay.mjs +18 -0
- package/dist/node_modules/d3-transition/src/transition/duration.mjs +18 -0
- package/dist/node_modules/d3-transition/src/transition/ease.mjs +14 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
- package/dist/node_modules/d3-transition/src/transition/end.mjs +16 -0
- package/dist/node_modules/d3-transition/src/transition/filter.mjs +12 -0
- package/dist/node_modules/d3-transition/src/transition/index.mjs +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
- package/dist/node_modules/d3-transition/src/transition/merge.mjs +13 -0
- package/dist/node_modules/d3-transition/src/transition/on.mjs +21 -0
- package/dist/node_modules/d3-transition/src/transition/remove.mjs +13 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.mjs +85 -0
- package/dist/node_modules/d3-transition/src/transition/select.mjs +14 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.mjs +18 -0
- package/dist/node_modules/d3-transition/src/transition/selection.mjs +8 -0
- package/dist/node_modules/d3-transition/src/transition/style.mjs +45 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.mjs +23 -0
- package/dist/node_modules/d3-transition/src/transition/text.mjs +18 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.mjs +23 -0
- package/dist/node_modules/d3-transition/src/transition/transition.mjs +19 -0
- package/dist/node_modules/d3-transition/src/transition/tween.mjs +56 -0
- package/dist/node_modules/d3-zoom/src/constant.mjs +4 -0
- package/dist/node_modules/d3-zoom/src/event.mjs +17 -0
- package/dist/node_modules/d3-zoom/src/noevent.mjs +10 -0
- package/dist/node_modules/d3-zoom/src/transform.mjs +45 -0
- package/dist/node_modules/d3-zoom/src/zoom.mjs +233 -0
- package/dist/node_modules/dayjs/dayjs.min.mjs +282 -0
- package/dist/node_modules/dayjs/plugin/utc.mjs +79 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.mjs +17 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.mjs +95 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.mjs +78 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.mjs +8 -0
- package/dist/node_modules/jquery/dist/jquery.mjs +3642 -0
- package/dist/{jstree-ETZgxxT1.js → node_modules/jstree/dist/jstree.mjs} +17 -17
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.mjs +36 -0
- package/dist/node_modules/papaparse/papaparse.min.mjs +421 -0
- package/dist/node_modules/react-chartjs-2/dist/index.mjs +94 -0
- package/dist/node_modules/react-icons/ai/index.mjs +20 -0
- package/dist/node_modules/react-icons/fa/index.mjs +64 -0
- package/dist/node_modules/react-icons/fi/index.mjs +48 -0
- package/dist/node_modules/react-icons/go/index.mjs +8 -0
- package/dist/node_modules/react-icons/io/index.mjs +8 -0
- package/dist/node_modules/react-icons/io5/index.mjs +20 -0
- package/dist/node_modules/react-icons/lib/iconBase.mjs +108 -0
- package/dist/node_modules/react-icons/lib/iconContext.mjs +12 -0
- package/dist/node_modules/react-icons/md/index.mjs +56 -0
- package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.mjs +17 -0
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.mjs +1763 -0
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.mjs +867 -0
- package/dist/node_modules/react-select/dist/react-select.esm.mjs +19 -0
- package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.mjs +62 -0
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.mjs +29 -0
- package/dist/node_modules/reactflow/dist/esm/index.mjs +77 -0
- package/dist/node_modules/stylis/src/Enum.mjs +12 -0
- package/dist/node_modules/stylis/src/Middleware.mjs +18 -0
- package/dist/node_modules/stylis/src/Parser.mjs +114 -0
- package/dist/node_modules/stylis/src/Serializer.mjs +27 -0
- package/dist/node_modules/stylis/src/Tokenizer.mjs +131 -0
- package/dist/node_modules/stylis/src/Utility.mjs +50 -0
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +5 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +55 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.mjs +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.mjs +65 -0
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +10 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +10 -0
- package/dist/node_modules/use-sync-external-store/with-selector.mjs +8 -0
- package/dist/node_modules/zustand/esm/shallow.mjs +30 -0
- package/dist/node_modules/zustand/esm/traditional.mjs +22 -0
- package/dist/node_modules/zustand/esm/vanilla.mjs +18 -0
- package/dist/types/table.mjs +14 -0
- package/dist/utils/classNames.mjs +26 -0
- package/dist/utils/dbSchemaBrowserUtils.mjs +86 -0
- package/dist/utils/fileBrowserUtils.mjs +66 -0
- package/dist/utils/formatBytes.mjs +8 -0
- package/dist/utils/memoUtils.mjs +29 -0
- package/dist/utils/riskScore.mjs +42 -0
- package/dist/utils/statusConfig.mjs +72 -0
- package/package.json +5 -1
- package/dist/index--e0eFmJz.js +0 -28717
- package/dist/index-Bsibz5yn.js +0 -5204
- package/dist/jquery-B5k82Ft4.js +0 -3622
- package/dist/jquery-DJhgA209.cjs +0 -13
- package/dist/jquery-DXFsjw95.js +0 -26
- package/dist/jquery-DeHtnyTt.cjs +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { sqrt as N } from "../math.mjs";
|
|
2
|
+
var g = 0, E = 0, f = 0, l = 0, S = 0, d = 0, s = 0, v = 0, p = 0, R, m, o, r, e = {
|
|
3
|
+
point: c,
|
|
4
|
+
lineStart: P,
|
|
5
|
+
lineEnd: L,
|
|
6
|
+
polygonStart: function() {
|
|
7
|
+
e.lineStart = z, e.lineEnd = F;
|
|
8
|
+
},
|
|
9
|
+
polygonEnd: function() {
|
|
10
|
+
e.point = c, e.lineStart = P, e.lineEnd = L;
|
|
11
|
+
},
|
|
12
|
+
result: function() {
|
|
13
|
+
var n = p ? [s / p, v / p] : d ? [l / d, S / d] : f ? [g / f, E / f] : [NaN, NaN];
|
|
14
|
+
return g = E = f = l = S = d = s = v = p = 0, n;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
function c(n, t) {
|
|
18
|
+
g += n, E += t, ++f;
|
|
19
|
+
}
|
|
20
|
+
function P() {
|
|
21
|
+
e.point = Y;
|
|
22
|
+
}
|
|
23
|
+
function Y(n, t) {
|
|
24
|
+
e.point = Z, c(o = n, r = t);
|
|
25
|
+
}
|
|
26
|
+
function Z(n, t) {
|
|
27
|
+
var a = n - o, u = t - r, i = N(a * a + u * u);
|
|
28
|
+
l += i * (o + n) / 2, S += i * (r + t) / 2, d += i, c(o = n, r = t);
|
|
29
|
+
}
|
|
30
|
+
function L() {
|
|
31
|
+
e.point = c;
|
|
32
|
+
}
|
|
33
|
+
function z() {
|
|
34
|
+
e.point = q;
|
|
35
|
+
}
|
|
36
|
+
function F() {
|
|
37
|
+
X(R, m);
|
|
38
|
+
}
|
|
39
|
+
function q(n, t) {
|
|
40
|
+
e.point = X, c(R = o = n, m = r = t);
|
|
41
|
+
}
|
|
42
|
+
function X(n, t) {
|
|
43
|
+
var a = n - o, u = t - r, i = N(a * a + u * u);
|
|
44
|
+
l += i * (o + n) / 2, S += i * (r + t) / 2, d += i, i = r * n - o * t, s += i * (o + n), v += i * (r + t), p += i * 3, c(o = n, r = t);
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
e as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { tau as n } from "../math.mjs";
|
|
2
|
+
import o from "../noop.mjs";
|
|
3
|
+
function s(t) {
|
|
4
|
+
this._context = t;
|
|
5
|
+
}
|
|
6
|
+
s.prototype = {
|
|
7
|
+
_radius: 4.5,
|
|
8
|
+
pointRadius: function(t) {
|
|
9
|
+
return this._radius = t, this;
|
|
10
|
+
},
|
|
11
|
+
polygonStart: function() {
|
|
12
|
+
this._line = 0;
|
|
13
|
+
},
|
|
14
|
+
polygonEnd: function() {
|
|
15
|
+
this._line = NaN;
|
|
16
|
+
},
|
|
17
|
+
lineStart: function() {
|
|
18
|
+
this._point = 0;
|
|
19
|
+
},
|
|
20
|
+
lineEnd: function() {
|
|
21
|
+
this._line === 0 && this._context.closePath(), this._point = NaN;
|
|
22
|
+
},
|
|
23
|
+
point: function(t, i) {
|
|
24
|
+
switch (this._point) {
|
|
25
|
+
case 0: {
|
|
26
|
+
this._context.moveTo(t, i), this._point = 1;
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
case 1: {
|
|
30
|
+
this._context.lineTo(t, i);
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
default: {
|
|
34
|
+
this._context.moveTo(t + this._radius, i), this._context.arc(t, i, this._radius, 0, n);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
result: o
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
s as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import c from "../identity.mjs";
|
|
2
|
+
import f from "../stream.mjs";
|
|
3
|
+
import m from "./area.mjs";
|
|
4
|
+
import s from "./bounds.mjs";
|
|
5
|
+
import p from "./centroid.mjs";
|
|
6
|
+
import h from "./context.mjs";
|
|
7
|
+
import g from "./measure.mjs";
|
|
8
|
+
import d from "./string.mjs";
|
|
9
|
+
function C(a, o) {
|
|
10
|
+
let e = 3, i = 4.5, u, r;
|
|
11
|
+
function n(t) {
|
|
12
|
+
return t && (typeof i == "function" && r.pointRadius(+i.apply(this, arguments)), f(t, u(r))), r.result();
|
|
13
|
+
}
|
|
14
|
+
return n.area = function(t) {
|
|
15
|
+
return f(t, u(m)), m.result();
|
|
16
|
+
}, n.measure = function(t) {
|
|
17
|
+
return f(t, u(g)), g.result();
|
|
18
|
+
}, n.bounds = function(t) {
|
|
19
|
+
return f(t, u(s)), s.result();
|
|
20
|
+
}, n.centroid = function(t) {
|
|
21
|
+
return f(t, u(p)), p.result();
|
|
22
|
+
}, n.projection = function(t) {
|
|
23
|
+
return arguments.length ? (u = t == null ? (a = null, c) : (a = t).stream, n) : a;
|
|
24
|
+
}, n.context = function(t) {
|
|
25
|
+
return arguments.length ? (r = t == null ? (o = null, new d(e)) : new h(o = t), typeof i != "function" && r.pointRadius(i), n) : o;
|
|
26
|
+
}, n.pointRadius = function(t) {
|
|
27
|
+
return arguments.length ? (i = typeof t == "function" ? t : (r.pointRadius(+t), +t), n) : i;
|
|
28
|
+
}, n.digits = function(t) {
|
|
29
|
+
if (!arguments.length) return e;
|
|
30
|
+
if (t == null) e = null;
|
|
31
|
+
else {
|
|
32
|
+
const l = Math.floor(t);
|
|
33
|
+
if (!(l >= 0)) throw new RangeError(`invalid digits: ${t}`);
|
|
34
|
+
e = l;
|
|
35
|
+
}
|
|
36
|
+
return o === null && (r = new d(e)), n;
|
|
37
|
+
}, n.projection(a).digits(e).context(o);
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
C as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { sqrt as m } from "../math.mjs";
|
|
2
|
+
import u from "../noop.mjs";
|
|
3
|
+
import { Adder as f } from "../../../d3-array/src/fsum.mjs";
|
|
4
|
+
var e = new f(), r, p, a, t, o, l = {
|
|
5
|
+
point: u,
|
|
6
|
+
lineStart: function() {
|
|
7
|
+
l.point = c;
|
|
8
|
+
},
|
|
9
|
+
lineEnd: function() {
|
|
10
|
+
r && g(p, a), l.point = u;
|
|
11
|
+
},
|
|
12
|
+
polygonStart: function() {
|
|
13
|
+
r = !0;
|
|
14
|
+
},
|
|
15
|
+
polygonEnd: function() {
|
|
16
|
+
r = null;
|
|
17
|
+
},
|
|
18
|
+
result: function() {
|
|
19
|
+
var n = +e;
|
|
20
|
+
return e = new f(), n;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
function c(n, i) {
|
|
24
|
+
l.point = g, p = t = n, a = o = i;
|
|
25
|
+
}
|
|
26
|
+
function g(n, i) {
|
|
27
|
+
t -= n, o -= i, e.add(m(t * t + o * o)), t = n, o = i;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
l as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
let o, a, p, r;
|
|
2
|
+
class d {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
this._append = t == null ? _ : l(t), this._radius = 4.5, this._ = "";
|
|
5
|
+
}
|
|
6
|
+
pointRadius(t) {
|
|
7
|
+
return this._radius = +t, this;
|
|
8
|
+
}
|
|
9
|
+
polygonStart() {
|
|
10
|
+
this._line = 0;
|
|
11
|
+
}
|
|
12
|
+
polygonEnd() {
|
|
13
|
+
this._line = NaN;
|
|
14
|
+
}
|
|
15
|
+
lineStart() {
|
|
16
|
+
this._point = 0;
|
|
17
|
+
}
|
|
18
|
+
lineEnd() {
|
|
19
|
+
this._line === 0 && (this._ += "Z"), this._point = NaN;
|
|
20
|
+
}
|
|
21
|
+
point(t, n) {
|
|
22
|
+
switch (this._point) {
|
|
23
|
+
case 0: {
|
|
24
|
+
this._append`M${t},${n}`, this._point = 1;
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
case 1: {
|
|
28
|
+
this._append`L${t},${n}`;
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
default: {
|
|
32
|
+
if (this._append`M${t},${n}`, this._radius !== p || this._append !== a) {
|
|
33
|
+
const i = this._radius, e = this._;
|
|
34
|
+
this._ = "", this._append`m0,${i}a${i},${i} 0 1,1 0,${-2 * i}a${i},${i} 0 1,1 0,${2 * i}z`, p = i, a = this._append, r = this._, this._ = e;
|
|
35
|
+
}
|
|
36
|
+
this._ += r;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
result() {
|
|
42
|
+
const t = this._;
|
|
43
|
+
return this._ = "", t.length ? t : null;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function _(s) {
|
|
47
|
+
let t = 1;
|
|
48
|
+
this._ += s[0];
|
|
49
|
+
for (const n = s.length; t < n; ++t)
|
|
50
|
+
this._ += arguments[t] + s[t];
|
|
51
|
+
}
|
|
52
|
+
function l(s) {
|
|
53
|
+
const t = Math.floor(s);
|
|
54
|
+
if (!(t >= 0)) throw new RangeError(`invalid digits: ${s}`);
|
|
55
|
+
if (t > 15) return _;
|
|
56
|
+
if (t !== o) {
|
|
57
|
+
const n = 10 ** t;
|
|
58
|
+
o = t, a = function(e) {
|
|
59
|
+
let h = 1;
|
|
60
|
+
this._ += e[0];
|
|
61
|
+
for (const c = e.length; h < c; ++h)
|
|
62
|
+
this._ += Math.round(arguments[h] * n) / n + e[h];
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
return a;
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
d as default
|
|
69
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cartesianCross as S, cartesian as T, cartesianNormalizeInPlace as U } from "./cartesian.mjs";
|
|
2
|
+
import { quarterPi as V, atan2 as $, sin as e, cos as g, asin as k, epsilon as l, halfPi as W, pi as w, tau as Y, epsilon2 as h, abs as X, sign as j } from "./math.mjs";
|
|
3
|
+
import { Adder as t } from "../../d3-array/src/fsum.mjs";
|
|
4
|
+
function A(r) {
|
|
5
|
+
return X(r[0]) <= w ? r[0] : j(r[0]) * ((X(r[0]) + w) % Y - w);
|
|
6
|
+
}
|
|
7
|
+
function p(r, B) {
|
|
8
|
+
var v = A(B), u = B[1], E = e(u), Z = [e(v), -g(v), 0], C = 0, F = 0, G = new t();
|
|
9
|
+
E === 1 ? u = W + l : E === -1 && (u = -W - l);
|
|
10
|
+
for (var c = 0, _ = r.length; c < _; ++c)
|
|
11
|
+
if (q = (m = r[c]).length)
|
|
12
|
+
for (var m, q, s = m[q - 1], x = A(s), H = s[1] / 2 + V, J = e(H), K = g(H), z = 0; z < q; ++z, x = I, J = M, K = O, s = o) {
|
|
13
|
+
var o = m[z], I = A(o), L = o[1] / 2 + V, M = e(L), O = g(L), f = I - x, N = f >= 0 ? 1 : -1, y = N * f, a = y > w, P = J * M;
|
|
14
|
+
if (G.add($(P * N * e(y), K * O + P * g(y))), C += a ? f + N * Y : f, a ^ x >= v ^ I >= v) {
|
|
15
|
+
var n = S(T(s), T(o));
|
|
16
|
+
U(n);
|
|
17
|
+
var Q = S(Z, n);
|
|
18
|
+
U(Q);
|
|
19
|
+
var R = (a ^ f >= 0 ? -1 : 1) * k(Q[2]);
|
|
20
|
+
(u > R || u === R && (n[0] || n[1])) && (F += a ^ f >= 0 ? 1 : -1);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return (C < -l || C < l && G < -h) ^ F & 1;
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
p as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { epsilon as c } from "../math.mjs";
|
|
2
|
+
import E from "./albers.mjs";
|
|
3
|
+
import x from "./conicEqualArea.mjs";
|
|
4
|
+
import { fitExtent as S, fitSize as y, fitWidth as d, fitHeight as k } from "./fit.mjs";
|
|
5
|
+
function b(l) {
|
|
6
|
+
var o = l.length;
|
|
7
|
+
return {
|
|
8
|
+
point: function(e, s) {
|
|
9
|
+
for (var u = -1; ++u < o; ) l[u].point(e, s);
|
|
10
|
+
},
|
|
11
|
+
sphere: function() {
|
|
12
|
+
for (var e = -1; ++e < o; ) l[e].sphere();
|
|
13
|
+
},
|
|
14
|
+
lineStart: function() {
|
|
15
|
+
for (var e = -1; ++e < o; ) l[e].lineStart();
|
|
16
|
+
},
|
|
17
|
+
lineEnd: function() {
|
|
18
|
+
for (var e = -1; ++e < o; ) l[e].lineEnd();
|
|
19
|
+
},
|
|
20
|
+
polygonStart: function() {
|
|
21
|
+
for (var e = -1; ++e < o; ) l[e].polygonStart();
|
|
22
|
+
},
|
|
23
|
+
polygonEnd: function() {
|
|
24
|
+
for (var e = -1; ++e < o; ) l[e].polygonEnd();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function U() {
|
|
29
|
+
var l, o, e = E(), s, u = x().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), v, f = x().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), m, p, g = { point: function(t, n) {
|
|
30
|
+
p = [t, n];
|
|
31
|
+
} };
|
|
32
|
+
function i(t) {
|
|
33
|
+
var n = t[0], r = t[1];
|
|
34
|
+
return p = null, s.point(n, r), p || (v.point(n, r), p) || (m.point(n, r), p);
|
|
35
|
+
}
|
|
36
|
+
i.invert = function(t) {
|
|
37
|
+
var n = e.scale(), r = e.translate(), a = (t[0] - r[0]) / n, h = (t[1] - r[1]) / n;
|
|
38
|
+
return (h >= 0.12 && h < 0.234 && a >= -0.425 && a < -0.214 ? u : h >= 0.166 && h < 0.234 && a >= -0.214 && a < -0.115 ? f : e).invert(t);
|
|
39
|
+
}, i.stream = function(t) {
|
|
40
|
+
return l && o === t ? l : l = b([e.stream(o = t), u.stream(t), f.stream(t)]);
|
|
41
|
+
}, i.precision = function(t) {
|
|
42
|
+
return arguments.length ? (e.precision(t), u.precision(t), f.precision(t), w()) : e.precision();
|
|
43
|
+
}, i.scale = function(t) {
|
|
44
|
+
return arguments.length ? (e.scale(t), u.scale(t * 0.35), f.scale(t), i.translate(e.translate())) : e.scale();
|
|
45
|
+
}, i.translate = function(t) {
|
|
46
|
+
if (!arguments.length) return e.translate();
|
|
47
|
+
var n = e.scale(), r = +t[0], a = +t[1];
|
|
48
|
+
return s = e.translate(t).clipExtent([[r - 0.455 * n, a - 0.238 * n], [r + 0.455 * n, a + 0.238 * n]]).stream(g), v = u.translate([r - 0.307 * n, a + 0.201 * n]).clipExtent([[r - 0.425 * n + c, a + 0.12 * n + c], [r - 0.214 * n - c, a + 0.234 * n - c]]).stream(g), m = f.translate([r - 0.205 * n, a + 0.212 * n]).clipExtent([[r - 0.214 * n + c, a + 0.166 * n + c], [r - 0.115 * n - c, a + 0.234 * n - c]]).stream(g), w();
|
|
49
|
+
}, i.fitExtent = function(t, n) {
|
|
50
|
+
return S(i, t, n);
|
|
51
|
+
}, i.fitSize = function(t, n) {
|
|
52
|
+
return y(i, t, n);
|
|
53
|
+
}, i.fitWidth = function(t, n) {
|
|
54
|
+
return d(i, t, n);
|
|
55
|
+
}, i.fitHeight = function(t, n) {
|
|
56
|
+
return k(i, t, n);
|
|
57
|
+
};
|
|
58
|
+
function w() {
|
|
59
|
+
return l = o = null, i;
|
|
60
|
+
}
|
|
61
|
+
return i.scale(1070);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
U as default
|
|
65
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { atan2 as f, asin as s, sqrt as m, sin as a, cos as o } from "../math.mjs";
|
|
2
|
+
function z(u) {
|
|
3
|
+
return function(n, r) {
|
|
4
|
+
var t = o(n), c = o(r), i = u(t * c);
|
|
5
|
+
return i === 1 / 0 ? [2, 0] : [
|
|
6
|
+
i * c * a(n),
|
|
7
|
+
i * a(r)
|
|
8
|
+
];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function h(u) {
|
|
12
|
+
return function(n, r) {
|
|
13
|
+
var t = m(n * n + r * r), c = u(t), i = a(c), e = o(c);
|
|
14
|
+
return [
|
|
15
|
+
f(n * i, t * e),
|
|
16
|
+
s(t && r * i / t)
|
|
17
|
+
];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
h as azimuthalInvert,
|
|
22
|
+
z as azimuthalRaw
|
|
23
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { sqrt as a, asin as e } from "../math.mjs";
|
|
2
|
+
import { azimuthalInvert as i, azimuthalRaw as n } from "./azimuthal.mjs";
|
|
3
|
+
import o from "./index.mjs";
|
|
4
|
+
var t = n(function(r) {
|
|
5
|
+
return a(2 / (1 + r));
|
|
6
|
+
});
|
|
7
|
+
t.invert = i(function(r) {
|
|
8
|
+
return 2 * e(r / 2);
|
|
9
|
+
});
|
|
10
|
+
function f() {
|
|
11
|
+
return o(t).scale(124.75).clipAngle(180 - 1e-3);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
t as azimuthalEqualAreaRaw,
|
|
15
|
+
f as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { acos as r, sin as a } from "../math.mjs";
|
|
2
|
+
import { azimuthalInvert as n, azimuthalRaw as o } from "./azimuthal.mjs";
|
|
3
|
+
import u from "./index.mjs";
|
|
4
|
+
var i = o(function(t) {
|
|
5
|
+
return (t = r(t)) && t / a(t);
|
|
6
|
+
});
|
|
7
|
+
i.invert = n(function(t) {
|
|
8
|
+
return t;
|
|
9
|
+
});
|
|
10
|
+
function f() {
|
|
11
|
+
return u(i).scale(79.4188).clipAngle(180 - 1e-3);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
i as azimuthalEquidistantRaw,
|
|
15
|
+
f as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { radians as i, degrees as p, pi as c } from "../math.mjs";
|
|
2
|
+
import { projectionMutator as m } from "./index.mjs";
|
|
3
|
+
function l(a) {
|
|
4
|
+
var r = 0, o = c / 3, t = m(a), n = t(r, o);
|
|
5
|
+
return n.parallels = function(e) {
|
|
6
|
+
return arguments.length ? t(r = e[0] * i, o = e[1] * i) : [r * p, o * p];
|
|
7
|
+
}, n;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
l as conicProjection
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { atan as P, pow as s, halfPi as a, sin as w, log as C, cos as m, atan2 as R, abs as b, sign as e, sqrt as d, tan as h, epsilon as c, pi as q } from "../math.mjs";
|
|
2
|
+
import { conicProjection as k } from "./conic.mjs";
|
|
3
|
+
import { mercatorRaw as z } from "./mercator.mjs";
|
|
4
|
+
function l(o) {
|
|
5
|
+
return h((a + o) / 2);
|
|
6
|
+
}
|
|
7
|
+
function A(o, u) {
|
|
8
|
+
var p = m(o), r = o === u ? w(o) : C(p / m(u)) / C(l(u) / l(o)), f = p * s(l(o), r) / r;
|
|
9
|
+
if (!r) return z;
|
|
10
|
+
function v(t, i) {
|
|
11
|
+
f > 0 ? i < -a + c && (i = -a + c) : i > a - c && (i = a - c);
|
|
12
|
+
var n = f / s(l(i), r);
|
|
13
|
+
return [n * w(r * t), f - n * m(r * t)];
|
|
14
|
+
}
|
|
15
|
+
return v.invert = function(t, i) {
|
|
16
|
+
var n = f - i, j = e(r) * d(t * t + n * n), g = R(t, b(n)) * e(n);
|
|
17
|
+
return n * r < 0 && (g -= q * e(t) * e(n)), [g / r, 2 * P(s(f / j, 1 / r)) - a];
|
|
18
|
+
}, v;
|
|
19
|
+
}
|
|
20
|
+
function F() {
|
|
21
|
+
return k(A).scale(109.5).parallels([30, 30]);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
A as conicConformalRaw,
|
|
25
|
+
F as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { abs as p, epsilon as q, asin as A, sin as a, cos as E, atan2 as d, sign as c, sqrt as m, pi as g } from "../math.mjs";
|
|
2
|
+
import { conicProjection as j } from "./conic.mjs";
|
|
3
|
+
import { cylindricalEqualAreaRaw as w } from "./cylindricalEqualArea.mjs";
|
|
4
|
+
function y(u, v) {
|
|
5
|
+
var o = a(u), r = (o + a(v)) / 2;
|
|
6
|
+
if (p(r) < q) return w(u);
|
|
7
|
+
var t = 1 + o * (2 * r - o), f = m(t) / r;
|
|
8
|
+
function s(i, e) {
|
|
9
|
+
var n = m(t - 2 * r * a(e)) / r;
|
|
10
|
+
return [n * a(i *= r), f - n * E(i)];
|
|
11
|
+
}
|
|
12
|
+
return s.invert = function(i, e) {
|
|
13
|
+
var n = f - e, l = d(i, p(n)) * c(n);
|
|
14
|
+
return n * r < 0 && (l -= g * c(i) * c(n)), [l / r, A((t - (i * i + n * n) * r * r) / (2 * r))];
|
|
15
|
+
}, s;
|
|
16
|
+
}
|
|
17
|
+
function P() {
|
|
18
|
+
return j(y).scale(155.424).center([0, 33.6442]);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
y as conicEqualAreaRaw,
|
|
22
|
+
P as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { abs as g, sin as m, epsilon as l, sign as c, sqrt as q, cos as f, atan2 as v, pi as d } from "../math.mjs";
|
|
2
|
+
import { conicProjection as j } from "./conic.mjs";
|
|
3
|
+
import { equirectangularRaw as w } from "./equirectangular.mjs";
|
|
4
|
+
function E(i, a) {
|
|
5
|
+
var s = f(i), r = i === a ? m(i) : (s - f(a)) / (a - i), e = s / r + i;
|
|
6
|
+
if (g(r) < l) return w;
|
|
7
|
+
function p(t, u) {
|
|
8
|
+
var n = e - u, o = r * t;
|
|
9
|
+
return [n * m(o), e - n * f(o)];
|
|
10
|
+
}
|
|
11
|
+
return p.invert = function(t, u) {
|
|
12
|
+
var n = e - u, o = v(t, g(n)) * c(n);
|
|
13
|
+
return n * r < 0 && (o -= d * c(t) * c(n)), [o / r, e - c(r) * q(t * t + n * n)];
|
|
14
|
+
}, p;
|
|
15
|
+
}
|
|
16
|
+
function P() {
|
|
17
|
+
return j(E).scale(131.154).center([0, 13.9389]);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
E as conicEquidistantRaw,
|
|
21
|
+
P as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { asin as a, sin as c, cos as u } from "../math.mjs";
|
|
2
|
+
function f(t) {
|
|
3
|
+
var r = u(t);
|
|
4
|
+
function o(n, i) {
|
|
5
|
+
return [n * r, c(i) / r];
|
|
6
|
+
}
|
|
7
|
+
return o.invert = function(n, i) {
|
|
8
|
+
return [n / r, a(i * r)];
|
|
9
|
+
}, o;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
f as cylindricalEqualAreaRaw
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import b from "./index.mjs";
|
|
2
|
+
import { asin as p, cos as A, sin as q, sqrt as h, abs as g, epsilon2 as j } from "../math.mjs";
|
|
3
|
+
var n = 1.340264, o = -0.081106, e = 893e-6, i = 3796e-6, s = h(3) / 2, k = 12;
|
|
4
|
+
function E(u, l) {
|
|
5
|
+
var t = p(s * q(l)), r = t * t, a = r * r * r;
|
|
6
|
+
return [
|
|
7
|
+
u * A(t) / (s * (n + 3 * o * r + a * (7 * e + 9 * i * r))),
|
|
8
|
+
t * (n + o * r + a * (e + i * r))
|
|
9
|
+
];
|
|
10
|
+
}
|
|
11
|
+
E.invert = function(u, l) {
|
|
12
|
+
for (var t = l, r = t * t, a = r * r * r, c = 0, f, v, m; c < k && (v = t * (n + o * r + a * (e + i * r)) - l, m = n + 3 * o * r + a * (7 * e + 9 * i * r), t -= f = v / m, r = t * t, a = r * r * r, !(g(f) < j)); ++c)
|
|
13
|
+
;
|
|
14
|
+
return [
|
|
15
|
+
s * u * (n + 3 * o * r + a * (7 * e + 9 * i * r)) / A(t),
|
|
16
|
+
p(q(t) / s)
|
|
17
|
+
];
|
|
18
|
+
};
|
|
19
|
+
function M() {
|
|
20
|
+
return b(E).scale(177.158);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
M as default,
|
|
24
|
+
E as equalEarthRaw
|
|
25
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import e from "../stream.mjs";
|
|
2
|
+
import c from "../path/bounds.mjs";
|
|
3
|
+
function s(n, a, r) {
|
|
4
|
+
var t = n.clipExtent && n.clipExtent();
|
|
5
|
+
return n.scale(150).translate([0, 0]), t != null && n.clipExtent(null), e(r, n.stream(c)), a(c.result()), t != null && n.clipExtent(t), n;
|
|
6
|
+
}
|
|
7
|
+
function h(n, a, r) {
|
|
8
|
+
return s(n, function(t) {
|
|
9
|
+
var u = a[1][0] - a[0][0], l = a[1][1] - a[0][1], f = Math.min(u / (t[1][0] - t[0][0]), l / (t[1][1] - t[0][1])), i = +a[0][0] + (u - f * (t[1][0] + t[0][0])) / 2, m = +a[0][1] + (l - f * (t[1][1] + t[0][1])) / 2;
|
|
10
|
+
n.scale(150 * f).translate([i, m]);
|
|
11
|
+
}, r);
|
|
12
|
+
}
|
|
13
|
+
function x(n, a, r) {
|
|
14
|
+
return h(n, [[0, 0], a], r);
|
|
15
|
+
}
|
|
16
|
+
function k(n, a, r) {
|
|
17
|
+
return s(n, function(t) {
|
|
18
|
+
var u = +a, l = u / (t[1][0] - t[0][0]), f = (u - l * (t[1][0] + t[0][0])) / 2, i = -l * t[0][1];
|
|
19
|
+
n.scale(150 * l).translate([f, i]);
|
|
20
|
+
}, r);
|
|
21
|
+
}
|
|
22
|
+
function y(n, a, r) {
|
|
23
|
+
return s(n, function(t) {
|
|
24
|
+
var u = +a, l = u / (t[1][1] - t[0][1]), f = -l * t[0][0], i = (u - l * (t[1][1] + t[0][1])) / 2;
|
|
25
|
+
n.scale(150 * l).translate([f, i]);
|
|
26
|
+
}, r);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
h as fitExtent,
|
|
30
|
+
y as fitHeight,
|
|
31
|
+
x as fitSize,
|
|
32
|
+
k as fitWidth
|
|
33
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { atan as c, sin as i, cos as e } from "../math.mjs";
|
|
2
|
+
import { azimuthalInvert as m } from "./azimuthal.mjs";
|
|
3
|
+
import f from "./index.mjs";
|
|
4
|
+
function a(o, n) {
|
|
5
|
+
var r = e(n), t = e(o) * r;
|
|
6
|
+
return [r * i(o) / t, i(n) / t];
|
|
7
|
+
}
|
|
8
|
+
a.invert = m(c);
|
|
9
|
+
function s() {
|
|
10
|
+
return f(a).scale(144.049).clipAngle(60);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
s as default,
|
|
14
|
+
a as gnomonicRaw
|
|
15
|
+
};
|