@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11
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/dist/ComponentSelect-A7uGTuHW.js +3498 -0
- package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
- package/dist/HCheckList-ODQHidN8.js +37 -0
- package/dist/HoverCard-CmJCoa2b.js +44 -0
- package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
- package/dist/ImportExport-DisdLoY8.js +342 -0
- package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
- package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
- package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
- package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
- package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
- package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
- package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
- package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
- package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
- package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
- package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
- package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
- package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
- package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
- package/dist/chunk-DiMWNkAf.js +18 -0
- package/dist/cloneDeep-CSOSavu3.js +6 -0
- package/dist/components/GroupSelector/index.vue.d.ts +7 -1
- package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
- package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
- package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
- package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
- package/dist/drawerDictionary-DYJTAZr6.js +126 -0
- package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
- package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
- package/dist/drawerOrganization-CwtSFUj0.js +247 -0
- package/dist/drawerPosition-CfyfeQCN.js +166 -0
- package/dist/drawerRegion-DAwY_29K.js +183 -0
- package/dist/drawerRole-B7uCfHk-.js +154 -0
- package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
- package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
- package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +613 -689
- package/dist/isEmpty-BjEzPyCa.js +12 -0
- package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
- package/dist/layout_setting.css +1 -1
- package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
- package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
- package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-C2GciMXz.js +155 -0
- package/dist/not-data-Bml86wdH.js +3 -0
- package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
- package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
- package/dist/operate_history.css +1 -1
- package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
- package/dist/organization.css +1 -1
- package/dist/other_setting-oVuhA70c.js +213 -0
- package/dist/other_setting.css +1 -1
- package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
- package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
- package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
- package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
- package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
- package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
- package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
- package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
- package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-znESrYgi.js +140 -0
- package/dist/useAppAndResource-B7FmNfKG.js +52 -0
- package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
- package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
- package/dist/views/components/setItem.vue.d.ts +5 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
- package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
- package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/other_setting/interface.d.ts +1 -2
- package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
- package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
- package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
- package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
- package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
- package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
- package/dist/watermark_setting-DYirSIAn.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +13 -13
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/other_setting/interface.ts +1 -1
- package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
- package/dist/ComponentSelect-WO-3S5rH.js +0 -2
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
- package/dist/HCheckList-B5Qk_HBI.js +0 -2
- package/dist/HCheckList-DLBewmPw.js +0 -36
- package/dist/HoverCard-69ZIOivd.js +0 -2
- package/dist/HoverCard-BDFcxxvk.js +0 -43
- package/dist/IconSelect-C_Gj5G4I.js +0 -3
- package/dist/ImportExport-CL5uPlby.js +0 -342
- package/dist/ImportExport-CPy2rvv7.js +0 -4
- package/dist/LayoutForm-QFjwakyQ.js +0 -4
- package/dist/MetaForm-Bb-um1Zo.js +0 -4
- package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
- package/dist/ResourceEdit-BTaNdwC_.js +0 -10
- package/dist/ResourceRelation-BIOzTOKA.js +0 -2
- package/dist/RoleRelation-CyTcqRfZ.js +0 -2
- package/dist/TenantEdit-BlMmL6q5.js +0 -2
- package/dist/UserAuthorization-qGr1Sdat.js +0 -3
- package/dist/UserEdit-CwfyqNWf.js +0 -3
- package/dist/animation_item-GzGItm3s.js +0 -2
- package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
- package/dist/browserType-BXTT4j6i.js +0 -2
- package/dist/chunk-Cpsc_9al.js +0 -18
- package/dist/cloneDeep-DDAtsK42.js +0 -7
- package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
- package/dist/drawerDictionary-D911w7pC.js +0 -2
- package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
- package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
- package/dist/drawerGroup-CEEDMBg9.js +0 -3
- package/dist/drawerOrganization-CqEMD3gE.js +0 -246
- package/dist/drawerOrganization-mks5NMd9.js +0 -2
- package/dist/drawerPosition-Bd0s7qze.js +0 -165
- package/dist/drawerPosition-DwlTrlGA.js +0 -2
- package/dist/drawerRegion-DUbQAZuV.js +0 -182
- package/dist/drawerRegion-DwVzsZfT.js +0 -2
- package/dist/drawerRole-BNrbcSmr.js +0 -3
- package/dist/drawerRole-BxUIekjh.js +0 -3
- package/dist/drawerRole-CyA2oFht.js +0 -4
- package/dist/drawerRole-D5X7oHB_.js +0 -153
- package/dist/isEmpty-BvRqbmpu.js +0 -13
- package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
- package/dist/menu_setting-5Jet091Q.js +0 -155
- package/dist/not-data-Cx--tk_h.js +0 -2
- package/dist/not-data-tyTawN37.js +0 -2
- package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
- package/dist/other_setting-DQ70WnZK.js +0 -213
- package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
- package/dist/routeSystem-DXMoWhFo.js +0 -2
- package/dist/setItem-Qa7UapHO.js +0 -4
- package/dist/tabbar_setting-B3kMhRNm.js +0 -139
- package/dist/toolbar_setting-DNBdxeGP.js +0 -140
- package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
- package/dist/watermark_setting-CXp4Og0Y.js +0 -191
|
@@ -4,6 +4,10 @@ type __VLS_Props = {
|
|
|
4
4
|
declare function onOpen(title: string, edit: boolean, record?: API.PubBlackWhiteList): Promise<void>;
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
6
6
|
open: typeof onOpen;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
submit: (...args: any[]) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
12
|
declare const _default: typeof __VLS_export;
|
|
9
13
|
export default _default;
|
|
@@ -15,7 +15,11 @@ type CheckOptions = {
|
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
}[];
|
|
17
17
|
type Val = Exclude<Settings.breadcrumb['style'] | Settings.menu['menuActiveStyle'] | Settings.tabbar['style'], undefined>;
|
|
18
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
18
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
change: (...args: any[]) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
19
23
|
name: string;
|
|
20
24
|
type: string;
|
|
21
25
|
open: boolean;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare function onOpen(title: string, record?: API.shujuquanxianxinzenghuogengxinduixiang): Promise<void>;
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
3
|
open: typeof onOpen;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
submit: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
9
|
declare const _default: typeof __VLS_export;
|
|
6
10
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.DictTypeVo): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, code: string, record?: API.DictItemVo): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, type: string, record?: API.PubGroup): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
visible: BooleanConstructor;
|
|
3
3
|
data: ObjectConstructor;
|
|
4
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
close: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
visible: BooleanConstructor;
|
|
8
|
+
data: ObjectConstructor;
|
|
9
|
+
}>> & Readonly<{
|
|
10
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
5
12
|
visible: boolean;
|
|
6
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
declare const __VLS_export: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
visible: BooleanConstructor;
|
|
3
3
|
data: ObjectConstructor;
|
|
4
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
close: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
visible: BooleanConstructor;
|
|
8
|
+
data: ObjectConstructor;
|
|
9
|
+
}>> & Readonly<{
|
|
10
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
5
12
|
visible: boolean;
|
|
6
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.PubOrg): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
declare function onOpen(record?: API.PubRoleResourceBo): Promise<void>;
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
3
|
open: typeof onOpen;
|
|
4
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
submit: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
9
|
declare const _default: typeof __VLS_export;
|
|
6
10
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SimplifyDeep } from 'type-fest';
|
|
2
2
|
export type SettingsKeys = keyof Required<Settings.all>;
|
|
3
|
-
type CombinedKeys = {
|
|
3
|
+
export type CombinedKeys = {
|
|
4
4
|
[K in SettingsKeys]: keyof SimplifyDeep<Required<Settings.all>[K]>;
|
|
5
5
|
}[SettingsKeys];
|
|
6
6
|
export interface Item {
|
|
@@ -20,4 +20,3 @@ export interface Form {
|
|
|
20
20
|
website: string;
|
|
21
21
|
beian: string;
|
|
22
22
|
}
|
|
23
|
-
export {};
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.PubPost): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.PubRegion): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -5,6 +5,10 @@ type __VLS_Props = {
|
|
|
5
5
|
declare function onOpen(): void;
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
7
7
|
open: typeof onOpen;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
submit: (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
13
|
declare const _default: typeof __VLS_export;
|
|
10
14
|
export default _default;
|
|
@@ -6,6 +6,10 @@ type __VLS_Props = {
|
|
|
6
6
|
declare function onOpen(key: ACTION, record?: Form): Promise<void>;
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
8
|
open: typeof onOpen;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
submit: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
14
|
declare const _default: typeof __VLS_export;
|
|
11
15
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.PubRoleResourceBo): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -2,6 +2,10 @@ import { ACTION } from '../enum';
|
|
|
2
2
|
declare function onOpen(key: ACTION, record?: API.PubRoleResourceBo): Promise<void>;
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
4
4
|
open: typeof onOpen;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
submit: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const _default: typeof __VLS_export;
|
|
7
11
|
export default _default;
|
|
@@ -3,6 +3,10 @@ import { ACTION } from '../enum';
|
|
|
3
3
|
declare function onOpen(key: ACTION, record?: RecordData): Promise<void>;
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
5
5
|
open: typeof onOpen;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
submit: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
9
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
11
|
declare const _default: typeof __VLS_export;
|
|
8
12
|
export default _default;
|
|
@@ -4,6 +4,10 @@ type __VLS_Props = {
|
|
|
4
4
|
declare function onOpen(): Promise<void>;
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
6
6
|
open: typeof onOpen;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
submit: (...args: any[]) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
12
|
declare const _default: typeof __VLS_export;
|
|
9
13
|
export default _default;
|
|
@@ -6,6 +6,10 @@ type __VLS_Props = {
|
|
|
6
6
|
declare function onOpen(key: ACTION, record?: Form): Promise<void>;
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
8
|
open: typeof onOpen;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
submit: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
14
|
declare const _default: typeof __VLS_export;
|
|
11
15
|
export default _default;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
|
|
2
|
+
import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
|
|
3
|
+
import { t as animation_item_default } from "./animation_item-DBOz2rcX.js";
|
|
4
|
+
import { PubinfoIcon, updateWatermark } from "pubinfo";
|
|
5
|
+
import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, unref, withCtx } from "vue";
|
|
6
|
+
import { PlusOutlined } from "@ant-design/icons-vue";
|
|
7
|
+
import { message } from "ant-design-vue";
|
|
8
|
+
import { Button, Divider, Input as Input$1, InputNumber, Select, Space as Space$1, Switch } from "ant-design-vue/es";
|
|
9
|
+
import './watermark_setting.css';var enableWatermark_default$1 = new URL("json-asset-688465aa.json", import.meta.url).href, enableWatermark_default = new URL("json-asset-cb22efd7.json", import.meta.url).href, _hoisted_1 = { class: "w-full h-full p-10px" }, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = { class: "px-30px py-20px max-w-1300px flex flex-wrap" }, _hoisted_5 = { class: "h-full w-[75%] rounded-[8px] jb flex justify-center" }, _hoisted_6 = { class: "pt-0px" }, _hoisted_7 = { class: "flex items-center mb-20px w-560px" }, _hoisted_8 = { class: "flex items-center mb-20px w-560px" }, _hoisted_9 = { class: "flex items-center mb-20px w-560px" }, _hoisted_10 = { class: "flex-1" }, _hoisted_11 = { class: "flex items-center mb-20px w-560px" }, _hoisted_12 = { class: "flex items-center mb-20px w-560px" }, _hoisted_13 = { class: "flex items-center mb-20px w-560px" }, _hoisted_14 = { class: "flex items-center mb-20px w-560px" }, _hoisted_15 = { class: "flex items-center flex-row-reverse w-560px" }, watermark_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "WatermarkSetting",
|
|
11
|
+
__name: "index",
|
|
12
|
+
setup(e) {
|
|
13
|
+
let s = defineComponent({
|
|
14
|
+
props: { vnodes: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: !0
|
|
17
|
+
} },
|
|
18
|
+
setup(e) {
|
|
19
|
+
return () => e.vnodes;
|
|
20
|
+
}
|
|
21
|
+
}), l = useSettingsStore(), u = ref();
|
|
22
|
+
function d() {
|
|
23
|
+
u.value && u.value?.play();
|
|
24
|
+
}
|
|
25
|
+
function f() {
|
|
26
|
+
u.value && u.value?.stop();
|
|
27
|
+
}
|
|
28
|
+
let p = ref({
|
|
29
|
+
text: l.globalSettings.watermark.text,
|
|
30
|
+
x: l.globalSettings.watermark.x,
|
|
31
|
+
y: l.globalSettings.watermark.y,
|
|
32
|
+
x_space: l.globalSettings.watermark.x_space,
|
|
33
|
+
y_space: l.globalSettings.watermark.y_space,
|
|
34
|
+
alpha: l.globalSettings.watermark.alpha,
|
|
35
|
+
width: l.globalSettings.watermark.width,
|
|
36
|
+
enable: l.globalSettings.watermark.enable
|
|
37
|
+
}), m = reactive([
|
|
38
|
+
{
|
|
39
|
+
label: "组织名称",
|
|
40
|
+
value: "O"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: "用户名称",
|
|
44
|
+
value: "U"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: "组织名称 用户名称",
|
|
48
|
+
value: "OU"
|
|
49
|
+
}
|
|
50
|
+
]), h = ref("");
|
|
51
|
+
function g(e) {
|
|
52
|
+
e.preventDefault(), h.value &&= (m.push({
|
|
53
|
+
label: h.value,
|
|
54
|
+
value: h.value
|
|
55
|
+
}), "");
|
|
56
|
+
}
|
|
57
|
+
function _(e) {
|
|
58
|
+
postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
|
|
59
|
+
e.success && (message.success("设置成功"), updateWatermark());
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function v() {
|
|
63
|
+
p.value = {
|
|
64
|
+
text: l.globalSettings.watermark.text,
|
|
65
|
+
x: l.globalSettings.watermark.x,
|
|
66
|
+
y: l.globalSettings.watermark.y,
|
|
67
|
+
x_space: l.globalSettings.watermark.x_space,
|
|
68
|
+
y_space: l.globalSettings.watermark.y_space,
|
|
69
|
+
alpha: l.globalSettings.watermark.alpha,
|
|
70
|
+
width: l.globalSettings.watermark.width,
|
|
71
|
+
enable: l.globalSettings.watermark.enable
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function y() {
|
|
75
|
+
l.globalSettings.watermark.text = p.value.text, l.globalSettings.watermark.width = p.value.width, l.globalSettings.watermark.x = p.value.x, l.globalSettings.watermark.y = p.value.y, l.globalSettings.watermark.x_space = p.value.x_space, l.globalSettings.watermark.y_space = p.value.y_space, l.globalSettings.watermark.alpha = p.value.alpha, l.globalSettings.watermark.enable = p.value.enable, _(JSON.stringify({ watermark: {
|
|
76
|
+
text: p.value.text,
|
|
77
|
+
width: p.value.width,
|
|
78
|
+
x: p.value.x,
|
|
79
|
+
y: p.value.y,
|
|
80
|
+
x_space: p.value.x_space,
|
|
81
|
+
y_space: p.value.y_space,
|
|
82
|
+
alpha: p.value.alpha,
|
|
83
|
+
enable: p.value.enable
|
|
84
|
+
} }));
|
|
85
|
+
}
|
|
86
|
+
return (e, t) => {
|
|
87
|
+
let n = PubinfoIcon, r = Divider, i = Input$1, a = PlusOutlined, o = Button, c = Space$1, l = Select, _ = InputNumber, b = Switch;
|
|
88
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
|
|
89
|
+
name: "icon_watermark",
|
|
90
|
+
class: "text-base mr-[6px]",
|
|
91
|
+
size: 22
|
|
92
|
+
}), t[11] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "页面水印", -1)]), createElementVNode("div", _hoisted_4, [createElementVNode("div", {
|
|
93
|
+
class: "w-400px h-270px mr-60px mb-20px item_ani dark:bg-[#3a3e43]! dark:border-transparent!",
|
|
94
|
+
onMouseenter: t[0] ||= (e) => d(),
|
|
95
|
+
onMouseleave: t[1] ||= (e) => f()
|
|
96
|
+
}, [createElementVNode("div", _hoisted_5, [createVNode(animation_item_default, {
|
|
97
|
+
ref_key: "animateItem",
|
|
98
|
+
ref: u,
|
|
99
|
+
"light-animation-data": unref(enableWatermark_default),
|
|
100
|
+
"dark-animation-data": unref(enableWatermark_default$1)
|
|
101
|
+
}, null, 8, ["light-animation-data", "dark-animation-data"])])], 32), createElementVNode("div", _hoisted_6, [
|
|
102
|
+
createElementVNode("div", _hoisted_7, [t[13] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印文案", -1), createVNode(l, {
|
|
103
|
+
value: unref(p).text,
|
|
104
|
+
"onUpdate:value": t[3] ||= (e) => unref(p).text = e,
|
|
105
|
+
class: "flex-1",
|
|
106
|
+
options: unref(m).map((e) => ({ ...e }))
|
|
107
|
+
}, {
|
|
108
|
+
dropdownRender: withCtx(({ menuNode: e }) => [
|
|
109
|
+
createVNode(unref(s), { vnodes: e }, null, 8, ["vnodes"]),
|
|
110
|
+
createVNode(r, { style: { margin: "4px 0" } }),
|
|
111
|
+
createVNode(c, { style: { padding: "4px 8px" } }, {
|
|
112
|
+
default: withCtx(() => [createVNode(i, {
|
|
113
|
+
value: unref(h),
|
|
114
|
+
"onUpdate:value": t[2] ||= (e) => isRef(h) ? h.value = e : null,
|
|
115
|
+
placeholder: "输入你需要的内容"
|
|
116
|
+
}, null, 8, ["value"]), createVNode(o, {
|
|
117
|
+
type: "text",
|
|
118
|
+
onClick: g
|
|
119
|
+
}, {
|
|
120
|
+
icon: withCtx(() => [createVNode(a)]),
|
|
121
|
+
default: withCtx(() => [t[12] ||= createTextVNode(" 增加选项 ", -1)]),
|
|
122
|
+
_: 1
|
|
123
|
+
})]),
|
|
124
|
+
_: 1
|
|
125
|
+
})
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["value", "options"])]),
|
|
129
|
+
createElementVNode("div", _hoisted_8, [t[14] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印宽度", -1), createVNode(_, {
|
|
130
|
+
value: unref(p).width,
|
|
131
|
+
"onUpdate:value": t[4] ||= (e) => unref(p).width = e,
|
|
132
|
+
class: "flex-1",
|
|
133
|
+
min: 1
|
|
134
|
+
}, null, 8, ["value"])]),
|
|
135
|
+
createElementVNode("div", _hoisted_9, [t[15] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印起始位置", -1), createElementVNode("div", _hoisted_10, [createVNode(c, null, {
|
|
136
|
+
default: withCtx(() => [createVNode(_, {
|
|
137
|
+
value: unref(p).x,
|
|
138
|
+
"onUpdate:value": t[5] ||= (e) => unref(p).x = e,
|
|
139
|
+
"addon-before": "x轴坐标",
|
|
140
|
+
min: 1
|
|
141
|
+
}, null, 8, ["value"]), createVNode(_, {
|
|
142
|
+
value: unref(p).y,
|
|
143
|
+
"onUpdate:value": t[6] ||= (e) => unref(p).y = e,
|
|
144
|
+
"addon-before": "y轴坐标",
|
|
145
|
+
min: 1
|
|
146
|
+
}, null, 8, ["value"])]),
|
|
147
|
+
_: 1
|
|
148
|
+
})])]),
|
|
149
|
+
createElementVNode("div", _hoisted_11, [t[16] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印x轴间距", -1), createVNode(_, {
|
|
150
|
+
value: unref(p).x_space,
|
|
151
|
+
"onUpdate:value": t[7] ||= (e) => unref(p).x_space = e,
|
|
152
|
+
class: "flex-1",
|
|
153
|
+
min: 1
|
|
154
|
+
}, null, 8, ["value"])]),
|
|
155
|
+
createElementVNode("div", _hoisted_12, [t[17] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印y轴间距", -1), createVNode(_, {
|
|
156
|
+
value: unref(p).y_space,
|
|
157
|
+
"onUpdate:value": t[8] ||= (e) => unref(p).y_space = e,
|
|
158
|
+
class: "flex-1",
|
|
159
|
+
min: 1
|
|
160
|
+
}, null, 8, ["value"])]),
|
|
161
|
+
createElementVNode("div", _hoisted_13, [t[18] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印透明度", -1), createVNode(_, {
|
|
162
|
+
value: unref(p).alpha,
|
|
163
|
+
"onUpdate:value": t[9] ||= (e) => unref(p).alpha = e,
|
|
164
|
+
class: "flex-1",
|
|
165
|
+
min: 0,
|
|
166
|
+
step: .01
|
|
167
|
+
}, null, 8, ["value"])]),
|
|
168
|
+
createElementVNode("div", _hoisted_14, [t[19] ||= createElementVNode("label", { class: "w-90px mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "水印开启", -1), createVNode(b, {
|
|
169
|
+
checked: unref(p).enable,
|
|
170
|
+
"onUpdate:checked": t[10] ||= (e) => unref(p).enable = e,
|
|
171
|
+
"checked-children": "开启",
|
|
172
|
+
"un-checked-children": "关闭"
|
|
173
|
+
}, null, 8, ["checked"])]),
|
|
174
|
+
createElementVNode("div", _hoisted_15, [createVNode(o, {
|
|
175
|
+
style: { "margin-left": "10px" },
|
|
176
|
+
onClick: v
|
|
177
|
+
}, {
|
|
178
|
+
default: withCtx(() => [...t[20] ||= [createTextVNode(" 重置 ", -1)]]),
|
|
179
|
+
_: 1
|
|
180
|
+
}), createVNode(o, {
|
|
181
|
+
type: "primary",
|
|
182
|
+
onClick: y
|
|
183
|
+
}, {
|
|
184
|
+
default: withCtx(() => [...t[21] ||= [createTextVNode(" 确定 ", -1)]]),
|
|
185
|
+
_: 1
|
|
186
|
+
})])
|
|
187
|
+
])])])]);
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}), [["__scopeId", "data-v-0ecfa3a5"]]);
|
|
191
|
+
export { watermark_setting_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.item_ani[data-v-0ecfa3a5]{background-color:var(--g-bg);border:1px solid var(--g-tabbar-tab-hover-bg);border-radius:.5rem;flex-direction:column;place-items:center;padding-top:26px;display:flex}.item_ani .jb[data-v-0ecfa3a5]{background:linear-gradient(180deg,var(--g-container-bg)0
|
|
1
|
+
.item_ani[data-v-0ecfa3a5]{background-color:var(--g-bg);border:1px solid var(--g-tabbar-tab-hover-bg);border-radius:.5rem;flex-direction:column;place-items:center;padding-top:26px;display:flex}.item_ani .jb[data-v-0ecfa3a5]{background:linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%)}.bar-header[data-v-0ecfa3a5]{background:var(--g-bg)}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/module-rbac",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.11",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@ant-design/icons-vue": "^7.0.1",
|
|
24
|
-
"@pubinfo/pro-components": "^1.8.
|
|
25
|
-
"alova": "^3.
|
|
24
|
+
"@pubinfo/pro-components": "^1.8.2",
|
|
25
|
+
"alova": "^3.5.0",
|
|
26
26
|
"ant-design-vue": "^4.2.6",
|
|
27
27
|
"pinia": "^3.0.4",
|
|
28
|
-
"pubinfo": "2.1.
|
|
28
|
+
"pubinfo": "2.1.11"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@destyler/color-picker": "^0.
|
|
32
|
-
"@destyler/popover": "^0.
|
|
33
|
-
"@destyler/vue": "^0.
|
|
31
|
+
"@destyler/color-picker": "^0.2.6",
|
|
32
|
+
"@destyler/popover": "^0.2.6",
|
|
33
|
+
"@destyler/vue": "^0.2.6",
|
|
34
34
|
"@pubinfo/headlessui": "^1.5.4",
|
|
35
|
-
"@vueuse/core": "^14.1
|
|
35
|
+
"@vueuse/core": "^14.2.1",
|
|
36
36
|
"dayjs": "^1.11.19",
|
|
37
37
|
"file-saver": "^2.0.5",
|
|
38
38
|
"json-editor-vue": "^0.18.1",
|
|
39
|
-
"lodash-es": "^4.17.
|
|
39
|
+
"lodash-es": "^4.17.23",
|
|
40
40
|
"lottie-web": "^5.13.0",
|
|
41
41
|
"vxe-table": "4.6.10"
|
|
42
42
|
},
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@ant-design/icons-vue": "^7.0.1",
|
|
45
45
|
"@pubinfo/openapi": "^0.9.1",
|
|
46
46
|
"@pubinfo/preset-openapi": "^0.9.1",
|
|
47
|
-
"@pubinfo/pro-components": "^1.8.
|
|
47
|
+
"@pubinfo/pro-components": "^1.8.2",
|
|
48
48
|
"@types/file-saver": "^2.0.7",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
|
-
"alova": "^3.
|
|
50
|
+
"alova": "^3.5.0",
|
|
51
51
|
"ant-design-vue": "^4.2.6",
|
|
52
52
|
"pinia": "^3.0.4",
|
|
53
|
-
"type-fest": "^4.
|
|
54
|
-
"pubinfo": "2.1.
|
|
53
|
+
"type-fest": "^5.4.4",
|
|
54
|
+
"pubinfo": "2.1.11"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"dev": "pubinfo build -w --sourcemap",
|
|
@@ -176,7 +176,7 @@ function onReset() {
|
|
|
176
176
|
:type="item.type"
|
|
177
177
|
:light-animation-data="item.lightData"
|
|
178
178
|
:dark-animation-data="item.darkData"
|
|
179
|
-
@change="(val) => onChange<
|
|
179
|
+
@change="(val) => onChange<any, any>(item.parentName, item.childName, val)"
|
|
180
180
|
/>
|
|
181
181
|
</div>
|
|
182
182
|
<div v-else>
|
|
@@ -190,7 +190,7 @@ function onReset() {
|
|
|
190
190
|
:type="item.type"
|
|
191
191
|
:light-animation-data="item.lightData"
|
|
192
192
|
:dark-animation-data="item.darkData"
|
|
193
|
-
@change="(val) => onChange<
|
|
193
|
+
@change="(val) => onChange<any, any>(item.parentName, item.childName, val)"
|
|
194
194
|
/>
|
|
195
195
|
<div class="grid-col-span-2 pt-40px">
|
|
196
196
|
<div class="flex items-center mb-20px w-560px">
|