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.
- package/assets/button-Be7wyDo4.css +2 -0
- package/chunks/{Common-BQTZ_uz9.mjs → Common-B5NscAh_.mjs} +1 -1
- package/chunks/{Day-DHc-joxZ.mjs → Day-Ci8nR_Ll.mjs} +1 -1
- package/chunks/DictTypeDetail-B_aSmp0m.mjs +188 -0
- package/chunks/{Hour-C4kJ4rZT.mjs → Hour-C1yYXl7B.mjs} +1 -1
- package/chunks/{Index-7nQvK_SL.mjs → Index-Bb9OwRGB.mjs} +1 -1
- package/chunks/{Index-BJtXtnZE.mjs → Index-CHfwy4gI.mjs} +1 -1
- package/chunks/{Index-CCG3SRsb.mjs → Index-UHMQ6ORy.mjs} +1 -1
- package/chunks/{Index-Bk3I0k1K.mjs → Index-Z81MxcDh.mjs} +1 -1
- package/chunks/{IndexItem-BYR8l3fS.mjs → IndexItem-BWoJrz24.mjs} +1 -1
- package/chunks/{MenuNode-D8j_Ugxd.mjs → MenuNode-Dp1kCBvH.mjs} +1 -1
- package/chunks/{Minute-CvRY311e.mjs → Minute-CA5DlXsq.mjs} +1 -1
- package/chunks/{Month-CKIsP_K8.mjs → Month-D-4ld14M.mjs} +1 -1
- package/chunks/{Second-BA45p0oz.mjs → Second-RPGoCkey.mjs} +1 -1
- package/chunks/{UserInfo-BmzDf5OX.mjs → UserInfo-CrBlooGu.mjs} +1 -1
- package/chunks/{app-gfbohwfS.mjs → app-DiNoDaOD.mjs} +1 -1
- package/chunks/{button-CI_79tzA.mjs → button-BcpR95gj.mjs} +379 -378
- package/chunks/{custom-page-list-ClOelq_X.mjs → custom-page-list-DF3Qw4y7.mjs} +4 -4
- package/chunks/{custom-page-table-BmrOVzPO.mjs → custom-page-table-CH09hGDM.mjs} +2 -2
- package/chunks/{overview-B15xOap9.mjs → overview-BQQnpz4N.mjs} +1 -1
- package/chunks/{page-list-TMA20Io6.mjs → page-list-BjjvOqb5.mjs} +3 -3
- package/chunks/{page-query-CGlzVmmX.mjs → page-query-BCNFOYTD.mjs} +1 -1
- package/chunks/{page-table-BLWMUBZ0.mjs → page-table-VeEt8uuI.mjs} +3 -3
- package/chunks/{pagination-X1rzhDDh.mjs → pagination-BuhM6NW1.mjs} +1 -1
- package/chunks/{table-DI_apdgZ.mjs → table-B3z8z5O8.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/index.d.ts +1 -1
- package/layout/Index.mjs +1 -1
- package/layout/Login.mjs +1 -1
- package/layout/NotFound.mjs +1 -1
- package/layout/index2.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +3 -3
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/views/index.d.ts +4 -0
- package/views/index.mjs +7 -0
- package/views/system/dict/index.mjs +195 -0
- package/views/system/dict/index.vue.d.ts +3 -0
- package/views/system/dict/modules/DictTypeDetail.mjs +2 -0
- package/views/system/dict/modules/DictTypeDetail.vue.d.ts +6 -0
- package/assets/button-BtFXYlHm.css +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
[data-v-8784a0a1] .t-menu__logo{height:var(--td-comp-size-xxl)!important;border-bottom:none!important}[data-v-8784a0a1] .t-menu{padding:0!important}.t-default-menu[data-v-8784a0a1] .t-menu__item{height:var(--td-comp-size-xl);line-height:var(--td-comp-size-xl)}.t-default-menu[data-v-8784a0a1] .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)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e, g as t, m as n } from "./button-
|
|
1
|
+
import { f as e, g as t, m as n } from "./button-BcpR95gj.mjs";
|
|
2
2
|
import { isFalsy as r, isValidNumberString as i } from "../utils/boolean.mjs";
|
|
3
3
|
import { stringDisplay as a } from "../utils/string.mjs";
|
|
4
4
|
import "../utils/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e, g as t, m as n } from "./button-
|
|
1
|
+
import { f as e, g as t, m as n } from "./button-BcpR95gj.mjs";
|
|
2
2
|
import { isValidNumberString as r } from "../utils/boolean.mjs";
|
|
3
3
|
import "../utils/index.mjs";
|
|
4
4
|
import { createBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, reactive as u, unref as d, useModel as f, watch as p, withCtx as m } from "vue";
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { P as e, a as t, x as n } from "./button-BcpR95gj.mjs";
|
|
2
|
+
import r from "../plugins/autoImport/$msg/index.mjs";
|
|
3
|
+
import { t as i } from "./page-list-BjjvOqb5.mjs";
|
|
4
|
+
import "../components/page-list/index.mjs";
|
|
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
|
+
//#endregion
|
|
7
|
+
//#region ../../packages/dlzn-ui/views/system/dict/modules/DictTypeDetail.vue
|
|
8
|
+
var h = /* @__PURE__ */ o({
|
|
9
|
+
__name: "DictTypeDetail",
|
|
10
|
+
props: { dictType: {} },
|
|
11
|
+
setup(o) {
|
|
12
|
+
let h = o, g = p("pageListRef"), _ = {
|
|
13
|
+
dictLabel: {
|
|
14
|
+
_label: "数据名",
|
|
15
|
+
_required: !0,
|
|
16
|
+
component: "TInput",
|
|
17
|
+
model: "dictLabel"
|
|
18
|
+
},
|
|
19
|
+
dictSort: {
|
|
20
|
+
_label: "字典排序",
|
|
21
|
+
_required: !0,
|
|
22
|
+
component: "TInputNumber",
|
|
23
|
+
decimalPlaces: 0,
|
|
24
|
+
model: "dictSort",
|
|
25
|
+
theme: "row"
|
|
26
|
+
},
|
|
27
|
+
dictType: {
|
|
28
|
+
_label: "字典类型",
|
|
29
|
+
component: "TInput",
|
|
30
|
+
disabled: !0,
|
|
31
|
+
model: "dictType"
|
|
32
|
+
},
|
|
33
|
+
dictValue: {
|
|
34
|
+
_label: "数据值",
|
|
35
|
+
_required: !0,
|
|
36
|
+
component: "TInput",
|
|
37
|
+
model: "dictValue"
|
|
38
|
+
},
|
|
39
|
+
remark: {
|
|
40
|
+
_label: "备注",
|
|
41
|
+
component: "TTextarea",
|
|
42
|
+
model: "remark"
|
|
43
|
+
},
|
|
44
|
+
status: {
|
|
45
|
+
_label: "状态",
|
|
46
|
+
component: "TRadioGroup",
|
|
47
|
+
dicCode: "sys_normal_disable",
|
|
48
|
+
model: "status"
|
|
49
|
+
}
|
|
50
|
+
}, v = {
|
|
51
|
+
apis: {
|
|
52
|
+
delete: {
|
|
53
|
+
method: "system/dict/data",
|
|
54
|
+
permission: "system:dict:remove",
|
|
55
|
+
showBatch: !0
|
|
56
|
+
},
|
|
57
|
+
list: { method: (e) => n.Get("system/dict/data/list", { params: {
|
|
58
|
+
...e,
|
|
59
|
+
dictType: h.dictType
|
|
60
|
+
} }) }
|
|
61
|
+
},
|
|
62
|
+
cardProps: {
|
|
63
|
+
bodyClassName: "p-0!",
|
|
64
|
+
shadow: !1
|
|
65
|
+
},
|
|
66
|
+
columns: [
|
|
67
|
+
{
|
|
68
|
+
colKey: "dictCode",
|
|
69
|
+
title: "字典编码"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
colKey: "dictLabel",
|
|
73
|
+
title: "字典标签"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
colKey: "dictValue",
|
|
77
|
+
title: "字典值"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
colKey: "dictSort",
|
|
81
|
+
title: "字典排序"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
cell: {
|
|
85
|
+
component: "DicLabel",
|
|
86
|
+
dicCode: "sys_normal_disable"
|
|
87
|
+
},
|
|
88
|
+
colKey: "status",
|
|
89
|
+
title: "状态"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
colKey: "remark",
|
|
93
|
+
title: "备注"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
colKey: "createBy",
|
|
97
|
+
title: "创建人"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
colKey: "createTime",
|
|
101
|
+
title: "创建时间"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
cell: {
|
|
105
|
+
buttons: [({ row: i }) => ({
|
|
106
|
+
default: "编辑",
|
|
107
|
+
onClick: () => {
|
|
108
|
+
let a = d(null);
|
|
109
|
+
m(a, () => {
|
|
110
|
+
a.value.setFormData(i);
|
|
111
|
+
}, { once: !0 }), e({
|
|
112
|
+
body: () => s(t, {
|
|
113
|
+
items: [
|
|
114
|
+
_.dictType,
|
|
115
|
+
_.dictLabel,
|
|
116
|
+
_.dictValue,
|
|
117
|
+
_.dictSort,
|
|
118
|
+
_.status,
|
|
119
|
+
_.remark
|
|
120
|
+
],
|
|
121
|
+
labelAlign: "right",
|
|
122
|
+
layout: "vertical",
|
|
123
|
+
ref: a
|
|
124
|
+
}),
|
|
125
|
+
header: "修改字典数据",
|
|
126
|
+
onConfirmCallback: async () => {
|
|
127
|
+
await n.Put("system/dict/data", {
|
|
128
|
+
...await a.value.validate(),
|
|
129
|
+
dictCode: i.dictCode
|
|
130
|
+
}), r.success("字典数据修改成功"), g.value.query();
|
|
131
|
+
},
|
|
132
|
+
width: 430
|
|
133
|
+
});
|
|
134
|
+
},
|
|
135
|
+
permission: "system:dict:edit"
|
|
136
|
+
})],
|
|
137
|
+
component: "Buttons"
|
|
138
|
+
},
|
|
139
|
+
colKey: "_operation",
|
|
140
|
+
title: "操作"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
operations: [{
|
|
144
|
+
default: "新增",
|
|
145
|
+
onClick: () => {
|
|
146
|
+
let i = d(null);
|
|
147
|
+
e({
|
|
148
|
+
body: () => s(t, {
|
|
149
|
+
data: u({
|
|
150
|
+
dictType: h.dictType,
|
|
151
|
+
status: "0"
|
|
152
|
+
}),
|
|
153
|
+
items: [
|
|
154
|
+
_.dictType,
|
|
155
|
+
_.dictLabel,
|
|
156
|
+
_.dictValue,
|
|
157
|
+
_.dictSort,
|
|
158
|
+
_.status,
|
|
159
|
+
_.remark
|
|
160
|
+
],
|
|
161
|
+
labelAlign: "right",
|
|
162
|
+
layout: "vertical",
|
|
163
|
+
ref: i
|
|
164
|
+
}),
|
|
165
|
+
header: "添加字典数据",
|
|
166
|
+
onConfirmCallback: async () => {
|
|
167
|
+
await n.Post("system/dict/data", await i.value.validate()), r.success("字典数据添加成功"), g.value.query();
|
|
168
|
+
},
|
|
169
|
+
width: 430
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
permission: "system:dict:add"
|
|
173
|
+
}],
|
|
174
|
+
tableOtherProps: {
|
|
175
|
+
flexHeight: !1,
|
|
176
|
+
rowKey: "dictCode",
|
|
177
|
+
showColumnConfigBtn: !1,
|
|
178
|
+
showToggleFullscreenBtn: !1
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
return (e, t) => (l(), a(f(i), c({
|
|
182
|
+
ref_key: "pageListRef",
|
|
183
|
+
ref: g
|
|
184
|
+
}, v), null, 16));
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
//#endregion
|
|
188
|
+
export { h as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as e, p as t } from "./button-
|
|
1
|
+
import { f as e, p as t } from "./button-BcpR95gj.mjs";
|
|
2
2
|
import { createBlock as n, defineComponent as r, mergeDefaults as i, mergeModels as a, mergeProps as o, openBlock as s, unref as c, useAttrs as l, useModel as u } from "vue";
|
|
3
3
|
import { get as d, set as f } from "lodash-es";
|
|
4
4
|
import '../assets/Index-CgpaCUYu.css';//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
2
|
import { stringDisplay as t } from "../utils/string.mjs";
|
|
3
3
|
import "../utils/index.mjs";
|
|
4
|
-
import { t as n } from "./Index-
|
|
4
|
+
import { t as n } from "./Index-Z81MxcDh.mjs";
|
|
5
5
|
import { t as r } from "./Index-Bu5a_B5n.mjs";
|
|
6
6
|
import { createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, h as u, mergeProps as d, normalizeProps as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
|
|
7
7
|
import { useResizeObserver as b, useThrottleFn as x } from "@vueuse/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Common-
|
|
1
|
+
import { t as e } from "./Common-B5NscAh_.mjs";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../../packages/dlzn-ui/components/cron/src/Minute.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Common-
|
|
1
|
+
import { t as e } from "./Common-B5NscAh_.mjs";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../../packages/dlzn-ui/components/cron/src/Month.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Common-
|
|
1
|
+
import { t as e } from "./Common-B5NscAh_.mjs";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../../packages/dlzn-ui/components/cron/src/Second.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as e, a as t, r as n, t as r, x as i, y as a } from "./button-
|
|
1
|
+
import { V as e, a as t, r as n, t as r, x as i, y as a } from "./button-BcpR95gj.mjs";
|
|
2
2
|
import { createBlock as o, createTextVNode as s, createVNode as c, defineComponent as l, inject as u, openBlock as d, reactive as f, unref as p, useTemplateRef as m, watchEffect as h, withCtx as g } from "vue";
|
|
3
3
|
import { useRoute as _ } from "vue-router";
|
|
4
4
|
//#endregion
|