@yuneta/gobj-ui 7.25.22 → 7.25.24

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.
@@ -11140,8 +11140,8 @@ function ac_load_data$2(gobj, event, kw, src) {
11140
11140
  ******************************************************/
11141
11141
  function ac_add_serie(gobj, event, kw, src) {
11142
11142
  let uplot$4 = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "uplot");
11143
- let idx;
11144
- for (idx = 0; idx < uplot$4.series.length; idx++) {
11143
+ let idx = 0;
11144
+ for (; idx < uplot$4.series.length; idx++) {
11145
11145
  let serie = uplot$4.series[idx];
11146
11146
  if (serie.id && serie.id === kw.id) {
11147
11147
  (0, _yuneta_gobj_js.log_error)("Serie '" + kw.id + "' already exists");
@@ -32846,8 +32846,6 @@ var eventemitter3_default = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS
32846
32846
  if ("undefined" !== typeof module) module.exports = EventEmitter;
32847
32847
  })))(), 1)).default;
32848
32848
  var ARRAY_TYPE = typeof Float32Array !== "undefined" ? Float32Array : Array;
32849
- Math.PI / 180;
32850
- 180 / Math.PI;
32851
32849
  //#endregion
32852
32850
  //#region node_modules/gl-matrix/esm/mat3.js
32853
32851
  /**
@@ -50122,12 +50120,12 @@ PERFORMANCE OF THIS SOFTWARE.
50122
50120
  },
50123
50121
  trys: [],
50124
50122
  ops: []
50125
- }, f, y, t, g;
50126
- return g = {
50123
+ }, f, y, t, g = {
50127
50124
  next: verb(0),
50128
50125
  "throw": verb(1),
50129
50126
  "return": verb(2)
50130
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
50127
+ };
50128
+ return typeof Symbol === "function" && (g[Symbol.iterator] = function() {
50131
50129
  return this;
50132
50130
  }), g;
50133
50131
  function verb(n) {
@@ -69332,8 +69330,9 @@ function ac_set_operation_mode(gobj, event, kw, src) {
69332
69330
  var LEGEND_GLYPH_STYLE = `font-size:${YUI_TOOLBAR_ICON_SIZE}; line-height:1; color:inherit;`;
69333
69331
  var LEGEND_NAME_STYLE = "font-size:1rem; line-height:1.2;";
69334
69332
  var LEGEND_COUNT_STYLE = "margin-left:.4rem; font-size:.875rem; opacity:.8;";
69335
- var LEGEND_MAIN_NAME_STYLE = "font-size:1rem; line-height:1.2; font-weight:700;";
69333
+ var LEGEND_MAIN_NAME_STYLE = LEGEND_NAME_STYLE + " font-weight:700;";
69336
69334
  var LEGEND_STAR_MAIN_STYLE = LEGEND_GLYPH_STYLE + " color:var(--bulma-warning-on-scheme, var(--bulma-warning, #ffdd57));";
69335
+ var LEGEND_FOCUSED_STYLE = "box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);";
69337
69336
  function refresh_legend(gobj) {
69338
69337
  let priv = gobj.priv;
69339
69338
  let $container = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "$container");
@@ -69375,7 +69374,7 @@ function refresh_legend(gobj) {
69375
69374
  let body_attrs = {
69376
69375
  class: "GRAPH_LEGEND_ITEM button" + (focused ? " GRAPH_LEGEND_FOCUSED" : "") + (is_main ? " GRAPH_LEGEND_MAIN" : ""),
69377
69376
  type: "button",
69378
- style: "gap:0; flex:0 0 auto;" + (focused ? " box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);" : ""),
69377
+ style: "gap:0; flex:0 0 auto;" + (focused ? " " + LEGEND_FOCUSED_STYLE : ""),
69379
69378
  title: (0, i18next.t)(body_key),
69380
69379
  "data-i18n-title": body_key,
69381
69380
  "aria-label": topic_name,
@@ -69407,7 +69406,7 @@ function refresh_legend(gobj) {
69407
69406
  {
69408
69407
  class: "GRAPH_LEGEND_STAR button",
69409
69408
  type: "button",
69410
- style: "padding:0 .5rem; box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);",
69409
+ style: "padding:0 .5rem; " + LEGEND_FOCUSED_STYLE,
69411
69410
  title: (0, i18next.t)("main topic"),
69412
69411
  "data-i18n-title": "main topic",
69413
69412
  "aria-label": (0, i18next.t)("main topic"),
@@ -11135,8 +11135,8 @@ function ac_load_data$2(gobj, event, kw, src) {
11135
11135
  ******************************************************/
11136
11136
  function ac_add_serie(gobj, event, kw, src) {
11137
11137
  let uplot = gobj_read_attr(gobj, "uplot");
11138
- let idx;
11139
- for (idx = 0; idx < uplot.series.length; idx++) {
11138
+ let idx = 0;
11139
+ for (; idx < uplot.series.length; idx++) {
11140
11140
  let serie = uplot.series[idx];
11141
11141
  if (serie.id && serie.id === kw.id) {
11142
11142
  log_error("Serie '" + kw.id + "' already exists");
@@ -32841,8 +32841,6 @@ var eventemitter3_default = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS
32841
32841
  if ("undefined" !== typeof module) module.exports = EventEmitter;
32842
32842
  })))(), 1)).default;
32843
32843
  var ARRAY_TYPE = typeof Float32Array !== "undefined" ? Float32Array : Array;
32844
- Math.PI / 180;
32845
- 180 / Math.PI;
32846
32844
  //#endregion
32847
32845
  //#region node_modules/gl-matrix/esm/mat3.js
32848
32846
  /**
@@ -50117,12 +50115,12 @@ PERFORMANCE OF THIS SOFTWARE.
50117
50115
  },
50118
50116
  trys: [],
50119
50117
  ops: []
50120
- }, f, y, t, g;
50121
- return g = {
50118
+ }, f, y, t, g = {
50122
50119
  next: verb(0),
50123
50120
  "throw": verb(1),
50124
50121
  "return": verb(2)
50125
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
50122
+ };
50123
+ return typeof Symbol === "function" && (g[Symbol.iterator] = function() {
50126
50124
  return this;
50127
50125
  }), g;
50128
50126
  function verb(n) {
@@ -69327,8 +69325,9 @@ function ac_set_operation_mode(gobj, event, kw, src) {
69327
69325
  var LEGEND_GLYPH_STYLE = `font-size:${YUI_TOOLBAR_ICON_SIZE}; line-height:1; color:inherit;`;
69328
69326
  var LEGEND_NAME_STYLE = "font-size:1rem; line-height:1.2;";
69329
69327
  var LEGEND_COUNT_STYLE = "margin-left:.4rem; font-size:.875rem; opacity:.8;";
69330
- var LEGEND_MAIN_NAME_STYLE = "font-size:1rem; line-height:1.2; font-weight:700;";
69328
+ var LEGEND_MAIN_NAME_STYLE = LEGEND_NAME_STYLE + " font-weight:700;";
69331
69329
  var LEGEND_STAR_MAIN_STYLE = LEGEND_GLYPH_STYLE + " color:var(--bulma-warning-on-scheme, var(--bulma-warning, #ffdd57));";
69330
+ var LEGEND_FOCUSED_STYLE = "box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);";
69332
69331
  function refresh_legend(gobj) {
69333
69332
  let priv = gobj.priv;
69334
69333
  let $container = gobj_read_attr(gobj, "$container");
@@ -69370,7 +69369,7 @@ function refresh_legend(gobj) {
69370
69369
  let body_attrs = {
69371
69370
  class: "GRAPH_LEGEND_ITEM button" + (focused ? " GRAPH_LEGEND_FOCUSED" : "") + (is_main ? " GRAPH_LEGEND_MAIN" : ""),
69372
69371
  type: "button",
69373
- style: "gap:0; flex:0 0 auto;" + (focused ? " box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);" : ""),
69372
+ style: "gap:0; flex:0 0 auto;" + (focused ? " " + LEGEND_FOCUSED_STYLE : ""),
69374
69373
  title: t(body_key),
69375
69374
  "data-i18n-title": body_key,
69376
69375
  "aria-label": topic_name,
@@ -69402,7 +69401,7 @@ function refresh_legend(gobj) {
69402
69401
  {
69403
69402
  class: "GRAPH_LEGEND_STAR button",
69404
69403
  type: "button",
69405
- style: "padding:0 .5rem; box-shadow: inset 0 0 0 2px var(--bulma-text, #2e333d);",
69404
+ style: "padding:0 .5rem; " + LEGEND_FOCUSED_STYLE,
69406
69405
  title: t("main topic"),
69407
69406
  "data-i18n-title": "main topic",
69408
69407
  "aria-label": t("main topic"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.25.22",
3
+ "version": "7.25.24",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -31,7 +31,7 @@
31
31
  "@rollup/plugin-terser": "^1.0.0",
32
32
  "@vitest/coverage-v8": "^4.1.10",
33
33
  "@yuneta/gobj-js": "^7.25.8",
34
- "vite": "^8.2.1",
34
+ "vite": "^8.3.1",
35
35
  "vitest": "^4.1.10"
36
36
  },
37
37
  "peerDependencies": {
@@ -39,7 +39,7 @@
39
39
  "@yuneta/gobj-js": "^7.22.2",
40
40
  "bulma": "^1.0.4",
41
41
  "i18next": "^26.3.6",
42
- "maplibre-gl": "^6.10.0",
42
+ "maplibre-gl": "^6.11.2",
43
43
  "tabulator-tables": "^6.5.3",
44
44
  "tom-select": "^2.6.2",
45
45
  "uplot": "^1.6.32",
@@ -175,6 +175,8 @@
175
175
  display: flex;
176
176
  justify-content: flex-start;
177
177
  align-items: stretch;
178
+ gap: 0; /* Bulma's .level puts 0.75rem between the padded items: five
179
+ labels of gui_agent scrolled at 360px (Spanish 29px over) */
178
180
  margin: 0;
179
181
  padding: 0.25rem 0;
180
182
  width: 100%;