agilebuilder-ui 1.1.65-tmp26 → 1.1.65-tmp27
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/index.full.min.js +1115 -1102
- package/dist/style.css +36 -20
- package/es/IntervalSelection/src/sectionDate.vue.mjs +8 -8
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -11
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +8 -8
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +5 -5
- package/es/chat-embed/src/chat-sender.vue2.mjs +41 -41
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +1 -2
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +6 -7
- package/es/chat-embed/src/components/history-detail.vue2.mjs +18 -18
- package/es/chat-embed/src/header.vue2.mjs +16 -16
- package/es/chat-embed/src/index.vue2.mjs +161 -161
- package/es/chat-embed/src/recommendation-message.vue2.mjs +9 -6
- package/es/chat-embed/src/sidebar-item.vue2.mjs +65 -65
- package/es/chat-embed/src/voice/voice.vue.mjs +36 -35
- package/es/date-picker-range/index.vue2.mjs +39 -39
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +8 -7
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +54 -54
- package/es/department-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-tree-mobile/src/dept-result.vue.mjs +7 -6
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +5 -5
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +10 -9
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +64 -64
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/empty-state/index.vue.mjs +2 -2
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +1 -1
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +1 -1
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +12 -12
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +24 -24
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +17 -17
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +12 -12
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +23 -23
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +34 -34
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +15 -15
- package/es/json-view/json-view-dialog.vue.mjs +5 -5
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +1 -1
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +5 -5
- package/es/row-form/index.vue2.mjs +31 -31
- package/es/row-form/operation.vue.mjs +13 -13
- package/es/secret-info/index.vue.mjs +1 -1
- package/es/src/components/Affix/index.vue2.mjs +26 -26
- package/es/src/components/Scrollbar/index.vue.mjs +22 -22
- package/es/src/views/error-page/401.vue.mjs +8 -8
- package/es/src/views/error-page/404.vue.mjs +8 -8
- package/es/style.css +933 -917
- package/es/super-grid/src/columns-config.vue.mjs +1 -1
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +5 -5
- package/es/super-grid/src/components/select-input.vue.mjs +55 -55
- package/es/super-grid/src/row-detail.vue.mjs +1 -1
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +1 -1
- package/es/super-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-grid/src/super-grid.vue.mjs +1 -1
- package/es/super-nine-grid/src/search-form-number.vue.mjs +4 -5
- package/es/super-nine-grid/src/search-form.vue.mjs +1 -1
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +1 -1
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +8 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +8 -7
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +51 -51
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +5 -5
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +4 -3
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +7 -6
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +65 -65
- package/es/year-range-picker/src/year-range-picker.vue.mjs +1 -1
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +6 -6
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +13 -10
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +8 -8
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +5 -5
- package/lib/chat-embed/src/chat-sender.vue2.cjs +20 -20
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +1 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +5 -6
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +18 -18
- package/lib/chat-embed/src/header.vue2.cjs +17 -17
- package/lib/chat-embed/src/index.vue2.cjs +123 -123
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +7 -4
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +35 -35
- package/lib/chat-embed/src/voice/voice.vue.cjs +36 -35
- package/lib/date-picker-range/index.vue2.cjs +11 -11
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +7 -6
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +53 -53
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +7 -6
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +5 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +9 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +61 -61
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/empty-state/index.vue.cjs +2 -2
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +1 -1
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +1 -1
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +12 -12
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +24 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +17 -17
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +12 -12
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +23 -23
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +36 -36
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +15 -15
- package/lib/json-view/json-view-dialog.vue.cjs +6 -6
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +1 -1
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +5 -5
- package/lib/row-form/index.vue2.cjs +31 -31
- package/lib/row-form/operation.vue.cjs +13 -13
- package/lib/secret-info/index.vue.cjs +1 -1
- package/lib/src/components/Affix/index.vue2.cjs +28 -28
- package/lib/src/components/Scrollbar/index.vue.cjs +22 -22
- package/lib/src/views/error-page/401.vue.cjs +7 -7
- package/lib/src/views/error-page/404.vue.cjs +4 -4
- package/lib/style.css +955 -939
- package/lib/super-grid/src/columns-config.vue.cjs +1 -1
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +5 -5
- package/lib/super-grid/src/components/select-input.vue.cjs +56 -56
- package/lib/super-grid/src/row-detail.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +1 -1
- package/lib/super-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-grid/src/super-grid.vue.cjs +1 -1
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +6 -6
- package/lib/super-nine-grid/src/search-form.vue.cjs +1 -1
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +1 -1
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +9 -8
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +48 -48
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +5 -5
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +6 -6
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +9 -8
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +63 -63
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +1 -1
- package/package.json +2 -2
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const e = require("vue"), t = require("@element-plus/icons-vue"), l = require("./workgroup-user-tree-service.cjs"), n = require("../../utils/organization.cjs"), a = require("./dept-path.vue.cjs"), r = require("./dept-result.vue.cjs"), o = require("element-plus"), s = require("vue-i18n"), c = require("../../utils/utils.cjs"), u = require("../../src/assets/nonemessage.png.cjs"), i = { style: { display: "flex" } }, d = { style: { flex: "0 0 20%", "text-align": "left" } }, p = { style: { flex: "0 0 80%", "text-align": "right" } }, f = { class: "item-row" }, m = { key: 0, class: "item-label" }, h = { style: { color: "#999" } }, g = ["onClick"], v = ["onClick"], y = { style: { display: "flex" } }, k = { class: "select-result" }, N = { key: 0 }, I = { key: 1 }, C = { key: 2 }, V = { key: 3, style: { "padding-left": "10px" } }, S = { key: 1 }, E = { style: { color: "#999" } }, w = { class: "button-area" }, x = e.defineComponent({ __name: "workgroup-user-tree-inline-app", props: { multiple: {}, branchInfo: {}, selectUserInfo: {}, searchField: {}, separator: {} }, emits: ["close"], setup(x2, { emit: U }) {
|
|
3
|
-
const B = x2, T = e.ref(null);
|
|
4
|
-
let
|
|
3
|
+
const B = x2, T = U, D = e.ref(null);
|
|
4
|
+
let R = e.ref(null), b = e.ref(false), _ = e.ref(null), M = e.ref([]);
|
|
5
5
|
e.ref([]);
|
|
6
|
-
let
|
|
6
|
+
let $ = e.ref([]), q = e.ref([]);
|
|
7
7
|
e.ref([]);
|
|
8
|
-
let
|
|
9
|
-
const { t:
|
|
10
|
-
function
|
|
8
|
+
let O = e.ref([]), P = e.ref([]), J = e.ref(null), j = e.ref(false), A = e.ref({ searchValue: null, treeType: "MAN_GROUP_TREE", departmentInfo: null }), H = e.ref({ disabled: "disable" }), K = e.ref(false);
|
|
9
|
+
const { t: z } = s.useI18n();
|
|
10
|
+
function F() {
|
|
11
11
|
c.canShowOrgTree().then((e2) => {
|
|
12
12
|
e2 ? l.getTenantChildren(B.branchInfo, "-1").then((e3) => {
|
|
13
|
-
|
|
14
|
-
}) :
|
|
13
|
+
M.value = e3, l.checkedDeptDefault($.value, P.value);
|
|
14
|
+
}) : M.value = [];
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
B.multiple && (t2 ? B.multiple &&
|
|
17
|
+
function G(e2, t2, l2) {
|
|
18
|
+
B.multiple && (t2 ? B.multiple && Z(e2) : (B.multiple || e2.nodeType && "USER" === e2.nodeType) && L(e2));
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
!B.multiple && e2.nodeType && "USER" === e2.nodeType && (
|
|
20
|
+
function W(e2, t2, l2, n2) {
|
|
21
|
+
!B.multiple && e2.nodeType && "USER" === e2.nodeType && ($.value = [e2]);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Z(e2) {
|
|
24
24
|
if (e2.nodeType && "USER" === e2.nodeType) {
|
|
25
|
-
const t2 = M.value.filter((t3) => t3.nodeId === e2.nodeId);
|
|
26
|
-
t2 && 0 !== t2.length || M.value.push(JSON.parse(JSON.stringify(e2)));
|
|
27
|
-
} else {
|
|
28
25
|
const t2 = $.value.filter((t3) => t3.nodeId === e2.nodeId);
|
|
29
26
|
t2 && 0 !== t2.length || $.value.push(JSON.parse(JSON.stringify(e2)));
|
|
27
|
+
} else {
|
|
28
|
+
const t2 = q.value.filter((t3) => t3.nodeId === e2.nodeId);
|
|
29
|
+
t2 && 0 !== t2.length || q.value.push(JSON.parse(JSON.stringify(e2)));
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function L(e2) {
|
|
33
33
|
if (e2.nodeType && "USER" === e2.nodeType) {
|
|
34
|
-
const t2 = M.value.findIndex((t3) => t3.nodeId === e2.nodeId);
|
|
35
|
-
M.value.splice(t2, 1);
|
|
36
|
-
} else {
|
|
37
34
|
const t2 = $.value.findIndex((t3) => t3.nodeId === e2.nodeId);
|
|
38
35
|
$.value.splice(t2, 1);
|
|
36
|
+
} else {
|
|
37
|
+
const t2 = q.value.findIndex((t3) => t3.nodeId === e2.nodeId);
|
|
38
|
+
q.value.splice(t2, 1);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
j.value = false;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Q(e2) {
|
|
43
43
|
if (B.multiple)
|
|
44
44
|
if (e2) {
|
|
45
|
-
const e3 =
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
const e3 = M.value.map((e4) => e4.nodeId);
|
|
46
|
+
D.value.setCheckedKeys(e3, false), M.value.forEach((e4) => {
|
|
47
|
+
Z(e4);
|
|
48
48
|
});
|
|
49
49
|
} else
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}),
|
|
50
|
+
M.value.forEach((e3) => {
|
|
51
|
+
L(e3);
|
|
52
|
+
}), D.value.setCheckedKeys([], false);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function X(e2) {
|
|
55
55
|
l.loadChildNodes(B.branchInfo, e2.id).then((e3) => {
|
|
56
|
-
|
|
56
|
+
M.value = e3, l.checkedDeptDefault($.value, P.value);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
59
|
+
function Y(e2, t2) {
|
|
60
|
+
O.value.push(e2), X(e2);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
t2 ? (
|
|
62
|
+
function ee(e2, t2, l2) {
|
|
63
|
+
t2 ? (O.value = [], F()) : (O.value.splice(l2 + 1, O.value.length - (l2 + 1)), X(e2));
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function te() {
|
|
66
|
+
J.value.showResult();
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
const t2 =
|
|
68
|
+
function le(e2) {
|
|
69
|
+
const t2 = M.value.filter((t3) => t3.nodeId === e2.nodeId);
|
|
70
70
|
if (t2 && t2.length > 0) {
|
|
71
71
|
const t3 = [];
|
|
72
|
-
|
|
72
|
+
$.value.forEach((l2) => {
|
|
73
73
|
l2.nodeId !== e2.nodeId && t3.push(l2.nodeId);
|
|
74
|
-
}),
|
|
74
|
+
}), q.value.forEach((l2) => {
|
|
75
75
|
l2.nodeId !== e2.nodeId && t3.push(l2.nodeId);
|
|
76
|
-
}),
|
|
76
|
+
}), D.value.setCheckedKeys(t3, true);
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
L(e2);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
if (0 !==
|
|
80
|
+
function ne() {
|
|
81
|
+
if (0 !== q.value.length || 0 !== $.value.length)
|
|
82
82
|
if (B.multiple) {
|
|
83
83
|
const e2 = { userIds: [], userNames: [], loginNames: [], userZhNames: [], userEnNames: [], emails: [], telephones: [], users: [] }, t2 = [];
|
|
84
|
-
|
|
84
|
+
q.value.forEach((e3) => {
|
|
85
85
|
t2.push(e3.id);
|
|
86
|
-
}),
|
|
86
|
+
}), $.value.forEach((t3) => {
|
|
87
87
|
const l2 = JSON.parse(t3.data);
|
|
88
|
-
n.addSelectedUserInfo(e2, l2,
|
|
89
|
-
}),
|
|
88
|
+
n.addSelectedUserInfo(e2, l2, b.value);
|
|
89
|
+
}), K.value = true, t2.length > 0 ? l.getUserInWorkgroups(t2).then((t3) => {
|
|
90
90
|
t3 && t3.forEach((t4) => {
|
|
91
|
-
n.addSelectedUserInfo(e2, t4,
|
|
92
|
-
}),
|
|
91
|
+
n.addSelectedUserInfo(e2, t4, b.value);
|
|
92
|
+
}), K.value = false, e2.userIds.length > 0 ? T("close", e2) : o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
|
|
93
93
|
}).catch(() => {
|
|
94
|
-
|
|
95
|
-
}) : (
|
|
94
|
+
K.value = false;
|
|
95
|
+
}) : (K.value = false, e2.userIds.length > 0 ? T("close", e2) : o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" }));
|
|
96
96
|
} else {
|
|
97
|
-
const e2 = JSON.parse(
|
|
98
|
-
|
|
97
|
+
const e2 = JSON.parse($.value[0].data), t2 = n.packageSelectResult(e2, b.value);
|
|
98
|
+
T("close", t2);
|
|
99
99
|
}
|
|
100
100
|
else
|
|
101
|
-
o.ElMessage({ message:
|
|
101
|
+
o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
|
|
105
|
-
e2 ? (0 === e2.length && o.ElMessage({ message:
|
|
106
|
-
})) :
|
|
103
|
+
function ae() {
|
|
104
|
+
A.value.searchValue ? (A.value.searchValue = A.value.searchValue.trim(), A.value.departmentInfo = B.branchInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-users-mobile", A.value).then((e2) => {
|
|
105
|
+
e2 ? (0 === e2.length && o.ElMessage({ message: z("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), M.value = e2) : o.ElMessage({ message: z("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
|
|
106
|
+
})) : F();
|
|
107
107
|
}
|
|
108
108
|
return e.onMounted(() => {
|
|
109
109
|
n.initSelectUsers(B.searchField, B.selectUserInfo, B.separator).then((e2) => {
|
|
110
|
-
|
|
110
|
+
$.value = e2, l.getTenant().then((e3) => {
|
|
111
111
|
const t2 = e3[0].data;
|
|
112
|
-
|
|
112
|
+
R.value = JSON.parse(t2), b.value = e3[0].containBranch, _.value = e3[0].name, F();
|
|
113
113
|
});
|
|
114
114
|
}), function() {
|
|
115
115
|
const e2 = document.querySelector(".org-tree");
|
|
@@ -117,8 +117,8 @@ const e = require("vue"), t = require("@element-plus/icons-vue"), l = require(".
|
|
|
117
117
|
t2 = t2 - 110 - 60 - 60 - 60, e2.style.height = t2 + "px", e2.style.minHeight = "300px";
|
|
118
118
|
}();
|
|
119
119
|
}), (l2, o2) => {
|
|
120
|
-
const s2 = e.resolveComponent("el-checkbox"), c2 = e.resolveComponent("el-icon"),
|
|
121
|
-
return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(
|
|
120
|
+
const s2 = e.resolveComponent("el-checkbox"), c2 = e.resolveComponent("el-icon"), U2 = e.resolveComponent("el-input"), B2 = e.resolveComponent("el-col"), T2 = e.resolveComponent("el-row"), R2 = e.resolveComponent("el-card"), b2 = e.resolveComponent("el-empty"), K2 = e.resolveComponent("el-tree"), z2 = e.resolveComponent("el-button");
|
|
121
|
+
return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(R2, { class: "card-content", style: { height: "50px" } }, { default: e.withCtx(() => [e.createVNode(T2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(B2, { style: { width: "100%" } }, { default: e.withCtx(() => [e.createElementVNode("div", i, [e.createElementVNode("div", d, [x2.multiple ? (e.openBlock(), e.createBlock(s2, { key: 0, modelValue: e.unref(j), "onUpdate:modelValue": o2[0] || (o2[0] = (t2) => e.isRef(j) ? j.value = t2 : j = t2), label: l2.$t("departmentTreeInline.allCheck"), value: "all", onChange: Q }, null, 8, ["modelValue", "label"])) : e.createCommentVNode("", true)]), e.createElementVNode("div", p, [e.createVNode(U2, { modelValue: e.unref(A).searchValue, "onUpdate:modelValue": o2[1] || (o2[1] = (t2) => e.unref(A).searchValue = t2), placeholder: l2.$t("departmentUserTree.pleaseEnterUserInformation"), onClear: ae, onKeyup: e.withKeys(ae, ["enter"]), onBlur: ae, clearable: "" }, { suffix: e.withCtx(() => [e.createVNode(c2, { onClick: ae }, { default: e.withCtx(() => [e.createVNode(e.unref(t.Search))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder"])])])]), _: 1 })]), _: 1 })]), _: 1 }), e.unref(_) ? (e.openBlock(), e.createBlock(R2, { key: 0, class: "card-content" }, { default: e.withCtx(() => [e.createVNode(T2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(B2, { class: "item-label dept-path" }, { default: e.withCtx(() => [e.createVNode(a, { tenantName: e.unref(_), clickDepts: e.unref(O), onClickBreadcrumb: ee }, null, 8, ["tenantName", "clickDepts"])]), _: 1 })]), _: 1 })]), _: 1 })) : e.createCommentVNode("", true), e.createVNode(R2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: e.withCtx(() => [e.unref(M).length ? (e.openBlock(), e.createBlock(K2, { key: 1, ref_key: "orgTreeRef", ref: D, data: e.unref(M), "show-checkbox": x2.multiple, "node-key": "nodeId", props: e.unref(H), "default-checked-keys": e.unref(P), onCheckChange: G, onNodeClick: W }, { default: e.withCtx(({ node: l3, data: a2 }) => [e.createElementVNode("div", f, [a2.nodeType && "USER" === a2.nodeType ? (e.openBlock(), e.createElementBlock("div", m, [e.createTextVNode(e.toDisplayString(a2.showName) + " ", 1), e.createElementVNode("span", h, "(" + e.toDisplayString(a2.loginName) + e.toDisplayString(e.unref(n.getUserMainDeptName)(a2) ? "/" + e.unref(n.getUserMainDeptName)(a2) : "") + ")", 1)])) : (e.openBlock(), e.createElementBlock("div", { key: 1, class: "item-label", onClick: (e2) => Y(a2) }, e.toDisplayString(a2.name), 9, g)), a2.nodeType && "USER" === a2.nodeType ? e.createCommentVNode("", true) : (e.openBlock(), e.createElementBlock("div", { key: 2, class: "item-side", onClick: (e2) => Y(a2) }, [e.createVNode(c2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowRight))]), _: 1 })], 8, v))])]), _: 1 }, 8, ["data", "show-checkbox", "props", "default-checked-keys"])) : (e.openBlock(), e.createBlock(b2, { key: 0, image: e.unref(u) }, null, 8, ["image"]))]), _: 1 }), e.createVNode(R2, { class: "card-footer" }, { default: e.withCtx(() => [e.createElementVNode("div", y, [e.createElementVNode("div", k, [x2.multiple ? (e.openBlock(), e.createElementBlock("span", { key: 0, onClick: te }, [e.unref($).length > 0 && e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", N, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectUserResultInfo", { userNum: e.unref($).length })) + ", " + e.toDisplayString(l2.$t("departmentUserTree.selectDeptResultInfo", { deptNum: e.unref(q).length })), 1)) : e.unref($).length > 0 ? (e.openBlock(), e.createElementBlock("span", I, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectUserResultInfo", { userNum: e.unref($).length })), 1)) : e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", C, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectDeptResultInfo", { deptNum: e.unref(q).length })), 1)) : e.createCommentVNode("", true), e.unref($).length > 0 || e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", V, [e.createVNode(c2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowUpBold))]), _: 1 })])) : e.createCommentVNode("", true)])) : e.unref($).length > 0 ? (e.openBlock(), e.createElementBlock("span", S, [e.createTextVNode(e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(e.unref($)[0].showName), 1), e.createElementVNode("span", E, "(" + e.toDisplayString(e.unref($)[0].loginName) + e.toDisplayString(e.unref(n.getUserMainDeptName)(e.unref($)[0]) ? "/" + e.unref(n.getUserMainDeptName)(e.unref($)[0]) : "") + ")", 1)])) : e.createCommentVNode("", true)]), e.createElementVNode("div", w, [e.createVNode(z2, { size: "large", type: "primary", onClick: ne }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(l2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 })])])]), _: 1 }), e.createVNode(r, { ref_key: "deptResultRef", ref: J, selectUsers: e.unref($).concat(e.unref(q)), onRemoveResult: le }, null, 8, ["selectUsers"])]);
|
|
122
122
|
};
|
|
123
123
|
} });
|
|
124
124
|
module.exports = x;
|
|
@@ -6,6 +6,6 @@ const t = require("../../_virtual/_plugin-vue_export-helper.cjs")({ name: "YearR
|
|
|
6
6
|
this.value[1] = a2, e.$emit(this, "change", this.value);
|
|
7
7
|
} }, emits: ["change", "update:value", , "update:value"] }, [["render", function(e2, t2, l, r, o, n) {
|
|
8
8
|
const u = a.resolveComponent("el-date-picker");
|
|
9
|
-
return a.openBlock(), a.createElementBlock("div", null, [a.createVNode(u, { modelValue: l.value[0], "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l.value[0] = e3), style: { width: "47%" }, "value-format": "YYYY", type: "year", placeholder: e2.$t("imatrixUIMessage.selectYear"), onChange: n.changeStart }, null, 8, ["modelValue", "placeholder", "onChange"]), a.createTextVNode(" - "), a.createVNode(u, { modelValue: l.value[1], "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => l.value[1] = e3), style: { width: "47%" }, "value-format": "YYYY", type: "year", placeholder: e2.$t("imatrixUIMessage.selectYear"), onChange: n.changeEnd }, null, 8, ["modelValue", "placeholder", "onChange"])]);
|
|
9
|
+
return a.openBlock(), a.createElementBlock("div", null, [a.createVNode(u, { modelValue: l.value[0], "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l.value[0] = e3), style: { width: "47%" }, "value-format": "YYYY", type: "year", placeholder: e2.$t("imatrixUIMessage.selectYear"), onChange: n.changeStart }, null, 8, ["modelValue", "placeholder", "onChange"]), t2[2] || (t2[2] = a.createTextVNode(" - ", -1)), a.createVNode(u, { modelValue: l.value[1], "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => l.value[1] = e3), style: { width: "47%" }, "value-format": "YYYY", type: "year", placeholder: e2.$t("imatrixUIMessage.selectYear"), onChange: n.changeEnd }, null, 8, ["modelValue", "placeholder", "onChange"])]);
|
|
10
10
|
}]]);
|
|
11
11
|
module.exports = t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agilebuilder-ui",
|
|
3
|
-
"version": "1.1.65-
|
|
3
|
+
"version": "1.1.65-tmp27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/index.cjs",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"vite": "^4.4.5",
|
|
49
49
|
"vite-plugin-require-transform": "^1.0.21",
|
|
50
50
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
51
|
-
"vue": "3.
|
|
51
|
+
"vue": "^3.5.17",
|
|
52
52
|
"vue-i18n": "^9.5.0",
|
|
53
53
|
"vue-router": "^4.2.5",
|
|
54
54
|
"vuex": "^4.1.0"
|