dlzn-ui 2.0.4 → 2.0.5

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 (115) hide show
  1. package/assets/button-Be7wyDo4.css +2 -0
  2. package/chunks/{Common-BQTZ_uz9.mjs → Common-B5NscAh_.mjs} +1 -1
  3. package/chunks/{Day-DHc-joxZ.mjs → Day-Ci8nR_Ll.mjs} +1 -1
  4. package/chunks/DictTypeDetail-B_aSmp0m.mjs +188 -0
  5. package/chunks/{Hour-C4kJ4rZT.mjs → Hour-C1yYXl7B.mjs} +1 -1
  6. package/chunks/{Index-7nQvK_SL.mjs → Index-Bb9OwRGB.mjs} +1 -1
  7. package/chunks/{Index-BJtXtnZE.mjs → Index-CHfwy4gI.mjs} +1 -1
  8. package/chunks/{Index-CCG3SRsb.mjs → Index-UHMQ6ORy.mjs} +1 -1
  9. package/chunks/{Index-Bk3I0k1K.mjs → Index-Z81MxcDh.mjs} +1 -1
  10. package/chunks/{IndexItem-BYR8l3fS.mjs → IndexItem-BWoJrz24.mjs} +1 -1
  11. package/chunks/{MenuNode-D8j_Ugxd.mjs → MenuNode-Dp1kCBvH.mjs} +1 -1
  12. package/chunks/{Minute-CvRY311e.mjs → Minute-CA5DlXsq.mjs} +1 -1
  13. package/chunks/{Month-CKIsP_K8.mjs → Month-D-4ld14M.mjs} +1 -1
  14. package/chunks/{Second-BA45p0oz.mjs → Second-RPGoCkey.mjs} +1 -1
  15. package/chunks/{UserInfo-BmzDf5OX.mjs → UserInfo-CrBlooGu.mjs} +1 -1
  16. package/chunks/{app-gfbohwfS.mjs → app-DiNoDaOD.mjs} +1 -1
  17. package/chunks/{button-CI_79tzA.mjs → button-BcpR95gj.mjs} +379 -378
  18. package/chunks/{custom-page-list-ClOelq_X.mjs → custom-page-list-DF3Qw4y7.mjs} +4 -4
  19. package/chunks/{custom-page-table-BmrOVzPO.mjs → custom-page-table-CH09hGDM.mjs} +2 -2
  20. package/chunks/{overview-B15xOap9.mjs → overview-BQQnpz4N.mjs} +1 -1
  21. package/chunks/{page-list-TMA20Io6.mjs → page-list-BjjvOqb5.mjs} +3 -3
  22. package/chunks/{page-query-CGlzVmmX.mjs → page-query-BCNFOYTD.mjs} +1 -1
  23. package/chunks/{page-table-BLWMUBZ0.mjs → page-table-VeEt8uuI.mjs} +3 -3
  24. package/chunks/{pagination-X1rzhDDh.mjs → pagination-BuhM6NW1.mjs} +1 -1
  25. package/chunks/{table-DI_apdgZ.mjs → table-B3z8z5O8.mjs} +1 -1
  26. package/components/app/index.mjs +1 -1
  27. package/components/app/src/app.mjs +1 -1
  28. package/components/button/index.mjs +1 -1
  29. package/components/button/src/button.mjs +1 -1
  30. package/components/checkbox-group/index.mjs +1 -1
  31. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  32. package/components/cron/index.mjs +1 -1
  33. package/components/cron/src/Common.mjs +1 -1
  34. package/components/cron/src/Day.mjs +1 -1
  35. package/components/cron/src/Hour.mjs +1 -1
  36. package/components/cron/src/Minute.mjs +1 -1
  37. package/components/cron/src/Month.mjs +1 -1
  38. package/components/cron/src/Picker.mjs +6 -6
  39. package/components/cron/src/Second.mjs +1 -1
  40. package/components/cron/src/cron.mjs +1 -1
  41. package/components/custom-page-list/index.mjs +1 -1
  42. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  43. package/components/custom-page-table/index.mjs +1 -1
  44. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  45. package/components/form/index.mjs +1 -1
  46. package/components/form/src/form.mjs +1 -1
  47. package/components/index.mjs +9 -9
  48. package/components/overview/index.mjs +1 -1
  49. package/components/overview/src/DicLabel/Index.mjs +1 -1
  50. package/components/overview/src/IndexItem.mjs +1 -1
  51. package/components/overview/src/overview.mjs +1 -1
  52. package/components/page-list/index.mjs +1 -1
  53. package/components/page-list/src/page-list.mjs +1 -1
  54. package/components/page-query/index.mjs +1 -1
  55. package/components/page-query/src/page-query.mjs +1 -1
  56. package/components/page-table/index.mjs +1 -1
  57. package/components/page-table/src/page-table.mjs +1 -1
  58. package/components/pagination/index.mjs +1 -1
  59. package/components/pagination/src/pagination.mjs +1 -1
  60. package/components/provider/index.mjs +1 -1
  61. package/components/provider/src/Provider.mjs +1 -1
  62. package/components/radio-group/index.mjs +1 -1
  63. package/components/radio-group/src/radio-group.mjs +1 -1
  64. package/components/select/index.mjs +1 -1
  65. package/components/select/src/select.mjs +1 -1
  66. package/components/select-sys-user/index.mjs +1 -1
  67. package/components/select-sys-user/src/Picker.mjs +2 -2
  68. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  69. package/components/table/index.mjs +1 -1
  70. package/components/table/src/table.mjs +1 -1
  71. package/components/tree/index.mjs +1 -1
  72. package/components/tree/src/tree.mjs +1 -1
  73. package/components/tree-select/index.mjs +1 -1
  74. package/components/tree-select/src/tree-select.mjs +1 -1
  75. package/components/upload/index.mjs +1 -1
  76. package/components/upload/src/upload.mjs +1 -1
  77. package/hooks/useDicOptions/index.mjs +1 -1
  78. package/hooks/useSysUser/index.mjs +1 -1
  79. package/index.d.ts +1 -1
  80. package/layout/Index.mjs +1 -1
  81. package/layout/Login.mjs +1 -1
  82. package/layout/NotFound.mjs +1 -1
  83. package/layout/index2.mjs +1 -1
  84. package/layout/modules/Aside.mjs +1 -1
  85. package/layout/modules/Breadcrumb.mjs +1 -1
  86. package/layout/modules/Header.mjs +1 -1
  87. package/layout/modules/MenuNode.mjs +1 -1
  88. package/layout/profile/Index.mjs +2 -2
  89. package/layout/profile/ResetPwd.mjs +1 -1
  90. package/layout/profile/UserInfo.mjs +1 -1
  91. package/package.json +1 -1
  92. package/plugins/autoImport/$alova/index.mjs +1 -1
  93. package/plugins/autoImport/$confirm/index.mjs +1 -1
  94. package/plugins/autoImport/$dialog/index.mjs +1 -1
  95. package/plugins/autoImport/$drawer/index.mjs +1 -1
  96. package/plugins/captcha/captcha.mjs +1 -1
  97. package/plugins/captcha/index.mjs +1 -1
  98. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  99. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  100. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  101. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  102. package/plugins/tableRenders/cell/index.mjs +3 -3
  103. package/router/index.mjs +1 -1
  104. package/store/modules/common.mjs +1 -1
  105. package/store/modules/login.mjs +1 -1
  106. package/store/modules/recentRouters.mjs +1 -1
  107. package/store/modules/router.mjs +1 -1
  108. package/store/modules/user.mjs +1 -1
  109. package/views/index.d.ts +4 -0
  110. package/views/index.mjs +7 -0
  111. package/views/system/dict/index.mjs +195 -0
  112. package/views/system/dict/index.vue.d.ts +3 -0
  113. package/views/system/dict/modules/DictTypeDetail.mjs +2 -0
  114. package/views/system/dict/modules/DictTypeDetail.vue.d.ts +6 -0
  115. package/assets/button-BtFXYlHm.css +0 -2
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Index-BJtXtnZE.mjs";
1
+ import { t as e } from "../../../../chunks/Index-CHfwy4gI.mjs";
2
2
  export { e as default };
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
2
2
  import { t } from "../../../chunks/Index-BChP9CTL.mjs";
3
- import { t as n } from "../../../chunks/Index-CCG3SRsb.mjs";
3
+ import { t as n } from "../../../chunks/Index-UHMQ6ORy.mjs";
4
4
  import { t as r } from "../../../chunks/Index-BuqrJDKe.mjs";
5
- import { t as i } from "../../../chunks/Index-7nQvK_SL.mjs";
5
+ import { t as i } from "../../../chunks/Index-Bb9OwRGB.mjs";
6
6
  import { t as a } from "../../../chunks/Index-Bye0GY_j.mjs";
7
7
  import { t as o } from "../../../chunks/Index-BwWS0oPl.mjs";
8
8
  import { t as s } from "../../../chunks/Index-bEWcnIHJ.mjs";
@@ -12,7 +12,7 @@ import { t as u } from "../../../chunks/Index-CwksT4hO.mjs";
12
12
  import { t as d } from "../../../chunks/Index-CS1bfxu7.mjs";
13
13
  import { t as f } from "../../../chunks/Index-DC0L_zaY.mjs";
14
14
  import { t as p } from "../../../chunks/Index-Bi44jQm2.mjs";
15
- import { t as m } from "../../../chunks/Index-BJtXtnZE.mjs";
15
+ import { t as m } from "../../../chunks/Index-CHfwy4gI.mjs";
16
16
  import { t as h } from "../../../chunks/Index--rlVexBg.mjs";
17
17
  import { t as g } from "../../../chunks/Index-De48YIRG.mjs";
18
18
  import { t as _ } from "../../../chunks/Index-DU8S7od8.mjs";
package/router/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { E as e, T as t, w as n } from "../chunks/button-CI_79tzA.mjs";
1
+ import { E as e, T as t, w as n } from "../chunks/button-BcpR95gj.mjs";
2
2
  export { e as default, n as getRoute, t as getTopRoute };
@@ -1,2 +1,2 @@
1
- import { H as e } from "../../chunks/button-CI_79tzA.mjs";
1
+ import { H as e } from "../../chunks/button-BcpR95gj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { A as e } from "../../chunks/button-CI_79tzA.mjs";
1
+ import { A as e } from "../../chunks/button-BcpR95gj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { V as e } from "../../chunks/button-CI_79tzA.mjs";
1
+ import { V as e } from "../../chunks/button-BcpR95gj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { B as e, z as t } from "../../chunks/button-CI_79tzA.mjs";
1
+ import { B as e, z as t } from "../../chunks/button-BcpR95gj.mjs";
2
2
  export { e as default, t as getRoutersMethod };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t } from "../../chunks/button-CI_79tzA.mjs";
1
+ import { n as e, r as t } from "../../chunks/button-BcpR95gj.mjs";
2
2
  export { t as default, e as getUserInfoMethod };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ [x: string]: AsyncVueComponentLoaderDefault;
3
+ };
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import e from "virtual:dlzn-ui/app-params";
2
+ var t = {
3
+ .../* @__PURE__ */ Object.assign({ "./system/dict/index.vue": () => import("./system/dict/index.mjs") }),
4
+ ...e.viewsEntryLazyImport
5
+ };
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,195 @@
1
+ import { F as e, P as t, a as n, x as r } from "../../../chunks/button-BcpR95gj.mjs";
2
+ import i from "../../../plugins/autoImport/$msg/index.mjs";
3
+ import { t as a } from "../../../chunks/page-list-BjjvOqb5.mjs";
4
+ import "../../../components/page-list/index.mjs";
5
+ import { t as o } from "../../../chunks/DictTypeDetail-B_aSmp0m.mjs";
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
+ //#endregion
8
+ //#region ../../packages/dlzn-ui/views/system/dict/index.vue
9
+ var _ = /* @__PURE__ */ c({
10
+ __name: "index",
11
+ setup(c) {
12
+ let _ = h("pageListRef"), v = {
13
+ dateRange: {
14
+ _class: "col-span-2",
15
+ _label: "创建时间",
16
+ component: "TDatePicker",
17
+ model: "dateRange",
18
+ type: "daterange"
19
+ },
20
+ dictName: {
21
+ _label: "字典名称",
22
+ _required: !0,
23
+ component: "TInput",
24
+ model: "dictName"
25
+ },
26
+ dictType: {
27
+ _label: "字典类型",
28
+ _required: !0,
29
+ component: "TInput",
30
+ model: "dictType"
31
+ },
32
+ remark: {
33
+ _label: "备注",
34
+ component: "TTextarea",
35
+ model: "remark"
36
+ },
37
+ status: {
38
+ _label: "状态",
39
+ component: "TSelect",
40
+ dicCode: "sys_normal_disable",
41
+ model: "status"
42
+ }
43
+ }, y = {
44
+ apis: {
45
+ delete: {
46
+ method: "system/dict/type",
47
+ permission: "system:dict:remove"
48
+ },
49
+ export: {
50
+ method: "system/dict/type/export",
51
+ permission: "system:dict:export"
52
+ },
53
+ list: { method: (e) => r.Get("system/dict/type/list", { params: {
54
+ ...e,
55
+ dateRange: void 0,
56
+ "params[beginTime]": e.dateRange[0] ?? "",
57
+ "params[endTime]": e.dateRange[1] ?? ""
58
+ } }) }
59
+ },
60
+ columns: [
61
+ {
62
+ colKey: "dictId",
63
+ title: "字典编号"
64
+ },
65
+ {
66
+ colKey: "dictName",
67
+ title: "字典名称"
68
+ },
69
+ {
70
+ cell: (t, { row: n }) => ({
71
+ component: "TypographyTextLink",
72
+ link: { onClick: () => {
73
+ e({
74
+ body: () => l(o, { dictType: n.dictType }),
75
+ footer: !1,
76
+ header: `字典类型: ${n.dictName}(${n.dictType})`,
77
+ width: 1500
78
+ });
79
+ } }
80
+ }),
81
+ colKey: "dictType",
82
+ title: "字典类型"
83
+ },
84
+ {
85
+ cell: {
86
+ component: "DicLabel",
87
+ dicCode: "sys_normal_disable"
88
+ },
89
+ colKey: "status",
90
+ title: "状态"
91
+ },
92
+ {
93
+ colKey: "remark",
94
+ title: "备注"
95
+ },
96
+ {
97
+ colKey: "createBy",
98
+ title: "创建人"
99
+ },
100
+ {
101
+ colKey: "createTime",
102
+ title: "创建时间"
103
+ },
104
+ {
105
+ cell: {
106
+ buttons: [({ row: e }) => ({
107
+ default: "编辑",
108
+ onClick: () => {
109
+ let a = p(null);
110
+ g(a, () => {
111
+ a.value.setFormData(e);
112
+ }, { once: !0 }), t({
113
+ body: () => l(n, {
114
+ items: [
115
+ v.dictName,
116
+ v.dictType,
117
+ {
118
+ ...v.status,
119
+ component: "TRadioGroup"
120
+ },
121
+ v.remark
122
+ ],
123
+ labelAlign: "right",
124
+ layout: "vertical",
125
+ ref: a
126
+ }),
127
+ header: "修改字典类型",
128
+ onConfirmCallback: async () => {
129
+ await r.Put("system/dict/type", {
130
+ ...await a.value.validate(),
131
+ dictId: e.dictId
132
+ }), i.success("字典类型修改成功"), _.value.query();
133
+ },
134
+ width: 430
135
+ });
136
+ },
137
+ permission: "system:dict:edit"
138
+ })],
139
+ component: "Buttons"
140
+ },
141
+ colKey: "_operation",
142
+ title: "操作"
143
+ }
144
+ ],
145
+ formItems: [
146
+ v.dictName,
147
+ v.dictType,
148
+ v.status,
149
+ v.dateRange
150
+ ],
151
+ operations: [{
152
+ default: "新增",
153
+ onClick: () => {
154
+ let e = p(null);
155
+ t({
156
+ body: () => l(n, {
157
+ data: f({ status: "0" }),
158
+ items: [
159
+ v.dictName,
160
+ v.dictType,
161
+ {
162
+ ...v.status,
163
+ component: "TRadioGroup"
164
+ },
165
+ v.remark
166
+ ],
167
+ labelAlign: "right",
168
+ layout: "vertical",
169
+ ref: e
170
+ }),
171
+ header: "添加字典类型",
172
+ onConfirmCallback: async () => {
173
+ await r.Post("system/dict/type", await e.value.validate()), i.success("字典添加成功"), _.value.query();
174
+ },
175
+ width: 430
176
+ });
177
+ },
178
+ permission: "system:dict:add"
179
+ }, {
180
+ default: "刷新缓存",
181
+ onClick: async () => {
182
+ await r.Delete("system/dict/type/refreshCache", void 0, { meta: { useSuccessMsg: !0 } }), _.value.query();
183
+ },
184
+ permission: "system:dict:remove"
185
+ }],
186
+ tableOtherProps: { rowKey: "dictId" }
187
+ };
188
+ return (e, t) => (d(), s(m(a), u({
189
+ ref_key: "pageListRef",
190
+ ref: _
191
+ }, y), null, 16));
192
+ }
193
+ });
194
+ //#endregion
195
+ export { _ as default };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../../../chunks/DictTypeDetail-B_aSmp0m.mjs";
2
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ dictType: string;
3
+ };
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -1,2 +0,0 @@
1
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- [data-v-be8f68b6] .t-default-menu__inner .t-menu{padding:4px 0}[data-v-be8f68b6] .t-menu__logo{height:var(--td-comp-size-xxl)!important;border-bottom:none!important}[data-v-be8f68b6] .t-menu{padding-top:0!important;padding-bottom:0!important}.t-default-menu[data-v-be8f68b6] .t-menu__item{height:var(--td-comp-size-xl);line-height:var(--td-comp-size-xl);padding:0 10px}.t-default-menu[data-v-be8f68b6] .t-menu__item.t-is-active{color:var(--td-brand-color)}.t-head-menu[data-v-cdf58b1a]{--td-comp-paddingLR-m:var(--td-size-3);--td-comp-size-xxxl:var(--td-comp-size-xxl)}[data-v-cdf58b1a]{--td-comp-size-xxxl:calc(var(--td-comp-size-xxl) + 1px)}[data-v-cdf58b1a] .t-menu__logo{margin:0 8px!important}[data-v-cdf58b1a] .t-head-menu__inner li+li{margin-left:4px}.el-scrollbar[data-v-0f5b5eef]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.h-full){height:100%}.el-scrollbar[data-v-0f5b5eef]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.no_main_padding){padding:0!important}.t-popup__content:has(.t-select__dropdown-inner>.t-select__empty){justify-content:center;align-items:center;display:flex}.t-upload.file[data-v-730cff70] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-730cff70] .t-upload__trigger .t-button{pointer-events:auto}[data-v-b3c2c148] .t-form__label{padding-right:var(--td-size-1)}[data-v-b3c2c148] .t-form__label--top{min-height:auto;line-height:inherit}[data-v-b3c2c148] .t-form__item{margin-bottom:var(--td-comp-margin-xxl)!important}[data-v-b3c2c148] .t-form__item.no_label_item .t-form__label{display:none}[data-v-b3c2c148] .t-form__item .t-input-adornment{flex:auto}.t-form[data-v-b3c2c148]{--td-comp-margin-xxl:var(--td-comp-margin-xl)}.t-form[data-v-b3c2c148]:has(.t-form__item:not(.no_label_item)) .no_label_item .t-form__label{opacity:0;height:1px;padding-right:0;display:block}.t-form.no_item_mb .t-form__item[data-v-b3c2c148]{margin-bottom:0!important}.t-form-inline[data-v-b3c2c148]{--repeat-min-width:220px;--repeat-gap:24px;grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}.t-form-inline[data-v-b3c2c148] .no_label_item{align-self:flex-end}.t-form-inline[data-v-b3c2c148] .t-form__item{min-width:auto;margin-right:0;display:block}.t-form-inline[data-v-b3c2c148] .t-form__item.grid_item .t-form__controls-content{grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}[data-v-41e01020] .iconify{flex-shrink:0;font-size:var(--td-font-size-body-large)!important}[data-v-41e01020] .iconify+.t-button__text:not(:empty){margin-left:8px}.t-size-s[data-v-41e01020] .iconify{font-size:var(--td-font-size-body-medium)!important}.t-size-l[data-v-41e01020] .iconify{font-size:var(--td-font-size-title-large)!important}.t-button+.t-button[data-v-41e01020]{margin-left:var(--td-comp-margin-m)}.t-button+.t-button.t-size-s[data-v-41e01020]{margin-left:var(--td-comp-margin-xs)}