@vipl520/dk-ui 1.0.44 → 1.0.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. package/dist/attributes.json +16 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +3041 -1074
  4. package/dist/index.min.js +4 -4
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -4
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +3038 -1075
  9. package/dist/tags.json +14 -0
  10. package/dist/uniicons.ttf +0 -0
  11. package/dist/web-types.json +69 -1
  12. package/es/animate-select/src/animate-select.vue2.mjs.map +1 -1
  13. package/es/api/attachment.mjs.map +1 -1
  14. package/es/attachment/src/attachment.vue2.mjs +1 -7
  15. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  16. package/es/audio-list-input/src/audio-list-input.vue2.mjs.map +1 -1
  17. package/es/dialog/src/dialog.vue2.mjs +2 -4
  18. package/es/dialog/src/dialog.vue2.mjs.map +1 -1
  19. package/es/dialog/style/index.css +1 -1
  20. package/es/dialog/style/index.scss +1 -1
  21. package/es/file-input/src/file-input.vue2.mjs.map +1 -1
  22. package/es/file-list-input/src/file-list-input.vue2.mjs.map +1 -1
  23. package/es/form/index.d.ts +3 -15
  24. package/es/form/src/form.vue.d.ts +2 -10
  25. package/es/form/src/form.vue2.mjs +1 -0
  26. package/es/form/src/form.vue2.mjs.map +1 -1
  27. package/es/form/src/props.d.ts +1 -5
  28. package/es/form/src/props.mjs +1 -5
  29. package/es/form/src/props.mjs.map +1 -1
  30. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  31. package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -1
  32. package/es/icon/src/icon.vue2.mjs.map +1 -1
  33. package/es/icon-input/src/icon-content.vue2.mjs +1 -1
  34. package/es/icon-input/src/icon-content.vue2.mjs.map +1 -1
  35. package/es/image-list-input/src/image-list-input.vue2.mjs.map +1 -1
  36. package/es/index.d.ts +2 -0
  37. package/es/index.mjs +8 -2
  38. package/es/index.mjs.map +1 -1
  39. package/es/index.scss +2 -0
  40. package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -1
  41. package/es/page-diy/src/components/DragTool.vue.mjs +1 -5
  42. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  43. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  44. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +9 -11
  45. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs.map +1 -1
  46. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  47. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  48. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +2 -1
  49. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  50. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +1 -3
  51. package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -1
  52. package/es/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  53. package/es/page-diy/src/config/rule/min/common/index.mjs +1 -8
  54. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  55. package/es/page-diy/src/config/rule/min/index.d.ts +2 -0
  56. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs +1 -3
  57. package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -1
  58. package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -1
  59. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs +3 -9
  60. package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -1
  61. package/es/page-diy/src/utils/eventData.mjs.map +1 -1
  62. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +5 -18
  63. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -1
  64. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  65. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  66. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -1
  67. package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -1
  68. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs +1 -3
  69. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -1
  70. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -1
  71. package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -1
  72. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -1
  73. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -1
  74. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -1
  75. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -1
  76. package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
  77. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue2.mjs.map +1 -1
  78. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs +1 -1
  79. package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs.map +1 -1
  80. package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
  81. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
  82. package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
  83. package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
  84. package/es/poster-input/src/poster-input.vue2.mjs.map +1 -1
  85. package/es/poster-input/style/index.scss +2 -4
  86. package/es/select/src/select.vue2.mjs +1 -9
  87. package/es/select/src/select.vue2.mjs.map +1 -1
  88. package/es/style-animation-input/src/props.mjs.map +1 -1
  89. package/es/style-animation-input/src/style-animation-input.vue2.mjs +1 -1
  90. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -1
  91. package/es/style-font-input/src/style-font-input.vue2.mjs +1 -1
  92. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  93. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  94. package/es/style-position-input/src/style-position-input.vue2.mjs +1 -4
  95. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  96. package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
  97. package/es/table/src/components/FieldRender.vue2.mjs +1 -1
  98. package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
  99. package/es/table/src/components/RecycleDialog.vue2.mjs +1 -3
  100. package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  101. package/es/table/src/components/header.vue2.mjs +3 -17
  102. package/es/table/src/components/header.vue2.mjs.map +1 -1
  103. package/es/table/src/props.mjs +1 -11
  104. package/es/table/src/props.mjs.map +1 -1
  105. package/es/table/src/table.vue2.mjs +3 -13
  106. package/es/table/src/table.vue2.mjs.map +1 -1
  107. package/es/table/utils/dkTable.mjs +8 -31
  108. package/es/table/utils/dkTable.mjs.map +1 -1
  109. package/es/table/utils/dkTableApi.mjs.map +1 -1
  110. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  111. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  112. package/es/uni-icon/index.d.ts +174 -0
  113. package/es/uni-icon/index.mjs +8 -0
  114. package/es/uni-icon/index.mjs.map +1 -0
  115. package/es/uni-icon/src/props.d.ts +24 -0
  116. package/es/uni-icon/src/props.mjs +25 -0
  117. package/es/uni-icon/src/props.mjs.map +1 -0
  118. package/es/uni-icon/src/uni-icon.vue.d.ts +57 -0
  119. package/es/uni-icon/src/uni-icon.vue.mjs +7 -0
  120. package/es/uni-icon/src/uni-icon.vue.mjs.map +1 -0
  121. package/es/uni-icon/src/uni-icon.vue2.mjs +43 -0
  122. package/es/uni-icon/src/uni-icon.vue2.mjs.map +1 -0
  123. package/es/uni-icon/style/index.css +1 -0
  124. package/es/uni-icon/style/index.scss +17 -0
  125. package/es/uni-icon/style/uniicons.css +1 -0
  126. package/es/uni-icon/style/uniicons.scss +663 -0
  127. package/es/uni-icon/style/uniicons_file_vue.d.ts +4 -0
  128. package/es/uni-icon/style/uniicons_file_vue.mjs +649 -0
  129. package/es/uni-icon/style/uniicons_file_vue.mjs.map +1 -0
  130. package/es/uni-icon-input/index.d.ts +17 -0
  131. package/es/uni-icon-input/index.mjs +8 -0
  132. package/es/uni-icon-input/index.mjs.map +1 -0
  133. package/es/uni-icon-input/src/props.d.ts +11 -0
  134. package/es/uni-icon-input/src/props.mjs +11 -0
  135. package/es/uni-icon-input/src/props.mjs.map +1 -0
  136. package/es/uni-icon-input/src/uni-icon-input.vue.d.ts +16 -0
  137. package/es/uni-icon-input/src/uni-icon-input.vue.mjs +7 -0
  138. package/es/uni-icon-input/src/uni-icon-input.vue.mjs.map +1 -0
  139. package/es/uni-icon-input/src/uni-icon-input.vue2.mjs +112 -0
  140. package/es/uni-icon-input/src/uni-icon-input.vue2.mjs.map +1 -0
  141. package/es/uni-icon-input/style/index.css +1 -0
  142. package/es/uni-icon-input/style/index.scss +13 -0
  143. package/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
  144. package/lib/animate-select/src/animate-select.vue2.js.map +1 -1
  145. package/lib/api/attachment.js.map +1 -1
  146. package/lib/attachment/src/attachment.vue2.js +1 -7
  147. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  148. package/lib/audio-list-input/src/audio-list-input.vue2.js.map +1 -1
  149. package/lib/dialog/src/dialog.vue2.js +2 -4
  150. package/lib/dialog/src/dialog.vue2.js.map +1 -1
  151. package/lib/dialog/style/index.css +1 -1
  152. package/lib/dialog/style/index.scss +1 -1
  153. package/lib/file-input/src/file-input.vue2.js.map +1 -1
  154. package/lib/file-list-input/src/file-list-input.vue2.js.map +1 -1
  155. package/lib/form/index.d.ts +3 -15
  156. package/lib/form/src/form.vue.d.ts +2 -10
  157. package/lib/form/src/form.vue2.js +1 -0
  158. package/lib/form/src/form.vue2.js.map +1 -1
  159. package/lib/form/src/props.d.ts +1 -5
  160. package/lib/form/src/props.js +1 -5
  161. package/lib/form/src/props.js.map +1 -1
  162. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  163. package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
  164. package/lib/icon/src/icon.vue2.js.map +1 -1
  165. package/lib/icon-input/src/icon-content.vue2.js +1 -1
  166. package/lib/icon-input/src/icon-content.vue2.js.map +1 -1
  167. package/lib/image-list-input/src/image-list-input.vue2.js.map +1 -1
  168. package/lib/index.d.ts +2 -0
  169. package/lib/index.js +13 -3
  170. package/lib/index.js.map +1 -1
  171. package/lib/index.scss +2 -0
  172. package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
  173. package/lib/page-diy/src/components/DragTool.vue.js +1 -5
  174. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  175. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  176. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +9 -11
  177. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -1
  178. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  179. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  180. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +2 -1
  181. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  182. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +1 -3
  183. package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -1
  184. package/lib/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  185. package/lib/page-diy/src/config/rule/min/common/index.js +1 -8
  186. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  187. package/lib/page-diy/src/config/rule/min/index.d.ts +2 -0
  188. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js +1 -3
  189. package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -1
  190. package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -1
  191. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js +3 -9
  192. package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -1
  193. package/lib/page-diy/src/utils/eventData.js.map +1 -1
  194. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +5 -18
  195. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
  196. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  197. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  198. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -1
  199. package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -1
  200. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +1 -3
  201. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
  202. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -1
  203. package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -1
  204. package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
  205. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -1
  206. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
  207. package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
  208. package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
  209. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue2.js.map +1 -1
  210. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js +1 -1
  211. package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js.map +1 -1
  212. package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
  213. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
  214. package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
  215. package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
  216. package/lib/poster-input/src/poster-input.vue2.js.map +1 -1
  217. package/lib/poster-input/style/index.scss +2 -4
  218. package/lib/select/src/select.vue2.js +1 -9
  219. package/lib/select/src/select.vue2.js.map +1 -1
  220. package/lib/style-animation-input/src/props.js.map +1 -1
  221. package/lib/style-animation-input/src/style-animation-input.vue2.js +1 -1
  222. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -1
  223. package/lib/style-font-input/src/style-font-input.vue2.js +1 -1
  224. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  225. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  226. package/lib/style-position-input/src/style-position-input.vue2.js +1 -4
  227. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  228. package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
  229. package/lib/table/src/components/FieldRender.vue2.js +1 -1
  230. package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
  231. package/lib/table/src/components/RecycleDialog.vue2.js +1 -3
  232. package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
  233. package/lib/table/src/components/header.vue2.js +3 -17
  234. package/lib/table/src/components/header.vue2.js.map +1 -1
  235. package/lib/table/src/props.js +1 -11
  236. package/lib/table/src/props.js.map +1 -1
  237. package/lib/table/src/table.vue2.js +3 -13
  238. package/lib/table/src/table.vue2.js.map +1 -1
  239. package/lib/table/utils/dkTable.js +8 -31
  240. package/lib/table/utils/dkTable.js.map +1 -1
  241. package/lib/table/utils/dkTableApi.js.map +1 -1
  242. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  243. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  244. package/lib/uni-icon/index.d.ts +174 -0
  245. package/lib/uni-icon/index.js +14 -0
  246. package/lib/uni-icon/index.js.map +1 -0
  247. package/lib/uni-icon/src/props.d.ts +24 -0
  248. package/lib/uni-icon/src/props.js +27 -0
  249. package/lib/uni-icon/src/props.js.map +1 -0
  250. package/lib/uni-icon/src/uni-icon.vue.d.ts +57 -0
  251. package/lib/uni-icon/src/uni-icon.vue.js +11 -0
  252. package/lib/uni-icon/src/uni-icon.vue.js.map +1 -0
  253. package/lib/uni-icon/src/uni-icon.vue2.js +47 -0
  254. package/lib/uni-icon/src/uni-icon.vue2.js.map +1 -0
  255. package/lib/uni-icon/style/index.css +1 -0
  256. package/lib/uni-icon/style/index.scss +17 -0
  257. package/lib/uni-icon/style/uniicons.css +1 -0
  258. package/lib/uni-icon/style/uniicons.scss +663 -0
  259. package/lib/uni-icon/style/uniicons_file_vue.d.ts +4 -0
  260. package/lib/uni-icon/style/uniicons_file_vue.js +651 -0
  261. package/lib/uni-icon/style/uniicons_file_vue.js.map +1 -0
  262. package/lib/uni-icon-input/index.d.ts +17 -0
  263. package/lib/uni-icon-input/index.js +14 -0
  264. package/lib/uni-icon-input/index.js.map +1 -0
  265. package/lib/uni-icon-input/src/props.d.ts +11 -0
  266. package/lib/uni-icon-input/src/props.js +13 -0
  267. package/lib/uni-icon-input/src/props.js.map +1 -0
  268. package/lib/uni-icon-input/src/uni-icon-input.vue.d.ts +16 -0
  269. package/lib/uni-icon-input/src/uni-icon-input.vue.js +11 -0
  270. package/lib/uni-icon-input/src/uni-icon-input.vue.js.map +1 -0
  271. package/lib/uni-icon-input/src/uni-icon-input.vue2.js +116 -0
  272. package/lib/uni-icon-input/src/uni-icon-input.vue2.js.map +1 -0
  273. package/lib/uni-icon-input/style/index.css +1 -0
  274. package/lib/uni-icon-input/style/index.scss +13 -0
  275. package/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
  276. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinTitle.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n {\n type: 'DkColorInput',\n field: 'subColor',\n title: '副标题色',\n value: '#999',\n },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'input',\n field: 'moreText',\n title: '文本内容',\n value: '查看更多',\n },\n {\n type: 'input',\n field: 'url',\n title: '链接地址',\n value: '',\n },\n {\n type: 'DkColorInput',\n field: 'moreColor',\n title: '颜色',\n value: '#999',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,oBAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA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AA,oBAAA;AAAA,gBACP,KAAO,EAAA,MAAA;AAAA,eACT;AAAA,cACA,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,YAAY,KAAO,EAAA,oBAAA,EAAO,OAAO,EAAG,EAAA;AAAA,cAC5D;AAAA,gBACE,IAAM,EAAA,cAAA;AAAA,gBACN,KAAO,EAAA,UAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,MAAA;AAAA,eACT;AAAA,cACA;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,IAAA;AAAA,gBACP,OAAS,EAAA;AAAA,kBACP;AAAA,oBACE,KAAO,EAAA,IAAA;AAAA,oBACP,IAAM,EAAA;AAAA,sBACJ;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,UAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,KAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,EAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,cAAA;AAAA,wBACN,KAAO,EAAA,WAAA;AAAA,wBACP,KAAO,EAAA,cAAA;AAAA,wBACP,KAAO,EAAA,MAAA;AAAA,uBACT;AAAA,qBACF;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkMinTitle.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n fixed: true,\n setting: {},\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n {\n type: 'DkColorInput',\n field: 'subColor',\n title: '副标题色',\n value: '#999',\n },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'input',\n field: 'moreText',\n title: '文本内容',\n value: '查看更多',\n },\n {\n type: 'input',\n field: 'url',\n title: '链接地址',\n value: '',\n },\n {\n type: 'DkColorInput',\n field: 'moreColor',\n title: '颜色',\n value: '#999',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,oBAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,OACZ;AAAA,MAC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 var DkMinVideo = {
36
36
  suffix: {
37
37
  type: "p",
38
38
  style: { fontSize: "12px", color: "#888" },
39
- children: [
40
- "\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"
41
- ]
39
+ children: ["\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"]
42
40
  }
43
41
  }
44
42
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkMinVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px',\n ],\n },\n },\n ],\n },\n ],\n effect: {\n help: '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n },\n },\n ]\n },\n}\n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AA;AAAA,UACN,IAAM,EAAA,oLAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkMinVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkMinVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px'],\n },\n },\n ],\n },\n ],\n effect: {\n help: '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAA,EAAU,CAAC,0NAA2C,CAAA;AAAA,iBACxD;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,oLAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -172,6 +172,7 @@ export const commonMenu: ({
172
172
  };
173
173
  showStyle: boolean;
174
174
  fixed: boolean;
175
+ setting: {};
175
176
  };
176
177
  props(): {
177
178
  type: string;
@@ -484,6 +485,7 @@ export const commonRuleList: {
484
485
  };
485
486
  showStyle: boolean;
486
487
  fixed: boolean;
488
+ setting: {};
487
489
  };
488
490
  props(): {
489
491
  type: string;
@@ -5,14 +5,7 @@ import DkMinBlank from './DkMinBlank.mjs';
5
5
  import DkMinTextarea from './DkMinTextarea.mjs';
6
6
  import DkMinHotArea from './DkMinHotArea.mjs';
7
7
 
8
- const commonMenu = [
9
- DkMinVideo,
10
- DkMinSwiperImage,
11
- DkMinTitle,
12
- DkMinBlank,
13
- DkMinTextarea,
14
- DkMinHotArea
15
- ];
8
+ const commonMenu = [DkMinVideo, DkMinSwiperImage, DkMinTitle, DkMinBlank, DkMinTextarea, DkMinHotArea];
16
9
  const commonRuleList = {
17
10
  [DkMinVideo.name]: DkMinVideo,
18
11
  [DkMinSwiperImage.name]: DkMinSwiperImage,
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [\n DkMinVideo,\n DkMinSwiperImage,\n DkMinTitle,\n DkMinBlank,\n DkMinTextarea,\n DkMinHotArea,\n]\n\nconst commonRuleList = {\n [DkMinVideo.name]: DkMinVideo,\n [DkMinSwiperImage.name]: DkMinSwiperImage,\n [DkMinTitle.name]: DkMinTitle,\n [DkMinBlank.name]: DkMinBlank,\n [DkMinTextarea.name]: DkMinTextarea,\n [DkMinHotArea.name]: DkMinHotArea,\n}\n\nexport { commonMenu, commonRuleList }\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,UAAa,GAAA;AAAA,EACjB,UAAA;AAAA,EACA,gBAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AACF,EAAA;AAEA,MAAM,cAAiB,GAAA;AAAA,EACrB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,gBAAiB,CAAA,IAAI,GAAG,gBAAA;AAAA,EACzB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,aAAc,CAAA,IAAI,GAAG,aAAA;AAAA,EACtB,CAAC,YAAa,CAAA,IAAI,GAAG,YAAA;AACvB;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [DkMinVideo, DkMinSwiperImage, DkMinTitle, DkMinBlank, DkMinTextarea, DkMinHotArea]\n\nconst commonRuleList = {\n [DkMinVideo.name]: DkMinVideo,\n [DkMinSwiperImage.name]: DkMinSwiperImage,\n [DkMinTitle.name]: DkMinTitle,\n [DkMinBlank.name]: DkMinBlank,\n [DkMinTextarea.name]: DkMinTextarea,\n [DkMinHotArea.name]: DkMinHotArea,\n}\n\nexport { commonMenu, commonRuleList }\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,aAAa,CAAC,UAAA,EAAY,kBAAkB,UAAY,EAAA,UAAA,EAAY,eAAe,YAAY,EAAA;AAErG,MAAM,cAAiB,GAAA;AAAA,EACrB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,gBAAiB,CAAA,IAAI,GAAG,gBAAA;AAAA,EACzB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,aAAc,CAAA,IAAI,GAAG,aAAA;AAAA,EACtB,CAAC,YAAa,CAAA,IAAI,GAAG,YAAA;AACvB;;;;"}
@@ -173,6 +173,7 @@ export const minRuleList: {
173
173
  };
174
174
  showStyle: boolean;
175
175
  fixed: boolean;
176
+ setting: {};
176
177
  };
177
178
  props(): {
178
179
  type: string;
@@ -488,6 +489,7 @@ export function createMinMenu(): {
488
489
  };
489
490
  showStyle: boolean;
490
491
  fixed: boolean;
492
+ setting: {};
491
493
  };
492
494
  props(): {
493
495
  type: string;
@@ -125,9 +125,7 @@ var DkPosterBtn = {
125
125
  },
126
126
  {
127
127
  value: "event",
128
- rule: [
129
- { type: "input", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "" }
130
- ]
128
+ rule: [{ type: "input", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "" }]
131
129
  }
132
130
  ],
133
131
  effect: {
@@ -1 +1 @@
1
- {"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n { type: 'input', field: 'listen', title: '监听事件', value: '' },\n ],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,eAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,OAAO,EAAC;AAAA,OACV;AAAA,MACA;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,0EAAA;AAAA,OACT;AAAA,MACA;AAAA,QACE,IA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,MAAM,cAAgB,EAAA,KAAA,EAAO,OAAO,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,cAC7D;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,SAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,0BAAA,EAAQ,OAAO,EAAG,EAAA;AAAA,aAC7D;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,4KAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [{ type: 'input', field: 'listen', title: '监听事件', value: '' }],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;A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AAO,EAAA,MAAA;AAAA,eACT;AAAA,cACA;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,OAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ,EAAE,MAAM,cAAgB,EAAA,KAAA,EAAO,OAAO,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,cAC7D;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,SAAA;AAAA,gBACP,KAAO,EAAA,cAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,EAAA,EAAI,KAAK,GAAI,EAAA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAA,EAAM,CAAC,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,QAAA,EAAU,KAAO,EAAA,0BAAA,EAAQ,KAAO,EAAA,EAAA,EAAI,CAAA;AAAA,WACrE;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,4KAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar:\n 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n props: {\n titleField: 'text',\n defaultValue: {\n avatar: '',\n text: '',\n },\n rule: [\n { type: 'input', field: 'text', title: '描述' },\n {\n type: 'dkImageInput',\n field: 'avatar',\n title: '头像',\n value: '',\n },\n ],\n },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n {\n type: 'DkEventSelectInput',\n field: 'eventName',\n title: '事件名称',\n value: '',\n props: { label: '弹幕事件' },\n effect: { help: '选择支持弹幕的事件,内容将由该事件传递参数' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AACb,uBAAe;AAAA,EACb,IAAM,EAAA,sBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,QAAU,EAAA,SAAA;AA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A;AAAA,gBACN,KAAO,EAAA,YAAA;AAAA;AAAA,gBAEP,KAAO,EAAA;AAAA,kBACL;AAAA,oBACE,IAAM,EAAA,sEAAA;AAAA,oBACN,MACE,EAAA,uDAAA;AAAA,mBACJ;AAAA,iBACF;AAAA,gBACA,KAAO,EAAA;AAAA,kBACL,UAAY,EAAA,MAAA;AAAA,kBACZ,YAAc,EAAA;AAAA,oBACZ,MAAQ,EAAA,EAAA;AAAA,oBACR,IAAM,EAAA,EAAA;AAAA,mBACR;AAAA,kBACA,IAAM,EAAA;AAAA,oBACJ,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,MAAA,EAAQ,OAAO,cAAK,EAAA;AAAA,oBAC5C;AAAA,sBACE,IAAM,EAAA,cAAA;AAAA,sBACN,KAAO,EAAA,QAAA;AAAA,sBACP,KAAO,EAAA,cAAA;AAAA,sBACP,KAAO,EAAA,EAAA;AAAA,qBACT;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,oBAAA;AAAA,gBACN,KAAO,EAAA,WAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAA,EAAO,EAAE,KAAA,EAAO,0BAAO,EAAA;AAAA,gBACvB,MAAA,EAAQ,EAAE,IAAA,EAAM,gIAAwB,EAAA;AAAA,eAC1C;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n props: {\n titleField: 'text',\n defaultValue: {\n avatar: '',\n text: '',\n },\n rule: [\n { type: 'input', field: 'text', title: '描述' },\n {\n type: 'dkImageInput',\n field: 'avatar',\n title: '头像',\n value: '',\n },\n ],\n },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n {\n type: 'DkEventSelectInput',\n field: 'eventName',\n title: '事件名称',\n value: '',\n props: { label: '弹幕事件' },\n effect: { help: '选择支持弹幕的事件,内容将由该事件传递参数' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AACb,uBAAe;AAAA,EACb,IAAM,EAAA,sBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO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AAA,cACJ;AAAA,gBACE,IAAM,EAAA,UAAA;AAAA,gBACN,KAAO,EAAA,YAAA;AAAA;AAAA,gBAEP,KAAO,EAAA;AAAA,kBACL;AAAA,oBACE,IAAM,EAAA,sEAAA;AAAA,oBACN,MAAQ,EAAA,uDAAA;AAAA,mBACV;AAAA,iBACF;AAAA,gBACA,KAAO,EAAA;AAAA,kBACL,UAAY,EAAA,MAAA;AAAA,kBACZ,YAAc,EAAA;AAAA,oBACZ,MAAQ,EAAA,EAAA;AAAA,oBACR,IAAM,EAAA,EAAA;AAAA,mBACR;AAAA,kBACA,IAAM,EAAA;AAAA,oBACJ,EAAE,IAAM,EAAA,OAAA,EAAS,KAAO,EAAA,MAAA,EAAQ,OAAO,cAAK,EAAA;AAAA,oBAC5C;AAAA,sBACE,IAAM,EAAA,cAAA;AAAA,sBACN,KAAO,EAAA,QAAA;AAAA,sBACP,KAAO,EAAA,cAAA;AAAA,sBACP,KAAO,EAAA,EAAA;AAAA,qBACT;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,oBAAA;AAAA,gBACN,KAAO,EAAA,WAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,EAAA;AAAA,gBACP,KAAA,EAAO,EAAE,KAAA,EAAO,0BAAO,EAAA;AAAA,gBACvB,MAAA,EAAQ,EAAE,IAAA,EAAM,gIAAwB,EAAA;AAAA,eAC1C;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -37,9 +37,7 @@ var DkViewVideo = {
37
37
  suffix: {
38
38
  type: "p",
39
39
  style: { fontSize: "12px", color: "#888" },
40
- children: [
41
- "\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"
42
- ]
40
+ children: ["\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"]
43
41
  }
44
42
  }
45
43
  ]
@@ -48,9 +46,7 @@ var DkViewVideo = {
48
46
  suffix: {
49
47
  type: "p",
50
48
  style: { fontSize: "12px", color: "#888" },
51
- children: [
52
- "\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"
53
- ]
49
+ children: ["\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"]
54
50
  }
55
51
  },
56
52
  {
@@ -60,9 +56,7 @@ var DkViewVideo = {
60
56
  suffix: {
61
57
  type: "p",
62
58
  style: { fontSize: "12px", color: "#888" },
63
- children: [
64
- "\u8BBE\u7F6E\u5F00\u542F\u5F00\u5408\u6A21\u5F0F\u540E\uFF0C\u89C6\u9891\u652F\u6301\u4E0A\u6ED1\u7F29\u653E\u5173\u95ED\u4E0B\u6ED1\u7F29\u653E\u6253\u5F00,\u5C3D\u91CF\u5C06\u89C6\u9891\u6A21\u5757\u653E\u7F6E\u9876\u90E8"
65
- ]
59
+ children: ["\u8BBE\u7F6E\u5F00\u542F\u5F00\u5408\u6A21\u5F0F\u540E\uFF0C\u89C6\u9891\u652F\u6301\u4E0A\u6ED1\u7F29\u653E\u5173\u95ED\u4E0B\u6ED1\u7F29\u653E\u6253\u5F00,\u5C3D\u91CF\u5C06\u89C6\u9891\u6A21\u5757\u653E\u7F6E\u9876\u90E8"]
66
60
  }
67
61
  }
68
62
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px',\n ],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n ],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部',\n ],\n },\n },\n ]\n },\n}\n"],"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0NAAA;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAU,EAAA;AAAA,YACR,oLAAA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,aAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAU,EAAA;AAAA,YACR,iOAAA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px'],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度'],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部'],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AAEb,kBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MAClE,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAA,EAAU,CAAC,0NAA2C,CAAA;AAAA,iBACxD;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAA,EAAU,CAAC,oLAAmC,CAAA;AAAA,SAChD;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,aAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAA,EAAU,CAAC,iOAAwC,CAAA;AAAA,SACrD;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"eventData.mjs","sources":["../../../../src/page-diy/src/utils/eventData.ts"],"sourcesContent":["class EventData {\n events: { id: string | number; label: string; value: any }[] = []\n\n constructor() {}\n\n // 添加单个事件数据\n addEvent(data: { id: string | number; label: string; value: any }) {\n this.events.push({\n id: data.id,\n label: data.label,\n value: data.value,\n })\n }\n\n // 批量添加事件数据\n addEvents(\n dataList: Array<{ id: string | number; label: string; value: any }>\n ) {\n this.events.push(\n ...dataList.map((data) => ({\n id: data.id,\n label: data.label,\n value: data.value,\n }))\n )\n }\n\n // 获取所有事件数据\n getAllEvents() {\n // return [...this.events]\n return this.events\n }\n\n // 根据id获取事件数据\n getEventById(id: string | number) {\n return this.events.find((event) => event.id === id)\n }\n\n // 删除指定id的事件数据\n removeEventById(id: string | number) {\n const index = this.events.findIndex((event) => event.id === id)\n if (index !== -1) {\n this.events.splice(index, 1)\n }\n }\n\n // 删除指定id的事件数据\n removeEventByLabel(label: string | number) {\n const index = this.events.findIndex((event) => event.label === label)\n if (index !== -1) {\n this.events.splice(index, 1)\n }\n }\n\n removeAllEvent() {\n this.events = []\n }\n}\n\nexport default EventData\n"],"names":[],"mappings":"AAAA,MAAM,SAAU,CAAA;AAAA,EACd,SAA+D,EAAC,CAAA;AAAA,EAEhE,WAAc,GAAA;AAAA,GAAC;AAAA;AAAA,EAGf,SAAS,IAA0D,EAAA;AACjE,IAAA,IAAA,CAAK,OAAO,IAAK,CAAA;AAAA,MACf,IAAI,IAAK,CAAA,EAAA;AAAA,MACT,OAAO,IAAK,CAAA,KAAA;AAAA,MACZ,OAAO,IAAK,CAAA,KAAA;AAAA,KACb,CAAA,CAAA;AAAA,GACH;AAAA;AAAA,EAGA,UACE,QACA,EAAA;AACA,IAAA,IAAA,CAAK,MAAO,CAAA,IAAA;AAAA,MACV,GAAG,QAAA,CAAS,GAAI,CAAA,CAAC,IAAU,MAAA;AAAA,QACzB,IAAI,IAAK,CAAA,EAAA;AAAA,QACT,OAAO,IAAK,CAAA,KAAA;AAAA,QACZ,OAAO,IAAK,CAAA,KAAA;AAAA,OACZ,CAAA,CAAA;AAAA,KACJ,CAAA;AAAA,GACF;AAAA;AAAA,EAGA,YAAe,GAAA;AAEb,IAAA,OAAO,IAAK,CAAA,MAAA,CAAA;AAAA,GACd;AAAA;AAAA,EAGA,aAAa,EAAqB,EAAA;AAChC,IAAA,OAAO,KAAK,MAAO,CAAA,IAAA,CAAK,CAAC,KAAU,KAAA,KAAA,CAAM,OAAO,EAAE,CAAA,CAAA;AAAA,GACpD;AAAA;AAAA,EAGA,gBAAgB,EAAqB,EAAA;AACnC,IAAM,MAAA,KAAA,GAAQ,KAAK,MAAO,CAAA,SAAA,CAAU,CAAC,KAAU,KAAA,KAAA,CAAM,OAAO,EAAE,CAAA,CAAA;AAC9D,IAAA,IAAI,UAAU,CAAI,CAAA,EAAA;AAChB,MAAK,IAAA,CAAA,MAAA,CAAO,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF;AAAA;AAAA,EAGA,mBAAmB,KAAwB,EAAA;AACzC,IAAM,MAAA,KAAA,GAAQ,KAAK,MAAO,CAAA,SAAA,CAAU,CAAC,KAAU,KAAA,KAAA,CAAM,UAAU,KAAK,CAAA,CAAA;AACpE,IAAA,IAAI,UAAU,CAAI,CAAA,EAAA;AAChB,MAAK,IAAA,CAAA,MAAA,CAAO,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF;AAAA,EAEA,cAAiB,GAAA;AACf,IAAA,IAAA,CAAK,SAAS,EAAC,CAAA;AAAA,GACjB;AACF;;;;"}
1
+ {"version":3,"file":"eventData.mjs","sources":["../../../../src/page-diy/src/utils/eventData.ts"],"sourcesContent":["class EventData {\n events: { id: string | number; label: string; value: any }[] = []\n\n constructor() {}\n\n // 添加单个事件数据\n addEvent(data: { id: string | number; label: string; value: any }) {\n this.events.push({\n id: data.id,\n label: data.label,\n value: data.value,\n })\n }\n\n // 批量添加事件数据\n addEvents(dataList: Array<{ id: string | number; label: string; value: any }>) {\n this.events.push(\n ...dataList.map((data) => ({\n id: data.id,\n label: data.label,\n value: data.value,\n }))\n )\n }\n\n // 获取所有事件数据\n getAllEvents() {\n // return [...this.events]\n return this.events\n }\n\n // 根据id获取事件数据\n getEventById(id: string | number) {\n return this.events.find((event) => event.id === id)\n }\n\n // 删除指定id的事件数据\n removeEventById(id: string | number) {\n const index = this.events.findIndex((event) => event.id === id)\n if (index !== -1) {\n this.events.splice(index, 1)\n }\n }\n\n // 删除指定id的事件数据\n removeEventByLabel(label: string | number) {\n const index = this.events.findIndex((event) => event.label === label)\n if (index !== -1) {\n this.events.splice(index, 1)\n }\n }\n\n removeAllEvent() {\n this.events = []\n }\n}\n\nexport default EventData\n"],"names":[],"mappings":"AAAA,MAAM,SAAU,CAAA;AAAA,EACd,SAA+D,EAAC,CAAA;AAAA,EAEhE,WAAc,GAAA;AAAA,GAAC;AAAA;AAAA,EAGf,SAAS,IAA0D,EAAA;AACjE,IAAA,IAAA,CAAK,OAAO,IAAK,CAAA;AAAA,MACf,IAAI,IAAK,CAAA,EAAA;AAAA,MACT,OAAO,IAAK,CAAA,KAAA;AAAA,MACZ,OAAO,IAAK,CAAA,KAAA;AAAA,KACb,CAAA,CAAA;AAAA,GACH;AAAA;AAAA,EAGA,UAAU,QAAqE,EAAA;AAC7E,IAAA,IAAA,CAAK,MAAO,CAAA,IAAA;AAAA,MACV,GAAG,QAAA,CAAS,GAAI,CAAA,CAAC,IAAU,MAAA;AAAA,QACzB,IAAI,IAAK,CAAA,EAAA;AAAA,QACT,OAAO,IAAK,CAAA,KAAA;AAAA,QACZ,OAAO,IAAK,CAAA,KAAA;AAAA,OACZ,CAAA,CAAA;AAAA,KACJ,CAAA;AAAA,GACF;AAAA;AAAA,EAGA,YAAe,GAAA;AAEb,IAAA,OAAO,IAAK,CAAA,MAAA,CAAA;AAAA,GACd;AAAA;AAAA,EAGA,aAAa,EAAqB,EAAA;AAChC,IAAA,OAAO,KAAK,MAAO,CAAA,IAAA,CAAK,CAAC,KAAU,KAAA,KAAA,CAAM,OAAO,EAAE,CAAA,CAAA;AAAA,GACpD;AAAA;AAAA,EAGA,gBAAgB,EAAqB,EAAA;AACnC,IAAM,MAAA,KAAA,GAAQ,KAAK,MAAO,CAAA,SAAA,CAAU,CAAC,KAAU,KAAA,KAAA,CAAM,OAAO,EAAE,CAAA,CAAA;AAC9D,IAAA,IAAI,UAAU,CAAI,CAAA,EAAA;AAChB,MAAK,IAAA,CAAA,MAAA,CAAO,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF;AAAA;AAAA,EAGA,mBAAmB,KAAwB,EAAA;AACzC,IAAM,MAAA,KAAA,GAAQ,KAAK,MAAO,CAAA,SAAA,CAAU,CAAC,KAAU,KAAA,KAAA,CAAM,UAAU,KAAK,CAAA,CAAA;AACpE,IAAA,IAAI,UAAU,CAAI,CAAA,EAAA;AAChB,MAAK,IAAA,CAAA,MAAA,CAAO,MAAO,CAAA,KAAA,EAAO,CAAC,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF;AAAA,EAEA,cAAiB,GAAA;AACf,IAAA,IAAA,CAAK,SAAS,EAAC,CAAA;AAAA,GACjB;AACF;;;;"}
@@ -59,27 +59,14 @@ const _sfc_main = {
59
59
  views.value = JSON.parse(JSON.stringify(props.hotData.views));
60
60
  // 根据容器宽度调整热图区域的位置与尺寸
61
61
  views.value.forEach((view) => {
62
- const {
63
- left,
64
- top,
65
- width: originalWidth,
66
- height: originalHeight,
67
- } = view.css;
62
+ const { left, top, width: originalWidth, height: originalHeight } = view.css;
68
63
  // 计算实际宽度和高度,假设按比例缩放
69
- const actualWidth = Math.round(
70
- originalWidth * (containerWidth.value / props.hotData.width)
71
- );
72
- const actualHeight = Math.round(
73
- originalHeight * (containerWidth.value / props.hotData.width)
74
- );
64
+ const actualWidth = Math.round(originalWidth * (containerWidth.value / props.hotData.width));
65
+ const actualHeight = Math.round(originalHeight * (containerWidth.value / props.hotData.width));
75
66
 
76
67
  // 计算实际left和top
77
- const actualLeft = Math.round(
78
- left * (containerWidth.value / props.hotData.width)
79
- );
80
- const actualTop = Math.round(
81
- top * (containerWidth.value / props.hotData.width)
82
- );
68
+ const actualLeft = Math.round(left * (containerWidth.value / props.hotData.width));
69
+ const actualTop = Math.round(top * (containerWidth.value / props.hotData.width));
83
70
  // 更新视图样式
84
71
  view.css = {
85
72
  ...view.css,
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinHotArea.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinHotArea.vue"],"sourcesContent":["<template>\n <div ref=\"el\" class=\"dk-min-area\">\n <img\n v-if=\"hotData.background\"\n :src=\"hotData.background\"\n alt=\"\"\n style=\"width: 100%\"\n />\n <el-empty v-else description=\"请上传背景图\"></el-empty>\n <div\n v-for=\"(view, index) in views\"\n :key=\"index\"\n :style=\"{\n position: 'absolute',\n ...view.css,\n background: showMask ? '#0008' : '#0004',\n }\"\n >\n <!-- 可以在这里放置热图链接或覆盖层 -->\n <div\n :style=\"{ width: view.css.width, height: view.css.height }\"\n class=\"hot-item\"\n >\n {{ index + 1 }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { onMounted, ref, onUnmounted, watch } from 'vue'\n\nexport default {\n name: 'DkMinHotArea',\n props: {\n hotData: {\n default: () => ({}),\n type: Object,\n },\n showMask: {\n default: false,\n type: Boolean,\n },\n },\n setup(props) {\n const el = ref(null)\n let ro = null\n const containerWidth = ref(0)\n\n const views = ref([])\n\n // const\n onMounted(() => {\n ro = new (window.ResizeObserver || ResizeObserver)(handleResize)\n ro.observe(el.value)\n // 初始化容器宽度\n containerWidth.value = el.value.clientWidth\n // 计算并转换热图区域的位置和尺寸\n adjustHotspots()\n })\n\n onUnmounted(() => {\n if (ro) {\n ro.disconnect()\n }\n })\n\n watch(\n () => props.hotData.views,\n () => {\n adjustHotspots()\n },\n {\n deep: true,\n }\n )\n\n function handleResize(entries) {\n entries.forEach((entry) => {\n if (entry.target === el.value) {\n containerWidth.value = entry.contentRect.width\n adjustHotspots()\n }\n })\n }\n\n function adjustHotspots() {\n views.value = JSON.parse(JSON.stringify(props.hotData.views))\n // 根据容器宽度调整热图区域的位置与尺寸\n views.value.forEach((view) => {\n const {\n left,\n top,\n width: originalWidth,\n height: originalHeight,\n } = view.css\n // 计算实际宽度和高度,假设按比例缩放\n const actualWidth = Math.round(\n originalWidth * (containerWidth.value / props.hotData.width)\n )\n const actualHeight = Math.round(\n originalHeight * (containerWidth.value / props.hotData.width)\n )\n\n // 计算实际left和top\n const actualLeft = Math.round(\n left * (containerWidth.value / props.hotData.width)\n )\n const actualTop = Math.round(\n top * (containerWidth.value / props.hotData.width)\n )\n // 更新视图样式\n view.css = {\n ...view.css,\n left: actualLeft + 'px',\n top: actualTop + 'px',\n width: actualWidth + 'px',\n height: actualHeight + 'px',\n }\n })\n }\n\n return {\n el,\n containerWidth,\n views,\n }\n },\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createBlock","_Fragment","_renderList","_normalizeStyle","_createCommentVNode","_createElementVNode"],"mappings":";;;AAgCA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,cAAc;AACpB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE;AACP,MAAA,OAAO,EAAE,OAAO,EAAE,CAAC;MACnB,IAAI,EAAE,MAAM;KACb;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;GACF;EACD,KAAK,CAAC,KAAK,EAAE;AACX,IAAA,MAAM,EAAG,GAAE,GAAG,CAAC,IAAI,EAAA;AACnB,IAAA,IAAI,KAAK,KAAG;IACZ,MAAM,cAAa,GAAI,GAAG,CAAC,CAAC,EAAA;;AAE5B,IAAA,MAAM,KAAI,GAAI,GAAG,CAAC,EAAE,EAAA;;AAEpB;AACA,IAAA,SAAS,CAAC,MAAM;MACd,EAAC,GAAI,KAAK,MAAM,CAAC,cAAe,IAAG,cAAc,EAAE,YAAY,EAAA;AAC/D,MAAA,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAA;AACnB;AACA,MAAA,cAAc,CAAC,KAAI,GAAI,EAAE,CAAC,KAAK,CAAC,YAAU;AAC1C;AACA,MAAA,cAAc,GAAC;KAChB,EAAA;;AAED,IAAA,WAAW,CAAC,MAAM;AAChB,MAAA,IAAI,EAAE,EAAE;AACN,QAAA,EAAE,CAAC,UAAU,GAAC;AAChB,OAAA;KACD,EAAA;;IAED,KAAK;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,CAAA,KAAA,EAAA;UAJH,KAAK,EAAAF,cAAA,CAAA,EAAA,KAAA,EAAW,IAAI,CAAC,GAAG,CAAC,KAAK,EAAA,MAAA,EAAU,IAAI,CAAC,GAAG,CAAC,MAAM,EAAA,CAAA;AACxD,UAAA,KAAK,EAAC,UAAU;2BAEb,KAAK,GAAA,CAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkMinHotArea.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinHotArea.vue"],"sourcesContent":["<template>\n <div ref=\"el\" class=\"dk-min-area\">\n <img v-if=\"hotData.background\" :src=\"hotData.background\" alt=\"\" style=\"width: 100%\" />\n <el-empty v-else description=\"请上传背景图\"></el-empty>\n <div\n v-for=\"(view, index) in views\"\n :key=\"index\"\n :style=\"{\n position: 'absolute',\n ...view.css,\n background: showMask ? '#0008' : '#0004',\n }\"\n >\n <!-- 可以在这里放置热图链接或覆盖层 -->\n <div :style=\"{ width: view.css.width, height: view.css.height }\" class=\"hot-item\">\n {{ index + 1 }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { onMounted, ref, onUnmounted, watch } from 'vue'\n\nexport default {\n name: 'DkMinHotArea',\n props: {\n hotData: {\n default: () => ({}),\n type: Object,\n },\n showMask: {\n default: false,\n type: Boolean,\n },\n },\n setup(props) {\n const el = ref(null)\n let ro = null\n const containerWidth = ref(0)\n\n const views = ref([])\n\n // const\n onMounted(() => {\n ro = new (window.ResizeObserver || ResizeObserver)(handleResize)\n ro.observe(el.value)\n // 初始化容器宽度\n containerWidth.value = el.value.clientWidth\n // 计算并转换热图区域的位置和尺寸\n adjustHotspots()\n })\n\n onUnmounted(() => {\n if (ro) {\n ro.disconnect()\n }\n })\n\n watch(\n () => props.hotData.views,\n () => {\n adjustHotspots()\n },\n {\n deep: true,\n }\n )\n\n function handleResize(entries) {\n entries.forEach((entry) => {\n if (entry.target === el.value) {\n containerWidth.value = entry.contentRect.width\n adjustHotspots()\n }\n })\n }\n\n function adjustHotspots() {\n views.value = JSON.parse(JSON.stringify(props.hotData.views))\n // 根据容器宽度调整热图区域的位置与尺寸\n views.value.forEach((view) => {\n const { left, top, width: originalWidth, height: originalHeight } = view.css\n // 计算实际宽度和高度,假设按比例缩放\n const actualWidth = Math.round(originalWidth * (containerWidth.value / props.hotData.width))\n const actualHeight = Math.round(originalHeight * (containerWidth.value / props.hotData.width))\n\n // 计算实际left和top\n const actualLeft = Math.round(left * (containerWidth.value / props.hotData.width))\n const actualTop = Math.round(top * (containerWidth.value / props.hotData.width))\n // 更新视图样式\n view.css = {\n ...view.css,\n left: actualLeft + 'px',\n top: actualTop + 'px',\n width: actualWidth + 'px',\n height: actualHeight + 'px',\n }\n })\n }\n\n return {\n el,\n containerWidth,\n views,\n }\n },\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createBlock","_Fragment","_renderList","_normalizeStyle","_createCommentVNode","_createElementVNode"],"mappings":";;;AAwBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,cAAc;AACpB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE;AACP,MAAA,OAAO,EAAE,OAAO,EAAE,CAAC;MACnB,IAAI,EAAE,MAAM;KACb;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;GACF;EACD,KAAK,CAAC,KAAK,EAAE;AACX,IAAA,MAAM,EAAG,GAAE,GAAG,CAAC,IAAI,EAAA;AACnB,IAAA,IAAI,KAAK,KAAG;IACZ,MAAM,cAAa,GAAI,GAAG,CAAC,CAAC,EAAA;;AAE5B,IAAA,MAAM,KAAI,GAAI,GAAG,CAAC,EAAE,EAAA;;AAEpB;AACA,IAAA,SAAS,CAAC,MAAM;MACd,EAAC,GAAI,KAAK,MAAM,CAAC,cAAe,IAAG,cAAc,EAAE,YAAY,EAAA;AAC/D,MAAA,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAA;A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BH,kBAaM,CAAA,KAAA,EAAA;AAXH,QAAA,GAAG,EAAE,KAAK;QACV,KAAK,EAAAI,cAAA,CAAA;;AAA6C,QAAA,GAAA,IAAI,CAAC,GAAG;oBAAsB,MAAQ,CAAA,QAAA,GAAA,OAAA,GAAA,OAAA;;;QAMzFC,kBAAwB,CAAA,mBAAA,CAAA;QACxBC,kBAEM,CAAA,KAAA,EAAA;UAFA,KAAK,EAAAF,cAAA,CAAA,EAAA,KAAA,EAAW,IAAI,CAAC,GAAG,CAAC,KAAK,EAAA,MAAA,EAAU,IAAI,CAAC,GAAG,CAAC,MAAM,EAAA,CAAA;AAAI,UAAA,KAAK,EAAC,UAAU;2BAC5E,KAAK,GAAA,CAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinSwiperImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinSwiperImage.vue"],"sourcesContent":["<template>\n <van-swipe\n class=\"dk-min-swipe\"\n :autoplay=\"autoplay\"\n indicator-color=\"white\"\n :style=\"{ background: bgColor || '' }\"\n >\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image :src=\"item.img\" width=\"100%\" :height=\"height\" />\n <div v-if=\"showTitle\" class=\"swipe-title\">\n {{ item.title }}\n </div>\n </van-swipe-item>\n </van-swipe>\n</template>\n\n<script>\nexport default {\n name: 'DkMinSwiperImage',\n props: {\n value: {\n default: '',\n type: String,\n },\n height: {\n default: '',\n type: [Number, String],\n },\n autoplay: {\n default: 3000,\n type: [Number, String],\n },\n swipeList: {\n default: () => [],\n type: [Array],\n },\n imgMode: {\n default: 'aspectFill',\n type: String,\n },\n bgColor: {\n default: '',\n type: String,\n },\n showTitle: {\n default: false,\n type: Boolean,\n },\n },\n data() {\n return {}\n },\n computed: {},\n watch: {\n swipeList(val) {},\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_render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,CAKiBC,QALqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,SAAS,EAAvB,CAAA,IAAI,EAAE,GAAG,KAAA;6BAAjCJ,WAKiB,CAAA,yBAAA,EAAA,EALiC,GAAG,EAAE,GAAG,EAAA,EAAA;2BACxD,MAA2D;YAA3DK,WAA2D,CAAA,oBAAA,EAAA;cAA/C,GAAG,EAAE,IAAI,CAAC,GAAG;AAAE,cAAA,KAAK,EAAC,MAAM;AAAE,cAAA,MAAM,EAAE,MAAM,CAAA,MAAA;;aAC5C,MAAS,CAAA,SAAA;AAApB,iBAAAJ,SAAA,EAAA,EAAAC,kBAAA,CAEM,KAFN,EAAA,UAEM,EADDI,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,YAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkMinSwiperImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinSwiperImage.vue"],"sourcesContent":["<template>\n <van-swipe class=\"dk-min-swipe\" :autoplay=\"autoplay\" indicator-color=\"white\" :style=\"{ background: bgColor || '' }\">\n <van-swipe-item v-for=\"(item, key) in swipeList\" :key=\"key\">\n <van-image :src=\"item.img\" width=\"100%\" :height=\"height\" />\n <div v-if=\"showTitle\" class=\"swipe-title\">\n {{ item.title }}\n </div>\n </van-swipe-item>\n </van-swipe>\n</template>\n\n<script>\nexport default {\n name: 'DkMinSwiperImage',\n props: {\n value: {\n default: '',\n type: String,\n },\n height: {\n default: '',\n type: [Number, String],\n },\n autoplay: {\n default: 3000,\n type: [Number, String],\n },\n swipeList: {\n default: () => [],\n type: [Array],\n },\n imgMode: {\n default: 'aspectFill',\n type: String,\n },\n bgColor: {\n default: '',\n type: String,\n },\n showTitle: {\n default: false,\n type: Boolean,\n },\n },\n data() {\n return {}\n },\n computed: {},\n watch: {\n swipeList(val) {},\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList","_create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BC,QALqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,SAAS,EAAvB,CAAA,IAAI,EAAE,GAAG,KAAA;6BAAjCJ,WAKiB,CAAA,yBAAA,EAAA,EALiC,GAAG,EAAE,GAAG,EAAA,EAAA;2BACxD,MAA2D;YAA3DK,WAA2D,CAAA,oBAAA,EAAA;cAA/C,GAAG,EAAE,IAAI,CAAC,GAAG;AAAE,cAAA,KAAK,EAAC,MAAM;AAAE,cAAA,MAAM,EAAE,MAAM,CAAA,MAAA;;aAC5C,MAAS,CAAA,SAAA;AAApB,iBAAAJ,SAAA,EAAA,EAAAC,kBAAA,CAEM,KAFN,EAAA,UAEM,EADDI,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,YAAA;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkMinTitle.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-min-title\">\n <div v-if=\"type === '0'\" :style=\"{ textAlign: align, color: color }\">\n <span>{{ title }}</span>\n </div>\n <div\n v-else\n style=\"\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n \"\n >\n <div>\n <span :style=\"{ color: color }\">{{ title }} </span>\n <span\n style=\"margin-left: 5px; font-size: 12px\"\n :style=\"{ color: subColor }\"\n >{{ subtitle }}\n </span>\n </div>\n <div v-if=\"isMore\" :style=\"{ color: moreColor }\" style=\"font-size: 12px\">\n {{ moreText }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkMinTitle',\n props: {\n type: { default: '0', type: String },\n title: { default: '', type: String },\n subtitle: { default: '', type: String },\n align: { default: 'left', type: String },\n color: { default: '#000', type: String },\n subColor: { default: '#999', type: String },\n isMore: { default: true, type: Boolean },\n moreText: { default: '查看更多', type: String },\n url: { default: '链接地址', type: String },\n moreColor: { default: '#999', type: String },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n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EAAA,EAAAC,kBAAA,CAwBM,OAxBN,UAwBM,EAAA;KAvBO,MAAI,CAAA,IAAA,KAAA,GAAA;sBAAfA,kBAEM,CAAA,KAAA,EAAA;;UAFoB,KAAK,EAAAC,cAAA,CAAA,EAAA,SAAA,EAAe,MAAK,CAAA,KAAA,EAAA,KAAA,EAAS,MAAK,CAAA,KAAA,EAAA,CAAA;;AAC/D,UAAAC,kBAAA,CAAwB,8BAAf,MAAK,CAAA,KAAA,CAAA,EAAA,CAAA,YAAA;;AAEhB,SAAAH,SAAA,EAAA,EAAAC,kBAAA,CAmBM,OAnBN,UAmBM,EAAA;UAXJE,kBAOM,CAAA,KAAA,EAAA,IAAA,EAAA;YANJA,kBAAmD,CAAA,MAAA,EAAA;AAA5C,cAAA,KAAK,0BAAW,MAAK,CAAA,KAAA,EAAA,CAAA;+BAAO,MAAK,CAAA,KAAA,CAAA,EAAA,CAAA,mBAAA;YACxCA,kBAIO,CAAA,MAAA,EAAA;cAHL,KAAyC,EAAAD,cAAA,CAAA,CAAzC,CAAyC,aAAA,CAAA,KAAA,CAAA,WAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAA,EACxB,MAAQ,CAAA,QAAA,EAAA,CAAA,CAAA;+BACrB,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;WAGL,MAAM,CAAA,MAAA;4BAAjBD,kBAEM,CAAA,KAAA,EAAA;;gBAFc,KAAK,EAAAC,cAAA,CAAA,CAAA,EAAA,KAAA,EAAW,MAAS,CAAA,SAAA,EAAA,EAAI,CAAuB,WAAA,CAAA,MAAA,CAAA,CAAA,CAAA;iCACnE,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkMinTitle.vue.mjs","sources":["../../../../../src/page-diy/src/views/min/DkMinTitle.vue"],"sourcesContent":["<template>\n <div class=\"dk-min-title\">\n <div v-if=\"type === '0'\" :style=\"{ textAlign: align, color: color }\">\n <span>{{ title }}</span>\n </div>\n <div v-else style=\"display: flex; align-items: flex-end; justify-content: space-between\">\n <div>\n <span :style=\"{ color: color }\">{{ title }} </span>\n <span style=\"margin-left: 5px; font-size: 12px\" :style=\"{ color: subColor }\">{{ subtitle }} </span>\n </div>\n <div v-if=\"isMore\" :style=\"{ color: moreColor }\" style=\"font-size: 12px\">\n {{ moreText }}\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkMinTitle',\n props: {\n type: { default: '0', type: String },\n title: { default: '', type: String },\n subtitle: { default: '', type: String },\n align: { default: 'left', type: String },\n color: { default: '#000', type: String },\n subColor: { default: '#999', type: String },\n isMore: { default: true, type: Boolean },\n moreText: { default: '查看更多', type: String },\n url: { default: '链接地址', type: String },\n moreColor: { default: '#999', type: String },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode"],"mappings":";;;AAkBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AAC3C,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS;AACxC,IAAA,QAAQ,EAAE,EAAE,O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AAA,EAAkB,MAAQ,CAAA,QAAA,EAAA,CAAA,CAAA;+BAAO,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;WAE/E,MAAM,CAAA,MAAA;4BAAjBD,kBAEM,CAAA,KAAA,EAAA;;gBAFc,KAAK,EAAAC,cAAA,CAAA,CAAA,EAAA,KAAA,EAAW,MAAS,CAAA,SAAA,EAAA,EAAI,CAAuB,WAAA,CAAA,MAAA,CAAA,CAAA,CAAA;iCACnE,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewBulletChat.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewBulletChat.vue"],"sourcesContent":["<template>\n <van-swipe\n v-if=\"dataType === 'default'\"\n vertical\n class=\"dk-view-bullet-chat\"\n :style=\"{ background: bgColor, color: textColor }\"\n :autoplay=\"autoplay\"\n :show-indicators=\"false\"\n >\n <van-swipe-item v-for=\"(item, key) in bulletData\" :key=\"key\">\n <div class=\"bullet-content\">\n <img v-if=\"item.avatar\" :src=\"item.avatar\" alt=\"\" />\n <span class=\"over\">{{ item.text }}</span>\n </div>\n </van-swipe-item>\n </van-swipe>\n <div\n v-else\n class=\"dk-view-bullet-chat\"\n style=\"display: flex\"\n :style=\"{ background: bgColor, color: textColor }\"\n >\n <div class=\"bullet-content\">\n <span class=\"over\">当前数据由事件传入</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewBulletChat',\n props: {\n bgColor: { default: '', type: String },\n textColor: { default: '', type: String },\n dataType: { default: '', type: String }, // 内容来源\n eventName: { default: '', type: String }, // 事件名称\n autoplay: { default: 3000, type: Number },\n bulletData: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementVNode","_createBlock","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString"],"mapp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A;AAC9C,QAAA,QAAQ,EAAE,MAAQ,CAAA,QAAA;AAClB,QAAA,iBAAe,EAAE,KAAK;;yBAEP,MAAiC;AAAjD,WAAAC,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,CAKiBC,QALqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,UAAU,EAAxB,CAAA,IAAI,EAAE,GAAG,KAAA;iCAAjCL,WAKiB,CAAA,yBAAA,EAAA,EALkC,GAAG,EAAE,GAAG,EAAA,EAAA;+BACzD,MAGM;AAHN,gBAAAD,kBAAA,CAGM,OAHN,UAGM,EAAA;AAFO,kBAAA,CAAA,IAAI,CAAC,MAAM;oCAAtBI,kBAAoD,CAAA,KAAA,EAAA;;wBAA3B,GAAG,EAAE,IAAI,CAAC,MAAM;AAAE,wBAAA,GAAG,EAAC,EAAE;;;AACjD,kBAAAJ,kBAAA,CAAyC,MAAzC,EAAA,UAAyC,EAAnBO,eAAA,CAAA,IAAI,CAAC,IAAI,CAAA,EAAA,CAAA,YAAA;;;;;;;;;oBAIrCH,kBASM,CAAA,KAAA,EAAA;;AAPJ,QAAA,KAAK,EAAC,qBAAqB;AAC3B,QAAA,KAAqB,EAArBF,cAAA,CAAA,CAAA,CAAA,SAAA,CAAA,MAAA,CAAqB,EACC,EAAA,UAAA,EAAA,MAAA,CAAA,OAAO,SAAS,MAAS,CAAA,SAAA,EAAA,CAAA,CAAA;;;;;;;"}
1
+ {"version":3,"file":"DkViewBulletChat.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewBulletChat.vue"],"sourcesContent":["<template>\n <van-swipe\n v-if=\"dataType === 'default'\"\n vertical\n class=\"dk-view-bullet-chat\"\n :style=\"{ background: bgColor, color: textColor }\"\n :autoplay=\"autoplay\"\n :show-indicators=\"false\"\n >\n <van-swipe-item v-for=\"(item, key) in bulletData\" :key=\"key\">\n <div class=\"bullet-content\">\n <img v-if=\"item.avatar\" :src=\"item.avatar\" alt=\"\" />\n <span class=\"over\">{{ item.text }}</span>\n </div>\n </van-swipe-item>\n </van-swipe>\n <div v-else class=\"dk-view-bullet-chat\" style=\"display: flex\" :style=\"{ background: bgColor, color: textColor }\">\n <div class=\"bullet-content\">\n <span class=\"over\">当前数据由事件传入</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewBulletChat',\n props: {\n bgColor: { default: '', type: String },\n textColor: { default: '', type: String },\n dataType: { default: '', type: String }, // 内容来源\n eventName: { default: '', type: String }, // 事件名称\n autoplay: { default: 3000, type: Number },\n bulletData: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementVNode","_createBlock","_normalizeStyle","_openBlock","_createElementBlock","_Fragment","_renderList","_toDisplayString"],"mappings":";;;AAwBA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,kBAAkB;AACxB,EAAA,KAAK,EAAE;AACL,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACtC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;IACzC,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;AAnCW,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC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A,KAAqB,EAArBF,cAAA,CAAA,CAAA,CAAA,SAAA,CAAA,MAAA,CAAqB,EAAuB,EAAA,UAAA,EAAA,MAAA,CAAA,OAAO,SAAS,MAAS,CAAA,SAAA,EAAA,CAAA,CAAA;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewCell.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewCell.vue"],"sourcesContent":["<template>\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in groups\"\n :key=\"key\"\n :title=\"item.title\"\n :value=\"item.value\"\n >\n </van-cell>\n </van-cell-group>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCell',\n props: {\n groups: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList"],"mappings":";;;AAaA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;;uBA5BEA,WAQiB,CAAA,yBAAA,EAAA,IAAA,EAAA;qBANb,MAA6B;AAD/B,OAAAC,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,CAMWC,QALa,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,MAAM,EAApB,CAAA,IAAI,EAAE,GAAG,KAAA;6BADnBJ,WAMW,CAAA,mBAAA,EAAA;AAJR,UAAA,GAAG,EAAE,GAAG;UACR,KAAK,EAAE,IAAI,CAAC,KAAK;UACjB,KAAK,EAAE,IAAI,CAAC,KAAK;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewCell.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewCell.vue"],"sourcesContent":["<template>\n <van-cell-group>\n <van-cell v-for=\"(item, key) in groups\" :key=\"key\" :title=\"item.title\" :value=\"item.value\"> </van-cell>\n </van-cell-group>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCell',\n props: {\n groups: {\n default: () => {\n return []\n },\n type: Array,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createBlock","_openBlock","_createElementBlock","_Fragment","_renderList"],"mappings":";;;AAOA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,YAAY;AAClB,EAAA,KAAK,EAAE;AACL,IAAA,MAAM,EAAE;MACN,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,KAAK;KACZ;GACF;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;;uBAtBEA,WAEiB,CAAA,yBAAA,EAAA,IAAA,EAAA;qBADL,MAA6B;AAAvC,OAAAC,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,CAAuGC,QAAvE,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,MAAM,EAApB,CAAA,IAAI,EAAE,GAAG,KAAA;6BAA3BJ,WAAuG,CAAA,mBAAA,EAAA;AAA9D,UAAA,GAAG,EAAE,GAAG;UAAG,KAAK,EAAE,IAAI,CAAC,KAAK;UAAG,KAAK,EAAE,IAAI,CAAC,KAAK;;;;;;;;;;;"}
@@ -57,9 +57,7 @@ const _sfc_main = {
57
57
  },
58
58
  vanBtnColor() {
59
59
  if (this.color && this.color2) {
60
- return (
61
- 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'
62
- )
60
+ return 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'
63
61
  } else if (this.color) {
64
62
  return this.color
65
63
  } else if (this.color2) {
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewCommonBtn.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewCommonBtn.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-common-btn\">\n <div v-if=\"type === 'btn'\" class=\"btn\">\n <van-button\n type=\"primary\"\n :block=\"block\"\n :round=\"round\"\n :size=\"size\"\n :color=\"vanBtnColor\"\n :icon=\"icon\"\n >\n {{ btnText }}\n </van-button>\n </div>\n <div v-else class=\"f-btn\">\n <div v-if=\"img\" class=\"image-content\">\n <img :src=\"img\" alt=\"\" :width=\"imgSize\" />\n </div>\n <div :style=\"textStyle\" class=\"f-btn-content\">\n <van-icon :name=\"icon\" :size=\"iconSize\" />\n <span :style=\"{ fontSize: fontSize + 'px' }\"> {{ fBtnText }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCommonBtn',\n props: {\n posterData: {\n default: () => {\n return {}\n },\n type: [Object],\n },\n type: { default: 'btn', type: [String] },\n icon: { default: '', type: String },\n // 图片配置\n imgSize: { default: 20, type: [String, Number] },\n img: { default: '', type: String },\n imgText: { default: '', type: String },\n // 悬浮配置\n fBtnText: { default: '自定义文本', type: String },\n fBgColor: { default: '#ff3d2c', type: String },\n isTextBlock: { default: true, type: Boolean },\n fColor: { default: '#fff', type: String },\n fWSize: { default: 20, type: [String, Number] },\n fHSize: { default: 20, type: [String, Number] },\n borderRadius: { default: 20, type: [String, Number] },\n fontSize: { default: 12, type: [String, Number] },\n fontTopSize: { default: 0, type: [String, Number] },\n iconSize: { default: 12, type: [String, Number] },\n // 按钮配置\n btnText: { default: '按钮文字', type: String },\n block: { default: true, type: Boolean },\n round: { default: true, type: Boolean },\n size: { default: 'normal', type: String },\n color: { default: '#ff3d2c', type: String },\n color2: { default: '', type: String },\n },\n data() {\n return {}\n },\n computed: {\n textStyle() {\n if (this.isTextBlock) {\n return {\n backgroundColor: this.fBgColor,\n width: this.fWSize + 'px',\n height: this.fHSize + 'px',\n color: this.fColor,\n borderRadius: this.borderRadius + 'px',\n marginTop: this.fontTopSize + 'px',\n }\n } else {\n return {\n marginTop: this.fontTopSize + 'px',\n }\n }\n },\n vanBtnColor() {\n if (this.color && this.color2) {\n return (\n 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'\n )\n } else if (this.color) {\n return this.color\n } else if (this.color2) {\n return this.color2\n } else {\n return ''\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_createElementVNode"],"mappings":";;;AA2BA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;IACL,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,CAAC,MAAM,CAAC;KACf;AACD,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG;IACxC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;;AAEnC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG;IAChD,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;;AAEtC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ;AAC5C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC9C,IAAA,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAA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VJC,WASa,CAAA,qBAAA,EAAA;AARX,YAAA,IAAI,EAAC,SAAS;AACb,YAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,YAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,YAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AACV,YAAA,KAAK,EAAE,QAAW,CAAA,WAAA;AAClB,YAAA,IAAI,EAAE,MAAI,CAAA,IAAA;;6BAEX,MAAa;8CAAV,MAAO,CAAA,OAAA,CAAA,EAAA,CAAA,YAAA;;;;;AAGd,SAAAF,SAAA,EAAA,EAAAC,kBAAA,CAQM,OARN,UAQM,EAAA;WAPO,MAAG,CAAA,GAAA;AAAd,eAAAD,SAAA,EAAA,EAAAC,kBAAA,CAEM,OAFN,UAEM,EAAA;gBADJE,kBAA0C,CAAA,KAAA,EAAA;AAApC,kBAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,kBAAA,GAAG,EAAC,EAAE;AAAE,kBAAA,KAAK,EAAE,MAAO,CAAA,OAAA;;;;UAExCA,kBAGM,CAAA,KAAA,EAAA;AAHA,YAAA,KAAK,iBAAE,QAAS,CAAA,SAAA,CAAA;AAAE,YAAA,KAAK,EAAC,eAAe;;YAC3CD,WAA0C,CAAA,mBAAA,EAAA;AAA/B,cAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,cAAA,IAAI,EAAE,MAAQ,CAAA,QAAA;;YACtCC,kBAAmE,CAAA,MAAA,EAAA;AAA5D,cAAA,KAAK,6BAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;+BAAe,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewCommonBtn.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewCommonBtn.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-common-btn\">\n <div v-if=\"type === 'btn'\" class=\"btn\">\n <van-button type=\"primary\" :block=\"block\" :round=\"round\" :size=\"size\" :color=\"vanBtnColor\" :icon=\"icon\">\n {{ btnText }}\n </van-button>\n </div>\n <div v-else class=\"f-btn\">\n <div v-if=\"img\" class=\"image-content\">\n <img :src=\"img\" alt=\"\" :width=\"imgSize\" />\n </div>\n <div :style=\"textStyle\" class=\"f-btn-content\">\n <van-icon :name=\"icon\" :size=\"iconSize\" />\n <span :style=\"{ fontSize: fontSize + 'px' }\"> {{ fBtnText }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewCommonBtn',\n props: {\n posterData: {\n default: () => {\n return {}\n },\n type: [Object],\n },\n type: { default: 'btn', type: [String] },\n icon: { default: '', type: String },\n // 图片配置\n imgSize: { default: 20, type: [String, Number] },\n img: { default: '', type: String },\n imgText: { default: '', type: String },\n // 悬浮配置\n fBtnText: { default: '自定义文本', type: String },\n fBgColor: { default: '#ff3d2c', type: String },\n isTextBlock: { default: true, type: Boolean },\n fColor: { default: '#fff', type: String },\n fWSize: { default: 20, type: [String, Number] },\n fHSize: { default: 20, type: [String, Number] },\n borderRadius: { default: 20, type: [String, Number] },\n fontSize: { default: 12, type: [String, Number] },\n fontTopSize: { default: 0, type: [String, Number] },\n iconSize: { default: 12, type: [String, Number] },\n // 按钮配置\n btnText: { default: '按钮文字', type: String },\n block: { default: true, type: Boolean },\n round: { default: true, type: Boolean },\n size: { default: 'normal', type: String },\n color: { default: '#ff3d2c', type: String },\n color2: { default: '', type: String },\n },\n data() {\n return {}\n },\n computed: {\n textStyle() {\n if (this.isTextBlock) {\n return {\n backgroundColor: this.fBgColor,\n width: this.fWSize + 'px',\n height: this.fHSize + 'px',\n color: this.fColor,\n borderRadius: this.borderRadius + 'px',\n marginTop: this.fontTopSize + 'px',\n }\n } else {\n return {\n marginTop: this.fontTopSize + 'px',\n }\n }\n },\n vanBtnColor() {\n if (this.color && this.color2) {\n return 'linear-gradient(to right, ' + this.color + ', ' + this.color2 + ')'\n } else if (this.color) {\n return this.color\n } else if (this.color2) {\n return this.color2\n } else {\n return ''\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_createElementVNode"],"mappings":";;;AAoBA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;IACL,UAAU,EAAE;MACV,OAAO,EAAE,MAAM;AACb,QAAA,OAAO,EAAC;OACT;MACD,IAAI,EAAE,CAAC,MAAM,CAAC;KACf;AACD,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG;IACxC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;;AAEnC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG;IAChD,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;;AAEtC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ;AAC5C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC9C,IAAA,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS;AAC7C,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG;AAC/C,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG;IAC/C,YAAY,EAAE,EAAE,OAAO,EAAE,EAAE,EA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YAAA;;;;;AAGd,SAAAF,SAAA,EAAA,EAAAC,kBAAA,CAQM,OARN,UAQM,EAAA;WAPO,MAAG,CAAA,GAAA;AAAd,eAAAD,SAAA,EAAA,EAAAC,kBAAA,CAEM,OAFN,UAEM,EAAA;gBADJE,kBAA0C,CAAA,KAAA,EAAA;AAApC,kBAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,kBAAA,GAAG,EAAC,EAAE;AAAE,kBAAA,KAAK,EAAE,MAAO,CAAA,OAAA;;;;UAExCA,kBAGM,CAAA,KAAA,EAAA;AAHA,YAAA,KAAK,iBAAE,QAAS,CAAA,SAAA,CAAA;AAAE,YAAA,KAAK,EAAC,eAAe;;YAC3CD,WAA0C,CAAA,mBAAA,EAAA;AAA/B,cAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,cAAA,IAAI,EAAE,MAAQ,CAAA,QAAA;;YACtCC,kBAAmE,CAAA,MAAA,EAAA;AAA5D,cAAA,KAAK,6BAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;+BAAe,MAAQ,CAAA,QAAA,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewGridCellList.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewGridCellList.vue"],"sourcesContent":["<template>\n <div v-if=\"type === 'cell'\" class=\"cell\">\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in gridCellList\"\n :key=\"key\"\n is-link\n :style=\"{ lineHeight: cellImgSize + 'px!important' }\"\n >\n <template #icon>\n <img\n :src=\"item.img\"\n :alt=\"item.title\"\n :width=\"cellImgSize\"\n :height=\"cellImgSize\"\n :style=\"{\n borderRadius: imgRadius + 'px',\n marginRight: imgTextGutter + 'px',\n }\"\n />\n </template>\n <template #title>\n <span class=\"custom-title\" :style=\"{ fontSize: fontSize + 'px' }\">{{\n item.title\n }}</span>\n </template>\n <template #right-icon>\n <dk-icon icon=\"ArrowRight\"></dk-icon>\n <!-- <div style=\"color: #999; font-size: 16px\">-->\n <!-- <i class=\"el-icon-arrow-right\" />-->\n <!-- </div>-->\n </template>\n </van-cell>\n </van-cell-group>\n </div>\n <div v-else class=\"grid\">\n <van-grid\n :square=\"square\"\n :direction=\"direction\"\n :gutter=\"gutter\"\n :clickable=\"clickable\"\n :border=\"border\"\n :column-num=\"columnNum\"\n >\n <template v-for=\"(item, key) in gridCellList\">\n <van-grid-item v-if=\"item.show\" :key=\"key\" icon=\"photo-o\">\n <template #icon>\n <img\n :src=\"item.img\"\n :width=\"gridImgSize\"\n :height=\"gridImgSize\"\n :alt=\"item.title\"\n :style=\"{ borderRadius: imgRadius + 'px' }\"\n />\n </template>\n <template #text>\n <span :style=\"{ fontSize: fontSize + 'px' }\">\n {{ item.title }}\n </span>\n </template>\n </van-grid-item>\n </template>\n </van-grid>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewGridCellList',\n props: {\n value: {\n default: '',\n type: String,\n },\n imgRadius: {\n default: 0,\n type: Number,\n },\n gridCellList: {\n default: () => {},\n type: [Array],\n },\n fontSize: {\n default: 14,\n type: Number,\n },\n type: {\n default: 'cell',\n type: String,\n },\n cellImgSize: {\n // 列表图片大小\n default: 20,\n type: Number,\n },\n imgTextGutter: {\n // 图文间距\n default: 0,\n type: Number,\n },\n /** ***************************************************** 下面是宫格配置*****************************/\n columnNum: {\n // 宫格列数\n default: 4,\n type: Number,\n },\n square: {\n // 是否为正方形\n default: false,\n type: Boolean,\n },\n gutter: {\n // 间距\n default: 0,\n type: Number,\n },\n direction: {\n // 横向布局\n default: 'vertical',\n type: String,\n },\n clickable: {\n // 点击效果\n default: true,\n type: Boolean,\n },\n border: {\n // 显示边框\n default: true,\n type: Boolean,\n },\n gridImgSize: {\n // 宫格图片大小\n default: 40,\n type: Number,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_Fragment","_renderList","_createBlock","_createElementVNode","_normalizeStyle","_toDisplayString","_createCommentVNode"],"mappings":";;;AAmEA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,oBAAoB;AAC1B,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;IACD,YAAY,EAAE;AACZ,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,KAAK,CAAC;KACd;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,IAAI,EAAE;AACJ,MAAA,OAAO,EAAE,MAAM;MACf,IAAI,EAAE,MAAM;KACb;IACD,WAAW,EAAE;AACX;MACA,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;AACD,IAAA,aAAa,EAAE;;AAEb,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;AACD;IACA,SAAS,EAAE;;AAET,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;AACD,IAAA,MAAM,EAAE;AACN;MACA,OAAO,EAAE,KAAK;MACd,IAAI,EAAE,OAAO;KACd;AACD,IAAA,MAAM,EAAE;AACN;AACA,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;;AAET,MAAA,OAAO,EAAE,UAAU;MACnB,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;;MAET,OAAO,EAAE,IAAI;MACb,IAAI,EAAE,OAAO;KACd;AACD,IAAA,MAAM,EAAE;;MAEN,OAAO,EAAE,IAAI;MACb,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE;AACX;MACA,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;GACF;AACD,EAAA,IAA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,IAAI,UACb,MAEO;wBAFPA,kBAEO,CAAA,MAAA,EAAA;AAFA,0BAAA,KAAK,6BAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;AAC7B,yBAAA,EAAAE,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewGridCellList.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewGridCellList.vue"],"sourcesContent":["<template>\n <div v-if=\"type === 'cell'\" class=\"cell\">\n <van-cell-group>\n <van-cell\n v-for=\"(item, key) in gridCellList\"\n :key=\"key\"\n is-link\n :style=\"{ lineHeight: cellImgSize + 'px!important' }\"\n >\n <template #icon>\n <img\n :src=\"item.img\"\n :alt=\"item.title\"\n :width=\"cellImgSize\"\n :height=\"cellImgSize\"\n :style=\"{\n borderRadius: imgRadius + 'px',\n marginRight: imgTextGutter + 'px',\n }\"\n />\n </template>\n <template #title>\n <span class=\"custom-title\" :style=\"{ fontSize: fontSize + 'px' }\">{{ item.title }}</span>\n </template>\n <template #right-icon>\n <dk-icon icon=\"ArrowRight\"></dk-icon>\n <!-- <div style=\"color: #999; font-size: 16px\">-->\n <!-- <i class=\"el-icon-arrow-right\" />-->\n <!-- </div>-->\n </template>\n </van-cell>\n </van-cell-group>\n </div>\n <div v-else class=\"grid\">\n <van-grid\n :square=\"square\"\n :direction=\"direction\"\n :gutter=\"gutter\"\n :clickable=\"clickable\"\n :border=\"border\"\n :column-num=\"columnNum\"\n >\n <template v-for=\"(item, key) in gridCellList\">\n <van-grid-item v-if=\"item.show\" :key=\"key\" icon=\"photo-o\">\n <template #icon>\n <img\n :src=\"item.img\"\n :width=\"gridImgSize\"\n :height=\"gridImgSize\"\n :alt=\"item.title\"\n :style=\"{ borderRadius: imgRadius + 'px' }\"\n />\n </template>\n <template #text>\n <span :style=\"{ fontSize: fontSize + 'px' }\">\n {{ item.title }}\n </span>\n </template>\n </van-grid-item>\n </template>\n </van-grid>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewGridCellList',\n props: {\n value: {\n default: '',\n type: String,\n },\n imgRadius: {\n default: 0,\n type: Number,\n },\n gridCellList: {\n default: () => {},\n type: [Array],\n },\n fontSize: {\n default: 14,\n type: Number,\n },\n type: {\n default: 'cell',\n type: String,\n },\n cellImgSize: {\n // 列表图片大小\n default: 20,\n type: Number,\n },\n imgTextGutter: {\n // 图文间距\n default: 0,\n type: Number,\n },\n /** ***************************************************** 下面是宫格配置*****************************/\n columnNum: {\n // 宫格列数\n default: 4,\n type: Number,\n },\n square: {\n // 是否为正方形\n default: false,\n type: Boolean,\n },\n gutter: {\n // 间距\n default: 0,\n type: Number,\n },\n direction: {\n // 横向布局\n default: 'vertical',\n type: String,\n },\n clickable: {\n // 点击效果\n default: true,\n type: Boolean,\n },\n border: {\n // 显示边框\n default: true,\n type: Boolean,\n },\n gridImgSize: {\n // 宫格图片大小\n default: 40,\n type: Number,\n },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createVNode","_Fragment","_renderList","_createBlock","_createElementVNode","_normalizeStyle","_toDisplayString","_createCommentVNode"],"mappings":";;;AAiEA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,oBAAoB;AAC1B,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE;MACL,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,SAAS,EAAE;AACT,MAAA,OAAO,EAAE,CAAC;MACV,IAAI,EAAE,MAAM;KACb;IACD,YAAY,EAAE;AACZ,MAAA,OAAO,EAAE,MAAM,EAAE;MACjB,IAAI,EAAE,CAAC,KAAK,CAAC;KACd;AACD,IAAA,QAAQ,EAAE;MACR,OAAO,EAAE,EAAE;MACX,IAAI,EAAE,MAAM;KACb;IACD,IAAI,EAAE;AACJ,MAAA,OAAO,EAAE,MAAM;MACf,IAAI,EAAE,MAA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EAAE,MAAS,CAAA,SAAA;AACpB,UAAA,MAAM,EAAE,MAAM,CAAA,MAAA;AACd,UAAA,YAAU,EAAE,MAAS,CAAA,SAAA;;2BAEZ,MAAmC;AAA7C,aAAAF,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,CAiBWE,QAjBqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,YAAY,EAA1B,CAAA,IAAI,EAAE,GAAG,KAAA;;AACJ,gBAAA,CAAA,IAAI,CAAC,IAAI;kCAA9BC,WAegB,CAAA,wBAAA,EAAA;AAfiB,sBAAA,GAAG,EAAE,GAAG;AAAE,sBAAA,IAAI,EAAC,SAAS;;AAC5C,sBAAA,IAAI,UACb,MAME;wBANFC,kBAME,CAAA,KAAA,EAAA;0BALC,GAAG,EAAE,IAAI,CAAC,GAAG;AACb,0BAAA,KAAK,EAAE,MAAW,CAAA,WAAA;AAClB,0BAAA,MAAM,EAAE,MAAW,CAAA,WAAA;0BACnB,GAAG,EAAE,IAAI,CAAC,KAAK;AACf,0BAAA,KAAK,iCAAkB,MAAS,CAAA,SAAA,GAAA,IAAA,EAAA,CAAA;;;AAG1B,sBAAA,IAAI,UACb,MAEO;wBAFPA,kBAEO,CAAA,MAAA,EAAA;AAFA,0BAAA,KAAK,6BAAc,MAAQ,CAAA,QAAA,GAAA,IAAA,EAAA,CAAA;AAC7B,yBAAA,EAAAE,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewImage.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-image\" :class=\"'dk-mobile-image-' + type\">\n <div\n v-for=\"(item, key) in imageList\"\n :key=\"key\"\n class=\"dk-mobile-image-content\"\n :style=\"_style\"\n >\n <van-image\n :src=\"item.img\"\n :fit=\"fit\"\n width=\"100%\"\n :height=\"heightAuto ? height : ''\"\n style=\"overflow: hidden\"\n />\n <div v-if=\"showText && item.title\" :class=\"'text-type-' + textType\">\n {{ item.title }}\n </div>\n </div>\n <div v-if=\"imageList.length <= 0\">\n <el-empty description=\"请添加图片数据\" />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewImage',\n props: {\n value: { default: '', type: String },\n type: { default: 'default', type: String },\n textType: { default: 'default', type: String },\n heightAuto: { default: false, type: Boolean },\n showText: { default: false, type: Boolean },\n height: { default: '', type: [Number, String] },\n width: { default: '', type: [Number, String] },\n borderRadius: { default: '', type: [Number, String] },\n marginBottom: { default: '', type: [Number, String] },\n marginRight: { default: '', type: [Number, String] },\n imageList: { default: () => [], type: [Array] },\n\n fit: { default: 'cover', type: String },\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const style = {}\n if (this.type === 'default') {\n style.marginBottom = this.marginBottom + 'px'\n } else {\n style.width = this.width + '%'\n style.marginRight = this.marginRight + 'px'\n }\n style.borderRadius = this.borderRadius + 'px'\n return style\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_openBlock","_Fragment","_renderList","_createVNode","_toDisplayString"],"mappings":";;;AA0BA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC1C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC9C,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS;AAC7C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS;AAC3C,IAAA,MAAM,EAAE,EAAE,OAAO,E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AAI,CAAA,IAAA,CAAA,CAAA;;AAC1D,KAAAC,SAAA,CAAA,IAAA,CAAA,EAAAF,kBAAA,CAgBMG,QAfkB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,SAAS,EAAvB,CAAA,IAAI,EAAE,GAAG,KAAA;2BADnBJ,kBAgBM,CAAA,KAAA,EAAA;AAdH,QAAA,GAAG,EAAE,GAAG;AACT,QAAA,KAAK,EAAC,yBAAyB;AAC9B,QAAA,KAAK,iBAAE,QAAM,CAAA,MAAA,CAAA;;QAEdK,WAME,CAAA,oBAAA,EAAA;UALC,GAAG,EAAE,IAAI,CAAC,GAAG;AACb,UAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AACT,UAAA,KAAK,EAAC,MAAM;UACX,MAAM,EAAE,MAAU,CAAA,UAAA,GAAG,MAAM,CAAA,MAAA,GAAA,EAAA;AAC5B,UAAA,KAAwB,EAAxB,CAAwB,UAAA,CAAA,QAAA,CAAA;;SAEf,MAAQ,CAAA,QAAA,IAAI,IAAI,CAAC,KAAK;0BAAjCL,kBAEM,CAAA,KAAA,EAAA;;AAF8B,cAAA,KAAK,gCAAiB,MAAQ,CAAA,QAAA,CAAA;AAC7D,aAAA,EAAAM,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;AAGN,IAAA,CAAA,MAAA,CAAA,SAAS,CAAC,MAAM,IAAA,CAAA;sBAA3BN,kBAEM,CAAA,KAAA,EAAA,UAAA,EAAA;UADJK,WAAkC,CAAA,mBAAA,EAAA,EAAxB,WAAW,EAAC,SAAS,EAAA,CAAA;;;;;;;;;"}
1
+ {"version":3,"file":"DkViewImage.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewImage.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-image\" :class=\"'dk-mobile-image-' + type\">\n <div v-for=\"(item, key) in imageList\" :key=\"key\" class=\"dk-mobile-image-content\" :style=\"_style\">\n <van-image :src=\"item.img\" :fit=\"fit\" width=\"100%\" :height=\"heightAuto ? height : ''\" style=\"overflow: hidden\" />\n <div v-if=\"showText && item.title\" :class=\"'text-type-' + textType\">\n {{ item.title }}\n </div>\n </div>\n <div v-if=\"imageList.length <= 0\">\n <el-empty description=\"请添加图片数据\" />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewImage',\n props: {\n value: { default: '', type: String },\n type: { default: 'default', type: String },\n textType: { default: 'default', type: String },\n heightAuto: { default: false, type: Boolean },\n showText: { default: false, type: Boolean },\n height: { default: '', type: [Number, String] },\n width: { default: '', type: [Number, String] },\n borderRadius: { default: '', type: [Number, String] },\n marginBottom: { default: '', type: [Number, String] },\n marginRight: { default: '', type: [Number, String] },\n imageList: { default: () => [], type: [Array] },\n\n fit: { default: 'cover', type: String },\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const style = {}\n if (this.type === 'default') {\n style.marginBottom = this.marginBottom + 'px'\n } else {\n style.width = this.width + '%'\n style.marginRight = this.marginRight + 'px'\n }\n style.borderRadius = this.borderRadius + 'px'\n return style\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_openBlock","_Fragment","_renderList","_createVNode","_toDisplayString"],"mappings":";;;AAeA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC1C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ;AAC9C,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS;AAC7C,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS;AAC3C,IAAA,M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,EAAA,kBAAA,GAA8B,MAAI,CAAA,IAAA,CAAA,CAAA;;AAC1D,KAAAC,SAAA,CAAA,IAAA,CAAA,EAAAF,kBAAA,CAKMG,QALqB,EAAA,IAAA,EAAAC,UAAA,CAAA,MAAA,CAAA,SAAS,EAAvB,CAAA,IAAI,EAAE,GAAG,KAAA;2BAAtBJ,kBAKM,CAAA,KAAA,EAAA;AALiC,QAAA,GAAG,EAAE,GAAG;AAAE,QAAA,KAAK,EAAC,yBAAyB;AAAE,QAAA,KAAK,iBAAE,QAAM,CAAA,MAAA,CAAA;;QAC7FK,WAAiH,CAAA,oBAAA,EAAA;UAArG,GAAG,EAAE,IAAI,CAAC,GAAG;AAAG,UAAA,GAAG,EAAE,MAAG,CAAA,GAAA;AAAE,UAAA,KAAK,EAAC,MAAM;UAAE,MAAM,EAAE,MAAU,CAAA,UAAA,GAAG,MAAM,CAAA,MAAA,GAAA,EAAA;AAAO,UAAA,KAAwB,EAAxB,CAAwB,UAAA,CAAA,QAAA,CAAA;;SACnG,MAAQ,CAAA,QAAA,IAAI,IAAI,CAAC,KAAK;0BAAjCL,kBAEM,CAAA,KAAA,EAAA;;AAF8B,cAAA,KAAK,gCAAiB,MAAQ,CAAA,QAAA,CAAA;AAC7D,aAAA,EAAAM,eAAA,CAAA,IAAI,CAAC,KAAK,CAAA,EAAA,CAAA,mBAAA;;;;AAGN,IAAA,CAAA,MAAA,CAAA,SAAS,CAAC,MAAM,IAAA,CAAA;sBAA3BN,kBAEM,CAAA,KAAA,EAAA,UAAA,EAAA;UADJK,WAAkC,CAAA,mBAAA,EAAA,EAAxB,WAAW,EAAC,SAAS,EAAA,CAAA;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DkViewMusic.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewMusic.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-music\">\n <div v-if=\"iconType === 'image'\">\n <img\n :src=\"imgUrl\"\n width=\"100%\"\n :style=\"_style\"\n :class=\"rotation\"\n class=\"dk-music-img\"\n alt=\"\"\n />\n </div>\n <van-icon\n v-else\n name=\"music-o\"\n class=\"dk-music-icon\"\n :class=\"rotation\"\n :style=\"_style\"\n />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewMusic',\n props: {\n musicPath: { default: '', type: String },\n // common\n iconType: { default: '', type: String }, // 图标样式\n iconSize: { default: 40, type: Number }, // 图标尺寸\n rotation: { default: 'changeRight', type: String }, // 旋转方向\n speed: { default: 5, type: Number }, // 旋转速度\n // image\n imgUrl: { default: '', type: String }, // 图片地址\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const speed = 11 - this.speed + 's'\n return {\n width: this.iconSize + 'px',\n height: this.iconSize + 'px',\n fontSize: this.iconSize + 'px',\n animationDuration: speed,\n animationIterationCount: 'infinite',\n animationTimingFunction: 'linear',\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass","_createBlock"],"mappings":";;;AAuBA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC;AACA,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAO,EAAC;AAClD,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAK,EAAG;AACnC;AACA,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACtC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;AACD,EAAA,QAAQ,EAAE;AACR,IAAA,MAAM,GAAG;MACP,MAAM,KAAM,GAAE,EAAC,GAAI,IAAI,CAAC,KAAI,GAAI,IAAE;AAClC,MAAA,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,WAAW,IAAI;QAC3B,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI;QAC5B,QAAQ,EAAE,IAAI,CAAC,QAAO,GAAI,IAAI;QAC9B,iBAAiB,EAAE,KAAK;AACxB,QAAA,uBAAuB,EAAE,UAAU;AACnC,QAAA,uBAAuB,EAAE,QAAQ;AACnC,OAAA;KACD;GACF;EACD,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;AApDO,MAAA,UAAA,GAAA,EAAA,KAAK,EAAC,eAAe,GAAA;;;;;;;AAA1B,EAAA,QAAAA,SAAA,EAAA,EAAAC,kBAAA,CAkBM,OAlBN,UAkBM,EAAA;KAjBO,MAAQ,CAAA,QAAA,KAAA,OAAA;sBAAnBA,kBASM,CAAA,KAAA,EAAA,UAAA,EAAA;UARJC,kBAOE,CAAA,KAAA,EAAA;AANC,YAAA,GAAG,EAAE,MAAM,CAAA,MAAA;AACZ,YAAA,KAAK,EAAC,MAAM;AACX,YAAA,KAAK,iBAAE,QAAM,CAAA,MAAA,CAAA;YACb,KAAK,EAAAC,cAAA,CAAA,CAAE,MAAQ,CAAA,QAAA,EACV,cAAc,CAAA,CAAA;AACpB,YAAA,GAAG,EAAC,EAAE;;;sBAGVC,WAME,CAAA,mBAAA,EAAA;;AAJA,UAAA,IAAI,EAAC,SAAS;UACd,KAAK,EAAAD,cAAA,CAAA,CAAC,eAAe,EACb,MAAQ,CAAA,QAAA,CAAA,CAAA;AACf,UAAA,KAAK,iBAAE,QAAM,CAAA,MAAA,CAAA;;;;;;;;"}
1
+ {"version":3,"file":"DkViewMusic.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewMusic.vue"],"sourcesContent":["<template>\n <div class=\"dk-view-music\">\n <div v-if=\"iconType === 'image'\">\n <img :src=\"imgUrl\" width=\"100%\" :style=\"_style\" :class=\"rotation\" class=\"dk-music-img\" alt=\"\" />\n </div>\n <van-icon v-else name=\"music-o\" class=\"dk-music-icon\" :class=\"rotation\" :style=\"_style\" />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewMusic',\n props: {\n musicPath: { default: '', type: String },\n // common\n iconType: { default: '', type: String }, // 图标样式\n iconSize: { default: 40, type: Number }, // 图标尺寸\n rotation: { default: 'changeRight', type: String }, // 旋转方向\n speed: { default: 5, type: Number }, // 旋转速度\n // image\n imgUrl: { default: '', type: String }, // 图片地址\n },\n data() {\n return {}\n },\n computed: {\n _style() {\n const speed = 11 - this.speed + 's'\n return {\n width: this.iconSize + 'px',\n height: this.iconSize + 'px',\n fontSize: this.iconSize + 'px',\n animationDuration: speed,\n animationIterationCount: 'infinite',\n animationTimingFunction: 'linear',\n }\n },\n },\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass","_createBlock"],"mappings":";;;AAUA,MAAK,SAAU,GAAA;AACb,EAAA,IAAI,EAAE,aAAa;AACnB,EAAA,KAAK,EAAE;AACL,IAAA,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACxC;AACA,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACvC,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAO,EAAC;AAClD,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAK,EAAG;AACnC;AACA,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACtC;AACD,EAAA,IAAI,GAAG;AAC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src/views/web/DkViewNoticeBar.vue"],"sourcesContent":["<template>\n <div>\n <van-notice-bar\n :speed=\"speed\"\n :left-icon=\"leftIcon\"\n :text=\"text\"\n :color=\"color\"\n :background=\"background\"\n />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewNoticeBar',\n props: {\n leftIcon: { default: '', type: String },\n text: { default: '', type: String },\n url: { default: '', type: String },\n background: { default: '', type: String },\n color: { default: '', type: String },\n speed: { default: 60, type: Number },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_createVNode"],"mappings":";;;AAaA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;AACL,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;IACnC,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACrC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;uBA5BEA,kBAQM,CAAA,KAAA,EAAA,IAAA,EAAA;IAPJC,WAME,CAAA,yBAAA,EAAA;AALC,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,MAAA,WAAS,EAAE,MAAQ,CAAA,QAAA;AACnB,MAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AACV,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AACZ,MAAA,UAAU,EAAE,MAAU,CAAA,UAAA;;;;;;;;"}
1
+ {"version":3,"file":"DkViewNoticeBar.vue.mjs","sources":["../../../../../src/page-diy/src/views/web/DkViewNoticeBar.vue"],"sourcesContent":["<template>\n <div>\n <van-notice-bar :speed=\"speed\" :left-icon=\"leftIcon\" :text=\"text\" :color=\"color\" :background=\"background\" />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'DkViewNoticeBar',\n props: {\n leftIcon: { default: '', type: String },\n text: { default: '', type: String },\n url: { default: '', type: String },\n background: { default: '', type: String },\n color: { default: '', type: String },\n speed: { default: 60, type: Number },\n },\n data() {\n return {}\n },\n computed: {},\n mounted() {},\n methods: {},\n}\n</script>\n"],"names":["_createElementBlock","_createVNode"],"mappings":";;;AAOA,MAAK,SAAU,GAAA;EACb,IAAI,EAAE,iBAAiB;AACvB,EAAA,KAAK,EAAE;AACL,IAAA,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;IACvC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;IACnC,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AAClC,IAAA,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ;AACzC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;AACpC,IAAA,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAK,EAAG;GACrC;AACD,EAAA,IAAI,GAAG;AACL,IAAA,OAAO,EAAC;GACT;EACD,QAAQ,EAAE,EAAE;EACZ,OAAO,GAAG,EAAE;EACZ,OAAO,EAAE,EAAE;AACb,EAAA;;;;;uBAtBEA,kBAEM,CAAA,KAAA,EAAA,IAAA,EAAA;IADJC,WAA4G,CAAA,yBAAA,EAAA;AAA3F,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,MAAA,WAAS,EAAE,MAAQ,CAAA,QAAA;AAAG,MAAA,IAAI,EAAE,MAAI,CAAA,IAAA;AAAG,MAAA,KAAK,EAAE,MAAK,CAAA,KAAA;AAAG,MAAA,UAAU,EAAE,MAAU,CAAA,UAAA;;;;;;;;"}