@vipl520/dk-ui 1.0.41 → 1.0.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (435) 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 +101 -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.scss +1 -1
  133. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  134. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  135. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  136. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue2.mjs.map +1 -1
  137. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  138. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs +5 -2
  139. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs.map +1 -1
  140. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  141. package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
  142. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  143. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
  144. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  145. package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
  146. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  147. package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
  148. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  149. package/es/poster-input/src/poster-input.vue2.mjs.map +1 -1
  150. package/es/poster-input/style/index.scss +4 -2
  151. package/es/select/src/select.vue.mjs +1 -1
  152. package/es/select/src/select.vue2.mjs +9 -1
  153. package/es/select/src/select.vue2.mjs.map +1 -1
  154. package/es/style-animation-input/src/props.mjs.map +1 -1
  155. package/es/style-animation-input/src/style-animation-input.vue.mjs +1 -1
  156. package/es/style-animation-input/src/style-animation-input.vue2.mjs +1 -1
  157. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -1
  158. package/es/style-background-input/index.d.ts +2 -1
  159. package/es/style-background-input/src/style-background-input.vue.d.ts +2 -1
  160. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  161. package/es/style-background-input/src/style-background-input.vue2.mjs +2 -1
  162. package/es/style-background-input/src/style-background-input.vue2.mjs.map +1 -1
  163. package/es/style-border-input/index.d.ts +2 -1
  164. package/es/style-border-input/src/style-border-input.vue.d.ts +2 -1
  165. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  166. package/es/style-border-input/src/style-border-input.vue2.mjs +55 -38
  167. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  168. package/es/style-box-input/index.d.ts +2 -1
  169. package/es/style-box-input/src/style-box-input.vue.d.ts +2 -1
  170. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  171. package/es/style-box-input/src/style-box-input.vue2.mjs +2 -1
  172. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  173. package/es/style-font-input/index.d.ts +2 -1
  174. package/es/style-font-input/src/style-font-input.vue.d.ts +2 -1
  175. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  176. package/es/style-font-input/src/style-font-input.vue2.mjs +8 -7
  177. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  178. package/es/style-input/src/style-input.vue.mjs +1 -1
  179. package/es/style-input/src/style-input.vue2.mjs +15 -22
  180. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  181. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  182. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  183. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  184. package/es/style-position-input/src/style-position-input.vue2.mjs +4 -1
  185. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  186. package/es/style-shadow-input/index.d.ts +2 -1
  187. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  188. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +144 -155
  189. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
  190. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  191. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  192. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +2 -1
  193. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  194. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  195. package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
  196. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  197. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  198. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  199. package/es/table/src/components/RecycleDialog.vue2.mjs +3 -1
  200. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  201. package/es/table/src/components/header.vue.mjs +1 -1
  202. package/es/table/src/components/header.vue2.mjs +17 -3
  203. package/es/table/src/components/header.vue2.mjs.map +1 -1
  204. package/es/table/src/props.mjs +11 -1
  205. package/es/table/src/props.mjs.map +1 -1
  206. package/es/table/src/table.vue.mjs +1 -1
  207. package/es/table/src/table.vue2.mjs +13 -3
  208. package/es/table/src/table.vue2.mjs.map +1 -1
  209. package/es/table/utils/dkTable.mjs +32 -11
  210. package/es/table/utils/dkTable.mjs.map +1 -1
  211. package/es/table/utils/dkTableApi.mjs.map +1 -1
  212. package/es/test/src/test.vue.mjs +1 -1
  213. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  214. package/es/tiny-editor/src/tiny-editor.vue2.mjs +7 -3
  215. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  216. package/es/tiny-editor/style/index.css +1 -1
  217. package/es/tiny-editor/style/index.scss +5 -0
  218. package/es/video-input/src/video-input.vue.mjs +1 -1
  219. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  220. package/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
  221. package/lib/animate-select/src/animate-select.vue.js +1 -1
  222. package/lib/animate-select/src/animate-select.vue2.js +5 -1
  223. package/lib/animate-select/src/animate-select.vue2.js.map +1 -1
  224. package/lib/api/attachment.js.map +1 -1
  225. package/lib/attachment/src/attachment.vue.js +1 -1
  226. package/lib/attachment/src/attachment.vue2.js +7 -1
  227. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  228. package/lib/attachment/src/file-icon.vue.js +1 -1
  229. package/lib/attachment-dialog/index.d.ts +9 -0
  230. package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
  231. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  232. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +3 -2
  233. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  234. package/lib/attachment-dialog/src/props.d.ts +4 -0
  235. package/lib/attachment-dialog/src/props.js +4 -0
  236. package/lib/attachment-dialog/src/props.js.map +1 -1
  237. package/lib/audio-input/src/audio-input.vue.js +1 -1
  238. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  239. package/lib/audio-list-input/src/audio-list-input.vue2.js.map +1 -1
  240. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  241. package/lib/box-size-input/src/box-size-input.vue2.js +59 -58
  242. package/lib/box-size-input/src/box-size-input.vue2.js.map +1 -1
  243. package/lib/box-size-input/style/index.css +1 -1
  244. package/lib/box-size-input/style/index.scss +11 -4
  245. package/lib/color-input/src/color-input.vue.js +1 -1
  246. package/lib/dialog/src/dialog.vue.js +1 -1
  247. package/lib/dialog/src/dialog.vue2.js +3 -1
  248. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  249. package/lib/dialog/style/index.scss +1 -0
  250. package/lib/file-input/src/file-input.vue.js +1 -1
  251. package/lib/file-input/src/file-input.vue2.js.map +1 -1
  252. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  253. package/lib/file-list-input/src/file-list-input.vue2.js.map +1 -1
  254. package/lib/file-list-input/style/index.css +1 -1
  255. package/lib/file-list-input/style/index.scss +20 -16
  256. package/lib/form/src/form.vue.js +1 -1
  257. package/lib/form/src/form.vue2.js.map +1 -1
  258. package/lib/group/src/group.vue.js +1 -1
  259. package/lib/group/src/group.vue2.js +2 -2
  260. package/lib/group/src/group.vue2.js.map +1 -1
  261. package/lib/hot-area-input/src/component/hot-area-content.vue.js +1 -1
  262. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  263. package/lib/hot-area-input/src/hot-area-input.vue.js +1 -1
  264. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
  265. package/lib/icon/src/icon.vue.js +1 -1
  266. package/lib/icon/src/icon.vue2.js.map +1 -1
  267. package/lib/icon-input/src/icon-content.vue.js +1 -1
  268. package/lib/icon-input/src/icon-content.vue2.js +1 -1
  269. package/lib/icon-input/src/icon-content.vue2.js.map +1 -1
  270. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  271. package/lib/icon-input/src/icon-input.vue.js +1 -1
  272. package/lib/icon-input/src/icon-input.vue2.js.map +1 -1
  273. package/lib/image-input/src/image-input.vue.js +1 -1
  274. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  275. package/lib/image-list-input/src/image-list-input.vue2.js.map +1 -1
  276. package/lib/index.js +0 -10
  277. package/lib/index.js.map +1 -1
  278. package/lib/page-diy/index.js +0 -2
  279. package/lib/page-diy/index.js.map +1 -1
  280. package/lib/page-diy/src/components/DiyCloud.vue.js +1 -1
  281. package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
  282. package/lib/page-diy/src/components/DragBox.vue.js +7 -3
  283. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  284. package/lib/page-diy/src/components/DragTool.vue.js +6 -2
  285. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  286. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  287. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  288. package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js +1 -1
  289. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +12 -10
  290. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -1
  291. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  292. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +9 -1
  293. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -1
  294. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +3 -1
  295. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -1
  296. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +36 -6
  297. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  298. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +6 -2
  299. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -1
  300. package/lib/page-diy/src/config/rule/min/common/index.js +8 -1
  301. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  302. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js +3 -1
  303. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -1
  304. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -1
  305. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js +7 -1
  306. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -1
  307. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js +9 -3
  308. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -1
  309. package/lib/page-diy/src/page-diy.vue.js +101 -34
  310. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  311. package/lib/page-diy/src/utils/eventData.js.map +1 -1
  312. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +1 -1
  313. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +24 -7
  314. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
  315. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +1 -1
  316. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  317. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +1 -1
  318. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +1 -1
  319. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  320. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +1 -1
  321. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js +1 -1
  322. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -1
  323. package/lib/page-diy/src/views/web/DkViewCell.vue.js +1 -1
  324. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -1
  325. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +4 -2
  326. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
  327. package/lib/page-diy/src/views/web/DkViewDialog.vue.js +1 -1
  328. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js +1 -1
  329. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -1
  330. package/lib/page-diy/src/views/web/DkViewImage.vue.js +1 -1
  331. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -1
  332. package/lib/page-diy/src/views/web/DkViewMusic.vue.js +1 -1
  333. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
  334. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js +1 -1
  335. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js +1 -1
  336. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -1
  337. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js +1 -1
  338. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
  339. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js +1 -1
  340. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js +1 -1
  341. package/lib/page-diy/src/views/web/DkViewTitle.vue.js +1 -1
  342. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
  343. package/lib/page-diy/src/views/web/DkViewVideo.vue.js +1 -1
  344. package/lib/page-diy/style/dk-page-diy.scss +1 -1
  345. package/lib/poster-input/src/component/poster.vue.js +1 -1
  346. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  347. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  348. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue2.js.map +1 -1
  349. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  350. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js +5 -2
  351. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js.map +1 -1
  352. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  353. package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
  354. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  355. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
  356. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  357. package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
  358. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  359. package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
  360. package/lib/poster-input/src/poster-input.vue.js +1 -1
  361. package/lib/poster-input/src/poster-input.vue2.js.map +1 -1
  362. package/lib/poster-input/style/index.scss +4 -2
  363. package/lib/select/src/select.vue.js +1 -1
  364. package/lib/select/src/select.vue2.js +9 -1
  365. package/lib/select/src/select.vue2.js.map +1 -1
  366. package/lib/style-animation-input/src/props.js.map +1 -1
  367. package/lib/style-animation-input/src/style-animation-input.vue.js +1 -1
  368. package/lib/style-animation-input/src/style-animation-input.vue2.js +1 -1
  369. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -1
  370. package/lib/style-background-input/index.d.ts +2 -1
  371. package/lib/style-background-input/src/style-background-input.vue.d.ts +2 -1
  372. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  373. package/lib/style-background-input/src/style-background-input.vue2.js +2 -1
  374. package/lib/style-background-input/src/style-background-input.vue2.js.map +1 -1
  375. package/lib/style-border-input/index.d.ts +2 -1
  376. package/lib/style-border-input/src/style-border-input.vue.d.ts +2 -1
  377. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  378. package/lib/style-border-input/src/style-border-input.vue2.js +55 -38
  379. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  380. package/lib/style-box-input/index.d.ts +2 -1
  381. package/lib/style-box-input/src/style-box-input.vue.d.ts +2 -1
  382. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  383. package/lib/style-box-input/src/style-box-input.vue2.js +2 -1
  384. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  385. package/lib/style-font-input/index.d.ts +2 -1
  386. package/lib/style-font-input/src/style-font-input.vue.d.ts +2 -1
  387. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  388. package/lib/style-font-input/src/style-font-input.vue2.js +8 -7
  389. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  390. package/lib/style-input/src/style-input.vue.js +1 -1
  391. package/lib/style-input/src/style-input.vue2.js +14 -21
  392. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  393. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  394. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  395. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  396. package/lib/style-position-input/src/style-position-input.vue2.js +4 -1
  397. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  398. package/lib/style-shadow-input/index.d.ts +2 -1
  399. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  400. package/lib/style-shadow-input/src/style-shadow-content.vue2.js +144 -155
  401. package/lib/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
  402. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
  403. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  404. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +2 -1
  405. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  406. package/lib/table/src/components/ComSearch.vue.js +1 -1
  407. package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
  408. package/lib/table/src/components/FieldRender.vue.js +1 -1
  409. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  410. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  411. package/lib/table/src/components/RecycleDialog.vue2.js +3 -1
  412. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  413. package/lib/table/src/components/header.vue.js +1 -1
  414. package/lib/table/src/components/header.vue2.js +17 -3
  415. package/lib/table/src/components/header.vue2.js.map +1 -1
  416. package/lib/table/src/props.js +11 -1
  417. package/lib/table/src/props.js.map +1 -1
  418. package/lib/table/src/table.vue.js +1 -1
  419. package/lib/table/src/table.vue2.js +13 -3
  420. package/lib/table/src/table.vue2.js.map +1 -1
  421. package/lib/table/utils/dkTable.js +32 -11
  422. package/lib/table/utils/dkTable.js.map +1 -1
  423. package/lib/table/utils/dkTableApi.js.map +1 -1
  424. package/lib/test/src/test.vue.js +1 -1
  425. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  426. package/lib/tiny-editor/src/tiny-editor.vue2.js +7 -3
  427. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  428. package/lib/tiny-editor/style/index.css +1 -1
  429. package/lib/tiny-editor/style/index.scss +5 -0
  430. package/lib/video-input/src/video-input.vue.js +1 -1
  431. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  432. package/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
  433. package/package.json +3 -2
  434. package/dist/index.js +0 -34319
  435. package/dist/index.mjs +0 -34229
@@ -60,7 +60,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
60
60
  ]))
61
61
  ]))
62
62
  }
63
- var DkMinTitle = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinTitle.vue"]]);
63
+ var DkMinTitle = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\min\\DkMinTitle.vue"]]);
64
64
 
65
65
  exports.default = DkMinTitle;
66
66
  //# sourceMappingURL=DkMinTitle.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinTitle.vue.js","sources":["../../../../../src/page-diy/src/views/min/DkMinTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-min-title\">\n <div v-if=\"type === '0'\" :style=\"{ textAlign: align, color: color }\">\n <span>{{ title }}</span>\n </div>\n <div v-else style=\"display: flex; align-items: flex-end; justify-content: space-between\">\n <div>\n <span :style=\"{ color: color }\">{{ title }} </span>\n <span style=\"margin-left: 5px; font-size: 12px\" :style=\"{ color: subColor }\">{{ subtitle }} </span>\n </div>\n <div v-if=\"isMore\" :style=\"{ color: moreColor }\" style=\"font-size: 12px\">{{ moreText }}</div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkMinTitle',\n props: {\n type: { default: '0', type: String },\n title: { default: '', type: String },\n subtitle: { default: '', type: String },\n align: { default: 'left', type: String },\n color: { default: '#000', type: String },\n subColor: { default: '#999', type: String },\n isMore: { default: true, type: Boolean },\n moreText: { default: '查看更多', type: String },\n url: { default: '链接地址', type: String },\n moreColor: { default: '#999', type: String },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode"],"mappings":";;;;;;;AAgBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AAC3C,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AAC3C,IAAA,GAAG,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACtC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;GAC7C;AACD,EAAA,IAAI,GAAG;AACL,IAA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AS,CAAA,SAAA,EAAA,EAAI,CAAuB,WAAA,CAAA,MAAA,CAAA,CAAA,CAAA;qCAAI,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkMinTitle.vue.js","sources":["../../../../../src/page-diy/src/views/min/DkMinTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-min-title\">\n <div v-if=\"type === '0'\" :style=\"{ textAlign: align, color: color }\">\n <span>{{ title }}</span>\n </div>\n <div\n v-else\n style=\"\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n \"\n >\n <div>\n <span :style=\"{ color: color }\">{{ title }} </span>\n <span\n style=\"margin-left: 5px; font-size: 12px\"\n :style=\"{ color: subColor }\"\n >{{ subtitle }}\n </span>\n </div>\n <div v-if=\"isMore\" :style=\"{ color: moreColor }\" style=\"font-size: 12px\">\n {{ moreText }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkMinTitle',\n props: {\n type: { default: '0', type: String },\n title: { default: '', type: String },\n subtitle: { default: '', type: String },\n align: { default: 'left', type: String },\n color: { default: '#000', type: String },\n subColor: { default: '#999', type: String },\n isMore: { default: true, type: Boolean },\n moreText: { default: '查看更多', type: String },\n url: { default: '链接地址', type: String },\n moreColor: { default: '#999', type: String },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode"],"mappings":";;;;;;;AA6BA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,Q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AmBM,EAAA;UAXJE,sBAOM,CAAA,KAAA,EAAA,IAAA,EAAA;YANJA,sBAAmD,CAAA,MAAA,EAAA;AAA5C,cAAA,KAAK,8BAAW,MAAK,CAAA,KAAA,EAAA,CAAA;mCAAO,MAAK,CAAA,KAAA,CAAA,EAAA,CAAA,mBAAA;YACxCA,sBAIO,CAAA,MAAA,EAAA;cAHL,KAAyC,EAAAD,kBAAA,CAAA,CAAzC,CAAyC,aAAA,CAAA,KAAA,CAAA,WAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAA,EACxB,MAAQ,CAAA,QAAA,EAAA,CAAA,CAAA;mCACrB,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;WAGL,MAAM,CAAA,MAAA;gCAAjBD,sBAEM,CAAA,KAAA,EAAA;;gBAFc,KAAK,EAAAC,kBAAA,CAAA,CAAA,EAAA,KAAA,EAAW,MAAS,CAAA,SAAA,EAAA,EAAI,CAAuB,WAAA,CAAA,MAAA,CAAA,CAAA,CAAA;qCACnE,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
@@ -84,7 +84,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
84
84
  ])
85
85
  ], 4 /* STYLE */))
86
86
  }
87
- var DkMinVideo = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\min\\DkMinVideo.vue"]]);
87
+ var DkMinVideo = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\min\\DkMinVideo.vue"]]);
88
88
 
89
89
  exports.default = DkMinVideo;
90
90
  //# sourceMappingURL=DkMinVideo.vue.js.map
@@ -78,7 +78,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
78
78
  style: vue.normalizeStyle([{"display":"flex"}, { background: $props.bgColor, color: $props.textColor }])
79
79
  }, _hoisted_5, 4 /* STYLE */))
80
80
  }
81
- var DkViewBulletChat = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewBulletChat.vue"]]);
81
+ var DkViewBulletChat = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewBulletChat.vue"]]);
82
82
 
83
83
  exports.default = DkViewBulletChat;
84
84
  //# sourceMappingURL=DkViewBulletChat.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewBulletChat.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewBulletChat.vue"],"sourcesContent":["<template>\n <van-swipe\n v-if=\"dataType === 'default'\"\n vertical\n class=\"dk-view-bullet-chat\"\n :style=\"{ background: bgColor, color: textColor }\"\n :autoplay=\"autoplay\"\n :show-indicators=\"false\"\n >\n <van-swipe-item v-for=\"(item, key) in bulletData\" :key=\"key\">\n <div class=\"bullet-content\">\n <img v-if=\"item.avatar\" :src=\"item.avatar\" alt=\"\" />\n <span class=\"over\">{{ item.text }}</span>\n </div>\n </van-swipe-item>\n </van-swipe>\n <div v-else class=\"dk-view-bullet-chat\" style=\"display: flex\" :style=\"{ background: bgColor, color: textColor }\">\n <div class=\"bullet-content\">\n <span class=\"over\">当前数据由事件传入</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewBulletChat',\n props: {\n bgColor: { default: '', type: String },\n textColor: { default: '', type: String },\n dataType: { default: '', type: String }, // 内容来源\n eventName: { default: '', type: String }, // 事件名称\n autoplay: { default: 3000, type: Number },\n bulletData: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementVNode","_createBlock","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString"],"mappings":";;;;;;;AAwBA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,kBAAkB;AACxB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACtC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;IACzC,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;AAnCW,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,gBAAgB,GAAA;;AAEnB,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,MAAM,GAAA;gCAKtBA,sBAEM,CAAA,KAAA,EAAA,EAFD,KAAK,EAAC,gBAAgB,EAAA,EAAA;AACzB,eAAAA,sBAAA,CAAmC,MAA7B,EAAA,EAAA,KAAK,EAAC,MAAM,IAAC,WAAS,CAAA;;;EAD9B,UAEM;;;;;;;UAjBA,MAAQ,CAAA,QAAA,KAAA,SAAA;wBADhBC,eAcY,CAAA,oBAAA,EAAA;;AAZV,QAAA,QAAQ,EAAR,EAAQ;AACR,QAAA,KAAK,EAAC,qBAAqB;QAC1B,KAAK,EAAAC,kBAAA,CAAA,EAAA,UAAA,EAAgB,MAAO,CAAA,OAAA,EAAA,KAAA,EAAS,MAAS,CAAA,SAAA,EAAA,CAAA;AAC9C,QAAA,QAAQ,EAAE,MAAQ,CAAA,QAAA;AAClB,QAAA,iBAAe,EAAE,KAAK;;6BAEP,MAAiC;AAAjD,WAAAC,aAAA,CAAA,IAAA,CAAA,EAAAC,sBAAA,CAKiBC,YALqB,EAAA,IAAA,EAAAC,cAAA,CAAA,MAAA,CAAA,UAAU,EAAxB,CAAA,IAAI,EAAE,GAAG,KAAA;qCAAjCL,eAKiB,CAAA,yBAAA,EAAA,EALkC,GAAG,EAAE,GAAG,EAAA,EAAA;mCACzD,MAGM;AAHN,gBAAAD,sBAAA,CAGM,OAHN,UAGM,EAAA;AAFO,kBAAA,CAAA,IAAI,CAAC,MAAM;wCAAtBI,sBAAoD,CAAA,KAAA,EAAA;;wBAA3B,GAAG,EAAE,IAAI,CAAC,MAAM;AAAE,wBAAA,GAAG,EAAC,EAAE;;;AACjD,kBAAAJ,sBAAA,CAAyC,MAAzC,EAAA,UAAyC,EAAnBO,mBAAA,CAAA,IAAI,CAAC,IAAI,CAAA,EAAA,CAAA,YAAA;;;;;;;;;wBAIrCH,sBAIM,CAAA,KAAA,EAAA;;AAJM,QAAA,KAAK,EAAC,qBAAqB;AAAC,QAAA,KAAqB,EAArBF,kBAAA,CAAA,CAAA,CAAA,SAAA,CAAA,MAAA,CAAqB,EAAuB,EAAA,UAAA,EAAA,MAAA,CAAA,OAAO,SAAS,MAAS,CAAA,SAAA,EAAA,CAAA,CAAA;;;;;;;"}
1
+ {"version":3,"file":"DkViewBulletChat.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewBulletChat.vue"],"sourcesContent":["<template>\n <van-swipe\n v-if=\"dataType === 'default'\"\n vertical\n class=\"dk-view-bullet-chat\"\n :style=\"{ background: bgColor, color: textColor }\"\n :autoplay=\"autoplay\"\n :show-indicators=\"false\"\n >\n <van-swipe-item v-for=\"(item, key) in bulletData\" :key=\"key\">\n <div class=\"bullet-content\">\n <img v-if=\"item.avatar\" :src=\"item.avatar\" alt=\"\" />\n <span class=\"over\">{{ item.text }}</span>\n </div>\n </van-swipe-item>\n </van-swipe>\n <div\n v-else\n class=\"dk-view-bullet-chat\"\n style=\"display: flex\"\n :style=\"{ background: bgColor, color: textColor }\"\n >\n <div class=\"bullet-content\">\n <span class=\"over\">当前数据由事件传入</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewBulletChat',\n props: {\n bgColor: { default: '', type: String },\n textColor: { default: '', type: String },\n dataType: { default: '', type: String }, // 内容来源\n eventName: { default: '', type: String }, // 事件名称\n autoplay: { default: 3000, type: Number },\n bulletData: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementVNode","_createBlock","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString"],"mappings":";;;;;;;AA6BA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,kBAAkB;AACxB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACtC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;IACzC,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,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AACjD,kBAAAJ,sBAAA,CAAyC,MAAzC,EAAA,UAAyC,EAAnBO,mBAAA,CAAA,IAAI,CAAC,IAAI,CAAA,EAAA,CAAA,YAAA;;;;;;;;;wBAIrCH,sBASM,CAAA,KAAA,EAAA;;AAPJ,QAAA,KAAK,EAAC,qBAAqB;AAC3B,QAAA,KAAqB,EAArBF,kBAAA,CAAA,CAAA,CAAA,SAAA,CAAA,MAAA,CAAqB,EACC,EAAA,UAAA,EAAA,MAAA,CAAA,OAAO,SAAS,MAAS,CAAA,SAAA,EAAA,CAAA,CAAA;;;;;;;"}
@@ -40,7 +40,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
40
40
  _: 1 /* STABLE */
41
41
  }))
42
42
  }
43
- var DkViewCell = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewCell.vue"]]);
43
+ var DkViewCell = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewCell.vue"]]);
44
44
 
45
45
  exports.default = DkViewCell;
46
46
  //# sourceMappingURL=DkViewCell.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewCell.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewCell.vue"],"sourcesContent":["<template>\n <van-cell-group>\n <van-cell v-for=\"(item, key) in groups\" :key=\"key\" :title=\"item.title\" :value=\"item.value\"> </van-cell>\n </van-cell-group>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCell',\n props: {\n groups: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList"],"mappings":";;;;;;;AAOA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;;2BAtBEA,eAEiB,CAAA,yBAAA,EAAA,IAAA,EAAA;yBADL,MAA6B;AAAvC,OAAAC,aAAA,CAAA,IAAA,CAAA,EAAAC,sBAAA,CAAuGC,YAAvE,EAAA,IAAA,EAAAC,cAAA,CAAA,MAAA,CAAA,MAAM,EAApB,CAAA,IAAI,EAAE,GAAG,KAAA;iCAA3BJ,eAAuG,CAAA,mBAAA,EAAA;AAA9D,UAAA,GAAG,EAAE,GAAG;UAAG,KAAK,EAAE,IAAI,CAAC,KAAK;UAAG,KAAK,EAAE,IAAI,CAAC,KAAK;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewCell.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewCell.vue"],"sourcesContent":["<template>\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in groups\"\n :key=\"key\"\n :title=\"item.title\"\n :value=\"item.value\"\n >\n </van-cell>\n </van-cell-group>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCell',\n props: {\n groups: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList"],"mappings":";;;;;;;AAaA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;;2BA5BEA,eAQiB,CAAA,yBAAA,EAAA,IAAA,EAAA;yBANb,MAA6B;AAD/B,OAAAC,aAAA,CAAA,IAAA,CAAA,EAAAC,sBAAA,CAMWC,YALa,EAAA,IAAA,EAAAC,cAAA,CAAA,MAAA,CAAA,MAAM,EAApB,CAAA,IAAI,EAAE,GAAG,KAAA;iCADnBJ,eAMW,CAAA,mBAAA,EAAA;AAJR,UAAA,GAAG,EAAE,GAAG;UACR,KAAK,EAAE,IAAI,CAAC,KAAK;UACjB,KAAK,EAAE,IAAI,CAAC,KAAK;;;;;;;;;;;"}
@@ -61,7 +61,9 @@ const _sfc_main = {
61
61
  },
62
62
  vanBtnColor() {
63
63
  if (this.color && this.color2) {
64
- return 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'
64
+ return (
65
+ 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'
66
+ )
65
67
  } else if (this.color) {
66
68
  return this.color
67
69
  } else if (this.color2) {
@@ -136,7 +138,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
136
138
  ]))
137
139
  ]))
138
140
  }
139
- var DkViewCommonBtn = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewCommonBtn.vue"]]);
141
+ var DkViewCommonBtn = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewCommonBtn.vue"]]);
140
142
 
141
143
  exports.default = DkViewCommonBtn;
142
144
  //# sourceMappingURL=DkViewCommonBtn.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewCommonBtn.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewCommonBtn.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-common-btn\">\n <div v-if=\"type === 'btn'\" class=\"btn\">\n <van-button type=\"primary\" :block=\"block\" :round=\"round\" :size=\"size\" :color=\"vanBtnColor\" :icon=\"icon\">\n {{ btnText }}\n </van-button>\n </div>\n <div v-else class=\"f-btn\">\n <div v-if=\"img\" class=\"image-content\">\n <img :src=\"img\" alt=\"\" :width=\"imgSize\" />\n </div>\n <div :style=\"textStyle\" class=\"f-btn-content\">\n <van-icon :name=\"icon\" :size=\"iconSize\" />\n <span :style=\"{ fontSize: fontSize + 'px' }\"> {{ fBtnText }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCommonBtn',\n props: {\n posterData: {\n default: () => {\n return {}\n },\n type: [Object],\n },\n type: { default: 'btn', type: [String] },\n icon: { default: '', type: String },\n // 图片配置\n imgSize: { default: 20, type: [String, Number] },\n img: { default: '', type: String },\n imgText: { default: '', type: String },\n // 悬浮配置\n fBtnText: { default: '自定义文本', type: String },\n fBgColor: { default: '#ff3d2c', type: String },\n isTextBlock: { default: true, type: Boolean },\n fColor: { default: '#fff', type: String },\n fWSize: { default: 20, type: [String, Number] },\n fHSize: { default: 20, type: [String, Number] },\n borderRadius: { default: 20, type: [String, Number] },\n fontSize: { default: 12, type: [String, Number] },\n fontTopSize: { default: 0, type: [String, Number] },\n iconSize: { default: 12, type: [String, Number] },\n // 按钮配置\n btnText: { default: '按钮文字', type: String },\n block: { default: true, type: Boolean },\n round: { default: true, type: Boolean },\n size: { default: 'normal', type: String },\n color: { default: '#ff3d2c', type: String },\n color2: { default: '', type: String },\n },\n data() {\n return {}\n },\n computed: {\n textStyle() {\n if (this.isTextBlock) {\n return {\n backgroundColor: this.fBgColor,\n width: this.fWSize + 'px',\n height: this.fHSize + 'px',\n color: this.fColor,\n borderRadius: this.borderRadius + 'px',\n marginTop: this.fontTopSize + 'px',\n }\n } else {\n return {\n marginTop: this.fontTopSize + 'px',\n }\n }\n },\n vanBtnColor() {\n if (this.color && this.color2) {\n return 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'\n } else if (this.color) {\n return this.color\n } else if (this.color2) {\n return this.color2\n } else {\n return ''\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_createElementVNode"],"mappings":";;;;;;;AAoBA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;IACL,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,CAAC,MAAM,CAAC;KACf;AACD,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG;IACxC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;;AAEnC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG;IAChD,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;;AAEtC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ;AAC5C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC9C,IAAA,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS;AAC7C,IAAA,MAAM,EAAE,EAAE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AI,EAAC,SAAS;AAAE,YAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,YAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,YAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,YAAA,KAAK,EAAE,QAAW,CAAA,WAAA;AAAG,YAAA,IAAI,EAAE,MAAI,CAAA,IAAA;;iCACpG,MAAa;sDAAV,MAAO,CAAA,OAAA,CAAA,EAAA,CAAA,YAAA;;;;;AAGd,SAAAF,aAAA,EAAA,EAAAC,sBAAA,CAQM,OARN,UAQM,EAAA;WAPO,MAAG,CAAA,GAAA;AAAd,eAAAD,aAAA,EAAA,EAAAC,sBAAA,CAEM,OAFN,UAEM,EAAA;gBADJE,sBAA0C,CAAA,KAAA,EAAA;AAApC,kBAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,kBAAA,GAAG,EAAC,EAAE;AAAE,kBAAA,KAAK,EAAE,MAAO,CAAA,OAAA;;;;UAExCA,sBAGM,CAAA,KAAA,EAAA;AAHA,YAAA,KAAK,qBAAE,QAAS,CAAA,SAAA,CAAA;AAAE,YAAA,KAAK,EAAC,eAAe;;YAC3CD,eAA0C,CAAA,mBAAA,EAAA;AAA/B,cAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,cAAA,IAAI,EAAE,MAAQ,CAAA,QAAA;;YACtCC,sBAAmE,CAAA,MAAA,EAAA;AAA5D,cAAA,KAAK,iCAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;mCAAe,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewCommonBtn.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewCommonBtn.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-common-btn\">\n <div v-if=\"type === 'btn'\" class=\"btn\">\n <van-button\n type=\"primary\"\n :block=\"block\"\n :round=\"round\"\n :size=\"size\"\n :color=\"vanBtnColor\"\n :icon=\"icon\"\n >\n {{ btnText }}\n </van-button>\n </div>\n <div v-else class=\"f-btn\">\n <div v-if=\"img\" class=\"image-content\">\n <img :src=\"img\" alt=\"\" :width=\"imgSize\" />\n </div>\n <div :style=\"textStyle\" class=\"f-btn-content\">\n <van-icon :name=\"icon\" :size=\"iconSize\" />\n <span :style=\"{ fontSize: fontSize + 'px' }\"> {{ fBtnText }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCommonBtn',\n props: {\n posterData: {\n default: () => {\n return {}\n },\n type: [Object],\n },\n type: { default: 'btn', type: [String] },\n icon: { default: '', type: String },\n // 图片配置\n imgSize: { default: 20, type: [String, Number] },\n img: { default: '', type: String },\n imgText: { default: '', type: String },\n // 悬浮配置\n fBtnText: { default: '自定义文本', type: String },\n fBgColor: { default: '#ff3d2c', type: String },\n isTextBlock: { default: true, type: Boolean },\n fColor: { default: '#fff', type: String },\n fWSize: { default: 20, type: [String, Number] },\n fHSize: { default: 20, type: [String, Number] },\n borderRadius: { default: 20, type: [String, Number] },\n fontSize: { default: 12, type: [String, Number] },\n fontTopSize: { default: 0, type: [String, Number] },\n iconSize: { default: 12, type: [String, Number] },\n // 按钮配置\n btnText: { default: '按钮文字', type: String },\n block: { default: true, type: Boolean },\n round: { default: true, type: Boolean },\n size: { default: 'normal', type: String },\n color: { default: '#ff3d2c', type: String },\n color2: { default: '', type: String },\n },\n data() {\n return {}\n },\n computed: {\n textStyle() {\n if (this.isTextBlock) {\n return {\n backgroundColor: this.fBgColor,\n width: this.fWSize + 'px',\n height: this.fHSize + 'px',\n color: this.fColor,\n borderRadius: this.borderRadius + 'px',\n marginTop: this.fontTopSize + 'px',\n }\n } else {\n return {\n marginTop: this.fontTopSize + 'px',\n }\n }\n },\n vanBtnColor() {\n if (this.color && this.color2) {\n return (\n 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'\n )\n } else if (this.color) {\n return this.color\n } else if (this.color2) {\n return this.color2\n } else {\n return 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;;;;;AAGd,SAAAF,aAAA,EAAA,EAAAC,sBAAA,CAQM,OARN,UAQM,EAAA;WAPO,MAAG,CAAA,GAAA;AAAd,eAAAD,aAAA,EAAA,EAAAC,sBAAA,CAEM,OAFN,UAEM,EAAA;gBADJE,sBAA0C,CAAA,KAAA,EAAA;AAApC,kBAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,kBAAA,GAAG,EAAC,EAAE;AAAE,kBAAA,KAAK,EAAE,MAAO,CAAA,OAAA;;;;UAExCA,sBAGM,CAAA,KAAA,EAAA;AAHA,YAAA,KAAK,qBAAE,QAAS,CAAA,SAAA,CAAA;AAAE,YAAA,KAAK,EAAC,eAAe;;YAC3CD,eAA0C,CAAA,mBAAA,EAAA;AAA/B,cAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,cAAA,IAAI,EAAE,MAAQ,CAAA,QAAA;;YACtCC,sBAAmE,CAAA,MAAA,EAAA;AAA5D,cAAA,KAAK,iCAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;mCAAe,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
@@ -69,7 +69,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
69
69
  : vue.createCommentVNode("v-if", true)
70
70
  ]))
71
71
  }
72
- var DkViewDialog = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewDialog.vue"]]);
72
+ var DkViewDialog = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewDialog.vue"]]);
73
73
 
74
74
  exports.default = DkViewDialog;
75
75
  //# sourceMappingURL=DkViewDialog.vue.js.map
@@ -183,7 +183,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
183
183
  }, 8 /* PROPS */, ["square", "direction", "gutter", "clickable", "border", "column-num"])
184
184
  ]))
185
185
  }
186
- var DkViewGridCellList = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewGridCellList.vue"]]);
186
+ var DkViewGridCellList = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewGridCellList.vue"]]);
187
187
 
188
188
  exports.default = DkViewGridCellList;
189
189
  //# sourceMappingURL=DkViewGridCellList.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewGridCellList.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewGridCellList.vue"],"sourcesContent":["<template>\n <div v-if=\"type === 'cell'\" class=\"cell\">\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in gridCellList\"\n :key=\"key\"\n is-link\n :style=\"{ lineHeight: cellImgSize + 'px!important' }\"\n >\n <template #icon>\n <img\n :src=\"item.img\"\n :alt=\"item.title\"\n :width=\"cellImgSize\"\n :height=\"cellImgSize\"\n :style=\"{\n borderRadius: imgRadius + 'px',\n marginRight: imgTextGutter + 'px',\n }\"\n />\n </template>\n <template #title>\n <span class=\"custom-title\" :style=\"{ fontSize: fontSize + 'px' }\">{{ item.title }}</span>\n </template>\n <template #right-icon>\n <dk-icon icon=\"ArrowRight\"></dk-icon>\n <!-- <div style=\"color: #999; font-size: 16px\">-->\n <!-- <i class=\"el-icon-arrow-right\" />-->\n <!-- </div>-->\n </template>\n </van-cell>\n </van-cell-group>\n </div>\n <div v-else class=\"grid\">\n <van-grid\n :square=\"square\"\n :direction=\"direction\"\n :gutter=\"gutter\"\n :clickable=\"clickable\"\n :border=\"border\"\n :column-num=\"columnNum\"\n >\n <template v-for=\"(item, key) in gridCellList\">\n <van-grid-item v-if=\"item.show\" :key=\"key\" icon=\"photo-o\">\n <template #icon>\n <img\n :src=\"item.img\"\n :width=\"gridImgSize\"\n :height=\"gridImgSize\"\n :alt=\"item.title\"\n :style=\"{ borderRadius: imgRadius + 'px' }\"\n />\n </template>\n <template #text>\n <span :style=\"{ fontSize: fontSize + 'px' }\">\n {{ item.title }}\n </span>\n </template>\n </van-grid-item>\n </template>\n </van-grid>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewGridCellList',\n props: {\n value: {\n default: '',\n type: String,\n },\n imgRadius: {\n default: 0,\n type: Number,\n },\n gridCellList: {\n default: () => {},\n type: [Array],\n },\n fontSize: {\n default: 14,\n type: Number,\n },\n type: {\n default: 'cell',\n type: String,\n },\n cellImgSize: {\n // 列表图片大小\n default: 20,\n type: Number,\n },\n imgTextGutter: {\n // 图文间距\n default: 0,\n type: Number,\n },\n /** ***************************************************** 下面是宫格配置*****************************/\n columnNum: {\n // 宫格列数\n default: 4,\n type: Number,\n },\n square: {\n // 是否为正方形\n default: false,\n type: Boolean,\n },\n gutter: {\n // 间距\n default: 0,\n type: Number,\n },\n direction: {\n // 横向布局\n default: 'vertical',\n type: String,\n },\n clickable: {\n // 点击效果\n default: true,\n type: Boolean,\n },\n border: {\n // 显示边框\n default: true,\n type: Boolean,\n },\n gridImgSize: {\n // 宫格图片大小\n default: 40,\n type: Number,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_Fragment","_renderList","_createBlock","_createElementVNode","_normalizeStyle","_toDisplayString","_createCommentVNode"],"mappings":";;;;;;;AAiEA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,oBAAoB;AAC1B,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAA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,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewGridCellList.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewGridCellList.vue"],"sourcesContent":["<template>\n <div v-if=\"type === 'cell'\" class=\"cell\">\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in gridCellList\"\n :key=\"key\"\n is-link\n :style=\"{ lineHeight: cellImgSize + 'px!important' }\"\n >\n <template #icon>\n <img\n :src=\"item.img\"\n :alt=\"item.title\"\n :width=\"cellImgSize\"\n :height=\"cellImgSize\"\n :style=\"{\n borderRadius: imgRadius + 'px',\n marginRight: imgTextGutter + 'px',\n }\"\n />\n </template>\n <template #title>\n <span class=\"custom-title\" :style=\"{ fontSize: fontSize + 'px' }\">{{\n item.title\n }}</span>\n </template>\n <template #right-icon>\n <dk-icon icon=\"ArrowRight\"></dk-icon>\n <!-- <div style=\"color: #999; font-size: 16px\">-->\n <!-- <i class=\"el-icon-arrow-right\" />-->\n <!-- </div>-->\n </template>\n </van-cell>\n </van-cell-group>\n </div>\n <div v-else class=\"grid\">\n <van-grid\n :square=\"square\"\n :direction=\"direction\"\n :gutter=\"gutter\"\n :clickable=\"clickable\"\n :border=\"border\"\n :column-num=\"columnNum\"\n >\n <template v-for=\"(item, key) in gridCellList\">\n <van-grid-item v-if=\"item.show\" :key=\"key\" icon=\"photo-o\">\n <template #icon>\n <img\n :src=\"item.img\"\n :width=\"gridImgSize\"\n :height=\"gridImgSize\"\n :alt=\"item.title\"\n :style=\"{ borderRadius: imgRadius + 'px' }\"\n />\n </template>\n <template #text>\n <span :style=\"{ fontSize: fontSize + 'px' }\">\n {{ item.title }}\n </span>\n </template>\n </van-grid-item>\n </template>\n </van-grid>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewGridCellList',\n props: {\n value: {\n default: '',\n type: String,\n },\n imgRadius: {\n default: 0,\n type: Number,\n },\n gridCellList: {\n default: () => {},\n type: [Array],\n },\n fontSize: {\n default: 14,\n type: Number,\n },\n type: {\n default: 'cell',\n type: String,\n },\n cellImgSize: {\n // 列表图片大小\n default: 20,\n type: Number,\n },\n imgTextGutter: {\n // 图文间距\n default: 0,\n type: Number,\n },\n /** ***************************************************** 下面是宫格配置*****************************/\n columnNum: {\n // 宫格列数\n default: 4,\n type: Number,\n },\n square: {\n // 是否为正方形\n default: false,\n type: Boolean,\n },\n gutter: {\n // 间距\n default: 0,\n type: Number,\n },\n direction: {\n // 横向布局\n default: 'vertical',\n type: String,\n },\n clickable: {\n // 点击效果\n default: true,\n type: Boolean,\n },\n border: {\n // 显示边框\n default: true,\n type: Boolean,\n },\n gridImgSize: {\n // 宫格图片大小\n default: 40,\n type: Number,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_Fragment","_renderList","_createBlock","_createElementVNode","_normalizeStyle","_toDisplayString","_createCommentVNode"],"mappings":";;;;;;;AAmEA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,oBAAoB;AAC1B,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;IACD,YAAY,EAAE;AACZ,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,KAAK,CAAC;KACd;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,IAAI,EAAE;AACJ,MAAA,OAAO,EAAE,MAAM;MACf,IAAI,EAAE,MAAM;KACb;IACD,WAAW,EAAE;AACX;MACA,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,aAAa,EAAE;;AAEb,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAA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A,EAAAC,sBAAA,CAiBWE,YAjBqB,EAAA,IAAA,EAAAC,cAAA,CAAA,MAAA,CAAA,YAAY,EAA1B,CAAA,IAAI,EAAE,GAAG,KAAA;;AACJ,gBAAA,CAAA,IAAI,CAAC,IAAI;sCAA9BC,eAegB,CAAA,wBAAA,EAAA;AAfiB,sBAAA,GAAG,EAAE,GAAG;AAAE,sBAAA,IAAI,EAAC,SAAS;;AAC5C,sBAAA,IAAI,cACb,MAME;wBANFC,sBAME,CAAA,KAAA,EAAA;0BALC,GAAG,EAAE,IAAI,CAAC,GAAG;AACb,0BAAA,KAAK,EAAE,MAAW,CAAA,WAAA;AAClB,0BAAA,MAAM,EAAE,MAAW,CAAA,WAAA;0BACnB,GAAG,EAAE,IAAI,CAAC,KAAK;AACf,0BAAA,KAAK,qCAAkB,MAAS,CAAA,SAAA,GAAA,IAAA,EAAA,CAAA;;;AAG1B,sBAAA,IAAI,cACb,MAEO;wBAFPA,sBAEO,CAAA,MAAA,EAAA;AAFA,0BAAA,KAAK,iCAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;AAC7B,yBAAA,EAAAE,mBAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;;;;;;;;"}
@@ -79,7 +79,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
79
79
  : vue.createCommentVNode("v-if", true)
80
80
  ], 2 /* CLASS */))
81
81
  }
82
- var DkViewImage = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewImage.vue"]]);
82
+ var DkViewImage = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewImage.vue"]]);
83
83
 
84
84
  exports.default = DkViewImage;
85
85
  //# sourceMappingURL=DkViewImage.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewImage.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewImage.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-image\" :class=\"'dk-mobile-image-' + type\">\n <div v-for=\"(item, key) in imageList\" :key=\"key\" class=\"dk-mobile-image-content\" :style=\"_style\">\n <van-image :src=\"item.img\" :fit=\"fit\" width=\"100%\" :height=\"heightAuto ? height : ''\" style=\"overflow: hidden\" />\n <div v-if=\"showText && item.title\" :class=\"'text-type-' + textType\">\n {{ item.title }}\n </div>\n </div>\n <div v-if=\"imageList.length <= 0\">\n <el-empty description=\"请添加图片数据\" />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewImage',\n props: {\n value: { default: '', type: String },\n type: { default: 'default', type: String },\n textType: { default: 'default', type: String },\n heightAuto: { default: false, type: Boolean },\n showText: { default: false, type: Boolean },\n height: { default: '', type: [Number, String] },\n width: { default: '', type: [Number, String] },\n borderRadius: { default: '', type: [Number, String] },\n marginBottom: { default: '', type: [Number, String] },\n marginRight: { default: '', type: [Number, String] },\n imageList: { default: () => [], type: [Array] },\n\n fit: { default: 'cover', type: String },\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const style = {}\n if (this.type === 'default') {\n style.marginBottom = this.marginBottom + 'px'\n } else {\n style.width = this.width + '%'\n style.marginRight = this.marginRight + 'px'\n }\n style.borderRadius = this.borderRadius + 'px'\n return style\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_openBlock","_Fragment","_renderList","_createVNode","_toDisplayString"],"mappings":";;;;;;;AAeA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACp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M,CAAA,KAAA,EAAA,UAAA,EAAA;UADJK,eAAkC,CAAA,mBAAA,EAAA,EAAxB,WAAW,EAAC,SAAS,EAAA,CAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewImage.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewImage.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-image\" :class=\"'dk-mobile-image-' + type\">\n <div\n v-for=\"(item, key) in imageList\"\n :key=\"key\"\n class=\"dk-mobile-image-content\"\n :style=\"_style\"\n >\n <van-image\n :src=\"item.img\"\n :fit=\"fit\"\n width=\"100%\"\n :height=\"heightAuto ? height : ''\"\n style=\"overflow: hidden\"\n />\n <div v-if=\"showText && item.title\" :class=\"'text-type-' + textType\">\n {{ item.title }}\n </div>\n </div>\n <div v-if=\"imageList.length <= 0\">\n <el-empty description=\"请添加图片数据\" />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewImage',\n props: {\n value: { default: '', type: String },\n type: { default: 'default', type: String },\n textType: { default: 'default', type: String },\n heightAuto: { default: false, type: Boolean },\n showText: { default: false, type: Boolean },\n height: { default: '', type: [Number, String] },\n width: { default: '', type: [Number, String] },\n borderRadius: { default: '', type: [Number, String] },\n marginBottom: { default: '', type: [Number, String] },\n marginRight: { default: '', type: [Number, String] },\n imageList: { default: () => [], type: [Array] },\n\n fit: { default: 'cover', type: String },\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const style = {}\n if (this.type === 'default') {\n style.marginBottom = this.marginBottom + 'px'\n } else {\n style.width = this.width + '%'\n style.marginRight = this.marginRight + 'px'\n }\n style.borderRadius = this.borderRadius + 'px'\n return style\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_openBlock","_Fragment","_renderList","_createVNode","_toDisplayString"],"mappings":";;;;;;;AA0BA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EA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,MAAA,CAAA,SAAS,CAAC,MAAM,IAAA,CAAA;0BAA3BN,sBAEM,CAAA,KAAA,EAAA,UAAA,EAAA;UADJK,eAAkC,CAAA,mBAAA,EAAA,EAAxB,WAAW,EAAC,SAAS,EAAA,CAAA;;;;;;;;;"}
@@ -63,7 +63,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
63
63
  }, null, 8 /* PROPS */, ["class", "style"]))
64
64
  ]))
65
65
  }
66
- var DkViewMusic = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewMusic.vue"]]);
66
+ var DkViewMusic = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewMusic.vue"]]);
67
67
 
68
68
  exports.default = DkViewMusic;
69
69
  //# sourceMappingURL=DkViewMusic.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewMusic.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewMusic.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-music\">\n <div v-if=\"iconType === 'image'\">\n <img :src=\"imgUrl\" width=\"100%\" :style=\"_style\" :class=\"rotation\" class=\"dk-music-img\" alt=\"\" />\n </div>\n <van-icon v-else name=\"music-o\" class=\"dk-music-icon\" :class=\"rotation\" :style=\"_style\" />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewMusic',\n props: {\n musicPath: { default: '', type: String },\n // common\n iconType: { default: '', type: String }, // 图标样式\n iconSize: { default: 40, type: Number }, // 图标尺寸\n rotation: { default: 'changeRight', type: String }, // 旋转方向\n speed: { default: 5, type: Number }, // 旋转速度\n // image\n imgUrl: { default: '', type: String }, // 图片地址\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const speed = 11 - this.speed + 's'\n return {\n width: this.iconSize + 'px',\n height: this.iconSize + 'px',\n fontSize: this.iconSize + 'px',\n animationDuration: speed,\n animationIterationCount: 'infinite',\n animationTimingFunction: 'linear',\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass","_createBlock"],"mappings":";;;;;;;AAUA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC;AACA,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAO,EAAC;AAClD,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAK,EAAG;AACnC;AACA,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACtC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;AACD,EAAA,QAAQ,EAAE;AACR,IAAA,MAAM,GAAG;MACP,MAAM,KAAM,GAAE,EAAC,GAAI,IAAI,CAAC,KAAI,GAAI,IAAE;AAClC,MAAA,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,WAAW,IAAI;QAC3B,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI;QAC5B,QAAQ,EAAE,IAAI,CAAC,QAAO,GAAI,IAAI;QAC9B,iBAAiB,EAAE,KAAK;AACxB,QAAA,uBAAuB,EAAE,UAAU;AACnC,QAAA,uBAAuB,EAAE,QAAQ;AACnC,OAAA;KACD;GACF;EACD,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;AAvCO,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,eAAe,GAAA;;;;;;;AAA1B,EAAA,QAAAA,aAAA,EAAA,EAAAC,sBAAA,CAKM,OALN,UAKM,EAAA;KAJO,MAAQ,CAAA,QAAA,KAAA,OAAA;0BAAnBA,sBAEM,CAAA,KAAA,EAAA,UAAA,EAAA;UADJC,sBAAgG,CAAA,KAAA,EAAA;AAA1F,YAAA,GAAG,EAAE,MAAM,CAAA,MAAA;AAAE,YAAA,KAAK,EAAC,MAAM;AAAE,YAAA,KAAK,qBAAE,QAAM,CAAA,MAAA,CAAA;YAAG,KAAK,EAAAC,kBAAA,CAAA,CAAE,MAAQ,CAAA,QAAA,EAAQ,cAAc,CAAA,CAAA;AAAC,YAAA,GAAG,EAAC,EAAE;;;0BAE/FC,eAA0F,CAAA,mBAAA,EAAA;;AAAzE,UAAA,IAAI,EAAC,SAAS;UAAC,KAAK,EAAAD,kBAAA,CAAA,CAAC,eAAe,EAAS,MAAQ,CAAA,QAAA,CAAA,CAAA;AAAG,UAAA,KAAK,qBAAE,QAAM,CAAA,MAAA,CAAA;;;;;;;;"}
1
+ {"version":3,"file":"DkViewMusic.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewMusic.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-music\">\n <div v-if=\"iconType === 'image'\">\n <img\n :src=\"imgUrl\"\n width=\"100%\"\n :style=\"_style\"\n :class=\"rotation\"\n class=\"dk-music-img\"\n alt=\"\"\n />\n </div>\n <van-icon\n v-else\n name=\"music-o\"\n class=\"dk-music-icon\"\n :class=\"rotation\"\n :style=\"_style\"\n />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewMusic',\n props: {\n musicPath: { default: '', type: String },\n // common\n iconType: { default: '', type: String }, // 图标样式\n iconSize: { default: 40, type: Number }, // 图标尺寸\n rotation: { default: 'changeRight', type: String }, // 旋转方向\n speed: { default: 5, type: Number }, // 旋转速度\n // image\n imgUrl: { default: '', type: String }, // 图片地址\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const speed = 11 - this.speed + 's'\n return {\n width: this.iconSize + 'px',\n height: this.iconSize + 'px',\n fontSize: this.iconSize + 'px',\n animationDuration: speed,\n animationIterationCount: 'infinite',\n animationTimingFunction: 'linear',\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass","_createBlock"],"mappings":";;;;;;;AAuBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC;AACA,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAO,EAAC;AAClD,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAK,EAAG;AACnC;AACA,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACtC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;AACD,EAAA,QAAQ,EAAE;AACR,IAAA,MAAM,GAAG;MACP,MAAM,KAAM,GAAE,EAAC,GAAI,IAAI,CAAC,KAAI,GAAI,IAAE;AAClC,MAAA,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,WAAW,IAAI;QAC3B,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI;QAC5B,QAAQ,EAAE,IAAI,CAAC,QAAO,GAAI,IAAI;QAC9B,iBAAiB,EAAE,KAAK;AACxB,QAAA,uBAAuB,EAAE,UAAU;AACnC,QAAA,uBAAuB,EAAE,QAAQ;AACnC,OAAA;KACD;GACF;EACD,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;AApDO,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,eAAe,GAAA;;;;;;;AAA1B,EAAA,QAAAA,aAAA,EAAA,EAAAC,sBAAA,CAkBM,OAlBN,UAkBM,EAAA;KAjBO,MAAQ,CAAA,QAAA,KAAA,OAAA;0BAAnBA,sBASM,CAAA,KAAA,EAAA,UAAA,EAAA;UARJC,sBAOE,CAAA,KAAA,EAAA;AANC,YAAA,GAAG,EAAE,MAAM,CAAA,MAAA;AACZ,YAAA,KAAK,EAAC,MAAM;AACX,YAAA,KAAK,qBAAE,QAAM,CAAA,MAAA,CAAA;YACb,KAAK,EAAAC,kBAAA,CAAA,CAAE,MAAQ,CAAA,QAAA,EACV,cAAc,CAAA,CAAA;AACpB,YAAA,GAAG,EAAC,EAAE;;;0BAGVC,eAME,CAAA,mBAAA,EAAA;;AAJA,UAAA,IAAI,EAAC,SAAS;UACd,KAAK,EAAAD,kBAAA,CAAA,CAAC,eAAe,EACb,MAAQ,CAAA,QAAA,CAAA,CAAA;AACf,UAAA,KAAK,qBAAE,QAAM,CAAA,MAAA,CAAA;;;;;;;;"}
@@ -59,7 +59,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
59
59
  }, null, 8 /* PROPS */, ["title", "left-text", "right-text", "left-arrow", "border"])
60
60
  ]))
61
61
  }
62
- var DkViewNavBar = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewNavBar.vue"]]);
62
+ var DkViewNavBar = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewNavBar.vue"]]);
63
63
 
64
64
  exports.default = DkViewNavBar;
65
65
  //# sourceMappingURL=DkViewNavBar.vue.js.map
@@ -36,7 +36,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
36
36
  }, null, 8 /* PROPS */, ["speed", "left-icon", "text", "color", "background"])
37
37
  ]))
38
38
  }
39
- var DkViewNoticeBar = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewNoticeBar.vue"]]);
39
+ var DkViewNoticeBar = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewNoticeBar.vue"]]);
40
40
 
41
41
  exports.default = DkViewNoticeBar;
42
42
  //# sourceMappingURL=DkViewNoticeBar.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewNoticeBar.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewNoticeBar.vue"],"sourcesContent":["<template>\n <div>\n <van-notice-bar :speed=\"speed\" :left-icon=\"leftIcon\" :text=\"text\" :color=\"color\" :background=\"background\" />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewNoticeBar',\n props: {\n leftIcon: { default: '', type: String },\n text: { default: '', type: String },\n url: { default: '', type: String },\n background: { default: '', type: String },\n color: { default: '', type: String },\n speed: { default: 60, type: Number },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_createVNode"],"mappings":";;;;;;;AAOA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;AACL,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;IACnC,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACrC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;2BAtBEA,sBAEM,CAAA,KAAA,EAAA,IAAA,EAAA;IADJC,eAA4G,CAAA,yBAAA,EAAA;AAA3F,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,MAAA,WAAS,EAAE,MAAQ,CAAA,QAAA;AAAG,MAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,MAAA,UAAU,EAAE,MAAU,CAAA,UAAA;;;;;;;;"}
1
+ {"version":3,"file":"DkViewNoticeBar.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewNoticeBar.vue"],"sourcesContent":["<template>\n <div>\n <van-notice-bar\n :speed=\"speed\"\n :left-icon=\"leftIcon\"\n :text=\"text\"\n :color=\"color\"\n :background=\"background\"\n />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewNoticeBar',\n props: {\n leftIcon: { default: '', type: String },\n text: { default: '', type: String },\n url: { default: '', type: String },\n background: { default: '', type: String },\n color: { default: '', type: String },\n speed: { default: 60, type: Number },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_createVNode"],"mappings":";;;;;;;AAaA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;AACL,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;IACnC,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACrC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;2BA5BEA,sBAQM,CAAA,KAAA,EAAA,IAAA,EAAA;IAPJC,eAME,CAAA,yBAAA,EAAA;AALC,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,MAAA,WAAS,EAAE,MAAQ,CAAA,QAAA;AACnB,MAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AACV,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,MAAA,UAAU,EAAE,MAAU,CAAA,UAAA;;;;;;;;"}
@@ -73,7 +73,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
73
73
  _: 1 /* STABLE */
74
74
  }, 8 /* PROPS */, ["autoplay", "style"]))
75
75
  }
76
- var DkViewSwipe = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewSwipe.vue"]]);
76
+ var DkViewSwipe = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewSwipe.vue"]]);
77
77
 
78
78
  exports.default = DkViewSwipe;
79
79
  //# sourceMappingURL=DkViewSwipe.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewSwipe.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewSwipe.vue"],"sourcesContent":["<template>\n <van-swipe class=\"dk-view-swipe\" :autoplay=\"autoplay\" indicator-color=\"white\" :style=\"{ background: bgColor || '' }\">\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image :src=\"item.img\" :fit=\"fit\" width=\"100%\" :height=\"height\" />\n </van-swipe-item>\n </van-swipe>\n</template>\n\n<script>\nexport default {\n name: 'DkViewSwipe',\n props: {\n value: {\n default: '',\n type: String,\n },\n height: {\n default: '',\n type: [Number, String],\n },\n autoplay: {\n default: 3000,\n type: [Number, String],\n },\n swipeList: {\n default: () => [],\n type: [Array],\n },\n fit: {\n default: 'fill',\n type: String,\n },\n bgColor: {\n default: '',\n type: String,\n },\n },\n data() {\n return {}\n },\n computed: {},\n watch: {\n swipeList(val) {},\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList","_createVNode"],"mappings":";;;;;;;AASA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,EAAE;AACX,MA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cAAA,MAAM,EAAE,MAAM,CAAA,MAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewSwipe.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewSwipe.vue"],"sourcesContent":["<template>\n <van-swipe\n class=\"dk-view-swipe\"\n :autoplay=\"autoplay\"\n indicator-color=\"white\"\n :style=\"{ background: bgColor || '' }\"\n >\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image :src=\"item.img\" :fit=\"fit\" width=\"100%\" :height=\"height\" />\n </van-swipe-item>\n </van-swipe>\n</template>\n\n<script>\nexport default {\n name: 'DkViewSwipe',\n props: {\n value: {\n default: '',\n type: String,\n },\n height: {\n default: '',\n type: [Number, String],\n },\n autoplay: {\n default: 3000,\n type: [Number, String],\n },\n swipeList: {\n default: () => [],\n type: [Array],\n },\n fit: {\n default: 'fill',\n type: String,\n },\n bgColor: {\n default: '',\n type: String,\n },\n },\n data() {\n return {}\n },\n computed: {},\n watch: {\n swipeList(val) {},\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList","_createVNode"],"mappings":";;;;;;;AAcA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,EAAE;AACX,MAAA,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KACvB;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,IAAI;AACb,MAAA,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KACvB;IACD,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,KAAK,CAAC;KACd;IACD,GAAG,EAAE;AACH,MAAA,OAAO,EAAE,MAAM;MACf,IAAI,EAAE,MAAM;KACb;AACD,IAAA,OAAO,EAAE;MACP,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;AACZ,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,CAAC,GAAG,EAAE,EAAE;GAClB;EACD,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;;;2BAlDEA,eASY,CAAA,oBAAA,EAAA;AARV,IAAA,KAAK,EAAC,eAAe;AACpB,IAAA,QAAQ,EAAE,MAAQ,CAAA,QAAA;AACnB,IAAA,iBAAe,EAAC,OAAO;AACtB,IAAA,KAAK,mCAAgB,MAAO,CAAA,OAAA,IAAA,EAAA,EAAA,CAAA;;yBAEb,MAAgC;AAAhD,OAAAC,aAAA,CAAA,IAAA,CAAA,EAAAC,sBAAA,CAEiBC,YAFqB,EAAA,IAAA,EAAAC,cAAA,CAAA,MAAA,CAAA,SAAS,EAAvB,CAAA,IAAI,EAAE,GAAG,KAAA;iCAAjCJ,eAEiB,CAAA,yBAAA,EAAA,EAFiC,GAAG,EAAE,GAAG,EAAA,EAAA;+BACxD,MAAsE;YAAtEK,eAAsE,CAAA,oBAAA,EAAA;cAA1D,GAAG,EAAE,IAAI,CAAC,GAAG;AAAG,cAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,cAAA,KAAK,EAAC,MAAM;AAAE,cAAA,MAAM,EAAE,MAAM,CAAA,MAAA;;;;;;;;;;;;;;"}
@@ -82,7 +82,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
82
82
  }, 8 /* PROPS */, ["modelValue", "active-color", "inactive-color", "style"])
83
83
  ]))
84
84
  }
85
- var DkViewTabbar = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTabbar.vue"]]);
85
+ var DkViewTabbar = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewTabbar.vue"]]);
86
86
 
87
87
  exports.default = DkViewTabbar;
88
88
  //# sourceMappingURL=DkViewTabbar.vue.js.map
@@ -26,7 +26,7 @@ const _hoisted_1 = ["innerHTML"];
26
26
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
27
27
  return (vue.openBlock(), vue.createElementBlock("div", { innerHTML: $props.textarea }, null, 8 /* PROPS */, _hoisted_1))
28
28
  }
29
- var DkViewTextarea = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTextarea.vue"]]);
29
+ var DkViewTextarea = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewTextarea.vue"]]);
30
30
 
31
31
  exports.default = DkViewTextarea;
32
32
  //# sourceMappingURL=DkViewTextarea.vue.js.map
@@ -88,7 +88,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
88
88
  : vue.createCommentVNode("v-if", true)
89
89
  ]))
90
90
  }
91
- var DkViewTitle = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewTitle.vue"]]);
91
+ var DkViewTitle = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewTitle.vue"]]);
92
92
 
93
93
  exports.default = DkViewTitle;
94
94
  //# sourceMappingURL=DkViewTitle.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewTitle.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-title\">\n <div class=\"title-left\">\n <van-icon v-if=\"prefix === 'icon'\" :name=\"icon\" :style=\"{ color: prefixColor, fontSize: iconSize + 'px' }\" />\n <van-image\n v-if=\"prefix === 'image'\"\n :src=\"prefixImage\"\n alt=\"\"\n class=\"dk-title-img\"\n :width=\"imageWidth\"\n :height=\"imageHeight\"\n />\n <div\n v-if=\"prefix === 'square'\"\n :style=\"{\n width: squareWidth + 'px',\n height: squareHeight + 'px',\n background: prefixColor,\n }\"\n />\n <div\n :style=\"{\n marginLeft: titleMarginLeft + 'px',\n color: color,\n fontWeight: bold ? 800 : 400,\n }\"\n >\n {{ title }}\n </div>\n </div>\n <div v-if=\"showRight\" class=\"title-right\" :style=\"{ color: rColor, fontSize: rSize + 'px' }\">\n {{ rTitle }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewTitle',\n props: {\n title: { default: '标题', type: String },\n size: { default: 14, type: Number },\n color: { default: '#333', type: String },\n bold: { default: false, type: Boolean },\n prefix: { default: '', type: String },\n icon: { default: 'volume', type: String },\n prefixColor: { default: '#409eff', type: String },\n prefixImage: { default: '', type: String },\n squareWidth: { default: 4, type: Number },\n squareHeight: { default: 12, type: Number },\n imageWidth: { default: 24, type: Number },\n imageHeight: { default: 24, type: Number },\n iconSize: { default: 18, type: Number },\n titleMarginLeft: { default: 4, type: Number },\n rTitle: { default: '更多', type: String },\n rColor: { default: '#999', type: String },\n rSize: { default: 12, type: Number },\n showRight: { default: false, type: Boolean },\n },\n data() {\n return {}\n },\n computed: {},\n mounted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K,EAAAG,kBAAA,CAAA;iBAAqB,MAAW,CAAA,WAAA,GAAA,IAAA;kBAA2B,MAAY,CAAA,YAAA,GAAA,IAAA;sBAA+B,MAAW,CAAA,WAAA;;;;MAMzHF,sBAQM,CAAA,KAAA,EAAA;QAPH,KAAK,EAAAE,kBAAA,CAAA;sBAA0B,MAAe,CAAA,eAAA,GAAA,IAAA;iBAA0B,MAAK,CAAA,KAAA;sBAAwB,MAAI,CAAA,IAAA,GAAA,GAAA,GAAA,GAAA;;6BAMvG,MAAK,CAAA,KAAA,CAAA,EAAA,CAAA,mBAAA;;KAGD,MAAS,CAAA,SAAA;0BAApBH,sBAEM,CAAA,KAAA,EAAA;;AAFgB,UAAA,KAAK,EAAC,aAAa;UAAE,KAAK,EAAAG,kBAAA,CAAA,EAAA,KAAA,EAAW,MAAM,CAAA,MAAA,EAAA,QAAA,EAAY,MAAK,CAAA,KAAA,GAAA,IAAA,EAAA,CAAA;+BAC7E,MAAM,CAAA,MAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;"}
1
+ {"version":3,"file":"DkViewTitle.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-title\">\n <div class=\"title-left\">\n <van-icon\n v-if=\"prefix === 'icon'\"\n :name=\"icon\"\n :style=\"{ color: prefixColor, fontSize: iconSize + 'px' }\"\n />\n <van-image\n v-if=\"prefix === 'image'\"\n :src=\"prefixImage\"\n alt=\"\"\n class=\"dk-title-img\"\n :width=\"imageWidth\"\n :height=\"imageHeight\"\n />\n <div\n v-if=\"prefix === 'square'\"\n :style=\"{\n width: squareWidth + 'px',\n height: squareHeight + 'px',\n background: prefixColor,\n }\"\n />\n <div\n :style=\"{\n marginLeft: titleMarginLeft + 'px',\n color: color,\n fontWeight: bold ? 800 : 400,\n }\"\n >\n {{ title }}\n </div>\n </div>\n <div\n v-if=\"showRight\"\n class=\"title-right\"\n :style=\"{ color: rColor, fontSize: rSize + 'px' }\"\n >\n {{ rTitle }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewTitle',\n props: {\n title: { default: '标题', type: String },\n size: { default: 14, type: Number },\n color: { default: '#333', type: String },\n bold: { default: false, type: Boolean },\n prefix: { default: '', type: String },\n icon: { default: 'volume', type: String },\n prefixColor: { default: '#409eff', type: String },\n prefixImage: { default: '', type: String },\n squareWidth: { default: 4, type: Number },\n squareHeight: { default: 12, type: Number },\n imageWidth: { default: 24, type: Number },\n imageHeight: { default: 24, type: Number },\n iconSize: { default: 18, type: Number },\n titleMarginLeft: { default: 4, type: Number },\n rTitle: { default: '更多', type: String },\n rColor: { default: '#999', type: String },\n rSize: { default: 12, type: Number },\n showRight: { default: false, type: Boolean },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_createBlock","_normalizeStyle"],"mappings":";;;;;;;AA6CA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;IACtC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACnC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS;AACvC,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACrC,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,WAAW,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AACjD,IAAA,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI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}
87
- var DkViewVideo = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\views\\web\\DkViewVideo.vue"]]);
87
+ var DkViewVideo = /*#__PURE__*/_pluginVue_exportHelper.default(_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\\views\\web\\DkViewVideo.vue"]]);
88
88
 
89
89
  exports.default = DkViewVideo;
90
90
  //# sourceMappingURL=DkViewVideo.vue.js.map
@@ -142,7 +142,7 @@
142
142
  .close-rule {
143
143
  position: absolute;
144
144
  right: 0px;
145
- padding:2px 10px;
145
+ padding: 2px 10px;
146
146
  box-sizing: initial;
147
147
 
148
148
  &:hover {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var poster_vue_vue_type_script_setup_true_lang = require('./poster.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var _Poster = /* @__PURE__ */ _pluginVue_exportHelper.default(poster_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\poster-input\\src\\component\\poster.vue"]]);
8
+ var _Poster = /* @__PURE__ */ _pluginVue_exportHelper.default(poster_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\poster-input\\src\\component\\poster.vue"]]);
9
9
 
10
10
  exports.default = _Poster;
11
11
  //# sourceMappingURL=poster.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"poster.vue2.js","sources":["../../../../src/poster-input/src/component/poster.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkPoster',\n components: {\n DkPosterViewName,\n DkPosterViewImage,\n DkPosterViewText,\n DkPosterViewAvatar,\n DkPosterViewQrcode,\n },\n});\n</script>\n<template>\n <div class=\"dk-poster\">\n <div class=\"poster-draw\">\n <div class=\"poster-body\">\n <div\n class=\"poster-content\"\n :style=\"{\n width: posterData.width + 'px',\n height: posterData.height + 'px',\n borderRadius: posterData.borderRadius + 'px',\n backgroundImage: 'url(' + posterData.background + ')',\n }\"\n style=\"background-size: 100% 100%\"\n @contextmenu.prevent\n >\n <el-empty\n v-if=\"!posterData.background\"\n description=\"请上传一张背景图\"\n style=\"position: absolute; width: 100%; height: 80%; user-select: none\"\n />\n <DraggableContainer\n ref=\"draggableContainer\"\n :reference-line-visible=\"formTools.refLine\"\n :disabled=\"!formTools.snap\"\n :adsorb-cols=\"adsorb.cols\"\n :adsorb-rows=\"adsorb.rows\"\n >\n <vue3-draggable-resizable\n v-for=\"(item, key) in posterData.views\"\n :key=\"key\"\n ref=\"draggables\"\n v-model:h=\"item.css.height\"\n v-model:x=\"item.css.left\"\n v-model:y=\"item.css.top\"\n v-model:w=\"item.css.width\"\n :init-w=\"item.css.width\"\n :init-h=\"item.css.height\"\n :parent=\"true\"\n style=\"cursor: move\"\n :is-conflict-check=\"formTools.isConflictCheck\"\n :snap=\"formTools.snap\"\n :snap-tolerance=\"formTools.snapTolerance\"\n :min-width=\"20\"\n :min-height=\"20\"\n :lock-aspect-ratio=\"item.lockAspectRatio\"\n @resizing=\"onResize\"\n @mousedown=\"index = key\"\n >\n <div style=\"position: relative\">\n <component :is=\"item.component\" :key=\"key\" :item=\"item\" :style=\"getBgStyle(item)\" :index=\"index\" />\n </div>\n </vue3-draggable-resizable>\n </DraggableContainer>\n </div>\n </div>\n <!--悬浮控件-->\n <div class=\"snap-tolerance\">\n <el-form :inline=\"true\" :model=\"formTools\" class=\"form-inline\" size=\"small\">\n <el-form-item label=\"对齐检测\">\n <el-switch v-model=\"formTools.snap\" />\n </el-form-item>\n <el-form-item v-if=\"formTools.snap\" label=\"辅助线\">\n <el-switch v-model=\"formTools.refLine\" />\n </el-form-item>\n </el-form>\n </div>\n <!--悬浮控件-->\n </div>\n <!-- 海报组件-->\n <el-form ref=\"form\" label-width=\"50px\" label-position=\"left\">\n <h2 style=\"padding: 10px; margin: 10px; font-size: 20px\">海报配置</h2>\n <el-row :gutter=\"20\" style=\"width: 100%; height: 600px; padding: 0 20px\">\n <el-col :sm=\"24\">\n <el-form-item label=\"元素\">\n <div class=\"view-buttons\">\n <el-button type=\"primary\" size=\"small\" :disabled=\"viewCount['avatar'] >= 1\" @click=\"addView('avatar')\">\n 用户头像\n </el-button>\n <el-button type=\"warning\" size=\"small\" :disabled=\"viewCount['qrcode'] >= 1\" @click=\"addView('qrcode')\">\n 二维码\n </el-button>\n <el-button type=\"danger\" size=\"small\" :disabled=\"viewCount['name'] >= 1\" @click=\"addView('name')\">\n 用户昵称\n </el-button>\n <el-button\n v-for=\"(item, key) in props.views\"\n :key=\"key\"\n type=\"primary\"\n :disabled=\"viewCount[item.name] >= item.count\"\n size=\"small\"\n @click=\"addView(item.name)\"\n >{{ item.text }}\n </el-button>\n </div>\n <div style=\"font-size: 12px; color: #999\">\n 点击元素添加到左侧拖拽框中,<b style=\"color: #000\">右键</b>即可编辑模块\n </div>\n </el-form-item>\n </el-col>\n <el-col :sm=\"24\">\n <el-form-item label=\"背景\">\n <dk-image-input v-model=\"posterData.background\" @input=\"resetSize()\" />\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"宽度\">\n <el-slider v-model=\"posterData.width\" :min=\"100\" :max=\"600\" show-input @change=\"checkParentSize()\">\n <template #append>px</template>\n </el-slider>\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"高度\">\n <el-slider v-model=\"posterData.height\" :min=\"100\" :max=\"600\" show-input @change=\"checkParentSize()\">\n <template #append>px</template>\n </el-slider>\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"弧度\">\n <el-slider v-model=\"posterData.borderRadius\" :min=\"0\" :max=\"20\" show-input />\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <div style=\"width: 100%; text-align: center\">\n <el-button style=\"width: 30%\" @click=\"resetSize()\">重置</el-button>\n <el-button type=\"primary\" style=\"width: 50%\" @click=\"submit\">确定</el-button>\n </div>\n </el-col>\n </el-row>\n </el-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { reactive, ref, computed, watch, provide, onMounted } from 'vue'\nimport { defaultViews } from './config'\n// import Vue3DraggableResizable, { DraggableContainer } from 'vue3-draggable-resizable'\nimport 'vue3-draggable-resizable/dist/Vue3DraggableResizable.css'\nimport DkPosterViewName from './views/DkPosterViewName.vue'\nimport DkPosterViewText from './views/DkPosterViewText.vue'\nimport DkPosterViewImage from './views/DkPosterViewImage.vue'\nimport DkPosterViewAvatar from './views/DkPosterViewAvatar.vue'\nimport DkPosterViewQrcode from './views/DkPosterViewQrcode.vue'\n\n\nconst props = defineProps({\n modelValue: {\n default: () => {\n return {}\n },\n type: Object,\n },\n views: {\n default: () => {\n return []\n },\n type: Array as any,\n },\n})\nconst posterRef = ref()\n// const posterData = ref(props.modelValue)\nconst posterData: any = reactive({\n background: '',\n width: 320,\n height: 500,\n borderRadius: 0,\n views: [],\n})\nconst formTools: any = reactive({\n refLine: true,\n snap: true,\n edit: true,\n border: 10,\n})\n\nconst viewCount = computed(() => {\n const count: any = {}\n const views: any = posterData.views\n if (views) {\n for (let i = 0; i < views.length; i++) {\n if (!count[views[i].name]) {\n count[views[i].name] = 1\n } else {\n count[views[i].name]++\n }\n }\n }\n return count\n})\n\nconst emit = defineEmits(['input', 'update:modelValue', 'change', 'submit'])\n\nconst submit = () => {\n emit('input', posterData)\n emit('update:modelValue', posterData)\n emit('submit', posterData)\n emit('change', posterData)\n}\nconst resetSize = () => {\n if (posterData.background) {\n getImageSize(posterData.background)\n .then((image: any) => {\n let tempWidth\n let tempHeight\n const maxHeight = 600\n const maxWidth = 600\n if (image.width / image.height >= maxWidth / maxHeight) {\n if (image.width > maxWidth) {\n tempWidth = maxWidth\n // 按原图片的比例进行缩放\n tempHeight = (image.height * maxWidth) / image.width\n } else {\n tempWidth = image.width\n tempHeight = image.height\n }\n } else {\n if (image.height > maxHeight) {\n tempHeight = maxHeight\n // 按原图片的比例进行缩放\n tempWidth = (image.width * maxHeight) / image.height\n } else {\n tempWidth = image.width\n tempHeight = image.height\n }\n }\n posterData.width = parseInt(tempWidth)\n posterData.height = parseInt(tempHeight)\n setTimeout(() => {\n checkParentSize()\n }, 200)\n })\n .catch(() => {})\n }\n}\n\nconst getImageSize = (url: any) => {\n return new Promise(function (resolve, reject) {\n const image = new Image()\n image.onload = function () {\n resolve({\n width: image.width,\n height: image.height,\n })\n }\n image.onerror = function () {\n reject(new Error('error'))\n }\n image.src = url\n })\n}\n// const checkParentSize = () => {\n// posterRef.value.checkParentSize()\n// }\n\nconst addView = (name: string) => {\n // if (name == 'text' || name == 'image') {\n // posterRef.value.add(name, viewNumber(name))\n // } else {\n // posterData.value.add(name)\n // }\n\n add(name)\n}\n\nconst viewNumber = (name: any) => {\n const views = posterData.views\n let count = 1\n for (let i = 0; i < views.length; i++) {\n if (views[i].name == name) {\n count++\n }\n }\n return count\n}\n\n// watch(\n// () => props.modelValue,\n// (n, o) => {\n// posterData = props.modelValue\n// }\n// )\n\n// content的\n\nconst draggables = ref()\nconst draggableContainer = ref()\n\nconst index = ref(0)\nprovide('posterData', posterData)\nconst test = () => {\n console.log(posterData.views)\n}\n\nconst onDrag = (p: any) => {\n const css = posterData.views[index.value].css\n console.log('onDrag', p)\n css.left = p.x\n css.top = p.y\n}\nconst onResize = (p: any) => {\n const css = posterData.views[index.value].css\n css.left = p.x\n css.top = p.y\n css.width = p.w\n css.height = p.h\n}\nconst getBgStyle = (item: any) => {\n if (item.type == 'image') {\n return {\n width: item.css.width + 'px',\n height: item.css.height + 'px',\n borderColor: item.css.borderColor || '#fff',\n borderStyle: 'solid',\n borderWidth: item.css.borderWidth + 'px',\n borderRadius: item.css.borderRadius + 'px',\n top: -parseInt(item.css.borderWidth) + 'px',\n left: -parseInt(item.css.borderWidth) + 'px',\n }\n } else {\n return {}\n }\n}\n\nconst add = (name = 'avatar') => {\n const allViews = defaultViews.concat(props.views as any)\n for (let i = 0; i < allViews.length; i++) {\n if (allViews[i].name == name) {\n // view\n const view = JSON.parse(JSON.stringify(allViews[i]))\n posterData.views.push(view)\n }\n }\n}\n\nconst checkParentSize = () => {\n // 刷新大小检测\n if (draggables.value) {\n console.log('draggables', draggables)\n for (let i = 0; i < draggables.value.length; i++) {\n const draggable = draggables.value[i]\n draggable.parentHeight = posterData.height\n draggable.parentWidth = posterData.width\n\n if (posterData.width < draggable.left + draggable.initW) {\n draggable.left = posterData.width\n }\n if (posterData.height < draggable.top + draggable.initH) {\n draggable.top = posterData.height\n }\n }\n }\n}\n\nconst adsorb = computed(() => {\n const border = formTools?.border\n const height = posterData.height\n const width = posterData.width\n return {\n cols: [border, width - border],\n rows: [border, height - border],\n }\n})\n\nwatch(\n () => props.modelValue,\n (n, o) => {\n console.log('1111')\n // initPosterDraggable()\n }\n)\n\nconst initPosterDraggable = () => {\n console.log('initPosterDraggable')\n posterData.background = props.modelValue.background\n posterData.width = props.modelValue.width\n posterData.height = props.modelValue.height\n posterData.borderRadius = props.modelValue.borderRadius\n posterData.views = []\n for (let i = 0; i < props.modelValue.views.length; i++) {\n posterData.views.push(props.modelValue.views[i])\n }\n}\n\nonMounted(() => {\n initPosterDraggable()\n})\n\ndefineExpose({\n checkParentSize,\n})\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","DkPosterViewName","DkPosterViewImage","DkPosterViewText","DkPosterViewAvatar","DkPosterViewQrcode","ref","reactive","computed","provide","defaultViews","watch","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"poster.vue2.js","sources":["../../../../src/poster-input/src/component/poster.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkPoster',\n components: {\n DkPosterViewName,\n DkPosterViewImage,\n DkPosterViewText,\n DkPosterViewAvatar,\n DkPosterViewQrcode,\n },\n});\n</script>\n<template>\n <div class=\"dk-poster\">\n <div class=\"poster-draw\">\n <div class=\"poster-body\">\n <div\n class=\"poster-content\"\n :style=\"{\n width: posterData.width + 'px',\n height: posterData.height + 'px',\n borderRadius: posterData.borderRadius + 'px',\n backgroundImage: 'url(' + posterData.background + ')',\n }\"\n style=\"background-size: 100% 100%\"\n @contextmenu.prevent\n >\n <el-empty\n v-if=\"!posterData.background\"\n description=\"请上传一张背景图\"\n style=\"\n position: absolute;\n width: 100%;\n height: 80%;\n user-select: none;\n \"\n />\n <DraggableContainer\n ref=\"draggableContainer\"\n :reference-line-visible=\"formTools.refLine\"\n :disabled=\"!formTools.snap\"\n :adsorb-cols=\"adsorb.cols\"\n :adsorb-rows=\"adsorb.rows\"\n >\n <vue3-draggable-resizable\n v-for=\"(item, key) in posterData.views\"\n :key=\"key\"\n ref=\"draggables\"\n v-model:h=\"item.css.height\"\n v-model:x=\"item.css.left\"\n v-model:y=\"item.css.top\"\n v-model:w=\"item.css.width\"\n :init-w=\"item.css.width\"\n :init-h=\"item.css.height\"\n :parent=\"true\"\n style=\"cursor: move\"\n :is-conflict-check=\"formTools.isConflictCheck\"\n :snap=\"formTools.snap\"\n :snap-tolerance=\"formTools.snapTolerance\"\n :min-width=\"20\"\n :min-height=\"20\"\n :lock-aspect-ratio=\"item.lockAspectRatio\"\n @resizing=\"onResize\"\n @mousedown=\"index = key\"\n >\n <div style=\"position: relative\">\n <component\n :is=\"item.component\"\n :key=\"key\"\n :item=\"item\"\n :style=\"getBgStyle(item)\"\n :index=\"index\"\n />\n </div>\n </vue3-draggable-resizable>\n </DraggableContainer>\n </div>\n </div>\n <!--悬浮控件-->\n <div class=\"snap-tolerance\">\n <el-form\n :inline=\"true\"\n :model=\"formTools\"\n class=\"form-inline\"\n size=\"small\"\n >\n <el-form-item label=\"对齐检测\">\n <el-switch v-model=\"formTools.snap\" />\n </el-form-item>\n <el-form-item v-if=\"formTools.snap\" label=\"辅助线\">\n <el-switch v-model=\"formTools.refLine\" />\n </el-form-item>\n </el-form>\n </div>\n <!--悬浮控件-->\n </div>\n <!-- 海报组件-->\n <el-form ref=\"form\" label-width=\"50px\" label-position=\"left\">\n <h2 style=\"padding: 10px; margin: 10px; font-size: 20px\">海报配置</h2>\n <el-row :gutter=\"20\" style=\"width: 100%; height: 600px; padding: 0 20px\">\n <el-col :sm=\"24\">\n <el-form-item label=\"元素\">\n <div class=\"view-buttons\">\n <el-button\n type=\"primary\"\n size=\"small\"\n :disabled=\"viewCount['avatar'] >= 1\"\n @click=\"addView('avatar')\"\n >\n 用户头像\n </el-button>\n <el-button\n type=\"warning\"\n size=\"small\"\n :disabled=\"viewCount['qrcode'] >= 1\"\n @click=\"addView('qrcode')\"\n >\n 二维码\n </el-button>\n <el-button\n type=\"danger\"\n size=\"small\"\n :disabled=\"viewCount['name'] >= 1\"\n @click=\"addView('name')\"\n >\n 用户昵称\n </el-button>\n <el-button\n v-for=\"(item, key) in props.views\"\n :key=\"key\"\n type=\"primary\"\n :disabled=\"viewCount[item.name] >= item.count\"\n size=\"small\"\n @click=\"addView(item.name)\"\n >{{ item.text }}\n </el-button>\n </div>\n <div style=\"font-size: 12px; color: #999\">\n 点击元素添加到左侧拖拽框中,<b style=\"color: #000\">右键</b\n >即可编辑模块\n </div>\n </el-form-item>\n </el-col>\n <el-col :sm=\"24\">\n <el-form-item label=\"背景\">\n <dk-image-input\n v-model=\"posterData.background\"\n @input=\"resetSize()\"\n />\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"宽度\">\n <el-slider\n v-model=\"posterData.width\"\n :min=\"100\"\n :max=\"600\"\n show-input\n @change=\"checkParentSize()\"\n >\n <template #append>px</template>\n </el-slider>\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"高度\">\n <el-slider\n v-model=\"posterData.height\"\n :min=\"100\"\n :max=\"600\"\n show-input\n @change=\"checkParentSize()\"\n >\n <template #append>px</template>\n </el-slider>\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <el-form-item label=\"弧度\">\n <el-slider\n v-model=\"posterData.borderRadius\"\n :min=\"0\"\n :max=\"20\"\n show-input\n />\n </el-form-item>\n </el-col>\n <el-col :span=\"24\">\n <div style=\"width: 100%; text-align: center\">\n <el-button style=\"width: 30%\" @click=\"resetSize()\">重置</el-button>\n <el-button type=\"primary\" style=\"width: 50%\" @click=\"submit\"\n >确定</el-button\n >\n </div>\n </el-col>\n </el-row>\n </el-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { reactive, ref, computed, watch, provide, onMounted } from 'vue'\nimport { defaultViews } from './config'\n// import Vue3DraggableResizable, { DraggableContainer } from 'vue3-draggable-resizable'\nimport 'vue3-draggable-resizable/dist/Vue3DraggableResizable.css'\nimport DkPosterViewName from './views/DkPosterViewName.vue'\nimport DkPosterViewText from './views/DkPosterViewText.vue'\nimport DkPosterViewImage from './views/DkPosterViewImage.vue'\nimport DkPosterViewAvatar from './views/DkPosterViewAvatar.vue'\nimport DkPosterViewQrcode from './views/DkPosterViewQrcode.vue'\n\n\nconst props = defineProps({\n modelValue: {\n default: () => {\n return {}\n },\n type: Object,\n },\n views: {\n default: () => {\n return []\n },\n type: Array as any,\n },\n})\nconst posterRef = ref()\n// const posterData = ref(props.modelValue)\nconst posterData: any = reactive({\n background: '',\n width: 320,\n height: 500,\n borderRadius: 0,\n views: [],\n})\nconst formTools: any = reactive({\n refLine: true,\n snap: true,\n edit: true,\n border: 10,\n})\n\nconst viewCount = computed(() => {\n const count: any = {}\n const views: any = posterData.views\n if (views) {\n for (let i = 0; i < views.length; i++) {\n if (!count[views[i].name]) {\n count[views[i].name] = 1\n } else {\n count[views[i].name]++\n }\n }\n }\n return count\n})\n\nconst emit = defineEmits(['input', 'update:modelValue', 'change', 'submit'])\n\nconst submit = () => {\n emit('input', posterData)\n emit('update:modelValue', posterData)\n emit('submit', posterData)\n emit('change', posterData)\n}\nconst resetSize = () => {\n if (posterData.background) {\n getImageSize(posterData.background)\n .then((image: any) => {\n let tempWidth\n let tempHeight\n const maxHeight = 600\n const maxWidth = 600\n if (image.width / image.height >= maxWidth / maxHeight) {\n if (image.width > maxWidth) {\n tempWidth = maxWidth\n // 按原图片的比例进行缩放\n tempHeight = (image.height * maxWidth) / image.width\n } else {\n tempWidth = image.width\n tempHeight = image.height\n }\n } else {\n if (image.height > maxHeight) {\n tempHeight = maxHeight\n // 按原图片的比例进行缩放\n tempWidth = (image.width * maxHeight) / image.height\n } else {\n tempWidth = image.width\n tempHeight = image.height\n }\n }\n posterData.width = parseInt(tempWidth)\n posterData.height = parseInt(tempHeight)\n setTimeout(() => {\n checkParentSize()\n }, 200)\n })\n .catch(() => {})\n }\n}\n\nconst getImageSize = (url: any) => {\n return new Promise(function (resolve, reject) {\n const image = new Image()\n image.onload = function () {\n resolve({\n width: image.width,\n height: image.height,\n })\n }\n image.onerror = function () {\n reject(new Error('error'))\n }\n image.src = url\n })\n}\n// const checkParentSize = () => {\n// posterRef.value.checkParentSize()\n// }\n\nconst addView = (name: string) => {\n // if (name == 'text' || name == 'image') {\n // posterRef.value.add(name, viewNumber(name))\n // } else {\n // posterData.value.add(name)\n // }\n\n add(name)\n}\n\nconst viewNumber = (name: any) => {\n const views = posterData.views\n let count = 1\n for (let i = 0; i < views.length; i++) {\n if (views[i].name == name) {\n count++\n }\n }\n return count\n}\n\n// watch(\n// () => props.modelValue,\n// (n, o) => {\n// posterData = props.modelValue\n// }\n// )\n\n// content的\n\nconst draggables = ref()\nconst draggableContainer = ref()\n\nconst index = ref(0)\nprovide('posterData', posterData)\nconst test = () => {\n console.log(posterData.views)\n}\n\nconst onDrag = (p: any) => {\n const css = posterData.views[index.value].css\n console.log('onDrag', p)\n css.left = p.x\n css.top = p.y\n}\nconst onResize = (p: any) => {\n const css = posterData.views[index.value].css\n css.left = p.x\n css.top = p.y\n css.width = p.w\n css.height = p.h\n}\nconst getBgStyle = (item: any) => {\n if (item.type == 'image') {\n return {\n width: item.css.width + 'px',\n height: item.css.height + 'px',\n borderColor: item.css.borderColor || '#fff',\n borderStyle: 'solid',\n borderWidth: item.css.borderWidth + 'px',\n borderRadius: item.css.borderRadius + 'px',\n top: -parseInt(item.css.borderWidth) + 'px',\n left: -parseInt(item.css.borderWidth) + 'px',\n }\n } else {\n return {}\n }\n}\n\nconst add = (name = 'avatar') => {\n const allViews = defaultViews.concat(props.views as any)\n for (let i = 0; i < allViews.length; i++) {\n if (allViews[i].name == name) {\n // view\n const view = JSON.parse(JSON.stringify(allViews[i]))\n posterData.views.push(view)\n }\n }\n}\n\nconst checkParentSize = () => {\n // 刷新大小检测\n if (draggables.value) {\n console.log('draggables', draggables)\n for (let i = 0; i < draggables.value.length; i++) {\n const draggable = draggables.value[i]\n draggable.parentHeight = posterData.height\n draggable.parentWidth = posterData.width\n\n if (posterData.width < draggable.left + draggable.initW) {\n draggable.left = posterData.width\n }\n if (posterData.height < draggable.top + draggable.initH) {\n draggable.top = posterData.height\n }\n }\n }\n}\n\nconst adsorb = computed(() => {\n const border = formTools?.border\n const height = posterData.height\n const width = posterData.width\n return {\n cols: [border, width - border],\n rows: [border, height - border],\n }\n})\n\nwatch(\n () => props.modelValue,\n (n, o) => {\n console.log('1111')\n // initPosterDraggable()\n }\n)\n\nconst initPosterDraggable = () => {\n console.log('initPosterDraggable')\n posterData.background = props.modelValue.background\n posterData.width = props.modelValue.width\n posterData.height = props.modelValue.height\n posterData.borderRadius = props.modelValue.borderRadius\n posterData.views = []\n for (let i = 0; i < props.modelValue.views.length; i++) {\n posterData.views.push(props.modelValue.views[i])\n }\n}\n\nonMounted(() => {\n initPosterDraggable()\n})\n\ndefineExpose({\n checkParentSize,\n})\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","DkPosterViewName","DkPosterViewImage","DkPosterViewText","DkPosterViewAvatar","DkPosterViewQrcode","ref","reactive","computed","provide","defaultViews","watch","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,UAAA;AAAA,EACN,UAAY,EAAA;AAAA,sBACVC,wBAAA;AAAA,uBACAC,yBAAA;AAAA,sBACAC,wBAAA;AAAA,wBACAC,0BAAA;AAAA,wBACAC,0BAAA;AAAA,GACF;AACF,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;AAuND,IAAA,MAAM,YAAYC,OAAI,EAAA,CAAA;AAEtB,IAAA,MAAM,aAAkBC,YAAS,CAAA;AAAA,MAC/B,UAAY,EAAA,EAAA;AAAA,MACZ,KAAO,EAAA,GAAA;AAAA,MACP,MAAQ,EAAA,GAAA;AAAA,MACR,YAAc,EAAA,CAAA;AAAA,MACd,OAAO,EAAC;AAAA,KACT,CAAA,CAAA;AACD,IAAA,MAAM,YAAiBA,YAAS,CAAA;AAAA,MAC9B,OAAS,EAAA,IAAA;AAAA,MACT,IAAM,EAAA,IAAA;AAAA,MACN,IAAM,EAAA,IAAA;AAAA,MACN,MAAQ,EAAA,EAAA;AAAA,KACT,CAAA,CAAA;AAED,IAAM,MAAA,SAAA,GAAYC,aAAS,MAAM;AAC/B,MAAA,MAAM,QAAa,EAAC,CAAA;AACpB,MAAA,MAAM,QAAa,UAAW,CAAA,KAAA,CAAA;AAC9B,MAAA,IAAI,KAAO,EAAA;AACT,QAAA,KAAA,IAAS,CAAI,GAAA,CAAA,EAAG,CAAI,GAAA,KAAA,CAAM,QAAQ,CAAK,EAAA,EAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var DkPosterViewAvatar_vue_vue_type_script_setup_true_lang = require('./DkPosterViewAvatar.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var DkPosterViewAvatar = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewAvatar_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewAvatar.vue"]]);
8
+ var DkPosterViewAvatar = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewAvatar_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewAvatar.vue"]]);
9
9
 
10
10
  exports.default = DkPosterViewAvatar;
11
11
  //# sourceMappingURL=DkPosterViewAvatar.vue.js.map