@web-utils/form-ui 1.0.0-beta51 → 1.0.0-beta52

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.
Files changed (103) hide show
  1. package/chunks/{eae6huQB.mjs → B1k8ydde.mjs} +2 -2
  2. package/chunks/{B1IPSTA6.mjs → B75qfA0z.mjs} +2 -2
  3. package/chunks/{pIzhYsBe.mjs → BAw6wxW1.mjs} +2 -2
  4. package/chunks/{B9gA65rt2.mjs → BSU2FqMP2.mjs} +2 -2
  5. package/chunks/{DA7oGHSX.mjs → BXVB-H8_.mjs} +2 -2
  6. package/chunks/B_RAcbs_.mjs +108 -0
  7. package/chunks/{BtcjAHE6.mjs → BshE3RnA.mjs} +2 -2
  8. package/chunks/{CuAoMR3n.mjs → C6hLXCPk.mjs} +5 -16
  9. package/chunks/{CAd1zK9Q.mjs → CBFbSsTJ.mjs} +2 -2
  10. package/chunks/CGDnQr1c.mjs +67 -0
  11. package/chunks/CGHcOyNC2.mjs +87 -0
  12. package/chunks/{ByHz4mmh.mjs → CVKPpQdS.mjs} +2 -2
  13. package/chunks/{BG8z3V9d2.mjs → CjRZ71IY2.mjs} +47 -178
  14. package/chunks/CkjtCuMs.mjs +416 -0
  15. package/chunks/{D_Fs3bkZ.mjs → CtHmTtVP.mjs} +2 -2
  16. package/chunks/{V2p-PCpL.mjs → CzHaJsnD.mjs} +3 -3
  17. package/chunks/{Bwbtu2cp.mjs → D2MB3CnR.mjs} +2 -2
  18. package/chunks/{D_qiRmiE.mjs → D3mFJzGr.mjs} +32 -26
  19. package/chunks/{BbSPWDDZ.mjs → DLgFBI_X.mjs} +2 -2
  20. package/chunks/{BfxDxIg0.mjs → DVbw6xIr.mjs} +2 -2
  21. package/chunks/{BQk3-Ppb2.mjs → DZJ-ShZA2.mjs} +38 -39
  22. package/chunks/{CqVd8D222.mjs → DcFllKOf2.mjs} +2 -2
  23. package/chunks/DhVmHzB7.mjs +653 -0
  24. package/chunks/{6yfBZFOB.mjs → DitpKWMd.mjs} +4 -3
  25. package/chunks/{bFbPPcdq.mjs → DkXlFWjs.mjs} +2 -2
  26. package/chunks/{DKwp6AMl.mjs → GMFHxPJq.mjs} +2 -2
  27. package/chunks/{BqWvBF14.mjs → JKFepPeL.mjs} +2 -2
  28. package/chunks/{CJdkjadi.mjs → KuAMIZnG.mjs} +1 -1
  29. package/chunks/{BBERmTup.mjs → XoImEoke.mjs} +19 -4
  30. package/chunks/{wXeqV-_7.mjs → eBESsR-G.mjs} +2 -2
  31. package/chunks/{CabldOLo.mjs → v-O82KSn.mjs} +4 -3
  32. package/element-dialog/index.d.ts +2 -2
  33. package/form-cascader/index.d.ts +8 -2
  34. package/form-cascader/index.mjs +1 -1
  35. package/form-checkbox/index.d.ts +8 -2
  36. package/form-checkbox/index.mjs +1 -1
  37. package/form-checkbox-group/index.d.ts +8 -2
  38. package/form-checkbox-group/index.mjs +1 -1
  39. package/form-date-picker/index.d.ts +8 -2
  40. package/form-date-picker/index.mjs +1 -1
  41. package/form-image/index.d.ts +8 -2
  42. package/form-image/index.mjs +1 -1
  43. package/form-input/index.d.ts +8 -2
  44. package/form-input/index.mjs +1 -1
  45. package/form-input-cron-expression/index.d.ts +8 -2
  46. package/form-input-cron-expression/index.mjs +1 -1
  47. package/form-input-email/index.d.ts +8 -2
  48. package/form-input-email/index.mjs +1 -1
  49. package/form-input-id-card/index.d.ts +8 -2
  50. package/form-input-id-card/index.mjs +1 -1
  51. package/form-input-number/index.d.ts +8 -2
  52. package/form-input-number/index.mjs +1 -1
  53. package/form-input-phone-number/index.d.ts +8 -2
  54. package/form-input-phone-number/index.mjs +1 -1
  55. package/form-input-tag/index.d.ts +8 -2
  56. package/form-input-tag/index.mjs +1 -1
  57. package/form-input-time/index.d.ts +8 -2
  58. package/form-input-time/index.mjs +1 -1
  59. package/form-item-group/index.mjs +1 -1
  60. package/form-item-x/index.d.ts +8 -2
  61. package/form-item-x/index.mjs +1 -1
  62. package/form-radio-group/index.d.ts +8 -2
  63. package/form-radio-group/index.mjs +1 -1
  64. package/form-rate/index.d.ts +8 -2
  65. package/form-rate/index.mjs +1 -1
  66. package/form-select/index.d.ts +8 -2
  67. package/form-select/index.mjs +1 -1
  68. package/form-slider/index.d.ts +8 -2
  69. package/form-slider/index.mjs +1 -1
  70. package/form-switch/index.d.ts +8 -2
  71. package/form-switch/index.mjs +1 -1
  72. package/form-table/index.d.ts +43 -25
  73. package/form-table/index.mjs +1 -1
  74. package/form-table-plus/index.d.ts +8 -8
  75. package/form-table-plus/index.mjs +1 -1
  76. package/form-text/index.d.ts +8 -2
  77. package/form-text/index.mjs +1 -1
  78. package/form-textarea/index.d.ts +12 -12
  79. package/form-textarea/index.mjs +1 -1
  80. package/form-time-select/index.d.ts +8 -2
  81. package/form-time-select/index.mjs +1 -1
  82. package/helper/sub-table-plus.d.ts +38 -0
  83. package/helper/sub-table-plus.mjs +4 -0
  84. package/index.mjs +29 -29
  85. package/package.json +1 -1
  86. package/pageable-table/index.d.ts +11 -11
  87. package/pageable-table/index.mjs +1 -1
  88. package/sub-table/index.d.ts +36 -30
  89. package/sub-table/index.mjs +2 -537
  90. package/sub-table-plus/index.d.ts +11 -2
  91. package/sub-table-plus/index.mjs +1 -1
  92. package/table-column/index.d.ts +8 -5
  93. package/table-column/index.mjs +1 -1
  94. package/table-column-def/index.d.ts +14 -12
  95. package/table-column-def/index.mjs +1 -1
  96. package/table-view/index.d.ts +4 -0
  97. package/table-view/index.mjs +13 -5
  98. package/web-types.json +1 -1
  99. package/chunks/BsZgAJX_2.mjs +0 -81
  100. package/chunks/YFiU0ngn.mjs +0 -622
  101. package/chunks/gCeDFHo1.mjs +0 -32
  102. package/chunks/hlha6Bhc.mjs +0 -107
  103. package/chunks/wDS9KBFw.mjs +0 -67
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/BBERmTup.mjs";
1
+ import { t as e } from "../chunks/XoImEoke.mjs";
2
2
  //#region src/components/table/TableColumnDef.vue
3
3
  var t = /* @__PURE__ */ Object.assign({ name: "TableColumnDef" }, {
4
4
  __name: "TableColumnDef",
@@ -1,5 +1,6 @@
1
1
  import { tableViewContextKey, cellClickHandlerContextKey } from '../../constants';
2
2
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
+ data: ArrayConstructor;
3
4
  viewId: (StringConstructor | ArrayConstructor)[];
4
5
  searchPanelAttrs: {
5
6
  type: ObjectConstructor;
@@ -85,6 +86,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
85
86
  exp(): void;
86
87
  getTableColumns(): any;
87
88
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reset"[], "reset", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
89
+ data: ArrayConstructor;
88
90
  viewId: (StringConstructor | ArrayConstructor)[];
89
91
  searchPanelAttrs: {
90
92
  type: ObjectConstructor;
@@ -156,6 +158,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
156
158
  showToolbar: boolean;
157
159
  }, {}, {}, {}, string, () => {
158
160
  [tableViewContextKey]: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
161
+ data: ArrayConstructor;
159
162
  viewId: (StringConstructor | ArrayConstructor)[];
160
163
  searchPanelAttrs: {
161
164
  type: ObjectConstructor;
@@ -250,6 +253,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
250
253
  M: {};
251
254
  Defaults: {};
252
255
  }, Readonly<globalThis.ExtractPropTypes<{
256
+ data: ArrayConstructor;
253
257
  viewId: (StringConstructor | ArrayConstructor)[];
254
258
  searchPanelAttrs: {
255
259
  type: ObjectConstructor;
@@ -4,9 +4,9 @@ import { cellClickHandlerContextKey as i, tableViewContextKey as a } from "../co
4
4
  import { t as o } from "../chunks/Dt3lfDnL.mjs";
5
5
  import { t as s } from "../chunks/BWh6u1O0.mjs";
6
6
  import { t as c } from "../chunks/CkOD-_VV.mjs";
7
- import { a as l } from "../chunks/D_qiRmiE.mjs";
7
+ import { a as l } from "../chunks/D3mFJzGr.mjs";
8
8
  import u from "../form-item-config-provider/index.mjs";
9
- import { t as d } from "../chunks/YFiU0ngn.mjs";
9
+ import { t as d } from "../chunks/DhVmHzB7.mjs";
10
10
  import { t as f } from "../chunks/BQyL45PF2.mjs";
11
11
  import { hasOwn as p, isArray as m, isFunction as h, isString as g, toStringArray as _, trace as v, warning as y } from "@web-utils/core";
12
12
  import { Transition as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createTextVNode as E, createVNode as D, mergeProps as O, normalizeClass as k, normalizeStyle as A, openBlock as j, renderList as M, renderSlot as N, toDisplayString as P, toHandlers as F, vShow as I, withCtx as L, withDirectives as R, withModifiers as z } from "vue";
@@ -56,6 +56,7 @@ var G = [
56
56
  };
57
57
  },
58
58
  props: {
59
+ data: Array,
59
60
  viewId: [String, Array],
60
61
  searchPanelAttrs: {
61
62
  type: Object,
@@ -198,8 +199,8 @@ var G = [
198
199
  this.$router.push(e(this.formPath, t));
199
200
  },
200
201
  rowDbClick(e) {
201
- var t;
202
- !((t = this.tableListeners) != null && t["row-dblclick"]) && this.formPath && this.openFrom(e);
202
+ var t, n;
203
+ !((t = this.tableListeners) != null && t["row-dblclick"]) && !((n = this.tableListeners) != null && n.rowDblclick) && this.formPath && this.openFrom(e);
203
204
  },
204
205
  onSelectionChange(e) {
205
206
  this.selectedRows = e;
@@ -389,7 +390,11 @@ function ee(e, t, n, r, i, a) {
389
390
  "border-left": n.borderLeft || n.treeAttrs && n.treeAttrs.show,
390
391
  "border-right": n.borderRight
391
392
  }]
392
- }, a.tableProps, F(a.toHyphenateKey(n.tableListeners)), {
393
+ }, a.tableProps, {
394
+ "row-key": n.rowKey,
395
+ "row-db-click": a.rowDbClick,
396
+ data: n.data
397
+ }, F(a.toHyphenateKey(n.tableListeners)), {
393
398
  onRowDblclick: a.rowDbClick,
394
399
  onSelectionChange: a.onSelectionChange
395
400
  }), T({
@@ -401,6 +406,9 @@ function ee(e, t, n, r, i, a) {
401
406
  }))]), 1040, [
402
407
  "border",
403
408
  "class",
409
+ "row-key",
410
+ "row-db-click",
411
+ "data",
404
412
  "onRowDblclick",
405
413
  "onSelectionChange"
406
414
  ])])