@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
@@ -7,12 +7,16 @@ var is = require('@form-create/utils/lib/type');
7
7
  var tocase = require('@form-create/utils/lib/tocase');
8
8
  var draggable = require('vuedraggable/src/vuedraggable');
9
9
  var PreviewPhone = require('./components/PreviewPhone.vue.js');
10
- var index = require('./config/rule/index.js');
10
+ var index = require('./config/rule/web/index.js');
11
+ var index$1 = require('./config/rule/min/index.js');
11
12
  require('./utils/index.js');
12
13
  var vue = require('vue');
13
14
  require('./config/base/index.js');
14
15
  var utils = require('@vipl520/utils');
15
16
  var elementPlus = require('element-plus');
17
+ var props = require('./props.js');
18
+ var index$3 = require('./views/min/index.js');
19
+ var index$2 = require('./views/web/index.js');
16
20
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
17
21
  var form = require('./utils/form.js');
18
22
  var dkSetting = require('./config/base/dkSetting.js');
@@ -41,7 +45,7 @@ const _sfc_main = vue.defineComponent({
41
45
  PreviewPhone: PreviewPhone.default,
42
46
  DragForm: form.designerForm.$form(),
43
47
  },
44
- props: ['menu', 'height', 'config', 'mask', 'locale', 'loading'],
48
+ props: props.pageDiyProps,
45
49
  setup(props) {
46
50
  const { menu, height, mask, locale } = vue.toRefs(props);
47
51
  const vm = vue.getCurrentInstance();
@@ -49,6 +53,20 @@ const _sfc_main = vue.defineComponent({
49
53
  vue.provide('fcx', fcx);
50
54
  vue.provide('diy', vm);
51
55
  const config = vue.toRef(props, 'config', {});
56
+ // 区别小程序和网页
57
+ const ruleList = props.type === 'web' ? index.webRuleList : index$1.minRuleList;
58
+ const createMenu = props.type === 'web' ? index.createWebMenu : index$1.createMinMenu;
59
+ // 导入不同的view
60
+ if (props.type === 'web') {
61
+ for (const name in index$2.default) {
62
+ form.designerForm.component(name, index$2.default[name]);
63
+ }
64
+ } else {
65
+ for (const name in index$3.default) {
66
+ form.designerForm.component(name, index$3.default[name]);
67
+ }
68
+ }
69
+
52
70
  const getRuleItems = (item) => {
53
71
  const gl = ['DragTool', 'DragBox'];
54
72
  const items = [];
@@ -105,32 +123,6 @@ const _sfc_main = vue.defineComponent({
105
123
  }
106
124
  return obj
107
125
  });
108
- // let _t = globalT
109
- // if (locale.value) {
110
- // _t = useLocale(locale).t
111
- // }
112
- // const t = (...args) => _t(...args)
113
- // const tidyRuleConfig = (orgRule, configRule, ...args) => {
114
- // console.log('tidyRuleConfig', orgRule, configRule, ...args)
115
- // if (configRule) {
116
- // if (is.Function(configRule)) {
117
- // console.log('isfun')
118
- // return configRule(...args)
119
- // }
120
- // if (configRule.rule) {
121
- // console.log('isrule')
122
- // let rule = configRule.rule(...args)
123
- // if (configRule.append) {
124
- // console.log('isappend')
125
- // rule = [...rule, ...orgRule(...args)]
126
- // }
127
- // return rule
128
- // }
129
- // }
130
- // console.log('isorg')
131
- // return orgRule(...args)
132
- // }
133
-
134
126
  const data = vue.reactive({
135
127
  cacheProps: {},
136
128
  moveRule: null,
@@ -139,7 +131,7 @@ const _sfc_main = vue.defineComponent({
139
131
  activeTab: 'page',
140
132
  activeRule: null,
141
133
  children: vue.ref([]),
142
- menuList: menu.value || index.createMenu(),
134
+ menuList: menu.value || createMenu(),
143
135
  showBaseRule: false,
144
136
  showDkSettingRule: false,
145
137
  visible: {
@@ -240,6 +232,7 @@ const _sfc_main = vue.defineComponent({
240
232
  treeData: [],
241
233
  },
242
234
  });
235
+
243
236
  function cleanTreeData(node) {
244
237
  if (Array.isArray(node)) {
245
238
  // 遍历数组中的每个元素
@@ -248,9 +241,7 @@ const _sfc_main = vue.defineComponent({
248
241
  // 处理对象节点
249
242
  if (Array.isArray(node.children)) {
250
243
  // 只保留 children 数组中的对象类型元素
251
- node.children = node.children.filter(
252
- (child) => typeof child === 'object' && child !== null
253
- );
244
+ node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
254
245
  // 递归处理每个子节点
255
246
  node.children = cleanTreeData(node.children);
256
247
  }
@@ -263,10 +254,7 @@ const _sfc_main = vue.defineComponent({
263
254
  vue.watch(
264
255
  () => data.dragForm,
265
256
  () => {
266
- data.treeAside.treeData = methods.parseRule(
267
- deepextend.deepCopy(data.dragForm.api.rule[0].children),
268
- true
269
- );
257
+ data.treeAside.treeData = methods.parseRule(deepextend.deepCopy(data.dragForm.api.rule[0].children), true);
270
258
  data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
271
259
  },
272
260
  {
@@ -286,32 +274,6 @@ const _sfc_main = vue.defineComponent({
286
274
 
287
275
  let unWatchActiveRule = null;
288
276
 
289
- // watch(
290
- // () => locale.value,
291
- // (n) => {
292
- // _t = n ? useLocale(locale).t : globalT
293
- // const baseFormVal =
294
- // data.baseForm.api.formData && data.baseForm.api.formData()
295
- // data.baseForm.rule = tidyRuleConfig(field, baseRule.value, { t })
296
- // data.cacheProps = {}
297
- // const rule = data.activeRule
298
- // let propsVal = null
299
- // if (rule) {
300
- // propsVal =
301
- // data.propsForm.api.formData && data.propsForm.api.formData()
302
- // data.propsForm.rule = data.cacheProps[rule._id] = tidyRuleConfig(
303
- // rule.config.config.props,
304
- // componentRule.value && componentRule.value[rule.config.config.name],
305
- // rule,
306
- // { t, api: data.dragForm.api }
307
- // )
308
- // }
309
- // nextTick(() => {
310
- // baseFormVal && data.baseForm.api.setValue(baseFormVal)
311
- // propsVal && data.propsForm.api.setValue(propsVal)
312
- // })
313
- // }
314
- // )
315
277
  const methods = {
316
278
  // 清除所有配置项
317
279
  clear(type = 'all') {
@@ -406,10 +368,10 @@ const _sfc_main = vue.defineComponent({
406
368
  addComponent(component) {
407
369
  if (Array.isArray(component)) {
408
370
  component.forEach((v) => {
409
- index.ruleList[v.name] = v;
371
+ ruleList[v.name] = v;
410
372
  });
411
373
  } else {
412
- index.ruleList[component.name] = component;
374
+ ruleList[component.name] = component;
413
375
  }
414
376
  },
415
377
  getParent(rule) {
@@ -488,38 +450,11 @@ const _sfc_main = vue.defineComponent({
488
450
  rules = [];
489
451
  }
490
452
  data.children = methods.makeChildren(
491
- methods.loadRule(
492
- is.String(rules) ? form.designerForm.parseJson(rules) : deepextend.deepCopy(rules)
493
- )
453
+ methods.loadRule(is.String(rules) ? form.designerForm.parseJson(rules) : deepextend.deepCopy(rules))
494
454
  );
495
455
  methods.clearActiveRule();
496
456
  data.dragForm.rule = methods.makeDragRule(data.children);
497
457
  },
498
- // setBaseRuleConfig(rule, append) {
499
- // baseRule.value = { rule, append }
500
- // data.baseForm.rule = field()
501
- // },
502
- // setComponentRuleConfig(name, rule, append) {
503
- // // TODO未使用,不知道干啥的
504
- // componentRule.value[name] = { rule, append }
505
- // data.cacheProps = {}
506
- // const activeRule = data.activeRule
507
- // if (activeRule) {
508
- // const propsVal =
509
- // data.propsForm.api.formData && data.propsForm.api.formData()
510
- // data.propsForm.rule = data.cacheProps[activeRule._id] =
511
- // tidyRuleConfig(
512
- // activeRule.config.config.props,
513
- // componentRule.value &&
514
- // componentRule.value[activeRule.config.config.name],
515
- // activeRule,
516
- // { t, api: data.dragForm.api }
517
- // )
518
- // nextTick(() => {
519
- // propsVal && data.propsForm.api.setValue(propsVal)
520
- // })
521
- // }
522
- // },
523
458
  clearActiveRule() {
524
459
  data.activeRule = null;
525
460
  data.activeTab = 'page';
@@ -530,7 +465,7 @@ const _sfc_main = vue.defineComponent({
530
465
  if (is.String(rule)) {
531
466
  return loadRule.push(rule)
532
467
  }
533
- const config = index.ruleList[rule._fc_drag_tag] || index.ruleList[rule.type];
468
+ const config = ruleList[rule._fc_drag_tag] || ruleList[rule.type];
534
469
  const _children = rule.children;
535
470
  rule.children = [];
536
471
  if (rule.control) {
@@ -634,15 +569,9 @@ const _sfc_main = vue.defineComponent({
634
569
  field = tocase.lower(field);
635
570
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
636
571
  delete data.activeRule.effect[field.split('>')[1]];
637
- } else if (
638
- field.indexOf('props') === 0 &&
639
- field.indexOf('>') > -1
640
- ) {
572
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
641
573
  delete data.activeRule.props[field.split('>')[1]];
642
- } else if (
643
- field.indexOf('attrs') === 0 &&
644
- field.indexOf('>') > -1
645
- ) {
574
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
646
575
  data.activeRule.attrs[field.split('>')[1]] = value;
647
576
  } else if (field === 'child') {
648
577
  delete data.activeRule.children[0];
@@ -671,15 +600,9 @@ const _sfc_main = vue.defineComponent({
671
600
  field = tocase.lower(field);
672
601
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
673
602
  data.activeRule.effect[field.split('>')[1]] = value;
674
- } else if (
675
- field.indexOf('props') === 0 &&
676
- field.indexOf('>') > -1
677
- ) {
603
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
678
604
  data.activeRule.props[field.split('>')[1]] = value;
679
- } else if (
680
- field.indexOf('attrs') === 0 &&
681
- field.indexOf('>') > -1
682
- ) {
605
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
683
606
  data.activeRule.attrs[field.split('>')[1]] = value;
684
607
  } else if (field === 'child') {
685
608
  data.activeRule.children[0] = value;
@@ -791,25 +714,15 @@ const _sfc_main = vue.defineComponent({
791
714
  ;['props', 'effect', 'attrs'].forEach((name) => {
792
715
  rule[name] &&
793
716
  Object.keys(rule[name]).forEach((k) => {
794
- formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(
795
- rule[name][k]
796
- );
717
+ formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(rule[name][k]);
797
718
  });
798
719
  });
799
720
  // console.log('formData', formData)
800
721
  data.propsForm.value = formData;
801
722
 
802
723
  data.showBaseRule =
803
- is.hasProperty(rule, 'field') &&
804
- rule.input !== false &&
805
- (!config.value || config.value.showBaseForm !== false);
724
+ is.hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
806
725
  if (data.showBaseRule) {
807
- // data.baseForm.value = {
808
- // field: rule.field,
809
- // title: rule.title || '',
810
- // info: rule.info,
811
- // _control: rule._control,
812
- // }
813
726
  data.dragForm.api.refreshValidate();
814
727
  }
815
728
  },
@@ -832,12 +745,10 @@ const _sfc_main = vue.defineComponent({
832
745
  children.splice(newIndex, 0, rule[0]);
833
746
  }
834
747
  } else {
835
- const rule = methods.makeRule(index.ruleList[menu.name]);
748
+ const rule = methods.makeRule(ruleList[menu.name]);
836
749
  const config = rule.children[0].config.config;
837
750
  const count = config.count ? config.count : 99;
838
- const _count = countObj.value[config.name]
839
- ? countObj.value[config.name]
840
- : 0;
751
+ const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
841
752
  if (_count >= count) {
842
753
  elementPlus.ElNotification({
843
754
  title: '警告',
@@ -851,10 +762,7 @@ const _sfc_main = vue.defineComponent({
851
762
  data.added = true;
852
763
  },
853
764
  dragEnd(children, { newIndex, oldIndex }) {
854
- if (
855
- !data.added &&
856
- !(data.moveRule === children && newIndex === oldIndex)
857
- ) {
765
+ if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
858
766
  const rule = data.moveRule.splice(oldIndex, 1);
859
767
  children.splice(newIndex, 0, rule[0]);
860
768
  }
@@ -876,35 +784,22 @@ const _sfc_main = vue.defineComponent({
876
784
  let drag;
877
785
  if (config.drag) {
878
786
  rule.children.push(
879
- (drag = methods.makeDrag(
880
- config.drag,
881
- rule.type,
882
- methods.makeChildren([]),
883
- {
884
- end: (inject, evt) =>
885
- methods.dragEnd(inject.self.children, evt),
886
- add: (inject, evt) =>
887
- methods.dragAdd(inject.self.children, evt),
888
- start: (inject, evt) =>
889
- methods.dragStart(inject.self.children, evt),
890
- unchoose: (inject, evt) =>
891
- methods.dragUnchoose(inject.self.children, evt),
892
- }
893
- ))
787
+ (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
788
+ end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
789
+ add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
790
+ start: (inject, evt) => methods.dragStart(inject.self.children, evt),
791
+ unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
792
+ }))
894
793
  );
895
794
  }
896
-
897
795
  if (config.children && !_rule) {
898
796
  for (let i = 0; i < (config.childrenLen || 1); i++) {
899
- const child = methods.makeRule(index.ruleList[config.children])
797
+ const child = methods.makeRule(ruleList[config.children])
900
798
  ;(drag || rule).children.push(child);
901
799
  }
902
800
  }
903
801
 
904
- const dragMask =
905
- mask.value !== undefined
906
- ? mask.value !== false
907
- : config.mask !== false;
802
+ const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
908
803
  if (config.inside) {
909
804
  rule.children = methods.makeChildren([
910
805
  {
@@ -938,12 +833,11 @@ const _sfc_main = vue.defineComponent({
938
833
  addChild: ({ self }) => {
939
834
  const top = methods.getParent(self);
940
835
  const config = top.parent.config.config;
941
- const item = index.ruleList[config.children];
836
+ const item = ruleList[config.children];
942
837
  if (!item) return
943
- ;(!config.drag
944
- ? top.parent
945
- : top.parent.children[0]
946
- ).children[0].children.push(methods.makeRule(item));
838
+ ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
839
+ methods.makeRule(item)
840
+ );
947
841
  },
948
842
  copy: ({ self }) => {
949
843
  const top = methods.getParent(self);
@@ -994,12 +888,9 @@ const _sfc_main = vue.defineComponent({
994
888
  },
995
889
  addChild: ({ self }) => {
996
890
  const config = self.children[0].config.config;
997
- const item = index.ruleList[config.children];
891
+ const item = ruleList[config.children];
998
892
  if (!item) return
999
- ;(!config.drag
1000
- ? self
1001
- : self.children[0]
1002
- ).children[0].children.push(methods.makeRule(item));
893
+ ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
1003
894
  },
1004
895
  copy: ({ self }) => {
1005
896
  vm.emit('copy', self.children[0]);
@@ -1007,11 +898,7 @@ const _sfc_main = vue.defineComponent({
1007
898
  const copyRule = form.designerForm.copyRule(top.parent);
1008
899
  // 解决复制后,组件的setting配置失效
1009
900
  copyRule.props.setting = copyRule.children[0].setting;
1010
- top.root.children.splice(
1011
- top.root.children.indexOf(top.parent) + 1,
1012
- 0,
1013
- copyRule
1014
- );
901
+ top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
1015
902
  },
1016
903
  active: ({ self }) => {
1017
904
  vm.emit('active', self.children[0]);
@@ -1029,18 +916,15 @@ const _sfc_main = vue.defineComponent({
1029
916
  data.dragName = name;
1030
917
  if (name === 'left') {
1031
918
  // 获取._fc-l的宽度
1032
- data.asideValue =
1033
- document.getElementsByClassName('_fc-l')[0].offsetWidth;
919
+ data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
1034
920
  }
1035
921
  if (name === 'right') {
1036
- data.asideValue =
1037
- document.getElementsByClassName('_fc-r')[0].offsetWidth;
922
+ data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
1038
923
  }
1039
924
  document.body.style.cursor = 'ew-resize';
1040
925
  if (name === 'tree') {
1041
926
  data.startValue = e.clientY;
1042
- data.asideValue =
1043
- document.getElementsByClassName('children-list')[0].offsetHeight;
927
+ data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
1044
928
  console.log('data.startValue', data.startValue);
1045
929
  console.log('data.asideValue', data.asideValue);
1046
930
  document.body.style.cursor = 'n-resize';
@@ -1132,20 +1016,11 @@ const _sfc_main = vue.defineComponent({
1132
1016
  const draggingRule = draggingNode.data.config.config;
1133
1017
  const dropRule = dropNode.data.config.config;
1134
1018
  // 内部元素放到指定的外部才可以放置
1135
- if (
1136
- type === 'inner' &&
1137
- draggingRule.inside &&
1138
- draggingRule.name === dropRule.children
1139
- ) {
1019
+ if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
1140
1020
  return true
1141
1021
  }
1142
1022
  // 同样父级
1143
- if (
1144
- type !== 'inner' &&
1145
- draggingRule.name === dropRule.name &&
1146
- draggingRule.inside &&
1147
- dropRule.inside
1148
- ) {
1023
+ if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
1149
1024
  return true
1150
1025
  }
1151
1026
 
@@ -1168,13 +1043,10 @@ const _sfc_main = vue.defineComponent({
1168
1043
  },
1169
1044
  nodeDrop(node, dropNode, type, event) {
1170
1045
  // 拖拽成功完成时触发的事件
1171
- // console.log('nodeDrop', node, dropNode, type, event)
1172
1046
  methods.setRule(data.treeAside.treeData);
1173
1047
  },
1174
1048
  };
1175
- data.dragForm.rule = methods.makeDragRule(
1176
- methods.makeChildren(data.children)
1177
- );
1049
+ data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
1178
1050
  return {
1179
1051
  ...vue.toRefs(data),
1180
1052
  ...methods,
@@ -1242,11 +1114,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1242
1114
  item: vue.withCtx(({ element }) => [
1243
1115
  (vue.openBlock(), vue.createElementBlock("div", {
1244
1116
  key: element.id,
1245
- class: vue.normalizeClass(["_fc-l-item",
1246
- element.count - (_ctx.countObj[element.name] || 0) <= 0
1247
- ? 'not-drag'
1248
- : ''
1249
- ])
1117
+ class: vue.normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
1250
1118
  }, [
1251
1119
  vue.createElementVNode("div", _hoisted_3, [
1252
1120
  vue.createVNode(_component_dk_icon, {
@@ -1291,9 +1159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1291
1159
  }, {
1292
1160
  default: vue.withCtx(({ data }) => [
1293
1161
  vue.createElementVNode("div", {
1294
- style: vue.normalizeStyle(
1295
- _ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
1296
- )
1162
+ style: vue.normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
1297
1163
  }, [
1298
1164
  vue.createTextVNode(vue.toDisplayString(data.type) + " ", 1 /* TEXT */),
1299
1165
  (data.config?.config.label)
@@ -1503,7 +1369,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1503
1369
  _: 3 /* FORWARDED */
1504
1370
  }))
1505
1371
  }
1506
- var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_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"]]);
1372
+ var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1507
1373
 
1508
1374
  exports.default = _PageDiy;
1509
1375
  //# sourceMappingURL=page-diy.vue.js.map