@asymmetric-effort/specifyjs 0.2.109 → 0.2.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/esm/chunks/chunk-2Y3QZBBL.js +221 -0
  2. package/dist/esm/chunks/{chunk-3SXNLMCH.js.map → chunk-2Y3QZBBL.js.map} +2 -2
  3. package/dist/esm/chunks/chunk-5OX5JKEY.js +174 -0
  4. package/dist/esm/chunks/{chunk-VAF4KNDP.js.map → chunk-5OX5JKEY.js.map} +2 -2
  5. package/dist/esm/chunks/chunk-AVA7QEGU.js +625 -0
  6. package/dist/esm/chunks/{chunk-A7AAS5ZR.js.map → chunk-AVA7QEGU.js.map} +2 -2
  7. package/dist/esm/chunks/chunk-BLIAKWAU.js +42 -0
  8. package/dist/esm/chunks/{chunk-TVDAY42P.js.map → chunk-BLIAKWAU.js.map} +2 -2
  9. package/dist/esm/chunks/chunk-CWCWXKVV.js +202 -0
  10. package/dist/esm/chunks/{chunk-MCXU6QF3.js.map → chunk-CWCWXKVV.js.map} +2 -2
  11. package/dist/esm/chunks/chunk-HINJXYXY.js +29 -0
  12. package/dist/esm/chunks/{chunk-3J4RXW7E.js.map → chunk-HINJXYXY.js.map} +2 -2
  13. package/dist/esm/chunks/chunk-MKUA6QTB.js +9 -0
  14. package/dist/esm/chunks/chunk-NF4555DU.js +58 -0
  15. package/dist/esm/chunks/{chunk-ODCBJ22O.js.map → chunk-NF4555DU.js.map} +2 -2
  16. package/dist/esm/chunks/chunk-RSL3RU56.js +14 -0
  17. package/dist/esm/chunks/{chunk-E43OK6IZ.js.map → chunk-RSL3RU56.js.map} +2 -2
  18. package/dist/esm/chunks/chunk-T7EHIXSF.js +17 -0
  19. package/dist/esm/chunks/{chunk-LWOMFZ4C.js.map → chunk-T7EHIXSF.js.map} +2 -2
  20. package/dist/esm/chunks/metrics-6LW2N3GU.js +16 -0
  21. package/dist/esm/client/index.js +670 -1
  22. package/dist/esm/components-barrel.js +25688 -3
  23. package/dist/esm/dom/index.js +1902 -1
  24. package/dist/esm/index.js +117 -1
  25. package/dist/esm/jsx-dev-runtime.js +12 -1
  26. package/dist/esm/jsx-runtime.js +13 -1
  27. package/dist/esm/server/index.js +381 -1
  28. package/dist/esm/telemetry/index.js +188 -1
  29. package/dist/specifyjs-client.esm.js +670 -1
  30. package/dist/specifyjs-client.esm.js.map +2 -2
  31. package/dist/specifyjs-components.cjs.js.map +1 -1
  32. package/dist/specifyjs-components.esm.js +25688 -3
  33. package/dist/specifyjs-components.esm.js.map +3 -3
  34. package/dist/specifyjs-dom.esm.js +1902 -1
  35. package/dist/specifyjs-dom.esm.js.map +2 -2
  36. package/dist/specifyjs-jsx-dev-runtime.esm.js +12 -1
  37. package/dist/specifyjs-jsx-runtime.esm.js +13 -1
  38. package/dist/specifyjs-server.esm.js +381 -1
  39. package/dist/specifyjs-server.esm.js.map +2 -2
  40. package/dist/specifyjs-telemetry.esm.js +188 -1
  41. package/dist/specifyjs-telemetry.esm.js.map +2 -2
  42. package/dist/specifyjs.esm.js +117 -1
  43. package/dist/types/components/ad/adsense/src/AdSense.d.ts +1 -1
  44. package/dist/types/components/data/analog-clock/src/AnalogClock.d.ts +1 -1
  45. package/dist/types/components/data/avatar/src/Avatar.d.ts +1 -1
  46. package/dist/types/components/data/badge/src/Badge.d.ts +1 -1
  47. package/dist/types/components/data/data-grid/src/DataGrid.d.ts +1 -1
  48. package/dist/types/components/data/digital-clock/src/DigitalClock.d.ts +1 -1
  49. package/dist/types/components/data/list-view/src/ListView.d.ts +1 -1
  50. package/dist/types/components/data/tag/src/Tag.d.ts +1 -1
  51. package/dist/types/components/data/virtual-scroll/src/VirtualScroll.d.ts +1 -1
  52. package/dist/types/components/feedback/alert/src/Alert.d.ts +1 -1
  53. package/dist/types/components/feedback/empty-state/src/EmptyState.d.ts +1 -1
  54. package/dist/types/components/feedback/progress-bar/src/ProgressBar.d.ts +1 -1
  55. package/dist/types/components/feedback/skeleton/src/Skeleton.d.ts +1 -1
  56. package/dist/types/components/feedback/spinner/src/Spinner.d.ts +1 -1
  57. package/dist/types/components/form/button/src/Button.d.ts +1 -1
  58. package/dist/types/components/form/checkbox/src/Checkbox.d.ts +1 -1
  59. package/dist/types/components/form/color-picker/src/ColorPicker.d.ts +1 -1
  60. package/dist/types/components/form/color-wheel/src/ColorWheel.d.ts +1 -1
  61. package/dist/types/components/form/datepicker/src/DatePicker.d.ts +1 -1
  62. package/dist/types/components/form/file-upload/src/FileUpload.d.ts +1 -1
  63. package/dist/types/components/form/multiline/src/MultilineField.d.ts +1 -1
  64. package/dist/types/components/form/number-spinner/src/NumberSpinner.d.ts +1 -1
  65. package/dist/types/components/form/radio/src/RadioGroup.d.ts +1 -1
  66. package/dist/types/components/form/select/src/Select.d.ts +1 -1
  67. package/dist/types/components/form/slider/src/Slider.d.ts +1 -1
  68. package/dist/types/components/form/texteditor/src/TextEditor.d.ts +1 -1
  69. package/dist/types/components/form/textfield/src/TextField.d.ts +1 -1
  70. package/dist/types/components/form/timepicker/src/TimePicker.d.ts +1 -1
  71. package/dist/types/components/form/toggle/src/Toggle.d.ts +1 -1
  72. package/dist/types/components/form/wrapper/src/FormFieldWrapper.d.ts +1 -1
  73. package/dist/types/components/layout/card/src/Card.d.ts +1 -1
  74. package/dist/types/components/layout/desktop-background/src/DesktopBackground.d.ts +1 -1
  75. package/dist/types/components/layout/flex-container/src/FlexContainer.d.ts +2 -2
  76. package/dist/types/components/layout/footer/src/Footer.d.ts +1 -1
  77. package/dist/types/components/layout/grid/src/Grid.d.ts +2 -2
  78. package/dist/types/components/layout/panel/src/Panel.d.ts +1 -1
  79. package/dist/types/components/layout/scroll-container/src/ScrollContainer.d.ts +1 -1
  80. package/dist/types/components/layout/splitter/src/Splitter.d.ts +1 -1
  81. package/dist/types/components/layout/tabs/src/Tabs.d.ts +1 -1
  82. package/dist/types/components/layout/window-manager/src/WindowManager.d.ts +1 -1
  83. package/dist/types/components/media/carousel/src/Carousel.d.ts +1 -1
  84. package/dist/types/components/media/image/src/Image.d.ts +1 -1
  85. package/dist/types/components/media/video-player/src/VideoPlayer.d.ts +1 -1
  86. package/dist/types/components/nav/accordion/src/Accordion.d.ts +1 -1
  87. package/dist/types/components/nav/breadcrumb/src/Breadcrumb.d.ts +1 -1
  88. package/dist/types/components/nav/dock/src/Dock.d.ts +1 -1
  89. package/dist/types/components/nav/dropdown/src/Dropdown.d.ts +1 -1
  90. package/dist/types/components/nav/menubar/src/Menubar.d.ts +1 -1
  91. package/dist/types/components/nav/pagination/src/Pagination.d.ts +1 -1
  92. package/dist/types/components/nav/sidebar/src/Sidebar.d.ts +1 -1
  93. package/dist/types/components/nav/stepper/src/Stepper.d.ts +1 -1
  94. package/dist/types/components/nav/system-tray/src/SystemTray.d.ts +1 -1
  95. package/dist/types/components/nav/toolbar/src/Toolbar.d.ts +1 -1
  96. package/dist/types/components/nav/treenav/src/TreeNav.d.ts +1 -1
  97. package/dist/types/components/nav/wrapper/src/NavWrapper.d.ts +1 -1
  98. package/dist/types/components/overlay/context-menu/src/ContextMenu.d.ts +1 -1
  99. package/dist/types/components/overlay/drawer/src/Drawer.d.ts +1 -1
  100. package/dist/types/components/overlay/modal/src/Modal.d.ts +1 -1
  101. package/dist/types/components/overlay/popover/src/Popover.d.ts +1 -1
  102. package/dist/types/components/overlay/toast/src/Toast.d.ts +2 -2
  103. package/dist/types/components/overlay/tooltip/src/Tooltip.d.ts +1 -1
  104. package/dist/types/components/page/ide/src/IDE.d.ts +1 -1
  105. package/dist/types/components/page/trading-dashboard/src/TradingDashboard.d.ts +1 -1
  106. package/dist/types/components/page/unity-desktop/src/UnityApp.d.ts +1 -1
  107. package/dist/types/components/page/unity-desktop/src/UnityDesktop.d.ts +1 -1
  108. package/dist/types/components/page/word-processor/src/WordProcessor.d.ts +1 -1
  109. package/dist/types/components/viz/2D-bar-graph/src/BarGraph.d.ts +1 -1
  110. package/dist/types/components/viz/2D-discrete-cartesian/src/DiscreteCartesian2D.d.ts +1 -1
  111. package/dist/types/components/viz/2D-line-graph/src/LineGraph.d.ts +1 -1
  112. package/dist/types/components/viz/2D-pie-graph/src/PieGraph.d.ts +1 -1
  113. package/dist/types/components/viz/3d-force-graph/src/ForceGraph3D.d.ts +27 -119
  114. package/dist/types/components/viz/3d-force-graph/src/force-sim.d.ts +49 -0
  115. package/dist/types/components/viz/3d-force-graph/src/index.d.ts +5 -1
  116. package/dist/types/components/viz/3d-force-graph/src/types.d.ts +88 -0
  117. package/dist/types/components/viz/3d-layers/src/ThreeDLayers.d.ts +1 -1
  118. package/dist/types/components/viz/3dSpace/src/Space3D.d.ts +1 -1
  119. package/dist/types/components/viz/3dSpace/src/geom-polyhedron.d.ts +49 -0
  120. package/dist/types/components/viz/3dSpace/src/geom-sphere.d.ts +27 -0
  121. package/dist/types/components/viz/3dSpace/src/index.d.ts +5 -0
  122. package/dist/types/components/viz/3dSpace/src/mesh.d.ts +22 -0
  123. package/dist/types/components/viz/3dSpace/src/scene-object.d.ts +4 -0
  124. package/dist/types/components/viz/big-number/src/BigNumber.d.ts +1 -1
  125. package/dist/types/components/viz/bloch-sphere/src/BlochSphere.d.ts +1 -1
  126. package/dist/types/components/viz/box-plot/src/BoxPlot.d.ts +1 -1
  127. package/dist/types/components/viz/bubble-chart/src/BubbleChart.d.ts +1 -1
  128. package/dist/types/components/viz/calendar-heat-map/src/CalendarHeatMap.d.ts +1 -1
  129. package/dist/types/components/viz/chord/src/ChordDiagram.d.ts +1 -1
  130. package/dist/types/components/viz/decomposition-tree/src/DecompositionTree.d.ts +1 -1
  131. package/dist/types/components/viz/funnel/src/FunnelChart.d.ts +1 -1
  132. package/dist/types/components/viz/gantt-chart/src/GanttChart.d.ts +1 -1
  133. package/dist/types/components/viz/gauge/src/Gauge.d.ts +1 -1
  134. package/dist/types/components/viz/graph/src/HypercubeGraph.d.ts +1 -1
  135. package/dist/types/components/viz/heat-map/src/HeatMap.d.ts +1 -1
  136. package/dist/types/components/viz/histogram/src/Histogram.d.ts +1 -1
  137. package/dist/types/components/viz/matrix/src/Matrix.d.ts +1 -1
  138. package/dist/types/components/viz/partition/src/Partition.d.ts +1 -1
  139. package/dist/types/components/viz/pivot-table/src/PivotTable.d.ts +1 -1
  140. package/dist/types/components/viz/radar-chart/src/RadarChart.d.ts +1 -1
  141. package/dist/types/components/viz/sankey/src/SankeyDiagram.d.ts +1 -1
  142. package/dist/types/components/viz/sunburst/src/Sunburst.d.ts +1 -1
  143. package/dist/types/components/viz/tree-map/src/TreeMap.d.ts +1 -1
  144. package/dist/types/components/viz/vector-field/src/VectorField.d.ts +1 -1
  145. package/dist/types/components/viz/waterfall/src/WaterfallChart.d.ts +1 -1
  146. package/dist/types/components/viz/word-cloud/src/WordCloud.d.ts +1 -1
  147. package/dist/types/components/viz/wrapper/src/VizWrapper.d.ts +1 -1
  148. package/package.json +1 -1
  149. package/dist/esm/chunks/chunk-3J4RXW7E.js +0 -3
  150. package/dist/esm/chunks/chunk-3SXNLMCH.js +0 -3
  151. package/dist/esm/chunks/chunk-A7AAS5ZR.js +0 -3
  152. package/dist/esm/chunks/chunk-E43OK6IZ.js +0 -3
  153. package/dist/esm/chunks/chunk-LWOMFZ4C.js +0 -3
  154. package/dist/esm/chunks/chunk-MCXU6QF3.js +0 -3
  155. package/dist/esm/chunks/chunk-ODCBJ22O.js +0 -3
  156. package/dist/esm/chunks/chunk-TVDAY42P.js +0 -3
  157. package/dist/esm/chunks/chunk-VAF4KNDP.js +0 -3
  158. package/dist/esm/chunks/chunk-ZDPD2MPQ.js +0 -3
  159. package/dist/esm/chunks/metrics-56RIK7JQ.js +0 -3
  160. /package/dist/esm/chunks/{chunk-ZDPD2MPQ.js.map → chunk-MKUA6QTB.js.map} +0 -0
  161. /package/dist/esm/chunks/{metrics-56RIK7JQ.js.map → metrics-6LW2N3GU.js.map} +0 -0
@@ -0,0 +1,49 @@
1
+ import type { Vec3 } from '../../../math/src/vec';
2
+ import type { Color } from './types';
3
+ import { SceneObject } from './scene-object';
4
+ /** A single face of a polyhedron, defined by indices into the vertex array. */
5
+ export interface PolyhedronFace {
6
+ /** Indices into the vertices array (ordered, convex polygon). */
7
+ vertices: number[];
8
+ }
9
+ /** Geometry descriptor for a polyhedron: vertices and faces. */
10
+ export interface PolyhedronGeometry {
11
+ /** Vertex positions in local space. */
12
+ vertices: Vec3[];
13
+ /** Face definitions. */
14
+ faces: PolyhedronFace[];
15
+ }
16
+ /** Configuration for creating a geometry polyhedron. */
17
+ export interface GeomPolyhedronConfig {
18
+ /** Polyhedron geometry descriptor. */
19
+ geometry: PolyhedronGeometry;
20
+ /** Uniform scale factor. Default: 1.0. */
21
+ scale?: number;
22
+ /** Surface color (base albedo). */
23
+ surfaceColor: Color;
24
+ /** Optional billboard text label. */
25
+ label?: string;
26
+ /** Text color for the label. Default: white. */
27
+ textColor?: Color;
28
+ /** Label font size relative to scale. Default: 0.3. */
29
+ labelScale?: number;
30
+ }
31
+ /**
32
+ * Create a SceneObject with a solid polyhedron mesh and optional billboard label.
33
+ *
34
+ * @param id - Unique SceneObject identifier.
35
+ * @param position - Initial position in world space.
36
+ * @param config - Polyhedron geometry and visual configuration.
37
+ * @returns A SceneObject ready to add to a SceneGraph.
38
+ */
39
+ export declare function createGeomPolyhedron(id: string, position: Vec3, config: GeomPolyhedronConfig): SceneObject;
40
+ /** Regular tetrahedron (4 triangular faces). */
41
+ export declare function tetrahedronGeometry(): PolyhedronGeometry;
42
+ /** Cube / hexahedron (6 square faces). */
43
+ export declare function cubeGeometry(): PolyhedronGeometry;
44
+ /** Regular octahedron (8 triangular faces). */
45
+ export declare function octahedronGeometry(): PolyhedronGeometry;
46
+ /** Regular dodecahedron (12 pentagonal faces). */
47
+ export declare function dodecahedronGeometry(): PolyhedronGeometry;
48
+ /** Regular icosahedron (20 triangular faces). */
49
+ export declare function icosahedronGeometry(): PolyhedronGeometry;
@@ -0,0 +1,27 @@
1
+ import type { Vec3 } from '../../../math/src/vec';
2
+ import type { Color } from './types';
3
+ import { SceneObject } from './scene-object';
4
+ /** Configuration for creating a geometry sphere. */
5
+ export interface GeomSphereConfig {
6
+ /** Sphere radius. */
7
+ radius: number;
8
+ /** Surface color (base albedo for lighting). */
9
+ surfaceColor: Color;
10
+ /** Optional text label rendered as billboard at the sphere center. */
11
+ label?: string;
12
+ /** Text color for the label. Default: { r: 1, g: 1, b: 1, a: 1 } (white). */
13
+ textColor?: Color;
14
+ /** Label font size relative to sphere radius. Default: 0.3. */
15
+ labelScale?: number;
16
+ /** Sphere tessellation quality (stacks/slices). Default: 24. */
17
+ segments?: number;
18
+ }
19
+ /**
20
+ * Create a SceneObject with a solid sphere mesh and optional billboard label.
21
+ *
22
+ * @param id - Unique SceneObject identifier (used for lookup, NOT for app data storage).
23
+ * @param position - Initial position in world space.
24
+ * @param config - Sphere geometry and visual configuration.
25
+ * @returns A SceneObject ready to add to a SceneGraph.
26
+ */
27
+ export declare function createGeomSphere(id: string, position: Vec3, config: GeomSphereConfig): SceneObject;
@@ -8,6 +8,7 @@ export { Light } from './light';
8
8
  export type { ProjectionMode } from './camera';
9
9
  export { Camera } from './camera';
10
10
  export { Viewport } from './viewport';
11
+ export type { RenderMode } from './scene-object';
11
12
  export { SceneObject } from './scene-object';
12
13
  export type { LightingModel } from './lighting-model';
13
14
  export { FlatShading, LambertianShading } from './lighting-model';
@@ -30,3 +31,7 @@ export type { AnimationFn, AnimationBinding } from './animation';
30
31
  export { AnimationManager, rotateY, bob, orbit, compose } from './animation';
31
32
  export type { ColliderType, CollisionInfo, CollisionResponse, AABB } from './collision';
32
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';
@@ -32,4 +32,26 @@ export declare class Mesh {
32
32
  * @param slices - Number of vertical slices (longitude). Default 24.
33
33
  */
34
34
  static createSphere(radius: number, stacks?: number, slices?: number): Mesh;
35
+ /**
36
+ * Create a wireframe cylinder mesh (intended for use with renderMode: 'lines').
37
+ * Generates a triangle mesh whose edges trace longitudinal lines and circular cross-sections.
38
+ * @param radius - Cylinder radius.
39
+ * @param height - Cylinder height along Y axis.
40
+ * @param options - Optional radialSegments (default 16) and heightSegments (default 4).
41
+ */
42
+ static createCylinderMesh(radius: number, height: number, options?: {
43
+ radialSegments?: number;
44
+ heightSegments?: number;
45
+ }): Mesh;
46
+ /**
47
+ * Create a solid cylinder mesh with optional end caps and taper.
48
+ * @param radius - Bottom radius.
49
+ * @param height - Cylinder height along Y axis.
50
+ * @param options - radialSegments (default 24), caps (default true), topRadius (default same as radius).
51
+ */
52
+ static createCylinderSolid(radius: number, height: number, options?: {
53
+ radialSegments?: number;
54
+ caps?: boolean;
55
+ topRadius?: number;
56
+ }): Mesh;
35
57
  }
@@ -2,6 +2,8 @@ import type { Vec3 } from '../../../math/src/vec';
2
2
  import type { Mat4, Quaternion } from './types';
3
3
  import type { Mesh } from './mesh';
4
4
  import type { Material } from './material';
5
+ /** How the mesh should be drawn by the render pipeline. */
6
+ export type RenderMode = 'triangles' | 'lines';
5
7
  /**
6
8
  * Base scene object that consumers can extend.
7
9
  * Maintains a transform (position, rotation, scale) and a parent/child hierarchy.
@@ -18,6 +20,8 @@ export declare class SceneObject {
18
20
  visible: boolean;
19
21
  /** Render order: lower values draw first (background). Default: 0. */
20
22
  renderOrder: number;
23
+ /** How to draw the mesh: 'triangles' (filled) or 'lines' (wireframe). Default: 'triangles'. */
24
+ renderMode: RenderMode;
21
25
  constructor(id: string);
22
26
  /** Add a child object. Sets the child's parent reference. */
23
27
  addChild(obj: SceneObject): void;
@@ -26,4 +26,4 @@ export interface BigNumberProps {
26
26
  /** Card background color (default: '#ffffff') */
27
27
  backgroundColor?: string;
28
28
  }
29
- export declare function BigNumber(props: BigNumberProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
29
+ export declare function BigNumber(props: BigNumberProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -70,4 +70,4 @@ export declare function blochToCartesian(state: BlochState): {
70
70
  };
71
71
  export declare function cartesianToBloch(x: number, y: number, z: number): BlochState;
72
72
  export declare function applyGate(state: BlochState, op: GateOp): BlochState;
73
- export declare function BlochSphere(props: BlochSphereProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
73
+ export declare function BlochSphere(props: BlochSphereProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -44,4 +44,4 @@ export interface BoxStats {
44
44
  }
45
45
  /** Compute box-plot statistics from raw values. */
46
46
  export declare function computeBoxStats(values: number[]): BoxStats | null;
47
- export declare function BoxPlot(props: BoxPlotProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
47
+ export declare function BoxPlot(props: BoxPlotProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -35,4 +35,4 @@ export interface BubbleChartProps {
35
35
  /** Padding around chart area in px (default: 60) */
36
36
  padding?: number;
37
37
  }
38
- export declare function BubbleChart(props: BubbleChartProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
38
+ export declare function BubbleChart(props: BubbleChartProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -26,4 +26,4 @@ export interface CalendarHeatMapProps {
26
26
  /** Chart title */
27
27
  title?: string;
28
28
  }
29
- export declare function CalendarHeatMap(props: CalendarHeatMapProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
29
+ export declare function CalendarHeatMap(props: CalendarHeatMapProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -22,4 +22,4 @@ export interface ChordDiagramProps {
22
22
  /** Chart title */
23
23
  title?: string;
24
24
  }
25
- export declare function ChordDiagram(props: ChordDiagramProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
25
+ export declare function ChordDiagram(props: ChordDiagramProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -30,4 +30,4 @@ export interface DecompositionTreeProps {
30
30
  /** Padding around chart area in px (default: 40) */
31
31
  padding?: number;
32
32
  }
33
- export declare function DecompositionTree(props: DecompositionTreeProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
33
+ export declare function DecompositionTree(props: DecompositionTreeProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -25,4 +25,4 @@ export interface FunnelChartProps {
25
25
  /** Chart title */
26
26
  title?: string;
27
27
  }
28
- export declare function FunnelChart(props: FunnelChartProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
28
+ export declare function FunnelChart(props: FunnelChartProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -30,4 +30,4 @@ export interface GanttChartProps {
30
30
  /** Padding around chart area in px (default: 50) */
31
31
  padding?: number;
32
32
  }
33
- export declare function GanttChart(props: GanttChartProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
33
+ export declare function GanttChart(props: GanttChartProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -34,4 +34,4 @@ export interface GaugeProps {
34
34
  /** Background arc color (default: '#e5e7eb') */
35
35
  backgroundColor?: string;
36
36
  }
37
- export declare function Gauge(props: GaugeProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
37
+ export declare function Gauge(props: GaugeProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -25,7 +25,7 @@ export interface HypercubeGraphProps {
25
25
  /** Scale factor (default: auto-fit) */
26
26
  scale?: number;
27
27
  }
28
- export declare function HypercubeGraph(props: HypercubeGraphProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
28
+ export declare function HypercubeGraph(props: HypercubeGraphProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
29
29
  export interface UseHypercubeOptions {
30
30
  dimension?: number;
31
31
  rotationSpeed?: number;
@@ -26,4 +26,4 @@ export interface HeatMapProps {
26
26
  /** Padding around the chart in px (default: 60) */
27
27
  padding?: number;
28
28
  }
29
- export declare function HeatMap(props: HeatMapProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
29
+ export declare function HeatMap(props: HeatMapProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -24,4 +24,4 @@ export interface HistogramProps {
24
24
  /** Padding around chart area in px (default: 60) */
25
25
  padding?: number;
26
26
  }
27
- export declare function Histogram(props: HistogramProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
27
+ export declare function Histogram(props: HistogramProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -26,4 +26,4 @@ export interface MatrixProps {
26
26
  /** If true, mirror values across diagonal for correlation matrices (default: false) */
27
27
  symmetric?: boolean;
28
28
  }
29
- export declare function Matrix(props: MatrixProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
29
+ export declare function Matrix(props: MatrixProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -28,4 +28,4 @@ export interface PartitionProps {
28
28
  /** Padding around chart area in px (default: 10) */
29
29
  padding?: number;
30
30
  }
31
- export declare function Partition(props: PartitionProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
31
+ export declare function Partition(props: PartitionProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -22,4 +22,4 @@ export interface PivotTableProps {
22
22
  /** Cell padding in px (default: 8) */
23
23
  cellPadding?: number;
24
24
  }
25
- export declare function PivotTable(props: PivotTableProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
25
+ export declare function PivotTable(props: PivotTableProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -32,4 +32,4 @@ export interface RadarChartProps {
32
32
  /** Chart title */
33
33
  title?: string;
34
34
  }
35
- export declare function RadarChart(props: RadarChartProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
35
+ export declare function RadarChart(props: RadarChartProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -35,4 +35,4 @@ export interface SankeyDiagramProps {
35
35
  /** Padding around chart area in px (default: 40) */
36
36
  padding?: number;
37
37
  }
38
- export declare function SankeyDiagram(props: SankeyDiagramProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
38
+ export declare function SankeyDiagram(props: SankeyDiagramProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -24,4 +24,4 @@ export interface SunburstProps {
24
24
  /** Chart title */
25
25
  title?: string;
26
26
  }
27
- export declare function Sunburst(props: SunburstProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
27
+ export declare function Sunburst(props: SunburstProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -26,4 +26,4 @@ export interface TreeMapProps {
26
26
  /** Chart title */
27
27
  title?: string;
28
28
  }
29
- export declare function TreeMap(props: TreeMapProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
29
+ export declare function TreeMap(props: TreeMapProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -58,4 +58,4 @@ export interface VectorFieldProps {
58
58
  /** Custom compute function for vector field calculation (e.g. for radio propagation) */
59
59
  computeWorker?: ComputeWorkerFn;
60
60
  }
61
- export declare function VectorField(props: VectorFieldProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
61
+ export declare function VectorField(props: VectorFieldProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -29,4 +29,4 @@ export interface WaterfallChartProps {
29
29
  /** Padding around chart area in px (default: 60) */
30
30
  padding?: number;
31
31
  }
32
- export declare function WaterfallChart(props: WaterfallChartProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
32
+ export declare function WaterfallChart(props: WaterfallChartProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -27,4 +27,4 @@ export interface WordCloudProps {
27
27
  /** Chart title */
28
28
  title?: string;
29
29
  }
30
- export declare function WordCloud(props: WordCloudProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
30
+ export declare function WordCloud(props: WordCloudProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
@@ -57,4 +57,4 @@ export interface VizWrapperProps {
57
57
  /** The visualization content (children) */
58
58
  children?: unknown;
59
59
  }
60
- export declare function VizWrapper(props: VizWrapperProps): import("specifyjs/shared/types").SpecElement<import("specifyjs/shared/types").Props>;
60
+ export declare function VizWrapper(props: VizWrapperProps): import("specifyjs").SpecElement<import("specifyjs").Props>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asymmetric-effort/specifyjs",
3
- "version": "0.2.109",
3
+ "version": "0.2.113",
4
4
  "description": "A declarative TypeScript UI framework built for performance and simplicity",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- var e=Symbol.for("spec.element"),o=Symbol.for("spec.fragment"),n=Symbol.for("spec.portal"),t=Symbol.for("spec.provider"),p=Symbol.for("spec.consumer"),r=Symbol.for("spec.forward_ref"),s=Symbol.for("spec.memo"),l=Symbol.for("spec.lazy"),P=Symbol.for("spec.suspense"),S=Symbol.for("spec.strict_mode"),m=Symbol.for("spec.profiler");export{e as a,o as b,n as c,t as d,p as e,r as f,s as g,l as h,P as i,S as j,m as k};
3
- //# sourceMappingURL=chunk-3J4RXW7E.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{a as p}from"./chunk-TVDAY42P.js";var g=1e4;function c(t,n,e){t.length>=g&&t.splice(0,Math.floor(g/2)),t.push({value:n,attributes:e?{...e}:{},timestamp:performance.now()})}function l(t,n){let e=[];return{name:t,description:n?.description??"",add(o,r){o<0||c(e,o,r)},get dataPoints(){return e}}}function b(t,n){let e=[];return{name:t,description:n?.description??"",record(o,r){c(e,o,r)},get dataPoints(){return e}}}function y(t,n){let e=[];return{name:t,description:n?.description??"",set(o,r){c(e,o,r)},get dataPoints(){return e}}}function R(t){let n=[],e;t.exportInterval&&t.exportInterval>0&&(e=setInterval(()=>{o.flush()},t.exportInterval),typeof e=="object"&&"unref"in e&&e.unref());let o={config:t,get instruments(){return n},counter(r,a){let i=l(r,a);return n.push(i),i},histogram(r,a){let i=b(r,a);return n.push(i),i},gauge(r,a){let i=y(r,a);return n.push(i),i},async flush(){if(!t.endpoint)return;let r=f(n,t.serviceName);await v(t.endpoint,t.headers??{},r)}};return o}function u(t){return Object.entries(t).map(([n,e])=>typeof e=="string"?{key:n,value:{stringValue:e}}:typeof e=="boolean"?{key:n,value:{boolValue:e}}:{key:n,value:{intValue:e}})}function m(t){return String(Math.round(t*1e6))}function f(t,n){let e=t.map(o=>{let r=o.dataPoints.map(i=>({attributes:u(i.attributes),timeUnixNano:m(i.timestamp),asDouble:i.value})),a;return"add"in o?a={sum:{dataPoints:r,isMonotonic:!0,aggregationTemporality:2}}:"record"in o?a={histogram:{dataPoints:r,aggregationTemporality:2}}:a={gauge:{dataPoints:r}},{name:o.name,description:o.description,...a}});return{resourceMetrics:[{resource:{attributes:u({"service.name":n??"unknown"})},scopeMetrics:[{scope:{name:"specifyjs-telemetry",version:"1.0.0"},metrics:e}]}]}}function I(t,n,e){let o={"service.name":n??"unknown"};e&&(o["service.version"]=e);let r={internal:1,server:2,client:3,producer:4,consumer:5},a={unset:0,ok:1,error:2},i=t.map(s=>({traceId:s.traceId,spanId:s.spanId,parentSpanId:s.parentSpanId??"",name:s.name,kind:r[s.kind]??1,startTimeUnixNano:m(s.startTime),endTimeUnixNano:s.endTime!==void 0?m(s.endTime):"0",attributes:u(s.attributes),status:{code:a[s.status.code]??0,message:s.status.message??""},events:s.events.map(d=>({name:d.name,timeUnixNano:m(d.timestamp),attributes:d.attributes?u(d.attributes):[]}))}));return{resourceSpans:[{resource:{attributes:u(o)},scopeSpans:[{scope:{name:"specifyjs-telemetry",version:"1.0.0"},spans:i}]}]}}async function v(t,n,e){try{p(t),await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",...n},body:JSON.stringify(e)})}catch{}}export{R as a,f as b,I as c,v as d};
3
- //# sourceMappingURL=chunk-3SXNLMCH.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{g as N}from"./chunk-VAF4KNDP.js";import{a as S}from"./chunk-E43OK6IZ.js";import{a as d}from"./chunk-ODCBJ22O.js";import{a as j,d as L,e as I,f as U,g as Y,h as D,i as A,j as B,k as z}from"./chunk-3J4RXW7E.js";import{b as O}from"./chunk-TVDAY42P.js";import{c as y,d as C,e as l,g as P,h as E}from"./chunk-MCXU6QF3.js";function w(t){let e={$$typeof:Symbol.for("spec.context"),Provider:null,Consumer:null,_currentValue:t,_defaultValue:t},o={$$typeof:L,_context:e},n={$$typeof:I,_context:e};return e.Provider=o,e.Consumer=n,e}function pe(){return{current:null}}function ie(t){return{$$typeof:U,render:t,displayName:t.displayName||t.name||"ForwardRef"}}function le(t,e){return{$$typeof:Y,type:t,compare:e||null,displayName:t.displayName||t.name||"Memo"}}function ue(t){let e={_status:"pending",_result:void 0};return{$$typeof:D,_payload:e,_init:()=>{if(e._status==="resolved")return e._result;if(e._status==="rejected")throw e._result;let n=t();throw e._status="pending",n.then(r=>{e._status="resolved",e._result=r.default},r=>{e._status="rejected",e._result=r}),n},displayName:"Lazy"}}function ce(t,e,...o){if(!S(t))throw new Error("cloneElement: argument must be a valid SpecifyJS element");let n=t.key,r=t.ref,s={...t.props};if(e!=null){e.key!==void 0&&(n=""+e.key),e.ref!==void 0&&(r=e.ref);for(let a in e)Object.prototype.hasOwnProperty.call(e,a)&&a!=="key"&&a!=="ref"&&a!=="__proto__"&&a!=="constructor"&&a!=="prototype"&&(s[a]=e[a])}return o.length===1?s.children=o[0]:o.length>1&&(s.children=o),{$$typeof:j,type:t.type,props:s,key:n,ref:r}}function b(t){let e=[],o=[t];for(;o.length>0;){let n=o.pop();if(Array.isArray(n))for(let r=n.length-1;r>=0;r--)o.push(n[r]);else e.push(n)}return e}function fe(t,e){let o=b(t),n=[];for(let r=0;r<o.length;r++){let s=o[r];s==null||typeof s=="boolean"||n.push(e(s,r))}return n}function de(t,e){let o=b(t),n=0;for(let r of o)r==null||typeof r=="boolean"||e(r,n++)}function me(t){let e=b(t),o=0;for(let n of e)n!=null&&typeof n!="boolean"&&o++;return o}function he(t){if(!S(t))throw new Error("Children.only: expected a single SpecifyJS element child");return t}function Pe(t){return b(t).filter(o=>o!=null&&typeof o!="boolean")}var xe={map:fe,forEach:de,count:me,only:he,toArray:Pe};var x=class{constructor(e){this._fiber=null;this._pendingState=[];this._forceUpdate=!1;this.props=e,this.state={},this.context=void 0}setState(e,o){this._pendingState.push(e),this._enqueueUpdate(o)}forceUpdate(e){this._forceUpdate=!0,this._enqueueUpdate(e)}render(){return null}_enqueueUpdate(e){}};x.prototype.isSpecComponent=!0;var _=class extends x{shouldComponentUpdate(e,o){return!W(this.props,e)||!W(this.state,o)}};_.prototype.isPureSpecComponent=!0;function W(t,e){if(Object.is(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;let o=Object.keys(t),n=Object.keys(e);if(o.length!==n.length)return!1;let r=t,s=e;for(let a of o)if(!Object.prototype.hasOwnProperty.call(s,a)||!Object.is(r[a],s[a]))return!1;return!0}var $=class extends x{static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(e){super(e),this.state={hasError:!1,error:null}}componentDidCatch(e,o){this.props.onError?.(e,o)}render(){return this.state.hasError?this.props.fallback??null:this.props.children??null}};var ye=A;var ge=B;var Se=z;var f=w({pathname:"/",params:{},navigate:()=>{throw new Error("useNavigate must be used inside a <Router> component.")},basePath:""});function G(){let e=(typeof window<"u"?window.location.hash:"").replace(/^#\/?/,"/");return e===""?"/":e}var q={pathname:G(),hash:typeof window<"u"?window.location.hash:""},M=new Set;function H(){q={pathname:G(),hash:typeof window<"u"?window.location.hash:""};for(let t of M)t()}typeof window<"u"&&window.addEventListener("hashchange",H);function K(t){return M.add(t),()=>{M.delete(t)}}function k(){return q}function J(t,e){let o=t.startsWith("#")?t:"#"+t;if(e?.replace){let n=window.location.pathname+window.location.search+o;window.history.replaceState(null,"",n)}else window.location.hash=o;H()}function Z(t){let[e,o]=y(()=>k().pathname);C(()=>(o(k().pathname),K(()=>{o(k().pathname)})),[]);let n=P((...s)=>{J(s[0],s[1])},[]),r=E(()=>({pathname:e,params:{},navigate:n,basePath:""}),[e,n]);return d(f.Provider,{value:r},t.children)}function Q(t){let e=t.length;for(;e>1&&t.charCodeAt(e-1)===47;)e--;return e===t.length?t:t.slice(0,e)}function g(t,e,o){let n=o?.exact??!1,r=t==="/"?"/":Q(t),s=e==="/"?"/":Q(e);if(r==="/"){let h=s==="/";return n&&!h?null:{params:{},isExact:h,path:t,url:"/"}}let a=r.split("/").filter(Boolean),u=s.split("/").filter(Boolean),i=a[a.length-1]==="*";if(!i&&n&&u.length!==a.length||!i&&u.length<a.length)return null;let p={},m=[];for(let h=0;h<a.length;h++){let R=a[h];if(R==="*"){let T=u.slice(h).join("/");return p["*"]=T,{params:p,isExact:!0,path:t,url:"/"+u.join("/")}}if(h>=u.length)return null;let v=u[h];if(R.startsWith(":")){let T=R.slice(1);p[T]=decodeURIComponent(v),m.push(v);continue}if(R.toLowerCase()!==v.toLowerCase())return null;m.push(v)}let c="/"+m.join("/"),F=u.length===a.length;return n&&!F?null:{params:p,isExact:F,path:t,url:c}}function X(t){let e=l(f),o=e.basePath+t.path,n=g(o,e.pathname,{exact:t.exact??!1}),r=E(()=>({pathname:e.pathname,params:{...e.params,...n?n.params:{}},navigate:e.navigate,basePath:n?n.url:e.basePath}),[e.pathname,e.navigate,e.params,e.basePath,n]);if(!n)return null;for(let a of Object.keys(e.params))a in r.params||(r.params[a]=e.params[a]);let s=t.component?d(t.component,{...r.params}):t.children;return d(f.Provider,{value:r},s)}function ee(t){let{to:e,className:o,activeClassName:n,exact:r,children:s,...a}=t,u=l(f),i=g(e,u.pathname,{exact:r??!1})!==null,p=P(((...c)=>{c[0].preventDefault(),u.navigate(e)}),[e,u.navigate]),m=[o,i?n:null].filter(Boolean).join(" ")||void 0;return d("a",{...a,href:"#"+e,onClick:p,className:m},s)}function te(){return l(f)}function oe(){return l(f).params}function ne(){return l(f).navigate}function Ce(t){let e=t();N(),e&&typeof e.then=="function"&&e.then(()=>{N()})}var V=w({flags:{},isEnabled:()=>!1,setFlag:()=>{},loading:!1});function re(t){let[e,o]=y(()=>({...t.defaults})),[n,r]=y(!!t.url);C(()=>{if(!t.url)return;let i=!1;return r(!0),O(t.url).then(p=>{if(!p.ok)throw new Error(`HTTP ${p.status}`);return p.json()}).then(p=>{if(!i&&typeof p=="object"&&p!==null){let m={};for(let c of Object.keys(p))c!=="__proto__"&&c!=="constructor"&&c!=="prototype"&&(m[c]=p[c]===!0);o(c=>({...c,...m}))}i||r(!1)}).catch(()=>{i||r(!1)}),()=>{i=!0}},[t.url]);let s=P(((...i)=>{let p=i[0];return e[p]===!0}),[e]),a=P(((...i)=>{let p=i[0],m=i[1];o(c=>({...c,[p]:m}))}),[]),u={flags:e,isEnabled:s,setFlag:a,loading:n};return d(V.Provider,{value:u},t.children)}function ae(t){let{isEnabled:e}=l(V);return e(t.flag)?t.children:t.fallback??null}function se(){return l(V)}export{w as a,pe as b,ie as c,le as d,ue as e,ce as f,xe as g,x as h,_ as i,$ as j,ye as k,ge as l,Se as m,Z as n,g as o,X as p,ee as q,te as r,oe as s,ne as t,Ce as u,re as v,ae as w,se as x};
3
- //# sourceMappingURL=chunk-A7AAS5ZR.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{a as n}from"./chunk-3J4RXW7E.js";function E(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}export{E as a};
3
- //# sourceMappingURL=chunk-E43OK6IZ.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{a as p}from"./chunk-ODCBJ22O.js";function u(r,e,n){let t=n!==void 0?n:e.key!==void 0?e.key:null,{key:y,...o}=e,s=t!==null?{...o,key:t}:o;return p(r,s)}export{u as a};
3
- //# sourceMappingURL=chunk-LWOMFZ4C.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- var f=null;function g(e){f=e}function u(){if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside the body of a function component.");return f}function h(e){return u().useState(e)}function l(e,n){return u().useEffect(e,n)}function x(e){return u().useContext(e)}function E(e,n,i){return u().useReducer(e,n,i)}function S(e,n){return u().useCallback(e,n)}function k(e,n){return u().useMemo(e,n)}function d(e){return u().useRef(e)}function C(e,n,i){return u().useImperativeHandle(e,n,i)}function w(e,n){return u().useLayoutEffect(e,n)}function H(e,n){return u().useDebugValue(e,n)}function b(){return u().useId()}function D(e){return u().useDeferredValue(e)}function R(){return u().useTransition()}function M(e,n,i){return u().useSyncExternalStore(e,n,i)}function q(e,n){return u().useInsertionEffect(e,n)}function v(e){let n=d(e);n.current=e;let i=JSON.stringify([e.title,e.description,e.keywords,e.author,e.canonical,e.og,e.twitter,e.httpEquiv,e.meta]);l(()=>{let t=n.current,o=[],s=document.title;if(t.title&&(document.title=t.title,o.push(()=>{document.title=s})),t.description&&o.push(c("name","description",t.description)),t.keywords&&o.push(c("name","keywords",t.keywords)),t.author&&o.push(c("name","author",t.author)),t.canonical){let r=document.createElement("link");r.rel="canonical",r.href=t.canonical,document.head.appendChild(r),o.push(()=>r.remove())}if(t.og)for(let[r,a]of Object.entries(t.og))o.push(c("property",`og:${r}`,a));if(t.twitter)for(let[r,a]of Object.entries(t.twitter))o.push(c("name",`twitter:${r}`,a));if(t.httpEquiv){let r={csp:"Content-Security-Policy",referrer:"Referrer-Policy",contentType:"X-Content-Type-Options",frameOptions:"X-Frame-Options",cacheControl:"Cache-Control"};for(let[a,p]of Object.entries(t.httpEquiv)){if(p===void 0)continue;let m=r[a]??a;o.push(T(m,p))}}if(t.meta)for(let r of t.meta)r.name?o.push(c("name",r.name,r.content)):r.property&&o.push(c("property",r.property,r.content));return()=>{for(let r of o)r()}},[i])}function y(e){return e.replace(/["\\]/g,"\\$&")}function c(e,n,i){let t=`meta[${e}="${y(n)}"]`,o=document.querySelector(t),s=o!==null,r=o?.content;return o||(o=document.createElement("meta"),o.setAttribute(e,n),document.head.appendChild(o)),o.content=i,()=>{s&&r!==void 0?o.content=r:s||o.remove()}}function T(e,n){let i=`meta[http-equiv="${y(e)}"]`,t=document.querySelector(i),o=t!==null,s=t?.content;return t||(t=document.createElement("meta"),t.setAttribute("http-equiv",e),document.head.appendChild(t)),t.content=n,()=>{o&&s!==void 0?t.content=s:o||t.remove()}}export{v as a,g as b,h as c,l as d,x as e,E as f,S as g,k as h,d as i,C as j,w as k,H as l,b as m,D as n,R as o,M as p,q};
3
- //# sourceMappingURL=chunk-MCXU6QF3.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{a as s,b as u}from"./chunk-3J4RXW7E.js";function P(n,t,...o){let f=null,l=null,r={};if(t!=null){t.key!==void 0&&(f=""+t.key),t.ref!==void 0&&(l=t.ref);for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&e!=="key"&&e!=="ref"&&e!=="__proto__"&&e!=="constructor"&&e!=="prototype"&&(r[e]=t[e])}if(o.length===1?r.children=o[0]:o.length>1&&(r.children=o),typeof n=="function"&&n.defaultProps){let e=n.defaultProps;for(let p of Object.keys(e))p!=="__proto__"&&p!=="constructor"&&r[p]===void 0&&(r[p]=e[p])}return{$$typeof:s,type:n,props:r,key:f,ref:l}}function y(n){return(t,...o)=>P(n,t??null,...o)}var d=u;export{P as a,y as b,d as c};
3
- //# sourceMappingURL=chunk-ODCBJ22O.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- function o(e){if(e.startsWith("//"))throw new Error(`[SpecifyJS] Protocol-relative URL rejected: "${e}". Use an explicit https:// prefix.`);if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("data:"))return;let t;try{t=new URL(e,typeof window<"u"?window.location.href:void 0)}catch{return}if(t.protocol!=="https:"&&!(t.hostname==="localhost"||t.hostname==="127.0.0.1"))throw new Error(`[SpecifyJS] Insecure URL rejected: "${e}". SpecifyJS enforces HTTPS-only for all network requests. Use https:// or a relative URL. Localhost URLs are allowed for development.`)}function s(e,t){let r=typeof e=="string"?e:e instanceof URL?e.href:e.url;return o(r),fetch(e,t)}export{o as a,s as b};
3
- //# sourceMappingURL=chunk-TVDAY42P.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- function g(n,e){return n|e}var c=8;function p(){let n=c;return c=n===8?16:8,n}var i=4,a=!1,s=!1,l=[];function C(){return s?1:i}function I(){s=!0}function S(){s=!1}function k(n){let e=i,t=a;i=p(),a=!0;try{n()}finally{i=e,a=t,b()}}function b(){let n=l;l=[];for(let e of n)e()}var r=new Map,L=0,f=!0;function M(n){f=n}function E(n){if(!f)return"";let e=r.get(n);e||(e={name:n,index:L++,instanceCount:0},r.set(n,e),y());let t=e.instanceCount++;return`s-${e.index}-${t}`}function _(n){let e=n.match(/^s-(\d+)-(\d+)$/);if(!e||!e[1]||!e[2])return null;let t=parseInt(e[1],10),d=parseInt(e[2],10);for(let u of r.values())if(u.index===t)return{typeName:u.name,typeIndex:t,instanceId:d};return null}function P(){return r}function y(){if(typeof globalThis<"u"){let n={};for(let e of r.values())n[e.index]=e.name;globalThis.__SPECIFYJS_COMPONENTS__=n}}function R(n){return typeof n=="string"?n:typeof n=="function"?n.name||"Anonymous":n==null?"Unknown":"Component"}var T=!1,o=[];function A(n){if(T){o.length>=1e4&&(typeof console<"u"&&console.warn("[SpecifyJS] Scheduler: pending task queue exceeded 10000 \u2014 dropping oldest tasks"),o=o.slice(-Math.floor(1e4/2))),o.push(n);return}n()}function D(){let n=o;o=[];for(let e of n)e()}function U(n){typeof queueMicrotask=="function"?queueMicrotask(n):Promise.resolve().then(n)}export{g as a,C as b,I as c,S as d,k as e,A as f,D as g,U as h,M as i,E as j,_ as k,P as l,R as m};
3
- //# sourceMappingURL=chunk-VAF4KNDP.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- var d=Object.defineProperty;var e=(b,a,c)=>a in b?d(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c;var f=(b,a,c)=>e(b,typeof a!="symbol"?a+"":a,c);export{f as a};
3
- //# sourceMappingURL=chunk-ZDPD2MPQ.js.map
@@ -1,3 +0,0 @@
1
- /* (c) 2025-2026 Asymmetric Effort, LLC. MIT LICENSE */
2
- import{a,b,c,d}from"./chunk-3SXNLMCH.js";import"./chunk-TVDAY42P.js";import"./chunk-ZDPD2MPQ.js";export{a as createMeterProvider,d as exportToEndpoint,b as formatOtlpMetrics,c as formatOtlpTraces};
3
- //# sourceMappingURL=metrics-56RIK7JQ.js.map