@skyfox2000/webui 1.2.9 → 1.2.10
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/package.json +1 -1
- package/src/stores/userInfo.ts +28 -2
- package/lib/AceEditor.d.ts +0 -1
- package/lib/BasicLayout.d.ts +0 -1
- package/lib/Error403.d.ts +0 -1
- package/lib/Error404.d.ts +0 -1
- package/lib/ExcelForm.d.ts +0 -1
- package/lib/UploadForm.d.ts +0 -1
- package/lib/assets/modules/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/lib/assets/modules/file-upload-BYIvmkmy.js +0 -204
- package/lib/assets/modules/form-excel-BUX2QW11.js +0 -235
- package/lib/assets/modules/index-DcRkhkn2.js +0 -109
- package/lib/assets/modules/index-jl5Ie2tZ.js +0 -112
- package/lib/assets/modules/menuTabs-DY1XBq16.js +0 -671
- package/lib/assets/modules/toolIcon-BDIOj_3l.js +0 -50
- package/lib/assets/modules/uploadList-BPG5whz7.js +0 -369
- package/lib/assets/modules/uploadList-D2Ux4h1N.js +0 -2253
- package/lib/components/common/button/index.vue.d.ts +0 -41
- package/lib/components/common/icon/appicon.vue.d.ts +0 -11
- package/lib/components/common/icon/fullscreen.vue.d.ts +0 -3
- package/lib/components/common/icon/helper.vue.d.ts +0 -22
- package/lib/components/common/icon/index.vue.d.ts +0 -243
- package/lib/components/common/icon/layoutIcon.vue.d.ts +0 -43
- package/lib/components/common/icon/projectIcon.vue.d.ts +0 -59
- package/lib/components/common/icon/toolIcon.vue.d.ts +0 -43
- package/lib/components/common/index.d.ts +0 -20
- package/lib/components/common/loading/index.vue.d.ts +0 -3
- package/lib/components/common/tooltip/index.vue.d.ts +0 -21
- package/lib/components/content/dialog/index.vue.d.ts +0 -35
- package/lib/components/content/drawer/index.vue.d.ts +0 -28
- package/lib/components/content/form/formItem.vue.d.ts +0 -27
- package/lib/components/content/form/index.vue.d.ts +0 -25
- package/lib/components/content/index.d.ts +0 -22
- package/lib/components/content/search/index.vue.d.ts +0 -30
- package/lib/components/content/search/searchItem.vue.d.ts +0 -23
- package/lib/components/content/table/index.vue.d.ts +0 -36
- package/lib/components/content/table/tableOperate.vue.d.ts +0 -18
- package/lib/components/content/toolbar/icontool.vue.d.ts +0 -7
- package/lib/components/content/toolbar/index.vue.d.ts +0 -18
- package/lib/components/content/tree/index.vue.d.ts +0 -46
- package/lib/components/form/aceEditor/aceConfig.d.ts +0 -8
- package/lib/components/form/autoComplete/index.vue.d.ts +0 -176
- package/lib/components/form/cascader/index.vue.d.ts +0 -120
- package/lib/components/form/checkbox/index.vue.d.ts +0 -139
- package/lib/components/form/datePicker/index.vue.d.ts +0 -6
- package/lib/components/form/index.d.ts +0 -39
- package/lib/components/form/input/index.vue.d.ts +0 -26
- package/lib/components/form/input/inputIcon.vue.d.ts +0 -10
- package/lib/components/form/input/inputNumber.vue.d.ts +0 -3
- package/lib/components/form/input/inputPassword.vue.d.ts +0 -3
- package/lib/components/form/propEditor/index.vue.d.ts +0 -21
- package/lib/components/form/radio/index.vue.d.ts +0 -144
- package/lib/components/form/radio/radioStatus.vue.d.ts +0 -31
- package/lib/components/form/rangePicker/index.vue.d.ts +0 -16
- package/lib/components/form/select/index.vue.d.ts +0 -153
- package/lib/components/form/switch/index.vue.d.ts +0 -43
- package/lib/components/form/textarea/index.vue.d.ts +0 -3
- package/lib/components/form/transfer/index.vue.d.ts +0 -38
- package/lib/components/form/transfer/transferTable.vue.d.ts +0 -38
- package/lib/components/form/treeSelect/index.vue.d.ts +0 -38
- package/lib/components/form/upload/uploadList.vue.d.ts +0 -487
- package/lib/components/index.d.ts +0 -4
- package/lib/components/layout/breadcrumb/index.vue.d.ts +0 -3
- package/lib/components/layout/content/index.vue.d.ts +0 -22
- package/lib/components/layout/datetime/index.vue.d.ts +0 -3
- package/lib/components/layout/header/headerExits.vue.d.ts +0 -3
- package/lib/components/layout/header/index.vue.d.ts +0 -3
- package/lib/components/layout/header/user.vue.d.ts +0 -3
- package/lib/components/layout/index.d.ts +0 -14
- package/lib/components/layout/menu/index.vue.d.ts +0 -6
- package/lib/components/layout/menu/menuTabs.vue.d.ts +0 -3
- package/lib/const/options.d.ts +0 -32
- package/lib/directives/enter-submit.d.ts +0 -4
- package/lib/directives/index.d.ts +0 -2
- package/lib/directives/permission.d.ts +0 -5
- package/lib/es/AceEditor/index.js +0 -167
- package/lib/es/BasicLayout/index.js +0 -101
- package/lib/es/Error403/index.js +0 -39
- package/lib/es/Error404/index.js +0 -39
- package/lib/es/ExcelForm/index.js +0 -321
- package/lib/es/UploadForm/index.js +0 -110
- package/lib/index.d.ts +0 -45
- package/lib/router/index.d.ts +0 -15
- package/lib/stores/appInfo.d.ts +0 -31
- package/lib/stores/hostInfo.d.ts +0 -9
- package/lib/stores/pageInfo.d.ts +0 -18
- package/lib/stores/pinia.d.ts +0 -3
- package/lib/stores/settingInfo.d.ts +0 -8
- package/lib/stores/userInfo.d.ts +0 -24
- package/lib/typings/data.d.ts +0 -80
- package/lib/typings/form.d.ts +0 -187
- package/lib/typings/menu.d.ts +0 -7
- package/lib/typings/option.d.ts +0 -189
- package/lib/typings/page.d.ts +0 -70
- package/lib/typings/table.d.ts +0 -181
- package/lib/typings/tools.d.ts +0 -130
- package/lib/typings/tree.d.ts +0 -72
- package/lib/typings/upload.d.ts +0 -161
- package/lib/typings/urls.d.ts +0 -69
- package/lib/utils/cache.d.ts +0 -23
- package/lib/utils/data.d.ts +0 -6
- package/lib/utils/download.d.ts +0 -4
- package/lib/utils/eventbus.d.ts +0 -16
- package/lib/utils/export-table.d.ts +0 -12
- package/lib/utils/file-upload.d.ts +0 -17
- package/lib/utils/form-excel.d.ts +0 -33
- package/lib/utils/form-validate.d.ts +0 -29
- package/lib/utils/form.d.ts +0 -9
- package/lib/utils/icon-loader.d.ts +0 -125
- package/lib/utils/isEmpty.d.ts +0 -1
- package/lib/utils/main-openapis.d.ts +0 -8
- package/lib/utils/menu.d.ts +0 -6
- package/lib/utils/options.d.ts +0 -10
- package/lib/utils/page.d.ts +0 -25
- package/lib/utils/table.d.ts +0 -21
- package/lib/utils/tools.d.ts +0 -18
- package/lib/utils/tree.d.ts +0 -3
- package/lib/vite-env.d.ts +0 -8
- package/lib/webui.css +0 -1
- package/lib/webui.es.js +0 -2262
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, provide as _, ref as w, watch as p, onMounted as B, createBlock as n, openBlock as r, unref as a, withCtx as i, createElementVNode as N, renderSlot as b, createVNode as V, createCommentVNode as d, createTextVNode as u, toDisplayString as v } from "vue";
|
|
2
|
-
import { _ as m } from "./index-DcRkhkn2.js";
|
|
3
|
-
import { Modal as D, Space as E } from "ant-design-vue";
|
|
4
|
-
import "@skyfox2000/fapi";
|
|
5
|
-
import { P as M, d as P, o as $, b as K } from "./uploadList-D2Ux4h1N.js";
|
|
6
|
-
import "@skyfox2000/microbase";
|
|
7
|
-
import "vue-m-message";
|
|
8
|
-
import "async-validator";
|
|
9
|
-
import "dayjs";
|
|
10
|
-
import "vue-draggable-next";
|
|
11
|
-
const U = { class: "overflow-y-auto w-full h-full" }, R = /* @__PURE__ */ F({
|
|
12
|
-
__name: "index",
|
|
13
|
-
props: {
|
|
14
|
-
saveText: {},
|
|
15
|
-
saveAsText: {},
|
|
16
|
-
cancelText: {},
|
|
17
|
-
editorCtrl: {},
|
|
18
|
-
dialogSave: { type: Function },
|
|
19
|
-
dialogSaveAs: { type: Function },
|
|
20
|
-
width: {},
|
|
21
|
-
full: { type: Boolean },
|
|
22
|
-
open: { type: Boolean }
|
|
23
|
-
},
|
|
24
|
-
emits: ["update:open"],
|
|
25
|
-
setup(C, { emit: T }) {
|
|
26
|
-
const l = C, e = l.editorCtrl;
|
|
27
|
-
_(M.EditorControl, e);
|
|
28
|
-
const t = w(l.open ?? !1), A = T, h = w(l.width ?? 430);
|
|
29
|
-
p(
|
|
30
|
-
() => e == null ? void 0 : e.visible.value,
|
|
31
|
-
(o) => {
|
|
32
|
-
t.value = o ?? !1;
|
|
33
|
-
}
|
|
34
|
-
), p(
|
|
35
|
-
() => l.open,
|
|
36
|
-
(o) => {
|
|
37
|
-
t.value = o;
|
|
38
|
-
}
|
|
39
|
-
), p(
|
|
40
|
-
() => t.value,
|
|
41
|
-
(o) => {
|
|
42
|
-
A("update:open", o), o || f();
|
|
43
|
-
}
|
|
44
|
-
), B(() => {
|
|
45
|
-
t.value = (e == null ? void 0 : e.visible.value) ?? !1;
|
|
46
|
-
});
|
|
47
|
-
const k = () => {
|
|
48
|
-
l.dialogSave ? l.dialogSave() : e && $(e);
|
|
49
|
-
}, x = () => {
|
|
50
|
-
l.dialogSaveAs ? l.dialogSaveAs() : e && K(e);
|
|
51
|
-
}, f = () => {
|
|
52
|
-
e ? P(e) : t.value = !1;
|
|
53
|
-
};
|
|
54
|
-
return (o, c) => (r(), n(a(D), {
|
|
55
|
-
open: t.value,
|
|
56
|
-
"onUpdate:open": c[0] || (c[0] = (s) => t.value = s),
|
|
57
|
-
wrapClassName: "modal mx-auto min-w-[430px] " + (o.full ? "full-modal w-full" : ""),
|
|
58
|
-
width: h.value
|
|
59
|
-
}, {
|
|
60
|
-
footer: i(() => [
|
|
61
|
-
V(a(E), null, {
|
|
62
|
-
default: i(() => {
|
|
63
|
-
var s, g, S, y;
|
|
64
|
-
return [
|
|
65
|
-
o.cancelText !== "" ? (r(), n(a(m), {
|
|
66
|
-
key: 0,
|
|
67
|
-
onClick: f
|
|
68
|
-
}, {
|
|
69
|
-
default: i(() => [
|
|
70
|
-
u(v(o.cancelText ?? "取消"), 1)
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
})) : d("", !0),
|
|
74
|
-
o.saveAsText !== "" && ((s = a(e)) == null ? void 0 : s.saveAsBtnVisible) !== !1 ? (r(), n(a(m), {
|
|
75
|
-
key: 1,
|
|
76
|
-
onClick: x,
|
|
77
|
-
type: "primary",
|
|
78
|
-
loading: (g = a(e)) == null ? void 0 : g.isFormSaving.value
|
|
79
|
-
}, {
|
|
80
|
-
default: i(() => [
|
|
81
|
-
u(v(o.saveAsText ?? "另存为"), 1)
|
|
82
|
-
]),
|
|
83
|
-
_: 1
|
|
84
|
-
}, 8, ["loading"])) : d("", !0),
|
|
85
|
-
o.saveText !== "" && ((S = a(e)) == null ? void 0 : S.saveBtnVisible) !== !1 ? (r(), n(a(m), {
|
|
86
|
-
key: 2,
|
|
87
|
-
onClick: k,
|
|
88
|
-
type: "primary",
|
|
89
|
-
loading: (y = a(e)) == null ? void 0 : y.isFormSaving.value
|
|
90
|
-
}, {
|
|
91
|
-
default: i(() => [
|
|
92
|
-
u(v(o.saveText ?? "保存"), 1)
|
|
93
|
-
]),
|
|
94
|
-
_: 1
|
|
95
|
-
}, 8, ["loading"])) : d("", !0)
|
|
96
|
-
];
|
|
97
|
-
}),
|
|
98
|
-
_: 1
|
|
99
|
-
})
|
|
100
|
-
]),
|
|
101
|
-
default: i(() => [
|
|
102
|
-
N("div", U, [
|
|
103
|
-
b(o.$slots, "default")
|
|
104
|
-
])
|
|
105
|
-
]),
|
|
106
|
-
_: 3
|
|
107
|
-
}, 8, ["open", "wrapClassName", "width"]));
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
export {
|
|
111
|
-
R as _
|
|
112
|
-
};
|