@pubinfo-pr/module-rbac 0.222.4 → 0.223.1
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/{ResourceRelation-BwagNxld.js → ResourceRelation-CU-QpUhP.js} +1 -1
- package/dist/{ResourceRelation-CKZrGW9A.js → ResourceRelation-roz0a8Td.js} +1 -1
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- package/dist/{UserAuthorization-sU8yGviz.js → UserAuthorization-2Fl4IGw7.js} +1 -1
- package/dist/UserAuthorization.css +1 -1
- package/dist/{blackWhiteList-CaEw1uGl.js → blackWhiteList-DbG7JH8n.js} +1 -1
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-Dx2Li6xt.js +108 -0
- package/dist/{createAndEditDataPermission-BfIc8HNt.js → createAndEditDataPermission-8_KNLzJT.js} +1 -1
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-CeSzz7-6.js → data-permission-LpuDLDm0.js} +2 -2
- package/dist/data-permission.css +1 -1
- package/dist/{group-DmvSRTkz.js → group-CaOhkh72.js} +1 -1
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +43 -43
- package/dist/{layout_setting-DcFrUQtI.js → layout_setting-79srmFgJ.js} +1 -1
- package/dist/layout_setting.css +1 -1
- package/dist/{login_history-uB4F5Ddd.js → login_history-BiwaLpxA.js} +1 -1
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-ChueWHs4.js +155 -0
- package/dist/{operate_history-eTC0gtt3.js → operate_history-sPd9IHMV.js} +28 -30
- package/dist/operate_history.css +1 -0
- package/dist/{organization-CEDkYrjK.js → organization-Dv3FbKke.js} +6 -2
- package/dist/organization.css +1 -1
- package/dist/other_setting-BEV_UK0g.js +213 -0
- package/dist/page_animation_setting-Cp5OnFpd.js +108 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/{page_w_setting-Bp9cayqE.js → page_w_setting-Q--ct16C.js} +6 -2
- package/dist/page_w_setting.css +1 -1
- package/dist/{role-WO4NM7Er.js → role-4UgEw3nH.js} +1 -1
- package/dist/{setItem-Bjl8zTpQ.js → setItem-Vkcwkj-O.js} +1 -1
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-kbuTvrLB.js +139 -0
- package/dist/{theme_setting-Duv0kBY3.js → theme_setting-CEb7UYQO.js} +1 -1
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-BG-k2UFc.js +140 -0
- package/dist/{user-DeVw-Ynu.js → user-BkUpcQC8.js} +2 -2
- package/dist/user.css +1 -1
- package/dist/watermark_setting-Cl2EtPAa.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +3 -3
- package/src/components/GroupSelector/index.vue +24 -67
- package/src/components/OrgTree/index.vue +1 -1
- package/src/components/ResourceSelector/index.vue +15 -45
- package/src/views/blackWhiteList/index.vue +3 -9
- package/src/views/components/setItem.vue +2 -10
- package/src/views/data-permission/index.vue +1 -2
- package/src/views/group/index.vue +4 -7
- package/src/views/layout_setting/index.vue +20 -99
- package/src/views/log_center/login_history.vue +2 -7
- package/src/views/log_center/operate_history.vue +11 -4
- package/src/views/organization/index.vue +21 -23
- package/src/views/page_animation_setting/index.vue +23 -14
- package/src/views/page_w_setting/index.vue +6 -19
- package/src/views/role/components/ResourceRelation.vue +1 -2
- package/src/views/role_group/components/ResourceRelation.vue +1 -2
- package/src/views/safe_setting/index.vue +1 -1
- package/src/views/theme_setting/index.vue +17 -70
- package/src/views/user/components/UserAuthorization.vue +2 -2
- package/src/views/watermark_setting/index.vue +1 -4
- package/dist/breadcrumb_setting-CW3eWnlU.js +0 -108
- package/dist/lottie-03f0a035.json +0 -1
- package/dist/lottie-0ee63e7f.json +0 -1
- package/dist/lottie-10eef4fe.json +0 -1
- package/dist/lottie-13f452f1.json +0 -1
- package/dist/lottie-14b7b290.json +0 -1
- package/dist/lottie-15b8cef1.json +0 -1
- package/dist/lottie-15f77960.json +0 -1
- package/dist/lottie-1ae9b726.json +0 -1
- package/dist/lottie-1b02359f.json +0 -1
- package/dist/lottie-1ef286cd.json +0 -1
- package/dist/lottie-23cfd18c.json +0 -1
- package/dist/lottie-265a0a5d.json +0 -1
- package/dist/lottie-28d57c49.json +0 -1
- package/dist/lottie-2b54ed10.json +0 -1
- package/dist/lottie-2bb6f642.json +0 -1
- package/dist/lottie-2cdc07bd.json +0 -1
- package/dist/lottie-31c58607.json +0 -1
- package/dist/lottie-32884f23.json +0 -1
- package/dist/lottie-32fca43a.json +0 -1
- package/dist/lottie-3a75445b.json +0 -1
- package/dist/lottie-3f27d67c.json +0 -1
- package/dist/lottie-4189453f.json +0 -1
- package/dist/lottie-4702b37c.json +0 -1
- package/dist/lottie-520a5c68.json +0 -1
- package/dist/lottie-56bea508.json +0 -1
- package/dist/lottie-57c732a3.json +0 -1
- package/dist/lottie-5be4a28f.json +0 -1
- package/dist/lottie-5e6d7cfa.json +0 -1
- package/dist/lottie-64e176c9.json +0 -1
- package/dist/lottie-6583dca6.json +0 -1
- package/dist/lottie-66c640c6.json +0 -1
- package/dist/lottie-68393156.json +0 -1
- package/dist/lottie-688465aa.json +0 -1
- package/dist/lottie-6bf334f4.json +0 -1
- package/dist/lottie-7b4f72ce.json +0 -1
- package/dist/lottie-837ec087.json +0 -1
- package/dist/lottie-838ac1ba.json +0 -1
- package/dist/lottie-8465c2cf.json +0 -1
- package/dist/lottie-9e9f04a4.json +0 -1
- package/dist/lottie-a13964cb.json +0 -1
- package/dist/lottie-ab93a057.json +0 -1
- package/dist/lottie-abe308fc.json +0 -1
- package/dist/lottie-b24f2cd3.json +0 -1
- package/dist/lottie-bf00eaed.json +0 -1
- package/dist/lottie-cb22efd7.json +0 -1
- package/dist/lottie-cb953f20.json +0 -1
- package/dist/lottie-cc209e34.json +0 -1
- package/dist/lottie-cfdffceb.json +0 -1
- package/dist/lottie-d33c0299.json +0 -1
- package/dist/lottie-d430c8ca.json +0 -1
- package/dist/lottie-d8cfa560.json +0 -1
- package/dist/lottie-da91beb6.json +0 -1
- package/dist/lottie-e2bdf85c.json +0 -1
- package/dist/lottie-e34ad826.json +0 -1
- package/dist/lottie-e80720aa.json +0 -1
- package/dist/lottie-e894bc92.json +0 -1
- package/dist/lottie-f28020f2.json +0 -1
- package/dist/lottie-f71ebbf4.json +0 -1
- package/dist/lottie-fb1f4917.json +0 -1
- package/dist/lottie-ff2e97c4.json +0 -1
- package/dist/menu_setting-C5Pr_E9s.js +0 -155
- package/dist/other_setting-DaDLf9QC.js +0 -213
- package/dist/page_animation_setting-BzlBS0Sa.js +0 -109
- package/dist/tabbar_setting-C_B1WZn1.js +0 -139
- package/dist/toolbar_setting-BPROx6V9.js +0 -140
- package/dist/watermark_setting-r0rMSViF.js +0 -191
|
@@ -1,191 +0,0 @@
|
|
|
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-pr";
|
|
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("lottie-688465aa.json", import.meta.url).href, enableWatermark_default = new URL("lottie-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-40510ce7"]]);
|
|
191
|
-
export { watermark_setting_default as default };
|