@vipl520/dk-ui 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (388) hide show
  1. package/dist/index.js +13 -26
  2. package/dist/index.min.js +34 -0
  3. package/dist/index.min.js.map +1 -0
  4. package/dist/index.min.mjs +34 -0
  5. package/dist/index.min.mjs.map +1 -0
  6. package/dist/index.mjs +13 -26
  7. package/dist/web-types.json +1 -1
  8. package/es/api/attachment.d.ts +10 -0
  9. package/es/api/common.d.ts +1 -0
  10. package/es/api/index.d.ts +1 -0
  11. package/es/attachment/index.d.ts +29 -0
  12. package/es/attachment/src/attachment.vue.d.ts +28 -0
  13. package/es/attachment/src/file-icon.vue.d.ts +41 -0
  14. package/es/attachment/src/props.d.ts +12 -0
  15. package/es/attachment-dialog/index.d.ts +40 -0
  16. package/es/attachment-dialog/src/attachment-dialog.vue.d.ts +39 -0
  17. package/es/attachment-dialog/src/props.d.ts +16 -0
  18. package/es/audio-input/index.d.ts +55 -0
  19. package/es/audio-input/src/audio-input.vue.d.ts +54 -0
  20. package/es/audio-input/src/props.d.ts +24 -0
  21. package/es/audio-list-input/index.d.ts +55 -0
  22. package/es/audio-list-input/src/audio-list-input.vue.d.ts +54 -0
  23. package/es/audio-list-input/src/props.d.ts +24 -0
  24. package/es/box-size-input/index.d.ts +71 -0
  25. package/es/box-size-input/src/box-size-input.vue.d.ts +70 -0
  26. package/es/box-size-input/src/props.d.ts +32 -0
  27. package/es/color-input/index.d.ts +46 -0
  28. package/es/color-input/src/color-input.vue.d.ts +45 -0
  29. package/es/color-input/src/props.d.ts +23 -0
  30. package/es/dialog/index.d.ts +176 -0
  31. package/es/dialog/src/dialog.vue.d.ts +59 -0
  32. package/es/dialog/src/props.d.ts +24 -0
  33. package/es/file-input/index.d.ts +64 -0
  34. package/es/file-input/src/file-input.vue.d.ts +63 -0
  35. package/es/file-input/src/props.d.ts +28 -0
  36. package/es/file-list-input/index.d.ts +64 -0
  37. package/es/file-list-input/src/file-list-input.vue.d.ts +63 -0
  38. package/es/file-list-input/src/props.d.ts +28 -0
  39. package/es/form/index.d.ts +294 -0
  40. package/es/form/src/config.d.ts +45 -0
  41. package/es/form/src/form.vue.d.ts +116 -0
  42. package/es/form/src/props.d.ts +44 -0
  43. package/es/group/index.d.ts +174 -0
  44. package/es/group/src/group.vue.d.ts +173 -0
  45. package/es/group/src/props.d.ts +76 -0
  46. package/es/group/utils/extend.d.ts +3 -0
  47. package/es/group/utils/utils.d.ts +4 -0
  48. package/es/icon/index.d.ts +189 -0
  49. package/es/icon/src/icon.vue.d.ts +66 -0
  50. package/es/icon/src/props.d.ts +31 -0
  51. package/es/icon-input/index.d.ts +143 -0
  52. package/es/icon-input/src/icon-content.vue.d.ts +44 -0
  53. package/es/icon-input/src/icon-dialog.vue.d.ts +38 -0
  54. package/es/icon-input/src/icon-input.vue.d.ts +62 -0
  55. package/es/icon-input/src/props.d.ts +62 -0
  56. package/es/image-input/index.d.ts +55 -0
  57. package/es/image-input/src/image-input.vue.d.ts +54 -0
  58. package/es/image-input/src/props.d.ts +24 -0
  59. package/es/image-list-input/index.d.ts +55 -0
  60. package/es/image-list-input/src/image-list-input.vue.d.ts +54 -0
  61. package/es/image-list-input/src/props.d.ts +24 -0
  62. package/es/index.d.ts +35 -0
  63. package/es/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.mjs +3 -3
  64. package/es/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
  65. package/es/packages/dk-ui/src/form/src/form.vue2.mjs +2 -2
  66. package/es/packages/dk-ui/src/form/src/form.vue2.mjs.map +1 -1
  67. package/es/packages/dk-ui/src/select/index.mjs.map +1 -1
  68. package/es/packages/dk-ui/src/select/src/props.mjs.map +1 -1
  69. package/es/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.mjs +3 -7
  70. package/es/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  71. package/es/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.mjs +1 -4
  72. package/es/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  73. package/es/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.mjs +2 -6
  74. package/es/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
  75. package/es/packages/dk-ui/src/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
  76. package/es/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.mjs +2 -4
  77. package/es/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  78. package/es/page-diy/index.d.ts +246 -0
  79. package/es/page-diy/src/components/DragBox.vue.d.ts +14 -0
  80. package/es/page-diy/src/components/DragTool.vue.d.ts +59 -0
  81. package/es/page-diy/src/components/PreviewPhone.vue.d.ts +30 -0
  82. package/es/page-diy/src/config/base/dkPage.d.ts +7 -0
  83. package/es/page-diy/src/config/base/dkSetting.d.ts +35 -0
  84. package/es/page-diy/src/config/base/index.d.ts +3 -0
  85. package/es/page-diy/src/config/rule/common/DkPosterBtn.d.ts +86 -0
  86. package/es/page-diy/src/config/rule/common/DkViewBulletChat.d.ts +108 -0
  87. package/es/page-diy/src/config/rule/common/DkViewCell.d.ts +37 -0
  88. package/es/page-diy/src/config/rule/common/DkViewCommonBtn.d.ts +264 -0
  89. package/es/page-diy/src/config/rule/common/DkViewDialog.d.ts +106 -0
  90. package/es/page-diy/src/config/rule/common/DkViewGridCellList.d.ts +130 -0
  91. package/es/page-diy/src/config/rule/common/DkViewImage.d.ts +120 -0
  92. package/es/page-diy/src/config/rule/common/DkViewMusic.d.ts +85 -0
  93. package/es/page-diy/src/config/rule/common/DkViewNavBar.d.ts +33 -0
  94. package/es/page-diy/src/config/rule/common/DkViewNoticeBar.d.ts +57 -0
  95. package/es/page-diy/src/config/rule/common/DkViewSwipe.d.ts +140 -0
  96. package/es/page-diy/src/config/rule/common/DkViewTabbar.d.ts +101 -0
  97. package/es/page-diy/src/config/rule/common/DkViewTextarea.d.ts +33 -0
  98. package/es/page-diy/src/config/rule/common/DkViewVideo.d.ts +73 -0
  99. package/es/page-diy/src/config/rule/common/index.d.ts +2638 -0
  100. package/es/page-diy/src/config/rule/index.d.ts +3665 -0
  101. package/es/page-diy/src/config/rule/layout/DkViewTitle.d.ts +125 -0
  102. package/es/page-diy/src/config/rule/layout/col.d.ts +36 -0
  103. package/es/page-diy/src/config/rule/layout/divider.d.ts +39 -0
  104. package/es/page-diy/src/config/rule/layout/index.d.ts +1023 -0
  105. package/es/page-diy/src/config/rule/layout/row.d.ts +47 -0
  106. package/es/page-diy/src/config/rule/layout/space.d.ts +32 -0
  107. package/es/page-diy/src/config/rule/layout/swip-item.d.ts +27 -0
  108. package/es/page-diy/src/config/rule/layout/swipe.d.ts +62 -0
  109. package/es/page-diy/src/config/rule/layout/tab.d.ts +30 -0
  110. package/es/page-diy/src/config/rule/layout/tabs.d.ts +119 -0
  111. package/es/page-diy/src/config/rule/layout/vanEmpty.d.ts +66 -0
  112. package/es/page-diy/src/page-diy.vue.d.ts +245 -0
  113. package/es/page-diy/src/props.d.ts +11 -0
  114. package/es/page-diy/src/utils/form.d.ts +4 -0
  115. package/es/page-diy/src/utils/help.d.ts +2 -0
  116. package/es/page-diy/src/utils/index.d.ts +3 -0
  117. package/es/page-diy/src/utils/unique.d.ts +1 -0
  118. package/es/page-diy/src/views/DkViewBulletChat.vue.d.ts +59 -0
  119. package/es/page-diy/src/views/DkViewCell.vue.d.ts +14 -0
  120. package/es/page-diy/src/views/DkViewCommonBtn.vue.d.ts +220 -0
  121. package/es/page-diy/src/views/DkViewDialog.vue.d.ts +81 -0
  122. package/es/page-diy/src/views/DkViewGridCellList.vue.d.ts +133 -0
  123. package/es/page-diy/src/views/DkViewImage.vue.d.ts +120 -0
  124. package/es/page-diy/src/views/DkViewMusic.vue.d.ts +68 -0
  125. package/es/page-diy/src/views/DkViewNavBar.vue.d.ts +68 -0
  126. package/es/page-diy/src/views/DkViewNoticeBar.vue.d.ts +59 -0
  127. package/es/page-diy/src/views/DkViewSwipe.vue.d.ts +59 -0
  128. package/es/page-diy/src/views/DkViewTabbar.vue.d.ts +52 -0
  129. package/es/page-diy/src/views/DkViewTextarea.vue.d.ts +14 -0
  130. package/es/page-diy/src/views/DkViewTitle.vue.d.ts +167 -0
  131. package/es/page-diy/src/views/DkViewVideo.vue.d.ts +54 -0
  132. package/es/page-diy/src/views/index.d.ts +2 -0
  133. package/es/poster-input/index.d.ts +142 -0
  134. package/es/poster-input/src/component/config.d.ts +97 -0
  135. package/es/poster-input/src/component/poster-content.vue.d.ts +46 -0
  136. package/es/poster-input/src/component/poster.vue.d.ts +31 -0
  137. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.d.ts +23 -0
  138. package/es/poster-input/src/component/views/DkPosterViewImage.vue.d.ts +23 -0
  139. package/es/poster-input/src/component/views/DkPosterViewName.vue.d.ts +23 -0
  140. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.d.ts +23 -0
  141. package/es/poster-input/src/component/views/DkPosterViewText.vue.d.ts +23 -0
  142. package/es/poster-input/src/component/views/quick-action.vue.d.ts +14 -0
  143. package/es/poster-input/src/poster-input.vue.d.ts +112 -0
  144. package/es/poster-input/src/props.d.ts +54 -0
  145. package/es/resolver.d.ts +15 -0
  146. package/es/select/index.d.ts +3 -0
  147. package/es/select/src/props.d.ts +3 -0
  148. package/es/select/src/select.vue.d.ts +17 -0
  149. package/es/style-background-input/index.d.ts +23 -0
  150. package/es/style-background-input/src/props.d.ts +11 -0
  151. package/es/style-background-input/src/style-background-input.vue.d.ts +22 -0
  152. package/es/style-border-input/index.d.ts +17 -0
  153. package/es/style-border-input/src/props.d.ts +8 -0
  154. package/es/style-border-input/src/style-border-input.vue.d.ts +16 -0
  155. package/es/style-box-input/index.d.ts +35 -0
  156. package/es/style-box-input/src/html.d.ts +33 -0
  157. package/es/style-box-input/src/props.d.ts +16 -0
  158. package/es/style-box-input/src/style-box-input.vue.d.ts +34 -0
  159. package/es/style-font-input/index.d.ts +17 -0
  160. package/es/style-font-input/src/props.d.ts +8 -0
  161. package/es/style-font-input/src/style-font-input.vue.d.ts +16 -0
  162. package/es/style-input/index.d.ts +26 -0
  163. package/es/style-input/src/default.d.ts +9 -0
  164. package/es/style-input/src/props.d.ts +16 -0
  165. package/es/style-input/src/style-input.vue.d.ts +25 -0
  166. package/es/style-number-input/index.d.ts +62 -0
  167. package/es/style-number-input/src/props.d.ts +28 -0
  168. package/es/style-number-input/src/style-number-input.vue.d.ts +61 -0
  169. package/es/style-position-input/index.d.ts +17 -0
  170. package/es/style-position-input/src/props.d.ts +8 -0
  171. package/es/style-position-input/src/style-position-input.vue.d.ts +16 -0
  172. package/es/style-shadow-input/index.d.ts +83 -0
  173. package/es/style-shadow-input/src/props.d.ts +12 -0
  174. package/es/style-shadow-input/src/style-shadow-content.vue.d.ts +58 -0
  175. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +25 -0
  176. package/es/table/index.d.ts +127 -0
  177. package/es/table/src/components/ComSearch.vue.d.ts +7 -0
  178. package/es/table/src/components/FieldRender.vue.d.ts +37 -0
  179. package/es/table/src/components/RecycleDialog.vue.d.ts +2 -0
  180. package/es/table/src/components/header.vue.d.ts +40 -0
  181. package/es/table/src/props.d.ts +8 -0
  182. package/es/table/src/table.vue.d.ts +27 -0
  183. package/es/table/utils/dkTable.d.ts +85 -0
  184. package/es/table/utils/dkTableApi.d.ts +59 -0
  185. package/es/test/index.d.ts +24 -0
  186. package/es/test/src/props.d.ts +15 -0
  187. package/es/test/src/test.vue.d.ts +23 -0
  188. package/es/tiny-editor/index.d.ts +64 -0
  189. package/es/tiny-editor/src/config.d.ts +19 -0
  190. package/es/tiny-editor/src/props.d.ts +31 -0
  191. package/es/tiny-editor/src/tiny-editor.vue.d.ts +63 -0
  192. package/es/video-input/index.d.ts +55 -0
  193. package/es/video-input/src/props.d.ts +24 -0
  194. package/es/video-input/src/video-input.vue.d.ts +54 -0
  195. package/es/video-list-input/index.d.ts +55 -0
  196. package/es/video-list-input/src/props.d.ts +24 -0
  197. package/es/video-list-input/src/video-list-input.vue.d.ts +54 -0
  198. package/lib/api/attachment.d.ts +10 -0
  199. package/lib/api/common.d.ts +1 -0
  200. package/lib/api/index.d.ts +1 -0
  201. package/lib/attachment/index.d.ts +29 -0
  202. package/lib/attachment/src/attachment.vue.d.ts +28 -0
  203. package/lib/attachment/src/file-icon.vue.d.ts +41 -0
  204. package/lib/attachment/src/props.d.ts +12 -0
  205. package/lib/attachment-dialog/index.d.ts +40 -0
  206. package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +39 -0
  207. package/lib/attachment-dialog/src/props.d.ts +16 -0
  208. package/lib/audio-input/index.d.ts +55 -0
  209. package/lib/audio-input/src/audio-input.vue.d.ts +54 -0
  210. package/lib/audio-input/src/props.d.ts +24 -0
  211. package/lib/audio-list-input/index.d.ts +55 -0
  212. package/lib/audio-list-input/src/audio-list-input.vue.d.ts +54 -0
  213. package/lib/audio-list-input/src/props.d.ts +24 -0
  214. package/lib/box-size-input/index.d.ts +71 -0
  215. package/lib/box-size-input/src/box-size-input.vue.d.ts +70 -0
  216. package/lib/box-size-input/src/props.d.ts +32 -0
  217. package/lib/color-input/index.d.ts +46 -0
  218. package/lib/color-input/src/color-input.vue.d.ts +45 -0
  219. package/lib/color-input/src/props.d.ts +23 -0
  220. package/lib/dialog/index.d.ts +176 -0
  221. package/lib/dialog/src/dialog.vue.d.ts +59 -0
  222. package/lib/dialog/src/props.d.ts +24 -0
  223. package/lib/file-input/index.d.ts +64 -0
  224. package/lib/file-input/src/file-input.vue.d.ts +63 -0
  225. package/lib/file-input/src/props.d.ts +28 -0
  226. package/lib/file-list-input/index.d.ts +64 -0
  227. package/lib/file-list-input/src/file-list-input.vue.d.ts +63 -0
  228. package/lib/file-list-input/src/props.d.ts +28 -0
  229. package/lib/form/index.d.ts +294 -0
  230. package/lib/form/src/config.d.ts +45 -0
  231. package/lib/form/src/form.vue.d.ts +116 -0
  232. package/lib/form/src/props.d.ts +44 -0
  233. package/lib/group/index.d.ts +174 -0
  234. package/lib/group/src/group.vue.d.ts +173 -0
  235. package/lib/group/src/props.d.ts +76 -0
  236. package/lib/group/utils/extend.d.ts +3 -0
  237. package/lib/group/utils/utils.d.ts +4 -0
  238. package/lib/icon/index.d.ts +189 -0
  239. package/lib/icon/src/icon.vue.d.ts +66 -0
  240. package/lib/icon/src/props.d.ts +31 -0
  241. package/lib/icon-input/index.d.ts +143 -0
  242. package/lib/icon-input/src/icon-content.vue.d.ts +44 -0
  243. package/lib/icon-input/src/icon-dialog.vue.d.ts +38 -0
  244. package/lib/icon-input/src/icon-input.vue.d.ts +62 -0
  245. package/lib/icon-input/src/props.d.ts +62 -0
  246. package/lib/image-input/index.d.ts +55 -0
  247. package/lib/image-input/src/image-input.vue.d.ts +54 -0
  248. package/lib/image-input/src/props.d.ts +24 -0
  249. package/lib/image-list-input/index.d.ts +55 -0
  250. package/lib/image-list-input/src/image-list-input.vue.d.ts +54 -0
  251. package/lib/image-list-input/src/props.d.ts +24 -0
  252. package/lib/index.d.ts +35 -0
  253. package/lib/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.js +3 -3
  254. package/lib/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.js.map +1 -1
  255. package/lib/packages/dk-ui/src/form/src/form.vue2.js +2 -2
  256. package/lib/packages/dk-ui/src/form/src/form.vue2.js.map +1 -1
  257. package/lib/packages/dk-ui/src/select/index.js.map +1 -1
  258. package/lib/packages/dk-ui/src/select/src/props.js.map +1 -1
  259. package/lib/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.js +3 -7
  260. package/lib/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.js.map +1 -1
  261. package/lib/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.js +1 -4
  262. package/lib/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.js.map +1 -1
  263. package/lib/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.js +2 -6
  264. package/lib/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
  265. package/lib/packages/dk-ui/src/table/src/components/RecycleDialog.vue2.js.map +1 -1
  266. package/lib/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.js +2 -4
  267. package/lib/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  268. package/lib/page-diy/index.d.ts +246 -0
  269. package/lib/page-diy/src/components/DragBox.vue.d.ts +14 -0
  270. package/lib/page-diy/src/components/DragTool.vue.d.ts +59 -0
  271. package/lib/page-diy/src/components/PreviewPhone.vue.d.ts +30 -0
  272. package/lib/page-diy/src/config/base/dkPage.d.ts +7 -0
  273. package/lib/page-diy/src/config/base/dkSetting.d.ts +35 -0
  274. package/lib/page-diy/src/config/base/index.d.ts +3 -0
  275. package/lib/page-diy/src/config/rule/common/DkPosterBtn.d.ts +86 -0
  276. package/lib/page-diy/src/config/rule/common/DkViewBulletChat.d.ts +108 -0
  277. package/lib/page-diy/src/config/rule/common/DkViewCell.d.ts +37 -0
  278. package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.d.ts +264 -0
  279. package/lib/page-diy/src/config/rule/common/DkViewDialog.d.ts +106 -0
  280. package/lib/page-diy/src/config/rule/common/DkViewGridCellList.d.ts +130 -0
  281. package/lib/page-diy/src/config/rule/common/DkViewImage.d.ts +120 -0
  282. package/lib/page-diy/src/config/rule/common/DkViewMusic.d.ts +85 -0
  283. package/lib/page-diy/src/config/rule/common/DkViewNavBar.d.ts +33 -0
  284. package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.d.ts +57 -0
  285. package/lib/page-diy/src/config/rule/common/DkViewSwipe.d.ts +140 -0
  286. package/lib/page-diy/src/config/rule/common/DkViewTabbar.d.ts +101 -0
  287. package/lib/page-diy/src/config/rule/common/DkViewTextarea.d.ts +33 -0
  288. package/lib/page-diy/src/config/rule/common/DkViewVideo.d.ts +73 -0
  289. package/lib/page-diy/src/config/rule/common/index.d.ts +2638 -0
  290. package/lib/page-diy/src/config/rule/index.d.ts +3665 -0
  291. package/lib/page-diy/src/config/rule/layout/DkViewTitle.d.ts +125 -0
  292. package/lib/page-diy/src/config/rule/layout/col.d.ts +36 -0
  293. package/lib/page-diy/src/config/rule/layout/divider.d.ts +39 -0
  294. package/lib/page-diy/src/config/rule/layout/index.d.ts +1023 -0
  295. package/lib/page-diy/src/config/rule/layout/row.d.ts +47 -0
  296. package/lib/page-diy/src/config/rule/layout/space.d.ts +32 -0
  297. package/lib/page-diy/src/config/rule/layout/swip-item.d.ts +27 -0
  298. package/lib/page-diy/src/config/rule/layout/swipe.d.ts +62 -0
  299. package/lib/page-diy/src/config/rule/layout/tab.d.ts +30 -0
  300. package/lib/page-diy/src/config/rule/layout/tabs.d.ts +119 -0
  301. package/lib/page-diy/src/config/rule/layout/vanEmpty.d.ts +66 -0
  302. package/lib/page-diy/src/page-diy.vue.d.ts +245 -0
  303. package/lib/page-diy/src/props.d.ts +11 -0
  304. package/lib/page-diy/src/utils/form.d.ts +4 -0
  305. package/lib/page-diy/src/utils/help.d.ts +2 -0
  306. package/lib/page-diy/src/utils/index.d.ts +3 -0
  307. package/lib/page-diy/src/utils/unique.d.ts +1 -0
  308. package/lib/page-diy/src/views/DkViewBulletChat.vue.d.ts +59 -0
  309. package/lib/page-diy/src/views/DkViewCell.vue.d.ts +14 -0
  310. package/lib/page-diy/src/views/DkViewCommonBtn.vue.d.ts +220 -0
  311. package/lib/page-diy/src/views/DkViewDialog.vue.d.ts +81 -0
  312. package/lib/page-diy/src/views/DkViewGridCellList.vue.d.ts +133 -0
  313. package/lib/page-diy/src/views/DkViewImage.vue.d.ts +120 -0
  314. package/lib/page-diy/src/views/DkViewMusic.vue.d.ts +68 -0
  315. package/lib/page-diy/src/views/DkViewNavBar.vue.d.ts +68 -0
  316. package/lib/page-diy/src/views/DkViewNoticeBar.vue.d.ts +59 -0
  317. package/lib/page-diy/src/views/DkViewSwipe.vue.d.ts +59 -0
  318. package/lib/page-diy/src/views/DkViewTabbar.vue.d.ts +52 -0
  319. package/lib/page-diy/src/views/DkViewTextarea.vue.d.ts +14 -0
  320. package/lib/page-diy/src/views/DkViewTitle.vue.d.ts +167 -0
  321. package/lib/page-diy/src/views/DkViewVideo.vue.d.ts +54 -0
  322. package/lib/page-diy/src/views/index.d.ts +2 -0
  323. package/lib/poster-input/index.d.ts +142 -0
  324. package/lib/poster-input/src/component/config.d.ts +97 -0
  325. package/lib/poster-input/src/component/poster-content.vue.d.ts +46 -0
  326. package/lib/poster-input/src/component/poster.vue.d.ts +31 -0
  327. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.d.ts +23 -0
  328. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.d.ts +23 -0
  329. package/lib/poster-input/src/component/views/DkPosterViewName.vue.d.ts +23 -0
  330. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.d.ts +23 -0
  331. package/lib/poster-input/src/component/views/DkPosterViewText.vue.d.ts +23 -0
  332. package/lib/poster-input/src/component/views/quick-action.vue.d.ts +14 -0
  333. package/lib/poster-input/src/poster-input.vue.d.ts +112 -0
  334. package/lib/poster-input/src/props.d.ts +54 -0
  335. package/lib/resolver.d.ts +15 -0
  336. package/lib/select/index.d.ts +3 -0
  337. package/lib/select/src/props.d.ts +3 -0
  338. package/lib/select/src/select.vue.d.ts +17 -0
  339. package/lib/style-background-input/index.d.ts +23 -0
  340. package/lib/style-background-input/src/props.d.ts +11 -0
  341. package/lib/style-background-input/src/style-background-input.vue.d.ts +22 -0
  342. package/lib/style-border-input/index.d.ts +17 -0
  343. package/lib/style-border-input/src/props.d.ts +8 -0
  344. package/lib/style-border-input/src/style-border-input.vue.d.ts +16 -0
  345. package/lib/style-box-input/index.d.ts +35 -0
  346. package/lib/style-box-input/src/html.d.ts +33 -0
  347. package/lib/style-box-input/src/props.d.ts +16 -0
  348. package/lib/style-box-input/src/style-box-input.vue.d.ts +34 -0
  349. package/lib/style-font-input/index.d.ts +17 -0
  350. package/lib/style-font-input/src/props.d.ts +8 -0
  351. package/lib/style-font-input/src/style-font-input.vue.d.ts +16 -0
  352. package/lib/style-input/index.d.ts +26 -0
  353. package/lib/style-input/src/default.d.ts +9 -0
  354. package/lib/style-input/src/props.d.ts +16 -0
  355. package/lib/style-input/src/style-input.vue.d.ts +25 -0
  356. package/lib/style-number-input/index.d.ts +62 -0
  357. package/lib/style-number-input/src/props.d.ts +28 -0
  358. package/lib/style-number-input/src/style-number-input.vue.d.ts +61 -0
  359. package/lib/style-position-input/index.d.ts +17 -0
  360. package/lib/style-position-input/src/props.d.ts +8 -0
  361. package/lib/style-position-input/src/style-position-input.vue.d.ts +16 -0
  362. package/lib/style-shadow-input/index.d.ts +83 -0
  363. package/lib/style-shadow-input/src/props.d.ts +12 -0
  364. package/lib/style-shadow-input/src/style-shadow-content.vue.d.ts +58 -0
  365. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +25 -0
  366. package/lib/table/index.d.ts +127 -0
  367. package/lib/table/src/components/ComSearch.vue.d.ts +7 -0
  368. package/lib/table/src/components/FieldRender.vue.d.ts +37 -0
  369. package/lib/table/src/components/RecycleDialog.vue.d.ts +2 -0
  370. package/lib/table/src/components/header.vue.d.ts +40 -0
  371. package/lib/table/src/props.d.ts +8 -0
  372. package/lib/table/src/table.vue.d.ts +27 -0
  373. package/lib/table/utils/dkTable.d.ts +85 -0
  374. package/lib/table/utils/dkTableApi.d.ts +59 -0
  375. package/lib/test/index.d.ts +24 -0
  376. package/lib/test/src/props.d.ts +15 -0
  377. package/lib/test/src/test.vue.d.ts +23 -0
  378. package/lib/tiny-editor/index.d.ts +64 -0
  379. package/lib/tiny-editor/src/config.d.ts +19 -0
  380. package/lib/tiny-editor/src/props.d.ts +31 -0
  381. package/lib/tiny-editor/src/tiny-editor.vue.d.ts +63 -0
  382. package/lib/video-input/index.d.ts +55 -0
  383. package/lib/video-input/src/props.d.ts +24 -0
  384. package/lib/video-input/src/video-input.vue.d.ts +54 -0
  385. package/lib/video-list-input/index.d.ts +55 -0
  386. package/lib/video-list-input/src/props.d.ts +24 -0
  387. package/lib/video-list-input/src/video-list-input.vue.d.ts +54 -0
  388. package/package.json +1 -1
@@ -96,12 +96,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
96
96
  }
97
97
  };
98
98
  vue.watch(position, () => {
99
- form.x = parseInt(
100
- String((position.left - props.boxSize / 2) / props.boxSize * props.max)
101
- );
102
- form.y = parseInt(
103
- String((position.top - props.boxSize / 2) / props.boxSize * props.max)
104
- );
99
+ form.x = parseInt(String((position.left - props.boxSize / 2) / props.boxSize * props.max));
100
+ form.y = parseInt(String((position.top - props.boxSize / 2) / props.boxSize * props.max));
105
101
  });
106
102
  vue.watch(form, () => {
107
103
  let value = `${form.x}${form.x_unit} ${form.y}${form.y_unit} ${form.vague}${form.vague_unit} ${form.extend}${form.extend_unit} ${form.color}`;
@@ -1 +1 @@
1
- {"version":3,"file":"style-shadow-content.vue2.js","sources":["../../../../../../src/style-shadow-input/src/style-shadow-content.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleShadowContent',\n});\n</script>\n<template>\n <div\n ref=\"el\"\n class=\"dk-style-shadow-content\"\n :style=\"{ '--shadow-box-width': boxSize + 'px' }\"\n >\n <el-form\n label-width=\"60px\"\n label-position=\"left\"\n class=\"shadow-form-content\"\n :size=\"size\"\n >\n <el-form-item label=\"模式\">\n <el-radio-group v-model=\"form.type\">\n <el-radio-button label=\"external\">外部</el-radio-button>\n <el-radio-button label=\"inset\">内部</el-radio-button>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"颜色\">\n <dk-color-input v-model=\"form.color\" show-alpha></dk-color-input>\n </el-form-item>\n <el-form-item label=\"x轴\">\n <el-input v-model=\"form.x\" type=\"number\">\n <template #append>\n <el-select\n v-model=\"form.x_unit\"\n placeholder=\"请选择\"\n class=\"w-40px\"\n suffix-icon=\"\"\n >\n <el-option\n v-for=\"item in units\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"y轴\">\n <el-input v-model=\"form.y\" type=\"number\">\n <template #append>\n <el-select\n v-model=\"form.y_unit\"\n placeholder=\"请选择\"\n class=\"w-40px\"\n suffix-icon=\"\"\n >\n <el-option\n v-for=\"item in units\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"模糊\">\n <el-input v-model=\"form.vague\" type=\"number\">\n <template #append>\n <el-select\n v-model=\"form.vague_unit\"\n placeholder=\"请选择\"\n class=\"w-40px\"\n suffix-icon=\"\"\n >\n <el-option\n v-for=\"item in units\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"扩展\">\n <el-input v-model=\"form.extend\" type=\"number\">\n <template #append>\n <el-select\n v-model=\"form.extend_unit\"\n placeholder=\"请选择\"\n class=\"w-40px\"\n suffix-icon=\"\"\n >\n <el-option\n v-for=\"item in units\"\n :key=\"item\"\n :label=\"item\"\n :value=\"item\"\n />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n </el-form>\n <div class=\"shadow-content-shortcut\">\n <div class=\"default-css m-b-10px\">\n <div class=\"m-b-10px\">常用样式</div>\n <el-button\n v-for=\"(item, key) in props.defaultStyles\"\n :key=\"key\"\n size=\"small\"\n @click=\"setStyle(item)\"\n >{{ item.label }}</el-button\n >\n </div>\n <div\n ref=\"box\"\n class=\"shadow-content-box\"\n :class=\"down ? 'down' : ''\"\n :style=\"{ height: boxSize + 'px', width: boxSize + 'px' }\"\n @click=\"getMouseXY($event, 1)\"\n @mousedown=\"onMousedown\"\n @mouseup=\"down = false\"\n @mousemove=\"getMouseXY($event, 0)\"\n >\n <span id=\"spot\" :style=\"spotStyle\">\n <i id=\"center\" />\n </span>\n <span\n id=\"center-spot\"\n :style=\"{ top: boxSize / 2 + 'px', left: boxSize / 2 + 'px' }\"\n />\n <div class=\"x-hr\" :style=\"{ top: boxSize / 2 + 'px' }\" />\n <div class=\"y-hr\" :style=\"{ left: boxSize / 2 + 'px' }\" />\n <div class=\"line\" :style=\"lineStyle\" />\n </div>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, onMounted, reactive, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\nconst el = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\n// interface StyleOption {\n// label: string\n// value: string\n// }\nconst props = defineProps({\n boxSize: {\n default: 180,\n type: Number,\n },\n size: {\n default: 'small',\n type: String,\n },\n max: {\n default: 24,\n type: Number,\n },\n modelValue: {\n default: '0px 0px 0px rgba(0, 0, 0, 0)',\n type: String,\n },\n defaultStyles: {\n default: () => {\n return [\n { label: '经典', value: '3px 5px 7px 2px #CBCBCBFF' },\n { label: '扁平', value: '4px 4px 3px -2px #E7E5E5FF' },\n { label: '立体', value: '1px 2px 4px 2px #979797FF' },\n ]\n },\n type: Array as () => any,\n },\n})\nconst form = reactive({\n color: '',\n type: 'external',\n x: 0,\n y: 0,\n vague: 0,\n extend: 0,\n x_unit: 'px',\n y_unit: 'px',\n vague_unit: 'px',\n extend_unit: 'px',\n})\n\nconst units = ['px', '%', 'rem', 'em', 'vw', 'vh']\nconst down = ref(false)\nconst position: any = reactive({\n left: 0,\n top: 0,\n})\n\nconst lineStyle = ref('')\nconst box = ref()\nconst spotStyle = computed(() => {\n return {\n left: position.left + 'px',\n top: position.top + 'px',\n }\n})\n\nconst getMouseXY = (e: any, force: any) => {\n if (down.value || force) {\n const _box = box.value.getBoundingClientRect()\n position.left = parseInt(String(e.clientX - _box.x))\n position.top = parseInt(String(e.clientY - _box.y))\n }\n}\n\nwatch(position, () => {\n form.x = parseInt(\n String(((position.left - props.boxSize / 2) / props.boxSize) * props.max)\n )\n form.y = parseInt(\n String(((position.top - props.boxSize / 2) / props.boxSize) * props.max)\n )\n})\nconst emit = defineEmits(['update:modelValue'])\nwatch(form, () => {\n let value = `${form.x}${form.x_unit} ${form.y}${form.y_unit} ${form.vague}${form.vague_unit} ${form.extend}${form.extend_unit} ${form.color}`\n if (form.type === 'inset') {\n value = value + ' inset'\n }\n emit('update:modelValue', value)\n})\nconst onMousedown = (e: any) => {\n getMouseXY(e, 1)\n down.value = true\n}\n\nconst initStyle = (modelValue: any) => {\n if (modelValue?.indexOf(' inset') > -1) {\n form.type = 'inset'\n modelValue = modelValue.replace(' inset', '')\n }\n const shadowData = modelValue.split('rgba')\n let color, shadowValues: any\n\n if (shadowData.length > 1) {\n // 将颜色值和其他阴影值进行分离\n color = 'rgba' + shadowData[1].trim()\n shadowValues = shadowData[0].trim().split(' ')\n } else {\n shadowValues = shadowData[0].trim().split(' ')\n color = shadowValues.pop()\n }\n form.color = color || '#000'\n form.x = parseInt(shadowValues[0]) || 0\n form.y = parseInt(shadowValues[1]) || 0\n form.vague = parseInt(shadowValues[2]) || 0\n form.extend = parseInt(shadowValues[3]) || 0\n\n const getUnit = (value: any) => {\n let unit = value?.replace(/[-\\d.]/g, '') || 'px'\n if (units.indexOf(unit) === -1) {\n unit = 'px'\n }\n return unit\n }\n form.x_unit = getUnit(shadowValues[0])\n form.y_unit = getUnit(shadowValues[1])\n form.vague_unit = getUnit(shadowValues[2])\n form.extend_unit = getUnit(shadowValues[3])\n position.left = props.boxSize / 2 + (form.x / props.max) * props.boxSize || 0\n position.top = props.boxSize / 2 + (form.y / props.max) * props.boxSize || 0\n}\n\nconst setStyle = (item: any) => {\n const style = item.value\n initStyle(style)\n}\n\nonMounted(() => {\n // let modelValue = props.modelValue\n initStyle(props.modelValue)\n})\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","reactive","computed","watch","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA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,QAAA,GAAW,CAAC,IAAc,KAAA;AAC9B,MAAA,MAAM,QAAQ,IAAK,CAAA,KAAA,CAAA;AACnB,MAAA,SAAA,CAAU,KAAK,CAAA,CAAA;AAAA,KACjB,CAAA;AAEA,IAAAC,aAAA,CAAU,MAAM;AAEd,MAAA,SAAA,CAAU,MAAM,UAAU,CAAA,CAAA;AAAA,KAC3B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-shadow-content.vue2.js","sources":["../../../../../../src/style-shadow-input/src/style-shadow-content.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleShadowContent',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-shadow-content\" :style=\"{ '--shadow-box-width': boxSize + 'px' }\">\n <el-form label-width=\"60px\" label-position=\"left\" class=\"shadow-form-content\" :size=\"size\">\n <el-form-item label=\"模式\">\n <el-radio-group v-model=\"form.type\">\n <el-radio-button label=\"external\">外部</el-radio-button>\n <el-radio-button label=\"inset\">内部</el-radio-button>\n </el-radio-group>\n </el-form-item>\n <el-form-item label=\"颜色\">\n <dk-color-input v-model=\"form.color\" show-alpha></dk-color-input>\n </el-form-item>\n <el-form-item label=\"x轴\">\n <el-input v-model=\"form.x\" type=\"number\">\n <template #append>\n <el-select v-model=\"form.x_unit\" placeholder=\"请选择\" class=\"w-40px\" suffix-icon=\"\">\n <el-option v-for=\"item in units\" :key=\"item\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"y轴\">\n <el-input v-model=\"form.y\" type=\"number\">\n <template #append>\n <el-select v-model=\"form.y_unit\" placeholder=\"请选择\" class=\"w-40px\" suffix-icon=\"\">\n <el-option v-for=\"item in units\" :key=\"item\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"模糊\">\n <el-input v-model=\"form.vague\" type=\"number\">\n <template #append>\n <el-select v-model=\"form.vague_unit\" placeholder=\"请选择\" class=\"w-40px\" suffix-icon=\"\">\n <el-option v-for=\"item in units\" :key=\"item\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n <el-form-item label=\"扩展\">\n <el-input v-model=\"form.extend\" type=\"number\">\n <template #append>\n <el-select v-model=\"form.extend_unit\" placeholder=\"请选择\" class=\"w-40px\" suffix-icon=\"\">\n <el-option v-for=\"item in units\" :key=\"item\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </el-form-item>\n </el-form>\n <div class=\"shadow-content-shortcut\">\n <div class=\"default-css m-b-10px\">\n <div class=\"m-b-10px\">常用样式</div>\n <el-button v-for=\"(item, key) in props.defaultStyles\" :key=\"key\" size=\"small\" @click=\"setStyle(item)\">{{\n item.label\n }}</el-button>\n </div>\n <div\n ref=\"box\"\n class=\"shadow-content-box\"\n :class=\"down ? 'down' : ''\"\n :style=\"{ height: boxSize + 'px', width: boxSize + 'px' }\"\n @click=\"getMouseXY($event, 1)\"\n @mousedown=\"onMousedown\"\n @mouseup=\"down = false\"\n @mousemove=\"getMouseXY($event, 0)\"\n >\n <span id=\"spot\" :style=\"spotStyle\">\n <i id=\"center\" />\n </span>\n <span id=\"center-spot\" :style=\"{ top: boxSize / 2 + 'px', left: boxSize / 2 + 'px' }\" />\n <div class=\"x-hr\" :style=\"{ top: boxSize / 2 + 'px' }\" />\n <div class=\"y-hr\" :style=\"{ left: boxSize / 2 + 'px' }\" />\n <div class=\"line\" :style=\"lineStyle\" />\n </div>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, onMounted, reactive, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\n// interface StyleOption {\n// label: string\n// value: string\n// }\nconst props = defineProps({\n boxSize: {\n default: 180,\n type: Number,\n },\n size: {\n default: 'small',\n type: String,\n },\n max: {\n default: 24,\n type: Number,\n },\n modelValue: {\n default: '0px 0px 0px rgba(0, 0, 0, 0)',\n type: String,\n },\n defaultStyles: {\n default: () => {\n return [\n { label: '经典', value: '3px 5px 7px 2px #CBCBCBFF' },\n { label: '扁平', value: '4px 4px 3px -2px #E7E5E5FF' },\n { label: '立体', value: '1px 2px 4px 2px #979797FF' },\n ]\n },\n type: Array as () => any,\n },\n})\nconst form = reactive({\n color: '',\n type: 'external',\n x: 0,\n y: 0,\n vague: 0,\n extend: 0,\n x_unit: 'px',\n y_unit: 'px',\n vague_unit: 'px',\n extend_unit: 'px',\n})\n\nconst units = ['px', '%', 'rem', 'em', 'vw', 'vh']\nconst down = ref(false)\nconst position: any = reactive({\n left: 0,\n top: 0,\n})\n\nconst lineStyle = ref('')\nconst box = ref()\nconst spotStyle = computed(() => {\n return {\n left: position.left + 'px',\n top: position.top + 'px',\n }\n})\n\nconst getMouseXY = (e: any, force: any) => {\n if (down.value || force) {\n const _box = box.value.getBoundingClientRect()\n position.left = parseInt(String(e.clientX - _box.x))\n position.top = parseInt(String(e.clientY - _box.y))\n }\n}\n\nwatch(position, () => {\n form.x = parseInt(String(((position.left - props.boxSize / 2) / props.boxSize) * props.max))\n form.y = parseInt(String(((position.top - props.boxSize / 2) / props.boxSize) * props.max))\n})\nconst emit = defineEmits(['update:modelValue'])\nwatch(form, () => {\n let value = `${form.x}${form.x_unit} ${form.y}${form.y_unit} ${form.vague}${form.vague_unit} ${form.extend}${form.extend_unit} ${form.color}`\n if (form.type === 'inset') {\n value = value + ' inset'\n }\n emit('update:modelValue', value)\n})\nconst onMousedown = (e: any) => {\n getMouseXY(e, 1)\n down.value = true\n}\n\nconst initStyle = (modelValue: any) => {\n if (modelValue?.indexOf(' inset') > -1) {\n form.type = 'inset'\n modelValue = modelValue.replace(' inset', '')\n }\n const shadowData = modelValue.split('rgba')\n let color, shadowValues: any\n\n if (shadowData.length > 1) {\n // 将颜色值和其他阴影值进行分离\n color = 'rgba' + shadowData[1].trim()\n shadowValues = shadowData[0].trim().split(' ')\n } else {\n shadowValues = shadowData[0].trim().split(' ')\n color = shadowValues.pop()\n }\n form.color = color || '#000'\n form.x = parseInt(shadowValues[0]) || 0\n form.y = parseInt(shadowValues[1]) || 0\n form.vague = parseInt(shadowValues[2]) || 0\n form.extend = parseInt(shadowValues[3]) || 0\n\n const getUnit = (value: any) => {\n let unit = value?.replace(/[-\\d.]/g, '') || 'px'\n if (units.indexOf(unit) === -1) {\n unit = 'px'\n }\n return unit\n }\n form.x_unit = getUnit(shadowValues[0])\n form.y_unit = getUnit(shadowValues[1])\n form.vague_unit = getUnit(shadowValues[2])\n form.extend_unit = getUnit(shadowValues[3])\n position.left = props.boxSize / 2 + (form.x / props.max) * props.boxSize || 0\n position.top = props.boxSize / 2 + (form.y / props.max) * props.boxSize || 0\n}\n\nconst setStyle = (item: any) => {\n const style = item.value\n initStyle(style)\n}\n\nonMounted(() => {\n // let modelValue = props.modelValue\n initStyle(props.modelValue)\n})\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","reactive","computed","watch","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,sBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;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9B,MAAA,MAAM,QAAQ,IAAK,CAAA,KAAA,CAAA;AACnB,MAAA,SAAA,CAAU,KAAK,CAAA,CAAA;AAAA,KACjB,CAAA;AAEA,IAAAC,aAAA,CAAU,MAAM;AAEd,MAAA,SAAA,CAAU,MAAM,UAAU,CAAA,CAAA;AAAA,KAC3B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"RecycleDialog.vue2.js","sources":["../../../../../../../src/table/src/components/RecycleDialog.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'RecycleDialog',\n});\n</script>\n<template>\n <dk-dialog v-model=\"DkTable.recycleTable.showDialog\" title=\"回收站\" width=\"1000px\" class=\"dk-table\">\n <div class=\"dk-table-header\">\n <el-button class=\"table-header-operate\" type=\"info\" @click=\"DkTable.onTableHeaderAction('refreshRecycle')\">\n <dk-icon icon=\"Refresh\"></dk-icon>\n </el-button>\n <el-button class=\"table-header-operate\" type=\"primary\" :disabled=\"!enableBatchOpt\" @click=\"restoreSelect()\">\n <dk-icon icon=\"RefreshLeft\"></dk-icon>\n <span class=\"m-l-5px\">还原</span>\n </el-button>\n <el-button class=\"table-header-operate\" type=\"danger\" :disabled=\"!enableBatchOpt\" @click=\"destroySelect()\">\n <dk-icon icon=\"CloseBold\"></dk-icon>\n <span class=\"m-l-5px\">销毁</span>\n </el-button>\n <el-popconfirm\n confirm-button-text=\"还原\"\n cancel-button-text=\"取消\"\n confirm-button-type=\"danger\"\n title=\"您确定要还原全部?\"\n @confirm=\"restore(null)\"\n >\n <template #reference>\n <div class=\"m-l-6px\">\n <el-button class=\"table-header-operate\" type=\"success\">\n <dk-icon icon=\"RefreshLeft\"></dk-icon>\n <span class=\"m-l-5px\">还原全部</span>\n </el-button>\n </div>\n </template>\n </el-popconfirm>\n <el-popconfirm\n confirm-button-text=\"清空\"\n cancel-button-text=\"取消\"\n confirm-button-type=\"danger\"\n title=\"您确定要清空全部?\"\n @confirm=\"destroy(null)\"\n >\n <template #reference>\n <div class=\"m-l-5px\">\n <el-button class=\"table-header-operate\" type=\"danger\">\n <dk-icon icon=\"CloseBold\"></dk-icon>\n <span class=\"m-l-5px\">清空全部</span>\n </el-button>\n </div>\n </template>\n </el-popconfirm>\n <div class=\"table-search\">\n <el-input\n v-model=\"DkTable.recycleTable.filter!.quickSearch\"\n placeholder=\"请输入\"\n prefix-icon=\"Search\"\n @input=\"debounce(onSearchInput, 500)()\"\n />\n </div>\n </div>\n <!--表格s-->\n <el-table\n v-loading=\"DkTable.recycleTable.loading\"\n :data=\"DkTable.recycleTable.data\"\n class=\"dk-data-table\"\n @selection-change=\"onSelectionChange\"\n >\n <!-- <template v-for=\"(item, key) in DkTable.recycleTable.column\">-->\n <el-table-column\n v-for=\"(item, key) in DkTable.recycleTable.column\"\n v-bind=\"{ ...item }\"\n :key=\"key\"\n ></el-table-column>\n <!-- </template>-->\n <el-table-column label=\"操作\" width=\"100\">\n <template #default=\"{ row }\">\n <el-button icon=\"RefreshLeft\" type=\"primary\" size=\"small\" @click=\"restore([row.id])\"> 还原 </el-button>\n <el-button icon=\"CloseBold\" type=\"danger\" size=\"small\" @click=\"destroy([row.id])\"> 销毁 </el-button>\n </template>\n </el-table-column>\n </el-table>\n <!--表格e-->\n </dk-dialog>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject } from 'vue'\nimport dkTable from '../../utils/dkTable'\nimport { debounce } from '@vipl520/utils'\n\n\nconst DkTable = inject('DkTable') as dkTable\n\nconst onSearchInput = () => {\n DkTable.onTableHeaderAction('quick-recycle-search', {\n keyword: DkTable.recycleTable.filter!.quickSearch,\n })\n}\n\n/*\n * 记录选择的项\n */\nconst onSelectionChange = (selection: TableRow[]) => {\n DkTable.onTableAction('selection-recycle-change', selection)\n}\n\n/**\n * 销毁\n */\nconst destroy = (ids) => {\n DkTable.api.destroy(ids).then((res) => {\n DkTable.onTableHeaderAction('refreshRecycle')\n })\n}\n\n/**\n * 还原\n */\nconst restore = (ids) => {\n DkTable.api.restore(ids).then((res) => {\n DkTable.onTableHeaderAction('refreshRecycle')\n })\n}\n\nconst getSelectionIds = () => {\n const ids: string[] = []\n DkTable.recycleTable.selection?.forEach((item) => {\n ids.push(item[DkTable.recycleTable.pk!])\n })\n return ids\n}\n\nconst restoreSelect = () => {\n restore(getSelectionIds())\n}\n\nconst destroySelect = () => {\n destroy(getSelectionIds())\n}\n\nconst enableBatchOpt = computed(() => DkTable.recycleTable.selection!.length > 0)\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","inject","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,eAAA;AACR,CAAC,CAAA,CAAA;;;;AAuFD,IAAM,MAAA,OAAA,GAAUC,WAAO,SAAS,CAAA,CAAA;AAEhC,IAAA,MAAM,gBAAgB,MAAM;AAC1B,MAAA,OAAA,CAAQ,oBAAoB,sBAAwB,EAAA;AAAA,QAClD,OAAA,EAAS,OAAQ,CAAA,YAAA,CAAa,MAAQ,CAAA,WAAA;AAAA,OACvC,CAAA,CAAA;AAAA,KACH,CAAA;AAKA,IAAM,MAAA,iBAAA,GAAoB,CAAC,SAA0B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RecycleDialog.vue2.js","sources":["../../../../../../../src/table/src/components/RecycleDialog.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'RecycleDialog',\n});\n</script>\n<template>\n <dk-dialog v-model=\"DkTable.recycleTable.showDialog\" title=\"回收站\" width=\"1000px\" class=\"dk-table\">\n <div class=\"dk-table-header\">\n <el-button class=\"table-header-operate\" type=\"info\" @click=\"DkTable.onTableHeaderAction('refreshRecycle')\">\n <dk-icon icon=\"Refresh\"></dk-icon>\n </el-button>\n <el-button class=\"table-header-operate\" type=\"primary\" :disabled=\"!enableBatchOpt\" @click=\"restoreSelect()\">\n <dk-icon icon=\"RefreshLeft\"></dk-icon>\n <span class=\"m-l-5px\">还原</span>\n </el-button>\n <el-button class=\"table-header-operate\" type=\"danger\" :disabled=\"!enableBatchOpt\" @click=\"destroySelect()\">\n <dk-icon icon=\"CloseBold\"></dk-icon>\n <span class=\"m-l-5px\">销毁</span>\n </el-button>\n <el-popconfirm\n confirm-button-text=\"还原\"\n cancel-button-text=\"取消\"\n confirm-button-type=\"danger\"\n title=\"您确定要还原全部?\"\n @confirm=\"restore(null)\"\n >\n <template #reference>\n <div class=\"m-l-6px\">\n <el-button class=\"table-header-operate\" type=\"success\">\n <dk-icon icon=\"RefreshLeft\"></dk-icon>\n <span class=\"m-l-5px\">还原全部</span>\n </el-button>\n </div>\n </template>\n </el-popconfirm>\n <el-popconfirm\n confirm-button-text=\"清空\"\n cancel-button-text=\"取消\"\n confirm-button-type=\"danger\"\n title=\"您确定要清空全部?\"\n @confirm=\"destroy(null)\"\n >\n <template #reference>\n <div class=\"m-l-5px\">\n <el-button class=\"table-header-operate\" type=\"danger\">\n <dk-icon icon=\"CloseBold\"></dk-icon>\n <span class=\"m-l-5px\">清空全部</span>\n </el-button>\n </div>\n </template>\n </el-popconfirm>\n <div class=\"table-search\">\n <el-input\n v-model=\"DkTable.recycleTable.filter!.quickSearch\"\n placeholder=\"请输入\"\n prefix-icon=\"Search\"\n @input=\"debounce(onSearchInput, 500)()\"\n />\n </div>\n </div>\n <!--表格s-->\n <el-table\n v-loading=\"DkTable.recycleTable.loading\"\n :data=\"DkTable.recycleTable.data\"\n class=\"dk-data-table\"\n @selection-change=\"onSelectionChange\"\n >\n <!-- <template v-for=\"(item, key) in DkTable.recycleTable.column\">-->\n <el-table-column\n v-for=\"(item, key) in DkTable.recycleTable.column\"\n v-bind=\"{ ...item }\"\n :key=\"key\"\n ></el-table-column>\n <!-- </template>-->\n <el-table-column label=\"操作\" width=\"100\">\n <template #default=\"{ row }\">\n <el-button icon=\"RefreshLeft\" type=\"primary\" size=\"small\" @click=\"restore([row.id])\"> 还原 </el-button>\n <el-button icon=\"CloseBold\" type=\"danger\" size=\"small\" @click=\"destroy([row.id])\"> 销毁 </el-button>\n </template>\n </el-table-column>\n </el-table>\n <!--表格e-->\n </dk-dialog>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject } from 'vue'\nimport dkTable from '../../utils/dkTable'\nimport { debounce } from '@vipl520/utils'\n\n\nconst DkTable = inject('DkTable') as dkTable\n\nconst onSearchInput = () => {\n DkTable.onTableHeaderAction('quick-recycle-search', {\n keyword: DkTable.recycleTable.filter!.quickSearch,\n })\n}\n\n/*\n * 记录选择的项\n */\nconst onSelectionChange = (selection: TableRow[]) => {\n DkTable.onTableAction('selection-recycle-change', selection)\n}\n\n/**\n * 销毁\n */\nconst destroy = (ids: any) => {\n DkTable.api.destroy(ids).then((res) => {\n DkTable.onTableHeaderAction('refreshRecycle')\n })\n}\n\n/**\n * 还原\n */\nconst restore = (ids: any) => {\n DkTable.api.restore(ids).then((res) => {\n DkTable.onTableHeaderAction('refreshRecycle')\n })\n}\n\nconst getSelectionIds = () => {\n const ids: string[] = []\n DkTable.recycleTable.selection?.forEach((item) => {\n ids.push(item[DkTable.recycleTable.pk!])\n })\n return ids\n}\n\nconst restoreSelect = () => {\n restore(getSelectionIds())\n}\n\nconst destroySelect = () => {\n destroy(getSelectionIds())\n}\n\nconst enableBatchOpt = computed(() => DkTable.recycleTable.selection!.length > 0)\n</script>\n<style scoped></style>\n"],"names":["__MACROS_defineComponent","inject","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,eAAA;AACR,CAAC,CAAA,CAAA;;;;AAuFD,IAAM,MAAA,OAAA,GAAUC,WAAO,SAAS,CAAA,CAAA;AAEhC,IAAA,MAAM,gBAAgB,MAAM;AAC1B,MAAA,OAAA,CAAQ,oBAAoB,sBAAwB,EAAA;AAAA,QAClD,OAAA,EAAS,OAAQ,CAAA,YAAA,CAAa,MAAQ,CAAA,WAAA;AAAA,OACvC,CAAA,CAAA;AAAA,KACH,CAAA;AAKA,IAAM,MAAA,iBAAA,GAAoB,CAAC,SAA0B,KAAA;AACnD,MAAQ,OAAA,CAAA,aAAA,CAAc,4BAA4B,SAAS,CAAA,CAAA;AAAA,KAC7D,CAAA;AAKA,IAAM,MAAA,OAAA,GAAU,CAAC,GAAa,KAAA;AAC5B,MAAA,OAAA,CAAQ,IAAI,OAAQ,CAAA,GAAG,CAAE,CAAA,IAAA,CAAK,CAAC,GAAQ,KAAA;AACrC,QAAA,OAAA,CAAQ,oBAAoB,gBAAgB,CAAA,CAAA;AAAA,OAC7C,CAAA,CAAA;AAAA,KACH,CAAA;AAKA,IAAM,MAAA,OAAA,GAAU,CAAC,GAAa,KAAA;AAC5B,MAAA,OAAA,CAAQ,IAAI,OAAQ,CAAA,GAAG,CAAE,CAAA,IAAA,CAAK,CAAC,GAAQ,KAAA;AACrC,QAAA,OAAA,CAAQ,oBAAoB,gBAAgB,CAAA,CAAA;AAAA,OAC7C,CAAA,CAAA;AAAA,KACH,CAAA;AAEA,IAAA,MAAM,kBAAkB,MAAM;AAC5B,MAAA,MAAM,MAAgB,EAAC,CAAA;AACvB,MAAA,OAAA,CAAQ,YAAa,CAAA,SAAA,EAAW,OAAQ,CAAA,CAAC,IAAS,KAAA;AAChD,QAAA,GAAA,CAAI,IAAK,CAAA,IAAA,CAAK,OAAQ,CAAA,YAAA,CAAa,EAAG,CAAC,CAAA,CAAA;AAAA,OACxC,CAAA,CAAA;AACD,MAAO,OAAA,GAAA,CAAA;AAAA,KACT,CAAA;AAEA,IAAA,MAAM,gBAAgB,MAAM;AAC1B,MAAA,OAAA,CAAQ,iBAAiB,CAAA,CAAA;AAAA,KAC3B,CAAA;AAEA,IAAA,MAAM,gBAAgB,MAAM;AAC1B,MAAA,OAAA,CAAQ,iBAAiB,CAAA,CAAA;AAAA,KAC3B,CAAA;AAEA,IAAA,MAAM,iBAAiBC,YAAS,CAAA,MAAM,QAAQ,YAAa,CAAA,SAAA,CAAW,SAAS,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -40,9 +40,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
40
40
  content_css: props.document ? "document" : "",
41
41
  images_upload_handler: handleImageUpload
42
42
  });
43
- const tinymceSrc = vue.ref(
44
- "https://registry.npmmirror.com/dk-tinymce/1.0.0/files/tinymce.min.js"
45
- );
43
+ const tinymceSrc = vue.ref("https://registry.npmmirror.com/dk-tinymce/1.0.0/files/tinymce.min.js");
46
44
  const attachmentRef = vue.ref();
47
45
  const editorRef = vue.ref();
48
46
  vue.watch(
@@ -108,7 +106,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
108
106
  class: "dk-tiny-editor"
109
107
  },
110
108
  [
111
- vue.unref(width) >= props.showDialogWidth ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
109
+ vue.unref(width).value >= props.showDialogWidth ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
112
110
  vue.createVNode(vue.unref(Editor), {
113
111
  ref_key: "editorRef",
114
112
  ref: editorRef,
@@ -1 +1 @@
1
- {"version":3,"file":"tiny-editor.vue2.js","sources":["../../../../../../src/tiny-editor/src/tiny-editor.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTinyEditor',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-tiny-editor\">\n <div v-if=\"width >= props.showDialogWidth\">\n <Editor\n ref=\"editorRef\"\n v-model=\"content\"\n :init=\"init\"\n :tinymce-script-src=\"tinymceSrc\"\n @dblclick=\"ondblclick\"\n />\n </div>\n <div v-else>\n <el-button\n type=\"primary\"\n plain\n style=\"width: 100%\"\n @click=\"showEditor = true\"\n >{{ props.buttonText }}</el-button\n >\n <dk-dialog v-model=\"showEditor\" title=\"编辑\" width=\"900px\">\n <Editor\n ref=\"editorRef\"\n v-model=\"content\"\n :init=\"init\"\n :tinymce-script-src=\"tinymceSrc\"\n @dblclick=\"ondblclick\"\n />\n <template #footer>\n <div class=\"text-center\">\n <el-button\n type=\"primary\"\n style=\"width: 200px\"\n @click=\"showEditor = false\"\n >确定</el-button\n >\n </div>\n </template>\n </dk-dialog>\n </div>\n <dk-attachment-dialog ref=\"attachmentRef\" :type=\"1\" @confirm=\"onSubmit\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport config from './config'\nimport Editor from '@tinymce/tinymce-vue'\nimport { nextTick, onMounted, ref, watch } from 'vue'\nimport { UploadAttachment } from '../../api'\nimport { tinyEditorProps } from './props'\nimport { useElementSize } from '@vueuse/core'\nconst el = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\nconst props = defineProps(tinyEditorProps)\nconst content = ref(props.modelValue)\nconst showEditor = ref(false)\n// 上传的地址\nconst handleImageUpload = (blobInfo: any, progress: any) =>\n new Promise((resolve, reject) => {\n UploadAttachment(blobInfo.blob())\n .then((res) => {\n progress(100)\n resolve(res.data.url)\n })\n .catch((err) => {\n reject(err)\n })\n })\n\nconst init = ref({\n ...config,\n height: props.height,\n content_css: props.document ? 'document' : '',\n images_upload_handler: handleImageUpload,\n})\n\nconst tinymceSrc = ref(\n 'https://registry.npmmirror.com/dk-tinymce/1.0.0/files/tinymce.min.js'\n)\nconst attachmentRef = ref()\nconst editorRef = ref()\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n content.value = newValue\n }\n)\n\nwatch(\n () => content.value,\n (newValue) => {\n emit('update:modelValue', newValue)\n emit('input', newValue)\n emit('change', newValue)\n }\n)\n\nonMounted(() => {\n nextTick(() => {\n initShowImage()\n })\n})\n\nwatch(\n () => editorRef.value,\n () => {\n if (editorRef.value?.getEditor()) {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n }\n)\n\nconst initShowImage = () => {\n if (!editorRef.value?.getEditor()) {\n setTimeout(() => {\n initShowImage()\n }, 1000)\n } else {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n}\n\nconst onSubmit = (chooseFileList: any) => {\n const editor = editorRef.value.getEditor()\n let html = ''\n chooseFileList.forEach((item: any) => {\n html += '<img src=\"' + item.url + '\" alt=\"\" width=\"100%\">'\n })\n editor.insertContent(html)\n}\n\nconst ondblclick = (editor: any) => {\n console.log(editor)\n}\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","Uplo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,CAAA;AAAA,OACH;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,QAAA,GAAW,CAAC,cAAwB,KAAA;AACxC,MAAM,MAAA,MAAA,GAAS,SAAU,CAAA,KAAA,CAAM,SAAU,EAAA,CAAA;AACzC,MAAA,IAAI,IAAO,GAAA,EAAA,CAAA;AACX,MAAe,cAAA,CAAA,OAAA,CAAQ,CAAC,IAAc,KAAA;AACpC,QAAQ,IAAA,IAAA,YAAA,GAAe,KAAK,GAAM,GAAA,wBAAA,CAAA;AAAA,OACnC,CAAA,CAAA;AACD,MAAA,MAAA,CAAO,cAAc,IAAI,CAAA,CAAA;AAAA,KAC3B,CAAA;AAEA,IAAM,MAAA,UAAA,GAAa,CAAC,MAAgB,KAAA;AAClC,MAAA,OAAA,CAAQ,IAAI,MAAM,CAAA,CAAA;AAAA,KACpB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tiny-editor.vue2.js","sources":["../../../../../../src/tiny-editor/src/tiny-editor.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkTinyEditor',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-tiny-editor\">\n <div v-if=\"width.value >= props.showDialogWidth\">\n <Editor ref=\"editorRef\" v-model=\"content\" :init=\"init\" :tinymce-script-src=\"tinymceSrc\" @dblclick=\"ondblclick\" />\n </div>\n <div v-else>\n <el-button type=\"primary\" plain style=\"width: 100%\" @click=\"showEditor = true\">{{ props.buttonText }}</el-button>\n <dk-dialog v-model=\"showEditor\" title=\"编辑\" width=\"900px\">\n <Editor\n ref=\"editorRef\"\n v-model=\"content\"\n :init=\"init\"\n :tinymce-script-src=\"tinymceSrc\"\n @dblclick=\"ondblclick\"\n />\n <template #footer>\n <div class=\"text-center\">\n <el-button type=\"primary\" style=\"width: 200px\" @click=\"showEditor = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n <dk-attachment-dialog ref=\"attachmentRef\" :type=\"1\" @confirm=\"onSubmit\" />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport config from './config'\nimport Editor from '@tinymce/tinymce-vue'\nimport { nextTick, onMounted, ref, watch } from 'vue'\nimport { UploadAttachment } from '../../api'\nimport { tinyEditorProps } from './props'\nimport { useElementSize } from '@vueuse/core'\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\n\nconst props = defineProps(tinyEditorProps)\nconst content = ref(props.modelValue)\nconst showEditor = ref(false)\n// 上传的地址\nconst handleImageUpload = (blobInfo: any, progress: any) =>\n new Promise((resolve, reject) => {\n UploadAttachment(blobInfo.blob())\n .then((res) => {\n progress(100)\n resolve(res.data.url)\n })\n .catch((err) => {\n reject(err)\n })\n })\n\nconst init = ref({\n ...config,\n height: props.height,\n content_css: props.document ? 'document' : '',\n images_upload_handler: handleImageUpload,\n})\n\nconst tinymceSrc = ref('https://registry.npmmirror.com/dk-tinymce/1.0.0/files/tinymce.min.js')\nconst attachmentRef = ref()\nconst editorRef = ref()\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n content.value = newValue\n }\n)\n\nwatch(\n () => content.value,\n (newValue) => {\n emit('update:modelValue', newValue)\n emit('input', newValue)\n emit('change', newValue)\n }\n)\n\nonMounted(() => {\n nextTick(() => {\n initShowImage()\n })\n})\n\nwatch(\n () => editorRef.value,\n () => {\n if (editorRef.value?.getEditor()) {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n }\n)\n\nconst initShowImage = () => {\n if (!editorRef.value?.getEditor()) {\n setTimeout(() => {\n initShowImage()\n }, 1000)\n } else {\n editorRef.value.getEditor().on('showImage', () => {\n attachmentRef.value.open()\n })\n }\n}\n\nconst onSubmit = (chooseFileList: any) => {\n const editor = editorRef.value.getEditor()\n let html = ''\n chooseFileList.forEach((item: any) => {\n html += '<img src=\"' + item.url + '\" alt=\"\" width=\"100%\">'\n })\n editor.insertContent(html)\n}\n\nconst ondblclick = (editor: any) => {\n console.log(editor)\n}\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","UploadAttachment","config","watch","onMounted","nextTick"],"mappings":";;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAmCD,IAAM,MAAA,EAAA,GAAUC,QAAI,IAAI,CAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAA,EAAU,GAAAC,mBAAA,CAAe,EAAE,CAAA,CAAA;AAInC,IAAM,MAAA,OAAA,GAAUD,OAAI,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACpC,IAAM,MAAA,UAAA,GAAaA,QAAI,KAAK,CAAA,CAAA;AAE5B,IAAM,MAAA,iBAAA,GAAoB,CAAC,QAAe,EAAA,QAAA,KACxC,IAAI,OAAQ,CAAA,CAAC,SAAS,MAAW,KAAA;AAC/B,MAAAE,2BAAA,CAAiB,SAAS,IAAK,EAAC,CAC7B,CAAA,IAAA,CAAK,CAAC,GAAQ,KAAA;AACb,QAAA,QAAA,CAAS,GAAG,CAAA,CAAA;AACZ,QAAQ,OAAA,CAAA,GAAA,CAAI,KAAK,GAAG,CAAA,CAAA;AAAA,OACrB,CAAA,CACA,KAAM,CAAA,CAAC,GAAQ,KAAA;AACd,QAAA,MAAA,CAAO,GAAG,CAAA,CAAA;AAAA,OACX,CAAA,CAAA;AAAA,KACJ,CAAA,CAAA;AAEH,IAAA,MAAM,OAAOF,OAAI,CAAA;AAAA,MACf,GAAGG,cAAA;AAAA,MACH,QAAQ,KAAM,CAAA,MAAA;AAAA,MACd,WAAA,EAAa,KAAM,CAAA,QAAA,GAAW,UAAa,GAAA,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,UAAc,aAAA,EAAA,CAAA;AAAA,WACb,GAAI,CAAA,CAAA;AAAA,OACF,MAAA;AACL,QAAA,SAAA,CAAU,KAAM,CAAA,SAAA,EAAY,CAAA,EAAA,CAAG,aAAa,MAAM;AAChD,UAAA,aAAA,CAAc,MAAM,IAAK,EAAA,CAAA;AAAA,SAC1B,CAAA,CAAA;AAAA,OACH;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,QAAA,GAAW,CAAC,cAAwB,KAAA;AACxC,MAAM,MAAA,MAAA,GAAS,SAAU,CAAA,KAAA,CAAM,SAAU,EAAA,CAAA;AACzC,MAAA,IAAI,IAAO,GAAA,EAAA,CAAA;AACX,MAAe,cAAA,CAAA,OAAA,CAAQ,CAAC,IAAc,KAAA;AACpC,QAAQ,IAAA,IAAA,YAAA,GAAe,KAAK,GAAM,GAAA,wBAAA,CAAA;AAAA,OACnC,CAAA,CAAA;AACD,MAAA,MAAA,CAAO,cAAc,IAAI,CAAA,CAAA;AAAA,KAC3B,CAAA;AAEA,IAAM,MAAA,UAAA,GAAa,CAAC,MAAgB,KAAA;AAClC,MAAA,OAAA,CAAQ,IAAI,MAAM,CAAA,CAAA;AAAA,KACpB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,246 @@
1
+ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<Readonly<{
2
+ config?: any;
3
+ loading?: any;
4
+ menu?: any;
5
+ mask?: any;
6
+ height?: any;
7
+ locale?: any;
8
+ }>, {
9
+ countObj: import("vue").ComputedRef<{}>;
10
+ diyTree: import("vue").ComputedRef<any[]>;
11
+ clear(type?: string): void;
12
+ get(): {
13
+ rule: any;
14
+ config: {};
15
+ };
16
+ set(value: any): void;
17
+ unWatchActiveRule(): void;
18
+ watchActiveRule(): void;
19
+ makeChildren(children: any): any;
20
+ addMenu(config: any): void;
21
+ removeMenu(name: any): void;
22
+ setMenuItem(name: any, list: any): void;
23
+ appendMenuItem(name: any, item: any): void;
24
+ removeMenuItem(item: any): void;
25
+ addComponent(component: any): void;
26
+ getParent(rule: any): {
27
+ root: any;
28
+ parent: any;
29
+ };
30
+ makeDrag(group: any, tag: any, children: any, on: any): {
31
+ type: string;
32
+ wrap: {
33
+ show: boolean;
34
+ };
35
+ col: {
36
+ show: boolean;
37
+ };
38
+ inject: boolean;
39
+ props: {
40
+ rule: {
41
+ props: {
42
+ tag: string;
43
+ group: any;
44
+ ghostClass: string;
45
+ animation: number;
46
+ emptyInsertThreshold: number;
47
+ direction: string;
48
+ itemKey: string;
49
+ };
50
+ };
51
+ tag: any;
52
+ };
53
+ children: any;
54
+ on: any;
55
+ };
56
+ makeDragRule(children: any): any;
57
+ previewFc(): void;
58
+ getPageConfig(): {};
59
+ setPageConfig(pageConfig: any): void;
60
+ getRule(): any;
61
+ getJson(): string;
62
+ setRule(rules: any): void;
63
+ clearActiveRule(): void;
64
+ loadRule(rules: any): any[];
65
+ parseRule(children: any, isTree?: boolean): any;
66
+ baseChange(field: any, value: any, _: any, fapi: any): void;
67
+ dkSettingChange(field: any, value: any, _: any, fapi: any, flag: any): void;
68
+ propRemoveField(field: any, _: any, fapi: any): void;
69
+ propChange(field: any, value: any, _: any, fapi: any): void;
70
+ dkPageChange(field: any, value: any, _: any, fapi: any, flag: any): void;
71
+ nodeClick(row: any): void;
72
+ delRule(id: any, children?: null): void;
73
+ chooseRule(id: any, children?: null): void;
74
+ toolActive(rule: any): void;
75
+ updateShowStyle(rule: any): void;
76
+ updateRuleFormData(): void;
77
+ dragStart(children: any): void;
78
+ dragUnchoose(children: any, evt: any): void;
79
+ dragAdd(children: any, evt: any): false | undefined;
80
+ dragEnd(children: any, { newIndex, oldIndex }: {
81
+ newIndex: any;
82
+ oldIndex: any;
83
+ }): void;
84
+ makeRule(config: any, _rule: any): any;
85
+ onResizerMouseDown(name: any, e: any): void;
86
+ onResizerMouseUp(): void;
87
+ onResizerMouseMove(e: any): void;
88
+ hideAside(name: any): void;
89
+ allowDrop(draggingNode: any, dropNode: any, type: any): boolean;
90
+ allowDrag(draggingNode: any): true | undefined;
91
+ nodeDrop(node: any, dropNode: any, type: any, event: any): void;
92
+ cacheProps: import("vue").Ref<{}>;
93
+ moveRule: import("vue").Ref<null>;
94
+ addRule: import("vue").Ref<null>;
95
+ added: import("vue").Ref<null>;
96
+ activeTab: import("vue").Ref<string>;
97
+ activeRule: import("vue").Ref<null>;
98
+ children: import("vue").Ref<never[]>;
99
+ menuList: import("vue").Ref<any>;
100
+ showBaseRule: import("vue").Ref<boolean>;
101
+ showDkSettingRule: import("vue").Ref<boolean>;
102
+ visible: import("vue").Ref<{
103
+ preview: boolean;
104
+ }>;
105
+ preview: import("vue").Ref<{
106
+ state: boolean;
107
+ rule: never[];
108
+ option: {};
109
+ }>;
110
+ diyCloud: import("vue").Ref<{
111
+ pageName: string;
112
+ show: boolean;
113
+ }>;
114
+ dragForm: import("vue").Ref<{
115
+ rule: never[];
116
+ api: {};
117
+ option: {
118
+ form: {};
119
+ submitBtn: boolean;
120
+ };
121
+ }>;
122
+ dkSettingForm: import("vue").Ref<{
123
+ rule: {
124
+ type: string;
125
+ props: {
126
+ modelValue: string;
127
+ };
128
+ style: string;
129
+ children: {
130
+ type: string;
131
+ props: {
132
+ name: string;
133
+ };
134
+ children: ({
135
+ type: string;
136
+ slot: string;
137
+ style: string;
138
+ children: ({
139
+ type: string;
140
+ style: string;
141
+ children?: undefined;
142
+ } | {
143
+ type: string;
144
+ children: any[];
145
+ style?: undefined;
146
+ })[];
147
+ } | {
148
+ type: string;
149
+ field: string;
150
+ value: {};
151
+ title: string;
152
+ props: {
153
+ height: number;
154
+ };
155
+ })[];
156
+ }[];
157
+ }[];
158
+ api: {};
159
+ options: {
160
+ form: {
161
+ labelPosition: string;
162
+ size: string;
163
+ labelWidth: string;
164
+ };
165
+ submitBtn: boolean;
166
+ mounted: (fapi: any) => void;
167
+ };
168
+ }>;
169
+ dkPageForm: import("vue").Ref<{
170
+ rule: {
171
+ type: string;
172
+ field: string;
173
+ value: {};
174
+ title: string;
175
+ props: {};
176
+ }[];
177
+ api: {};
178
+ options: {
179
+ formData: {};
180
+ form: {
181
+ labelPosition: string;
182
+ size: string;
183
+ labelWidth: string;
184
+ };
185
+ submitBtn: boolean;
186
+ mounted: (fapi: any) => void;
187
+ };
188
+ }>;
189
+ propsForm: import("vue").Ref<{
190
+ rule: never[];
191
+ api: {};
192
+ value: {};
193
+ options: {
194
+ form: {
195
+ labelPosition: string;
196
+ size: string;
197
+ labelWidth: string;
198
+ };
199
+ submitBtn: boolean;
200
+ mounted: (fapi: any) => void;
201
+ };
202
+ }>;
203
+ isDragging: import("vue").Ref<boolean>;
204
+ startValue: import("vue").Ref<number>;
205
+ dragName: import("vue").Ref<string>;
206
+ asideValue: import("vue").Ref<number>;
207
+ trackMouseBound: import("vue").Ref<null>;
208
+ stopChangeBound: import("vue").Ref<null>;
209
+ rightAside: import("vue").Ref<{
210
+ style: {
211
+ width: string;
212
+ };
213
+ hide: boolean;
214
+ }>;
215
+ leftAside: import("vue").Ref<{
216
+ style: {
217
+ width: string;
218
+ };
219
+ hide: boolean;
220
+ }>;
221
+ treeAside: import("vue").Ref<{
222
+ style: {
223
+ height: string;
224
+ minHeight: string;
225
+ maxHeight: string;
226
+ };
227
+ hide: boolean;
228
+ treeData: never[];
229
+ }>;
230
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
231
+ config?: any;
232
+ loading?: any;
233
+ menu?: any;
234
+ mask?: any;
235
+ height?: any;
236
+ locale?: any;
237
+ }>>>, {
238
+ readonly config?: any;
239
+ readonly loading?: any;
240
+ readonly menu?: any;
241
+ readonly mask?: any;
242
+ readonly height?: any;
243
+ readonly locale?: any;
244
+ }, {}>>;
245
+ export default PageDiy;
246
+ export * from './src/props';
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<Readonly<{
2
+ tag?: any;
3
+ rule?: any;
4
+ formCreateInject?: any;
5
+ }>, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
6
+ tag?: any;
7
+ rule?: any;
8
+ formCreateInject?: any;
9
+ }>>>, {
10
+ readonly tag?: any;
11
+ readonly rule?: any;
12
+ readonly formCreateInject?: any;
13
+ }, {}>;
14
+ export default _default;
@@ -0,0 +1,59 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ dragBtn: {
3
+ default: boolean;
4
+ type: BooleanConstructor;
5
+ };
6
+ children: {
7
+ default: string;
8
+ type: StringConstructor;
9
+ };
10
+ unique: {
11
+ default: string;
12
+ type: StringConstructor;
13
+ };
14
+ mask: {
15
+ default: boolean;
16
+ type: BooleanConstructor;
17
+ };
18
+ setting: {
19
+ default: () => void;
20
+ type: ObjectConstructor[];
21
+ };
22
+ }, {
23
+ id: import("vue").ComputedRef<string | number>;
24
+ state: any;
25
+ }, any, {
26
+ pageConfig(): {};
27
+ _style(): any;
28
+ _animate(): "";
29
+ }, {
30
+ active(): void;
31
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ dragBtn: {
33
+ default: boolean;
34
+ type: BooleanConstructor;
35
+ };
36
+ children: {
37
+ default: string;
38
+ type: StringConstructor;
39
+ };
40
+ unique: {
41
+ default: string;
42
+ type: StringConstructor;
43
+ };
44
+ mask: {
45
+ default: boolean;
46
+ type: BooleanConstructor;
47
+ };
48
+ setting: {
49
+ default: () => void;
50
+ type: ObjectConstructor[];
51
+ };
52
+ }>>, {
53
+ mask: boolean;
54
+ children: string;
55
+ setting: Record<string, any>;
56
+ dragBtn: boolean;
57
+ unique: string;
58
+ }, {}>;
59
+ export default _default;
@@ -0,0 +1,30 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ value: {
3
+ default: string;
4
+ type: StringConstructor;
5
+ };
6
+ pageConfig: {
7
+ default: () => void;
8
+ type: ObjectConstructor[];
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ value: {
12
+ default: string;
13
+ type: StringConstructor;
14
+ };
15
+ pageConfig: {
16
+ default: () => void;
17
+ type: ObjectConstructor[];
18
+ };
19
+ }>>, {
20
+ value: string;
21
+ pageConfig: Record<string, any>;
22
+ }, {}>, {
23
+ default?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,7 @@
1
+ export default function dkPage(): {
2
+ type: string;
3
+ field: string;
4
+ value: {};
5
+ title: string;
6
+ props: {};
7
+ }[];
@@ -0,0 +1,35 @@
1
+ export default function dkSetting(rule?: null): {
2
+ type: string;
3
+ props: {
4
+ modelValue: string;
5
+ };
6
+ style: string;
7
+ children: {
8
+ type: string;
9
+ props: {
10
+ name: string;
11
+ };
12
+ children: ({
13
+ type: string;
14
+ slot: string;
15
+ style: string;
16
+ children: ({
17
+ type: string;
18
+ style: string;
19
+ children?: undefined;
20
+ } | {
21
+ type: string;
22
+ children: any[];
23
+ style?: undefined;
24
+ })[];
25
+ } | {
26
+ type: string;
27
+ field: string;
28
+ value: {};
29
+ title: string;
30
+ props: {
31
+ height: number;
32
+ };
33
+ })[];
34
+ }[];
35
+ }[];
@@ -0,0 +1,3 @@
1
+ import dkPage from './dkPage';
2
+ import dkSetting from './dkSetting';
3
+ export { dkPage, dkSetting };