@vipl520/dk-ui 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (641) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +4025 -3202
  4. package/dist/index.min.js +7 -7
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +7 -7
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +4022 -3201
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue.mjs +1 -1
  12. package/es/attachment/src/file-icon.vue.mjs +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  14. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  15. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  16. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  17. package/es/color-input/src/color-input.vue.mjs +1 -1
  18. package/es/dialog/src/dialog.vue.mjs +1 -1
  19. package/es/file-input/src/file-input.vue.mjs +1 -1
  20. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  21. package/es/file-list-input/style/index.scss +1 -1
  22. package/es/form/src/form.vue.mjs +1 -1
  23. package/es/form/style/index.css +1 -1
  24. package/es/form/style/index.scss +3 -3
  25. package/es/group/src/group.vue.mjs +1 -1
  26. package/es/hot-area-input/index.d.ts +15 -0
  27. package/es/hot-area-input/index.mjs +8 -0
  28. package/es/hot-area-input/index.mjs.map +1 -0
  29. package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  30. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
  31. package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
  32. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
  33. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
  34. package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  35. package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
  36. package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
  37. package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
  38. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
  39. package/es/hot-area-input/src/props.d.ts +8 -0
  40. package/es/hot-area-input/src/props.mjs +11 -0
  41. package/es/hot-area-input/src/props.mjs.map +1 -0
  42. package/es/hot-area-input/style/index.css +1 -0
  43. package/es/hot-area-input/style/index.scss +39 -0
  44. package/es/icon/src/icon.vue.mjs +1 -1
  45. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  46. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  47. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  48. package/es/image-input/src/image-input.vue.mjs +1 -1
  49. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  50. package/es/index.d.ts +1 -0
  51. package/es/index.mjs +5 -1
  52. package/es/index.mjs.map +1 -1
  53. package/es/index.scss +1 -62
  54. package/es/page-diy/index.d.ts +77 -23
  55. package/es/page-diy/index.mjs +0 -4
  56. package/es/page-diy/index.mjs.map +1 -1
  57. package/es/page-diy/src/components/DragBox.vue.mjs +2 -1
  58. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  59. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  60. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  61. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  62. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +27 -5
  63. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  64. package/es/page-diy/src/config/base/dkPage.mjs +0 -49
  65. package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
  66. package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
  67. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  68. package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  69. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
  70. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
  71. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  72. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
  73. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
  74. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  75. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
  76. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
  77. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  78. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
  79. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
  80. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  81. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
  82. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
  83. package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  84. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
  85. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
  86. package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  87. package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
  88. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
  89. package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
  90. package/es/page-diy/src/config/rule/min/index.mjs +17 -0
  91. package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
  92. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
  93. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
  94. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
  95. package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
  96. package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
  97. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
  98. package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
  99. package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
  100. package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
  101. package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
  102. package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
  103. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
  104. package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
  105. package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
  106. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
  107. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
  108. package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
  109. package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  110. package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
  111. package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
  112. package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
  113. package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
  114. package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
  115. package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
  116. package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
  117. package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
  118. package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
  119. package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
  120. package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
  121. package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
  122. package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
  123. package/es/page-diy/src/page-diy.vue.d.ts +77 -23
  124. package/es/page-diy/src/page-diy.vue.mjs +55 -189
  125. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  126. package/es/page-diy/src/props.d.ts +29 -4
  127. package/es/page-diy/src/props.mjs +36 -6
  128. package/es/page-diy/src/props.mjs.map +1 -1
  129. package/es/page-diy/src/utils/help.mjs.map +1 -1
  130. package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  131. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
  132. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
  133. package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  134. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +127 -0
  135. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
  136. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  137. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
  138. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
  139. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
  140. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
  141. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  142. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
  143. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
  144. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
  145. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
  146. package/es/page-diy/src/views/min/index.mjs +18 -0
  147. package/es/page-diy/src/views/min/index.mjs.map +1 -0
  148. package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
  149. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
  150. package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
  151. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
  152. package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
  153. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
  154. package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
  155. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
  156. package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
  157. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
  158. package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
  159. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
  160. package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
  161. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
  162. package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
  163. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
  164. package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
  165. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
  166. package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
  167. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
  168. package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
  169. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
  170. package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
  171. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
  172. package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
  173. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
  174. package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
  175. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
  176. package/es/page-diy/src/views/web/index.mjs.map +1 -0
  177. package/es/page-diy/style/drag-tool.css +1 -1
  178. package/es/page-diy/style/drag-tool.scss +4 -3
  179. package/es/page-diy/style/index.css +1 -1
  180. package/es/page-diy/style/index.scss +1 -0
  181. package/es/page-diy/style/minViews/index.scss +26 -0
  182. package/es/page-diy/style/preview-phone.css +1 -1
  183. package/es/page-diy/style/preview-phone.scss +36 -2
  184. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  185. package/es/poster-input/src/component/poster.vue2.mjs +13 -13
  186. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  187. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  188. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  189. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  190. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  191. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  192. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  193. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  194. package/es/select/src/select.vue.mjs +1 -1
  195. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  196. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  197. package/es/style-border-input/src/style-border-input.vue2.mjs +49 -45
  198. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  199. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  200. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  201. package/es/style-input/src/style-input.vue.mjs +1 -1
  202. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  203. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  204. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  205. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  206. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  207. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  208. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  209. package/es/table/src/components/header.vue.mjs +1 -1
  210. package/es/table/src/table.vue.mjs +1 -1
  211. package/es/test/src/test.vue.mjs +1 -1
  212. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  213. package/es/video-input/src/video-input.vue.mjs +1 -1
  214. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  215. package/lib/attachment/src/attachment.vue.js +1 -1
  216. package/lib/attachment/src/file-icon.vue.js +1 -1
  217. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  218. package/lib/audio-input/src/audio-input.vue.js +1 -1
  219. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  220. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  221. package/lib/color-input/src/color-input.vue.js +1 -1
  222. package/lib/dialog/src/dialog.vue.js +1 -1
  223. package/lib/file-input/src/file-input.vue.js +1 -1
  224. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  225. package/lib/file-list-input/style/index.scss +1 -1
  226. package/lib/form/src/form.vue.js +1 -1
  227. package/lib/form/style/index.css +1 -1
  228. package/lib/form/style/index.scss +3 -3
  229. package/lib/group/src/group.vue.js +1 -1
  230. package/lib/hot-area-input/index.d.ts +15 -0
  231. package/lib/hot-area-input/index.js +14 -0
  232. package/lib/hot-area-input/index.js.map +1 -0
  233. package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  234. package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
  235. package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
  236. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
  237. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
  238. package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  239. package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
  240. package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
  241. package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
  242. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
  243. package/lib/hot-area-input/src/props.d.ts +8 -0
  244. package/lib/hot-area-input/src/props.js +13 -0
  245. package/lib/hot-area-input/src/props.js.map +1 -0
  246. package/lib/hot-area-input/style/index.css +1 -0
  247. package/lib/hot-area-input/style/index.scss +39 -0
  248. package/lib/icon/src/icon.vue.js +1 -1
  249. package/lib/icon-input/src/icon-content.vue.js +1 -1
  250. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  251. package/lib/icon-input/src/icon-input.vue.js +1 -1
  252. package/lib/image-input/src/image-input.vue.js +1 -1
  253. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  254. package/lib/index.d.ts +1 -0
  255. package/lib/index.js +148 -142
  256. package/lib/index.js.map +1 -1
  257. package/lib/index.scss +1 -62
  258. package/lib/page-diy/index.d.ts +77 -23
  259. package/lib/page-diy/index.js +0 -4
  260. package/lib/page-diy/index.js.map +1 -1
  261. package/lib/page-diy/src/components/DragBox.vue.js +2 -1
  262. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  263. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  264. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  265. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  266. package/lib/page-diy/src/components/PreviewPhone.vue2.js +27 -5
  267. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  268. package/lib/page-diy/src/config/base/dkPage.js +0 -49
  269. package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
  270. package/lib/page-diy/src/config/base/dkSetting.js +0 -190
  271. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  272. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  273. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
  274. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
  275. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  276. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
  277. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
  278. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  279. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
  280. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
  281. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  282. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
  283. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
  284. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  285. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
  286. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
  287. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  288. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
  289. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
  290. package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  291. package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
  292. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
  293. package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
  294. package/lib/page-diy/src/config/rule/min/index.js +20 -0
  295. package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
  296. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
  297. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
  298. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
  299. package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
  300. package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
  301. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
  302. package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
  303. package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
  304. package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
  305. package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
  306. package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
  307. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
  308. package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
  309. package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
  310. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
  311. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
  312. package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
  313. package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  314. package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
  315. package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
  316. package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
  317. package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
  318. package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
  319. package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
  320. package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
  321. package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
  322. package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
  323. package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
  324. package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
  325. package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
  326. package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
  327. package/lib/page-diy/src/page-diy.vue.d.ts +77 -23
  328. package/lib/page-diy/src/page-diy.vue.js +63 -197
  329. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  330. package/lib/page-diy/src/props.d.ts +29 -4
  331. package/lib/page-diy/src/props.js +36 -6
  332. package/lib/page-diy/src/props.js.map +1 -1
  333. package/lib/page-diy/src/utils/help.js.map +1 -1
  334. package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  335. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
  336. package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
  337. package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  338. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +131 -0
  339. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
  340. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  341. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
  342. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
  343. package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
  344. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
  345. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
  346. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  347. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
  348. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
  349. package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
  350. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
  351. package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
  352. package/lib/page-diy/src/views/min/index.d.ts +2 -0
  353. package/lib/page-diy/src/views/min/index.js +22 -0
  354. package/lib/page-diy/src/views/min/index.js.map +1 -0
  355. package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
  356. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
  357. package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
  358. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
  359. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
  360. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
  361. package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
  362. package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
  363. package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
  364. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
  365. package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
  366. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
  367. package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
  368. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
  369. package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
  370. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
  371. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
  372. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
  373. package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
  374. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
  375. package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
  376. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
  377. package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
  378. package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
  379. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
  380. package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
  381. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
  382. package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
  383. package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
  384. package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
  385. package/lib/page-diy/src/views/web/index.d.ts +2 -0
  386. package/lib/page-diy/src/views/web/index.js.map +1 -0
  387. package/lib/page-diy/style/drag-tool.css +1 -1
  388. package/lib/page-diy/style/drag-tool.scss +4 -3
  389. package/lib/page-diy/style/index.css +1 -1
  390. package/lib/page-diy/style/index.scss +1 -0
  391. package/lib/page-diy/style/minViews/index.scss +26 -0
  392. package/lib/page-diy/style/preview-phone.css +1 -1
  393. package/lib/page-diy/style/preview-phone.scss +36 -2
  394. package/lib/poster-input/src/component/poster.vue.js +1 -1
  395. package/lib/poster-input/src/component/poster.vue2.js +13 -13
  396. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  397. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  398. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  399. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  400. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  401. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  402. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  403. package/lib/poster-input/src/poster-input.vue.js +1 -1
  404. package/lib/select/src/select.vue.js +1 -1
  405. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  406. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  407. package/lib/style-border-input/src/style-border-input.vue2.js +49 -45
  408. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  409. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  410. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  411. package/lib/style-input/src/style-input.vue.js +1 -1
  412. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  413. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  414. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  415. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  416. package/lib/table/src/components/ComSearch.vue.js +1 -1
  417. package/lib/table/src/components/FieldRender.vue.js +1 -1
  418. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  419. package/lib/table/src/components/header.vue.js +1 -1
  420. package/lib/table/src/table.vue.js +1 -1
  421. package/lib/test/src/test.vue.js +1 -1
  422. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  423. package/lib/video-input/src/video-input.vue.js +1 -1
  424. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  425. package/package.json +1 -1
  426. package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
  427. package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
  428. package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
  429. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
  430. package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
  431. package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
  432. package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
  433. package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
  434. package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
  435. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
  436. package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
  437. package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
  438. package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
  439. package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
  440. package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
  441. package/es/page-diy/src/config/rule/index.mjs.map +0 -1
  442. package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
  443. package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
  444. package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
  445. package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
  446. package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
  447. package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
  448. package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
  449. package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
  450. package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
  451. package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
  452. package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
  453. package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
  454. package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
  455. package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
  456. package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
  457. package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
  458. package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
  459. package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
  460. package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
  461. package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
  462. package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
  463. package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
  464. package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
  465. package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
  466. package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
  467. package/es/page-diy/src/views/index.mjs.map +0 -1
  468. package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
  469. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
  470. package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
  471. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
  472. package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
  473. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
  474. package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
  475. package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
  476. package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
  477. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
  478. package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
  479. package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
  480. package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
  481. package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
  482. package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
  483. package/lib/page-diy/src/config/rule/index.js.map +0 -1
  484. package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
  485. package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
  486. package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
  487. package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
  488. package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
  489. package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
  490. package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
  491. package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
  492. package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
  493. package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
  494. package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
  495. package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
  496. package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
  497. package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
  498. package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
  499. package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
  500. package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
  501. package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
  502. package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
  503. package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
  504. package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
  505. package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
  506. package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
  507. package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
  508. package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
  509. package/lib/page-diy/src/views/index.js.map +0 -1
  510. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  511. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  512. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
  513. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  514. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
  515. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  516. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
  517. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  518. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
  519. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  520. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
  521. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  522. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
  523. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  524. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
  525. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  526. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
  527. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  528. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
  529. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  530. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
  531. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  532. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
  533. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  534. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
  535. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  536. package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  537. package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
  538. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  539. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
  540. package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  541. package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
  542. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  543. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
  544. package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  545. package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
  546. package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  547. package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
  548. package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  549. package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
  550. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  551. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
  552. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  553. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
  554. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  555. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
  556. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  557. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
  558. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  559. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
  560. package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
  561. package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
  562. package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
  563. package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  564. package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  565. package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  566. package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  567. package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  568. package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  569. package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  570. package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  571. package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  572. package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  573. package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  574. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
  575. package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  576. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
  577. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
  578. package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
  579. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  580. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  581. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
  582. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  583. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
  584. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  585. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
  586. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  587. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
  588. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  589. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
  590. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  591. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
  592. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  593. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
  594. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  595. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
  596. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  597. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
  598. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  599. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
  600. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  601. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
  602. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  603. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
  604. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  605. package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  606. package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
  607. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  608. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
  609. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  610. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
  611. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  612. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
  613. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  614. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
  615. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  616. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
  617. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  618. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
  619. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  620. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
  621. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  622. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
  623. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  624. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
  625. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  626. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
  627. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  628. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
  629. package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  630. package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  631. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  632. package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  633. package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  634. package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  635. package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  636. package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  637. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  638. package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  639. package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  640. /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  641. /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
- var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
6
+ var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
8
  const _sfc_main = {
9
9
  name: 'DkViewVideo',
@@ -84,7 +84,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
84
84
  ])
85
85
  ], 4 /* STYLE */))
86
86
  }
87
- var DkViewVideo = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\page-diy\\src\\views\\DkViewVideo.vue"]]);
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"]]);
88
88
 
89
89
  exports.default = DkViewVideo;
90
90
  //# sourceMappingURL=DkViewVideo.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DkViewVideo.vue.js","sources":["../../../../../src/page-diy/src/views/web/DkViewVideo.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-video\" :style=\"_style\">\n <div style=\"position: relative\" class=\"dk-video-content\">\n <el-image v-if=\"poster\" :src=\"poster\" alt=\"\" class=\"poster\" />\n <div class=\"video-preview\">\n <dk-icon icon=\"VideoPlay\" :size=\"24\"></dk-icon>\n <p v-if=\"!videoPath\">请选择或者上传您的视频</p>\n <p v-else>当前不支持预览,请到实际页面查看</p>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewVideo',\n props: {\n poster: {\n default: '',\n type: String,\n },\n isHeight: {\n default: false,\n type: Boolean,\n },\n height: {\n default: 0,\n type: Number,\n },\n videoPath: {\n default: '',\n type: String,\n },\n isOpenClose: {\n default: false,\n type: Boolean,\n },\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const style = {}\n if (this.height && this.isHeight) {\n style.height = this.height + 'px'\n } else {\n style.height = '240px'\n }\n return style\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_createElementVNode","_createBlock","_createVNode","_openBlock"],"mappings":";;;;;;;AAcA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;AACD,IAAA,MAAM,EAAE;AACN,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;MACT,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,WAAW,EAAE;MACX,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;AACD,EAAA,QAAQ,EAAE;AACR,IAAA,MAAM,GAAG;MACP,MAAM,KAAM,GAAE,GAAC;AACf,MAAA,IAAI,IAAI,CAAC,MAAO,IAAG,IAAI,CAAC,QAAQ,EAAE;QAChC,KAAK,CAAC,MAAK,GAAI,IAAI,CAAC,MAAO,GAAE,KAAG;OAChC,MAAK;AACL,QAAA,KAAK,CAAC,SAAS,QAAM;AACvB,OAAA;MACA,OAAO,KAAI;KACZ;GACF;EACD,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;AApDS,EAAA,KAA0B,EAA1B,CAA0B,UAAA,CAAA,UAAA,CAAA;AAAC,EAAA,KAAK,EAAC,kBAAkB;;AAEjD,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,eAAe,GAAA;;;;;;;;2BAH9BA,sBASM,CAAA,KAAA,EAAA;AATD,IAAA,KAAK,EAAC,eAAe;AAAE,IAAA,KAAK,qBAAE,QAAM,CAAA,MAAA,CAAA;;AACvC,IAAAC,sBAAA,CAOM,OAPN,UAOM,EAAA;OANY,MAAM,CAAA,MAAA;4BAAtBC,eAA8D,CAAA,mBAAA,EAAA;;AAArC,YAAA,GAAG,EAAE,MAAM,CAAA,MAAA;AAAE,YAAA,GAAG,EAAC,EAAE;AAAC,YAAA,KAAK,EAAC,QAAQ;;;AAC3D,MAAAD,sBAAA,CAIM,OAJN,UAIM,EAAA;QAHJE,eAA+C,CAAA,kBAAA,EAAA;AAAtC,UAAA,IAAI,EAAC,WAAW;AAAE,UAAA,IAAI,EAAE,EAAE;;UACzB,MAAS,CAAA,SAAA;AAAnB,aAAAC,aAAA,EAAA,EAAAJ,sBAAA,CAAoC,iBAAf,aAAW,CAAA;AAChC,aAAAI,aAAA,EAAA,EAAAJ,sBAAA,CAA8B,iBAApB,kBAAgB,CAAA,CAAA;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ declare const views: any;
2
+ export default views;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/page-diy/src/views/web/index.ts"],"sourcesContent":["// 导入 Web Vue 组件\nimport DkViewBulletChat from './DkViewBulletChat.vue'\nimport DkViewCell from './DkViewCell.vue'\nimport DkViewCommonBtn from './DkViewCommonBtn.vue'\nimport DkViewDialog from './DkViewDialog.vue'\nimport DkViewGridCellList from './DkViewGridCellList.vue'\nimport DkViewImage from './DkViewImage.vue'\nimport DkViewMusic from './DkViewMusic.vue'\nimport DkViewNavBar from './DkViewNavBar.vue'\nimport DkViewNoticeBar from './DkViewNoticeBar.vue'\nimport DkViewSwipe from './DkViewSwipe.vue'\nimport DkViewTabbar from './DkViewTabbar.vue'\nimport DkViewTextarea from './DkViewTextarea.vue'\nimport DkViewTitle from './DkViewTitle.vue'\nimport DkViewVideo from './DkViewVideo.vue'\n\n// 创建一个对象来存储所有组件\nconst views: any = {\n DkViewBulletChat,\n DkViewCell,\n DkViewCommonBtn,\n DkViewDialog,\n DkViewGridCellList,\n DkViewImage,\n DkViewMusic,\n DkViewNavBar,\n DkViewNoticeBar,\n DkViewSwipe,\n DkViewTabbar,\n DkViewTextarea,\n DkViewTitle,\n DkViewVideo,\n}\n\n// 导出这个对象\nexport default views\n"],"names":["DkViewBulletChat","DkViewCell","DkViewCommonBtn","DkViewDialog","DkViewGridCellList","DkViewImage","DkViewMusic","DkViewNavBar","DkViewNoticeBar","DkViewSwipe","DkViewTabbar","DkViewTextarea","DkViewTitle","DkViewVideo"],"mappings":";;;;;;;;;;;;;;;;;;;AAiBA,MAAM,KAAa,GAAA;AAAA,oBACjBA,wBAAA;AAAA,cACAC,kBAAA;AAAA,mBACAC,uBAAA;AAAA,gBACAC,oBAAA;AAAA,sBACAC,0BAAA;AAAA,eACAC,mBAAA;AAAA,eACAC,mBAAA;AAAA,gBACAC,oBAAA;AAAA,mBACAC,uBAAA;AAAA,eACAC,mBAAA;AAAA,gBACAC,oBAAA;AAAA,kBACAC,sBAAA;AAAA,eACAC,mBAAA;AAAA,eACAC,mBAAA;AACF;;;;"}
@@ -1 +1 @@
1
- .drag-tool{padding:2px 0;position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff}.drag-tool:hover{outline:2px dashed #a2d1ff}.drag-tool .drag-tool{margin:5px}.drag-tool+.drag-tool{margin-top:5px}.drag-tool .drag-content{overflow:hidden}.drag-tool .drag-content .drag-tool .del{right:0;top:0}.drag-tool .drag-r{display:block}.drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1904}.drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.drag-tool .drag-btn+.drag-btn{margin-left:2px}.drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.drag-tool .drag-btn i{font-size:13px}.drag-tool .drag-mask{z-index:1900;position:absolute;top:0;left:0;right:0;bottom:0}.drag-tool.active{outline:2px solid #409eff}.drag-tool.active>.drag-r .drag-btn{display:block}.drag-tool.active>.drag-l .drag-btn{display:block}.drag-tool.active>.del{display:block}.drag-tool.active>.op{display:block}
1
+ .drag-tool{padding:var(--padding);position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.drag-tool:hover{outline:2px dashed #a2d1ff}.drag-tool .drag-tool{margin:5px}.drag-tool+.drag-tool{margin-top:5px}.drag-tool .drag-content{overflow:hidden}.drag-tool .drag-content .drag-tool .del{right:0;top:0}.drag-tool .drag-r{display:block}.drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.drag-tool .drag-btn+.drag-btn{margin-left:2px}.drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.drag-tool .drag-btn i{font-size:13px}.drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.drag-tool.active{outline:2px solid #409eff}.drag-tool.active>.drag-r .drag-btn{display:block}.drag-tool.active>.drag-l .drag-btn{display:block}.drag-tool.active>.del{display:block}.drag-tool.active>.op{display:block}
@@ -1,6 +1,6 @@
1
1
  /* stylelint-disable */
2
2
  .drag-tool {
3
- padding: 2px 0;
3
+ padding: var(--padding);
4
4
  position: relative;
5
5
  min-height: 30px;
6
6
  box-sizing: border-box;
@@ -8,6 +8,7 @@
8
8
  word-break: break-all;
9
9
  margin: var(--margin);
10
10
  outline: var(--showDashed) dashed #a2d1ff;
11
+ overflow: var(--overflow);
11
12
  //cursor: move;
12
13
  &:hover {
13
14
  outline: 2px dashed #a2d1ff;
@@ -40,7 +41,7 @@
40
41
  position: absolute;
41
42
  right: 2px;
42
43
  bottom: 2px;
43
- z-index: 1904;
44
+ z-index: 1200;
44
45
  }
45
46
 
46
47
  .drag-l {
@@ -81,7 +82,7 @@
81
82
  }
82
83
 
83
84
  .drag-mask {
84
- z-index: 1900;
85
+ z-index: 1199;
85
86
  position: absolute;
86
87
  top: 0;
87
88
  left: 0;
@@ -1 +1 @@
1
- @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .drag-box{min-height:50px}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:2px 0;position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1904}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1900;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:85px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}
1
+ @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .drag-box{min-height:50px}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}
@@ -9,5 +9,6 @@
9
9
  @import './drag-tool';
10
10
  @import './preview-phone';
11
11
  @import './views';
12
+ @import './minViews';
12
13
  }
13
14
  /* stylelint-enable */
@@ -0,0 +1,26 @@
1
+ /* stylelint-disable */
2
+ .dk-min-swipe {
3
+ .image {
4
+ width: 100%;
5
+ }
6
+
7
+ .swipe-title {
8
+ position: absolute;
9
+ bottom: 0;
10
+ background: #0005;
11
+ width: 100%;
12
+ color: #fff;
13
+ padding: 5px;
14
+ }
15
+ }
16
+ .dk-min-area {
17
+ position: relative;
18
+ }
19
+
20
+ .hot-item {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ color: #fff;
25
+ }
26
+ /* stylelint-enable */
@@ -1 +1 @@
1
- .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.preview-phone::-webkit-scrollbar{width:8px}.preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.preview-phone .phone .phone-header{height:85px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-phone .phone .phone-header img{width:100%}.preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:40px}.preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}
1
+ .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.preview-phone::-webkit-scrollbar{width:8px}.preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.preview-phone .phone .phone-header img{width:100%}.preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}
@@ -13,7 +13,7 @@
13
13
  box-shadow: 0 5px 10px #0003;
14
14
 
15
15
  .phone-header {
16
- height: 85px;
16
+ height: 75px;
17
17
  margin-bottom: 1px;
18
18
  user-select: none;
19
19
 
@@ -25,7 +25,8 @@
25
25
  display: flex;
26
26
  align-items: flex-start;
27
27
  justify-content: space-between;
28
- height: 40px;
28
+ height: 30px;
29
+ font-size: 12px;
29
30
 
30
31
  .phone-time {
31
32
  margin: 10px;
@@ -66,6 +67,39 @@
66
67
  }
67
68
  }
68
69
  }
70
+ .phone-header-min {
71
+ background-image: url('https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png');
72
+ background-repeat: no-repeat;
73
+ background-position: center;
74
+ background-size: cover;
75
+ position: relative;
76
+ .close-button {
77
+ position: absolute;
78
+ top: 34px;
79
+ right: 27px;
80
+ &:hover .close-button-mask {
81
+ background: #0001;
82
+ }
83
+ .close-button-mask {
84
+ width: 20px;
85
+ height: 20px;
86
+ border-radius: 100%;
87
+ cursor: pointer;
88
+ }
89
+ }
90
+ .more-button-mask {
91
+ position: absolute;
92
+ top: 34px;
93
+ right: 70px;
94
+ width: 25px;
95
+ cursor: pointer;
96
+ border-radius: 40px;
97
+ height: 20px;
98
+ &:hover {
99
+ background: #0001;
100
+ }
101
+ }
102
+ }
69
103
 
70
104
  min-height: 700px;
71
105
 
@@ -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_test\\dk-ui-all\\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-back\\packages\\dk-ui\\src\\poster-input\\src\\component\\poster.vue"]]);
9
9
 
10
10
  exports.default = _Poster;
11
11
  //# sourceMappingURL=poster.vue.js.map
@@ -133,19 +133,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
133
133
  });
134
134
  }
135
135
  };
136
- const addView = (name) => {
137
- add(name);
138
- };
139
- const viewNumber = (name) => {
140
- const views = posterData.views;
141
- let count = 1;
142
- for (let i = 0; i < views.length; i++) {
143
- if (views[i].name == name) {
144
- count++;
145
- }
146
- }
147
- return count;
148
- };
149
136
  const getImageSize = (url) => {
150
137
  return new Promise(function(resolve, reject) {
151
138
  const image = new Image();
@@ -161,6 +148,19 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
161
148
  image.src = url;
162
149
  });
163
150
  };
151
+ const addView = (name) => {
152
+ add(name);
153
+ };
154
+ const viewNumber = (name) => {
155
+ const views = posterData.views;
156
+ let count = 1;
157
+ for (let i = 0; i < views.length; i++) {
158
+ if (views[i].name == name) {
159
+ count++;
160
+ }
161
+ }
162
+ return count;
163
+ };
164
164
  const draggables = vue.ref();
165
165
  const draggableContainer = vue.ref();
166
166
  const index = vue.ref(0);
@@ -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'\nimport 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\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\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// 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;;;;;;;;;;;;;;;;;;;;AAiKD,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,I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ACX,eAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
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'\nimport 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;;;;;;;;;;;;;;;;;;;;AAiKD,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,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UAAW,CAAA,KAAA,CAAM,CAAC,CAAC,CAAA,CAAA;AAAA,OACjD;AAAA,KACF,CAAA;AAEA,IAAAC,aAAA,CAAU,MAAM;AACd,MAAoB,mBAAA,EAAA,CAAA;AAAA,KACrB,CAAA,CAAA;AAED,IAAa,QAAA,CAAA;AAAA,MACX,eAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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_test\\dk-ui-all\\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-back\\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
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var DkPosterViewImage_vue_vue_type_script_setup_true_lang = require('./DkPosterViewImage.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var DkPosterViewImage = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewImage_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewImage.vue"]]);
8
+ var DkPosterViewImage = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewImage_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\\DkPosterViewImage.vue"]]);
9
9
 
10
10
  exports.default = DkPosterViewImage;
11
11
  //# sourceMappingURL=DkPosterViewImage.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var DkPosterViewName_vue_vue_type_script_setup_true_lang = require('./DkPosterViewName.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var DkPosterViewName = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewName_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewName.vue"]]);
8
+ var DkPosterViewName = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewName_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\\DkPosterViewName.vue"]]);
9
9
 
10
10
  exports.default = DkPosterViewName;
11
11
  //# sourceMappingURL=DkPosterViewName.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var DkPosterViewQrcode_vue_vue_type_script_setup_true_lang = require('./DkPosterViewQrcode.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var DkPosterViewQrcode = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewQrcode_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewQrcode.vue"]]);
8
+ var DkPosterViewQrcode = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewQrcode_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\\DkPosterViewQrcode.vue"]]);
9
9
 
10
10
  exports.default = DkPosterViewQrcode;
11
11
  //# sourceMappingURL=DkPosterViewQrcode.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var DkPosterViewText_vue_vue_type_script_setup_true_lang = require('./DkPosterViewText.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var DkPosterViewText = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewText_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\DkPosterViewText.vue"]]);
8
+ var DkPosterViewText = /* @__PURE__ */ _pluginVue_exportHelper.default(DkPosterViewText_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\\DkPosterViewText.vue"]]);
9
9
 
10
10
  exports.default = DkPosterViewText;
11
11
  //# sourceMappingURL=DkPosterViewText.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var quickAction_vue_vue_type_script_setup_true_lang = require('./quick-action.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var QuickAction = /* @__PURE__ */ _pluginVue_exportHelper.default(quickAction_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\component\\views\\quick-action.vue"]]);
8
+ var QuickAction = /* @__PURE__ */ _pluginVue_exportHelper.default(quickAction_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\\quick-action.vue"]]);
9
9
 
10
10
  exports.default = QuickAction;
11
11
  //# sourceMappingURL=quick-action.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var posterInput_vue_vue_type_script_setup_true_lang = require('./poster-input.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var _PosterInput = /* @__PURE__ */ _pluginVue_exportHelper.default(posterInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\poster-input\\src\\poster-input.vue"]]);
8
+ var _PosterInput = /* @__PURE__ */ _pluginVue_exportHelper.default(posterInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\poster-input\\src\\poster-input.vue"]]);
9
9
 
10
10
  exports.default = _PosterInput;
11
11
  //# sourceMappingURL=poster-input.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var select_vue_vue_type_script_setup_true_lang = require('./select.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var _Select = /* @__PURE__ */ _pluginVue_exportHelper.default(select_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\select\\src\\select.vue"]]);
8
+ var _Select = /* @__PURE__ */ _pluginVue_exportHelper.default(select_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\select\\src\\select.vue"]]);
9
9
 
10
10
  exports.default = _Select;
11
11
  //# sourceMappingURL=select.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var styleBackgroundInput_vue_vue_type_script_setup_true_lang = require('./style-background-input.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var _StyleBackgroundInput = /* @__PURE__ */ _pluginVue_exportHelper.default(styleBackgroundInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\style-background-input\\src\\style-background-input.vue"]]);
8
+ var _StyleBackgroundInput = /* @__PURE__ */ _pluginVue_exportHelper.default(styleBackgroundInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-background-input\\src\\style-background-input.vue"]]);
9
9
 
10
10
  exports.default = _StyleBackgroundInput;
11
11
  //# sourceMappingURL=style-background-input.vue.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var styleBorderInput_vue_vue_type_script_setup_true_lang = require('./style-border-input.vue2.js');
6
6
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
7
 
8
- var _StyleBorderInput = /* @__PURE__ */ _pluginVue_exportHelper.default(styleBorderInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\style-border-input\\src\\style-border-input.vue"]]);
8
+ var _StyleBorderInput = /* @__PURE__ */ _pluginVue_exportHelper.default(styleBorderInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-border-input\\src\\style-border-input.vue"]]);
9
9
 
10
10
  exports.default = _StyleBorderInput;
11
11
  //# sourceMappingURL=style-border-input.vue.js.map