@asymmetric-effort/specifyjs 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/chunks/{chunk-PGUFCUSX.js → chunk-5NXJ7PRB.js} +1 -1
- package/dist/esm/chunks/{chunk-4V37N6QN.js → chunk-AQX42M4L.js} +109 -2
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/components-barrel.js +87 -3
- package/dist/esm/dom/index.js +1 -1
- package/dist/esm/index.js +18 -4
- package/dist/esm/telemetry/index.js +1 -1
- package/dist/specifyjs-build.d.ts +1 -1
- package/dist/specifyjs-client.cjs.js +1 -1
- package/dist/specifyjs-client.d.ts +1 -1
- package/dist/specifyjs-client.esm.js +1 -1
- package/dist/specifyjs-components.cjs.js +4 -4
- package/dist/specifyjs-components.d.ts +1 -1
- package/dist/specifyjs-components.esm.js +87 -3
- package/dist/specifyjs-dom.cjs.js +1 -1
- package/dist/specifyjs-dom.d.ts +1 -1
- package/dist/specifyjs-dom.esm.js +1 -1
- package/dist/specifyjs-jsx-dev-runtime.cjs.js +1 -1
- package/dist/specifyjs-jsx-runtime.cjs.js +1 -1
- package/dist/specifyjs-server.d.ts +1 -1
- package/dist/specifyjs-telemetry.cjs.js +1 -1
- package/dist/specifyjs-telemetry.d.ts +1 -1
- package/dist/specifyjs-telemetry.esm.js +1 -1
- package/dist/specifyjs.cjs.js +1 -1
- package/dist/specifyjs.d.ts +1 -1
- package/dist/specifyjs.esm.js +18 -4
- package/dist/types/build/index.d.ts +4 -4
- package/dist/types/client/index.d.ts +3 -3
- package/dist/types/components/ad/adsense/src/index.d.ts +2 -2
- package/dist/types/components/analytics/google-analytics/src/index.d.ts +2 -2
- package/dist/types/components/component.d.ts +1 -1
- package/dist/types/components/data/analog-clock/src/index.d.ts +2 -2
- package/dist/types/components/data/avatar/src/index.d.ts +2 -2
- package/dist/types/components/data/badge/src/index.d.ts +2 -2
- package/dist/types/components/data/board/src/Board.d.ts +2 -2
- package/dist/types/components/data/board/src/BoardReducer.d.ts +1 -1
- package/dist/types/components/data/board/src/Card.d.ts +2 -2
- package/dist/types/components/data/board/src/CardLink.d.ts +1 -1
- package/dist/types/components/data/board/src/Container.d.ts +1 -1
- package/dist/types/components/data/board/src/NamespaceValidator.d.ts +1 -1
- package/dist/types/components/data/board/src/index.d.ts +13 -13
- package/dist/types/components/data/data-grid/src/index.d.ts +2 -2
- package/dist/types/components/data/digital-clock/src/index.d.ts +2 -2
- package/dist/types/components/data/list-view/src/index.d.ts +2 -2
- package/dist/types/components/data/tag/src/index.d.ts +2 -2
- package/dist/types/components/data/virtual-scroll/src/index.d.ts +2 -2
- package/dist/types/components/error-boundary.d.ts +2 -2
- package/dist/types/components/errors/_shared/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-400/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-401/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-403/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-404/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-405/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-408/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-429/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-500/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-502/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-503/src/index.d.ts +2 -2
- package/dist/types/components/errors/http-504/src/index.d.ts +2 -2
- package/dist/types/components/feedback/alert/src/index.d.ts +2 -2
- package/dist/types/components/feedback/banner/src/index.d.ts +2 -2
- package/dist/types/components/feedback/empty-state/src/index.d.ts +2 -2
- package/dist/types/components/feedback/progress-bar/src/index.d.ts +2 -2
- package/dist/types/components/feedback/skeleton/src/index.d.ts +2 -2
- package/dist/types/components/feedback/spinner/src/index.d.ts +2 -2
- package/dist/types/components/form/buildable-list/src/index.d.ts +2 -2
- package/dist/types/components/form/button/src/index.d.ts +2 -2
- package/dist/types/components/form/checkbox/src/index.d.ts +2 -2
- package/dist/types/components/form/color-picker/src/index.d.ts +2 -2
- package/dist/types/components/form/color-wheel/src/index.d.ts +2 -2
- package/dist/types/components/form/datepicker/src/index.d.ts +2 -2
- package/dist/types/components/form/file-upload/src/index.d.ts +2 -2
- package/dist/types/components/form/multiline/src/MultilineField.d.ts +1 -1
- package/dist/types/components/form/multiline/src/index.d.ts +2 -2
- package/dist/types/components/form/number-spinner/src/index.d.ts +2 -2
- package/dist/types/components/form/radio/src/index.d.ts +2 -2
- package/dist/types/components/form/select/src/index.d.ts +2 -2
- package/dist/types/components/form/slider/src/index.d.ts +2 -2
- package/dist/types/components/form/texteditor/src/TextEditor.d.ts +1 -1
- package/dist/types/components/form/texteditor/src/index.d.ts +2 -2
- package/dist/types/components/form/textfield/src/TextField.d.ts +1 -1
- package/dist/types/components/form/textfield/src/index.d.ts +2 -2
- package/dist/types/components/form/timepicker/src/index.d.ts +2 -2
- package/dist/types/components/form/toggle/src/index.d.ts +2 -2
- package/dist/types/components/form/wrapper/src/index.d.ts +2 -2
- package/dist/types/components/layout/app-drag-drop/src/index.d.ts +2 -2
- package/dist/types/components/layout/app-message-bus/src/index.d.ts +2 -2
- package/dist/types/components/layout/card/src/index.d.ts +2 -2
- package/dist/types/components/layout/desktop-background/src/DesktopBackground.d.ts +1 -1
- package/dist/types/components/layout/desktop-background/src/index.d.ts +2 -2
- package/dist/types/components/layout/draggable-window/src/DraggableWindow.d.ts +1 -1
- package/dist/types/components/layout/draggable-window/src/index.d.ts +4 -4
- package/dist/types/components/layout/flex-container/src/index.d.ts +2 -2
- package/dist/types/components/layout/footer/src/index.d.ts +2 -2
- package/dist/types/components/layout/grid/src/index.d.ts +2 -2
- package/dist/types/components/layout/panel/src/index.d.ts +2 -2
- package/dist/types/components/layout/scroll-container/src/index.d.ts +2 -2
- package/dist/types/components/layout/splitter/src/index.d.ts +2 -2
- package/dist/types/components/layout/tabs/src/index.d.ts +2 -2
- package/dist/types/components/layout/window-manager/src/index.d.ts +2 -2
- package/dist/types/components/math/src/index.d.ts +5 -5
- package/dist/types/components/math/src/mat4.d.ts +2 -2
- package/dist/types/components/math/src/quaternion.d.ts +1 -1
- package/dist/types/components/math/src/solver.d.ts +1 -1
- package/dist/types/components/media/carousel/src/index.d.ts +2 -2
- package/dist/types/components/media/image/src/index.d.ts +2 -2
- package/dist/types/components/media/video-player/src/index.d.ts +2 -2
- package/dist/types/components/nav/accordion/src/Accordion.d.ts +1 -1
- package/dist/types/components/nav/accordion/src/index.d.ts +2 -2
- package/dist/types/components/nav/breadcrumb/src/index.d.ts +2 -2
- package/dist/types/components/nav/dock/src/index.d.ts +2 -2
- package/dist/types/components/nav/dropdown/src/Dropdown.d.ts +1 -1
- package/dist/types/components/nav/dropdown/src/index.d.ts +2 -2
- package/dist/types/components/nav/menubar/src/index.d.ts +2 -2
- package/dist/types/components/nav/pagination/src/index.d.ts +2 -2
- package/dist/types/components/nav/sidebar/src/index.d.ts +2 -2
- package/dist/types/components/nav/stepper/src/index.d.ts +2 -2
- package/dist/types/components/nav/system-tray/src/index.d.ts +2 -2
- package/dist/types/components/nav/toolbar/src/index.d.ts +2 -2
- package/dist/types/components/nav/treenav/src/TreeNav.d.ts +3 -3
- package/dist/types/components/nav/treenav/src/index.d.ts +4 -4
- package/dist/types/components/nav/wrapper/src/index.d.ts +2 -2
- package/dist/types/components/overlay/context-menu/src/index.d.ts +2 -2
- package/dist/types/components/overlay/drawer/src/index.d.ts +2 -2
- package/dist/types/components/overlay/modal/src/index.d.ts +2 -2
- package/dist/types/components/overlay/popover/src/index.d.ts +2 -2
- package/dist/types/components/overlay/toast/src/index.d.ts +2 -2
- package/dist/types/components/overlay/tooltip/src/index.d.ts +2 -2
- package/dist/types/components/page/ide/src/index.d.ts +19 -19
- package/dist/types/components/page/trading-dashboard/src/index.d.ts +2 -2
- package/dist/types/components/page/unity-desktop/src/UnityApp.d.ts +2 -2
- package/dist/types/components/page/unity-desktop/src/UnityDesktop.d.ts +1 -1
- package/dist/types/components/page/unity-desktop/src/index.d.ts +8 -8
- package/dist/types/components/page/word-processor/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-bar-graph/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-cartesian-raw/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-complex-graph/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-discrete-cartesian/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-line-graph/src/index.d.ts +2 -2
- package/dist/types/components/viz/2D-pie-graph/src/index.d.ts +3 -3
- package/dist/types/components/viz/2D-polar-graph/src/index.d.ts +2 -2
- package/dist/types/components/viz/3d-force-graph/src/ForceGraph3D.d.ts +4 -4
- package/dist/types/components/viz/3d-force-graph/src/force-sim.d.ts +1 -1
- package/dist/types/components/viz/3d-force-graph/src/index.d.ts +6 -6
- package/dist/types/components/viz/3d-force-graph/src/types.d.ts +5 -5
- package/dist/types/components/viz/3d-layers/src/index.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/Space3D.d.ts +12 -12
- package/dist/types/components/viz/3dSpace/src/animation.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/bounds.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/camera-controller.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/camera.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/collision.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/cpu-pipeline.d.ts +7 -7
- package/dist/types/components/viz/3dSpace/src/geom-polyhedron.d.ts +3 -3
- package/dist/types/components/viz/3dSpace/src/geom-sphere.d.ts +3 -3
- package/dist/types/components/viz/3dSpace/src/index.d.ts +37 -37
- package/dist/types/components/viz/3dSpace/src/light.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/lighting-model.d.ts +3 -3
- package/dist/types/components/viz/3dSpace/src/material.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/picking.d.ts +5 -5
- package/dist/types/components/viz/3dSpace/src/pipeline-factory.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/raycast.d.ts +4 -4
- package/dist/types/components/viz/3dSpace/src/render-pipeline.d.ts +5 -5
- package/dist/types/components/viz/3dSpace/src/scene-graph.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/scene-object.d.ts +4 -4
- package/dist/types/components/viz/3dSpace/src/terrain.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/texture.d.ts +1 -1
- package/dist/types/components/viz/3dSpace/src/types.d.ts +4 -4
- package/dist/types/components/viz/3dSpace/src/viewport.d.ts +2 -2
- package/dist/types/components/viz/3dSpace/src/webgl-pipeline.d.ts +6 -6
- package/dist/types/components/viz/3dSpace/src/webgpu-pipeline.d.ts +6 -6
- package/dist/types/components/viz/big-number/src/index.d.ts +2 -2
- package/dist/types/components/viz/bloch-sphere/src/index.d.ts +2 -2
- package/dist/types/components/viz/box-plot/src/index.d.ts +2 -2
- package/dist/types/components/viz/bubble-chart/src/index.d.ts +2 -2
- package/dist/types/components/viz/calendar-heat-map/src/index.d.ts +2 -2
- package/dist/types/components/viz/chord/src/index.d.ts +2 -2
- package/dist/types/components/viz/decomposition-tree/src/index.d.ts +2 -2
- package/dist/types/components/viz/earth-globe/src/index.d.ts +5 -5
- package/dist/types/components/viz/force-graph/src/index.d.ts +2 -2
- package/dist/types/components/viz/funnel/src/index.d.ts +2 -2
- package/dist/types/components/viz/gantt-chart/src/index.d.ts +2 -2
- package/dist/types/components/viz/gauge/src/index.d.ts +2 -2
- package/dist/types/components/viz/graph/src/HypercubeGraph.d.ts +1 -1
- package/dist/types/components/viz/graph/src/index.d.ts +4 -4
- package/dist/types/components/viz/heat-map/src/index.d.ts +2 -2
- package/dist/types/components/viz/histogram/src/index.d.ts +2 -2
- package/dist/types/components/viz/lollipop/src/index.d.ts +2 -2
- package/dist/types/components/viz/matrix/src/index.d.ts +2 -2
- package/dist/types/components/viz/partition/src/index.d.ts +2 -2
- package/dist/types/components/viz/pivot-table/src/index.d.ts +2 -2
- package/dist/types/components/viz/radar-chart/src/index.d.ts +2 -2
- package/dist/types/components/viz/sankey/src/index.d.ts +2 -2
- package/dist/types/components/viz/sunburst/src/index.d.ts +2 -2
- package/dist/types/components/viz/tree-map/src/index.d.ts +2 -2
- package/dist/types/components/viz/us-state-map/src/index.d.ts +4 -4
- package/dist/types/components/viz/vector-field/src/index.d.ts +2 -2
- package/dist/types/components/viz/waterfall/src/index.d.ts +2 -2
- package/dist/types/components/viz/word-cloud/src/index.d.ts +2 -2
- package/dist/types/components/viz/wrapper/src/index.d.ts +2 -2
- package/dist/types/compute/context.d.ts +1 -1
- package/dist/types/compute/cpu-backend.d.ts +1 -1
- package/dist/types/compute/index.d.ts +2 -2
- package/dist/types/compute/webgl-backend.d.ts +1 -1
- package/dist/types/compute/webgpu-backend.d.ts +1 -1
- package/dist/types/context/create-context.d.ts +1 -1
- package/dist/types/core/children.d.ts +1 -1
- package/dist/types/core/clone-element.d.ts +1 -1
- package/dist/types/core/create-element.d.ts +1 -1
- package/dist/types/core/create-ref.d.ts +1 -1
- package/dist/types/core/fiber.d.ts +1 -1
- package/dist/types/core/forward-ref.d.ts +1 -1
- package/dist/types/core/is-valid-element.d.ts +1 -1
- package/dist/types/core/lazy.d.ts +1 -1
- package/dist/types/core/memo.d.ts +1 -1
- package/dist/types/core/reconciler.d.ts +1 -1
- package/dist/types/core/src/build/index.d.ts +4 -4
- package/dist/types/core/src/client/index.d.ts +3 -3
- package/dist/types/core/src/components/component.d.ts +1 -1
- package/dist/types/core/src/components/error-boundary.d.ts +2 -2
- package/dist/types/core/src/components-barrel.d.ts +103 -103
- package/dist/types/core/src/compute/context.d.ts +1 -1
- package/dist/types/core/src/compute/cpu-backend.d.ts +1 -1
- package/dist/types/core/src/compute/index.d.ts +2 -2
- package/dist/types/core/src/compute/webgl-backend.d.ts +1 -1
- package/dist/types/core/src/compute/webgpu-backend.d.ts +1 -1
- package/dist/types/core/src/context/create-context.d.ts +1 -1
- package/dist/types/core/src/core/children.d.ts +1 -1
- package/dist/types/core/src/core/clone-element.d.ts +1 -1
- package/dist/types/core/src/core/create-element.d.ts +1 -1
- package/dist/types/core/src/core/create-ref.d.ts +1 -1
- package/dist/types/core/src/core/fiber.d.ts +1 -1
- package/dist/types/core/src/core/forward-ref.d.ts +1 -1
- package/dist/types/core/src/core/is-valid-element.d.ts +1 -1
- package/dist/types/core/src/core/lazy.d.ts +1 -1
- package/dist/types/core/src/core/memo.d.ts +1 -1
- package/dist/types/core/src/core/reconciler.d.ts +1 -1
- package/dist/types/core/src/devtools/index.d.ts +1 -1
- package/dist/types/core/src/dom/create-portal.d.ts +1 -1
- package/dist/types/core/src/dom/create-root.d.ts +1 -1
- package/dist/types/core/src/dom/index.d.ts +4 -4
- package/dist/types/core/src/dom/legacy.d.ts +1 -1
- package/dist/types/core/src/dom/work-loop.d.ts +1 -1
- package/dist/types/core/src/features/feature-flags.d.ts +1 -1
- package/dist/types/core/src/features/index.d.ts +2 -2
- package/dist/types/core/src/hooks/breakpoints.d.ts +15 -0
- package/dist/types/core/src/hooks/dispatcher.d.ts +1 -1
- package/dist/types/core/src/hooks/hook-state.d.ts +1 -1
- package/dist/types/core/src/hooks/index.d.ts +9 -3
- package/dist/types/core/src/hooks/use-breakpoint.d.ts +8 -0
- package/dist/types/core/src/hooks/use-media-query.d.ts +1 -0
- package/dist/types/core/src/hooks/use-window-size.d.ts +11 -0
- package/dist/types/core/src/index.d.ts +26 -23
- package/dist/types/core/src/jsx-dev-runtime.d.ts +1 -1
- package/dist/types/core/src/jsx-runtime.d.ts +2 -2
- package/dist/types/core/src/router/index.d.ts +12 -12
- package/dist/types/core/src/router/link-component.d.ts +1 -1
- package/dist/types/core/src/router/route-component.d.ts +1 -1
- package/dist/types/core/src/router/router-component.d.ts +1 -1
- package/dist/types/core/src/router/use-router.d.ts +1 -1
- package/dist/types/core/src/server/index.d.ts +3 -3
- package/dist/types/core/src/server/render-to-pipeable-stream.d.ts +1 -1
- package/dist/types/core/src/server/render-to-readable-stream.d.ts +1 -1
- package/dist/types/core/src/server/render-to-string.d.ts +1 -1
- package/dist/types/core/src/shared/types.d.ts +2 -2
- package/dist/types/core/src/telemetry/index.d.ts +2 -2
- package/dist/types/core/src/telemetry/metrics.d.ts +1 -1
- package/dist/types/demos/project-manager/src/Board.d.ts +4 -4
- package/dist/types/demos/project-manager/src/BoardState.d.ts +3 -3
- package/dist/types/demos/project-manager/src/InterApp.d.ts +1 -1
- package/dist/types/demos/project-manager/src/LocalStorage.d.ts +1 -1
- package/dist/types/demos/project-manager/src/types.d.ts +2 -2
- package/dist/types/devtools/index.d.ts +1 -1
- package/dist/types/dom/create-portal.d.ts +1 -1
- package/dist/types/dom/create-root.d.ts +1 -1
- package/dist/types/dom/index.d.ts +4 -4
- package/dist/types/dom/legacy.d.ts +1 -1
- package/dist/types/dom/work-loop.d.ts +1 -1
- package/dist/types/features/feature-flags.d.ts +1 -1
- package/dist/types/features/index.d.ts +2 -2
- package/dist/types/hooks/breakpoints.d.ts +15 -0
- package/dist/types/hooks/dispatcher.d.ts +1 -1
- package/dist/types/hooks/hook-state.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +9 -3
- package/dist/types/hooks/use-breakpoint.d.ts +8 -0
- package/dist/types/hooks/use-media-query.d.ts +1 -0
- package/dist/types/hooks/use-window-size.d.ts +11 -0
- package/dist/types/index.d.ts +26 -23
- package/dist/types/jsx-dev-runtime.d.ts +1 -1
- package/dist/types/jsx-runtime.d.ts +2 -2
- package/dist/types/router/index.d.ts +12 -12
- package/dist/types/router/link-component.d.ts +1 -1
- package/dist/types/router/route-component.d.ts +1 -1
- package/dist/types/router/router-component.d.ts +1 -1
- package/dist/types/router/use-router.d.ts +1 -1
- package/dist/types/server/index.d.ts +3 -3
- package/dist/types/server/render-to-pipeable-stream.d.ts +1 -1
- package/dist/types/server/render-to-readable-stream.d.ts +1 -1
- package/dist/types/server/render-to-string.d.ts +1 -1
- package/dist/types/shared/types.d.ts +2 -2
- package/dist/types/telemetry/index.d.ts +2 -2
- package/dist/types/telemetry/metrics.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TreeNode } from './TreeNode';
|
|
2
|
-
export { TreeNav } from './TreeNav';
|
|
3
|
-
export type { TreeNodeData } from './TreeNode';
|
|
4
|
-
export type { TreeNavProps } from './TreeNav';
|
|
1
|
+
export { TreeNode } from './TreeNode.js';
|
|
2
|
+
export { TreeNav } from './TreeNav.js';
|
|
3
|
+
export type { TreeNodeData } from './TreeNode.js';
|
|
4
|
+
export type { TreeNavProps } from './TreeNav.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { NavWrapper, buildNavItemStyle, useHover, } from './NavWrapper';
|
|
2
|
-
export type { NavWrapperProps, NavWrapperStyle, NavOrientation, NavItemStyle, } from './NavWrapper';
|
|
1
|
+
export { NavWrapper, buildNavItemStyle, useHover, } from './NavWrapper.js';
|
|
2
|
+
export type { NavWrapperProps, NavWrapperStyle, NavOrientation, NavItemStyle, } from './NavWrapper.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ContextMenu } from './ContextMenu';
|
|
2
|
-
export type { ContextMenuProps, ContextMenuItem } from './ContextMenu';
|
|
1
|
+
export { ContextMenu } from './ContextMenu.js';
|
|
2
|
+
export type { ContextMenuProps, ContextMenuItem } from './ContextMenu.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Drawer } from './Drawer';
|
|
2
|
-
export type { DrawerProps, DrawerPosition } from './Drawer';
|
|
1
|
+
export { Drawer } from './Drawer.js';
|
|
2
|
+
export type { DrawerProps, DrawerPosition } from './Drawer.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Modal } from './Modal';
|
|
2
|
-
export type { ModalProps, ModalSize } from './Modal';
|
|
1
|
+
export { Modal } from './Modal.js';
|
|
2
|
+
export type { ModalProps, ModalSize } from './Modal.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Popover } from './Popover';
|
|
2
|
-
export type { PopoverProps, PopoverPlacement } from './Popover';
|
|
1
|
+
export { Popover } from './Popover.js';
|
|
2
|
+
export type { PopoverProps, PopoverPlacement } from './Popover.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ToastContainer, createToaster, useToast } from './Toast';
|
|
2
|
-
export type { ToastPosition, ToastType, ToastAction, ToastOptions, ToasterConfig, ToastItem, Toaster, } from './Toast';
|
|
1
|
+
export { ToastContainer, createToaster, useToast } from './Toast.js';
|
|
2
|
+
export type { ToastPosition, ToastType, ToastAction, ToastOptions, ToasterConfig, ToastItem, Toaster, } from './Toast.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tooltip } from './Tooltip';
|
|
2
|
-
export type { TooltipProps, TooltipPlacement } from './Tooltip';
|
|
1
|
+
export { Tooltip } from './Tooltip.js';
|
|
2
|
+
export type { TooltipProps, TooltipPlacement } from './Tooltip.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { IDE } from './IDE';
|
|
2
|
-
export type { IDEProps } from './IDE';
|
|
3
|
-
export { TitleBar } from './TitleBar';
|
|
4
|
-
export type { TitleBarProps } from './TitleBar';
|
|
5
|
-
export { MenuBar } from './MenuBar';
|
|
6
|
-
export type { MenuBarProps, MenuItem } from './MenuBar';
|
|
7
|
-
export { FileExplorer } from './FileExplorer';
|
|
8
|
-
export type { FileExplorerProps, FileEntry } from './FileExplorer';
|
|
9
|
-
export { TabBar } from './TabBar';
|
|
10
|
-
export type { TabBarProps } from './TabBar';
|
|
11
|
-
export { CodeEditor } from './CodeEditor';
|
|
12
|
-
export type { CodeEditorProps } from './CodeEditor';
|
|
13
|
-
export { Minimap } from './Minimap';
|
|
14
|
-
export type { MinimapProps } from './Minimap';
|
|
15
|
-
export { StatusBar } from './StatusBar';
|
|
16
|
-
export type { StatusBarProps, StatusItem } from './StatusBar';
|
|
17
|
-
export { tokenizeLine } from './SyntaxHighlighter';
|
|
18
|
-
export type { Token } from './SyntaxHighlighter';
|
|
19
|
-
export { COL_KEYWORD, COL_STRING, COL_TYPE, COL_COMMENT, COL_FUNCTION, COL_DEFAULT, COL_PUNCTUATION, COL_NUMBER, } from './SyntaxHighlighter';
|
|
1
|
+
export { IDE } from './IDE.js';
|
|
2
|
+
export type { IDEProps } from './IDE.js';
|
|
3
|
+
export { TitleBar } from './TitleBar.js';
|
|
4
|
+
export type { TitleBarProps } from './TitleBar.js';
|
|
5
|
+
export { MenuBar } from './MenuBar.js';
|
|
6
|
+
export type { MenuBarProps, MenuItem } from './MenuBar.js';
|
|
7
|
+
export { FileExplorer } from './FileExplorer.js';
|
|
8
|
+
export type { FileExplorerProps, FileEntry } from './FileExplorer.js';
|
|
9
|
+
export { TabBar } from './TabBar.js';
|
|
10
|
+
export type { TabBarProps } from './TabBar.js';
|
|
11
|
+
export { CodeEditor } from './CodeEditor.js';
|
|
12
|
+
export type { CodeEditorProps } from './CodeEditor.js';
|
|
13
|
+
export { Minimap } from './Minimap.js';
|
|
14
|
+
export type { MinimapProps } from './Minimap.js';
|
|
15
|
+
export { StatusBar } from './StatusBar.js';
|
|
16
|
+
export type { StatusBarProps, StatusItem } from './StatusBar.js';
|
|
17
|
+
export { tokenizeLine } from './SyntaxHighlighter.js';
|
|
18
|
+
export type { Token } from './SyntaxHighlighter.js';
|
|
19
|
+
export { COL_KEYWORD, COL_STRING, COL_TYPE, COL_COMMENT, COL_FUNCTION, COL_DEFAULT, COL_PUNCTUATION, COL_NUMBER, } from './SyntaxHighlighter.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TradingDashboard } from './TradingDashboard';
|
|
2
|
-
export type { TradingDashboardProps } from './TradingDashboard';
|
|
1
|
+
export { TradingDashboard } from './TradingDashboard.js';
|
|
2
|
+
export type { TradingDashboardProps } from './TradingDashboard.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AppMenuBar } from '../../../layout/window-manager/src/index';
|
|
2
|
-
import type { StatusBarProps } from '../../../layout/draggable-window/src/index';
|
|
1
|
+
import type { AppMenuBar } from '../../../layout/window-manager/src/index.js';
|
|
2
|
+
import type { StatusBarProps } from '../../../layout/draggable-window/src/index.js';
|
|
3
3
|
export interface UnityAppProps {
|
|
4
4
|
/** Unique identifier for this app window */
|
|
5
5
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { UnityDesktop } from './UnityDesktop';
|
|
2
|
-
export type { UnityDesktopProps, UnityDesktopApp, UnityDesktopUser, ToastNotification } from './UnityDesktop';
|
|
3
|
-
export { UnityApp } from './UnityApp';
|
|
4
|
-
export type { UnityAppProps } from './UnityApp';
|
|
5
|
-
export { MessageBusProvider, useMessageBus, useChannel, AppContextProvider, useAppId, } from '../../../layout/app-message-bus/src/index';
|
|
6
|
-
export type { AppMessage, MessageBusContextValue, AppContextValue, } from '../../../layout/app-message-bus/src/index';
|
|
7
|
-
export { DragDropProvider, useDragDrop, useDraggable, useDropZone, } from '../../../layout/app-drag-drop/src/index';
|
|
8
|
-
export type { DragPayload, DropZone, DragDropContextValue, } from '../../../layout/app-drag-drop/src/index';
|
|
1
|
+
export { UnityDesktop } from './UnityDesktop.js';
|
|
2
|
+
export type { UnityDesktopProps, UnityDesktopApp, UnityDesktopUser, ToastNotification } from './UnityDesktop.js';
|
|
3
|
+
export { UnityApp } from './UnityApp.js';
|
|
4
|
+
export type { UnityAppProps } from './UnityApp.js';
|
|
5
|
+
export { MessageBusProvider, useMessageBus, useChannel, AppContextProvider, useAppId, } from '../../../layout/app-message-bus/src/index.js';
|
|
6
|
+
export type { AppMessage, MessageBusContextValue, AppContextValue, } from '../../../layout/app-message-bus/src/index.js';
|
|
7
|
+
export { DragDropProvider, useDragDrop, useDraggable, useDropZone, } from '../../../layout/app-drag-drop/src/index.js';
|
|
8
|
+
export type { DragPayload, DropZone, DragDropContextValue, } from '../../../layout/app-drag-drop/src/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { WordProcessor } from './WordProcessor';
|
|
2
|
-
export type { WordProcessorProps } from './WordProcessor';
|
|
1
|
+
export { WordProcessor } from './WordProcessor.js';
|
|
2
|
+
export type { WordProcessorProps } from './WordProcessor.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BarGraph, useBarGraphScales } from './BarGraph';
|
|
2
|
-
export type { BarGraphProps, BarGraphScales, BarDatum, StackedBarDatum } from './BarGraph';
|
|
1
|
+
export { BarGraph, useBarGraphScales } from './BarGraph.js';
|
|
2
|
+
export type { BarGraphProps, BarGraphScales, BarDatum, StackedBarDatum } from './BarGraph.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CartesianGraph2D } from './CartesianGraph2D';
|
|
2
|
-
export type { CartesianGraph2DProps, PointEvent } from './CartesianGraph2D';
|
|
1
|
+
export { CartesianGraph2D } from './CartesianGraph2D.js';
|
|
2
|
+
export type { CartesianGraph2DProps, PointEvent } from './CartesianGraph2D.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ComplexGraph2D, computeMandelbrotGrid } from './ComplexGraph2D';
|
|
2
|
-
export type { ComplexGraph2DProps, ComplexPointInfo } from './ComplexGraph2D';
|
|
1
|
+
export { ComplexGraph2D, computeMandelbrotGrid } from './ComplexGraph2D.js';
|
|
2
|
+
export type { ComplexGraph2DProps, ComplexPointInfo } from './ComplexGraph2D.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DiscreteCartesian2D } from './DiscreteCartesian2D';
|
|
2
|
-
export type { DiscreteCartesian2DProps } from './DiscreteCartesian2D';
|
|
1
|
+
export { DiscreteCartesian2D } from './DiscreteCartesian2D.js';
|
|
2
|
+
export type { DiscreteCartesian2DProps } from './DiscreteCartesian2D.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LineGraph, useLineGraphScales } from './LineGraph';
|
|
2
|
-
export type { LineGraphProps, LineSeries, Point, PointShape } from './LineGraph';
|
|
1
|
+
export { LineGraph, useLineGraphScales } from './LineGraph.js';
|
|
2
|
+
export type { LineGraphProps, LineSeries, Point, PointShape } from './LineGraph.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { PieGraph } from './PieGraph';
|
|
2
|
-
export { describeArc, computeSlices } from './PieGraph';
|
|
3
|
-
export type { PieGraphProps, PieSliceDatum, ComputedSlice, } from './PieGraph';
|
|
1
|
+
export { PieGraph } from './PieGraph.js';
|
|
2
|
+
export { describeArc, computeSlices } from './PieGraph.js';
|
|
3
|
+
export type { PieGraphProps, PieSliceDatum, ComputedSlice, } from './PieGraph.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PolarGraph2D } from './PolarGraph2D';
|
|
2
|
-
export type { PolarGraph2DProps, PolarPointInfo } from './PolarGraph2D';
|
|
1
|
+
export { PolarGraph2D } from './PolarGraph2D.js';
|
|
2
|
+
export type { PolarGraph2DProps, PolarPointInfo } from './PolarGraph2D.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Quaternion } from '../../../math/src/quaternion';
|
|
3
|
-
import { SceneObject } from '../../3dSpace/src/scene-object';
|
|
4
|
-
import type { ForceGraph3DNode, ForceGraph3DEdge, ForceGraph3DProps } from './types';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Quaternion } from '../../../math/src/quaternion.js';
|
|
3
|
+
import { SceneObject } from '../../3dSpace/src/scene-object.js';
|
|
4
|
+
import type { ForceGraph3DNode, ForceGraph3DEdge, ForceGraph3DProps } from './types.js';
|
|
5
5
|
/** Internal state for a node, mapping config to SceneObject. */
|
|
6
6
|
export interface NodeState {
|
|
7
7
|
config: ForceGraph3DNode;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* No rendering, no DOM, no 3dSpace dependencies.
|
|
5
5
|
* Suitable for testing in isolation.
|
|
6
6
|
*/
|
|
7
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
7
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
8
8
|
/** A simulation node. */
|
|
9
9
|
export interface SimNode {
|
|
10
10
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ForceGraph3D } from './ForceGraph3D';
|
|
2
|
-
export type { NodeState, EdgeState } from './ForceGraph3D';
|
|
3
|
-
export { edgeKey, autoRestLength, quaternionFromYAxisTo, createNodeSceneObject, createEdgeSceneObject, updateEdgeTransform, } from './ForceGraph3D';
|
|
4
|
-
export type { ForceGraph3DProps, ForceGraph3DNode, ForceGraph3DEdge, ForceGraph3DAPI, } from './types';
|
|
5
|
-
export type { SimNode, SimEdge, SimConfig } from './force-sim';
|
|
6
|
-
export { stepSimulation, computeKineticEnergy } from './force-sim';
|
|
1
|
+
export { ForceGraph3D } from './ForceGraph3D.js';
|
|
2
|
+
export type { NodeState, EdgeState } from './ForceGraph3D.js';
|
|
3
|
+
export { edgeKey, autoRestLength, quaternionFromYAxisTo, createNodeSceneObject, createEdgeSceneObject, updateEdgeTransform, } from './ForceGraph3D.js';
|
|
4
|
+
export type { ForceGraph3DProps, ForceGraph3DNode, ForceGraph3DEdge, ForceGraph3DAPI, } from './types.js';
|
|
5
|
+
export type { SimNode, SimEdge, SimConfig } from './force-sim.js';
|
|
6
|
+
export { stepSimulation, computeKineticEnergy } from './force-sim.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Color } from '../../3dSpace/src/types';
|
|
3
|
-
import type { PolyhedronGeometry } from '../../3dSpace/src/geom-polyhedron';
|
|
4
|
-
import type { LightingModel } from '../../3dSpace/src/lighting-model';
|
|
5
|
-
import type { SceneGraph } from '../../3dSpace/src/scene-graph';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Color } from '../../3dSpace/src/types.js';
|
|
3
|
+
import type { PolyhedronGeometry } from '../../3dSpace/src/geom-polyhedron.js';
|
|
4
|
+
import type { LightingModel } from '../../3dSpace/src/lighting-model.js';
|
|
5
|
+
import type { SceneGraph } from '../../3dSpace/src/scene-graph.js';
|
|
6
6
|
/** A node in the 3D force graph. */
|
|
7
7
|
export interface ForceGraph3DNode {
|
|
8
8
|
id: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ThreeDLayers } from './ThreeDLayers';
|
|
2
|
-
export type { ThreeDLayersProps, Layer3D } from './ThreeDLayers';
|
|
1
|
+
export { ThreeDLayers } from './ThreeDLayers.js';
|
|
2
|
+
export type { ThreeDLayersProps, Layer3D } from './ThreeDLayers.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { LightingModel } from './lighting-model';
|
|
3
|
-
import type { ObjectPicker } from './types';
|
|
4
|
-
import type { CameraControllerFn } from './camera-controller';
|
|
5
|
-
import type { Light } from './light';
|
|
6
|
-
import type { AnimationManager } from './animation';
|
|
7
|
-
import type { BoundaryMode } from './bounds';
|
|
8
|
-
import type { CollisionManager } from './collision';
|
|
9
|
-
import { Camera } from './camera';
|
|
10
|
-
import { Viewport } from './viewport';
|
|
11
|
-
import { SceneGraph } from './scene-graph';
|
|
12
|
-
import { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { LightingModel } from './lighting-model.js';
|
|
3
|
+
import type { ObjectPicker } from './types.js';
|
|
4
|
+
import type { CameraControllerFn } from './camera-controller.js';
|
|
5
|
+
import type { Light } from './light.js';
|
|
6
|
+
import type { AnimationManager } from './animation.js';
|
|
7
|
+
import type { BoundaryMode } from './bounds.js';
|
|
8
|
+
import type { CollisionManager } from './collision.js';
|
|
9
|
+
import { Camera } from './camera.js';
|
|
10
|
+
import { Viewport } from './viewport.js';
|
|
11
|
+
import { SceneGraph } from './scene-graph.js';
|
|
12
|
+
import { SceneObject } from './scene-object.js';
|
|
13
13
|
/** Props for the Space3D component. */
|
|
14
14
|
export interface Space3DProps {
|
|
15
15
|
/** Width of the canvas in pixels. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { SceneObject } from './scene-object.js';
|
|
3
3
|
/**
|
|
4
4
|
* Boundary behavior when an object reaches the edge of finite space.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Mat4, Quaternion } from './types';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Mat4, Quaternion } from './types.js';
|
|
3
3
|
/** Projection mode for the camera. */
|
|
4
4
|
export type ProjectionMode = 'perspective' | 'orthographic';
|
|
5
5
|
/** Camera for viewing a 3D scene. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { SceneObject } from './scene-object.js';
|
|
3
3
|
/** Collision detection method */
|
|
4
4
|
export type ColliderType = 'sphere' | 'aabb';
|
|
5
5
|
/** Information about a detected collision */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { RenderPipeline } from './render-pipeline';
|
|
2
|
-
import type { SceneGraph } from './scene-graph';
|
|
3
|
-
import type { Camera } from './camera';
|
|
4
|
-
import type { Viewport } from './viewport';
|
|
5
|
-
import type { LightingModel } from './lighting-model';
|
|
6
|
-
import type { Light } from './light';
|
|
7
|
-
import type { SpaceBounds } from './bounds';
|
|
1
|
+
import type { RenderPipeline } from './render-pipeline.js';
|
|
2
|
+
import type { SceneGraph } from './scene-graph.js';
|
|
3
|
+
import type { Camera } from './camera.js';
|
|
4
|
+
import type { Viewport } from './viewport.js';
|
|
5
|
+
import type { LightingModel } from './lighting-model.js';
|
|
6
|
+
import type { Light } from './light.js';
|
|
7
|
+
import type { SpaceBounds } from './bounds.js';
|
|
8
8
|
/**
|
|
9
9
|
* CPU-based software render pipeline.
|
|
10
10
|
* Renders 3D scenes to a Canvas 2D context using the painter's algorithm
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Color } from './types';
|
|
3
|
-
import { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Color } from './types.js';
|
|
3
|
+
import { SceneObject } from './scene-object.js';
|
|
4
4
|
/** A single face of a polyhedron, defined by indices into the vertex array. */
|
|
5
5
|
export interface PolyhedronFace {
|
|
6
6
|
/** Indices into the vertices array (ordered, convex polygon). */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Color } from './types';
|
|
3
|
-
import { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Color } from './types.js';
|
|
3
|
+
import { SceneObject } from './scene-object.js';
|
|
4
4
|
/** Configuration for creating a geometry sphere. */
|
|
5
5
|
export interface GeomSphereConfig {
|
|
6
6
|
/** Sphere radius. */
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export type { Color, Vertex, ShadeParams, Texture, ObjectPicker, Mat4, Quaternion } from './types';
|
|
2
|
-
export { DefaultObjectPicker } from './types';
|
|
3
|
-
export { Mesh } from './mesh';
|
|
4
|
-
export type { Material } from './material';
|
|
5
|
-
export { createMaterial } from './material';
|
|
6
|
-
export type { LightType } from './light';
|
|
7
|
-
export { Light } from './light';
|
|
8
|
-
export type { ProjectionMode } from './camera';
|
|
9
|
-
export { Camera } from './camera';
|
|
10
|
-
export { Viewport } from './viewport';
|
|
11
|
-
export type { RenderMode } from './scene-object';
|
|
12
|
-
export { SceneObject } from './scene-object';
|
|
13
|
-
export type { LightingModel } from './lighting-model';
|
|
14
|
-
export { FlatShading, LambertianShading } from './lighting-model';
|
|
15
|
-
export { SceneGraph } from './scene-graph';
|
|
16
|
-
export type { RenderPipeline } from './render-pipeline';
|
|
17
|
-
export { WebGLPipeline, toFloat32, compileShader, linkProgram, setUniform } from './webgl-pipeline';
|
|
18
|
-
export { CpuPipeline } from './cpu-pipeline';
|
|
19
|
-
export type { SpaceBounds, BoundaryMode } from './bounds';
|
|
20
|
-
export { clampToBounds, isInBounds, boundsCenter, boundsSize, applyBoundary } from './bounds';
|
|
21
|
-
export { solidTexture, checkerboardTexture, gradientTexture, noiseTexture } from './texture';
|
|
22
|
-
export { Space3D } from './Space3D';
|
|
23
|
-
export type { Space3DProps } from './Space3D';
|
|
24
|
-
export type { CameraControllerFn, InputState } from './camera-controller';
|
|
25
|
-
export { createInputTracker, resetFrameDeltas, orbitController, flyController } from './camera-controller';
|
|
26
|
-
export type { HeightFunction, TerrainColorFunction } from './terrain';
|
|
27
|
-
export { generateTerrain, sineTerrain, heightGradientColor } from './terrain';
|
|
28
|
-
export type { Ray, PickResult } from './picking';
|
|
29
|
-
export { screenToRay, rayIntersectSphere, rayIntersectAABB, BoundingSpherePicker, pickAtScreen } from './picking';
|
|
30
|
-
export type { AnimationFn, AnimationBinding } from './animation';
|
|
31
|
-
export { AnimationManager, rotateY, bob, orbit, compose } from './animation';
|
|
32
|
-
export type { ColliderType, CollisionInfo, CollisionResponse, AABB } from './collision';
|
|
33
|
-
export { CollisionManager, computeBoundingSphereRadius, computeAABB, sphereSphereTest, aabbTest } from './collision';
|
|
34
|
-
export type { GeomSphereConfig } from './geom-sphere';
|
|
35
|
-
export { createGeomSphere } from './geom-sphere';
|
|
36
|
-
export type { PolyhedronFace, PolyhedronGeometry, GeomPolyhedronConfig } from './geom-polyhedron';
|
|
37
|
-
export { createGeomPolyhedron, tetrahedronGeometry, cubeGeometry, octahedronGeometry, dodecahedronGeometry, icosahedronGeometry, } from './geom-polyhedron';
|
|
1
|
+
export type { Color, Vertex, ShadeParams, Texture, ObjectPicker, Mat4, Quaternion } from './types.js';
|
|
2
|
+
export { DefaultObjectPicker } from './types.js';
|
|
3
|
+
export { Mesh } from './mesh.js';
|
|
4
|
+
export type { Material } from './material.js';
|
|
5
|
+
export { createMaterial } from './material.js';
|
|
6
|
+
export type { LightType } from './light.js';
|
|
7
|
+
export { Light } from './light.js';
|
|
8
|
+
export type { ProjectionMode } from './camera.js';
|
|
9
|
+
export { Camera } from './camera.js';
|
|
10
|
+
export { Viewport } from './viewport.js';
|
|
11
|
+
export type { RenderMode } from './scene-object.js';
|
|
12
|
+
export { SceneObject } from './scene-object.js';
|
|
13
|
+
export type { LightingModel } from './lighting-model.js';
|
|
14
|
+
export { FlatShading, LambertianShading } from './lighting-model.js';
|
|
15
|
+
export { SceneGraph } from './scene-graph.js';
|
|
16
|
+
export type { RenderPipeline } from './render-pipeline.js';
|
|
17
|
+
export { WebGLPipeline, toFloat32, compileShader, linkProgram, setUniform } from './webgl-pipeline.js';
|
|
18
|
+
export { CpuPipeline } from './cpu-pipeline.js';
|
|
19
|
+
export type { SpaceBounds, BoundaryMode } from './bounds.js';
|
|
20
|
+
export { clampToBounds, isInBounds, boundsCenter, boundsSize, applyBoundary } from './bounds.js';
|
|
21
|
+
export { solidTexture, checkerboardTexture, gradientTexture, noiseTexture } from './texture.js';
|
|
22
|
+
export { Space3D } from './Space3D.js';
|
|
23
|
+
export type { Space3DProps } from './Space3D.js';
|
|
24
|
+
export type { CameraControllerFn, InputState } from './camera-controller.js';
|
|
25
|
+
export { createInputTracker, resetFrameDeltas, orbitController, flyController } from './camera-controller.js';
|
|
26
|
+
export type { HeightFunction, TerrainColorFunction } from './terrain.js';
|
|
27
|
+
export { generateTerrain, sineTerrain, heightGradientColor } from './terrain.js';
|
|
28
|
+
export type { Ray, PickResult } from './picking.js';
|
|
29
|
+
export { screenToRay, rayIntersectSphere, rayIntersectAABB, BoundingSpherePicker, pickAtScreen } from './picking.js';
|
|
30
|
+
export type { AnimationFn, AnimationBinding } from './animation.js';
|
|
31
|
+
export { AnimationManager, rotateY, bob, orbit, compose } from './animation.js';
|
|
32
|
+
export type { ColliderType, CollisionInfo, CollisionResponse, AABB } from './collision.js';
|
|
33
|
+
export { CollisionManager, computeBoundingSphereRadius, computeAABB, sphereSphereTest, aabbTest } from './collision.js';
|
|
34
|
+
export type { GeomSphereConfig } from './geom-sphere.js';
|
|
35
|
+
export { createGeomSphere } from './geom-sphere.js';
|
|
36
|
+
export type { PolyhedronFace, PolyhedronGeometry, GeomPolyhedronConfig } from './geom-polyhedron.js';
|
|
37
|
+
export { createGeomPolyhedron, tetrahedronGeometry, cubeGeometry, octahedronGeometry, dodecahedronGeometry, icosahedronGeometry, } from './geom-polyhedron.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Color } from './types';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Color } from './types.js';
|
|
3
3
|
/** Types of light source. */
|
|
4
4
|
export type LightType = 'directional' | 'point' | 'spot';
|
|
5
5
|
/** A light source in the scene. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Color, ShadeParams } from './types';
|
|
2
|
-
import type { Light } from './light';
|
|
3
|
-
import type { Material } from './material';
|
|
1
|
+
import type { Color, ShadeParams } from './types.js';
|
|
2
|
+
import type { Light } from './light.js';
|
|
3
|
+
import type { Material } from './material.js';
|
|
4
4
|
/** Pluggable lighting model interface. */
|
|
5
5
|
export interface LightingModel {
|
|
6
6
|
name: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Camera } from './camera';
|
|
3
|
-
import type { Viewport } from './viewport';
|
|
4
|
-
import type { SceneObject } from './scene-object';
|
|
5
|
-
import type { ObjectPicker } from './types';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Camera } from './camera.js';
|
|
3
|
+
import type { Viewport } from './viewport.js';
|
|
4
|
+
import type { SceneObject } from './scene-object.js';
|
|
5
|
+
import type { ObjectPicker } from './types.js';
|
|
6
6
|
/**
|
|
7
7
|
* A ray in 3D space defined by an origin point and a direction vector.
|
|
8
8
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 2. WebGL (canvas.getContext('webgl2') or 'webgl')
|
|
7
7
|
* 3. CPU (canvas.getContext('2d'))
|
|
8
8
|
*/
|
|
9
|
-
import type { RenderPipeline } from './render-pipeline';
|
|
9
|
+
import type { RenderPipeline } from './render-pipeline.js';
|
|
10
10
|
/**
|
|
11
11
|
* Create the best available render pipeline for the given canvas.
|
|
12
12
|
* Tries WebGPU first, then WebGL, then falls back to CPU.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Raycasting utilities for 3D object picking and hit testing.
|
|
3
3
|
*/
|
|
4
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
5
|
-
import type { Mat4 } from '../../../math/src/mat4';
|
|
6
|
-
import type { SceneObject } from './scene-object';
|
|
7
|
-
import type { ObjectPicker } from './types';
|
|
4
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
5
|
+
import type { Mat4 } from '../../../math/src/mat4.js';
|
|
6
|
+
import type { SceneObject } from './scene-object.js';
|
|
7
|
+
import type { ObjectPicker } from './types.js';
|
|
8
8
|
/** A ray defined by an origin point and a normalized direction. */
|
|
9
9
|
export interface Ray {
|
|
10
10
|
origin: Vec3;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { SceneGraph } from './scene-graph';
|
|
2
|
-
import type { Camera } from './camera';
|
|
3
|
-
import type { Viewport } from './viewport';
|
|
4
|
-
import type { LightingModel } from './lighting-model';
|
|
5
|
-
import type { Light } from './light';
|
|
1
|
+
import type { SceneGraph } from './scene-graph.js';
|
|
2
|
+
import type { Camera } from './camera.js';
|
|
3
|
+
import type { Viewport } from './viewport.js';
|
|
4
|
+
import type { LightingModel } from './lighting-model.js';
|
|
5
|
+
import type { Light } from './light.js';
|
|
6
6
|
/** Pluggable render pipeline interface. */
|
|
7
7
|
export interface RenderPipeline {
|
|
8
8
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Mat4, Quaternion } from './types';
|
|
3
|
-
import type { Mesh } from './mesh';
|
|
4
|
-
import type { Material } from './material';
|
|
1
|
+
import type { Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Mat4, Quaternion } from './types.js';
|
|
3
|
+
import type { Mesh } from './mesh.js';
|
|
4
|
+
import type { Material } from './material.js';
|
|
5
5
|
/** How the mesh should be drawn by the render pipeline. */
|
|
6
6
|
export type RenderMode = 'triangles' | 'lines';
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mesh } from './mesh';
|
|
2
|
-
import type { Color } from './types';
|
|
1
|
+
import { Mesh } from './mesh.js';
|
|
2
|
+
import type { Color } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Consumer-provided terrain height function.
|
|
5
5
|
* Returns the height (Y value) at a given (x, z) world position.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Vec2, Vec3 } from '../../../math/src/vec';
|
|
2
|
-
import type { Mat4 } from '../../../math/src/mat4';
|
|
3
|
-
import type { Quaternion } from '../../../math/src/quaternion';
|
|
4
|
-
import type { SceneObject } from './scene-object';
|
|
1
|
+
import type { Vec2, Vec3 } from '../../../math/src/vec.js';
|
|
2
|
+
import type { Mat4 } from '../../../math/src/mat4.js';
|
|
3
|
+
import type { Quaternion } from '../../../math/src/quaternion.js';
|
|
4
|
+
import type { SceneObject } from './scene-object.js';
|
|
5
5
|
export type { Mat4, Quaternion };
|
|
6
6
|
/** RGBA color with channels in the 0-1 range. */
|
|
7
7
|
export interface Color {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Camera } from './camera';
|
|
2
|
-
import type { Color } from './types';
|
|
1
|
+
import type { Camera } from './camera.js';
|
|
2
|
+
import type { Color } from './types.js';
|
|
3
3
|
/** A viewport defines the screen rectangle and associated camera. */
|
|
4
4
|
export declare class Viewport {
|
|
5
5
|
x: number;
|