@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,31 @@
|
|
|
1
|
+
import { isHTMLElement as F } from "./dom.mjs";
|
|
2
|
+
let a = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
|
|
3
|
+
function o(t) {
|
|
4
|
+
var l, u;
|
|
5
|
+
let i = (l = t.innerText) != null ? l : "", n = t.cloneNode(!0);
|
|
6
|
+
if (!F(n)) return i;
|
|
7
|
+
let r = !1;
|
|
8
|
+
for (let f of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) f.remove(), r = !0;
|
|
9
|
+
let e = r ? (u = n.innerText) != null ? u : "" : i;
|
|
10
|
+
return a.test(e) && (e = e.replace(a, "")), e;
|
|
11
|
+
}
|
|
12
|
+
function D(t) {
|
|
13
|
+
let l = t.getAttribute("aria-label");
|
|
14
|
+
if (typeof l == "string") return l.trim();
|
|
15
|
+
let u = t.getAttribute("aria-labelledby");
|
|
16
|
+
if (u) {
|
|
17
|
+
let i = u.split(" ").map((n) => {
|
|
18
|
+
let r = document.getElementById(n);
|
|
19
|
+
if (r) {
|
|
20
|
+
let e = r.getAttribute("aria-label");
|
|
21
|
+
return typeof e == "string" ? e.trim() : o(r).trim();
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
}).filter(Boolean);
|
|
25
|
+
if (i.length > 0) return i.join(", ");
|
|
26
|
+
}
|
|
27
|
+
return o(t).trim();
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
D as getTextValue
|
|
31
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function o(r, t, ...n) {
|
|
2
|
+
if (r in t) {
|
|
3
|
+
let e = t[r];
|
|
4
|
+
return typeof e == "function" ? e(...n) : e;
|
|
5
|
+
}
|
|
6
|
+
let a = new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e) => `"${e}"`).join(", ")}.`);
|
|
7
|
+
throw Error.captureStackTrace && Error.captureStackTrace(a, o), a;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
o as match
|
|
11
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { env as u } from "./env.mjs";
|
|
2
|
+
function i(e) {
|
|
3
|
+
var l;
|
|
4
|
+
return u.isServer ? null : e == null ? document : (l = e == null ? void 0 : e.ownerDocument) != null ? l : document;
|
|
5
|
+
}
|
|
6
|
+
function t(e) {
|
|
7
|
+
var l, n;
|
|
8
|
+
return u.isServer ? null : e == null ? document : (n = (l = e == null ? void 0 : e.getRootNode) == null ? void 0 : l.call(e)) != null ? n : document;
|
|
9
|
+
}
|
|
10
|
+
function o(e) {
|
|
11
|
+
var l, n;
|
|
12
|
+
return (n = (l = t(e)) == null ? void 0 : l.activeElement) != null ? n : null;
|
|
13
|
+
}
|
|
14
|
+
function c(e) {
|
|
15
|
+
return o(e) === e;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
o as getActiveElement,
|
|
19
|
+
i as getOwnerDocument,
|
|
20
|
+
t as getRootNode,
|
|
21
|
+
c as isActiveElement
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function i() {
|
|
2
|
+
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
3
|
+
}
|
|
4
|
+
function n() {
|
|
5
|
+
return /Android/gi.test(window.navigator.userAgent);
|
|
6
|
+
}
|
|
7
|
+
function t() {
|
|
8
|
+
return i() || n();
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
n as isAndroid,
|
|
12
|
+
i as isIOS,
|
|
13
|
+
t as isMobile
|
|
14
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import $, { forwardRef as F, useCallback as O, useRef as P, isValidElement as k, cloneElement as E, createElement as A, Fragment as S } from "react";
|
|
2
|
+
import { classNames as w } from "./class-names.mjs";
|
|
3
|
+
import { match as C } from "./match.mjs";
|
|
4
|
+
var H = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(H || {}), T = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(T || {});
|
|
5
|
+
function x() {
|
|
6
|
+
let e = D();
|
|
7
|
+
return O((n) => U({ mergeRefs: e, ...n }), [e]);
|
|
8
|
+
}
|
|
9
|
+
function U({ ourProps: e, theirProps: n, slot: t, defaultTag: r, features: l, visible: a = !0, name: s, mergeRefs: u }) {
|
|
10
|
+
u = u ?? W;
|
|
11
|
+
let o = R(n, e);
|
|
12
|
+
if (a) return v(o, t, r, s, u);
|
|
13
|
+
let p = l ?? 0;
|
|
14
|
+
if (p & 2) {
|
|
15
|
+
let { static: i = !1, ...f } = o;
|
|
16
|
+
if (i) return v(f, t, r, s, u);
|
|
17
|
+
}
|
|
18
|
+
if (p & 1) {
|
|
19
|
+
let { unmount: i = !0, ...f } = o;
|
|
20
|
+
return C(i ? 0 : 1, { 0() {
|
|
21
|
+
return null;
|
|
22
|
+
}, 1() {
|
|
23
|
+
return v({ ...f, hidden: !0, style: { display: "none" } }, t, r, s, u);
|
|
24
|
+
} });
|
|
25
|
+
}
|
|
26
|
+
return v(o, t, r, s, u);
|
|
27
|
+
}
|
|
28
|
+
function v(e, n = {}, t, r, l) {
|
|
29
|
+
let { as: a = t, children: s, refName: u = "ref", ...o } = N(e, ["unmount", "static"]), p = e.ref !== void 0 ? { [u]: e.ref } : {}, i = typeof s == "function" ? s(n) : s;
|
|
30
|
+
"className" in o && o.className && typeof o.className == "function" && (o.className = o.className(n)), o["aria-labelledby"] && o["aria-labelledby"] === o.id && (o["aria-labelledby"] = void 0);
|
|
31
|
+
let f = {};
|
|
32
|
+
if (n) {
|
|
33
|
+
let c = !1, d = [];
|
|
34
|
+
for (let [m, y] of Object.entries(n)) typeof y == "boolean" && (c = !0), y === !0 && d.push(m.replace(/([A-Z])/g, (h) => `-${h.toLowerCase()}`));
|
|
35
|
+
if (c) {
|
|
36
|
+
f["data-headlessui-state"] = d.join(" ");
|
|
37
|
+
for (let m of d) f[`data-${m}`] = "";
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (j(a) && (Object.keys(g(o)).length > 0 || Object.keys(g(f)).length > 0)) if (!k(i) || Array.isArray(i) && i.length > 1 || K(i)) {
|
|
41
|
+
if (Object.keys(g(o)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(g(o)).concat(Object.keys(g(f))).map((c) => ` - ${c}`).join(`
|
|
42
|
+
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((c) => ` - ${c}`).join(`
|
|
43
|
+
`)].join(`
|
|
44
|
+
`));
|
|
45
|
+
} else {
|
|
46
|
+
let c = i.props, d = c == null ? void 0 : c.className, m = typeof d == "function" ? (...b) => w(d(...b), o.className) : w(d, o.className), y = m ? { className: m } : {}, h = R(i.props, g(N(o, ["ref"])));
|
|
47
|
+
for (let b in f) b in h && delete f[b];
|
|
48
|
+
return E(i, Object.assign({}, h, f, p, { ref: l(I(i), p.ref) }, y));
|
|
49
|
+
}
|
|
50
|
+
return A(a, Object.assign({}, N(o, ["ref"]), !j(a) && p, !j(a) && f), i);
|
|
51
|
+
}
|
|
52
|
+
function D() {
|
|
53
|
+
let e = P([]), n = O((t) => {
|
|
54
|
+
for (let r of e.current) r != null && (typeof r == "function" ? r(t) : r.current = t);
|
|
55
|
+
}, []);
|
|
56
|
+
return (...t) => {
|
|
57
|
+
if (!t.every((r) => r == null)) return e.current = t, n;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function W(...e) {
|
|
61
|
+
return e.every((n) => n == null) ? void 0 : (n) => {
|
|
62
|
+
for (let t of e) t != null && (typeof t == "function" ? t(n) : t.current = n);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function R(...e) {
|
|
66
|
+
if (e.length === 0) return {};
|
|
67
|
+
if (e.length === 1) return e[0];
|
|
68
|
+
let n = {}, t = {};
|
|
69
|
+
for (let r of e) for (let l in r) l.startsWith("on") && typeof r[l] == "function" ? (t[l] != null || (t[l] = []), t[l].push(r[l])) : n[l] = r[l];
|
|
70
|
+
if (n.disabled || n["aria-disabled"]) for (let r in t) /^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r) && (t[r] = [(l) => {
|
|
71
|
+
var a;
|
|
72
|
+
return (a = l == null ? void 0 : l.preventDefault) == null ? void 0 : a.call(l);
|
|
73
|
+
}]);
|
|
74
|
+
for (let r in t) Object.assign(n, { [r](l, ...a) {
|
|
75
|
+
let s = t[r];
|
|
76
|
+
for (let u of s) {
|
|
77
|
+
if ((l instanceof Event || (l == null ? void 0 : l.nativeEvent) instanceof Event) && l.defaultPrevented) return;
|
|
78
|
+
u(l, ...a);
|
|
79
|
+
}
|
|
80
|
+
} });
|
|
81
|
+
return n;
|
|
82
|
+
}
|
|
83
|
+
function L(...e) {
|
|
84
|
+
if (e.length === 0) return {};
|
|
85
|
+
if (e.length === 1) return e[0];
|
|
86
|
+
let n = {}, t = {};
|
|
87
|
+
for (let r of e) for (let l in r) l.startsWith("on") && typeof r[l] == "function" ? (t[l] != null || (t[l] = []), t[l].push(r[l])) : n[l] = r[l];
|
|
88
|
+
for (let r in t) Object.assign(n, { [r](...l) {
|
|
89
|
+
let a = t[r];
|
|
90
|
+
for (let s of a) s == null || s(...l);
|
|
91
|
+
} });
|
|
92
|
+
return n;
|
|
93
|
+
}
|
|
94
|
+
function M(e) {
|
|
95
|
+
var n;
|
|
96
|
+
return Object.assign(F(e), { displayName: (n = e.displayName) != null ? n : e.name });
|
|
97
|
+
}
|
|
98
|
+
function g(e) {
|
|
99
|
+
let n = Object.assign({}, e);
|
|
100
|
+
for (let t in n) n[t] === void 0 && delete n[t];
|
|
101
|
+
return n;
|
|
102
|
+
}
|
|
103
|
+
function N(e, n = []) {
|
|
104
|
+
let t = Object.assign({}, e);
|
|
105
|
+
for (let r of n) r in t && delete t[r];
|
|
106
|
+
return t;
|
|
107
|
+
}
|
|
108
|
+
function I(e) {
|
|
109
|
+
return $.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
|
|
110
|
+
}
|
|
111
|
+
function j(e) {
|
|
112
|
+
return e === S || e === Symbol.for("react.fragment");
|
|
113
|
+
}
|
|
114
|
+
function K(e) {
|
|
115
|
+
return j(e.type);
|
|
116
|
+
}
|
|
117
|
+
export {
|
|
118
|
+
H as RenderFeatures,
|
|
119
|
+
T as RenderStrategy,
|
|
120
|
+
g as compact,
|
|
121
|
+
M as forwardRefWithAs,
|
|
122
|
+
j as isFragment,
|
|
123
|
+
K as isFragmentInstance,
|
|
124
|
+
L as mergeProps,
|
|
125
|
+
x as useRender
|
|
126
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function s(n, c) {
|
|
2
|
+
let t = n(), r = /* @__PURE__ */ new Set();
|
|
3
|
+
return { getSnapshot() {
|
|
4
|
+
return t;
|
|
5
|
+
}, subscribe(e) {
|
|
6
|
+
return r.add(e), () => r.delete(e);
|
|
7
|
+
}, dispatch(e, ...l) {
|
|
8
|
+
let a = c[e].call(t, ...l);
|
|
9
|
+
a && (t = a, r.forEach((o) => o()));
|
|
10
|
+
} };
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
s as createStore
|
|
14
|
+
};
|
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @kurkle/color v0.3.4
|
|
3
|
+
* https://github.com/kurkle/color#readme
|
|
4
|
+
* (c) 2024 Jukka Kurkela
|
|
5
|
+
* Released under the MIT License
|
|
6
|
+
*/
|
|
7
|
+
function m(f) {
|
|
8
|
+
return f + 0.5 | 0;
|
|
9
|
+
}
|
|
10
|
+
const b = (f, e, t) => Math.max(Math.min(f, t), e);
|
|
11
|
+
function l(f) {
|
|
12
|
+
return b(m(f * 2.55), 0, 255);
|
|
13
|
+
}
|
|
14
|
+
function d(f) {
|
|
15
|
+
return b(m(f * 255), 0, 255);
|
|
16
|
+
}
|
|
17
|
+
function o(f) {
|
|
18
|
+
return b(m(f / 2.55) / 100, 0, 1);
|
|
19
|
+
}
|
|
20
|
+
function X(f) {
|
|
21
|
+
return b(m(f * 100), 0, 100);
|
|
22
|
+
}
|
|
23
|
+
const i = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, w = [..."0123456789ABCDEF"], Z = (f) => w[f & 15], A = (f) => w[(f & 240) >> 4] + w[f & 15], y = (f) => (f & 240) >> 4 === (f & 15), U = (f) => y(f.r) && y(f.g) && y(f.b) && y(f.a);
|
|
24
|
+
function V(f) {
|
|
25
|
+
var e = f.length, t;
|
|
26
|
+
return f[0] === "#" && (e === 4 || e === 5 ? t = {
|
|
27
|
+
r: 255 & i[f[1]] * 17,
|
|
28
|
+
g: 255 & i[f[2]] * 17,
|
|
29
|
+
b: 255 & i[f[3]] * 17,
|
|
30
|
+
a: e === 5 ? i[f[4]] * 17 : 255
|
|
31
|
+
} : (e === 7 || e === 9) && (t = {
|
|
32
|
+
r: i[f[1]] << 4 | i[f[2]],
|
|
33
|
+
g: i[f[3]] << 4 | i[f[4]],
|
|
34
|
+
b: i[f[5]] << 4 | i[f[6]],
|
|
35
|
+
a: e === 9 ? i[f[7]] << 4 | i[f[8]] : 255
|
|
36
|
+
})), t;
|
|
37
|
+
}
|
|
38
|
+
const H = (f, e) => f < 255 ? e(f) : "";
|
|
39
|
+
function W(f) {
|
|
40
|
+
var e = U(f) ? Z : A;
|
|
41
|
+
return f ? "#" + e(f.r) + e(f.g) + e(f.b) + H(f.a, e) : void 0;
|
|
42
|
+
}
|
|
43
|
+
const q = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
|
|
44
|
+
function $(f, e, t) {
|
|
45
|
+
const n = e * Math.min(t, 1 - t), r = (a, s = (a + f / 30) % 12) => t - n * Math.max(Math.min(s - 3, 9 - s, 1), -1);
|
|
46
|
+
return [r(0), r(8), r(4)];
|
|
47
|
+
}
|
|
48
|
+
function L(f, e, t) {
|
|
49
|
+
const n = (r, a = (r + f / 60) % 6) => t - t * e * Math.max(Math.min(a, 4 - a, 1), 0);
|
|
50
|
+
return [n(5), n(3), n(1)];
|
|
51
|
+
}
|
|
52
|
+
function j(f, e, t) {
|
|
53
|
+
const n = $(f, 1, 0.5);
|
|
54
|
+
let r;
|
|
55
|
+
for (e + t > 1 && (r = 1 / (e + t), e *= r, t *= r), r = 0; r < 3; r++)
|
|
56
|
+
n[r] *= 1 - e - t, n[r] += e;
|
|
57
|
+
return n;
|
|
58
|
+
}
|
|
59
|
+
function N(f, e, t, n, r) {
|
|
60
|
+
return f === r ? (e - t) / n + (e < t ? 6 : 0) : e === r ? (t - f) / n + 2 : (f - e) / n + 4;
|
|
61
|
+
}
|
|
62
|
+
function _(f) {
|
|
63
|
+
const t = f.r / 255, n = f.g / 255, r = f.b / 255, a = Math.max(t, n, r), s = Math.min(t, n, r), c = (a + s) / 2;
|
|
64
|
+
let g, h, x;
|
|
65
|
+
return a !== s && (x = a - s, h = c > 0.5 ? x / (2 - a - s) : x / (a + s), g = N(t, n, r, x, a), g = g * 60 + 0.5), [g | 0, h || 0, c];
|
|
66
|
+
}
|
|
67
|
+
function M(f, e, t, n) {
|
|
68
|
+
return (Array.isArray(e) ? f(e[0], e[1], e[2]) : f(e, t, n)).map(d);
|
|
69
|
+
}
|
|
70
|
+
function S(f, e, t) {
|
|
71
|
+
return M($, f, e, t);
|
|
72
|
+
}
|
|
73
|
+
function K(f, e, t) {
|
|
74
|
+
return M(j, f, e, t);
|
|
75
|
+
}
|
|
76
|
+
function B(f, e, t) {
|
|
77
|
+
return M(L, f, e, t);
|
|
78
|
+
}
|
|
79
|
+
function P(f) {
|
|
80
|
+
return (f % 360 + 360) % 360;
|
|
81
|
+
}
|
|
82
|
+
function Q(f) {
|
|
83
|
+
const e = q.exec(f);
|
|
84
|
+
let t = 255, n;
|
|
85
|
+
if (!e)
|
|
86
|
+
return;
|
|
87
|
+
e[5] !== n && (t = e[6] ? l(+e[5]) : d(+e[5]));
|
|
88
|
+
const r = P(+e[2]), a = +e[3] / 100, s = +e[4] / 100;
|
|
89
|
+
return e[1] === "hwb" ? n = K(r, a, s) : e[1] === "hsv" ? n = B(r, a, s) : n = S(r, a, s), {
|
|
90
|
+
r: n[0],
|
|
91
|
+
g: n[1],
|
|
92
|
+
b: n[2],
|
|
93
|
+
a: t
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function C(f, e) {
|
|
97
|
+
var t = _(f);
|
|
98
|
+
t[0] = P(t[0] + e), t = S(t), f.r = t[0], f.g = t[1], f.b = t[2];
|
|
99
|
+
}
|
|
100
|
+
function D(f) {
|
|
101
|
+
if (!f)
|
|
102
|
+
return;
|
|
103
|
+
const e = _(f), t = e[0], n = X(e[1]), r = X(e[2]);
|
|
104
|
+
return f.a < 255 ? `hsla(${t}, ${n}%, ${r}%, ${o(f.a)})` : `hsl(${t}, ${n}%, ${r}%)`;
|
|
105
|
+
}
|
|
106
|
+
const O = {
|
|
107
|
+
x: "dark",
|
|
108
|
+
Z: "light",
|
|
109
|
+
Y: "re",
|
|
110
|
+
X: "blu",
|
|
111
|
+
W: "gr",
|
|
112
|
+
V: "medium",
|
|
113
|
+
U: "slate",
|
|
114
|
+
A: "ee",
|
|
115
|
+
T: "ol",
|
|
116
|
+
S: "or",
|
|
117
|
+
B: "ra",
|
|
118
|
+
C: "lateg",
|
|
119
|
+
D: "ights",
|
|
120
|
+
R: "in",
|
|
121
|
+
Q: "turquois",
|
|
122
|
+
E: "hi",
|
|
123
|
+
P: "ro",
|
|
124
|
+
O: "al",
|
|
125
|
+
N: "le",
|
|
126
|
+
M: "de",
|
|
127
|
+
L: "yello",
|
|
128
|
+
F: "en",
|
|
129
|
+
K: "ch",
|
|
130
|
+
G: "arks",
|
|
131
|
+
H: "ea",
|
|
132
|
+
I: "ightg",
|
|
133
|
+
J: "wh"
|
|
134
|
+
}, E = {
|
|
135
|
+
OiceXe: "f0f8ff",
|
|
136
|
+
antiquewEte: "faebd7",
|
|
137
|
+
aqua: "ffff",
|
|
138
|
+
aquamarRe: "7fffd4",
|
|
139
|
+
azuY: "f0ffff",
|
|
140
|
+
beige: "f5f5dc",
|
|
141
|
+
bisque: "ffe4c4",
|
|
142
|
+
black: "0",
|
|
143
|
+
blanKedOmond: "ffebcd",
|
|
144
|
+
Xe: "ff",
|
|
145
|
+
XeviTet: "8a2be2",
|
|
146
|
+
bPwn: "a52a2a",
|
|
147
|
+
burlywood: "deb887",
|
|
148
|
+
caMtXe: "5f9ea0",
|
|
149
|
+
KartYuse: "7fff00",
|
|
150
|
+
KocTate: "d2691e",
|
|
151
|
+
cSO: "ff7f50",
|
|
152
|
+
cSnflowerXe: "6495ed",
|
|
153
|
+
cSnsilk: "fff8dc",
|
|
154
|
+
crimson: "dc143c",
|
|
155
|
+
cyan: "ffff",
|
|
156
|
+
xXe: "8b",
|
|
157
|
+
xcyan: "8b8b",
|
|
158
|
+
xgTMnPd: "b8860b",
|
|
159
|
+
xWay: "a9a9a9",
|
|
160
|
+
xgYF: "6400",
|
|
161
|
+
xgYy: "a9a9a9",
|
|
162
|
+
xkhaki: "bdb76b",
|
|
163
|
+
xmagFta: "8b008b",
|
|
164
|
+
xTivegYF: "556b2f",
|
|
165
|
+
xSange: "ff8c00",
|
|
166
|
+
xScEd: "9932cc",
|
|
167
|
+
xYd: "8b0000",
|
|
168
|
+
xsOmon: "e9967a",
|
|
169
|
+
xsHgYF: "8fbc8f",
|
|
170
|
+
xUXe: "483d8b",
|
|
171
|
+
xUWay: "2f4f4f",
|
|
172
|
+
xUgYy: "2f4f4f",
|
|
173
|
+
xQe: "ced1",
|
|
174
|
+
xviTet: "9400d3",
|
|
175
|
+
dAppRk: "ff1493",
|
|
176
|
+
dApskyXe: "bfff",
|
|
177
|
+
dimWay: "696969",
|
|
178
|
+
dimgYy: "696969",
|
|
179
|
+
dodgerXe: "1e90ff",
|
|
180
|
+
fiYbrick: "b22222",
|
|
181
|
+
flSOwEte: "fffaf0",
|
|
182
|
+
foYstWAn: "228b22",
|
|
183
|
+
fuKsia: "ff00ff",
|
|
184
|
+
gaRsbSo: "dcdcdc",
|
|
185
|
+
ghostwEte: "f8f8ff",
|
|
186
|
+
gTd: "ffd700",
|
|
187
|
+
gTMnPd: "daa520",
|
|
188
|
+
Way: "808080",
|
|
189
|
+
gYF: "8000",
|
|
190
|
+
gYFLw: "adff2f",
|
|
191
|
+
gYy: "808080",
|
|
192
|
+
honeyMw: "f0fff0",
|
|
193
|
+
hotpRk: "ff69b4",
|
|
194
|
+
RdianYd: "cd5c5c",
|
|
195
|
+
Rdigo: "4b0082",
|
|
196
|
+
ivSy: "fffff0",
|
|
197
|
+
khaki: "f0e68c",
|
|
198
|
+
lavFMr: "e6e6fa",
|
|
199
|
+
lavFMrXsh: "fff0f5",
|
|
200
|
+
lawngYF: "7cfc00",
|
|
201
|
+
NmoncEffon: "fffacd",
|
|
202
|
+
ZXe: "add8e6",
|
|
203
|
+
ZcSO: "f08080",
|
|
204
|
+
Zcyan: "e0ffff",
|
|
205
|
+
ZgTMnPdLw: "fafad2",
|
|
206
|
+
ZWay: "d3d3d3",
|
|
207
|
+
ZgYF: "90ee90",
|
|
208
|
+
ZgYy: "d3d3d3",
|
|
209
|
+
ZpRk: "ffb6c1",
|
|
210
|
+
ZsOmon: "ffa07a",
|
|
211
|
+
ZsHgYF: "20b2aa",
|
|
212
|
+
ZskyXe: "87cefa",
|
|
213
|
+
ZUWay: "778899",
|
|
214
|
+
ZUgYy: "778899",
|
|
215
|
+
ZstAlXe: "b0c4de",
|
|
216
|
+
ZLw: "ffffe0",
|
|
217
|
+
lime: "ff00",
|
|
218
|
+
limegYF: "32cd32",
|
|
219
|
+
lRF: "faf0e6",
|
|
220
|
+
magFta: "ff00ff",
|
|
221
|
+
maPon: "800000",
|
|
222
|
+
VaquamarRe: "66cdaa",
|
|
223
|
+
VXe: "cd",
|
|
224
|
+
VScEd: "ba55d3",
|
|
225
|
+
VpurpN: "9370db",
|
|
226
|
+
VsHgYF: "3cb371",
|
|
227
|
+
VUXe: "7b68ee",
|
|
228
|
+
VsprRggYF: "fa9a",
|
|
229
|
+
VQe: "48d1cc",
|
|
230
|
+
VviTetYd: "c71585",
|
|
231
|
+
midnightXe: "191970",
|
|
232
|
+
mRtcYam: "f5fffa",
|
|
233
|
+
mistyPse: "ffe4e1",
|
|
234
|
+
moccasR: "ffe4b5",
|
|
235
|
+
navajowEte: "ffdead",
|
|
236
|
+
navy: "80",
|
|
237
|
+
Tdlace: "fdf5e6",
|
|
238
|
+
Tive: "808000",
|
|
239
|
+
TivedBb: "6b8e23",
|
|
240
|
+
Sange: "ffa500",
|
|
241
|
+
SangeYd: "ff4500",
|
|
242
|
+
ScEd: "da70d6",
|
|
243
|
+
pOegTMnPd: "eee8aa",
|
|
244
|
+
pOegYF: "98fb98",
|
|
245
|
+
pOeQe: "afeeee",
|
|
246
|
+
pOeviTetYd: "db7093",
|
|
247
|
+
papayawEp: "ffefd5",
|
|
248
|
+
pHKpuff: "ffdab9",
|
|
249
|
+
peru: "cd853f",
|
|
250
|
+
pRk: "ffc0cb",
|
|
251
|
+
plum: "dda0dd",
|
|
252
|
+
powMrXe: "b0e0e6",
|
|
253
|
+
purpN: "800080",
|
|
254
|
+
YbeccapurpN: "663399",
|
|
255
|
+
Yd: "ff0000",
|
|
256
|
+
Psybrown: "bc8f8f",
|
|
257
|
+
PyOXe: "4169e1",
|
|
258
|
+
saddNbPwn: "8b4513",
|
|
259
|
+
sOmon: "fa8072",
|
|
260
|
+
sandybPwn: "f4a460",
|
|
261
|
+
sHgYF: "2e8b57",
|
|
262
|
+
sHshell: "fff5ee",
|
|
263
|
+
siFna: "a0522d",
|
|
264
|
+
silver: "c0c0c0",
|
|
265
|
+
skyXe: "87ceeb",
|
|
266
|
+
UXe: "6a5acd",
|
|
267
|
+
UWay: "708090",
|
|
268
|
+
UgYy: "708090",
|
|
269
|
+
snow: "fffafa",
|
|
270
|
+
sprRggYF: "ff7f",
|
|
271
|
+
stAlXe: "4682b4",
|
|
272
|
+
tan: "d2b48c",
|
|
273
|
+
teO: "8080",
|
|
274
|
+
tEstN: "d8bfd8",
|
|
275
|
+
tomato: "ff6347",
|
|
276
|
+
Qe: "40e0d0",
|
|
277
|
+
viTet: "ee82ee",
|
|
278
|
+
JHt: "f5deb3",
|
|
279
|
+
wEte: "ffffff",
|
|
280
|
+
wEtesmoke: "f5f5f5",
|
|
281
|
+
Lw: "ffff00",
|
|
282
|
+
LwgYF: "9acd32"
|
|
283
|
+
};
|
|
284
|
+
function v() {
|
|
285
|
+
const f = {}, e = Object.keys(E), t = Object.keys(O);
|
|
286
|
+
let n, r, a, s, c;
|
|
287
|
+
for (n = 0; n < e.length; n++) {
|
|
288
|
+
for (s = c = e[n], r = 0; r < t.length; r++)
|
|
289
|
+
a = t[r], c = c.replace(a, O[a]);
|
|
290
|
+
a = parseInt(E[s], 16), f[c] = [a >> 16 & 255, a >> 8 & 255, a & 255];
|
|
291
|
+
}
|
|
292
|
+
return f;
|
|
293
|
+
}
|
|
294
|
+
let F;
|
|
295
|
+
function G(f) {
|
|
296
|
+
F || (F = v(), F.transparent = [0, 0, 0, 0]);
|
|
297
|
+
const e = F[f.toLowerCase()];
|
|
298
|
+
return e && {
|
|
299
|
+
r: e[0],
|
|
300
|
+
g: e[1],
|
|
301
|
+
b: e[2],
|
|
302
|
+
a: e.length === 4 ? e[3] : 255
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
const I = /^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;
|
|
306
|
+
function J(f) {
|
|
307
|
+
const e = I.exec(f);
|
|
308
|
+
let t = 255, n, r, a;
|
|
309
|
+
if (e) {
|
|
310
|
+
if (e[7] !== n) {
|
|
311
|
+
const s = +e[7];
|
|
312
|
+
t = e[8] ? l(s) : b(s * 255, 0, 255);
|
|
313
|
+
}
|
|
314
|
+
return n = +e[1], r = +e[3], a = +e[5], n = 255 & (e[2] ? l(n) : b(n, 0, 255)), r = 255 & (e[4] ? l(r) : b(r, 0, 255)), a = 255 & (e[6] ? l(a) : b(a, 0, 255)), {
|
|
315
|
+
r: n,
|
|
316
|
+
g: r,
|
|
317
|
+
b: a,
|
|
318
|
+
a: t
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
function z(f) {
|
|
323
|
+
return f && (f.a < 255 ? `rgba(${f.r}, ${f.g}, ${f.b}, ${o(f.a)})` : `rgb(${f.r}, ${f.g}, ${f.b})`);
|
|
324
|
+
}
|
|
325
|
+
const Y = (f) => f <= 31308e-7 ? f * 12.92 : Math.pow(f, 1 / 2.4) * 1.055 - 0.055, u = (f) => f <= 0.04045 ? f / 12.92 : Math.pow((f + 0.055) / 1.055, 2.4);
|
|
326
|
+
function ee(f, e, t) {
|
|
327
|
+
const n = u(o(f.r)), r = u(o(f.g)), a = u(o(f.b));
|
|
328
|
+
return {
|
|
329
|
+
r: d(Y(n + t * (u(o(e.r)) - n))),
|
|
330
|
+
g: d(Y(r + t * (u(o(e.g)) - r))),
|
|
331
|
+
b: d(Y(a + t * (u(o(e.b)) - a))),
|
|
332
|
+
a: f.a + t * (e.a - f.a)
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function p(f, e, t) {
|
|
336
|
+
if (f) {
|
|
337
|
+
let n = _(f);
|
|
338
|
+
n[e] = Math.max(0, Math.min(n[e] + n[e] * t, e === 0 ? 360 : 1)), n = S(n), f.r = n[0], f.g = n[1], f.b = n[2];
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
function T(f, e) {
|
|
342
|
+
return f && Object.assign(e || {}, f);
|
|
343
|
+
}
|
|
344
|
+
function R(f) {
|
|
345
|
+
var e = { r: 0, g: 0, b: 0, a: 255 };
|
|
346
|
+
return Array.isArray(f) ? f.length >= 3 && (e = { r: f[0], g: f[1], b: f[2], a: 255 }, f.length > 3 && (e.a = d(f[3]))) : (e = T(f, { r: 0, g: 0, b: 0, a: 1 }), e.a = d(e.a)), e;
|
|
347
|
+
}
|
|
348
|
+
function fe(f) {
|
|
349
|
+
return f.charAt(0) === "r" ? J(f) : Q(f);
|
|
350
|
+
}
|
|
351
|
+
class k {
|
|
352
|
+
constructor(e) {
|
|
353
|
+
if (e instanceof k)
|
|
354
|
+
return e;
|
|
355
|
+
const t = typeof e;
|
|
356
|
+
let n;
|
|
357
|
+
t === "object" ? n = R(e) : t === "string" && (n = V(e) || G(e) || fe(e)), this._rgb = n, this._valid = !!n;
|
|
358
|
+
}
|
|
359
|
+
get valid() {
|
|
360
|
+
return this._valid;
|
|
361
|
+
}
|
|
362
|
+
get rgb() {
|
|
363
|
+
var e = T(this._rgb);
|
|
364
|
+
return e && (e.a = o(e.a)), e;
|
|
365
|
+
}
|
|
366
|
+
set rgb(e) {
|
|
367
|
+
this._rgb = R(e);
|
|
368
|
+
}
|
|
369
|
+
rgbString() {
|
|
370
|
+
return this._valid ? z(this._rgb) : void 0;
|
|
371
|
+
}
|
|
372
|
+
hexString() {
|
|
373
|
+
return this._valid ? W(this._rgb) : void 0;
|
|
374
|
+
}
|
|
375
|
+
hslString() {
|
|
376
|
+
return this._valid ? D(this._rgb) : void 0;
|
|
377
|
+
}
|
|
378
|
+
mix(e, t) {
|
|
379
|
+
if (e) {
|
|
380
|
+
const n = this.rgb, r = e.rgb;
|
|
381
|
+
let a;
|
|
382
|
+
const s = t === a ? 0.5 : t, c = 2 * s - 1, g = n.a - r.a, h = ((c * g === -1 ? c : (c + g) / (1 + c * g)) + 1) / 2;
|
|
383
|
+
a = 1 - h, n.r = 255 & h * n.r + a * r.r + 0.5, n.g = 255 & h * n.g + a * r.g + 0.5, n.b = 255 & h * n.b + a * r.b + 0.5, n.a = s * n.a + (1 - s) * r.a, this.rgb = n;
|
|
384
|
+
}
|
|
385
|
+
return this;
|
|
386
|
+
}
|
|
387
|
+
interpolate(e, t) {
|
|
388
|
+
return e && (this._rgb = ee(this._rgb, e._rgb, t)), this;
|
|
389
|
+
}
|
|
390
|
+
clone() {
|
|
391
|
+
return new k(this.rgb);
|
|
392
|
+
}
|
|
393
|
+
alpha(e) {
|
|
394
|
+
return this._rgb.a = d(e), this;
|
|
395
|
+
}
|
|
396
|
+
clearer(e) {
|
|
397
|
+
const t = this._rgb;
|
|
398
|
+
return t.a *= 1 - e, this;
|
|
399
|
+
}
|
|
400
|
+
greyscale() {
|
|
401
|
+
const e = this._rgb, t = m(e.r * 0.3 + e.g * 0.59 + e.b * 0.11);
|
|
402
|
+
return e.r = e.g = e.b = t, this;
|
|
403
|
+
}
|
|
404
|
+
opaquer(e) {
|
|
405
|
+
const t = this._rgb;
|
|
406
|
+
return t.a *= 1 + e, this;
|
|
407
|
+
}
|
|
408
|
+
negate() {
|
|
409
|
+
const e = this._rgb;
|
|
410
|
+
return e.r = 255 - e.r, e.g = 255 - e.g, e.b = 255 - e.b, this;
|
|
411
|
+
}
|
|
412
|
+
lighten(e) {
|
|
413
|
+
return p(this._rgb, 2, e), this;
|
|
414
|
+
}
|
|
415
|
+
darken(e) {
|
|
416
|
+
return p(this._rgb, 2, -e), this;
|
|
417
|
+
}
|
|
418
|
+
saturate(e) {
|
|
419
|
+
return p(this._rgb, 1, e), this;
|
|
420
|
+
}
|
|
421
|
+
desaturate(e) {
|
|
422
|
+
return p(this._rgb, 1, -e), this;
|
|
423
|
+
}
|
|
424
|
+
rotate(e) {
|
|
425
|
+
return C(this._rgb, e), this;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
export {
|
|
429
|
+
k as Color,
|
|
430
|
+
o as b2n,
|
|
431
|
+
V as hexParse,
|
|
432
|
+
W as hexString,
|
|
433
|
+
S as hsl2rgb,
|
|
434
|
+
D as hslString,
|
|
435
|
+
B as hsv2rgb,
|
|
436
|
+
Q as hueParse,
|
|
437
|
+
K as hwb2rgb,
|
|
438
|
+
b as lim,
|
|
439
|
+
d as n2b,
|
|
440
|
+
X as n2p,
|
|
441
|
+
G as nameParse,
|
|
442
|
+
l as p2b,
|
|
443
|
+
_ as rgb2hsl,
|
|
444
|
+
J as rgbParse,
|
|
445
|
+
z as rgbString,
|
|
446
|
+
C as rotate,
|
|
447
|
+
m as round
|
|
448
|
+
};
|