@vipl520/dk-ui 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (641) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +4025 -3202
  4. package/dist/index.min.js +7 -7
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +7 -7
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +4022 -3201
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue.mjs +1 -1
  12. package/es/attachment/src/file-icon.vue.mjs +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  14. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  15. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  16. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  17. package/es/color-input/src/color-input.vue.mjs +1 -1
  18. package/es/dialog/src/dialog.vue.mjs +1 -1
  19. package/es/file-input/src/file-input.vue.mjs +1 -1
  20. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  21. package/es/file-list-input/style/index.scss +1 -1
  22. package/es/form/src/form.vue.mjs +1 -1
  23. package/es/form/style/index.css +1 -1
  24. package/es/form/style/index.scss +3 -3
  25. package/es/group/src/group.vue.mjs +1 -1
  26. package/es/hot-area-input/index.d.ts +15 -0
  27. package/es/hot-area-input/index.mjs +8 -0
  28. package/es/hot-area-input/index.mjs.map +1 -0
  29. package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  30. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
  31. package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
  32. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
  33. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
  34. package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  35. package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
  36. package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
  37. package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
  38. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
  39. package/es/hot-area-input/src/props.d.ts +8 -0
  40. package/es/hot-area-input/src/props.mjs +11 -0
  41. package/es/hot-area-input/src/props.mjs.map +1 -0
  42. package/es/hot-area-input/style/index.css +1 -0
  43. package/es/hot-area-input/style/index.scss +39 -0
  44. package/es/icon/src/icon.vue.mjs +1 -1
  45. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  46. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  47. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  48. package/es/image-input/src/image-input.vue.mjs +1 -1
  49. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  50. package/es/index.d.ts +1 -0
  51. package/es/index.mjs +5 -1
  52. package/es/index.mjs.map +1 -1
  53. package/es/index.scss +1 -62
  54. package/es/page-diy/index.d.ts +77 -23
  55. package/es/page-diy/index.mjs +0 -4
  56. package/es/page-diy/index.mjs.map +1 -1
  57. package/es/page-diy/src/components/DragBox.vue.mjs +2 -1
  58. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  59. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  60. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  61. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  62. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +27 -5
  63. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  64. package/es/page-diy/src/config/base/dkPage.mjs +0 -49
  65. package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
  66. package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
  67. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  68. package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  69. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
  70. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
  71. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  72. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
  73. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
  74. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  75. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
  76. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
  77. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  78. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
  79. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
  80. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  81. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
  82. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
  83. package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  84. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
  85. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
  86. package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  87. package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
  88. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
  89. package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
  90. package/es/page-diy/src/config/rule/min/index.mjs +17 -0
  91. package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
  92. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
  93. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
  94. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
  95. package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
  96. package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
  97. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
  98. package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
  99. package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
  100. package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
  101. package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
  102. package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
  103. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
  104. package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
  105. package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
  106. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
  107. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
  108. package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
  109. package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  110. package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
  111. package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
  112. package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
  113. package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
  114. package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
  115. package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
  116. package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
  117. package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
  118. package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
  119. package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
  120. package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
  121. package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
  122. package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
  123. package/es/page-diy/src/page-diy.vue.d.ts +77 -23
  124. package/es/page-diy/src/page-diy.vue.mjs +55 -189
  125. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  126. package/es/page-diy/src/props.d.ts +29 -4
  127. package/es/page-diy/src/props.mjs +36 -6
  128. package/es/page-diy/src/props.mjs.map +1 -1
  129. package/es/page-diy/src/utils/help.mjs.map +1 -1
  130. package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  131. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
  132. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
  133. package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  134. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +127 -0
  135. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
  136. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  137. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
  138. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
  139. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
  140. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
  141. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  142. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
  143. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
  144. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
  145. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
  146. package/es/page-diy/src/views/min/index.mjs +18 -0
  147. package/es/page-diy/src/views/min/index.mjs.map +1 -0
  148. package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
  149. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
  150. package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
  151. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
  152. package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
  153. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
  154. package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
  155. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
  156. package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
  157. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
  158. package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
  159. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
  160. package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
  161. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
  162. package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
  163. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
  164. package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
  165. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
  166. package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
  167. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
  168. package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
  169. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
  170. package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
  171. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
  172. package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
  173. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
  174. package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
  175. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
  176. package/es/page-diy/src/views/web/index.mjs.map +1 -0
  177. package/es/page-diy/style/drag-tool.css +1 -1
  178. package/es/page-diy/style/drag-tool.scss +4 -3
  179. package/es/page-diy/style/index.css +1 -1
  180. package/es/page-diy/style/index.scss +1 -0
  181. package/es/page-diy/style/minViews/index.scss +26 -0
  182. package/es/page-diy/style/preview-phone.css +1 -1
  183. package/es/page-diy/style/preview-phone.scss +36 -2
  184. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  185. package/es/poster-input/src/component/poster.vue2.mjs +13 -13
  186. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  187. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  188. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  189. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  190. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  191. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  192. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  193. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  194. package/es/select/src/select.vue.mjs +1 -1
  195. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  196. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  197. package/es/style-border-input/src/style-border-input.vue2.mjs +49 -45
  198. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  199. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  200. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  201. package/es/style-input/src/style-input.vue.mjs +1 -1
  202. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  203. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  204. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  205. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  206. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  207. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  208. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  209. package/es/table/src/components/header.vue.mjs +1 -1
  210. package/es/table/src/table.vue.mjs +1 -1
  211. package/es/test/src/test.vue.mjs +1 -1
  212. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  213. package/es/video-input/src/video-input.vue.mjs +1 -1
  214. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  215. package/lib/attachment/src/attachment.vue.js +1 -1
  216. package/lib/attachment/src/file-icon.vue.js +1 -1
  217. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  218. package/lib/audio-input/src/audio-input.vue.js +1 -1
  219. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  220. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  221. package/lib/color-input/src/color-input.vue.js +1 -1
  222. package/lib/dialog/src/dialog.vue.js +1 -1
  223. package/lib/file-input/src/file-input.vue.js +1 -1
  224. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  225. package/lib/file-list-input/style/index.scss +1 -1
  226. package/lib/form/src/form.vue.js +1 -1
  227. package/lib/form/style/index.css +1 -1
  228. package/lib/form/style/index.scss +3 -3
  229. package/lib/group/src/group.vue.js +1 -1
  230. package/lib/hot-area-input/index.d.ts +15 -0
  231. package/lib/hot-area-input/index.js +14 -0
  232. package/lib/hot-area-input/index.js.map +1 -0
  233. package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  234. package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
  235. package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
  236. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
  237. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
  238. package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  239. package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
  240. package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
  241. package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
  242. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
  243. package/lib/hot-area-input/src/props.d.ts +8 -0
  244. package/lib/hot-area-input/src/props.js +13 -0
  245. package/lib/hot-area-input/src/props.js.map +1 -0
  246. package/lib/hot-area-input/style/index.css +1 -0
  247. package/lib/hot-area-input/style/index.scss +39 -0
  248. package/lib/icon/src/icon.vue.js +1 -1
  249. package/lib/icon-input/src/icon-content.vue.js +1 -1
  250. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  251. package/lib/icon-input/src/icon-input.vue.js +1 -1
  252. package/lib/image-input/src/image-input.vue.js +1 -1
  253. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  254. package/lib/index.d.ts +1 -0
  255. package/lib/index.js +148 -142
  256. package/lib/index.js.map +1 -1
  257. package/lib/index.scss +1 -62
  258. package/lib/page-diy/index.d.ts +77 -23
  259. package/lib/page-diy/index.js +0 -4
  260. package/lib/page-diy/index.js.map +1 -1
  261. package/lib/page-diy/src/components/DragBox.vue.js +2 -1
  262. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  263. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  264. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  265. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  266. package/lib/page-diy/src/components/PreviewPhone.vue2.js +27 -5
  267. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  268. package/lib/page-diy/src/config/base/dkPage.js +0 -49
  269. package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
  270. package/lib/page-diy/src/config/base/dkSetting.js +0 -190
  271. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  272. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  273. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
  274. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
  275. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  276. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
  277. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
  278. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  279. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
  280. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
  281. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  282. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
  283. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
  284. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  285. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
  286. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
  287. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  288. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
  289. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
  290. package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  291. package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
  292. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
  293. package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
  294. package/lib/page-diy/src/config/rule/min/index.js +20 -0
  295. package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
  296. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
  297. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
  298. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
  299. package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
  300. package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
  301. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
  302. package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
  303. package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
  304. package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
  305. package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
  306. package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
  307. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
  308. package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
  309. package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
  310. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
  311. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
  312. package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
  313. package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  314. package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
  315. package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
  316. package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
  317. package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
  318. package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
  319. package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
  320. package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
  321. package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
  322. package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
  323. package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
  324. package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
  325. package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
  326. package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
  327. package/lib/page-diy/src/page-diy.vue.d.ts +77 -23
  328. package/lib/page-diy/src/page-diy.vue.js +63 -197
  329. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  330. package/lib/page-diy/src/props.d.ts +29 -4
  331. package/lib/page-diy/src/props.js +36 -6
  332. package/lib/page-diy/src/props.js.map +1 -1
  333. package/lib/page-diy/src/utils/help.js.map +1 -1
  334. package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  335. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
  336. package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
  337. package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  338. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +131 -0
  339. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
  340. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  341. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
  342. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
  343. package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
  344. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
  345. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
  346. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  347. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
  348. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
  349. package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
  350. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
  351. package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
  352. package/lib/page-diy/src/views/min/index.d.ts +2 -0
  353. package/lib/page-diy/src/views/min/index.js +22 -0
  354. package/lib/page-diy/src/views/min/index.js.map +1 -0
  355. package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
  356. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
  357. package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
  358. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
  359. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
  360. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
  361. package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
  362. package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
  363. package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
  364. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
  365. package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
  366. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
  367. package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
  368. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
  369. package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
  370. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
  371. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
  372. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
  373. package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
  374. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
  375. package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
  376. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
  377. package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
  378. package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
  379. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
  380. package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
  381. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
  382. package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
  383. package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
  384. package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
  385. package/lib/page-diy/src/views/web/index.d.ts +2 -0
  386. package/lib/page-diy/src/views/web/index.js.map +1 -0
  387. package/lib/page-diy/style/drag-tool.css +1 -1
  388. package/lib/page-diy/style/drag-tool.scss +4 -3
  389. package/lib/page-diy/style/index.css +1 -1
  390. package/lib/page-diy/style/index.scss +1 -0
  391. package/lib/page-diy/style/minViews/index.scss +26 -0
  392. package/lib/page-diy/style/preview-phone.css +1 -1
  393. package/lib/page-diy/style/preview-phone.scss +36 -2
  394. package/lib/poster-input/src/component/poster.vue.js +1 -1
  395. package/lib/poster-input/src/component/poster.vue2.js +13 -13
  396. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  397. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  398. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  399. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  400. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  401. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  402. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  403. package/lib/poster-input/src/poster-input.vue.js +1 -1
  404. package/lib/select/src/select.vue.js +1 -1
  405. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  406. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  407. package/lib/style-border-input/src/style-border-input.vue2.js +49 -45
  408. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  409. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  410. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  411. package/lib/style-input/src/style-input.vue.js +1 -1
  412. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  413. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  414. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  415. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  416. package/lib/table/src/components/ComSearch.vue.js +1 -1
  417. package/lib/table/src/components/FieldRender.vue.js +1 -1
  418. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  419. package/lib/table/src/components/header.vue.js +1 -1
  420. package/lib/table/src/table.vue.js +1 -1
  421. package/lib/test/src/test.vue.js +1 -1
  422. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  423. package/lib/video-input/src/video-input.vue.js +1 -1
  424. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  425. package/package.json +1 -1
  426. package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
  427. package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
  428. package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
  429. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
  430. package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
  431. package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
  432. package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
  433. package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
  434. package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
  435. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
  436. package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
  437. package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
  438. package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
  439. package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
  440. package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
  441. package/es/page-diy/src/config/rule/index.mjs.map +0 -1
  442. package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
  443. package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
  444. package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
  445. package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
  446. package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
  447. package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
  448. package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
  449. package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
  450. package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
  451. package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
  452. package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
  453. package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
  454. package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
  455. package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
  456. package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
  457. package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
  458. package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
  459. package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
  460. package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
  461. package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
  462. package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
  463. package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
  464. package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
  465. package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
  466. package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
  467. package/es/page-diy/src/views/index.mjs.map +0 -1
  468. package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
  469. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
  470. package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
  471. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
  472. package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
  473. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
  474. package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
  475. package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
  476. package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
  477. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
  478. package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
  479. package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
  480. package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
  481. package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
  482. package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
  483. package/lib/page-diy/src/config/rule/index.js.map +0 -1
  484. package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
  485. package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
  486. package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
  487. package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
  488. package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
  489. package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
  490. package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
  491. package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
  492. package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
  493. package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
  494. package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
  495. package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
  496. package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
  497. package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
  498. package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
  499. package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
  500. package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
  501. package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
  502. package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
  503. package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
  504. package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
  505. package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
  506. package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
  507. package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
  508. package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
  509. package/lib/page-diy/src/views/index.js.map +0 -1
  510. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  511. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  512. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
  513. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  514. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
  515. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  516. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
  517. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  518. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
  519. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  520. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
  521. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  522. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
  523. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  524. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
  525. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  526. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
  527. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  528. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
  529. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  530. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
  531. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  532. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
  533. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  534. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
  535. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  536. package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  537. package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
  538. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  539. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
  540. package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  541. package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
  542. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  543. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
  544. package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  545. package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
  546. package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  547. package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
  548. package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  549. package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
  550. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  551. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
  552. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  553. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
  554. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  555. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
  556. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  557. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
  558. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  559. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
  560. package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
  561. package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
  562. package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
  563. package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  564. package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  565. package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  566. package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  567. package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  568. package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  569. package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  570. package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  571. package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  572. package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  573. package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  574. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
  575. package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  576. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
  577. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
  578. package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
  579. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  580. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  581. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
  582. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  583. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
  584. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  585. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
  586. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  587. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
  588. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  589. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
  590. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  591. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
  592. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  593. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
  594. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  595. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
  596. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  597. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
  598. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  599. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
  600. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  601. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
  602. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  603. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
  604. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  605. package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  606. package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
  607. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  608. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
  609. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  610. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
  611. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  612. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
  613. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  614. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
  615. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  616. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
  617. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  618. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
  619. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  620. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
  621. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  622. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
  623. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  624. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
  625. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  626. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
  627. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  628. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
  629. package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  630. package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  631. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  632. package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  633. package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  634. package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  635. package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  636. package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  637. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  638. package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  639. package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  640. /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  641. /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
@@ -0,0 +1,65 @@
1
+ import { defineComponent, reactive, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createElementVNode } from 'vue';
2
+ import { hotAreaInputProps } from './props.mjs';
3
+ import HotAreaContent from './component/hot-area-content.vue.mjs';
4
+
5
+ const _hoisted_1 = { class: "dk-hot-area-input" };
6
+ const _hoisted_2 = { class: "text-center" };
7
+ const __default__ = defineComponent({
8
+ name: "DkHotAreaInput"
9
+ });
10
+ var _sfc_main = /* @__PURE__ */ defineComponent({
11
+ ...__default__,
12
+ props: hotAreaInputProps,
13
+ setup(__props) {
14
+ const props = __props;
15
+ const input = reactive(props.modelValue);
16
+ const dialog = ref(false);
17
+ return (_ctx, _cache) => {
18
+ const _component_el_button = resolveComponent("el-button");
19
+ const _component_dk_dialog = resolveComponent("dk-dialog");
20
+ return openBlock(), createElementBlock("div", _hoisted_1, [
21
+ createVNode(_component_el_button, {
22
+ type: "primary",
23
+ onClick: _cache[0] || (_cache[0] = ($event) => dialog.value = true)
24
+ }, {
25
+ default: withCtx(() => [
26
+ createTextVNode("\u8BBE\u7F6E\u70ED\u533A")
27
+ ]),
28
+ _: 1
29
+ /* STABLE */
30
+ }),
31
+ createVNode(_component_dk_dialog, {
32
+ modelValue: dialog.value,
33
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialog.value = $event),
34
+ width: "1000px",
35
+ title: "\u8BBE\u7F6E\u70ED\u533A"
36
+ }, {
37
+ footer: withCtx(() => [
38
+ createElementVNode("div", _hoisted_2, [
39
+ createVNode(_component_el_button, {
40
+ size: "default",
41
+ style: { "width": "200px" },
42
+ type: "primary",
43
+ onClick: _cache[1] || (_cache[1] = ($event) => dialog.value = false)
44
+ }, {
45
+ default: withCtx(() => [
46
+ createTextVNode("\u786E\u5B9A")
47
+ ]),
48
+ _: 1
49
+ /* STABLE */
50
+ })
51
+ ])
52
+ ]),
53
+ default: withCtx(() => [
54
+ createVNode(HotAreaContent, { "hot-data-value": input }, null, 8, ["hot-data-value"])
55
+ ]),
56
+ _: 1
57
+ /* STABLE */
58
+ }, 8, ["modelValue"])
59
+ ]);
60
+ };
61
+ }
62
+ });
63
+
64
+ export { _sfc_main as default };
65
+ //# sourceMappingURL=hot-area-input.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hot-area-input.vue2.mjs","sources":["../../../src/hot-area-input/src/hot-area-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkHotAreaInput',\n});\n</script>\n<template>\n <div class=\"dk-hot-area-input\">\n <el-button type=\"primary\" @click=\"dialog = true\">设置热区</el-button>\n <dk-dialog v-model=\"dialog\" width=\"1000px\" title=\"设置热区\">\n <hot-area-content :hot-data-value=\"input\"></hot-area-content>\n <template #footer>\n <div class=\"text-center\">\n <el-button size=\"default\" style=\"width: 200px\" type=\"primary\" @click=\"dialog = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { hotAreaInputProps } from './props'\nimport { ref, reactive } from 'vue'\nimport HotAreaContent from './component/hot-area-content.vue'\n\n\nconst props = defineProps(hotAreaInputProps)\nconst input = reactive(props.modelValue)\nconst dialog = ref(false)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,gBAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAuBD,IAAM,MAAA,KAAA,GAAQ,QAAS,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACvC,IAAM,MAAA,MAAA,GAAS,IAAI,KAAK,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const hotAreaInputProps: {
3
+ modelValue: {
4
+ type: ObjectConstructor;
5
+ default: () => {};
6
+ };
7
+ };
8
+ export type HotAreaInputProps = ExtractPropTypes<typeof hotAreaInputProps>;
@@ -0,0 +1,11 @@
1
+ const hotAreaInputProps = {
2
+ modelValue: {
3
+ type: Object,
4
+ default: () => {
5
+ return {};
6
+ }
7
+ }
8
+ };
9
+
10
+ export { hotAreaInputProps };
11
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/hot-area-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const hotAreaInputProps = {\n modelValue: {\n type: Object,\n default: () => {\n return {}\n },\n },\n}\n\nexport type HotAreaInputProps = ExtractPropTypes<typeof hotAreaInputProps>\n"],"names":[],"mappings":"AAEO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,GACF;AACF;;;;"}
@@ -0,0 +1 @@
1
+ .hot-area-content{display:flex;justify-content:space-between}.hot-area-content .hot-area-draggable{width:500px;border:1px solid var(--el-border-color)}.hot-area-content .hot-area-form{width:400px}.hot-area-content .hot-area-form .hot-area-input{display:flex;align-items:center}.hot-area-content .hot-area-form .hot-area-input span{width:100px}.hot-item-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;color:#fff;background:rgba(0,0,0,.2509803922)}
@@ -0,0 +1,39 @@
1
+ /* stylelint-disable */
2
+ .dk-hot-area-input {
3
+ }
4
+ .hot-area-content {
5
+ display: flex;
6
+ justify-content: space-between;
7
+
8
+ .hot-area-draggable {
9
+ width: 500px;
10
+ border: 1px solid var(--el-border-color);
11
+ //box-shadow: var(--el-box-shadow-light);
12
+ }
13
+
14
+ .hot-area-form {
15
+ width: 400px;
16
+
17
+ .hot-area-input {
18
+ display: flex;
19
+ align-items: center;
20
+
21
+ span {
22
+ width: 100px;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .hot-item-content {
29
+ position: relative;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ width: 100%;
34
+ height: 100%;
35
+ font-size: 20px;
36
+ color: #fff;
37
+ background: #00000040;
38
+ }
39
+ /* stylelint-enable */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
4
+ var _Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
5
5
 
6
6
  export { _Icon as default };
7
7
  //# sourceMappingURL=icon.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-content.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
4
+ var _IconContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
5
5
 
6
6
  export { _IconContent as default };
7
7
  //# sourceMappingURL=icon-content.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-dialog.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
4
+ var _IconDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
5
5
 
6
6
  export { _IconDialog as default };
7
7
  //# sourceMappingURL=icon-dialog.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './icon-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
4
+ var _IconInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
5
5
 
6
6
  export { _IconInput as default };
7
7
  //# sourceMappingURL=icon-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './image-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
4
+ var _ImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
5
5
 
6
6
  export { _ImageInput as default };
7
7
  //# sourceMappingURL=image-input.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './image-list-input.vue2.mjs';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
4
+ var _ImageListInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
5
5
 
6
6
  export { _ImageListInput as default };
7
7
  //# sourceMappingURL=image-list-input.vue.mjs.map
package/es/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './tiny-editor';
3
3
  export * from './icon';
4
4
  export * from './group';
5
5
  export * from './color-input';
6
+ export * from './hot-area-input';
6
7
  export * from './form';
7
8
  export * from './attachment';
8
9
  export * from './attachment-dialog';
package/es/index.mjs CHANGED
@@ -3,6 +3,7 @@ import { Group } from './group/index.mjs';
3
3
  import { TinyEditor } from './tiny-editor/index.mjs';
4
4
  import { Icon } from './icon/index.mjs';
5
5
  import { ColorInput } from './color-input/index.mjs';
6
+ import { HotAreaInput } from './hot-area-input/index.mjs';
6
7
  import { Dialog } from './dialog/index.mjs';
7
8
  import { Form } from './form/index.mjs';
8
9
  import { Attachment } from './attachment/index.mjs';
@@ -34,6 +35,7 @@ export { tinyEditorProps } from './tiny-editor/src/props.mjs';
34
35
  export { iconProps } from './icon/src/props.mjs';
35
36
  export { groupProps } from './group/src/props.mjs';
36
37
  export { colorInputProps } from './color-input/src/props.mjs';
38
+ export { hotAreaInputProps } from './hot-area-input/src/props.mjs';
37
39
  export { formProps } from './form/src/props.mjs';
38
40
  export { attachmentProps } from './attachment/src/props.mjs';
39
41
  export { attachmentDialogProps } from './attachment-dialog/src/props.mjs';
@@ -70,6 +72,8 @@ const components = [
70
72
  Icon,
71
73
  // 颜色选择器
72
74
  ColorInput,
75
+ // 热区选择器
76
+ HotAreaInput,
73
77
  // 对话框
74
78
  Dialog,
75
79
  // json表单
@@ -158,5 +162,5 @@ var index = {
158
162
  install
159
163
  };
160
164
 
161
- export { Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, VideoInput, VideoListInput, index as default, install };
165
+ export { Attachment, AttachmentDialog, AudioInput, AudioListInput, BoxSizeInput, ColorInput, FileInput, FileListInput, Form, Group, HotAreaInput, Icon, IconContent, IconDialog, IconInput, ImageInput, ImageListInput, PageDiy, Poster, PosterInput, Select, StyleBackgroundInput, StyleBorderInput, StyleBoxInput, StyleFontInput, StyleInput, StyleNumberInput, StylePositionInput, StyleShadowContent, StyleShadowInput, Table, Test, TinyEditor, VideoInput, VideoListInput, index as default, install };
162
166
  //# sourceMappingURL=index.mjs.map
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport { Group } from './group'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { setGlobalConfig, directives } from '@vipl520/utils'\n\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './color-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\n\nconst components = [\n Test,\n Group,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 海报编辑器 poster-input\n // TODO Layout布局组件 layout\n // TODO 应用信息组件 addon-info\n // TODO 用户信息组件 user-info\n // TODO 全局Hook组件 global-hook\n // TODO 前端DIY匹配\n // TODO 开发者工具(自动CRUD)\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import type { App } from 'vue'\nimport { Test } from './test'\nimport { Group } from './group'\nimport { TinyEditor } from './tiny-editor'\nimport { Icon } from './icon'\nimport { ColorInput } from './color-input'\nimport { HotAreaInput } from './hot-area-input'\nimport { Dialog } from './dialog'\nimport { Form } from './form'\nimport { Attachment } from './attachment'\nimport { AttachmentDialog } from './attachment-dialog'\nimport { FileInput } from './file-input'\nimport { ImageInput } from './image-input'\nimport { AudioInput } from './audio-input'\nimport { VideoInput } from './video-input'\nimport { FileListInput } from './file-list-input'\nimport { ImageListInput } from './image-list-input'\nimport { AudioListInput } from './audio-list-input'\nimport { VideoListInput } from './video-list-input'\nimport { IconInput, IconContent, IconDialog } from './icon-input'\nimport { StyleInput } from './style-input'\nimport { BoxSizeInput } from './box-size-input'\nimport { StyleBoxInput } from './style-box-input'\nimport { StyleFontInput } from './style-font-input'\nimport { StyleBorderInput } from './style-border-input'\nimport { StyleBackgroundInput } from './style-background-input'\nimport { StyleShadowContent, StyleShadowInput } from './style-shadow-input'\nimport { StylePositionInput } from './style-position-input'\nimport { StyleNumberInput } from './style-number-input'\nimport { PageDiy } from './page-diy'\nimport { Table } from './table'\nimport { Select } from './select'\nimport { Poster, PosterInput } from './poster-input'\nimport { setGlobalConfig, directives } from '@vipl520/utils'\n\nexport * from './tiny-editor'\nexport * from './icon'\nexport * from './group'\nexport * from './color-input'\nexport * from './hot-area-input'\nexport * from './form'\nexport * from './attachment'\nexport * from './attachment-dialog'\nexport * from './file-input'\nexport * from './image-input'\nexport * from './audio-input'\nexport * from './video-input'\nexport * from './file-list-input'\nexport * from './image-list-input'\nexport * from './audio-list-input'\nexport * from './video-list-input'\nexport * from './icon-input'\nexport * from './page-diy'\nexport * from './box-size-input'\nexport * from './test'\nexport * from './style-input'\nexport * from './style-box-input'\nexport * from './style-font-input'\nexport * from './style-border-input'\nexport * from './style-shadow-input'\nexport * from './style-background-input'\nexport * from './style-position-input'\nexport * from './style-number-input'\nexport * from './table'\nexport * from './select'\nexport * from './poster-input'\n\nconst components = [\n Test,\n Group,\n // 富文本编辑器\n TinyEditor,\n // 图标\n Icon,\n // 颜色选择器\n ColorInput,\n // 热区选择器\n HotAreaInput,\n // 对话框\n Dialog,\n // json表单\n Form,\n // 附件\n Attachment,\n // 附件弹窗\n AttachmentDialog,\n // 文件选择器\n FileInput,\n // 图片选择器\n ImageInput,\n // 音频选择器\n AudioInput,\n // 视频选择器\n VideoInput,\n // 多文件选择器\n FileListInput,\n // 多图片选择器\n ImageListInput,\n // 多音频选择器\n AudioListInput,\n // 多视频选择器\n VideoListInput,\n // 图标选择器\n IconInput,\n // 图标展示框\n IconContent,\n // 图片弹出框\n IconDialog,\n // DIY编辑器\n PageDiy,\n // 尺寸输入框(带px/%/rem/等单位)\n BoxSizeInput,\n // DIV盒子编辑器(padding/margin/width/height)\n StyleBoxInput,\n // 文字样式编辑器\n StyleFontInput,\n // 边框样式编辑器\n StyleBorderInput,\n // 阴影编辑器\n StyleShadowInput,\n // 阴影编辑框\n StyleShadowContent,\n // 背景编辑器\n StyleBackgroundInput,\n // 合并样式编辑\n StyleInput,\n // 定位编辑器\n StylePositionInput,\n // 样式文字\n StyleNumberInput,\n // 数据表格\n Table,\n // 选择\n Select,\n // 表单组/对象表单\n // 海报选择器\n PosterInput,\n // 海报\n Poster,\n // TODO 普通上传 upload\n // TODO tag选择器 tag-input\n // TODO 链接选择器 link-input\n // TODO 海报编辑器 poster-input\n // TODO Layout布局组件 layout\n // TODO 应用信息组件 addon-info\n // TODO 用户信息组件 user-info\n // TODO 全局Hook组件 global-hook\n // TODO 前端DIY匹配\n // TODO 开发者工具(自动CRUD)\n // TODO 应用框架\n]\n\nexport const install = (app: App, option: any = {}) => {\n components.forEach((item) => {\n if (item.install!) {\n app.use(item)\n } else if (item.name) {\n app.component(item.name, item)\n }\n })\n directives(app)\n setGlobalConfig(option)\n}\n\nexport default {\n install,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,MAAM,UAAa,GAAA;AAAA,EACjB,IAAA;AAAA,EACA,KAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA,EAEA,IAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,SAAA;AAAA;AAAA,EAEA,WAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,OAAA;AAAA;AAAA,EAEA,YAAA;AAAA;AAAA,EAEA,aAAA;AAAA;AAAA,EAEA,cAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,oBAAA;AAAA;AAAA,EAEA,UAAA;AAAA;AAAA,EAEA,kBAAA;AAAA;AAAA,EAEA,gBAAA;AAAA;AAAA,EAEA,KAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA,EAGA,WAAA;AAAA;AAAA,EAEA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYF,CAAA,CAAA;AAEO,MAAM,OAAU,GAAA,CAAC,GAAU,EAAA,MAAA,GAAc,EAAO,KAAA;AACrD,EAAW,UAAA,CAAA,OAAA,CAAQ,CAAC,IAAS,KAAA;AAC3B,IAAA,IAAI,KAAK,OAAU,EAAA;AACjB,MAAA,GAAA,CAAI,IAAI,IAAI,CAAA,CAAA;AAAA,KACd,MAAA,IAAW,KAAK,IAAM,EAAA;AACpB,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACD,CAAA,CAAA;AACD,EAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AACd,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACxB,EAAA;AAEA,YAAe;AAAA,EACb,OAAA;AACF,CAAA;;;;"}
package/es/index.scss CHANGED
@@ -21,6 +21,7 @@
21
21
  @import './form/style/index.scss';
22
22
  @import './table/style/index.scss';
23
23
  @import './poster-input/style/index.scss';
24
+ @import './hot-area-input/style/index.scss';
24
25
 
25
26
  //
26
27
  ::-webkit-scrollbar {
@@ -45,66 +46,4 @@
45
46
  *::after {
46
47
  box-sizing: border-box;
47
48
  }
48
-
49
- /* 由于unocss不支持 单独提取 */
50
- //.visible{visibility:visible;}
51
- //.absolute{position:absolute;}
52
- //.fixed{position:fixed;}
53
- //.relative{position:relative;}
54
- //.left-0{left:0;}
55
- //.left-5\%{left:5%;}
56
- //.left-99\%{left:99%;}
57
- //.right-0{right:0;}
58
- //.right-5\%{right:5%;}
59
- //.right-99\%{right:99%;}
60
- //.top-\[50\%\]{top:50%;}
61
- //.top-10px{top:10px;}
62
- //.grid{display:grid;}
63
- //.float-right{float:right;}
64
- //.m-1px{margin:1px;}
65
- //.m2{margin:0.5rem;}
66
- //.m-b-10px{margin-bottom:10px;}
67
- //.m-b-5px{margin-bottom:5px;}
68
- //.m-l-20px{margin-left:20px;}
69
- //.m-l-5px{margin-left:5px;}
70
- //.m-l-6px{margin-left:6px;}
71
- //.m-r-4px{margin-right:4px;}
72
- //.m-r-5px{margin-right:5px;}
73
- //.m-t-10px{margin-top:10px;}
74
- //.m-t-5px{margin-top:5px;}
75
- //.ml-10px{margin-left:10px;}
76
- //.mr{margin-right:1rem;}
77
- //.mr-1{margin-right:0.25rem;}
78
- //.mr-10px{margin-right:10px;}
79
- //.block{display:block;}
80
- //.hidden{display:none;}
81
- //.w-100\%{width:100%;}
82
- //.w-40px{width:40px;}
83
- //.w100{width:25rem;}
84
- //.flex{display:flex;}
85
- //.table{display:table;}
86
- //.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
87
- //.cursor-pointer{cursor:pointer;}
88
- //.resize{resize:both;}
89
- //.content-center{align-content:center;}
90
- //.items-center{align-items:center;}
91
- //.justify-center{justify-content:center;}
92
- //.justify-between{justify-content:space-between;}
93
- //.border{border-width:1px;}
94
- //.rd-4px{border-radius:4px;}
95
- //.p-10px{padding:10px;}
96
- //.p-5px{padding:5px;}
97
- //.p2{padding:0.5rem;}
98
- //.px{padding-left:1rem;padding-right:1rem;}
99
- //.pb-5px{padding-bottom:5px;}
100
- //.pl-20{padding-left:5rem;}
101
- //.pt-5px{padding-top:5px;}
102
- //.text-center{text-align:center;}
103
- //.vertical-text-top{vertical-align:text-top;}
104
- //.italic{font-style:italic;}
105
- //.color-blue{--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity));}
106
- //.line-through{text-decoration-line:line-through;}
107
- //.underline{text-decoration-line:underline;}
108
- //.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
109
-
110
49
  /* stylelint-enable */
@@ -1,11 +1,37 @@
1
- export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<Readonly<{
2
- config?: any;
3
- loading?: any;
4
- menu?: any;
5
- mask?: any;
6
- height?: any;
7
- locale?: any;
8
- }>, {
1
+ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ menu: {
7
+ type: ObjectConstructor;
8
+ default: null;
9
+ };
10
+ height: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ config: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ mask: {
19
+ type: StringConstructor;
20
+ default: undefined;
21
+ };
22
+ loading: {
23
+ type: BooleanConstructor;
24
+ default: undefined;
25
+ };
26
+ rightAsideWidth: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ leftAsideWidth: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ }, {
9
35
  countObj: import("vue").ComputedRef<{}>;
10
36
  diyTree: import("vue").ComputedRef<any[]>;
11
37
  clear(type?: string): void;
@@ -96,7 +122,7 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
96
122
  activeTab: import("vue").Ref<string>;
97
123
  activeRule: import("vue").Ref<null>;
98
124
  children: import("vue").Ref<never[]>;
99
- menuList: import("vue").Ref<any>;
125
+ menuList: import("vue").Ref<Record<string, any>>;
100
126
  showBaseRule: import("vue").Ref<boolean>;
101
127
  showDkSettingRule: import("vue").Ref<boolean>;
102
128
  visible: import("vue").Ref<{
@@ -227,20 +253,48 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
227
253
  hide: boolean;
228
254
  treeData: never[];
229
255
  }>;
230
- }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
231
- config?: any;
232
- loading?: any;
233
- menu?: any;
234
- mask?: any;
235
- height?: any;
236
- locale?: any;
237
- }>>>, {
238
- readonly config?: any;
239
- readonly loading?: any;
240
- readonly menu?: any;
241
- readonly mask?: any;
242
- readonly height?: any;
243
- readonly locale?: any;
256
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
257
+ type: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ menu: {
262
+ type: ObjectConstructor;
263
+ default: null;
264
+ };
265
+ height: {
266
+ type: StringConstructor;
267
+ default: string;
268
+ };
269
+ config: {
270
+ type: ObjectConstructor;
271
+ default: () => {};
272
+ };
273
+ mask: {
274
+ type: StringConstructor;
275
+ default: undefined;
276
+ };
277
+ loading: {
278
+ type: BooleanConstructor;
279
+ default: undefined;
280
+ };
281
+ rightAsideWidth: {
282
+ type: StringConstructor;
283
+ default: string;
284
+ };
285
+ leftAsideWidth: {
286
+ type: StringConstructor;
287
+ default: string;
288
+ };
289
+ }>>, {
290
+ type: string;
291
+ config: Record<string, any>;
292
+ loading: boolean;
293
+ menu: Record<string, any>;
294
+ mask: string;
295
+ height: string;
296
+ rightAsideWidth: string;
297
+ leftAsideWidth: string;
244
298
  }, {}>>;
245
299
  export default PageDiy;
246
300
  export * from './src/props';
@@ -5,7 +5,6 @@ import DragBox from './src/components/DragBox.vue.mjs';
5
5
  import { designerForm, viewForm } from './src/utils/form.mjs';
6
6
  import draggable from 'vuedraggable/src/vuedraggable';
7
7
  import './src/utils/index.mjs';
8
- import views from './src/views/index.mjs';
9
8
  export { pageDiyProps } from './src/props.mjs';
10
9
  import { uniqueId } from './src/utils/unique.mjs';
11
10
 
@@ -16,9 +15,6 @@ const addComponent = (id, component) => {
16
15
  designerForm.component("Draggable", draggable);
17
16
  designerForm.component("DragTool", DragTool);
18
17
  designerForm.component("DragBox", DragBox);
19
- for (const name in views) {
20
- designerForm.component(name, views[name]);
21
- }
22
18
  designerForm.register("_fc", {
23
19
  init(fc, rule) {
24
20
  rule._id = uniqueId();
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/page-diy/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _PageDiy from './src/page-diy.vue'\nimport DragTool from './src/components/DragTool.vue'\nimport DragBox from './src/components/DragBox.vue'\nimport formCreate, { designerForm } from './src/utils/form'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport { uniqueId } from './src/utils'\nimport views from './src/views'\n\nconst addComponent = (id: any, component: any) => {\n designerForm.component(id, component)\n formCreate.component(id, component)\n}\n\ndesignerForm.component('Draggable', draggable)\ndesignerForm.component('DragTool', DragTool)\ndesignerForm.component('DragBox', DragBox)\n\nfor (const name in views) {\n designerForm.component(name, views[name])\n}\n\ndesignerForm.register('_fc', {\n init(fc: any, rule: any) {\n rule._id = uniqueId()\n if (fc.value) {\n rule.effect._fc = false\n }\n },\n})\n\ndesignerForm.register('_fc_tool', {\n init(_, rule: any) {\n rule.props.unique = uniqueId()\n },\n})\n\n_PageDiy.formCreate = formCreate\n_PageDiy.designerForm = designerForm\n_PageDiy.component = addComponent\nexport const PageDiy = withInstall(_PageDiy)\nexport default PageDiy\n\nexport * from './src/props'\n"],"names":["formCreate"],"mappings":";;;;;;;;;;;AASA,MAAM,YAAA,GAAe,CAAC,EAAA,EAAS,SAAmB,KAAA;AAChD,EAAa,YAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,EAAWA,QAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,CAAA,CAAA;AAEA,YAAa,CAAA,SAAA,CAAU,aAAa,SAAS,CAAA,CAAA;AAC7C,YAAa,CAAA,SAAA,CAAU,YAAY,QAAQ,CAAA,CAAA;AAC3C,YAAa,CAAA,SAAA,CAAU,WAAW,OAAO,CAAA,CAAA;AAEzC,KAAA,MAAW,QAAQ,KAAO,EAAA;AACxB,EAAA,YAAA,CAAa,SAAU,CAAA,IAAA,EAAM,KAAM,CAAA,IAAI,CAAC,CAAA,CAAA;AAC1C,CAAA;AAEA,YAAA,CAAa,SAAS,KAAO,EAAA;AAAA,EAC3B,IAAA,CAAK,IAAS,IAAW,EAAA;AACvB,IAAA,IAAA,CAAK,MAAM,QAAS,EAAA,CAAA;AACpB,IAAA,IAAI,GAAG,KAAO,EAAA;AACZ,MAAA,IAAA,CAAK,OAAO,GAAM,GAAA,KAAA,CAAA;AAAA,KACpB;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,YAAA,CAAa,SAAS,UAAY,EAAA;AAAA,EAChC,IAAA,CAAK,GAAG,IAAW,EAAA;AACjB,IAAK,IAAA,CAAA,KAAA,CAAM,SAAS,QAAS,EAAA,CAAA;AAAA,GAC/B;AACF,CAAC,CAAA,CAAA;AAED,QAAA,CAAS,UAAa,GAAAA,QAAA,CAAA;AACtB,QAAA,CAAS,YAAe,GAAA,YAAA,CAAA;AACxB,QAAA,CAAS,SAAY,GAAA,YAAA,CAAA;AACR,MAAA,OAAA,GAAU,YAAY,QAAQ;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/page-diy/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _PageDiy from './src/page-diy.vue'\nimport DragTool from './src/components/DragTool.vue'\nimport DragBox from './src/components/DragBox.vue'\nimport formCreate, { designerForm } from './src/utils/form'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport { uniqueId } from './src/utils'\n// import views from './src/views/web'\n\nconst addComponent = (id: any, component: any) => {\n designerForm.component(id, component)\n formCreate.component(id, component)\n}\n\ndesignerForm.component('Draggable', draggable)\ndesignerForm.component('DragTool', DragTool)\ndesignerForm.component('DragBox', DragBox)\n\n// for (const name in views) {\n// designerForm.component(name, views[name])\n// }\n\ndesignerForm.register('_fc', {\n init(fc: any, rule: any) {\n rule._id = uniqueId()\n if (fc.value) {\n rule.effect._fc = false\n }\n },\n})\n\ndesignerForm.register('_fc_tool', {\n init(_, rule: any) {\n rule.props.unique = uniqueId()\n },\n})\n\n_PageDiy.formCreate = formCreate\n_PageDiy.designerForm = designerForm\n_PageDiy.component = addComponent\nexport const PageDiy = withInstall(_PageDiy)\nexport default PageDiy\n\nexport * from './src/props'\n"],"names":["formCreate"],"mappings":";;;;;;;;;;AASA,MAAM,YAAA,GAAe,CAAC,EAAA,EAAS,SAAmB,KAAA;AAChD,EAAa,YAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,EAAWA,QAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,CAAA,CAAA;AAEA,YAAa,CAAA,SAAA,CAAU,aAAa,SAAS,CAAA,CAAA;AAC7C,YAAa,CAAA,SAAA,CAAU,YAAY,QAAQ,CAAA,CAAA;AAC3C,YAAa,CAAA,SAAA,CAAU,WAAW,OAAO,CAAA,CAAA;AAMzC,YAAA,CAAa,SAAS,KAAO,EAAA;AAAA,EAC3B,IAAA,CAAK,IAAS,IAAW,EAAA;AACvB,IAAA,IAAA,CAAK,MAAM,QAAS,EAAA,CAAA;AACpB,IAAA,IAAI,GAAG,KAAO,EAAA;AACZ,MAAA,IAAA,CAAK,OAAO,GAAM,GAAA,KAAA,CAAA;AAAA,KACpB;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAED,YAAA,CAAa,SAAS,UAAY,EAAA;AAAA,EAChC,IAAA,CAAK,GAAG,IAAW,EAAA;AACjB,IAAK,IAAA,CAAA,KAAA,CAAM,SAAS,QAAS,EAAA,CAAA;AAAA,GAC/B;AACF,CAAC,CAAA,CAAA;AAED,QAAA,CAAS,UAAa,GAAAA,QAAA,CAAA;AACtB,QAAA,CAAS,YAAe,GAAA,YAAA,CAAA;AACxB,QAAA,CAAS,SAAY,GAAA,YAAA,CAAA;AACR,MAAA,OAAA,GAAU,YAAY,QAAQ;;;;"}
@@ -16,6 +16,7 @@ const _sfc_main = defineComponent({
16
16
 
17
17
  const keys = {};
18
18
  if (ctx.$slots.default) {
19
+ // 这里报错 Unhandled error during execution of render function
19
20
  const children = ctx.$slots.default();
20
21
  children.forEach((v) => {
21
22
  if (v.key) {
@@ -31,7 +32,7 @@ const _sfc_main = defineComponent({
31
32
  })
32
33
  },
33
34
  });
34
- var DragBox = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragBox.vue"]]);
35
+ var DragBox = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragBox.vue"]]);
35
36
 
36
37
  export { DragBox as default };
37
38
  //# sourceMappingURL=DragBox.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"DragBox.vue.mjs","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', {}, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":[],"mappings":";;;;AAIA,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;AACtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAO,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;QACrB,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAI,GAAE,IAAI,CAAC,CAAA;OACpD;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
1
+ {"version":3,"file":"DragBox.vue.mjs","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', {}, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":[],"mappings":";;;;AAIA,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;;AAEtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAO,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;QACrB,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAI,GAAE,IAAI,CAAC,CAAA;OACpD;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
@@ -127,7 +127,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
127
127
  renderSlot(_ctx.$slots, "default")
128
128
  ], 6 /* CLASS, STYLE */))
129
129
  }
130
- var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
130
+ var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
131
131
 
132
132
  export { DragTool as default };
133
133
  //# sourceMappingURL=DragTool.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"DragTool.vue.mjs","sources":["../../../../src/page-diy/src/components/DragTool.vue"],"sourcesContent":["<template>\n <div\n class=\"drag-tool animate__animated\"\n :class=\"{ active: state.active === id }\"\n :style=\"_style\"\n @click.stop=\"active\"\n >\n <div v-if=\"mask\" class=\"drag-mask\"></div>\n <div class=\"drag-r\">\n <div class=\"drag-btn\" title=\"添加当前组件\" @click=\"$emit('create')\">\n <dk-icon icon=\"CirclePlus\"></dk-icon>\n </div>\n <div class=\"drag-btn\" title=\"复制当前组件\" @click=\"$emit('copy')\">\n <dk-icon icon=\"CopyDocument\"></dk-icon>\n </div>\n <div\n v-if=\"children\"\n class=\"drag-btn\"\n title=\"添加子组件\"\n @click=\"$emit('addChild')\"\n >\n <dk-icon icon=\"fluent:tab-add-20-regular\"></dk-icon>\n </div>\n <div\n class=\"drag-btn drag-btn-danger\"\n title=\"删除组件\"\n @click=\"$emit('delete')\"\n >\n <dk-icon icon=\"Close\"></dk-icon>\n </div>\n </div>\n <slot name=\"default\"></slot>\n </div>\n</template>\n\n<script>\nimport { computed, inject, toRefs, defineComponent } from 'vue'\n\nlet uni = 1\nexport default defineComponent({\n name: 'DragTool',\n props: {\n dragBtn: {\n default: false,\n type: Boolean,\n },\n children: {\n default: '',\n type: String,\n },\n unique: {\n default: '',\n type: String,\n },\n mask: {\n default: false,\n type: Boolean,\n },\n setting: {\n default: () => {},\n type: [Object],\n },\n },\n setup(props) {\n const { unique } = toRefs(props)\n const id = computed(() => unique.value || uni++)\n const state = inject('fcx')\n return {\n id,\n state,\n }\n },\n computed: {\n pageConfig() {\n return {}\n },\n _style() {\n if (this.setting.is_position) {\n return {\n ...this.setting.style,\n ...this.setting.position,\n position: 'absolute',\n }\n } else {\n return {\n ...this.setting.style,\n }\n }\n },\n _animate() {\n // if (this.setting.loop_animate) {\n // return 'animate__' + this.setting.loop_animate + ' '\n // } else if (this.setting.animate) {\n // return 'animate__' + this.setting.animate\n // } else {\n return ''\n // }\n },\n },\n beforeUnmount() {\n this.state = {}\n },\n methods: {\n active() {\n if (this.state.active === this.id) return\n this.state.active = this.id\n this.$emit('active')\n },\n },\n})\n</script>\n"],"names":["_createElementBlock","_openBlock","_createElementVNode","_createVNode","_renderSlot"],"mappings":"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"}
1
+ {"version":3,"file":"DragTool.vue.mjs","sources":["../../../../src/page-diy/src/components/DragTool.vue"],"sourcesContent":["<template>\n <div\n class=\"drag-tool animate__animated\"\n :class=\"{ active: state.active === id }\"\n :style=\"_style\"\n @click.stop=\"active\"\n >\n <div v-if=\"mask\" class=\"drag-mask\"></div>\n <div class=\"drag-r\">\n <div class=\"drag-btn\" title=\"添加当前组件\" @click=\"$emit('create')\">\n <dk-icon icon=\"CirclePlus\"></dk-icon>\n </div>\n <div class=\"drag-btn\" title=\"复制当前组件\" @click=\"$emit('copy')\">\n <dk-icon icon=\"CopyDocument\"></dk-icon>\n </div>\n <div v-if=\"children\" class=\"drag-btn\" title=\"添加子组件\" @click=\"$emit('addChild')\">\n <dk-icon icon=\"fluent:tab-add-20-regular\"></dk-icon>\n </div>\n <div class=\"drag-btn drag-btn-danger\" title=\"删除组件\" @click=\"$emit('delete')\">\n <dk-icon icon=\"Close\"></dk-icon>\n </div>\n </div>\n <slot name=\"default\"></slot>\n </div>\n</template>\n\n<script>\nimport { computed, inject, toRefs, defineComponent } from 'vue'\n\nlet uni = 1\nexport default defineComponent({\n name: 'DragTool',\n props: {\n dragBtn: {\n default: false,\n type: Boolean,\n },\n children: {\n default: '',\n type: String,\n },\n unique: {\n default: '',\n type: String,\n },\n mask: {\n default: false,\n type: Boolean,\n },\n setting: {\n default: () => {},\n type: [Object],\n },\n },\n setup(props) {\n const { unique } = toRefs(props)\n const id = computed(() => unique.value || uni++)\n const state = inject('fcx')\n return {\n id,\n state,\n }\n },\n computed: {\n pageConfig() {\n return {}\n },\n _style() {\n if (this.setting.is_position) {\n return {\n ...this.setting.style,\n ...this.setting.position,\n position: 'absolute',\n }\n } else {\n return {\n ...this.setting.style,\n }\n }\n },\n _animate() {\n // if (this.setting.loop_animate) {\n // return 'animate__' + this.setting.loop_animate + ' '\n // } else if (this.setting.animate) {\n // return 'animate__' + this.setting.animate\n // } else {\n return ''\n // }\n },\n },\n beforeUnmount() {\n this.state = {}\n },\n methods: {\n active() {\n if (this.state.active === this.id) return\n this.state.active = this.id\n this.$emit('active')\n },\n },\n})\n</script>\n"],"names":["_createElementBlock","_openBlock","_createElementVNode","_createVNode","_renderSlot"],"mappings":";;;AA6BA,IAAI,MAAM,EAAA;AACV,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,UAAU;AAChB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE;MACP,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,IAAI,EAAE;MACJ,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;AACD,IAAA,OAAO,EAAE;AACP,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,MAAM,CAAC;KACf;GACF;EACD,KAAK,CAAC,KAAK,EAAE;IACX,MAAM,EAAE,MAAO,EAAA,GAAI,MAAM,CAAC,KAAK,EAAA;AAC/B,IAAA,MAAM,KAAK,QAAQ,CAAC,MAAM,MAAM,CAAC,SAAS,GAAG,EAAE,EAAA;IAC/C,MAAM,KAAM,GAAE,MAAM,CAAC,KAAK,EAAA;AAC1B,IAAA,OAAO;AACL,MAAA,EAAE;MACF,KAAK;AACP,KAAA;GACD;AACD,EAAA,QAAQ,EAAE;IACR,UAAU,GAAG;AACX,MAAA,OAAO,EAAC;KACT;AACD,IAAA,MAAM,GAAG;MACP,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE;AAC5B,QAAA,OAAO;AACL,UAAA,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK;UACrB,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ;AACxB,UAAA,QAAQ,EAAE,UAAU;AACtB,SAAA;OACA,MAAK;AACL,QAAA,OAAO;AACL,UAAA,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK;AACvB,SAAA;AACF,OAAA;KACD;IACD,QAAQ,GAAG;AACT;;AAEA;AACA;AACA;AACA,MAAA,OAAO,EAAC;AACR;KACD;GACF;AACD,EAAA,aAAa,GAAG;IACd,IAAI,CAAC,KAAM,GAAE,GAAC;GACf;AACD,EAAA,OAAO,EAAE;AACP,IAAA,MAAM,GAAG;AACP,MAAA,IAAI,IAAI,CAAC,KAAK,CAAC,MAAK,KAAM,IAAI,CAAC,EAAE,EAAE,MAAK;MACxC,IAAI,CAAC,KAAK,CAAC,MAAO,GAAE,IAAI,CAAC,GAAC;AAC1B,MAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAA;KACpB;GACF;AACH,CAAC,EAAA;;;;AA7FoB,EAAA,KAAK,EAAC,WAAW;;AAC7B,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,QAAQ,GAAA;;;;;uBAPrBA,kBAsBM,CAAA,KAAA,EAAA;AArBJ,IAAA,KAAK,kBAAC,6BAA6B,EAAA,EAAA,MAAA,EACjB,UAAK,CAAC,MAAM,KAAK,IAAE,CAAA,EAAA,EAAA,CAAA,CAAA;AACpC,IAAA,KAAK,iBAAE,IAAM,CAAA,MAAA,CAAA;AACb,IAAA,OAAK,wDAAO,IAAM,CAAA,MAAA,IAAA,IAAA,CAAA,MAAA,CAAA,GAAA,IAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAA;;KAER,IAAI,CAAA,IAAA;AAAf,SAAAC,SAAA,EAAA,EAAAD,kBAAA,CAAyC,OAAzC,UAAyC,CAAA;;AACzC,IAAAE,kBAAA,CAaM,OAbN,UAaM,EAAA;MAZJA,kBAEM,CAAA,KAAA,EAAA;AAFD,QAAA,KAAK,EAAC,UAAU;AAAC,QAAA,KAAK,EAAC,QAAQ;AAAE,QAAA,OAAK,uCAAE,IAAK,CAAA,KAAA,CAAA,QAAA,CAAA,CAAA,CAAA;;QAChDC,WAAqC,CAAA,kBAAA,EAAA,EAA5B,IAAI,EAAC,YAAY,EAAA,CAAA;;MAE5BD,kBAEM,CAAA,KAAA,EAAA;AAFD,QAAA,KAAK,EAAC,UAAU;AAAC,QAAA,KAAK,EAAC,QAAQ;AAAE,QAAA,OAAK,uCAAE,IAAK,CAAA,KAAA,CAAA,MAAA,CAAA,CAAA,CAAA;;QAChDC,WAAuC,CAAA,kBAAA,EAAA,EAA9B,IAAI,EAAC,cAAc,EAAA,CAAA;;OAEnB,IAAQ,CAAA,QAAA;wBAAnBH,kBAEM,CAAA,KAAA,EAAA;;AAFe,YAAA,KAAK,EAAC,UAAU;AAAC,YAAA,KAAK,EAAC,OAAO;AAAE,YAAA,OAAK,uCAAE,IAAK,CAAA,KAAA,CAAA,UAAA,CAAA,CAAA,CAAA;;YAC/DG,WAAoD,CAAA,kBAAA,EAAA,EAA3C,IAAI,EAAC,2BAA2B,EAAA,CAAA;;;MAE3CD,kBAEM,CAAA,KAAA,EAAA;AAFD,QAAA,KAAK,EAAC,0BAA0B;AAAC,QAAA,KAAK,EAAC,MAAM;AAAE,QAAA,OAAK,uCAAE,IAAK,CAAA,KAAA,CAAA,QAAA,CAAA,CAAA,CAAA;;QAC9DC,WAAgC,CAAA,kBAAA,EAAA,EAAvB,IAAI,EAAC,OAAO,EAAA,CAAA;;;IAGzBC,UAA4B,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './PreviewPhone.vue2.mjs';
2
2
  import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui_test\\dk-ui-all\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
4
+ var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
5
5
 
6
6
  export { PreviewPhone as default };
7
7
  //# sourceMappingURL=PreviewPhone.vue.mjs.map