@vipl520/dk-ui 1.0.41 → 1.0.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. package/dist/attributes.json +23 -3
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3634 -12985
  4. package/dist/index.min.js +4 -13
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -13
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +785 -10135
  9. package/dist/tags.json +7 -2
  10. package/dist/web-types.json +71 -12
  11. package/es/animate-select/src/animate-select.vue2.mjs +5 -1
  12. package/es/animate-select/src/animate-select.vue2.mjs.map +1 -1
  13. package/es/api/attachment.mjs.map +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-dialog/index.d.ts +9 -0
  17. package/es/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
  18. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +3 -2
  19. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  20. package/es/attachment-dialog/src/props.d.ts +4 -0
  21. package/es/attachment-dialog/src/props.mjs +4 -0
  22. package/es/attachment-dialog/src/props.mjs.map +1 -1
  23. package/es/audio-list-input/src/audio-list-input.vue2.mjs.map +1 -1
  24. package/es/box-size-input/src/box-size-input.vue2.mjs +60 -59
  25. package/es/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
  26. package/es/box-size-input/style/index.css +1 -1
  27. package/es/box-size-input/style/index.scss +11 -4
  28. package/es/dialog/src/dialog.vue2.mjs +3 -1
  29. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  30. package/es/dialog/style/index.scss +1 -0
  31. package/es/file-input/src/file-input.vue2.mjs.map +1 -1
  32. package/es/file-list-input/src/file-list-input.vue2.mjs.map +1 -1
  33. package/es/file-list-input/style/index.css +1 -1
  34. package/es/file-list-input/style/index.scss +20 -16
  35. package/es/form/src/form.vue2.mjs.map +1 -1
  36. package/es/group/src/group.vue2.mjs +5 -13
  37. package/es/group/src/group.vue2.mjs.map +1 -1
  38. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  39. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -1
  40. package/es/icon/src/icon.vue2.mjs.map +1 -1
  41. package/es/icon-input/src/icon-content.vue2.mjs +1 -1
  42. package/es/icon-input/src/icon-content.vue2.mjs.map +1 -1
  43. package/es/icon-input/src/icon-input.vue2.mjs.map +1 -1
  44. package/es/image-list-input/src/image-list-input.vue2.mjs.map +1 -1
  45. package/es/index.mjs +4 -9
  46. package/es/index.mjs.map +1 -1
  47. package/es/page-diy/index.mjs +0 -2
  48. package/es/page-diy/index.mjs.map +1 -1
  49. package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -1
  50. package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
  51. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  52. package/es/page-diy/src/components/DragTool.vue.mjs +5 -1
  53. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  54. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  55. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +11 -9
  56. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs.map +1 -1
  57. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  58. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +9 -1
  59. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -1
  60. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +3 -1
  61. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -1
  62. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +36 -6
  63. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  64. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +6 -2
  65. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -1
  66. package/es/page-diy/src/config/rule/min/common/index.mjs +8 -1
  67. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  68. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs +3 -1
  69. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -1
  70. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -1
  71. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs +7 -1
  72. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -1
  73. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs +9 -3
  74. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -1
  75. package/es/page-diy/src/page-diy.vue.mjs +1 -2
  76. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  77. package/es/page-diy/src/utils/eventData.mjs.map +1 -1
  78. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +23 -6
  79. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -1
  80. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  81. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  82. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -1
  83. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -1
  84. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs +3 -1
  85. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -1
  86. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -1
  87. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -1
  88. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -1
  89. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -1
  90. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -1
  91. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -1
  92. package/es/page-diy/style/dk-page-diy.css +1 -1
  93. package/es/page-diy/style/dk-page-diy.scss +1 -1
  94. package/es/page-diy/style/index.css +1 -1
  95. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  96. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue2.mjs.map +1 -1
  97. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs +5 -2
  98. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs.map +1 -1
  99. package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
  100. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
  101. package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
  102. package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
  103. package/es/poster-input/src/poster-input.vue2.mjs.map +1 -1
  104. package/es/poster-input/style/index.scss +4 -2
  105. package/es/select/src/select.vue2.mjs +9 -1
  106. package/es/select/src/select.vue2.mjs.map +1 -1
  107. package/es/style-animation-input/src/props.mjs.map +1 -1
  108. package/es/style-animation-input/src/style-animation-input.vue2.mjs +1 -1
  109. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -1
  110. package/es/style-background-input/index.d.ts +2 -1
  111. package/es/style-background-input/src/style-background-input.vue.d.ts +2 -1
  112. package/es/style-background-input/src/style-background-input.vue2.mjs +2 -1
  113. package/es/style-background-input/src/style-background-input.vue2.mjs.map +1 -1
  114. package/es/style-border-input/index.d.ts +2 -1
  115. package/es/style-border-input/src/style-border-input.vue.d.ts +2 -1
  116. package/es/style-border-input/src/style-border-input.vue2.mjs +56 -39
  117. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  118. package/es/style-border-input/style/index.css +1 -1
  119. package/es/style-box-input/index.d.ts +2 -1
  120. package/es/style-box-input/src/style-box-input.vue.d.ts +2 -1
  121. package/es/style-box-input/src/style-box-input.vue2.mjs +4 -7
  122. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  123. package/es/style-font-input/index.d.ts +2 -1
  124. package/es/style-font-input/src/style-font-input.vue.d.ts +2 -1
  125. package/es/style-font-input/src/style-font-input.vue2.mjs +10 -27
  126. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  127. package/es/style-input/src/style-input.vue2.mjs +10 -22
  128. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  129. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  130. package/es/style-position-input/src/style-position-input.vue2.mjs +4 -1
  131. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  132. package/es/style-shadow-input/index.d.ts +2 -1
  133. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +138 -153
  134. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
  135. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  136. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +2 -1
  137. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  138. package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
  139. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  140. package/es/table/src/components/RecycleDialog.vue2.mjs +3 -1
  141. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  142. package/es/table/src/components/header.vue2.mjs +17 -3
  143. package/es/table/src/components/header.vue2.mjs.map +1 -1
  144. package/es/table/src/props.mjs +11 -1
  145. package/es/table/src/props.mjs.map +1 -1
  146. package/es/table/src/table.vue2.mjs +13 -3
  147. package/es/table/src/table.vue2.mjs.map +1 -1
  148. package/es/table/utils/dkTable.mjs +32 -11
  149. package/es/table/utils/dkTable.mjs.map +1 -1
  150. package/es/table/utils/dkTableApi.mjs.map +1 -1
  151. package/es/tiny-editor/src/tiny-editor.vue2.mjs +4 -2
  152. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  153. package/es/tiny-editor/style/index.css +1 -1
  154. package/es/tiny-editor/style/index.scss +6 -0
  155. package/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
  156. package/lib/animate-select/src/animate-select.vue2.js +5 -1
  157. package/lib/animate-select/src/animate-select.vue2.js.map +1 -1
  158. package/lib/api/attachment.js.map +1 -1
  159. package/lib/attachment/src/attachment.vue2.js +7 -1
  160. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  161. package/lib/attachment-dialog/index.d.ts +9 -0
  162. package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
  163. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +3 -2
  164. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  165. package/lib/attachment-dialog/src/props.d.ts +4 -0
  166. package/lib/attachment-dialog/src/props.js +4 -0
  167. package/lib/attachment-dialog/src/props.js.map +1 -1
  168. package/lib/audio-list-input/src/audio-list-input.vue2.js.map +1 -1
  169. package/lib/box-size-input/src/box-size-input.vue2.js +59 -58
  170. package/lib/box-size-input/src/box-size-input.vue2.js.map +1 -1
  171. package/lib/box-size-input/style/index.css +1 -1
  172. package/lib/box-size-input/style/index.scss +11 -4
  173. package/lib/dialog/src/dialog.vue2.js +3 -1
  174. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  175. package/lib/dialog/style/index.scss +1 -0
  176. package/lib/file-input/src/file-input.vue2.js.map +1 -1
  177. package/lib/file-list-input/src/file-list-input.vue2.js.map +1 -1
  178. package/lib/file-list-input/style/index.css +1 -1
  179. package/lib/file-list-input/style/index.scss +20 -16
  180. package/lib/form/src/form.vue2.js.map +1 -1
  181. package/lib/group/src/group.vue2.js +4 -12
  182. package/lib/group/src/group.vue2.js.map +1 -1
  183. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  184. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
  185. package/lib/icon/src/icon.vue2.js.map +1 -1
  186. package/lib/icon-input/src/icon-content.vue2.js +1 -1
  187. package/lib/icon-input/src/icon-content.vue2.js.map +1 -1
  188. package/lib/icon-input/src/icon-input.vue2.js.map +1 -1
  189. package/lib/image-list-input/src/image-list-input.vue2.js.map +1 -1
  190. package/lib/index.js +4 -9
  191. package/lib/index.js.map +1 -1
  192. package/lib/page-diy/index.js +0 -2
  193. package/lib/page-diy/index.js.map +1 -1
  194. package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
  195. package/lib/page-diy/src/components/DragBox.vue.js +1 -1
  196. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  197. package/lib/page-diy/src/components/DragTool.vue.js +5 -1
  198. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  199. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  200. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +11 -9
  201. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -1
  202. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  203. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +9 -1
  204. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -1
  205. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +3 -1
  206. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -1
  207. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +36 -6
  208. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  209. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +6 -2
  210. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -1
  211. package/lib/page-diy/src/config/rule/min/common/index.js +8 -1
  212. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  213. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js +3 -1
  214. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -1
  215. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -1
  216. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js +7 -1
  217. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -1
  218. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js +9 -3
  219. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -1
  220. package/lib/page-diy/src/page-diy.vue.js +1 -2
  221. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  222. package/lib/page-diy/src/utils/eventData.js.map +1 -1
  223. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +23 -6
  224. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
  225. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  226. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  227. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -1
  228. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -1
  229. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +3 -1
  230. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
  231. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -1
  232. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -1
  233. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
  234. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -1
  235. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
  236. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
  237. package/lib/page-diy/style/dk-page-diy.css +1 -1
  238. package/lib/page-diy/style/dk-page-diy.scss +1 -1
  239. package/lib/page-diy/style/index.css +1 -1
  240. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  241. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue2.js.map +1 -1
  242. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js +5 -2
  243. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js.map +1 -1
  244. package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
  245. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
  246. package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
  247. package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
  248. package/lib/poster-input/src/poster-input.vue2.js.map +1 -1
  249. package/lib/poster-input/style/index.scss +4 -2
  250. package/lib/select/src/select.vue2.js +9 -1
  251. package/lib/select/src/select.vue2.js.map +1 -1
  252. package/lib/style-animation-input/src/props.js.map +1 -1
  253. package/lib/style-animation-input/src/style-animation-input.vue2.js +1 -1
  254. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -1
  255. package/lib/style-background-input/index.d.ts +2 -1
  256. package/lib/style-background-input/src/style-background-input.vue.d.ts +2 -1
  257. package/lib/style-background-input/src/style-background-input.vue2.js +2 -1
  258. package/lib/style-background-input/src/style-background-input.vue2.js.map +1 -1
  259. package/lib/style-border-input/index.d.ts +2 -1
  260. package/lib/style-border-input/src/style-border-input.vue.d.ts +2 -1
  261. package/lib/style-border-input/src/style-border-input.vue2.js +56 -39
  262. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  263. package/lib/style-border-input/style/index.css +1 -1
  264. package/lib/style-box-input/index.d.ts +2 -1
  265. package/lib/style-box-input/src/style-box-input.vue.d.ts +2 -1
  266. package/lib/style-box-input/src/style-box-input.vue2.js +4 -7
  267. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  268. package/lib/style-font-input/index.d.ts +2 -1
  269. package/lib/style-font-input/src/style-font-input.vue.d.ts +2 -1
  270. package/lib/style-font-input/src/style-font-input.vue2.js +10 -27
  271. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  272. package/lib/style-input/src/style-input.vue2.js +9 -21
  273. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  274. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  275. package/lib/style-position-input/src/style-position-input.vue2.js +4 -1
  276. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  277. package/lib/style-shadow-input/index.d.ts +2 -1
  278. package/lib/style-shadow-input/src/style-shadow-content.vue2.js +138 -153
  279. package/lib/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
  280. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  281. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +2 -1
  282. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  283. package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
  284. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  285. package/lib/table/src/components/RecycleDialog.vue2.js +3 -1
  286. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  287. package/lib/table/src/components/header.vue2.js +17 -3
  288. package/lib/table/src/components/header.vue2.js.map +1 -1
  289. package/lib/table/src/props.js +11 -1
  290. package/lib/table/src/props.js.map +1 -1
  291. package/lib/table/src/table.vue2.js +13 -3
  292. package/lib/table/src/table.vue2.js.map +1 -1
  293. package/lib/table/utils/dkTable.js +32 -11
  294. package/lib/table/utils/dkTable.js.map +1 -1
  295. package/lib/table/utils/dkTableApi.js.map +1 -1
  296. package/lib/tiny-editor/src/tiny-editor.vue2.js +4 -2
  297. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  298. package/lib/tiny-editor/style/index.css +1 -1
  299. package/lib/tiny-editor/style/index.scss +6 -0
  300. package/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
  301. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"DkPosterBtn.js","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: '配置后可以点击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AA;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.js","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;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,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,KAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP,EAA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O,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.js","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;AAAA,UACV;AAAA,YACE,IAAM,EAAA,sEAAA;AAAA,YACN,MAAQ,EAAA,uDAAA;AAAA,WACV;AAAA,SACF;AAAA,OACF;AAAA,MACA,KAAO,EAAA,IAAA;AAAA,MACP,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,cAAA;AAAA,QACN,KAAO,EAAA,SAAA;AAAA,QACP,KAAO,EAAA,oBAAA;AAAA,QACP,KAAA,EAAO,EAAE,SAAA,EAAW,IAAK,EAAA;AAAA,QACzB,KAAO,EAAA,kBAAA;AAAA,OACT;AAAA,MACA;AAAA,QACE,IAAM,EAAA,cAAA;AAAA,Q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AAA,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.js","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,QACL,QAAU,EAAA,SAAA;AAAA,QACV,UAAY,EAAA;AAAA,UACV;AAAA,YACE,IAAM,EAAA,sEAAA;AAAA,YACN,MAAQ,EAAA,uDAAA;AAAA,WACV;AAAA,SACF;AAAA,OACF;AAAA,MACA,KAAO,EAAA,IAAA;AAAA,MACP,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,cAAA;AAAA,QACN,KAAO,EAAA,SAAA;AAAA,QACP,KAAO,EAAA,oBAAA;AAAA,QACP,KAAA,EAAO,EAAE,SAAA,EAAW,IAAK,EAAA;AAAA,QACzB,KAAO,EAAA,kBAAA;AAAA,OACT;AAA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BACE,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;;;;"}
@@ -22,7 +22,13 @@ var DkViewDialog = {
22
22
  },
23
23
  props() {
24
24
  return [
25
- { type: "DkEventCreateInput", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "", props: { label: "\u5F39\u7A97\u7EC4\u4EF6" } },
25
+ {
26
+ type: "DkEventCreateInput",
27
+ field: "listen",
28
+ title: "\u76D1\u542C\u4E8B\u4EF6",
29
+ value: "",
30
+ props: { label: "\u5F39\u7A97\u7EC4\u4EF6" }
31
+ },
26
32
  { type: "input", field: "title", title: "\u5F39\u7A97\u6807\u9898", value: "\u901A\u77E5" },
27
33
  {
28
34
  type: "dk-tiny-editor",
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewDialog.js","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,IAA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ACjB;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.js","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,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,oBAAA;AAAA,QACN,KAAO,EAAA,QAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,EAAA;AAAA,QACP,KAAA,EAAO,EAAE,KAAA,EAAO,0BAAO,EAAA;AAAA,OACzB;AAAA,MACA,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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A,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,UAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,EAAA;AAAA,wBACP,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;;;;"}
@@ -41,7 +41,9 @@ var DkViewVideo = {
41
41
  suffix: {
42
42
  type: "p",
43
43
  style: { fontSize: "12px", color: "#888" },
44
- 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"]
44
+ children: [
45
+ "\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"
46
+ ]
45
47
  }
46
48
  }
47
49
  ]
@@ -50,7 +52,9 @@ var DkViewVideo = {
50
52
  suffix: {
51
53
  type: "p",
52
54
  style: { fontSize: "12px", color: "#888" },
53
- 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"]
55
+ children: [
56
+ "\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"
57
+ ]
54
58
  }
55
59
  },
56
60
  {
@@ -60,7 +64,9 @@ var DkViewVideo = {
60
64
  suffix: {
61
65
  type: "p",
62
66
  style: { fontSize: "12px", color: "#888" },
63
- 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"]
67
+ children: [
68
+ "\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"
69
+ ]
64
70
  }
65
71
  }
66
72
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewVideo.js","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,IA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AO,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.js","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 '设置开启开合模式后,视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,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAU,EAAA;AAAA,oBACR,0NAAA;AAAA,mBACF;AAAA,iBACF;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,QAAU,EAAA;AAAA,YACR,oLAAA;AAAA,WACF;AAAA,SACF;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,QAAU,EAAA;AAAA,YACR,iOAAA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var deepextend = require('@form-create/utils/lib/deepextend');
6
6
  var is = require('@form-create/utils/lib/type');
7
7
  var tocase = require('@form-create/utils/lib/tocase');
8
- var draggable = require('vuedraggable/src/vuedraggable');
9
8
  var PreviewPhone = require('./components/PreviewPhone.vue.js');
10
9
  var index = require('./config/rule/web/index.js');
11
10
  var index$1 = require('./config/rule/min/index.js');
@@ -44,7 +43,7 @@ const _sfc_main = vue.defineComponent({
44
43
  name: 'DkPageDiy',
45
44
  components: {
46
45
  DiyCloud: DiyCloud.default,
47
- draggable,
46
+ // draggable,
48
47
  PreviewPhone: PreviewPhone.default,
49
48
  DragForm: form.designerForm.$form(),
50
49
  },