iking-web-ui-pro 0.2.52 → 0.2.53

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 (197) hide show
  1. package/dist/IKExpandCollapse/ik.index.es.js +3 -3
  2. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  3. package/dist/IKExpandCollapse/style.css +1 -1
  4. package/dist/IKHorizontalStepBar/ik.index.es.js +93 -93
  5. package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
  6. package/dist/IKPreviewFile/ik.index.es.js +2098 -2017
  7. package/dist/IKPreviewFile/ik.index.umd.js +49 -49
  8. package/dist/IKPreviewFile/style.css +1 -1
  9. package/dist/IKSearch/ik.index.es.js +1035 -1035
  10. package/dist/IKSearch/ik.index.umd.js +2 -2
  11. package/dist/IKVerticalStepBar/ik.index.es.js +3 -3
  12. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  13. package/dist/IKVerticalStepBar/style.css +1 -1
  14. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +853 -853
  15. package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
  16. package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
  17. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +2794 -2713
  18. package/dist/IkApprovalProcessDetail/ik.index.umd.js +226 -0
  19. package/dist/IkApprovalProcessDetail/style.css +1 -0
  20. package/dist/IkBaseDialog/ik.index.es.js +4 -4
  21. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  22. package/dist/IkBaseDialog/style.css +1 -1
  23. package/dist/IkBottomOperate/ik.index.es.js +60 -60
  24. package/dist/IkBottomOperate/ik.index.umd.js +1 -1
  25. package/dist/IkBottomOperate/style.css +1 -1
  26. package/dist/IkBtnContent/style.css +1 -1
  27. package/dist/IkBtnSetting/ik.index.es.js +111 -111
  28. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  29. package/dist/IkBtnSetting/style.css +1 -1
  30. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +2372 -2355
  31. package/dist/IkCalendar/ik.index.umd.js +1 -0
  32. package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
  33. package/dist/IkCollapseCard/ik.index.es.js +4 -4
  34. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  35. package/dist/IkCollapseCard/style.css +1 -1
  36. package/dist/IkDescription/ik.index.es.js +2016 -1935
  37. package/dist/IkDescription/ik.index.umd.js +49 -49
  38. package/dist/IkDescription/style.css +1 -1
  39. package/dist/IkDetailPreviewFiles/ik.index.es.js +2317 -2236
  40. package/dist/IkDetailPreviewFiles/ik.index.umd.js +50 -50
  41. package/dist/IkDetailPreviewFiles/style.css +1 -1
  42. package/dist/IkFileIcon/ik.index.es.js +394 -394
  43. package/dist/IkFileIcon/ik.index.umd.js +1 -1
  44. package/dist/IkFullCalendar/ik.index.es.js +601 -584
  45. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  46. package/dist/IkIconPicker/ik.index.es.js +3 -3
  47. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  48. package/dist/IkIconPicker/style.css +1 -1
  49. package/dist/IkMonacoEditor/ik.index.es.js +30 -30
  50. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  51. package/dist/IkMonacoEditor/style.css +1 -1
  52. package/dist/IkPageFull/ik.index.es.js +1467 -1467
  53. package/dist/IkPageFull/ik.index.umd.js +3 -3
  54. package/dist/IkPageFull/style.css +1 -1
  55. package/dist/IkPickerUser/ik.index.es.js +839 -839
  56. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  57. package/dist/IkPlayer/ik.index.es.js +1062 -981
  58. package/dist/IkPlayer/ik.index.umd.js +52 -52
  59. package/dist/IkPreviewFileDialog/ik.index.es.js +791 -710
  60. package/dist/IkPreviewFileDialog/ik.index.umd.js +50 -50
  61. package/dist/IkPreviewFileDialog/style.css +1 -1
  62. package/dist/IkRadioGroup/ik.index.es.js +5 -5
  63. package/dist/IkRadioGroup/ik.index.umd.js +1 -1
  64. package/dist/IkRadioGroup/style.css +1 -1
  65. package/dist/IkSchedule/ik.index.es.js +1553 -1536
  66. package/dist/IkSchedule/ik.index.umd.js +1 -1
  67. package/dist/IkSchedule/style.css +1 -1
  68. package/dist/IkSideText/ik.index.es.js +29 -29
  69. package/dist/IkSideText/ik.index.umd.js +1 -1
  70. package/dist/IkSideText/style.css +1 -1
  71. package/dist/IkSvgIcon/ik.index.es.js +9 -9
  72. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  73. package/dist/IkSvgIcon/style.css +1 -1
  74. package/dist/IkTemplateOfficeConfig/ik.index.es.js +108 -108
  75. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  76. package/dist/IkTinymce/ik.index.es.js +26332 -26791
  77. package/dist/IkTinymce/ik.index.umd.js +61 -61
  78. package/dist/IkUploadFile/ik.index.es.js +1341 -1260
  79. package/dist/IkUploadFile/ik.index.umd.js +50 -50
  80. package/dist/IkUploadFile/style.css +1 -1
  81. package/dist/IkUploadImage/ik.index.es.js +278 -278
  82. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  83. package/dist/IkUploadImage/style.css +1 -1
  84. package/dist/index.es.js +37603 -37964
  85. package/dist/index.umd.js +133 -133
  86. package/dist/src/components/IKExpandCollapse/index.d.ts +5 -5
  87. package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +5 -5
  88. package/dist/src/components/IKHorizontalStepBar/index.d.ts +30 -90
  89. package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +7 -7
  90. package/dist/src/components/IKPreviewFile/index.d.ts +13 -101
  91. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +7 -7
  92. package/dist/src/components/IKSearch/index.d.ts +24 -84
  93. package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +10 -10
  94. package/dist/src/components/IKSearch/src/IkSearchAuto.d.ts +5 -5
  95. package/dist/src/components/IKSearchHead/index.d.ts +5 -5
  96. package/dist/src/components/IKSearchHead/src/IKSearchHead.vue.d.ts +5 -5
  97. package/dist/src/components/IKVerticalStepBar/index.d.ts +5 -5
  98. package/dist/src/components/IKVerticalStepBar/src/IKVerticalStepBar.vue.d.ts +5 -5
  99. package/dist/src/components/IkApprovalProcess/index.d.ts +7 -7
  100. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +7 -7
  101. package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
  102. package/dist/src/components/IkApprovalProcessDetail/src/IKApprovalProcessDetail.vue.d.ts +5 -5
  103. package/dist/src/components/IkAutoCard/index.d.ts +6 -12
  104. package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
  105. package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
  106. package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
  107. package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
  108. package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
  109. package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
  110. package/dist/src/components/IkBtnContent/index.d.ts +7 -5
  111. package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
  112. package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
  113. package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
  114. package/dist/src/components/IkCalendar/index.d.ts +5 -5
  115. package/dist/src/components/IkCalendar/src/IKCalendar.vue.d.ts +5 -5
  116. package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
  117. package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
  118. package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
  119. package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
  120. package/dist/src/components/IkDescription/index.d.ts +6 -39
  121. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
  122. package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
  123. package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
  124. package/dist/src/components/IkDragList/index.d.ts +13 -130
  125. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
  126. package/dist/src/components/IkEmpty/index.d.ts +6 -19
  127. package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
  128. package/dist/src/components/IkFileIcon/index.d.ts +4 -4
  129. package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
  130. package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
  131. package/dist/src/components/IkIconPicker/index.d.ts +4 -4
  132. package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
  133. package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
  134. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
  135. package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
  136. package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
  137. package/dist/src/components/IkPageFull/index.d.ts +54 -143
  138. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
  139. package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
  140. package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
  141. package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
  142. package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
  143. package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
  144. package/dist/src/components/IkPageTabs/index.d.ts +13 -38
  145. package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
  146. package/dist/src/components/IkPickerUser/index.d.ts +10 -10
  147. package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
  148. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +6 -6
  149. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +6 -6
  150. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +6 -6
  151. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +10 -10
  152. package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
  153. package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
  154. package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
  155. package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
  156. package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
  157. package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
  158. package/dist/src/components/IkPlayer/index.d.ts +10 -26
  159. package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
  160. package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
  161. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
  162. package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
  163. package/dist/src/components/IkPrintView/index.d.ts +5 -5
  164. package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
  165. package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
  166. package/dist/src/components/IkSchedule/index.d.ts +17 -48
  167. package/dist/src/components/IkSelectTag/index.d.ts +10 -25
  168. package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
  169. package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
  170. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
  171. package/dist/src/components/IkSideText/index.d.ts +4 -4
  172. package/dist/src/components/IkStatu/index.d.ts +5 -5
  173. package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
  174. package/dist/src/components/IkStatuOver/index.d.ts +5 -5
  175. package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
  176. package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
  177. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
  178. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
  179. package/dist/src/components/IkTinymce/index.d.ts +5 -5
  180. package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
  181. package/dist/src/components/IkTooltip/index.d.ts +6 -19
  182. package/dist/src/components/IkTooltip/src/index.vue.d.ts +4 -4
  183. package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
  184. package/dist/src/components/IkTree/index.d.ts +2630 -611
  185. package/dist/src/components/IkUploadFile/index.d.ts +14 -135
  186. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
  187. package/dist/src/components/IkUploadImage/index.d.ts +10 -79
  188. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
  189. package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
  190. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
  191. package/dist/src/components/Provider/index.d.ts +6 -27
  192. package/dist/style.css +1 -1
  193. package/package.json +1 -1
  194. package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
  195. package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -226
  196. package/dist/IKApprovalProcessDetail/style.css +0 -1
  197. package/dist/IKCalendar/ik.index.umd.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iking-web-ui-pro",
3
- "version": "0.2.52",
3
+ "version": "0.2.53",
4
4
  "description": "iking-web-ui-pro",
5
5
  "keywords": [
6
6
  "iking-web-ui-pro",
@@ -1 +0,0 @@
1
- (function(I,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","element-plus","axios"],e):(I=typeof globalThis<"u"?globalThis:I||self,e(I.index={},I.vue,I["iking-utils-pro"],I["element-plus"],I.axios))})(this,function(I,e,C,O,ue){"use strict";const ne=(n,h)=>{if(n.install=t=>{for(const l of[n,...Object.values(h??{})])t.component(l.name,l)},h)for(const[t,l]of Object.entries(h))n[t]=l;return n},U=(n,h)=>{const t=n.__vccOpts||n;for(const[l,x]of h)t[l]=x;return t},ke=(n,h)=>h?h.startsWith("http")?h:`${n||location.origin}${h}`:"",ge=n=>({nodeType:{发起人节点:"INITIATOR",审批节点:"APPROVE",抄送节点:"CARBON_COPY",办理节点:"DISPOSE",分支节点:"BRANCH",条件节点:"CONDITION",结束节点:"END",并行分支:"PARALLEL",子流程:"SUB_PROCESS",...n.defaultNodeType},defaultFile:{id:"id",parallelInstances:"parallelInstances",backToInstanceNodeName:"backToInstanceNodeName",backToRecordNodeName:"backToRecordNodeName",nodeId:"sortOrder",nodeType:"type",nodeTypeName:"name",approveStatus:"status",approveStatusName:"statusName",approveType:"approveType",multiExecutorType:"multiExecutorType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approvalCategory:"approvalCategory",isShowAdd:"initiatorSpecify",isShowAddCopy:"initiatorSpecifyCarbonCopy",executorEmpty:"executorEmpty",executorEmptyStrategy:"executorEmptyStrategy",reserveExecutorUsers:"reserveExecutorUsers",approvePersonList:"executorUsers",initiatorSpecifiedScope:"initiatorSpecifiedScope",initiatorSpecifiedScopeType:"initiatorSpecifiedScopeType",singleApproval:"singleApproval",originator:"username",...n.defaultFieldMap},statusWithoutApprover:{自动通过:"AUTO_PASS",自动拒绝:"AUTO_REJECT",自动转交管理员:"TRANSMIT_TO_MANAGER",指定人员审批:"SPECIFIED_USER",...n.statusWithoutApprover},multiple:!1,chooseType:[],statusOption:{发起:"INITIATE",等待:"WAIT",同意:"PASS",撤销:"REVOKE",拒绝:"REJECT",转交:"TRANSFER",加签:"APPEND",退回:"BACK",评论:"COMMENT",待执行:"WAITING",执行中:"RUNNING",...n.defaultStatus},listData:[]}),xe=(n,h,t)=>{let l="";switch(h){case n.nodeType.审批节点:t&&t.length==1?l="ikapprove-ziyuan":l="ikapprove-shenpi";break;case n.nodeType.办理节点:l="ikapprove-bianji";break;case n.nodeType.抄送节点:l="ikapprove-chaosong";break;case n.nodeType.并行分支:l="ikapprove-fenzhi";break;case n.nodeType.子流程:l="ikapprove-ziliucheng1";break;default:l="ikapprove-ziyuan"}return`ikapprove ${l}`},se=["csv","djvu","doc","docm","docx","docxf","dot","dotm","dotx","epub","fb2","fodp","fods","fodt","htm","html","mht","odp","ods","odt","oform","otp","ots","ott","oxps","pdf","pot","potm","potx","pps","ppsm","ppsx","ppt","pptm","pptx","rtf","txt","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xml","xps","png","jpeg","jpg","webp","video","mp4","flv","tls"],re=n=>{const h=e.inject("loadUrl"),t=e.computed(()=>n.loadUrl||n.fileUrl||(h==null?void 0:h.value)),l=e.inject("uploadUrl"),x=e.computed(()=>n.action||n.uploadUrl||(l==null?void 0:l.value)),k=e.inject("token"),_=e.computed(()=>n.token||(k==null?void 0:k.value)),E=e.inject("onlyofficeConfig"),c=e.computed(()=>n.onlyofficeConfig||(E==null?void 0:E.value)),T=e.inject("userInfo"),N=e.computed(()=>n.userInfo||(T==null?void 0:T.value)),L=[...se,...se.map(A=>A.toLocaleUpperCase())];return{cLoadUrl:t,cUploadUrl:x,cToken:_,cOnlyofficeConfig:c,cUserInfo:N,cOnlyofficePreviewType:L}},Be={},_e={t:"1672194715727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1","p-id":"2667"},Ee=[e.createElementVNode("path",{d:"M809.246403 771.926938 777.737782 803.458071 924.965961 950.667831 956.476629 919.157163Z",fill:"#5D5D5D","p-id":"2668"},null,-1),e.createElementVNode("path",{d:"M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",fill:"#5D5D5D","p-id":"2669"},null,-1)];function Oe(n,h){return e.openBlock(),e.createElementBlock("svg",_e,Ee)}const Ve=U(Be,[["render",Oe]]),Ne={},Te={t:"1710907270798",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8420",width:"200",height:"200"},Ce=[e.createElementVNode("path",{d:"M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",fill:"var(--ik-color-icon-dark)","p-id":"8421"},null,-1),e.createElementVNode("path",{d:"M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",fill:"#FFFFFF","p-id":"8422"},null,-1)];function Le(n,h){return e.openBlock(),e.createElementBlock("svg",Te,Ce)}const Pe=U(Ne,[["render",Le]]),Se={},we={t:"1710904463698",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7124",width:"200",height:"200"},be=[e.createElementVNode("path",{d:"M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",fill:"var(--ik-color-icon-light-hover)","p-id":"7125"},null,-1),e.createElementVNode("path",{d:"M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",fill:"var(--ik-color-tag-primary)","p-id":"7126"},null,-1)];function Ie(n,h){return e.openBlock(),e.createElementBlock("svg",we,be)}const Ue=U(Se,[["render",Ie]]),De={},Fe={t:"1710904436436",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6989",width:"200",height:"200"},Re=[e.createElementVNode("path",{d:"M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",fill:"var(--ik-color-tag-primary)","p-id":"6990"},null,-1),e.createElementVNode("path",{d:"M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",fill:"var(--ik-color-icon-light-hover)","p-id":"6991"},null,-1)];function $e(n,h){return e.openBlock(),e.createElementBlock("svg",Fe,Re)}const Me=U(De,[["render",$e]]),je={},We={t:"1710904287393",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6854",width:"200",height:"200"},Ge=[e.createElementVNode("path",{d:"M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",fill:"var(--ik-color-icon-light-hover)","p-id":"6855"},null,-1),e.createElementVNode("path",{d:"M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",fill:"var(--ik-color-tag-primary)","p-id":"6856"},null,-1)];function He(n,h){return e.openBlock(),e.createElementBlock("svg",We,Ge)}const ze=U(je,[["render",He]]),Qe={class:"avatar"},Xe={key:3,class:"user_box"},qe={key:1,class:"avatar_name"},Ke=e.defineComponent({__name:"Avatar",props:{fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},element:{type:Object,default:()=>{}},imageBaseUrl:{type:String,default:""}},setup(n){const h=n,{cLoadUrl:t}=re(h),l=x=>ke(t.value,x);return(x,k)=>{const _=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock("div",Qe,[h.fixTypeOpt.group===n.element[h.fixPropOpt.type]?(e.openBlock(),e.createBlock(ze,{key:0})):h.fixTypeOpt.role===n.element[h.fixPropOpt.type]?(e.openBlock(),e.createBlock(Ue,{key:1})):h.fixTypeOpt.post===n.element[h.fixPropOpt.type]?(e.openBlock(),e.createBlock(Me,{key:2})):h.fixTypeOpt.user===n.element[h.fixPropOpt.type]?(e.openBlock(),e.createElementBlock("div",Xe,[n.element[n.fixPropOpt.avatar]?(e.openBlock(),e.createBlock(_,{key:0,shape:"square",src:l(n.fixPropOpt.avatar?n.element[n.fixPropOpt.avatar]:"")},null,8,["src"])):(e.openBlock(),e.createElementBlock("div",qe,e.toDisplayString(n.element[n.fixPropOpt.name].slice(-2)),1))])):e.createCommentVNode("v-if",!0)])}}}),_l="",P=U(Ke,[["__scopeId","data-v-8031ce9b"]]),q="data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAA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NGCTQRj2YmxoT259SWlnA1dtgjuRe2cZOmxqn+mvuyGdvAd9XjPSV4VVEAnROrjCwrgbhyKFpb8s12Za8/F4cSrPOSuadvlSXDEdhrb27ok+DnCnJqOg8Kj9Gqlca2xL+KvTh1u+NuUBnWJWF2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA",K={list:{type:Array,default:()=>[]},handList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},height:{type:String,default:"404px"},imageBaseUrl:{type:String,default:""},emptyText:{type:String,default:"暂无数据"},children:{type:Boolean,default:!0},chooseType:{type:Array,default:()=>["dep"]}},Z=n=>(e.pushScopeId("data-v-8c34a55d"),n=n(),e.popScopeId(),n),Ze={class:"left-pick-list"},Ye={key:1,class:"post-view-list"},Je={class:"checkText"},ve={class:"iconBox"},et={class:"name_number"},tt={class:"title"},ot={key:0,class:"userCount"},lt={key:1,class:"checkText"},at=Z(()=>e.createElementVNode("div",{class:"side"},null,-1)),nt={class:"iconBox"},st={class:"name_number"},rt={class:"title"},ct={key:0,class:"userCount"},it=["onClick"],pt={class:"checkText"},dt={class:"iconBox"},ft={class:"name_number"},mt={class:"title"},ht={key:0,class:"userCount"},At={key:1,class:"checkText"},yt=Z(()=>e.createElementVNode("div",{class:"side"},null,-1)),ut={class:"iconBox"},kt={class:"name_number"},gt={class:"title"},xt={key:0,class:"userCount"},Bt=["onClick"],_t={key:2,class:"empty"},Et=Z(()=>e.createElementVNode("img",{src:q,alt:""},null,-1)),Ot=e.defineComponent({__name:"GroupList",props:K,emits:["change","check","handChild"],setup(n,{emit:h}){var A,s;const t=n,l=e.computed(()=>{var m,o;return((m=t.handList)==null?void 0:m.length)===((o=t.list)==null?void 0:o.length)}),x=e.computed(()=>{var r,f,i,V;const m=(r=t.handList)==null?void 0:r.length,o=(f=t.list)==null?void 0:f.length;return t.multiple?k.value=t.handList.map(p=>p[t.fixPropOpt.id]):_.value=(V=(i=t.handList)==null?void 0:i[0])==null?void 0:V[t.fixPropOpt.id],m>0&&m<o}),k=e.ref(t.handList.map(m=>m[t.fixPropOpt.id])),_=e.ref((s=(A=t.handList)==null?void 0:A[0])==null?void 0:s[t.fixPropOpt.id]),E=h,c=m=>{const o=m?t.list.map(r=>{if(t.chooseType.includes(r[t.fixPropOpt.type].toLowerCase())&&r.available!==!1)return r[t.fixPropOpt.id]}):[];E("change",o,m?t.list:[])},T=m=>{E("change",m,t.list)},N=m=>{E("change",m,t.list)},L=(m,o)=>{o||E("handChild",m)};return(m,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",Ze,[m.multiple&&m.list&&m.list.length?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value=r),indeterminate:x.value,onChange:c},{default:e.withCtx(()=>[e.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),m.list&&m.list.length?(e.openBlock(),e.createElementBlock("ul",Ye,[m.multiple?(e.openBlock(),e.createBlock(e.unref(O.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":o[1]||(o[1]=r=>k.value=r),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.list,r=>{var f;return e.openBlock(),e.createElementBlock("li",{key:r[t.fixPropOpt.id]},[m.chooseType.includes(r[t.fixPropOpt.type].toLowerCase())&&r.available!==!1?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,label:r[t.fixPropOpt.id],disabled:r.available===!1},{default:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createElementVNode("div",ve,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:r,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",et,[e.createElementVNode("div",tt,e.toDisplayString(r[t.fixPropOpt.name]),1),r[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",ot," ("+e.toDisplayString(r.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])]),_:2},1032,["label","disabled"])):(e.openBlock(),e.createElementBlock("div",lt,[at,e.createElementVNode("div",nt,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:r,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",st,[e.createElementVNode("div",rt,e.toDisplayString(r[t.fixPropOpt.name]),1),r[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",ct," ("+e.toDisplayString(r.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])),r[t.fixPropOpt.type]===t.fixTypeOpt.group&&t.children?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["nextLevel",{"is-disabled":(f=k.value)==null?void 0:f.find(i=>i===r[t.fixPropOpt.id])}]),onClick:i=>{var V;return L(r,(V=k.value)==null?void 0:V.find(p=>p===r[t.fixPropOpt.id]))}}," 下级",10,it)):e.createCommentVNode("v-if",!0)])}),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(O.ElRadioGroup),{key:1,isIndeterminate:x.value,modelValue:_.value,"onUpdate:modelValue":o[2]||(o[2]=r=>_.value=r),onChange:N},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.list,r=>{var f;return e.openBlock(),e.createElementBlock("li",{class:"w-full",key:r[t.fixPropOpt.id]},[m.chooseType.includes(r[t.fixPropOpt.type].toLowerCase())&&r.available!==!1?(e.openBlock(),e.createBlock(e.unref(O.ElRadio),{key:0,label:r[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",pt,[e.createElementVNode("div",dt,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:r,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",ft,[e.createElementVNode("div",mt,e.toDisplayString(r[t.fixPropOpt.name]),1),r[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",ht," ("+e.toDisplayString((r==null?void 0:r.userCount)||0)+") ",1)):e.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",At,[yt,e.createElementVNode("div",ut,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:r,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",kt,[e.createElementVNode("div",gt,e.toDisplayString(r[t.fixPropOpt.name]),1),r[t.fixPropOpt.type]===t.fixTypeOpt.group?(e.openBlock(),e.createElementBlock("div",xt," ("+e.toDisplayString(r.userCount)+") ",1)):e.createCommentVNode("v-if",!0)])])),r[t.fixPropOpt.type]===t.fixTypeOpt.group&&t.children?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["nextLevel",{"is-disabled":(f=k.value)==null?void 0:f.find(i=>i===r[t.fixPropOpt.id])}]),onClick:i=>{var V;return L(r,(V=k.value)==null?void 0:V.find(p=>p===r[t.fixPropOpt.id]))}}," 下级",10,Bt)):e.createCommentVNode("v-if",!0)])}),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",_t,[Et,e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),El="",Vt=U(Ot,[["__scopeId","data-v-8c34a55d"]]),Y=n=>(e.pushScopeId("data-v-e03f0d36"),n=n(),e.popScopeId(),n),Nt={class:"left-pick-list"},Tt={key:1,class:"post-view-list"},Ct={class:"iconBox"},Lt={key:1,class:"checkText"},Pt=Y(()=>e.createElementVNode("div",{class:"side"},null,-1)),St={class:"iconBox"},wt={class:"title"},bt={class:"ik-picker-single"},It={class:"iconBox"},Ut={key:1,class:"checkText"},Dt=Y(()=>e.createElementVNode("div",{class:"side"},null,-1)),Ft={class:"iconBox"},Rt={class:"title"},$t={key:2,class:"empty"},Mt=Y(()=>e.createElementVNode("img",{src:q,alt:""},null,-1)),jt=e.defineComponent({__name:"PostList",props:K,emits:["change","check"],setup(n,{emit:h}){var L,A;const t=n,l=e.computed(()=>{var s,m;return((s=t.handList)==null?void 0:s.length)===((m=t.list)==null?void 0:m.length)}),x=e.computed(()=>{var o,r,f,i;const s=(o=t.handList)==null?void 0:o.length,m=(r=t.list)==null?void 0:r.length;return t.multiple?k.value=t.handList.map(V=>V[t.fixPropOpt.id]):_.value=(i=(f=t.handList)==null?void 0:f[0])==null?void 0:i[t.fixPropOpt.id],s>0&&s<m}),k=e.ref(t.handList.map(s=>s[t.fixPropOpt.id])),_=e.ref((A=(L=t.handList)==null?void 0:L[0])==null?void 0:A[t.fixPropOpt.id]),E=h,c=s=>{const m=s?t.list.map(o=>o[t.fixPropOpt.id]):[];E("change",m,s?t.list:[])},T=s=>{E("change",s,t.list)},N=s=>{E("change",s,t.list)};return(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",Nt,[s.multiple&&s.chooseType.includes("post")&&s.list&&s.list.length?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=o=>l.value=o),indeterminate:x.value,onChange:c},{default:e.withCtx(()=>[e.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),s.list&&s.list.length?(e.openBlock(),e.createElementBlock("ul",Tt,[s.multiple?(e.openBlock(),e.createBlock(e.unref(O.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":m[1]||(m[1]=o=>k.value=o),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,o=>(e.openBlock(),e.createElementBlock("li",{key:o[t.fixPropOpt.id]},[s.chooseType.includes(o[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,label:o[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",Ct,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",null,e.toDisplayString(o[t.fixPropOpt.name]),1)]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",Lt,[Pt,e.createElementVNode("div",St,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",wt,e.toDisplayString(o[t.fixPropOpt.name]),1)]))]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(O.ElRadioGroup),{key:1,isIndeterminate:x.value,modelValue:_.value,"onUpdate:modelValue":m[2]||(m[2]=o=>_.value=o),onChange:N},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,o=>(e.openBlock(),e.createElementBlock("li",{class:"w-full",key:o[t.fixPropOpt.id]},[s.chooseType.includes(o[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(O.ElRadio),{key:0,label:o[t.fixPropOpt.id]},{default:e.withCtx(()=>[e.createElementVNode("div",bt,[e.createElementVNode("div",It,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",null,e.toDisplayString(o[t.fixPropOpt.name]),1)])]),_:2},1032,["label"])):(e.openBlock(),e.createElementBlock("div",Ut,[Dt,e.createElementVNode("div",Ft,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",Rt,e.toDisplayString(o[t.fixPropOpt.name]),1)]))]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",$t,[Mt,e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),Ol="",Wt=U(jt,[["__scopeId","data-v-e03f0d36"]]),J=n=>(e.pushScopeId("data-v-be3b3e45"),n=n(),e.popScopeId(),n),Gt={class:"left-pick-list"},Ht={key:1,class:"role-view-list"},zt={class:"iconBox"},Qt=["title"],Xt={key:1,class:"checkText"},qt=J(()=>e.createElementVNode("div",{class:"side"},null,-1)),Kt={class:"iconBox"},Zt=["title"],Yt={class:"ik-picker-single"},Jt={class:"iconBox"},vt=["title"],eo={key:1,class:"checkText"},to=J(()=>e.createElementVNode("div",{class:"side"},null,-1)),oo={class:"iconBox"},lo=["title"],ao={key:2,class:"empty"},no=J(()=>e.createElementVNode("img",{src:q,alt:""},null,-1)),so=e.defineComponent({__name:"RoleList",props:K,emits:["change","check"],setup(n,{emit:h}){var L,A;const t=n,l=e.computed(()=>{var s,m;return((s=t.handList)==null?void 0:s.length)===((m=t.list)==null?void 0:m.length)}),x=e.computed(()=>{var o,r,f,i;const s=(o=t.handList)==null?void 0:o.length,m=(r=t.list)==null?void 0:r.length;return t.multiple?k.value=t.handList.map(V=>V[t.fixPropOpt.id]):_.value=(i=(f=t.handList)==null?void 0:f[0])==null?void 0:i[t.fixPropOpt.id],s>0&&s<m}),k=e.ref(t.handList.map(s=>s[t.fixPropOpt.id])),_=e.ref((A=(L=t.handList)==null?void 0:L[0])==null?void 0:A[t.fixPropOpt.id]),E=h,c=s=>{const m=s?t.list.map(o=>o[t.fixPropOpt.id]):[];E("change",m,s?t.list:[])},T=s=>{E("change",s,t.list)},N=s=>{E("change",s,t.list)};return(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createCommentVNode(" 遍历list多选 "),e.createElementVNode("div",Gt,[s.multiple&&s.chooseType.includes("role")&&s.list&&s.list.length?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=o=>l.value=o),indeterminate:x.value,onChange:c},{default:e.withCtx(()=>[e.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):e.createCommentVNode("v-if",!0),s.list&&s.list.length?(e.openBlock(),e.createElementBlock("ul",Ht,[s.multiple?(e.openBlock(),e.createBlock(e.unref(O.ElCheckboxGroup),{key:0,modelValue:k.value,"onUpdate:modelValue":m[1]||(m[1]=o=>k.value=o),onChange:T},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,o=>(e.openBlock(),e.createElementBlock("li",{key:o[s.fixPropOpt.id]},[s.chooseType.includes(o[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(O.ElCheckbox),{key:0,label:o[s.fixPropOpt.id],value:o[s.fixPropOpt.id],disabled:o.disabled},{default:e.withCtx(()=>[e.createElementVNode("div",zt,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",{title:o[s.fixPropOpt.name]},e.toDisplayString(o[s.fixPropOpt.name]),9,Qt)]),_:2},1032,["label","value","disabled"])):(e.openBlock(),e.createElementBlock("div",Xt,[qt,e.createElementVNode("div",Kt,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",{class:"title",title:o[s.fixPropOpt.name]},e.toDisplayString(o[s.fixPropOpt.name]),9,Zt)]))]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(e.unref(O.ElRadioGroup),{key:1,indeterminate:x.value,modelValue:_.value,"onUpdate:modelValue":m[2]||(m[2]=o=>_.value=o),onChange:N},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,o=>(e.openBlock(),e.createElementBlock("li",{class:"w-full",key:o[s.fixPropOpt.id]},[s.chooseType.includes(o[t.fixPropOpt.type].toLowerCase())?(e.openBlock(),e.createBlock(e.unref(O.ElRadio),{key:0,label:o[s.fixPropOpt.id],value:o[s.fixPropOpt.id],disabled:o.disabled},{default:e.withCtx(()=>[e.createElementVNode("div",Yt,[e.createElementVNode("div",Jt,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("p",{title:o[s.fixPropOpt.name]},e.toDisplayString(o[s.fixPropOpt.name]),9,vt)])]),_:2},1032,["label","value","disabled"])):(e.openBlock(),e.createElementBlock("div",eo,[to,e.createElementVNode("div",oo,[e.createVNode(P,{fixTypeOpt:t.fixTypeOpt,fixPropOpt:t.fixPropOpt,element:o,imageBaseUrl:t.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("div",{class:"title",title:o[s.fixPropOpt.name]},e.toDisplayString(o[s.fixPropOpt.name]),9,lo)]))]))),128))]),_:1},8,["indeterminate","modelValue"]))])):(e.openBlock(),e.createElementBlock("div",ao,[no,e.createElementVNode("div",null,e.toDisplayString(t.emptyText),1)]))])],2112))}}),Vl="",ro=U(so,[["__scopeId","data-v-be3b3e45"]]);var z=(n=>(n.group="group",n.role="role",n.post="post",n))(z||{});const co={children:{type:Boolean,default:!0},topLink:{type:Boolean,default:!0},modelValue:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},orgPid:{type:String,default:""},org:{type:Object,default:()=>null},immediate:{type:Boolean,default:!1},show:{type:Boolean,default:!1,required:!0},width:{type:String,default:"685px"},height:{type:String,default:"580px"},title:{type:String,default:"选择人员"},groupList:{type:Array,default:()=>[]},userList:{type:Array,default:()=>[]},roleList:{type:Array,default:()=>[]},postList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},tabs:{type:Array,validator:n=>{if(n===void 0)return!0;if(Array.isArray(n)){if(!(n!=null&&n.length))return!1}else return console.error("IkingPicker参数错误:tabs必须是Array类型"),!1;return!0},default:()=>["group","role","post"]},chooseType:{type:Array,default:()=>["dep"]},api:{type:Object,default:()=>({methods:"post",headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer 9aa65e31e86f4232ac4e4136fb1d3413"},url:`${location.origin}${location.pathname}/serve/component/pick/mix`,param:null,paramKey:"type"})},typeOption:{type:Object,default:()=>{}},propOption:{type:Object,default:()=>null},search:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0},imageBaseUrl:{type:String,default:""},placeholder:{type:String,default:"请输入"},emptyText:{type:String,default:"暂无数据"},dataScopeOnly:{type:Boolean,default:!1},rootDepartmentOnly:{type:Boolean,default:!1}},ce=n=>{const h=window.location.search;return new URLSearchParams(h).get(n)},io=n=>{const h=C.ikStore.local.getItem("x_domain");h&&(n["X-DOMAIN"]=h)},po=n=>{var t;const h=ce("domain");if(h){n["X-DOMAIN"]=h;const l=ce("code");h==="APPLICATION"&&(n["X-APP"]=l)}else io(n);(t=C.ikStore.local.getItem("tenant"))==null||t.code},fo=(n,h)=>{const t=e.ref([]),l=async(k,_)=>{var M,B,S;const{url:E,methods:c,headers:T,param:N}=n.value||{},L={rootDepartmentId:((M=C.ikStore.local.getItem("now_shop"))==null?void 0:M.storeId)||"",parentDepartmentId:k||"",name:_||"",rootDepartmentOnly:h.rootDepartmentOnly,dataScopeOnly:h.dataScopeOnly,...N||{}},A={method:c,url:E,headers:{"Content-Type":"application/json;charset=UTF-8",...T},data:JSON.stringify(L)};po(A.headers);const s=await ue(A),{success:m,data:o}=s.data;if(!m)return{groupList:[],roleList:[],postList:[],userList:[],rootOrganization:{},rootDepartment:{}};const{departments:r,roles:f,posts:i,users:V,rootOrganization:p,rootDepartment:b}=o,$=p||b;return t.value.length===0&&(t.value[0]=h.org?{...h.org,id:h.elementId,elementType:(S=(B=h.org)==null?void 0:B.elementType)==null?void 0:S.toLocaleUpperCase()}:{...$,id:$.elementId}),{groupList:C._.cloneDeep(r),roleList:C._.cloneDeep(f),postList:C._.cloneDeep(i),userList:C._.cloneDeep(V),rootOrganization:p,rootDepartment:b}};return{handData:l,handSetChild:(k,_)=>{l(k==null?void 0:k.elementId,_)},bannerList:t}},mo={shadow:"hover",class:"sel-list"},ho={key:0},Ao=e.createElementVNode("div",{class:"split-div"},null,-1),yo={class:"choose-list"},uo={class:"choose-item"},ko=e.createElementVNode("div",null,"已选",-1),go={class:"choose-box"},xo={class:"list-group-item"},Bo={class:"item_info"},_o={class:"avatar_box"},Eo={class:"dialog-footer"},Oo=e.defineComponent({__name:"picker",props:co,emits:["handChild","update:show","update:modelValue","ok","search"],setup(n,{expose:h,emit:t}){e.useCssVars(a=>({"775d0d08":Ae.value}));const l=n,x=e.ref(""),k=e.ref(""),_=e.ref([]),E=e.ref([]),c=e.ref([]),T=e.ref([]),N=e.ref(!1),L=e.computed(()=>S.value.includes("user")?E.value.concat(_.value):E.value);e.watch(()=>l.api,()=>{l.show&&M("")});const A=e.computed(()=>({name:"name",type:"type",id:"id",avatar:"avatar",...l.propOption})),s=e.computed(()=>({user:"USER",role:"ROLE",post:"POST",group:"DEPT",...l.typeOption})),m=e.ref([]),o=fo(e.toRef(l,"api"),l),r=o.handData,f=o.bannerList;l.immediate&&r(k.value,x.value);const i=a=>(a.forEach(d=>{var y,u;d.disabled=((u=(y=l.modelValue)==null?void 0:y.find(g=>g[A.value.id]===d[A.value.id]))==null?void 0:u.disabled)||!1}),a),V=async()=>{var a,d,y,u,g,F,ae,ye;N.value=!0;try{if((a=l.groupList)!=null&&a.length||(d=l.userList)!=null&&d.length||(y=l.roleList)!=null&&y.length||(u=l.postList)!=null&&u.length){_.value=(g=l.userList)==null?void 0:g.filter(R=>R[A.value.name].includes(x.value)),E.value=(F=l.groupList)==null?void 0:F.filter(R=>R[A.value.name].includes(x.value)),c.value=(ae=l.roleList)==null?void 0:ae.filter(R=>R[A.value.name].includes(x.value)),T.value=(ye=l.postList)==null?void 0:ye.filter(R=>R[A.value.name].includes(x.value)),ee(),N.value=!1;return}const w=await r(k.value,x.value);try{_.value=i((w==null?void 0:w.userList)||[]),E.value=i((w==null?void 0:w.groupList)||[]),c.value=i((w==null?void 0:w.roleList)||[]),T.value=i((w==null?void 0:w.postList)||[])}catch(R){N.value=!1,console.info("error: ",R)}ee(),N.value=!1}catch{N.value=!1}},p=e.reactive({group:new Map,user:new Map,role:new Map,post:new Map,trans:[],single:""}),b=e.reactive({indeterminate:!1,checkAll:0}),$=a=>p.group.has(a)||p.user.has(a)||p.role.has(a)||p.post.has(a),M=C.ikEvent.debounce(V,300),B=e.computed(()=>{const a=Array.from(p.group.values()),d=Array.from(p.role.values()),y=Array.from(p.user.values()),u=Array.from(p.post.values());return m.value=[...d,...u,...y,...a],{list:[...d,...y,...u,...a],role:{list:d,len:d.length},user:{list:y,len:y.length},post:{list:u,len:u.length},groups:{list:a,len:a.length}}}),S=e.computed(()=>{const a=l.chooseType.map(y=>y.toLocaleLowerCase());let d=[...a];return a.includes("dep")&&(d=[...d,"dept"]),a.includes("dep_user")&&(d=[...d,"user"]),d}),D=e.ref([]),de=a=>{D.value=a,D.value.forEach(d=>{d.readonly=d==null?void 0:d.disabled})},Q=t,v=e.ref(!1),ee=(a=!1)=>{var y;const d=(y=l==null?void 0:l.userList)!=null&&y.length?C._.cloneDeep([...l==null?void 0:l.userList,...l==null?void 0:l.groupList]):[...E.value,..._.value];return!a&&de(d),d};e.watch(()=>l.show,async a=>{var d;if(v.value=a,a){k.value=((d=l.org)==null?void 0:d.elementId)||l.orgPid,!l.userList.length&&!l.groupList.length&&!l.roleList.length&&!l.postList.length?await V():(_.value=l.userList,E.value=l.groupList,c.value=l.roleList,T.value=l.postList),p.trans=[],b.checkAll=0,b.indeterminate=!1;const y=ee(!0);for(const g of y)$(g[A.value.id])&&p.trans.push(g[A.value.id]);const u=y.length===p.trans.length;b.indeterminate=!!(y.length&&!u),b.checkAll=Number(y.length&&u),e.nextTick(()=>{var g;(g=l.modelValue)!=null&&g.length?l.modelValue.forEach(F=>{j(F),l.multiple?p.trans.push(F[A.value.id]):p.single=F[A.value.id]}):G()})}else G()}),e.watchEffect(()=>{let a;a=D.value.length;const d=p.trans.length;b.indeterminate=p.trans.length?d!==a:!1,b.checkAll=+(a!==0&&d===a)}),e.watch(()=>l.modelValue,a=>{a!=null&&a.length?a.forEach(d=>{j(d),l.multiple?p.trans.push(d[A.value.id]):p.single=d[A.value.id]}):G()});const H=a=>{var d;if(a){if(p.single="",a[A.value.id]){const y=(d=p.trans)==null?void 0:d.findIndex(u=>u===a[A.value.id]);y!==-1&&p.trans.splice(y,1)}switch(a[A.value.type]){case s.value.user:return p.user.delete(a[A.value.id]);case s.value.role:return p.role.delete(a[A.value.id]);case s.value.post:return p.post.delete(a[A.value.id]);case s.value.group:return p.group.delete(a[A.value.id]);default:return}}},fe=a=>{H(a)},j=a=>{if(!$(a[A.value.id])){const d={...a};switch(a[A.value.type]){case s.value.user:return p.user.set(a[A.value.id],d);case s.value.role:return p.role.set(a[A.value.id],d);case s.value.post:return p.post.set(a[A.value.id],d);case s.value.group:return p.group.set(a[A.value.id],d);default:return}}},el=a=>[s.value.group].includes(a[A.value.type])?a==null?void 0:a.hasOwnProperty("disabled"):!1;e.watch(()=>p.trans,a=>{if(!a.length)D.value.forEach(d=>{d.disabled=!1});else{const d=D.value.filter(u=>!a.includes(u[A.value.id]));for(const u of d)u.disabled=!1,l.multiple&&H(u);const y=D.value.filter(u=>a.includes(u[A.value.id]));for(const u of y)u.disabled=el(u),j(u)}},{deep:!0}),e.watch(()=>p.single,a=>{var d;if(a){const y=(d=D.value)==null?void 0:d.find(u=>u[A.value.id]===a);y&&(p.user.clear(),p.role.clear(),p.post.clear(),p.group.clear(),p.trans=[],e.nextTick(()=>{j(y)}))}});const tl=a=>{k.value=a==null?void 0:a.elementId,V(),f.value.push(a)},me=e.computed(()=>f.value.length),ol=(a,d)=>{!d&&!l.topLink||d!==me.value-1&&(k.value=a==null?void 0:a.elementId,V(),f.value.splice(d+1))},ll=e.computed(()=>l.chooseType.includes("role")&&l.chooseType.length===1),al=e.computed(()=>l.chooseType.includes("post")&&l.chooseType.length===1),X=e.ref(l.tabs[0]),W=e.ref(l.tabs[0]);e.watchEffect(()=>(W.value=ll.value?l.tabs[1]:al.value?l.tabs[2]:X.value,W.value));const G=()=>{p.user.clear(),p.role.clear(),p.post.clear(),p.group.clear(),p.trans=[],oe.value=[],le.value=[],X.value=l.tabs[0],W.value=l.tabs[0],x.value="",k.value=l.orgPid,f.value.splice(1,f.value.length),p.single="",m.value=[]},nl=()=>{var a;Q("ok",C._.cloneDeep({...B.value,sort:m.value})),Q("update:modelValue",C._.cloneDeep(((a=B.value)==null?void 0:a.list)||[])),Q("update:show",!1),G()},he=()=>{Q("update:show",!1),G()};h({handClear:G,handRomeve:fe,handDelete:H});const sl=e.computed(()=>{const a=S.value;return!!((a.includes("post")||a.includes("role"))&&a.length>1)}),rl=e.computed(()=>[{name:"group",label:"组织架构"},{name:"role",label:"角色列表"},{name:"post",label:"岗位列表"}].filter(a=>l.tabs.includes(a.name))),Ae=e.computed(()=>`${typeof l.height=="string"?Number.parseInt(l.height):l.height}px`),te=()=>{l.multiple||(p.post.clear(),p.role.clear(),p.user.clear(),p.group.clear(),p.single="")},cl=e.computed(()=>B.value.groups.list.concat(B.value.user.list)),il=(a,d)=>{l.multiple||(p.single="");const y=l.multiple?a:[a];if(!y.length){p.group.clear(),p.user.clear();return}te(),d.forEach(u=>{y!=null&&y.includes(u[A.value.id])?j(u):H(u)})},oe=e.ref([]),pl=(a,d)=>{l.multiple||(p.single="");const y=l.multiple?a:[a];if(!y.length){p.role.clear();return}te(),d.forEach(u=>{y!=null&&y.includes(u[A.value.id])?j(u):H(u)})};e.watch(()=>B.value.role.len,a=>{oe.value=C._.cloneDeep(B.value.role.list)});const le=e.ref([]),dl=(a,d)=>{l.multiple||(p.single="");const y=l.multiple?a:[a];if(!y.length){p.post.clear();return}te(),d.forEach(u=>{y!=null&&y.includes(u[A.value.id])?j(u):H(u)})};return e.watch(()=>B.value.post.len,a=>{le.value=C._.cloneDeep(B.value.post.list)}),e.watch(()=>x.value,a=>{M("")}),(a,d)=>{const y=e.resolveComponent("el-tab-pane"),u=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(e.unref(O.ElDialog),{modelValue:v.value,"onUpdate:modelValue":d[2]||(d[2]=g=>v.value=g),title:a.title,"destroy-on-close":"","append-to-body":"","close-on-click-modal":!1,"close-on-click-escape":!1,draggable:"","align-center":"",width:typeof a.width=="string"?a.width:`${a.width}%`,class:"p_p_picker-dialog","modal-class":"p_p_picker-dialog-modal-user",onClose:he},{footer:e.withCtx(()=>[e.createElementVNode("span",Eo,[e.createVNode(e.unref(O.ElButton),{onClick:e.withModifiers(he,["stop"])},{default:e.withCtx(()=>[e.createTextVNode("取消")]),_:1}),e.createVNode(e.unref(O.ElButton),{type:"primary",onClick:e.withModifiers(nl,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(" 确定 ")]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:"dep-use-picker",style:e.normalizeStyle({height:Ae.value})},[e.createElementVNode("div",mo,[e.createElementVNode("div",null,[e.createVNode(e.unref(O.ElInput),{modelValue:x.value,"onUpdate:modelValue":d[0]||(d[0]=g=>x.value=g),clearable:"",placeholder:a.placeholder,"suffix-icon":Ve},null,8,["modelValue","placeholder"]),sl.value?(e.openBlock(),e.createBlock(u,{key:0,modelValue:X.value,"onUpdate:modelValue":d[1]||(d[1]=g=>X.value=g),class:"ik-picker-tab"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(rl.value,g=>(e.openBlock(),e.createBlock(y,{label:g.label,name:g.name,key:g.label},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("v-if",!0)]),e.createCommentVNode(" 过滤 "),W.value===e.unref(z).group?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[me.value?(e.openBlock(),e.createElementBlock("div",ho,[e.createCommentVNode(" 面包屑 全选 "),e.createVNode(e.unref(O.ElBreadcrumb),{separator:">",class:e.normalizeClass(["banner",{"top-unlink":!a.topLink}])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),(g,F)=>(e.openBlock(),e.createBlock(e.unref(O.ElBreadcrumbItem),{key:g[A.value.id],onClick:e.withModifiers(ae=>ol(g,F),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g[A.value.name]),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["class"])])):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 左侧列表 "),e.createCommentVNode(" 组织架构 "),W.value===e.unref(z).group?e.withDirectives((e.openBlock(),e.createBlock(Vt,{key:1,fixPropOpt:A.value,fixTypeOpt:s.value,list:L.value,max:a.max,multiple:a.multiple,"hand-list":cl.value,imageBaseUrl:l.imageBaseUrl,emptyText:l.emptyText,children:l.children,"choose-type":S.value,onHandChild:tl,onChange:il},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","children","choose-type"])),[[e.unref(O.vLoading),N.value]]):W.value===e.unref(z).role?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createCommentVNode(" 角色 "),e.withDirectives(e.createVNode(ro,{fixPropOpt:A.value,fixTypeOpt:s.value,list:c.value,max:a.max,multiple:a.multiple,"hand-list":oe.value,imageBaseUrl:l.imageBaseUrl,emptyText:l.emptyText,"choose-type":S.value,onChange:pl},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","choose-type"]),[[e.unref(O.vLoading),N.value]])],64)):W.value===e.unref(z).post?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createCommentVNode(" 岗位 "),e.withDirectives(e.createVNode(Wt,{fixPropOpt:A.value,fixTypeOpt:s.value,list:T.value,max:a.max,multiple:a.multiple,"hand-list":le.value,imageBaseUrl:l.imageBaseUrl,emptyText:l.emptyText,"choose-type":S.value,onChange:dl},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","choose-type"]),[[e.unref(O.vLoading),N.value]])],64)):e.createCommentVNode("v-if",!0)]),Ao,e.createCommentVNode(" 已选列表 "),e.createElementVNode("div",yo,[e.createElementVNode("div",uo,[ko,e.createVNode(e.unref(O.ElButton),{type:"primary",link:"",onClick:e.withModifiers(G,["stop"])},{default:e.withCtx(()=>[e.createTextVNode("清空")]),_:1})]),e.createElementVNode("ul",go,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,g=>(e.openBlock(),e.createElementBlock("li",xo,[e.createElementVNode("div",Bo,[e.createCommentVNode(" icon前缀 "),e.createElementVNode("div",_o,[e.createVNode(P,{fixTypeOpt:s.value,fixPropOpt:A.value,element:g,imageBaseUrl:l.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),e.createElementVNode("span",null,e.toDisplayString(g[A.value.name]),1)]),e.withDirectives(e.createVNode(Pe,{class:"close",onClick:e.withModifiers(F=>fe(g),["stop"])},null,8,["onClick"]),[[e.vShow,!(g!=null&&g.readonly)]])]))),256))])])],4)]),_:1},8,["modelValue","title","width"])}}}),Nl="",Vo=ne(Oo),ie=n=>(e.pushScopeId("data-v-7e3802e0"),n=n(),e.popScopeId(),n),No={class:"approveProcess",id:"approveProcess"},To={class:"node"},Co={class:"nodeBg"},Lo={key:0,class:"info"},Po={class:"explain"},So={key:0},wo={key:0},bo={key:1},Io={key:0},Uo={key:1},Do={class:"personlist"},Fo={style:{width:"58px"}},Ro={class:"avatar"},$o=["src"],Mo={key:1,class:"nodeBg"},jo=["onClick"],Wo=["title"],Go={key:0,class:"sign"},Ho={key:0},zo=["onClick"],Qo={key:0,class:"required"},Xo=ie(()=>e.createElementVNode("i",{class:"ikapprove ikapprove-xinzeng"},null,-1)),qo={key:1,class:"node-branchs"},Ko=ie(()=>e.createElementVNode("div",{class:"branch-line"},null,-1)),Zo={style:{flex:"1"}},Yo={class:"node-branch"},Jo={name:"IkApprovalProcess"},vo=e.defineComponent({...Jo,props:{pickerUrl:{type:String,default:""},pickerConfig:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},setup(n,{expose:h}){const t=n,{cLoadUrl:l}=re(t),x=C.ikStore.local.getItem("token")||"Bearer 4db1039f04334180849002932f6a1fc6",k=e.ref("sys");function _(o){const r=window.location.search;return new URLSearchParams(r).get(o)}function E(){var r;const o=_("xTenant")||((r=C.ikStore.local.getItem("tenant"))==null?void 0:r.code);o&&(k.value=o)}E();const c=e.reactive(ge(t)),T=async o=>{var r;if(o.multiple=!o[c.defaultFile.singleApproval]||o[c.defaultFile.isShowAddCopy],o.handList=o[c.defaultFile.approvePersonList]?o[c.defaultFile.approvePersonList]:[],o[c.defaultFile.nodeType]===c.nodeType.抄送节点)o.handList.forEach(f=>{f.elementName||(f.elementName=f.userName,f.elementId=f.userId,f.avatar=f.userAvatar),f.elementType="USER",f.disabled=!0}),o.chooseType=["user"],o.userList=[],o.depList=[];else switch(o[c.defaultFile.initiatorSpecifiedScopeType]){case"ALL":o.chooseType=["dep_user"],o.userList=[],o.depList=[];break;default:o.chooseType=["user"],o.userList=o.userList?o.userList:(r=o[c.defaultFile.initiatorSpecifiedScope])==null?void 0:r.map(f=>({...f,elementName:(f==null?void 0:f.executorName)||(f==null?void 0:f.userName),elementId:(f==null?void 0:f.executorId)||(f==null?void 0:f.userId),avatar:((f==null?void 0:f.executorAvatar)||(f==null?void 0:f.userAvatar))&&N((f==null?void 0:f.executorAvatar)||(f==null?void 0:f.userAvatar))||"",elementType:"USER"}))}e.nextTick(()=>{o.isShow=!0})},N=o=>{let r="";return o.includes("http")||o.includes("https")?r=o:r=l.value?`${o.includes(l.value)?"":l.value}${o}`:`${location.origin+location.pathname}server/oss/download?fileUrl=${o}`,r},L=(o,r)=>{t.dataList[r].handList=o.list;let i=(t.dataList[r][c.defaultFile.approvePersonList]||[]).filter(p=>!p.canDele),V=o.list.map(p=>({...p,userName:p.elementName,userAvatar:p.avatar,canDele:!0}));t.dataList[r][c.defaultFile.approvePersonList]=i.concat(V)},A=(o,r)=>{t.dataList[o][c.defaultFile.approvePersonList].splice(r,1),t.dataList[o].handList=t.dataList[o][c.defaultFile.approvePersonList]},s=()=>{let o=!0;return t.dataList.forEach(r=>{var f;r.required=!1,r[c.defaultFile.nodeType]==c.nodeType.审批节点&&r[c.defaultFile.isShowAdd]&&((f=r[c.defaultFile.approvePersonList])!=null&&f.length||(o=!1,r.required=!0))}),o},m=e.computed(()=>{var o;return{propOption:{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},typeOption:{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},api:{methods:"post",url:t.pickerUrl,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:x,"X-Tenant":k.value},param:{rootDepartmentId:((o=C.ikStore.local.getItem("now_shop"))==null?void 0:o.storeId)||"",rootDepartmentOnly:!1}},...t.pickerConfig}});return h({requiredVerification:s}),(o,r)=>{const f=e.resolveComponent("IkApprovalProcess");return e.openBlock(),e.createElementBlock("div",No,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dataList,(i,V)=>{var p,b,$,M;return e.openBlock(),e.createElementBlock("div",{class:"content",key:i.id},[e.createCommentVNode(" 审批节点类型 "),e.createElementVNode("div",To,[e.createElementVNode("span",Co,[e.createElementVNode("i",{class:e.normalizeClass(e.unref(xe)(c,i[c.defaultFile.nodeType]))},null,2)]),e.createElementVNode("div",{class:"line",style:e.normalizeStyle({"border-left":V===t.dataList.length-1?"":"2px solid var(--el-border-color)"})},null,4)]),i[c.defaultFile.nodeType]!==c.nodeType.并行分支?(e.openBlock(),e.createElementBlock("div",Lo,[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(i[c.defaultFile.nodeTypeName]),1),e.createElementVNode("div",Po,[e.createCommentVNode(" 抄送节点 "),i[c.defaultFile.nodeType]==c.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("span",So,[i[c.defaultFile.approvePersonList].length?(e.openBlock(),e.createElementBlock("span",wo,e.toDisplayString(`抄送${i[c.defaultFile.approvePersonList].length}人`),1)):e.createCommentVNode("v-if",!0),i[c.defaultFile.isShowAdd]?(e.openBlock(),e.createElementBlock("span",bo,",可添加抄送人")):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 审批节点 "),e.createElementVNode("span",null,[e.createCommentVNode(" 存在审批人时 "),(p=i[c.defaultFile.approvePersonList])!=null&&p.length?(e.openBlock(),e.createElementBlock("span",Io,e.toDisplayString(((b=i[c.defaultFile.approvePersonList])==null?void 0:b.length)==1?"1人审批":`${($=i[c.defaultFile.approvePersonList])==null?void 0:$.length}人${i[c.defaultFile.multiExecutorTypeName]}`),1)):[c.statusWithoutApprover.自动通过,c.statusWithoutApprover.自动拒绝].includes(i[c.defaultFile.approveType])?(e.openBlock(),e.createElementBlock("span",Uo,e.toDisplayString(i[c.defaultFile.approveTypeName]),1)):i[c.defaultFile.executorEmptyStrategy]&&i[c.defaultFile.executorEmpty]?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createCommentVNode(" 没有审批人,并且有指定默认审批方式 "),e.createElementVNode("span",null,[e.createTextVNode(" 未找到审批人,"),e.createElementVNode("span",null,e.toDisplayString(i[c.defaultFile.executorEmptyStrategy]==c.statusWithoutApprover.自动通过?"将自动通过":i[c.defaultFile.executorEmptyStrategy]==c.statusWithoutApprover.自动转交管理员?"自动转交给管理员":i[c.defaultFile.executorEmptyStrategy]==c.statusWithoutApprover.指定人员审批?`将自动转给指定成员${i[c.defaultFile.reserveExecutorUsers]&&i[c.defaultFile.reserveExecutorUsers][0].userName}`:""),1)])],2112)):[c.nodeType.并行分支,c.nodeType.子流程].includes(i[c.defaultFile.nodeType])?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(i.required?"warn":"")}," 请选择"+e.toDisplayString(i[c.defaultFile.nodeType]===c.nodeType.办理节点?"办理人":"审批人"),3))])],2112))])]),e.createElementVNode("div",Do,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i[c.defaultFile.approvePersonList],(B,S)=>{var D;return e.openBlock(),e.createElementBlock("div",{class:"list",key:B.userId},[e.createElementVNode("div",Fo,[e.createElementVNode("div",Ro,[B.userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,src:N(B.userAvatar),alt:""},null,8,$o)):(e.openBlock(),e.createElementBlock("div",Mo,[e.createElementVNode("span",null,e.toDisplayString(B.userName.slice(-2)),1)])),B.canDele?(e.openBlock(),e.createElementBlock("i",{key:2,onClick:de=>A(V,S),class:"ikapprove ikapprove-shanchu1"},null,8,jo)):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",{class:"name",title:B.userName},e.toDisplayString(B.userName),9,Wo)]),e.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),i[c.defaultFile.isShowAdd]&&!(i[c.defaultFile.singleApproval]&&((D=i[c.defaultFile.approvePersonList])==null?void 0:D.length)==1)?(e.openBlock(),e.createElementBlock("span",Go,[e.createCommentVNode(" 抄送默认 "),i[c.defaultFile.nodeType]==c.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("span",Ho,"+")):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 审批 "),e.createElementVNode("span",null,e.toDisplayString(i[c.defaultFile.multiExecutorType]=="ANY"?"/":i[c.defaultFile.multiExecutorType]=="ALL"?"+":">"),1)],2112))])):e.createCommentVNode("v-if",!0)])}),128)),e.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),i[c.defaultFile.isShowAdd]&&!(i[c.defaultFile.singleApproval]&&((M=i[c.defaultFile.approvePersonList])==null?void 0:M.length)==1)||i[c.defaultFile.isShowAddCopy]?(e.openBlock(),e.createElementBlock("span",{key:0,class:"addBg",onClick:B=>T(i)},[i[c.defaultFile.nodeType]==c.nodeType.审批节点?(e.openBlock(),e.createElementBlock("span",Qo)):e.createCommentVNode("v-if",!0),Xo],8,zo)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 添加人组件 "),e.createVNode(e.unref(Vo),e.mergeProps({modelValue:i.handList,"onUpdate:modelValue":B=>i.handList=B,show:i.isShow,"onUpdate:show":B=>i.isShow=B,onOk:B=>L(B,V),multiple:i.multiple,"dep-list":i.depList,"user-list":i.userList,"organization-list":i.organizationList,ref_for:!0},m.value,{chooseType:i.chooseType}),null,16,["modelValue","onUpdate:modelValue","show","onUpdate:show","onOk","multiple","dep-list","user-list","organization-list","chooseType"])])])):(e.openBlock(),e.createElementBlock("div",qo,[Ko,e.createElementVNode("div",Zo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.parallelInstances,(B,S)=>(e.openBlock(),e.createElementBlock("div",{key:S,class:e.normalizeClass(`branch branch-${S}`)},[e.createElementVNode("div",Yo,e.toDisplayString(B.name),1),e.createVNode(f,e.mergeProps({ref_for:!0},t,{dataList:B.processInstanceNodes,style:{"margin-left":"20px"}}),null,16,["dataList"])],2))),128))])]))])}),128))])}}}),Tl="",pe=ne(U(vo,[["__scopeId","data-v-7e3802e0"]]));I.IKApprovalProcess=pe,I.default=pe,Object.defineProperties(I,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});