@yuneta/gobj-ui 7.26.8 → 7.26.10

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.
@@ -919,6 +919,7 @@ var PRIVATE_DATA$22 = {
919
919
  overlay_stack: [],
920
920
  overlay_seq: 0,
921
921
  expected_pops: 0,
922
+ pending_markers: [],
922
923
  popstate_handler: null,
923
924
  avatar_provider: null,
924
925
  avatar_nodes: [],
@@ -976,6 +977,7 @@ function mt_start$20(gobj) {
976
977
  if (!p) return;
977
978
  if (p.expected_pops > 0) {
978
979
  p.expected_pops--;
980
+ if (p.expected_pops === 0) push_pending_markers(gobj);
979
981
  return;
980
982
  }
981
983
  if (p.overlay_stack.length === 0) return;
@@ -2421,14 +2423,35 @@ function push_overlay_history(gobj, close, opts) {
2421
2423
  keep_on_navigate: !!(opts && opts.keep_on_navigate)
2422
2424
  };
2423
2425
  priv.overlay_stack.push(entry);
2426
+ if (priv.expected_pops > 0) {
2427
+ entry.marker_pending = true;
2428
+ priv.pending_markers.push(entry);
2429
+ return entry;
2430
+ }
2431
+ if (!push_overlay_marker(gobj, entry)) return null;
2432
+ return entry;
2433
+ }
2434
+ function push_overlay_marker(gobj, entry) {
2435
+ let priv = gobj.priv;
2424
2436
  try {
2425
2437
  window.history.pushState({ __yui_overlay__: entry.id }, "");
2426
2438
  } catch (e) {
2427
- priv.overlay_stack.pop();
2439
+ let idx = priv.overlay_stack.indexOf(entry);
2440
+ if (idx >= 0) priv.overlay_stack.splice(idx, 1);
2428
2441
  (0, _yuneta_gobj_js.log_warning)(`C_YUI_SHELL: overlay pushState failed: ${e}`);
2429
- return null;
2442
+ return false;
2443
+ }
2444
+ return true;
2445
+ }
2446
+ function push_pending_markers(gobj) {
2447
+ let priv = gobj.priv;
2448
+ let pending = priv.pending_markers.splice(0);
2449
+ for (let entry of pending) {
2450
+ entry.marker_pending = false;
2451
+ if (entry.dismissed || priv.overlay_stack.indexOf(entry) < 0) continue;
2452
+ entry.hash = window.location.hash;
2453
+ push_overlay_marker(gobj, entry);
2430
2454
  }
2431
- return entry;
2432
2455
  }
2433
2456
  function overlay_dismissed(gobj, entry) {
2434
2457
  let priv = gobj.priv;
@@ -2437,6 +2460,7 @@ function overlay_dismissed(gobj, entry) {
2437
2460
  let idx = priv.overlay_stack.indexOf(entry);
2438
2461
  if (idx < 0) return;
2439
2462
  priv.overlay_stack.splice(idx, 1);
2463
+ if (entry.marker_pending) return;
2440
2464
  let st = window.history.state;
2441
2465
  if (st && st.__yui_overlay__ === entry.id) {
2442
2466
  priv.expected_pops++;
@@ -3060,6 +3084,16 @@ function text_node(value) {
3060
3084
  if (value === null || value === void 0) return document.createTextNode("");
3061
3085
  return document.createTextNode(String(value).trim());
3062
3086
  }
3087
+ /************************************************************
3088
+ * A Tabulator `titleFormatter` that shows the column title as text.
3089
+ *
3090
+ * Tabulator puts a STRING title in with innerHTML, so a title taken
3091
+ * from a schema (`header`, which the schema editor writes) is markup
3092
+ * unless the column carries a formatter that returns a Node.
3093
+ ************************************************************/
3094
+ function text_title_formatter(cell) {
3095
+ return text_node(cell.getValue());
3096
+ }
3063
3097
  //#endregion
3064
3098
  //#region src/shell_modals.js
3065
3099
  /***********************************************************************
@@ -3282,7 +3316,7 @@ function yui_shell_show_modal(shell, content, opts) {
3282
3316
  class: "MODAL_TITLE_KIND",
3283
3317
  i18n: title
3284
3318
  },
3285
- title
3319
+ text_node(title)
3286
3320
  ]] : [])
3287
3321
  ],
3288
3322
  [
@@ -3471,7 +3505,7 @@ function build_dialog(shell, message, buttons, opts) {
3471
3505
  class: "CONFIRM_TITLE yui-confirm-title has-text-centered",
3472
3506
  i18n: title
3473
3507
  },
3474
- title
3508
+ text_node(title)
3475
3509
  ]);
3476
3510
  $card_children.push(["button", {
3477
3511
  class: "CONFIRM_CLOSE delete yui-confirm-x",
@@ -3706,11 +3740,11 @@ function mt_create$21(gobj) {
3706
3740
  let $c = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "$container");
3707
3741
  if ($c) $c.addEventListener("pointerdown", function() {
3708
3742
  let m = (0, _yuneta_gobj_js.gobj_read_pointer_attr)(gobj, "manager");
3709
- if (m) (0, _yuneta_gobj_js.gobj_send_event)(m, "EV_FOCUS_WINDOW", { window: gobj }, gobj);
3743
+ if (m) (0, _yuneta_gobj_js.gobj_send_event)(m, "EV_FOCUS_WINDOW", { window: (0, _yuneta_gobj_js.gobj_full_name)(gobj) }, gobj);
3710
3744
  }, true);
3711
3745
  let chip_title = composed_title(gobj);
3712
3746
  (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_REGISTER_WINDOW", {
3713
- window: gobj,
3747
+ window: (0, _yuneta_gobj_js.gobj_full_name)(gobj),
3714
3748
  title: chip_title ? chip_title : (0, _yuneta_gobj_js.gobj_short_name)(gobj),
3715
3749
  title_key: (0, _yuneta_gobj_js.gobj_read_str_attr)(gobj, "title") || "",
3716
3750
  title_kind_text: (0, _yuneta_gobj_js.empty_string)((0, _yuneta_gobj_js.gobj_read_str_attr)(gobj, "title")) ? "" : (0, i18next.t)((0, _yuneta_gobj_js.gobj_read_str_attr)(gobj, "title")),
@@ -3729,7 +3763,7 @@ function mt_create$21(gobj) {
3729
3763
  ***************************************************************/
3730
3764
  function mt_destroy$21(gobj) {
3731
3765
  let manager = (0, _yuneta_gobj_js.gobj_read_pointer_attr)(gobj, "manager");
3732
- if (manager) (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_UNREGISTER_WINDOW", { window: gobj }, gobj);
3766
+ if (manager) (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_UNREGISTER_WINDOW", { window: (0, _yuneta_gobj_js.gobj_full_name)(gobj) }, gobj);
3733
3767
  let back_overlay = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "back_overlay");
3734
3768
  if (back_overlay) {
3735
3769
  let shell = yui_shell_of(gobj);
@@ -3845,7 +3879,7 @@ function build_default_header(gobj) {
3845
3879
  class: "WINDOW_TITLE_KIND has-text-weight-semibold",
3846
3880
  i18n: title
3847
3881
  },
3848
- title
3882
+ text_node(title)
3849
3883
  ]);
3850
3884
  return (0, _yuneta_gobj_js.createElement2)([
3851
3885
  "span",
@@ -3897,7 +3931,7 @@ function do_minimize(gobj) {
3897
3931
  (0, _yuneta_gobj_js.log_error)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: minimize without a window manager`);
3898
3932
  return;
3899
3933
  }
3900
- (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_MINIMIZE_WINDOW", { window: gobj }, gobj);
3934
+ (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_MINIMIZE_WINDOW", { window: (0, _yuneta_gobj_js.gobj_full_name)(gobj) }, gobj);
3901
3935
  }
3902
3936
  /************************************************************
3903
3937
  * Build UI
@@ -3998,7 +4032,7 @@ function build_ui$18(gobj) {
3998
4032
  "data-i18n-aria-label": "minimize",
3999
4033
  style: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "showMin") && (0, _yuneta_gobj_js.gobj_read_pointer_attr)(gobj, "manager") ? "" : "display:none;"
4000
4034
  },
4001
- WC_MIN,
4035
+ (0, _yuneta_gobj_js.html_markup)(WC_MIN),
4002
4036
  { click: (evt) => {
4003
4037
  evt.stopPropagation();
4004
4038
  do_minimize(gobj);
@@ -4015,7 +4049,7 @@ function build_ui$18(gobj) {
4015
4049
  "data-i18n-aria-label": "maximize",
4016
4050
  style: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "showMax") ? "" : "display:none;"
4017
4051
  },
4018
- WC_MAX,
4052
+ (0, _yuneta_gobj_js.html_markup)(WC_MAX),
4019
4053
  { click: (evt) => {
4020
4054
  evt.stopPropagation();
4021
4055
  toggle(gobj);
@@ -4031,7 +4065,7 @@ function build_ui$18(gobj) {
4031
4065
  "aria-label": (0, i18next.t)("close"),
4032
4066
  "data-i18n-aria-label": "close"
4033
4067
  },
4034
- WC_CLOSE,
4068
+ (0, _yuneta_gobj_js.html_markup)(WC_CLOSE),
4035
4069
  { click: (evt) => {
4036
4070
  evt.stopPropagation();
4037
4071
  (0, _yuneta_gobj_js.gobj_send_event)(gobj, "EV_CLOSE_WINDOW", {}, gobj);
@@ -4106,7 +4140,7 @@ function build_ui$18(gobj) {
4106
4140
  [[
4107
4141
  "span",
4108
4142
  { style: "display:inline-block;height:1.4em; width:1.4em;" },
4109
- "<svg viewBox=\"0 0 500 500\"><path d=\"m427.87 493.69a33.778 33.78 0 0 1-23.882-57.661l33.778-33.78a33.799 33.8 0 0 1 47.83 47.763l-33.778 33.78a33.778 33.78 0 0 1-23.882 9.8976zm-190.44 0a33.778 33.78 0 0 1-23.882-57.661l224.22-224.23a33.799 33.8 0 0 1 47.83 47.763l-224.22 224.23a33.778 33.78 0 0 1-23.882 9.8976zm-197.26 0a33.778 33.78 0 0 1-23.882-57.661l421.46-421.47a33.786 33.786 0 1 1 47.797 47.763l-421.49 421.47a33.778 33.78 0 0 1-23.882 9.8976z\" fill=\"var(--bulma-text)\" stroke-width=\"33.78\"/></svg>"
4143
+ (0, _yuneta_gobj_js.html_markup)("<svg viewBox=\"0 0 500 500\"><path d=\"m427.87 493.69a33.778 33.78 0 0 1-23.882-57.661l33.778-33.78a33.799 33.8 0 0 1 47.83 47.763l-33.778 33.78a33.778 33.78 0 0 1-23.882 9.8976zm-190.44 0a33.778 33.78 0 0 1-23.882-57.661l224.22-224.23a33.799 33.8 0 0 1 47.83 47.763l-224.22 224.23a33.778 33.78 0 0 1-23.882 9.8976zm-197.26 0a33.778 33.78 0 0 1-23.882-57.661l421.46-421.47a33.786 33.786 0 1 1 47.797 47.763l-421.49 421.47a33.778 33.78 0 0 1-23.882 9.8976z\" fill=\"var(--bulma-text)\" stroke-width=\"33.78\"/></svg>")
4110
4144
  ]],
4111
4145
  { pointerdown: (evt) => {
4112
4146
  rsStart(gobj, evt);
@@ -4136,7 +4170,7 @@ function build_ui$18(gobj) {
4136
4170
  [[
4137
4171
  "span",
4138
4172
  { style: "display:inline-block;height:1.4em; width:1.4em;" },
4139
- "<svg viewBox=\"0 0 500 500\"><path d=\"m427.87 493.69a33.778 33.78 0 0 1-23.882-57.661l33.778-33.78a33.799 33.8 0 0 1 47.83 47.763l-33.778 33.78a33.778 33.78 0 0 1-23.882 9.8976zm-190.44 0a33.778 33.78 0 0 1-23.882-57.661l224.22-224.23a33.799 33.8 0 0 1 47.83 47.763l-224.22 224.23a33.778 33.78 0 0 1-23.882 9.8976zm-197.26 0a33.778 33.78 0 0 1-23.882-57.661l421.46-421.47a33.786 33.786 0 1 1 47.797 47.763l-421.49 421.47a33.778 33.78 0 0 1-23.882 9.8976z\" fill=\"var(--bulma-text)\" stroke-width=\"33.78\"/></svg>"
4173
+ (0, _yuneta_gobj_js.html_markup)("<svg viewBox=\"0 0 500 500\"><path d=\"m427.87 493.69a33.778 33.78 0 0 1-23.882-57.661l33.778-33.78a33.799 33.8 0 0 1 47.83 47.763l-33.778 33.78a33.778 33.78 0 0 1-23.882 9.8976zm-190.44 0a33.778 33.78 0 0 1-23.882-57.661l224.22-224.23a33.799 33.8 0 0 1 47.83 47.763l-224.22 224.23a33.778 33.78 0 0 1-23.882 9.8976zm-197.26 0a33.778 33.78 0 0 1-23.882-57.661l421.46-421.47a33.786 33.786 0 1 1 47.797 47.763l-421.49 421.47a33.778 33.78 0 0 1-23.882 9.8976z\" fill=\"var(--bulma-text)\" stroke-width=\"33.78\"/></svg>")
4140
4174
  ]],
4141
4175
  { pointerdown: (evt) => {
4142
4176
  rsStart(gobj, evt);
@@ -4493,7 +4527,7 @@ function ac_refresh$11(gobj, event, kw, src) {
4493
4527
  function ac_show$15(gobj, event, kw, src) {
4494
4528
  let manager = (0, _yuneta_gobj_js.gobj_read_pointer_attr)(gobj, "manager");
4495
4529
  if (manager) {
4496
- (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_FOCUS_WINDOW", { window: gobj }, gobj);
4530
+ (0, _yuneta_gobj_js.gobj_send_event)(manager, "EV_FOCUS_WINDOW", { window: (0, _yuneta_gobj_js.gobj_full_name)(gobj) }, gobj);
4497
4531
  return 0;
4498
4532
  }
4499
4533
  let $container = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "$container");
@@ -4842,6 +4876,29 @@ function chip_lead(icon) {
4842
4876
  /************************************************************
4843
4877
  * Find a registry entry by its window gobj.
4844
4878
  ************************************************************/
4879
+ /************************************************************
4880
+ * The window an event is about. A kw is plain json (the machine
4881
+ * trace dumps it), so the window travels in it as its FULL NAME,
4882
+ * which the trace can print, and the gobj is the event's src --
4883
+ * every sender is the window itself. Up to 7.26.9 the kw carried
4884
+ * the gobj; that is still taken, with a warning, for this release.
4885
+ ************************************************************/
4886
+ var warned_gobj_in_kw = false;
4887
+ function window_of(gobj, event, kw, src) {
4888
+ let w = kw && kw.window;
4889
+ if ((0, _yuneta_gobj_js.is_gobj)(w)) {
4890
+ if (!warned_gobj_in_kw) {
4891
+ warned_gobj_in_kw = true;
4892
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: ${event} carries the window gobj in its kw: send {window: gobj_full_name(window)} from the window`);
4893
+ }
4894
+ return w;
4895
+ }
4896
+ if (!(0, _yuneta_gobj_js.is_gobj)(src) || (0, _yuneta_gobj_js.gobj_full_name)(src) !== w) {
4897
+ (0, _yuneta_gobj_js.log_error)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: ${event}: window '${w}' is not the src of the event (${(0, _yuneta_gobj_js.is_gobj)(src) ? (0, _yuneta_gobj_js.gobj_full_name)(src) : String(src)})`);
4898
+ return null;
4899
+ }
4900
+ return src;
4901
+ }
4845
4902
  function find_entry(priv, win) {
4846
4903
  for (let e of priv.windows) if (e.gobj === win) return e;
4847
4904
  return null;
@@ -4914,8 +4971,9 @@ function on_chip_click(gobj, entry) {
4914
4971
  ************************************************************/
4915
4972
  function ac_register_window(gobj, event, kw, src) {
4916
4973
  let priv = gobj.priv;
4917
- let win = kw.window;
4918
- if (!win || find_entry(priv, win)) return 0;
4974
+ let win = window_of(gobj, event, kw, src);
4975
+ if (!win) return -1;
4976
+ if (find_entry(priv, win)) return 0;
4919
4977
  apply_placement(gobj);
4920
4978
  let title = kw.title || (0, _yuneta_gobj_js.gobj_name)(win) || "window";
4921
4979
  let title_key = kw.title_key || "";
@@ -4970,7 +5028,7 @@ function ac_register_window(gobj, event, kw, src) {
4970
5028
  "aria-label": (0, i18next.t)("close"),
4971
5029
  "data-i18n-aria-label": "close"
4972
5030
  },
4973
- WC_X,
5031
+ (0, _yuneta_gobj_js.html_markup)(WC_X),
4974
5032
  { click: (evt) => {
4975
5033
  evt.stopPropagation();
4976
5034
  (0, _yuneta_gobj_js.gobj_send_event)(entry.gobj, "EV_CLOSE_WINDOW", {}, gobj);
@@ -5005,7 +5063,9 @@ function ac_register_window(gobj, event, kw, src) {
5005
5063
  ************************************************************/
5006
5064
  function ac_unregister_window(gobj, event, kw, src) {
5007
5065
  let priv = gobj.priv;
5008
- let entry = find_entry(priv, kw.window);
5066
+ let win = window_of(gobj, event, kw, src);
5067
+ if (!win) return -1;
5068
+ let entry = find_entry(priv, win);
5009
5069
  if (!entry) return 0;
5010
5070
  if (entry.$chip && entry.$chip.parentNode) entry.$chip.parentNode.removeChild(entry.$chip);
5011
5071
  priv.windows = priv.windows.filter((e) => e !== entry);
@@ -5016,7 +5076,9 @@ function ac_unregister_window(gobj, event, kw, src) {
5016
5076
  * EV_MINIMIZE_WINDOW { window }
5017
5077
  ************************************************************/
5018
5078
  function ac_minimize_window(gobj, event, kw, src) {
5019
- let entry = find_entry(gobj.priv, kw.window);
5079
+ let win = window_of(gobj, event, kw, src);
5080
+ if (!win) return -1;
5081
+ let entry = find_entry(gobj.priv, win);
5020
5082
  if (entry) minimize_entry(gobj, entry);
5021
5083
  return 0;
5022
5084
  }
@@ -5024,7 +5086,9 @@ function ac_minimize_window(gobj, event, kw, src) {
5024
5086
  * EV_FOCUS_WINDOW { window }
5025
5087
  ************************************************************/
5026
5088
  function ac_focus_window(gobj, event, kw, src) {
5027
- let entry = find_entry(gobj.priv, kw.window);
5089
+ let win = window_of(gobj, event, kw, src);
5090
+ if (!win) return -1;
5091
+ let entry = find_entry(gobj.priv, win);
5028
5092
  if (entry) focus_entry(gobj, entry);
5029
5093
  return 0;
5030
5094
  }
@@ -6609,12 +6673,12 @@ function yui_asset_element(answer, opts = {}) {
6609
6673
  const children = [[
6610
6674
  "span",
6611
6675
  { class: "ASSET_OTHER_TYPE" },
6612
- String(answer.content_type || "?")
6676
+ text_node(answer.content_type || "?")
6613
6677
  ]];
6614
6678
  if (opts.detail) children.push([
6615
6679
  "span",
6616
6680
  { class: "ASSET_OTHER_DETAIL" },
6617
- String(opts.detail)
6681
+ text_node(opts.detail)
6618
6682
  ]);
6619
6683
  const $card = (0, _yuneta_gobj_js.createElement2)([
6620
6684
  "div",
@@ -8411,7 +8475,7 @@ function toolbar_button$1(gobj, name) {
8411
8475
  [[
8412
8476
  "span",
8413
8477
  { class: "icon m-0" },
8414
- "<i class=\"yi-floppy-disk\"></i>"
8478
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-floppy-disk\"></i>")
8415
8479
  ], [
8416
8480
  "span",
8417
8481
  {
@@ -8438,7 +8502,7 @@ function toolbar_button$1(gobj, name) {
8438
8502
  [[
8439
8503
  "span",
8440
8504
  { class: "icon m-0" },
8441
- "<i class=\"yi-arrow-rotate-left\"></i>"
8505
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-arrow-rotate-left\"></i>")
8442
8506
  ], [
8443
8507
  "span",
8444
8508
  {
@@ -8464,7 +8528,7 @@ function toolbar_button$1(gobj, name) {
8464
8528
  [[
8465
8529
  "span",
8466
8530
  { class: "icon m-0" },
8467
- "<i class=\"yi-broom-wide\"></i>"
8531
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-broom-wide\"></i>")
8468
8532
  ], [
8469
8533
  "span",
8470
8534
  {
@@ -8490,7 +8554,7 @@ function toolbar_button$1(gobj, name) {
8490
8554
  [[
8491
8555
  "span",
8492
8556
  { class: "icon m-0" },
8493
- "<i class=\"yi-copy\"></i>"
8557
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-copy\"></i>")
8494
8558
  ], [
8495
8559
  "span",
8496
8560
  {
@@ -8516,7 +8580,7 @@ function toolbar_button$1(gobj, name) {
8516
8580
  [[
8517
8581
  "span",
8518
8582
  { class: "icon m-0" },
8519
- "<i class=\"yi-paste\"></i>"
8583
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-paste\"></i>")
8520
8584
  ], [
8521
8585
  "span",
8522
8586
  {
@@ -8607,6 +8671,7 @@ function destroy_ui$10(gobj) {
8607
8671
  let $container = (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "$container");
8608
8672
  if ($container) {
8609
8673
  destroy_widgets(gobj, $container);
8674
+ if (gobj.priv && gobj.priv.tables) gobj.priv.tables.clear();
8610
8675
  if ($container.parentNode) $container.parentNode.removeChild($container);
8611
8676
  (0, _yuneta_gobj_js.gobj_write_attr)(gobj, "$container", null);
8612
8677
  }
@@ -8645,6 +8710,7 @@ function cell_icon(icon_class, key) {
8645
8710
  function table_identity(gobj, $table) {
8646
8711
  if (!$table.yui_table_id) {
8647
8712
  let priv = gobj.priv;
8713
+ for (let [id, ref] of priv.tables) if (!ref.deref()) priv.tables.delete(id);
8648
8714
  priv.table_seq += 1;
8649
8715
  $table.yui_table_id = `t${priv.table_seq}`;
8650
8716
  priv.tables.set($table.yui_table_id, new WeakRef($table));
@@ -8683,11 +8749,15 @@ function destroy_widgets(gobj, $container) {
8683
8749
  (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: cannot destroy ${what}: ${e}`);
8684
8750
  }
8685
8751
  };
8752
+ let forget = ($el) => {
8753
+ if ($el.yui_table_id && gobj.priv && gobj.priv.tables) gobj.priv.tables.delete($el.yui_table_id);
8754
+ };
8686
8755
  $container.querySelectorAll(".yui-tabulator-table-nested").forEach(($el) => {
8687
8756
  if ($el.tabulator) {
8688
8757
  destroy("nested table", $el.tabulator);
8689
8758
  $el.tabulator = null;
8690
8759
  }
8760
+ forget($el);
8691
8761
  });
8692
8762
  $container.querySelectorAll(".yui-form-data-input").forEach(($el) => {
8693
8763
  if ($el.tom_select) {
@@ -8702,6 +8772,7 @@ function destroy_widgets(gobj, $container) {
8702
8772
  destroy("table", $el.tabulator);
8703
8773
  $el.tabulator = null;
8704
8774
  }
8775
+ forget($el);
8705
8776
  });
8706
8777
  }
8707
8778
  /******************************************************************
@@ -8740,6 +8811,16 @@ function name_form_control($field, conf) {
8740
8811
  if ($clear) {
8741
8812
  const CLEAR_KEY = "remove all selected options";
8742
8813
  $clear.setAttribute("role", "button");
8814
+ $clear.setAttribute("tabindex", "0");
8815
+ if (!$clear.yui_keys_wired) {
8816
+ $clear.yui_keys_wired = true;
8817
+ $clear.addEventListener("keydown", function(evt) {
8818
+ if (evt.key === "Enter" || evt.key === " ") {
8819
+ evt.preventDefault();
8820
+ $clear.click();
8821
+ }
8822
+ });
8823
+ }
8743
8824
  $clear.setAttribute("title", (0, i18next.t)(CLEAR_KEY));
8744
8825
  $clear.setAttribute("data-i18n-title", CLEAR_KEY);
8745
8826
  $clear.setAttribute("aria-label", (0, i18next.t)(CLEAR_KEY));
@@ -9271,7 +9352,7 @@ function create_form_field(gobj, $form, prefix, field_desc, { tag, inputType, na
9271
9352
  [[
9272
9353
  "span",
9273
9354
  { class: "icon m-0" },
9274
- "<i class=\"yi-plus\"></i>"
9355
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-plus\"></i>")
9275
9356
  ], [
9276
9357
  "span",
9277
9358
  {
@@ -9825,7 +9906,7 @@ function create_coordinates(gobj, attrs) {
9825
9906
  ], [
9826
9907
  "span",
9827
9908
  { class: "icon is-left is-clickable" },
9828
- "<i class=\"yi-location-crosshairs\"></i>",
9909
+ (0, _yuneta_gobj_js.html_markup)("<i class=\"yi-location-crosshairs\"></i>"),
9829
9910
  { "click": function(evt) {
9830
9911
  evt.stopPropagation();
9831
9912
  getLocation(gobj, this.closest(".control").querySelector("input"));
@@ -9924,6 +10005,7 @@ function template2columns(gobj, columns, template, sub_elements) {
9924
10005
  let column = {
9925
10006
  field: field_desc.name,
9926
10007
  title: (0, i18next.t)(field_desc.header || field_desc.name),
10008
+ titleFormatter: text_title_formatter,
9927
10009
  editable: get_editable_state,
9928
10010
  editor: false,
9929
10011
  headerWordWrap: true,
@@ -10765,8 +10847,8 @@ function ac_add_table_row(gobj, event, kw, src) {
10765
10847
  });
10766
10848
  setTimeout(function() {
10767
10849
  if ((0, _yuneta_gobj_js.gobj_is_destroying)(gobj)) return;
10768
- let $outer = $table.closest(".yui-tabulator-table");
10769
- if ($outer && $outer.tabulator) $outer.tabulator.redraw();
10850
+ let $target = loading ? $table : $table.closest(".yui-tabulator-table");
10851
+ if ($target && $target.tabulator) $target.tabulator.redraw();
10770
10852
  }, 30);
10771
10853
  return 0;
10772
10854
  }
@@ -19655,7 +19737,7 @@ function event_flag_chips(flags) {
19655
19737
  return [
19656
19738
  "span",
19657
19739
  { class: cls },
19658
- flag.replace("EVF_", "")
19740
+ text_node(flag.replace("EVF_", ""))
19659
19741
  ];
19660
19742
  });
19661
19743
  }
@@ -21827,14 +21909,18 @@ function restore_view_anchored(gobj, anchor) {
21827
21909
  if (!new_node_id) return;
21828
21910
  if (typeof anchor.zoom === "number" && anchor.zoom > 0) try {
21829
21911
  graph.zoomTo(anchor.zoom);
21830
- } catch (e) {}
21912
+ } catch (e) {
21913
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: zoom not restored: ${e}`);
21914
+ }
21831
21915
  try {
21832
21916
  let canvas_pos = graph.getElementPosition(new_node_id);
21833
21917
  let vp = graph.getViewportByCanvas([canvas_pos[0], canvas_pos[1]]);
21834
21918
  let dx = anchor.viewport_x - vp[0];
21835
21919
  let dy = anchor.viewport_y - vp[1];
21836
21920
  graph.translateBy([dx, dy]);
21837
- } catch (e) {}
21921
+ } catch (e) {
21922
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: anchor node not put back at its screen spot: ${e}`);
21923
+ }
21838
21924
  }
21839
21925
  /************************************************************
21840
21926
  * Capture the current screen position + zoom of a node,
@@ -23579,7 +23665,7 @@ function render_submenu(gobj, items) {
23579
23665
  class: "menu-label",
23580
23666
  i18n: nav_label
23581
23667
  } : { class: "menu-label" },
23582
- nav_label || "—"
23668
+ text_node(nav_label || "—")
23583
23669
  ], [
23584
23670
  "ul",
23585
23671
  { class: "menu-list" },
@@ -23616,7 +23702,7 @@ function render_accordion(gobj, items) {
23616
23702
  let $hdr = (0, _yuneta_gobj_js.createElement2)([
23617
23703
  "button",
23618
23704
  head_attrs,
23619
- head_text
23705
+ text_node(head_text)
23620
23706
  ]);
23621
23707
  $container.appendChild($hdr);
23622
23708
  let $ul = (0, _yuneta_gobj_js.createElement2)(["ul", {
@@ -25438,7 +25524,7 @@ function topic_card_meta(desc) {
25438
25524
  title: (0, i18next.t)("version"),
25439
25525
  "data-i18n-title": "version"
25440
25526
  },
25441
- `v${desc.topic_version}`
25527
+ text_node(`v${desc.topic_version}`)
25442
25528
  ]);
25443
25529
  head.push([
25444
25530
  "span",
@@ -25446,7 +25532,7 @@ function topic_card_meta(desc) {
25446
25532
  [[
25447
25533
  "span",
25448
25534
  {},
25449
- `${n_cols}`
25535
+ text_node(n_cols)
25450
25536
  ], [
25451
25537
  "span",
25452
25538
  { i18n: "columns" },
@@ -25477,7 +25563,7 @@ function topic_card_meta(desc) {
25477
25563
  ], [
25478
25564
  "span",
25479
25565
  { class: "TREEDB_TOPIC_CARD_REL_LIST" },
25480
- list
25566
+ text_node(list)
25481
25567
  ]]
25482
25568
  ]);
25483
25569
  }
@@ -25509,7 +25595,7 @@ function topic_card_meta(desc) {
25509
25595
  [
25510
25596
  "span",
25511
25597
  { class: "TREEDB_TOPIC_CARD_REL_LIST" },
25512
- list
25598
+ text_node(list)
25513
25599
  ]
25514
25600
  ]
25515
25601
  ];
@@ -25787,7 +25873,7 @@ function build_topic_info_panel(gobj, $info, topic, desc) {
25787
25873
  if (desc.topic_version !== void 0 && desc.topic_version !== null && desc.topic_version !== "") push_meta("version", [
25788
25874
  "span",
25789
25875
  { class: "tag is-info" },
25790
- `${desc.topic_version}`
25876
+ text_node(desc.topic_version)
25791
25877
  ]);
25792
25878
  let sf_names = system_flag_names(desc.system_flag);
25793
25879
  if (sf_names.length > 0) push_meta("system", [
@@ -25842,18 +25928,18 @@ function build_topic_info_panel(gobj, $info, topic, desc) {
25842
25928
  [[
25843
25929
  "code",
25844
25930
  is_key ? { class: "has-text-weight-bold" } : {},
25845
- `${col.id}`
25931
+ text_node(col.id)
25846
25932
  ]]
25847
25933
  ],
25848
25934
  [
25849
25935
  "td",
25850
25936
  {},
25851
- `${type}`
25937
+ text_node(type)
25852
25938
  ],
25853
25939
  [
25854
25940
  "td",
25855
25941
  is_key ? { class: "has-text-weight-semibold" } : {},
25856
- `${rel}`
25942
+ text_node(rel)
25857
25943
  ]
25858
25944
  ]
25859
25945
  ]);
@@ -25875,7 +25961,7 @@ function build_topic_info_panel(gobj, $info, topic, desc) {
25875
25961
  ], [
25876
25962
  "span",
25877
25963
  { i18n: `${topic}` },
25878
- `${topic}`
25964
+ text_node(topic)
25879
25965
  ]]
25880
25966
  ]]
25881
25967
  ],
@@ -29035,7 +29121,7 @@ function col_title_formatter(gobj, col) {
29035
29121
  return (0, _yuneta_gobj_js.createElement2)([
29036
29122
  "span",
29037
29123
  attrs,
29038
- text
29124
+ text_node(text)
29039
29125
  ]);
29040
29126
  };
29041
29127
  }
@@ -29534,7 +29620,7 @@ function file_cell_formatter(cell, formatterParams, onRendered) {
29534
29620
  const children = [["span", { class: "FILE_CELL_ICON icon yi-eye" }], [
29535
29621
  "span",
29536
29622
  { class: "FILE_CELL_ID" },
29537
- yui_file_id_label(ids[0])
29623
+ text_node(yui_file_id_label(ids[0]))
29538
29624
  ]];
29539
29625
  if (ids.length > 1) children.push([
29540
29626
  "span",
@@ -31468,7 +31554,7 @@ function build_delete_question(gobj, records) {
31468
31554
  ], [
31469
31555
  "strong",
31470
31556
  {},
31471
- String(one[pkey])
31557
+ text_node(one[pkey])
31472
31558
  ]]
31473
31559
  ]);
31474
31560
  else lines.push([
@@ -31713,7 +31799,7 @@ function ac_open_columns(gobj, event, kw, src) {
31713
31799
  [$cb, [
31714
31800
  "span",
31715
31801
  { class: "ml-2" },
31716
- column.getDefinition().title || field
31802
+ text_node(column.getDefinition().title || field)
31717
31803
  ]]
31718
31804
  ]));
31719
31805
  }
@@ -60404,6 +60490,34 @@ function ensure_brush_select_owned() {
60404
60490
  __brush_select_registered__ = true;
60405
60491
  }
60406
60492
  //#endregion
60493
+ //#region src/yui_data_color.js
60494
+ /***********************************************************************
60495
+ * yui_data_color.js
60496
+ *
60497
+ * A colour read from DATA, checked before it goes into markup.
60498
+ *
60499
+ * A card of the treedb graph is html, and the colour a user gave it
60500
+ * (a `__graphs__` record) is written into its `style="..."`. A value
60501
+ * like `red" onmouseover="...` would leave the attribute and run.
60502
+ * Only the plain colour syntaxes pass -- hex, the rgb()/hsl()
60503
+ * functions, a name -- and the browser, where it can, also checks
60504
+ * that it is a colour.
60505
+ *
60506
+ * Copyright (c) 2026, ArtGins.
60507
+ * All Rights Reserved.
60508
+ ***********************************************************************/
60509
+ var DATA_COLOR_RE = /^(#[0-9a-f]{3,8}|(rgb|rgba|hsl|hsla)\([0-9.,%\s/+-]+\)|[a-z]+)$/i;
60510
+ /************************************************************
60511
+ * `value` when it is a css colour, else null.
60512
+ ************************************************************/
60513
+ function css_color_or_null(value) {
60514
+ if (typeof value !== "string" || !DATA_COLOR_RE.test(value)) return null;
60515
+ if (typeof CSS !== "undefined" && CSS && typeof CSS.supports === "function") {
60516
+ if (!CSS.supports("color", value)) return null;
60517
+ }
60518
+ return value;
60519
+ }
60520
+ //#endregion
60407
60521
  //#region src/c_g6_nodes_tree.js
60408
60522
  /***********************************************************************
60409
60523
  * c_g6_nodes_tree.js
@@ -61699,6 +61813,17 @@ function topic_defaults_of(gobj, topic_name) {
61699
61813
  return (0, _yuneta_gobj_js.is_object)(topic_props) && (0, _yuneta_gobj_js.is_object)(topic_props.defaults) ? topic_props.defaults : null;
61700
61814
  }
61701
61815
  /************************************************************
61816
+ * A colour read from DATA (a `__graphs__` record), or null.
61817
+ * It is written into a card's html (see yui_data_color.js): a
61818
+ * refused value logs, and the node wears the topic's colour.
61819
+ ************************************************************/
61820
+ function data_color(gobj, value) {
61821
+ if (value === void 0 || value === null || value === "") return null;
61822
+ let color = css_color_or_null(value);
61823
+ if (!color) (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: colour refused, not a css colour: ${JSON.stringify(value)}`);
61824
+ return color;
61825
+ }
61826
+ /************************************************************
61702
61827
  * What a node is PAINTED with: its own colours, then the
61703
61828
  * topic's default, then the topic's colour.
61704
61829
  *
@@ -61714,10 +61839,10 @@ function topic_defaults_of(gobj, topic_name) {
61714
61839
  function node_paint_of(gobj, desc, geometry) {
61715
61840
  let defaults = topic_defaults_of(gobj, desc.topic_name);
61716
61841
  let g = (0, _yuneta_gobj_js.is_object)(geometry) ? geometry : {};
61717
- let fill = g.fill || defaults && defaults.fill || desc.color;
61842
+ let fill = data_color(gobj, g.fill) || data_color(gobj, defaults && defaults.fill) || desc.color;
61718
61843
  return {
61719
61844
  fill,
61720
- stroke: g.stroke || defaults && defaults.stroke || getStrokeColor(fill),
61845
+ stroke: data_color(gobj, g.stroke) || data_color(gobj, defaults && defaults.stroke) || getStrokeColor(fill),
61721
61846
  lineWidth: g.lineWidth || defaults && defaults.lineWidth || 1
61722
61847
  };
61723
61848
  }
@@ -63676,7 +63801,9 @@ function select_node(gobj, node_id) {
63676
63801
  history_pause(gobj);
63677
63802
  try {
63678
63803
  graph.setElementState(node_id, ["selected"]);
63679
- } catch (e) {}
63804
+ } catch (e) {
63805
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: node state not set: ${e}`);
63806
+ }
63680
63807
  priv._selected_node_id = node_id;
63681
63808
  paint_selection(gobj, [node_id]);
63682
63809
  show_resize_handles(gobj);
@@ -63702,7 +63829,9 @@ function deselect_node(gobj) {
63702
63829
  let states = {};
63703
63830
  for (let id of clearing) states[id] = [];
63704
63831
  graph.setElementState(states);
63705
- } catch (e) {}
63832
+ } catch (e) {
63833
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: node states not cleared: ${e}`);
63834
+ }
63706
63835
  priv._selected_node_id = null;
63707
63836
  paint_selection(gobj, []);
63708
63837
  graph_draw(gobj).then(() => {
@@ -64775,7 +64904,9 @@ function select_edge(gobj, edge_id) {
64775
64904
  history_pause(gobj);
64776
64905
  try {
64777
64906
  graph.setElementState(edge_id, ["selected"]);
64778
- } catch (e) {}
64907
+ } catch (e) {
64908
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: edge state not set: ${e}`);
64909
+ }
64779
64910
  show_edge_icon(gobj);
64780
64911
  graph_draw(gobj).then(() => {
64781
64912
  history_resume(gobj);
@@ -64791,7 +64922,9 @@ function deselect_edge(gobj) {
64791
64922
  history_pause(gobj);
64792
64923
  try {
64793
64924
  graph.setElementState(priv._selected_edge_id, []);
64794
- } catch (e) {}
64925
+ } catch (e) {
64926
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: edge state not cleared: ${e}`);
64927
+ }
64795
64928
  priv._selected_edge_id = null;
64796
64929
  graph_draw(gobj).then(() => {
64797
64930
  history_resume(gobj);
@@ -64881,7 +65014,9 @@ function show_edge_popover(gobj) {
64881
65014
  history_pause(gobj);
64882
65015
  try {
64883
65016
  graph.setElementState(edge_id, []);
64884
- } catch (e) {}
65017
+ } catch (e) {
65018
+ (0, _yuneta_gobj_js.log_warning)(`${(0, _yuneta_gobj_js.gobj_short_name)(gobj)}: edge state not cleared for the style preview: ${e}`);
65019
+ }
64885
65020
  graph_draw(gobj).then(() => {
64886
65021
  history_resume(gobj);
64887
65022
  });
@@ -74538,7 +74673,7 @@ function show_notice(gobj, key, detail, detail_is_key) {
74538
74673
  $notice.appendChild((0, _yuneta_gobj_js.createElement2)([
74539
74674
  "span",
74540
74675
  attrs,
74541
- detail_is_key ? (0, i18next.t)(`${detail}`) : `${detail}`
74676
+ text_node(detail_is_key ? (0, i18next.t)(`${detail}`) : `${detail}`)
74542
74677
  ]));
74543
74678
  }
74544
74679
  }
@@ -74773,7 +74908,7 @@ function open_card(gobj, logical, title, icon, tags, event, kw) {
74773
74908
  ], [
74774
74909
  "span",
74775
74910
  { class: "ml-1" },
74776
- `${tag.text}`
74911
+ text_node(tag.text)
74777
74912
  ]] : `${tag.text}`
74778
74913
  ];
74779
74914
  });
@@ -74800,7 +74935,7 @@ function open_card(gobj, logical, title, icon, tags, event, kw) {
74800
74935
  ], [
74801
74936
  "span",
74802
74937
  { class: `${logical}_NAME has-text-weight-semibold` },
74803
- `${title}`
74938
+ text_node(title)
74804
74939
  ]]
74805
74940
  ], [
74806
74941
  "div",
@@ -74907,7 +75042,7 @@ function render_topics(gobj, $body) {
74907
75042
  [
74908
75043
  "span",
74909
75044
  { class: "has-text-weight-semibold" },
74910
- `${topic.name}`
75045
+ text_node(topic.name)
74911
75046
  ],
74912
75047
  topic.system_topic ? [
74913
75048
  "span",
@@ -74941,7 +75076,7 @@ function render_topics(gobj, $body) {
74941
75076
  [[
74942
75077
  "code",
74943
75078
  {},
74944
- `${topic.id}`
75079
+ text_node(topic.id)
74945
75080
  ]]
74946
75081
  ] : [
74947
75082
  "span",
@@ -74956,13 +75091,13 @@ function render_topics(gobj, $body) {
74956
75091
  [[
74957
75092
  "code",
74958
75093
  {},
74959
- `${topic.pkey || "id"}`
75094
+ text_node(topic.pkey || "id")
74960
75095
  ]]
74961
75096
  ],
74962
75097
  [
74963
75098
  "td",
74964
75099
  { class: "SCHEMA_TOPIC_COLS has-text-right" },
74965
- `${topic.cols.length}`
75100
+ text_node(topic.cols.length)
74966
75101
  ],
74967
75102
  [
74968
75103
  "td",
@@ -74970,7 +75105,7 @@ function render_topics(gobj, $body) {
74970
75105
  [[
74971
75106
  "span",
74972
75107
  { class: `tag ${pending ? "is-warning" : "is-info"} is-light` },
74973
- `${topic.topic_version === void 0 ? "?" : topic.topic_version}`
75108
+ text_node(topic.topic_version === void 0 ? "?" : topic.topic_version)
74974
75109
  ]]
74975
75110
  ],
74976
75111
  [
@@ -75246,7 +75381,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75246
75381
  return [
75247
75382
  "span",
75248
75383
  { class: `SCHEMA_COL_FLAG tag ${yui_tint(flag_style(flag))}`.trimEnd() },
75249
- `${flag}`
75384
+ text_node(flag)
75250
75385
  ];
75251
75386
  });
75252
75387
  let link = "";
@@ -75282,7 +75417,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75282
75417
  [
75283
75418
  "code",
75284
75419
  {},
75285
- `${col.name}`
75420
+ text_node(col.name)
75286
75421
  ],
75287
75422
  ambiguous ? [
75288
75423
  "span",
@@ -75290,7 +75425,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75290
75425
  [[
75291
75426
  "code",
75292
75427
  {},
75293
- `${col.id}`
75428
+ text_node(col.id)
75294
75429
  ]]
75295
75430
  ] : [
75296
75431
  "span",
@@ -75314,7 +75449,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75314
75449
  [
75315
75450
  "td",
75316
75451
  { class: "SCHEMA_COL_HEADER" },
75317
- `${record.header || ""}`
75452
+ text_node(record.header || "")
75318
75453
  ],
75319
75454
  [
75320
75455
  "td",
@@ -75322,7 +75457,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75322
75457
  [[
75323
75458
  "code",
75324
75459
  {},
75325
- `${record.type || ""}`
75460
+ text_node(record.type || "")
75326
75461
  ]]
75327
75462
  ],
75328
75463
  [
@@ -75340,7 +75475,7 @@ function column_row(gobj, topic, col, index, readonly, twice) {
75340
75475
  [
75341
75476
  "td",
75342
75477
  { class: "SCHEMA_COL_LINK" },
75343
- `${link}`
75478
+ text_node(link)
75344
75479
  ],
75345
75480
  [
75346
75481
  "td",
@@ -75751,7 +75886,7 @@ function flags_field(gobj, type, current) {
75751
75886
  })], [
75752
75887
  "span",
75753
75888
  { class: "SCHEMA_FLAG_NAME ml-1" },
75754
- `${flag.name}`
75889
+ text_node(flag.name)
75755
75890
  ]]
75756
75891
  ];
75757
75892
  });
@@ -76088,12 +76223,12 @@ function open_report(gobj, findings, treedb_id) {
76088
76223
  [
76089
76224
  "td",
76090
76225
  { class: "SCHEMA_REPORT_TOPIC" },
76091
- `${finding.topic || ""}`
76226
+ text_node(finding.topic || "")
76092
76227
  ],
76093
76228
  [
76094
76229
  "td",
76095
76230
  { class: "SCHEMA_REPORT_COL" },
76096
- `${finding.col || ""}`
76231
+ text_node(finding.col || "")
76097
76232
  ],
76098
76233
  [
76099
76234
  "td",
@@ -76101,7 +76236,7 @@ function open_report(gobj, findings, treedb_id) {
76101
76236
  [[
76102
76237
  "code",
76103
76238
  {},
76104
- `${finding.detail || ""}`
76239
+ text_node(finding.detail || "")
76105
76240
  ]]
76106
76241
  ]
76107
76242
  ]
@@ -76537,7 +76672,7 @@ function render_import_plan(gobj, plan) {
76537
76672
  ], [
76538
76673
  "code",
76539
76674
  { class: "ml-2" },
76540
- `${what}`
76675
+ text_node(what)
76541
76676
  ]]
76542
76677
  ];
76543
76678
  });
@@ -76556,7 +76691,7 @@ function render_import_plan(gobj, plan) {
76556
76691
  [
76557
76692
  "span",
76558
76693
  { class: "ml-1" },
76559
- `${plan.writes.length}`
76694
+ text_node(plan.writes.length)
76560
76695
  ],
76561
76696
  [
76562
76697
  "span",
@@ -76569,7 +76704,7 @@ function render_import_plan(gobj, plan) {
76569
76704
  [
76570
76705
  "span",
76571
76706
  { class: "ml-1 has-text-weight-bold" },
76572
- `${deletes.length}`
76707
+ text_node(deletes.length)
76573
76708
  ]
76574
76709
  ]
76575
76710
  ], [
@@ -76611,7 +76746,7 @@ function open_orphans(gobj) {
76611
76746
  [[
76612
76747
  "code",
76613
76748
  {},
76614
- `${entry.id}`
76749
+ text_node(entry.id)
76615
76750
  ]]
76616
76751
  ],
76617
76752
  [
@@ -80512,7 +80647,7 @@ function traffic_scalar_row(key, value) {
80512
80647
  [
80513
80648
  "span",
80514
80649
  { class: "TRAFFIC_KEY" },
80515
- key + ":"
80650
+ text_node(key + ":")
80516
80651
  ],
80517
80652
  [
80518
80653
  "span",
@@ -80607,7 +80742,7 @@ function traffic_value_node(key, value) {
80607
80742
  [
80608
80743
  "span",
80609
80744
  { class: "TRAFFIC_KEY" },
80610
- key + ":"
80745
+ text_node(key + ":")
80611
80746
  ],
80612
80747
  [
80613
80748
  "span",