@vipl520/dk-ui 1.0.11 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (661) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3949 -3158
  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 +3961 -3172
  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/attachment.vue2.mjs +7 -6
  13. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  14. package/es/attachment/src/file-icon.vue.mjs +1 -1
  15. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  16. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  17. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  18. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  19. package/es/color-input/src/color-input.vue.mjs +1 -1
  20. package/es/dialog/index.d.ts +15 -0
  21. package/es/dialog/src/dialog.vue.d.ts +9 -0
  22. package/es/dialog/src/dialog.vue.mjs +1 -1
  23. package/es/dialog/src/dialog.vue2.mjs +3 -2
  24. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  25. package/es/dialog/src/props.d.ts +4 -0
  26. package/es/dialog/src/props.mjs +4 -0
  27. package/es/dialog/src/props.mjs.map +1 -1
  28. package/es/file-input/src/file-input.vue.mjs +1 -1
  29. package/es/file-input/style/index.css +1 -1
  30. package/es/file-input/style/index.scss +2 -0
  31. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  32. package/es/file-list-input/style/index.css +1 -1
  33. package/es/file-list-input/style/index.scss +1 -0
  34. package/es/form/src/form.vue.mjs +1 -1
  35. package/es/form/style/index.css +1 -1
  36. package/es/form/style/index.scss +7 -3
  37. package/es/group/src/group.vue.mjs +1 -1
  38. package/es/hot-area-input/index.d.ts +15 -0
  39. package/es/hot-area-input/index.mjs +8 -0
  40. package/es/hot-area-input/index.mjs.map +1 -0
  41. package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  42. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
  43. package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
  44. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
  45. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
  46. package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  47. package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
  48. package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
  49. package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
  50. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
  51. package/es/hot-area-input/src/props.d.ts +8 -0
  52. package/es/hot-area-input/src/props.mjs +11 -0
  53. package/es/hot-area-input/src/props.mjs.map +1 -0
  54. package/es/hot-area-input/style/index.css +1 -0
  55. package/es/hot-area-input/style/index.scss +40 -0
  56. package/es/icon/src/icon.vue.mjs +1 -1
  57. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  58. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  59. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  60. package/es/image-input/src/image-input.vue.mjs +1 -1
  61. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  62. package/es/index.d.ts +1 -0
  63. package/es/index.mjs +5 -1
  64. package/es/index.mjs.map +1 -1
  65. package/es/index.scss +1 -62
  66. package/es/page-diy/index.d.ts +59 -23
  67. package/es/page-diy/index.mjs +0 -4
  68. package/es/page-diy/index.mjs.map +1 -1
  69. package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
  70. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  71. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  72. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +1 -1
  73. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  74. package/es/page-diy/src/config/base/dkPage.mjs +0 -49
  75. package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
  76. package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
  77. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  78. package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  79. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
  80. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
  81. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  82. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
  83. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
  84. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  85. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
  86. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
  87. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  88. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
  89. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
  90. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  91. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
  92. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
  93. package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  94. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
  95. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
  96. package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  97. package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
  98. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
  99. package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
  100. package/es/page-diy/src/config/rule/min/index.mjs +17 -0
  101. package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
  102. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
  103. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
  104. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
  105. package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
  106. package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
  107. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
  108. package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
  109. package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
  110. package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
  111. package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
  112. package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
  113. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
  114. package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
  115. package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
  116. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
  117. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
  118. package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
  119. package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  120. package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
  121. package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
  122. package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
  123. package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
  124. package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
  125. package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
  126. package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
  127. package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
  128. package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
  129. package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
  130. package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
  131. package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
  132. package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
  133. package/es/page-diy/src/page-diy.vue.d.ts +59 -23
  134. package/es/page-diy/src/page-diy.vue.mjs +53 -187
  135. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  136. package/es/page-diy/src/props.d.ts +21 -4
  137. package/es/page-diy/src/props.mjs +28 -6
  138. package/es/page-diy/src/props.mjs.map +1 -1
  139. package/es/page-diy/src/utils/help.mjs.map +1 -1
  140. package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  141. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
  142. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
  143. package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  144. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +126 -0
  145. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
  146. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  147. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
  148. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
  149. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
  150. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
  151. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  152. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
  153. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
  154. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
  155. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
  156. package/es/page-diy/src/views/min/index.mjs +18 -0
  157. package/es/page-diy/src/views/min/index.mjs.map +1 -0
  158. package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
  159. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
  160. package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
  161. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
  162. package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
  163. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
  164. package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
  165. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
  166. package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
  167. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
  168. package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
  169. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
  170. package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
  171. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
  172. package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
  173. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
  174. package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
  175. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
  176. package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
  177. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
  178. package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
  179. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
  180. package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
  181. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
  182. package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
  183. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
  184. package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
  185. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
  186. package/es/page-diy/src/views/web/index.mjs.map +1 -0
  187. package/es/page-diy/style/drag-tool.css +1 -1
  188. package/es/page-diy/style/drag-tool.scss +2 -2
  189. package/es/page-diy/style/index.css +1 -1
  190. package/es/page-diy/style/index.scss +1 -0
  191. package/es/page-diy/style/minViews/index.scss +26 -0
  192. package/es/page-diy/style/preview-phone.css +1 -1
  193. package/es/page-diy/style/preview-phone.scss +36 -2
  194. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  195. package/es/poster-input/src/component/poster.vue2.mjs +13 -13
  196. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  197. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  198. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  199. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  200. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  201. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  202. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  203. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  204. package/es/select/src/select.vue.mjs +1 -1
  205. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  206. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  207. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  208. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  209. package/es/style-input/src/style-input.vue.mjs +1 -1
  210. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  211. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  212. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  213. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  214. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  215. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  216. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  217. package/es/table/src/components/RecycleDialog.vue2.mjs +1 -2
  218. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  219. package/es/table/src/components/header.vue.mjs +1 -1
  220. package/es/table/src/table.vue.mjs +1 -1
  221. package/es/test/src/test.vue.mjs +1 -1
  222. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  223. package/es/video-input/src/video-input.vue.mjs +1 -1
  224. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  225. package/lib/attachment/src/attachment.vue.js +1 -1
  226. package/lib/attachment/src/attachment.vue2.js +7 -6
  227. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  228. package/lib/attachment/src/file-icon.vue.js +1 -1
  229. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  230. package/lib/audio-input/src/audio-input.vue.js +1 -1
  231. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  232. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  233. package/lib/color-input/src/color-input.vue.js +1 -1
  234. package/lib/dialog/index.d.ts +15 -0
  235. package/lib/dialog/src/dialog.vue.d.ts +9 -0
  236. package/lib/dialog/src/dialog.vue.js +1 -1
  237. package/lib/dialog/src/dialog.vue2.js +3 -2
  238. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  239. package/lib/dialog/src/props.d.ts +4 -0
  240. package/lib/dialog/src/props.js +4 -0
  241. package/lib/dialog/src/props.js.map +1 -1
  242. package/lib/file-input/src/file-input.vue.js +1 -1
  243. package/lib/file-input/style/index.css +1 -1
  244. package/lib/file-input/style/index.scss +2 -0
  245. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  246. package/lib/file-list-input/style/index.css +1 -1
  247. package/lib/file-list-input/style/index.scss +1 -0
  248. package/lib/form/src/form.vue.js +1 -1
  249. package/lib/form/style/index.css +1 -1
  250. package/lib/form/style/index.scss +7 -3
  251. package/lib/group/src/group.vue.js +1 -1
  252. package/lib/hot-area-input/index.d.ts +15 -0
  253. package/lib/hot-area-input/index.js +14 -0
  254. package/lib/hot-area-input/index.js.map +1 -0
  255. package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  256. package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
  257. package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
  258. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
  259. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
  260. package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  261. package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
  262. package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
  263. package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
  264. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
  265. package/lib/hot-area-input/src/props.d.ts +8 -0
  266. package/lib/hot-area-input/src/props.js +13 -0
  267. package/lib/hot-area-input/src/props.js.map +1 -0
  268. package/lib/hot-area-input/style/index.css +1 -0
  269. package/lib/hot-area-input/style/index.scss +40 -0
  270. package/lib/icon/src/icon.vue.js +1 -1
  271. package/lib/icon-input/src/icon-content.vue.js +1 -1
  272. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  273. package/lib/icon-input/src/icon-input.vue.js +1 -1
  274. package/lib/image-input/src/image-input.vue.js +1 -1
  275. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  276. package/lib/index.d.ts +1 -0
  277. package/lib/index.js +148 -142
  278. package/lib/index.js.map +1 -1
  279. package/lib/index.scss +1 -62
  280. package/lib/page-diy/index.d.ts +59 -23
  281. package/lib/page-diy/index.js +0 -4
  282. package/lib/page-diy/index.js.map +1 -1
  283. package/lib/page-diy/src/components/DragBox.vue.js +1 -1
  284. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  285. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  286. package/lib/page-diy/src/components/PreviewPhone.vue2.js +1 -1
  287. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  288. package/lib/page-diy/src/config/base/dkPage.js +0 -49
  289. package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
  290. package/lib/page-diy/src/config/base/dkSetting.js +0 -190
  291. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  292. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  293. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
  294. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
  295. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  296. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
  297. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
  298. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  299. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
  300. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
  301. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  302. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
  303. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
  304. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  305. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
  306. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
  307. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  308. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
  309. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
  310. package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  311. package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
  312. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
  313. package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
  314. package/lib/page-diy/src/config/rule/min/index.js +20 -0
  315. package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
  316. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
  317. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
  318. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
  319. package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
  320. package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
  321. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
  322. package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
  323. package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
  324. package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
  325. package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
  326. package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
  327. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
  328. package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
  329. package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
  330. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
  331. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
  332. package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
  333. package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  334. package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
  335. package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
  336. package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
  337. package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
  338. package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
  339. package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
  340. package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
  341. package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
  342. package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
  343. package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
  344. package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
  345. package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
  346. package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
  347. package/lib/page-diy/src/page-diy.vue.d.ts +59 -23
  348. package/lib/page-diy/src/page-diy.vue.js +61 -195
  349. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  350. package/lib/page-diy/src/props.d.ts +21 -4
  351. package/lib/page-diy/src/props.js +28 -6
  352. package/lib/page-diy/src/props.js.map +1 -1
  353. package/lib/page-diy/src/utils/help.js.map +1 -1
  354. package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  355. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
  356. package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
  357. package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  358. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +130 -0
  359. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
  360. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  361. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
  362. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
  363. package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
  364. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
  365. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
  366. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  367. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
  368. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
  369. package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
  370. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
  371. package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
  372. package/lib/page-diy/src/views/min/index.d.ts +2 -0
  373. package/lib/page-diy/src/views/min/index.js +22 -0
  374. package/lib/page-diy/src/views/min/index.js.map +1 -0
  375. package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
  376. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
  377. package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
  378. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
  379. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
  380. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
  381. package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
  382. package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
  383. package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
  384. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
  385. package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
  386. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
  387. package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
  388. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
  389. package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
  390. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
  391. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
  392. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
  393. package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
  394. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
  395. package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
  396. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
  397. package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
  398. package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
  399. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
  400. package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
  401. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
  402. package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
  403. package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
  404. package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
  405. package/lib/page-diy/src/views/web/index.d.ts +2 -0
  406. package/lib/page-diy/src/views/web/index.js.map +1 -0
  407. package/lib/page-diy/style/drag-tool.css +1 -1
  408. package/lib/page-diy/style/drag-tool.scss +2 -2
  409. package/lib/page-diy/style/index.css +1 -1
  410. package/lib/page-diy/style/index.scss +1 -0
  411. package/lib/page-diy/style/minViews/index.scss +26 -0
  412. package/lib/page-diy/style/preview-phone.css +1 -1
  413. package/lib/page-diy/style/preview-phone.scss +36 -2
  414. package/lib/poster-input/src/component/poster.vue.js +1 -1
  415. package/lib/poster-input/src/component/poster.vue2.js +13 -13
  416. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  417. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  418. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  419. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  420. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  421. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  422. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  423. package/lib/poster-input/src/poster-input.vue.js +1 -1
  424. package/lib/select/src/select.vue.js +1 -1
  425. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  426. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  427. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  428. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  429. package/lib/style-input/src/style-input.vue.js +1 -1
  430. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  431. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  432. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  433. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  434. package/lib/table/src/components/ComSearch.vue.js +1 -1
  435. package/lib/table/src/components/FieldRender.vue.js +1 -1
  436. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  437. package/lib/table/src/components/RecycleDialog.vue2.js +1 -2
  438. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  439. package/lib/table/src/components/header.vue.js +1 -1
  440. package/lib/table/src/table.vue.js +1 -1
  441. package/lib/test/src/test.vue.js +1 -1
  442. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  443. package/lib/video-input/src/video-input.vue.js +1 -1
  444. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  445. package/package.json +1 -1
  446. package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
  447. package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
  448. package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
  449. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
  450. package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
  451. package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
  452. package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
  453. package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
  454. package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
  455. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
  456. package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
  457. package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
  458. package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
  459. package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
  460. package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
  461. package/es/page-diy/src/config/rule/index.mjs.map +0 -1
  462. package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
  463. package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
  464. package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
  465. package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
  466. package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
  467. package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
  468. package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
  469. package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
  470. package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
  471. package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
  472. package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
  473. package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
  474. package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
  475. package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
  476. package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
  477. package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
  478. package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
  479. package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
  480. package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
  481. package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
  482. package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
  483. package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
  484. package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
  485. package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
  486. package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
  487. package/es/page-diy/src/views/index.mjs.map +0 -1
  488. package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
  489. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
  490. package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
  491. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
  492. package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
  493. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
  494. package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
  495. package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
  496. package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
  497. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
  498. package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
  499. package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
  500. package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
  501. package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
  502. package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
  503. package/lib/page-diy/src/config/rule/index.js.map +0 -1
  504. package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
  505. package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
  506. package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
  507. package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
  508. package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
  509. package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
  510. package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
  511. package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
  512. package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
  513. package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
  514. package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
  515. package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
  516. package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
  517. package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
  518. package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
  519. package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
  520. package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
  521. package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
  522. package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
  523. package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
  524. package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
  525. package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
  526. package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
  527. package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
  528. package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
  529. package/lib/page-diy/src/views/index.js.map +0 -1
  530. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  531. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  532. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
  533. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  534. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
  535. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  536. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
  537. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  538. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
  539. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  540. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
  541. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  542. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
  543. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  544. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
  545. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  546. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
  547. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  548. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
  549. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  550. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
  551. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  552. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
  553. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  554. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
  555. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  556. package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  557. package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
  558. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  559. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
  560. package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  561. package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
  562. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  563. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
  564. package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  565. package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
  566. package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  567. package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
  568. package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  569. package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
  570. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  571. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
  572. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  573. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
  574. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  575. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
  576. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  577. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
  578. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  579. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
  580. package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
  581. package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
  582. package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
  583. package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  584. package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  585. package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  586. package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  587. package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  588. package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  589. package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  590. package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  591. package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  592. package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  593. package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  594. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
  595. package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  596. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
  597. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
  598. package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
  599. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  600. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  601. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
  602. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  603. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
  604. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  605. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
  606. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  607. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
  608. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  609. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
  610. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  611. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
  612. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  613. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
  614. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  615. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
  616. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  617. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
  618. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  619. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
  620. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  621. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
  622. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  623. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
  624. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  625. package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  626. package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
  627. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  628. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
  629. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  630. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
  631. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  632. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
  633. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  634. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
  635. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  636. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
  637. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  638. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
  639. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  640. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
  641. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  642. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
  643. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  644. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
  645. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  646. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
  647. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  648. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
  649. package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  650. package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  651. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  652. package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  653. package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  654. package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  655. package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  656. package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  657. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  658. package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  659. package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  660. /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  661. /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
@@ -0,0 +1,262 @@
1
+ import { createElementVNode, defineComponent, ref, reactive, onMounted, watch, resolveComponent, openBlock, createElementBlock, normalizeStyle, withModifiers, Fragment, renderList, createBlock, unref, withCtx, toDisplayString, createVNode, createTextVNode } from 'vue';
2
+ import Vue3DraggableResizable from 'vue3-draggable-resizable';
3
+
4
+ const _hoisted_1 = { class: "hot-area-content" };
5
+ const _hoisted_2 = { class: "hot-area-draggable" };
6
+ const _hoisted_3 = {
7
+ class: "hot-item-content",
8
+ style: { "position": "relative", "width": "100%", "height": "100%", "background": "#0003" }
9
+ };
10
+ const _hoisted_4 = {
11
+ key: 1,
12
+ style: { "width": "500px", "height": "500px" }
13
+ };
14
+ const _hoisted_5 = { class: "hot-area-form" };
15
+ const _hoisted_6 = /* @__PURE__ */ createElementVNode(
16
+ "h3",
17
+ { style: { "margin-top": "0", "font-size": "16px", "font-weight": "500" } },
18
+ "\u70ED\u533A\u7BA1\u7406",
19
+ -1
20
+ /* HOISTED */
21
+ );
22
+ const __default__ = defineComponent({
23
+ name: "HotAreaContent"
24
+ });
25
+ var _sfc_main = /* @__PURE__ */ defineComponent({
26
+ ...__default__,
27
+ props: {
28
+ hotDataValue: {
29
+ default: () => {
30
+ return {
31
+ views: [],
32
+ width: 400,
33
+ height: 400,
34
+ background: null
35
+ };
36
+ },
37
+ type: Object
38
+ }
39
+ },
40
+ setup(__props) {
41
+ const props = __props;
42
+ const index = ref(0);
43
+ const hotData = reactive(props.hotDataValue);
44
+ const addView = () => {
45
+ if (!Array.isArray(hotData.views)) {
46
+ hotData.views = [];
47
+ }
48
+ hotData.views.push({
49
+ css: {
50
+ left: 0,
51
+ top: 0,
52
+ width: 80,
53
+ height: 80,
54
+ borderRadius: 0,
55
+ borderColor: "#fff"
56
+ },
57
+ url: ""
58
+ });
59
+ };
60
+ const delView = (indexToDelete) => {
61
+ if (indexToDelete >= 0 && indexToDelete < hotData.views.length) {
62
+ hotData.views.splice(indexToDelete, 1);
63
+ }
64
+ };
65
+ const onDrag = (p) => {
66
+ const css = hotData.views[index.value].css;
67
+ css.left = p.x;
68
+ css.top = p.y;
69
+ };
70
+ const onResize = (p) => {
71
+ const css = hotData.views[index.value].css;
72
+ css.left = p.x;
73
+ css.top = p.y;
74
+ css.width = p.w;
75
+ css.height = p.h;
76
+ };
77
+ onMounted(() => {
78
+ resetSize();
79
+ });
80
+ watch(
81
+ () => hotData?.background,
82
+ () => {
83
+ resetSize();
84
+ }
85
+ );
86
+ const resetSize = () => {
87
+ if (hotData.background) {
88
+ getImageSize(hotData.background).then((image) => {
89
+ hotData.width = 500;
90
+ hotData.height = image.height * 500 / image.width;
91
+ setTimeout(() => {
92
+ }, 200);
93
+ }).catch(() => {
94
+ });
95
+ }
96
+ };
97
+ const getImageSize = (url) => {
98
+ return new Promise(function(resolve, reject) {
99
+ const image = new Image();
100
+ image.onload = function() {
101
+ resolve({
102
+ width: image.width,
103
+ height: image.height
104
+ });
105
+ };
106
+ image.onerror = function() {
107
+ reject(new Error("error"));
108
+ };
109
+ image.src = url;
110
+ });
111
+ };
112
+ return (_ctx, _cache) => {
113
+ const _component_el_empty = resolveComponent("el-empty");
114
+ const _component_dk_image_input = resolveComponent("dk-image-input");
115
+ const _component_el_form_item = resolveComponent("el-form-item");
116
+ const _component_el_button = resolveComponent("el-button");
117
+ const _component_el_input = resolveComponent("el-input");
118
+ const _component_el_form = resolveComponent("el-form");
119
+ return openBlock(), createElementBlock("div", _hoisted_1, [
120
+ createElementVNode("div", _hoisted_2, [
121
+ hotData.background ? (openBlock(), createElementBlock(
122
+ "div",
123
+ {
124
+ key: 0,
125
+ style: normalizeStyle([{
126
+ width: hotData.width + "px",
127
+ height: hotData.height + "px",
128
+ backgroundImage: "url(" + hotData.background + ")"
129
+ }, { "background-size": "100% 100%" }]),
130
+ onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {
131
+ }, ["prevent"]))
132
+ },
133
+ [
134
+ (openBlock(true), createElementBlock(
135
+ Fragment,
136
+ null,
137
+ renderList(hotData.views, (item, key) => {
138
+ return openBlock(), createBlock(unref(Vue3DraggableResizable), {
139
+ key,
140
+ ref_for: true,
141
+ ref: "draggables",
142
+ h: item.css.height,
143
+ "onUpdate:h": ($event) => item.css.height = $event,
144
+ x: item.css.left,
145
+ "onUpdate:x": ($event) => item.css.left = $event,
146
+ y: item.css.top,
147
+ "onUpdate:y": ($event) => item.css.top = $event,
148
+ w: item.css.width,
149
+ "onUpdate:w": ($event) => item.css.width = $event,
150
+ "init-w": item.css.width,
151
+ "init-h": item.css.height,
152
+ parent: true,
153
+ style: { "cursor": "move" },
154
+ "min-width": 20,
155
+ "min-height": 20,
156
+ onResizing: onResize,
157
+ onDragging: onDrag,
158
+ onMousedown: ($event) => index.value = key
159
+ }, {
160
+ default: withCtx(() => [
161
+ createElementVNode(
162
+ "div",
163
+ _hoisted_3,
164
+ toDisplayString(key + 1),
165
+ 1
166
+ /* TEXT */
167
+ )
168
+ ]),
169
+ _: 2
170
+ /* DYNAMIC */
171
+ }, 1032, ["h", "onUpdate:h", "x", "onUpdate:x", "y", "onUpdate:y", "w", "onUpdate:w", "init-w", "init-h", "onMousedown"]);
172
+ }),
173
+ 128
174
+ /* KEYED_FRAGMENT */
175
+ ))
176
+ ],
177
+ 36
178
+ /* STYLE, HYDRATE_EVENTS */
179
+ )) : (openBlock(), createElementBlock("div", _hoisted_4, [
180
+ createVNode(_component_el_empty, { description: "\u8BF7\u4E0A\u4F20\u56FE\u7247" })
181
+ ]))
182
+ ]),
183
+ createElementVNode("div", _hoisted_5, [
184
+ _hoisted_6,
185
+ createVNode(_component_el_form, {
186
+ "label-width": "80px",
187
+ "label-position": "left"
188
+ }, {
189
+ default: withCtx(() => [
190
+ createVNode(_component_el_form_item, { label: "\u80CC\u666F\u56FE " }, {
191
+ default: withCtx(() => [
192
+ createVNode(_component_dk_image_input, {
193
+ modelValue: hotData.background,
194
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hotData.background = $event)
195
+ }, null, 8, ["modelValue"])
196
+ ]),
197
+ _: 1
198
+ /* STABLE */
199
+ }),
200
+ (openBlock(true), createElementBlock(
201
+ Fragment,
202
+ null,
203
+ renderList(hotData.views, (item, key) => {
204
+ return openBlock(), createBlock(_component_el_form_item, {
205
+ key,
206
+ label: "\u70ED\u533A" + (key + 1)
207
+ }, {
208
+ default: withCtx(() => [
209
+ createVNode(_component_el_input, {
210
+ modelValue: hotData.views[key].url,
211
+ "onUpdate:modelValue": ($event) => hotData.views[key].url = $event,
212
+ placeholder: "\u586B\u5199\u8DF3\u8F6C\u5730\u5740"
213
+ }, {
214
+ append: withCtx(() => [
215
+ createVNode(_component_el_button, {
216
+ onClick: ($event) => delView(key)
217
+ }, {
218
+ default: withCtx(() => [
219
+ createTextVNode("\u5220\u9664")
220
+ ]),
221
+ _: 2
222
+ /* DYNAMIC */
223
+ }, 1032, ["onClick"])
224
+ ]),
225
+ _: 2
226
+ /* DYNAMIC */
227
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
228
+ ]),
229
+ _: 2
230
+ /* DYNAMIC */
231
+ }, 1032, ["label"]);
232
+ }),
233
+ 128
234
+ /* KEYED_FRAGMENT */
235
+ ))
236
+ ]),
237
+ _: 1
238
+ /* STABLE */
239
+ }),
240
+ createVNode(_component_el_button, {
241
+ disabled: !hotData.background,
242
+ type: "primary",
243
+ onClick: _cache[2] || (_cache[2] = ($event) => addView())
244
+ }, {
245
+ default: withCtx(() => [
246
+ createTextVNode(
247
+ toDisplayString(hotData.background ? "\u6DFB\u52A0\u70ED\u533A" : "\u8BF7\u5148\u4E0A\u4F20\u56FE\u7247"),
248
+ 1
249
+ /* TEXT */
250
+ )
251
+ ]),
252
+ _: 1
253
+ /* STABLE */
254
+ }, 8, ["disabled"])
255
+ ])
256
+ ]);
257
+ };
258
+ }
259
+ });
260
+
261
+ export { _sfc_main as default };
262
+ //# sourceMappingURL=hot-area-content.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-area-content.vue2.mjs","sources":["../../../../src/hot-area-input/src/component/hot-area-content.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'HotAreaContent',\n});\n</script>\n<template>\n <div class=\"hot-area-content\">\n <div class=\"hot-area-draggable\">\n <div\n v-if=\"hotData.background\"\n :style=\"{\n width: hotData.width + 'px',\n height: hotData.height + 'px',\n backgroundImage: 'url(' + hotData.background + ')',\n }\"\n style=\"background-size: 100% 100%\"\n @contextmenu.prevent\n >\n <vue3-draggable-resizable\n v-for=\"(item, key) in hotData.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 :min-width=\"20\"\n :min-height=\"20\"\n @resizing=\"onResize\"\n @dragging=\"onDrag\"\n @mousedown=\"index = key\"\n >\n <div class=\"hot-item-content\" style=\"position: relative; width: 100%; height: 100%; background: #0003\">\n {{ key + 1 }}\n </div>\n </vue3-draggable-resizable>\n </div>\n <div v-else style=\"width: 500px; height: 500px\">\n <el-empty description=\"请上传图片\"></el-empty>\n </div>\n </div>\n <div class=\"hot-area-form\">\n <h3 style=\"margin-top: 0; font-size: 16px; font-weight: 500\">热区管理</h3>\n <el-form label-width=\"80px\" label-position=\"left\">\n <el-form-item label=\"背景图 \">\n <dk-image-input v-model=\"hotData.background\" />\n </el-form-item>\n <el-form-item v-for=\"(item, key) in hotData.views\" :key=\"key\" :label=\"'热区' + (key + 1)\">\n <el-input v-model=\"hotData.views[key].url\" placeholder=\"填写跳转地址\">\n <template #append>\n <el-button @click=\"delView(key)\">删除</el-button>\n </template>\n </el-input>\n </el-form-item>\n </el-form>\n <el-button :disabled=\"!hotData.background\" type=\"primary\" @click=\"addView()\">{{\n hotData.background ? '添加热区' : '请先上传图片'\n }}</el-button>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport Vue3DraggableResizable, { DraggableContainer } from 'vue3-draggable-resizable'\nimport { reactive, ref, watch, onMounted } from 'vue'\n\n\nconst props = defineProps({\n hotDataValue: {\n default: () => {\n return {\n views: [],\n width: 400,\n height: 400,\n background: null,\n }\n },\n type: Object,\n },\n})\nconst index = ref(0)\nconst hotData = reactive(props.hotDataValue)\nconst addView = () => {\n // 这里hotData可以能没有views,如果没有就添加上views\n if (!Array.isArray(hotData.views)) {\n hotData.views = []\n }\n hotData.views.push({\n css: {\n left: 0,\n top: 0,\n width: 80,\n height: 80,\n borderRadius: 0,\n borderColor: '#fff',\n },\n url: '',\n })\n}\n\nconst delView = (indexToDelete: any) => {\n if (indexToDelete >= 0 && indexToDelete < hotData.views.length) {\n hotData.views.splice(indexToDelete, 1)\n }\n}\n\nconst onDrag = (p: any) => {\n const css = hotData.views[index.value].css\n css.left = p.x\n css.top = p.y\n}\nconst onResize = (p: any) => {\n const css = hotData.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}\n\nonMounted(() => {\n resetSize()\n})\n\nwatch(\n () => hotData?.background,\n () => {\n resetSize()\n }\n)\n\nconst resetSize = () => {\n if (hotData.background) {\n getImageSize(hotData.background)\n .then((image: any) => {\n hotData.width = 500\n hotData.height = (image.height * 500) / image.width\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</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,gBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;;;AAgFD,IAAM,MAAA,KAAA,GAAQ,IAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,OAAA,GAAU,QAAS,CAAA,KAAA,CAAM,YAAY,CAAA,CAAA;AAC3C,IAAA,MAAM,UAAU,MAAM;AAEpB,MAAA,IAAI,CAAC,KAAA,CAAM,OAAQ,CAAA,OAAA,CAAQ,KAAK,CAAG,EAAA;AACjC,QAAA,OAAA,CAAQ,QAAQ,EAAC,CAAA;AAAA,OACnB;AACA,MAAA,OAAA,CAAQ,MAAM,IAAK,CAAA;AAAA,QACjB,GAAK,EAAA;AAAA,UACH,IAAM,EAAA,CAAA;AAAA,UACN,GAAK,EAAA,CAAA;AAAA,UACL,KAAO,EAAA,EAAA;AAAA,UACP,MAAQ,EAAA,EAAA;AAAA,UACR,YAAc,EAAA,CAAA;AAAA,UACd,WAAa,EAAA,MAAA;AAAA,SACf;AAAA,QACA,GAAK,EAAA,EAAA;AAAA,OACN,CAAA,CAAA;AAAA,KACH,CAAA;AAEA,IAAM,MAAA,OAAA,GAAU,CAAC,aAAuB,KAAA;AACtC,MAAA,IAAI,aAAiB,IAAA,CAAA,IAAK,aAAgB,GAAA,OAAA,CAAQ,MAAM,MAAQ,EAAA;AAC9D,QAAQ,OAAA,CAAA,KAAA,CAAM,MAAO,CAAA,aAAA,EAAe,CAAC,CAAA,CAAA;AAAA,OACvC;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,MAAA,GAAS,CAAC,CAAW,KAAA;AACzB,MAAA,MAAM,GAAM,GAAA,OAAA,CAAQ,KAAM,CAAA,KAAA,CAAM,KAAK,CAAE,CAAA,GAAA,CAAA;AACvC,MAAA,GAAA,CAAI,OAAO,CAAE,CAAA,CAAA,CAAA;AACb,MAAA,GAAA,CAAI,MAAM,CAAE,CAAA,CAAA,CAAA;AAAA,KACd,CAAA;AACA,IAAM,MAAA,QAAA,GAAW,CAAC,CAAW,KAAA;AAC3B,MAAA,MAAM,GAAM,GAAA,OAAA,CAAQ,KAAM,CAAA,KAAA,CAAM,KAAK,CAAE,CAAA,GAAA,CAAA;AACvC,MAAA,GAAA,CAAI,OAAO,CAAE,CAAA,CAAA,CAAA;AACb,MAAA,GAAA,CAAI,MAAM,CAAE,CAAA,CAAA,CAAA;AACZ,MAAA,GAAA,CAAI,QAAQ,CAAE,CAAA,CAAA,CAAA;AACd,MAAA,GAAA,CAAI,SAAS,CAAE,CAAA,CAAA,CAAA;AAAA,KACjB,CAAA;AAEA,IAAA,SAAA,CAAU,MAAM;AACd,MAAU,SAAA,EAAA,CAAA;AAAA,KACX,CAAA,CAAA;AAED,IAAA,KAAA;AAAA,MACE,MAAM,OAAS,EAAA,UAAA;AAAA,MACf,MAAM;AACJ,QAAU,SAAA,EAAA,CAAA;AAAA,OACZ;AAAA,KACF,CAAA;AAEA,IAAA,MAAM,YAAY,MAAM;AACtB,MAAA,IAAI,QAAQ,UAAY,EAAA;AACtB,QAAA,YAAA,CAAa,OAAQ,CAAA,UAAU,CAC5B,CAAA,IAAA,CAAK,CAAC,KAAe,KAAA;AACpB,UAAA,OAAA,CAAQ,KAAQ,GAAA,GAAA,CAAA;AAChB,UAAA,OAAA,CAAQ,MAAU,GAAA,KAAA,CAAM,MAAS,GAAA,GAAA,GAAO,KAAM,CAAA,KAAA,CAAA;AAC9C,UAAA,UAAA,CAAW,MAAM;AAAA,aAEd,GAAG,CAAA,CAAA;AAAA,SACP,CACA,CAAA,KAAA,CAAM,MAAM;AAAA,SAAE,CAAA,CAAA;AAAA,OACnB;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,YAAA,GAAe,CAAC,GAAa,KAAA;AACjC,MAAA,OAAO,IAAI,OAAA,CAAQ,SAAU,OAAA,EAAS,MAAQ,EAAA;AAC5C,QAAM,MAAA,KAAA,GAAQ,IAAI,KAAM,EAAA,CAAA;AACxB,QAAA,KAAA,CAAM,SAAS,WAAY;AACzB,UAAQ,OAAA,CAAA;AAAA,YACN,OAAO,KAAM,CAAA,KAAA;AAAA,YACb,QAAQ,KAAM,CAAA,MAAA;AAAA,WACf,CAAA,CAAA;AAAA,SACH,CAAA;AACA,QAAA,KAAA,CAAM,UAAU,WAAY;AAC1B,UAAO,MAAA,CAAA,IAAI,KAAM,CAAA,OAAO,CAAC,CAAA,CAAA;AAAA,SAC3B,CAAA;AACA,QAAA,KAAA,CAAM,GAAM,GAAA,GAAA,CAAA;AAAA,OACb,CAAA,CAAA;AAAA,KACH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ modelValue: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ }>>, {
12
+ modelValue: Record<string, any>;
13
+ }, {}>;
14
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './hot-area-input.vue2.mjs';
2
+ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ var _HotAreaInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\hot-area-input.vue"]]);
5
+
6
+ export { _HotAreaInput as default };
7
+ //# sourceMappingURL=hot-area-input.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-area-input.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,65 @@
1
+ import { defineComponent, reactive, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createElementVNode } from 'vue';
2
+ import { hotAreaInputProps } from './props.mjs';
3
+ import HotAreaContent from './component/hot-area-content.vue.mjs';
4
+
5
+ const _hoisted_1 = { class: "dk-hot-area-input" };
6
+ const _hoisted_2 = { class: "text-center" };
7
+ const __default__ = defineComponent({
8
+ name: "DkHotAreaInput"
9
+ });
10
+ var _sfc_main = /* @__PURE__ */ defineComponent({
11
+ ...__default__,
12
+ props: hotAreaInputProps,
13
+ setup(__props) {
14
+ const props = __props;
15
+ const input = reactive(props.modelValue);
16
+ const dialog = ref(false);
17
+ return (_ctx, _cache) => {
18
+ const _component_el_button = resolveComponent("el-button");
19
+ const _component_dk_dialog = resolveComponent("dk-dialog");
20
+ return openBlock(), createElementBlock("div", _hoisted_1, [
21
+ createVNode(_component_el_button, {
22
+ type: "primary",
23
+ onClick: _cache[0] || (_cache[0] = ($event) => dialog.value = true)
24
+ }, {
25
+ default: withCtx(() => [
26
+ createTextVNode("\u8BBE\u7F6E\u70ED\u533A")
27
+ ]),
28
+ _: 1
29
+ /* STABLE */
30
+ }),
31
+ createVNode(_component_dk_dialog, {
32
+ modelValue: dialog.value,
33
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialog.value = $event),
34
+ width: "1000px",
35
+ title: "\u8BBE\u7F6E\u70ED\u533A"
36
+ }, {
37
+ footer: withCtx(() => [
38
+ createElementVNode("div", _hoisted_2, [
39
+ createVNode(_component_el_button, {
40
+ size: "default",
41
+ style: { "width": "200px" },
42
+ type: "primary",
43
+ onClick: _cache[1] || (_cache[1] = ($event) => dialog.value = false)
44
+ }, {
45
+ default: withCtx(() => [
46
+ createTextVNode("\u786E\u5B9A")
47
+ ]),
48
+ _: 1
49
+ /* STABLE */
50
+ })
51
+ ])
52
+ ]),
53
+ default: withCtx(() => [
54
+ createVNode(HotAreaContent, { "hot-data-value": input }, null, 8, ["hot-data-value"])
55
+ ]),
56
+ _: 1
57
+ /* STABLE */
58
+ }, 8, ["modelValue"])
59
+ ]);
60
+ };
61
+ }
62
+ });
63
+
64
+ export { _sfc_main as default };
65
+ //# sourceMappingURL=hot-area-input.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-area-input.vue2.mjs","sources":["../../../src/hot-area-input/src/hot-area-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkHotAreaInput',\n});\n</script>\n<template>\n <div class=\"dk-hot-area-input\">\n <el-button type=\"primary\" @click=\"dialog = true\">设置热区</el-button>\n <dk-dialog v-model=\"dialog\" width=\"1000px\" title=\"设置热区\">\n <hot-area-content :hot-data-value=\"input\"></hot-area-content>\n <template #footer>\n <div class=\"text-center\">\n <el-button size=\"default\" style=\"width: 200px\" type=\"primary\" @click=\"dialog = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { hotAreaInputProps } from './props'\nimport { ref, reactive } from 'vue'\nimport HotAreaContent from './component/hot-area-content.vue'\n\n\nconst props = defineProps(hotAreaInputProps)\nconst input = reactive(props.modelValue)\nconst dialog = ref(false)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,gBAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAuBD,IAAM,MAAA,KAAA,GAAQ,QAAS,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACvC,IAAM,MAAA,MAAA,GAAS,IAAI,KAAK,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const hotAreaInputProps: {
3
+ modelValue: {
4
+ type: ObjectConstructor;
5
+ default: () => {};
6
+ };
7
+ };
8
+ export type HotAreaInputProps = ExtractPropTypes<typeof hotAreaInputProps>;
@@ -0,0 +1,11 @@
1
+ const hotAreaInputProps = {
2
+ modelValue: {
3
+ type: Object,
4
+ default: () => {
5
+ return {};
6
+ }
7
+ }
8
+ };
9
+
10
+ export { hotAreaInputProps };
11
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/hot-area-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const hotAreaInputProps = {\n modelValue: {\n type: Object,\n default: () => {\n return {}\n },\n },\n}\n\nexport type HotAreaInputProps = ExtractPropTypes<typeof hotAreaInputProps>\n"],"names":[],"mappings":"AAEO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,GACF;AACF;;;;"}
@@ -0,0 +1 @@
1
+ .hot-area-content{display:flex;justify-content:space-between}.hot-area-content .hot-area-draggable{width:500px;border:1px solid var(--el-border-color)}.hot-area-content .hot-area-form{width:400px}.hot-area-content .hot-area-form .hot-area-input{display:flex;align-items:center}.hot-area-content .hot-area-form .hot-area-input span{width:100px}.hot-item-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;color:#fff;background:rgba(0,0,0,.2509803922)}
@@ -0,0 +1,40 @@
1
+ /* stylelint-disable */
2
+ .dk-hot-area-input {
3
+
4
+ }
5
+ .hot-area-content {
6
+ display: flex;
7
+ justify-content: space-between;
8
+
9
+ .hot-area-draggable {
10
+ width: 500px;
11
+ border: 1px solid var(--el-border-color);
12
+ //box-shadow: var(--el-box-shadow-light);
13
+ }
14
+
15
+ .hot-area-form {
16
+ width: 400px;
17
+
18
+ .hot-area-input {
19
+ display: flex;
20
+ align-items: center;
21
+
22
+ span {
23
+ width: 100px;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ .hot-item-content {
30
+ position: relative;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 100%;
35
+ height: 100%;
36
+ font-size: 20px;
37
+ color: #fff;
38
+ background: #00000040;
39
+ }
40
+ /* stylelint-enable */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
4
+ var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
5
5
 
6
6
  export { _Icon as default };
7
7
  //# sourceMappingURL=icon.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-content.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
4
+ var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
5
5
 
6
6
  export { _IconContent as default };
7
7
  //# sourceMappingURL=icon-content.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-dialog.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
4
+ var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
5
5
 
6
6
  export { _IconDialog as default };
7
7
  //# sourceMappingURL=icon-dialog.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
4
+ var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
5
5
 
6
6
  export { _IconInput as default };
7
7
  //# sourceMappingURL=icon-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './image-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
4
+ var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
5
5
 
6
6
  export { _ImageInput as default };
7
7
  //# sourceMappingURL=image-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './image-list-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
4
+ var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
5
5
 
6
6
  export { _ImageListInput as default };
7
7
  //# sourceMappingURL=image-list-input.vue.mjs.map
package/es/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './tiny-editor';
3
3
  export * from './icon';
4
4
  export * from './group';
5
5
  export * from './color-input';
6
+ export * from './hot-area-input';
6
7
  export * from './form';
7
8
  export * from './attachment';
8
9
  export * from './attachment-dialog';
package/es/index.mjs CHANGED
@@ -3,6 +3,7 @@ import { Group } from './group/index.mjs';
3
3
  import { TinyEditor } from './tiny-editor/index.mjs';
4
4
  import { Icon } from './icon/index.mjs';
5
5
  import { ColorInput } from './color-input/index.mjs';
6
+ import { HotAreaInput } from './hot-area-input/index.mjs';
6
7
  import { Dialog } from './dialog/index.mjs';
7
8
  import { Form } from './form/index.mjs';
8
9
  import { Attachment } from './attachment/index.mjs';
@@ -34,6 +35,7 @@ export { tinyEditorProps } from './tiny-editor/src/props.mjs';
34
35
  export { iconProps } from './icon/src/props.mjs';
35
36
  export { groupProps } from './group/src/props.mjs';
36
37
  export { colorInputProps } from './color-input/src/props.mjs';
38
+ export { hotAreaInputProps } from './hot-area-input/src/props.mjs';
37
39
  export { formProps } from './form/src/props.mjs';
38
40
  export { attachmentProps } from './attachment/src/props.mjs';
39
41
  export { attachmentDialogProps } from './attachment-dialog/src/props.mjs';
@@ -70,6 +72,8 @@ const components = [
70
72
  Icon,
71
73
  // 颜色选择器
72
74
  ColorInput,
75
+ // 热区选择器
76
+ HotAreaInput,
73
77
  // 对话框
74
78
  Dialog,
75
79
  // json表单
@@ -158,5 +162,5 @@ var index = {
158
162
  install
159
163
  };
160
164
 
161
- export { Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, VideoInput, VideoListInput, index as default, install };
165
+ export { Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, VideoInput, VideoListInput, index as default, install };
162
166
  //# sourceMappingURL=index.mjs.map
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport { Group } from './group'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { setGlobalConfig, directives } from '@vipl520/utils'\n\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './color-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\n\nconst components = [\n Test,\n Group,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 海报编辑器 poster-input\n // TODO Layout布局组件 layout\n // TODO 应用信息组件 addon-info\n // TODO 用户信息组件 user-info\n // TODO 全局Hook组件 global-hook\n // TODO 前端DIY匹配\n // TODO 开发者工具(自动CRUD)\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport { Group } from './group'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { HotAreaInput } from './hot-area-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { setGlobalConfig, directives } from '@vipl520/utils'\n\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './color-input'\nexport * from './hot-area-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\n\nconst components = [\n Test,\n Group,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 热区选择器\n HotAreaInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 海报编辑器 poster-input\n // TODO Layout布局组件 layout\n // TODO 应用信息组件 addon-info\n // TODO 用户信息组件 user-info\n // TODO 全局Hook组件 global-hook\n // TODO 前端DIY匹配\n // TODO 开发者工具(自动CRUD)\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}