@ai-gui/plugin-bigscreen 0.37.0 → 0.37.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @ai-gui/plugin-bigscreen
2
2
 
3
+ ## 0.37.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 829bc82: A `GlobeSkin` can set `light.ambient`, how much the night side still shows. The default stays 0.5; a host whose photograph has dark oceans raises it instead of watching half the planet go black at dusk.
8
+ - @ai-gui/core@0.37.1
9
+
3
10
  ## 0.37.0
4
11
 
5
12
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_positions = require('./positions-BWG0m0U9.cjs');
2
+ const require_positions = require('./positions-CHtRx0fb.cjs');
3
3
  const __ai_gui_core = require_positions.__toESM(require("@ai-gui/core"));
4
4
 
5
5
  //#region src/parse.ts
@@ -961,7 +961,7 @@ function bigscreen(options = {}) {
961
961
  let destroy;
962
962
  let disposed = false;
963
963
  Promise.resolve().then(function() {
964
- return require("./mount-BTQc08Gl.cjs");
964
+ return require("./mount-BXSCLn67.cjs");
965
965
  }).then(({ mountScreen }) => {
966
966
  if (disposed) return;
967
967
  destroy = mountScreen(el, definition, options.animate !== false, options.globe, options.events);
package/dist/index.d.cts CHANGED
@@ -233,10 +233,13 @@ interface GlobeSkin {
233
233
  * The sun.
234
234
  *
235
235
  * `time` is what echarts-gl puts the main light at, so the terminator falls where the sun
236
- * actually is; the default is now.
236
+ * actually is; the default is now. `ambient` is how much the night side still shows,
237
+ * 0–1; the default 0.5 keeps coastlines readable, a host whose photograph has dark oceans
238
+ * raises it.
237
239
  */
238
240
  light?: {
239
241
  intensity?: number;
242
+ ambient?: number;
240
243
  time?: Date | string;
241
244
  };
242
245
  }
package/dist/index.d.ts CHANGED
@@ -233,10 +233,13 @@ interface GlobeSkin {
233
233
  * The sun.
234
234
  *
235
235
  * `time` is what echarts-gl puts the main light at, so the terminator falls where the sun
236
- * actually is; the default is now.
236
+ * actually is; the default is now. `ambient` is how much the night side still shows,
237
+ * 0–1; the default 0.5 keeps coastlines readable, a host whose photograph has dark oceans
238
+ * raises it.
237
239
  */
238
240
  light?: {
239
241
  intensity?: number;
242
+ ambient?: number;
240
243
  time?: Date | string;
241
244
  };
242
245
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { EDGE_VERTICES, GRAPH_LABELS, GRAPH_LEGEND_ROWS, GRAPH_MAX_STEPS, GRAPH_SETTLE_STEPS, LAYOUT_GRAVITY, LAYOUT_SPRING, ORBIT_BOX, ORBIT_DISTANCE, ORBIT_EXTENT, ORBIT_FOV, REMEMBERED_GRAPHS, TIMELINE_LABELS, chart3dOption, chartOption, countriesTexture, createLayout, degrees, earthColours, earthTexture, forgetPositions, formatNumber, gaugeColour, gaugeOption, globeOption, globeTexture, graph3dOption, graphKey, graphLegend, graphOrbitData, graphOrbitOption, graphTooltip, hash, layoutChunk, layoutRadius, layoutSteps, orbitFrame, palette, recallPositions, rememberPositions, seedPositions, spacedItems, timelineHeight, timelineOption, timelineWindow, typeColour, withAlpha } from "./positions-BArCP-1k.js";
1
+ import { EDGE_VERTICES, GRAPH_LABELS, GRAPH_LEGEND_ROWS, GRAPH_MAX_STEPS, GRAPH_SETTLE_STEPS, LAYOUT_GRAVITY, LAYOUT_SPRING, ORBIT_BOX, ORBIT_DISTANCE, ORBIT_EXTENT, ORBIT_FOV, REMEMBERED_GRAPHS, TIMELINE_LABELS, chart3dOption, chartOption, countriesTexture, createLayout, degrees, earthColours, earthTexture, forgetPositions, formatNumber, gaugeColour, gaugeOption, globeOption, globeTexture, graph3dOption, graphKey, graphLegend, graphOrbitData, graphOrbitOption, graphTooltip, hash, layoutChunk, layoutRadius, layoutSteps, orbitFrame, palette, recallPositions, rememberPositions, seedPositions, spacedItems, timelineHeight, timelineOption, timelineWindow, typeColour, withAlpha } from "./positions-CN8aP4-S.js";
2
2
  import { translate } from "@ai-gui/core";
3
3
 
4
4
  //#region src/parse.ts
@@ -959,7 +959,7 @@ function bigscreen(options = {}) {
959
959
  mount: (el) => {
960
960
  let destroy;
961
961
  let disposed = false;
962
- import("./mount-jK0A6BBY.js").then(({ mountScreen }) => {
962
+ import("./mount-ChcoxgHd.js").then(({ mountScreen }) => {
963
963
  if (disposed) return;
964
964
  destroy = mountScreen(el, definition, options.animate !== false, options.globe, options.events);
965
965
  }).catch(() => {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_positions = require('./positions-BWG0m0U9.cjs');
2
+ const require_positions = require('./positions-CHtRx0fb.cjs');
3
3
  const echarts_charts = require_positions.__toESM(require("echarts/charts"));
4
4
  const echarts_components = require_positions.__toESM(require("echarts/components"));
5
5
  const echarts_core = require_positions.__toESM(require("echarts/core"));
@@ -1,4 +1,4 @@
1
- import { chart3dOption, chartOption, createLayout, earthTexture, formatNumber, gaugeOption, globeOption, graph3dOption, graphKey, graphLegend, graphOrbitData, graphOrbitOption, layoutChunk, palette, recallPositions, rememberPositions, timelineHeight, timelineOption, withAlpha } from "./positions-BArCP-1k.js";
1
+ import { chart3dOption, chartOption, createLayout, earthTexture, formatNumber, gaugeOption, globeOption, graph3dOption, graphKey, graphLegend, graphOrbitData, graphOrbitOption, layoutChunk, palette, recallPositions, rememberPositions, timelineHeight, timelineOption, withAlpha } from "./positions-CN8aP4-S.js";
2
2
  import { BarChart, EffectScatterChart, FunnelChart, GaugeChart, HeatmapChart, LineChart, LinesChart, PieChart, RadarChart, ScatterChart } from "echarts/charts";
3
3
  import { DatasetComponent, GridComponent, LegendComponent, PolarComponent, RadarComponent, TitleComponent, TooltipComponent, VisualMapComponent } from "echarts/components";
4
4
  import { init, use } from "echarts/core";
@@ -402,7 +402,7 @@ function globeOption(panel, c, animate, texture, skin) {
402
402
  offset: 4
403
403
  },
404
404
  light: skin ? {
405
- ambient: { intensity: .5 },
405
+ ambient: { intensity: skin.light?.ambient ?? .5 },
406
406
  main: {
407
407
  intensity: skin.light?.intensity ?? 1.1,
408
408
  shadow: false,
@@ -377,7 +377,7 @@ function globeOption(panel, c, animate, texture, skin) {
377
377
  offset: 4
378
378
  },
379
379
  light: skin ? {
380
- ambient: { intensity: .5 },
380
+ ambient: { intensity: skin.light?.ambient ?? .5 },
381
381
  main: {
382
382
  intensity: skin.light?.intensity ?? 1.1,
383
383
  shadow: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-gui/plugin-bigscreen",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "description": "Animated data walls for AIGUI — counting KPIs, sweeping gauges, growing ranks, self-drawing charts, turning 3D bars and globes, on a grid the model lays out.",
5
5
  "keywords": [
6
6
  "llm",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "echarts": "^5.5.1",
58
- "@ai-gui/core": "0.37.0"
58
+ "@ai-gui/core": "0.37.1"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "echarts-gl": "^2.0.9"