agilebuilder-ui 1.1.65-tmp26 → 1.1.65-tmp28

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.
Files changed (151) hide show
  1. package/dist/index.full.min.js +1381 -1349
  2. package/dist/style.css +42 -22
  3. package/es/IntervalSelection/src/sectionDate.vue.mjs +8 -8
  4. package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -11
  5. package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +8 -8
  6. package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +5 -5
  7. package/es/chat-embed/src/chat-sender.vue2.mjs +41 -41
  8. package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +1 -2
  9. package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +6 -7
  10. package/es/chat-embed/src/components/history-detail.vue2.mjs +18 -18
  11. package/es/chat-embed/src/header.vue2.mjs +16 -16
  12. package/es/chat-embed/src/index.vue2.mjs +161 -161
  13. package/es/chat-embed/src/recommendation-message.vue2.mjs +9 -6
  14. package/es/chat-embed/src/sidebar-item.vue2.mjs +65 -65
  15. package/es/chat-embed/src/voice/voice.vue.mjs +36 -35
  16. package/es/date-picker-range/index.vue2.mjs +39 -39
  17. package/es/department-tree-mobile/src/department-tree-app.vue.mjs +8 -7
  18. package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +54 -54
  19. package/es/department-tree-mobile/src/dept-path.vue.mjs +7 -6
  20. package/es/department-tree-mobile/src/dept-result.vue.mjs +7 -6
  21. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +5 -5
  22. package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +10 -9
  23. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +64 -64
  24. package/es/department-user-tree-mobile/src/dept-path.vue.mjs +7 -6
  25. package/es/department-user-tree-mobile/src/dept-result.vue.mjs +4 -3
  26. package/es/empty-state/index.vue.mjs +2 -2
  27. package/es/fs-upload/src/fs-upload-multi.vue.mjs +1 -1
  28. package/es/fs-upload-list/src/fs-upload-list.vue.mjs +1 -1
  29. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +12 -12
  30. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +24 -24
  31. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +17 -17
  32. package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +12 -12
  33. package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +23 -23
  34. package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +23 -23
  35. package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +34 -34
  36. package/es/fs-upload-new/src/fs-upload-new.vue.mjs +15 -15
  37. package/es/json-view/json-view-dialog.vue.mjs +5 -5
  38. package/es/multipart-upload/src/multipart-upload-form.vue.mjs +1 -1
  39. package/es/multipart-upload/src/multipart-upload-list.vue.mjs +5 -5
  40. package/es/row-form/index.vue2.mjs +31 -31
  41. package/es/row-form/operation.vue.mjs +13 -13
  42. package/es/secret-info/index.vue.mjs +1 -1
  43. package/es/src/components/Affix/index.vue2.mjs +26 -26
  44. package/es/src/components/Scrollbar/index.vue.mjs +22 -22
  45. package/es/src/views/error-page/401.vue.mjs +8 -8
  46. package/es/src/views/error-page/404.vue.mjs +8 -8
  47. package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
  48. package/es/src/views/layout/components/Menubar/Item.vue2.mjs +2 -2
  49. package/es/src/views/super-icon/index.mjs +7 -0
  50. package/es/src/views/super-icon/src/index.vue.mjs +7 -0
  51. package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
  52. package/es/src/views/super-icon/src/index.vue3.mjs +4 -0
  53. package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
  54. package/es/style.css +907 -887
  55. package/es/super-grid/src/columns-config.vue.mjs +1 -1
  56. package/es/super-grid/src/components/grid-radio-input.vue.mjs +5 -5
  57. package/es/super-grid/src/components/select-input.vue.mjs +55 -55
  58. package/es/super-grid/src/row-detail.vue.mjs +1 -1
  59. package/es/super-grid/src/search-form-advancedQuery.vue.mjs +1 -1
  60. package/es/super-grid/src/search-form-number.vue.mjs +4 -5
  61. package/es/super-grid/src/super-grid.vue.mjs +1 -1
  62. package/es/super-nine-grid/src/search-form-number.vue.mjs +4 -5
  63. package/es/super-nine-grid/src/search-form.vue.mjs +1 -1
  64. package/es/super-nine-grid/src/super-nine-grid.vue.mjs +1 -1
  65. package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +8 -8
  66. package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +4 -3
  67. package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +8 -7
  68. package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +51 -51
  69. package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +5 -5
  70. package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +7 -6
  71. package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +4 -3
  72. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +7 -6
  73. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +65 -65
  74. package/es/year-range-picker/src/year-range-picker.vue.mjs +1 -1
  75. package/lib/IntervalSelection/src/sectionDate.vue.cjs +6 -6
  76. package/lib/chat-embed/src/chat-addition-data.vue2.cjs +13 -10
  77. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +8 -8
  78. package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +5 -5
  79. package/lib/chat-embed/src/chat-sender.vue2.cjs +20 -20
  80. package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +1 -2
  81. package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +5 -6
  82. package/lib/chat-embed/src/components/history-detail.vue2.cjs +18 -18
  83. package/lib/chat-embed/src/header.vue2.cjs +17 -17
  84. package/lib/chat-embed/src/index.vue2.cjs +123 -123
  85. package/lib/chat-embed/src/recommendation-message.vue2.cjs +7 -4
  86. package/lib/chat-embed/src/sidebar-item.vue2.cjs +35 -35
  87. package/lib/chat-embed/src/voice/voice.vue.cjs +36 -35
  88. package/lib/date-picker-range/index.vue2.cjs +11 -11
  89. package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +7 -6
  90. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +53 -53
  91. package/lib/department-tree-mobile/src/dept-path.vue.cjs +6 -6
  92. package/lib/department-tree-mobile/src/dept-result.vue.cjs +7 -6
  93. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +5 -5
  94. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +9 -8
  95. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +61 -61
  96. package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +6 -6
  97. package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +4 -3
  98. package/lib/empty-state/index.vue.cjs +2 -2
  99. package/lib/fs-upload/src/fs-upload-multi.vue.cjs +1 -1
  100. package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +1 -1
  101. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +12 -12
  102. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +24 -24
  103. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +17 -17
  104. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +12 -12
  105. package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +23 -23
  106. package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +23 -23
  107. package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +36 -36
  108. package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +15 -15
  109. package/lib/json-view/json-view-dialog.vue.cjs +6 -6
  110. package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +1 -1
  111. package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +5 -5
  112. package/lib/row-form/index.vue2.cjs +31 -31
  113. package/lib/row-form/operation.vue.cjs +13 -13
  114. package/lib/secret-info/index.vue.cjs +1 -1
  115. package/lib/src/components/Affix/index.vue2.cjs +28 -28
  116. package/lib/src/components/Scrollbar/index.vue.cjs +22 -22
  117. package/lib/src/views/error-page/401.vue.cjs +7 -7
  118. package/lib/src/views/error-page/404.vue.cjs +4 -4
  119. package/lib/src/views/layout/components/Menubar/Item.vue.cjs +1 -1
  120. package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +2 -2
  121. package/lib/src/views/super-icon/index.cjs +5 -0
  122. package/lib/src/views/super-icon/src/index.vue.cjs +5 -0
  123. package/lib/src/views/super-icon/src/index.vue2.cjs +10 -0
  124. package/lib/src/views/super-icon/src/index.vue3.cjs +2 -0
  125. package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +12 -0
  126. package/lib/style.css +920 -900
  127. package/lib/super-grid/src/columns-config.vue.cjs +1 -1
  128. package/lib/super-grid/src/components/grid-radio-input.vue.cjs +5 -5
  129. package/lib/super-grid/src/components/select-input.vue.cjs +56 -56
  130. package/lib/super-grid/src/row-detail.vue.cjs +1 -1
  131. package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +1 -1
  132. package/lib/super-grid/src/search-form-number.vue.cjs +6 -6
  133. package/lib/super-grid/src/super-grid.vue.cjs +1 -1
  134. package/lib/super-nine-grid/src/search-form-number.vue.cjs +6 -6
  135. package/lib/super-nine-grid/src/search-form.vue.cjs +1 -1
  136. package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +1 -1
  137. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +5 -5
  138. package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +4 -3
  139. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +9 -8
  140. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +48 -48
  141. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +5 -5
  142. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +6 -6
  143. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +4 -3
  144. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +9 -8
  145. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +63 -63
  146. package/lib/year-range-picker/src/year-range-picker.vue.cjs +1 -1
  147. package/package.json +2 -2
  148. package/src/views/layout/components/Menubar/Item.vue +1 -1
  149. package/src/views/super-icon/index.js +6 -0
  150. package/src/views/super-icon/src/index.vue +52 -0
  151. package/src/views/svg-icon/src/svg-icon.vue +5 -8
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
- const e = require("vue"), t = require("@element-plus/icons-vue"), l = require("../../utils/organization.cjs"), o = { style: { "text-align": "center" } }, r = { class: "item-row" }, n = { class: "item-label" }, a = { class: "item-description" }, i = ["onClick"], s = e.defineComponent({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(s2, { expose: d, emit: c }) {
2
+ const e = require("vue"), t = require("@element-plus/icons-vue"), l = require("../../utils/organization.cjs"), o = { style: { "text-align": "center" } }, n = { class: "item-row" }, r = { class: "item-label" }, a = { class: "item-description" }, s = ["onClick"], i = e.defineComponent({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(i2, { expose: d, emit: c }) {
3
3
  let u = e.ref(false);
4
+ const m = c;
4
5
  return d({ showResult: function() {
5
6
  u.value = true;
6
- } }), (d2, m) => {
7
+ } }), (d2, c2) => {
7
8
  const p = e.resolveComponent("el-icon"), f = e.resolveComponent("el-tree"), v = e.resolveComponent("el-drawer");
8
- return e.openBlock(), e.createBlock(v, { modelValue: e.unref(u), "onUpdate:modelValue": m[0] || (m[0] = (t2) => e.isRef(u) ? u.value = t2 : u = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", o, e.toDisplayString(d2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.createVNode(f, { ref: "orgResultTreeRef", data: s2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: e.withCtx(({ node: o2, data: s3 }) => [e.createElementVNode("div", r, [e.createElementVNode("div", n, [e.createTextVNode(e.toDisplayString(s3.showName), 1), e.createElementVNode("span", a, e.toDisplayString(e.unref(l.getShowDeptNamePath)(s3.showName, s3)), 1)]), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
9
- c("removeDept", s3);
10
- } }, [e.createVNode(p, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.DeleteFilled))]), _: 1 })], 8, i)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
9
+ return e.openBlock(), e.createBlock(v, { modelValue: e.unref(u), "onUpdate:modelValue": c2[0] || (c2[0] = (t2) => e.isRef(u) ? u.value = t2 : u = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", o, e.toDisplayString(d2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.createVNode(f, { ref: "orgResultTreeRef", data: i2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: e.withCtx(({ node: o2, data: i3 }) => [e.createElementVNode("div", n, [e.createElementVNode("div", r, [e.createTextVNode(e.toDisplayString(i3.showName), 1), e.createElementVNode("span", a, e.toDisplayString(e.unref(l.getShowDeptNamePath)(i3.showName, i3)), 1)]), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
10
+ m("removeDept", i3);
11
+ } }, [e.createVNode(p, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.DeleteFilled))]), _: 1 })], 8, s)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
11
12
  };
12
13
  } });
13
- module.exports = s;
14
+ module.exports = i;
@@ -146,9 +146,9 @@ const h = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { data: (
146
146
  setTimeout(() => {
147
147
  e2.isShowGroupTree = true;
148
148
  }, 10);
149
- } }, emits: ["result"] }, p = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, u = ["title"], m = { key: 1, style: { height: "100%", overflow: "hidden" } }, C = d.createElementVNode("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1), f = { style: { "text-align": "left", "font-size": "16px" } }, N = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
150
- const g = h(c, [["render", function(e2, t2, s2, r2, n2, a2) {
151
- const i2 = d.resolveComponent("el-button"), l2 = d.resolveComponent("el-autocomplete"), o2 = d.resolveComponent("el-header"), h2 = d.resolveComponent("Menu"), c2 = d.resolveComponent("Tickets"), g2 = d.resolveComponent("User"), U = d.resolveComponent("Calendar"), k = d.resolveComponent("el-icon"), T = d.resolveComponent("el-tree"), y = d.resolveComponent("el-tab-pane"), v = d.resolveComponent("GroupUser"), I = d.resolveComponent("GroupUserMultipleTree"), x = d.resolveComponent("el-tabs"), S = d.resolveComponent("EmptyState"), R = d.resolveComponent("user-result"), b = d.resolveComponent("el-main"), V = d.resolveComponent("el-container"), M = d.resolveComponent("el-aside");
152
- return d.openBlock(), d.createElementBlock("div", null, [d.createVNode(V, { style: { height: "395px" } }, { default: d.withCtx(() => [d.createVNode(M, { width: "430px" }, { default: d.withCtx(() => [d.createVNode(V, { style: { height: "390px" } }, { default: d.withCtx(() => [d.createVNode(o2, { style: { "font-size": "12px", height: "35px", padding: "0px 10px" } }, { default: d.withCtx(() => [d.createVNode(l2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input inline-input-custom searchDepartmentUser", size: "default", onSelect: e2.handleSelect, onKeyup: d.withKeys(a2.clickSearch, ["enter"]) }, { append: d.withCtx(() => [d.createVNode(i2, { icon: n2.ElIconSearch, onClick: a2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), d.createVNode(b, { style: { padding: "10px" } }, { default: d.withCtx(() => [n2.searchValue ? d.createCommentVNode("", true) : (d.openBlock(), d.createElementBlock(d.Fragment, { key: 0 }, [n2.canShowOrgTree ? (d.openBlock(), d.createElementBlock("div", p, [d.createVNode(x, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: d.withCtx(() => [d.createVNode(y, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: d.withCtx(() => [d.createVNode(T, { ref: "deparmentUserTree", props: n2.defaultProps, load: a2.loadNode, "check-on-click-node": true, lazy: "", "show-checkbox": "", "node-key": "nodeId", onCheck: a2.handleCheckNode, onCheckChange: a2.handleCheckChange }, { default: d.withCtx(({ node: e3, data: t3 }) => [d.createElementVNode("span", null, [d.createVNode(k, null, { default: d.withCtx(() => [-1 === e3.data.id || e3.data.branch ? (d.openBlock(), d.createBlock(h2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (d.openBlock(), d.createBlock(c2, { key: 1 })) : "USER" === e3.data.nodeType ? (d.openBlock(), d.createBlock(g2, { key: 2 })) : (d.openBlock(), d.createBlock(U, { key: 3 }))]), _: 2 }, 1024), d.createElementVNode("span", { title: e3.label }, d.toDisplayString(e3.label), 9, u)])]), _: 1 }, 8, ["props", "load", "onCheck", "onCheckChange"])]), _: 1 }, 8, ["label"]), d.createVNode(y, { name: "groupTree" }, { label: d.withCtx(() => [d.createElementVNode("span", null, d.toDisplayString(e2.$t("departmentUserTreeInline.group")), 1), d.createElementVNode("span", null, [d.createVNode(v, { "active-tab": n2.activeTab, onUpdateGroupTree: a2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: d.withCtx(() => [n2.isShowGroupTree ? (d.openBlock(), d.createBlock(I, { key: 0, onResult: a2.getGroupUserResult }, null, 8, ["onResult"])) : d.createCommentVNode("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (d.openBlock(), d.createBlock(S, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 ? (d.openBlock(), d.createElementBlock("div", m, [d.createVNode(R, { "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: s2.height, "is-search-result": true, multiple: true, "select-result": n2.selectResult, onAddUser: a2.selectUser }, null, 8, ["contain-branch", "grid-data", "height", "select-result", "onAddUser"])])) : d.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), d.createVNode(V, null, { default: d.withCtx(() => [d.createVNode(M, { width: "2px" }, { default: d.withCtx(() => [C]), _: 1 }), d.createVNode(b, { style: { padding: "10px" } }, { default: d.withCtx(() => [d.createElementVNode("div", f, d.toDisplayString(e2.$t("departmentUserTree.selectedPeople")) + ":", 1), d.createElementVNode("div", N, [d.createVNode(R, { "contain-branch": n2.containBranch, "grid-data": n2.selectResult, height: s2.height, "is-search-result": false, multiple: true, onRemoveUser: a2.removeUser }, null, 8, ["contain-branch", "grid-data", "height", "onRemoveUser"])])]), _: 1 })]), _: 1 })]), _: 1 })]);
149
+ } }, emits: ["result"] }, p = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, u = ["title"], m = { key: 1, style: { height: "100%", overflow: "hidden" } }, C = { style: { "text-align": "left", "font-size": "16px" } }, f = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
150
+ const N = h(c, [["render", function(e2, t2, s2, r2, n2, a2) {
151
+ const i2 = d.resolveComponent("el-button"), l2 = d.resolveComponent("el-autocomplete"), o2 = d.resolveComponent("el-header"), h2 = d.resolveComponent("Menu"), c2 = d.resolveComponent("Tickets"), N2 = d.resolveComponent("User"), g = d.resolveComponent("Calendar"), U = d.resolveComponent("el-icon"), k = d.resolveComponent("el-tree"), T = d.resolveComponent("el-tab-pane"), y = d.resolveComponent("GroupUser"), v = d.resolveComponent("GroupUserMultipleTree"), I = d.resolveComponent("el-tabs"), x = d.resolveComponent("EmptyState"), S = d.resolveComponent("user-result"), R = d.resolveComponent("el-main"), b = d.resolveComponent("el-container"), V = d.resolveComponent("el-aside");
152
+ return d.openBlock(), d.createElementBlock("div", null, [d.createVNode(b, { style: { height: "395px" } }, { default: d.withCtx(() => [d.createVNode(V, { width: "430px" }, { default: d.withCtx(() => [d.createVNode(b, { style: { height: "390px" } }, { default: d.withCtx(() => [d.createVNode(o2, { style: { "font-size": "12px", height: "35px", padding: "0px 10px" } }, { default: d.withCtx(() => [d.createVNode(l2, { modelValue: n2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), class: "inline-input inline-input-custom searchDepartmentUser", size: "default", onSelect: e2.handleSelect, onKeyup: d.withKeys(a2.clickSearch, ["enter"]) }, { append: d.withCtx(() => [d.createVNode(i2, { icon: n2.ElIconSearch, onClick: a2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), d.createVNode(R, { style: { padding: "10px" } }, { default: d.withCtx(() => [n2.searchValue ? d.createCommentVNode("", true) : (d.openBlock(), d.createElementBlock(d.Fragment, { key: 0 }, [n2.canShowOrgTree ? (d.openBlock(), d.createElementBlock("div", p, [d.createVNode(I, { modelValue: n2.activeTab, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => n2.activeTab = e3), class: "boe" }, { default: d.withCtx(() => [d.createVNode(T, { label: e2.$t("departmentUserTreeInline.orgTree"), name: "orgTree" }, { default: d.withCtx(() => [d.createVNode(k, { ref: "deparmentUserTree", props: n2.defaultProps, load: a2.loadNode, "check-on-click-node": true, lazy: "", "show-checkbox": "", "node-key": "nodeId", onCheck: a2.handleCheckNode, onCheckChange: a2.handleCheckChange }, { default: d.withCtx(({ node: e3, data: t3 }) => [d.createElementVNode("span", null, [d.createVNode(U, null, { default: d.withCtx(() => [-1 === e3.data.id || e3.data.branch ? (d.openBlock(), d.createBlock(h2, { key: 0 })) : -2 === e3.data.id || -3 === e3.data.id ? (d.openBlock(), d.createBlock(c2, { key: 1 })) : "USER" === e3.data.nodeType ? (d.openBlock(), d.createBlock(N2, { key: 2 })) : (d.openBlock(), d.createBlock(g, { key: 3 }))]), _: 2 }, 1024), d.createElementVNode("span", { title: e3.label }, d.toDisplayString(e3.label), 9, u)])]), _: 1 }, 8, ["props", "load", "onCheck", "onCheckChange"])]), _: 1 }, 8, ["label"]), d.createVNode(T, { name: "groupTree" }, { label: d.withCtx(() => [d.createElementVNode("span", null, d.toDisplayString(e2.$t("departmentUserTreeInline.group")), 1), d.createElementVNode("span", null, [d.createVNode(y, { "active-tab": n2.activeTab, onUpdateGroupTree: a2.updateGroupTree }, null, 8, ["active-tab", "onUpdateGroupTree"])])]), default: d.withCtx(() => [n2.isShowGroupTree ? (d.openBlock(), d.createBlock(v, { key: 0, onResult: a2.getGroupUserResult }, null, 8, ["onResult"])) : d.createCommentVNode("", true)]), _: 1 })]), _: 1 }, 8, ["modelValue"])])) : (d.openBlock(), d.createBlock(x, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), n2.searchValue && n2.searchValue.length > 0 ? (d.openBlock(), d.createElementBlock("div", m, [d.createVNode(S, { "contain-branch": n2.containBranch, "grid-data": n2.searchResult, height: s2.height, "is-search-result": true, multiple: true, "select-result": n2.selectResult, onAddUser: a2.selectUser }, null, 8, ["contain-branch", "grid-data", "height", "select-result", "onAddUser"])])) : d.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), d.createVNode(b, null, { default: d.withCtx(() => [d.createVNode(V, { width: "2px" }, { default: d.withCtx(() => [...t2[2] || (t2[2] = [d.createElementVNode("table", { border: "1px", cellpadding: "0", cellspacing: "0", style: { height: "100%", "border-left-style": "solid", "border-bottom-style": "none", "border-right-style": "none", "border-top-style": "none", "border-left-color": "#cccccc" } }, null, -1)])]), _: 1 }), d.createVNode(R, { style: { padding: "10px" } }, { default: d.withCtx(() => [d.createElementVNode("div", C, d.toDisplayString(e2.$t("departmentUserTree.selectedPeople")) + ":", 1), d.createElementVNode("div", f, [d.createVNode(S, { "contain-branch": n2.containBranch, "grid-data": n2.selectResult, height: s2.height, "is-search-result": false, multiple: true, onRemoveUser: a2.removeUser }, null, 8, ["contain-branch", "grid-data", "height", "onRemoveUser"])])]), _: 1 })]), _: 1 })]), _: 1 })]);
153
153
  }]]);
154
- module.exports = g;
154
+ module.exports = N;
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
- const e = require("vue"), t = require("./department-user-tree-inline-app.vue.cjs"), l = { style: { "text-align": "center" } }, r = e.defineComponent({ name: "DepartmentUserTreeMobile", props: { multiple: {}, departmentInfo: {}, selectUserInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(r2, { emit: o }) {
3
- let n = e.ref(true);
4
- function s(e2) {
5
- o("close", e2), n.value = false;
2
+ const e = require("vue"), t = require("./department-user-tree-inline-app.vue.cjs"), l = { style: { "text-align": "center" } }, o = e.defineComponent({ name: "DepartmentUserTreeMobile", props: { multiple: {}, departmentInfo: {}, selectUserInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(o2, { emit: r }) {
3
+ const n = r;
4
+ let s = e.ref(true);
5
+ function i(e2) {
6
+ n("close", e2), s.value = false;
6
7
  }
7
- return (r3, o2) => {
8
- const i = e.resolveComponent("el-drawer");
9
- return e.openBlock(), e.createBlock(i, { modelValue: e.unref(n), "onUpdate:modelValue": o2[0] || (o2[0] = (t2) => e.isRef(n) ? n.value = t2 : n = t2), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: o2[1] || (o2[1] = (e2) => s()) }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(r3.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(n) ? (e.openBlock(), e.createBlock(t, { key: 0, multiple: r3.multiple, departmentInfo: r3.departmentInfo, selectUserInfo: r3.selectUserInfo, searchField: r3.searchField, separator: r3.separator, limitFilterColumn: r3.limitFilterColumn, onClose: s }, null, 8, ["multiple", "departmentInfo", "selectUserInfo", "searchField", "separator", "limitFilterColumn"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
8
+ return (r2, n2) => {
9
+ const a = e.resolveComponent("el-drawer");
10
+ return e.openBlock(), e.createBlock(a, { modelValue: e.unref(s), "onUpdate:modelValue": n2[0] || (n2[0] = (t2) => e.isRef(s) ? s.value = t2 : s = t2), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: n2[1] || (n2[1] = (e2) => i()) }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(r2.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(s) ? (e.openBlock(), e.createBlock(t, { key: 0, multiple: o2.multiple, departmentInfo: o2.departmentInfo, selectUserInfo: o2.selectUserInfo, searchField: o2.searchField, separator: o2.separator, limitFilterColumn: o2.limitFilterColumn, onClose: i }, null, 8, ["multiple", "departmentInfo", "selectUserInfo", "searchField", "separator", "limitFilterColumn"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
10
11
  };
11
12
  } });
12
- module.exports = r;
13
+ module.exports = o;
@@ -1,115 +1,115 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = require("@element-plus/icons-vue"), l = require("./department-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" } }, m = { class: "item-row" }, f = { key: 0, class: "item-label" }, h = { style: { color: "#999" } }, g = ["onClick"], v = { key: 0, style: { color: "#999" } }, y = ["onClick"], k = { style: { display: "flex" } }, N = { class: "select-result" }, I = { key: 0 }, C = { key: 1 }, V = { key: 2 }, E = { key: 3, style: { "padding-left": "10px" } }, S = { key: 1 }, w = { style: { color: "#999" } }, x = { class: "button-area" }, U = e.defineComponent({ __name: "department-user-tree-inline-app", props: { multiple: {}, departmentInfo: {}, selectUserInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(U2, { emit: T }) {
3
- const B = U2, D = e.ref(null);
4
- let R = e.ref(null), b = e.ref(false), M = e.ref(null), _ = e.ref([]);
3
+ const B = U2, D = T, R = e.ref(null);
4
+ let b = e.ref(null), M = e.ref(false), _ = e.ref(null), $ = e.ref([]);
5
5
  e.ref([]);
6
- let $ = e.ref([]), q = e.ref([]);
6
+ let q = e.ref([]), P = e.ref([]);
7
7
  e.ref([]);
8
- let P = e.ref([]), O = e.ref([]), A = e.ref(null), J = e.ref(false), j = e.ref({ userField: "name", searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }), H = e.ref({ disabled: "disable" }), K = e.ref(false);
9
- const { t: F } = s.useI18n();
10
- function z() {
8
+ let O = e.ref([]), A = e.ref([]), J = e.ref(null), j = e.ref(false), H = e.ref({ userField: "name", searchValue: null, treeType: "MAN_DEPARTMENT_TREE", departmentInfo: null }), F = e.ref({ disabled: "disable" }), K = e.ref(false);
9
+ const { t: z } = s.useI18n();
10
+ function Z() {
11
11
  c.canShowOrgTree().then((e2) => {
12
12
  e2 ? l.getTenantChildren(B.departmentInfo, "-1", B.limitFilterColumn).then((e3) => {
13
- _.value = e3, l.checkedDeptDefault($.value, O.value);
14
- }) : _.value = [];
13
+ $.value = e3, l.checkedDeptDefault(q.value, A.value);
14
+ }) : $.value = [];
15
15
  });
16
16
  }
17
- function Z(e2, t2, l2) {
18
- B.multiple && (t2 ? B.multiple && L(e2) : (B.multiple || e2.nodeType && "USER" === e2.nodeType) && Q(e2));
17
+ function G(e2, t2, l2) {
18
+ B.multiple && (t2 ? B.multiple && Q(e2) : (B.multiple || e2.nodeType && "USER" === e2.nodeType) && W(e2));
19
19
  }
20
- function G(e2, t2, l2, n2) {
21
- !B.multiple && e2.nodeType && "USER" === e2.nodeType && ($.value = [e2]);
20
+ function L(e2, t2, l2, n2) {
21
+ !B.multiple && e2.nodeType && "USER" === e2.nodeType && (q.value = [e2]);
22
22
  }
23
- function L(e2) {
23
+ function Q(e2) {
24
24
  if (e2.nodeType && "USER" === e2.nodeType) {
25
- const t2 = $.value.filter((t3) => t3.nodeId === e2.nodeId);
26
- t2 && 0 !== t2.length || $.value.push(JSON.parse(JSON.stringify(e2)));
27
- } else {
28
25
  const t2 = q.value.filter((t3) => t3.nodeId === e2.nodeId);
29
26
  t2 && 0 !== t2.length || q.value.push(JSON.parse(JSON.stringify(e2)));
27
+ } else {
28
+ const t2 = P.value.filter((t3) => t3.nodeId === e2.nodeId);
29
+ t2 && 0 !== t2.length || P.value.push(JSON.parse(JSON.stringify(e2)));
30
30
  }
31
31
  }
32
- function Q(e2) {
32
+ function W(e2) {
33
33
  if (e2.nodeType && "USER" === e2.nodeType) {
34
- const t2 = $.value.findIndex((t3) => t3.nodeId === e2.nodeId);
35
- $.value.splice(t2, 1);
36
- } else {
37
34
  const t2 = q.value.findIndex((t3) => t3.nodeId === e2.nodeId);
38
35
  q.value.splice(t2, 1);
36
+ } else {
37
+ const t2 = P.value.findIndex((t3) => t3.nodeId === e2.nodeId);
38
+ P.value.splice(t2, 1);
39
39
  }
40
- J.value = false;
40
+ j.value = false;
41
41
  }
42
- function W(e2) {
42
+ function X(e2) {
43
43
  if (B.multiple)
44
44
  if (e2) {
45
- const e3 = _.value.map((e4) => e4.nodeId);
46
- D.value.setCheckedKeys(e3, false), _.value.forEach((e4) => {
47
- L(e4);
45
+ const e3 = $.value.map((e4) => e4.nodeId);
46
+ R.value.setCheckedKeys(e3, false), $.value.forEach((e4) => {
47
+ Q(e4);
48
48
  });
49
49
  } else
50
- _.value.forEach((e3) => {
51
- Q(e3);
52
- }), D.value.setCheckedKeys([], false);
50
+ $.value.forEach((e3) => {
51
+ W(e3);
52
+ }), R.value.setCheckedKeys([], false);
53
53
  }
54
- function X(e2) {
54
+ function Y(e2) {
55
55
  l.loadDepartment(e2.id, e2.branchId).then((e3) => {
56
- _.value = e3, l.checkedDeptDefault($.value, O.value);
56
+ $.value = e3, l.checkedDeptDefault(q.value, A.value);
57
57
  });
58
58
  }
59
- function Y(e2, t2) {
60
- P.value.push(e2), X(e2);
59
+ function ee(e2, t2) {
60
+ O.value.push(e2), Y(e2);
61
61
  }
62
- function ee(e2, t2, l2) {
63
- t2 ? (P.value = [], z()) : (P.value.splice(l2 + 1, P.value.length - (l2 + 1)), X(e2));
62
+ function te(e2, t2, l2) {
63
+ t2 ? (O.value = [], Z()) : (O.value.splice(l2 + 1, O.value.length - (l2 + 1)), Y(e2));
64
64
  }
65
- function te() {
66
- A.value.showResult();
65
+ function le() {
66
+ J.value.showResult();
67
67
  }
68
- function le(e2) {
69
- const t2 = _.value.filter((t3) => t3.nodeId === e2.nodeId);
68
+ function ne(e2) {
69
+ const t2 = $.value.filter((t3) => t3.nodeId === e2.nodeId);
70
70
  if (t2 && t2.length > 0) {
71
71
  const t3 = [];
72
- $.value.forEach((l2) => {
72
+ q.value.forEach((l2) => {
73
73
  l2.nodeId !== e2.nodeId && t3.push(l2.nodeId);
74
- }), q.value.forEach((l2) => {
74
+ }), P.value.forEach((l2) => {
75
75
  l2.nodeId !== e2.nodeId && t3.push(l2.nodeId);
76
- }), D.value.setCheckedKeys(t3, true);
76
+ }), R.value.setCheckedKeys(t3, true);
77
77
  }
78
- Q(e2);
78
+ W(e2);
79
79
  }
80
- function ne() {
81
- if (0 !== q.value.length || 0 !== $.value.length)
80
+ function ae() {
81
+ if (0 !== P.value.length || 0 !== q.value.length)
82
82
  if (B.multiple) {
83
83
  const e2 = { userIds: [], userNames: [], loginNames: [], userZhNames: [], userEnNames: [], emails: [], telephones: [], users: [], divisionManager: [], divisionManagerName: [] }, t2 = [];
84
- q.value.forEach((e3) => {
84
+ P.value.forEach((e3) => {
85
85
  t2.push(e3.id);
86
- }), $.value.forEach((t3) => {
86
+ }), q.value.forEach((t3) => {
87
87
  const l2 = JSON.parse(t3.data);
88
- n.addSelectedUserInfo(e2, l2, b.value);
88
+ n.addSelectedUserInfo(e2, l2, M.value);
89
89
  }), K.value = true, t2.length > 0 ? l.getUserInDepartments(t2).then((t3) => {
90
90
  t3 && t3.forEach((t4) => {
91
- n.addSelectedUserInfo(e2, t4, b.value);
92
- }), K.value = false, e2.userIds.length > 0 ? T("close", e2) : o.ElMessage({ message: F("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
91
+ n.addSelectedUserInfo(e2, t4, M.value);
92
+ }), K.value = false, e2.userIds.length > 0 ? D("close", e2) : o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
93
93
  }).catch(() => {
94
94
  K.value = false;
95
- }) : (K.value = false, e2.userIds.length > 0 ? T("close", e2) : o.ElMessage({ message: F("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" }));
95
+ }) : (K.value = false, e2.userIds.length > 0 ? D("close", e2) : o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" }));
96
96
  } else {
97
- const e2 = JSON.parse($.value[0].data), t2 = n.packageSelectResult(e2, b.value);
98
- T("close", t2);
97
+ const e2 = JSON.parse(q.value[0].data), t2 = n.packageSelectResult(e2, M.value);
98
+ D("close", t2);
99
99
  }
100
100
  else
101
- o.ElMessage({ message: F("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
101
+ o.ElMessage({ message: z("imatrixUIMessage.pleaseSelectPersonnel"), type: "warning" });
102
102
  }
103
- function ae() {
104
- j.value.searchValue ? (j.value.searchValue = j.value.searchValue.trim(), j.value.departmentInfo = B.departmentInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-users-mobile", j.value).then((e2) => {
105
- e2 ? (0 === e2.length && o.ElMessage({ message: F("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), _.value = e2) : o.ElMessage({ message: F("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
106
- })) : z();
103
+ function re() {
104
+ H.value.searchValue ? (H.value.searchValue = H.value.searchValue.trim(), H.value.departmentInfo = B.departmentInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-users-mobile", H.value).then((e2) => {
105
+ e2 ? (0 === e2.length && o.ElMessage({ message: z("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), $.value = e2) : o.ElMessage({ message: z("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
106
+ })) : Z();
107
107
  }
108
108
  return e.onMounted(() => {
109
109
  n.initSelectUsers(B.searchField, B.selectUserInfo, B.separator).then((e2) => {
110
- $.value = e2, l.getTenant().then((e3) => {
110
+ q.value = e2, l.getTenant().then((e3) => {
111
111
  const t2 = e3[0].data;
112
- R.value = JSON.parse(t2), b.value = e3[0].containBranch, M.value = e3[0].name, z();
112
+ b.value = JSON.parse(t2), M.value = e3[0].containBranch, _.value = e3[0].name, Z();
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"), U3 = e.resolveComponent("el-input"), T2 = e.resolveComponent("el-col"), B2 = e.resolveComponent("el-row"), R2 = e.resolveComponent("el-card"), b2 = e.resolveComponent("el-empty"), K2 = e.resolveComponent("el-tree"), F2 = 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(B2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(T2, { style: { width: "100%" } }, { default: e.withCtx(() => [e.createElementVNode("div", i, [e.createElementVNode("div", d, [l2.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: W }, null, 8, ["modelValue", "label"])) : e.createCommentVNode("", true)]), e.createElementVNode("div", p, [e.createVNode(U3, { modelValue: e.unref(j).searchValue, "onUpdate:modelValue": o2[1] || (o2[1] = (t2) => e.unref(j).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", "onKeyup"])])])]), _: 1 })]), _: 1 })]), _: 1 }), e.unref(M) ? (e.openBlock(), e.createBlock(R2, { key: 0, class: "card-content" }, { default: e.withCtx(() => [e.createVNode(B2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(T2, { class: "item-label dept-path" }, { default: e.withCtx(() => [e.createVNode(a, { tenantName: e.unref(M), clickDepts: e.unref(P), 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(_).length ? (e.openBlock(), e.createBlock(K2, { key: 1, ref_key: "orgTreeRef", ref: D, data: e.unref(_), "show-checkbox": l2.multiple, "node-key": "nodeId", props: e.unref(H), "default-checked-keys": e.unref(O), onCheckChange: Z, onNodeClick: G }, { default: e.withCtx(({ node: l3, data: a2 }) => [e.createElementVNode("div", m, [a2.nodeType && "USER" === a2.nodeType ? (e.openBlock(), e.createElementBlock("div", f, [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.createTextVNode(e.toDisplayString(a2.showName), 1), "-1" !== a2.parentNodeId && e.unref(n.getDeptNamePath)(a2) ? (e.openBlock(), e.createElementBlock("span", v, "(" + e.toDisplayString(e.unref(n.getDeptNamePath)(a2)) + ")", 1)) : e.createCommentVNode("", true)], 8, 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, y))])]), _: 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", k, [e.createElementVNode("div", N, [l2.multiple ? (e.openBlock(), e.createElementBlock("span", { key: 0, onClick: te }, [e.unref($).length > 0 && e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", I, 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", C, 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", V, 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", E, [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", w, "(" + 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", x, [e.createVNode(F2, { 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: A, selectUsers: e.unref($).concat(e.unref(q)), onRemoveResult: le }, null, 8, ["selectUsers"])]);
120
+ const s2 = e.resolveComponent("el-checkbox"), c2 = e.resolveComponent("el-icon"), T2 = e.resolveComponent("el-input"), B2 = e.resolveComponent("el-col"), D2 = e.resolveComponent("el-row"), b2 = e.resolveComponent("el-card"), M2 = e.resolveComponent("el-empty"), K2 = e.resolveComponent("el-tree"), z2 = e.resolveComponent("el-button");
121
+ return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(b2, { class: "card-content", style: { height: "50px" } }, { default: e.withCtx(() => [e.createVNode(D2, { 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, [U2.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: X }, null, 8, ["modelValue", "label"])) : e.createCommentVNode("", true)]), e.createElementVNode("div", p, [e.createVNode(T2, { modelValue: e.unref(H).searchValue, "onUpdate:modelValue": o2[1] || (o2[1] = (t2) => e.unref(H).searchValue = t2), placeholder: l2.$t("departmentUserTree.pleaseEnterUserInformation"), onClear: re, onKeyup: e.withKeys(re, ["enter"]), onBlur: re, clearable: "" }, { suffix: e.withCtx(() => [e.createVNode(c2, { onClick: re }, { default: e.withCtx(() => [e.createVNode(e.unref(t.Search))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder"])])])]), _: 1 })]), _: 1 })]), _: 1 }), e.unref(_) ? (e.openBlock(), e.createBlock(b2, { key: 0, class: "card-content" }, { default: e.withCtx(() => [e.createVNode(D2, { 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: te }, null, 8, ["tenantName", "clickDepts"])]), _: 1 })]), _: 1 })]), _: 1 })) : e.createCommentVNode("", true), e.createVNode(b2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: e.withCtx(() => [e.unref($).length ? (e.openBlock(), e.createBlock(K2, { key: 1, ref_key: "orgTreeRef", ref: R, data: e.unref($), "show-checkbox": U2.multiple, "node-key": "nodeId", props: e.unref(F), "default-checked-keys": e.unref(A), onCheckChange: G, onNodeClick: L }, { default: e.withCtx(({ node: l3, data: a2 }) => [e.createElementVNode("div", m, [a2.nodeType && "USER" === a2.nodeType ? (e.openBlock(), e.createElementBlock("div", f, [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) => ee(a2) }, [e.createTextVNode(e.toDisplayString(a2.showName), 1), "-1" !== a2.parentNodeId && e.unref(n.getDeptNamePath)(a2) ? (e.openBlock(), e.createElementBlock("span", v, "(" + e.toDisplayString(e.unref(n.getDeptNamePath)(a2)) + ")", 1)) : e.createCommentVNode("", true)], 8, g)), a2.nodeType && "USER" === a2.nodeType ? e.createCommentVNode("", true) : (e.openBlock(), e.createElementBlock("div", { key: 2, class: "item-side", onClick: (e2) => ee(a2) }, [e.createVNode(c2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowRight))]), _: 1 })], 8, y))])]), _: 1 }, 8, ["data", "show-checkbox", "props", "default-checked-keys"])) : (e.openBlock(), e.createBlock(M2, { key: 0, image: e.unref(u) }, null, 8, ["image"]))]), _: 1 }), e.createVNode(b2, { class: "card-footer" }, { default: e.withCtx(() => [e.createElementVNode("div", k, [e.createElementVNode("div", N, [U2.multiple ? (e.openBlock(), e.createElementBlock("span", { key: 0, onClick: le }, [e.unref(q).length > 0 && e.unref(P).length > 0 ? (e.openBlock(), e.createElementBlock("span", I, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectUserResultInfo", { userNum: e.unref(q).length })) + ", " + e.toDisplayString(l2.$t("departmentUserTree.selectDeptResultInfo", { deptNum: e.unref(P).length })), 1)) : e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", C, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectUserResultInfo", { userNum: e.unref(q).length })), 1)) : e.unref(P).length > 0 ? (e.openBlock(), e.createElementBlock("span", V, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("departmentUserTree.selectDeptResultInfo", { deptNum: e.unref(P).length })), 1)) : e.createCommentVNode("", true), e.unref(q).length > 0 || e.unref(P).length > 0 ? (e.openBlock(), e.createElementBlock("span", E, [e.createVNode(c2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowUpBold))]), _: 1 })])) : e.createCommentVNode("", true)])) : e.unref(q).length > 0 ? (e.openBlock(), e.createElementBlock("span", S, [e.createTextVNode(e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(e.unref(q)[0].showName), 1), e.createElementVNode("span", w, "(" + e.toDisplayString(e.unref(q)[0].loginName) + e.toDisplayString(e.unref(n.getUserMainDeptName)(e.unref(q)[0]) ? "/" + e.unref(n.getUserMainDeptName)(e.unref(q)[0]) : "") + ")", 1)])) : e.createCommentVNode("", true)]), e.createElementVNode("div", x, [e.createVNode(z2, { size: "large", type: "primary", onClick: ae }, { 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(q).concat(e.unref(P)), onRemoveResult: ne }, null, 8, ["selectUsers"])]);
122
122
  };
123
123
  } });
124
124
  module.exports = U;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = { key: 1 }, l = ["onClick"], n = { key: 1 }, c = e.defineComponent({ __name: "dept-path", props: { tenantName: { type: String, default: null }, clickDepts: { type: Array, default: null } }, emits: ["clickBreadcrumb"], setup(c2, { emit: o }) {
3
- const r = c2;
4
- let a = e.ref(r.tenantName);
5
- function i(e2, t2, l2) {
6
- o("clickBreadcrumb", e2, t2, l2);
3
+ const r = c2, a = o;
4
+ let i = e.ref(r.tenantName);
5
+ function p(e2, t2, l2) {
6
+ a("clickBreadcrumb", e2, t2, l2);
7
7
  }
8
8
  return (o2, r2) => {
9
- const p = e.resolveComponent("el-breadcrumb-item"), s = e.resolveComponent("el-breadcrumb");
10
- return e.openBlock(), e.createBlock(s, { separator: "/" }, { default: e.withCtx(() => [e.createVNode(p, null, { default: e.withCtx(() => [c2.clickDepts.length > 0 ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: "breadcrumb-label-link", onClick: r2[0] || (r2[0] = (e2) => i(null, true)) }, e.toDisplayString(e.unref(a)), 1)) : (e.openBlock(), e.createElementBlock("span", t, e.toDisplayString(e.unref(a)), 1))]), _: 1 }), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(c2.clickDepts, (t2, o3) => (e.openBlock(), e.createBlock(p, { key: t2.id }, { default: e.withCtx(() => [o3 < c2.clickDepts.length - 1 ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: "breadcrumb-label-link", onClick: (e2) => i(t2, false, o3) }, e.toDisplayString(t2.showName), 9, l)) : (e.openBlock(), e.createElementBlock("span", n, e.toDisplayString(t2.showName), 1))]), _: 2 }, 1024))), 128))]), _: 1 });
9
+ const a2 = e.resolveComponent("el-breadcrumb-item"), s = e.resolveComponent("el-breadcrumb");
10
+ return e.openBlock(), e.createBlock(s, { separator: "/" }, { default: e.withCtx(() => [e.createVNode(a2, null, { default: e.withCtx(() => [c2.clickDepts.length > 0 ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: "breadcrumb-label-link", onClick: r2[0] || (r2[0] = (e2) => p(null, true)) }, e.toDisplayString(e.unref(i)), 1)) : (e.openBlock(), e.createElementBlock("span", t, e.toDisplayString(e.unref(i)), 1))]), _: 1 }), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(c2.clickDepts, (t2, o3) => (e.openBlock(), e.createBlock(a2, { key: t2.id }, { default: e.withCtx(() => [o3 < c2.clickDepts.length - 1 ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: "breadcrumb-label-link", onClick: (e2) => p(t2, false, o3) }, e.toDisplayString(t2.showName), 9, l)) : (e.openBlock(), e.createElementBlock("span", n, e.toDisplayString(t2.showName), 1))]), _: 2 }, 1024))), 128))]), _: 1 });
11
11
  };
12
12
  } });
13
13
  module.exports = c;
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = require("@element-plus/icons-vue"), o = require("../../utils/organization.cjs"), l = { style: { "text-align": "center" } }, n = { class: "item-row" }, r = { class: "item-label" }, a = { key: 0, style: { color: "#999" } }, s = { key: 1, style: { color: "#999" } }, i = ["onClick"], c = e.defineComponent({ __name: "dept-result", props: { selectUsers: { type: Array, default: null } }, emits: ["removeResult"], setup(c2, { expose: d, emit: u }) {
3
3
  let m = e.ref(false);
4
+ const p = u;
4
5
  return d({ showResult: function() {
5
6
  m.value = true;
6
- } }), (d2, p) => {
7
+ } }), (d2, u2) => {
7
8
  const f = e.resolveComponent("el-icon"), N = e.resolveComponent("el-tree"), y = e.resolveComponent("el-drawer");
8
- return e.openBlock(), e.createBlock(y, { modelValue: e.unref(m), "onUpdate:modelValue": p[0] || (p[0] = (t2) => e.isRef(m) ? m.value = t2 : m = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(d2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.unref(m) ? (e.openBlock(), e.createBlock(N, { key: 0, ref: "orgResultTreeRef", data: c2.selectUsers, "node-key": "nodeId" }, { default: e.withCtx(({ node: l2, data: c3 }) => [e.createElementVNode("div", n, [e.createElementVNode("div", r, [e.createTextVNode(e.toDisplayString(c3.showName) + " ", 1), c3.nodeType && "USER" === c3.nodeType ? (e.openBlock(), e.createElementBlock("span", a, "(" + e.toDisplayString(c3.loginName) + e.toDisplayString(e.unref(o.getUserMainDeptName)(c3) ? "/" + e.unref(o.getUserMainDeptName)(c3) : "") + ")", 1)) : e.createCommentVNode("", true), "-1" !== c3.parentNodeId && e.unref(o.getDeptNamePath)(c3) ? (e.openBlock(), e.createElementBlock("span", s, "(" + e.toDisplayString(e.unref(o.getDeptNamePath)(c3)) + ")", 1)) : e.createCommentVNode("", true)]), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
9
- u("removeResult", c3);
9
+ return e.openBlock(), e.createBlock(y, { modelValue: e.unref(m), "onUpdate:modelValue": u2[0] || (u2[0] = (t2) => e.isRef(m) ? m.value = t2 : m = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(d2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.unref(m) ? (e.openBlock(), e.createBlock(N, { key: 0, ref: "orgResultTreeRef", data: c2.selectUsers, "node-key": "nodeId" }, { default: e.withCtx(({ node: l2, data: c3 }) => [e.createElementVNode("div", n, [e.createElementVNode("div", r, [e.createTextVNode(e.toDisplayString(c3.showName) + " ", 1), c3.nodeType && "USER" === c3.nodeType ? (e.openBlock(), e.createElementBlock("span", a, "(" + e.toDisplayString(c3.loginName) + e.toDisplayString(e.unref(o.getUserMainDeptName)(c3) ? "/" + e.unref(o.getUserMainDeptName)(c3) : "") + ")", 1)) : e.createCommentVNode("", true), "-1" !== c3.parentNodeId && e.unref(o.getDeptNamePath)(c3) ? (e.openBlock(), e.createElementBlock("span", s, "(" + e.toDisplayString(e.unref(o.getDeptNamePath)(c3)) + ")", 1)) : e.createCommentVNode("", true)]), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
10
+ p("removeResult", c3);
10
11
  } }, [e.createVNode(f, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.DeleteFilled))]), _: 1 })], 8, i)])]), _: 1 }, 8, ["data"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
11
12
  };
12
13
  } });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = require("vue-i18n"), i = { class: "empty_center_area" }, n = { class: "empty_notAvailable_text" }, a = e.defineComponent({ __name: "index", props: { imageHeight: { type: String, default: "120px" }, imageWidth: { type: String, default: "120px" }, emptyText: { type: String, default: "" } }, setup(a2) {
3
- const r = a2, { t: l } = t.useI18n();
4
- return (t2, a3) => (e.openBlock(), e.createElementBlock("div", i, [e.createElementVNode("div", { class: "empty_notAvailable", style: e.normalizeStyle({ width: r.imageWidth, height: r.imageHeight }) }, [e.createElementVNode("span", n, e.toDisplayString(r.emptyText ? r.emptyText : e.unref(l)("imatrixUIPromptMessage.NoContent")), 1)], 4)]));
3
+ const { t: r } = t.useI18n(), l = a2;
4
+ return (t2, a3) => (e.openBlock(), e.createElementBlock("div", i, [e.createElementVNode("div", { class: "empty_notAvailable", style: e.normalizeStyle({ width: l.imageWidth, height: l.imageHeight }) }, [e.createElementVNode("span", n, e.toDisplayString(l.emptyText ? l.emptyText : e.unref(r)("imatrixUIPromptMessage.NoContent")), 1)], 4)]));
5
5
  } });
6
6
  module.exports = a;
@@ -58,6 +58,6 @@ const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeT
58
58
  } }, emits: ["onSuccess", "deleteSuccess"] }, d = ["accept"], r = { key: 1 }, c = { key: 0 }, u = { key: 1 }, p = { key: 2 };
59
59
  const h = a(n, [["render", function(e2, t2, i2, l2, s2, a2) {
60
60
  const n2 = o.resolveComponent("el-button"), h2 = o.resolveComponent("el-link"), f = o.resolveComponent("el-table-column"), m = o.resolveComponent("el-image"), w = o.resolveComponent("el-table"), g = o.resolveComponent("el-icon-delete"), v = o.resolveComponent("el-icon"), C = o.resolveComponent("el-tooltip"), b = o.resolveComponent("el-icon-view"), y = o.resolveComponent("see-big-picture"), N = o.resolveDirective("loading");
61
- return o.withDirectives((o.openBlock(), o.createElementBlock("div", null, [i2.isShowButton && !i2.disabled ? (o.openBlock(), o.createBlock(n2, { key: 0, icon: s2.ElIconUpload2, size: "default", type: "primary", onClick: a2.selectDataFile }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.upload")), 1)]), _: 1 }, 8, ["icon", "onClick"])) : o.createCommentVNode("", true), o.createElementVNode("input", { ref: "uploadTemplate", accept: s2.accepts, name: "uploadTemplate", style: { display: "none" }, type: "file", onChange: t2[0] || (t2[0] = (...e3) => a2.upload && a2.upload(...e3)) }, null, 40, d), s2.unifiedEnclosures && s2.unifiedEnclosures.length > 0 && i2.isShowData ? (o.openBlock(), o.createElementBlock("div", r, [i2.isImg ? (o.openBlock(), o.createElementBlock("div", c, [o.createVNode(w, { data: s2.unifiedEnclosures, height: i2.tableHeight, style: { width: "100%" } }, { default: o.withCtx(() => [o.createVNode(f, { label: e2.$t("fsUpload.name"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e3.row.fileName), 1)]), _: 2 }, 1032, ["href"])]), _: 1 }, 8, ["label"]), o.createVNode(f, { label: e2.$t("fsUpload.picture"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(m, { "preview-src-list": [s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName], src: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, onClick: (t3) => a2.bigPicture(e3.$index) }, null, 8, ["preview-src-list", "src", "onClick"])]), _: 1 }, 8, ["label"]), i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(f, { key: 0, label: e2.$t("fsUpload.operating"), width: "120" }, { default: o.withCtx((t3) => [o.createVNode(n2, { size: "default", type: "danger", onClick: (e3) => a2.deleteFile(t3.$index) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.delete")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"]))]), _: 1 }, 8, ["data", "height"])])) : i2.isShowList ? (o.openBlock(), o.createElementBlock("div", u, [o.createVNode(w, { data: s2.unifiedEnclosures, height: i2.tableHeight, style: { width: "100%" } }, { default: o.withCtx(() => [o.createVNode(f, { label: e2.$t("fsUpload.name"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e3.row.fileName), 1)]), _: 2 }, 1032, ["href"])]), _: 1 }, 8, ["label"]), o.createVNode(f, { label: e2.$t("fsUpload.operating"), width: "200" }, { default: o.withCtx((t3) => [i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(n2, { key: 0, size: "default", type: "danger", onClick: (e3) => a2.deleteFile(t3.$index) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.delete")), 1)]), _: 2 }, 1032, ["onClick"])), o.createVNode(n2, { size: "default", onClick: (e3) => a2.preview(t3.row) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.preview")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height"])])) : (o.openBlock(), o.createElementBlock("div", p, [(o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(s2.unifiedEnclosures, (t3, l3) => (o.openBlock(), o.createElementBlock("div", { key: l3 }, [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + t3.uuid + "&showName=" + t3.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t3.fileName), 1)]), _: 2 }, 1032, ["href"]), o.createVNode(C, { content: e2.$t("fsUpload.delete"), effect: "light" }, { default: o.withCtx(() => [i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(v, { key: 0, style: { color: "red", "margin-left": "10px" }, onClick: (e3) => a2.deleteFile(l3) }, { default: o.withCtx(() => [o.createVNode(g)]), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1032, ["content"]), o.createVNode(C, { content: e2.$t("fsUpload.preview"), effect: "light", style: { "margin-left": "10px" } }, { default: o.withCtx(() => [o.createVNode(v, { onClick: (e3) => a2.preview(t3) }, { default: o.withCtx(() => [o.createVNode(b)]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["content"])]))), 128))]))])) : o.createCommentVNode("", true), s2.bigPictureVisible ? (o.openBlock(), o.createBlock(y, { key: 2, "show-index": s2.showIndex, "unified-enclosures": s2.unifiedEnclosures, onClose: t2[1] || (t2[1] = (e3) => s2.bigPictureVisible = false) }, null, 8, ["show-index", "unified-enclosures"])) : o.createCommentVNode("", true)])), [[N, s2.loading]]);
61
+ return o.withDirectives((o.openBlock(), o.createElementBlock("div", null, [i2.isShowButton && !i2.disabled ? (o.openBlock(), o.createBlock(n2, { key: 0, icon: s2.ElIconUpload2, size: "default", type: "primary", onClick: a2.selectDataFile }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.upload")), 1)]), _: 1 }, 8, ["icon", "onClick"])) : o.createCommentVNode("", true), o.createElementVNode("input", { ref: "uploadTemplate", accept: s2.accepts, name: "uploadTemplate", style: { display: "none" }, type: "file", onChange: t2[0] || (t2[0] = (...e3) => a2.upload && a2.upload(...e3)) }, null, 40, d), s2.unifiedEnclosures && s2.unifiedEnclosures.length > 0 && i2.isShowData ? (o.openBlock(), o.createElementBlock("div", r, [i2.isImg ? (o.openBlock(), o.createElementBlock("div", c, [o.createVNode(w, { data: s2.unifiedEnclosures, height: i2.tableHeight, style: { width: "100%" } }, { default: o.withCtx(() => [o.createVNode(f, { label: e2.$t("fsUpload.name"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e3.row.fileName), 1)]), _: 2 }, 1032, ["href"])]), _: 1 }, 8, ["label"]), o.createVNode(f, { label: e2.$t("fsUpload.picture"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(m, { "preview-src-list": [s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName], src: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, onClick: (t3) => a2.bigPicture(e3.$index) }, null, 8, ["preview-src-list", "src", "onClick"])]), _: 1 }, 8, ["label"]), i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(f, { key: 0, label: e2.$t("fsUpload.operating"), width: "120" }, { default: o.withCtx((t3) => [o.createVNode(n2, { size: "default", type: "danger", onClick: (e3) => a2.deleteFile(t3.$index) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["label"]))]), _: 1 }, 8, ["data", "height"])])) : i2.isShowList ? (o.openBlock(), o.createElementBlock("div", u, [o.createVNode(w, { data: s2.unifiedEnclosures, height: i2.tableHeight, style: { width: "100%" } }, { default: o.withCtx(() => [o.createVNode(f, { label: e2.$t("fsUpload.name"), width: "240" }, { default: o.withCtx((e3) => [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + e3.row.uuid + "&showName=" + e3.row.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e3.row.fileName), 1)]), _: 2 }, 1032, ["href"])]), _: 1 }, 8, ["label"]), o.createVNode(f, { label: e2.$t("fsUpload.operating"), width: "200" }, { default: o.withCtx((t3) => [i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(n2, { key: 0, size: "default", type: "danger", onClick: (e3) => a2.deleteFile(t3.$index) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.delete")), 1)]), _: 1 }, 8, ["onClick"])), o.createVNode(n2, { size: "default", onClick: (e3) => a2.preview(t3.row) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.preview")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "height"])])) : (o.openBlock(), o.createElementBlock("div", p, [(o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(s2.unifiedEnclosures, (t3, l3) => (o.openBlock(), o.createElementBlock("div", { key: l3 }, [o.createVNode(h2, { href: s2.baseURL + "/common/fs-upload/download?serverPath=" + t3.uuid + "&showName=" + t3.fileName, type: "primary" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t3.fileName), 1)]), _: 2 }, 1032, ["href"]), o.createVNode(C, { content: e2.$t("fsUpload.delete"), effect: "light" }, { default: o.withCtx(() => [i2.disabled ? o.createCommentVNode("", true) : (o.openBlock(), o.createBlock(v, { key: 0, style: { color: "red", "margin-left": "10px" }, onClick: (e3) => a2.deleteFile(l3) }, { default: o.withCtx(() => [o.createVNode(g)]), _: 1 }, 8, ["onClick"]))]), _: 2 }, 1032, ["content"]), o.createVNode(C, { content: e2.$t("fsUpload.preview"), effect: "light", style: { "margin-left": "10px" } }, { default: o.withCtx(() => [o.createVNode(v, { onClick: (e3) => a2.preview(t3) }, { default: o.withCtx(() => [o.createVNode(b)]), _: 1 }, 8, ["onClick"])]), _: 2 }, 1032, ["content"])]))), 128))]))])) : o.createCommentVNode("", true), s2.bigPictureVisible ? (o.openBlock(), o.createBlock(y, { key: 2, "show-index": s2.showIndex, "unified-enclosures": s2.unifiedEnclosures, onClose: t2[1] || (t2[1] = (e3) => s2.bigPictureVisible = false) }, null, 8, ["show-index", "unified-enclosures"])) : o.createCommentVNode("", true)])), [[N, s2.loading]]);
62
62
  }]]);
63
63
  module.exports = h;
@@ -86,6 +86,6 @@ const p = require("../../_virtual/_plugin-vue_export-helper.cjs"), d = { name: "
86
86
  } }, emits: ["close", "upload-success", "delete-success", "delete", "update:value", "close", "update:value", "on-error"] }, f = { style: { width: "100%" } }, u = { style: { display: "flex" } }, c = { key: 0, style: { display: "flex", "align-items": "center" } }, h = { class: "fs-upload-tag-text" }, m = { class: "fs-upload-tag-percent" };
87
87
  const g = p(d, [["render", function(e2, t2, l2, o2, i2, a2) {
88
88
  const r2 = s.resolveComponent("UploadFilled"), n2 = s.resolveComponent("el-icon"), p2 = s.resolveComponent("el-button"), d2 = s.resolveComponent("el-upload"), g2 = s.resolveComponent("el-tag"), b = s.resolveComponent("fs-preview"), w = s.resolveComponent("FileUploadInputMobile");
89
- return s.openBlock(), s.createElementBlock("span", f, [l2.disabled ? (s.openBlock(), s.createBlock(b, { key: 1, entity: l2.row, disabled: l2.disabled, fileInfo: l2.fileInfo, "file-set-obj": l2.fileSetObj, "is-sql": l2.isSql, label: l2.value, watermark: i2.watermark }, null, 8, ["entity", "disabled", "fileInfo", "file-set-obj", "is-sql", "label", "watermark"])) : (s.openBlock(), s.createElementBlock(s.Fragment, { key: 0 }, [i2.isMobile ? (s.openBlock(), s.createBlock(w, { key: 1, ref: "fileUploadRef", disabled: l2.disabled, fileInfo: l2.fileInfo, systemCode: i2.systemCode, accept: l2.fileSetObj.accept ? l2.fileSetObj.accept : null, multiple: l2.fileSetObj.multiple, limitFileSize: l2.fileSetObj.limitFileSize, placeholder: e2.$t("imatrixUIMessage.fileUpload"), "file-list": l2.fileList, beforeUpload: l2.fileSetObj.beforeUpload, onSuccess: a2.uploadOnSuccessMobile, beforeRemove: l2.fileSetObj.beforeRemove, onRemove: a2.onRemoveMobile, beforeDownload: l2.fileSetObj.beforeDownload, pageContext: l2.pageContext, openFsUpload: l2.openFsUpload, componentId: l2.componentId, listCode: l2.listCode, openCameraOrChoosePhoto: l2.fileSetObj.openCameraOrChoosePhoto, watermark: i2.watermark }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limitFileSize", "placeholder", "file-list", "beforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "openFsUpload", "componentId", "listCode", "openCameraOrChoosePhoto", "watermark"])) : (s.openBlock(), s.createBlock(b, { key: 0, "enable-delete": true, entity: l2.row, disabled: l2.disabled, fileInfo: l2.fileInfo, "file-set-obj": l2.fileSetObj, "is-sql": l2.isSql, label: l2.value, uploading: i2.uploading, watermark: i2.watermark, onDeleteFile: a2.deleteRow }, { prefix: s.withCtx(() => [s.createElementVNode("div", u, [s.createVNode(d2, { ref: "uploadRef", accept: l2.fileSetObj.accept ? l2.fileSetObj.accept : null, action: i2.defaultAction, multiple: l2.fileSetObj.multiple, "before-upload": a2.handleBeforeUpload, "on-progress": a2.uploadOnProgress, "show-file-list": false, headers: i2.headers, "on-success": a2.uploadOnSuccess, "on-error": a2.onError, "with-credentials": true, name: "file" }, { default: s.withCtx(() => [s.createVNode(p2, { size: "small", style: { "margin-right": "5px" }, bg: "" }, { default: s.withCtx(() => [s.createVNode(n2, null, { default: s.withCtx(() => [s.createVNode(r2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["accept", "action", "multiple", "before-upload", "on-progress", "headers", "on-success", "on-error"]), i2.uploading ? (s.openBlock(), s.createElementBlock("div", c, [s.createVNode(g2, { style: s.normalizeStyle(a2.tagStyle), size: "large", class: "fs-upload-tag" }, { default: s.withCtx(() => [s.createTextVNode(" 上传中: "), s.createElementVNode("span", h, s.toDisplayString(i2.uoloadingFileName), 1), s.createElementVNode("span", m, s.toDisplayString(i2.uploadPercentage) + "%", 1)]), _: 1 }, 8, ["style"])])) : s.createCommentVNode("", true)])]), _: 1 }, 8, ["entity", "disabled", "fileInfo", "file-set-obj", "is-sql", "label", "uploading", "watermark", "onDeleteFile"]))], 64))]);
89
+ return s.openBlock(), s.createElementBlock("span", f, [l2.disabled ? (s.openBlock(), s.createBlock(b, { key: 1, entity: l2.row, disabled: l2.disabled, fileInfo: l2.fileInfo, "file-set-obj": l2.fileSetObj, "is-sql": l2.isSql, label: l2.value, watermark: i2.watermark }, null, 8, ["entity", "disabled", "fileInfo", "file-set-obj", "is-sql", "label", "watermark"])) : (s.openBlock(), s.createElementBlock(s.Fragment, { key: 0 }, [i2.isMobile ? (s.openBlock(), s.createBlock(w, { key: 1, ref: "fileUploadRef", disabled: l2.disabled, fileInfo: l2.fileInfo, systemCode: i2.systemCode, accept: l2.fileSetObj.accept ? l2.fileSetObj.accept : null, multiple: l2.fileSetObj.multiple, limitFileSize: l2.fileSetObj.limitFileSize, placeholder: e2.$t("imatrixUIMessage.fileUpload"), "file-list": l2.fileList, beforeUpload: l2.fileSetObj.beforeUpload, onSuccess: a2.uploadOnSuccessMobile, beforeRemove: l2.fileSetObj.beforeRemove, onRemove: a2.onRemoveMobile, beforeDownload: l2.fileSetObj.beforeDownload, pageContext: l2.pageContext, openFsUpload: l2.openFsUpload, componentId: l2.componentId, listCode: l2.listCode, openCameraOrChoosePhoto: l2.fileSetObj.openCameraOrChoosePhoto, watermark: i2.watermark }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limitFileSize", "placeholder", "file-list", "beforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "openFsUpload", "componentId", "listCode", "openCameraOrChoosePhoto", "watermark"])) : (s.openBlock(), s.createBlock(b, { key: 0, "enable-delete": true, entity: l2.row, disabled: l2.disabled, fileInfo: l2.fileInfo, "file-set-obj": l2.fileSetObj, "is-sql": l2.isSql, label: l2.value, uploading: i2.uploading, watermark: i2.watermark, onDeleteFile: a2.deleteRow }, { prefix: s.withCtx(() => [s.createElementVNode("div", u, [s.createVNode(d2, { ref: "uploadRef", accept: l2.fileSetObj.accept ? l2.fileSetObj.accept : null, action: i2.defaultAction, multiple: l2.fileSetObj.multiple, "before-upload": a2.handleBeforeUpload, "on-progress": a2.uploadOnProgress, "show-file-list": false, headers: i2.headers, "on-success": a2.uploadOnSuccess, "on-error": a2.onError, "with-credentials": true, name: "file" }, { default: s.withCtx(() => [s.createVNode(p2, { size: "small", style: { "margin-right": "5px" }, bg: "" }, { default: s.withCtx(() => [s.createVNode(n2, null, { default: s.withCtx(() => [s.createVNode(r2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["accept", "action", "multiple", "before-upload", "on-progress", "headers", "on-success", "on-error"]), i2.uploading ? (s.openBlock(), s.createElementBlock("div", c, [s.createVNode(g2, { style: s.normalizeStyle(a2.tagStyle), size: "large", class: "fs-upload-tag" }, { default: s.withCtx(() => [t2[0] || (t2[0] = s.createTextVNode(" 上传中: ", -1)), s.createElementVNode("span", h, s.toDisplayString(i2.uoloadingFileName), 1), s.createElementVNode("span", m, s.toDisplayString(i2.uploadPercentage) + "%", 1)]), _: 1 }, 8, ["style"])])) : s.createCommentVNode("", true)])]), _: 1 }, 8, ["entity", "disabled", "fileInfo", "file-set-obj", "is-sql", "label", "uploading", "watermark", "onDeleteFile"]))], 64))]);
90
90
  }], ["__scopeId", "data-v-5254701d"]]);
91
91
  module.exports = g;
@@ -14,12 +14,12 @@ const e = require("vue"), t = require("../../../src/utils/auth.cjs"), o = requir
14
14
  i.pageContext && i.pageContext.backendUrl && (p = i.pageContext.backendUrl), p || (p = window.$vueApp.config.globalProperties.baseURL);
15
15
  const u = e.ref(p);
16
16
  window.$vueApp.config.globalProperties.baseAPI;
17
- const s = e.ref(null), f = e.ref(["album", "camera"]);
18
- function d() {
19
- let e2 = { type: "pickFiles", sourceType: f.value, multiple: i.multiple, componentId: i.componentId, componentName: i.componentName, systemCode: i.systemCode, token: t.getToken(), listCode: i.listCode };
17
+ const s = e.ref(null), f = a, d = e.ref(["album", "camera"]);
18
+ function c() {
19
+ let e2 = { type: "pickFiles", sourceType: d.value, multiple: i.multiple, componentId: i.componentId, componentName: i.componentName, systemCode: i.systemCode, token: t.getToken(), listCode: i.listCode };
20
20
  window.parent && window.parent.parent ? (e2.myCustom = "window.parent.parent", window.parent.parent.postMessage(JSON.stringify(e2), "*")) : (e2.myCustom = "window.parent", window.parent.postMessage(JSON.stringify(e2), "*"));
21
21
  }
22
- function c(e2) {
22
+ function m(e2) {
23
23
  const t2 = e2.files;
24
24
  let o2 = t2;
25
25
  t2 && "string" == typeof t2 && (o2 = JSON.parse(t2)), o2 && !Array.isArray(o2) && (o2 = [o2]), function(e3) {
@@ -39,19 +39,19 @@ const e = require("vue"), t = require("../../../src/utils/auth.cjs"), o = requir
39
39
  });
40
40
  else {
41
41
  const t4 = JSON.parse(JSON.stringify(r.value));
42
- r.value = e3, a("remove", { rmFiles: t4, serverFiles: r.value });
42
+ r.value = e3, f("remove", { rmFiles: t4, serverFiles: r.value });
43
43
  }
44
- JSON.stringify(r.value), s.value.changeFileList(r.value), a("uploadend", r.value);
44
+ JSON.stringify(r.value), s.value.changeFileList(r.value), f("uploadend", r.value);
45
45
  }(o2);
46
46
  }
47
- function m(e2) {
47
+ function y(e2) {
48
48
  const t2 = e2.file;
49
- t2 && a("remove", { rmFiles: [t2], serverFiles: r.value, index: e2.index });
49
+ t2 && f("remove", { rmFiles: [t2], serverFiles: r.value, index: e2.index });
50
50
  }
51
- return i.openCameraOrChoosePhoto && ("openCamera" === i.openCameraOrChoosePhoto ? f.value = ["camera"] : "openChoosePhoto" === i.openCameraOrChoosePhoto && (f.value = ["album"])), n({ pickFileDone: function(e2) {
52
- c(e2);
51
+ return i.openCameraOrChoosePhoto && ("openCamera" === i.openCameraOrChoosePhoto ? d.value = ["camera"] : "openChoosePhoto" === i.openCameraOrChoosePhoto && (d.value = ["album"])), n({ pickFileDone: function(e2) {
52
+ m(e2);
53
53
  }, uploadFileDone: function(e2) {
54
- c(e2);
55
- } }), (t2, n2) => (e.openBlock(), e.createElementBlock("div", null, [e.createVNode(o, { ref_key: "fileUploadRef", ref: s, disabled: l2.disabled, systemCode: l2.systemCode, accept: l2.accept, multiple: l2.multiple, limitFileSize: l2.limitFileSize, fileList: r.value, beforeRemove: l2.beforeRemove, onRemove: [l2.onRemove, m], beforeDownload: l2.beforeDownload, baseURL: u.value, watermark: l2.watermark, onChooseFile: d }, null, 8, ["disabled", "systemCode", "accept", "multiple", "limitFileSize", "fileList", "beforeRemove", "onRemove", "beforeDownload", "baseURL", "watermark"])]));
54
+ m(e2);
55
+ } }), (t2, n2) => (e.openBlock(), e.createElementBlock("div", null, [e.createVNode(o, { ref_key: "fileUploadRef", ref: s, disabled: l2.disabled, systemCode: l2.systemCode, accept: l2.accept, multiple: l2.multiple, limitFileSize: l2.limitFileSize, fileList: r.value, beforeRemove: l2.beforeRemove, onRemove: [l2.onRemove, y], beforeDownload: l2.beforeDownload, baseURL: u.value, watermark: l2.watermark, onChooseFile: c }, null, 8, ["disabled", "systemCode", "accept", "multiple", "limitFileSize", "fileList", "beforeRemove", "onRemove", "beforeDownload", "baseURL", "watermark"])]));
56
56
  } });
57
57
  module.exports = l;