@yuneta/gobj-ui 7.23.124 → 7.23.125

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.
@@ -8443,6 +8443,9 @@ function create_tabulator$1(gobj, $extend, name, template) {
8443
8443
  tabulator.on("renderComplete", function() {
8444
8444
  yui_tabulator_name_row_selects(tabulator, i18next.t);
8445
8445
  });
8446
+ tabulator.on("tableBuilt", function() {
8447
+ yui_tabulator_name_row_selects(tabulator, i18next.t);
8448
+ });
8446
8449
  tabulator.on("rowClick", function(e, row) {
8447
8450
  e.preventDefault();
8448
8451
  if (get_selectable_state(row)) row.toggleSelect();
@@ -25218,6 +25221,7 @@ function create_tabulator(gobj) {
25218
25221
  tabulator._ready = false;
25219
25222
  tabulator.on("tableBuilt", function() {
25220
25223
  yui_tabulator_name_filters(tabulator, i18next.t);
25224
+ yui_tabulator_name_row_selects(tabulator, i18next.t);
25221
25225
  tabulator._ready = true;
25222
25226
  update_rowcount();
25223
25227
  yui_table_filter_clear(tabulator);
@@ -8438,6 +8438,9 @@ function create_tabulator$1(gobj, $extend, name, template) {
8438
8438
  tabulator.on("renderComplete", function() {
8439
8439
  yui_tabulator_name_row_selects(tabulator, t);
8440
8440
  });
8441
+ tabulator.on("tableBuilt", function() {
8442
+ yui_tabulator_name_row_selects(tabulator, t);
8443
+ });
8441
8444
  tabulator.on("rowClick", function(e, row) {
8442
8445
  e.preventDefault();
8443
8446
  if (get_selectable_state(row)) row.toggleSelect();
@@ -25213,6 +25216,7 @@ function create_tabulator(gobj) {
25213
25216
  tabulator._ready = false;
25214
25217
  tabulator.on("tableBuilt", function() {
25215
25218
  yui_tabulator_name_filters(tabulator, t);
25219
+ yui_tabulator_name_row_selects(tabulator, t);
25216
25220
  tabulator._ready = true;
25217
25221
  update_rowcount();
25218
25222
  yui_table_filter_clear(tabulator);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.23.124",
3
+ "version": "7.23.125",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
package/src/c_yui_form.js CHANGED
@@ -1842,6 +1842,11 @@ function create_tabulator(gobj, $extend, name, template)
1842
1842
  tabulator.on("renderComplete", function() {
1843
1843
  yui_tabulator_name_row_selects(tabulator, t);
1844
1844
  });
1845
+ /* And at build: an EMPTY table renders no body, so `renderComplete`
1846
+ * never fires and the header's own box would keep its English name. */
1847
+ tabulator.on("tableBuilt", function() {
1848
+ yui_tabulator_name_row_selects(tabulator, t);
1849
+ });
1845
1850
  tabulator.on("rowClick", function(e, row) {
1846
1851
  //e - the click event object
1847
1852
  //row - row component
@@ -1658,6 +1658,13 @@ function create_tabulator(gobj)
1658
1658
  * on screen the column above says what each one filters, and to
1659
1659
  * a reader they are a row of anonymous text boxes. */
1660
1660
  yui_tabulator_name_filters(tabulator, t);
1661
+ /* The HEADER box too, and here rather than only in
1662
+ * `renderComplete`: an EMPTY table renders no body, so that event
1663
+ * never fires and the one box it does draw -- the header's -- kept
1664
+ * Tabulator's English name. Eight such tables were on screen in
1665
+ * the deployed schemas window, with six boxes between them and not
1666
+ * one row. */
1667
+ yui_tabulator_name_row_selects(tabulator, t);
1661
1668
  tabulator._ready = true;
1662
1669
  update_rowcount();
1663
1670
  /* La ✕ de cada filtro de cabecera. Un filtro se quita borrando lo