@x-cmd/draw 0.5.4 → 0.5.6
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/client.d.ts +2 -2
- package/dist/client.js +0 -4
- package/dist/draw-client.iife.js +30 -30
- package/dist/globe.d.ts +1 -0
- package/dist/globe.js +4 -0
- package/dist/render/anno.d.ts +18 -0
- package/dist/render/anno.js +79 -8
- package/dist/world.d.ts +1 -0
- package/dist/world.js +5 -0
- package/package.json +5 -1
package/dist/client.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare function renderDiagramTo(el: Element, params: URLSearchParams | s
|
|
|
38
38
|
export declare function autoRender(root?: ParentNode, opts?: {
|
|
39
39
|
lazy?: boolean;
|
|
40
40
|
}): number;
|
|
41
|
-
export {
|
|
41
|
+
export type { EarthScene, EarthOpts, EarthNode, EarthLink, } from './render/globe-earth.js';
|
|
42
42
|
export { projectScene, DEFAULT_CAMERA, type Camera, type Scene } from './render/scene3d.js';
|
|
43
|
-
export {
|
|
43
|
+
export type { WorldCountry } from './world-data.js';
|
|
44
44
|
export { parseAbc, beatsOf, pitchInfo, type AbcTune } from './render/abc-parse.js';
|
package/dist/client.js
CHANGED
|
@@ -277,9 +277,5 @@ if (typeof document !== 'undefined') {
|
|
|
277
277
|
mo.observe(document.documentElement, { childList: true, subtree: true });
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
// 球面那几样(地球仪/三维架构图)浏览器端也要用 ⇒ 从这里一并导出,
|
|
281
|
-
// 免得宿主为了它们去引整个 source 入口(那一族要外部库,浏览器包扛不住)
|
|
282
|
-
export { renderEarthGlobe, earthSceneFromUrl, } from './render/globe-earth.js';
|
|
283
280
|
export { projectScene, DEFAULT_CAMERA } from './render/scene3d.js';
|
|
284
|
-
export { WORLD_COUNTRIES, WORLD_YEAR } from './world-data.js';
|
|
285
281
|
export { parseAbc, beatsOf, pitchInfo } from './render/abc-parse.js';
|