@pubinfo/module-rbac 2.0.11 → 2.0.13
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/{IconSelect-CkqLR5Dg.js → IconSelect-Cco4lJFZ.js} +1 -1
- package/dist/IconSelect.css +1 -1
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-C9GJFjrV.js +757 -0
- package/dist/LayoutForm-DqDnsQcr.js +173 -0
- package/dist/LayoutForm.css +1 -0
- package/dist/{MetaForm-DtlyvzoM.js → MetaForm-s74FbAc9.js} +51 -43
- package/dist/{ResourceEdit-WpEdbzaw.js → ResourceEdit-CNYAteRE.js} +1 -1
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-BLqs77A8.js +433 -0
- package/dist/{ResourceRelation-DGiGYy6V.js → ResourceRelation-CeM9Eq39.js} +10 -11
- package/dist/{ResourceRelation-26FnHEfU.js → ResourceRelation-qhIdXLAy.js} +12 -13
- package/dist/{TenantEdit-B24X5nND.js → TenantEdit-C61O1pSu.js} +1 -1
- package/dist/{TenantEdit.vue_vue_type_script_setup_true_lang-Bu5HcJJv.js → TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js} +39 -40
- package/dist/{UserAuthorization-Co6JV0py.js → UserAuthorization-rqttVub5.js} +9 -10
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +1 -1
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +1 -1
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +3 -0
- package/dist/components/ResourceIcones/Select.vue.d.ts +3 -0
- package/dist/{createAndEditDataPermission-BhOLGGna.js → createAndEditDataPermission-DPeFulie.js} +1 -1
- package/dist/{createAndEditDataPermission.vue_vue_type_script_setup_true_lang-D5wInKwO.js → createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js} +98 -101
- package/dist/{drawerRole-DHLv47_z.js → drawerRole-CXGVqxPX.js} +1 -1
- package/dist/{drawerRole-DUWRM43j.js → drawerRole-CfJjf3v_.js} +1 -1
- package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BET5ukoo.js → drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js} +42 -43
- package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BK3zjhop.js → drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js} +1 -1
- package/dist/{index-Csfu3kAr.js → index-B5aP0re3.js} +6 -7
- package/dist/{index-DwpOyfRe.js → index-BEB4liGe.js} +8 -9
- package/dist/{index-DfuGXjYh.js → index-BNwGLzXe.js} +21 -22
- package/dist/{index-ioZh8Qom.js → index-BXvJhqJD.js} +6 -7
- package/dist/{index-DdoOaWs-.js → index-BsZjgoZQ.js} +1 -1
- package/dist/{index-BFx8F5lO.js → index-C2G4xRrJ.js} +8 -9
- package/dist/{index-x9Iim2eD.js → index-C5WD-YUu.js} +7 -8
- package/dist/{index-rNYtJ7Om.js → index-CbVJdR5M.js} +6 -7
- package/dist/{index-DECno0gv.js → index-ChWnVs6j.js} +2 -2
- package/dist/{index-C9hHp4Iw.js → index-CoZM8pyH.js} +1 -1
- package/dist/{index-B2tTTlBE.js → index-Copy5kiW.js} +276 -273
- package/dist/index-D3Xw_aOi.js +144 -0
- package/dist/{index-CCw3ZJgQ.js → index-DHVEXch0.js} +8 -9
- package/dist/{index-COWUocfL.js → index-Dl0hWfIE.js} +7 -8
- package/dist/{index-BIpmC999.js → index-En8oOf9e.js} +8 -9
- package/dist/{index-ZQuRR9fG.js → index-VZuizuKs.js} +1 -1
- package/dist/{index-BwWrE3dY.js → index-XhYtVVT9.js} +6 -7
- package/dist/{index-BUmMaC21.js → index-nAPHtTM7.js} +5 -6
- package/dist/{index-y9CQTo95.js → index-qn7U9T51.js} +9 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2588 -2289
- package/dist/index10.css +1 -1
- package/dist/index11.css +1 -1
- package/dist/index12.css +1 -1
- package/dist/index13.css +1 -1
- package/dist/index14.css +1 -1
- package/dist/index15.css +1 -1
- package/dist/index16.css +1 -1
- package/dist/index17.css +1 -1
- package/dist/index4.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/index7.css +1 -1
- package/dist/index8.css +1 -1
- package/dist/index9.css +1 -1
- package/dist/{loginHistoryDetail-B6eI-TmJ.js → loginHistoryDetail-BZVwG8m2.js} +1 -1
- package/dist/{login_history-B4Q1NCJn.js → login_history-CMZGS2PN.js} +5 -6
- package/dist/{operateHistoryDetail-CLZ9lyua.js → operateHistoryDetail-Badx3zl-.js} +1 -1
- package/dist/{operate_history-KASZ7_JO.js → operate_history-B42WNY1u.js} +5 -6
- package/dist/{setItem-BwMHXOUm.js → setItem-Blb3dox4.js} +1 -1
- package/dist/{useAppAndResource-38HCqYKa.js → useAppAndResource-DDywX2iz.js} +11 -12
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -3
- package/dist/views/data-permission/index.vue.d.ts +3 -3
- package/dist/views/resource/components/LayoutForm.vue.d.ts +10 -0
- package/dist/views/resource/hooks/useLayoutForm.d.ts +12 -0
- package/dist/views/resource/model.d.ts +12 -0
- package/package.json +3 -3
- package/src/components/ResourceIcones/BoxColorPicker.vue +64 -8
- package/src/components/ResourceIcones/Select.vue +13 -5
- package/src/index.ts +1 -0
- package/src/views/organization/index.vue +17 -10
- package/src/views/resource/components/IconSelect.vue +6 -2
- package/src/views/resource/components/LayoutForm.vue +92 -0
- package/src/views/resource/components/ResourceEdit.vue +24 -0
- package/src/views/resource/hooks/useLayoutForm.ts +57 -0
- package/src/views/resource/hooks/useMetaForm.ts +2 -0
- package/src/views/resource/model.ts +21 -1
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-BoGxAoNd.js +0 -703
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-id6jZAko.js +0 -392
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/enum-CTUzwCYG.js +0 -4
- package/dist/index-53oBz1jp.js +0 -299
- package/dist/index-DVt5k9xh.js +0 -145
- package/dist/index18.css +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Drawer as K, Form as Q, FormItem as W, Input as X, RangePicker as Z, Switch as ee, Button as te, Tooltip as ne, Space as ae } from "ant-design-vue/es";
|
|
2
|
-
import {
|
|
3
|
-
import { defineComponent as re, reactive as se, ref as _, computed as le, onMounted as ue, createBlock as
|
|
2
|
+
import { b as g, u as w, ResourceSelector as oe } from "./index.js";
|
|
3
|
+
import { defineComponent as re, reactive as se, ref as _, computed as le, onMounted as ue, createBlock as P, openBlock as f, unref as t, isRef as ie, withCtx as u, createVNode as r, createTextVNode as T, createElementVNode as C, toDisplayString as y, createElementBlock as k, Fragment as S, renderList as pe } from "vue";
|
|
4
4
|
import { message as de } from "ant-design-vue";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
function ce(l, p) {
|
|
5
|
+
import { h as ce } from "./ziyuanjiekou-BC65-bFK.js";
|
|
6
|
+
import { c as F } from "./cloneDeep-BOLZdR62.js";
|
|
7
|
+
function me(l, p) {
|
|
9
8
|
return g.Post("/rbac/tenant/pubTenantAdd", l, {
|
|
10
9
|
headers: {
|
|
11
10
|
"Content-Type": "application/json"
|
|
@@ -13,7 +12,7 @@ function ce(l, p) {
|
|
|
13
12
|
...p || {}
|
|
14
13
|
});
|
|
15
14
|
}
|
|
16
|
-
function
|
|
15
|
+
function Ee(l, p) {
|
|
17
16
|
return g.Get("/rbac/tenant/pubTenantDelete", {
|
|
18
17
|
params: {
|
|
19
18
|
...l
|
|
@@ -27,7 +26,7 @@ function fe(l, p) {
|
|
|
27
26
|
}
|
|
28
27
|
});
|
|
29
28
|
}
|
|
30
|
-
function
|
|
29
|
+
function Ie(l, p) {
|
|
31
30
|
return g.Post("/rbac/tenant/pubTenantPage", l, {
|
|
32
31
|
headers: {
|
|
33
32
|
"Content-Type": "application/json"
|
|
@@ -46,7 +45,7 @@ var b = /* @__PURE__ */ ((l) => (l.ADD = "新增", l.EDIT = "修改", l.REMOVE =
|
|
|
46
45
|
const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, Te = {
|
|
47
46
|
key: 1,
|
|
48
47
|
class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
|
|
49
|
-
},
|
|
48
|
+
}, he = /* @__PURE__ */ re({
|
|
50
49
|
name: "TenantEdit",
|
|
51
50
|
__name: "TenantEdit",
|
|
52
51
|
emits: ["submit"],
|
|
@@ -67,56 +66,56 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
67
66
|
resourceIds: [
|
|
68
67
|
{ type: "array", required: !0, message: "请选择所属资源", trigger: "change" }
|
|
69
68
|
]
|
|
70
|
-
},
|
|
69
|
+
}, c = se({
|
|
71
70
|
title: "",
|
|
72
71
|
record: {},
|
|
73
72
|
initData: {
|
|
74
73
|
enable: !0
|
|
75
74
|
}
|
|
76
|
-
}), [v, x] =
|
|
75
|
+
}), [v, x] = w(!1), E = _(), a = _({ enable: !0 });
|
|
77
76
|
async function $(s, e) {
|
|
78
|
-
if (
|
|
77
|
+
if (c.title = s, a.value = F(c.initData), s === b.EDIT) {
|
|
79
78
|
const o = await fe({ id: e.id });
|
|
80
79
|
if (o.success) {
|
|
81
|
-
const { tenantStartTime: i, tenantEndTime: d, ...
|
|
80
|
+
const { tenantStartTime: i, tenantEndTime: d, ...m } = o?.data ?? {};
|
|
82
81
|
a.value = {
|
|
83
|
-
...
|
|
82
|
+
...m,
|
|
84
83
|
tenantTime: [i, d]
|
|
85
84
|
};
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
87
|
x(!0);
|
|
89
88
|
}
|
|
90
|
-
const [q, I] =
|
|
89
|
+
const [q, I] = w(!1);
|
|
91
90
|
function B() {
|
|
92
|
-
const s =
|
|
91
|
+
const s = c.title === b.EDIT ? be : me;
|
|
93
92
|
E.value?.validate().then(() => {
|
|
94
93
|
const { tenantTime: e, resourceIds: o = [], ...i } = a.value, d = {
|
|
95
94
|
...i,
|
|
96
95
|
tenantStartTime: e?.[0],
|
|
97
96
|
tenantEndTime: e?.[1],
|
|
98
|
-
pubTenantResourcelist: o.map((
|
|
97
|
+
pubTenantResourcelist: o.map((m) => ({ resourceId: m }))
|
|
99
98
|
};
|
|
100
|
-
I(!0), s(d).then((
|
|
101
|
-
|
|
99
|
+
I(!0), s(d).then((m) => {
|
|
100
|
+
m.success && (de.success(`${c.title}成功!`), x(!1), Y("submit"));
|
|
102
101
|
}).finally(() => I(!1));
|
|
103
102
|
});
|
|
104
103
|
}
|
|
105
|
-
const h = _(),
|
|
104
|
+
const h = _(), R = _([]), L = le(() => a.value.resourceIds?.map((s) => ({ name: U(R.value).find((o) => o.id === s)?.name ?? "" })) ?? []);
|
|
106
105
|
function V() {
|
|
107
|
-
const s = a.value.resourceIds ?? [], e =
|
|
106
|
+
const s = a.value.resourceIds ?? [], e = R.value, o = U(e).reduce((i, d) => (i[d.id] = d.name, i), {});
|
|
108
107
|
h.value.open(s, e, o);
|
|
109
108
|
}
|
|
110
109
|
function j(s = []) {
|
|
111
110
|
a.value.resourceIds = s.map((e) => e.id);
|
|
112
111
|
}
|
|
113
112
|
function G() {
|
|
114
|
-
|
|
115
|
-
s.success && (
|
|
113
|
+
ce().then((s) => {
|
|
114
|
+
s.success && (R.value = s.data ?? []);
|
|
116
115
|
});
|
|
117
116
|
}
|
|
118
117
|
function U(s) {
|
|
119
|
-
const e =
|
|
118
|
+
const e = F(s);
|
|
120
119
|
for (let o = 0; o < e.length; o++)
|
|
121
120
|
e[o].children && (e.splice(o + 1, 0, ...e[o].children), e[o].children = void 0);
|
|
122
121
|
return e;
|
|
@@ -126,11 +125,11 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
126
125
|
}), p({
|
|
127
126
|
open: $
|
|
128
127
|
}), (s, e) => {
|
|
129
|
-
const o = X, i = W, d = Z,
|
|
130
|
-
return f(),
|
|
128
|
+
const o = X, i = W, d = Z, m = ee, D = te, O = oe, N = ne, z = Q, H = ae, J = K;
|
|
129
|
+
return f(), P(J, {
|
|
131
130
|
open: t(v),
|
|
132
131
|
"onUpdate:open": e[9] || (e[9] = (n) => ie(v) ? v.value = n : null),
|
|
133
|
-
title: `${t(
|
|
132
|
+
title: `${t(c).title}租户`,
|
|
134
133
|
placement: "right",
|
|
135
134
|
width: 600,
|
|
136
135
|
"destroy-on-close": "",
|
|
@@ -139,7 +138,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
139
138
|
footer: u(() => [
|
|
140
139
|
r(H, null, {
|
|
141
140
|
default: u(() => [
|
|
142
|
-
r(
|
|
141
|
+
r(D, {
|
|
143
142
|
onClick: e[7] || (e[7] = (n) => t(x)(!1))
|
|
144
143
|
}, {
|
|
145
144
|
default: u(() => e[11] || (e[11] = [
|
|
@@ -148,7 +147,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
148
147
|
_: 1,
|
|
149
148
|
__: [11]
|
|
150
149
|
}),
|
|
151
|
-
r(
|
|
150
|
+
r(D, {
|
|
152
151
|
type: "primary",
|
|
153
152
|
loading: t(q),
|
|
154
153
|
onClick: e[8] || (e[8] = (n) => B())
|
|
@@ -194,7 +193,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
194
193
|
r(o, {
|
|
195
194
|
value: t(a).tenantCode,
|
|
196
195
|
"onUpdate:value": e[1] || (e[1] = (n) => t(a).tenantCode = n),
|
|
197
|
-
disabled: t(
|
|
196
|
+
disabled: t(c).title === t(b).EDIT,
|
|
198
197
|
maxlength: 64,
|
|
199
198
|
placeholder: "请输入租户编码"
|
|
200
199
|
}, null, 8, ["value", "disabled"])
|
|
@@ -237,7 +236,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
237
236
|
r(o, {
|
|
238
237
|
value: t(a).pubUserAdmin,
|
|
239
238
|
"onUpdate:value": e[4] || (e[4] = (n) => t(a).pubUserAdmin = n),
|
|
240
|
-
disabled: t(
|
|
239
|
+
disabled: t(c).title === t(b).EDIT,
|
|
241
240
|
maxlength: 32,
|
|
242
241
|
placeholder: "请输入租户管理员"
|
|
243
242
|
}, null, 8, ["value", "disabled"])
|
|
@@ -246,7 +245,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
246
245
|
}),
|
|
247
246
|
r(i, { label: "是否启用" }, {
|
|
248
247
|
default: u(() => [
|
|
249
|
-
r(
|
|
248
|
+
r(m, {
|
|
250
249
|
checked: t(a).enable,
|
|
251
250
|
"onUpdate:checked": e[5] || (e[5] = (n) => t(a).enable = n)
|
|
252
251
|
}, null, 8, ["checked"])
|
|
@@ -258,7 +257,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
258
257
|
name: "resourceIds"
|
|
259
258
|
}, {
|
|
260
259
|
default: u(() => [
|
|
261
|
-
r(
|
|
260
|
+
r(D, {
|
|
262
261
|
type: "primary",
|
|
263
262
|
onClick: e[6] || (e[6] = (n) => V())
|
|
264
263
|
}, {
|
|
@@ -274,14 +273,14 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
274
273
|
ref: h,
|
|
275
274
|
onSelect: j
|
|
276
275
|
}, null, 512),
|
|
277
|
-
|
|
278
|
-
(f(!0), k(
|
|
279
|
-
n.name?.length > 20 ? (f(),
|
|
276
|
+
C("div", ge, [
|
|
277
|
+
(f(!0), k(S, null, pe(t(L), (n) => (f(), k(S, { key: n }, [
|
|
278
|
+
n.name?.length > 20 ? (f(), P(N, {
|
|
280
279
|
key: 0,
|
|
281
280
|
title: n.name
|
|
282
281
|
}, {
|
|
283
282
|
default: u(() => [
|
|
284
|
-
|
|
283
|
+
C("span", _e, y(`${n.name?.slice(0, 20)}...`), 1)
|
|
285
284
|
]),
|
|
286
285
|
_: 2
|
|
287
286
|
}, 1032, ["title"])) : (f(), k("span", Te, y(n.name), 1))
|
|
@@ -301,7 +300,7 @@ const ge = { class: "pt-10px" }, _e = { class: "inline-block mb-6px mr-6px bg-[#
|
|
|
301
300
|
});
|
|
302
301
|
export {
|
|
303
302
|
b as A,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
303
|
+
he as _,
|
|
304
|
+
Ee as g,
|
|
305
|
+
Ie as p
|
|
307
306
|
};
|
|
@@ -2,10 +2,9 @@ import { Drawer as X, Form as Y, Card as Z, FormItem as ee, Select as te, Button
|
|
|
2
2
|
import { PubinfoIcon as se } from "pubinfo";
|
|
3
3
|
import { defineComponent as le, ref as b, onMounted as re, createBlock as g, openBlock as n, unref as d, isRef as ie, withCtx as o, createVNode as r, createElementBlock as m, Fragment as y, renderList as R, createElementVNode as c, toDisplayString as x, createTextVNode as C, createCommentVNode as ue, normalizeStyle as S, nextTick as de } from "vue";
|
|
4
4
|
import { theme as pe, message as me } from "ant-design-vue";
|
|
5
|
-
import { u as $, A as ce } from "./index.js";
|
|
6
|
-
import { _ as
|
|
7
|
-
import { c as
|
|
8
|
-
import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import { u as $, A as ce, _ as fe } from "./index.js";
|
|
6
|
+
import { _ as _e, c as be } from "./RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js";
|
|
7
|
+
import { c as ge, e as xe } from "./shujuquanxianzhubiaokongzhiqi-SpN37fyO.js";
|
|
9
8
|
import './UserAuthorization.css';const he = { class: "flex items-center justify-between" }, ve = {
|
|
10
9
|
flex: "",
|
|
11
10
|
"items-center": ""
|
|
@@ -27,14 +26,14 @@ import './UserAuthorization.css';const he = { class: "flex items-center justify-
|
|
|
27
26
|
authList: []
|
|
28
27
|
}), V = b([]), B = b([]);
|
|
29
28
|
function M() {
|
|
30
|
-
|
|
29
|
+
ge().then((t) => {
|
|
31
30
|
t.data && t.data.length && (B.value = t.data);
|
|
32
|
-
}),
|
|
31
|
+
}), be({ name: "" }).then((t) => {
|
|
33
32
|
t.data && t.data.length && (V.value = t.data);
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
35
|
function j() {
|
|
37
|
-
I.userId && (f.value.authList = [],
|
|
36
|
+
I.userId && (f.value.authList = [], xe({ userId: I.userId }).then((t) => {
|
|
38
37
|
t.data && t.data.userOrgPermissionBos && t.data.userOrgPermissionBos.length && (f.value.authList = t.data.userOrgPermissionBos.map((e) => {
|
|
39
38
|
const { orgId: i = "", orgName: p = "", main: h = !1, dataPermissionsList: u, roleList: _, orgRoleList: v } = e, l = {
|
|
40
39
|
userId: I.userId,
|
|
@@ -257,7 +256,7 @@ import './UserAuthorization.css';const he = { class: "flex items-center justify-
|
|
|
257
256
|
]),
|
|
258
257
|
_: 1
|
|
259
258
|
}, 8, ["model"]),
|
|
260
|
-
r(d(
|
|
259
|
+
r(d(_e), {
|
|
261
260
|
ref_key: "roleModelRef",
|
|
262
261
|
ref: N,
|
|
263
262
|
group: "",
|
|
@@ -268,7 +267,7 @@ import './UserAuthorization.css';const he = { class: "flex items-center justify-
|
|
|
268
267
|
}, 8, ["open"]);
|
|
269
268
|
};
|
|
270
269
|
}
|
|
271
|
-
}),
|
|
270
|
+
}), Ne = /* @__PURE__ */ fe(Fe, [["__scopeId", "data-v-3c791c32"]]);
|
|
272
271
|
export {
|
|
273
|
-
|
|
272
|
+
Ne as default
|
|
274
273
|
};
|
|
@@ -52,11 +52,11 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
52
52
|
filter: (node: any) => boolean;
|
|
53
53
|
title: string;
|
|
54
54
|
multiple: boolean;
|
|
55
|
-
apis: ReturnType<typeof useOrgAPIs>;
|
|
56
55
|
tabs: Array<{
|
|
57
56
|
value: string;
|
|
58
57
|
label: string;
|
|
59
58
|
}>;
|
|
59
|
+
apis: ReturnType<typeof useOrgAPIs>;
|
|
60
60
|
disabledData: (node: any) => boolean;
|
|
61
61
|
}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
62
62
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -54,11 +54,11 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
54
54
|
}>, {
|
|
55
55
|
title: string;
|
|
56
56
|
multiple: boolean;
|
|
57
|
-
apis: ReturnType<typeof useUserAPIs> & Pick<ReturnType<typeof useOrgAPIs>, "orgTree" | "orgList">;
|
|
58
57
|
tabs: Array<{
|
|
59
58
|
value: string;
|
|
60
59
|
label: string;
|
|
61
60
|
}>;
|
|
61
|
+
apis: ReturnType<typeof useUserAPIs> & Pick<ReturnType<typeof useOrgAPIs>, "orgTree" | "orgList">;
|
|
62
62
|
disabledData: (node: any) => boolean;
|
|
63
63
|
filterOrg: (node: any) => boolean;
|
|
64
64
|
filterUser: (node: any) => boolean;
|
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
angle?: number | string;
|
|
3
3
|
background?: Background;
|
|
4
4
|
radius?: number | string;
|
|
5
|
+
iconSize?: number | string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
};
|
|
7
8
|
type Background = string | {
|
|
@@ -12,10 +13,12 @@ declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typ
|
|
|
12
13
|
"update:angle": (v: string | number) => any;
|
|
13
14
|
"update:background": (v: Background) => any;
|
|
14
15
|
"update:radius": (v: string | number) => any;
|
|
16
|
+
"update:iconSize": (v: string | number) => any;
|
|
15
17
|
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
18
|
"onUpdate:angle"?: ((v: string | number) => any) | undefined;
|
|
17
19
|
"onUpdate:background"?: ((v: Background) => any) | undefined;
|
|
18
20
|
"onUpdate:radius"?: ((v: string | number) => any) | undefined;
|
|
21
|
+
"onUpdate:iconSize"?: ((v: string | number) => any) | undefined;
|
|
19
22
|
}>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {
|
|
20
23
|
fromColorPickerRef: HTMLInputElement;
|
|
21
24
|
toColorPickerRef: HTMLInputElement;
|
|
@@ -9,6 +9,7 @@ type __VLS_PublicProps = {
|
|
|
9
9
|
};
|
|
10
10
|
'radius'?: number | string;
|
|
11
11
|
'iconColor'?: string;
|
|
12
|
+
'iconSize'?: number | string;
|
|
12
13
|
};
|
|
13
14
|
declare function __VLS_template(): {
|
|
14
15
|
attrs: Partial<{}>;
|
|
@@ -31,6 +32,7 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
31
32
|
to: string;
|
|
32
33
|
}) => any;
|
|
33
34
|
"update:radius": (value: string | number) => any;
|
|
35
|
+
"update:iconSize": (value: string | number) => any;
|
|
34
36
|
"update:boxType": (value: "square" | "null" | "prism") => any;
|
|
35
37
|
"update:iconColor": (value: string) => any;
|
|
36
38
|
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -41,6 +43,7 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
41
43
|
to: string;
|
|
42
44
|
}) => any) | undefined;
|
|
43
45
|
"onUpdate:radius"?: ((value: string | number) => any) | undefined;
|
|
46
|
+
"onUpdate:iconSize"?: ((value: string | number) => any) | undefined;
|
|
44
47
|
"onUpdate:boxType"?: ((value: "square" | "null" | "prism") => any) | undefined;
|
|
45
48
|
"onUpdate:iconColor"?: ((value: string) => any) | undefined;
|
|
46
49
|
}>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {
|