@yuneta/gobj-ui 7.23.119 → 7.23.121

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.
@@ -23408,8 +23408,8 @@ function tabulator_strings(t) {
23408
23408
  * row of anonymous text boxes.
23409
23409
  *
23410
23410
  * The name is composed from the column's own title, so it needs
23411
- * ONE consumer key with an interpolation (`filter column` ->
23412
- * "Filtrar {{column}}") instead of one per column, and it
23411
+ * ONE consumer key with an interpolation (`filter by column` ->
23412
+ * "Filtrar por {{column}}") instead of one per column, and it
23413
23413
  * follows a language change because this runs from
23414
23414
  * `yui_tabulator_relocalize()` as well as at build.
23415
23415
  ***************************************************************/
@@ -23425,7 +23425,7 @@ function yui_tabulator_name_filters(table, t) {
23425
23425
  let $title = $el.querySelector(".tabulator-col-title");
23426
23426
  if (!title && $title) title = $title.textContent.trim();
23427
23427
  if (!title) continue;
23428
- $input.setAttribute("aria-label", t("filter column", { column: title }));
23428
+ $input.setAttribute("aria-label", t("filter by column", { column: title }));
23429
23429
  }
23430
23430
  } catch (e) {}
23431
23431
  }
@@ -23403,8 +23403,8 @@ function tabulator_strings(t) {
23403
23403
  * row of anonymous text boxes.
23404
23404
  *
23405
23405
  * The name is composed from the column's own title, so it needs
23406
- * ONE consumer key with an interpolation (`filter column` ->
23407
- * "Filtrar {{column}}") instead of one per column, and it
23406
+ * ONE consumer key with an interpolation (`filter by column` ->
23407
+ * "Filtrar por {{column}}") instead of one per column, and it
23408
23408
  * follows a language change because this runs from
23409
23409
  * `yui_tabulator_relocalize()` as well as at build.
23410
23410
  ***************************************************************/
@@ -23420,7 +23420,7 @@ function yui_tabulator_name_filters(table, t) {
23420
23420
  let $title = $el.querySelector(".tabulator-col-title");
23421
23421
  if (!title && $title) title = $title.textContent.trim();
23422
23422
  if (!title) continue;
23423
- $input.setAttribute("aria-label", t("filter column", { column: title }));
23423
+ $input.setAttribute("aria-label", t("filter by column", { column: title }));
23424
23424
  }
23425
23425
  } catch (e) {}
23426
23426
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.23.119",
3
+ "version": "7.23.121",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -30,13 +30,13 @@
30
30
  "devDependencies": {
31
31
  "@rollup/plugin-terser": "^1.0.0",
32
32
  "@vitest/coverage-v8": "^4.1.10",
33
- "@yuneta/gobj-js": "^7.16.3",
33
+ "@yuneta/gobj-js": "^7.16.6",
34
34
  "vite": "^8.2.1",
35
35
  "vitest": "^4.1.10"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@antv/g6": "^5.1.0",
39
- "@yuneta/gobj-js": "^7.13.2",
39
+ "@yuneta/gobj-js": "^7.16.6",
40
40
  "bulma": "^1.0.4",
41
41
  "i18next": "^26.3.6",
42
42
  "maplibre-gl": "^6.4.1",
@@ -100,8 +100,8 @@ function tabulator_strings(t)
100
100
  * row of anonymous text boxes.
101
101
  *
102
102
  * The name is composed from the column's own title, so it needs
103
- * ONE consumer key with an interpolation (`filter column` ->
104
- * "Filtrar {{column}}") instead of one per column, and it
103
+ * ONE consumer key with an interpolation (`filter by column` ->
104
+ * "Filtrar por {{column}}") instead of one per column, and it
105
105
  * follows a language change because this runs from
106
106
  * `yui_tabulator_relocalize()` as well as at build.
107
107
  ***************************************************************/
@@ -130,7 +130,12 @@ function yui_tabulator_name_filters(table, t)
130
130
  if(!title) {
131
131
  continue; /* a column with no title names nothing */
132
132
  }
133
- $input.setAttribute("aria-label", t("filter column", {column: title}));
133
+ /* `filter by column` and NOT `filter column`: that key
134
+ * already exists in two apps as the header filter's
135
+ * PLACEHOLDER ("filtrar columna...") and carries no
136
+ * interpolation, so reusing it named all five boxes the
137
+ * same -- which is where this started. */
138
+ $input.setAttribute("aria-label", t("filter by column", {column: title}));
134
139
  }
135
140
  } catch(e) {
136
141
  /* a table between renders has no columns to name */