@web-utils/form-ui 1.0.0-beta85 → 1.0.0-beta86

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.
@@ -2,7 +2,7 @@ import { i as e } from "./ClVh1Lek.mjs";
2
2
  import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
3
3
  import { n as r, o as i } from "./b0ve2YgF.mjs";
4
4
  import { n as a } from "./C28bnMcw.mjs";
5
- import { n as o, t as s } from "./BMei9UHN2.mjs";
5
+ import { n as o, t as s } from "./8h-xBLL82.mjs";
6
6
  import { computed as c, createVNode as l, getCurrentInstance as u, mergeProps as d, useModel as f, useTemplateRef as p } from "vue";
7
7
  import { isArray as m, isString as h, trace as g, warning as _ } from "@web-utils/core";
8
8
  import { useEventBus as v } from "@web-utils/vue/hooks/useEventBus";
@@ -1,6 +1,6 @@
1
1
  import { s as e } from "./ClVh1Lek.mjs";
2
2
  import { t } from "./B1MSrc6f.mjs";
3
- import { t as n } from "./SLYmepqR.mjs";
3
+ import { t as n } from "./HFLY8Wla.mjs";
4
4
  import { cellClickHandlerContextKey as r } from "../constants/index.mjs";
5
5
  import { t as i } from "./mnqSaATq.mjs";
6
6
  import { t as a } from "./tzjUpVIj.mjs";
@@ -47,7 +47,11 @@ var z = {
47
47
  initRow: Function,
48
48
  onRowDbClick: Function,
49
49
  showMessage: Boolean,
50
- pageSize: Number
50
+ pageSize: Number,
51
+ rowKey: {
52
+ type: [Function, String],
53
+ default: "id"
54
+ }
51
55
  }, B = {
52
56
  name: "SubTablePlus",
53
57
  inject: {
@@ -229,6 +233,7 @@ function J(e, t, r, o, h, g) {
229
233
  "show-summary": e.showSummary,
230
234
  descs: e.descs,
231
235
  ascs: e.ascs,
236
+ "row-key": e.rowKey,
232
237
  "page-size": e.pageSize,
233
238
  "selection-width": e.selectionWidth,
234
239
  "hide-on-single-page": "",
@@ -487,6 +492,7 @@ function J(e, t, r, o, h, g) {
487
492
  "show-summary",
488
493
  "descs",
489
494
  "ascs",
495
+ "row-key",
490
496
  "page-size",
491
497
  "selection-width",
492
498
  "selection",
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
- import { t } from "./SLYmepqR.mjs";
2
+ import { t } from "./HFLY8Wla.mjs";
3
3
  import { t as n } from "./mnqSaATq.mjs";
4
4
  import { t as r } from "./tzjUpVIj.mjs";
5
5
  import { n as i } from "./b0ve2YgF.mjs";
@@ -52,7 +52,11 @@ var I = {
52
52
  showSummary: Boolean,
53
53
  selectionWidth: String,
54
54
  fetchApi: Function,
55
- delApi: Function
55
+ delApi: Function,
56
+ rowKey: {
57
+ type: [Function, String],
58
+ default: "id"
59
+ }
56
60
  }, L = {
57
61
  name: "SubTable",
58
62
  emits: {
@@ -191,6 +195,7 @@ function V(e, i, m, h, g, N) {
191
195
  "show-summary": e.showSummary,
192
196
  "selection-width": e.selectionWidth
193
197
  }, e.$attrs, {
198
+ "row-key": e.rowKey,
194
199
  "hide-on-single-page": "",
195
200
  selection: N.enabled,
196
201
  "row-db-click": e.rowDbClick,
@@ -409,6 +414,7 @@ function V(e, i, m, h, g, N) {
409
414
  "api",
410
415
  "show-summary",
411
416
  "selection-width",
417
+ "row-key",
412
418
  "selection",
413
419
  "row-db-click",
414
420
  "onSelectionChange"
@@ -1,6 +1,6 @@
1
1
  import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
2
2
  import { n, o as r } from "./b0ve2YgF.mjs";
3
- import { n as i, t as a } from "./61ccpSFj2.mjs";
3
+ import { n as i, t as a } from "./DWN5uzm02.mjs";
4
4
  import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
5
5
  //#region src/components/table/form-table.ts
6
6
  var u = {