@web-utils/form-ui 1.0.0-beta27 → 1.0.0-beta29
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/{CE2akkTQ.mjs → B99alfW4.mjs} +2 -2
- package/chunks/BQ77eAb3.mjs +71 -0
- package/chunks/BV_N8p9t.mjs +83 -0
- package/chunks/BV_P9a8o.mjs +100 -0
- package/chunks/Bd1O2CP5.mjs +637 -0
- package/chunks/{DzMQIy5h.mjs → BgDYHgyH.mjs} +1 -1
- package/chunks/{BJP-5-0v.mjs → BmZieBZW.mjs} +2 -2
- package/chunks/{ADvOhGAW.mjs → Br4i8stg.mjs} +1 -1
- package/chunks/{ltggbLWM.mjs → C3a15Ful.mjs} +2 -2
- package/chunks/{BAE_vglg.mjs → C4bM8miy.mjs} +2 -2
- package/chunks/{D-ffcm89.mjs → Cby3mvvZ.mjs} +2 -2
- package/chunks/{tRXOz6_G.mjs → Cc3EJjbV.mjs} +2 -2
- package/chunks/{lVzx0-GH.mjs → Cgl-hCE5.mjs} +2 -2
- package/chunks/{DJTwM7o_.mjs → Ci1XxmdE.mjs} +3 -3
- package/chunks/{mjEH6tHn.mjs → CsfgUCe9.mjs} +1 -1
- package/chunks/{o5196FMX.mjs → CugRu2Ka.mjs} +3 -3
- package/chunks/{DlFC9IZx.mjs → Cy-4nmyC.mjs} +2 -2
- package/chunks/{qRpPD8iK.mjs → D1EOkWJ7.mjs} +2 -2
- package/chunks/{DGYsSu6t.mjs → DO8dVGef.mjs} +2 -2
- package/chunks/{BhmGnR4F.mjs → DazglPJZ.mjs} +1 -1
- package/chunks/{CCc9Zjms.mjs → Dt6gY213.mjs} +2 -2
- package/chunks/{3QpBKdDM.mjs → DtAYXPvz.mjs} +2 -2
- package/chunks/{Cme51jl3.mjs → JhyiXnbd.mjs} +2 -2
- package/chunks/{CotIhBXj.mjs → S64sNmuR.mjs} +2 -2
- package/chunks/{Dn79Y_Rb.mjs → bnRb5PUB.mjs} +2 -2
- package/chunks/{CnP5qx9A.mjs → q1SlJP1y.mjs} +2 -2
- package/dict-render/index.d.ts +28 -0
- package/element-dialog/index.d.ts +6 -6
- package/element-dialog/index.mjs +1 -1
- package/form-cascader/index.d.ts +2 -2
- package/form-cascader/index.mjs +1 -1
- package/form-check-box-group/index.d.ts +1 -1
- package/form-check-box-group/index.mjs +1 -1
- package/form-checkbox/index.d.ts +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +2 -2
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-item-x/index.d.ts +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-select/index.d.ts +2 -2
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +2 -2
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +1 -1
- package/form-text/index.mjs +1 -1
- package/helper/dictionary.mjs +7 -7
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.mjs +1 -1
- package/index.d.ts +5 -1
- package/index.mjs +32 -28
- package/package.json +2 -1
- package/pageable-table/index.d.ts +436 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resize-observer/index.d.ts +8 -0
- package/resize-observer/index.mjs +40 -0
- package/resize-observer/style.css +1 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +85 -0
- package/table-column-def/index.mjs +11 -0
- package/table-column-filter/index.d.ts +11 -0
- package/table-column-filterable/index.d.ts +10 -0
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/web-types.json +1 -1
- package/year-calendar/index.mjs +1 -1
- package/chunks/BVLgLg_s.mjs +0 -53
- /package/chunks/{DS8NSFKr.mjs → 4ZuVpQf6.mjs} +0 -0
- /package/chunks/{Bgny2wyC.mjs → dM-icPM8.mjs} +0 -0
package/form-text/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CugRu2Ka.mjs";
|
|
2
2
|
export { e as default };
|
package/helper/dictionary.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, o as t } from "../chunks/BQ77eAb3.mjs";
|
|
2
2
|
import { getDictTreeByType as n, remote as r } from "../api/index.mjs";
|
|
3
3
|
//#region src/helper/dictionary.ts
|
|
4
4
|
var i = {}, a = {}, o = {}, s = () => {
|
|
@@ -48,27 +48,27 @@ var i = {}, a = {}, o = {}, s = () => {
|
|
|
48
48
|
labelAsValue: l
|
|
49
49
|
})) == null || p.then((n) => {
|
|
50
50
|
let r = n.data.data;
|
|
51
|
-
s && (i[u] = r, i[`${u}-options`] =
|
|
51
|
+
s && (i[u] = r, i[`${u}-options`] = t(r), a[u] = e(r)), o[u] = null, d(r);
|
|
52
52
|
}).catch((e) => {
|
|
53
53
|
o[u] = null, f(e);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
return o[u] = d, d;
|
|
58
|
-
}, d = async (
|
|
59
|
-
let l =
|
|
60
|
-
i && (l = `${
|
|
58
|
+
}, d = async (e, n, r = !0, { treeDict: i, idAsValue: o, labelAsValue: s } = {}) => {
|
|
59
|
+
let l = e;
|
|
60
|
+
i && (l = `${e}-${o}-${s}`);
|
|
61
61
|
let u = a[l], d;
|
|
62
62
|
if (r && u) d = u[n];
|
|
63
63
|
else {
|
|
64
|
-
let u = await c(
|
|
64
|
+
let u = await c(e, r, {
|
|
65
65
|
treeDict: i,
|
|
66
66
|
idAsValue: o,
|
|
67
67
|
labelAsValue: s
|
|
68
68
|
});
|
|
69
69
|
if (r) d = a[l][n];
|
|
70
70
|
else {
|
|
71
|
-
if (i && (u =
|
|
71
|
+
if (i && (u = t(u)), !u) return d;
|
|
72
72
|
for (let e = 0; e < u.length; e++) {
|
|
73
73
|
let t = u[e];
|
|
74
74
|
if (t.value === n) {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { onBeforeMount as e, onBeforeUnmount as t } from "vue";
|
|
2
|
+
//#region src/hook/useVisibilityChange.ts
|
|
3
|
+
var n = ({ onPageHidden: n, onPageVisible: r } = {}) => {
|
|
4
|
+
let i = () => {
|
|
5
|
+
document.hidden ? n == null || n() : r == null || r();
|
|
6
|
+
};
|
|
7
|
+
e(() => {
|
|
8
|
+
document.addEventListener("visibilitychange", i);
|
|
9
|
+
}), t(() => {
|
|
10
|
+
document.removeEventListener("visibilitychange", i);
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as useVisibilityChange };
|
package/iframe-window/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DazglPJZ.mjs";
|
|
2
2
|
import { createBlock as t, createElementVNode as n, mergeModels as r, mergeProps as i, openBlock as a, useModel as o, withCtx as s } from "vue";
|
|
3
3
|
//#region src/components/iframe-window/IframeWindow.vue
|
|
4
4
|
var c = ["src"], l = /* @__PURE__ */ Object.assign({ name: "IframeWindow" }, {
|
package/index.d.ts
CHANGED
|
@@ -35,13 +35,17 @@ import { default as FormSwitch } from './form-switch/index.js';
|
|
|
35
35
|
import { default as FormText } from './form-text/index.js';
|
|
36
36
|
import { default as FormView } from './form-view/index.js';
|
|
37
37
|
import { default as IframeWindow } from './iframe-window/index.js';
|
|
38
|
+
import { default as PageableTable } from './pageable-table/index.js';
|
|
39
|
+
import { default as ResizeObserver } from './resize-observer/index.js';
|
|
40
|
+
import { default as TableColumn } from './table-column/index.js';
|
|
41
|
+
import { default as TableColumnDef } from './table-column-def/index.js';
|
|
38
42
|
import { default as TableView } from './table-view/index.js';
|
|
39
43
|
import { default as Toolbar } from './toolbar/index.js';
|
|
40
44
|
import { default as ToolbarButton } from './toolbar-button/index.js';
|
|
41
45
|
import { default as VueCron } from './vue-cron/index.js';
|
|
42
46
|
import { default as XInputTag } from './x-input-tag/index.js';
|
|
43
47
|
import { default as YearCalendar } from './year-calendar/index.js';
|
|
44
|
-
export { AwesomeButton, Confirmable, ConfirmButton, ElementDialog, EmptyView, FlexScrollArea, FormAdvice, FormButton, FormCascader, FormCell, FormCheckbox, FormCheckBoxGroup, FormDatePicker, FormHolder, FormImage, FormInput, FormInputCronExpression, FormInputEmail, FormInputIdCard, FormInputNumber, FormInputPhoneNumber, FormInputTag, FormInputTime, FormItemConfigProvider, FormItemGroup, FormItemX, FormRadioGroup, FormRate, FormRedTable, FormRow, FormSelect, FormSlider, FormSwitch, FormText, FormView, IframeWindow, TableView, Toolbar, ToolbarButton, VueCron, XInputTag, YearCalendar };
|
|
48
|
+
export { AwesomeButton, Confirmable, ConfirmButton, ElementDialog, EmptyView, FlexScrollArea, FormAdvice, FormButton, FormCascader, FormCell, FormCheckbox, FormCheckBoxGroup, FormDatePicker, FormHolder, FormImage, FormInput, FormInputCronExpression, FormInputEmail, FormInputIdCard, FormInputNumber, FormInputPhoneNumber, FormInputTag, FormInputTime, FormItemConfigProvider, FormItemGroup, FormItemX, FormRadioGroup, FormRate, FormRedTable, FormRow, FormSelect, FormSlider, FormSwitch, FormText, FormView, IframeWindow, PageableTable, ResizeObserver, TableColumn, TableColumnDef, TableView, Toolbar, ToolbarButton, VueCron, XInputTag, YearCalendar };
|
|
45
49
|
export declare const componentNames: string[];
|
|
46
50
|
export declare const noStylesComponents: string[];
|
|
47
51
|
export declare const install: (app: App) => void;
|
package/index.mjs
CHANGED
|
@@ -1,48 +1,52 @@
|
|
|
1
1
|
import e from "./awesome-button/index.mjs";
|
|
2
2
|
import t from "./confirmable/index.mjs";
|
|
3
3
|
import n from "./confirm-button/index.mjs";
|
|
4
|
-
import { t as r } from "./chunks/
|
|
4
|
+
import { t as r } from "./chunks/DazglPJZ.mjs";
|
|
5
5
|
import i from "./empty-view/index.mjs";
|
|
6
6
|
import a from "./flex-scroll-area/index.mjs";
|
|
7
7
|
import o from "./form-advice/index.mjs";
|
|
8
8
|
import s from "./form-button/index.mjs";
|
|
9
|
-
import { a as c } from "./chunks/
|
|
10
|
-
import { t as l } from "./chunks/
|
|
9
|
+
import { a as c } from "./chunks/Br4i8stg.mjs";
|
|
10
|
+
import { t as l } from "./chunks/Cby3mvvZ.mjs";
|
|
11
11
|
import u from "./form-cell/index.mjs";
|
|
12
|
-
import { t as d } from "./chunks/
|
|
13
|
-
import { t as f } from "./chunks/
|
|
14
|
-
import { t as p } from "./chunks/
|
|
12
|
+
import { t as d } from "./chunks/JhyiXnbd.mjs";
|
|
13
|
+
import { t as f } from "./chunks/DtAYXPvz.mjs";
|
|
14
|
+
import { t as p } from "./chunks/q1SlJP1y.mjs";
|
|
15
15
|
import m from "./form-red-table/index.mjs";
|
|
16
|
-
import { t as h } from "./chunks/
|
|
17
|
-
import { t as g } from "./chunks/
|
|
18
|
-
import { t as _ } from "./chunks/
|
|
16
|
+
import { t as h } from "./chunks/BgDYHgyH.mjs";
|
|
17
|
+
import { t as g } from "./chunks/Ci1XxmdE.mjs";
|
|
18
|
+
import { t as _ } from "./chunks/C4bM8miy.mjs";
|
|
19
19
|
import { t as v } from "./chunks/D1G2MMMx.mjs";
|
|
20
|
-
import { t as y } from "./chunks/
|
|
21
|
-
import { t as b } from "./chunks/
|
|
22
|
-
import { t as x } from "./chunks/
|
|
23
|
-
import { t as S } from "./chunks/
|
|
24
|
-
import { t as C } from "./chunks/
|
|
20
|
+
import { t as y } from "./chunks/Dt6gY213.mjs";
|
|
21
|
+
import { t as b } from "./chunks/Cc3EJjbV.mjs";
|
|
22
|
+
import { t as x } from "./chunks/Cgl-hCE5.mjs";
|
|
23
|
+
import { t as S } from "./chunks/bnRb5PUB.mjs";
|
|
24
|
+
import { t as C } from "./chunks/D1EOkWJ7.mjs";
|
|
25
25
|
import w from "./form-input-tag/index.mjs";
|
|
26
26
|
import T from "./form-input-time/index.mjs";
|
|
27
27
|
import E from "./form-item-config-provider/index.mjs";
|
|
28
28
|
import { t as D } from "./chunks/pxFLMMUm.mjs";
|
|
29
|
-
import { t as O } from "./chunks/
|
|
30
|
-
import { t as k } from "./chunks/
|
|
29
|
+
import { t as O } from "./chunks/DO8dVGef.mjs";
|
|
30
|
+
import { t as k } from "./chunks/BmZieBZW.mjs";
|
|
31
31
|
import { t as A } from "./chunks/C9J3j0PX.mjs";
|
|
32
|
-
import { t as j } from "./chunks/
|
|
33
|
-
import { t as M } from "./chunks/
|
|
34
|
-
import { t as N } from "./chunks/
|
|
35
|
-
import { t as P } from "./chunks/
|
|
32
|
+
import { t as j } from "./chunks/S64sNmuR.mjs";
|
|
33
|
+
import { t as M } from "./chunks/C3a15Ful.mjs";
|
|
34
|
+
import { t as N } from "./chunks/Cy-4nmyC.mjs";
|
|
35
|
+
import { t as P } from "./chunks/CugRu2Ka.mjs";
|
|
36
36
|
import F from "./form-view/index.mjs";
|
|
37
37
|
import I from "./iframe-window/index.mjs";
|
|
38
|
-
import L from "./
|
|
39
|
-
import { t as R } from "./chunks/
|
|
40
|
-
import { t as z } from "./chunks/
|
|
41
|
-
import B from "./
|
|
42
|
-
import
|
|
38
|
+
import L from "./resize-observer/index.mjs";
|
|
39
|
+
import { t as R } from "./chunks/Bd1O2CP5.mjs";
|
|
40
|
+
import { t as z } from "./chunks/BV_P9a8o.mjs";
|
|
41
|
+
import B from "./table-column-def/index.mjs";
|
|
42
|
+
import V from "./table-view/index.mjs";
|
|
43
|
+
import { t as H } from "./chunks/dM-icPM8.mjs";
|
|
44
|
+
import { t as U } from "./chunks/B99alfW4.mjs";
|
|
45
|
+
import W from "./x-input-tag/index.mjs";
|
|
46
|
+
import { t as G } from "./chunks/4ZuVpQf6.mjs";
|
|
43
47
|
//#region src/components/index.ts
|
|
44
|
-
var
|
|
45
|
-
|
|
48
|
+
var K = /* @__PURE__ */ "AwesomeButton.Confirmable.ConfirmButton.ElementDialog.EmptyView.FlexScrollArea.FormAdvice.FormButton.FormCascader.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormHolder.FormImage.FormInput.FormInputCronExpression.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemConfigProvider.FormItemGroup.FormItemX.FormRadioGroup.FormRate.FormRedTable.FormRow.FormSelect.FormSlider.FormSwitch.FormText.FormView.IframeWindow.PageableTable.ResizeObserver.TableColumn.TableColumnDef.TableView.Toolbar.ToolbarButton.VueCron.XInputTag.YearCalendar".split("."), q = /* @__PURE__ */ "AwesomeButton.Confirmable.ConfirmButton.FlexScrollArea.FormAdvice.FormButton.FormCascader.FormCell.FormCheckbox.FormCheckBoxGroup.FormDatePicker.FormImage.FormInputEmail.FormInputIdCard.FormInputNumber.FormInputPhoneNumber.FormInputTag.FormInputTime.FormItemConfigProvider.FormRadioGroup.FormRate.FormSelect.FormSlider.FormSwitch.FormText.FormView.TableColumnDef.TableView.ToolbarButton".split("."), J = (K) => {
|
|
49
|
+
K.component(e.name, e), K.component(t.name, t), K.component(n.name, n), K.component(r.name, r), K.component(i.name, i), K.component(a.name, a), K.component(o.name, o), K.component(s.name, s), K.component(l.name, l), K.component(u.name, u), K.component(d.name, d), K.component(f.name, f), K.component(p.name, p), K.component(h.name, h), K.component(g.name, g), K.component(_.name, _), K.component(y.name, y), K.component(b.name, b), K.component(x.name, x), K.component(S.name, S), K.component(C.name, C), K.component(w.name, w), K.component(T.name, T), K.component(E.name, E), K.component(D.name, D), K.component(c.name, c), K.component(O.name, O), K.component(k.name, k), K.component(m.name, m), K.component(A.name, A), K.component(j.name, j), K.component(M.name, M), K.component(N.name, N), K.component(P.name, P), K.component(F.name, F), K.component(I.name, I), K.component(R.name, R), K.component(L.name, L), K.component(z.name, z), K.component(B.name, B), K.component(V.name, V), K.component(U.name, U), K.component(H.name, H), K.component(v.name, v), K.component(W.name, W), K.component(G.name, G);
|
|
46
50
|
};
|
|
47
51
|
//#endregion
|
|
48
|
-
export { e as AwesomeButton, n as ConfirmButton, t as Confirmable, r as ElementDialog, i as EmptyView, a as FlexScrollArea, o as FormAdvice, s as FormButton, l as FormCascader, u as FormCell, f as FormCheckBoxGroup, d as FormCheckbox, p as FormDatePicker, h as FormHolder, g as FormImage, _ as FormInput, y as FormInputCronExpression, b as FormInputEmail, x as FormInputIdCard, S as FormInputNumber, C as FormInputPhoneNumber, w as FormInputTag, T as FormInputTime, E as FormItemConfigProvider, D as FormItemGroup, c as FormItemX, O as FormRadioGroup, k as FormRate, m as FormRedTable, A as FormRow, j as FormSelect, M as FormSlider, N as FormSwitch, P as FormText, F as FormView, I as IframeWindow, L as
|
|
52
|
+
export { e as AwesomeButton, n as ConfirmButton, t as Confirmable, r as ElementDialog, i as EmptyView, a as FlexScrollArea, o as FormAdvice, s as FormButton, l as FormCascader, u as FormCell, f as FormCheckBoxGroup, d as FormCheckbox, p as FormDatePicker, h as FormHolder, g as FormImage, _ as FormInput, y as FormInputCronExpression, b as FormInputEmail, x as FormInputIdCard, S as FormInputNumber, C as FormInputPhoneNumber, w as FormInputTag, T as FormInputTime, E as FormItemConfigProvider, D as FormItemGroup, c as FormItemX, O as FormRadioGroup, k as FormRate, m as FormRedTable, A as FormRow, j as FormSelect, M as FormSlider, N as FormSwitch, P as FormText, F as FormView, I as IframeWindow, R as PageableTable, L as ResizeObserver, z as TableColumn, B as TableColumnDef, V as TableView, U as Toolbar, H as ToolbarButton, v as VueCron, W as XInputTag, G as YearCalendar, K as componentNames, J as install, q as noStylesComponents };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-utils/form-ui",
|
|
3
3
|
"description": "form-ui",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta29",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@web-utils/core": "^6.0.0-beta05",
|
|
29
29
|
"@web-utils/integrations": "6.0.0-beta05",
|
|
30
|
+
"@web-utils/vue": "6.0.0-beta06",
|
|
30
31
|
"cronosjs": "^1.7.1",
|
|
31
32
|
"dayjs": "^1.11.20",
|
|
32
33
|
"element-plus": "^2.13.7",
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
7
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
stripe: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
border: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
size: StringConstructor;
|
|
17
|
+
fit: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
showHeader: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
highlightCurrentRow: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
31
|
+
rowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
32
|
+
cellClassName: (StringConstructor | FunctionConstructor)[];
|
|
33
|
+
cellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
34
|
+
headerRowClassName: (StringConstructor | FunctionConstructor)[];
|
|
35
|
+
headerRowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
36
|
+
headerCellClassName: (StringConstructor | FunctionConstructor)[];
|
|
37
|
+
headerCellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
38
|
+
rowKey: {
|
|
39
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
emptyText: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
defaultExpandAll: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
expandRowKeys: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
defaultSort: ObjectConstructor;
|
|
55
|
+
tooltipEffect: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
tooltipOptions: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => {};
|
|
62
|
+
};
|
|
63
|
+
appendFilterPanelTo: StringConstructor;
|
|
64
|
+
showSummary: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
sumText: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
summaryMethod: FunctionConstructor;
|
|
73
|
+
spanMethod: FunctionConstructor;
|
|
74
|
+
selectOnIndeterminate: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
indent: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
lazy: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
load: FunctionConstructor;
|
|
87
|
+
treeProps: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
default: () => {};
|
|
90
|
+
};
|
|
91
|
+
tableLayout: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
scrollbarAlwaysOn: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
showOverflowTooltip: (BooleanConstructor | ObjectConstructor)[];
|
|
100
|
+
flexible: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
scrollbarTabindex: (StringConstructor | NumberConstructor)[];
|
|
105
|
+
allowDragLastColumn: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
tooltipFormatter: FunctionConstructor;
|
|
110
|
+
preserveExpandedContent: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
nativeScrollbar: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
rowExpandable: FunctionConstructor;
|
|
119
|
+
selectionWidth: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
viewId: StringConstructor;
|
|
124
|
+
url: StringConstructor;
|
|
125
|
+
hideOnSinglePage: BooleanConstructor;
|
|
126
|
+
api: FunctionConstructor;
|
|
127
|
+
model: ObjectConstructor;
|
|
128
|
+
ascs: {
|
|
129
|
+
type: ArrayConstructor;
|
|
130
|
+
default: () => never[];
|
|
131
|
+
};
|
|
132
|
+
descs: {
|
|
133
|
+
type: ArrayConstructor;
|
|
134
|
+
default: () => never[];
|
|
135
|
+
};
|
|
136
|
+
headerBold: BooleanConstructor;
|
|
137
|
+
autoHeight: BooleanConstructor;
|
|
138
|
+
immediate: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
index: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
multiple: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
selection: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
reloadOnModelChange: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
columns: ArrayConstructor;
|
|
159
|
+
pageSize: {
|
|
160
|
+
type: NumberConstructor;
|
|
161
|
+
default: number;
|
|
162
|
+
};
|
|
163
|
+
dicOptions: {
|
|
164
|
+
type: ArrayConstructor;
|
|
165
|
+
default: () => never[];
|
|
166
|
+
};
|
|
167
|
+
paging: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
clickRowSelect: BooleanConstructor;
|
|
172
|
+
payloadStyle: StringConstructor;
|
|
173
|
+
disabledRowKeys: ArrayConstructor;
|
|
174
|
+
selectExport: BooleanConstructor;
|
|
175
|
+
useVisibilityChange: BooleanConstructor;
|
|
176
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
177
|
+
'page-loaded': null;
|
|
178
|
+
select: null;
|
|
179
|
+
'select-all': null;
|
|
180
|
+
'selection-change': null;
|
|
181
|
+
'cell-mouse-enter': null;
|
|
182
|
+
'cell-mouse-leave': null;
|
|
183
|
+
'cell-click': null;
|
|
184
|
+
'cell-dblclick': null;
|
|
185
|
+
'cell-contextmenu': null;
|
|
186
|
+
'row-click': null;
|
|
187
|
+
'row-contextmenu': null;
|
|
188
|
+
'row-dblclick': null;
|
|
189
|
+
'header-click': null;
|
|
190
|
+
'header-contextmenu': null;
|
|
191
|
+
'sort-change': null;
|
|
192
|
+
'filter-change': null;
|
|
193
|
+
'current-change': null;
|
|
194
|
+
'header-dragend': null;
|
|
195
|
+
'expand-change': null;
|
|
196
|
+
scroll: null;
|
|
197
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
198
|
+
data: {
|
|
199
|
+
type: ArrayConstructor;
|
|
200
|
+
default: () => never[];
|
|
201
|
+
};
|
|
202
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
203
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
204
|
+
stripe: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
border: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
size: StringConstructor;
|
|
213
|
+
fit: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
showHeader: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
highlightCurrentRow: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
226
|
+
rowClassName: (StringConstructor | FunctionConstructor)[];
|
|
227
|
+
rowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
228
|
+
cellClassName: (StringConstructor | FunctionConstructor)[];
|
|
229
|
+
cellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
230
|
+
headerRowClassName: (StringConstructor | FunctionConstructor)[];
|
|
231
|
+
headerRowStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
232
|
+
headerCellClassName: (StringConstructor | FunctionConstructor)[];
|
|
233
|
+
headerCellStyle: (ObjectConstructor | FunctionConstructor)[];
|
|
234
|
+
rowKey: {
|
|
235
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
238
|
+
emptyText: {
|
|
239
|
+
type: StringConstructor;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
defaultExpandAll: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
expandRowKeys: {
|
|
247
|
+
type: ArrayConstructor;
|
|
248
|
+
default: () => never[];
|
|
249
|
+
};
|
|
250
|
+
defaultSort: ObjectConstructor;
|
|
251
|
+
tooltipEffect: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
tooltipOptions: {
|
|
256
|
+
type: ObjectConstructor;
|
|
257
|
+
default: () => {};
|
|
258
|
+
};
|
|
259
|
+
appendFilterPanelTo: StringConstructor;
|
|
260
|
+
showSummary: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
sumText: {
|
|
265
|
+
type: StringConstructor;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
summaryMethod: FunctionConstructor;
|
|
269
|
+
spanMethod: FunctionConstructor;
|
|
270
|
+
selectOnIndeterminate: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
indent: {
|
|
275
|
+
type: NumberConstructor;
|
|
276
|
+
default: number;
|
|
277
|
+
};
|
|
278
|
+
lazy: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
load: FunctionConstructor;
|
|
283
|
+
treeProps: {
|
|
284
|
+
type: ObjectConstructor;
|
|
285
|
+
default: () => {};
|
|
286
|
+
};
|
|
287
|
+
tableLayout: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
291
|
+
scrollbarAlwaysOn: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
showOverflowTooltip: (BooleanConstructor | ObjectConstructor)[];
|
|
296
|
+
flexible: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
scrollbarTabindex: (StringConstructor | NumberConstructor)[];
|
|
301
|
+
allowDragLastColumn: {
|
|
302
|
+
type: BooleanConstructor;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
tooltipFormatter: FunctionConstructor;
|
|
306
|
+
preserveExpandedContent: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
nativeScrollbar: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
rowExpandable: FunctionConstructor;
|
|
315
|
+
selectionWidth: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
viewId: StringConstructor;
|
|
320
|
+
url: StringConstructor;
|
|
321
|
+
hideOnSinglePage: BooleanConstructor;
|
|
322
|
+
api: FunctionConstructor;
|
|
323
|
+
model: ObjectConstructor;
|
|
324
|
+
ascs: {
|
|
325
|
+
type: ArrayConstructor;
|
|
326
|
+
default: () => never[];
|
|
327
|
+
};
|
|
328
|
+
descs: {
|
|
329
|
+
type: ArrayConstructor;
|
|
330
|
+
default: () => never[];
|
|
331
|
+
};
|
|
332
|
+
headerBold: BooleanConstructor;
|
|
333
|
+
autoHeight: BooleanConstructor;
|
|
334
|
+
immediate: {
|
|
335
|
+
type: BooleanConstructor;
|
|
336
|
+
default: boolean;
|
|
337
|
+
};
|
|
338
|
+
index: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: boolean;
|
|
341
|
+
};
|
|
342
|
+
multiple: {
|
|
343
|
+
type: BooleanConstructor;
|
|
344
|
+
default: boolean;
|
|
345
|
+
};
|
|
346
|
+
selection: {
|
|
347
|
+
type: BooleanConstructor;
|
|
348
|
+
default: boolean;
|
|
349
|
+
};
|
|
350
|
+
reloadOnModelChange: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
columns: ArrayConstructor;
|
|
355
|
+
pageSize: {
|
|
356
|
+
type: NumberConstructor;
|
|
357
|
+
default: number;
|
|
358
|
+
};
|
|
359
|
+
dicOptions: {
|
|
360
|
+
type: ArrayConstructor;
|
|
361
|
+
default: () => never[];
|
|
362
|
+
};
|
|
363
|
+
paging: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
default: boolean;
|
|
366
|
+
};
|
|
367
|
+
clickRowSelect: BooleanConstructor;
|
|
368
|
+
payloadStyle: StringConstructor;
|
|
369
|
+
disabledRowKeys: ArrayConstructor;
|
|
370
|
+
selectExport: BooleanConstructor;
|
|
371
|
+
useVisibilityChange: BooleanConstructor;
|
|
372
|
+
}>> & Readonly<{
|
|
373
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
375
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
376
|
+
"onPage-loaded"?: ((...args: any[]) => any) | undefined;
|
|
377
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
379
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
381
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
382
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
384
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
386
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
387
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
388
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
390
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
391
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
392
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
393
|
+
}>, {
|
|
394
|
+
data: unknown[];
|
|
395
|
+
border: boolean;
|
|
396
|
+
fit: boolean;
|
|
397
|
+
multiple: boolean;
|
|
398
|
+
stripe: boolean;
|
|
399
|
+
showHeader: boolean;
|
|
400
|
+
highlightCurrentRow: boolean;
|
|
401
|
+
rowKey: string | Function;
|
|
402
|
+
emptyText: string;
|
|
403
|
+
defaultExpandAll: boolean;
|
|
404
|
+
expandRowKeys: unknown[];
|
|
405
|
+
tooltipEffect: string;
|
|
406
|
+
tooltipOptions: Record<string, any>;
|
|
407
|
+
showSummary: boolean;
|
|
408
|
+
sumText: string;
|
|
409
|
+
selectOnIndeterminate: boolean;
|
|
410
|
+
indent: number;
|
|
411
|
+
lazy: boolean;
|
|
412
|
+
treeProps: Record<string, any>;
|
|
413
|
+
tableLayout: string;
|
|
414
|
+
scrollbarAlwaysOn: boolean;
|
|
415
|
+
flexible: boolean;
|
|
416
|
+
allowDragLastColumn: boolean;
|
|
417
|
+
preserveExpandedContent: boolean;
|
|
418
|
+
nativeScrollbar: boolean;
|
|
419
|
+
selectionWidth: string;
|
|
420
|
+
hideOnSinglePage: boolean;
|
|
421
|
+
ascs: unknown[];
|
|
422
|
+
descs: unknown[];
|
|
423
|
+
headerBold: boolean;
|
|
424
|
+
autoHeight: boolean;
|
|
425
|
+
immediate: boolean;
|
|
426
|
+
index: boolean;
|
|
427
|
+
selection: boolean;
|
|
428
|
+
reloadOnModelChange: boolean;
|
|
429
|
+
pageSize: number;
|
|
430
|
+
dicOptions: unknown[];
|
|
431
|
+
paging: boolean;
|
|
432
|
+
clickRowSelect: boolean;
|
|
433
|
+
selectExport: boolean;
|
|
434
|
+
useVisibilityChange: boolean;
|
|
435
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
436
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.table-column-filter .el-drawer__body{padding:10px}.table-column-filter .el-drawer__header{border-bottom:1px solid #f0f0f0;min-height:20px;margin-bottom:0;padding:16px 10px 16px 24px}.pageable-table{flex:auto;height:100%;position:relative}.pageable-table .single-select-column .el-radio__label{padding:0}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:relative}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .el-table th{color:#000000d9;word-break:break-word;background-color:#fafafa}.pageable-table .total{padding:10px}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
2
|
+
compareAndNotify(): void;
|
|
3
|
+
addResizeHandlers(): void;
|
|
4
|
+
removeResizeHandlers(): void;
|
|
5
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "notify"[], "notify", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onNotify?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|