@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,392 @@
|
|
|
1
|
+
import { evaluate as B, getSideAxis as C, getSide as E, clamp as Y, getOppositePlacement as G, getExpandedPlacements as J, getOppositeAxisPlacements as K, getAlignmentSides as N, getAlignment as H, min as z, max as T, getPaddingObject as Q, rectToClientRect as X, getOppositeAxis as U, getAlignmentAxis as Z, getAxisLength as tt } from "../../utils/dist/floating-ui.utils.mjs";
|
|
2
|
+
function I(o, t, d) {
|
|
3
|
+
let {
|
|
4
|
+
reference: n,
|
|
5
|
+
floating: c
|
|
6
|
+
} = o;
|
|
7
|
+
const s = C(t), r = Z(t), a = tt(r), x = E(t), g = s === "y", e = n.x + n.width / 2 - c.width / 2, i = n.y + n.height / 2 - c.height / 2, f = n[a] / 2 - c[a] / 2;
|
|
8
|
+
let l;
|
|
9
|
+
switch (x) {
|
|
10
|
+
case "top":
|
|
11
|
+
l = {
|
|
12
|
+
x: e,
|
|
13
|
+
y: n.y - c.height
|
|
14
|
+
};
|
|
15
|
+
break;
|
|
16
|
+
case "bottom":
|
|
17
|
+
l = {
|
|
18
|
+
x: e,
|
|
19
|
+
y: n.y + n.height
|
|
20
|
+
};
|
|
21
|
+
break;
|
|
22
|
+
case "right":
|
|
23
|
+
l = {
|
|
24
|
+
x: n.x + n.width,
|
|
25
|
+
y: i
|
|
26
|
+
};
|
|
27
|
+
break;
|
|
28
|
+
case "left":
|
|
29
|
+
l = {
|
|
30
|
+
x: n.x - c.width,
|
|
31
|
+
y: i
|
|
32
|
+
};
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
l = {
|
|
36
|
+
x: n.x,
|
|
37
|
+
y: n.y
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
switch (H(t)) {
|
|
41
|
+
case "start":
|
|
42
|
+
l[r] -= f * (d && g ? -1 : 1);
|
|
43
|
+
break;
|
|
44
|
+
case "end":
|
|
45
|
+
l[r] += f * (d && g ? -1 : 1);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
return l;
|
|
49
|
+
}
|
|
50
|
+
const ot = async (o, t, d) => {
|
|
51
|
+
const {
|
|
52
|
+
placement: n = "bottom",
|
|
53
|
+
strategy: c = "absolute",
|
|
54
|
+
middleware: s = [],
|
|
55
|
+
platform: r
|
|
56
|
+
} = d, a = s.filter(Boolean), x = await (r.isRTL == null ? void 0 : r.isRTL(t));
|
|
57
|
+
let g = await r.getElementRects({
|
|
58
|
+
reference: o,
|
|
59
|
+
floating: t,
|
|
60
|
+
strategy: c
|
|
61
|
+
}), {
|
|
62
|
+
x: e,
|
|
63
|
+
y: i
|
|
64
|
+
} = I(g, n, x), f = n, l = {}, m = 0;
|
|
65
|
+
for (let h = 0; h < a.length; h++) {
|
|
66
|
+
const {
|
|
67
|
+
name: u,
|
|
68
|
+
fn: w
|
|
69
|
+
} = a[h], {
|
|
70
|
+
x: p,
|
|
71
|
+
y,
|
|
72
|
+
data: A,
|
|
73
|
+
reset: v
|
|
74
|
+
} = await w({
|
|
75
|
+
x: e,
|
|
76
|
+
y: i,
|
|
77
|
+
initialPlacement: n,
|
|
78
|
+
placement: f,
|
|
79
|
+
strategy: c,
|
|
80
|
+
middlewareData: l,
|
|
81
|
+
rects: g,
|
|
82
|
+
platform: r,
|
|
83
|
+
elements: {
|
|
84
|
+
reference: o,
|
|
85
|
+
floating: t
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
e = p ?? e, i = y ?? i, l = {
|
|
89
|
+
...l,
|
|
90
|
+
[u]: {
|
|
91
|
+
...l[u],
|
|
92
|
+
...A
|
|
93
|
+
}
|
|
94
|
+
}, v && m <= 50 && (m++, typeof v == "object" && (v.placement && (f = v.placement), v.rects && (g = v.rects === !0 ? await r.getElementRects({
|
|
95
|
+
reference: o,
|
|
96
|
+
floating: t,
|
|
97
|
+
strategy: c
|
|
98
|
+
}) : v.rects), {
|
|
99
|
+
x: e,
|
|
100
|
+
y: i
|
|
101
|
+
} = I(g, f, x)), h = -1);
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
x: e,
|
|
105
|
+
y: i,
|
|
106
|
+
placement: f,
|
|
107
|
+
strategy: c,
|
|
108
|
+
middlewareData: l
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
async function W(o, t) {
|
|
112
|
+
var d;
|
|
113
|
+
t === void 0 && (t = {});
|
|
114
|
+
const {
|
|
115
|
+
x: n,
|
|
116
|
+
y: c,
|
|
117
|
+
platform: s,
|
|
118
|
+
rects: r,
|
|
119
|
+
elements: a,
|
|
120
|
+
strategy: x
|
|
121
|
+
} = o, {
|
|
122
|
+
boundary: g = "clippingAncestors",
|
|
123
|
+
rootBoundary: e = "viewport",
|
|
124
|
+
elementContext: i = "floating",
|
|
125
|
+
altBoundary: f = !1,
|
|
126
|
+
padding: l = 0
|
|
127
|
+
} = B(t, o), m = Q(l), u = a[f ? i === "floating" ? "reference" : "floating" : i], w = X(await s.getClippingRect({
|
|
128
|
+
element: (d = await (s.isElement == null ? void 0 : s.isElement(u))) == null || d ? u : u.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)),
|
|
129
|
+
boundary: g,
|
|
130
|
+
rootBoundary: e,
|
|
131
|
+
strategy: x
|
|
132
|
+
})), p = i === "floating" ? {
|
|
133
|
+
x: n,
|
|
134
|
+
y: c,
|
|
135
|
+
width: r.floating.width,
|
|
136
|
+
height: r.floating.height
|
|
137
|
+
} : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), A = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
|
|
138
|
+
x: 1,
|
|
139
|
+
y: 1
|
|
140
|
+
} : {
|
|
141
|
+
x: 1,
|
|
142
|
+
y: 1
|
|
143
|
+
}, v = X(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
144
|
+
elements: a,
|
|
145
|
+
rect: p,
|
|
146
|
+
offsetParent: y,
|
|
147
|
+
strategy: x
|
|
148
|
+
}) : p);
|
|
149
|
+
return {
|
|
150
|
+
top: (w.top - v.top + m.top) / A.y,
|
|
151
|
+
bottom: (v.bottom - w.bottom + m.bottom) / A.y,
|
|
152
|
+
left: (w.left - v.left + m.left) / A.x,
|
|
153
|
+
right: (v.right - w.right + m.right) / A.x
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
const st = function(o) {
|
|
157
|
+
return o === void 0 && (o = {}), {
|
|
158
|
+
name: "flip",
|
|
159
|
+
options: o,
|
|
160
|
+
async fn(t) {
|
|
161
|
+
var d, n;
|
|
162
|
+
const {
|
|
163
|
+
placement: c,
|
|
164
|
+
middlewareData: s,
|
|
165
|
+
rects: r,
|
|
166
|
+
initialPlacement: a,
|
|
167
|
+
platform: x,
|
|
168
|
+
elements: g
|
|
169
|
+
} = t, {
|
|
170
|
+
mainAxis: e = !0,
|
|
171
|
+
crossAxis: i = !0,
|
|
172
|
+
fallbackPlacements: f,
|
|
173
|
+
fallbackStrategy: l = "bestFit",
|
|
174
|
+
fallbackAxisSideDirection: m = "none",
|
|
175
|
+
flipAlignment: h = !0,
|
|
176
|
+
...u
|
|
177
|
+
} = B(o, t);
|
|
178
|
+
if ((d = s.arrow) != null && d.alignmentOffset)
|
|
179
|
+
return {};
|
|
180
|
+
const w = E(c), p = C(a), y = E(a) === a, A = await (x.isRTL == null ? void 0 : x.isRTL(g.floating)), v = f || (y || !h ? [G(a)] : J(a)), _ = m !== "none";
|
|
181
|
+
!f && _ && v.push(...K(a, h, m, A));
|
|
182
|
+
const L = [a, ...v], O = await W(t, u), S = [];
|
|
183
|
+
let R = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
184
|
+
if (e && S.push(O[w]), i) {
|
|
185
|
+
const k = N(c, r, A);
|
|
186
|
+
S.push(O[k[0]], O[k[1]]);
|
|
187
|
+
}
|
|
188
|
+
if (R = [...R, {
|
|
189
|
+
placement: c,
|
|
190
|
+
overflows: S
|
|
191
|
+
}], !S.every((k) => k <= 0)) {
|
|
192
|
+
var M, V;
|
|
193
|
+
const k = (((M = s.flip) == null ? void 0 : M.index) || 0) + 1, j = L[k];
|
|
194
|
+
if (j && (!(i === "alignment" ? p !== C(j) : !1) || // We leave the current main axis only if every placement on that axis
|
|
195
|
+
// overflows the main axis.
|
|
196
|
+
R.every((b) => C(b.placement) === p ? b.overflows[0] > 0 : !0)))
|
|
197
|
+
return {
|
|
198
|
+
data: {
|
|
199
|
+
index: k,
|
|
200
|
+
overflows: R
|
|
201
|
+
},
|
|
202
|
+
reset: {
|
|
203
|
+
placement: j
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
let $ = (V = R.filter((D) => D.overflows[0] <= 0).sort((D, b) => D.overflows[1] - b.overflows[1])[0]) == null ? void 0 : V.placement;
|
|
207
|
+
if (!$)
|
|
208
|
+
switch (l) {
|
|
209
|
+
case "bestFit": {
|
|
210
|
+
var F;
|
|
211
|
+
const D = (F = R.filter((b) => {
|
|
212
|
+
if (_) {
|
|
213
|
+
const P = C(b.placement);
|
|
214
|
+
return P === p || // Create a bias to the `y` side axis due to horizontal
|
|
215
|
+
// reading directions favoring greater width.
|
|
216
|
+
P === "y";
|
|
217
|
+
}
|
|
218
|
+
return !0;
|
|
219
|
+
}).map((b) => [b.placement, b.overflows.filter((P) => P > 0).reduce((P, q) => P + q, 0)]).sort((b, P) => b[1] - P[1])[0]) == null ? void 0 : F[0];
|
|
220
|
+
D && ($ = D);
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
case "initialPlacement":
|
|
224
|
+
$ = a;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
if (c !== $)
|
|
228
|
+
return {
|
|
229
|
+
reset: {
|
|
230
|
+
placement: $
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
return {};
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}, et = /* @__PURE__ */ new Set(["left", "top"]);
|
|
238
|
+
async function nt(o, t) {
|
|
239
|
+
const {
|
|
240
|
+
placement: d,
|
|
241
|
+
platform: n,
|
|
242
|
+
elements: c
|
|
243
|
+
} = o, s = await (n.isRTL == null ? void 0 : n.isRTL(c.floating)), r = E(d), a = H(d), x = C(d) === "y", g = et.has(r) ? -1 : 1, e = s && x ? -1 : 1, i = B(t, o);
|
|
244
|
+
let {
|
|
245
|
+
mainAxis: f,
|
|
246
|
+
crossAxis: l,
|
|
247
|
+
alignmentAxis: m
|
|
248
|
+
} = typeof i == "number" ? {
|
|
249
|
+
mainAxis: i,
|
|
250
|
+
crossAxis: 0,
|
|
251
|
+
alignmentAxis: null
|
|
252
|
+
} : {
|
|
253
|
+
mainAxis: i.mainAxis || 0,
|
|
254
|
+
crossAxis: i.crossAxis || 0,
|
|
255
|
+
alignmentAxis: i.alignmentAxis
|
|
256
|
+
};
|
|
257
|
+
return a && typeof m == "number" && (l = a === "end" ? m * -1 : m), x ? {
|
|
258
|
+
x: l * e,
|
|
259
|
+
y: f * g
|
|
260
|
+
} : {
|
|
261
|
+
x: f * g,
|
|
262
|
+
y: l * e
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
const at = function(o) {
|
|
266
|
+
return o === void 0 && (o = 0), {
|
|
267
|
+
name: "offset",
|
|
268
|
+
options: o,
|
|
269
|
+
async fn(t) {
|
|
270
|
+
var d, n;
|
|
271
|
+
const {
|
|
272
|
+
x: c,
|
|
273
|
+
y: s,
|
|
274
|
+
placement: r,
|
|
275
|
+
middlewareData: a
|
|
276
|
+
} = t, x = await nt(t, o);
|
|
277
|
+
return r === ((d = a.offset) == null ? void 0 : d.placement) && (n = a.arrow) != null && n.alignmentOffset ? {} : {
|
|
278
|
+
x: c + x.x,
|
|
279
|
+
y: s + x.y,
|
|
280
|
+
data: {
|
|
281
|
+
...x,
|
|
282
|
+
placement: r
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
}, lt = function(o) {
|
|
288
|
+
return o === void 0 && (o = {}), {
|
|
289
|
+
name: "shift",
|
|
290
|
+
options: o,
|
|
291
|
+
async fn(t) {
|
|
292
|
+
const {
|
|
293
|
+
x: d,
|
|
294
|
+
y: n,
|
|
295
|
+
placement: c
|
|
296
|
+
} = t, {
|
|
297
|
+
mainAxis: s = !0,
|
|
298
|
+
crossAxis: r = !1,
|
|
299
|
+
limiter: a = {
|
|
300
|
+
fn: (u) => {
|
|
301
|
+
let {
|
|
302
|
+
x: w,
|
|
303
|
+
y: p
|
|
304
|
+
} = u;
|
|
305
|
+
return {
|
|
306
|
+
x: w,
|
|
307
|
+
y: p
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
...x
|
|
312
|
+
} = B(o, t), g = {
|
|
313
|
+
x: d,
|
|
314
|
+
y: n
|
|
315
|
+
}, e = await W(t, x), i = C(E(c)), f = U(i);
|
|
316
|
+
let l = g[f], m = g[i];
|
|
317
|
+
if (s) {
|
|
318
|
+
const u = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", p = l + e[u], y = l - e[w];
|
|
319
|
+
l = Y(p, l, y);
|
|
320
|
+
}
|
|
321
|
+
if (r) {
|
|
322
|
+
const u = i === "y" ? "top" : "left", w = i === "y" ? "bottom" : "right", p = m + e[u], y = m - e[w];
|
|
323
|
+
m = Y(p, m, y);
|
|
324
|
+
}
|
|
325
|
+
const h = a.fn({
|
|
326
|
+
...t,
|
|
327
|
+
[f]: l,
|
|
328
|
+
[i]: m
|
|
329
|
+
});
|
|
330
|
+
return {
|
|
331
|
+
...h,
|
|
332
|
+
data: {
|
|
333
|
+
x: h.x - d,
|
|
334
|
+
y: h.y - n,
|
|
335
|
+
enabled: {
|
|
336
|
+
[f]: s,
|
|
337
|
+
[i]: r
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
}, ct = function(o) {
|
|
344
|
+
return o === void 0 && (o = {}), {
|
|
345
|
+
name: "size",
|
|
346
|
+
options: o,
|
|
347
|
+
async fn(t) {
|
|
348
|
+
var d, n;
|
|
349
|
+
const {
|
|
350
|
+
placement: c,
|
|
351
|
+
rects: s,
|
|
352
|
+
platform: r,
|
|
353
|
+
elements: a
|
|
354
|
+
} = t, {
|
|
355
|
+
apply: x = () => {
|
|
356
|
+
},
|
|
357
|
+
...g
|
|
358
|
+
} = B(o, t), e = await W(t, g), i = E(c), f = H(c), l = C(c) === "y", {
|
|
359
|
+
width: m,
|
|
360
|
+
height: h
|
|
361
|
+
} = s.floating;
|
|
362
|
+
let u, w;
|
|
363
|
+
i === "top" || i === "bottom" ? (u = i, w = f === (await (r.isRTL == null ? void 0 : r.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (w = i, u = f === "end" ? "top" : "bottom");
|
|
364
|
+
const p = h - e.top - e.bottom, y = m - e.left - e.right, A = z(h - e[u], p), v = z(m - e[w], y), _ = !t.middlewareData.shift;
|
|
365
|
+
let L = A, O = v;
|
|
366
|
+
if ((d = t.middlewareData.shift) != null && d.enabled.x && (O = y), (n = t.middlewareData.shift) != null && n.enabled.y && (L = p), _ && !f) {
|
|
367
|
+
const R = T(e.left, 0), M = T(e.right, 0), V = T(e.top, 0), F = T(e.bottom, 0);
|
|
368
|
+
l ? O = m - 2 * (R !== 0 || M !== 0 ? R + M : T(e.left, e.right)) : L = h - 2 * (V !== 0 || F !== 0 ? V + F : T(e.top, e.bottom));
|
|
369
|
+
}
|
|
370
|
+
await x({
|
|
371
|
+
...t,
|
|
372
|
+
availableWidth: O,
|
|
373
|
+
availableHeight: L
|
|
374
|
+
});
|
|
375
|
+
const S = await r.getDimensions(a.floating);
|
|
376
|
+
return m !== S.width || h !== S.height ? {
|
|
377
|
+
reset: {
|
|
378
|
+
rects: !0
|
|
379
|
+
}
|
|
380
|
+
} : {};
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
export {
|
|
385
|
+
ot as computePosition,
|
|
386
|
+
W as detectOverflow,
|
|
387
|
+
st as flip,
|
|
388
|
+
at as offset,
|
|
389
|
+
X as rectToClientRect,
|
|
390
|
+
lt as shift,
|
|
391
|
+
ct as size
|
|
392
|
+
};
|