@vipl520/dk-ui 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (633) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3936 -3149
  4. package/dist/index.min.js +7 -7
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +7 -7
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +3932 -3147
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue.mjs +1 -1
  12. package/es/attachment/src/file-icon.vue.mjs +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  14. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  15. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  16. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  17. package/es/color-input/src/color-input.vue.mjs +1 -1
  18. package/es/dialog/src/dialog.vue.mjs +1 -1
  19. package/es/file-input/src/file-input.vue.mjs +1 -1
  20. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  21. package/es/file-list-input/style/index.scss +1 -1
  22. package/es/form/src/form.vue.mjs +1 -1
  23. package/es/form/style/index.css +1 -1
  24. package/es/form/style/index.scss +3 -3
  25. package/es/group/src/group.vue.mjs +1 -1
  26. package/es/hot-area-input/index.d.ts +15 -0
  27. package/es/hot-area-input/index.mjs +8 -0
  28. package/es/hot-area-input/index.mjs.map +1 -0
  29. package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  30. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
  31. package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
  32. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
  33. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
  34. package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  35. package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
  36. package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
  37. package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
  38. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
  39. package/es/hot-area-input/src/props.d.ts +8 -0
  40. package/es/hot-area-input/src/props.mjs +11 -0
  41. package/es/hot-area-input/src/props.mjs.map +1 -0
  42. package/es/hot-area-input/style/index.css +1 -0
  43. package/es/hot-area-input/style/index.scss +40 -0
  44. package/es/icon/src/icon.vue.mjs +1 -1
  45. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  46. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  47. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  48. package/es/image-input/src/image-input.vue.mjs +1 -1
  49. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  50. package/es/index.d.ts +1 -0
  51. package/es/index.mjs +5 -1
  52. package/es/index.mjs.map +1 -1
  53. package/es/index.scss +1 -62
  54. package/es/page-diy/index.d.ts +59 -23
  55. package/es/page-diy/index.mjs +0 -4
  56. package/es/page-diy/index.mjs.map +1 -1
  57. package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
  58. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  59. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  60. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +1 -1
  61. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  62. package/es/page-diy/src/config/base/dkPage.mjs +0 -49
  63. package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
  64. package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
  65. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  66. package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  67. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
  68. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
  69. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  70. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
  71. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
  72. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  73. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
  74. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
  75. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  76. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
  77. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
  78. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  79. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
  80. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
  81. package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  82. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
  83. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
  84. package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  85. package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
  86. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
  87. package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
  88. package/es/page-diy/src/config/rule/min/index.mjs +17 -0
  89. package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
  90. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
  91. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
  92. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
  93. package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
  94. package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
  95. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
  96. package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
  97. package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
  98. package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
  99. package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
  100. package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
  101. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
  102. package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
  103. package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
  104. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
  105. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
  106. package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
  107. package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  108. package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
  109. package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
  110. package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
  111. package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
  112. package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
  113. package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
  114. package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
  115. package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
  116. package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
  117. package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
  118. package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
  119. package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
  120. package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
  121. package/es/page-diy/src/page-diy.vue.d.ts +59 -23
  122. package/es/page-diy/src/page-diy.vue.mjs +53 -187
  123. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  124. package/es/page-diy/src/props.d.ts +21 -4
  125. package/es/page-diy/src/props.mjs +28 -6
  126. package/es/page-diy/src/props.mjs.map +1 -1
  127. package/es/page-diy/src/utils/help.mjs.map +1 -1
  128. package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  129. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
  130. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
  131. package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  132. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +126 -0
  133. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
  134. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  135. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
  136. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
  137. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
  138. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
  139. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  140. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
  141. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
  142. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
  143. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
  144. package/es/page-diy/src/views/min/index.mjs +18 -0
  145. package/es/page-diy/src/views/min/index.mjs.map +1 -0
  146. package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
  147. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
  148. package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
  149. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
  150. package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
  151. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
  152. package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
  153. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
  154. package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
  155. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
  156. package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
  157. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
  158. package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
  159. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
  160. package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
  161. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
  162. package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
  163. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
  164. package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
  165. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
  166. package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
  167. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
  168. package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
  169. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
  170. package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
  171. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
  172. package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
  173. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
  174. package/es/page-diy/src/views/web/index.mjs.map +1 -0
  175. package/es/page-diy/style/drag-tool.css +1 -1
  176. package/es/page-diy/style/drag-tool.scss +2 -2
  177. package/es/page-diy/style/index.css +1 -1
  178. package/es/page-diy/style/index.scss +1 -0
  179. package/es/page-diy/style/minViews/index.scss +26 -0
  180. package/es/page-diy/style/preview-phone.css +1 -1
  181. package/es/page-diy/style/preview-phone.scss +36 -2
  182. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  183. package/es/poster-input/src/component/poster.vue2.mjs +13 -13
  184. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  185. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  186. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  187. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  188. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  189. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  190. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  191. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  192. package/es/select/src/select.vue.mjs +1 -1
  193. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  194. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  195. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  196. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  197. package/es/style-input/src/style-input.vue.mjs +1 -1
  198. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  199. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  200. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  201. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  202. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  203. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  204. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  205. package/es/table/src/components/header.vue.mjs +1 -1
  206. package/es/table/src/table.vue.mjs +1 -1
  207. package/es/test/src/test.vue.mjs +1 -1
  208. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  209. package/es/video-input/src/video-input.vue.mjs +1 -1
  210. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  211. package/lib/attachment/src/attachment.vue.js +1 -1
  212. package/lib/attachment/src/file-icon.vue.js +1 -1
  213. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  214. package/lib/audio-input/src/audio-input.vue.js +1 -1
  215. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  216. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  217. package/lib/color-input/src/color-input.vue.js +1 -1
  218. package/lib/dialog/src/dialog.vue.js +1 -1
  219. package/lib/file-input/src/file-input.vue.js +1 -1
  220. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  221. package/lib/file-list-input/style/index.scss +1 -1
  222. package/lib/form/src/form.vue.js +1 -1
  223. package/lib/form/style/index.css +1 -1
  224. package/lib/form/style/index.scss +3 -3
  225. package/lib/group/src/group.vue.js +1 -1
  226. package/lib/hot-area-input/index.d.ts +15 -0
  227. package/lib/hot-area-input/index.js +14 -0
  228. package/lib/hot-area-input/index.js.map +1 -0
  229. package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  230. package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
  231. package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
  232. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
  233. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
  234. package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  235. package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
  236. package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
  237. package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
  238. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
  239. package/lib/hot-area-input/src/props.d.ts +8 -0
  240. package/lib/hot-area-input/src/props.js +13 -0
  241. package/lib/hot-area-input/src/props.js.map +1 -0
  242. package/lib/hot-area-input/style/index.css +1 -0
  243. package/lib/hot-area-input/style/index.scss +40 -0
  244. package/lib/icon/src/icon.vue.js +1 -1
  245. package/lib/icon-input/src/icon-content.vue.js +1 -1
  246. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  247. package/lib/icon-input/src/icon-input.vue.js +1 -1
  248. package/lib/image-input/src/image-input.vue.js +1 -1
  249. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  250. package/lib/index.d.ts +1 -0
  251. package/lib/index.js +148 -142
  252. package/lib/index.js.map +1 -1
  253. package/lib/index.scss +1 -62
  254. package/lib/page-diy/index.d.ts +59 -23
  255. package/lib/page-diy/index.js +0 -4
  256. package/lib/page-diy/index.js.map +1 -1
  257. package/lib/page-diy/src/components/DragBox.vue.js +1 -1
  258. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  259. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  260. package/lib/page-diy/src/components/PreviewPhone.vue2.js +1 -1
  261. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  262. package/lib/page-diy/src/config/base/dkPage.js +0 -49
  263. package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
  264. package/lib/page-diy/src/config/base/dkSetting.js +0 -190
  265. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  266. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  267. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
  268. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
  269. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  270. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
  271. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
  272. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  273. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
  274. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
  275. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  276. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
  277. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
  278. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  279. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
  280. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
  281. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  282. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
  283. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
  284. package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  285. package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
  286. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
  287. package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
  288. package/lib/page-diy/src/config/rule/min/index.js +20 -0
  289. package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
  290. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
  291. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
  292. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
  293. package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
  294. package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
  295. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
  296. package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
  297. package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
  298. package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
  299. package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
  300. package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
  301. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
  302. package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
  303. package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
  304. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
  305. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
  306. package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
  307. package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  308. package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
  309. package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
  310. package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
  311. package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
  312. package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
  313. package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
  314. package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
  315. package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
  316. package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
  317. package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
  318. package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
  319. package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
  320. package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
  321. package/lib/page-diy/src/page-diy.vue.d.ts +59 -23
  322. package/lib/page-diy/src/page-diy.vue.js +61 -195
  323. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  324. package/lib/page-diy/src/props.d.ts +21 -4
  325. package/lib/page-diy/src/props.js +28 -6
  326. package/lib/page-diy/src/props.js.map +1 -1
  327. package/lib/page-diy/src/utils/help.js.map +1 -1
  328. package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  329. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
  330. package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
  331. package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  332. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +130 -0
  333. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
  334. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  335. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
  336. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
  337. package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
  338. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
  339. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
  340. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  341. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
  342. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
  343. package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
  344. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
  345. package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
  346. package/lib/page-diy/src/views/min/index.d.ts +2 -0
  347. package/lib/page-diy/src/views/min/index.js +22 -0
  348. package/lib/page-diy/src/views/min/index.js.map +1 -0
  349. package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
  350. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
  351. package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
  352. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
  353. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
  354. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
  355. package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
  356. package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
  357. package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
  358. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
  359. package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
  360. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
  361. package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
  362. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
  363. package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
  364. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
  365. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
  366. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
  367. package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
  368. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
  369. package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
  370. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
  371. package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
  372. package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
  373. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
  374. package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
  375. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
  376. package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
  377. package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
  378. package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
  379. package/lib/page-diy/src/views/web/index.d.ts +2 -0
  380. package/lib/page-diy/src/views/web/index.js.map +1 -0
  381. package/lib/page-diy/style/drag-tool.css +1 -1
  382. package/lib/page-diy/style/drag-tool.scss +2 -2
  383. package/lib/page-diy/style/index.css +1 -1
  384. package/lib/page-diy/style/index.scss +1 -0
  385. package/lib/page-diy/style/minViews/index.scss +26 -0
  386. package/lib/page-diy/style/preview-phone.css +1 -1
  387. package/lib/page-diy/style/preview-phone.scss +36 -2
  388. package/lib/poster-input/src/component/poster.vue.js +1 -1
  389. package/lib/poster-input/src/component/poster.vue2.js +13 -13
  390. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  391. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  392. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  393. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  394. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  395. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  396. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  397. package/lib/poster-input/src/poster-input.vue.js +1 -1
  398. package/lib/select/src/select.vue.js +1 -1
  399. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  400. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  401. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  402. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  403. package/lib/style-input/src/style-input.vue.js +1 -1
  404. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  405. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  406. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  407. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  408. package/lib/table/src/components/ComSearch.vue.js +1 -1
  409. package/lib/table/src/components/FieldRender.vue.js +1 -1
  410. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  411. package/lib/table/src/components/header.vue.js +1 -1
  412. package/lib/table/src/table.vue.js +1 -1
  413. package/lib/test/src/test.vue.js +1 -1
  414. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  415. package/lib/video-input/src/video-input.vue.js +1 -1
  416. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  417. package/package.json +1 -1
  418. package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
  419. package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
  420. package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
  421. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
  422. package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
  423. package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
  424. package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
  425. package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
  426. package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
  427. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
  428. package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
  429. package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
  430. package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
  431. package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
  432. package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
  433. package/es/page-diy/src/config/rule/index.mjs.map +0 -1
  434. package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
  435. package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
  436. package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
  437. package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
  438. package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
  439. package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
  440. package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
  441. package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
  442. package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
  443. package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
  444. package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
  445. package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
  446. package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
  447. package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
  448. package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
  449. package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
  450. package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
  451. package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
  452. package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
  453. package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
  454. package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
  455. package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
  456. package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
  457. package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
  458. package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
  459. package/es/page-diy/src/views/index.mjs.map +0 -1
  460. package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
  461. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
  462. package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
  463. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
  464. package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
  465. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
  466. package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
  467. package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
  468. package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
  469. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
  470. package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
  471. package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
  472. package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
  473. package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
  474. package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
  475. package/lib/page-diy/src/config/rule/index.js.map +0 -1
  476. package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
  477. package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
  478. package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
  479. package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
  480. package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
  481. package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
  482. package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
  483. package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
  484. package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
  485. package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
  486. package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
  487. package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
  488. package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
  489. package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
  490. package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
  491. package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
  492. package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
  493. package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
  494. package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
  495. package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
  496. package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
  497. package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
  498. package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
  499. package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
  500. package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
  501. package/lib/page-diy/src/views/index.js.map +0 -1
  502. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  503. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  504. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
  505. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  506. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
  507. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  508. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
  509. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  510. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
  511. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  512. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
  513. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  514. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
  515. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  516. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
  517. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  518. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
  519. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  520. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
  521. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  522. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
  523. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  524. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
  525. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  526. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
  527. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  528. package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  529. package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
  530. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  531. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
  532. package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  533. package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
  534. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  535. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
  536. package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  537. package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
  538. package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  539. package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
  540. package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  541. package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
  542. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  543. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
  544. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  545. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
  546. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  547. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
  548. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  549. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
  550. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  551. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
  552. package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
  553. package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
  554. package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
  555. package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  556. package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  557. package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  558. package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  559. package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  560. package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  561. package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  562. package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  563. package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  564. package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  565. package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  566. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
  567. package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  568. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
  569. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
  570. package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
  571. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  572. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  573. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
  574. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  575. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
  576. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  577. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
  578. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  579. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
  580. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  581. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
  582. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  583. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
  584. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  585. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
  586. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  587. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
  588. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  589. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
  590. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  591. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
  592. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  593. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
  594. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  595. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
  596. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  597. package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  598. package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
  599. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  600. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
  601. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  602. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
  603. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  604. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
  605. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  606. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
  607. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  608. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
  609. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  610. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
  611. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  612. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
  613. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  614. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
  615. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  616. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
  617. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  618. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
  619. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  620. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
  621. package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  622. package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  623. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  624. package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  625. package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  626. package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  627. package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  628. package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  629. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  630. package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  631. package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  632. /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  633. /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
@@ -3,12 +3,16 @@ import is, { hasProperty } from '@form-create/utils/lib/type';
3
3
  import { lower } from '@form-create/utils/lib/tocase';
4
4
  import draggable from 'vuedraggable/src/vuedraggable';
5
5
  import PreviewPhone from './components/PreviewPhone.vue.mjs';
6
- import { createMenu, ruleList } from './config/rule/index.mjs';
6
+ import { webRuleList, createWebMenu } from './config/rule/web/index.mjs';
7
+ import { minRuleList, createMinMenu } from './config/rule/min/index.mjs';
7
8
  import './utils/index.mjs';
8
9
  import { defineComponent, toRefs, getCurrentInstance, ref, provide, toRef, computed, reactive, watch, nextTick, markRaw, createElementVNode, resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createCommentVNode, createVNode, normalizeStyle, createElementBlock, Fragment, renderList, toDisplayString, normalizeClass, createTextVNode, withModifiers, renderSlot, withDirectives, vShow } from 'vue';
9
10
  import './config/base/index.mjs';
10
11
  import { isArray } from '@vipl520/utils';
11
12
  import { ElNotification } from 'element-plus';
13
+ import { pageDiyProps } from './props.mjs';
14
+ import views$1 from './views/min/index.mjs';
15
+ import views from './views/web/index.mjs';
12
16
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
13
17
  import { designerForm } from './utils/form.mjs';
14
18
  import dkSetting from './config/base/dkSetting.mjs';
@@ -37,7 +41,7 @@ const _sfc_main = defineComponent({
37
41
  PreviewPhone,
38
42
  DragForm: designerForm.$form(),
39
43
  },
40
- props: ['menu', 'height', 'config', 'mask', 'locale', 'loading'],
44
+ props: pageDiyProps,
41
45
  setup(props) {
42
46
  const { menu, height, mask, locale } = toRefs(props);
43
47
  const vm = getCurrentInstance();
@@ -45,6 +49,20 @@ const _sfc_main = defineComponent({
45
49
  provide('fcx', fcx);
46
50
  provide('diy', vm);
47
51
  const config = toRef(props, 'config', {});
52
+ // 区别小程序和网页
53
+ const ruleList = props.type === 'web' ? webRuleList : minRuleList;
54
+ const createMenu = props.type === 'web' ? createWebMenu : createMinMenu;
55
+ // 导入不同的view
56
+ if (props.type === 'web') {
57
+ for (const name in views) {
58
+ designerForm.component(name, views[name]);
59
+ }
60
+ } else {
61
+ for (const name in views$1) {
62
+ designerForm.component(name, views$1[name]);
63
+ }
64
+ }
65
+
48
66
  const getRuleItems = (item) => {
49
67
  const gl = ['DragTool', 'DragBox'];
50
68
  const items = [];
@@ -101,32 +119,6 @@ const _sfc_main = defineComponent({
101
119
  }
102
120
  return obj
103
121
  });
104
- // let _t = globalT
105
- // if (locale.value) {
106
- // _t = useLocale(locale).t
107
- // }
108
- // const t = (...args) => _t(...args)
109
- // const tidyRuleConfig = (orgRule, configRule, ...args) => {
110
- // console.log('tidyRuleConfig', orgRule, configRule, ...args)
111
- // if (configRule) {
112
- // if (is.Function(configRule)) {
113
- // console.log('isfun')
114
- // return configRule(...args)
115
- // }
116
- // if (configRule.rule) {
117
- // console.log('isrule')
118
- // let rule = configRule.rule(...args)
119
- // if (configRule.append) {
120
- // console.log('isappend')
121
- // rule = [...rule, ...orgRule(...args)]
122
- // }
123
- // return rule
124
- // }
125
- // }
126
- // console.log('isorg')
127
- // return orgRule(...args)
128
- // }
129
-
130
122
  const data = reactive({
131
123
  cacheProps: {},
132
124
  moveRule: null,
@@ -236,6 +228,7 @@ const _sfc_main = defineComponent({
236
228
  treeData: [],
237
229
  },
238
230
  });
231
+
239
232
  function cleanTreeData(node) {
240
233
  if (Array.isArray(node)) {
241
234
  // 遍历数组中的每个元素
@@ -244,9 +237,7 @@ const _sfc_main = defineComponent({
244
237
  // 处理对象节点
245
238
  if (Array.isArray(node.children)) {
246
239
  // 只保留 children 数组中的对象类型元素
247
- node.children = node.children.filter(
248
- (child) => typeof child === 'object' && child !== null
249
- );
240
+ node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
250
241
  // 递归处理每个子节点
251
242
  node.children = cleanTreeData(node.children);
252
243
  }
@@ -259,10 +250,7 @@ const _sfc_main = defineComponent({
259
250
  watch(
260
251
  () => data.dragForm,
261
252
  () => {
262
- data.treeAside.treeData = methods.parseRule(
263
- deepCopy(data.dragForm.api.rule[0].children),
264
- true
265
- );
253
+ data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true);
266
254
  data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
267
255
  },
268
256
  {
@@ -282,32 +270,6 @@ const _sfc_main = defineComponent({
282
270
 
283
271
  let unWatchActiveRule = null;
284
272
 
285
- // watch(
286
- // () => locale.value,
287
- // (n) => {
288
- // _t = n ? useLocale(locale).t : globalT
289
- // const baseFormVal =
290
- // data.baseForm.api.formData && data.baseForm.api.formData()
291
- // data.baseForm.rule = tidyRuleConfig(field, baseRule.value, { t })
292
- // data.cacheProps = {}
293
- // const rule = data.activeRule
294
- // let propsVal = null
295
- // if (rule) {
296
- // propsVal =
297
- // data.propsForm.api.formData && data.propsForm.api.formData()
298
- // data.propsForm.rule = data.cacheProps[rule._id] = tidyRuleConfig(
299
- // rule.config.config.props,
300
- // componentRule.value && componentRule.value[rule.config.config.name],
301
- // rule,
302
- // { t, api: data.dragForm.api }
303
- // )
304
- // }
305
- // nextTick(() => {
306
- // baseFormVal && data.baseForm.api.setValue(baseFormVal)
307
- // propsVal && data.propsForm.api.setValue(propsVal)
308
- // })
309
- // }
310
- // )
311
273
  const methods = {
312
274
  // 清除所有配置项
313
275
  clear(type = 'all') {
@@ -484,38 +446,11 @@ const _sfc_main = defineComponent({
484
446
  rules = [];
485
447
  }
486
448
  data.children = methods.makeChildren(
487
- methods.loadRule(
488
- is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules)
489
- )
449
+ methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))
490
450
  );
491
451
  methods.clearActiveRule();
492
452
  data.dragForm.rule = methods.makeDragRule(data.children);
493
453
  },
494
- // setBaseRuleConfig(rule, append) {
495
- // baseRule.value = { rule, append }
496
- // data.baseForm.rule = field()
497
- // },
498
- // setComponentRuleConfig(name, rule, append) {
499
- // // TODO未使用,不知道干啥的
500
- // componentRule.value[name] = { rule, append }
501
- // data.cacheProps = {}
502
- // const activeRule = data.activeRule
503
- // if (activeRule) {
504
- // const propsVal =
505
- // data.propsForm.api.formData && data.propsForm.api.formData()
506
- // data.propsForm.rule = data.cacheProps[activeRule._id] =
507
- // tidyRuleConfig(
508
- // activeRule.config.config.props,
509
- // componentRule.value &&
510
- // componentRule.value[activeRule.config.config.name],
511
- // activeRule,
512
- // { t, api: data.dragForm.api }
513
- // )
514
- // nextTick(() => {
515
- // propsVal && data.propsForm.api.setValue(propsVal)
516
- // })
517
- // }
518
- // },
519
454
  clearActiveRule() {
520
455
  data.activeRule = null;
521
456
  data.activeTab = 'page';
@@ -630,15 +565,9 @@ const _sfc_main = defineComponent({
630
565
  field = lower(field);
631
566
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
632
567
  delete data.activeRule.effect[field.split('>')[1]];
633
- } else if (
634
- field.indexOf('props') === 0 &&
635
- field.indexOf('>') > -1
636
- ) {
568
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
637
569
  delete data.activeRule.props[field.split('>')[1]];
638
- } else if (
639
- field.indexOf('attrs') === 0 &&
640
- field.indexOf('>') > -1
641
- ) {
570
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
642
571
  data.activeRule.attrs[field.split('>')[1]] = value;
643
572
  } else if (field === 'child') {
644
573
  delete data.activeRule.children[0];
@@ -667,15 +596,9 @@ const _sfc_main = defineComponent({
667
596
  field = lower(field);
668
597
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
669
598
  data.activeRule.effect[field.split('>')[1]] = value;
670
- } else if (
671
- field.indexOf('props') === 0 &&
672
- field.indexOf('>') > -1
673
- ) {
599
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
674
600
  data.activeRule.props[field.split('>')[1]] = value;
675
- } else if (
676
- field.indexOf('attrs') === 0 &&
677
- field.indexOf('>') > -1
678
- ) {
601
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
679
602
  data.activeRule.attrs[field.split('>')[1]] = value;
680
603
  } else if (field === 'child') {
681
604
  data.activeRule.children[0] = value;
@@ -787,25 +710,15 @@ const _sfc_main = defineComponent({
787
710
  ;['props', 'effect', 'attrs'].forEach((name) => {
788
711
  rule[name] &&
789
712
  Object.keys(rule[name]).forEach((k) => {
790
- formData['formCreate' + upper(name) + '>' + k] = deepCopy(
791
- rule[name][k]
792
- );
713
+ formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k]);
793
714
  });
794
715
  });
795
716
  // console.log('formData', formData)
796
717
  data.propsForm.value = formData;
797
718
 
798
719
  data.showBaseRule =
799
- hasProperty(rule, 'field') &&
800
- rule.input !== false &&
801
- (!config.value || config.value.showBaseForm !== false);
720
+ hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
802
721
  if (data.showBaseRule) {
803
- // data.baseForm.value = {
804
- // field: rule.field,
805
- // title: rule.title || '',
806
- // info: rule.info,
807
- // _control: rule._control,
808
- // }
809
722
  data.dragForm.api.refreshValidate();
810
723
  }
811
724
  },
@@ -831,9 +744,7 @@ const _sfc_main = defineComponent({
831
744
  const rule = methods.makeRule(ruleList[menu.name]);
832
745
  const config = rule.children[0].config.config;
833
746
  const count = config.count ? config.count : 99;
834
- const _count = countObj.value[config.name]
835
- ? countObj.value[config.name]
836
- : 0;
747
+ const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
837
748
  if (_count >= count) {
838
749
  ElNotification({
839
750
  title: '警告',
@@ -847,10 +758,7 @@ const _sfc_main = defineComponent({
847
758
  data.added = true;
848
759
  },
849
760
  dragEnd(children, { newIndex, oldIndex }) {
850
- if (
851
- !data.added &&
852
- !(data.moveRule === children && newIndex === oldIndex)
853
- ) {
761
+ if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
854
762
  const rule = data.moveRule.splice(oldIndex, 1);
855
763
  children.splice(newIndex, 0, rule[0]);
856
764
  }
@@ -872,24 +780,14 @@ const _sfc_main = defineComponent({
872
780
  let drag;
873
781
  if (config.drag) {
874
782
  rule.children.push(
875
- (drag = methods.makeDrag(
876
- config.drag,
877
- rule.type,
878
- methods.makeChildren([]),
879
- {
880
- end: (inject, evt) =>
881
- methods.dragEnd(inject.self.children, evt),
882
- add: (inject, evt) =>
883
- methods.dragAdd(inject.self.children, evt),
884
- start: (inject, evt) =>
885
- methods.dragStart(inject.self.children, evt),
886
- unchoose: (inject, evt) =>
887
- methods.dragUnchoose(inject.self.children, evt),
888
- }
889
- ))
783
+ (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
784
+ end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
785
+ add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
786
+ start: (inject, evt) => methods.dragStart(inject.self.children, evt),
787
+ unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
788
+ }))
890
789
  );
891
790
  }
892
-
893
791
  if (config.children && !_rule) {
894
792
  for (let i = 0; i < (config.childrenLen || 1); i++) {
895
793
  const child = methods.makeRule(ruleList[config.children])
@@ -897,10 +795,7 @@ const _sfc_main = defineComponent({
897
795
  }
898
796
  }
899
797
 
900
- const dragMask =
901
- mask.value !== undefined
902
- ? mask.value !== false
903
- : config.mask !== false;
798
+ const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
904
799
  if (config.inside) {
905
800
  rule.children = methods.makeChildren([
906
801
  {
@@ -936,10 +831,9 @@ const _sfc_main = defineComponent({
936
831
  const config = top.parent.config.config;
937
832
  const item = ruleList[config.children];
938
833
  if (!item) return
939
- ;(!config.drag
940
- ? top.parent
941
- : top.parent.children[0]
942
- ).children[0].children.push(methods.makeRule(item));
834
+ ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
835
+ methods.makeRule(item)
836
+ );
943
837
  },
944
838
  copy: ({ self }) => {
945
839
  const top = methods.getParent(self);
@@ -992,10 +886,7 @@ const _sfc_main = defineComponent({
992
886
  const config = self.children[0].config.config;
993
887
  const item = ruleList[config.children];
994
888
  if (!item) return
995
- ;(!config.drag
996
- ? self
997
- : self.children[0]
998
- ).children[0].children.push(methods.makeRule(item));
889
+ ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
999
890
  },
1000
891
  copy: ({ self }) => {
1001
892
  vm.emit('copy', self.children[0]);
@@ -1003,11 +894,7 @@ const _sfc_main = defineComponent({
1003
894
  const copyRule = designerForm.copyRule(top.parent);
1004
895
  // 解决复制后,组件的setting配置失效
1005
896
  copyRule.props.setting = copyRule.children[0].setting;
1006
- top.root.children.splice(
1007
- top.root.children.indexOf(top.parent) + 1,
1008
- 0,
1009
- copyRule
1010
- );
897
+ top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
1011
898
  },
1012
899
  active: ({ self }) => {
1013
900
  vm.emit('active', self.children[0]);
@@ -1025,18 +912,15 @@ const _sfc_main = defineComponent({
1025
912
  data.dragName = name;
1026
913
  if (name === 'left') {
1027
914
  // 获取._fc-l的宽度
1028
- data.asideValue =
1029
- document.getElementsByClassName('_fc-l')[0].offsetWidth;
915
+ data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
1030
916
  }
1031
917
  if (name === 'right') {
1032
- data.asideValue =
1033
- document.getElementsByClassName('_fc-r')[0].offsetWidth;
918
+ data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
1034
919
  }
1035
920
  document.body.style.cursor = 'ew-resize';
1036
921
  if (name === 'tree') {
1037
922
  data.startValue = e.clientY;
1038
- data.asideValue =
1039
- document.getElementsByClassName('children-list')[0].offsetHeight;
923
+ data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
1040
924
  console.log('data.startValue', data.startValue);
1041
925
  console.log('data.asideValue', data.asideValue);
1042
926
  document.body.style.cursor = 'n-resize';
@@ -1128,20 +1012,11 @@ const _sfc_main = defineComponent({
1128
1012
  const draggingRule = draggingNode.data.config.config;
1129
1013
  const dropRule = dropNode.data.config.config;
1130
1014
  // 内部元素放到指定的外部才可以放置
1131
- if (
1132
- type === 'inner' &&
1133
- draggingRule.inside &&
1134
- draggingRule.name === dropRule.children
1135
- ) {
1015
+ if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
1136
1016
  return true
1137
1017
  }
1138
1018
  // 同样父级
1139
- if (
1140
- type !== 'inner' &&
1141
- draggingRule.name === dropRule.name &&
1142
- draggingRule.inside &&
1143
- dropRule.inside
1144
- ) {
1019
+ if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
1145
1020
  return true
1146
1021
  }
1147
1022
 
@@ -1164,13 +1039,10 @@ const _sfc_main = defineComponent({
1164
1039
  },
1165
1040
  nodeDrop(node, dropNode, type, event) {
1166
1041
  // 拖拽成功完成时触发的事件
1167
- // console.log('nodeDrop', node, dropNode, type, event)
1168
1042
  methods.setRule(data.treeAside.treeData);
1169
1043
  },
1170
1044
  };
1171
- data.dragForm.rule = methods.makeDragRule(
1172
- methods.makeChildren(data.children)
1173
- );
1045
+ data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
1174
1046
  return {
1175
1047
  ...toRefs(data),
1176
1048
  ...methods,
@@ -1238,11 +1110,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1238
1110
  item: withCtx(({ element }) => [
1239
1111
  (openBlock(), createElementBlock("div", {
1240
1112
  key: element.id,
1241
- class: normalizeClass(["_fc-l-item",
1242
- element.count - (_ctx.countObj[element.name] || 0) <= 0
1243
- ? 'not-drag'
1244
- : ''
1245
- ])
1113
+ class: normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
1246
1114
  }, [
1247
1115
  createElementVNode("div", _hoisted_3, [
1248
1116
  createVNode(_component_dk_icon, {
@@ -1287,9 +1155,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1287
1155
  }, {
1288
1156
  default: withCtx(({ data }) => [
1289
1157
  createElementVNode("div", {
1290
- style: normalizeStyle(
1291
- _ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
1292
- )
1158
+ style: normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
1293
1159
  }, [
1294
1160
  createTextVNode(toDisplayString(data.type) + " ", 1 /* TEXT */),
1295
1161
  (data.config?.config.label)
@@ -1499,7 +1365,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1499
1365
  _: 3 /* FORWARDED */
1500
1366
  }))
1501
1367
  }
1502
- var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1368
+ var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1503
1369
 
1504
1370
  export { _PageDiy as default };
1505
1371
  //# sourceMappingURL=page-diy.vue.mjs.map