dlzn-ui 2.0.25 → 2.0.27

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 (30) hide show
  1. package/chunks/{AssignUser-B8KO6qit.mjs → AssignUser-DZvNJ6_v.mjs} +2 -2
  2. package/chunks/{DictTypeDetail-DDv2c9JG.mjs → DictTypeDetail--OE6JJ5s.mjs} +1 -1
  3. package/chunks/{Log-CPni6oj5.mjs → Log-DTQeRVz1.mjs} +1 -1
  4. package/chunks/{SelectUser-Ce69wfaR.mjs → SelectUser-Y-2MCvw3.mjs} +1 -1
  5. package/chunks/{custom-page-list-DNONwY-V.mjs → custom-page-list-Dkjf1nLR.mjs} +2 -2
  6. package/chunks/{page-list-DMDDWHTe.mjs → page-list-DUYDkWcj.mjs} +4 -4
  7. package/chunks/{page-query-CRbcQbQW.mjs → page-query-oFiHpSCX.mjs} +9 -6
  8. package/components/custom-page-list/index.mjs +1 -1
  9. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  10. package/components/index.mjs +3 -3
  11. package/components/page-list/index.mjs +1 -1
  12. package/components/page-list/src/page-list.d.ts +1 -1
  13. package/components/page-list/src/page-list.mjs +1 -1
  14. package/components/page-query/index.mjs +1 -1
  15. package/components/page-query/src/page-query.mjs +1 -1
  16. package/components/page-query/src/page-query.vue.d.ts +2 -2
  17. package/components/select-sys-user/src/Picker.mjs +1 -1
  18. package/package.json +1 -1
  19. package/proj-template/apply.ts +4 -6
  20. package/views/system/dept/index.mjs +1 -1
  21. package/views/system/dict/index.mjs +2 -2
  22. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  23. package/views/system/menu/index.mjs +1 -1
  24. package/views/system/post/index.mjs +1 -1
  25. package/views/system/role/index.mjs +2 -2
  26. package/views/system/role/modules/AssignUser.mjs +1 -1
  27. package/views/system/role/modules/SelectUser.mjs +1 -1
  28. package/views/system/user/index.mjs +1 -1
  29. package/views/tool/job/index.mjs +2 -2
  30. package/views/tool/job/modules/Log.mjs +1 -1
@@ -1,8 +1,8 @@
1
1
  import { F as e, S as t } from "./provider-BhFm5rvy.mjs";
2
2
  import n from "../plugins/autoImport/$msg/index.mjs";
3
- import { t as r } from "./page-list-DMDDWHTe.mjs";
3
+ import { t as r } from "./page-list-DUYDkWcj.mjs";
4
4
  import "../components/page-list/index.mjs";
5
- import { t as i } from "./SelectUser-Ce69wfaR.mjs";
5
+ import { t as i } from "./SelectUser-Y-2MCvw3.mjs";
6
6
  import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, openBlock as u, reactive as d, ref as f, unref as p, useTemplateRef as m } from "vue";
7
7
  //#endregion
8
8
  //#region ../../packages/dlzn-ui/views/system/role/modules/AssignUser.vue
@@ -1,6 +1,6 @@
1
1
  import { F as e, S as t, o as n } from "./provider-BhFm5rvy.mjs";
2
2
  import r from "../plugins/autoImport/$msg/index.mjs";
3
- import { t as i } from "./page-list-DMDDWHTe.mjs";
3
+ import { t as i } from "./page-list-DUYDkWcj.mjs";
4
4
  import "../components/page-list/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { F as e, S as t, o as n } from "./provider-BhFm5rvy.mjs";
2
2
  import r from "../plugins/autoImport/$msg/index.mjs";
3
- import { t as i } from "./page-list-DMDDWHTe.mjs";
3
+ import { t as i } from "./page-list-DUYDkWcj.mjs";
4
4
  import "../components/page-list/index.mjs";
5
5
  import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, nextTick as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
6
6
  import { useRequest as _ } from "alova/client";
@@ -1,6 +1,6 @@
1
1
  import { S as e } from "./provider-BhFm5rvy.mjs";
2
2
  import t from "../plugins/autoImport/$msg/index.mjs";
3
- import { t as n } from "./page-list-DMDDWHTe.mjs";
3
+ import { t as n } from "./page-list-DUYDkWcj.mjs";
4
4
  import "../components/page-list/index.mjs";
5
5
  import { createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, unref as s, useTemplateRef as c } from "vue";
6
6
  //#endregion
@@ -4,8 +4,8 @@ import { t as n } from "./card-Domqu1Hz.mjs";
4
4
  import "../components/card/index.mjs";
5
5
  import { t as r } from "./custom-page-table-y7emjJnS.mjs";
6
6
  import "../components/custom-page-table/index.mjs";
7
- import { n as i, r as a } from "./page-list-DMDDWHTe.mjs";
8
- import { t as o } from "./page-query-CRbcQbQW.mjs";
7
+ import { n as i, r as a } from "./page-list-DUYDkWcj.mjs";
8
+ import { t as o } from "./page-query-oFiHpSCX.mjs";
9
9
  import "../components/page-query/index.mjs";
10
10
  import "../components/page-list/index.mjs";
11
11
  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";
@@ -6,7 +6,7 @@ import { t as a } from "./card-Domqu1Hz.mjs";
6
6
  import "../components/card/index.mjs";
7
7
  import { t as o } from "./page-table-C1hMMXID.mjs";
8
8
  import "../components/page-table/index.mjs";
9
- import { t as s } from "./page-query-CRbcQbQW.mjs";
9
+ import { t as s } from "./page-query-oFiHpSCX.mjs";
10
10
  import "../components/page-query/index.mjs";
11
11
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createSlots as p, createVNode as m, defineComponent as h, guardReactiveProps as g, mergeDefaults as _, mergeProps as v, nextTick as y, normalizeProps as b, openBlock as x, ref as S, renderList as C, renderSlot as w, unref as T, useTemplateRef as E, withCtx as D } from "vue";
12
12
  import { cloneDeep as O } from "lodash-es";
@@ -16,13 +16,13 @@ var A = { isFirstQueryByParent: !1 };
16
16
  function j({ pageQueryRef: t, pageTableRef: n, props: r, route: a }) {
17
17
  let o = S({});
18
18
  function s() {
19
- t.value === null ? (o.value = {}, n.value.query(!0)) : t.value.query();
19
+ t.value === null ? (o.value = {}, n.value.query()) : t.value.query();
20
20
  }
21
21
  function c() {
22
22
  t.value === null ? (o.value = {}, n.value.reset()) : t.value.reset();
23
23
  }
24
- function u(e) {
25
- o.value = O(e), n.value.query(!0);
24
+ function u(e, t) {
25
+ o.value = O(e), n.value.query(t);
26
26
  }
27
27
  function d(e) {
28
28
  o.value = O(e), n.value.reset();
@@ -62,12 +62,15 @@ var D = /* @__PURE__ */ l({
62
62
  }
63
63
  S([N, () => A.value.length], I);
64
64
  function L() {
65
- O("query", k.value);
65
+ O("query", k.value, !1);
66
66
  }
67
67
  function R() {
68
- z(), O("reset", k.value);
68
+ O("query", k.value, !0);
69
69
  }
70
70
  function z() {
71
+ B(), O("reset", k.value);
72
+ }
73
+ function B() {
71
74
  Object.keys(k.value).forEach((e) => {
72
75
  if (Object.hasOwn(D.data, e)) {
73
76
  k.value[e] = D.data[e];
@@ -79,8 +82,8 @@ var D = /* @__PURE__ */ l({
79
82
  return l({
80
83
  formData: k,
81
84
  query: L,
82
- reset: R,
83
- resetFormData: z
85
+ reset: z,
86
+ resetFormData: B
84
87
  }), (e, r) => (h(), i(b(n), f({
85
88
  ref_key: "formRef",
86
89
  ref: M,
@@ -90,7 +93,7 @@ var D = /* @__PURE__ */ l({
90
93
  _btn: C(() => [
91
94
  c(b(t), {
92
95
  class: "shrink",
93
- onClick: L
96
+ onClick: R
94
97
  }, {
95
98
  default: C(() => [...r[1] ||= [s("查询", -1)]]),
96
99
  _: 1
@@ -98,7 +101,7 @@ var D = /* @__PURE__ */ l({
98
101
  c(b(t), {
99
102
  class: "shrink",
100
103
  theme: "default",
101
- onClick: R
104
+ onClick: z
102
105
  }, {
103
106
  default: C(() => [...r[2] ||= [s("重置", -1)]]),
104
107
  _: 1
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/custom-page-list-DNONwY-V.mjs";
1
+ import { t as e } from "../../chunks/custom-page-list-Dkjf1nLR.mjs";
2
2
  export { e as TCustomPageList };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/custom-page-list-DNONwY-V.mjs";
1
+ import { t as e } from "../../../chunks/custom-page-list-Dkjf1nLR.mjs";
2
2
  export { e as default };
@@ -45,11 +45,11 @@ import "./table/index.mjs";
45
45
  import "./page-table/index.mjs";
46
46
  import { t as Z } from "../chunks/custom-page-table-y7emjJnS.mjs";
47
47
  import "./custom-page-table/index.mjs";
48
- import { n as Q, r as $, t as ee } from "../chunks/page-list-DMDDWHTe.mjs";
49
- import { t as te } from "../chunks/page-query-CRbcQbQW.mjs";
48
+ import { n as Q, r as $, t as ee } from "../chunks/page-list-DUYDkWcj.mjs";
49
+ import { t as te } from "../chunks/page-query-oFiHpSCX.mjs";
50
50
  import "./page-query/index.mjs";
51
51
  import "./page-list/index.mjs";
52
- import { t as ne } from "../chunks/custom-page-list-DNONwY-V.mjs";
52
+ import { t as ne } from "../chunks/custom-page-list-Dkjf1nLR.mjs";
53
53
  import "./custom-page-list/index.mjs";
54
54
  import { t as re } from "../chunks/overview-BvLGalk-.mjs";
55
55
  import { t as ie } from "../chunks/overview-YqvRmr0O.mjs";
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../../chunks/page-list-DMDDWHTe.mjs";
1
+ import { n as e, r as t, t as n } from "../../chunks/page-list-DUYDkWcj.mjs";
2
2
  export { n as TPageList, e as baseCustomPageListPropsInit, t as useBaseCustomPageListMixin };
@@ -1411,7 +1411,7 @@ export declare function useBaseCustomPageListMixin({ pageQueryRef, pageTableRef,
1411
1411
  _help?: string | ((h: typeof import('vue').h) => import('tdesign-vue-next').TNodeReturnValue) | undefined;
1412
1412
  })[]>;
1413
1413
  finallyQueryParams: import('vue').ComputedRef<Record<string, any> | undefined>;
1414
- onQuery: (formData: Record<string, any>) => void;
1414
+ onQuery: (formData: Record<string, any>, isClick: boolean) => void;
1415
1415
  onReset: (formData: Record<string, any>) => void;
1416
1416
  queryParams: Ref<Record<string, any>, Record<string, any>>;
1417
1417
  resetCurrentQueryParams: () => void;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/page-list-DMDDWHTe.mjs";
1
+ import { t as e } from "../../../chunks/page-list-DUYDkWcj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../chunks/page-query-CRbcQbQW.mjs";
1
+ import { t as e } from "../../chunks/page-query-oFiHpSCX.mjs";
2
2
  export { e as TPageQuery };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../chunks/page-query-CRbcQbQW.mjs";
1
+ import { t as e } from "../../../chunks/page-query-oFiHpSCX.mjs";
2
2
  export { e as default };
@@ -13,10 +13,10 @@ declare const __VLS_base: import('vue').DefineComponent<FormProps, {
13
13
  resetFormData: typeof resetFormData;
14
14
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  reset: (formData: Record<string, any>) => any;
16
- query: (formData: Record<string, any>) => any;
16
+ query: (formData: Record<string, any>, isClick: boolean) => any;
17
17
  }, string, import('vue').PublicProps, Readonly<FormProps> & Readonly<{
18
18
  onReset?: ((formData: Record<string, any>) => any) | undefined;
19
- onQuery?: ((formData: Record<string, any>) => any) | undefined;
19
+ onQuery?: ((formData: Record<string, any>, isClick: boolean) => any) | undefined;
20
20
  }>, {
21
21
  data: import('../../form').FormPropsData;
22
22
  disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  import { S as e } from "../../../chunks/provider-BhFm5rvy.mjs";
2
- import { t } from "../../../chunks/page-list-DMDDWHTe.mjs";
2
+ import { t } from "../../../chunks/page-list-DUYDkWcj.mjs";
3
3
  import "../../page-list/index.mjs";
4
4
  import { createBlock as n, createSlots as r, createVNode as i, defineComponent as a, mergeProps as o, openBlock as s, unref as c, useTemplateRef as l, withCtx as u } from "vue";
5
5
  import { Alert as d } from "tdesign-vue-next";
package/package.json CHANGED
@@ -108,7 +108,7 @@
108
108
  "> 1%",
109
109
  "not dead"
110
110
  ],
111
- "version": "2.0.25",
111
+ "version": "2.0.27",
112
112
  "scripts": {
113
113
  "dev": "vite --config play/vite.config.ts"
114
114
  }
@@ -4,9 +4,7 @@ import { cwd } from 'node:process'
4
4
  import { basename } from 'node:path'
5
5
  const current = fileURLToPath(new URL('.', import.meta.url))
6
6
 
7
- export default () => {
8
- return cp(current, cwd(), {
9
- recursive: true,
10
- filter: (src) => basename(src) !== 'apply.ts',
11
- })
12
- }
7
+ await cp(current, cwd(), {
8
+ recursive: true,
9
+ filter: (src) => basename(src) !== 'apply.ts',
10
+ })
@@ -2,7 +2,7 @@ import { F as e, S as t, o as n } from "../../../chunks/provider-BhFm5rvy.mjs";
2
2
  import r from "../../../plugins/autoImport/$msg/index.mjs";
3
3
  import { flatArrToTree as i } from "../../../utils/tree.mjs";
4
4
  import "../../../utils/index.mjs";
5
- import { t as a } from "../../../chunks/page-list-DMDDWHTe.mjs";
5
+ import { t as a } from "../../../chunks/page-list-DUYDkWcj.mjs";
6
6
  import "../../../components/page-list/index.mjs";
7
7
  import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
8
8
  import { createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g, watch as _ } from "vue";
@@ -1,8 +1,8 @@
1
1
  import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-BhFm5rvy.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-DMDDWHTe.mjs";
3
+ import { t as a } from "../../../chunks/page-list-DUYDkWcj.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/DictTypeDetail-DDv2c9JG.mjs";
5
+ import { t as o } from "../../../chunks/DictTypeDetail--OE6JJ5s.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  //#endregion
8
8
  //#region ../../packages/dlzn-ui/views/system/dict/index.vue
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/DictTypeDetail-DDv2c9JG.mjs";
1
+ import { t as e } from "../../../../chunks/DictTypeDetail--OE6JJ5s.mjs";
2
2
  export { e as default };
@@ -5,7 +5,7 @@ import a from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { isFalsy as o } from "../../../utils/boolean.mjs";
6
6
  import { flatArrToTree as s } from "../../../utils/tree.mjs";
7
7
  import "../../../utils/index.mjs";
8
- import { t as c } from "../../../chunks/page-list-DMDDWHTe.mjs";
8
+ import { t as c } from "../../../chunks/page-list-DUYDkWcj.mjs";
9
9
  import "../../../components/page-list/index.mjs";
10
10
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
11
11
  import { useRequest as y } from "alova/client";
@@ -1,6 +1,6 @@
1
1
  import { F as e, S as t, o as n } from "../../../chunks/provider-BhFm5rvy.mjs";
2
2
  import r from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-DMDDWHTe.mjs";
3
+ import { t as i } from "../../../chunks/page-list-DUYDkWcj.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  //#endregion
@@ -1,8 +1,8 @@
1
1
  import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-BhFm5rvy.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-DMDDWHTe.mjs";
3
+ import { t as a } from "../../../chunks/page-list-DUYDkWcj.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-B8KO6qit.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-DZvNJ6_v.mjs";
6
6
  import { t as s } from "../../../chunks/SelectDept-BdP4Fevb.mjs";
7
7
  import { t as c } from "../../../chunks/SelectMenu-C8uTKPyO.mjs";
8
8
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/AssignUser-B8KO6qit.mjs";
1
+ import { t as e } from "../../../../chunks/AssignUser-DZvNJ6_v.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/SelectUser-Ce69wfaR.mjs";
1
+ import { t as e } from "../../../../chunks/SelectUser-Y-2MCvw3.mjs";
2
2
  export { e as default };
@@ -4,7 +4,7 @@ import a from "../../../plugins/autoImport/$msg/index.mjs";
4
4
  import { passwordReg as o, passwordRegMessage as s } from "../../../constants/others.mjs";
5
5
  import { t as c } from "../../../chunks/table-CqT9HbMR.mjs";
6
6
  import "../../../components/table/index.mjs";
7
- import { t as l } from "../../../chunks/page-list-DMDDWHTe.mjs";
7
+ import { t as l } from "../../../chunks/page-list-DUYDkWcj.mjs";
8
8
  import "../../../components/page-list/index.mjs";
9
9
  import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
10
10
  import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
@@ -1,8 +1,8 @@
1
1
  import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-BhFm5rvy.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-DMDDWHTe.mjs";
3
+ import { t as a } from "../../../chunks/page-list-DUYDkWcj.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/Log-CPni6oj5.mjs";
5
+ import { t as o } from "../../../chunks/Log-DTQeRVz1.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  //#endregion
8
8
  //#region ../../packages/dlzn-ui/views/tool/job/index.vue
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Log-CPni6oj5.mjs";
1
+ import { t as e } from "../../../../chunks/Log-DTQeRVz1.mjs";
2
2
  export { e as default };