@praxisui/table 8.0.0-beta.12 → 8.0.0-beta.13

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.
@@ -41587,10 +41587,13 @@ class PraxisTable {
41587
41587
  async dispatchRowAction(action, row, runtimeOptions, extra) {
41588
41588
  const actionConfig = runtimeOptions?.actionConfig;
41589
41589
  if (actionConfig?.globalAction) {
41590
+ const payload = Object.prototype.hasOwnProperty.call(runtimeOptions || {}, 'payload')
41591
+ ? runtimeOptions?.payload
41592
+ : { row };
41590
41593
  await this.executeConfiguredGlobalAction(actionConfig, {
41591
41594
  sourceId: this.tableId || this.componentInstanceId || 'praxis-table',
41592
41595
  output: 'rowAction',
41593
- payload: runtimeOptions?.payload ?? row,
41596
+ payload,
41594
41597
  runtime: { row },
41595
41598
  meta: { actionId: action, actionConfig },
41596
41599
  });
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "8.0.0-beta.12",
3
+ "version": "8.0.0-beta.13",
4
4
  "description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
7
7
  "@angular/core": "^20.0.0",
8
- "@praxisui/ai": "^8.0.0-beta.12",
9
- "@praxisui/core": "^8.0.0-beta.12",
10
- "@praxisui/dynamic-fields": "^8.0.0-beta.12",
11
- "@praxisui/dynamic-form": "^8.0.0-beta.12",
12
- "@praxisui/metadata-editor": "^8.0.0-beta.12",
13
- "@praxisui/rich-content": "^8.0.0-beta.12",
14
- "@praxisui/settings-panel": "^8.0.0-beta.12",
15
- "@praxisui/table-rule-builder": "^8.0.0-beta.12"
8
+ "@praxisui/ai": "^8.0.0-beta.13",
9
+ "@praxisui/core": "^8.0.0-beta.13",
10
+ "@praxisui/dynamic-fields": "^8.0.0-beta.13",
11
+ "@praxisui/dynamic-form": "^8.0.0-beta.13",
12
+ "@praxisui/metadata-editor": "^8.0.0-beta.13",
13
+ "@praxisui/rich-content": "^8.0.0-beta.13",
14
+ "@praxisui/settings-panel": "^8.0.0-beta.13",
15
+ "@praxisui/table-rule-builder": "^8.0.0-beta.13"
16
16
  },
17
17
  "dependencies": {
18
18
  "tslib": "^2.3.0"