@yuneta/gobj-ui 7.26.41 → 7.26.43

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 (66) hide show
  1. package/README.md +510 -78
  2. package/dist/gobj-ui.cjs.js +1120 -326
  3. package/dist/gobj-ui.es.js +1120 -326
  4. package/package.json +1 -1
  5. package/scripts/validate-locales.mjs +971 -177
  6. package/src/c_g6_nodes_tree.js +3 -2
  7. package/src/c_yui_form.js +261 -154
  8. package/src/c_yui_fsm_graph.js +3 -2
  9. package/src/c_yui_gobj_tree_js.js +3 -2
  10. package/src/c_yui_json_graph.js +3 -2
  11. package/src/c_yui_nav.js +43 -28
  12. package/src/c_yui_node.js +51 -7
  13. package/src/c_yui_schema_editor.css +16 -0
  14. package/src/c_yui_schema_editor.js +110 -20
  15. package/src/c_yui_shell.css +4 -1
  16. package/src/c_yui_shell.js +227 -61
  17. package/src/c_yui_treedb_schema.js +3 -2
  18. package/src/c_yui_window.js +373 -62
  19. package/src/c_yui_window_manager.js +80 -8
  20. package/src/escape_taken.js +58 -0
  21. package/src/form_close_asks_for_edits.wiring.test.js +6 -3
  22. package/src/form_json_editor_names.js +3 -1
  23. package/src/form_json_editor_names.wiring.test.js +8 -4
  24. package/src/form_json_expand.wiring.test.js +6 -3
  25. package/src/form_json_field.wiring.test.js +8 -4
  26. package/src/form_label_i18n.wiring.test.js +10 -5
  27. package/src/form_table_edits_ask.wiring.test.js +18 -8
  28. package/src/form_table_rearm.wiring.test.js +13 -5
  29. package/src/form_table_rows.wiring.test.js +489 -0
  30. package/src/form_table_validator.wiring.test.js +8 -4
  31. package/src/form_template_field.wiring.test.js +6 -3
  32. package/src/g6_canvas_tab_order.css +29 -0
  33. package/src/g6_canvas_tab_order.js +41 -9
  34. package/src/g6_canvas_tab_order.wiring.test.js +107 -1
  35. package/src/g6_long_press_clock.test.js +8 -3
  36. package/src/i18n_key_functions.js +81 -27
  37. package/src/i18n_key_functions.test.js +402 -4
  38. package/src/modal_guard_back.wiring.test.js +188 -0
  39. package/src/named_controls.wiring.test.js +323 -19
  40. package/src/nav_cards_helpers.js +9 -4
  41. package/src/nav_item_badge.wiring.test.js +163 -15
  42. package/src/node_nav_events.wiring.test.js +93 -1
  43. package/src/route_map_model.js +59 -10
  44. package/src/route_map_model.test.js +90 -0
  45. package/src/schema_editor_diagram_click.wiring.test.js +277 -0
  46. package/src/schema_editor_openers.wiring.test.js +283 -0
  47. package/src/shell_dialog_names.wiring.test.js +149 -0
  48. package/src/shell_escape_taken.wiring.test.js +142 -0
  49. package/src/shell_focus_trap.js +30 -2
  50. package/src/shell_focus_trap.test.js +90 -6
  51. package/src/shell_modals.js +113 -22
  52. package/src/shell_route_map.js +15 -3
  53. package/src/shell_section_index.js +3 -1
  54. package/src/table_editor_name.wiring.test.js +10 -5
  55. package/src/treedb_column_title.wiring.test.js +8 -4
  56. package/src/treedb_graph_writes.wiring.test.js +6 -3
  57. package/src/treedb_json_drill.wiring.test.js +6 -3
  58. package/src/uplot_add_serie.test.js +6 -3
  59. package/src/uplot_ink.test.js +8 -4
  60. package/src/window_dialog.wiring.test.js +486 -0
  61. package/src/window_dock_band.wiring.test.js +189 -0
  62. package/src/window_layer.wiring.test.js +114 -0
  63. package/src/window_rect_rounding.wiring.test.js +121 -0
  64. package/src/yui_gclass_view.js +16 -1
  65. package/src/yui_tabulator_i18n.js +31 -1
  66. package/src/yui_tabulator_i18n.test.js +46 -0
@@ -11,6 +11,12 @@
11
11
  * from a graph went through its other canvases and the whole page
12
12
  * before it reached the graph's own buttons.
13
13
  *
14
+ * And the main canvas, a control in the Tab order, is NAMED
15
+ * (REV-CLOUD V24.5.4): a `title` and an `aria-label` through t(),
16
+ * each with its key, saying which graph it is -- and changing
17
+ * language with the page. From 7.26.28 to 7.26.41 Tab landed on it
18
+ * and a reader announced nothing.
19
+ *
14
20
  * The real gclasses, on a G6 Graph double that does what G6 does
15
21
  * here: the FIRST render() builds the four canvases with
16
22
  * `tabIndex = 1` and says so with `aftercanvasinit`; a renderer
@@ -20,10 +26,15 @@
20
26
  * All Rights Reserved.
21
27
  ***********************************************************************/
22
28
  import {describe, test, expect, beforeAll, beforeEach, vi} from "vitest";
29
+ import {readFileSync} from "node:fs";
30
+ import {dirname, join} from "node:path";
31
+ import {fileURLToPath} from "node:url";
23
32
  import {install_dom_double} from "../test/dom_double.js";
24
33
 
25
34
  install_dom_double();
26
35
 
36
+ const SRC = dirname(fileURLToPath(import.meta.url));
37
+
27
38
  /* The views watch their container; nothing resizes here. */
28
39
  if(typeof globalThis.ResizeObserver === "undefined") {
29
40
  globalThis.ResizeObserver = class {
@@ -132,7 +143,7 @@ vi.mock("@antv/g6", async (importOriginal) => {
132
143
 
133
144
  const {
134
145
  SDATA_END, gclass_create, gobj_start_up, gobj_create_yuno, gobj_create_pure_child,
135
- gobj_start, gobj_read_attr, set_log_callback, register_c_timer,
146
+ gobj_start, gobj_read_attr, set_log_callback, register_c_timer, refresh_language,
136
147
  } = await import("@yuneta/gobj-js");
137
148
  const {register_c_yui_json_graph} = await import("./c_yui_json_graph.js");
138
149
  const {register_c_yui_gobj_tree_js} = await import("./c_yui_gobj_tree_js.js");
@@ -215,6 +226,28 @@ function tab_order(graph)
215
226
  return order;
216
227
  }
217
228
 
229
+ /* The name each view gives its main canvas: the key, and its text in
230
+ * the two languages of this test. */
231
+ const NAMES = {
232
+ C_YUI_JSON_GRAPH: {key: "json graph", en: "JSON graph", es: "Grafo del JSON"},
233
+ C_YUI_GOBJ_TREE_JS: {key: "gobj tree graph", en: "Gobj tree graph", es: "Grafo del árbol de gobjs"},
234
+ C_YUI_FSM_GRAPH: {key: "fsm graph", en: "State machine graph", es: "Grafo de la máquina de estados"},
235
+ C_YUI_TREEDB_SCHEMA: {key: "schema graph", en: "Schema graph", es: "Grafo del esquema"},
236
+ C_G6_NODES_TREE: {key: "treedb graph", en: "Treedb graph", es: "Grafo de la treedb"},
237
+ };
238
+
239
+ function name_of_canvas(graph)
240
+ {
241
+ const $main = graph.layers.main.el;
242
+ return {
243
+ role: $main.getAttribute("role"),
244
+ title: $main.getAttribute("title"),
245
+ aria: $main.getAttribute("aria-label"),
246
+ title_key: $main.getAttribute("data-i18n-title"),
247
+ aria_key: $main.getAttribute("data-i18n-aria-label"),
248
+ };
249
+ }
250
+
218
251
  describe("every G6 view: the main canvas in the Tab order, the other layers out", () => {
219
252
  for(const [gclass_name, attrs] of Object.entries(VIEWS)) {
220
253
  test(`${gclass_name}: after its first render, and after a renderer change`, async () => {
@@ -230,3 +263,76 @@ describe("every G6 view: the main canvas in the Tab order, the other layers out"
230
263
  });
231
264
  }
232
265
  });
266
+
267
+ describe("REV-CLOUD V24.5.4: the main canvas is named, says which graph it is, and changes language", () => {
268
+ for(const [gclass_name, attrs] of Object.entries(VIEWS)) {
269
+ test(`${gclass_name}: "${NAMES[gclass_name].key}", after its first render and a renderer change`, async () => {
270
+ const i18next = (await import("i18next")).default;
271
+ const name = NAMES[gclass_name];
272
+ i18next.addResourceBundle("en", "translation", {[name.key]: name.en}, true, true);
273
+ i18next.addResourceBundle("es", "translation", {[name.key]: name.es}, true, true);
274
+ await i18next.changeLanguage("en");
275
+
276
+ const {graph, $container} = await mount(gclass_name, attrs);
277
+ const named = {
278
+ role: "region", title: name.en, aria: name.en,
279
+ title_key: name.key, aria_key: name.key
280
+ };
281
+ expect(name_of_canvas(graph)).toEqual(named);
282
+
283
+ /* The other layers are out of the Tab order: no control,
284
+ * no name. */
285
+ for(const layer of ["background", "label", "transient"]) {
286
+ expect(graph.layers[layer].el.getAttribute("aria-label")).toBe(null);
287
+ }
288
+
289
+ graph.setRenderer();
290
+ expect(name_of_canvas(graph)).toEqual(named);
291
+
292
+ /* A language switch reaches it as it reaches every control:
293
+ * by its keys (the shell's refresh over the page). */
294
+ await i18next.changeLanguage("es");
295
+ refresh_language(document.body, i18next.t.bind(i18next));
296
+ expect(name_of_canvas(graph)).toEqual(Object.assign({}, named,
297
+ {title: name.es, aria: name.es}));
298
+ await i18next.changeLanguage("en");
299
+
300
+ expect($container).toBeTruthy();
301
+ expect(logged.filter((l) => l.level === "error").map((l) => l.msg)).toEqual([]);
302
+ });
303
+ }
304
+ });
305
+
306
+ /* G6 writes `outline: none` on its canvases, INLINE, and the main one
307
+ * is a control in the Tab order now: a keyboard that landed on the
308
+ * graph saw no sign of where it was. CSS is read as text: the double
309
+ * has no layout. */
310
+ describe("the focused canvas can be SEEN: a ring G6's inline outline does not erase", () => {
311
+ test("every view marks its main canvas, and only that one, with the class the ring hangs from", async () => {
312
+ for(const [gclass_name, attrs] of Object.entries(VIEWS)) {
313
+ const {graph} = await mount(gclass_name, attrs);
314
+ expect(graph.layers.main.el.classList.contains("G6_MAIN_CANVAS"), gclass_name).toBe(true);
315
+ for(const layer of ["background", "label", "transient"]) {
316
+ expect(graph.layers[layer].el.classList.contains("G6_MAIN_CANVAS"), layer).toBe(false);
317
+ }
318
+ graph.setRenderer();
319
+ expect(graph.layers.main.el.classList.contains("G6_MAIN_CANVAS"), gclass_name).toBe(true);
320
+ }
321
+ expect(logged.filter((l) => l.level === "error").map((l) => l.msg)).toEqual([]);
322
+ });
323
+
324
+ test("the ring: on :focus-visible, !important over the inline outline, the ink of the scheme, no transition", () => {
325
+ const css = readFileSync(join(SRC, "g6_canvas_tab_order.css"), "utf8");
326
+ const m = css.match(/\.G6_MAIN_CANVAS:focus-visible\s*\{([^}]*)\}/);
327
+ expect(!!m, "a .G6_MAIN_CANVAS:focus-visible rule").toBe(true);
328
+ const body = m[1];
329
+ expect(body).toMatch(/outline:\s*2px solid var\(--bulma-link-on-scheme,[^;]*\)\s*!important\s*;/);
330
+ expect(body).toMatch(/outline-offset:[^;]*!important\s*;/);
331
+ expect(body).not.toMatch(/transition/);
332
+
333
+ /* The module brings it along: every view that draws a graph
334
+ * imports the module. */
335
+ const js = readFileSync(join(SRC, "g6_canvas_tab_order.js"), "utf8");
336
+ expect(js).toMatch(/import\s+"\.\/g6_canvas_tab_order\.css";/);
337
+ });
338
+ });
@@ -29,9 +29,14 @@ describe("the long press of a G6 graph and the clocks", () => {
29
29
  const handlers = {};
30
30
  const emitted = [];
31
31
  const graph = {
32
- on(name, fn) { handlers[name] = fn; },
33
- off() {},
34
- emit(name) { emitted.push(name); },
32
+ on(name, fn) {
33
+ handlers[name] = fn;
34
+ },
35
+ off() {
36
+ },
37
+ emit(name) {
38
+ emitted.push(name);
39
+ },
35
40
  };
36
41
  let mono = 1000;
37
42
  let wall = 1_800_000_000_000;
@@ -37,6 +37,16 @@
37
37
  * and the like, a const bound to one, a plain `let`
38
38
  * only ever given one -- known by where it comes
39
39
  * from, never by a variable's name.
40
+ * fallbacks optional: a position that is only the FALLBACK
41
+ * of others the function reads first, and those
42
+ * others -- {"0.id": ["0.name", "0.aria_label"]}
43
+ * for `it.name || it.aria_label || it.id`. An
44
+ * object that surely gives one of them (a
45
+ * non-empty string in every value it can take)
46
+ * does not reach the position: its id is no key,
47
+ * and it is not held to the rule there. Each
48
+ * fallback is a position of `keys` with the same
49
+ * parent (up to its last ".").
40
50
  *
41
51
  * What is read at a position: a string literal, a template with
42
52
  * no `${}`, every branch of a `?:`, `||`, `??` (the right one of
@@ -65,7 +75,9 @@
65
75
  *
66
76
  * A call reaches a function of this table however it names it:
67
77
  * its name, an import under any name, a re-export, a const alias,
68
- * a map (`API.info(...)`), `.call()`, `.apply()`.
78
+ * a map (`API.info(...)`), `.call()`, `.apply()`; and a `.bind()`
79
+ * of it is read as the call it prepares, at the positions it binds
80
+ * (`yui_shell_show_info.bind(null, shell, "k")` hands "k").
69
81
  *
70
82
  * The rule, per CALL: a key position given anything else than a
71
83
  * literal (or DOM, or nothing), a const the reader follows, a key
@@ -137,13 +149,21 @@ export const I18N_KEY_FUNCTIONS = Object.freeze([
137
149
  {module: "table_cell_text.js", name: "hook_cell_spec", exported: true, keys: ["4"]},
138
150
  /* yui_time.js -- a granularity names itself by its id */
139
151
  {module: "yui_time.js", name: "period_name", exported: true, keys: ["0", "0.id"]},
140
- /* nav_cards_helpers.js -- a nav item's name, tooltip and aria label */
152
+ /* nav_cards_helpers.js -- a nav item's name, tooltip and aria label,
153
+ * and its id: the key of an item with neither a `name` nor an
154
+ * `aria_label` (`name || aria_label || id`) */
141
155
  {module: "nav_cards_helpers.js", name: "card_descriptor", exported: true,
142
- keys: ["0.name", "0.tooltip", "0.aria_label"]},
156
+ keys: ["0.name", "0.tooltip", "0.aria_label", "0.id"],
157
+ fallbacks: {"0.id": ["0.name", "0.aria_label"]}},
143
158
  {module: "nav_cards_helpers.js", name: "cards_grid_descriptor", exported: true,
144
- keys: ["0[].name", "0[].tooltip", "0[].aria_label"]},
159
+ keys: ["0[].name", "0[].tooltip", "0[].aria_label", "0[].id"],
160
+ fallbacks: {"0[].id": ["0[].name", "0[].aria_label"]}},
145
161
  /* yui_gclass_view.js -- the dialog's title is the gclass name */
146
162
  {module: "yui_gclass_view.js", name: "open_gclass_view", exported: true, keys: ["1"]},
163
+ /* g6_canvas_tab_order.js -- the name of a graph's main canvas, the
164
+ * one control of the graph in the Tab order */
165
+ {module: "g6_canvas_tab_order.js", name: "set_canvas_tab_order", exported: true, keys: ["2"]},
166
+ {module: "g6_canvas_tab_order.js", name: "keep_canvas_tab_order", exported: true, keys: ["2"]},
147
167
 
148
168
  /*
149
169
  * Helpers of their own module
@@ -204,7 +224,7 @@ export const I18N_KEY_FUNCTIONS = Object.freeze([
204
224
  {module: "c_yui_schema_editor.js", name: "end_writes", exported: false, keys: ["1"]},
205
225
  {module: "c_yui_schema_editor.js", name: "open_dialog", exported: false, keys: ["1", "2"]},
206
226
  {module: "c_yui_schema_editor.js", name: "refuse_bad_name", exported: false, keys: ["1"]},
207
- {module: "c_yui_schema_editor.js", name: "open_card", exported: false, keys: ["4[].i18n"]},
227
+ {module: "c_yui_schema_editor.js", name: "open_card", exported: false, keys: ["2.i18n", "4[].i18n"]},
208
228
  {module: "c_yui_schema_editor.js", name: "open_report", exported: false,
209
229
  keys: ["1[].severity", "1[].code"]},
210
230
  {module: "c_yui_schema_editor.js", name: "render_import_plan", exported: false,
@@ -222,42 +242,76 @@ export const I18N_KEY_FUNCTIONS = Object.freeze([
222
242
  {module: "yui_dev.js", name: "mk_dir", exported: false, keys: ["3"]},
223
243
  {module: "yui_dev.js", name: "grp", exported: false, keys: ["0"]},
224
244
  {module: "yui_dev.js", name: "grp_scroll", exported: false, keys: ["0"]},
225
- /* c_yui_nav.js -- the items of a menu: the app's nav declaration */
226
- {module: "c_yui_nav.js", name: "item_li", exported: false, keys: ["1.name", "1.tooltip", "1.aria_label"]},
227
- {module: "c_yui_nav.js", name: "item_iconbar", exported: false, keys: ["1.name", "1.tooltip", "1.aria_label"]},
245
+ /* c_yui_nav.js -- the items of a menu: the app's nav declaration.
246
+ * The id is the key of an item with neither a `name` nor an
247
+ * `aria_label` (of a crumb's text, with no `name`). */
248
+ {module: "c_yui_nav.js", name: "item_li", exported: false,
249
+ keys: ["1.name", "1.tooltip", "1.aria_label", "1.id"],
250
+ fallbacks: {"1.id": ["1.name", "1.aria_label"]}},
251
+ {module: "c_yui_nav.js", name: "item_iconbar", exported: false,
252
+ keys: ["1.name", "1.tooltip", "1.aria_label", "1.id"],
253
+ fallbacks: {"1.id": ["1.name", "1.aria_label"]}},
228
254
  {module: "c_yui_nav.js", name: "render_vertical", exported: false,
229
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
255
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
256
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
230
257
  {module: "c_yui_nav.js", name: "render_icon_bar", exported: false,
231
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
258
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
259
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
232
260
  {module: "c_yui_nav.js", name: "render_tabs", exported: false,
233
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
261
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
262
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
234
263
  {module: "c_yui_nav.js", name: "render_cards", exported: false,
235
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
264
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
265
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
236
266
  {module: "c_yui_nav.js", name: "render_submenu", exported: false,
237
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
267
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
268
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
238
269
  {module: "c_yui_nav.js", name: "render_drawer", exported: false,
239
- keys: ["1[].name", "1[].tooltip", "1[].aria_label"]},
270
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id"],
271
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"]}},
240
272
  {module: "c_yui_nav.js", name: "render_breadcrumb", exported: false,
241
- keys: ["1[].name", "1[].id", "1[].tooltip", "1[].aria_label"]},
273
+ keys: ["1[].name", "1[].id", "1[].tooltip", "1[].aria_label"],
274
+ fallbacks: {"1[].id": ["1[].name"]}},
242
275
  {module: "c_yui_nav.js", name: "render_accordion", exported: false,
243
- keys: ["1[].name", "1[].submenu.items[].name", "1[].submenu.items[].tooltip",
244
- "1[].submenu.items[].aria_label"]},
245
- /* c_yui_shell.js -- the toolbar items: the app's shell declaration */
276
+ keys: ["1[].name", "1[].tooltip", "1[].aria_label", "1[].id",
277
+ "1[].submenu.items[].name", "1[].submenu.items[].tooltip",
278
+ "1[].submenu.items[].aria_label", "1[].submenu.items[].id"],
279
+ fallbacks: {"1[].id": ["1[].name", "1[].aria_label"],
280
+ "1[].submenu.items[].id": ["1[].submenu.items[].name", "1[].submenu.items[].aria_label"]}},
281
+ /* c_yui_shell.js -- the toolbar items: the app's shell declaration.
282
+ * The id is the key of an item with no `aria_label` nor `name`, and
283
+ * of the menu it opens. */
246
284
  {module: "c_yui_shell.js", name: "build_toolbar", exported: false,
247
285
  keys: ["1.toolbar.aria_label", "1.toolbar.items[].name", "1.toolbar.items[].aria_label",
248
- "1.toolbar.items[].tooltip", "1.toolbar.items[].wordmark"]},
286
+ "1.toolbar.items[].tooltip", "1.toolbar.items[].wordmark", "1.toolbar.items[].id"],
287
+ fallbacks: {"1.toolbar.items[].id": ["1.toolbar.items[].aria_label"]}},
249
288
  {module: "c_yui_shell.js", name: "build_toolbar_action_item", exported: false,
250
- keys: ["1.name", "1.aria_label", "1.tooltip"]},
289
+ keys: ["1.name", "1.aria_label", "1.tooltip", "1.id"],
290
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
251
291
  {module: "c_yui_shell.js", name: "build_toolbar_brand_item", exported: false,
252
- keys: ["1.name", "1.aria_label", "1.tooltip", "1.wordmark"]},
292
+ keys: ["1.name", "1.aria_label", "1.tooltip", "1.wordmark", "1.id"],
293
+ fallbacks: {"1.id": ["1.aria_label"]}},
253
294
  {module: "c_yui_shell.js", name: "build_toolbar_avatar_item", exported: false,
254
- keys: ["1.name", "1.aria_label", "1.tooltip"]},
295
+ keys: ["1.name", "1.aria_label", "1.tooltip", "1.id"],
296
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
255
297
  {module: "c_yui_shell.js", name: "build_toolbar_connection_item", exported: false,
256
- keys: ["1.name", "1.aria_label", "1.tooltip"]},
257
- {module: "c_yui_shell.js", name: "handle_toolbar_action", exported: false, keys: ["1.name", "1.aria_label"]},
258
- {module: "c_yui_shell.js", name: "toggle_toolbar_dropdown", exported: false, keys: ["1.name", "1.aria_label"]},
259
- {module: "c_yui_shell.js", name: "open_toolbar_dropdown", exported: false, keys: ["1.name", "1.aria_label"]},
260
- {module: "c_yui_shell.js", name: "build_dropdown_row", exported: false, keys: ["1.name", "1.aria_label"]},
298
+ keys: ["1.name", "1.aria_label", "1.tooltip", "1.id"],
299
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
300
+ {module: "c_yui_shell.js", name: "attach_context_action", exported: false,
301
+ keys: ["2.name", "2.aria_label", "2.id"],
302
+ fallbacks: {"2.id": ["2.aria_label", "2.name"]}},
303
+ {module: "c_yui_shell.js", name: "handle_toolbar_action", exported: false,
304
+ keys: ["1.name", "1.aria_label", "1.id"],
305
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
306
+ {module: "c_yui_shell.js", name: "toggle_toolbar_dropdown", exported: false,
307
+ keys: ["1.name", "1.aria_label", "1.id"],
308
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
309
+ {module: "c_yui_shell.js", name: "open_toolbar_dropdown", exported: false,
310
+ keys: ["1.name", "1.aria_label", "1.id"],
311
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
312
+ {module: "c_yui_shell.js", name: "build_dropdown_row", exported: false,
313
+ keys: ["1.name", "1.aria_label", "1.id"],
314
+ fallbacks: {"1.id": ["1.aria_label", "1.name"]}},
261
315
  /* c_yui_shell.js -- the name of a badged item, said with its count:
262
316
  * the app's shell declaration */
263
317
  {module: "c_yui_shell.js", name: "announce_badge", exported: false, keys: ["1"]},