@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.
- package/chunks/{eae6huQB.mjs → B1k8ydde.mjs} +2 -2
- package/chunks/{B1IPSTA6.mjs → B75qfA0z.mjs} +2 -2
- package/chunks/{pIzhYsBe.mjs → BAw6wxW1.mjs} +2 -2
- package/chunks/{B9gA65rt2.mjs → BSU2FqMP2.mjs} +2 -2
- package/chunks/{DA7oGHSX.mjs → BXVB-H8_.mjs} +2 -2
- package/chunks/B_RAcbs_.mjs +108 -0
- package/chunks/{BtcjAHE6.mjs → BshE3RnA.mjs} +2 -2
- package/chunks/{CuAoMR3n.mjs → C6hLXCPk.mjs} +5 -16
- package/chunks/{CAd1zK9Q.mjs → CBFbSsTJ.mjs} +2 -2
- package/chunks/CGDnQr1c.mjs +67 -0
- package/chunks/CGHcOyNC2.mjs +87 -0
- package/chunks/{ByHz4mmh.mjs → CVKPpQdS.mjs} +2 -2
- package/chunks/{BG8z3V9d2.mjs → CjRZ71IY2.mjs} +47 -178
- package/chunks/CkjtCuMs.mjs +416 -0
- package/chunks/{D_Fs3bkZ.mjs → CtHmTtVP.mjs} +2 -2
- package/chunks/{V2p-PCpL.mjs → CzHaJsnD.mjs} +3 -3
- package/chunks/{Bwbtu2cp.mjs → D2MB3CnR.mjs} +2 -2
- package/chunks/{D_qiRmiE.mjs → D3mFJzGr.mjs} +32 -26
- package/chunks/{BbSPWDDZ.mjs → DLgFBI_X.mjs} +2 -2
- package/chunks/{BfxDxIg0.mjs → DVbw6xIr.mjs} +2 -2
- package/chunks/{BQk3-Ppb2.mjs → DZJ-ShZA2.mjs} +38 -39
- package/chunks/{CqVd8D222.mjs → DcFllKOf2.mjs} +2 -2
- package/chunks/DhVmHzB7.mjs +653 -0
- package/chunks/{6yfBZFOB.mjs → DitpKWMd.mjs} +4 -3
- package/chunks/{bFbPPcdq.mjs → DkXlFWjs.mjs} +2 -2
- package/chunks/{DKwp6AMl.mjs → GMFHxPJq.mjs} +2 -2
- package/chunks/{BqWvBF14.mjs → JKFepPeL.mjs} +2 -2
- package/chunks/{CJdkjadi.mjs → KuAMIZnG.mjs} +1 -1
- package/chunks/{BBERmTup.mjs → XoImEoke.mjs} +19 -4
- package/chunks/{wXeqV-_7.mjs → eBESsR-G.mjs} +2 -2
- package/chunks/{CabldOLo.mjs → v-O82KSn.mjs} +4 -3
- package/element-dialog/index.d.ts +2 -2
- package/form-cascader/index.d.ts +8 -2
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.d.ts +8 -2
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +8 -2
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +8 -2
- package/form-date-picker/index.mjs +1 -1
- package/form-image/index.d.ts +8 -2
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +8 -2
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +8 -2
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +8 -2
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +8 -2
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +8 -2
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +8 -2
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +8 -2
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +8 -2
- package/form-input-time/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +8 -2
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +8 -2
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +8 -2
- package/form-rate/index.mjs +1 -1
- package/form-select/index.d.ts +8 -2
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +8 -2
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +8 -2
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +43 -25
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +8 -8
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +8 -2
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +12 -12
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +8 -2
- package/form-time-select/index.mjs +1 -1
- package/helper/sub-table-plus.d.ts +38 -0
- package/helper/sub-table-plus.mjs +4 -0
- package/index.mjs +29 -29
- package/package.json +1 -1
- package/pageable-table/index.d.ts +11 -11
- package/pageable-table/index.mjs +1 -1
- package/sub-table/index.d.ts +36 -30
- package/sub-table/index.mjs +2 -537
- package/sub-table-plus/index.d.ts +11 -2
- package/sub-table-plus/index.mjs +1 -1
- package/table-column/index.d.ts +8 -5
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.d.ts +14 -12
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.d.ts +4 -0
- package/table-view/index.mjs +13 -5
- package/web-types.json +1 -1
- package/chunks/BsZgAJX_2.mjs +0 -81
- package/chunks/YFiU0ngn.mjs +0 -622
- package/chunks/gCeDFHo1.mjs +0 -32
- package/chunks/hlha6Bhc.mjs +0 -107
- package/chunks/wDS9KBFw.mjs +0 -67
package/table-view/index.d.ts
CHANGED
|
@@ -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;
|
package/table-view/index.mjs
CHANGED
|
@@ -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/
|
|
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/
|
|
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,
|
|
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
|
])])
|