dlzn-ui 1.91.0 → 1.92.0
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/custom-page-list-tscjv8y5.mjs +74 -0
- package/components/custom-page-list/index.d.ts +2 -1
- package/components/custom-page-list/index.mjs +2 -0
- package/components/custom-page-list/src/custom-page-list.mjs +2 -74
- package/components/index.mjs +21 -20
- package/index.mjs +21 -20
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { t as e } from "./button-Cb2lySJu.mjs";
|
|
2
|
+
import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
|
+
import { t as n } from "./card-BfHb58zl.mjs";
|
|
4
|
+
import { t as r } from "./custom-page-table-BDReG7BA.mjs";
|
|
5
|
+
import { n as i, r as a } from "./page-list-6ZKGfu67.mjs";
|
|
6
|
+
import { t as o } from "./page-query-Cd_ULbqY.mjs";
|
|
7
|
+
import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createVNode as p, defineComponent as m, guardReactiveProps as h, mergeDefaults as g, mergeProps as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, withCtx as w } from "vue";
|
|
8
|
+
import { useRoute as T } from "vue-router";
|
|
9
|
+
import '../assets/custom-page-list-Dem3-TSH.css';//#region ../../packages/dlzn-ui/components/custom-page-list/src/custom-page-list.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var E = { class: "w-full" }, D = { class: "page_operations_wrapper items-end" }, O = /*@__PURE__*/ m({
|
|
11
|
+
inheritAttrs: !1,
|
|
12
|
+
__name: "custom-page-list",
|
|
13
|
+
props: /*@__PURE__*/ g({
|
|
14
|
+
apis: {},
|
|
15
|
+
cardProps: {},
|
|
16
|
+
formItems: {},
|
|
17
|
+
formOtherProps: {},
|
|
18
|
+
initialFormData: {},
|
|
19
|
+
isFirstQueryByParent: { type: Boolean },
|
|
20
|
+
operations: {}
|
|
21
|
+
}, { ...i }),
|
|
22
|
+
setup(t, { expose: i }) {
|
|
23
|
+
let m = t, g = T(), O = C("pageQueryRef"), k = C("pageTableRef"), { currentQueryParams: A, doQuery: j, doReset: M, exportProps: N, finallyFormItems: P, finallyQueryParams: F, onQuery: I, onReset: L, queryParams: R, resetCurrentQueryParams: z } = a({
|
|
24
|
+
pageQueryRef: O,
|
|
25
|
+
pageTableRef: k,
|
|
26
|
+
props: m,
|
|
27
|
+
route: g
|
|
28
|
+
});
|
|
29
|
+
return i({
|
|
30
|
+
currentQueryParams: A,
|
|
31
|
+
finallyQueryParams: F,
|
|
32
|
+
query: j,
|
|
33
|
+
reset: M,
|
|
34
|
+
resetCurrentQueryParams: z
|
|
35
|
+
}), (i, a) => (y(), c(S(n), v(h(_(i.$attrs, {
|
|
36
|
+
...t.cardProps ?? {},
|
|
37
|
+
bodyFullHeight: !0,
|
|
38
|
+
bodyClassName: ["!flex flex-col overflow-y-auto", t.cardProps?.bodyClassName].filter(Boolean).join(" ")
|
|
39
|
+
}, { class: "h-full" }))), {
|
|
40
|
+
header: w(() => [d("div", E, [S(P).length > 0 ? (y(), c(S(o), _({
|
|
41
|
+
key: 0,
|
|
42
|
+
ref_key: "pageQueryRef",
|
|
43
|
+
ref: O,
|
|
44
|
+
data: t.initialFormData,
|
|
45
|
+
items: S(P)
|
|
46
|
+
}, t.formOtherProps, {
|
|
47
|
+
onQuery: S(I),
|
|
48
|
+
onReset: S(L)
|
|
49
|
+
}), f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => !["default", "page-bottom"].includes(e)), (e) => ({
|
|
50
|
+
name: e,
|
|
51
|
+
fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
|
|
52
|
+
}))]), 1040, [
|
|
53
|
+
"data",
|
|
54
|
+
"items",
|
|
55
|
+
"onQuery",
|
|
56
|
+
"onReset"
|
|
57
|
+
])) : l("v-if", !0), d("div", D, [(y(!0), u(s, null, b(t.operations?.filter((e) => e.show !== !1), (t, n) => (y(), c(S(e), _({ key: n }, { ref_for: !0 }, t), null, 16))), 128)), t.apis.export ? (y(), c(S(e), v(_({ key: 0 }, S(N))), null, 16)) : l("v-if", !0)])])]),
|
|
58
|
+
default: w(() => [p(S(r), {
|
|
59
|
+
ref_key: "pageTableRef",
|
|
60
|
+
ref: k,
|
|
61
|
+
"initial-query": !1,
|
|
62
|
+
method: t.apis.list.method,
|
|
63
|
+
"query-params": S(R),
|
|
64
|
+
"watch-query-params": !1
|
|
65
|
+
}, f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => ["default", "page-bottom"].includes(e)), (e) => ({
|
|
66
|
+
name: e,
|
|
67
|
+
fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
|
|
68
|
+
}))]), 1032, ["method", "query-params"])]),
|
|
69
|
+
_: 3
|
|
70
|
+
}, 16));
|
|
71
|
+
}
|
|
72
|
+
}), k = /*#__PURE__*/ t(O, [["__scopeId", "data-v-b8ed8a2d"]]);
|
|
73
|
+
//#endregion
|
|
74
|
+
export { k as t };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './src/custom-page-list';
|
|
2
|
+
export { default as TCustomPageList } from './src/custom-page-list.vue';
|
|
@@ -1,74 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/
|
|
2
|
-
|
|
3
|
-
import { t as n } from "../../../chunks/card-BfHb58zl.mjs";
|
|
4
|
-
import { t as r } from "../../../chunks/custom-page-table-BDReG7BA.mjs";
|
|
5
|
-
import { n as i, r as a } from "../../../chunks/page-list-6ZKGfu67.mjs";
|
|
6
|
-
import { t as o } from "../../../chunks/page-query-Cd_ULbqY.mjs";
|
|
7
|
-
import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createVNode as p, defineComponent as m, guardReactiveProps as h, mergeDefaults as g, mergeProps as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, withCtx as w } from "vue";
|
|
8
|
-
import { useRoute as T } from "vue-router";
|
|
9
|
-
import '../../../assets/custom-page-list-Dem3-TSH.css';//#region ../../packages/dlzn-ui/components/custom-page-list/src/custom-page-list.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var E = { class: "w-full" }, D = { class: "page_operations_wrapper items-end" }, O = /*@__PURE__*/ m({
|
|
11
|
-
inheritAttrs: !1,
|
|
12
|
-
__name: "custom-page-list",
|
|
13
|
-
props: /*@__PURE__*/ g({
|
|
14
|
-
apis: {},
|
|
15
|
-
cardProps: {},
|
|
16
|
-
formItems: {},
|
|
17
|
-
formOtherProps: {},
|
|
18
|
-
initialFormData: {},
|
|
19
|
-
isFirstQueryByParent: { type: Boolean },
|
|
20
|
-
operations: {}
|
|
21
|
-
}, { ...i }),
|
|
22
|
-
setup(t, { expose: i }) {
|
|
23
|
-
let m = t, g = T(), O = C("pageQueryRef"), k = C("pageTableRef"), { currentQueryParams: A, doQuery: j, doReset: M, exportProps: N, finallyFormItems: P, finallyQueryParams: F, onQuery: I, onReset: L, queryParams: R, resetCurrentQueryParams: z } = a({
|
|
24
|
-
pageQueryRef: O,
|
|
25
|
-
pageTableRef: k,
|
|
26
|
-
props: m,
|
|
27
|
-
route: g
|
|
28
|
-
});
|
|
29
|
-
return i({
|
|
30
|
-
currentQueryParams: A,
|
|
31
|
-
finallyQueryParams: F,
|
|
32
|
-
query: j,
|
|
33
|
-
reset: M,
|
|
34
|
-
resetCurrentQueryParams: z
|
|
35
|
-
}), (i, a) => (y(), c(S(n), v(h(_(i.$attrs, {
|
|
36
|
-
...t.cardProps ?? {},
|
|
37
|
-
bodyFullHeight: !0,
|
|
38
|
-
bodyClassName: ["!flex flex-col overflow-y-auto", t.cardProps?.bodyClassName].filter(Boolean).join(" ")
|
|
39
|
-
}, { class: "h-full" }))), {
|
|
40
|
-
header: w(() => [d("div", E, [S(P).length > 0 ? (y(), c(S(o), _({
|
|
41
|
-
key: 0,
|
|
42
|
-
ref_key: "pageQueryRef",
|
|
43
|
-
ref: O,
|
|
44
|
-
data: t.initialFormData,
|
|
45
|
-
items: S(P)
|
|
46
|
-
}, t.formOtherProps, {
|
|
47
|
-
onQuery: S(I),
|
|
48
|
-
onReset: S(L)
|
|
49
|
-
}), f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => !["default", "page-bottom"].includes(e)), (e) => ({
|
|
50
|
-
name: e,
|
|
51
|
-
fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
|
|
52
|
-
}))]), 1040, [
|
|
53
|
-
"data",
|
|
54
|
-
"items",
|
|
55
|
-
"onQuery",
|
|
56
|
-
"onReset"
|
|
57
|
-
])) : l("v-if", !0), d("div", D, [(y(!0), u(s, null, b(t.operations?.filter((e) => e.show !== !1), (t, n) => (y(), c(S(e), _({ key: n }, { ref_for: !0 }, t), null, 16))), 128)), t.apis.export ? (y(), c(S(e), v(_({ key: 0 }, S(N))), null, 16)) : l("v-if", !0)])])]),
|
|
58
|
-
default: w(() => [p(S(r), {
|
|
59
|
-
ref_key: "pageTableRef",
|
|
60
|
-
ref: k,
|
|
61
|
-
"initial-query": !1,
|
|
62
|
-
method: t.apis.list.method,
|
|
63
|
-
"query-params": S(R),
|
|
64
|
-
"watch-query-params": !1
|
|
65
|
-
}, f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => ["default", "page-bottom"].includes(e)), (e) => ({
|
|
66
|
-
name: e,
|
|
67
|
-
fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
|
|
68
|
-
}))]), 1032, ["method", "query-params"])]),
|
|
69
|
-
_: 3
|
|
70
|
-
}, 16));
|
|
71
|
-
}
|
|
72
|
-
}), k = /*#__PURE__*/ t(O, [["__scopeId", "data-v-b8ed8a2d"]]);
|
|
73
|
-
//#endregion
|
|
74
|
-
export { k as default };
|
|
1
|
+
import { t as e } from "../../../chunks/custom-page-list-tscjv8y5.mjs";
|
|
2
|
+
export { e as default };
|
package/components/index.mjs
CHANGED
|
@@ -19,23 +19,24 @@ import { n as D, t as O } from "../chunks/link-Byr_BYPx.mjs";
|
|
|
19
19
|
import { n as k, t as A } from "../chunks/select-DbGBggUm.mjs";
|
|
20
20
|
import { n as j, t as M } from "../chunks/switch-CqV3-avv.mjs";
|
|
21
21
|
import { t as N } from "../chunks/custom-page-table-BDReG7BA.mjs";
|
|
22
|
-
import {
|
|
23
|
-
import { n as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as ne } from "../chunks/
|
|
39
|
-
import { t as re } from "../chunks/
|
|
40
|
-
import { t as ie } from "../chunks/
|
|
41
|
-
|
|
22
|
+
import { n as P, r as F, t as I } from "../chunks/page-list-6ZKGfu67.mjs";
|
|
23
|
+
import { n as L, t as R } from "../chunks/form-iyDxFJGm.mjs";
|
|
24
|
+
import { t as z } from "../chunks/date-picker-CTGIcHXL.mjs";
|
|
25
|
+
import { t as B } from "../chunks/radio-group-D29D9RMN.mjs";
|
|
26
|
+
import { t as V } from "../chunks/range-input-8ddDrOBB.mjs";
|
|
27
|
+
import { n as H, t as U } from "../chunks/tag-input-iNXrRXk2.mjs";
|
|
28
|
+
import { t as W } from "../chunks/select-sys-user-Bj08BwIs.mjs";
|
|
29
|
+
import { n as G, t as K } from "../chunks/slider-C63Gzbld.mjs";
|
|
30
|
+
import { t as q } from "../chunks/textarea-xkwOhNut.mjs";
|
|
31
|
+
import { t as J } from "../chunks/tree-Bn-WY5dz.mjs";
|
|
32
|
+
import { t as Y } from "../chunks/tree-szMrY26E.mjs";
|
|
33
|
+
import { t as X } from "../chunks/tree-select-C-HywxXx.mjs";
|
|
34
|
+
import { n as Z, t as Q } from "../chunks/upload-CvqlmOVo.mjs";
|
|
35
|
+
import { t as $ } from "../chunks/page-query-Cd_ULbqY.mjs";
|
|
36
|
+
import { t as ee } from "../chunks/custom-page-list-tscjv8y5.mjs";
|
|
37
|
+
import { t as te } from "../chunks/gradient-text-CRqJzz7N.mjs";
|
|
38
|
+
import { t as ne } from "../chunks/overview-BvLGalk-.mjs";
|
|
39
|
+
import { t as re } from "../chunks/overview-BB7h4V3u.mjs";
|
|
40
|
+
import { t as ie } from "../chunks/scrollbar-Bf2VJTtD.mjs";
|
|
41
|
+
import { t as ae } from "../chunks/tab-panel-CtYeK29i.mjs";
|
|
42
|
+
export { Z as DEFAULT_ACCEPT, t as TButton, o as TCard, s as TCheckbox, c as TCheckboxGroup, d as TCron, ee as TCustomPageList, N as TCustomPageTable, z as TDatePicker, R as TForm, te as TGradientText, r as TIcon, S as TImage, w as TImageViewer, u as TInput, E as TInputNumber, O as TLink, re as TOverview, I as TPageList, $ as TPageQuery, m as TPageTable, h as TPagination, i as TPopconfirm, v as TPopup, n as TProvider, B as TRadioGroup, V as TRangeInput, ie as TScrollbar, A as TSelect, W as TSelectSysUser, K as TSlider, M as TSwitch, ae as TTabPanel, _ as TTable, b as TTag, U as TTagInput, q as TTextarea, Y as TTree, X as TTreeSelect, Q as TUpload, P as baseCustomPageListPropsInit, f as basePageTablePropsInit, e as buttonPropsInit, a as cardPropsInit, L as formPropsInit, ne as getSplitSymbolValue, x as imagePropsInit, C as imageViewerPropsInit, T as inputNumberPropsInit, l as inputPropsInit, D as linkPropsInit, k as selectPropsInit, G as sliderPropsInit, j as switchPropsInit, g as tablePropsInit, H as tagInputPropsInit, y as tagPropsInit, J as treePropsInit, F as useBaseCustomPageListMixin, p as useBasePageTableMixin };
|
package/index.mjs
CHANGED
|
@@ -19,24 +19,25 @@ import { n as D, t as O } from "./chunks/link-Byr_BYPx.mjs";
|
|
|
19
19
|
import { n as k, t as A } from "./chunks/select-DbGBggUm.mjs";
|
|
20
20
|
import { n as j, t as M } from "./chunks/switch-CqV3-avv.mjs";
|
|
21
21
|
import { t as N } from "./chunks/custom-page-table-BDReG7BA.mjs";
|
|
22
|
-
import {
|
|
23
|
-
import { n as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import { t as
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as ne } from "./chunks/
|
|
39
|
-
import { t as re } from "./chunks/
|
|
40
|
-
import { t as ie } from "./chunks/
|
|
22
|
+
import { n as P, r as F, t as I } from "./chunks/page-list-6ZKGfu67.mjs";
|
|
23
|
+
import { n as L, t as R } from "./chunks/form-iyDxFJGm.mjs";
|
|
24
|
+
import { t as z } from "./chunks/date-picker-CTGIcHXL.mjs";
|
|
25
|
+
import { t as B } from "./chunks/radio-group-D29D9RMN.mjs";
|
|
26
|
+
import { t as V } from "./chunks/range-input-8ddDrOBB.mjs";
|
|
27
|
+
import { n as H, t as U } from "./chunks/tag-input-iNXrRXk2.mjs";
|
|
28
|
+
import { t as W } from "./chunks/select-sys-user-Bj08BwIs.mjs";
|
|
29
|
+
import { n as G, t as K } from "./chunks/slider-C63Gzbld.mjs";
|
|
30
|
+
import { t as q } from "./chunks/textarea-xkwOhNut.mjs";
|
|
31
|
+
import { t as J } from "./chunks/tree-Bn-WY5dz.mjs";
|
|
32
|
+
import { t as Y } from "./chunks/tree-szMrY26E.mjs";
|
|
33
|
+
import { t as X } from "./chunks/tree-select-C-HywxXx.mjs";
|
|
34
|
+
import { n as Z, t as Q } from "./chunks/upload-CvqlmOVo.mjs";
|
|
35
|
+
import { t as $ } from "./chunks/page-query-Cd_ULbqY.mjs";
|
|
36
|
+
import { t as ee } from "./chunks/custom-page-list-tscjv8y5.mjs";
|
|
37
|
+
import { t as te } from "./chunks/gradient-text-CRqJzz7N.mjs";
|
|
38
|
+
import { t as ne } from "./chunks/overview-BvLGalk-.mjs";
|
|
39
|
+
import { t as re } from "./chunks/overview-BB7h4V3u.mjs";
|
|
40
|
+
import { t as ie } from "./chunks/scrollbar-Bf2VJTtD.mjs";
|
|
41
|
+
import { t as ae } from "./chunks/tab-panel-CtYeK29i.mjs";
|
|
41
42
|
import "./components/index.mjs";
|
|
42
|
-
export {
|
|
43
|
+
export { Z as DEFAULT_ACCEPT, t as TButton, o as TCard, s as TCheckbox, c as TCheckboxGroup, d as TCron, ee as TCustomPageList, N as TCustomPageTable, z as TDatePicker, R as TForm, te as TGradientText, r as TIcon, S as TImage, w as TImageViewer, u as TInput, E as TInputNumber, O as TLink, re as TOverview, I as TPageList, $ as TPageQuery, m as TPageTable, h as TPagination, i as TPopconfirm, v as TPopup, n as TProvider, B as TRadioGroup, V as TRangeInput, ie as TScrollbar, A as TSelect, W as TSelectSysUser, K as TSlider, M as TSwitch, ae as TTabPanel, _ as TTable, b as TTag, U as TTagInput, q as TTextarea, Y as TTree, X as TTreeSelect, Q as TUpload, P as baseCustomPageListPropsInit, f as basePageTablePropsInit, e as buttonPropsInit, a as cardPropsInit, L as formPropsInit, ne as getSplitSymbolValue, x as imagePropsInit, C as imageViewerPropsInit, T as inputNumberPropsInit, l as inputPropsInit, D as linkPropsInit, k as selectPropsInit, G as sliderPropsInit, j as switchPropsInit, g as tablePropsInit, H as tagInputPropsInit, y as tagPropsInit, J as treePropsInit, F as useBaseCustomPageListMixin, p as useBasePageTableMixin };
|
package/package.json
CHANGED