dlzn-ui 2.0.113 → 2.0.115
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/Error-xMIRkHfW.css +1 -0
- package/assets/Index-CGH6q9f2.css +1 -0
- package/assets/Index-DEhdS9RX.css +1 -0
- package/assets/css/other.css +6 -0
- package/assets/css/tdesign-reset.css +1 -1
- package/assets/index-DLpIFnd2.css +1 -0
- package/assets/{provider-D_qs42UA.css → provider-BLlX3k0I.css} +1 -1
- package/chunks/{AssignUser-BHO8g_0q.mjs → AssignUser-3GG-MbbA.mjs} +3 -3
- package/chunks/{BasicInfo-7Ly3RRWN.mjs → BasicInfo-C3BNUyUi.mjs} +1 -1
- package/chunks/{ColumnInfo-Bi3nJ7xF.mjs → ColumnInfo-CZ3KYhrk.mjs} +2 -2
- package/chunks/{Common-CN7InZnH.mjs → Common-CDYQ6xSo.mjs} +1 -1
- package/chunks/{Day-Brqckhl-.mjs → Day-4IAlW8Q5.mjs} +1 -1
- package/chunks/{DictTypeDetail-qp8MauoO.mjs → DictTypeDetail-CttRFOwY.mjs} +2 -2
- package/chunks/Error-BcqmeYDn.mjs +32 -0
- package/chunks/{GenInfo-DIFzMtdf.mjs → GenInfo-DSpc-CEW.mjs} +1 -1
- package/chunks/{Hour-3nRVF7QE.mjs → Hour-CAEjaFrQ.mjs} +1 -1
- package/chunks/{Import-Bjnq3sJm.mjs → Import-Cb_YoGef.mjs} +2 -2
- package/chunks/{Index-Jz6ZP1_r.mjs → Index-5z3rHOeO.mjs} +1 -1
- package/chunks/{Index-Cly4thtF.mjs → Index-BF_EP32p.mjs} +1 -1
- package/chunks/{Index-YgFKfGeF.mjs → Index-BgR8aek2.mjs} +1 -1
- package/chunks/{Index-DK_3CVF8.mjs → Index-BjiK8-ra.mjs} +1 -1
- package/chunks/{Index-Doxlecv8.mjs → Index-BuHKr6wa.mjs} +1 -1
- package/chunks/{Index-CpJskbiU.mjs → Index-Ctnhjvtv.mjs} +1 -1
- package/chunks/{Index-Cj28BYQh.mjs → Index-DFBqU20m.mjs} +1 -1
- package/chunks/{Index-oFCKTTCI.mjs → Index-DG8iEO7I.mjs} +1 -1
- package/chunks/{Index-X_lgaYbj.mjs → Index-DOENwQQD.mjs} +1 -1
- package/chunks/Index-DPhe1pYC.mjs +4 -0
- package/chunks/{Index-CWK6SeJO.mjs → Index-DxS7Q5F6.mjs} +1 -1
- package/chunks/{Index-CMetXHc7.mjs → Index-GinLjVo2.mjs} +1 -1
- package/chunks/{Index-B4M2Ac08.mjs → Index-S1vg63Ao.mjs} +1 -1
- package/chunks/{Index-S771amVp.mjs → Index-SS7WT7os.mjs} +1 -1
- package/chunks/{Index-B_0bjaXy.mjs → Index-VLZVtx6t.mjs} +1 -1
- package/chunks/{Index-7igJvIN7.mjs → Index-ufUSRSV3.mjs} +1 -1
- package/chunks/{Index-CuDYxrkx.mjs → Index-xyP_2SWI.mjs} +1 -1
- package/chunks/{Index-B-tJ29ym.mjs → Index-y6AZshww.mjs} +1 -1
- package/chunks/{IndexItem-BY15bESs.mjs → IndexItem-C8-z2ZGy.mjs} +3 -3
- package/chunks/{Log-B0qBhyvg.mjs → Log-CvSqm5hi.mjs} +2 -2
- package/chunks/{LoginBg--qk7UQWN.mjs → LoginBg-CJlpYJ7v.mjs} +1 -1
- package/chunks/{Minute-CSeiVAJH.mjs → Minute-CFCOrO1y.mjs} +1 -1
- package/chunks/{Month-CYvN7Fem.mjs → Month-DjGoXNob.mjs} +1 -1
- package/chunks/{Preview-B_rggi_K.mjs → Preview-Bwtmtfb8.mjs} +1 -1
- package/chunks/{Second-DDYeTlsZ.mjs → Second-C0LxCbg1.mjs} +1 -1
- package/chunks/{SelectDept-CWlQcFwU.mjs → SelectDept-BkHNe72k.mjs} +1 -1
- package/chunks/{SelectMenu-o3K6gP_L.mjs → SelectMenu-Cu5adX56.mjs} +1 -1
- package/chunks/{SelectUser-B7xE5Oh7.mjs → SelectUser-OKAanMrL.mjs} +2 -2
- package/chunks/{UserInfo-B6c117CC.mjs → UserInfo-M1VnTJCZ.mjs} +1 -1
- package/chunks/{Wrapper-DtvWn-pC.mjs → Wrapper-BMPkbCR3.mjs} +1 -1
- package/chunks/{app-DINbMvMl.mjs → app-B4o73ToQ.mjs} +1 -1
- package/chunks/{custom-page-list-CaAY9S2h.mjs → custom-page-list-AxdHlTfT.mjs} +4 -4
- package/chunks/{custom-page-table-CT2Vo6EI.mjs → custom-page-table-Drf31hjx.mjs} +2 -2
- package/chunks/{job-CqSdWYBk.mjs → job-D-t78dVK.mjs} +3 -3
- package/chunks/{overview-DTBppWa9.mjs → overview-Bw_XKixC.mjs} +1 -1
- package/chunks/{page-list-DKyH7HZI.mjs → page-list-RPWfZAf-.mjs} +3 -3
- package/chunks/{page-query-CCCTLUAG.mjs → page-query-Dbw-eE_o.mjs} +1 -1
- package/chunks/{page-table-DLmtokXr.mjs → page-table-DFh-PWfm.mjs} +3 -3
- package/chunks/{pagination-BsawNa0L.mjs → pagination-nGDAQAjQ.mjs} +1 -1
- package/chunks/{provider-CWqIJHLL.mjs → provider-E-KkUJb4.mjs} +401 -403
- package/chunks/{table-DebBbKWn.mjs → table-BgqfFkRQ.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/cascader/index.mjs +1 -1
- package/components/cascader/src/cascader.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/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.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/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- 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/OptionLabel/Index.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/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.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/useLabel/index.mjs +1 -1
- package/hooks/useList/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +37 -33
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/{Home1.mjs → Test.mjs} +44 -36
- package/layout/index.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/LoginBg.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/layout/vueBits/Grainient.vue.d.ts +1 -1
- package/main.mjs +2 -2
- package/package.json +5 -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/autoImport/$fileViewer/Error.mjs +1 -0
- package/plugins/autoImport/$fileViewer/Error.vue.d.ts +9 -0
- package/plugins/autoImport/$fileViewer/Index.mjs +188 -0
- package/plugins/autoImport/$fileViewer/Index.vue.d.ts +13 -0
- package/plugins/autoImport/$fileViewer/index.d.ts +2 -0
- package/plugins/autoImport/$fileViewer/index2.mjs +25 -0
- package/plugins/autoImport/$fileViewer/pdf/Index.mjs +1 -0
- package/plugins/autoImport/$fileViewer/pdf/Index.vue.d.ts +12 -0
- package/plugins/autoImport/$fileViewer/pdf/plugin.d.ts +3 -0
- package/plugins/autoImport/$fileViewer/pdf/plugin.mjs +48 -0
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Avatar/Index.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/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +15 -15
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- package/proj-template/.vscode/settings.json +1 -0
- 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/utils/gather.mjs +1 -1
- package/utils/index.mjs +1 -1
- package/utils/tool.mjs +1 -1
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +2 -2
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +2 -2
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +5 -5
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +3 -3
- package/views/tool/gen/editTable/index.mjs +4 -4
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +4 -4
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- /package/layout/{Home1.vue.d.ts → Test.vue.d.ts} +0 -0
package/layout/Login.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { W as e, n as t, o as n, rt as r } from "../chunks/provider-
|
|
1
|
+
import { W as e, n as t, o as n, rt as r } from "../chunks/provider-E-KkUJb4.mjs";
|
|
2
2
|
import { t as i } from "../chunks/icon-DnBGEq-n.mjs";
|
|
3
3
|
import "../components/gradient-text/index.mjs";
|
|
4
4
|
import "../components/icon/index.mjs";
|
|
5
5
|
import { t as a } from "../chunks/gradient-text-9F_lDxuO.mjs";
|
|
6
6
|
import o from "../plugins/autoImport/$msg/index.mjs";
|
|
7
7
|
import s from "../plugins/captcha/index.mjs";
|
|
8
|
-
import { t as c } from "../chunks/LoginBg
|
|
8
|
+
import { t as c } from "../chunks/LoginBg-CJlpYJ7v.mjs";
|
|
9
9
|
import { computed as l, createBlock as u, createCommentVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
|
|
10
10
|
import { useRouter as b } from "vue-router";
|
|
11
11
|
// ../../packages/dlzn-ui/layout/Login.vue
|
package/layout/NotFound.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../chunks/provider-
|
|
1
|
+
import { n as e } from "../chunks/provider-E-KkUJb4.mjs";
|
|
2
2
|
import { createBlock as t, createTextVNode as n, createVNode as r, defineComponent as i, openBlock as a, unref as o, withCtx as s } from "vue";
|
|
3
3
|
import { Empty as c } from "tdesign-vue-next";
|
|
4
4
|
import { useRouter as l } from "vue-router";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { it as e, n as t, o as n, ot as r } from "../chunks/provider-
|
|
2
|
-
import { t as i } from "../chunks/table-
|
|
1
|
+
import { it as e, n as t, o as n, ot as r } from "../chunks/provider-E-KkUJb4.mjs";
|
|
2
|
+
import { t as i } from "../chunks/table-BgqfFkRQ.mjs";
|
|
3
3
|
import { t as a } from "../chunks/tag-C3NJ7YFA.mjs";
|
|
4
4
|
import "../components/table/index.mjs";
|
|
5
5
|
import "../components/tag/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
import o from "../plugins/autoImport/$fileViewer/index2.mjs";
|
|
7
|
+
import { createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
|
|
8
|
+
// ../../packages/dlzn-ui/layout/Test.vue
|
|
9
|
+
var g = /* @__PURE__ */ d({
|
|
10
|
+
__name: "Test",
|
|
11
|
+
setup(d) {
|
|
12
|
+
let g = [
|
|
12
13
|
{
|
|
13
14
|
component: "TColorPicker",
|
|
14
15
|
model: "color"
|
|
@@ -23,12 +24,12 @@ var h = /* @__PURE__ */ u({
|
|
|
23
24
|
multiple: !0,
|
|
24
25
|
options: "systemDeptTree"
|
|
25
26
|
}
|
|
26
|
-
],
|
|
27
|
+
], _ = p([{
|
|
27
28
|
color: "#000000",
|
|
28
29
|
number: 1234567890,
|
|
29
30
|
tag: "0",
|
|
30
31
|
url: "https://cos.wlinkai.com/38/202611/04/manual/8a242998-e81a-4419-8017-61ec8d376a7c.wav?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDYLn9BB5FLFPTbbSBmIj185pMguEew5B4%26q-sign-time%3D1794386718%3B1794390318%26q-key-time%3D1794386718%3B1794390318%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3Dfa477e30f44e327626183817b2405e5ce00ed86f"
|
|
31
|
-
}]),
|
|
32
|
+
}]), v = [
|
|
32
33
|
{
|
|
33
34
|
cell: { component: "ColorPicker" },
|
|
34
35
|
colKey: "color",
|
|
@@ -58,7 +59,7 @@ var h = /* @__PURE__ */ u({
|
|
|
58
59
|
title: "Tag"
|
|
59
60
|
}
|
|
60
61
|
];
|
|
61
|
-
function
|
|
62
|
+
function y() {
|
|
62
63
|
e({
|
|
63
64
|
body: "Are you sure you want to open the dialog?",
|
|
64
65
|
onConfirmCallback: () => {
|
|
@@ -66,67 +67,74 @@ var h = /* @__PURE__ */ u({
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
|
-
let
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
let b = p(!0);
|
|
71
|
+
function x() {
|
|
72
|
+
o([]);
|
|
73
|
+
}
|
|
74
|
+
return (e, o) => (f(), s("div", null, [c("div", null, [
|
|
75
|
+
u(m(n), { items: g }),
|
|
76
|
+
u(m(i), {
|
|
77
|
+
columns: v,
|
|
78
|
+
data: _.value
|
|
75
79
|
}, null, 8, ["data"]),
|
|
76
|
-
|
|
77
|
-
visible:
|
|
78
|
-
"onUpdate:visible":
|
|
80
|
+
u(m(r), {
|
|
81
|
+
visible: b.value,
|
|
82
|
+
"onUpdate:visible": o[0] ||= (e) => b.value = e
|
|
79
83
|
}, {
|
|
80
|
-
default:
|
|
84
|
+
default: h(() => [...o[1] ||= [c("div", null, "qwqwe", -1)]]),
|
|
81
85
|
_: 1
|
|
82
86
|
}, 8, ["visible"]),
|
|
83
|
-
|
|
84
|
-
default:
|
|
87
|
+
u(m(t), { onClick: y }, {
|
|
88
|
+
default: h(() => [...o[2] ||= [l("Open Dialog", -1)]]),
|
|
89
|
+
_: 1
|
|
90
|
+
}),
|
|
91
|
+
u(m(t), { onClick: x }, {
|
|
92
|
+
default: h(() => [...o[3] ||= [l("Open File Viewer", -1)]]),
|
|
85
93
|
_: 1
|
|
86
94
|
}),
|
|
87
|
-
|
|
95
|
+
u(m(a), {
|
|
88
96
|
"auto-color": "",
|
|
89
97
|
"auto-icon": ""
|
|
90
98
|
}, {
|
|
91
|
-
default:
|
|
99
|
+
default: h(() => [...o[4] ||= [l("初始", -1)]]),
|
|
92
100
|
_: 1
|
|
93
101
|
}),
|
|
94
|
-
|
|
102
|
+
u(m(a), {
|
|
95
103
|
"auto-color": "",
|
|
96
104
|
"auto-icon": ""
|
|
97
105
|
}, {
|
|
98
|
-
default:
|
|
106
|
+
default: h(() => [...o[5] ||= [l("执行中", -1)]]),
|
|
99
107
|
_: 1
|
|
100
108
|
}),
|
|
101
|
-
|
|
109
|
+
u(m(a), {
|
|
102
110
|
"auto-color": "",
|
|
103
111
|
"auto-icon": ""
|
|
104
112
|
}, {
|
|
105
|
-
default:
|
|
113
|
+
default: h(() => [...o[6] ||= [l("完成", -1)]]),
|
|
106
114
|
_: 1
|
|
107
115
|
}),
|
|
108
|
-
|
|
116
|
+
u(m(a), {
|
|
109
117
|
"auto-color": "",
|
|
110
118
|
"auto-icon": ""
|
|
111
119
|
}, {
|
|
112
|
-
default:
|
|
120
|
+
default: h(() => [...o[7] ||= [l("取消", -1)]]),
|
|
113
121
|
_: 1
|
|
114
122
|
}),
|
|
115
|
-
|
|
123
|
+
u(m(a), {
|
|
116
124
|
"auto-color": "",
|
|
117
125
|
"auto-icon": ""
|
|
118
126
|
}, {
|
|
119
|
-
default:
|
|
127
|
+
default: h(() => [...o[8] ||= [l("暂停", -1)]]),
|
|
120
128
|
_: 1
|
|
121
129
|
}),
|
|
122
|
-
|
|
130
|
+
u(m(a), {
|
|
123
131
|
"auto-color": "",
|
|
124
132
|
"auto-icon": ""
|
|
125
133
|
}, {
|
|
126
|
-
default:
|
|
134
|
+
default: h(() => [...o[9] ||= [l("过期", -1)]]),
|
|
127
135
|
_: 1
|
|
128
136
|
})
|
|
129
137
|
])]));
|
|
130
138
|
}
|
|
131
139
|
});
|
|
132
|
-
export {
|
|
140
|
+
export { g as default };
|
package/layout/index.mjs
CHANGED
|
@@ -3,9 +3,9 @@ var t = {
|
|
|
3
3
|
.../* @__PURE__ */ Object.assign({
|
|
4
4
|
"./Entry.vue": () => import("./Entry.mjs"),
|
|
5
5
|
"./Home.vue": () => import("./Home.mjs"),
|
|
6
|
-
"./Home1.vue": () => import("./Home1.mjs"),
|
|
7
6
|
"./Login.vue": () => import("./Login.mjs"),
|
|
8
7
|
"./NotFound.vue": () => import("./NotFound.mjs"),
|
|
8
|
+
"./Test.vue": () => import("./Test.mjs"),
|
|
9
9
|
"./modules/LoginBg.vue": () => import("./modules/LoginBg.mjs"),
|
|
10
10
|
"./modules/LoginBgBak.vue": () => import("./modules/LoginBgBak.mjs"),
|
|
11
11
|
"./modules/MenuNode.vue": () => import("./modules/MenuNode.mjs"),
|
package/layout/modules/Aside.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { $ as default } from "../../chunks/provider-
|
|
1
|
+
export { $ as default } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Q as default } from "../../chunks/provider-
|
|
1
|
+
export { Q as default } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as default } from "../../chunks/provider-
|
|
1
|
+
export { U as default } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../chunks/LoginBg
|
|
1
|
+
export { t as default } from "../../chunks/LoginBg-CJlpYJ7v.mjs";
|
package/layout/profile/Index.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import { isFalsy as e } from "../../utils/boolean.mjs";
|
|
|
3
3
|
import { t } from "../../chunks/card-fcGTPVWb.mjs";
|
|
4
4
|
import "../../components/tab-panel/index.mjs";
|
|
5
5
|
import { t as n } from "../../chunks/tab-panel-CX3iLfSb.mjs";
|
|
6
|
-
import { P as r, a as i } from "../../chunks/provider-
|
|
7
|
-
import { t as a } from "../../chunks/UserInfo-
|
|
6
|
+
import { P as r, a as i } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
7
|
+
import { t as a } from "../../chunks/UserInfo-M1VnTJCZ.mjs";
|
|
8
8
|
import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, markRaw as f, openBlock as p, provide as m, ref as h, renderList as g, resolveDynamicComponent as _, unref as v, withCtx as y } from "vue";
|
|
9
9
|
import { List as b, ListItem as x, ListItemMeta as S, Tabs as C } from "tdesign-vue-next";
|
|
10
10
|
import { useRequest as w } from "alova/client";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as default } from "../../chunks/provider-
|
|
1
|
+
export { a as default } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../chunks/UserInfo-
|
|
1
|
+
export { t as default } from "../../chunks/UserInfo-M1VnTJCZ.mjs";
|
|
@@ -26,6 +26,7 @@ interface GrainientProps {
|
|
|
26
26
|
declare const __VLS_export: import('vue').DefineComponent<GrainientProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GrainientProps> & Readonly<{}>, {
|
|
27
27
|
className: string;
|
|
28
28
|
zoom: number;
|
|
29
|
+
saturation: number;
|
|
29
30
|
color1: string;
|
|
30
31
|
color2: string;
|
|
31
32
|
color3: string;
|
|
@@ -44,7 +45,6 @@ declare const __VLS_export: import('vue').DefineComponent<GrainientProps, {}, {}
|
|
|
44
45
|
grainAnimated: boolean;
|
|
45
46
|
contrast: number;
|
|
46
47
|
gamma: number;
|
|
47
|
-
saturation: number;
|
|
48
48
|
centerX: number;
|
|
49
49
|
centerY: number;
|
|
50
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/main.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./components/app/index.mjs";
|
|
2
|
-
import { t as e } from "./chunks/app-
|
|
2
|
+
import { t as e } from "./chunks/app-B4o73ToQ.mjs";
|
|
3
3
|
import t from "./plugins/directive/index.mjs";
|
|
4
|
-
import { B as n, rt as r } from "./chunks/provider-
|
|
4
|
+
import { B as n, rt as r } from "./chunks/provider-E-KkUJb4.mjs";
|
|
5
5
|
import i from "./store/index.mjs";
|
|
6
6
|
import "./plugins/initialize/index.mjs";
|
|
7
7
|
import { autoAnimatePlugin as a } from "@formkit/auto-animate/vue";
|
package/package.json
CHANGED
|
@@ -90,9 +90,13 @@
|
|
|
90
90
|
"@alova/adapter-xhr": "^2.3.3",
|
|
91
91
|
"@alova/scene-vue": "^1.6.2",
|
|
92
92
|
"@bprogress/core": "^1.3.4",
|
|
93
|
+
"@embedpdf/engine": "^3.4.0",
|
|
94
|
+
"@embedpdf/fonts-sc": "^1.0.0",
|
|
95
|
+
"@embedpdf/vue": "^3.4.0",
|
|
93
96
|
"@fingerprintjs/fingerprintjs": "^5.3.0",
|
|
94
97
|
"@formkit/auto-animate": "^0.10.2",
|
|
95
98
|
"@iconify/vue": "^5.0.5",
|
|
99
|
+
"@open-file-viewer/core": "^1.0.0",
|
|
96
100
|
"@types/file-saver": "^2.0.7",
|
|
97
101
|
"croner": "^11.0.0",
|
|
98
102
|
"cronstrue": "^3.38.0",
|
|
@@ -116,7 +120,7 @@
|
|
|
116
120
|
"> 1%",
|
|
117
121
|
"not dead"
|
|
118
122
|
],
|
|
119
|
-
"version": "2.0.
|
|
123
|
+
"version": "2.0.115",
|
|
120
124
|
"scripts": {
|
|
121
125
|
"dev": "vite --config play/vite.config.ts"
|
|
122
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { P as default, F as getFilterEmptyData, I as getFilterEmptyParamsObj, L as getParamsString } from "../../../chunks/provider-
|
|
1
|
+
export { P as default, F as getFilterEmptyData, I as getFilterEmptyParamsObj, L as getParamsString } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { it as default } from "../../../chunks/provider-
|
|
1
|
+
export { it as default } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { at as default } from "../../../chunks/provider-
|
|
1
|
+
export { at as default } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { V as default } from "../../../chunks/provider-
|
|
1
|
+
export { V as default } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../../../chunks/Error-BcqmeYDn.mjs";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PreviewFile } from '@open-file-viewer/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
file?: PreviewFile;
|
|
4
|
+
message?: string;
|
|
5
|
+
type: 'error' | 'notSupport';
|
|
6
|
+
};
|
|
7
|
+
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>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { n as e } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
2
|
+
import { t } from "../../../chunks/Error-BcqmeYDn.mjs";
|
|
3
|
+
import { pdfPlugin as n } from "./pdf/plugin.mjs";
|
|
4
|
+
import { t as r } from "../../../chunks/plugin-vue_export-helper-Djzt4Yr7.mjs";
|
|
5
|
+
import { createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, onBeforeUnmount as f, onMounted as p, openBlock as m, ref as h, shallowRef as g, toDisplayString as _, unref as v, watch as y, withCtx as b } from "vue";
|
|
6
|
+
import { useResizeObserver as x } from "@vueuse/core";
|
|
7
|
+
import { archivePlugin as S, createViewer as C, imagePlugin as w, officePlugin as T, textPlugin as E } from "@open-file-viewer/core";
|
|
8
|
+
import "@open-file-viewer/core/style.css";
|
|
9
|
+
import '../../../assets/Index-CGH6q9f2.css';// ../../packages/dlzn-ui/plugins/autoImport/$fileViewer/Index.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var D = {
|
|
11
|
+
key: 3,
|
|
12
|
+
class: "absolute right-auto bottom-12 left-auto flex items-center gap-2"
|
|
13
|
+
}, O = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "flex items-center gap-4 rounded-full bg-(--td-bg-color-component) px-6 py-2 whitespace-nowrap",
|
|
16
|
+
style: { "line-height": "32px" }
|
|
17
|
+
}, k = { key: 0 }, A = { key: 1 }, j = { class: "empty_hidden flex items-center rounded-full bg-(--td-bg-color-component) px-6 py-2 whitespace-nowrap" }, M = /*#__PURE__*/ r(/* @__PURE__ */ u({
|
|
18
|
+
__name: "Index",
|
|
19
|
+
props: {
|
|
20
|
+
index: { default: 0 },
|
|
21
|
+
sourceArray: {}
|
|
22
|
+
},
|
|
23
|
+
emits: ["close"],
|
|
24
|
+
setup(r, { emit: u }) {
|
|
25
|
+
let M = r, N = u, P = h(M.index), F = h("loading");
|
|
26
|
+
function I() {
|
|
27
|
+
N("close");
|
|
28
|
+
}
|
|
29
|
+
function L() {
|
|
30
|
+
P.value === M.sourceArray.length - 1 ? P.value = 0 : P.value++;
|
|
31
|
+
}
|
|
32
|
+
function R() {
|
|
33
|
+
P.value === 0 ? P.value = M.sourceArray.length - 1 : P.value--;
|
|
34
|
+
}
|
|
35
|
+
let z = h(null), B = h(null), V = null, H = h(null), U = h(null), W = g(null);
|
|
36
|
+
x(B, () => {
|
|
37
|
+
V?.resize();
|
|
38
|
+
});
|
|
39
|
+
let G = d();
|
|
40
|
+
return p(() => {
|
|
41
|
+
V = C({
|
|
42
|
+
container: z.value,
|
|
43
|
+
fallback: "custom",
|
|
44
|
+
files: M.sourceArray,
|
|
45
|
+
fit: "scale-down",
|
|
46
|
+
initialIndex: M.index,
|
|
47
|
+
locale: "zh-CN",
|
|
48
|
+
onError(e, t) {
|
|
49
|
+
W.value = {
|
|
50
|
+
error: e,
|
|
51
|
+
file: t
|
|
52
|
+
}, F.value = "error";
|
|
53
|
+
},
|
|
54
|
+
onLoad() {
|
|
55
|
+
F.value === "loading" && (F.value = "success");
|
|
56
|
+
},
|
|
57
|
+
onUnsupported() {
|
|
58
|
+
F.value = "unsupported";
|
|
59
|
+
},
|
|
60
|
+
plugins: [
|
|
61
|
+
w(),
|
|
62
|
+
n(G.appContext),
|
|
63
|
+
T(),
|
|
64
|
+
E(),
|
|
65
|
+
S()
|
|
66
|
+
],
|
|
67
|
+
renderFallback(e) {
|
|
68
|
+
return U.value = e.file, { destroy() {
|
|
69
|
+
U.value = null;
|
|
70
|
+
} };
|
|
71
|
+
},
|
|
72
|
+
toolbar: { render(e) {
|
|
73
|
+
H.value = e;
|
|
74
|
+
} }
|
|
75
|
+
});
|
|
76
|
+
}), f(() => {
|
|
77
|
+
V?.destroy(), V = null, H.value = null, U.value = null;
|
|
78
|
+
}), y(P, (e) => {
|
|
79
|
+
V?.goTo(e), H.value?.clearSearch(), F.value = "loading";
|
|
80
|
+
}, { immediate: !0 }), (n, u) => (m(), o("div", {
|
|
81
|
+
ref_key: "wrapper",
|
|
82
|
+
ref: B,
|
|
83
|
+
class: "wrapper relative flex h-full justify-center"
|
|
84
|
+
}, [
|
|
85
|
+
l(v(e), {
|
|
86
|
+
class: "!absolute top-[10%] right-20",
|
|
87
|
+
icon: "mdi:close",
|
|
88
|
+
shape: "circle",
|
|
89
|
+
size: "large",
|
|
90
|
+
theme: "default",
|
|
91
|
+
variant: "base",
|
|
92
|
+
onClick: I
|
|
93
|
+
}),
|
|
94
|
+
r.sourceArray.length > 1 ? (m(), i(v(e), {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: "!absolute top-1/2 left-20 -translate-y-1/2",
|
|
97
|
+
disabled: F.value === "loading",
|
|
98
|
+
icon: "grommet-icons:form-previous",
|
|
99
|
+
shape: "circle",
|
|
100
|
+
size: "large",
|
|
101
|
+
theme: "default",
|
|
102
|
+
variant: "base",
|
|
103
|
+
onClick: R
|
|
104
|
+
}, null, 8, ["disabled"])) : a("v-if", !0),
|
|
105
|
+
s("div", {
|
|
106
|
+
ref_key: "viewerContainer",
|
|
107
|
+
ref: z,
|
|
108
|
+
class: "relative !z-1 h-full"
|
|
109
|
+
}, null, 512),
|
|
110
|
+
U.value ? (m(), i(t, {
|
|
111
|
+
key: 1,
|
|
112
|
+
file: U.value,
|
|
113
|
+
type: "notSupport"
|
|
114
|
+
}, null, 8, ["file"])) : a("v-if", !0),
|
|
115
|
+
F.value === "error" ? (m(), i(t, {
|
|
116
|
+
key: 2,
|
|
117
|
+
file: W.value.file,
|
|
118
|
+
message: W.value.error.message,
|
|
119
|
+
type: "error"
|
|
120
|
+
}, null, 8, ["file", "message"])) : a("v-if", !0),
|
|
121
|
+
H.value ? (m(), o("div", D, [H.value.file?.name || H.value.length > 1 ? (m(), o("div", O, [H.value.file?.name ? (m(), o("span", k, _(H.value.file.name), 1)) : a("v-if", !0), H.value.length > 1 ? (m(), o("span", A, _(H.value.index + 1) + " / " + _(H.value.length), 1)) : a("v-if", !0)])) : a("v-if", !0), s("div", j, [
|
|
122
|
+
H.value.canCommand("zoom-out") ? (m(), i(v(e), {
|
|
123
|
+
key: 0,
|
|
124
|
+
icon: "akar-icons:zoom-out",
|
|
125
|
+
shape: "square",
|
|
126
|
+
theme: "default",
|
|
127
|
+
variant: "base",
|
|
128
|
+
onClick: u[0] ||= (e) => H.value.command("zoom-out")
|
|
129
|
+
})) : a("v-if", !0),
|
|
130
|
+
H.value.canCommand("zoom-reset") && H.value.zoomLabel ? (m(), i(v(e), {
|
|
131
|
+
key: 1,
|
|
132
|
+
class: "!px-1",
|
|
133
|
+
theme: "default",
|
|
134
|
+
variant: "base",
|
|
135
|
+
onClick: u[1] ||= (e) => H.value.command("zoom-reset")
|
|
136
|
+
}, {
|
|
137
|
+
default: b(() => [c(_(H.value.zoomLabel), 1)]),
|
|
138
|
+
_: 1
|
|
139
|
+
})) : a("v-if", !0),
|
|
140
|
+
H.value.canCommand("zoom-in") ? (m(), i(v(e), {
|
|
141
|
+
key: 2,
|
|
142
|
+
icon: "akar-icons:zoom-in",
|
|
143
|
+
shape: "square",
|
|
144
|
+
theme: "default",
|
|
145
|
+
variant: "base",
|
|
146
|
+
onClick: u[2] ||= (e) => H.value.command("zoom-in")
|
|
147
|
+
})) : a("v-if", !0),
|
|
148
|
+
H.value.canCommand("rotate-left") ? (m(), i(v(e), {
|
|
149
|
+
key: 3,
|
|
150
|
+
icon: "ant-design:rotate-left-outlined",
|
|
151
|
+
shape: "square",
|
|
152
|
+
theme: "default",
|
|
153
|
+
variant: "base",
|
|
154
|
+
onClick: u[3] ||= (e) => H.value.command("rotate-left")
|
|
155
|
+
})) : a("v-if", !0),
|
|
156
|
+
H.value.canCommand("rotate-right") ? (m(), i(v(e), {
|
|
157
|
+
key: 4,
|
|
158
|
+
icon: "ant-design:rotate-right-outlined",
|
|
159
|
+
shape: "square",
|
|
160
|
+
theme: "default",
|
|
161
|
+
variant: "base",
|
|
162
|
+
onClick: u[4] ||= (e) => H.value.command("rotate-right")
|
|
163
|
+
})) : a("v-if", !0),
|
|
164
|
+
a(" <TButton\n icon=\"famicons:print-outline\"\n shape=\"square\"\n theme=\"default\"\n variant=\"base\"\n @click=\"toolbarContext.print()\"\n ></TButton> "),
|
|
165
|
+
l(v(e), {
|
|
166
|
+
icon: "akar-icons:download",
|
|
167
|
+
shape: "square",
|
|
168
|
+
theme: "default",
|
|
169
|
+
variant: "base",
|
|
170
|
+
onClick: u[5] ||= (e) => H.value.download()
|
|
171
|
+
}),
|
|
172
|
+
a(" <TInput\n v-if=\"canSearch\"\n v-model=\"searchQuery\"\n borderless\n class=\"ml-2 !w-[260px]\"\n placeholder=\"搜索\"\n @change=\"handleSearchChange\"\n @enter=\"handleSearch\"\n />\n <span v-if=\"searchResult !== null\" class=\"ml-3 text-xs text-(--td-text-color-placeholder)\"\n >{{ searchResult }} 个结果</span\n > ")
|
|
173
|
+
])])) : a("v-if", !0),
|
|
174
|
+
r.sourceArray.length > 1 ? (m(), i(v(e), {
|
|
175
|
+
key: 4,
|
|
176
|
+
class: "!absolute top-1/2 right-20 -translate-y-1/2",
|
|
177
|
+
disabled: F.value === "loading",
|
|
178
|
+
icon: "grommet-icons:form-next",
|
|
179
|
+
shape: "circle",
|
|
180
|
+
size: "large",
|
|
181
|
+
theme: "default",
|
|
182
|
+
variant: "base",
|
|
183
|
+
onClick: L
|
|
184
|
+
}, null, 8, ["disabled"])) : a("v-if", !0)
|
|
185
|
+
], 512));
|
|
186
|
+
}
|
|
187
|
+
}), [["__scopeId", "data-v-8284232d"]]);
|
|
188
|
+
export { M as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
index?: number;
|
|
3
|
+
sourceArray: string[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
index: number;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { at as e } from "../../../chunks/provider-E-KkUJb4.mjs";
|
|
2
|
+
import t from "../$msg/index.mjs";
|
|
3
|
+
import { defineAsyncComponent as n, h as r } from "vue";
|
|
4
|
+
import '../../../assets/index-DLpIFnd2.css';// ../../packages/dlzn-ui/plugins/autoImport/$fileViewer/index.ts
|
|
5
|
+
var i = async (i) => {
|
|
6
|
+
if (i.length === 0) {
|
|
7
|
+
t.warning("没有文件需要预览");
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
let a = e({
|
|
11
|
+
body: () => r(n(() => import("./Index.mjs")), {
|
|
12
|
+
onClose: () => {
|
|
13
|
+
a.hide();
|
|
14
|
+
},
|
|
15
|
+
sourceArray: i
|
|
16
|
+
}),
|
|
17
|
+
closeBtn: !1,
|
|
18
|
+
closeOnEscKeydown: !0,
|
|
19
|
+
dialogClassName: "file_viewer_dialog",
|
|
20
|
+
footer: !1,
|
|
21
|
+
header: !1,
|
|
22
|
+
mode: "full-screen"
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export { i as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-DPhe1pYC.mjs";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StageCapability } from '@embedpdf/vue/stage';
|
|
2
|
+
import { PreviewFile } from '@open-file-viewer/core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
file: PreviewFile;
|
|
5
|
+
onBind: (stage: StageCapability) => void;
|
|
6
|
+
onError: (bool: boolean) => void;
|
|
7
|
+
onLoading: (bool: boolean) => void;
|
|
8
|
+
onZoom: (zoom: number) => void;
|
|
9
|
+
};
|
|
10
|
+
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>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DPhe1pYC.mjs";
|
|
2
|
+
import { createVNode as t, ref as n, render as r } from "vue";
|
|
3
|
+
// ../../packages/dlzn-ui/plugins/autoImport/$fileViewer/pdf/plugin.ts
|
|
4
|
+
function i(i) {
|
|
5
|
+
return {
|
|
6
|
+
match(e) {
|
|
7
|
+
return e.mimeType === "application/pdf" || e.extension === "pdf";
|
|
8
|
+
},
|
|
9
|
+
name: "pdf",
|
|
10
|
+
render(a) {
|
|
11
|
+
if (a.signal?.aborted) return { destroy() {} };
|
|
12
|
+
let o = document.createElement("div");
|
|
13
|
+
o.className = "ofv-pdf-embed", a.viewport.append(o);
|
|
14
|
+
let s = null, c = null, l = n(!1), u = (e) => {
|
|
15
|
+
s !== null && (e === "width" ? s.fitWidth() : s.zoomTo(1));
|
|
16
|
+
}, d = t(e, {
|
|
17
|
+
file: a.file,
|
|
18
|
+
onBind(e) {
|
|
19
|
+
s = e, u(a.options.fit), a.options.zoom !== 1 && s.zoomTo(a.options.zoom), c !== null && (s.goToPage(c - 1), c = null), a.toolbar?.setZoom(s.getZoomLevel());
|
|
20
|
+
},
|
|
21
|
+
onError(e) {
|
|
22
|
+
l.value = e;
|
|
23
|
+
},
|
|
24
|
+
onLoading(e) {
|
|
25
|
+
a.setLoading(e);
|
|
26
|
+
},
|
|
27
|
+
onZoom(e) {
|
|
28
|
+
a.toolbar?.setZoom(e);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
return d.appContext = i, r(d, o), {
|
|
32
|
+
canCommand(e) {
|
|
33
|
+
return l.value || s === null ? !1 : e === "zoom-in" || e === "zoom-out" || e === "zoom-reset" || e === "rotate-left" || e === "rotate-right";
|
|
34
|
+
},
|
|
35
|
+
command(e) {
|
|
36
|
+
return s === null || l.value ? !1 : e === "zoom-in" ? (s.zoomIn(), !0) : e === "zoom-out" ? (s.zoomOut(), !0) : e === "zoom-reset" ? (s.setViewRotation(0), u(a.options.fit), !0) : e === "rotate-right" ? (s.rotateViewBy(90), !0) : e === "rotate-left" && (s.rotateViewBy(-90), !0);
|
|
37
|
+
},
|
|
38
|
+
destroy() {
|
|
39
|
+
s = null, r(null, o), o.remove();
|
|
40
|
+
},
|
|
41
|
+
goToPage(e) {
|
|
42
|
+
return s === null ? (c = e, !0) : (s.goToPage(e - 1), !0);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export { i as pdfPlugin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as e, k as t, n } from "../../chunks/provider-
|
|
1
|
+
import { P as e, k as t, n } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
2
2
|
import { t as r } from "../../chunks/icon-DnBGEq-n.mjs";
|
|
3
3
|
import "../../components/icon/index.mjs";
|
|
4
4
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, vShow as y, withCtx as b, withDirectives as x } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as e } from "../../chunks/provider-
|
|
1
|
+
import { at as e } from "../../chunks/provider-E-KkUJb4.mjs";
|
|
2
2
|
import { defineAsyncComponent as t, h as n } from "vue";
|
|
3
3
|
// ../../packages/dlzn-ui/plugins/captcha/index.ts
|
|
4
4
|
var r = () => new Promise((r) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../autoImport/$msg/index.mjs";
|
|
2
|
-
import "../../chunks/provider-
|
|
2
|
+
import "../../chunks/provider-E-KkUJb4.mjs";
|
|
3
3
|
import { isFalsy as t } from "../../utils/boolean.mjs";
|
|
4
4
|
import { useClipboard as n } from "@vueuse/core";
|
|
5
5
|
// ../../packages/dlzn-ui/plugins/directive/index.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../chunks/Wrapper-
|
|
1
|
+
export { t as default } from "../../chunks/Wrapper-BMPkbCR3.mjs";
|