element-less 0.0.82 → 0.0.84

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 (399) hide show
  1. package/clientPage/index.d.ts +24 -0
  2. package/{element-less/config → config}/index.d.ts +5 -2
  3. package/custom/aMap/index.d.ts +63 -0
  4. package/{element-less/custom → custom}/aMap/src/aMap.vue.d.ts +5 -15
  5. package/custom/button-export/index.d.ts +33 -0
  6. package/custom/button-export/src/buttonExport.vue.d.ts +20 -0
  7. package/custom/button-select/index.d.ts +22 -0
  8. package/custom/button-select/src/buttonSelect.vue.d.ts +12 -0
  9. package/custom/cron/index.d.ts +38 -0
  10. package/{element-less/custom → custom}/cron/src/cron.vue.d.ts +1 -1
  11. package/custom/highlight/index.d.ts +31 -0
  12. package/custom/highlight/src/highlight.vue.d.ts +17 -0
  13. package/custom/stampBadge/index.d.ts +41 -0
  14. package/custom/stampBadge/src/stampBadge.vue.d.ts +20 -0
  15. package/custom/tip/index.d.ts +26 -0
  16. package/custom/tip/src/tip.vue.d.ts +15 -0
  17. package/{element-less/custom → custom}/workFlow/src/nodeAdd.vue.d.ts +1 -1
  18. package/custom/workPlan/index.d.ts +38 -0
  19. package/{element-less/custom → custom}/workPlan/src/workPlan.vue.d.ts +1 -1
  20. package/{element-less/element-less.cjs → element-less.cjs} +1 -1
  21. package/element-less.iife.js +1 -0
  22. package/{element-less/element-less.js → element-less.js} +69 -63
  23. package/element-less.umd.cjs +1 -0
  24. package/elementui/checkbox/index.d.ts +1492 -0
  25. package/elementui/checkbox/src/checkbox.vue.d.ts +395 -0
  26. package/elementui/color-picker/index.d.ts +842 -0
  27. package/elementui/color-picker/src/colorPicker.vue.d.ts +470 -0
  28. package/elementui/drawer/index.d.ts +47 -0
  29. package/{element-less/elementui → elementui}/drawer/src/drawer.vue.d.ts +6 -10
  30. package/elementui/dropdown/index.d.ts +739 -0
  31. package/elementui/dropdown/src/dropdownGroup.vue.d.ts +12 -0
  32. package/index-CahhBWse.cjs +1 -0
  33. package/{element-less/index-feorBNG_.js → index-CyBwvnGl.js} +162 -99
  34. package/{element-less/index.d.ts → index.d.ts} +1 -0
  35. package/{element-less/inner-C0OkbEc2.js → inner-CMnwN8Ec.js} +1 -1
  36. package/{element-less/inner-BN68zpX8.cjs → inner-ojZJT3jI.cjs} +1 -1
  37. package/{element-less/innerItem-FnQH0903.js → innerItem-BIUmHfZq.js} +1 -1
  38. package/{element-less/innerItem-xO8UwTSr.cjs → innerItem-DbCTKax3.cjs} +1 -1
  39. package/{element-less/mode-csharp-Dc-ZzBae.js → mode-csharp-CLnCaXfr.js} +1 -1
  40. package/{element-less/mode-csharp-DUuey5Ak.cjs → mode-csharp-Cs9eTzSS.cjs} +1 -1
  41. package/{element-less/mode-css-XMDTbMiD.cjs → mode-css-1s0F1Wvw.cjs} +1 -1
  42. package/{element-less/mode-css-BpuO8xYN.js → mode-css-DdzWRI7c.js} +1 -1
  43. package/{element-less/mode-javascript-CLU4X-Hw.cjs → mode-javascript-D8ADB8Ye.cjs} +1 -1
  44. package/{element-less/mode-javascript-DSOQ0OYj.js → mode-javascript-DGbBLmez.js} +1 -1
  45. package/{element-less/mode-json-CBGDHk1I.js → mode-json-BgjiG7Oi.js} +1 -1
  46. package/{element-less/mode-json-C0svSDHF.cjs → mode-json-Bv4E768U.cjs} +1 -1
  47. package/{element-less/mode-mysql-GIaWrnbD.cjs → mode-mysql-BqKSyn1n.cjs} +1 -1
  48. package/{element-less/mode-mysql-B3D7ET7g.js → mode-mysql-C_RAZ9pm.js} +1 -1
  49. package/package.json +8 -38
  50. package/{element-less/style.css → style.css} +1 -1
  51. package/{element-less/utils → utils}/index.d.ts +1 -1
  52. package/LICENSE +0 -339
  53. package/README.en.md +0 -23
  54. package/element-less/README.md +0 -23
  55. package/element-less/custom/button-export/src/buttonExport.vue.d.ts +0 -28
  56. package/element-less/custom/button-select/src/buttonSelect.vue.d.ts +0 -20
  57. package/element-less/custom/highlight/src/highlight.vue.d.ts +0 -27
  58. package/element-less/custom/stampBadge/src/stampBadge.vue.d.ts +0 -28
  59. package/element-less/custom/tip/src/tip.vue.d.ts +0 -23
  60. package/element-less/element-less.iife.js +0 -1
  61. package/element-less/element-less.umd.cjs +0 -1
  62. package/element-less/elementui/dropdown/src/dropdownGroup.vue.d.ts +0 -20
  63. package/element-less/index-DKr8CTqR.cjs +0 -1
  64. package/element-less/package.json +0 -82
  65. /package/{element-less/components.d.ts → components.d.ts} +0 -0
  66. /package/{element-less/custom → custom}/aceEditor/index.d.ts +0 -0
  67. /package/{element-less/custom → custom}/aceEditor/src/aceEditor.vue.d.ts +0 -0
  68. /package/{element-less/custom → custom}/button-search/index.d.ts +0 -0
  69. /package/{element-less/custom → custom}/button-search/src/buttonSearch.vue.d.ts +0 -0
  70. /package/{element-less/custom → custom}/caption/index.d.ts +0 -0
  71. /package/{element-less/custom → custom}/caption/src/caption.d.ts +0 -0
  72. /package/{element-less/custom → custom}/caption/src/caption.vue.d.ts +0 -0
  73. /package/{element-less/custom → custom}/container/index.d.ts +0 -0
  74. /package/{element-less/custom → custom}/container/src/container.d.ts +0 -0
  75. /package/{element-less/custom → custom}/container/src/container.vue.d.ts +0 -0
  76. /package/{element-less/custom → custom}/data-modal/index.d.ts +0 -0
  77. /package/{element-less/custom → custom}/data-modal/src/dataModal.vue.d.ts +0 -0
  78. /package/{element-less/custom → custom}/dynamic/common/aiSystemPrompt.d.ts +0 -0
  79. /package/{element-less/custom → custom}/dynamic/common/globalData.d.ts +0 -0
  80. /package/{element-less/custom → custom}/dynamic/common/handler.d.ts +0 -0
  81. /package/{element-less/custom → custom}/dynamic/common/hooks/index.d.ts +0 -0
  82. /package/{element-less/custom → custom}/dynamic/common/index.d.ts +0 -0
  83. /package/{element-less/custom → custom}/dynamic/common/interfaces/dynamicComponentType.d.ts +0 -0
  84. /package/{element-less/custom → custom}/dynamic/common/interfaces/dynamicConfig.d.ts +0 -0
  85. /package/{element-less/custom → custom}/dynamic/common/interfaces/dynamicDataType.d.ts +0 -0
  86. /package/{element-less/custom → custom}/dynamic/common/interfaces/index.d.ts +0 -0
  87. /package/{element-less/custom → custom}/dynamic/common/propertys/aceEditor.d.ts +0 -0
  88. /package/{element-less/custom → custom}/dynamic/common/propertys/advanced.d.ts +0 -0
  89. /package/{element-less/custom → custom}/dynamic/common/propertys/alert.d.ts +0 -0
  90. /package/{element-less/custom → custom}/dynamic/common/propertys/array.d.ts +0 -0
  91. /package/{element-less/custom → custom}/dynamic/common/propertys/arrayAndObject.d.ts +0 -0
  92. /package/{element-less/custom → custom}/dynamic/common/propertys/button.d.ts +0 -0
  93. /package/{element-less/custom → custom}/dynamic/common/propertys/caption.d.ts +0 -0
  94. /package/{element-less/custom → custom}/dynamic/common/propertys/card.d.ts +0 -0
  95. /package/{element-less/custom → custom}/dynamic/common/propertys/cascader.d.ts +0 -0
  96. /package/{element-less/custom → custom}/dynamic/common/propertys/checkbox.d.ts +0 -0
  97. /package/{element-less/custom → custom}/dynamic/common/propertys/col.d.ts +0 -0
  98. /package/{element-less/custom → custom}/dynamic/common/propertys/collapse.d.ts +0 -0
  99. /package/{element-less/custom → custom}/dynamic/common/propertys/collapseItem.d.ts +0 -0
  100. /package/{element-less/custom → custom}/dynamic/common/propertys/colorPicker.d.ts +0 -0
  101. /package/{element-less/custom → custom}/dynamic/common/propertys/datamodal.d.ts +0 -0
  102. /package/{element-less/custom → custom}/dynamic/common/propertys/date.d.ts +0 -0
  103. /package/{element-less/custom → custom}/dynamic/common/propertys/dialog.d.ts +0 -0
  104. /package/{element-less/custom → custom}/dynamic/common/propertys/div.d.ts +0 -0
  105. /package/{element-less/custom → custom}/dynamic/common/propertys/drawer.d.ts +0 -0
  106. /package/{element-less/custom → custom}/dynamic/common/propertys/file.d.ts +0 -0
  107. /package/{element-less/custom → custom}/dynamic/common/propertys/form.d.ts +0 -0
  108. /package/{element-less/custom → custom}/dynamic/common/propertys/formItem.d.ts +0 -0
  109. /package/{element-less/custom → custom}/dynamic/common/propertys/formItemCom.d.ts +0 -0
  110. /package/{element-less/custom → custom}/dynamic/common/propertys/formQuery.d.ts +0 -0
  111. /package/{element-less/custom → custom}/dynamic/common/propertys/image.d.ts +0 -0
  112. /package/{element-less/custom → custom}/dynamic/common/propertys/index.d.ts +0 -0
  113. /package/{element-less/custom → custom}/dynamic/common/propertys/input.d.ts +0 -0
  114. /package/{element-less/custom → custom}/dynamic/common/propertys/inputNumber.d.ts +0 -0
  115. /package/{element-less/custom → custom}/dynamic/common/propertys/jsonEditor.d.ts +0 -0
  116. /package/{element-less/custom → custom}/dynamic/common/propertys/link.d.ts +0 -0
  117. /package/{element-less/custom → custom}/dynamic/common/propertys/pic.d.ts +0 -0
  118. /package/{element-less/custom → custom}/dynamic/common/propertys/radio.d.ts +0 -0
  119. /package/{element-less/custom → custom}/dynamic/common/propertys/requestForm.d.ts +0 -0
  120. /package/{element-less/custom → custom}/dynamic/common/propertys/row.d.ts +0 -0
  121. /package/{element-less/custom → custom}/dynamic/common/propertys/select.d.ts +0 -0
  122. /package/{element-less/custom → custom}/dynamic/common/propertys/slider.d.ts +0 -0
  123. /package/{element-less/custom → custom}/dynamic/common/propertys/switch.d.ts +0 -0
  124. /package/{element-less/custom → custom}/dynamic/common/propertys/tabPane.d.ts +0 -0
  125. /package/{element-less/custom → custom}/dynamic/common/propertys/table.d.ts +0 -0
  126. /package/{element-less/custom → custom}/dynamic/common/propertys/tabs.d.ts +0 -0
  127. /package/{element-less/custom → custom}/dynamic/common/propertys/tag.d.ts +0 -0
  128. /package/{element-less/custom → custom}/dynamic/common/propertys/text.d.ts +0 -0
  129. /package/{element-less/custom → custom}/dynamic/common/propertys/textarea.d.ts +0 -0
  130. /package/{element-less/custom → custom}/dynamic/common/propertys/time.d.ts +0 -0
  131. /package/{element-less/custom → custom}/dynamic/common/propertys/tip.d.ts +0 -0
  132. /package/{element-less/custom → custom}/dynamic/common/propertys/tooltip.d.ts +0 -0
  133. /package/{element-less/custom → custom}/dynamic/common/propertys/tree.d.ts +0 -0
  134. /package/{element-less/custom → custom}/dynamic/common/propertys/wangEditor.d.ts +0 -0
  135. /package/{element-less/custom → custom}/dynamic/common/types/componentTypes.d.ts +0 -0
  136. /package/{element-less/custom → custom}/dynamic/common/types/dataTypes.d.ts +0 -0
  137. /package/{element-less/custom → custom}/dynamic/common/types/index.d.ts +0 -0
  138. /package/{element-less/custom → custom}/dynamic/create/index.d.ts +0 -0
  139. /package/{element-less/custom → custom}/dynamic/create/src/create.d.ts +0 -0
  140. /package/{element-less/custom → custom}/dynamic/create/src/create.vue.d.ts +0 -0
  141. /package/{element-less/custom → custom}/dynamic/designer/index.d.ts +0 -0
  142. /package/{element-less/custom → custom}/dynamic/designer/src/designer.d.ts +0 -0
  143. /package/{element-less/custom → custom}/dynamic/designer/src/designer.vue.d.ts +0 -0
  144. /package/{element-less/custom → custom}/dynamic/designer/src/inner.vue.d.ts +0 -0
  145. /package/{element-less/custom → custom}/dynamic/designer/src/innerItem.vue.d.ts +0 -0
  146. /package/{element-less/custom → custom}/dynamic/designerView/index.d.ts +0 -0
  147. /package/{element-less/custom → custom}/dynamic/designerView/src/baseSetting.vue.d.ts +0 -0
  148. /package/{element-less/custom → custom}/dynamic/designerView/src/body.vue.d.ts +0 -0
  149. /package/{element-less/custom → custom}/dynamic/designerView/src/conditionBuilder.vue.d.ts +0 -0
  150. /package/{element-less/custom → custom}/dynamic/designerView/src/designerView.d.ts +0 -0
  151. /package/{element-less/custom → custom}/dynamic/designerView/src/designerView.vue.d.ts +0 -0
  152. /package/{element-less/custom → custom}/dynamic/designerView/src/expressionInput.vue.d.ts +0 -0
  153. /package/{element-less/custom → custom}/dynamic/designerView/src/fieldPicker.vue.d.ts +0 -0
  154. /package/{element-less/custom → custom}/dynamic/designerView/src/form.vue.d.ts +0 -0
  155. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/AddPicture.vue.d.ts +0 -0
  156. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Back.vue.d.ts +0 -0
  157. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/BankCard.vue.d.ts +0 -0
  158. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Bookmark.vue.d.ts +0 -0
  159. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Button.vue.d.ts +0 -0
  160. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/CalendarDot.vue.d.ts +0 -0
  161. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Code.vue.d.ts +0 -0
  162. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/DataType.vue.d.ts +0 -0
  163. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/DividingLine.vue.d.ts +0 -0
  164. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/ExpandTextInput.vue.d.ts +0 -0
  165. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/ExportButton.vue.d.ts +0 -0
  166. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/FormOne.vue.d.ts +0 -0
  167. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/FullScreen.vue.d.ts +0 -0
  168. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/HamburgerButton.vue.d.ts +0 -0
  169. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/HandDrag.vue.d.ts +0 -0
  170. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Json.vue.d.ts +0 -0
  171. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Label.vue.d.ts +0 -0
  172. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/LayoutTwo.vue.d.ts +0 -0
  173. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/ListCheckbox.vue.d.ts +0 -0
  174. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/ListNumbers.vue.d.ts +0 -0
  175. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Margin.vue.d.ts +0 -0
  176. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/MenuUnfold.vue.d.ts +0 -0
  177. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Next.vue.d.ts +0 -0
  178. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/PictureAlbum.vue.d.ts +0 -0
  179. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Planet.vue.d.ts +0 -0
  180. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Platte.vue.d.ts +0 -0
  181. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/QueryForm.vue.d.ts +0 -0
  182. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/RadioTwo.vue.d.ts +0 -0
  183. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/SearchButton.vue.d.ts +0 -0
  184. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Select.vue.d.ts +0 -0
  185. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Share.vue.d.ts +0 -0
  186. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/SwitchOne.vue.d.ts +0 -0
  187. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Table.vue.d.ts +0 -0
  188. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Tag.vue.d.ts +0 -0
  189. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Text.vue.d.ts +0 -0
  190. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/TextStyle.vue.d.ts +0 -0
  191. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Time.vue.d.ts +0 -0
  192. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Tips.vue.d.ts +0 -0
  193. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/TopicDiscussion.vue.d.ts +0 -0
  194. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/TreeList.vue.d.ts +0 -0
  195. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Upload.vue.d.ts +0 -0
  196. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/iconPark/Word.vue.d.ts +0 -0
  197. /package/{element-less/custom → custom}/dynamic/designerView/src/icon/index.vue.d.ts +0 -0
  198. /package/{element-less/custom → custom}/dynamic/designerView/src/inner.vue.d.ts +0 -0
  199. /package/{element-less/custom → custom}/dynamic/designerView/src/innerItem.vue.d.ts +0 -0
  200. /package/{element-less/custom → custom}/dynamic/designerView/src/operate.vue.d.ts +0 -0
  201. /package/{element-less/custom → custom}/dynamic/designerView/src/responseMappingEditor.vue.d.ts +0 -0
  202. /package/{element-less/custom → custom}/dynamic/designerView/src/schemaFieldEditor.vue.d.ts +0 -0
  203. /package/{element-less/custom → custom}/dynamic/designerView/src/show.vue.d.ts +0 -0
  204. /package/{element-less/custom → custom}/dynamic/designerView/src/spacingEditor.vue.d.ts +0 -0
  205. /package/{element-less/custom → custom}/dynamic/designerView/src/stateDesign.d.ts +0 -0
  206. /package/{element-less/custom → custom}/dynamic/designerView/src/wrap.vue.d.ts +0 -0
  207. /package/{element-less/custom → custom}/dynamic/render/index.d.ts +0 -0
  208. /package/{element-less/custom → custom}/dynamic/render/src/form.vue.d.ts +0 -0
  209. /package/{element-less/custom → custom}/dynamic/render/src/inner.vue.d.ts +0 -0
  210. /package/{element-less/custom → custom}/dynamic/render/src/innerArray.vue.d.ts +0 -0
  211. /package/{element-less/custom → custom}/dynamic/render/src/innerItem.vue.d.ts +0 -0
  212. /package/{element-less/custom → custom}/dynamic/render/src/innerObjectArray.vue.d.ts +0 -0
  213. /package/{element-less/custom → custom}/dynamic/render/src/innerWrap.vue.d.ts +0 -0
  214. /package/{element-less/custom → custom}/dynamic/render/src/nodeValueUtils.d.ts +0 -0
  215. /package/{element-less/custom → custom}/dynamic/render/src/render.d.ts +0 -0
  216. /package/{element-less/custom → custom}/dynamic/render/src/render.vue.d.ts +0 -0
  217. /package/{element-less/custom → custom}/dynamic/render/src/renderAsync.vue.d.ts +0 -0
  218. /package/{element-less/custom → custom}/dynamic/render/src/show.vue.d.ts +0 -0
  219. /package/{element-less/custom → custom}/form-node/index.d.ts +0 -0
  220. /package/{element-less/custom → custom}/form-node/src/formNode.vue.d.ts +0 -0
  221. /package/{element-less/custom → custom}/inputTag/index.d.ts +0 -0
  222. /package/{element-less/custom → custom}/inputTag/src/inputTag.vue.d.ts +0 -0
  223. /package/{element-less/custom → custom}/jsonEditor/index.d.ts +0 -0
  224. /package/{element-less/custom → custom}/jsonEditor/src/jsonEditor.vue.d.ts +0 -0
  225. /package/{element-less/custom → custom}/jsonViewer/index.d.ts +0 -0
  226. /package/{element-less/custom → custom}/jsonViewer/src/jsonViewer.d.ts +0 -0
  227. /package/{element-less/custom → custom}/jsonViewer/src/jsonViewer.vue.d.ts +0 -0
  228. /package/{element-less/custom → custom}/list/index.d.ts +0 -0
  229. /package/{element-less/custom → custom}/list/src/list.d.ts +0 -0
  230. /package/{element-less/custom → custom}/list/src/list.vue.d.ts +0 -0
  231. /package/{element-less/custom → custom}/mdEditor/index.d.ts +0 -0
  232. /package/{element-less/custom → custom}/mdEditor/src/mdEditor.vue.d.ts +0 -0
  233. /package/{element-less/custom → custom}/mdPreview/index.d.ts +0 -0
  234. /package/{element-less/custom → custom}/mdPreview/src/mdPreview.vue.d.ts +0 -0
  235. /package/{element-less/custom → custom}/menu-context/index.d.ts +0 -0
  236. /package/{element-less/custom → custom}/menu-context/src/menuContext.d.ts +0 -0
  237. /package/{element-less/custom → custom}/menu-context/src/menuContext.vue.d.ts +0 -0
  238. /package/{element-less/custom → custom}/menu-dropdown/index.d.ts +0 -0
  239. /package/{element-less/custom → custom}/menu-dropdown/src/menuDropdown.d.ts +0 -0
  240. /package/{element-less/custom → custom}/menu-dropdown/src/menuDropdown.vue.d.ts +0 -0
  241. /package/{element-less/custom → custom}/menu-tool/index.d.ts +0 -0
  242. /package/{element-less/custom → custom}/menu-tool/src/menuTool.d.ts +0 -0
  243. /package/{element-less/custom → custom}/menu-tool/src/menuTool.vue.d.ts +0 -0
  244. /package/{element-less/custom → custom}/qrCode/index.d.ts +0 -0
  245. /package/{element-less/custom → custom}/qrCode/src/qrCode.vue.d.ts +0 -0
  246. /package/{element-less/custom → custom}/requestForm/index.d.ts +0 -0
  247. /package/{element-less/custom → custom}/requestForm/src/requestForm.d.ts +0 -0
  248. /package/{element-less/custom → custom}/requestForm/src/requestForm.vue.d.ts +0 -0
  249. /package/{element-less/custom → custom}/stampBadge/src/stampBadge.d.ts +0 -0
  250. /package/{element-less/custom → custom}/tip/src/tip.d.ts +0 -0
  251. /package/{element-less/custom → custom}/tipTabEditor/index.d.ts +0 -0
  252. /package/{element-less/custom → custom}/tipTabEditor/src/tipTapEditor.d.ts +0 -0
  253. /package/{element-less/custom → custom}/tipTabEditor/src/tipTapEditor.vue.d.ts +0 -0
  254. /package/{element-less/custom → custom}/uEditor/index.d.ts +0 -0
  255. /package/{element-less/custom → custom}/uEditor/src/uEditor.vue.d.ts +0 -0
  256. /package/{element-less/custom → custom}/wangEditor/index.d.ts +0 -0
  257. /package/{element-less/custom → custom}/wangEditor/src/wangEditor.vue.d.ts +0 -0
  258. /package/{element-less/custom → custom}/waterFall/index.d.ts +0 -0
  259. /package/{element-less/custom → custom}/waterFall/src/lazyImage.vue.d.ts +0 -0
  260. /package/{element-less/custom → custom}/waterFall/src/lib/components/LazyImg.vue.d.ts +0 -0
  261. /package/{element-less/custom → custom}/waterFall/src/lib/components/Waterfall.vue.d.ts +0 -0
  262. /package/{element-less/custom → custom}/waterFall/src/lib/index.d.ts +0 -0
  263. /package/{element-less/custom → custom}/waterFall/src/lib/use/index.d.ts +0 -0
  264. /package/{element-less/custom → custom}/waterFall/src/lib/use/useCalculateCols.d.ts +0 -0
  265. /package/{element-less/custom → custom}/waterFall/src/lib/use/useLayout.d.ts +0 -0
  266. /package/{element-less/custom → custom}/waterFall/src/lib/utils/Lazy.d.ts +0 -0
  267. /package/{element-less/custom → custom}/waterFall/src/lib/utils/dom.d.ts +0 -0
  268. /package/{element-less/custom → custom}/waterFall/src/lib/utils/itemWidth.d.ts +0 -0
  269. /package/{element-less/custom → custom}/waterFall/src/lib/utils/loader.d.ts +0 -0
  270. /package/{element-less/custom → custom}/waterFall/src/lib/utils/util.d.ts +0 -0
  271. /package/{element-less/custom → custom}/waterFall/src/waterFall.d.ts +0 -0
  272. /package/{element-less/custom → custom}/waterFall/src/waterFall.vue.d.ts +0 -0
  273. /package/{element-less/custom → custom}/workFlow/index.d.ts +0 -0
  274. /package/{element-less/custom → custom}/workFlow/src/nodeItem.vue.d.ts +0 -0
  275. /package/{element-less/custom → custom}/workFlow/src/nodeRender.vue.d.ts +0 -0
  276. /package/{element-less/custom → custom}/workFlow/src/nodeRoot.vue.d.ts +0 -0
  277. /package/{element-less/custom → custom}/workFlow/src/workFlow.d.ts +0 -0
  278. /package/{element-less/custom → custom}/workFlow/src/workFlow.vue.d.ts +0 -0
  279. /package/{element-less/elementui → elementui}/autocomplete/index.d.ts +0 -0
  280. /package/{element-less/elementui → elementui}/autocomplete/src/autocomplete.vue.d.ts +0 -0
  281. /package/{element-less/elementui → elementui}/cascader/index.d.ts +0 -0
  282. /package/{element-less/elementui → elementui}/cascader/src/cascader.vue.d.ts +0 -0
  283. /package/{element-less/elementui → elementui}/checkbox/src/checkboxButton.vue.d.ts +0 -0
  284. /package/{element-less/elementui → elementui}/col/index.d.ts +0 -0
  285. /package/{element-less/elementui → elementui}/col/src/col.vue.d.ts +0 -0
  286. /package/{element-less/elementui → elementui}/collapse-transition/index.d.ts +0 -0
  287. /package/{element-less/elementui → elementui}/collapse-transition/src/collapseTransition.d.ts +0 -0
  288. /package/{element-less/elementui → elementui}/collapse-transition/src/collapseTransition.vue.d.ts +0 -0
  289. /package/{element-less/elementui → elementui}/date-picker/index.d.ts +0 -0
  290. /package/{element-less/elementui → elementui}/date-picker/src/datePicker.vue.d.ts +0 -0
  291. /package/{element-less/elementui → elementui}/date-picker-range/index.d.ts +0 -0
  292. /package/{element-less/elementui → elementui}/date-picker-range/src/datePickerRange.vue.d.ts +0 -0
  293. /package/{element-less/elementui → elementui}/dialog/index.d.ts +0 -0
  294. /package/{element-less/elementui → elementui}/dialog/src/dialog.d.ts +0 -0
  295. /package/{element-less/elementui → elementui}/dialog/src/dialog.vue.d.ts +0 -0
  296. /package/{element-less/elementui → elementui}/drawer/src/drawer.d.ts +0 -0
  297. /package/{element-less/elementui → elementui}/dropdown/src/dropdown.d.ts +0 -0
  298. /package/{element-less/elementui → elementui}/dropdown/src/dropdown.vue.d.ts +0 -0
  299. /package/{element-less/elementui → elementui}/form/index.d.ts +0 -0
  300. /package/{element-less/elementui → elementui}/form/src/form.d.ts +0 -0
  301. /package/{element-less/elementui → elementui}/form/src/form.vue.d.ts +0 -0
  302. /package/{element-less/elementui → elementui}/form-item/index.d.ts +0 -0
  303. /package/{element-less/elementui → elementui}/form-item/src/formItem.d.ts +0 -0
  304. /package/{element-less/elementui → elementui}/form-item/src/formItem.vue.d.ts +0 -0
  305. /package/{element-less/elementui → elementui}/form-query/index.d.ts +0 -0
  306. /package/{element-less/elementui → elementui}/form-query/src/formQuery.d.ts +0 -0
  307. /package/{element-less/elementui → elementui}/form-query/src/formQuery.vue.d.ts +0 -0
  308. /package/{element-less/elementui → elementui}/image/index.d.ts +0 -0
  309. /package/{element-less/elementui → elementui}/image/src/image.d.ts +0 -0
  310. /package/{element-less/elementui → elementui}/image/src/image.vue.d.ts +0 -0
  311. /package/{element-less/elementui → elementui}/image-viewer/index.d.ts +0 -0
  312. /package/{element-less/elementui → elementui}/image-viewer/src/imageViewer.d.ts +0 -0
  313. /package/{element-less/elementui → elementui}/image-viewer/src/imageViewer.vue.d.ts +0 -0
  314. /package/{element-less/elementui → elementui}/input/index.d.ts +0 -0
  315. /package/{element-less/elementui → elementui}/input/src/input.vue.d.ts +0 -0
  316. /package/{element-less/elementui → elementui}/input-number/index.d.ts +0 -0
  317. /package/{element-less/elementui → elementui}/input-number/src/inputNumber.vue.d.ts +0 -0
  318. /package/{element-less/elementui → elementui}/input-range/index.d.ts +0 -0
  319. /package/{element-less/elementui → elementui}/input-range/src/inputRange.vue.d.ts +0 -0
  320. /package/{element-less/elementui → elementui}/menu/index.d.ts +0 -0
  321. /package/{element-less/elementui → elementui}/menu/src/menu.d.ts +0 -0
  322. /package/{element-less/elementui → elementui}/menu/src/menu.vue.d.ts +0 -0
  323. /package/{element-less/elementui → elementui}/menu-item/index.d.ts +0 -0
  324. /package/{element-less/elementui → elementui}/menu-item/src/menuItem.d.ts +0 -0
  325. /package/{element-less/elementui → elementui}/menu-item/src/menuItem.vue.d.ts +0 -0
  326. /package/{element-less/elementui → elementui}/menu-sub/index.d.ts +0 -0
  327. /package/{element-less/elementui → elementui}/menu-sub/src/subMenu.d.ts +0 -0
  328. /package/{element-less/elementui → elementui}/menu-sub/src/subMenu.vue.d.ts +0 -0
  329. /package/{element-less/elementui → elementui}/option/index.d.ts +0 -0
  330. /package/{element-less/elementui → elementui}/option/src/option.vue.d.ts +0 -0
  331. /package/{element-less/elementui → elementui}/option-group/index.d.ts +0 -0
  332. /package/{element-less/elementui → elementui}/option-group/src/optionGroup.d.ts +0 -0
  333. /package/{element-less/elementui → elementui}/option-group/src/optionGroup.vue.d.ts +0 -0
  334. /package/{element-less/elementui → elementui}/radio/index.d.ts +0 -0
  335. /package/{element-less/elementui → elementui}/radio/src/radio.vue.d.ts +0 -0
  336. /package/{element-less/elementui → elementui}/radio/src/radioButton.vue.d.ts +0 -0
  337. /package/{element-less/elementui → elementui}/row/index.d.ts +0 -0
  338. /package/{element-less/elementui → elementui}/row/src/row.d.ts +0 -0
  339. /package/{element-less/elementui → elementui}/row/src/row.vue.d.ts +0 -0
  340. /package/{element-less/elementui → elementui}/segmented/index.d.ts +0 -0
  341. /package/{element-less/elementui → elementui}/segmented/src/segmented.vue.d.ts +0 -0
  342. /package/{element-less/elementui → elementui}/select/index.d.ts +0 -0
  343. /package/{element-less/elementui → elementui}/select/src/select.vue.d.ts +0 -0
  344. /package/{element-less/elementui → elementui}/slider/index.d.ts +0 -0
  345. /package/{element-less/elementui → elementui}/slider/src/slider.vue.d.ts +0 -0
  346. /package/{element-less/elementui → elementui}/switch/index.d.ts +0 -0
  347. /package/{element-less/elementui → elementui}/switch/src/switch.vue.d.ts +0 -0
  348. /package/{element-less/elementui → elementui}/table/index.d.ts +0 -0
  349. /package/{element-less/elementui → elementui}/table/src/table.d.ts +0 -0
  350. /package/{element-less/elementui → elementui}/table/src/table.vue.d.ts +0 -0
  351. /package/{element-less/elementui → elementui}/table-column/index.d.ts +0 -0
  352. /package/{element-less/elementui → elementui}/table-column/src/tableColumn.d.ts +0 -0
  353. /package/{element-less/elementui → elementui}/table-column/src/tableColumn.vue.d.ts +0 -0
  354. /package/{element-less/elementui → elementui}/table-column/src/tableColumnBool.vue.d.ts +0 -0
  355. /package/{element-less/elementui → elementui}/table-column/src/tableColumnCheckbox.vue.d.ts +0 -0
  356. /package/{element-less/elementui → elementui}/table-column/src/tableColumnEnum.vue.d.ts +0 -0
  357. /package/{element-less/elementui → elementui}/table-column/src/tableColumnExpand.vue.d.ts +0 -0
  358. /package/{element-less/elementui → elementui}/table-column/src/tableColumnHeader.vue.d.ts +0 -0
  359. /package/{element-less/elementui → elementui}/table-column/src/tableColumnImage.vue.d.ts +0 -0
  360. /package/{element-less/elementui → elementui}/table-column/src/tableColumnOperate.vue.d.ts +0 -0
  361. /package/{element-less/elementui → elementui}/table-column/src/tableColumnSelect.vue.d.ts +0 -0
  362. /package/{element-less/elementui → elementui}/tabs/index.d.ts +0 -0
  363. /package/{element-less/elementui → elementui}/tabs/src/tabs.d.ts +0 -0
  364. /package/{element-less/elementui → elementui}/tabs/src/tabs.vue.d.ts +0 -0
  365. /package/{element-less/elementui → elementui}/textarea/index.d.ts +0 -0
  366. /package/{element-less/elementui → elementui}/textarea/src/textarea.vue.d.ts +0 -0
  367. /package/{element-less/elementui → elementui}/time-picker/index.d.ts +0 -0
  368. /package/{element-less/elementui → elementui}/time-picker/src/timePicker.vue.d.ts +0 -0
  369. /package/{element-less/elementui → elementui}/time-picker-range/index.d.ts +0 -0
  370. /package/{element-less/elementui → elementui}/time-picker-range/src/timePickerRange.vue.d.ts +0 -0
  371. /package/{element-less/elementui → elementui}/tree/index.d.ts +0 -0
  372. /package/{element-less/elementui → elementui}/tree/src/tree.vue.d.ts +0 -0
  373. /package/{element-less/elementui → elementui}/tree-select/index.d.ts +0 -0
  374. /package/{element-less/elementui → elementui}/tree-select/src/treeSelect.vue.d.ts +0 -0
  375. /package/{element-less/elementui → elementui}/upload/index.d.ts +0 -0
  376. /package/{element-less/elementui → elementui}/upload/src/upload.vue.d.ts +0 -0
  377. /package/{element-less/export → export}/Export2Excel.d.ts +0 -0
  378. /package/{element-less/global.d.ts → global.d.ts} +0 -0
  379. /package/{element-less/hooks → hooks}/index.d.ts +0 -0
  380. /package/{element-less/hooks → hooks}/useModel.d.ts +0 -0
  381. /package/{element-less/hooks → hooks}/useProps.d.ts +0 -0
  382. /package/{element-less/hooks → hooks}/useSelect.d.ts +0 -0
  383. /package/{element-less/hooks → hooks}/useTree.d.ts +0 -0
  384. /package/{element-less/interfaces → interfaces}/IBaseCom.d.ts +0 -0
  385. /package/{element-less/interfaces → interfaces}/IQueryInfo.d.ts +0 -0
  386. /package/{element-less/interfaces → interfaces}/index.d.ts +0 -0
  387. /package/{element-less/props → props}/formItemProps.d.ts +0 -0
  388. /package/{element-less/props → props}/formProps.d.ts +0 -0
  389. /package/{element-less/props → props}/index.d.ts +0 -0
  390. /package/{element-less/store → store}/index.d.ts +0 -0
  391. /package/{element-less/store → store}/pinia.d.ts +0 -0
  392. /package/{element-less/types → types}/index.d.ts +0 -0
  393. /package/{element-less/utils → utils}/axiosInstance.d.ts +0 -0
  394. /package/{element-less/utils → utils}/lessPrototype.d.ts +0 -0
  395. /package/{element-less/utils → utils}/loadComponent.d.ts +0 -0
  396. /package/{element-less/utils → utils}/message.d.ts +0 -0
  397. /package/{element-less/utils → utils}/notification.d.ts +0 -0
  398. /package/{element-less/utils → utils}/powerQuery.d.ts +0 -0
  399. /package/{element-less/utils → utils}/types.d.ts +0 -0
@@ -29917,6 +29917,55 @@ const handler = {
29917
29917
  }
29918
29918
  };
29919
29919
  const ProxyElsNotification = new Proxy(ElsNotification, handler);
29920
+ let contextResolved = false;
29921
+ let resolvedContext;
29922
+ function getClientPageContext() {
29923
+ if (contextResolved) return resolvedContext;
29924
+ contextResolved = true;
29925
+ const payload = typeof window === "undefined" ? void 0 : window.__CLIENT_PAGE_CONTEXT__;
29926
+ if (!payload) return void 0;
29927
+ try {
29928
+ const powerQuery = { ...payload.powerQuery };
29929
+ const pageQuery = { ...payload.pageQuery };
29930
+ const existingKeys = new Set([...Object.keys(powerQuery), ...Object.keys(pageQuery)].map((key) => key.toLowerCase()));
29931
+ new URLSearchParams(window.location.search).forEach((value, key) => {
29932
+ if (existingKeys.has(key.toLowerCase())) return;
29933
+ const target = /^(Power_|Transfer_)/i.test(key) ? powerQuery : pageQuery;
29934
+ target[key] = value;
29935
+ });
29936
+ resolvedContext = { ...payload, powerQuery, pageQuery };
29937
+ return resolvedContext;
29938
+ } catch (error) {
29939
+ console.error("ClientPage 上下文读取失败", error);
29940
+ return void 0;
29941
+ }
29942
+ }
29943
+ function withClientPageQuery(path) {
29944
+ var _a;
29945
+ const url = new URL(path, window.location.origin);
29946
+ if (url.origin !== window.location.origin) throw new Error("管理接口只允许访问当前站点");
29947
+ const existing = new Set([...url.searchParams.keys()].map((key) => key.toLowerCase()));
29948
+ Object.entries(((_a = getClientPageContext()) == null ? void 0 : _a.powerQuery) ?? {}).forEach(([key, value]) => {
29949
+ if (/^(Power_|Transfer_)/i.test(key) && !existing.has(key.toLowerCase())) url.searchParams.set(key, value);
29950
+ });
29951
+ return `${url.pathname}${url.search}${url.hash}`;
29952
+ }
29953
+ function isClientPageRouteAllowed(path) {
29954
+ const context = getClientPageContext();
29955
+ if (!context) return true;
29956
+ return context.allowedRoutePrefixes.some((prefix) => path === prefix || path.startsWith(`${prefix}/`));
29957
+ }
29958
+ function findTopPowerMenu(...actionNames) {
29959
+ var _a, _b;
29960
+ const names = new Set(actionNames.map((name2) => name2.toLowerCase()));
29961
+ return (_b = (_a = getClientPageContext()) == null ? void 0 : _a.topMenu) == null ? void 0 : _b.find((menu) => {
29962
+ var _a2, _b2;
29963
+ return names.has(((_a2 = menu.ActionName) == null ? void 0 : _a2.toLowerCase()) ?? "") || names.has(((_b2 = menu.ButtonType) == null ? void 0 : _b2.toLowerCase()) ?? "");
29964
+ });
29965
+ }
29966
+ function hasTopPowerAction(...actionNames) {
29967
+ return Boolean(findTopPowerMenu(...actionNames));
29968
+ }
29920
29969
  function isPlainObject$1(value) {
29921
29970
  return Object.prototype.toString.call(value) === "[object Object]";
29922
29971
  }
@@ -29987,7 +30036,8 @@ const defaultConfig = {
29987
30036
  }
29988
30037
  },
29989
30038
  query: {
29990
- encrypt: ""
30039
+ encrypt: "",
30040
+ signatures: {}
29991
30041
  }
29992
30042
  };
29993
30043
  let globalConfig = mergeConfig(defaultConfig, {});
@@ -30001,6 +30051,14 @@ const leoMvcConfig = {
30001
30051
  confirmField: "ConfirmMessage"
30002
30052
  }
30003
30053
  };
30054
+ function createLeoMvcConfig() {
30055
+ var _a;
30056
+ return mergeConfig(leoMvcConfig, {
30057
+ query: {
30058
+ signatures: ((_a = getClientPageContext()) == null ? void 0 : _a.querySignatures) ?? {}
30059
+ }
30060
+ });
30061
+ }
30004
30062
  let axiosInstance;
30005
30063
  function getAxiosConfig() {
30006
30064
  if (!globalConfig || !globalConfig.axios) {
@@ -30515,8 +30573,10 @@ const utils = {
30515
30573
  return temp.toLowerCase();
30516
30574
  },
30517
30575
  getQuerySignature(source) {
30518
- var _a;
30519
- const encryptKey = (((_a = globalConfig.query) == null ? void 0 : _a.encrypt) || "").split("|").find(Boolean);
30576
+ var _a, _b, _c;
30577
+ const configuredSignature = (_b = (_a = globalConfig.query) == null ? void 0 : _a.signatures) == null ? void 0 : _b[source.toLowerCase()];
30578
+ if (configuredSignature) return configuredSignature;
30579
+ const encryptKey = (((_c = globalConfig.query) == null ? void 0 : _c.encrypt) || "").split("|").find(Boolean);
30520
30580
  return this.md5(encryptKey ? source.toLowerCase() + encryptKey : source);
30521
30581
  },
30522
30582
  getQueryParameters(queryData) {
@@ -38354,7 +38414,7 @@ const _sfc_main$2f = defineComponent({
38354
38414
  },
38355
38415
  emits: emits$2
38356
38416
  });
38357
- const Checkbox2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$2f, [["__scopeId", "data-v-78ccb311"]]);
38417
+ const Checkbox2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$2f, [["__scopeId", "data-v-f619f8ce"]]);
38358
38418
  const emits$1 = ["update:modelValue", "update:select", "update:select-label", "change", "click-option", "select", "blur", "clear", "readdataed"];
38359
38419
  const _sfc_main$2e = defineComponent({
38360
38420
  name: "ElsCheckboxButton",
@@ -43577,9 +43637,10 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
43577
43637
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(menuData.filter((ele) => ele.visible), (item, index) => {
43578
43638
  return openBlock(), createBlock(_component_els_menu_item, {
43579
43639
  key: index,
43640
+ index: String(item.id),
43580
43641
  isRootMenu: true,
43581
43642
  item
43582
- }, null, 8, ["item"]);
43643
+ }, null, 8, ["index", "item"]);
43583
43644
  }), 128))
43584
43645
  ]),
43585
43646
  _: 3
@@ -43679,8 +43740,9 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
43679
43740
  citem.children && citem.children.length > 0 ? (openBlock(), createBlock(_component_els_menu_item, {
43680
43741
  class: "nest-menu",
43681
43742
  item: citem,
43743
+ index: String(citem.id),
43682
43744
  key: index
43683
- }, null, 8, ["item"])) : (openBlock(), createBlock(unref(ElMenuItem), {
43745
+ }, null, 8, ["item", "index"])) : (openBlock(), createBlock(unref(ElMenuItem), {
43684
43746
  key: 1,
43685
43747
  index: citem.id,
43686
43748
  onClick: ($event) => unref(handleMenuClick)(citem)
@@ -44663,7 +44725,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
44663
44725
  ]),
44664
44726
  _: 2
44665
44727
  }, [
44666
- unref(slots).title ? {
44728
+ unref(slots).header ? {
44667
44729
  name: "header",
44668
44730
  fn: withCtx(() => [
44669
44731
  renderSlot(_ctx.$slots, "header")
@@ -45110,7 +45172,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
45110
45172
  };
45111
45173
  }
45112
45174
  });
45113
- const DropdownGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$1M, [["__scopeId", "data-v-0b99f55d"]]);
45175
+ const DropdownGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$1M, [["__scopeId", "data-v-5cbd8c5c"]]);
45114
45176
  const ElsDropdown = withInstall$1(_sfc_main$1N);
45115
45177
  const ElsDropdownGroup = withInstall$1(DropdownGroup);
45116
45178
  const sliderProps = buildProps({
@@ -49773,7 +49835,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
49773
49835
  };
49774
49836
  }
49775
49837
  });
49776
- const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["__scopeId", "data-v-c950eb09"]]);
49838
+ const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["__scopeId", "data-v-d985698f"]]);
49777
49839
  const tipProps = buildProps({
49778
49840
  /**
49779
49841
  * @description 标题
@@ -74564,11 +74626,11 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
74564
74626
  let componentName = h$1("div");
74565
74627
  const isVertical = ref(false);
74566
74628
  if (slots.default) {
74567
- componentName = slots.default().some((i) => {
74629
+ componentName = slots.default({}).some((i) => {
74568
74630
  var _a;
74569
74631
  return ["ElHeader", "ElContainer", "ElAside", "ElMain", "ElFooter"].includes((_a = i.type) == null ? void 0 : _a.name);
74570
74632
  }) ? ElContainer : h$1("div");
74571
- isVertical.value = slots.default().some((i) => {
74633
+ isVertical.value = slots.default({}).some((i) => {
74572
74634
  var _a;
74573
74635
  return ["ElHeader", "ElFooter"].includes((_a = i.type) == null ? void 0 : _a.name);
74574
74636
  });
@@ -74675,7 +74737,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
74675
74737
  };
74676
74738
  }
74677
74739
  });
74678
- const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-8c7b2466"]]);
74740
+ const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-3c215703"]]);
74679
74741
  const ElsContainer = withInstall$1(Container);
74680
74742
  const createProps = buildProps({
74681
74743
  /**
@@ -75133,7 +75195,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
75133
75195
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
75134
75196
  setup(__props, { emit: __emit }) {
75135
75197
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
75136
- return import("./innerItem-FnQH0903.js");
75198
+ return import("./innerItem-BIUmHfZq.js");
75137
75199
  });
75138
75200
  const { getValue: getValue2 } = useProps();
75139
75201
  const tagID = getValue2("tagID");
@@ -76171,10 +76233,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
76171
76233
  emits: ["update:modelValue"],
76172
76234
  setup(__props, { expose: __expose, emit: __emit }) {
76173
76235
  const DynamicRenderInner = defineAsyncComponent(() => {
76174
- return import("./inner-C0OkbEc2.js").then((n) => n.i);
76236
+ return import("./inner-CMnwN8Ec.js").then((n) => n.i);
76175
76237
  });
76176
76238
  const DynamicRenderForm = defineAsyncComponent(() => {
76177
- return import("./inner-C0OkbEc2.js").then((n) => n.f);
76239
+ return import("./inner-CMnwN8Ec.js").then((n) => n.f);
76178
76240
  });
76179
76241
  const props2 = __props;
76180
76242
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -76414,10 +76476,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
76414
76476
  emits: ["update:modelValue"],
76415
76477
  setup(__props, { expose: __expose, emit: __emit }) {
76416
76478
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
76417
- return import("./inner-C0OkbEc2.js").then((n) => n.i);
76479
+ return import("./inner-CMnwN8Ec.js").then((n) => n.i);
76418
76480
  });
76419
76481
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
76420
- return import("./inner-C0OkbEc2.js").then((n) => n.f);
76482
+ return import("./inner-CMnwN8Ec.js").then((n) => n.f);
76421
76483
  });
76422
76484
  const props2 = __props;
76423
76485
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -82819,33 +82881,28 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
82819
82881
  __publicField(this, "editor", ref());
82820
82882
  onMounted(() => {
82821
82883
  if (props2.language === "json") {
82822
- const currModule = import("./mode-json-CBGDHk1I.js").then((n) => n.m);
82823
- currModule.then((res) => {
82824
- ace.config.setModuleUrl("ace/mode/json", res);
82884
+ const currModule = import("./mode-json-BgjiG7Oi.js").then((n) => n.m);
82885
+ currModule.then(() => {
82825
82886
  this.init();
82826
82887
  });
82827
82888
  } else if (props2.language === "javascript") {
82828
- const currModule = import("./mode-javascript-DSOQ0OYj.js").then((n) => n.m);
82829
- currModule.then((res) => {
82830
- ace.config.setModuleUrl("ace/mode/javascript", res);
82889
+ const currModule = import("./mode-javascript-DGbBLmez.js").then((n) => n.m);
82890
+ currModule.then(() => {
82831
82891
  this.init();
82832
82892
  });
82833
82893
  } else if (props2.language === "csharp") {
82834
- const currModule = import("./mode-csharp-Dc-ZzBae.js").then((n) => n.m);
82835
- currModule.then((res) => {
82836
- ace.config.setModuleUrl("ace/mode/csharp", res);
82894
+ const currModule = import("./mode-csharp-CLnCaXfr.js").then((n) => n.m);
82895
+ currModule.then(() => {
82837
82896
  this.init();
82838
82897
  });
82839
82898
  } else if (props2.language === "mysql") {
82840
- const currModule = import("./mode-mysql-B3D7ET7g.js").then((n) => n.m);
82841
- currModule.then((res) => {
82842
- ace.config.setModuleUrl("ace/mode/mysql", res);
82899
+ const currModule = import("./mode-mysql-C_RAZ9pm.js").then((n) => n.m);
82900
+ currModule.then(() => {
82843
82901
  this.init();
82844
82902
  });
82845
82903
  } else if (props2.language === "css") {
82846
- const currModule = import("./mode-css-BpuO8xYN.js").then((n) => n.m);
82847
- currModule.then((res) => {
82848
- ace.config.setModuleUrl("ace/mode/css", res);
82904
+ const currModule = import("./mode-css-DdzWRI7c.js").then((n) => n.m);
82905
+ currModule.then(() => {
82849
82906
  this.init();
82850
82907
  });
82851
82908
  }
@@ -85172,7 +85229,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
85172
85229
  };
85173
85230
  }
85174
85231
  });
85175
- const NodeAdd = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-3cf341ed"]]);
85232
+ const NodeAdd = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-fa792504"]]);
85176
85233
  const _hoisted_1$b = { class: "condition-node-box" };
85177
85234
  const _hoisted_2$8 = { class: "auto-judge" };
85178
85235
  const _hoisted_3$7 = { class: "title-wrapper" };
@@ -86284,7 +86341,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
86284
86341
  };
86285
86342
  }
86286
86343
  });
86287
- const StampBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-18d51d32"]]);
86344
+ const StampBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-fcdb3014"]]);
86288
86345
  const BadgeTypes = [
86289
86346
  "default",
86290
86347
  "primary",
@@ -90602,8 +90659,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
90602
90659
  appKey: {},
90603
90660
  appSecret: {},
90604
90661
  version: { default: "2.0" },
90605
- plugins: { default: ["AMap.PlaceSearch", "AMap.AutoComplete", "AMap.Geolocation"] },
90606
- buttonProps: { default: {} }
90662
+ plugins: { default: () => ["AMap.PlaceSearch", "AMap.AutoComplete", "AMap.Geolocation"] },
90663
+ buttonProps: { default: () => ({}) }
90607
90664
  },
90608
90665
  emits: ["update:x", "update:y"],
90609
90666
  setup(__props, { emit: __emit }) {
@@ -90770,7 +90827,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
90770
90827
  };
90771
90828
  }
90772
90829
  });
90773
- const AMap = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-cec0fc98"]]);
90830
+ const AMap = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-9e290380"]]);
90774
90831
  const ElsAMap = withInstall$1(AMap);
90775
90832
  const getItemWidth = ({
90776
90833
  wrapperWidth,
@@ -91887,7 +91944,7 @@ export {
91887
91944
  ElsRequestForm as ay,
91888
91945
  ElsRow as az,
91889
91946
  buildSpacingCss as b,
91890
- segmentedProps as b$,
91947
+ optionGroupProps as b$,
91891
91948
  Segmented as b0,
91892
91949
  Select$1 as b1,
91893
91950
  Slider as b2,
@@ -91898,33 +91955,33 @@ export {
91898
91955
  UEditor as b7,
91899
91956
  Upload$2 as b8,
91900
91957
  WangEditor$1 as b9,
91901
- getAxiosInstance as bA,
91902
- globalConfig as bB,
91903
- imageProps as bC,
91904
- imageViewerProps as bD,
91905
- inputNumberProps as bE,
91906
- inputProps as bF,
91907
- inputRangeProps as bG,
91908
- inputTagProps as bH,
91909
- jsonEditorProps as bI,
91910
- jsonViewerProps as bJ,
91911
- leoMvcConfig as bK,
91912
- listProps as bL,
91913
- loadAsyncComponent as bM,
91914
- loadSkeletonAsyncComponent as bN,
91915
- mdEditorProps as bO,
91916
- menuContextProps as bP,
91917
- menuDropdownProps as bQ,
91918
- menuEmits as bR,
91919
- menuItemProps as bS,
91920
- menuProps as bT,
91921
- menuToolProps as bU,
91922
- mergeConfig as bV,
91923
- optionGroupProps as bW,
91924
- optionProps as bX,
91925
- radioProps as bY,
91926
- renderProps as bZ,
91927
- requestFormProps as b_,
91958
+ formQueryProps as bA,
91959
+ getAxiosConfig as bB,
91960
+ getAxiosInstance as bC,
91961
+ getClientPageContext as bD,
91962
+ globalConfig as bE,
91963
+ hasTopPowerAction as bF,
91964
+ imageProps as bG,
91965
+ imageViewerProps as bH,
91966
+ inputNumberProps as bI,
91967
+ inputProps as bJ,
91968
+ inputRangeProps as bK,
91969
+ inputTagProps as bL,
91970
+ isClientPageRouteAllowed as bM,
91971
+ jsonEditorProps as bN,
91972
+ jsonViewerProps as bO,
91973
+ leoMvcConfig as bP,
91974
+ listProps as bQ,
91975
+ loadAsyncComponent as bR,
91976
+ loadSkeletonAsyncComponent as bS,
91977
+ mdEditorProps as bT,
91978
+ menuContextProps as bU,
91979
+ menuDropdownProps as bV,
91980
+ menuEmits as bW,
91981
+ menuItemProps as bX,
91982
+ menuProps as bY,
91983
+ menuToolProps as bZ,
91984
+ mergeConfig as b_,
91928
91985
  aceEditorProps as ba,
91929
91986
  appendPowerPublicQuery as bb,
91930
91987
  appendQueryParameters as bc,
@@ -91937,41 +91994,47 @@ export {
91937
91994
  colorPickerProps as bj,
91938
91995
  containerProps as bk,
91939
91996
  createAxiosInstance as bl,
91940
- dataModalProps as bm,
91941
- datePickerProps as bn,
91942
- datePickerRangeProps as bo,
91943
- ElementLess as bp,
91944
- defaultConfig as bq,
91945
- designerProps as br,
91946
- designerViewProps as bs,
91947
- dialogProps as bt,
91948
- drawerProps as bu,
91949
- dropdownProps as bv,
91950
- formItemProps as bw,
91951
- formProps as bx,
91952
- formQueryProps as by,
91953
- getAxiosConfig as bz,
91997
+ createLeoMvcConfig as bm,
91998
+ dataModalProps as bn,
91999
+ datePickerProps as bo,
92000
+ datePickerRangeProps as bp,
92001
+ ElementLess as bq,
92002
+ defaultConfig as br,
92003
+ designerProps as bs,
92004
+ designerViewProps as bt,
92005
+ dialogProps as bu,
92006
+ drawerProps as bv,
92007
+ dropdownProps as bw,
92008
+ findTopPowerMenu as bx,
92009
+ formItemProps as by,
92010
+ formProps as bz,
91954
92011
  utils as c,
91955
- selectProps as c0,
91956
- setConfig as c1,
91957
- setJwtToken as c2,
91958
- setRequestInterceptors as c3,
91959
- setResponseInterceptors as c4,
91960
- sliderProps as c5,
91961
- stampBadgeProps as c6,
91962
- switchProps as c7,
91963
- tableColumnProps as c8,
91964
- tableProps as c9,
91965
- tabsProps as ca,
91966
- timePickerProps as cb,
91967
- timePickerRangeProps as cc,
91968
- tipProps as cd,
91969
- tipTapEditorProps as ce,
91970
- treeProps as cf,
91971
- uEditorProps as cg,
91972
- uploadProps as ch,
91973
- wangEditorProps as ci,
91974
- workFlowProps as cj,
92012
+ optionProps as c0,
92013
+ radioProps as c1,
92014
+ renderProps as c2,
92015
+ requestFormProps as c3,
92016
+ segmentedProps as c4,
92017
+ selectProps as c5,
92018
+ setConfig as c6,
92019
+ setJwtToken as c7,
92020
+ setRequestInterceptors as c8,
92021
+ setResponseInterceptors as c9,
92022
+ sliderProps as ca,
92023
+ stampBadgeProps as cb,
92024
+ switchProps as cc,
92025
+ tableColumnProps as cd,
92026
+ tableProps as ce,
92027
+ tabsProps as cf,
92028
+ timePickerProps as cg,
92029
+ timePickerRangeProps as ch,
92030
+ tipProps as ci,
92031
+ tipTapEditorProps as cj,
92032
+ treeProps as ck,
92033
+ uEditorProps as cl,
92034
+ uploadProps as cm,
92035
+ wangEditorProps as cn,
92036
+ withClientPageQuery as co,
92037
+ workFlowProps as cp,
91975
92038
  useComponentRef as d,
91976
92039
  DynamicRenderAsync as e,
91977
92040
  DynamicDesignerInner as f,
@@ -8,6 +8,7 @@ export * from './utils/types';
8
8
  export * from './utils/powerQuery';
9
9
  export * from './interfaces';
10
10
  export * from './config';
11
+ export * from './clientPage';
11
12
  type ElementLessApp = {
12
13
  component(name: string, component: any): unknown;
13
14
  config: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, useModel, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, unref, createVNode, mergeProps, withCtx, createBlock, Fragment, renderList, createElementVNode, toDisplayString, reactive, useAttrs, watchEffect, watch, provide, resolveDynamicComponent, createSlots, createCommentVNode, mergeModels, normalizeClass, createTextVNode } from "vue";
2
- import { u as useProps, a as useRender, b as buildSpacingCss, D as DynamicRender, c as utils, _ as _export_sfc, d as useComponentRef, e as DynamicRenderAsync } from "./index-feorBNG_.js";
2
+ import { u as useProps, a as useRender, b as buildSpacingCss, D as DynamicRender, c as utils, _ as _export_sfc, d as useComponentRef, e as DynamicRenderAsync } from "./index-CyBwvnGl.js";
3
3
  import "axios";
4
4
  import "@vueuse/core";
5
5
  const _hoisted_1$1 = ["innerHTML"];
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),a=require("./index-DKr8CTqR.cjs");require("axios"),require("@vueuse/core");const l=["innerHTML"],o={class:"els-dynamic-r-mobile-title"},n=["onClick"],t=e.defineComponent({__name:"innerObjectArray",props:{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}},emits:["update:nodeItem"],setup(t){const r=t,{setValue:u}=a.useProps(),d=e.useModel(t,"nodeItem"),{isMobile:m,componentProps:i,getArrayNodeValue:c,renderProps:s,getGlobalData:p,getRootNode:v,getParentNode:y,getCurrNode:f,getNodeValue:k}=a.useRender(r,d),C=e.ref(),h=e.computed(()=>{const e={...d.value.config.arrayConfig};return s(e)});function N(){return a.utils.cloneObj(d.value.arrayObjData)}const V=e.computed(()=>d.value.config.arrayConfig);function I(e){let l=d.value.config.arrayConfig.itemComponentTitle;try{if(!l.startsWith(":"))return function(e){let l=d.value.config.arrayConfig.itemComponentTitle;if(l.indexOf("{{")>-1&&l.indexOf("}}")>-1){const o=/{{([^}]+)}}/g,n=l.replace(o,(e,a)=>`\${${a}}`),t=k(e);return new Function("globalData,rootNode,parentNode,currNode,item,utils",`return \`${n}\``)(p(),v(),y(),f(),t,a.utils)}return l}(e);if(l=l.substring(1),!l)return"";const o=k(e);return new Function("globalData,rootNode,parentNode,currNode,item,utils",l.indexOf("return")>-1?l:`return ${l}`)(p(),v(),y(),f(),o,a.utils)}catch(o){return"计算属性"}}return u({getCurrNode:()=>c(d.value.children),getParentNode:()=>c(d.value.children)}),(t,r)=>{var u;const c=e.resolveComponent("van-cell-group"),s=e.resolveComponent("els-form"),p=e.resolveComponent("els-list");return e.openBlock(),e.createElementBlock("div",{class:"els-dynamic-array",style:e.normalizeStyle([null==(u=d.value.config.advancedConfig)?void 0:u.style,e.unref(a.buildSpacingCss)(d.value.config.advancedConfig)].filter(Boolean).join(";"))},[e.createVNode(p,e.mergeProps({modelValue:d.value.children,"onUpdate:modelValue":r[0]||(r[0]=e=>d.value.children=e),ref_key:"list",ref:C,onAdd:N,sortable:!e.unref(m),isRemove:!e.unref(m),hasForm:!1,"item-class-name":[{"els-dynamic-r-array":"Object"===d.value.arrayDataTypeName||"DynamicRender"===d.value.componentTypeName},{"els-dynamic-r-array-mobile":e.unref(m)}],borderType:V.value.borderType,style:[{"max-width":V.value.maxWidth?V.value.maxWidth+"px":""},{"max-height":V.value.maxHeight?V.value.maxHeight+"px":""},{display:"Horizontal"===V.value.arrangementType?"flex":""}],class:["els-dynamic-array-render",{horizontal:"Horizontal"===V.value.arrangementType}]},h.value),{collapseHeader:e.withCtx(({$item:o})=>[d.value.slots&&d.value.slots.length&&d.value.slots[0].children.length?(e.openBlock(),e.createBlock(a.DynamicRender,{key:0,config:d.value.slots[0].children,globalData:e.unref(k)(o),isMobile:e.unref(m)},null,8,["config","globalData","isMobile"])):(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:I(o)},null,8,l))]),default:e.withCtx(({element:a,$item:l,$index:t})=>[(e.openBlock(),e.createElementBlock("div",{key:a.itemKey,class:"els-dynamic-array-inner"},[e.createVNode(s,e.mergeProps({modelValue:d.value.children[t],"onUpdate:modelValue":e=>d.value.children[t]=e},e.unref(i)),{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(c,{title:d.value.keyName,key:a.itemKey},{title:e.withCtx(()=>[e.createElementVNode("div",o,[e.createElementVNode("span",null,e.toDisplayString(d.value.keyName+" "+(t+1)),1),e.createElementVNode("span",{class:"els-dynamic-remove",onClick:e=>{return a=t,void C.value.remove(a);var a}},"删除",8,n)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,key:a.keyID,arrayIndex:t,index:l},null,8,["nodeItem","arrayIndex","index"]))),128))]),_:2},1032,["title"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,key:a.keyID,arrayIndex:t,index:l},null,8,["nodeItem","arrayIndex","index"]))),128))]),_:2},1040,["modelValue","onUpdate:modelValue"])]))]),_:1},16,["modelValue","sortable","isRemove","item-class-name","borderType","style","class"])],4)}}}),r=a._export_sfc(t,[["__scopeId","data-v-63f7d636"]]),u=e.defineComponent({inheritAttrs:!1,__name:"innerItem",props:e.mergeModels({currDepath:{},parentNode:{},currNode:{},nodeType:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{},modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["update:modelValue","valueChange"],["update:nodeItem","update:modelValue"]),setup(l,{emit:o}){const n=e.useModel(l,"nodeItem"),t=o,r=e.ref(),u=e.useModel(l,"modelValue"),d=l,m=e.useAttrs(),i=e.ref(),c=e.ref({}),{isMobile:s,componentProps:p,getGlobalData:v}=a.useRender(d,n,u,c);n.value.slots&&n.value.slots.length&&n.value.slots.forEach(e=>{"String"===n.value.dataTypeName?c.value[e.name]="":c.value[e.name]={}}),e.watchEffect(()=>{i.value=u.value}),e.watch(i,e=>{t("update:modelValue",e),t("valueChange",e)},{deep:!0,immediate:!0});const y=e.ref("");return e.watchEffect(()=>{y.value=n.value.componentName}),a.useComponentRef(n,r),e.provide("getCurrNodeItem",()=>n.value),(l,o)=>{var t;return y.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),e.mergeProps({key:0},Object.assign({},e.unref(p),e.unref(m)),{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=e=>i.value=e),ref_key:"dyComponent",ref:r}),e.createSlots({_:2},[e.renderList(null==(t=n.value.slots)?void 0:t.filter(e=>e.children.length),l=>({name:l.name,fn:e.withCtx(o=>[e.createVNode(a.DynamicRenderAsync,{config:l.children,modelValue:void 0!==(null==o?void 0:o.row)?o.row:c.value[l.name],"onUpdate:modelValue":e=>void 0!==(null==o?void 0:o.row)?Object.assign(o.row,e):c.value[l.name]=e,globalData:Object.assign({},o,{componentValue:i.value.value,_parentGlobalData:e.unref(v)()}),isMobile:e.unref(s)},null,8,["config","modelValue","onUpdate:modelValue","globalData","isMobile"])])}))]),1040,["modelValue"])):e.createCommentVNode("",!0)}}}),d=e.defineComponent({__name:"innerArray",props:e.mergeModels({parentNode:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=l,{getValue:n}=a.useProps(),t=n("dataTypeData",[]),r=e.useModel(l,"nodeItem"),{isMobile:d,formProps:m,componentProps:i,renderDisabled:c}=a.useRender(o,r);function s(e){if(r.value.config.advancedConfig&&r.value.config.advancedConfig.eventChange){new Function("val,parentNode,currNode",r.value.config.advancedConfig.eventChange)(e,o.parentNode,r.value)}}function p(){const e=t.find(e=>e.value===r.value.arrayDataType);return e&&e.defaultValue?e.defaultValue:"String"==r.value.arrayDataTypeName?r.value.defaultValue?r.value.defaultValue:"":"Bool"==r.value.arrayDataTypeName?"true"===r.value.defaultValue:"Number"===r.value.arrayDataTypeName?null!=r.value.defaultValue&&""!==r.value.defaultValue?parseFloat(r.value.defaultValue):0:"Object"===r.value.arrayDataTypeName?{}:"Array"===r.value.arrayDataTypeName?[]:{}}function v(){return p()}function y(e){let a=[],l=p();if(void 0===e||""===e)a.push(l);else for(let o=0;o<e;o++)a.push(l);r.value.value=a}e.watch(()=>r.value.value,e=>{e&&Array.isArray(e)||y(r.value.config.arrayConfig.arrayDefaultLength)},{immediate:!0}),e.watch(()=>r.value.config.arrayConfig.arrayDefaultLength,e=>{y(e)});const f=e.computed(()=>{const e=Object.assign({},i.value,m.value);return delete e.label,e}),g=e.computed(()=>"Object"===r.value.arrayDataTypeName);return(a,o)=>{const n=e.resolveComponent("els-list");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["els-dynamic-array-render",{horizontal:"Horizontal"===r.value.config.arrayConfig.arrangementType}]),style:{"flex-grow":"1"}},[e.createVNode(n,{modelValue:r.value.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value.value=e),onAdd:v,"item-class-name":"Object"===r.value.arrayDataTypeName||"DynamicRender"===r.value.componentTypeName?"els-dynamic-r-array":"",borderType:r.value.config.arrayConfig.borderType,style:e.normalizeStyle([{"max-width":r.value.config.arrayConfig.maxWidth?r.value.config.arrayConfig.maxWidth+"px":""},{"max-height":r.value.config.arrayConfig.maxHeight?r.value.config.arrayConfig.maxHeight+"px":""},{display:"Horizontal"===r.value.config.arrayConfig.arrangementType?"flex":""},{"flex-wrap":"wrap"},{gap:"5px"},{overflow:"scroll"},{"padding-right":e.unref(d)||g.value?"0px":"20px"}])},{default:e.withCtx(({element:a,index:o})=>[(e.openBlock(),e.createBlock(u,e.mergeProps({class:{"els-dynamic-r-array-item":"ElsDynamicRender"===r.value.componentName}},f.value,{key:o,"parent-node":l.parentNode,"curr-node":r.value,disabled:e.unref(c)(),modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,prop:`[${o}]`,requiredMessage:"不能为空",nodeItem:r.value,style:r.value.config.advancedConfig.style,onValueChange:s}),null,16,["class","parent-node","curr-node","disabled","modelValue","onUpdate:modelValue","prop","nodeItem","style"]))]),_:1},8,["modelValue","item-class-name","borderType","style"])],2)}}}),m=a._export_sfc(d,[["__scopeId","data-v-02cea227"]]),i=e.defineComponent({inheritAttrs:!1,__name:"innerWrap",props:e.mergeModels({index:{},parentNode:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=e.useModel(l,"nodeItem"),n=l,{getValue:t,setValue:r}=a.useProps(),u=e.ref(),{renderIf:d,componentProps:m,getNodeValue:i,getCurrNode:c}=a.useRender(n,o),s=t("getResult",()=>({})),p=e.computed(()=>s(o.value.children)),v=t("getFormPropIndex",()=>"");return a.useComponentRef(o,u),o.value.keyCode&&"Object"===o.value.dataType?r({getCurrNode:()=>i(o.value.children),getParentNode:()=>c(),getFormPropIndex:()=>{let e=v();return e+=`[${n.index}].children`,e}}):r({getFormPropIndex:()=>{let e=v();return e+=`[${n.index}].children`,e}}),(a,l)=>{var n,t,r,i,c,s,v;return"ElsFormQuery"===(null==(n=o.value)?void 0:n.componentName)||"ElsRequestForm"===(null==(t=o.value)?void 0:t.componentName)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(d)()?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(null==(r=o.value)?void 0:r.componentName),e.mergeProps({key:0,style:null==(i=o.value.config.advancedConfig)?void 0:i.style},e.unref(m),{ref_key:"dyComponent",ref:u,modelValue:p.value,"onUpdate:modelValue":l[0]||(l[0]=e=>p.value=e),keyCode:"ElsRequestForm"===(null==(c=o.value)?void 0:c.componentName)?o.value.keyCode:void 0}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,index:-1,key:a.keyID},null,8,["nodeItem"]))),128))]),_:1},16,["style","modelValue","keyCode"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(d)()?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(null==(s=o.value)?void 0:s.componentName),e.mergeProps({key:0,style:null==(v=o.value.config.advancedConfig)?void 0:v.style},e.unref(m),{ref_key:"dyComponent",ref:u}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,index:l,key:a.keyID},null,8,["nodeItem","index"]))),128))]),_:1},16,["style"])):e.createCommentVNode("",!0)],64))}}}),c=["innerHTML"],s=e.defineComponent({inheritAttrs:!1,__name:"show",props:{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{},modelValue:{},modelModifiers:{}},emits:["update:nodeItem","update:modelValue"],setup(l){const o=e.useModel(l,"nodeItem"),n=e.ref(),t=e.useModel(l,"modelValue"),r=e.ref({}),u=l,{isMobile:d,componentProps:m,renderContent:i}=a.useRender(u,o,t,r);a.useComponentRef(o,n);const s=e.ref(""),p=e.ref(o.value.config.baseConfig.innerContent);return e.watchEffect(()=>{s.value=o.value.componentName}),e.provide("getCurrNodeItem",()=>o.value),(l,u)=>{var v;const y=e.resolveComponent("els-tip");return s.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value),e.mergeProps({key:0,modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=e=>t.value=e)},e.unref(m),{ref_key:"dyComponent",ref:n}),e.createSlots({default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:e.unref(i)(p.value)},null,8,c)):e.createCommentVNode("",!0)]),_:2},[e.renderList(null==(v=o.value.slots)?void 0:v.filter(e=>{var a;return null==(a=e.children)?void 0:a.length}),l=>({name:l.name,fn:e.withCtx(o=>[e.createVNode(a.DynamicRenderAsync,{config:l.children,modelValue:void 0!==(null==o?void 0:o.row)?o.row:r.value[l.name],"onUpdate:modelValue":e=>void 0!==(null==o?void 0:o.row)?Object.assign(o.row,e):r.value[l.name]=e,globalData:Object.assign({},o),isMobile:e.unref(d)},null,8,["config","modelValue","onUpdate:modelValue","globalData","isMobile"])])}))]),1040,["modelValue"])):(e.openBlock(),e.createBlock(y,{key:1,type:"danger"},{default:e.withCtx(()=>[...u[1]||(u[1]=[e.createTextVNode("未设置组件名",-1)])]),_:1}))}}}),p=e.defineComponent({__name:"form",props:e.mergeModels({isRoot:{type:Boolean}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=e.ref(),n=l,t=e.useModel(l,"nodeItem"),{setValue:r}=a.useProps(),{isMobile:u,getNodeValue:d,getCurrNode:m,componentProps:i}=a.useRender(n,t);return a.useComponentRef(t,o),r({getCurrNode:()=>d(t.value.children),getParentNode:()=>m(),getFormLabelPosition:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelPosition)||""},getFormLabelWidth:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelWidth)||""},getFormLabelSuffix:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelSuffix)||""}}),(n,r)=>{const m=e.resolveComponent("els-form");return e.unref(u)&&!l.isRoot?(e.openBlock(),e.createBlock(m,e.mergeProps({key:0,modelValue:t.value.children,"onUpdate:modelValue":r[0]||(r[0]=e=>t.value.children=e)},e.unref(i),{ref_key:"dyComponent",ref:o,key:t.value.keyID}),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent("van-cell-group"),{title:t.value.keyName},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{index:l,nodeItem:a,key:a.keyID},null,8,["index","nodeItem"]))),128))]),_:1},8,["title"]))]),_:1},16,["modelValue"])):(e.openBlock(),e.createBlock(m,e.mergeProps({key:1,modelValue:t.value.children,"onUpdate:modelValue":r[1]||(r[1]=e=>t.value.children=e)},e.unref(i),{ref_key:"dyComponent",ref:o,key:t.value.keyID}),{collapseHeader:e.withCtx(()=>[t.value.slots&&t.value.slots.length&&t.value.slots[0].children.length?(e.openBlock(),e.createBlock(a.DynamicRender,{key:0,config:t.value.slots[0].children,globalData:e.unref(d)(t.value.children),isMobile:e.unref(u)},null,8,["config","globalData","isMobile"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{index:l,nodeItem:a,key:a.keyID},null,8,["index","nodeItem"]))),128))]),_:1},16,["modelValue"]))}}}),v=a._export_sfc(p,[["__scopeId","data-v-4c911bc5"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"})),f=e.defineComponent({inheritAttrs:!1,__name:"inner",props:e.mergeModels({index:{},arrayIndex:{default:-1}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=l,{setValue:n}=a.useProps(),t=e.useModel(l,"nodeItem"),{isMobile:d,formProps:c,getCurrNode:p,renderIf:y,renderValueChange:f}=a.useRender(o,t),g=e.computed(()=>{var e;return"Object"!==t.value.dataTypeName&&"Object"!=t.value.arrayDataTypeName||"ElsCaption"!=(null==(e=t.value.config.baseConfig)?void 0:e.componentName)});return o.arrayIndex>-1&&n({getCurrNode:()=>p()}),(a,o)=>{var n;const p=e.resolveComponent("els-caption"),k=e.resolveComponent("els-form-node");return e.unref(y)()?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["Object"!==t.value.dataTypeName&&"Object"!=t.value.arrayDataTypeName||"ElsCaption"!=(null==(n=t.value.config.baseConfig)?void 0:n.componentName)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(p,e.mergeProps({key:0},t.value.config.baseConfig,{title:t.value.config.baseConfig.title||t.value.keyName}),null,16,["title"])),t.value.componentTypeName&&"Show"===t.value.componentGroup&&t.value.keyCode?(e.openBlock(),e.createBlock(s,{key:1,nodeItem:t.value,style:e.normalizeStyle(t.value.config.advancedConfig.style),modelValue:t.value.value,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.value=e),title:t.value.keyName},null,8,["nodeItem","style","modelValue","title"])):t.value.componentTypeName&&"Show"===t.value.componentGroup?(e.openBlock(),e.createBlock(s,{key:2,nodeItem:t.value,style:e.normalizeStyle(t.value.config.advancedConfig.style),title:t.value.keyName},null,8,["nodeItem","style","title"])):"Container"==t.value.componentGroup?(e.openBlock(),e.createBlock(i,{key:3,parentNode:t.value,nodeItem:t.value,index:l.index},null,8,["parentNode","nodeItem","index"])):"Array"===t.value.dataTypeName&&"Object"!==t.value.arrayDataType||"Array"===t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createBlock(k,e.mergeProps({key:4,childCreateFormItem:!1,createFormItem:g.value},e.unref(c),{prop:void 0,childType:"Array"===t.value.dataTypeName?"":t.value.componentTypeName}),{default:e.withCtx(()=>[e.createVNode(m,{nodeItem:t.value},null,8,["nodeItem"])]),_:1},16,["createFormItem","childType"])):"Object"==t.value.dataTypeName||"Array"===t.value.dataTypeName&&"Object"===t.value.arrayDataType?(e.openBlock(),e.createBlock(k,e.mergeProps({key:5,childCreateFormItem:!1,createFormItem:!e.unref(d)&&g.value},e.unref(c),{childType:"Array"===t.value.dataTypeName?"":t.value.componentTypeName}),{default:e.withCtx(()=>["Object"==t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(d)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent("van-cell-group"),{key:0,title:t.value.keyName},{default:e.withCtx(()=>["Object"==t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createBlock(u,{key:0,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.value=e),onValueChange:o[2]||(o[2]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"])):e.createCommentVNode("",!0)]),_:1},8,["title"])):(e.openBlock(),e.createBlock(u,{key:1,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.value=e),onValueChange:o[4]||(o[4]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"]))],64)):"Object"==t.value.dataTypeName?(e.openBlock(),e.createBlock(v,{key:1,nodeItem:t.value},null,8,["nodeItem"])):(e.openBlock(),e.createBlock(r,{key:2,nodeItem:t.value},null,8,["nodeItem"]))]),_:1},16,["createFormItem","childType"])):e.unref(d)&&t.value.componentTypeName&&"Form"===t.value.componentGroup?(e.openBlock(),e.createBlock(u,e.mergeProps({key:6,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[5]||(o[5]=e=>t.value.value=e)},e.unref(c),{onValueChange:o[6]||(o[6]=a=>e.unref(f)(a))}),null,16,["nodeItem","modelValue"])):t.value.componentTypeName&&"Form"===t.value.componentGroup?(e.openBlock(),e.createBlock(k,e.mergeProps({key:7,childCreateFormItem:!1,createFormItem:g.value},e.unref(c),{childType:t.value.componentTypeName}),{default:e.withCtx(()=>[e.createVNode(u,{nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[7]||(o[7]=e=>t.value.value=e),onValueChange:o[8]||(o[8]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"])]),_:1},16,["createFormItem","childType"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}}),g=a._export_sfc(f,[["__scopeId","data-v-6a27eb5e"]]),k=Object.freeze(Object.defineProperty({__proto__:null,default:g},Symbol.toStringTag,{value:"Module"}));exports.form=y,exports.inner=k;
1
+ "use strict";const e=require("vue"),a=require("./index-CahhBWse.cjs");require("axios"),require("@vueuse/core");const l=["innerHTML"],o={class:"els-dynamic-r-mobile-title"},n=["onClick"],t=e.defineComponent({__name:"innerObjectArray",props:{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}},emits:["update:nodeItem"],setup(t){const r=t,{setValue:u}=a.useProps(),d=e.useModel(t,"nodeItem"),{isMobile:m,componentProps:i,getArrayNodeValue:c,renderProps:s,getGlobalData:p,getRootNode:v,getParentNode:y,getCurrNode:f,getNodeValue:k}=a.useRender(r,d),C=e.ref(),h=e.computed(()=>{const e={...d.value.config.arrayConfig};return s(e)});function N(){return a.utils.cloneObj(d.value.arrayObjData)}const V=e.computed(()=>d.value.config.arrayConfig);function I(e){let l=d.value.config.arrayConfig.itemComponentTitle;try{if(!l.startsWith(":"))return function(e){let l=d.value.config.arrayConfig.itemComponentTitle;if(l.indexOf("{{")>-1&&l.indexOf("}}")>-1){const o=/{{([^}]+)}}/g,n=l.replace(o,(e,a)=>`\${${a}}`),t=k(e);return new Function("globalData,rootNode,parentNode,currNode,item,utils",`return \`${n}\``)(p(),v(),y(),f(),t,a.utils)}return l}(e);if(l=l.substring(1),!l)return"";const o=k(e);return new Function("globalData,rootNode,parentNode,currNode,item,utils",l.indexOf("return")>-1?l:`return ${l}`)(p(),v(),y(),f(),o,a.utils)}catch(o){return"计算属性"}}return u({getCurrNode:()=>c(d.value.children),getParentNode:()=>c(d.value.children)}),(t,r)=>{var u;const c=e.resolveComponent("van-cell-group"),s=e.resolveComponent("els-form"),p=e.resolveComponent("els-list");return e.openBlock(),e.createElementBlock("div",{class:"els-dynamic-array",style:e.normalizeStyle([null==(u=d.value.config.advancedConfig)?void 0:u.style,e.unref(a.buildSpacingCss)(d.value.config.advancedConfig)].filter(Boolean).join(";"))},[e.createVNode(p,e.mergeProps({modelValue:d.value.children,"onUpdate:modelValue":r[0]||(r[0]=e=>d.value.children=e),ref_key:"list",ref:C,onAdd:N,sortable:!e.unref(m),isRemove:!e.unref(m),hasForm:!1,"item-class-name":[{"els-dynamic-r-array":"Object"===d.value.arrayDataTypeName||"DynamicRender"===d.value.componentTypeName},{"els-dynamic-r-array-mobile":e.unref(m)}],borderType:V.value.borderType,style:[{"max-width":V.value.maxWidth?V.value.maxWidth+"px":""},{"max-height":V.value.maxHeight?V.value.maxHeight+"px":""},{display:"Horizontal"===V.value.arrangementType?"flex":""}],class:["els-dynamic-array-render",{horizontal:"Horizontal"===V.value.arrangementType}]},h.value),{collapseHeader:e.withCtx(({$item:o})=>[d.value.slots&&d.value.slots.length&&d.value.slots[0].children.length?(e.openBlock(),e.createBlock(a.DynamicRender,{key:0,config:d.value.slots[0].children,globalData:e.unref(k)(o),isMobile:e.unref(m)},null,8,["config","globalData","isMobile"])):(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:I(o)},null,8,l))]),default:e.withCtx(({element:a,$item:l,$index:t})=>[(e.openBlock(),e.createElementBlock("div",{key:a.itemKey,class:"els-dynamic-array-inner"},[e.createVNode(s,e.mergeProps({modelValue:d.value.children[t],"onUpdate:modelValue":e=>d.value.children[t]=e},e.unref(i)),{default:e.withCtx(()=>[e.unref(m)?(e.openBlock(),e.createBlock(c,{title:d.value.keyName,key:a.itemKey},{title:e.withCtx(()=>[e.createElementVNode("div",o,[e.createElementVNode("span",null,e.toDisplayString(d.value.keyName+" "+(t+1)),1),e.createElementVNode("span",{class:"els-dynamic-remove",onClick:e=>{return a=t,void C.value.remove(a);var a}},"删除",8,n)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,key:a.keyID,arrayIndex:t,index:l},null,8,["nodeItem","arrayIndex","index"]))),128))]),_:2},1032,["title"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,key:a.keyID,arrayIndex:t,index:l},null,8,["nodeItem","arrayIndex","index"]))),128))]),_:2},1040,["modelValue","onUpdate:modelValue"])]))]),_:1},16,["modelValue","sortable","isRemove","item-class-name","borderType","style","class"])],4)}}}),r=a._export_sfc(t,[["__scopeId","data-v-63f7d636"]]),u=e.defineComponent({inheritAttrs:!1,__name:"innerItem",props:e.mergeModels({currDepath:{},parentNode:{},currNode:{},nodeType:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{},modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["update:modelValue","valueChange"],["update:nodeItem","update:modelValue"]),setup(l,{emit:o}){const n=e.useModel(l,"nodeItem"),t=o,r=e.ref(),u=e.useModel(l,"modelValue"),d=l,m=e.useAttrs(),i=e.ref(),c=e.ref({}),{isMobile:s,componentProps:p,getGlobalData:v}=a.useRender(d,n,u,c);n.value.slots&&n.value.slots.length&&n.value.slots.forEach(e=>{"String"===n.value.dataTypeName?c.value[e.name]="":c.value[e.name]={}}),e.watchEffect(()=>{i.value=u.value}),e.watch(i,e=>{t("update:modelValue",e),t("valueChange",e)},{deep:!0,immediate:!0});const y=e.ref("");return e.watchEffect(()=>{y.value=n.value.componentName}),a.useComponentRef(n,r),e.provide("getCurrNodeItem",()=>n.value),(l,o)=>{var t;return y.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),e.mergeProps({key:0},Object.assign({},e.unref(p),e.unref(m)),{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=e=>i.value=e),ref_key:"dyComponent",ref:r}),e.createSlots({_:2},[e.renderList(null==(t=n.value.slots)?void 0:t.filter(e=>e.children.length),l=>({name:l.name,fn:e.withCtx(o=>[e.createVNode(a.DynamicRenderAsync,{config:l.children,modelValue:void 0!==(null==o?void 0:o.row)?o.row:c.value[l.name],"onUpdate:modelValue":e=>void 0!==(null==o?void 0:o.row)?Object.assign(o.row,e):c.value[l.name]=e,globalData:Object.assign({},o,{componentValue:i.value.value,_parentGlobalData:e.unref(v)()}),isMobile:e.unref(s)},null,8,["config","modelValue","onUpdate:modelValue","globalData","isMobile"])])}))]),1040,["modelValue"])):e.createCommentVNode("",!0)}}}),d=e.defineComponent({__name:"innerArray",props:e.mergeModels({parentNode:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=l,{getValue:n}=a.useProps(),t=n("dataTypeData",[]),r=e.useModel(l,"nodeItem"),{isMobile:d,formProps:m,componentProps:i,renderDisabled:c}=a.useRender(o,r);function s(e){if(r.value.config.advancedConfig&&r.value.config.advancedConfig.eventChange){new Function("val,parentNode,currNode",r.value.config.advancedConfig.eventChange)(e,o.parentNode,r.value)}}function p(){const e=t.find(e=>e.value===r.value.arrayDataType);return e&&e.defaultValue?e.defaultValue:"String"==r.value.arrayDataTypeName?r.value.defaultValue?r.value.defaultValue:"":"Bool"==r.value.arrayDataTypeName?"true"===r.value.defaultValue:"Number"===r.value.arrayDataTypeName?null!=r.value.defaultValue&&""!==r.value.defaultValue?parseFloat(r.value.defaultValue):0:"Object"===r.value.arrayDataTypeName?{}:"Array"===r.value.arrayDataTypeName?[]:{}}function v(){return p()}function y(e){let a=[],l=p();if(void 0===e||""===e)a.push(l);else for(let o=0;o<e;o++)a.push(l);r.value.value=a}e.watch(()=>r.value.value,e=>{e&&Array.isArray(e)||y(r.value.config.arrayConfig.arrayDefaultLength)},{immediate:!0}),e.watch(()=>r.value.config.arrayConfig.arrayDefaultLength,e=>{y(e)});const f=e.computed(()=>{const e=Object.assign({},i.value,m.value);return delete e.label,e}),g=e.computed(()=>"Object"===r.value.arrayDataTypeName);return(a,o)=>{const n=e.resolveComponent("els-list");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["els-dynamic-array-render",{horizontal:"Horizontal"===r.value.config.arrayConfig.arrangementType}]),style:{"flex-grow":"1"}},[e.createVNode(n,{modelValue:r.value.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value.value=e),onAdd:v,"item-class-name":"Object"===r.value.arrayDataTypeName||"DynamicRender"===r.value.componentTypeName?"els-dynamic-r-array":"",borderType:r.value.config.arrayConfig.borderType,style:e.normalizeStyle([{"max-width":r.value.config.arrayConfig.maxWidth?r.value.config.arrayConfig.maxWidth+"px":""},{"max-height":r.value.config.arrayConfig.maxHeight?r.value.config.arrayConfig.maxHeight+"px":""},{display:"Horizontal"===r.value.config.arrayConfig.arrangementType?"flex":""},{"flex-wrap":"wrap"},{gap:"5px"},{overflow:"scroll"},{"padding-right":e.unref(d)||g.value?"0px":"20px"}])},{default:e.withCtx(({element:a,index:o})=>[(e.openBlock(),e.createBlock(u,e.mergeProps({class:{"els-dynamic-r-array-item":"ElsDynamicRender"===r.value.componentName}},f.value,{key:o,"parent-node":l.parentNode,"curr-node":r.value,disabled:e.unref(c)(),modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,prop:`[${o}]`,requiredMessage:"不能为空",nodeItem:r.value,style:r.value.config.advancedConfig.style,onValueChange:s}),null,16,["class","parent-node","curr-node","disabled","modelValue","onUpdate:modelValue","prop","nodeItem","style"]))]),_:1},8,["modelValue","item-class-name","borderType","style"])],2)}}}),m=a._export_sfc(d,[["__scopeId","data-v-02cea227"]]),i=e.defineComponent({inheritAttrs:!1,__name:"innerWrap",props:e.mergeModels({index:{},parentNode:{}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=e.useModel(l,"nodeItem"),n=l,{getValue:t,setValue:r}=a.useProps(),u=e.ref(),{renderIf:d,componentProps:m,getNodeValue:i,getCurrNode:c}=a.useRender(n,o),s=t("getResult",()=>({})),p=e.computed(()=>s(o.value.children)),v=t("getFormPropIndex",()=>"");return a.useComponentRef(o,u),o.value.keyCode&&"Object"===o.value.dataType?r({getCurrNode:()=>i(o.value.children),getParentNode:()=>c(),getFormPropIndex:()=>{let e=v();return e+=`[${n.index}].children`,e}}):r({getFormPropIndex:()=>{let e=v();return e+=`[${n.index}].children`,e}}),(a,l)=>{var n,t,r,i,c,s,v;return"ElsFormQuery"===(null==(n=o.value)?void 0:n.componentName)||"ElsRequestForm"===(null==(t=o.value)?void 0:t.componentName)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(d)()?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(null==(r=o.value)?void 0:r.componentName),e.mergeProps({key:0,style:null==(i=o.value.config.advancedConfig)?void 0:i.style},e.unref(m),{ref_key:"dyComponent",ref:u,modelValue:p.value,"onUpdate:modelValue":l[0]||(l[0]=e=>p.value=e),keyCode:"ElsRequestForm"===(null==(c=o.value)?void 0:c.componentName)?o.value.keyCode:void 0}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,index:-1,key:a.keyID},null,8,["nodeItem"]))),128))]),_:1},16,["style","modelValue","keyCode"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(d)()?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(null==(s=o.value)?void 0:s.componentName),e.mergeProps({key:0,style:null==(v=o.value.config.advancedConfig)?void 0:v.style},e.unref(m),{ref_key:"dyComponent",ref:u}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{nodeItem:a,index:l,key:a.keyID},null,8,["nodeItem","index"]))),128))]),_:1},16,["style"])):e.createCommentVNode("",!0)],64))}}}),c=["innerHTML"],s=e.defineComponent({inheritAttrs:!1,__name:"show",props:{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{},modelValue:{},modelModifiers:{}},emits:["update:nodeItem","update:modelValue"],setup(l){const o=e.useModel(l,"nodeItem"),n=e.ref(),t=e.useModel(l,"modelValue"),r=e.ref({}),u=l,{isMobile:d,componentProps:m,renderContent:i}=a.useRender(u,o,t,r);a.useComponentRef(o,n);const s=e.ref(""),p=e.ref(o.value.config.baseConfig.innerContent);return e.watchEffect(()=>{s.value=o.value.componentName}),e.provide("getCurrNodeItem",()=>o.value),(l,u)=>{var v;const y=e.resolveComponent("els-tip");return s.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.value),e.mergeProps({key:0,modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=e=>t.value=e)},e.unref(m),{ref_key:"dyComponent",ref:n}),e.createSlots({default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:e.unref(i)(p.value)},null,8,c)):e.createCommentVNode("",!0)]),_:2},[e.renderList(null==(v=o.value.slots)?void 0:v.filter(e=>{var a;return null==(a=e.children)?void 0:a.length}),l=>({name:l.name,fn:e.withCtx(o=>[e.createVNode(a.DynamicRenderAsync,{config:l.children,modelValue:void 0!==(null==o?void 0:o.row)?o.row:r.value[l.name],"onUpdate:modelValue":e=>void 0!==(null==o?void 0:o.row)?Object.assign(o.row,e):r.value[l.name]=e,globalData:Object.assign({},o),isMobile:e.unref(d)},null,8,["config","modelValue","onUpdate:modelValue","globalData","isMobile"])])}))]),1040,["modelValue"])):(e.openBlock(),e.createBlock(y,{key:1,type:"danger"},{default:e.withCtx(()=>[...u[1]||(u[1]=[e.createTextVNode("未设置组件名",-1)])]),_:1}))}}}),p=e.defineComponent({__name:"form",props:e.mergeModels({isRoot:{type:Boolean}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=e.ref(),n=l,t=e.useModel(l,"nodeItem"),{setValue:r}=a.useProps(),{isMobile:u,getNodeValue:d,getCurrNode:m,componentProps:i}=a.useRender(n,t);return a.useComponentRef(t,o),r({getCurrNode:()=>d(t.value.children),getParentNode:()=>m(),getFormLabelPosition:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelPosition)||""},getFormLabelWidth:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelWidth)||""},getFormLabelSuffix:()=>{var e,a;return(null==(a=null==(e=t.value.config)?void 0:e.baseConfig)?void 0:a.labelSuffix)||""}}),(n,r)=>{const m=e.resolveComponent("els-form");return e.unref(u)&&!l.isRoot?(e.openBlock(),e.createBlock(m,e.mergeProps({key:0,modelValue:t.value.children,"onUpdate:modelValue":r[0]||(r[0]=e=>t.value.children=e)},e.unref(i),{ref_key:"dyComponent",ref:o,key:t.value.keyID}),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent("van-cell-group"),{title:t.value.keyName},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{index:l,nodeItem:a,key:a.keyID},null,8,["index","nodeItem"]))),128))]),_:1},8,["title"]))]),_:1},16,["modelValue"])):(e.openBlock(),e.createBlock(m,e.mergeProps({key:1,modelValue:t.value.children,"onUpdate:modelValue":r[1]||(r[1]=e=>t.value.children=e)},e.unref(i),{ref_key:"dyComponent",ref:o,key:t.value.keyID}),{collapseHeader:e.withCtx(()=>[t.value.slots&&t.value.slots.length&&t.value.slots[0].children.length?(e.openBlock(),e.createBlock(a.DynamicRender,{key:0,config:t.value.slots[0].children,globalData:e.unref(d)(t.value.children),isMobile:e.unref(u)},null,8,["config","globalData","isMobile"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.children,(a,l)=>(e.openBlock(),e.createBlock(g,{index:l,nodeItem:a,key:a.keyID},null,8,["index","nodeItem"]))),128))]),_:1},16,["modelValue"]))}}}),v=a._export_sfc(p,[["__scopeId","data-v-4c911bc5"]]),y=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"})),f=e.defineComponent({inheritAttrs:!1,__name:"inner",props:e.mergeModels({index:{},arrayIndex:{default:-1}},{nodeItem:{default:()=>e.reactive([])},nodeItemModifiers:{}}),emits:["update:nodeItem"],setup(l){const o=l,{setValue:n}=a.useProps(),t=e.useModel(l,"nodeItem"),{isMobile:d,formProps:c,getCurrNode:p,renderIf:y,renderValueChange:f}=a.useRender(o,t),g=e.computed(()=>{var e;return"Object"!==t.value.dataTypeName&&"Object"!=t.value.arrayDataTypeName||"ElsCaption"!=(null==(e=t.value.config.baseConfig)?void 0:e.componentName)});return o.arrayIndex>-1&&n({getCurrNode:()=>p()}),(a,o)=>{var n;const p=e.resolveComponent("els-caption"),k=e.resolveComponent("els-form-node");return e.unref(y)()?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["Object"!==t.value.dataTypeName&&"Object"!=t.value.arrayDataTypeName||"ElsCaption"!=(null==(n=t.value.config.baseConfig)?void 0:n.componentName)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(p,e.mergeProps({key:0},t.value.config.baseConfig,{title:t.value.config.baseConfig.title||t.value.keyName}),null,16,["title"])),t.value.componentTypeName&&"Show"===t.value.componentGroup&&t.value.keyCode?(e.openBlock(),e.createBlock(s,{key:1,nodeItem:t.value,style:e.normalizeStyle(t.value.config.advancedConfig.style),modelValue:t.value.value,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.value=e),title:t.value.keyName},null,8,["nodeItem","style","modelValue","title"])):t.value.componentTypeName&&"Show"===t.value.componentGroup?(e.openBlock(),e.createBlock(s,{key:2,nodeItem:t.value,style:e.normalizeStyle(t.value.config.advancedConfig.style),title:t.value.keyName},null,8,["nodeItem","style","title"])):"Container"==t.value.componentGroup?(e.openBlock(),e.createBlock(i,{key:3,parentNode:t.value,nodeItem:t.value,index:l.index},null,8,["parentNode","nodeItem","index"])):"Array"===t.value.dataTypeName&&"Object"!==t.value.arrayDataType||"Array"===t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createBlock(k,e.mergeProps({key:4,childCreateFormItem:!1,createFormItem:g.value},e.unref(c),{prop:void 0,childType:"Array"===t.value.dataTypeName?"":t.value.componentTypeName}),{default:e.withCtx(()=>[e.createVNode(m,{nodeItem:t.value},null,8,["nodeItem"])]),_:1},16,["createFormItem","childType"])):"Object"==t.value.dataTypeName||"Array"===t.value.dataTypeName&&"Object"===t.value.arrayDataType?(e.openBlock(),e.createBlock(k,e.mergeProps({key:5,childCreateFormItem:!1,createFormItem:!e.unref(d)&&g.value},e.unref(c),{childType:"Array"===t.value.dataTypeName?"":t.value.componentTypeName}),{default:e.withCtx(()=>["Object"==t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(d)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent("van-cell-group"),{key:0,title:t.value.keyName},{default:e.withCtx(()=>["Object"==t.value.dataTypeName&&t.value.componentTypeName?(e.openBlock(),e.createBlock(u,{key:0,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.value=e),onValueChange:o[2]||(o[2]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"])):e.createCommentVNode("",!0)]),_:1},8,["title"])):(e.openBlock(),e.createBlock(u,{key:1,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.value=e),onValueChange:o[4]||(o[4]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"]))],64)):"Object"==t.value.dataTypeName?(e.openBlock(),e.createBlock(v,{key:1,nodeItem:t.value},null,8,["nodeItem"])):(e.openBlock(),e.createBlock(r,{key:2,nodeItem:t.value},null,8,["nodeItem"]))]),_:1},16,["createFormItem","childType"])):e.unref(d)&&t.value.componentTypeName&&"Form"===t.value.componentGroup?(e.openBlock(),e.createBlock(u,e.mergeProps({key:6,nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[5]||(o[5]=e=>t.value.value=e)},e.unref(c),{onValueChange:o[6]||(o[6]=a=>e.unref(f)(a))}),null,16,["nodeItem","modelValue"])):t.value.componentTypeName&&"Form"===t.value.componentGroup?(e.openBlock(),e.createBlock(k,e.mergeProps({key:7,childCreateFormItem:!1,createFormItem:g.value},e.unref(c),{childType:t.value.componentTypeName}),{default:e.withCtx(()=>[e.createVNode(u,{nodeItem:t.value,modelValue:t.value.value,"onUpdate:modelValue":o[7]||(o[7]=e=>t.value.value=e),onValueChange:o[8]||(o[8]=a=>e.unref(f)(a))},null,8,["nodeItem","modelValue"])]),_:1},16,["createFormItem","childType"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}}),g=a._export_sfc(f,[["__scopeId","data-v-6a27eb5e"]]),k=Object.freeze(Object.defineProperty({__proto__:null,default:g},Symbol.toStringTag,{value:"Module"}));exports.form=y,exports.inner=k;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, normalizeClass, unref, isRef, withCtx, createBlock, toDisplayString, createCommentVNode, createElementVNode, createSlots, createTextVNode, nextTick } from "vue";
2
2
  import { useVModel } from "@vueuse/core";
3
- import { u as useProps, c as utils, p as property_arrayAndObject, f as DynamicDesignerInner, e as DynamicRenderAsync, h as property_array, i as property_formItem, j as property_advanced, P as ProxyElsMessage, _ as _export_sfc } from "./index-feorBNG_.js";
3
+ import { u as useProps, c as utils, p as property_arrayAndObject, f as DynamicDesignerInner, e as DynamicRenderAsync, h as property_array, i as property_formItem, j as property_advanced, P as ProxyElsMessage, _ as _export_sfc } from "./index-CyBwvnGl.js";
4
4
  import "element-plus";
5
5
  const _hoisted_1$2 = {
6
6
  key: 0,