@yuneta/gobj-ui 7.23.160 → 7.23.161

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.
@@ -27671,9 +27671,15 @@ function show_edit_form(gobj, row, index) {
27671
27671
  * Does a click on this column already mean something else?
27672
27672
  *
27673
27673
  * The `_` columns are the table's own scaffolding (the selection
27674
- * checkbox, the Op buttons); a hook opens its children and a col
27675
- * holding a json document opens it in a viewer. Anything else is
27676
- * plain data, and a click on it means "show me this record".
27674
+ * checkbox, the Op buttons); a hook opens its children, a col
27675
+ * holding a json document opens it in a viewer, and a `file` col
27676
+ * opens its asset in a popup. Anything else is plain data, and a
27677
+ * click on it means "show me this record".
27678
+ *
27679
+ * `file` was missing when its popup arrived (7.23.159), so a click
27680
+ * on a photo opened the popup AND the record on top of it: Tabulator
27681
+ * fires `rowClick` from its own dispatcher, and the cell's
27682
+ * stopPropagation() does not reach it.
27677
27683
  ************************************************************/
27678
27684
  var CELL_WITH_ACTION = [
27679
27685
  "hook",
@@ -27684,7 +27690,8 @@ var CELL_WITH_ACTION = [
27684
27690
  "list",
27685
27691
  "coordinates",
27686
27692
  "blob",
27687
- "gbuffer"
27693
+ "gbuffer",
27694
+ "file"
27688
27695
  ];
27689
27696
  function cell_has_its_own_action(gobj, field) {
27690
27697
  if (!field || field.charAt(0) === "_") return true;
@@ -27666,9 +27666,15 @@ function show_edit_form(gobj, row, index) {
27666
27666
  * Does a click on this column already mean something else?
27667
27667
  *
27668
27668
  * The `_` columns are the table's own scaffolding (the selection
27669
- * checkbox, the Op buttons); a hook opens its children and a col
27670
- * holding a json document opens it in a viewer. Anything else is
27671
- * plain data, and a click on it means "show me this record".
27669
+ * checkbox, the Op buttons); a hook opens its children, a col
27670
+ * holding a json document opens it in a viewer, and a `file` col
27671
+ * opens its asset in a popup. Anything else is plain data, and a
27672
+ * click on it means "show me this record".
27673
+ *
27674
+ * `file` was missing when its popup arrived (7.23.159), so a click
27675
+ * on a photo opened the popup AND the record on top of it: Tabulator
27676
+ * fires `rowClick` from its own dispatcher, and the cell's
27677
+ * stopPropagation() does not reach it.
27672
27678
  ************************************************************/
27673
27679
  var CELL_WITH_ACTION = [
27674
27680
  "hook",
@@ -27679,7 +27685,8 @@ var CELL_WITH_ACTION = [
27679
27685
  "list",
27680
27686
  "coordinates",
27681
27687
  "blob",
27682
- "gbuffer"
27688
+ "gbuffer",
27689
+ "file"
27683
27690
  ];
27684
27691
  function cell_has_its_own_action(gobj, field) {
27685
27692
  if (!field || field.charAt(0) === "_") return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.23.160",
3
+ "version": "7.23.161",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -2928,13 +2928,19 @@ function show_edit_form(gobj, row, index)
2928
2928
  * Does a click on this column already mean something else?
2929
2929
  *
2930
2930
  * The `_` columns are the table's own scaffolding (the selection
2931
- * checkbox, the Op buttons); a hook opens its children and a col
2932
- * holding a json document opens it in a viewer. Anything else is
2933
- * plain data, and a click on it means "show me this record".
2931
+ * checkbox, the Op buttons); a hook opens its children, a col
2932
+ * holding a json document opens it in a viewer, and a `file` col
2933
+ * opens its asset in a popup. Anything else is plain data, and a
2934
+ * click on it means "show me this record".
2935
+ *
2936
+ * `file` was missing when its popup arrived (7.23.159), so a click
2937
+ * on a photo opened the popup AND the record on top of it: Tabulator
2938
+ * fires `rowClick` from its own dispatcher, and the cell's
2939
+ * stopPropagation() does not reach it.
2934
2940
  ************************************************************/
2935
2941
  const CELL_WITH_ACTION = [
2936
2942
  "hook", "object", "dict", "template", "array", "list",
2937
- "coordinates", "blob", "gbuffer"
2943
+ "coordinates", "blob", "gbuffer", "file"
2938
2944
  ];
2939
2945
 
2940
2946
  function cell_has_its_own_action(gobj, field)