@yuneta/gobj-ui 7.28.2 → 7.29.0

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 (60) hide show
  1. package/README.md +18 -18
  2. package/dist/gobj-ui.cjs.js +5 -5
  3. package/dist/gobj-ui.es.js +5 -5
  4. package/package.json +2 -2
  5. package/scripts/validate-locales.mjs +3 -3
  6. package/src/c_g6_nodes_tree.js +2 -2
  7. package/src/c_yui_gobj_tree_js.js +1 -1
  8. package/src/c_yui_shell.js +2 -2
  9. package/src/c_yui_treedb_graph.js +1 -1
  10. package/src/c_yui_treedb_schema.js +1 -1
  11. package/src/c_yui_treedb_topics.js +1 -1
  12. package/src/data_as_text.wiring.test.js +1 -2
  13. package/src/form_close_asks_for_edits.wiring.test.js +2 -2
  14. package/src/form_json_editor_names.js +1 -1
  15. package/src/form_json_editor_names.wiring.test.js +1 -1
  16. package/src/form_table_edits_ask.wiring.test.js +1 -1
  17. package/src/form_table_validator.wiring.test.js +2 -2
  18. package/src/form_template_field.wiring.test.js +2 -2
  19. package/src/g6_canvas_tab_order.wiring.test.js +4 -4
  20. package/src/g6_long_press_clock.test.js +2 -2
  21. package/src/g6_nodes_tree_controls.test.js +1 -1
  22. package/src/g6_nodes_tree_focus.wiring.test.js +1 -1
  23. package/src/g6_nodes_tree_i18n_keys.test.js +2 -2
  24. package/src/g6_patches_first_graph.wiring.test.js +1 -1
  25. package/src/gclass_head_text.wiring.test.js +1 -1
  26. package/src/gobj_tree_remote.wiring.test.js +2 -2
  27. package/src/i18n_key_functions.js +3 -3
  28. package/src/i18n_key_functions.test.js +18 -18
  29. package/src/lib_graph.css +1 -1
  30. package/src/lib_maplibre_relocalize.test.js +1 -1
  31. package/src/modal_guard_back.wiring.test.js +2 -2
  32. package/src/named_controls.wiring.test.js +8 -8
  33. package/src/nav_item_badge.wiring.test.js +2 -2
  34. package/src/route_map_model.test.js +2 -2
  35. package/src/route_resolver.test.js +9 -9
  36. package/src/schema_editor_openers.wiring.test.js +1 -2
  37. package/src/schema_editor_reload.wiring.test.js +4 -4
  38. package/src/schema_import.js +1 -1
  39. package/src/schema_import.test.js +3 -3
  40. package/src/schema_validate.test.js +1 -1
  41. package/src/selector_from_data.wiring.test.js +1 -1
  42. package/src/shell_toolbar_helpers.test.js +1 -1
  43. package/src/table_editor_name.wiring.test.js +2 -2
  44. package/src/tabulator.css +1 -1
  45. package/src/tabulator_css.test.js +1 -1
  46. package/src/treedb_json_drill.wiring.test.js +2 -2
  47. package/src/treedb_topics_transport.wiring.test.js +1 -1
  48. package/src/uplot_ink.test.js +1 -1
  49. package/src/window_layer.wiring.test.js +6 -6
  50. package/src/yui_asset.test.js +1 -1
  51. package/src/yui_badge.test.js +1 -1
  52. package/src/yui_dev.js +2 -2
  53. package/src/yui_dev_controls.test.js +2 -2
  54. package/src/yui_dev_copy.test.js +2 -2
  55. package/src/yui_icons.css +6 -0
  56. package/src/yui_row_search.test.js +6 -6
  57. package/src/yui_selector.js +1 -1
  58. package/src/yui_tab_routes.test.js +5 -5
  59. package/src/yui_tabulator_i18n.test.js +1 -1
  60. package/vite-plugin-yuneta-html.js +1 -1
@@ -4,11 +4,11 @@ import {row_matches, is_fkey_ref, is_hook_size} from "./yui_row_search.js";
4
4
 
5
5
  describe("row_matches", () => {
6
6
  const row = {
7
- id: "E22003089",
7
+ id: "E00000042",
8
8
  name: "",
9
9
  place: [
10
10
  {
11
- id: "es.madrid.bm-madrid-fuencarral-m-av.local-13-torno",
11
+ id: "es.city.site-a.local-13-gate",
12
12
  topic_name: "places",
13
13
  hook_name: "devices"
14
14
  }
@@ -20,7 +20,7 @@ describe("row_matches", () => {
20
20
  };
21
21
 
22
22
  it("finds a plain field", () => {
23
- expect(row_matches(row, "e22003089")).toBe(true);
23
+ expect(row_matches(row, "e00000042")).toBe(true);
24
24
  });
25
25
 
26
26
  it("finds a number", () => {
@@ -28,7 +28,7 @@ describe("row_matches", () => {
28
28
  });
29
29
 
30
30
  it("finds a value INSIDE an fkey, which is the whole point", () => {
31
- expect(row_matches(row, "local-13-torno")).toBe(true);
31
+ expect(row_matches(row, "local-13-gate")).toBe(true);
32
32
  });
33
33
 
34
34
  it("does NOT match the structural halves of an fkey", () => {
@@ -80,10 +80,10 @@ describe("row_matches, on a table loaded with hook_size", () => {
80
80
  const loaded = {
81
81
  id: "places-madrid",
82
82
  devices: [
83
- {id: "E22003089", topic_name: "devices", hook_name: "places"}
83
+ {id: "E00000042", topic_name: "devices", hook_name: "places"}
84
84
  ]
85
85
  };
86
- expect(row_matches(loaded, "e22003089")).toBe(true);
86
+ expect(row_matches(loaded, "e00000042")).toBe(true);
87
87
  });
88
88
  });
89
89
 
@@ -14,7 +14,7 @@
14
14
  * - `%` `^` `"` `\` and the rest make it INVALID: querySelector
15
15
  * THROWS a SyntaxError, out of whatever action was running.
16
16
  *
17
- * REV-CLOUD V40.3.1: the gobj tree found its canvas with
17
+ * The gobj tree found its canvas with
18
18
  * `querySelector("#" + id)`, and gui_agent named the window
19
19
  * `node~key` -- every open logged "no canvas mount" and the
20
20
  * canvas never resized; a `^` in the key (`%5E`) threw out of
@@ -25,19 +25,19 @@ const US = String.fromCharCode(31); /* the composite-id separator */
25
25
 
26
26
  describe("yui_tab_split_subpath", () => {
27
27
  test("a bare tab tail is all id", () => {
28
- expect(yui_tab_split_subpath("wattyzer")).toEqual({id: "wattyzer", tail: ""});
28
+ expect(yui_tab_split_subpath("node1")).toEqual({id: "node1", tail: ""});
29
29
  });
30
30
 
31
31
  test("a deep tail keeps the id and hands the rest back", () => {
32
- expect(yui_tab_split_subpath("wattyzer/treedb_authzs/__graphs__"))
33
- .toEqual({id: "wattyzer", tail: "treedb_authzs/__graphs__"});
32
+ expect(yui_tab_split_subpath("node1/treedb_authzs/__graphs__"))
33
+ .toEqual({id: "node1", tail: "treedb_authzs/__graphs__"});
34
34
  });
35
35
 
36
36
  test("a composite id survives the url it travelled in", () => {
37
37
  /* 0x1F joins the two halves of these ids and reaches the url
38
38
  * percent-encoded. */
39
- expect(yui_tab_split_subpath("yunovatios-controlador%1F1630/treedb_authzs/__graphs__"))
40
- .toEqual({id: "yunovatios-controlador" + US + "1630",
39
+ expect(yui_tab_split_subpath("node-a%1F1630/treedb_authzs/__graphs__"))
40
+ .toEqual({id: "node-a" + US + "1630",
41
41
  tail: "treedb_authzs/__graphs__"});
42
42
  });
43
43
 
@@ -122,7 +122,7 @@ describe("yui_tabulator_name_row_selects", () => {
122
122
  describe("yui_tabulator_name_editor", () => {
123
123
  /* Tabulator calls a FUNCTION editorParams with the cell when it starts
124
124
  * editing it, and every built-in editor writes the elementAttributes
125
- * it answers onto the box it draws (REV-CLOUD V23.5.6: the editable
125
+ * it answers onto the box it draws (the editable
126
126
  * cells had no name). */
127
127
  it("names the editor after the column, asked at the moment of editing", () => {
128
128
  let lang = "en";
@@ -101,7 +101,7 @@ export function yunetaHtmlPlugin(options = {}) {
101
101
  * with `<script src="/<name>.js">`. Same-origin URL
102
102
  * satisfies 'self'; an inline block does not.
103
103
  *
104
- * See `wattyzer/gui/public/anti-fouc.js` for the
104
+ * See an application's `gui/public/anti-fouc.js` for the
105
105
  * canonical pre-paint pattern (theme bootstrap from
106
106
  * localStorage + matchMedia fallback).
107
107
  *