@dazhicheng/ui 1.4.14 → 1.4.15
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/dist/components/tt-form-adapter/component/index.d.ts +1 -1
- package/dist/components/tt-form-adapter/component/index.d.ts.map +1 -1
- package/dist/components/tt-form-adapter/index.d.ts.map +1 -1
- package/dist/components/tt-icon/index.d.ts +6 -6
- package/dist/components/tt-icon/index.d.ts.map +1 -1
- package/dist/components/tt-icon/index.vue.d.ts +3 -3
- package/dist/components/tt-icon/index.vue.d.ts.map +1 -1
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +1 -1
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts.map +1 -1
- package/dist/components/tt-table/src/Table.vue.d.ts +7 -9
- package/dist/components/tt-table/src/Table.vue.d.ts.map +1 -1
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +27 -0
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1552 -7
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts.map +1 -1
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +0 -4
- package/dist/components/tt-table/src/hooks/useColumns.d.ts.map +1 -1
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +20 -0
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts.map +1 -1
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +2 -3
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts.map +1 -1
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +10 -1
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts.map +1 -1
- package/dist/components/tt-table/src/props.d.ts +1 -1
- package/dist/components/tt-table/src/toolProps.d.ts +0 -60
- package/dist/components/tt-table/src/toolProps.d.ts.map +1 -1
- package/dist/components/tt-table/src/types/table.d.ts +13 -8
- package/dist/components/tt-table/src/types/table.d.ts.map +1 -1
- package/dist/components/tt-table/src/types/tableTools.d.ts +1 -45
- package/dist/components/tt-table/src/types/tableTools.d.ts.map +1 -1
- package/dist/components/tt-table/src/utils/table-api.d.ts +1 -1
- package/dist/components/types.d.ts +9 -0
- package/dist/components/types.d.ts.map +1 -1
- package/dist/{css-CKklk3nV.js → css-BizbCFH3.js} +1 -0
- package/dist/css-DhJ-Bn4t.js +4 -0
- package/dist/{event-CRLYHSpv.js → event-DFRZD7LK.js} +1 -1
- package/dist/{icon-D7uEJbj1.js → icon-D7yoP9ir.js} +2 -2
- package/dist/{index-D0IHErAs.js → index-BKQp009w.js} +22 -16
- package/dist/{index-lcTqqAHV.js → index-BNG_AB7y.js} +8 -8
- package/dist/{index-LwQmtsvY.js → index-BhA_CsrH.js} +1 -1
- package/dist/index-BxInQxCV.js +2502 -0
- package/dist/{index-oWr7FvHH.js → index-By5cqZnL.js} +6 -6
- package/dist/{index-CPbbaIQc.js → index-ByEUv7a2.js} +20 -20
- package/dist/{index-BPAF_VnM.js → index-CGcdoMJn.js} +7 -7
- package/dist/{index-CluCT7Mm.js → index-CJS0mCv6.js} +1 -1
- package/dist/{index-BIBy0DdB.js → index-CrIIQxqW.js} +5 -5
- package/dist/{index-CBTogxcz.js → index-D3Ax_E0B.js} +1 -1
- package/dist/{index-BwUPEK34.js → index-D9W_gSi5.js} +2 -2
- package/dist/index-DEFw7uAt.js +3559 -0
- package/dist/{index-BD10znQT.js → index-Dfotp4tT.js} +5 -5
- package/dist/{index-BXG36tZ-.js → index-DpN6iVOJ.js} +6 -6
- package/dist/{index-Bod7doXW.js → index-V1pYlrHZ.js} +121 -121
- package/dist/{index-Ctbxly20.js → index-VEk4bikw.js} +5 -5
- package/dist/{index-YaBtguVL.js → index-WNukMwgV.js} +11761 -10474
- package/dist/index-YgAUM4hl.js +436 -0
- package/dist/{index-C-7vG864.js → index-jX-ESk9T.js} +2 -2
- package/dist/index.js +11 -11
- package/dist/panel-time-pick.vue2-CTavHx-6.js +1603 -0
- package/dist/style.css +1 -1
- package/dist/{use-form-common-props-D8bK4KUX.js → use-form-common-props-QWQdZzPI.js} +1 -1
- package/dist/{use-form-item-Bzpa4RlP.js → use-form-item-aIqGB1on.js} +2 -2
- package/dist/useProps-B1w2fNNy.js +215 -0
- package/dist/{util-DjnYC4OO.js → util-Boou02y4.js} +6 -6
- package/package.json +4 -3
- package/dist/components/tt-table/src/TableForm.vue.d.ts +0 -150
- package/dist/components/tt-table/src/TableForm.vue.d.ts.map +0 -1
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts +0 -12
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts.map +0 -1
- package/dist/index-Dz7KMhiX.js +0 -2700
- package/dist/panel-time-pick.vue2-D2Vh8Qtc.js +0 -2026
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as v, a as z, o as d,
|
|
1
|
+
import { g as v, a as z, o as d, r as b, N as O } from "./index-WNukMwgV.js";
|
|
2
2
|
import { isNil as _, fromPairs as h } from "lodash-es";
|
|
3
3
|
import { warn as I, getCurrentInstance as j, computed as c, inject as u, unref as m, ref as $ } from "vue";
|
|
4
4
|
const C = ["", "default", "small", "large"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unref as m, inject as c, getCurrentInstance as v, ref as s, computed as y, onMounted as h, watch as E, toRef as j, onUnmounted as b } from "vue";
|
|
2
2
|
import { isClient as L, computedEager as N } from "@vueuse/core";
|
|
3
|
-
import { u as _ } from "./index-
|
|
4
|
-
import { d as g, f as w, c as F } from "./use-form-common-props-
|
|
3
|
+
import { u as _ } from "./index-WNukMwgV.js";
|
|
4
|
+
import { d as g, f as w, c as F } from "./use-form-common-props-QWQdZzPI.js";
|
|
5
5
|
const d = {
|
|
6
6
|
prefix: Math.floor(Math.random() * 1e4),
|
|
7
7
|
current: 0
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { shallowRef as V, ref as w, computed as z, defineComponent as W, createElementBlock as v, createBlock as O, openBlock as b, normalizeStyle as E, normalizeClass as i, createElementVNode as h, createCommentVNode as T, unref as s, renderSlot as _, withModifiers as B, createVNode as f, withCtx as k, Transition as P, watch as D } from "vue";
|
|
2
|
+
import { useResizeObserver as L } from "@vueuse/core";
|
|
3
|
+
import { b as $, k as x, h as H, w as q } from "./use-form-common-props-QWQdZzPI.js";
|
|
4
|
+
import { E as M } from "./index-BKQp009w.js";
|
|
5
|
+
import { d as U, q as S } from "./index-WNukMwgV.js";
|
|
6
|
+
import { u as A } from "./index-BQfVaV7A.js";
|
|
7
|
+
import { isEqual as F, get as g } from "lodash-es";
|
|
8
|
+
const K = 11, se = 2;
|
|
9
|
+
function ne() {
|
|
10
|
+
const e = V(), a = w(0), n = z(() => ({
|
|
11
|
+
minWidth: `${Math.max(a.value, K)}px`
|
|
12
|
+
}));
|
|
13
|
+
return L(e, () => {
|
|
14
|
+
var r, c;
|
|
15
|
+
a.value = (c = (r = e.value) == null ? void 0 : r.getBoundingClientRect().width) != null ? c : 0;
|
|
16
|
+
}), {
|
|
17
|
+
calculatorRef: e,
|
|
18
|
+
calculatorWidth: a,
|
|
19
|
+
inputStyle: n
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const Z = $({
|
|
23
|
+
/**
|
|
24
|
+
* @description type of Tag
|
|
25
|
+
*/
|
|
26
|
+
type: {
|
|
27
|
+
type: String,
|
|
28
|
+
values: ["primary", "success", "info", "warning", "danger"],
|
|
29
|
+
default: "primary"
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* @description whether Tag can be removed
|
|
33
|
+
*/
|
|
34
|
+
closable: Boolean,
|
|
35
|
+
/**
|
|
36
|
+
* @description whether to disable animations
|
|
37
|
+
*/
|
|
38
|
+
disableTransitions: Boolean,
|
|
39
|
+
/**
|
|
40
|
+
* @description whether Tag has a highlighted border
|
|
41
|
+
*/
|
|
42
|
+
hit: Boolean,
|
|
43
|
+
/**
|
|
44
|
+
* @description background color of the Tag
|
|
45
|
+
*/
|
|
46
|
+
color: String,
|
|
47
|
+
/**
|
|
48
|
+
* @description size of Tag
|
|
49
|
+
*/
|
|
50
|
+
size: {
|
|
51
|
+
type: String,
|
|
52
|
+
values: x
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* @description theme of Tag
|
|
56
|
+
*/
|
|
57
|
+
effect: {
|
|
58
|
+
type: String,
|
|
59
|
+
values: ["dark", "light", "plain"],
|
|
60
|
+
default: "light"
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* @description whether Tag is rounded
|
|
64
|
+
*/
|
|
65
|
+
round: Boolean
|
|
66
|
+
}), j = {
|
|
67
|
+
close: (e) => e instanceof MouseEvent,
|
|
68
|
+
click: (e) => e instanceof MouseEvent
|
|
69
|
+
}, G = ["aria-label"], J = ["aria-label"];
|
|
70
|
+
var Q = /* @__PURE__ */ W({
|
|
71
|
+
name: "ElTag",
|
|
72
|
+
__name: "tag",
|
|
73
|
+
props: Z,
|
|
74
|
+
emits: j,
|
|
75
|
+
setup(e, { emit: a }) {
|
|
76
|
+
const n = e, d = a, r = H(), { t: c } = A(), o = U("tag"), t = z(() => {
|
|
77
|
+
const { type: l, hit: u, effect: m, closable: p, round: R } = n;
|
|
78
|
+
return [
|
|
79
|
+
o.b(),
|
|
80
|
+
o.is("closable", p),
|
|
81
|
+
o.m(l || "primary"),
|
|
82
|
+
o.m(r.value),
|
|
83
|
+
o.m(m),
|
|
84
|
+
o.is("hit", u),
|
|
85
|
+
o.is("round", R)
|
|
86
|
+
];
|
|
87
|
+
}), y = (l) => {
|
|
88
|
+
d("close", l);
|
|
89
|
+
}, C = (l) => {
|
|
90
|
+
d("click", l);
|
|
91
|
+
}, N = (l) => {
|
|
92
|
+
var u, m, p;
|
|
93
|
+
(p = (m = (u = l == null ? void 0 : l.component) == null ? void 0 : u.subTree) == null ? void 0 : m.component) != null && p.bum && (l.component.subTree.component.bum = null);
|
|
94
|
+
};
|
|
95
|
+
return (l, u) => e.disableTransitions ? (b(), v(
|
|
96
|
+
"span",
|
|
97
|
+
{
|
|
98
|
+
key: 0,
|
|
99
|
+
class: i(t.value),
|
|
100
|
+
style: E({ backgroundColor: e.color }),
|
|
101
|
+
onClick: C
|
|
102
|
+
},
|
|
103
|
+
[
|
|
104
|
+
h(
|
|
105
|
+
"span",
|
|
106
|
+
{
|
|
107
|
+
class: i(s(o).e("content"))
|
|
108
|
+
},
|
|
109
|
+
[
|
|
110
|
+
_(l.$slots, "default")
|
|
111
|
+
],
|
|
112
|
+
2
|
|
113
|
+
/* CLASS */
|
|
114
|
+
),
|
|
115
|
+
e.closable ? (b(), v("button", {
|
|
116
|
+
key: 0,
|
|
117
|
+
"aria-label": s(c)("el.tag.close"),
|
|
118
|
+
class: i(s(o).e("close")),
|
|
119
|
+
type: "button",
|
|
120
|
+
onClick: B(y, ["stop"])
|
|
121
|
+
}, [
|
|
122
|
+
f(s(M), null, {
|
|
123
|
+
default: k(() => [
|
|
124
|
+
f(s(S))
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
/* STABLE */
|
|
128
|
+
})
|
|
129
|
+
], 10, G)) : T("v-if", !0)
|
|
130
|
+
],
|
|
131
|
+
6
|
|
132
|
+
/* CLASS, STYLE */
|
|
133
|
+
)) : (b(), O(P, {
|
|
134
|
+
key: 1,
|
|
135
|
+
name: `${s(o).namespace.value}-zoom-in-center`,
|
|
136
|
+
appear: "",
|
|
137
|
+
onVnodeMounted: N
|
|
138
|
+
}, {
|
|
139
|
+
default: k(() => [
|
|
140
|
+
h(
|
|
141
|
+
"span",
|
|
142
|
+
{
|
|
143
|
+
class: i(t.value),
|
|
144
|
+
style: E({ backgroundColor: e.color }),
|
|
145
|
+
onClick: C
|
|
146
|
+
},
|
|
147
|
+
[
|
|
148
|
+
h(
|
|
149
|
+
"span",
|
|
150
|
+
{
|
|
151
|
+
class: i(s(o).e("content"))
|
|
152
|
+
},
|
|
153
|
+
[
|
|
154
|
+
_(l.$slots, "default")
|
|
155
|
+
],
|
|
156
|
+
2
|
|
157
|
+
/* CLASS */
|
|
158
|
+
),
|
|
159
|
+
e.closable ? (b(), v("button", {
|
|
160
|
+
key: 0,
|
|
161
|
+
"aria-label": s(c)("el.tag.close"),
|
|
162
|
+
class: i(s(o).e("close")),
|
|
163
|
+
type: "button",
|
|
164
|
+
onClick: B(y, ["stop"])
|
|
165
|
+
}, [
|
|
166
|
+
f(s(M), null, {
|
|
167
|
+
default: k(() => [
|
|
168
|
+
f(s(S))
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
/* STABLE */
|
|
172
|
+
})
|
|
173
|
+
], 10, J)) : T("v-if", !0)
|
|
174
|
+
],
|
|
175
|
+
6
|
|
176
|
+
/* CLASS, STYLE */
|
|
177
|
+
)
|
|
178
|
+
]),
|
|
179
|
+
_: 3
|
|
180
|
+
/* FORWARDED */
|
|
181
|
+
}, 8, ["name"]));
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
const ce = q(Q), I = {
|
|
185
|
+
label: "label",
|
|
186
|
+
value: "value",
|
|
187
|
+
disabled: "disabled",
|
|
188
|
+
options: "options"
|
|
189
|
+
};
|
|
190
|
+
function ie(e) {
|
|
191
|
+
const a = w({ ...I, ...e.props });
|
|
192
|
+
let n = { ...e.props };
|
|
193
|
+
return D(
|
|
194
|
+
() => e.props,
|
|
195
|
+
(t) => {
|
|
196
|
+
F(t, n) || (a.value = { ...I, ...t }, n = { ...t });
|
|
197
|
+
},
|
|
198
|
+
{ deep: !0 }
|
|
199
|
+
), {
|
|
200
|
+
aliasProps: a,
|
|
201
|
+
getLabel: (t) => g(t, a.value.label),
|
|
202
|
+
getValue: (t) => g(t, a.value.value),
|
|
203
|
+
getDisabled: (t) => g(t, a.value.disabled),
|
|
204
|
+
getOptions: (t) => g(t, a.value.options)
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
export {
|
|
208
|
+
se as B,
|
|
209
|
+
ce as E,
|
|
210
|
+
K as M,
|
|
211
|
+
ne as a,
|
|
212
|
+
I as d,
|
|
213
|
+
Z as t,
|
|
214
|
+
ie as u
|
|
215
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getCurrentInstance as Ye, computed as x, watch as H, onMounted as me, unref as v, shallowRef as _n, ref as B, onBeforeUnmount as _, onBeforeMount as Gn, provide as Ee, inject as Y, defineComponent as te, renderSlot as X, createElementBlock as _e, openBlock as Z, normalizeStyle as Jn, normalizeClass as dn, withDirectives as pn, cloneVNode as Qn, Comment as Ht, Fragment as Xn, Text as eo, createVNode as ke, createBlock as pe, createCommentVNode as Ge, mergeProps as dt, withCtx as re, nextTick as it, toRef as Se, Teleport as to, Transition as no, vShow as oo, readonly as ro, onDeactivated as ao, toDisplayString as so } from "vue";
|
|
2
2
|
import { fromPairs as Vt, isEqual as io, isNil as pt, isUndefined as uo } from "lodash-es";
|
|
3
|
-
import { q as vn, a as L, l as mn, b as G, e as Je, d as Qe, i as be, c as $t, w as vt } from "./use-form-common-props-
|
|
4
|
-
import { i as fe, u as lo, a as Me, d as Ce, N as ut, o as co, g as fo } from "./index-
|
|
5
|
-
import { u as gn } from "./index-
|
|
3
|
+
import { q as vn, a as L, l as mn, b as G, e as Je, d as Qe, i as be, c as $t, w as vt } from "./use-form-common-props-QWQdZzPI.js";
|
|
4
|
+
import { i as fe, u as lo, a as Me, d as Ce, N as ut, o as co, g as fo } from "./index-WNukMwgV.js";
|
|
5
|
+
import { u as gn } from "./index-D3Ax_E0B.js";
|
|
6
6
|
import { isClient as ie, tryOnScopeDispose as po, unrefElement as yn, computedEager as vo, onClickOutside as mo } from "@vueuse/core";
|
|
7
|
-
import { g as mt, E as Ie, c as oe } from "./event-
|
|
8
|
-
import { c as Ut, f as gt } from "./index-
|
|
9
|
-
import { c as go, b as yo } from "./use-form-item-
|
|
7
|
+
import { g as mt, E as Ie, c as oe } from "./event-DFRZD7LK.js";
|
|
8
|
+
import { c as Ut, f as gt } from "./index-jX-ESk9T.js";
|
|
9
|
+
import { c as go, b as yo } from "./use-form-item-aIqGB1on.js";
|
|
10
10
|
const ho = vn({
|
|
11
11
|
type: L(Boolean),
|
|
12
12
|
default: null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dazhicheng/ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@element-plus/icons-vue": "^2.3.2",
|
|
29
|
+
"@iconify/vue": "^5.0.0",
|
|
29
30
|
"@standard-schema/spec": "1.0.0",
|
|
30
31
|
"@standard-schema/utils": "0.3.0",
|
|
31
32
|
"@tanstack/vue-store": "^0.8.0",
|
|
@@ -42,8 +43,8 @@
|
|
|
42
43
|
"vxe-table": "^4.17.48",
|
|
43
44
|
"xe-utils": "^4.0.0",
|
|
44
45
|
"zod": "^4.3.6",
|
|
45
|
-
"@dazhicheng/
|
|
46
|
-
"@dazhicheng/
|
|
46
|
+
"@dazhicheng/utils": "1.3.6",
|
|
47
|
+
"@dazhicheng/hooks": "1.4.6"
|
|
47
48
|
},
|
|
48
49
|
"files": [
|
|
49
50
|
"dist"
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { TtTableProps } from './types/table';
|
|
2
|
-
import { TtTableExtendedTableFormApi, TtTableFormProps } from './types/tableForm';
|
|
3
|
-
import { Recordable } from '../../../../../utils/src';
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
|
-
slots: Readonly<{
|
|
7
|
-
[key: string]: (props: Recordable) => void;
|
|
8
|
-
/** form下方的插槽 */
|
|
9
|
-
"header-down": (props: Recordable) => void;
|
|
10
|
-
/** table左侧插槽 */
|
|
11
|
-
"table-left": (props: Recordable) => void;
|
|
12
|
-
/** table右侧插槽 */
|
|
13
|
-
"table-right": (props: Recordable) => void;
|
|
14
|
-
/** 表格上方的插槽 */
|
|
15
|
-
"table-top": (props: Recordable) => void;
|
|
16
|
-
/** 表格下方的插槽 */
|
|
17
|
-
"table-bottom": (props: Recordable) => void;
|
|
18
|
-
default: (props: Recordable) => void;
|
|
19
|
-
/** 工具栏左侧插槽 */
|
|
20
|
-
"t-toolbar_tools-left": (props: Recordable) => void;
|
|
21
|
-
/** 工具栏右侧插槽 */
|
|
22
|
-
"t-toolbar_tools-right": (props: Recordable) => void;
|
|
23
|
-
/** 操作 */
|
|
24
|
-
"t-toolbar_tools": (props: Recordable) => void;
|
|
25
|
-
}> & {
|
|
26
|
-
[key: string]: (props: Recordable) => void;
|
|
27
|
-
/** form下方的插槽 */
|
|
28
|
-
"header-down": (props: Recordable) => void;
|
|
29
|
-
/** table左侧插槽 */
|
|
30
|
-
"table-left": (props: Recordable) => void;
|
|
31
|
-
/** table右侧插槽 */
|
|
32
|
-
"table-right": (props: Recordable) => void;
|
|
33
|
-
/** 表格上方的插槽 */
|
|
34
|
-
"table-top": (props: Recordable) => void;
|
|
35
|
-
/** 表格下方的插槽 */
|
|
36
|
-
"table-bottom": (props: Recordable) => void;
|
|
37
|
-
default: (props: Recordable) => void;
|
|
38
|
-
/** 工具栏左侧插槽 */
|
|
39
|
-
"t-toolbar_tools-left": (props: Recordable) => void;
|
|
40
|
-
/** 工具栏右侧插槽 */
|
|
41
|
-
"t-toolbar_tools-right": (props: Recordable) => void;
|
|
42
|
-
/** 操作 */
|
|
43
|
-
"t-toolbar_tools": (props: Recordable) => void;
|
|
44
|
-
};
|
|
45
|
-
refs: {};
|
|
46
|
-
rootEl: HTMLDivElement;
|
|
47
|
-
};
|
|
48
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
49
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
50
|
-
tableData: {
|
|
51
|
-
type: import('vue').PropType<globalThis.Recordable[]>;
|
|
52
|
-
default: () => never[];
|
|
53
|
-
};
|
|
54
|
-
table: {
|
|
55
|
-
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
56
|
-
default: {};
|
|
57
|
-
};
|
|
58
|
-
useSearchForm: any;
|
|
59
|
-
form: {
|
|
60
|
-
type: import('vue').PropType<Partial<import('vben-core-form-ui').VbenFormProps>>;
|
|
61
|
-
default: () => {};
|
|
62
|
-
};
|
|
63
|
-
handleSearchInfoFn: {
|
|
64
|
-
type: import('vue').PropType<Fn>;
|
|
65
|
-
default: null;
|
|
66
|
-
};
|
|
67
|
-
tableRefreshBefore: {
|
|
68
|
-
type: import('vue').PropType<Fn>;
|
|
69
|
-
default: null;
|
|
70
|
-
};
|
|
71
|
-
toolConfig: {
|
|
72
|
-
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
73
|
-
default: null;
|
|
74
|
-
};
|
|
75
|
-
tableRowId: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: () => string | undefined;
|
|
78
|
-
};
|
|
79
|
-
testId: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: undefined;
|
|
82
|
-
};
|
|
83
|
-
tableFormApi: {
|
|
84
|
-
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
85
|
-
};
|
|
86
|
-
}>, {
|
|
87
|
-
instance: import('vue').ComponentInternalInstance | null;
|
|
88
|
-
setTableProps: (props: Partial<TtTableProps>) => void;
|
|
89
|
-
setFormProps: import('vben-core-form-ui').ExtendedFormApi["setState"];
|
|
90
|
-
tableMethods: import('../../../index').TtTableMethods;
|
|
91
|
-
formMethods: import('../../../index').TtTableRenderFormInstance;
|
|
92
|
-
setProps: (props: Partial<TtTableFormProps>) => void;
|
|
93
|
-
reload: import('../../../index').TtTableMethods["reload"];
|
|
94
|
-
selectedKeys: import('vue').MaybeRef<import('../../../index').TtSelectRowKeysType>;
|
|
95
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
-
tableData: {
|
|
97
|
-
type: import('vue').PropType<globalThis.Recordable[]>;
|
|
98
|
-
default: () => never[];
|
|
99
|
-
};
|
|
100
|
-
table: {
|
|
101
|
-
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
102
|
-
default: {};
|
|
103
|
-
};
|
|
104
|
-
useSearchForm: any;
|
|
105
|
-
form: {
|
|
106
|
-
type: import('vue').PropType<Partial<import('vben-core-form-ui').VbenFormProps>>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
|
-
handleSearchInfoFn: {
|
|
110
|
-
type: import('vue').PropType<Fn>;
|
|
111
|
-
default: null;
|
|
112
|
-
};
|
|
113
|
-
tableRefreshBefore: {
|
|
114
|
-
type: import('vue').PropType<Fn>;
|
|
115
|
-
default: null;
|
|
116
|
-
};
|
|
117
|
-
toolConfig: {
|
|
118
|
-
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
119
|
-
default: null;
|
|
120
|
-
};
|
|
121
|
-
tableRowId: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: () => string | undefined;
|
|
124
|
-
};
|
|
125
|
-
testId: {
|
|
126
|
-
type: StringConstructor;
|
|
127
|
-
default: undefined;
|
|
128
|
-
};
|
|
129
|
-
tableFormApi: {
|
|
130
|
-
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
131
|
-
};
|
|
132
|
-
}>> & Readonly<{}>, {
|
|
133
|
-
form: Partial<import('vben-core-form-ui').VbenFormProps<import('vben-core-form-ui').BaseFormComponentType>>;
|
|
134
|
-
table: Partial<TtTableProps>;
|
|
135
|
-
tableRowId: string;
|
|
136
|
-
useSearchForm: any;
|
|
137
|
-
testId: string;
|
|
138
|
-
tableData: globalThis.Recordable<any>[];
|
|
139
|
-
handleSearchInfoFn: Fn<any, any>;
|
|
140
|
-
toolConfig: import('../../../index').TtTableToolsProps;
|
|
141
|
-
tableRefreshBefore: Fn<any, any>;
|
|
142
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
143
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
144
|
-
export default _default;
|
|
145
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
146
|
-
new (): {
|
|
147
|
-
$slots: S;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
//# sourceMappingURL=TableForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tt-table/src/TableForm.vue"],"names":[],"mappings":"AAmZA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,2BAA2B,EAAyB,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAM9G,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA0V/C,iBAAS,cAAc;WA6HT,OAAO,IAA6B;;+BAjazB,UAAU,KAAK,IAAI;QAjB1C,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,gBAAgB;sBACF,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACzC,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,cAAc;qBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACxC,cAAc;wBACE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;iBAClC,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpC,cAAc;gCACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACnD,cAAc;iCACW,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpD,SAAS;2BACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;+BACvB,UAAU,KAAK,IAAI;QAjB1C,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,gBAAgB;sBACF,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACzC,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,cAAc;qBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACxC,cAAc;wBACE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;iBAClC,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpC,cAAc;gCACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACnD,cAAc;iCACW,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpD,SAAS;2BACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;EAua/C;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { TtTableProps } from '../types/table';
|
|
3
|
-
import { TtTableExtendedTableFormApi } from '../types/tableForm';
|
|
4
|
-
export declare function useFullscreen({ el, propsRef, tableFormApi, }: {
|
|
5
|
-
el: Ref<HTMLElement>;
|
|
6
|
-
propsRef: Ref<TtTableProps>;
|
|
7
|
-
tableFormApi: TtTableExtendedTableFormApi;
|
|
8
|
-
}): {
|
|
9
|
-
isFullscreen: import('vue').ShallowRef<boolean, boolean>;
|
|
10
|
-
toggleFullScreen: (bool?: boolean) => void;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useFullscreen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/tt-table/src/hooks/useFullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGtE,wBAAgB,aAAa,CAAC,EAC5B,EAAE,EACF,QAAQ,EACR,YAAY,GACb,EAAE;IACD,EAAE,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;IAC5B,YAAY,EAAE,2BAA2B,CAAC;CAC3C;;8BAekC,OAAO;EA+EzC"}
|