@vipl520/dk-ui 1.0.40 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (439) hide show
  1. package/dist/attributes.json +23 -3
  2. package/dist/index.css +1 -1
  3. package/dist/index.min.js +4 -13
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +4 -13
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/tags.json +7 -2
  8. package/dist/web-types.json +71 -12
  9. package/es/animate-select/src/animate-select.vue.mjs +1 -1
  10. package/es/animate-select/src/animate-select.vue2.mjs +5 -1
  11. package/es/animate-select/src/animate-select.vue2.mjs.map +1 -1
  12. package/es/api/attachment.mjs.map +1 -1
  13. package/es/attachment/src/attachment.vue.mjs +1 -1
  14. package/es/attachment/src/attachment.vue2.mjs +7 -1
  15. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  16. package/es/attachment/src/file-icon.vue.mjs +1 -1
  17. package/es/attachment-dialog/index.d.ts +9 -0
  18. package/es/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
  19. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  20. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +3 -2
  21. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  22. package/es/attachment-dialog/src/props.d.ts +4 -0
  23. package/es/attachment-dialog/src/props.mjs +4 -0
  24. package/es/attachment-dialog/src/props.mjs.map +1 -1
  25. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  26. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  27. package/es/audio-list-input/src/audio-list-input.vue2.mjs.map +1 -1
  28. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  29. package/es/box-size-input/src/box-size-input.vue2.mjs +60 -59
  30. package/es/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
  31. package/es/box-size-input/style/index.css +1 -1
  32. package/es/box-size-input/style/index.scss +11 -4
  33. package/es/color-input/src/color-input.vue.mjs +1 -1
  34. package/es/dialog/src/dialog.vue.mjs +1 -1
  35. package/es/dialog/src/dialog.vue2.mjs +3 -1
  36. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  37. package/es/dialog/style/index.scss +1 -0
  38. package/es/file-input/src/file-input.vue.mjs +1 -1
  39. package/es/file-input/src/file-input.vue2.mjs.map +1 -1
  40. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  41. package/es/file-list-input/src/file-list-input.vue2.mjs.map +1 -1
  42. package/es/file-list-input/style/index.css +1 -1
  43. package/es/file-list-input/style/index.scss +20 -16
  44. package/es/form/src/form.vue.mjs +1 -1
  45. package/es/form/src/form.vue2.mjs.map +1 -1
  46. package/es/group/src/group.vue.mjs +1 -1
  47. package/es/group/src/group.vue2.mjs +3 -3
  48. package/es/group/src/group.vue2.mjs.map +1 -1
  49. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +1 -1
  50. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  51. package/es/hot-area-input/src/hot-area-input.vue.mjs +1 -1
  52. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -1
  53. package/es/icon/src/icon.vue.mjs +1 -1
  54. package/es/icon/src/icon.vue2.mjs.map +1 -1
  55. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  56. package/es/icon-input/src/icon-content.vue2.mjs +1 -1
  57. package/es/icon-input/src/icon-content.vue2.mjs.map +1 -1
  58. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  59. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  60. package/es/icon-input/src/icon-input.vue2.mjs.map +1 -1
  61. package/es/image-input/src/image-input.vue.mjs +1 -1
  62. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  63. package/es/image-list-input/src/image-list-input.vue2.mjs.map +1 -1
  64. package/es/index.mjs +0 -10
  65. package/es/index.mjs.map +1 -1
  66. package/es/page-diy/index.mjs +0 -2
  67. package/es/page-diy/index.mjs.map +1 -1
  68. package/es/page-diy/src/components/DiyCloud.vue.mjs +1 -1
  69. package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -1
  70. package/es/page-diy/src/components/DragBox.vue.mjs +7 -3
  71. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  72. package/es/page-diy/src/components/DragTool.vue.mjs +6 -2
  73. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  74. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  75. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  76. package/es/page-diy/src/components/forms/DkEventCreateInput.vue.mjs +1 -1
  77. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +12 -10
  78. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs.map +1 -1
  79. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  80. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +9 -1
  81. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -1
  82. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +3 -1
  83. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -1
  84. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +36 -6
  85. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  86. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +6 -2
  87. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -1
  88. package/es/page-diy/src/config/rule/min/common/index.mjs +8 -1
  89. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  90. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs +3 -1
  91. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -1
  92. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -1
  93. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs +7 -1
  94. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -1
  95. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs +9 -3
  96. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -1
  97. package/es/page-diy/src/page-diy.vue.mjs +102 -34
  98. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  99. package/es/page-diy/src/utils/eventData.mjs.map +1 -1
  100. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +1 -1
  101. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +24 -7
  102. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -1
  103. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +1 -1
  104. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  105. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +1 -1
  106. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +1 -1
  107. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  108. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +1 -1
  109. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs +1 -1
  110. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -1
  111. package/es/page-diy/src/views/web/DkViewCell.vue.mjs +1 -1
  112. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -1
  113. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs +4 -2
  114. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -1
  115. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs +1 -1
  116. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs +1 -1
  117. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -1
  118. package/es/page-diy/src/views/web/DkViewImage.vue.mjs +1 -1
  119. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -1
  120. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs +1 -1
  121. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -1
  122. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs +1 -1
  123. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs +1 -1
  124. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -1
  125. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs +1 -1
  126. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -1
  127. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs +1 -1
  128. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs +1 -1
  129. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs +1 -1
  130. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -1
  131. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs +1 -1
  132. package/es/page-diy/style/dk-page-diy.css +1 -1
  133. package/es/page-diy/style/dk-page-diy.scss +3 -3
  134. package/es/page-diy/style/index.css +1 -1
  135. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  136. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  137. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  138. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue2.mjs.map +1 -1
  139. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  140. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs +5 -2
  141. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs.map +1 -1
  142. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  143. package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
  144. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  145. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
  146. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  147. package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
  148. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  149. package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
  150. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  151. package/es/poster-input/src/poster-input.vue2.mjs.map +1 -1
  152. package/es/poster-input/style/index.scss +4 -2
  153. package/es/select/src/select.vue.mjs +1 -1
  154. package/es/select/src/select.vue2.mjs +9 -1
  155. package/es/select/src/select.vue2.mjs.map +1 -1
  156. package/es/style-animation-input/src/props.mjs.map +1 -1
  157. package/es/style-animation-input/src/style-animation-input.vue.mjs +1 -1
  158. package/es/style-animation-input/src/style-animation-input.vue2.mjs +1 -1
  159. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -1
  160. package/es/style-background-input/index.d.ts +2 -1
  161. package/es/style-background-input/src/style-background-input.vue.d.ts +2 -1
  162. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  163. package/es/style-background-input/src/style-background-input.vue2.mjs +2 -1
  164. package/es/style-background-input/src/style-background-input.vue2.mjs.map +1 -1
  165. package/es/style-border-input/index.d.ts +2 -1
  166. package/es/style-border-input/src/style-border-input.vue.d.ts +2 -1
  167. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  168. package/es/style-border-input/src/style-border-input.vue2.mjs +55 -38
  169. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  170. package/es/style-box-input/index.d.ts +2 -1
  171. package/es/style-box-input/src/style-box-input.vue.d.ts +2 -1
  172. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  173. package/es/style-box-input/src/style-box-input.vue2.mjs +2 -1
  174. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  175. package/es/style-font-input/index.d.ts +2 -1
  176. package/es/style-font-input/src/style-font-input.vue.d.ts +2 -1
  177. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  178. package/es/style-font-input/src/style-font-input.vue2.mjs +8 -7
  179. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  180. package/es/style-input/src/style-input.vue.mjs +1 -1
  181. package/es/style-input/src/style-input.vue2.mjs +15 -22
  182. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  183. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  184. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  185. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  186. package/es/style-position-input/src/style-position-input.vue2.mjs +4 -1
  187. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  188. package/es/style-shadow-input/index.d.ts +2 -1
  189. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  190. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +144 -155
  191. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
  192. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  193. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  194. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +2 -1
  195. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  196. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  197. package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
  198. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  199. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  200. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  201. package/es/table/src/components/RecycleDialog.vue2.mjs +3 -1
  202. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  203. package/es/table/src/components/header.vue.mjs +1 -1
  204. package/es/table/src/components/header.vue2.mjs +17 -3
  205. package/es/table/src/components/header.vue2.mjs.map +1 -1
  206. package/es/table/src/props.mjs +11 -1
  207. package/es/table/src/props.mjs.map +1 -1
  208. package/es/table/src/table.vue.mjs +1 -1
  209. package/es/table/src/table.vue2.mjs +13 -3
  210. package/es/table/src/table.vue2.mjs.map +1 -1
  211. package/es/table/utils/dkTable.mjs +32 -11
  212. package/es/table/utils/dkTable.mjs.map +1 -1
  213. package/es/table/utils/dkTableApi.mjs.map +1 -1
  214. package/es/test/src/test.vue.mjs +1 -1
  215. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  216. package/es/tiny-editor/src/tiny-editor.vue2.mjs +7 -3
  217. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  218. package/es/tiny-editor/style/index.css +1 -1
  219. package/es/tiny-editor/style/index.scss +5 -0
  220. package/es/video-input/src/video-input.vue.mjs +1 -1
  221. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  222. package/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
  223. package/lib/animate-select/src/animate-select.vue.js +1 -1
  224. package/lib/animate-select/src/animate-select.vue2.js +5 -1
  225. package/lib/animate-select/src/animate-select.vue2.js.map +1 -1
  226. package/lib/api/attachment.js.map +1 -1
  227. package/lib/attachment/src/attachment.vue.js +1 -1
  228. package/lib/attachment/src/attachment.vue2.js +7 -1
  229. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  230. package/lib/attachment/src/file-icon.vue.js +1 -1
  231. package/lib/attachment-dialog/index.d.ts +9 -0
  232. package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
  233. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  234. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +3 -2
  235. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  236. package/lib/attachment-dialog/src/props.d.ts +4 -0
  237. package/lib/attachment-dialog/src/props.js +4 -0
  238. package/lib/attachment-dialog/src/props.js.map +1 -1
  239. package/lib/audio-input/src/audio-input.vue.js +1 -1
  240. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  241. package/lib/audio-list-input/src/audio-list-input.vue2.js.map +1 -1
  242. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  243. package/lib/box-size-input/src/box-size-input.vue2.js +59 -58
  244. package/lib/box-size-input/src/box-size-input.vue2.js.map +1 -1
  245. package/lib/box-size-input/style/index.css +1 -1
  246. package/lib/box-size-input/style/index.scss +11 -4
  247. package/lib/color-input/src/color-input.vue.js +1 -1
  248. package/lib/dialog/src/dialog.vue.js +1 -1
  249. package/lib/dialog/src/dialog.vue2.js +3 -1
  250. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  251. package/lib/dialog/style/index.scss +1 -0
  252. package/lib/file-input/src/file-input.vue.js +1 -1
  253. package/lib/file-input/src/file-input.vue2.js.map +1 -1
  254. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  255. package/lib/file-list-input/src/file-list-input.vue2.js.map +1 -1
  256. package/lib/file-list-input/style/index.css +1 -1
  257. package/lib/file-list-input/style/index.scss +20 -16
  258. package/lib/form/src/form.vue.js +1 -1
  259. package/lib/form/src/form.vue2.js.map +1 -1
  260. package/lib/group/src/group.vue.js +1 -1
  261. package/lib/group/src/group.vue2.js +2 -2
  262. package/lib/group/src/group.vue2.js.map +1 -1
  263. package/lib/hot-area-input/src/component/hot-area-content.vue.js +1 -1
  264. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  265. package/lib/hot-area-input/src/hot-area-input.vue.js +1 -1
  266. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
  267. package/lib/icon/src/icon.vue.js +1 -1
  268. package/lib/icon/src/icon.vue2.js.map +1 -1
  269. package/lib/icon-input/src/icon-content.vue.js +1 -1
  270. package/lib/icon-input/src/icon-content.vue2.js +1 -1
  271. package/lib/icon-input/src/icon-content.vue2.js.map +1 -1
  272. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  273. package/lib/icon-input/src/icon-input.vue.js +1 -1
  274. package/lib/icon-input/src/icon-input.vue2.js.map +1 -1
  275. package/lib/image-input/src/image-input.vue.js +1 -1
  276. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  277. package/lib/image-list-input/src/image-list-input.vue2.js.map +1 -1
  278. package/lib/index.js +0 -10
  279. package/lib/index.js.map +1 -1
  280. package/lib/page-diy/index.js +0 -2
  281. package/lib/page-diy/index.js.map +1 -1
  282. package/lib/page-diy/src/components/DiyCloud.vue.js +1 -1
  283. package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
  284. package/lib/page-diy/src/components/DragBox.vue.js +7 -3
  285. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  286. package/lib/page-diy/src/components/DragTool.vue.js +6 -2
  287. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  288. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  289. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  290. package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js +1 -1
  291. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +12 -10
  292. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -1
  293. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  294. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +9 -1
  295. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -1
  296. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +3 -1
  297. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -1
  298. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +36 -6
  299. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  300. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +6 -2
  301. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -1
  302. package/lib/page-diy/src/config/rule/min/common/index.js +8 -1
  303. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  304. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js +3 -1
  305. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -1
  306. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -1
  307. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js +7 -1
  308. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -1
  309. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js +9 -3
  310. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -1
  311. package/lib/page-diy/src/page-diy.vue.js +102 -34
  312. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  313. package/lib/page-diy/src/utils/eventData.js.map +1 -1
  314. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +1 -1
  315. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +24 -7
  316. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
  317. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +1 -1
  318. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  319. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +1 -1
  320. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +1 -1
  321. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  322. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +1 -1
  323. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js +1 -1
  324. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -1
  325. package/lib/page-diy/src/views/web/DkViewCell.vue.js +1 -1
  326. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -1
  327. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +4 -2
  328. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
  329. package/lib/page-diy/src/views/web/DkViewDialog.vue.js +1 -1
  330. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js +1 -1
  331. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -1
  332. package/lib/page-diy/src/views/web/DkViewImage.vue.js +1 -1
  333. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -1
  334. package/lib/page-diy/src/views/web/DkViewMusic.vue.js +1 -1
  335. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
  336. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js +1 -1
  337. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js +1 -1
  338. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -1
  339. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js +1 -1
  340. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
  341. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js +1 -1
  342. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js +1 -1
  343. package/lib/page-diy/src/views/web/DkViewTitle.vue.js +1 -1
  344. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
  345. package/lib/page-diy/src/views/web/DkViewVideo.vue.js +1 -1
  346. package/lib/page-diy/style/dk-page-diy.css +1 -1
  347. package/lib/page-diy/style/dk-page-diy.scss +3 -3
  348. package/lib/page-diy/style/index.css +1 -1
  349. package/lib/poster-input/src/component/poster.vue.js +1 -1
  350. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  351. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  352. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue2.js.map +1 -1
  353. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  354. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js +5 -2
  355. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js.map +1 -1
  356. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  357. package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
  358. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  359. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
  360. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  361. package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
  362. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  363. package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
  364. package/lib/poster-input/src/poster-input.vue.js +1 -1
  365. package/lib/poster-input/src/poster-input.vue2.js.map +1 -1
  366. package/lib/poster-input/style/index.scss +4 -2
  367. package/lib/select/src/select.vue.js +1 -1
  368. package/lib/select/src/select.vue2.js +9 -1
  369. package/lib/select/src/select.vue2.js.map +1 -1
  370. package/lib/style-animation-input/src/props.js.map +1 -1
  371. package/lib/style-animation-input/src/style-animation-input.vue.js +1 -1
  372. package/lib/style-animation-input/src/style-animation-input.vue2.js +1 -1
  373. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -1
  374. package/lib/style-background-input/index.d.ts +2 -1
  375. package/lib/style-background-input/src/style-background-input.vue.d.ts +2 -1
  376. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  377. package/lib/style-background-input/src/style-background-input.vue2.js +2 -1
  378. package/lib/style-background-input/src/style-background-input.vue2.js.map +1 -1
  379. package/lib/style-border-input/index.d.ts +2 -1
  380. package/lib/style-border-input/src/style-border-input.vue.d.ts +2 -1
  381. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  382. package/lib/style-border-input/src/style-border-input.vue2.js +55 -38
  383. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  384. package/lib/style-box-input/index.d.ts +2 -1
  385. package/lib/style-box-input/src/style-box-input.vue.d.ts +2 -1
  386. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  387. package/lib/style-box-input/src/style-box-input.vue2.js +2 -1
  388. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  389. package/lib/style-font-input/index.d.ts +2 -1
  390. package/lib/style-font-input/src/style-font-input.vue.d.ts +2 -1
  391. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  392. package/lib/style-font-input/src/style-font-input.vue2.js +8 -7
  393. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  394. package/lib/style-input/src/style-input.vue.js +1 -1
  395. package/lib/style-input/src/style-input.vue2.js +14 -21
  396. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  397. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  398. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  399. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  400. package/lib/style-position-input/src/style-position-input.vue2.js +4 -1
  401. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  402. package/lib/style-shadow-input/index.d.ts +2 -1
  403. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  404. package/lib/style-shadow-input/src/style-shadow-content.vue2.js +144 -155
  405. package/lib/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
  406. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  407. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  408. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +2 -1
  409. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  410. package/lib/table/src/components/ComSearch.vue.js +1 -1
  411. package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
  412. package/lib/table/src/components/FieldRender.vue.js +1 -1
  413. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  414. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  415. package/lib/table/src/components/RecycleDialog.vue2.js +3 -1
  416. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  417. package/lib/table/src/components/header.vue.js +1 -1
  418. package/lib/table/src/components/header.vue2.js +17 -3
  419. package/lib/table/src/components/header.vue2.js.map +1 -1
  420. package/lib/table/src/props.js +11 -1
  421. package/lib/table/src/props.js.map +1 -1
  422. package/lib/table/src/table.vue.js +1 -1
  423. package/lib/table/src/table.vue2.js +13 -3
  424. package/lib/table/src/table.vue2.js.map +1 -1
  425. package/lib/table/utils/dkTable.js +32 -11
  426. package/lib/table/utils/dkTable.js.map +1 -1
  427. package/lib/table/utils/dkTableApi.js.map +1 -1
  428. package/lib/test/src/test.vue.js +1 -1
  429. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  430. package/lib/tiny-editor/src/tiny-editor.vue2.js +7 -3
  431. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  432. package/lib/tiny-editor/style/index.css +1 -1
  433. package/lib/tiny-editor/style/index.scss +5 -0
  434. package/lib/video-input/src/video-input.vue.js +1 -1
  435. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  436. package/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
  437. package/package.json +3 -2
  438. package/dist/index.js +0 -34318
  439. package/dist/index.mjs +0 -34228
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [DkMinVideo, DkMinSwiperImage, DkMinTitle, DkMinBlank, DkMinTextarea, DkMinHotArea]\n\nconst commonRuleList = {\n [DkMinVideo.name]: DkMinVideo,\n [DkMinSwiperImage.name]: DkMinSwiperImage,\n [DkMinTitle.name]: DkMinTitle,\n [DkMinBlank.name]: DkMinBlank,\n [DkMinTextarea.name]: DkMinTextarea,\n [DkMinHotArea.name]: DkMinHotArea,\n}\n\nexport { commonMenu, commonRuleList }\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,aAAa,CAAC,UAAA,EAAY,kBAAkB,UAAY,EAAA,UAAA,EAAY,eAAe,YAAY,EAAA;AAErG,MAAM,cAAiB,GAAA;AAAA,EACrB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,gBAAiB,CAAA,IAAI,GAAG,gBAAA;AAAA,EACzB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,aAAc,CAAA,IAAI,GAAG,aAAA;AAAA,EACtB,CAAC,YAAa,CAAA,IAAI,GAAG,YAAA;AACvB;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [\n DkMinVideo,\n DkMinSwiperImage,\n DkMinTitle,\n DkMinBlank,\n DkMinTextarea,\n DkMinHotArea,\n]\n\nconst commonRuleList = {\n [DkMinVideo.name]: DkMinVideo,\n [DkMinSwiperImage.name]: DkMinSwiperImage,\n [DkMinTitle.name]: DkMinTitle,\n [DkMinBlank.name]: DkMinBlank,\n [DkMinTextarea.name]: DkMinTextarea,\n [DkMinHotArea.name]: DkMinHotArea,\n}\n\nexport { commonMenu, commonRuleList }\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,UAAa,GAAA;AAAA,EACjB,UAAA;AAAA,EACA,gBAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AACF,EAAA;AAEA,MAAM,cAAiB,GAAA;AAAA,EACrB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,gBAAiB,CAAA,IAAI,GAAG,gBAAA;AAAA,EACzB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,aAAc,CAAA,IAAI,GAAG,aAAA;AAAA,EACtB,CAAC,YAAa,CAAA,IAAI,GAAG,YAAA;AACvB;;;;"}
@@ -125,7 +125,9 @@ var DkPosterBtn = {
125
125
  },
126
126
  {
127
127
  value: "event",
128
- rule: [{ type: "input", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "" }]
128
+ rule: [
129
+ { type: "input", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "" }
130
+ ]
129
131
  }
130
132
  ],
131
133
  effect: {
@@ -1 +1 @@
1
- {"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [{ type: 'input', field: 'listen', title: '监听事件', value: '' }],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,eAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,OAAO,EAAC;AAAA,OACV;AAAA,MACA;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,0EAAA;AAAA,OACT;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,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AAA,EAAO,OAAO,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,cAC7D;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,SAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAA,EAAM,CAAC,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,QAAA,EAAU,KAAO,EAAA,0BAAA,EAAQ,KAAO,EAAA,EAAA,EAAI,CAAA;AAAA,WACrE;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,4KAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n { type: 'input', field: 'listen', title: '监听事件', value: '' },\n ],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;A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MAAA;AAAA,eACT;AAAA,cACA;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,OAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ,EAAE,MAAM,cAAgB,EAAA,KAAA,EAAO,OAAO,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,cAC7D;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,SAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,0BAAA,EAAQ,OAAO,EAAG,EAAA;AAAA,aAC7D;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,4KAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n props: {\n titleField: 'text',\n defaultValue: {\n avatar: '',\n text: '',\n },\n rule: [\n { type: 'input', field: 'text', title: '描述' },\n {\n type: 'dkImageInput',\n field: 'avatar',\n title: '头像',\n value: '',\n },\n ],\n },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n {\n type: 'DkEventSelectInput',\n field: 'eventName',\n title: '事件名称',\n value: '',\n props: { label: '弹幕事件' },\n effect: { help: '选择支持弹幕的事件,内容将由该事件传递参数' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AACb,uBAAe;AAAA,EACb,IAAM,EAAA,sBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,QAAU,EAAA,SAAA;AAAA,QACV,UAAY,EAAA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,EAAA,YAAA;AAAA;AAAA,gBAEP,KAAO,EAAA;AAAA,kBACL;AAAA,oBACE,IAAM,EAAA,sEAAA;AAAA,oBACN,MAAQ,EAAA,uDAAA;AAAA,mBACV;AAAA,iBACF;AAAA,gBACA,KAAO,EAAA;AAAA,kBACL,UAAY,EAAA,MAAA;AAAA,kBACZ,YAAc,EAAA;AAAA,oBACZ,MAAQ,EAAA,EAAA;AAAA,oBACR,IAAM,EAAA,EAAA;AAAA,mBACR;AAAA,kBACA,IAAM,EAAA;AAAA,oBACJ,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,MAAA,EAAQ,OAAO,cAAK,EAAA;AAAA,oBAC5C;AAAA,sBACE,IAAM,EAAA,cAAA;AAAA,sBACN,KAAO,EAAA,QAAA;AAAA,sBACP,KAAO,EAAA,cAAA;AAAA,sBACP,KAAO,EAAA,EAAA;AAAA,qBACT;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,oBAAA;AAAA,gBACN,KAAO,EAAA,WAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAA,EAAO,EAAE,KAAA,EAAO,0BAAO,EAAA;AAAA,gBACvB,MAAA,EAAQ,EAAE,IAAA,EAAM,gIAAwB,EAAA;AAAA,eAC1C;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar:\n 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n props: {\n titleField: 'text',\n defaultValue: {\n avatar: '',\n text: '',\n },\n rule: [\n { type: 'input', field: 'text', title: '描述' },\n {\n type: 'dkImageInput',\n field: 'avatar',\n title: '头像',\n value: '',\n },\n ],\n },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n {\n type: 'DkEventSelectInput',\n field: 'eventName',\n title: '事件名称',\n value: '',\n props: { label: '弹幕事件' },\n effect: { help: '选择支持弹幕的事件,内容将由该事件传递参数' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AACb,uBAAe;AAAA,EACb,IAAM,EAAA,sBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QAC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,gBACE,IAAM,EAAA,UAAA;AAAA,gBACN,KAAO,EAAA,YAAA;AAAA;AAAA,gBAEP,KAAO,EAAA;AAAA,kBACL;AAAA,oBACE,IAAM,EAAA,sEAAA;AAAA,oBACN,MACE,EAAA,uDAAA;AAAA,mBACJ;AAAA,iBACF;AAAA,gBACA,KAAO,EAAA;AAAA,kBACL,UAAY,EAAA,MAAA;AAAA,kBACZ,YAAc,EAAA;AAAA,oBACZ,MAAQ,EAAA,EAAA;AAAA,oBACR,IAAM,EAAA,EAAA;AAAA,mBACR;AAAA,kBACA,IAAM,EAAA;AAAA,oBACJ,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,MAAA,EAAQ,OAAO,cAAK,EAAA;AAAA,oBAC5C;AAAA,sBACE,IAAM,EAAA,cAAA;AAAA,sBACN,KAAO,EAAA,QAAA;AAAA,sBACP,KAAO,EAAA,cAAA;AAAA,sBACP,KAAO,EAAA,EAAA;AAAA,qBACT;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,oBAAA;AAAA,gBACN,KAAO,EAAA,WAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAA,EAAO,EAAE,KAAA,EAAO,0BAAO,EAAA;AAAA,gBACvB,MAAA,EAAQ,EAAE,IAAA,EAAM,gIAAwB,EAAA;AAAA,eAC1C;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -18,7 +18,13 @@ var DkViewDialog = {
18
18
  },
19
19
  props() {
20
20
  return [
21
- { type: "DkEventCreateInput", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "", props: { label: "\u5F39\u7A97\u7EC4\u4EF6" } },
21
+ {
22
+ type: "DkEventCreateInput",
23
+ field: "listen",
24
+ title: "\u76D1\u542C\u4E8B\u4EF6",
25
+ value: "",
26
+ props: { label: "\u5F39\u7A97\u7EC4\u4EF6" }
27
+ },
22
28
  { type: "input", field: "title", title: "\u5F39\u7A97\u6807\u9898", value: "\u901A\u77E5" },
23
29
  {
24
30
  type: "dk-tiny-editor",
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewDialog.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewDialog.js"],"sourcesContent":["const label = '弹窗组件'\nconst name = 'DkViewDialog'\nexport default {\n icon: 'mi:window',\n label,\n name,\n event: true,\n rule() {\n return {\n type: name,\n props: {\n title: '通知',\n listen: '',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n { type: 'DkEventCreateInput', field: 'listen', title: '监听事件', value: '', props: { label: '弹窗组件' } },\n { type: 'input', field: 'title', title: '弹窗标题', value: '通知' },\n {\n type: 'dk-tiny-editor',\n field: 'content',\n title: '弹窗内容',\n props: {\n buttonText: '编辑弹窗内容',\n },\n value: '',\n },\n { type: 'input', field: 'confirmText', title: '按钮文字', value: '确定' },\n {\n type: 'switch',\n field: 'show',\n title: '预览',\n value: false,\n effect: {\n help: '当前为预览按钮,不影响实际显示,点击后在预览窗口点确定即可关闭',\n },\n },\n {\n type: 'radio',\n field: 'copy',\n title: '复制内容',\n value: '0',\n options: [\n { label: '不复制', value: '0' },\n { label: '复制弹窗内容', value: '1' },\n {\n label: '复制自定义内容',\n value: '2',\n },\n ],\n control: [\n {\n value: '2',\n rule: [\n {\n type: 'select',\n field: 'copyType',\n title: '复制类型',\n value: 'text',\n options: [\n { label: '纯文本', value: 'text' },\n { label: '富文本', value: 'html' },\n ],\n control: [\n {\n value: 'text',\n rule: [\n {\n type: 'input',\n field: 'copyText',\n title: '复制内容',\n value: '',\n props: { type: 'textarea' },\n },\n ],\n },\n {\n value: 'html',\n rule: [\n {\n type: 'dk-tiny-editor',\n field: 'copyHtml',\n title: '复制内容',\n value: '',\n },\n ],\n },\n ],\n },\n ],\n },\n {\n handle: function (val) {\n return val !== ''\n },\n rule: [\n {\n type: 'input',\n field: 'copySuccessToast',\n title: '复制提示',\n value: '复制成功',\n effect: { help: '复制成功后的提示,不填则不显示' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,cAAA,CAAA;AACb,mBAAe;AAAA,EACb,IAAM,EAAA,WAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,KAAO,EAAA,IAAA;AAAA,EACP,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,cAAA;AAAA,QACP,MAAQ,EAAA,EAAA;AAAA,OACV;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,IAAA,EAAM,oBAAsB,EAAA,KAAA,EAAO,QAAU,EAAA,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,EAAI,EAAA,KAAA,EAAO,EAAE,KAAA,EAAO,4BAAS,EAAA;AAAA,MAClG,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,SAAS,KAAO,EAAA,0BAAA,EAAQ,OAAO,cAAK,EAAA;AAAA,MAC5D;AAAA,QACE,IAAM,EAAA,gBAAA;AAAA,QACN,KAAO,EAAA,SAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA;AAAA,UACL,UAAY,EAAA,sCAAA;AAAA,SACd;AAAA,QACA,KAAO,EAAA,EAAA;AAAA,OACT;AAAA,MACA,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,eAAe,KAAO,EAAA,0BAAA,EA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ACP,KAAA,EAAO,EAAE,IAAA,EAAM,UAAW,EAAA;AAAA,uBAC5B;AAAA,qBACF;AAAA,mBACF;AAAA,kBACA;AAAA,oBACE,KAAO,EAAA,MAAA;AAAA,oBACP,IAAM,EAAA;AAAA,sBACJ;AAAA,wBACE,IAAM,EAAA,gBAAA;AAAA,wBACN,KAAO,EAAA,UAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,EAAA;AAAA,uBACT;AAAA,qBACF;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,MAAA,EAAQ,SAAU,GAAK,EAAA;AACrB,cAAA,OAAO,GAAQ,KAAA,EAAA,CAAA;AAAA,aACjB;AAAA,YACA,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,OAAA;AAAA,gBACN,KAAO,EAAA,kBAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,MAAA,EAAQ,EAAE,IAAA,EAAM,uFAAkB,EAAA;AAAA,eACpC;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkViewDialog.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewDialog.js"],"sourcesContent":["const label = '弹窗组件'\nconst name = 'DkViewDialog'\nexport default {\n icon: 'mi:window',\n label,\n name,\n event: true,\n rule() {\n return {\n type: name,\n props: {\n title: '通知',\n listen: '',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkEventCreateInput',\n field: 'listen',\n title: '监听事件',\n value: '',\n props: { label: '弹窗组件' },\n },\n { type: 'input', field: 'title', title: '弹窗标题', value: '通知' },\n {\n type: 'dk-tiny-editor',\n field: 'content',\n title: '弹窗内容',\n props: {\n buttonText: '编辑弹窗内容',\n },\n value: '',\n },\n { type: 'input', field: 'confirmText', title: '按钮文字', value: '确定' },\n {\n type: 'switch',\n field: 'show',\n title: '预览',\n value: false,\n effect: {\n help: '当前为预览按钮,不影响实际显示,点击后在预览窗口点确定即可关闭',\n },\n },\n {\n type: 'radio',\n field: 'copy',\n title: '复制内容',\n value: '0',\n options: [\n { label: '不复制', value: '0' },\n { label: '复制弹窗内容', value: '1' },\n {\n label: '复制自定义内容',\n value: '2',\n },\n ],\n control: [\n {\n value: '2',\n rule: [\n {\n type: 'select',\n field: 'copyType',\n title: '复制类型',\n value: 'text',\n options: [\n { label: '纯文本', value: 'text' },\n { label: '富文本', value: 'html' },\n ],\n control: [\n {\n value: 'text',\n rule: [\n {\n type: 'input',\n field: 'copyText',\n title: '复制内容',\n value: '',\n props: { type: 'textarea' },\n },\n ],\n },\n {\n value: 'html',\n rule: [\n {\n type: 'dk-tiny-editor',\n field: 'copyHtml',\n title: '复制内容',\n value: '',\n },\n ],\n },\n ],\n },\n ],\n },\n {\n handle: function (val) {\n return val !== ''\n },\n rule: [\n {\n type: 'input',\n field: 'copySuccessToast',\n title: '复制提示',\n value: '复制成功',\n effect: { help: '复制成功后的提示,不填则不显示' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,cAAA,CAAA;AACb,mBAAe;AAAA,EACb,IAAM,EAAA,WAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,KAAO,EAAA,IAAA;AAAA,EACP,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,cAAA;AAAA,QACP,MAAQ,EAAA,EAAA;AAAA,OACV;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,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AA,gBACP,MAAA,EAAQ,EAAE,IAAA,EAAM,uFAAkB,EAAA;AAAA,eACpC;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -37,7 +37,9 @@ var DkViewVideo = {
37
37
  suffix: {
38
38
  type: "p",
39
39
  style: { fontSize: "12px", color: "#888" },
40
- children: ["\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"]
40
+ children: [
41
+ "\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"
42
+ ]
41
43
  }
42
44
  }
43
45
  ]
@@ -46,7 +48,9 @@ var DkViewVideo = {
46
48
  suffix: {
47
49
  type: "p",
48
50
  style: { fontSize: "12px", color: "#888" },
49
- children: ["\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"]
51
+ children: [
52
+ "\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"
53
+ ]
50
54
  }
51
55
  },
52
56
  {
@@ -56,7 +60,9 @@ var DkViewVideo = {
56
60
  suffix: {
57
61
  type: "p",
58
62
  style: { fontSize: "12px", color: "#888" },
59
- children: ["\u8BBE\u7F6E\u5F00\u542F\u5F00\u5408\u6A21\u5F0F\u540E\uFF0C\u89C6\u9891\u652F\u6301\u4E0A\u6ED1\u7F29\u653E\u5173\u95ED\u4E0B\u6ED1\u7F29\u653E\u6253\u5F00,\u5C3D\u91CF\u5C06\u89C6\u9891\u6A21\u5757\u653E\u7F6E\u9876\u90E8"]
63
+ children: [
64
+ "\u8BBE\u7F6E\u5F00\u542F\u5F00\u5408\u6A21\u5F0F\u540E\uFF0C\u89C6\u9891\u652F\u6301\u4E0A\u6ED1\u7F29\u653E\u5173\u95ED\u4E0B\u6ED1\u7F29\u653E\u6253\u5F00,\u5C3D\u91CF\u5C06\u89C6\u9891\u6A21\u5757\u653E\u7F6E\u9876\u90E8"
65
+ ]
60
66
  }
61
67
  }
62
68
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px'],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度'],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部'],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AAEb,kBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MAClE,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAA,EAAU,CAAC,0NAA2C,CAAA;AAAA,iBACxD;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAA,EAAU,CAAC,oLAAmC,CAAA;AAAA,SAChD;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,aAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAA,EAAU,CAAC,iOAAwC,CAAA;AAAA,SACrD;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px',\n ],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n ],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部',\n ],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AAEb,kBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MAClE,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA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Property } from '@form-create/utils/lib/type';
3
3
  import { lower } from '@form-create/utils/lib/tocase';
4
- import draggable from 'vuedraggable/src/vuedraggable';
5
4
  import PreviewPhone from './components/PreviewPhone.vue.mjs';
6
5
  import { webRuleList, createWebMenu } from './config/rule/web/index.mjs';
7
6
  import { minRuleList, createMinMenu } from './config/rule/min/index.mjs';
@@ -40,7 +39,7 @@ const _sfc_main = defineComponent({
40
39
  name: 'DkPageDiy',
41
40
  components: {
42
41
  DiyCloud,
43
- draggable,
42
+ // draggable,
44
43
  PreviewPhone,
45
44
  DragForm: designerForm.$form(),
46
45
  },
@@ -241,7 +240,9 @@ const _sfc_main = defineComponent({
241
240
  // 处理对象节点
242
241
  if (Array.isArray(node.children)) {
243
242
  // 只保留 children 数组中的对象类型元素
244
- node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
243
+ node.children = node.children.filter(
244
+ (child) => typeof child === 'object' && child !== null
245
+ );
245
246
  // 递归处理每个子节点
246
247
  node.children = cleanTreeData(node.children);
247
248
  }
@@ -254,7 +255,10 @@ const _sfc_main = defineComponent({
254
255
  watch(
255
256
  () => data.dragForm,
256
257
  () => {
257
- data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true);
258
+ data.treeAside.treeData = methods.parseRule(
259
+ deepCopy(data.dragForm.api.rule[0].children),
260
+ true
261
+ );
258
262
  data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
259
263
  },
260
264
  {
@@ -462,7 +466,9 @@ const _sfc_main = defineComponent({
462
466
  rules = [];
463
467
  }
464
468
  data.children = methods.makeChildren(
465
- methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))
469
+ methods.loadRule(
470
+ is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules)
471
+ )
466
472
  );
467
473
  methods.clearActiveRule();
468
474
  data.dragForm.rule = methods.makeDragRule(data.children);
@@ -581,9 +587,15 @@ const _sfc_main = defineComponent({
581
587
  field = lower(field);
582
588
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
583
589
  delete data.activeRule.effect[field.split('>')[1]];
584
- } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
590
+ } else if (
591
+ field.indexOf('props') === 0 &&
592
+ field.indexOf('>') > -1
593
+ ) {
585
594
  delete data.activeRule.props[field.split('>')[1]];
586
- } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
595
+ } else if (
596
+ field.indexOf('attrs') === 0 &&
597
+ field.indexOf('>') > -1
598
+ ) {
587
599
  data.activeRule.attrs[field.split('>')[1]] = value;
588
600
  } else if (field === 'child') {
589
601
  delete data.activeRule.children[0];
@@ -612,9 +624,15 @@ const _sfc_main = defineComponent({
612
624
  field = lower(field);
613
625
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
614
626
  data.activeRule.effect[field.split('>')[1]] = value;
615
- } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
627
+ } else if (
628
+ field.indexOf('props') === 0 &&
629
+ field.indexOf('>') > -1
630
+ ) {
616
631
  data.activeRule.props[field.split('>')[1]] = value;
617
- } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
632
+ } else if (
633
+ field.indexOf('attrs') === 0 &&
634
+ field.indexOf('>') > -1
635
+ ) {
618
636
  data.activeRule.attrs[field.split('>')[1]] = value;
619
637
  } else if (field === 'child') {
620
638
  data.activeRule.children[0] = value;
@@ -726,14 +744,18 @@ const _sfc_main = defineComponent({
726
744
  ;['props', 'effect', 'attrs'].forEach((name) => {
727
745
  rule[name] &&
728
746
  Object.keys(rule[name]).forEach((k) => {
729
- formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k]);
747
+ formData['formCreate' + upper(name) + '>' + k] = deepCopy(
748
+ rule[name][k]
749
+ );
730
750
  });
731
751
  });
732
752
  // console.log('formData', formData)
733
753
  data.propsForm.value = formData;
734
754
 
735
755
  data.showBaseRule =
736
- hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
756
+ hasProperty(rule, 'field') &&
757
+ rule.input !== false &&
758
+ (!config.value || config.value.showBaseForm !== false);
737
759
  if (data.showBaseRule) {
738
760
  data.dragForm.api.refreshValidate();
739
761
  }
@@ -760,7 +782,9 @@ const _sfc_main = defineComponent({
760
782
  const rule = methods.makeRule(ruleList[menu.name]);
761
783
  const config = rule.children[0].config.config;
762
784
  const count = config.count ? config.count : 99;
763
- const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
785
+ const _count = countObj.value[config.name]
786
+ ? countObj.value[config.name]
787
+ : 0;
764
788
  if (_count >= count) {
765
789
  ElNotification({
766
790
  title: '警告',
@@ -774,7 +798,10 @@ const _sfc_main = defineComponent({
774
798
  data.added = true;
775
799
  },
776
800
  dragEnd(children, { newIndex, oldIndex }) {
777
- if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
801
+ if (
802
+ !data.added &&
803
+ !(data.moveRule === children && newIndex === oldIndex)
804
+ ) {
778
805
  const rule = data.moveRule.splice(oldIndex, 1);
779
806
  children.splice(newIndex, 0, rule[0]);
780
807
  }
@@ -796,12 +823,21 @@ const _sfc_main = defineComponent({
796
823
  let drag;
797
824
  if (config.drag) {
798
825
  rule.children.push(
799
- (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
800
- end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
801
- add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
802
- start: (inject, evt) => methods.dragStart(inject.self.children, evt),
803
- unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
804
- }))
826
+ (drag = methods.makeDrag(
827
+ config.drag,
828
+ rule.type,
829
+ methods.makeChildren([]),
830
+ {
831
+ end: (inject, evt) =>
832
+ methods.dragEnd(inject.self.children, evt),
833
+ add: (inject, evt) =>
834
+ methods.dragAdd(inject.self.children, evt),
835
+ start: (inject, evt) =>
836
+ methods.dragStart(inject.self.children, evt),
837
+ unchoose: (inject, evt) =>
838
+ methods.dragUnchoose(inject.self.children, evt),
839
+ }
840
+ ))
805
841
  );
806
842
  }
807
843
  if (config.children && !_rule) {
@@ -811,7 +847,10 @@ const _sfc_main = defineComponent({
811
847
  }
812
848
  }
813
849
 
814
- const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
850
+ const dragMask =
851
+ mask.value !== undefined
852
+ ? mask.value !== false
853
+ : config.mask !== false;
815
854
  if (config.inside) {
816
855
  rule.children = methods.makeChildren([
817
856
  {
@@ -847,9 +886,10 @@ const _sfc_main = defineComponent({
847
886
  const config = top.parent.config.config;
848
887
  const item = ruleList[config.children];
849
888
  if (!item) return
850
- ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
851
- methods.makeRule(item)
852
- );
889
+ ;(!config.drag
890
+ ? top.parent
891
+ : top.parent.children[0]
892
+ ).children[0].children.push(methods.makeRule(item));
853
893
  },
854
894
  copy: ({ self }) => {
855
895
  const top = methods.getParent(self);
@@ -902,7 +942,10 @@ const _sfc_main = defineComponent({
902
942
  const config = self.children[0].config.config;
903
943
  const item = ruleList[config.children];
904
944
  if (!item) return
905
- ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
945
+ ;(!config.drag
946
+ ? self
947
+ : self.children[0]
948
+ ).children[0].children.push(methods.makeRule(item));
906
949
  },
907
950
  copy: ({ self }) => {
908
951
  vm.emit('copy', self.children[0]);
@@ -910,7 +953,11 @@ const _sfc_main = defineComponent({
910
953
  const copyRule = designerForm.copyRule(top.parent);
911
954
  // 解决复制后,组件的setting配置失效
912
955
  copyRule.props.setting = copyRule.children[0].setting;
913
- top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
956
+ top.root.children.splice(
957
+ top.root.children.indexOf(top.parent) + 1,
958
+ 0,
959
+ copyRule
960
+ );
914
961
  },
915
962
  active: ({ self }) => {
916
963
  vm.emit('active', self.children[0]);
@@ -928,15 +975,18 @@ const _sfc_main = defineComponent({
928
975
  data.dragName = name;
929
976
  if (name === 'left') {
930
977
  // 获取._fc-l的宽度
931
- data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
978
+ data.asideValue =
979
+ document.getElementsByClassName('_fc-l')[0].offsetWidth;
932
980
  }
933
981
  if (name === 'right') {
934
- data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
982
+ data.asideValue =
983
+ document.getElementsByClassName('_fc-r')[0].offsetWidth;
935
984
  }
936
985
  document.body.style.cursor = 'ew-resize';
937
986
  if (name === 'tree') {
938
987
  data.startValue = e.clientY;
939
- data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
988
+ data.asideValue =
989
+ document.getElementsByClassName('children-list')[0].offsetHeight;
940
990
  console.log('data.startValue', data.startValue);
941
991
  console.log('data.asideValue', data.asideValue);
942
992
  document.body.style.cursor = 'n-resize';
@@ -1028,11 +1078,20 @@ const _sfc_main = defineComponent({
1028
1078
  const draggingRule = draggingNode.data.config.config;
1029
1079
  const dropRule = dropNode.data.config.config;
1030
1080
  // 内部元素放到指定的外部才可以放置
1031
- if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
1081
+ if (
1082
+ type === 'inner' &&
1083
+ draggingRule.inside &&
1084
+ draggingRule.name === dropRule.children
1085
+ ) {
1032
1086
  return true
1033
1087
  }
1034
1088
  // 同样父级
1035
- if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
1089
+ if (
1090
+ type !== 'inner' &&
1091
+ draggingRule.name === dropRule.name &&
1092
+ draggingRule.inside &&
1093
+ dropRule.inside
1094
+ ) {
1036
1095
  return true
1037
1096
  }
1038
1097
 
@@ -1058,7 +1117,9 @@ const _sfc_main = defineComponent({
1058
1117
  methods.setRule(data.treeAside.treeData);
1059
1118
  },
1060
1119
  };
1061
- data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
1120
+ data.dragForm.rule = methods.makeDragRule(
1121
+ methods.makeChildren(data.children)
1122
+ );
1062
1123
  return {
1063
1124
  ...toRefs(data),
1064
1125
  ...methods,
@@ -1129,7 +1190,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1129
1190
  item: withCtx(({ element }) => [
1130
1191
  (openBlock(), createElementBlock("div", {
1131
1192
  key: element.id,
1132
- class: normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
1193
+ class: normalizeClass(["_fc-l-item",
1194
+ element.count - (_ctx.countObj[element.name] || 0) <= 0
1195
+ ? 'not-drag'
1196
+ : ''
1197
+ ])
1133
1198
  }, [
1134
1199
  createElementVNode("div", _hoisted_3, [
1135
1200
  createVNode(_component_dk_icon, {
@@ -1174,7 +1239,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1174
1239
  }, {
1175
1240
  default: withCtx(({ data }) => [
1176
1241
  createElementVNode("div", {
1177
- style: normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
1242
+ class: "el-tree-node-content",
1243
+ style: normalizeStyle(
1244
+ _ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
1245
+ )
1178
1246
  }, [
1179
1247
  createTextVNode(toDisplayString(data.type) + " ", 1 /* TEXT */),
1180
1248
  (data.config?.config.label)
@@ -1386,7 +1454,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1386
1454
  _: 3 /* FORWARDED */
1387
1455
  }))
1388
1456
  }
1389
- 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"]]);
1457
+ var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1390
1458
 
1391
1459
  export { _PageDiy as default };
1392
1460
  //# sourceMappingURL=page-diy.vue.mjs.map