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
@@ -210,6 +210,6 @@ const c = require("../../_virtual/_plugin-vue_export-helper.cjs"), h = { name: "
210
210
  } }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] }, p = { class: "nine-grid-area" }, d = ["id"], u = { style: { "margin-top": "7px" } }, g = ["onClick", "onMouseenter"], m = { class: "image", style: { padding: "15px", "box-sizing": "border-box" } }, f = { key: 0, style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" } }, S = ["title"], C = { class: "button-style" }, y = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, k = { style: { "padding-left": "15px" } }, v = ["onClick"], w = { key: 0, style: { position: "absolute", right: "5%", bottom: "9%" } };
211
211
  const b = c(h, [["render", function(t2, e2, i2, o2, s2, n2) {
212
212
  const r2 = l.resolveComponent("search-form"), a2 = l.resolveComponent("Plus"), c2 = l.resolveComponent("el-icon"), h2 = l.resolveComponent("el-card"), b2 = l.resolveComponent("el-col"), I = l.resolveComponent("el-tooltip"), D = l.resolveComponent("SuccessFilled"), x = l.resolveComponent("el-button"), P = l.resolveComponent("el-row"), B = l.resolveComponent("el-pagination"), F = l.resolveDirective("permission");
213
- return l.openBlock(), l.createElementBlock("div", null, [s2.hasLoadedColumns ? l.withDirectives((l.openBlock(), l.createBlock(r2, { key: 0, ref: "sf", code: i2.code, columns: s2.columns, "grid-id": s2.gridId, "init-search-props": s2.initSearchProps, pagination: s2.pagination, query: s2.query, "search-param": s2.searchFormContent, url: i2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[l.vShow, s2.showSearch]]) : l.createCommentVNode("", true), l.createElementVNode("div", p, [l.createElementVNode("div", { id: s2.gridId, style: l.normalizeStyle("height:" + s2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [l.createVNode(P, { gutter: 24 }, { default: l.withCtx(() => [s2.isHasCreate ? l.withDirectives((l.openBlock(), l.createBlock(b2, { key: 0, id: "_addCardId_", span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(h2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: l.withCtx(() => [l.createElementVNode("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [l.createVNode(c2, null, { default: l.withCtx(() => [l.createVNode(a2)]), _: 1 }), l.createElementVNode("span", u, l.toDisplayString(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[F, s2.createPermission]]) : l.createCommentVNode("", true), (l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.gridData, (i3, o3) => (l.openBlock(), l.createBlock(b2, { key: i3.id, offset: 1.5, span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(h2, { "body-style": { padding: "0px" }, style: l.normalizeStyle({ border: s2.selectionIds.indexOf(i3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: l.withCtx(() => [l.createElementVNode("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(i3), onMouseenter: (t3) => n2.enter(o3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [l.createElementVNode("div", m, [l.createElementVNode("div", null, [l.createVNode(I, { content: s2.props && s2.props.content ? n2.getPropValue("content", i3) + "(" + i3.code + ")" : s2.props && s2.props.title ? n2.getPropValue("title", i3) + "(" + i3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: l.withCtx(() => [s2.props && s2.props.content ? (l.openBlock(), l.createElementBlock("div", { key: 0, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("content", i3) + "(" + i3.code + ")"), 5)) : s2.props && s2.props.title ? (l.openBlock(), l.createElementBlock("div", { key: 1, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("title", i3) + "(" + i3.code + ")"), 5)) : l.createCommentVNode("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(i3) ? (l.openBlock(), l.createElementBlock("div", f, [l.createVNode(c2, null, { default: l.withCtx(() => [l.createVNode(D)]), _: 1 }), l.createElementVNode("span", { title: n2.getPropValue("subTitle", i3), style: { "margin-left": "4px" } }, l.toDisplayString(n2.getPropValue("subTitle", i3)), 9, S)])) : l.createCommentVNode("", true)]), l.createElementVNode("div", C, [l.createElementVNode("div", y, l.toDisplayString(t2.$t("imatrixUIPublicModel.edit")), 1), l.createElementVNode("div", k, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.operations, (t3) => (l.openBlock(), l.createElementBlock(l.Fragment, null, [n2.isShowButton(i3, t3) ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [t3.icon ? l.withDirectives((l.openBlock(), l.createBlock(I, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: l.withCtx(() => [l.createVNode(c2, { class: l.normalizeClass(t3.icon + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, { default: l.withCtx(() => [(l.openBlock(), l.createBlock(l.resolveDynamicComponent(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[F, t3.permission ? t3.permission : "true"]]) : l.withDirectives((l.openBlock(), l.createElementBlock("em", { key: t3.name, class: l.normalizeClass(t3.name + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, [l.createTextVNode(l.toDisplayString(t3.name), 1)], 10, v)), [[F, t3.permission ? t3.permission : "true"]])], 64)) : l.createCommentVNode("", true)], 64))), 256)), l.renderSlot(t2.$slots, s2.slotBefore, { params: i3 }, void 0, true)])]), s2.isShowBottom ? (l.openBlock(), l.createElementBlock("div", w, [l.renderSlot(t2.$slots, s2.slotState, { params: i3 }, void 0, true), s2.isShowEnableState ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [n2.showEnableButton(i3) ? (l.openBlock(), l.createBlock(x, { key: 0, class: "button--default", size: "default", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 2 }, 1032, ["onClick"])) : (l.openBlock(), l.createBlock(x, { key: 1, size: "default", type: "primary", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 2 }, 1032, ["onClick"]))], 64)) : l.createCommentVNode("", true)])) : l.createCommentVNode("", true)])], 40, g)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, d), s2.pagination ? (l.openBlock(), l.createBlock(B, { key: 0, background: "", "current-page": s2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => s2.currentPage = t3), "page-size": s2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => s2.pagination.pageSize = t3), layout: s2.pagination.layout, "page-sizes": s2.pagination.pageSizes, total: void 0 !== s2.pagination.total && "" !== s2.pagination.total && null !== s2.pagination.total ? s2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : l.createCommentVNode("", true)])]);
213
+ return l.openBlock(), l.createElementBlock("div", null, [s2.hasLoadedColumns ? l.withDirectives((l.openBlock(), l.createBlock(r2, { key: 0, ref: "sf", code: i2.code, columns: s2.columns, "grid-id": s2.gridId, "init-search-props": s2.initSearchProps, pagination: s2.pagination, query: s2.query, "search-param": s2.searchFormContent, url: i2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[l.vShow, s2.showSearch]]) : l.createCommentVNode("", true), l.createElementVNode("div", p, [l.createElementVNode("div", { id: s2.gridId, style: l.normalizeStyle("height:" + s2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [l.createVNode(P, { gutter: 24 }, { default: l.withCtx(() => [s2.isHasCreate ? l.withDirectives((l.openBlock(), l.createBlock(b2, { key: 0, id: "_addCardId_", span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(h2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: l.withCtx(() => [l.createElementVNode("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [l.createVNode(c2, null, { default: l.withCtx(() => [l.createVNode(a2)]), _: 1 }), l.createElementVNode("span", u, l.toDisplayString(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[F, s2.createPermission]]) : l.createCommentVNode("", true), (l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.gridData, (i3, o3) => (l.openBlock(), l.createBlock(b2, { key: i3.id, offset: 1.5, span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(h2, { "body-style": { padding: "0px" }, style: l.normalizeStyle({ border: s2.selectionIds.indexOf(i3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: l.withCtx(() => [l.createElementVNode("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(i3), onMouseenter: (t3) => n2.enter(o3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [l.createElementVNode("div", m, [l.createElementVNode("div", null, [l.createVNode(I, { content: s2.props && s2.props.content ? n2.getPropValue("content", i3) + "(" + i3.code + ")" : s2.props && s2.props.title ? n2.getPropValue("title", i3) + "(" + i3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: l.withCtx(() => [s2.props && s2.props.content ? (l.openBlock(), l.createElementBlock("div", { key: 0, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("content", i3) + "(" + i3.code + ")"), 5)) : s2.props && s2.props.title ? (l.openBlock(), l.createElementBlock("div", { key: 1, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("title", i3) + "(" + i3.code + ")"), 5)) : l.createCommentVNode("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(i3) ? (l.openBlock(), l.createElementBlock("div", f, [l.createVNode(c2, null, { default: l.withCtx(() => [l.createVNode(D)]), _: 1 }), l.createElementVNode("span", { title: n2.getPropValue("subTitle", i3), style: { "margin-left": "4px" } }, l.toDisplayString(n2.getPropValue("subTitle", i3)), 9, S)])) : l.createCommentVNode("", true)]), l.createElementVNode("div", C, [l.createElementVNode("div", y, l.toDisplayString(t2.$t("imatrixUIPublicModel.edit")), 1), l.createElementVNode("div", k, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.operations, (t3) => (l.openBlock(), l.createElementBlock(l.Fragment, null, [n2.isShowButton(i3, t3) ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [t3.icon ? l.withDirectives((l.openBlock(), l.createBlock(I, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: l.withCtx(() => [l.createVNode(c2, { class: l.normalizeClass(t3.icon + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, { default: l.withCtx(() => [(l.openBlock(), l.createBlock(l.resolveDynamicComponent(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[F, t3.permission ? t3.permission : "true"]]) : l.withDirectives((l.openBlock(), l.createElementBlock("em", { key: t3.name, class: l.normalizeClass(t3.name + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, [l.createTextVNode(l.toDisplayString(t3.name), 1)], 10, v)), [[F, t3.permission ? t3.permission : "true"]])], 64)) : l.createCommentVNode("", true)], 64))), 256)), l.renderSlot(t2.$slots, s2.slotBefore, { params: i3 }, void 0, true)])]), s2.isShowBottom ? (l.openBlock(), l.createElementBlock("div", w, [l.renderSlot(t2.$slots, s2.slotState, { params: i3 }, void 0, true), s2.isShowEnableState ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [n2.showEnableButton(i3) ? (l.openBlock(), l.createBlock(x, { key: 0, class: "button--default", size: "default", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 1 }, 8, ["onClick"])) : (l.openBlock(), l.createBlock(x, { key: 1, size: "default", type: "primary", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 1 }, 8, ["onClick"]))], 64)) : l.createCommentVNode("", true)])) : l.createCommentVNode("", true)])], 40, g)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, d), s2.pagination ? (l.openBlock(), l.createBlock(B, { key: 0, background: "", "current-page": s2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => s2.currentPage = t3), "page-size": s2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => s2.pagination.pageSize = t3), layout: s2.pagination.layout, "page-sizes": s2.pagination.pageSizes, total: void 0 !== s2.pagination.total && "" !== s2.pagination.total && null !== s2.pagination.total ? s2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : l.createCommentVNode("", true)])]);
214
214
  }], ["__scopeId", "data-v-80f6a26f"]]);
215
215
  module.exports = b;
@@ -111,9 +111,9 @@ const a = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { data: (
111
111
  o2 = 0 === e2.level ? 0 : e2.data.id;
112
112
  var r2 = [];
113
113
  this.$refs.workgroupTree && (r2 = this.$refs.workgroupTree.getCheckedKeys()), -1 === o2 && e2.data.children && e2.data.children.length > 0 ? t2(e2.data.children) : this.initLoad(o2, e2, t2, r2);
114
- } }, emits: ["result"] }, d = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, h = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = ((e2) => (n.pushScopeId("data-v-22410ec9"), e2 = e2(), n.popScopeId(), e2))(() => n.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)), g = { style: { "text-align": "left", "font-size": "16px" } }, k = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
115
- const m = a(c, [["render", function(e2, t2, o2, r2, l2, s2) {
116
- const i2 = n.resolveComponent("el-button"), a2 = n.resolveComponent("el-autocomplete"), c2 = n.resolveComponent("el-header"), m2 = n.resolveComponent("Menu"), f = n.resolveComponent("Calendar"), N = n.resolveComponent("el-icon"), w = n.resolveComponent("el-tree"), S = n.resolveComponent("EmptyState"), y = n.resolveComponent("workgroup-result"), C = n.resolveComponent("el-main"), R = n.resolveComponent("el-container"), v = n.resolveComponent("el-aside");
117
- return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(R, { style: { height: "395px" } }, { default: n.withCtx(() => [n.createVNode(v, { width: "430px" }, { default: n.withCtx(() => [n.createVNode(R, { style: { height: "390px" } }, { default: n.withCtx(() => [n.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: n.withCtx(() => [n.createVNode(a2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: s2.handleSelect, onKeyup: n.withKeys(s2.clickSearch, ["enter"]) }, { append: n.withCtx(() => [n.createVNode(i2, { icon: l2.ElIconSearch, onClick: s2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), n.createVNode(C, null, { default: n.withCtx(() => [l2.searchValue ? n.createCommentVNode("", true) : (n.openBlock(), n.createElementBlock(n.Fragment, { key: 0 }, [l2.canShowOrgTree ? (n.openBlock(), n.createElementBlock("div", d, [n.createVNode(w, { ref: "workgroupTree", "filter-node-method": s2.filterNode, load: s2.loadNode, props: l2.defaultProps, "show-checkbox": o2.multiple, lazy: "", "node-key": "id", onCheck: s2.handleCheckNode, onNodeClick: s2.handleNodeClick }, { default: n.withCtx(({ node: e3, data: t3 }) => [n.createElementVNode("span", null, [n.createVNode(N, null, { default: n.withCtx(() => [-1 === e3.data.id ? (n.openBlock(), n.createBlock(m2, { key: 0 })) : (n.openBlock(), n.createBlock(f, { key: 1 }))]), _: 2 }, 1024), n.createElementVNode("span", { class: n.normalizeClass(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, n.toDisplayString(e3.label), 11, h)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n.openBlock(), n.createBlock(S, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n.openBlock(), n.createElementBlock("div", u, [n.createVNode(y, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: o2.multiple, "select-result": l2.selectResult, onAddWorkgroup: s2.addWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : n.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), o2.multiple ? (n.openBlock(), n.createBlock(R, { key: 0 }, { default: n.withCtx(() => [n.createVNode(v, { width: "2px" }, { default: n.withCtx(() => [p]), _: 1 }), n.createVNode(C, { style: { padding: "10px" } }, { default: n.withCtx(() => [n.createElementVNode("div", g, n.toDisplayString(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), n.createElementVNode("div", k, [n.createVNode(y, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: o2.multiple, onRemoveWorkgroup: s2.removeWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : n.createCommentVNode("", true)]), _: 1 })]);
114
+ } }, emits: ["result"] }, d = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, h = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = { style: { "text-align": "left", "font-size": "16px" } }, g = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
115
+ const k = a(c, [["render", function(e2, t2, o2, r2, l2, s2) {
116
+ const i2 = n.resolveComponent("el-button"), a2 = n.resolveComponent("el-autocomplete"), c2 = n.resolveComponent("el-header"), k2 = n.resolveComponent("Menu"), m = n.resolveComponent("Calendar"), f = n.resolveComponent("el-icon"), N = n.resolveComponent("el-tree"), w = n.resolveComponent("EmptyState"), y = n.resolveComponent("workgroup-result"), C = n.resolveComponent("el-main"), S = n.resolveComponent("el-container"), R = n.resolveComponent("el-aside");
117
+ return n.openBlock(), n.createElementBlock("div", null, [n.createVNode(S, { style: { height: "395px" } }, { default: n.withCtx(() => [n.createVNode(R, { width: "430px" }, { default: n.withCtx(() => [n.createVNode(S, { style: { height: "390px" } }, { default: n.withCtx(() => [n.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: n.withCtx(() => [n.createVNode(a2, { modelValue: l2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("imatrixUIMessage.pleaseEnterTeamName"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", onSelect: s2.handleSelect, onKeyup: n.withKeys(s2.clickSearch, ["enter"]) }, { append: n.withCtx(() => [n.createVNode(i2, { icon: l2.ElIconSearch, onClick: s2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), n.createVNode(C, null, { default: n.withCtx(() => [l2.searchValue ? n.createCommentVNode("", true) : (n.openBlock(), n.createElementBlock(n.Fragment, { key: 0 }, [l2.canShowOrgTree ? (n.openBlock(), n.createElementBlock("div", d, [n.createVNode(N, { ref: "workgroupTree", "filter-node-method": s2.filterNode, load: s2.loadNode, props: l2.defaultProps, "show-checkbox": o2.multiple, lazy: "", "node-key": "id", onCheck: s2.handleCheckNode, onNodeClick: s2.handleNodeClick }, { default: n.withCtx(({ node: e3, data: t3 }) => [n.createElementVNode("span", null, [n.createVNode(f, null, { default: n.withCtx(() => [-1 === e3.data.id ? (n.openBlock(), n.createBlock(k2, { key: 0 })) : (n.openBlock(), n.createBlock(m, { key: 1 }))]), _: 2 }, 1024), n.createElementVNode("span", { class: n.normalizeClass(t3.nodeType && "WORKGROUP" === t3.nodeType && l2.searchValue && t3.name.indexOf(l2.searchValue) > -1 ? "searchResult" : ""), title: e3.label }, n.toDisplayString(e3.label), 11, h)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (n.openBlock(), n.createBlock(w, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), l2.searchValue && l2.searchValue.length > 0 ? (n.openBlock(), n.createElementBlock("div", u, [n.createVNode(y, { ref: "workgroupResult", "grid-data": l2.searchResult, height: e2.height, "is-search-result": true, multiple: o2.multiple, "select-result": l2.selectResult, onAddWorkgroup: s2.addWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroup", "onResultRowDblclick", "onSelectResult"])])) : n.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), o2.multiple ? (n.openBlock(), n.createBlock(S, { key: 0 }, { default: n.withCtx(() => [n.createVNode(R, { width: "2px" }, { default: n.withCtx(() => [...t2[1] || (t2[1] = [n.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 }), n.createVNode(C, { style: { padding: "10px" } }, { default: n.withCtx(() => [n.createElementVNode("div", p, n.toDisplayString(e2.$t("imatrixUIMessage.selectedWorkingGroup")) + ":", 1), n.createElementVNode("div", g, [n.createVNode(y, { "grid-data": l2.selectResult, height: e2.height, "is-search-result": false, multiple: o2.multiple, onRemoveWorkgroup: s2.removeWorkgroup, onResultRowDblclick: s2.resultRowDblclick, onSelectResult: s2.getSelectWorkgroup }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroup", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : n.createCommentVNode("", true)]), _: 1 })]);
118
118
  }], ["__scopeId", "data-v-22410ec9"]]);
119
- module.exports = m;
119
+ module.exports = k;
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = require("@element-plus/icons-vue"), l = { style: { "text-align": "center" } }, o = { class: "item-row" }, n = { class: "item-label" }, r = ["onClick"], a = e.defineComponent({ __name: "dept-result", props: { selectDepts: { type: Array, default: null } }, emits: ["removeDept"], setup(a2, { expose: i, emit: s }) {
3
3
  let d = e.ref(false);
4
+ const c = s;
4
5
  return i({ showResult: function() {
5
6
  d.value = true, JSON.stringify();
6
- } }), (i2, c) => {
7
+ } }), (i2, s2) => {
7
8
  const u = e.resolveComponent("el-icon"), m = e.resolveComponent("el-tree"), p = e.resolveComponent("el-drawer");
8
- return e.openBlock(), e.createBlock(p, { modelValue: e.unref(d), "onUpdate:modelValue": c[0] || (c[0] = (t2) => e.isRef(d) ? d.value = t2 : d = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(i2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.createVNode(m, { ref: "orgResultTreeRef", data: a2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: e.withCtx(({ node: l2, data: a3 }) => [e.createElementVNode("div", o, [e.createElementVNode("div", n, e.toDisplayString(a3.name), 1), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
9
- s("removeDept", a3);
9
+ return e.openBlock(), e.createBlock(p, { modelValue: e.unref(d), "onUpdate:modelValue": s2[0] || (s2[0] = (t2) => e.isRef(d) ? d.value = t2 : d = t2), direction: "btt", size: "80%", class: "organization-tree" }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(i2.$t("departmentTreeInline.selectResultTitle")), 1)]), default: e.withCtx(() => [e.createVNode(m, { ref: "orgResultTreeRef", data: a2.selectDepts, "node-key": "nodeId", "check-on-click-node": "" }, { default: e.withCtx(({ node: l2, data: a3 }) => [e.createElementVNode("div", o, [e.createElementVNode("div", n, e.toDisplayString(a3.name), 1), e.createElementVNode("div", { class: "item-side", onClick: (e2) => {
10
+ c("removeDept", a3);
10
11
  } }, [e.createVNode(u, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.DeleteFilled))]), _: 1 })], 8, r)])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue"]);
11
12
  };
12
13
  } });
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
- const e = require("vue"), o = require("./workgroup-tree-inline-app.vue.cjs"), l = { style: { "text-align": "center" } }, t = e.defineComponent({ name: "DepartmentTreeMobile", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(t2, { emit: r }) {
3
- let n = e.ref(true);
4
- function i(e2) {
5
- r("close", e2), n.value = false;
2
+ const e = require("vue"), o = require("./workgroup-tree-inline-app.vue.cjs"), t = { style: { "text-align": "center" } }, l = e.defineComponent({ name: "DepartmentTreeMobile", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(l2, { emit: r }) {
3
+ const n = r;
4
+ let i = e.ref(true);
5
+ function a(e2) {
6
+ n("close", e2), i.value = false;
6
7
  }
7
- return (t3, r2) => {
8
- const a = e.resolveComponent("el-drawer");
9
- return e.openBlock(), e.createBlock(a, { modelValue: e.unref(n), "onUpdate:modelValue": r2[0] || (r2[0] = (o2) => e.isRef(n) ? n.value = o2 : n = o2), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: r2[1] || (r2[1] = (e2) => i()) }, { header: e.withCtx(() => [e.createElementVNode("div", l, e.toDisplayString(t3.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(n) ? (e.openBlock(), e.createBlock(o, { key: 0, multiple: t3.multiple, branchInfo: t3.branchInfo, selectWorkgroupInfo: t3.selectWorkgroupInfo, searchField: t3.searchField, "limit-filter-column": t3.limitFilterColumn, separator: t3.separator, onClose: i }, null, 8, ["multiple", "branchInfo", "selectWorkgroupInfo", "searchField", "limit-filter-column", "separator"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
8
+ return (r2, n2) => {
9
+ const s = e.resolveComponent("el-drawer");
10
+ return e.openBlock(), e.createBlock(s, { modelValue: e.unref(i), "onUpdate:modelValue": n2[0] || (n2[0] = (o2) => e.isRef(i) ? i.value = o2 : i = o2), "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) => a()) }, { header: e.withCtx(() => [e.createElementVNode("div", t, e.toDisplayString(r2.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(i) ? (e.openBlock(), e.createBlock(o, { key: 0, multiple: l2.multiple, branchInfo: l2.branchInfo, selectWorkgroupInfo: l2.selectWorkgroupInfo, searchField: l2.searchField, "limit-filter-column": l2.limitFilterColumn, separator: l2.separator, onClose: a }, null, 8, ["multiple", "branchInfo", "selectWorkgroupInfo", "searchField", "limit-filter-column", "separator"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
10
11
  };
11
12
  } });
12
- module.exports = t;
13
+ module.exports = l;
@@ -1,90 +1,90 @@
1
1
  "use strict";
2
2
  const e = require("vue"), t = require("@element-plus/icons-vue"), l = require("./workgroup-tree-service.cjs"), n = require("../../utils/organization.cjs"), o = require("./dept-result.vue.cjs"), a = require("element-plus"), r = require("vue-i18n"), s = require("../../utils/utils.cjs"), c = require("../../src/assets/nonemessage.png.cjs"), u = { style: { display: "flex" } }, i = { style: { flex: "0 0 20%", "text-align": "left" } }, d = { style: { flex: "0 0 80%", "text-align": "right" } }, p = { class: "item-row" }, m = { class: "item-label" }, f = { style: { display: "flex" } }, h = { key: 0 }, v = { style: { "padding-left": "10px" } }, g = { key: 1 }, k = { class: "button-area" }, y = e.defineComponent({ __name: "workgroup-tree-inline-app", props: { multiple: {}, branchInfo: {}, selectWorkgroupInfo: {}, searchField: {}, separator: {}, limitFilterColumn: {} }, emits: ["close"], setup(y2, { emit: C }) {
3
- const w = y2, V = e.ref(null);
4
- let N = e.ref(null), x = e.ref(false), I = e.ref(null), E = e.ref([]);
3
+ const w = y2, V = C, N = e.ref(null);
4
+ let x = e.ref(null), I = e.ref(false), E = e.ref(null), b = e.ref([]);
5
5
  e.ref([]);
6
- let b = e.ref([]);
6
+ let B = e.ref([]);
7
7
  e.ref([]), e.ref([]);
8
- let B = e.ref([]), S = e.ref(null), _ = e.ref(false), T = e.ref({ searchValue: null, treeType: "GROUP_TREE", departmentInfo: null });
9
- const { t: R } = r.useI18n();
10
- function D() {
8
+ let S = e.ref([]), _ = e.ref(null), T = e.ref(false), R = e.ref({ searchValue: null, treeType: "GROUP_TREE", departmentInfo: null });
9
+ const { t: D } = r.useI18n();
10
+ function O() {
11
11
  s.canShowOrgTree().then((e2) => {
12
12
  e2 ? l.getTenantChildren(w.branchInfo, -1).then((e3) => {
13
- E.value = e3, l.checkedDeptDefault(b.value, B.value);
14
- }) : E.value = [];
13
+ b.value = e3, l.checkedDeptDefault(B.value, S.value);
14
+ }) : b.value = [];
15
15
  });
16
16
  }
17
- function O(e2, t2, l2) {
18
- w.multiple && (t2 ? U(e2) : $(e2));
17
+ function q(e2, t2, l2) {
18
+ w.multiple && (t2 ? $(e2) : M(e2));
19
19
  }
20
- function q(e2, t2, l2, n2) {
21
- !w.multiple && e2.nodeType && "WORKGROUP" === e2.nodeType && (b.value = [e2]);
20
+ function U(e2, t2, l2, n2) {
21
+ !w.multiple && e2.nodeType && "WORKGROUP" === e2.nodeType && (B.value = [e2]);
22
22
  }
23
- function U(e2) {
24
- if (b.value, e2.nodeType && "WORKGROUP" === e2.nodeType) {
25
- const t2 = b.value.filter((t3) => t3.nodeId === e2.nodeId);
26
- t2 && 0 !== t2.length || b.value.push(JSON.parse(JSON.stringify(e2)));
23
+ function $(e2) {
24
+ if (B.value, e2.nodeType && "WORKGROUP" === e2.nodeType) {
25
+ const t2 = B.value.filter((t3) => t3.nodeId === e2.nodeId);
26
+ t2 && 0 !== t2.length || B.value.push(JSON.parse(JSON.stringify(e2)));
27
27
  }
28
28
  }
29
- function $(e2) {
30
- const t2 = b.value.findIndex((t3) => t3.nodeId === e2.nodeId);
31
- b.value, void 0 !== t2 && -1 !== t2 && b.value.splice(t2, 1), _.value = false;
29
+ function M(e2) {
30
+ const t2 = B.value.findIndex((t3) => t3.nodeId === e2.nodeId);
31
+ B.value, void 0 !== t2 && -1 !== t2 && B.value.splice(t2, 1), T.value = false;
32
32
  }
33
33
  function K(e2) {
34
34
  if (w.multiple)
35
35
  if (e2) {
36
- const e3 = E.value.map((e4) => e4.nodeId);
37
- V.value.setCheckedKeys(e3, false), E.value.forEach((e4) => {
38
- U(e4);
36
+ const e3 = b.value.map((e4) => e4.nodeId);
37
+ N.value.setCheckedKeys(e3, false), b.value.forEach((e4) => {
38
+ $(e4);
39
39
  });
40
40
  } else
41
- E.value.forEach((e3) => {
42
- $(e3);
43
- }), V.value.setCheckedKeys([], false);
41
+ b.value.forEach((e3) => {
42
+ M(e3);
43
+ }), N.value.setCheckedKeys([], false);
44
44
  }
45
- function M() {
46
- S.value.showResult();
45
+ function P() {
46
+ _.value.showResult();
47
47
  }
48
- function P(e2) {
49
- const t2 = b.value.filter((t3) => t3.nodeId === e2.nodeId);
48
+ function j(e2) {
49
+ const t2 = B.value.filter((t3) => t3.nodeId === e2.nodeId);
50
50
  if (t2 && t2.length > 0) {
51
51
  const t3 = [];
52
- b.value.forEach((l2) => {
52
+ B.value.forEach((l2) => {
53
53
  l2.nodeId !== e2.nodeId && t3.push(l2.nodeId);
54
- }), V.value.setCheckedKeys(t3, true);
54
+ }), N.value.setCheckedKeys(t3, true);
55
55
  }
56
- $(e2);
56
+ M(e2);
57
57
  }
58
- function j() {
58
+ function J() {
59
59
  if (w.multiple) {
60
60
  let e2 = { ids: [], names: [], codes: [], workgroups: [] };
61
- b.value.forEach((t3) => {
61
+ B.value.forEach((t3) => {
62
62
  let l2;
63
63
  l2 = null !== t3.data && void 0 !== t3.data ? JSON.parse(t3.data) : t3, function(e3, t4, l3) {
64
- e3.ids.push(t4.id), e3.codes.push(l3.code), e3.containBranch = x.value, l3.tenantCode = N.value.code, l3.tenantName = N.value.tenantName, e3.workgroups.push(l3);
64
+ e3.ids.push(t4.id), e3.codes.push(l3.code), e3.containBranch = I.value, l3.tenantCode = x.value.code, l3.tenantName = x.value.tenantName, e3.workgroups.push(l3);
65
65
  const n2 = l3.name;
66
66
  e3.names.push(n2);
67
67
  }(e2, t3, l2);
68
68
  });
69
69
  let t2 = { ids: [], names: [], codes: [], workgroups: [] };
70
- Object.assign(t2, e2), t2.ids.length > 0 ? C("close", t2) : a.ElMessage({ message: R("imatrixUIMessage.pleaseSelectDepartment"), type: "warning" });
70
+ Object.assign(t2, e2), t2.ids.length > 0 ? V("close", t2) : a.ElMessage({ message: D("imatrixUIMessage.pleaseSelectDepartment"), type: "warning" });
71
71
  } else {
72
- const e2 = b.value[0], t2 = JSON.parse(e2.data), l2 = e2.name;
73
- t2.tenantName = N.value.tenantName, t2.tenantCode = N.value.code;
74
- const n2 = { id: e2.id, name: l2, code: t2.code, containBranch: x.value, workgroup: t2 };
75
- C("close", n2);
72
+ const e2 = B.value[0], t2 = JSON.parse(e2.data), l2 = e2.name;
73
+ t2.tenantName = x.value.tenantName, t2.tenantCode = x.value.code;
74
+ const n2 = { id: e2.id, name: l2, code: t2.code, containBranch: I.value, workgroup: t2 };
75
+ V("close", n2);
76
76
  }
77
77
  }
78
- function J() {
79
- T.value.searchValue ? (T.value.searchValue = T.value.searchValue.trim(), T.value.departmentInfo = w.branchInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-mobile-workgroups", T.value).then((e2) => {
80
- e2 ? (0 === e2.length && a.ElMessage({ message: R("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), E.value = e2) : a.ElMessage({ message: R("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
81
- })) : D();
78
+ function z() {
79
+ R.value.searchValue ? (R.value.searchValue = R.value.searchValue.trim(), R.value.departmentInfo = w.branchInfo, window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/search-mobile-workgroups", R.value).then((e2) => {
80
+ e2 ? (0 === e2.length && a.ElMessage({ message: D("imatrixUIMessage.queryResultIsEmpty"), type: "warning" }), b.value = e2) : a.ElMessage({ message: D("imatrixUIMessage.queryResultIsEmpty"), type: "warning" });
81
+ })) : O();
82
82
  }
83
83
  return e.onMounted(() => {
84
84
  l.initSelectGroups(w.searchField, w.selectWorkgroupInfo, w.separator).then((e2) => {
85
- b.value = e2, l.getTenant().then((e3) => {
85
+ B.value = e2, l.getTenant().then((e3) => {
86
86
  const t2 = e3[0].data;
87
- N.value = JSON.parse(t2), x.value = e3[0].containBranch, I.value = e3[0].name, D();
87
+ x.value = JSON.parse(t2), I.value = e3[0].containBranch, E.value = e3[0].name, O();
88
88
  });
89
89
  }), function() {
90
90
  const e2 = document.querySelector(".org-tree");
@@ -92,8 +92,8 @@ const e = require("vue"), t = require("@element-plus/icons-vue"), l = require(".
92
92
  t2 = t2 - 110 - 60 - 60 - 60, e2.style.height = t2 + "px", e2.style.minHeight = "300px";
93
93
  }();
94
94
  }), (l2, n2) => {
95
- const a2 = e.resolveComponent("el-checkbox"), r2 = e.resolveComponent("el-icon"), s2 = e.resolveComponent("el-input"), y3 = e.resolveComponent("el-col"), C2 = e.resolveComponent("el-row"), w2 = e.resolveComponent("el-card"), N2 = e.resolveComponent("el-breadcrumb-item"), x2 = e.resolveComponent("el-breadcrumb"), R2 = e.resolveComponent("el-empty"), D2 = e.resolveComponent("el-tree"), U2 = e.resolveComponent("el-button");
96
- return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(w2, { class: "card-content", style: { height: "50px" } }, { default: e.withCtx(() => [e.createVNode(C2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(y3, { style: { width: "100%" } }, { default: e.withCtx(() => [e.createElementVNode("div", u, [e.createElementVNode("div", i, [l2.multiple ? (e.openBlock(), e.createBlock(a2, { key: 0, modelValue: e.unref(_), "onUpdate:modelValue": n2[0] || (n2[0] = (t2) => e.isRef(_) ? _.value = t2 : _ = t2), label: l2.$t("departmentTreeInline.allCheck"), value: "all", onChange: K }, null, 8, ["modelValue", "label"])) : e.createCommentVNode("", true)]), e.createElementVNode("div", d, [e.createVNode(s2, { modelValue: e.unref(T).searchValue, "onUpdate:modelValue": n2[1] || (n2[1] = (t2) => e.unref(T).searchValue = t2), placeholder: l2.$t("departmentTreeInline.pleaseInputNameOrCode"), onClear: J, onKeyup: e.withKeys(J, ["enter"]), onBlur: J, clearable: "" }, { suffix: e.withCtx(() => [e.createVNode(r2, { onClick: J }, { default: e.withCtx(() => [e.createVNode(e.unref(t.Search))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder", "onKeyup"])])])]), _: 1 })]), _: 1 })]), _: 1 }), e.unref(I) ? (e.openBlock(), e.createBlock(w2, { key: 0, class: "card-content", style: { height: "40px" } }, { default: e.withCtx(() => [e.createVNode(C2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(y3, { class: "item-label dept-path" }, { default: e.withCtx(() => [e.createVNode(x2, { separator: "/" }, { default: e.withCtx(() => [e.createVNode(N2, null, { default: e.withCtx(() => [e.createElementVNode("span", null, e.toDisplayString(e.unref(I)), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })) : e.createCommentVNode("", true), e.createVNode(w2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: e.withCtx(() => [e.unref(E).length ? (e.openBlock(), e.createBlock(D2, { key: 1, ref_key: "orgTreeRef", ref: V, data: e.unref(E), "show-checkbox": l2.multiple, "node-key": "nodeId", "check-on-click-node": "", "default-checked-keys": e.unref(B), onCheckChange: O, onNodeClick: q }, { default: e.withCtx(({ node: t2, data: l3 }) => [e.createElementVNode("div", p, [e.createElementVNode("div", m, e.toDisplayString(l3.name), 1)])]), _: 1 }, 8, ["data", "show-checkbox", "default-checked-keys"])) : (e.openBlock(), e.createBlock(R2, { key: 0, image: e.unref(c) }, null, 8, ["image"]))]), _: 1 }), e.createVNode(w2, { class: "card-footer" }, { default: e.withCtx(() => [e.createElementVNode("div", f, [e.createElementVNode("div", { class: "select-result", onClick: M }, [l2.multiple ? (e.openBlock(), e.createElementBlock("span", { key: 0, onClick: M }, [e.unref(b).length > 0 ? (e.openBlock(), e.createElementBlock("span", h, [e.createTextVNode(e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("workgroupTree.selectResultInfo", { num: e.unref(b).length })) + " ", 1), e.createElementVNode("span", v, [e.createVNode(r2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowUpBold))]), _: 1 })])])) : e.createCommentVNode("", true)])) : e.unref(b).length > 0 ? (e.openBlock(), e.createElementBlock("span", g, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(e.unref(b)[0].name), 1)) : e.createCommentVNode("", true)]), e.createElementVNode("div", k, [e.createVNode(U2, { size: "large", type: "primary", onClick: j }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(l2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 })])])]), _: 1 }), e.createVNode(o, { ref_key: "deptResultRef", ref: S, selectDepts: e.unref(b), onRemoveDept: P }, null, 8, ["selectDepts"])]);
95
+ const a2 = e.resolveComponent("el-checkbox"), r2 = e.resolveComponent("el-icon"), s2 = e.resolveComponent("el-input"), C2 = e.resolveComponent("el-col"), w2 = e.resolveComponent("el-row"), V2 = e.resolveComponent("el-card"), x2 = e.resolveComponent("el-breadcrumb-item"), I2 = e.resolveComponent("el-breadcrumb"), D2 = e.resolveComponent("el-empty"), O2 = e.resolveComponent("el-tree"), $2 = e.resolveComponent("el-button");
96
+ return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(V2, { class: "card-content", style: { height: "50px" } }, { default: e.withCtx(() => [e.createVNode(w2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(C2, { style: { width: "100%" } }, { default: e.withCtx(() => [e.createElementVNode("div", u, [e.createElementVNode("div", i, [y2.multiple ? (e.openBlock(), e.createBlock(a2, { key: 0, modelValue: e.unref(T), "onUpdate:modelValue": n2[0] || (n2[0] = (t2) => e.isRef(T) ? T.value = t2 : T = t2), label: l2.$t("departmentTreeInline.allCheck"), value: "all", onChange: K }, null, 8, ["modelValue", "label"])) : e.createCommentVNode("", true)]), e.createElementVNode("div", d, [e.createVNode(s2, { modelValue: e.unref(R).searchValue, "onUpdate:modelValue": n2[1] || (n2[1] = (t2) => e.unref(R).searchValue = t2), placeholder: l2.$t("departmentTreeInline.pleaseInputNameOrCode"), onClear: z, onKeyup: e.withKeys(z, ["enter"]), onBlur: z, clearable: "" }, { suffix: e.withCtx(() => [e.createVNode(r2, { onClick: z }, { default: e.withCtx(() => [e.createVNode(e.unref(t.Search))]), _: 1 })]), _: 1 }, 8, ["modelValue", "placeholder"])])])]), _: 1 })]), _: 1 })]), _: 1 }), e.unref(E) ? (e.openBlock(), e.createBlock(V2, { key: 0, class: "card-content", style: { height: "40px" } }, { default: e.withCtx(() => [e.createVNode(w2, { class: "item-row item-row-all" }, { default: e.withCtx(() => [e.createVNode(C2, { class: "item-label dept-path" }, { default: e.withCtx(() => [e.createVNode(I2, { separator: "/" }, { default: e.withCtx(() => [e.createVNode(x2, null, { default: e.withCtx(() => [e.createElementVNode("span", null, e.toDisplayString(e.unref(E)), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })) : e.createCommentVNode("", true), e.createVNode(V2, { class: "card-content org-tree", style: { overflow: "auto" } }, { default: e.withCtx(() => [e.unref(b).length ? (e.openBlock(), e.createBlock(O2, { key: 1, ref_key: "orgTreeRef", ref: N, data: e.unref(b), "show-checkbox": y2.multiple, "node-key": "nodeId", "check-on-click-node": "", "default-checked-keys": e.unref(S), onCheckChange: q, onNodeClick: U }, { default: e.withCtx(({ node: t2, data: l3 }) => [e.createElementVNode("div", p, [e.createElementVNode("div", m, e.toDisplayString(l3.name), 1)])]), _: 1 }, 8, ["data", "show-checkbox", "default-checked-keys"])) : (e.openBlock(), e.createBlock(D2, { key: 0, image: e.unref(c) }, null, 8, ["image"]))]), _: 1 }), e.createVNode(V2, { class: "card-footer" }, { default: e.withCtx(() => [e.createElementVNode("div", f, [e.createElementVNode("div", { class: "select-result", onClick: P }, [y2.multiple ? (e.openBlock(), e.createElementBlock("span", { key: 0, onClick: P }, [e.unref(B).length > 0 ? (e.openBlock(), e.createElementBlock("span", h, [e.createTextVNode(e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(l2.$t("workgroupTree.selectResultInfo", { num: e.unref(B).length })) + " ", 1), e.createElementVNode("span", v, [e.createVNode(r2, null, { default: e.withCtx(() => [e.createVNode(e.unref(t.ArrowUpBold))]), _: 1 })])])) : e.createCommentVNode("", true)])) : e.unref(B).length > 0 ? (e.openBlock(), e.createElementBlock("span", g, e.toDisplayString(l2.$t("departmentTreeInline.selectResultInfoHasSelect")) + e.toDisplayString(e.unref(B)[0].name), 1)) : e.createCommentVNode("", true)]), e.createElementVNode("div", k, [e.createVNode($2, { size: "large", type: "primary", onClick: J }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(l2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 })])])]), _: 1 }), e.createVNode(o, { ref_key: "deptResultRef", ref: _, selectDepts: e.unref(B), onRemoveDept: j }, null, 8, ["selectDepts"])]);
97
97
  };
98
98
  } });
99
99
  module.exports = y;
@@ -155,9 +155,9 @@ const a = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { data: (
155
155
  let s2 = t2.name;
156
156
  t2.enName && "" !== t2.enName && (s2 = s2 + "(" + t2.enName + ")"), t2.tenantCode = this.tenantInfo.code, t2.tenantName = this.tenantInfo.tenantName, e2.containBranch = this.containBranch, e2.users.push(t2), e2.userIds.push(t2.id), e2.loginNames.push(t2.loginName), e2.userNames.push(s2), e2.emails.push(t2.email), e2.telephones.push(t2.telephone);
157
157
  }
158
- }, filterUserId: (e2) => (t2) => t2 === e2.id, filterUserNode: (e2) => (t2) => t2.substring(t2.lastIndexOf("~") + 1) === e2.id + "" }, emits: ["result"] }, h = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, d = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = i.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), m = { style: { "text-align": "left", "font-size": "16px" } }, g = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
159
- const f = a(c, [["render", function(e2, t2, s2, r2, o2, l2) {
160
- const n2 = i.resolveComponent("el-button"), a2 = i.resolveComponent("el-autocomplete"), c2 = i.resolveComponent("el-header"), f2 = i.resolveComponent("Menu"), k = i.resolveComponent("Calendar"), N = i.resolveComponent("el-icon"), U = i.resolveComponent("el-tree"), C = i.resolveComponent("EmptyState"), w = i.resolveComponent("workgroup-user-result"), S = i.resolveComponent("el-main"), y = i.resolveComponent("el-container"), I = i.resolveComponent("el-aside");
161
- return i.openBlock(), i.createElementBlock("div", null, [i.createVNode(y, { style: { height: "395px" } }, { default: i.withCtx(() => [i.createVNode(I, { width: "430px" }, { default: i.withCtx(() => [i.createVNode(y, { style: { height: "390px" } }, { default: i.withCtx(() => [i.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: i.withCtx(() => [i.createVNode(a2, { modelValue: o2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", size: "default", onSelect: l2.handleSelect, onKeyup: i.withKeys(l2.clickSearch, ["enter"]) }, { append: i.withCtx(() => [i.createVNode(n2, { icon: o2.ElIconSearch, onClick: l2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), i.createVNode(S, { style: { padding: "10px" } }, { default: i.withCtx(() => [o2.searchValue ? i.createCommentVNode("", true) : (i.openBlock(), i.createElementBlock(i.Fragment, { key: 0 }, [o2.canShowOrgTree ? (i.openBlock(), i.createElementBlock("div", h, [i.createVNode(U, { ref: "workgroupUserTree", "filter-node-method": l2.filterNode, load: e2.loadNode, props: o2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "nodeId", onCheck: l2.handleCheckNode, onNodeClick: l2.handleNodeClick }, { default: i.withCtx(({ node: e3, data: t3 }) => [i.createElementVNode("span", null, [i.createVNode(N, null, { default: i.withCtx(() => [-1 === e3.data.id ? (i.openBlock(), i.createBlock(f2, { key: 0 })) : (i.openBlock(), i.createBlock(k, { key: 1 }))]), _: 2 }, 1024), i.createElementVNode("span", { class: i.normalizeClass(t3.nodeType && "USER" === t3.nodeType && o2.searchValue && l2.filterUserVal(t3, o2.searchValue) ? "searchResult" : ""), title: e3.label }, i.toDisplayString(e3.label), 11, d)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (i.openBlock(), i.createBlock(C, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), o2.searchValue && o2.searchValue.length > 0 ? (i.openBlock(), i.createElementBlock("div", u, [i.createVNode(w, { ref: "workgroupUserResult", "grid-data": o2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": o2.selectResult, onAddWorkgroupUser: l2.addWorkgroupUser, onResultRowDblclick: l2.resultRowDblclick, onSelectResult: l2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])) : i.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (i.openBlock(), i.createBlock(y, { key: 0 }, { default: i.withCtx(() => [i.createVNode(I, { width: "2px" }, { default: i.withCtx(() => [p]), _: 1 }), i.createVNode(S, { style: { padding: "10px" } }, { default: i.withCtx(() => [i.createElementVNode("div", m, i.toDisplayString(e2.$t("departmentUserTree.selectedPeople")) + "::", 1), i.createElementVNode("div", g, [i.createVNode(w, { "grid-data": o2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroupUser: l2.removeWorkgroupUser, onResultRowDblclick: l2.resultRowDblclick, onSelectResult: l2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : i.createCommentVNode("", true)]), _: 1 })]);
158
+ }, filterUserId: (e2) => (t2) => t2 === e2.id, filterUserNode: (e2) => (t2) => t2.substring(t2.lastIndexOf("~") + 1) === e2.id + "" }, emits: ["result"] }, h = { key: 0, style: { "padding-top": "5px", overflow: "auto", width: "auto", display: "inline-block !important" } }, d = ["title"], u = { key: 1, style: { height: "100%", overflow: "hidden" } }, p = { style: { "text-align": "left", "font-size": "16px" } }, m = { style: "padding-top: 5px;height:90%;overflow: hidden;" };
159
+ const g = a(c, [["render", function(e2, t2, s2, r2, o2, l2) {
160
+ const n2 = i.resolveComponent("el-button"), a2 = i.resolveComponent("el-autocomplete"), c2 = i.resolveComponent("el-header"), g2 = i.resolveComponent("Menu"), f = i.resolveComponent("Calendar"), k = i.resolveComponent("el-icon"), N = i.resolveComponent("el-tree"), U = i.resolveComponent("EmptyState"), C = i.resolveComponent("workgroup-user-result"), w = i.resolveComponent("el-main"), S = i.resolveComponent("el-container"), y = i.resolveComponent("el-aside");
161
+ return i.openBlock(), i.createElementBlock("div", null, [i.createVNode(S, { style: { height: "395px" } }, { default: i.withCtx(() => [i.createVNode(y, { width: "430px" }, { default: i.withCtx(() => [i.createVNode(S, { style: { height: "390px" } }, { default: i.withCtx(() => [i.createVNode(c2, { style: { "text-align": "right", "font-size": "12px", height: "35px" } }, { default: i.withCtx(() => [i.createVNode(a2, { modelValue: o2.filterText, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.filterText = e3), "fetch-suggestions": e2.querySearch, placeholder: e2.$t("departmentUserTree.pleaseEnterUserInformation"), "trigger-on-focus": false, class: "inline-input inline-input-custom", "select-when-unmatched": "", size: "default", onSelect: l2.handleSelect, onKeyup: i.withKeys(l2.clickSearch, ["enter"]) }, { append: i.withCtx(() => [i.createVNode(n2, { icon: o2.ElIconSearch, onClick: l2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"])]), _: 1 }), i.createVNode(w, { style: { padding: "10px" } }, { default: i.withCtx(() => [o2.searchValue ? i.createCommentVNode("", true) : (i.openBlock(), i.createElementBlock(i.Fragment, { key: 0 }, [o2.canShowOrgTree ? (i.openBlock(), i.createElementBlock("div", h, [i.createVNode(N, { ref: "workgroupUserTree", "filter-node-method": l2.filterNode, load: e2.loadNode, props: o2.defaultProps, "show-checkbox": s2.multiple, lazy: "", "node-key": "nodeId", onCheck: l2.handleCheckNode, onNodeClick: l2.handleNodeClick }, { default: i.withCtx(({ node: e3, data: t3 }) => [i.createElementVNode("span", null, [i.createVNode(k, null, { default: i.withCtx(() => [-1 === e3.data.id ? (i.openBlock(), i.createBlock(g2, { key: 0 })) : (i.openBlock(), i.createBlock(f, { key: 1 }))]), _: 2 }, 1024), i.createElementVNode("span", { class: i.normalizeClass(t3.nodeType && "USER" === t3.nodeType && o2.searchValue && l2.filterUserVal(t3, o2.searchValue) ? "searchResult" : ""), title: e3.label }, i.toDisplayString(e3.label), 11, d)])]), _: 1 }, 8, ["filter-node-method", "load", "props", "show-checkbox", "onCheck", "onNodeClick"])])) : (i.openBlock(), i.createBlock(U, { key: 1, style: { width: "100%", height: "100%" } }))], 64)), o2.searchValue && o2.searchValue.length > 0 ? (i.openBlock(), i.createElementBlock("div", u, [i.createVNode(C, { ref: "workgroupUserResult", "grid-data": o2.searchResult, height: e2.height, "is-search-result": true, multiple: s2.multiple, "select-result": o2.selectResult, onAddWorkgroupUser: l2.addWorkgroupUser, onResultRowDblclick: l2.resultRowDblclick, onSelectResult: l2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "select-result", "onAddWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])) : i.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 }), s2.multiple ? (i.openBlock(), i.createBlock(S, { key: 0 }, { default: i.withCtx(() => [i.createVNode(y, { width: "2px" }, { default: i.withCtx(() => [...t2[1] || (t2[1] = [i.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 }), i.createVNode(w, { style: { padding: "10px" } }, { default: i.withCtx(() => [i.createElementVNode("div", p, i.toDisplayString(e2.$t("departmentUserTree.selectedPeople")) + "::", 1), i.createElementVNode("div", m, [i.createVNode(C, { "grid-data": o2.selectResult, height: e2.height, "is-search-result": false, multiple: s2.multiple, onRemoveWorkgroupUser: l2.removeWorkgroupUser, onResultRowDblclick: l2.resultRowDblclick, onSelectResult: l2.getSelectWorkgroupUser }, null, 8, ["grid-data", "height", "multiple", "onRemoveWorkgroupUser", "onResultRowDblclick", "onSelectResult"])])]), _: 1 })]), _: 1 })) : i.createCommentVNode("", true)]), _: 1 })]);
162
162
  }]]);
163
- module.exports = f;
163
+ module.exports = g;
@@ -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,12 +1,13 @@
1
1
  "use strict";
2
- const e = require("vue"), o = require("./workgroup-user-tree-inline-app.vue.cjs"), r = { style: { "text-align": "center" } }, t = e.defineComponent({ name: "DepartmentUserTreeMobile", props: { multiple: {}, branchInfo: {}, selectUserInfo: {}, searchField: {}, separator: {} }, emits: ["close"], setup(t2, { emit: l }) {
3
- let n = e.ref(true);
4
- function s(e2) {
5
- l("close", e2), n.value = false;
2
+ const e = require("vue"), o = require("./workgroup-user-tree-inline-app.vue.cjs"), t = { style: { "text-align": "center" } }, r = e.defineComponent({ name: "DepartmentUserTreeMobile", props: { multiple: {}, branchInfo: {}, selectUserInfo: {}, searchField: {}, separator: {} }, emits: ["close"], setup(r2, { emit: l }) {
3
+ const n = l;
4
+ let s = e.ref(true);
5
+ function a(e2) {
6
+ n("close", e2), s.value = false;
6
7
  }
7
- return (t3, l2) => {
8
- const a = e.resolveComponent("el-drawer");
9
- return e.openBlock(), e.createBlock(a, { modelValue: e.unref(n), "onUpdate:modelValue": l2[0] || (l2[0] = (o2) => e.isRef(n) ? n.value = o2 : n = o2), "append-to-body": "", "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", class: "organization-tree", onClose: l2[1] || (l2[1] = (e2) => s()) }, { header: e.withCtx(() => [e.createElementVNode("div", r, e.toDisplayString(t3.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(n) ? (e.openBlock(), e.createBlock(o, { key: 0, multiple: t3.multiple, branchInfo: t3.branchInfo, selectUserInfo: t3.selectUserInfo, searchField: t3.searchField, separator: t3.separator, onClose: s }, null, 8, ["multiple", "branchInfo", "selectUserInfo", "searchField", "separator"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
8
+ return (l2, n2) => {
9
+ const c = e.resolveComponent("el-drawer");
10
+ return e.openBlock(), e.createBlock(c, { modelValue: e.unref(s), "onUpdate:modelValue": n2[0] || (n2[0] = (o2) => e.isRef(s) ? s.value = o2 : s = o2), "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) => a()) }, { header: e.withCtx(() => [e.createElementVNode("div", t, e.toDisplayString(l2.$t("imatrixUIMessage.pleaseSelect")), 1)]), default: e.withCtx(() => [e.unref(s) ? (e.openBlock(), e.createBlock(o, { key: 0, multiple: r2.multiple, branchInfo: r2.branchInfo, selectUserInfo: r2.selectUserInfo, searchField: r2.searchField, separator: r2.separator, onClose: a }, null, 8, ["multiple", "branchInfo", "selectUserInfo", "searchField", "separator"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
10
11
  };
11
12
  } });
12
- module.exports = t;
13
+ module.exports = r;