@vipl520/dk-ui 1.0.11 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (661) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3949 -3158
  4. package/dist/index.min.js +7 -7
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +7 -7
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +3961 -3172
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue.mjs +1 -1
  12. package/es/attachment/src/attachment.vue2.mjs +7 -6
  13. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  14. package/es/attachment/src/file-icon.vue.mjs +1 -1
  15. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  16. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  17. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  18. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  19. package/es/color-input/src/color-input.vue.mjs +1 -1
  20. package/es/dialog/index.d.ts +15 -0
  21. package/es/dialog/src/dialog.vue.d.ts +9 -0
  22. package/es/dialog/src/dialog.vue.mjs +1 -1
  23. package/es/dialog/src/dialog.vue2.mjs +3 -2
  24. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  25. package/es/dialog/src/props.d.ts +4 -0
  26. package/es/dialog/src/props.mjs +4 -0
  27. package/es/dialog/src/props.mjs.map +1 -1
  28. package/es/file-input/src/file-input.vue.mjs +1 -1
  29. package/es/file-input/style/index.css +1 -1
  30. package/es/file-input/style/index.scss +2 -0
  31. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  32. package/es/file-list-input/style/index.css +1 -1
  33. package/es/file-list-input/style/index.scss +1 -0
  34. package/es/form/src/form.vue.mjs +1 -1
  35. package/es/form/style/index.css +1 -1
  36. package/es/form/style/index.scss +7 -3
  37. package/es/group/src/group.vue.mjs +1 -1
  38. package/es/hot-area-input/index.d.ts +15 -0
  39. package/es/hot-area-input/index.mjs +8 -0
  40. package/es/hot-area-input/index.mjs.map +1 -0
  41. package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  42. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
  43. package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
  44. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
  45. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
  46. package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  47. package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
  48. package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
  49. package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
  50. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
  51. package/es/hot-area-input/src/props.d.ts +8 -0
  52. package/es/hot-area-input/src/props.mjs +11 -0
  53. package/es/hot-area-input/src/props.mjs.map +1 -0
  54. package/es/hot-area-input/style/index.css +1 -0
  55. package/es/hot-area-input/style/index.scss +40 -0
  56. package/es/icon/src/icon.vue.mjs +1 -1
  57. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  58. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  59. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  60. package/es/image-input/src/image-input.vue.mjs +1 -1
  61. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  62. package/es/index.d.ts +1 -0
  63. package/es/index.mjs +5 -1
  64. package/es/index.mjs.map +1 -1
  65. package/es/index.scss +1 -62
  66. package/es/page-diy/index.d.ts +59 -23
  67. package/es/page-diy/index.mjs +0 -4
  68. package/es/page-diy/index.mjs.map +1 -1
  69. package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
  70. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  71. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  72. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +1 -1
  73. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  74. package/es/page-diy/src/config/base/dkPage.mjs +0 -49
  75. package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
  76. package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
  77. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  78. package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  79. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
  80. package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
  81. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  82. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
  83. package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
  84. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  85. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
  86. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
  87. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  88. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
  89. package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
  90. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  91. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
  92. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
  93. package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  94. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
  95. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
  96. package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  97. package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
  98. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
  99. package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
  100. package/es/page-diy/src/config/rule/min/index.mjs +17 -0
  101. package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
  102. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
  103. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
  104. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
  105. package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
  106. package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
  107. package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
  108. package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
  109. package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
  110. package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
  111. package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
  112. package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
  113. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
  114. package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
  115. package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
  116. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
  117. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
  118. package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
  119. package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  120. package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
  121. package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
  122. package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
  123. package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
  124. package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
  125. package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
  126. package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
  127. package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
  128. package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
  129. package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
  130. package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
  131. package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
  132. package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
  133. package/es/page-diy/src/page-diy.vue.d.ts +59 -23
  134. package/es/page-diy/src/page-diy.vue.mjs +53 -187
  135. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  136. package/es/page-diy/src/props.d.ts +21 -4
  137. package/es/page-diy/src/props.mjs +28 -6
  138. package/es/page-diy/src/props.mjs.map +1 -1
  139. package/es/page-diy/src/utils/help.mjs.map +1 -1
  140. package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  141. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
  142. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
  143. package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  144. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +126 -0
  145. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
  146. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  147. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
  148. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
  149. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
  150. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
  151. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  152. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
  153. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
  154. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
  155. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
  156. package/es/page-diy/src/views/min/index.mjs +18 -0
  157. package/es/page-diy/src/views/min/index.mjs.map +1 -0
  158. package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
  159. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
  160. package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
  161. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
  162. package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
  163. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
  164. package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
  165. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
  166. package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
  167. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
  168. package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
  169. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
  170. package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
  171. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
  172. package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
  173. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
  174. package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
  175. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
  176. package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
  177. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
  178. package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
  179. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
  180. package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
  181. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
  182. package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
  183. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
  184. package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
  185. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
  186. package/es/page-diy/src/views/web/index.mjs.map +1 -0
  187. package/es/page-diy/style/drag-tool.css +1 -1
  188. package/es/page-diy/style/drag-tool.scss +2 -2
  189. package/es/page-diy/style/index.css +1 -1
  190. package/es/page-diy/style/index.scss +1 -0
  191. package/es/page-diy/style/minViews/index.scss +26 -0
  192. package/es/page-diy/style/preview-phone.css +1 -1
  193. package/es/page-diy/style/preview-phone.scss +36 -2
  194. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  195. package/es/poster-input/src/component/poster.vue2.mjs +13 -13
  196. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  197. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  198. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  199. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  200. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  201. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  202. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  203. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  204. package/es/select/src/select.vue.mjs +1 -1
  205. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  206. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  207. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  208. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  209. package/es/style-input/src/style-input.vue.mjs +1 -1
  210. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  211. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  212. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  213. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  214. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  215. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  216. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  217. package/es/table/src/components/RecycleDialog.vue2.mjs +1 -2
  218. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  219. package/es/table/src/components/header.vue.mjs +1 -1
  220. package/es/table/src/table.vue.mjs +1 -1
  221. package/es/test/src/test.vue.mjs +1 -1
  222. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  223. package/es/video-input/src/video-input.vue.mjs +1 -1
  224. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  225. package/lib/attachment/src/attachment.vue.js +1 -1
  226. package/lib/attachment/src/attachment.vue2.js +7 -6
  227. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  228. package/lib/attachment/src/file-icon.vue.js +1 -1
  229. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  230. package/lib/audio-input/src/audio-input.vue.js +1 -1
  231. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  232. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  233. package/lib/color-input/src/color-input.vue.js +1 -1
  234. package/lib/dialog/index.d.ts +15 -0
  235. package/lib/dialog/src/dialog.vue.d.ts +9 -0
  236. package/lib/dialog/src/dialog.vue.js +1 -1
  237. package/lib/dialog/src/dialog.vue2.js +3 -2
  238. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  239. package/lib/dialog/src/props.d.ts +4 -0
  240. package/lib/dialog/src/props.js +4 -0
  241. package/lib/dialog/src/props.js.map +1 -1
  242. package/lib/file-input/src/file-input.vue.js +1 -1
  243. package/lib/file-input/style/index.css +1 -1
  244. package/lib/file-input/style/index.scss +2 -0
  245. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  246. package/lib/file-list-input/style/index.css +1 -1
  247. package/lib/file-list-input/style/index.scss +1 -0
  248. package/lib/form/src/form.vue.js +1 -1
  249. package/lib/form/style/index.css +1 -1
  250. package/lib/form/style/index.scss +7 -3
  251. package/lib/group/src/group.vue.js +1 -1
  252. package/lib/hot-area-input/index.d.ts +15 -0
  253. package/lib/hot-area-input/index.js +14 -0
  254. package/lib/hot-area-input/index.js.map +1 -0
  255. package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
  256. package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
  257. package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
  258. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
  259. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
  260. package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
  261. package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
  262. package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
  263. package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
  264. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
  265. package/lib/hot-area-input/src/props.d.ts +8 -0
  266. package/lib/hot-area-input/src/props.js +13 -0
  267. package/lib/hot-area-input/src/props.js.map +1 -0
  268. package/lib/hot-area-input/style/index.css +1 -0
  269. package/lib/hot-area-input/style/index.scss +40 -0
  270. package/lib/icon/src/icon.vue.js +1 -1
  271. package/lib/icon-input/src/icon-content.vue.js +1 -1
  272. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  273. package/lib/icon-input/src/icon-input.vue.js +1 -1
  274. package/lib/image-input/src/image-input.vue.js +1 -1
  275. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  276. package/lib/index.d.ts +1 -0
  277. package/lib/index.js +148 -142
  278. package/lib/index.js.map +1 -1
  279. package/lib/index.scss +1 -62
  280. package/lib/page-diy/index.d.ts +59 -23
  281. package/lib/page-diy/index.js +0 -4
  282. package/lib/page-diy/index.js.map +1 -1
  283. package/lib/page-diy/src/components/DragBox.vue.js +1 -1
  284. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  285. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  286. package/lib/page-diy/src/components/PreviewPhone.vue2.js +1 -1
  287. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  288. package/lib/page-diy/src/config/base/dkPage.js +0 -49
  289. package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
  290. package/lib/page-diy/src/config/base/dkSetting.js +0 -190
  291. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  292. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
  293. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
  294. package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
  295. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
  296. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
  297. package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
  298. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
  299. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
  300. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
  301. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
  302. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
  303. package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
  304. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
  305. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
  306. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
  307. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
  308. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
  309. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
  310. package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
  311. package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
  312. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
  313. package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
  314. package/lib/page-diy/src/config/rule/min/index.js +20 -0
  315. package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
  316. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
  317. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
  318. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
  319. package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
  320. package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
  321. package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
  322. package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
  323. package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
  324. package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
  325. package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
  326. package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
  327. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
  328. package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
  329. package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
  330. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
  331. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
  332. package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
  333. package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
  334. package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
  335. package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
  336. package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
  337. package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
  338. package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
  339. package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
  340. package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
  341. package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
  342. package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
  343. package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
  344. package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
  345. package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
  346. package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
  347. package/lib/page-diy/src/page-diy.vue.d.ts +59 -23
  348. package/lib/page-diy/src/page-diy.vue.js +61 -195
  349. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  350. package/lib/page-diy/src/props.d.ts +21 -4
  351. package/lib/page-diy/src/props.js +28 -6
  352. package/lib/page-diy/src/props.js.map +1 -1
  353. package/lib/page-diy/src/utils/help.js.map +1 -1
  354. package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
  355. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
  356. package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
  357. package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
  358. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +130 -0
  359. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
  360. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
  361. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
  362. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
  363. package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
  364. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
  365. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
  366. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
  367. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
  368. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
  369. package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
  370. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
  371. package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
  372. package/lib/page-diy/src/views/min/index.d.ts +2 -0
  373. package/lib/page-diy/src/views/min/index.js +22 -0
  374. package/lib/page-diy/src/views/min/index.js.map +1 -0
  375. package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
  376. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
  377. package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
  378. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
  379. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
  380. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
  381. package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
  382. package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
  383. package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
  384. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
  385. package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
  386. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
  387. package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
  388. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
  389. package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
  390. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
  391. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
  392. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
  393. package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
  394. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
  395. package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
  396. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
  397. package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
  398. package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
  399. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
  400. package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
  401. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
  402. package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
  403. package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
  404. package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
  405. package/lib/page-diy/src/views/web/index.d.ts +2 -0
  406. package/lib/page-diy/src/views/web/index.js.map +1 -0
  407. package/lib/page-diy/style/drag-tool.css +1 -1
  408. package/lib/page-diy/style/drag-tool.scss +2 -2
  409. package/lib/page-diy/style/index.css +1 -1
  410. package/lib/page-diy/style/index.scss +1 -0
  411. package/lib/page-diy/style/minViews/index.scss +26 -0
  412. package/lib/page-diy/style/preview-phone.css +1 -1
  413. package/lib/page-diy/style/preview-phone.scss +36 -2
  414. package/lib/poster-input/src/component/poster.vue.js +1 -1
  415. package/lib/poster-input/src/component/poster.vue2.js +13 -13
  416. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  417. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  418. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  419. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  420. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  421. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  422. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  423. package/lib/poster-input/src/poster-input.vue.js +1 -1
  424. package/lib/select/src/select.vue.js +1 -1
  425. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  426. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  427. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  428. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  429. package/lib/style-input/src/style-input.vue.js +1 -1
  430. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  431. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  432. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  433. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  434. package/lib/table/src/components/ComSearch.vue.js +1 -1
  435. package/lib/table/src/components/FieldRender.vue.js +1 -1
  436. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  437. package/lib/table/src/components/RecycleDialog.vue2.js +1 -2
  438. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  439. package/lib/table/src/components/header.vue.js +1 -1
  440. package/lib/table/src/table.vue.js +1 -1
  441. package/lib/test/src/test.vue.js +1 -1
  442. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  443. package/lib/video-input/src/video-input.vue.js +1 -1
  444. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  445. package/package.json +1 -1
  446. package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
  447. package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
  448. package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
  449. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
  450. package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
  451. package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
  452. package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
  453. package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
  454. package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
  455. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
  456. package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
  457. package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
  458. package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
  459. package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
  460. package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
  461. package/es/page-diy/src/config/rule/index.mjs.map +0 -1
  462. package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
  463. package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
  464. package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
  465. package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
  466. package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
  467. package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
  468. package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
  469. package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
  470. package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
  471. package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
  472. package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
  473. package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
  474. package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
  475. package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
  476. package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
  477. package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
  478. package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
  479. package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
  480. package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
  481. package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
  482. package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
  483. package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
  484. package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
  485. package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
  486. package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
  487. package/es/page-diy/src/views/index.mjs.map +0 -1
  488. package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
  489. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
  490. package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
  491. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
  492. package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
  493. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
  494. package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
  495. package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
  496. package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
  497. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
  498. package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
  499. package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
  500. package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
  501. package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
  502. package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
  503. package/lib/page-diy/src/config/rule/index.js.map +0 -1
  504. package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
  505. package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
  506. package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
  507. package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
  508. package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
  509. package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
  510. package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
  511. package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
  512. package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
  513. package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
  514. package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
  515. package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
  516. package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
  517. package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
  518. package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
  519. package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
  520. package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
  521. package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
  522. package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
  523. package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
  524. package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
  525. package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
  526. package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
  527. package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
  528. package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
  529. package/lib/page-diy/src/views/index.js.map +0 -1
  530. package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  531. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  532. package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
  533. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  534. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
  535. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  536. package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
  537. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  538. package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
  539. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  540. package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
  541. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  542. package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
  543. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  544. package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
  545. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  546. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
  547. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  548. package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
  549. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  550. package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
  551. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  552. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
  553. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  554. package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
  555. package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  556. package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  557. package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
  558. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  559. package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
  560. package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  561. package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
  562. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  563. package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
  564. package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  565. package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
  566. package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  567. package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
  568. package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  569. package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
  570. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  571. package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
  572. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  573. package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
  574. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  575. package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
  576. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  577. package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
  578. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  579. package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
  580. package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
  581. package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
  582. package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
  583. package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  584. package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  585. package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  586. package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  587. package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  588. package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  589. package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  590. package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  591. package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  592. package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  593. package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  594. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
  595. package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  596. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
  597. package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
  598. package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
  599. package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
  600. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
  601. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
  602. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
  603. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
  604. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
  605. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
  606. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
  607. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
  608. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
  609. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
  610. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
  611. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
  612. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
  613. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
  614. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
  615. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
  616. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
  617. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
  618. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
  619. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
  620. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
  621. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
  622. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
  623. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
  624. package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
  625. package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
  626. package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
  627. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
  628. package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
  629. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
  630. package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
  631. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
  632. package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
  633. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
  634. package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
  635. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
  636. package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
  637. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
  638. package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
  639. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
  640. package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
  641. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
  642. package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
  643. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
  644. package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
  645. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
  646. package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
  647. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
  648. package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
  649. package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
  650. package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
  651. package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
  652. package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
  653. package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
  654. package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
  655. package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
  656. package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
  657. package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
  658. package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
  659. package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
  660. /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
  661. /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
package/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,29 @@
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
+ }, {
9
27
  countObj: import("vue").ComputedRef<{}>;
10
28
  diyTree: import("vue").ComputedRef<any[]>;
11
29
  clear(type?: string): void;
@@ -96,7 +114,7 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
96
114
  activeTab: import("vue").Ref<string>;
97
115
  activeRule: import("vue").Ref<null>;
98
116
  children: import("vue").Ref<never[]>;
99
- menuList: import("vue").Ref<any>;
117
+ menuList: import("vue").Ref<Record<string, any>>;
100
118
  showBaseRule: import("vue").Ref<boolean>;
101
119
  showDkSettingRule: import("vue").Ref<boolean>;
102
120
  visible: import("vue").Ref<{
@@ -227,20 +245,38 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
227
245
  hide: boolean;
228
246
  treeData: never[];
229
247
  }>;
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;
248
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
249
+ type: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ menu: {
254
+ type: ObjectConstructor;
255
+ default: null;
256
+ };
257
+ height: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ config: {
262
+ type: ObjectConstructor;
263
+ default: () => {};
264
+ };
265
+ mask: {
266
+ type: StringConstructor;
267
+ default: undefined;
268
+ };
269
+ loading: {
270
+ type: BooleanConstructor;
271
+ default: undefined;
272
+ };
273
+ }>>, {
274
+ type: string;
275
+ config: Record<string, any>;
276
+ loading: boolean;
277
+ menu: Record<string, any>;
278
+ mask: string;
279
+ height: string;
244
280
  }, {}>>;
245
281
  export default PageDiy;
246
282
  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;;;;"}
@@ -31,7 +31,7 @@ const _sfc_main = defineComponent({
31
31
  })
32
32
  },
33
33
  });
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"]]);
34
+ 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
35
 
36
36
  export { DragBox as default };
37
37
  //# sourceMappingURL=DragBox.vue.mjs.map
@@ -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,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
@@ -127,7 +127,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
127
127
  _hoisted_8,
128
128
  createVNode(_component_dk_icon, {
129
129
  icon: "gg:battery-full",
130
- size: 30,
130
+ size: 18,
131
131
  color: "#555",
132
132
  "hover-color": "#f00"
133
133
  })
@@ -1 +1 @@
1
- {"version":3,"file":"PreviewPhone.vue2.mjs","sources":["../../../../src/page-diy/src/components/PreviewPhone.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'PreviewPhone',\n});\n</script>\n<template>\n <div class=\"preview-phone\">\n <div class=\"phone\">\n <div class=\"phone-header\">\n <div class=\"phone-header-top\">\n <div class=\"phone-time\">\n <span>{{ time }}</span>\n <van-icon name=\"wechat\" color=\"#2ddd71\" />\n </div>\n <div />\n <div class=\"phone-battery\">\n <span class=\"m-r-4px\">100%</span>\n <dk-icon\n icon=\"gg:battery-full\"\n :size=\"30\"\n color=\"#555\"\n hover-color=\"#f00\"\n ></dk-icon>\n </div>\n </div>\n <div class=\"phone-title\">\n <div class=\"phone-title-icon\">\n <el-dropdown trigger=\"click\" placement=\"bottom-start\">\n <dk-icon\n icon=\"Close\"\n hover-color=\"var(--el-color-primary)\"\n :size=\"20\"\n style=\"cursor: pointer\"\n ></dk-icon>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item @click=\"clear('rule')\"\n >清除组件</el-dropdown-item\n >\n <el-dropdown-item @click=\"clear('page')\"\n >清除页面</el-dropdown-item\n >\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </div>\n <div>页面标题</div>\n <div class=\"phone-title-icon\">\n <el-popover placement=\"bottom\" :width=\"200\" trigger=\"click\">\n <template #reference>\n <dk-icon\n icon=\"MoreFilled\"\n :size=\"20\"\n hover-color=\"var(--el-color-primary)\"\n style=\"cursor: pointer\"\n />\n </template>\n <el-form-item label=\"显示网格\">\n <el-switch v-model=\"form.showLine\" @change=\"changeForm()\" />\n </el-form-item>\n <el-form-item label=\"网格间距\">\n <el-slider\n v-model=\"form.margin\"\n :min=\"0\"\n :step=\"1\"\n show-stops\n :max=\"10\"\n @change=\"changeForm()\"\n />\n </el-form-item>\n </el-popover>\n </div>\n </div>\n </div>\n <div class=\"phone-body _fc-m-drag\" :style=\"_style\">\n <slot />\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, inject } from 'vue'\nimport { storage } from '@vipl520/utils'\nimport { ElMessage, ElMessageBox } from 'element-plus'\n\nconst diy: any = inject('diy')\nconst props = defineProps({\n value: {\n default: '',\n type: String,\n },\n pageConfig: {\n default: () => {},\n type: [Object],\n },\n})\n\nconst key = 'preview-phone'\nconst cache: any = JSON.parse(storage.get(key) || '{}')\n\nconst form = ref({\n showLine: cache.showLine || false,\n margin: cache.margin || 0,\n})\n\nconst changeForm = () => {\n storage.set(key, JSON.stringify(form.value))\n}\nconst clear = (type = '') => {\n const { proxy } = diy\n const typeName: any = {\n rule: '组件',\n config: '配置',\n }\n ElMessageBox.confirm('当前要清除' + typeName[type] + ',是否继续?', '警告', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n })\n .then(() => {\n proxy.clear(type)\n ElMessage.success('清除成功')\n })\n .catch(() => {})\n}\nconst _style = computed(() => {\n let line = {}\n if (form.value.showLine) {\n line = {\n '--margin': form.value.margin + 'px',\n '--showDashed': '1px',\n }\n }\n return {\n ...props.pageConfig.style,\n ...line,\n }\n})\n\nconst time = computed(() => {\n const d = new Date()\n const hour = d.getHours() // 得到小时数\n const minute = d.getMinutes() // 得到分钟数\n return hour + ':' + minute\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;AAmFD,IAAM,MAAA,GAAA,GAAW,OAAO,KAAK,CAAA,CAAA;AAY7B,IAAA,MAAM,GAAM,GAAA,eAAA,CAAA;AACZ,IAAA,MAAM,QAAa,IAAK,CAAA,KAAA,CAAM,QAAQ,GAAI,CAAA,GAAG,KAAK,IAAI,CAAA,CAAA;AAEtD,IAAA,MAAM,OAAO,GAAI,CAAA;AAAA,MACf,QAAA,EAAU,MAAM,QAAY,IAAA,KAAA;AAAA,MAC5B,MAAA,EAAQ,MAAM,MAAU,IAAA,CAAA;AAAA,KACzB,CAAA,CAAA;AAED,IAAA,MAAM,aAAa,MAAM;AACvB,MAAA,OAAA,CAAQ,IAAI,GAAK,EAAA,IAAA,CAAK,SAAU,CAAA,IAAA,CAAK,KAAK,CAAC,CAAA,CAAA;AAAA,KAC7C,CAAA;AACA,IAAM,MAAA,KAAA,GAAQ,CAAC,IAAA,GAAO,EAAO,KAAA;AAC3B,MAAM,MAAA,EAAE,OAAU,GAAA,GAAA,CAAA;AAClB,MAAA,MAAM,QAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,cAAA;AAAA,QACN,MAAQ,EAAA,cAAA;AAAA,OACV,CAAA;AACA,MAAA,YAAA,CAAa,QAAQ,gCAAU,GAAA,QAAA,CAAS,IAAI,CAAA,GAAI,mCAAU,cAAM,EAAA;AAAA,QAC9D,iBAAmB,EAAA,cAAA;AAAA,QACnB,gBAAkB,EAAA,cAAA;AAAA,QAClB,IAAM,EAAA,SAAA;AAAA,OACP,CACE,CAAA,IAAA,CAAK,MAAM;AACV,QAAA,KAAA,CAAM,MAAM,IAAI,CAAA,CAAA;AAChB,QAAA,SAAA,CAAU,QAAQ,0BAAM,CAAA,CAAA;AAAA,OACzB,CACA,CAAA,KAAA,CAAM,MAAM;AAAA,OAAE,CAAA,CAAA;AAAA,KACnB,CAAA;AACA,IAAM,MAAA,MAAA,GAAS,SAAS,MAAM;AAC5B,MAAA,IAAI,OAAO,EAAC,CAAA;AACZ,MAAI,IAAA,IAAA,CAAK,MAAM,QAAU,EAAA;AACvB,QAAO,IAAA,GAAA;AAAA,UACL,UAAA,EAAY,IAAK,CAAA,KAAA,CAAM,MAAS,GAAA,IAAA;AAAA,UAChC,cAAgB,EAAA,KAAA;AAAA,SAClB,CAAA;AAAA,OACF;AACA,MAAO,OAAA;AAAA,QACL,GAAG,MAAM,UAAW,CAAA,KAAA;AAAA,QACpB,GAAG,IAAA;AAAA,OACL,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAM,MAAA,CAAA,uBAAQ,IAAK,EAAA,CAAA;AACnB,MAAM,MAAA,IAAA,GAAO,EAAE,QAAS,EAAA,CAAA;AACxB,MAAM,MAAA,MAAA,GAAS,EAAE,UAAW,EAAA,CAAA;AAC5B,MAAA,OAAO,OAAO,GAAM,GAAA,MAAA,CAAA;AAAA,KACrB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PreviewPhone.vue2.mjs","sources":["../../../../src/page-diy/src/components/PreviewPhone.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'PreviewPhone',\n});\n</script>\n<template>\n <div class=\"preview-phone\">\n <div class=\"phone\">\n <div class=\"phone-header\">\n <div class=\"phone-header-top\">\n <div class=\"phone-time\">\n <span>{{ time }}</span>\n <van-icon name=\"wechat\" color=\"#2ddd71\" />\n </div>\n <div />\n <div class=\"phone-battery\">\n <span class=\"m-r-4px\">100%</span>\n <dk-icon icon=\"gg:battery-full\" :size=\"18\" color=\"#555\" hover-color=\"#f00\"></dk-icon>\n </div>\n </div>\n <div class=\"phone-title\">\n <div class=\"phone-title-icon\">\n <el-dropdown trigger=\"click\" placement=\"bottom-start\">\n <dk-icon icon=\"Close\" hover-color=\"var(--el-color-primary)\" :size=\"20\" style=\"cursor: pointer\"></dk-icon>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item @click=\"clear('rule')\">清除组件</el-dropdown-item>\n <el-dropdown-item @click=\"clear('page')\">清除页面</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </div>\n <div>页面标题</div>\n <div class=\"phone-title-icon\">\n <el-popover placement=\"bottom\" :width=\"200\" trigger=\"click\">\n <template #reference>\n <dk-icon icon=\"MoreFilled\" :size=\"20\" hover-color=\"var(--el-color-primary)\" style=\"cursor: pointer\" />\n </template>\n <el-form-item label=\"显示网格\">\n <el-switch v-model=\"form.showLine\" @change=\"changeForm()\" />\n </el-form-item>\n <el-form-item label=\"网格间距\">\n <el-slider v-model=\"form.margin\" :min=\"0\" :step=\"1\" show-stops :max=\"10\" @change=\"changeForm()\" />\n </el-form-item>\n </el-popover>\n </div>\n </div>\n </div>\n <div class=\"phone-body _fc-m-drag\" :style=\"_style\">\n <slot />\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, inject } from 'vue'\nimport { storage } from '@vipl520/utils'\nimport { ElMessage, ElMessageBox } from 'element-plus'\n\nconst diy: any = inject('diy')\nconst props = defineProps({\n value: {\n default: '',\n type: String,\n },\n pageConfig: {\n default: () => {},\n type: [Object],\n },\n})\n\nconst key = 'preview-phone'\nconst cache: any = JSON.parse(storage.get(key) || '{}')\n\nconst form = ref({\n showLine: cache.showLine || false,\n margin: cache.margin || 0,\n})\n\nconst changeForm = () => {\n storage.set(key, JSON.stringify(form.value))\n}\nconst clear = (type = '') => {\n const { proxy } = diy\n const typeName: any = {\n rule: '组件',\n config: '配置',\n }\n ElMessageBox.confirm('当前要清除' + typeName[type] + ',是否继续?', '警告', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n })\n .then(() => {\n proxy.clear(type)\n ElMessage.success('清除成功')\n })\n .catch(() => {})\n}\nconst _style = computed(() => {\n let line = {}\n if (form.value.showLine) {\n line = {\n '--margin': form.value.margin + 'px',\n '--showDashed': '1px',\n }\n }\n return {\n ...props.pageConfig.style,\n ...line,\n }\n})\n\nconst time = computed(() => {\n const d = new Date()\n const hour = d.getHours() // 得到小时数\n const minute = d.getMinutes() // 得到分钟数\n return hour + ':' + minute\n})\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;AAyDD,IAAM,MAAA,GAAA,GAAW,OAAO,KAAK,CAAA,CAAA;AAY7B,IAAA,MAAM,GAAM,GAAA,eAAA,CAAA;AACZ,IAAA,MAAM,QAAa,IAAK,CAAA,KAAA,CAAM,QAAQ,GAAI,CAAA,GAAG,KAAK,IAAI,CAAA,CAAA;AAEtD,IAAA,MAAM,OAAO,GAAI,CAAA;AAAA,MACf,QAAA,EAAU,MAAM,QAAY,IAAA,KAAA;AAAA,MAC5B,MAAA,EAAQ,MAAM,MAAU,IAAA,CAAA;AAAA,KACzB,CAAA,CAAA;AAED,IAAA,MAAM,aAAa,MAAM;AACvB,MAAA,OAAA,CAAQ,IAAI,GAAK,EAAA,IAAA,CAAK,SAAU,CAAA,IAAA,CAAK,KAAK,CAAC,CAAA,CAAA;AAAA,KAC7C,CAAA;AACA,IAAM,MAAA,KAAA,GAAQ,CAAC,IAAA,GAAO,EAAO,KAAA;AAC3B,MAAM,MAAA,EAAE,OAAU,GAAA,GAAA,CAAA;AAClB,MAAA,MAAM,QAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,cAAA;AAAA,QACN,MAAQ,EAAA,cAAA;AAAA,OACV,CAAA;AACA,MAAA,YAAA,CAAa,QAAQ,gCAAU,GAAA,QAAA,CAAS,IAAI,CAAA,GAAI,mCAAU,cAAM,EAAA;AAAA,QAC9D,iBAAmB,EAAA,cAAA;AAAA,QACnB,gBAAkB,EAAA,cAAA;AAAA,QAClB,IAAM,EAAA,SAAA;AAAA,OACP,CACE,CAAA,IAAA,CAAK,MAAM;AACV,QAAA,KAAA,CAAM,MAAM,IAAI,CAAA,CAAA;AAChB,QAAA,SAAA,CAAU,QAAQ,0BAAM,CAAA,CAAA;AAAA,OACzB,CACA,CAAA,KAAA,CAAM,MAAM;AAAA,OAAE,CAAA,CAAA;AAAA,KACnB,CAAA;AACA,IAAM,MAAA,MAAA,GAAS,SAAS,MAAM;AAC5B,MAAA,IAAI,OAAO,EAAC,CAAA;AACZ,MAAI,IAAA,IAAA,CAAK,MAAM,QAAU,EAAA;AACvB,QAAO,IAAA,GAAA;AAAA,UACL,UAAA,EAAY,IAAK,CAAA,KAAA,CAAM,MAAS,GAAA,IAAA;AAAA,UAChC,cAAgB,EAAA,KAAA;AAAA,SAClB,CAAA;AAAA,OACF;AACA,MAAO,OAAA;AAAA,QACL,GAAG,MAAM,UAAW,CAAA,KAAA;AAAA,QACpB,GAAG,IAAA;AAAA,OACL,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAM,MAAA,CAAA,uBAAQ,IAAK,EAAA,CAAA;AACnB,MAAM,MAAA,IAAA,GAAO,EAAE,QAAS,EAAA,CAAA;AACxB,MAAM,MAAA,MAAA,GAAS,EAAE,UAAW,EAAA,CAAA;AAC5B,MAAA,OAAO,OAAO,GAAM,GAAA,MAAA,CAAA;AAAA,KACrB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,55 +7,6 @@ function dkPage() {
7
7
  title: "",
8
8
  props: {}
9
9
  }
10
- // { type: 'DkBoxSizeInput', field: 'padding', value: '0px', title: '内边距' },
11
- // { type: 'DkBoxSizeInput', field: 'margin', value: '0px', title: '外边距' },
12
- // {
13
- // type: 'DkImageInput',
14
- // field: 'bg_img',
15
- // value: '',
16
- // title: '背景图片',
17
- // props: { showInput: false },
18
- // },
19
- // {
20
- // type: 'DkColorInput',
21
- // field: 'bg_color',
22
- // title: '背景色',
23
- // value: '#ff7271',
24
- // },
25
- // {
26
- // type: 'elCol',
27
- // props: { style: 'margin-bottom:10px' },
28
- // children: [
29
- // {
30
- // type: 'h2',
31
- // props: {
32
- // contentPosition: 'left',
33
- // },
34
- // style: 'margin:10px 0px;font-size:14px',
35
- // children: ['偏好设置'],
36
- // },
37
- // {
38
- // type: 'p',
39
- // props: {},
40
- // style: 'margin:10px 0px;color:#999;font-size:12px',
41
- // children: ['当前设置仅为了方便diy使用,不会对实际页面有影响'],
42
- // },
43
- // ],
44
- // },
45
- // {
46
- // type: 'slider',
47
- // field: 'border_margin',
48
- // title: '模块间距',
49
- // value: 0,
50
- // props: { min: 0, max: 20 },
51
- // // suffix: get_help('方便Diy的时候选择模块,不会对实际页面有影响')
52
- // },
53
- // {
54
- // type: 'switch',
55
- // field: 'show_dashed',
56
- // title: '显示虚线',
57
- // props: { activeValue: 2, inactiveValue: 0 },
58
- // },
59
10
  ];
60
11
  }
61
12
 
@@ -1 +1 @@
1
- {"version":3,"file":"dkPage.mjs","sources":["../../../../../src/page-diy/src/config/base/dkPage.js"],"sourcesContent":["// import { get_help } from '../../../DkPageDiy/utils'\n\nexport default function dkPage() {\n return [\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: {},\n },\n // { type: 'DkBoxSizeInput', field: 'padding', value: '0px', title: '内边距' },\n // { type: 'DkBoxSizeInput', field: 'margin', value: '0px', title: '外边距' },\n // {\n // type: 'DkImageInput',\n // field: 'bg_img',\n // value: '',\n // title: '背景图片',\n // props: { showInput: false },\n // },\n // {\n // type: 'DkColorInput',\n // field: 'bg_color',\n // title: '背景色',\n // value: '#ff7271',\n // },\n // {\n // type: 'elCol',\n // props: { style: 'margin-bottom:10px' },\n // children: [\n // {\n // type: 'h2',\n // props: {\n // contentPosition: 'left',\n // },\n // style: 'margin:10px 0px;font-size:14px',\n // children: ['偏好设置'],\n // },\n // {\n // type: 'p',\n // props: {},\n // style: 'margin:10px 0px;color:#999;font-size:12px',\n // children: ['当前设置仅为了方便diy使用,不会对实际页面有影响'],\n // },\n // ],\n // },\n // {\n // type: 'slider',\n // field: 'border_margin',\n // title: '模块间距',\n // value: 0,\n // props: { min: 0, max: 20 },\n // // suffix: get_help('方便Diy的时候选择模块,不会对实际页面有影响')\n // },\n // {\n // type: 'switch',\n // field: 'show_dashed',\n // title: '显示虚线',\n // props: { activeValue: 2, inactiveValue: 0 },\n // },\n ]\n}\n"],"names":[],"mappings":"AAEA,SAAwB,MAAS,GAAA;AAC/B,EAAO,OAAA;AAAA,IACL;AAAA,MACE,IAAM,EAAA,cAAA;AAAA,MACN,KAAO,EAAA,OAAA;AAAA,MACP,OAAO,EAAC;AAAA,MACR,KAAO,EAAA,EAAA;AAAA,MACP,OAAO,EAAC;AAAA,KACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAkDF,CAAA;AACF;;;;"}
1
+ {"version":3,"file":"dkPage.mjs","sources":["../../../../../src/page-diy/src/config/base/dkPage.js"],"sourcesContent":["export default function dkPage() {\n return [\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: {},\n },\n ]\n}\n"],"names":[],"mappings":"AAAA,SAAwB,MAAS,GAAA;AAC/B,EAAO,OAAA;AAAA,IACL;AAAA,MACE,IAAM,EAAA,cAAA;AAAA,MACN,KAAO,EAAA,OAAA;AAAA,MACP,OAAO,EAAC;AAAA,MACR,KAAO,EAAA,EAAA;AAAA,MACP,OAAO,EAAC;AAAA,KACV;AAAA,GACF,CAAA;AACF;;;;"}
@@ -36,134 +36,6 @@ function dkSetting(rule = null) {
36
36
  }
37
37
  ]
38
38
  }
39
- // {
40
- // type: 'el-collapse-item',
41
- // props: { name: 'animate' },
42
- // children: [
43
- // createTitle('动画配置'),
44
- // {
45
- // type: 'select',
46
- // field: 'animate',
47
- // value: '',
48
- // title: '入场动画',
49
- // options: [
50
- // { value: '', label: '无' },
51
- // { value: 'bounceIn', label: '弹入' },
52
- // { value: 'bounceInDown', label: '上边弹入' },
53
- // { value: 'bounceInLeft', label: '左边弹入' },
54
- // { value: 'bounceInRight', label: '右边弹入' },
55
- // { value: 'bounceInUp', label: '下边弹入' },
56
- //
57
- // { value: 'fadeIn', label: '淡入' },
58
- // { value: 'fadeInDown', label: '上边淡入' },
59
- // { value: 'fadeInDownBig', label: '最上边淡入' },
60
- // { value: 'fadeInLeft', label: '左边淡入' },
61
- // { value: 'fadeInLeftBig', label: '最左边淡入' },
62
- // { value: 'fadeInRight', label: '右边淡入' },
63
- // { value: 'fadeInRightBig', label: '最右边淡入' },
64
- // { value: 'fadeInUp', label: '下边淡入' },
65
- // { value: 'fadeInUpBig', label: '最下边淡入' },
66
- //
67
- // { value: 'flipInX', label: 'X轴翻转' },
68
- // { value: 'flipInY', label: 'Y轴翻转' },
69
- //
70
- // { value: 'lightSpeedIn', label: '轻轻呈现' },
71
- //
72
- // { value: 'rotateIn', label: '旋转进入' },
73
- // { value: 'rotateInDownLeft', label: '左上旋入' },
74
- // { value: 'rotateInDownRight', label: '右上旋入' },
75
- // { value: 'rotateInUpLeft', label: '左下旋入' },
76
- // { value: 'rotateInUpRight', label: '右下旋入' },
77
- //
78
- // { value: 'slideInDown', label: '滑入' },
79
- // { value: 'slideInLeft', label: '左滑入' },
80
- // { value: 'slideInRight', label: '右滑入' },
81
- //
82
- // { value: 'zoomInDown', label: '其他' },
83
- // ],
84
- // },
85
- // {
86
- // type: 'select',
87
- // field: 'loop_animate',
88
- // value: '',
89
- // title: '循环动画',
90
- // options: [
91
- // { value: '', label: '无' },
92
- // { value: 'bounce', label: '弹跳' },
93
- // { value: 'flash', label: '闪动' },
94
- // { value: 'pulse', label: '脉冲' },
95
- // { value: 'rubberBand', label: '橡皮筋' },
96
- // { value: 'shakeX', label: 'X轴摇晃' },
97
- // { value: 'shakeY', label: 'Y轴摇晃' },
98
- // { value: 'headShake', label: '摇头' },
99
- // { value: 'swing', label: '摆动' },
100
- // { value: 'tada', label: '缩放摆动' },
101
- // { value: 'wobble', label: '大幅摇晃' },
102
- // { value: 'jello', label: '果冻效果' },
103
- // { value: 'heartBeat', label: '心跳' },
104
- // ],
105
- // control: [
106
- // {
107
- // handle(val) {
108
- // return val !== ''
109
- // },
110
- // rule: [
111
- // {
112
- // type: 'switch',
113
- // field: 'animation_preview',
114
- // title: '实时预览',
115
- // value: true,
116
- // effect: {
117
- // help: '设置当前组件循环动画实时预览,当前仅为调试项',
118
- // },
119
- // },
120
- // {
121
- // type: 'InputNumber',
122
- // field: 'animation_duration',
123
- // title: '动画时间',
124
- // value: 1,
125
- // props: { step: 0.1, min: 0.1, max: 20 },
126
- // effect: {
127
- // help: '设置当前组件每次完成动画所花费的时间',
128
- // },
129
- // },
130
- // {
131
- // type: 'InputNumber',
132
- // field: 'animation_iteration_count',
133
- // title: '循环次数',
134
- // value: 0,
135
- // props: { step: 1, min: 0 },
136
- // effect: {
137
- // help: '设置当前组件循环次数,0表示无限循环',
138
- // },
139
- // },
140
- // ],
141
- // },
142
- // ],
143
- // effect: {
144
- // help: '设置循环动画后入场动画将不生效',
145
- // },
146
- // },
147
- // ],
148
- // },
149
- // {
150
- // type: 'el-collapse-item',
151
- // props: { name: 'other' },
152
- // children: [
153
- // createTitle('其他配置'),
154
- // {
155
- // type: 'input',
156
- // field: 'customStyle',
157
- // title: '自定义CSS',
158
- // props: { type: 'textarea' },
159
- // style: 'width:100%',
160
- // effect: {
161
- // help: '设置当前组件的自定义Css样式,如:我们想改变当前元素的背景色和文字大小:background: #000;font-size:18px;',
162
- // },
163
- // },
164
- // ],
165
- // },
166
- // 悬浮配置 collapseFixed 判断后添加到这里
167
39
  ]
168
40
  }
169
41
  ];
@@ -193,68 +65,6 @@ function dkSetting(rule = null) {
193
65
  }
194
66
  ]
195
67
  }
196
- // {
197
- // type: 'select',
198
- // field: 'position',
199
- // value: '',
200
- // title: '悬浮位置',
201
- // options: [
202
- // { value: '', label: '不悬浮' },
203
- // { value: 'custom', label: '自定义定位' },
204
- // { value: 'right-top', label: '右上角' },
205
- // { value: 'right-down', label: '右下角' },
206
- // { value: 'left-top', label: '左上角' },
207
- // { value: 'left-down', label: '左下角' },
208
- // { value: 'center-down', label: '底部居中' },
209
- // { value: 'center-top', label: '顶部居中' },
210
- // ],
211
- // effect: {
212
- // help: '设置组件悬浮位置,可选择自定义和内置的,如果是内置的,可以通过设置组件的内外边距来调整位置',
213
- // },
214
- // control: [
215
- // {
216
- // value: 'custom',
217
- // rule: [
218
- // {
219
- // title: '距离上',
220
- // value: '',
221
- // type: 'DkDragNumberInput',
222
- // wrap: { labelWidth: '55px' },
223
- // field: 'top',
224
- // props: { direction: 'vertical', icon: 'el-icon-arrow-up' },
225
- // col: { span: 11 },
226
- // },
227
- // {
228
- // title: '距离右',
229
- // value: '',
230
- // type: 'DkDragNumberInput',
231
- // wrap: { labelWidth: '55px' },
232
- // field: 'right',
233
- // props: { icon: 'el-icon-arrow-right' },
234
- // col: { span: 11, offset: 2 },
235
- // },
236
- // {
237
- // title: '距离下',
238
- // value: '',
239
- // type: 'DkDragNumberInput',
240
- // wrap: { labelWidth: '55px' },
241
- // field: 'bottom',
242
- // props: { direction: 'vertical', icon: 'el-icon-arrow-down' },
243
- // col: { span: 11 },
244
- // },
245
- // {
246
- // title: '距离左',
247
- // value: '',
248
- // type: 'DkDragNumberInput',
249
- // wrap: { labelWidth: '55px' },
250
- // field: 'left',
251
- // props: { icon: 'el-icon-arrow-left' },
252
- // col: { span: 11, offset: 2 },
253
- // },
254
- // ],
255
- // },
256
- // ],
257
- // },
258
68
  ];
259
69
  const collapseFixed = {
260
70
  type: "el-collapse-item",
@@ -1 +1 @@
1
- {"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["function createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style:\n 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style:\n 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n // {\n // type: 'el-collapse-item',\n // props: { name: 'animate' },\n // children: [\n // createTitle('动画配置'),\n // {\n // type: 'select',\n // field: 'animate',\n // value: '',\n // title: '入场动画',\n // options: [\n // { value: '', label: '无' },\n // { value: 'bounceIn', label: '弹入' },\n // { value: 'bounceInDown', label: '上边弹入' },\n // { value: 'bounceInLeft', label: '左边弹入' },\n // { value: 'bounceInRight', label: '右边弹入' },\n // { value: 'bounceInUp', label: '下边弹入' },\n //\n // { value: 'fadeIn', label: '淡入' },\n // { value: 'fadeInDown', label: '上边淡入' },\n // { value: 'fadeInDownBig', label: '最上边淡入' },\n // { value: 'fadeInLeft', label: '左边淡入' },\n // { value: 'fadeInLeftBig', label: '最左边淡入' },\n // { value: 'fadeInRight', label: '右边淡入' },\n // { value: 'fadeInRightBig', label: '最右边淡入' },\n // { value: 'fadeInUp', label: '下边淡入' },\n // { value: 'fadeInUpBig', label: '最下边淡入' },\n //\n // { value: 'flipInX', label: 'X轴翻转' },\n // { value: 'flipInY', label: 'Y轴翻转' },\n //\n // { value: 'lightSpeedIn', label: '轻轻呈现' },\n //\n // { value: 'rotateIn', label: '旋转进入' },\n // { value: 'rotateInDownLeft', label: '左上旋入' },\n // { value: 'rotateInDownRight', label: '右上旋入' },\n // { value: 'rotateInUpLeft', label: '左下旋入' },\n // { value: 'rotateInUpRight', label: '右下旋入' },\n //\n // { value: 'slideInDown', label: '滑入' },\n // { value: 'slideInLeft', label: '左滑入' },\n // { value: 'slideInRight', label: '右滑入' },\n //\n // { value: 'zoomInDown', label: '其他' },\n // ],\n // },\n // {\n // type: 'select',\n // field: 'loop_animate',\n // value: '',\n // title: '循环动画',\n // options: [\n // { value: '', label: '无' },\n // { value: 'bounce', label: '弹跳' },\n // { value: 'flash', label: '闪动' },\n // { value: 'pulse', label: '脉冲' },\n // { value: 'rubberBand', label: '橡皮筋' },\n // { value: 'shakeX', label: 'X轴摇晃' },\n // { value: 'shakeY', label: 'Y轴摇晃' },\n // { value: 'headShake', label: '摇头' },\n // { value: 'swing', label: '摆动' },\n // { value: 'tada', label: '缩放摆动' },\n // { value: 'wobble', label: '大幅摇晃' },\n // { value: 'jello', label: '果冻效果' },\n // { value: 'heartBeat', label: '心跳' },\n // ],\n // control: [\n // {\n // handle(val) {\n // return val !== ''\n // },\n // rule: [\n // {\n // type: 'switch',\n // field: 'animation_preview',\n // title: '实时预览',\n // value: true,\n // effect: {\n // help: '设置当前组件循环动画实时预览,当前仅为调试项',\n // },\n // },\n // {\n // type: 'InputNumber',\n // field: 'animation_duration',\n // title: '动画时间',\n // value: 1,\n // props: { step: 0.1, min: 0.1, max: 20 },\n // effect: {\n // help: '设置当前组件每次完成动画所花费的时间',\n // },\n // },\n // {\n // type: 'InputNumber',\n // field: 'animation_iteration_count',\n // title: '循环次数',\n // value: 0,\n // props: { step: 1, min: 0 },\n // effect: {\n // help: '设置当前组件循环次数,0表示无限循环',\n // },\n // },\n // ],\n // },\n // ],\n // effect: {\n // help: '设置循环动画后入场动画将不生效',\n // },\n // },\n // ],\n // },\n // {\n // type: 'el-collapse-item',\n // props: { name: 'other' },\n // children: [\n // createTitle('其他配置'),\n // {\n // type: 'input',\n // field: 'customStyle',\n // title: '自定义CSS',\n // props: { type: 'textarea' },\n // style: 'width:100%',\n // effect: {\n // help: '设置当前组件的自定义Css样式,如:我们想改变当前元素的背景色和文字大小:background: #000;font-size:18px;',\n // },\n // },\n // ],\n // },\n // 悬浮配置 collapseFixed 判断后添加到这里\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n // {\n // type: 'select',\n // field: 'position',\n // value: '',\n // title: '悬浮位置',\n // options: [\n // { value: '', label: '不悬浮' },\n // { value: 'custom', label: '自定义定位' },\n // { value: 'right-top', label: '右上角' },\n // { value: 'right-down', label: '右下角' },\n // { value: 'left-top', label: '左上角' },\n // { value: 'left-down', label: '左下角' },\n // { value: 'center-down', label: '底部居中' },\n // { value: 'center-top', label: '顶部居中' },\n // ],\n // effect: {\n // help: '设置组件悬浮位置,可选择自定义和内置的,如果是内置的,可以通过设置组件的内外边距来调整位置',\n // },\n // control: [\n // {\n // value: 'custom',\n // rule: [\n // {\n // title: '距离上',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'top',\n // props: { direction: 'vertical', icon: 'el-icon-arrow-up' },\n // col: { span: 11 },\n // },\n // {\n // title: '距离右',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'right',\n // props: { icon: 'el-icon-arrow-right' },\n // col: { span: 11, offset: 2 },\n // },\n // {\n // title: '距离下',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'bottom',\n // props: { direction: 'vertical', icon: 'el-icon-arrow-down' },\n // col: { span: 11 },\n // },\n // {\n // title: '距离左',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'left',\n // props: { icon: 'el-icon-arrow-left' },\n // col: { span: 11, offset: 2 },\n // },\n // ],\n // },\n // ],\n // },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"AAAA,SAAS,YAAY,KAAO,EAAA;AAC1B,EAAO,OAAA;AAAA,IACL,IAAM,EAAA,IAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,KACE,EAAA,uFAAA;AAAA,IACF,QAAU,EAAA;AAAA,MACR;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,KACE,EAAA,6FAAA;AAAA,OACJ;AAAA,MACA,EAAE,IAAM,EAAA,MAAA,EAAQ,QAAU,EAAA,CAAC,KAAK,CAAE,EAAA;AAAA,KACpC;AAAA,GACF,CAAA;AACF,CAAA;AACwB,SAAA,SAAA,CAAU,OAAO,IAAM,EAAA;AAC7C,EAAA,MAAM,IAAO,GAAA;AAAA,IACX;AAAA,MACE,IAAM,EAAA,aAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,UAAY,EAAA,MAAA;AAAA,OACd;AAAA,MACA,KAAO,EAAA,YAAA;AAAA,MACP,QAAU,EAAA;AAAA;AAAA,QAER;AAAA,UACE,IAAM,EAAA,kBAAA;AAAA,UACN,KAAA,EAAO,EAAE,IAAA,EAAM,MAAO,EAAA;AAAA,UAEtB,QAAU,EAAA;AAAA,YACR,YAAY,0BAAM,CAAA;AAAA,YAClB;AAAA,cACE,IAAM,EAAA,cAAA;AAAA,cACN,KAAO,EAAA,OAAA;AAAA,cACP,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,EAAA;AAAA,cACP,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAI,EAAA;AAAA,aACvB;AAAA,WACF;AAAA,SACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAiIF;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,IAAM,EAAA;AACR,IAAA,IAAI,IAAK,CAAA,MAAA,CAAO,MAAO,CAAA,IAAA,GAAO,KAAO,EAAA;AACnC,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,YAAY,0BAAM,CAAA;AAAA,QAClB;AAAA,UACE,IAAM,EAAA,QAAA;AAAA,UACN,KAAO,EAAA,aAAA;AAAA,UACP,KAAO,EAAA,KAAA;AAAA,UACP,KAAO,EAAA,0BAAA;AAAA,UACP,MAAQ,EAAA;AAAA,YACN,IAAM,EAAA,8DAAA;AAAA,WACR;AAAA,UACA,OAAS,EAAA;AAAA,YACP;AAAA,cACE,KAAO,EAAA,IAAA;AAAA,cACP,IAAM,EAAA;AAAA,gBACJ;AAAA,kBACE,IAAM,EAAA,sBAAA;AAAA,kBACN,KAAO,EAAA,UAAA;AAAA,kBACP,OAAO,EAAC;AAAA,kBACR,KAAO,EAAA,EAAA;AAAA,iBACT;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OA+DF,CAAA;AACA,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,kBAAA;AAAA,QACN,KAAA,EAAO,EAAE,IAAA,EAAM,OAAQ,EAAA;AAAA,QACvB,QAAU,EAAA,aAAA;AAAA,OACZ,CAAA;AACA,MAAA,IAAA,CAAK,CAAC,CAAA,CAAE,QAAS,CAAA,IAAA,CAAK,aAAa,CAAA,CAAA;AAAA,KACrC;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT;;;;"}
1
+ {"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["function createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style: 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style: 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"AAAA,SAAS,YAAY,KAAO,EAAA;AAC1B,EAAO,OAAA;AAAA,IACL,IAAM,EAAA,IAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,KAAO,EAAA,uFAAA;AAAA,IACP,QAAU,EAAA;AAAA,MACR;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,KAAO,EAAA,6FAAA;AAAA,OACT;AAAA,MACA,EAAE,IAAM,EAAA,MAAA,EAAQ,QAAU,EAAA,CAAC,KAAK,CAAE,EAAA;AAAA,KACpC;AAAA,GACF,CAAA;AACF,CAAA;AACwB,SAAA,SAAA,CAAU,OAAO,IAAM,EAAA;AAC7C,EAAA,MAAM,IAAO,GAAA;AAAA,IACX;AAAA,MACE,IAAM,EAAA,aAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,UAAY,EAAA,MAAA;AAAA,OACd;AAAA,MACA,KAAO,EAAA,YAAA;AAAA,MACP,QAAU,EAAA;AAAA;AAAA,QAER;AAAA,UACE,IAAM,EAAA,kBAAA;AAAA,UACN,KAAA,EAAO,EAAE,IAAA,EAAM,MAAO,EAAA;AAAA,UAEtB,QAAU,EAAA;AAAA,YACR,YAAY,0BAAM,CAAA;AAAA,YAClB;AAAA,cACE,IAAM,EAAA,cAAA;AAAA,cACN,KAAO,EAAA,OAAA;AAAA,cACP,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,EAAA;AAAA,cACP,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAI,EAAA;AAAA,aACvB;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,IAAM,EAAA;AACR,IAAA,IAAI,IAAK,CAAA,MAAA,CAAO,MAAO,CAAA,IAAA,GAAO,KAAO,EAAA;AACnC,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,YAAY,0BAAM,CAAA;AAAA,QAClB;AAAA,UACE,IAAM,EAAA,QAAA;AAAA,UACN,KAAO,EAAA,aAAA;AAAA,UACP,KAAO,EAAA,KAAA;AAAA,UACP,KAAO,EAAA,0BAAA;AAAA,UACP,MAAQ,EAAA;AAAA,YACN,IAAM,EAAA,8DAAA;AAAA,WACR;AAAA,UACA,OAAS,EAAA;AAAA,YACP;AAAA,cACE,KAAO,EAAA,IAAA;AAAA,cACP,IAAM,EAAA;AAAA,gBACJ;AAAA,kBACE,IAAM,EAAA,sBAAA;AAAA,kBACN,KAAO,EAAA,UAAA;AAAA,kBACP,OAAO,EAAC;AAAA,kBACR,KAAO,EAAA,EAAA;AAAA,iBACT;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF,CAAA;AACA,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,kBAAA;AAAA,QACN,KAAA,EAAO,EAAE,IAAA,EAAM,OAAQ,EAAA;AAAA,QACvB,QAAU,EAAA,aAAA;AAAA,OACZ,CAAA;AACA,MAAA,IAAA,CAAK,CAAC,CAAA,CAAE,QAAS,CAAA,IAAA,CAAK,aAAa,CAAA,CAAA;AAAA,KACrC;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT;;;;"}
@@ -0,0 +1,24 @@
1
+ declare namespace _default {
2
+ export let icon: string;
3
+ export { label };
4
+ export { name };
5
+ export function rule(): {
6
+ type: string;
7
+ props: {
8
+ height: string;
9
+ };
10
+ showStyle: boolean;
11
+ };
12
+ export function props(): {
13
+ type: string;
14
+ field: string;
15
+ title: string;
16
+ value: number;
17
+ effect: {
18
+ help: string;
19
+ };
20
+ }[];
21
+ }
22
+ export default _default;
23
+ declare const label: "空白";
24
+ declare const name: "DkMinBlank";