@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
package/dist/tags.json CHANGED
@@ -120,6 +120,13 @@
120
120
  ],
121
121
  "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#group)"
122
122
  },
123
+ "dk-hot-area-input": {
124
+ "attributes": [
125
+ "type",
126
+ "click"
127
+ ],
128
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#hotareainput)"
129
+ },
123
130
  "dk-icon": {
124
131
  "attributes": [
125
132
  "icon",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "dk",
5
- "version": "1.0.10",
5
+ "version": "1.0.12",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
@@ -835,6 +835,40 @@
835
835
  ]
836
836
  }
837
837
  },
838
+ {
839
+ "name": "dk-hot-area-input",
840
+ "source": {
841
+ "symbol": "DkUIHotAreaInput"
842
+ },
843
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
844
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#hotareainput",
845
+ "props": [
846
+ {
847
+ "name": "type",
848
+ "description": "参数类型",
849
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#hotareainput-props",
850
+ "type": [
851
+ "string"
852
+ ]
853
+ }
854
+ ],
855
+ "slots": [
856
+ {
857
+ "name": "default",
858
+ "description": "自定义默认内容",
859
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#hotareainput-slots"
860
+ }
861
+ ],
862
+ "js": {
863
+ "events": [
864
+ {
865
+ "name": "click",
866
+ "description": "点击触发的事件",
867
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#hotareainput-events"
868
+ }
869
+ ]
870
+ }
871
+ },
838
872
  {
839
873
  "name": "dk-icon",
840
874
  "source": {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './attachment.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\attachment\\src\\attachment.vue"]]);
4
+ var _Attachment = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\attachment.vue"]]);
5
5
 
6
6
  export { _Attachment as default };
7
7
  //# sourceMappingURL=attachment.vue.mjs.map
@@ -74,10 +74,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  const chooseFileList = ref([]);
75
75
  const chooseFileId = ref([]);
76
76
  const globalConfig = getGlobalConfig();
77
- const uploadUrl = ref(globalConfig.ApiUrl);
78
- const headers = ref({
77
+ const uploadUrl = globalConfig.ApiUrl + "/adminapi/attachment/upload";
78
+ const headers = {
79
79
  "Access-Token": globalConfig.AccessToken
80
- });
80
+ };
81
81
  const upload = ref();
82
82
  const data = reactive({
83
83
  type: _type.value,
@@ -91,6 +91,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
91
91
  });
92
92
  };
93
93
  const handleUploadSuccess = (res) => {
94
+ console.log("res", res);
94
95
  if (res.code === 0) {
95
96
  ElMessage.success(res.msg);
96
97
  onGetAttachmentList();
@@ -345,11 +346,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
345
346
  ref_key: "upload",
346
347
  ref: upload,
347
348
  class: "dk-upload-button",
348
- action: uploadUrl.value,
349
+ action: uploadUrl,
349
350
  multiple: "",
350
351
  data,
351
352
  "show-file-list": false,
352
- headers: headers.value,
353
+ headers,
353
354
  "on-success": handleUploadSuccess,
354
355
  accept: _accept.value,
355
356
  "list-type": "text"
@@ -366,7 +367,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
366
367
  ]),
367
368
  _: 1
368
369
  /* STABLE */
369
- }, 8, ["action", "data", "headers", "accept"])
370
+ }, 8, ["data", "accept"])
370
371
  ])
371
372
  ]),
372
373
  createCommentVNode("\u5185\u90E8"),
@@ -1 +1 @@
1
- {"version":3,"file":"attachment.vue2.mjs","sources":["../../../src/attachment/src/attachment.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkAttachment',\n});\n</script>\n<template>\n <div class=\"dk-attachment attachment\">\n <!-- 顶部-->\n <div class=\"attachment-header flex justify-between pt-5px pb-5px\">\n <div class=\"header-form z\">\n <el-input v-model=\"searchFileName\" placeholder=\"请输入附件名称\" class=\"input-with-select\">\n <template #append>\n <el-button :icon=\"Search\" />\n </template>\n </el-input>\n </div>\n <div class=\"header-button y\">\n <el-dropdown class=\"mr\" trigger=\"click\" @command=\"handleMoveAttachment\">\n <el-button type=\"info\" :disabled=\"chooseFileKey.length <= 0\"> 移动 </el-button>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item v-for=\"(item, key) in groupList\" :key=\"key\" :command=\"item.id\">\n {{ item.name }}\n </el-dropdown-item>\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n <el-button type=\"danger\" :disabled=\"chooseFileKey.length <= 0\" @click=\"onDelete\"\n >删除<i class=\"el-icon-delete el-icon--right\"></i\n ></el-button>\n <el-upload\n ref=\"upload\"\n class=\"dk-upload-button\"\n :action=\"uploadUrl\"\n multiple\n :data=\"data\"\n :show-file-list=\"false\"\n :headers=\"headers\"\n :on-success=\"handleUploadSuccess\"\n :accept=\"_accept\"\n list-type=\"text\"\n >\n <el-button type=\"primary\">上传<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </el-upload>\n </div>\n </div>\n <!--内部-->\n <div class=\"attachment-content flex\">\n <!-- 分组-->\n <div class=\"attachment-group\">\n <h5 class=\"cursor-pointer flex items-center content-center\" @click=\"addGroup()\">\n 附件分组\n <el-icon class=\"m-l-5px\"><CirclePlusFilled /></el-icon>\n </h5>\n <ul class=\"group_list\">\n <li\n v-for=\"(item, key) in groupList\"\n :key=\"key\"\n :class=\"{ active: groupId === item.id }\"\n @click=\"selectGroup(item.id)\"\n >\n <dk-icon v-if=\"item.id === groupId\" icon=\"flat-color-icons:opened-folder\" />\n <dk-icon v-else icon=\"flat-color-icons:folder\" />\n\n <span class=\"ml-10px\">{{ item.name }}</span>\n\n <el-popover placement=\"right\" trigger=\"click\">\n <template #reference>\n <div class=\"op\">\n <el-icon v-if=\"item.id > 0\">\n <Tools />\n </el-icon>\n </div>\n </template>\n <template #default>\n <el-button size=\"small\" type=\"primary\" @click.stop=\"editGroup()\">编辑 </el-button>\n <el-button size=\"small\" type=\"danger\" @click=\"delGroup(item.id)\">删除</el-button>\n </template>\n </el-popover>\n </li>\n </ul>\n </div>\n <!-- 列表-->\n <div class=\"attachment-container\">\n <div v-if=\"loading || list.length > 0\" v-loading=\"loading\" class=\"p2\">\n <ul class=\"attachment-list cl\" :style=\"{ overflow: list.length > 10 ? 'auto' : '' }\">\n <li\n v-for=\"(item, key) in list\"\n :key=\"key\"\n :class=\"{ choose: chooseFileKey.indexOf(key) > -1 }\"\n @click=\"chooseAttachment(item, key)\"\n @contextmenu.prevent=\"contextMenuId = item.id\"\n >\n <div class=\"file\">\n <el-image v-if=\"item.type === 1\" class=\"file\" :src=\"item.url\" fit=\"contain\">\n <template #placeholder>\n <div class=\"u-m-t-30\">\n <i class=\"el-icon-loading\"></i>\n <span>加载中</span>\n </div>\n </template>\n </el-image>\n <div v-if=\"item.type === 2\">\n <dk-file-icon :file-name=\"item.filename\" :type=\"item.type\" />\n </div>\n <div v-if=\"item.type === 3\">\n <dk-file-icon :file-name=\"item.filename\" :type=\"item.type\" />\n </div>\n <div v-if=\"item.type === 0\">\n <dk-file-icon :file-name=\"item.filename\" />\n </div>\n </div>\n <div class=\"file-name over\">{{ item.name }}</div>\n <div class=\"right\">\n <el-icon>\n <Check />\n </el-icon>\n </div>\n </li>\n </ul>\n <div class=\"block p-10px\">\n <el-pagination\n :current-page=\"page\"\n layout=\"total, prev, pager, next, jumper,sizes\"\n :total=\"count\"\n :page-size=\"size\"\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n />\n </div>\n </div>\n <div v-else style=\"display: flex; align-items: center; justify-content: center; height: 340px\">\n <el-empty description=\"暂无数据\" />\n </div>\n <dk-form ref=\"groupForm\" :key=\"groupId\" :form-url=\"groupFormUrl\" :is-dialog=\"true\" @submit=\"onsubmit()\" />\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, reactive, onMounted, computed } from 'vue'\nimport {\n deleteAttachment,\n getAttachmentGroupList,\n getAttachmentList,\n moveAttachment,\n delAttachmentGroup,\n} from '../../api'\n\nimport { ElMessage, ElMessageBox } from 'element-plus'\nimport DkFileIcon from './file-icon.vue'\n\nimport { Search } from '@element-plus/icons-vue'\n\nimport { getAttachmentType, getGlobalConfig } from '@vipl520/utils'\nimport { attachmentProps } from './props'\n\n\n\nconst props = defineProps(attachmentProps)\n\nconst _type = computed(() => {\n return getAttachmentType(props.type)\n})\n\n/** ****************顶部data****************/\n// 搜索的文件名\nconst searchFileName = ref('')\n// 选择文件Key\nconst chooseFileKey = ref<number[]>([])\n// 选中文件列表\nconst chooseFileList = ref<any[]>([])\n// 选中文件ID\nconst chooseFileId = ref<number[]>([])\nconst globalConfig = getGlobalConfig()\n// 上传的地址\nconst uploadUrl = ref(globalConfig.ApiUrl)\nconst headers = ref({\n 'Access-Token': globalConfig.AccessToken,\n})\n// 上传的ref\nconst upload = ref()\n// 上传的数据\nconst data = reactive({\n type: _type.value,\n file: 'file',\n group_id: 0,\n})\n\n/** *****顶部的函数****************/\n\nconst handleMoveAttachment = (groupId: number) => {\n moveAttachment(chooseFileId.value, groupId).then((res) => {\n ElMessage.success(res.msg)\n onGetAttachmentList()\n })\n}\n\nconst handleUploadSuccess = (res: any) => {\n if (res.code === 0) {\n ElMessage.success(res.msg)\n // upload.value.clearFiles()\n onGetAttachmentList()\n } else {\n ElMessage.error(res.msg)\n }\n}\n\nconst _accept = computed(() => {\n let _accept = ''\n if (props.accept) {\n return props.accept\n } else {\n switch (_type.value) {\n case 0:\n break\n case 1:\n _accept = 'image/*'\n break\n case 2:\n _accept = 'audio/*'\n break\n case 3:\n _accept = 'video/*'\n break\n }\n return _accept\n }\n})\n\nconst onDelete = () => {\n // 改成element-plus\n ElMessageBox.confirm('此操作将永久删除文件, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(() => {\n try {\n deleteAttachment(chooseFileId.value)\n .then((res) => {\n console.log(res)\n onGetAttachmentList()\n })\n .catch((res) => {\n console.log('deleteAttachment error', res)\n })\n } catch (e) {\n console.log(e)\n }\n })\n}\n/** ****************分组data****************/\n// 分组列表\nconst groupList = ref<any>([])\n// 选中分组\n/** **********分组的函数****************/\n\nconst groupFormUrl = computed(() => {\n if (groupId.value === 0) {\n return {\n url: globalConfig.ApiUrl + '/adminapi/attachment/group/create',\n method: 'get',\n }\n } else {\n return {\n url: globalConfig.ApiUrl + '/adminapi/attachment/group/' + groupId.value + '/edit',\n method: 'get',\n }\n }\n})\n\nconst groupForm = ref()\n\nconst addGroup = () => {\n // TODO 添加文件分组\n groupId.value = 0\n groupForm.value.show()\n}\n\nconst delGroup = (id: number) => {\n // 改为Vue3\n ElMessageBox.confirm('此操作将永久删除该分组, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n }).then(() => {\n try {\n delAttachmentGroup(id)\n .then((res) => {\n ElMessage.success(res.msg)\n onsubmit()\n })\n .catch(() => {})\n } catch (e) {\n console.log(e)\n }\n })\n}\n\nconst editGroup = () => {\n groupForm.value.show()\n}\n\nconst onsubmit = () => {\n getGroupList()\n onGetAttachmentList()\n}\n\nconst selectGroup = (id: number) => {\n groupId.value = id\n page.value = 1\n onGetAttachmentList()\n}\n\nconst getGroupList = async () => {\n try {\n const res = await getAttachmentGroupList(_type.value)\n groupList.value = res.data\n } catch (e) {}\n}\n\n/** ****************附件列表*********************/\nconst loading = ref(true)\nconst list = ref<any>([])\nconst page = ref(1)\nconst count = ref(0)\nconst size = ref(10)\nconst contextMenuId = ref(0)\nconst groupId = ref(0)\n\n/** ***************列表函数*******************/\n\n// const editAttachment = () => {\n// // TODO 编辑附件\n// }\n\nconst handleSizeChange = (val: number) => {\n size.value = val\n onGetAttachmentList()\n}\n\n// 改变页码\nconst handleCurrentChange = (val: number) => {\n page.value = val\n onGetAttachmentList()\n}\nconst onGetAttachmentList = async (search = {}) => {\n clearChoose()\n try {\n const res = await getAttachmentList(page.value, size.value, _type.value, groupId.value, search)\n list.value = res.data\n count.value = res.msg\n loading.value = false\n } catch (e) {}\n}\n\nconst clearChoose = () => {\n chooseFileKey.value = []\n chooseFileId.value = []\n chooseFileList.value = []\n}\n\nconst chooseAttachment = (item: any, key: number) => {\n const index = chooseFileKey.value.indexOf(key)\n if (index > -1) {\n chooseFileKey.value.splice(index, 1)\n chooseFileId.value.splice(index, 1)\n chooseFileList.value.splice(index, 1)\n } else {\n chooseFileKey.value.push(key)\n chooseFileId.value.push(item.id)\n chooseFileList.value.push(item)\n }\n}\n\nonMounted(() => {\n getGroupList()\n onGetAttachmentList()\n})\n\ndefineExpose({\n chooseFileId,\n chooseFileKey,\n chooseFileList,\n clearChoose,\n})\n</script>\n"],"names":["__MACROS_defineComponent","groupId","_accept"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;AA+JD,IAAM,MAAA,KAAA,GAAQ,SAAS,MAAM;AAC3B,MAAO,OAAA,iBAAA,CAAkB,MAAM,IAAI,CAAA,CAAA;AAAA,KACpC,CAAA,CAAA;AAID,IAAM,MAAA,cAAA,GAAiB,IAAI,EAAE,CAAA,CAAA;AAE7B,IAAM,MAAA,aAAA,GAAgB,GAAc,CAAA,EAAE,CAAA,CAAA;AAEtC,IAAM,MAAA,cAAA,GAAiB,GAAW,CAAA,EAAE,CAAA,CAAA;AAEpC,IAAM,MAAA,YAAA,GAAe,GAAc,CAAA,EAAE,CAAA,CAAA;AACrC,IAAA,MAAM,eAAe,eAAgB,EAAA,CAAA;AAErC,IAAM,MAAA,SAAA,GAAY,GAAI,CAAA,YAAA,CAAa,MAAM,CAAA,CAAA;AACzC,IAAA,MAAM,UAAU,GAAI,CAAA;AAAA,MAClB,gBAAgB,YAAa,CAAA,WAAA;AAAA,KAC9B,CAAA,CAAA;AAED,IAAA,MAAM,SAAS,GAAI,EAAA,CAAA;AAEnB,IAAA,MAAM,OAAO,QAAS,CAAA;AAAA,MACpB,MAAM,KAAM,CAAA,KAAA;AAAA,MACZ,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"attachment.vue2.mjs","sources":["../../../src/attachment/src/attachment.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkAttachment',\n});\n</script>\n<template>\n <div class=\"dk-attachment attachment\">\n <!-- 顶部-->\n <div class=\"attachment-header flex justify-between pt-5px pb-5px\">\n <div class=\"header-form z\">\n <el-input v-model=\"searchFileName\" placeholder=\"请输入附件名称\" class=\"input-with-select\">\n <template #append>\n <el-button :icon=\"Search\" />\n </template>\n </el-input>\n </div>\n <div class=\"header-button y\">\n <el-dropdown class=\"mr\" trigger=\"click\" @command=\"handleMoveAttachment\">\n <el-button type=\"info\" :disabled=\"chooseFileKey.length <= 0\"> 移动 </el-button>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item v-for=\"(item, key) in groupList\" :key=\"key\" :command=\"item.id\">\n {{ item.name }}\n </el-dropdown-item>\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n <el-button type=\"danger\" :disabled=\"chooseFileKey.length <= 0\" @click=\"onDelete\"\n >删除<i class=\"el-icon-delete el-icon--right\"></i\n ></el-button>\n <el-upload\n ref=\"upload\"\n class=\"dk-upload-button\"\n :action=\"uploadUrl\"\n multiple\n :data=\"data\"\n :show-file-list=\"false\"\n :headers=\"headers\"\n :on-success=\"handleUploadSuccess\"\n :accept=\"_accept\"\n list-type=\"text\"\n >\n <el-button type=\"primary\">上传<i class=\"el-icon-upload el-icon--right\"></i></el-button>\n </el-upload>\n </div>\n </div>\n <!--内部-->\n <div class=\"attachment-content flex\">\n <!-- 分组-->\n <div class=\"attachment-group\">\n <h5 class=\"cursor-pointer flex items-center content-center\" @click=\"addGroup()\">\n 附件分组\n <el-icon class=\"m-l-5px\"><CirclePlusFilled /></el-icon>\n </h5>\n <ul class=\"group_list\">\n <li\n v-for=\"(item, key) in groupList\"\n :key=\"key\"\n :class=\"{ active: groupId === item.id }\"\n @click=\"selectGroup(item.id)\"\n >\n <dk-icon v-if=\"item.id === groupId\" icon=\"flat-color-icons:opened-folder\" />\n <dk-icon v-else icon=\"flat-color-icons:folder\" />\n\n <span class=\"ml-10px\">{{ item.name }}</span>\n\n <el-popover placement=\"right\" trigger=\"click\">\n <template #reference>\n <div class=\"op\">\n <el-icon v-if=\"item.id > 0\">\n <Tools />\n </el-icon>\n </div>\n </template>\n <template #default>\n <el-button size=\"small\" type=\"primary\" @click.stop=\"editGroup()\">编辑 </el-button>\n <el-button size=\"small\" type=\"danger\" @click=\"delGroup(item.id)\">删除</el-button>\n </template>\n </el-popover>\n </li>\n </ul>\n </div>\n <!-- 列表-->\n <div class=\"attachment-container\">\n <div v-if=\"loading || list.length > 0\" v-loading=\"loading\" class=\"p2\">\n <ul class=\"attachment-list cl\" :style=\"{ overflow: list.length > 10 ? 'auto' : '' }\">\n <li\n v-for=\"(item, key) in list\"\n :key=\"key\"\n :class=\"{ choose: chooseFileKey.indexOf(key) > -1 }\"\n @click=\"chooseAttachment(item, key)\"\n @contextmenu.prevent=\"contextMenuId = item.id\"\n >\n <div class=\"file\">\n <el-image v-if=\"item.type === 1\" class=\"file\" :src=\"item.url\" fit=\"contain\">\n <template #placeholder>\n <div class=\"u-m-t-30\">\n <i class=\"el-icon-loading\"></i>\n <span>加载中</span>\n </div>\n </template>\n </el-image>\n <div v-if=\"item.type === 2\">\n <dk-file-icon :file-name=\"item.filename\" :type=\"item.type\" />\n </div>\n <div v-if=\"item.type === 3\">\n <dk-file-icon :file-name=\"item.filename\" :type=\"item.type\" />\n </div>\n <div v-if=\"item.type === 0\">\n <dk-file-icon :file-name=\"item.filename\" />\n </div>\n </div>\n <div class=\"file-name over\">{{ item.name }}</div>\n <div class=\"right\">\n <el-icon>\n <Check />\n </el-icon>\n </div>\n </li>\n </ul>\n <div class=\"block p-10px\">\n <el-pagination\n :current-page=\"page\"\n layout=\"total, prev, pager, next, jumper,sizes\"\n :total=\"count\"\n :page-size=\"size\"\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n />\n </div>\n </div>\n <div v-else style=\"display: flex; align-items: center; justify-content: center; height: 340px\">\n <el-empty description=\"暂无数据\" />\n </div>\n <dk-form ref=\"groupForm\" :key=\"groupId\" :form-url=\"groupFormUrl\" :is-dialog=\"true\" @submit=\"onsubmit()\" />\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ref, reactive, onMounted, computed } from 'vue'\nimport {\n deleteAttachment,\n getAttachmentGroupList,\n getAttachmentList,\n moveAttachment,\n delAttachmentGroup,\n} from '../../api'\n\nimport { ElMessage, ElMessageBox } from 'element-plus'\nimport DkFileIcon from './file-icon.vue'\n\nimport { Search } from '@element-plus/icons-vue'\n\nimport { getAttachmentType, getGlobalConfig } from '@vipl520/utils'\nimport { attachmentProps } from './props'\n\n\n\nconst props = defineProps(attachmentProps)\n\nconst _type = computed(() => {\n return getAttachmentType(props.type)\n})\n\n/** ****************顶部data****************/\n// 搜索的文件名\nconst searchFileName = ref('')\n// 选择文件Key\nconst chooseFileKey = ref<number[]>([])\n// 选中文件列表\nconst chooseFileList = ref<any[]>([])\n// 选中文件ID\nconst chooseFileId = ref<number[]>([])\nconst globalConfig = getGlobalConfig()\n// 上传的地址\nconst uploadUrl = globalConfig.ApiUrl + '/adminapi/attachment/upload'\nconst headers = {\n 'Access-Token': globalConfig.AccessToken,\n}\n// 上传的ref\nconst upload = ref()\n// 上传的数据\nconst data = reactive({\n type: _type.value,\n file: 'file',\n group_id: 0,\n})\n\n/** *****顶部的函数****************/\n\nconst handleMoveAttachment = (groupId: number) => {\n moveAttachment(chooseFileId.value, groupId).then((res) => {\n ElMessage.success(res.msg)\n onGetAttachmentList()\n })\n}\n\nconst handleUploadSuccess = (res: any) => {\n console.log('res', res)\n if (res.code === 0) {\n ElMessage.success(res.msg)\n // upload.value.clearFiles()\n onGetAttachmentList()\n } else {\n ElMessage.error(res.msg)\n }\n}\n\nconst _accept = computed(() => {\n let _accept = ''\n if (props.accept) {\n return props.accept\n } else {\n switch (_type.value) {\n case 0:\n break\n case 1:\n _accept = 'image/*'\n break\n case 2:\n _accept = 'audio/*'\n break\n case 3:\n _accept = 'video/*'\n break\n }\n return _accept\n }\n})\n\nconst onDelete = () => {\n // 改成element-plus\n ElMessageBox.confirm('此操作将永久删除文件, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n }).then(() => {\n try {\n deleteAttachment(chooseFileId.value)\n .then((res) => {\n console.log(res)\n onGetAttachmentList()\n })\n .catch((res) => {\n console.log('deleteAttachment error', res)\n })\n } catch (e) {\n console.log(e)\n }\n })\n}\n/** ****************分组data****************/\n// 分组列表\nconst groupList = ref<any>([])\n// 选中分组\n/** **********分组的函数****************/\n\nconst groupFormUrl = computed(() => {\n if (groupId.value === 0) {\n return {\n url: globalConfig.ApiUrl + '/adminapi/attachment/group/create',\n method: 'get',\n }\n } else {\n return {\n url: globalConfig.ApiUrl + '/adminapi/attachment/group/' + groupId.value + '/edit',\n method: 'get',\n }\n }\n})\n\nconst groupForm = ref()\n\nconst addGroup = () => {\n // TODO 添加文件分组\n groupId.value = 0\n groupForm.value.show()\n}\n\nconst delGroup = (id: number) => {\n // 改为Vue3\n ElMessageBox.confirm('此操作将永久删除该分组, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n }).then(() => {\n try {\n delAttachmentGroup(id)\n .then((res) => {\n ElMessage.success(res.msg)\n onsubmit()\n })\n .catch(() => {})\n } catch (e) {\n console.log(e)\n }\n })\n}\n\nconst editGroup = () => {\n groupForm.value.show()\n}\n\nconst onsubmit = () => {\n getGroupList()\n onGetAttachmentList()\n}\n\nconst selectGroup = (id: number) => {\n groupId.value = id\n page.value = 1\n onGetAttachmentList()\n}\n\nconst getGroupList = async () => {\n try {\n const res = await getAttachmentGroupList(_type.value)\n groupList.value = res.data\n } catch (e) {}\n}\n\n/** ****************附件列表*********************/\nconst loading = ref(true)\nconst list = ref<any>([])\nconst page = ref(1)\nconst count = ref(0)\nconst size = ref(10)\nconst contextMenuId = ref(0)\nconst groupId = ref(0)\n\n/** ***************列表函数*******************/\n\n// const editAttachment = () => {\n// // TODO 编辑附件\n// }\n\nconst handleSizeChange = (val: number) => {\n size.value = val\n onGetAttachmentList()\n}\n\n// 改变页码\nconst handleCurrentChange = (val: number) => {\n page.value = val\n onGetAttachmentList()\n}\nconst onGetAttachmentList = async (search = {}) => {\n clearChoose()\n try {\n const res = await getAttachmentList(page.value, size.value, _type.value, groupId.value, search)\n list.value = res.data\n count.value = res.msg\n loading.value = false\n } catch (e) {}\n}\n\nconst clearChoose = () => {\n chooseFileKey.value = []\n chooseFileId.value = []\n chooseFileList.value = []\n}\n\nconst chooseAttachment = (item: any, key: number) => {\n const index = chooseFileKey.value.indexOf(key)\n if (index > -1) {\n chooseFileKey.value.splice(index, 1)\n chooseFileId.value.splice(index, 1)\n chooseFileList.value.splice(index, 1)\n } else {\n chooseFileKey.value.push(key)\n chooseFileId.value.push(item.id)\n chooseFileList.value.push(item)\n }\n}\n\nonMounted(() => {\n getGroupList()\n onGetAttachmentList()\n})\n\ndefineExpose({\n chooseFileId,\n chooseFileKey,\n chooseFileList,\n clearChoose,\n})\n</script>\n"],"names":["__MACROS_defineComponent","groupId","_accept"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,C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CAAA;AACnC,QAAa,YAAA,CAAA,KAAA,CAAM,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAClC,QAAe,cAAA,CAAA,KAAA,CAAM,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,OAC/B,MAAA;AACL,QAAc,aAAA,CAAA,KAAA,CAAM,KAAK,GAAG,CAAA,CAAA;AAC5B,QAAa,YAAA,CAAA,KAAA,CAAM,IAAK,CAAA,IAAA,CAAK,EAAE,CAAA,CAAA;AAC/B,QAAe,cAAA,CAAA,KAAA,CAAM,KAAK,IAAI,CAAA,CAAA;AAAA,OAChC;AAAA,KACF,CAAA;AAEA,IAAA,SAAA,CAAU,MAAM;AACd,MAAa,YAAA,EAAA,CAAA;AACb,MAAoB,mBAAA,EAAA,CAAA;AAAA,KACrB,CAAA,CAAA;AAED,IAAa,QAAA,CAAA;AAAA,MACX,YAAA;AAAA,MACA,aAAA;AAAA,MACA,cAAA;AAAA,MACA,WAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './file-icon.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\attachment\\src\\file-icon.vue"]]);
4
+ var DkFileIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment\\src\\file-icon.vue"]]);
5
5
 
6
6
  export { DkFileIcon as default };
7
7
  //# sourceMappingURL=file-icon.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './attachment-dialog.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\attachment-dialog\\src\\attachment-dialog.vue"]]);
4
+ var _AttachmentDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\attachment-dialog\\src\\attachment-dialog.vue"]]);
5
5
 
6
6
  export { _AttachmentDialog as default };
7
7
  //# sourceMappingURL=attachment-dialog.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './audio-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\audio-input\\src\\audio-input.vue"]]);
4
+ var _AudioInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-input\\src\\audio-input.vue"]]);
5
5
 
6
6
  export { _AudioInput as default };
7
7
  //# sourceMappingURL=audio-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './audio-list-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\audio-list-input\\src\\audio-list-input.vue"]]);
4
+ var _AudioListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\audio-list-input\\src\\audio-list-input.vue"]]);
5
5
 
6
6
  export { _AudioListInput as default };
7
7
  //# sourceMappingURL=audio-list-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './box-size-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\box-size-input\\src\\box-size-input.vue"]]);
4
+ var _BoxSizeInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\box-size-input\\src\\box-size-input.vue"]]);
5
5
 
6
6
  export { _BoxSizeInput as default };
7
7
  //# sourceMappingURL=box-size-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './color-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\color-input\\src\\color-input.vue"]]);
4
+ var _ColorInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\color-input\\src\\color-input.vue"]]);
5
5
 
6
6
  export { _ColorInput as default };
7
7
  //# sourceMappingURL=color-input.vue.mjs.map
@@ -3,6 +3,7 @@ export declare const Dialog: import("@vipl520/utils").WithInstall<{
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: {
6
+ zIndex?: number | undefined;
6
7
  fullscreen?: boolean | undefined;
7
8
  title?: string | undefined;
8
9
  draggable?: boolean | undefined;
@@ -92,7 +93,12 @@ export declare const Dialog: import("@vipl520/utils").WithInstall<{
92
93
  type: BooleanConstructor;
93
94
  default: boolean;
94
95
  };
96
+ zIndex: {
97
+ type: NumberConstructor;
98
+ default: number;
99
+ };
95
100
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
101
+ zIndex: number;
96
102
  fullscreen: boolean;
97
103
  title: string;
98
104
  draggable: boolean;
@@ -144,6 +150,10 @@ export declare const Dialog: import("@vipl520/utils").WithInstall<{
144
150
  type: BooleanConstructor;
145
151
  default: boolean;
146
152
  };
153
+ zIndex: {
154
+ type: NumberConstructor;
155
+ default: number;
156
+ };
147
157
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
148
158
  __isFragment?: undefined;
149
159
  __isTeleport?: undefined;
@@ -173,7 +183,12 @@ export declare const Dialog: import("@vipl520/utils").WithInstall<{
173
183
  type: BooleanConstructor;
174
184
  default: boolean;
175
185
  };
186
+ zIndex: {
187
+ type: NumberConstructor;
188
+ default: number;
189
+ };
176
190
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
191
+ zIndex: number;
177
192
  fullscreen: boolean;
178
193
  title: string;
179
194
  draggable: boolean;
@@ -23,6 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  type: BooleanConstructor;
24
24
  default: boolean;
25
25
  };
26
+ zIndex: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
26
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
31
  modelValue: {
28
32
  type: BooleanConstructor;
@@ -48,7 +52,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
52
  type: BooleanConstructor;
49
53
  default: boolean;
50
54
  };
55
+ zIndex: {
56
+ type: NumberConstructor;
57
+ default: number;
58
+ };
51
59
  }>>, {
60
+ zIndex: number;
52
61
  fullscreen: boolean;
53
62
  title: string;
54
63
  draggable: boolean;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './dialog.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\dialog\\src\\dialog.vue"]]);
4
+ var _Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\dialog\\src\\dialog.vue"]]);
5
5
 
6
6
  export { _Dialog as default };
7
7
  //# sourceMappingURL=dialog.vue.mjs.map
@@ -68,7 +68,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
68
68
  draggable: _ctx.draggable,
69
69
  "close-on-click-modal": false,
70
70
  "show-close": false,
71
- class: "dk-dialog"
71
+ class: "dk-dialog",
72
+ "z-index": props.zIndex
72
73
  }), createSlots({
73
74
  header: withCtx(({ close }) => [
74
75
  renderSlot(_ctx.$slots, "header", {}, () => [
@@ -121,7 +122,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
121
122
  ]),
122
123
  key: "0"
123
124
  } : void 0
124
- ]), 1040, ["fullscreen", "draggable"]);
125
+ ]), 1040, ["fullscreen", "draggable", "z-index"]);
125
126
  };
126
127
  }
127
128
  });
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.vue2.mjs","sources":["../../../src/dialog/src/dialog.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkDialog',\n});\n</script>\n<template>\n <ElDialog\n v-bind=\"getBindValue\"\n :fullscreen=\"isFullscreen\"\n destroy-on-close\n append-to-body\n lock-scroll\n :draggable=\"draggable\"\n :close-on-click-modal=\"false\"\n :show-close=\"false\"\n class=\"dk-dialog\"\n >\n <template #header=\"{ close }\">\n <slot name=\"header\">\n <div class=\"flex justify-between items-center relative\">\n <span>{{ props.title }}</span>\n <div class=\"flex justify-between items-center absolute top-[50%] right-0 translate-y-[-50%]\">\n <dk-icon\n v-if=\"fullscreen\"\n class=\"cursor-pointer is-hover mr-10px\"\n :icon=\"isFullscreen ? 'radix-icons:exit-full-screen' : 'radix-icons:enter-full-screen'\"\n color=\"var(--el-color-info)\"\n hover-color=\"var(--el-color-primary)\"\n @click=\"toggleFull\"\n />\n <dk-icon\n class=\"cursor-pointer is-hover\"\n icon=\"ep:close\"\n hover-color=\"var(--el-color-primary)\"\n color=\"var(--el-color-info)\"\n @click=\"close\"\n />\n </div>\n </div>\n </slot>\n </template>\n\n <ElScrollbar :style=\"dialogStyle\">\n <slot></slot>\n </ElScrollbar>\n\n <template v-if=\"slots.footer\" #footer>\n <slot name=\"footer\"></slot>\n </template>\n </ElDialog>\n</template>\n\n<script lang=\"ts\" setup>\nimport { createNamespace, isNumber } from '@vipl520/utils'\nimport { dialogProps } from './props'\nimport { computed, useAttrs, ref, unref, useSlots, watch, nextTick } from 'vue'\n\nconst [_, bem] = createNamespace('dialog')\n\n\nconst slots = useSlots()\n\nconst props = defineProps(dialogProps)\n\nconst getBindValue = computed(() => {\n const delArr: string[] = ['fullscreen', 'title', 'maxHeight']\n const attrs = useAttrs()\n const obj: { [key: string]: any } = { ...attrs, ...props }\n for (const key in obj) {\n if (delArr.indexOf(key) !== -1) {\n delete obj[key] as any\n }\n }\n return obj\n})\nconst isFullscreen = ref(props.defaultFullscreen)\n\nwatch(\n () => props.defaultFullscreen,\n () => {\n isFullscreen.value = props.defaultFullscreen\n }\n)\n\nconst toggleFull = () => {\n isFullscreen.value = !unref(isFullscreen)\n}\n\nconst dialogHeight = ref(isNumber(props.maxHeight) ? `${props.maxHeight}px` : props.maxHeight)\n\nwatch(\n () => isFullscreen.value,\n async (val: boolean) => {\n await nextTick()\n if (val) {\n const windowHeight = document.documentElement.offsetHeight\n dialogHeight.value = `${windowHeight - 55 - 60 - (slots.footer ? 63 : 0)}px`\n } else {\n dialogHeight.value = isNumber(props.maxHeight) ? `${props.maxHeight}px` : props.maxHeight\n }\n },\n {\n immediate: true,\n }\n)\n\nconst dialogStyle = computed(() => {\n return {\n maxHeight: unref(dialogHeight),\n }\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,UAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAsDD,IAAA,MAAM,CAAC,CAAA,EAAG,GAAG,CAAA,GAAI,gBAAgB,QAAQ,CAAA,CAAA;AAGzC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAIvB,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,MAAmB,GAAA,CAAC,YAAc,EAAA,OAAA,EAAS,WAAW,CAAA,CAAA;AAC5D,MAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,MAAA,MAAM,GAA8B,GAAA,EAAE,GAAG,KAAA,EAAO,GAAG,KAAM,EAAA,CAAA;AACzD,MAAA,KAAA,MAAW,OAAO,GAAK,EAAA;AACrB,QAAA,IAAI,MAAO,CAAA,OAAA,CAAQ,GAAG,CAAA,KAAM,CAAI,CAAA,EAAA;AAC9B,UAAA,OAAO,IAAI,GAAG,CAAA,CAAA;AAAA,SAChB;AAAA,OACF;AACA,MAA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AAAA,QACL,SAAA,EAAW,MAAM,YAAY,CAAA;AAAA,OAC/B,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dialog.vue2.mjs","sources":["../../../src/dialog/src/dialog.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkDialog',\n});\n</script>\n<template>\n <ElDialog\n v-bind=\"getBindValue\"\n :fullscreen=\"isFullscreen\"\n destroy-on-close\n append-to-body\n lock-scroll\n :draggable=\"draggable\"\n :close-on-click-modal=\"false\"\n :show-close=\"false\"\n class=\"dk-dialog\"\n :z-index=\"props.zIndex\"\n >\n <template #header=\"{ close }\">\n <slot name=\"header\">\n <div class=\"flex justify-between items-center relative\">\n <span>{{ props.title }}</span>\n <div class=\"flex justify-between items-center absolute top-[50%] right-0 translate-y-[-50%]\">\n <dk-icon\n v-if=\"fullscreen\"\n class=\"cursor-pointer is-hover mr-10px\"\n :icon=\"isFullscreen ? 'radix-icons:exit-full-screen' : 'radix-icons:enter-full-screen'\"\n color=\"var(--el-color-info)\"\n hover-color=\"var(--el-color-primary)\"\n @click=\"toggleFull\"\n />\n <dk-icon\n class=\"cursor-pointer is-hover\"\n icon=\"ep:close\"\n hover-color=\"var(--el-color-primary)\"\n color=\"var(--el-color-info)\"\n @click=\"close\"\n />\n </div>\n </div>\n </slot>\n </template>\n\n <ElScrollbar :style=\"dialogStyle\">\n <slot></slot>\n </ElScrollbar>\n\n <template v-if=\"slots.footer\" #footer>\n <slot name=\"footer\"></slot>\n </template>\n </ElDialog>\n</template>\n\n<script lang=\"ts\" setup>\nimport { createNamespace, isNumber } from '@vipl520/utils'\nimport { dialogProps } from './props'\nimport { computed, useAttrs, ref, unref, useSlots, watch, nextTick } from 'vue'\n\nconst [_, bem] = createNamespace('dialog')\n\n\nconst slots = useSlots()\n\nconst props = defineProps(dialogProps)\n\nconst getBindValue = computed(() => {\n const delArr: string[] = ['fullscreen', 'title', 'maxHeight']\n const attrs = useAttrs()\n const obj: { [key: string]: any } = { ...attrs, ...props }\n for (const key in obj) {\n if (delArr.indexOf(key) !== -1) {\n delete obj[key] as any\n }\n }\n return obj\n})\nconst isFullscreen = ref(props.defaultFullscreen)\n\nwatch(\n () => props.defaultFullscreen,\n () => {\n isFullscreen.value = props.defaultFullscreen\n }\n)\n\nconst toggleFull = () => {\n isFullscreen.value = !unref(isFullscreen)\n}\n\nconst dialogHeight = ref(isNumber(props.maxHeight) ? `${props.maxHeight}px` : props.maxHeight)\n\nwatch(\n () => isFullscreen.value,\n async (val: boolean) => {\n await nextTick()\n if (val) {\n const windowHeight = document.documentElement.offsetHeight\n dialogHeight.value = `${windowHeight - 55 - 60 - (slots.footer ? 63 : 0)}px`\n } else {\n dialogHeight.value = isNumber(props.maxHeight) ? `${props.maxHeight}px` : props.maxHeight\n }\n },\n {\n immediate: true,\n }\n)\n\nconst dialogStyle = computed(() => {\n return {\n maxHeight: unref(dialogHeight),\n }\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,UAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAuDD,IAAA,MAAM,CAAC,CAAA,EAAG,GAAG,CAAA,GAAI,gBAAgB,QAAQ,CAAA,CAAA;AAGzC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAIvB,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,MAAmB,GAAA,CAAC,YAAc,EAAA,OAAA,EAAS,WAAW,CAAA,CAAA;AAC5D,MAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AACvB,MAAA,MAAM,GAA8B,GAAA,EAAE,GAAG,KAAA,EAAO,GAAG,KAAM,EAAA,CA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,CAAA,EAAA,CAAA,GAAO,KAAM,CAAA,SAAA,CAAA;AAAA,SAClF;AAAA,OACF;AAAA,MACA;AAAA,QACE,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,WAAA,GAAc,SAAS,MAAM;AACjC,MAAO,OAAA;AAAA,QACL,SAAA,EAAW,MAAM,YAAY,CAAA;AAAA,OAC/B,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -24,5 +24,9 @@ export declare const dialogProps: {
24
24
  type: BooleanConstructor;
25
25
  default: boolean;
26
26
  };
27
+ zIndex: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
27
31
  };
28
32
  export type DialogProps = ExtractPropTypes<typeof dialogProps>;
@@ -26,6 +26,10 @@ const dialogProps = {
26
26
  draggable: {
27
27
  type: Boolean,
28
28
  default: true
29
+ },
30
+ zIndex: {
31
+ type: Number,
32
+ default: 1299
29
33
  }
30
34
  };
31
35
 
@@ -1 +1 @@
1
- {"version":3,"file":"props.mjs","sources":["../../../src/dialog/src/props.ts"],"sourcesContent":["import { makeStringProp } from 'vant/es/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const dialogProps = {\n // v-model\n modelValue: {\n type: Boolean,\n default: false,\n },\n // 标题\n title: makeStringProp(''),\n // 是否开启全屏按钮\n fullscreen: {\n type: Boolean,\n default: false,\n },\n // 是否默认全屏\n defaultFullscreen: {\n type: Boolean,\n default: false,\n },\n // 最大高度\n maxHeight: {\n type: String,\n default: '',\n },\n draggable: {\n type: Boolean,\n default: true,\n },\n}\n\nexport type DialogProps = ExtractPropTypes<typeof dialogProps>\n"],"names":[],"mappings":";;AAGO,MAAM,WAAc,GAAA;AAAA;AAAA,EAEzB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,KAAA,EAAO,eAAe,EAAE,CAAA;AAAA;AAAA,EAExB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF;;;;"}
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/dialog/src/props.ts"],"sourcesContent":["import { makeStringProp } from 'vant/es/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const dialogProps = {\n // v-model\n modelValue: {\n type: Boolean,\n default: false,\n },\n // 标题\n title: makeStringProp(''),\n // 是否开启全屏按钮\n fullscreen: {\n type: Boolean,\n default: false,\n },\n // 是否默认全屏\n defaultFullscreen: {\n type: Boolean,\n default: false,\n },\n // 最大高度\n maxHeight: {\n type: String,\n default: '',\n },\n draggable: {\n type: Boolean,\n default: true,\n },\n zIndex: {\n type: Number,\n default: 1299,\n },\n}\n\nexport type DialogProps = ExtractPropTypes<typeof dialogProps>\n"],"names":[],"mappings":";;AAGO,MAAM,WAAc,GAAA;AAAA;AAAA,EAEzB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,KAAA,EAAO,eAAe,EAAE,CAAA;AAAA;AAAA,EAExB,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA,EAEA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF;;;;"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './file-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\file-input\\src\\file-input.vue"]]);
4
+ var _FileInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-input\\src\\file-input.vue"]]);
5
5
 
6
6
  export { _FileInput as default };
7
7
  //# sourceMappingURL=file-input.vue.mjs.map
@@ -1 +1 @@
1
- .dk-file-input{width:100%}.dk-file-input .image-error{height:70px;font-size:40px;line-height:70px;color:#999;text-align:center;background:var(--el-bg-color-page)}.dk-file-input .button{padding-top:10px;text-align:center;border-top:1px solid var(--el-bg-color-page)}.dk-file-input .show{position:relative}.dk-file-input .show .file{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-file-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-file-input .only-img{position:relative;width:100px;height:100px;padding:5px;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-input .only-img:hover .close{display:flex}.dk-file-input .only-img .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;color:#fff;cursor:pointer;background:rgba(0,0,0,.7019607843);border-radius:100px}.dk-file-input .only-img .no-image{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .media{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .play_btn{position:absolute;right:0;bottom:0;width:20px;height:20px;font-size:18px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:#409eff}
1
+ .dk-file-input{width:100%}.dk-file-input .image-error{height:70px;font-size:40px;line-height:70px;color:#999;text-align:center;background:var(--el-bg-color-page)}.dk-file-input .button{padding-top:10px;text-align:center;border-top:1px solid var(--el-bg-color-page)}.dk-file-input .show{position:relative;height:80px}.dk-file-input .show .file{width:80px;height:80px;padding:5px;border:1px solid var(--el-border-color)}.dk-file-input .show em{position:absolute;top:0;font-size:15px;font-weight:600;line-height:20px;color:var(--el-border-color);cursor:pointer}.dk-file-input .only-img{position:relative;width:100px;height:100px;padding:5px;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-input .only-img:hover .close{display:flex}.dk-file-input .only-img .close{position:absolute;top:0;right:0;display:none;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;color:#fff;cursor:pointer;background:rgba(0,0,0,.7019607843);border-radius:100px}.dk-file-input .only-img .no-image{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .media{width:100%;color:#999;text-align:center;cursor:pointer;background:var(--el-bg-color-page)}.dk-file-input .only-img .play_btn{position:absolute;right:0;bottom:0;width:20px;height:20px;font-size:18px;line-height:20px;color:#fff;text-align:center;cursor:pointer;background:#409eff}
@@ -19,6 +19,7 @@
19
19
 
20
20
  .show {
21
21
  position: relative;
22
+ height: 80px;
22
23
 
23
24
  .file {
24
25
  width: 80px;
@@ -99,4 +100,5 @@
99
100
  }
100
101
  }
101
102
  }
103
+
102
104
  /* stylelint-enable no-descending-specificity */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './file-list-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\file-list-input\\src\\file-list-input.vue"]]);
4
+ var _FileListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\file-list-input\\src\\file-list-input.vue"]]);
5
5
 
6
6
  export { _FileListInput as default };
7
7
  //# sourceMappingURL=file-list-input.vue.mjs.map
@@ -1 +1 @@
1
- .dk-file-list-input .button{text-align:center;border-top:1px solid #f5f5f5;padding-top:10px}.dk-file-list-input .dk-image-list ul:after{content:"";display:block;clear:both}.dk-file-list-input .dk-image-list ul li{float:left;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-list-input .dk-image-list ul li .file{position:relative;width:100px;height:100px;text-align:center}.dk-file-list-input .dk-image-list ul li .file div{position:relative}.dk-file-list-input .dk-image-list ul li .file div .other-file{font-size:80px;color:#aaa;line-height:100px}.dk-file-list-input .dk-image-list ul li .file div .el-icon-video-play{display:none;position:absolute;bottom:2px;right:2px;font-size:20px;cursor:pointer}.dk-file-list-input .dk-image-list ul li .file div:hover .el-icon-video-play{color:#409eff;display:block}.dk-file-list-input .dk-image-list ul li .file .close{display:none;cursor:pointer;position:absolute;top:0;line-height:20px;right:0;width:20px;height:20px;text-align:center;background:rgba(0,0,0,.4);border-radius:100%;color:#fff;align-items:center;justify-content:center}.dk-file-list-input .dk-image-list ul li .file:hover .close{display:flex}.dk-file-list-input .dk-image-list ul li .chooseImage{width:100px;height:100px;line-height:100px;text-align:center;font-size:40px;color:#999;cursor:pointer}.dk-file-list-input .dk-image-list ul li .chooseImage:hover{color:#409eff}
1
+ .dk-file-list-input{width:100%}.dk-file-list-input .button{text-align:center;border-top:1px solid #f5f5f5;padding-top:10px}.dk-file-list-input .dk-image-list ul:after{content:"";display:block;clear:both}.dk-file-list-input .dk-image-list ul li{float:left;margin-right:10px;margin-bottom:10px;border:1px solid var(--el-border-color);border-radius:4px}.dk-file-list-input .dk-image-list ul li .file{position:relative;width:100px;height:100px;text-align:center}.dk-file-list-input .dk-image-list ul li .file div{position:relative}.dk-file-list-input .dk-image-list ul li .file div .other-file{font-size:80px;color:#aaa;line-height:100px}.dk-file-list-input .dk-image-list ul li .file div .el-icon-video-play{display:none;position:absolute;bottom:2px;right:2px;font-size:20px;cursor:pointer}.dk-file-list-input .dk-image-list ul li .file div:hover .el-icon-video-play{color:#409eff;display:block}.dk-file-list-input .dk-image-list ul li .file .close{display:none;cursor:pointer;position:absolute;top:0;line-height:20px;right:0;width:20px;height:20px;text-align:center;background:rgba(0,0,0,.4);border-radius:100%;color:#fff;align-items:center;justify-content:center}.dk-file-list-input .dk-image-list ul li .file:hover .close{display:flex}.dk-file-list-input .dk-image-list ul li .chooseImage{width:100px;height:100px;line-height:100px;text-align:center;font-size:40px;color:#999;cursor:pointer}.dk-file-list-input .dk-image-list ul li .chooseImage:hover{color:#409eff}
@@ -1,4 +1,5 @@
1
1
  .dk-file-list-input {
2
+ width: 100%;
2
3
  .button {
3
4
  text-align: center;
4
5
  border-top: 1px solid #f5f5f5;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './form.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\form\\src\\form.vue"]]);
4
+ var _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\form\\src\\form.vue"]]);
5
5
 
6
6
  export { _Form as default };
7
7
  //# sourceMappingURL=form.vue.mjs.map
@@ -1 +1 @@
1
- .dk-form .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px;margin-bottom:0}
1
+ .dk-form .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888}.dk-form .el-form-item__content{display:block}
@@ -1,9 +1,13 @@
1
1
  .dk-form {
2
2
  .form-help {
3
- line-height: 1.5;
4
3
  margin-top: 4px;
5
- color: #888;
4
+ margin-bottom: 0;
6
5
  font-size: 12px;
7
- margin-bottom:0;
6
+ line-height: 1.5;
7
+ color: #888;
8
+ }
9
+
10
+ .el-form-item__content {
11
+ display: block;
8
12
  }
9
13
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './group.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Group = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
4
+ var _Group = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\group\\src\\group.vue"]]);
5
5
 
6
6
  export { _Group as default };
7
7
  //# sourceMappingURL=group.vue.mjs.map
@@ -0,0 +1,15 @@
1
+ export declare const HotAreaInput: import("@vipl520/utils").WithInstall<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 HotAreaInput;
15
+ export * from './src/props';
@@ -0,0 +1,8 @@
1
+ import { withInstall } from '@vipl520/utils';
2
+ import _HotAreaInput from './src/hot-area-input.vue.mjs';
3
+ export { hotAreaInputProps } from './src/props.mjs';
4
+
5
+ const HotAreaInput = withInstall(_HotAreaInput);
6
+
7
+ export { HotAreaInput, HotAreaInput as default };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../src/hot-area-input/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _HotAreaInput from './src/hot-area-input.vue'\n\nexport const HotAreaInput = withInstall(_HotAreaInput)\nexport default HotAreaInput\n\nexport * from './src/props'\n"],"names":[],"mappings":";;;;AAGa,MAAA,YAAA,GAAe,YAAY,aAAa;;;;"}
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ hotDataValue: {
3
+ default: () => {
4
+ views: never[];
5
+ width: number;
6
+ height: number;
7
+ background: null;
8
+ };
9
+ type: ObjectConstructor;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ hotDataValue: {
13
+ default: () => {
14
+ views: never[];
15
+ width: number;
16
+ height: number;
17
+ background: null;
18
+ };
19
+ type: ObjectConstructor;
20
+ };
21
+ }>>, {
22
+ hotDataValue: Record<string, any>;
23
+ }, {}>;
24
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './hot-area-content.vue2.mjs';
2
+ import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ var HotAreaContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\component\\hot-area-content.vue"]]);
5
+
6
+ export { HotAreaContent as default };
7
+ //# sourceMappingURL=hot-area-content.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-area-content.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}