@vipl520/dk-ui 1.0.42 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +24968 -0
  3. package/dist/index.min.js +4 -4
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +4 -4
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +24879 -0
  8. package/dist/web-types.json +1 -1
  9. package/es/animate-select/src/animate-select.vue.mjs +1 -1
  10. package/es/attachment/src/attachment.vue.mjs +1 -1
  11. package/es/attachment/src/file-icon.vue.mjs +1 -1
  12. package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  14. package/es/attachment-dialog/src/props.mjs.map +1 -1
  15. package/es/audio-input/src/audio-input.vue.mjs +1 -1
  16. package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
  17. package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
  18. package/es/box-size-input/src/box-size-input.vue2.mjs +2 -2
  19. package/es/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
  20. package/es/box-size-input/style/index.css +1 -1
  21. package/es/box-size-input/style/index.scss +1 -1
  22. package/es/color-input/src/color-input.vue.mjs +1 -1
  23. package/es/dialog/src/dialog.vue.mjs +1 -1
  24. package/es/file-input/src/file-input.vue.mjs +1 -1
  25. package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
  26. package/es/form/src/form.vue.mjs +1 -1
  27. package/es/group/src/group.vue.mjs +1 -1
  28. package/es/group/src/group.vue2.mjs +2 -10
  29. package/es/group/src/group.vue2.mjs.map +1 -1
  30. package/es/hot-area-input/src/component/hot-area-content.vue.mjs +1 -1
  31. package/es/hot-area-input/src/hot-area-input.vue.mjs +1 -1
  32. package/es/icon/src/icon.vue.mjs +1 -1
  33. package/es/icon-input/src/icon-content.vue.mjs +1 -1
  34. package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
  35. package/es/icon-input/src/icon-input.vue.mjs +1 -1
  36. package/es/image-input/src/image-input.vue.mjs +1 -1
  37. package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
  38. package/es/index.mjs +7 -2
  39. package/es/index.mjs.map +1 -1
  40. package/es/page-diy/src/components/DiyCloud.vue.mjs +1 -1
  41. package/es/page-diy/src/components/DragBox.vue.mjs +2 -6
  42. package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
  43. package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
  44. package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
  45. package/es/page-diy/src/components/forms/DkEventCreateInput.vue.mjs +1 -1
  46. package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +1 -1
  47. package/es/page-diy/src/page-diy.vue.mjs +32 -100
  48. package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
  49. package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +1 -1
  50. package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +1 -1
  51. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +1 -1
  52. package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +1 -1
  53. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +1 -1
  54. package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +1 -1
  55. package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs +1 -1
  56. package/es/page-diy/src/views/web/DkViewCell.vue.mjs +1 -1
  57. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs +1 -1
  58. package/es/page-diy/src/views/web/DkViewDialog.vue.mjs +1 -1
  59. package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs +1 -1
  60. package/es/page-diy/src/views/web/DkViewImage.vue.mjs +1 -1
  61. package/es/page-diy/src/views/web/DkViewMusic.vue.mjs +1 -1
  62. package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs +1 -1
  63. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs +1 -1
  64. package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs +1 -1
  65. package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs +1 -1
  66. package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs +1 -1
  67. package/es/page-diy/src/views/web/DkViewTitle.vue.mjs +1 -1
  68. package/es/page-diy/src/views/web/DkViewVideo.vue.mjs +1 -1
  69. package/es/page-diy/style/dk-page-diy.css +1 -1
  70. package/es/page-diy/style/index.css +1 -1
  71. package/es/poster-input/src/component/poster.vue.mjs +1 -1
  72. package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
  73. package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
  74. package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
  75. package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
  76. package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
  77. package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
  78. package/es/poster-input/src/poster-input.vue.mjs +1 -1
  79. package/es/select/src/select.vue.mjs +1 -1
  80. package/es/style-animation-input/src/style-animation-input.vue.mjs +1 -1
  81. package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
  82. package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
  83. package/es/style-border-input/src/style-border-input.vue2.mjs +1 -1
  84. package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
  85. package/es/style-border-input/style/index.css +1 -1
  86. package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
  87. package/es/style-box-input/src/style-box-input.vue2.mjs +2 -6
  88. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  89. package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
  90. package/es/style-font-input/src/style-font-input.vue2.mjs +2 -20
  91. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  92. package/es/style-input/src/style-input.vue.mjs +1 -1
  93. package/es/style-input/src/style-input.vue2.mjs +1 -6
  94. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  95. package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
  96. package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
  97. package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
  98. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +2 -6
  99. package/es/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
  100. package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
  101. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  102. package/es/table/src/components/ComSearch.vue.mjs +1 -1
  103. package/es/table/src/components/FieldRender.vue.mjs +1 -1
  104. package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
  105. package/es/table/src/components/header.vue.mjs +1 -1
  106. package/es/table/src/table.vue.mjs +1 -1
  107. package/es/test/src/test.vue.mjs +1 -1
  108. package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
  109. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -3
  110. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  111. package/es/tiny-editor/style/index.css +1 -1
  112. package/es/tiny-editor/style/index.scss +3 -2
  113. package/es/video-input/src/video-input.vue.mjs +1 -1
  114. package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
  115. package/lib/animate-select/src/animate-select.vue.js +1 -1
  116. package/lib/attachment/src/attachment.vue.js +1 -1
  117. package/lib/attachment/src/file-icon.vue.js +1 -1
  118. package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
  119. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  120. package/lib/attachment-dialog/src/props.js.map +1 -1
  121. package/lib/audio-input/src/audio-input.vue.js +1 -1
  122. package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
  123. package/lib/box-size-input/src/box-size-input.vue.js +1 -1
  124. package/lib/box-size-input/src/box-size-input.vue2.js +2 -2
  125. package/lib/box-size-input/src/box-size-input.vue2.js.map +1 -1
  126. package/lib/box-size-input/style/index.css +1 -1
  127. package/lib/box-size-input/style/index.scss +1 -1
  128. package/lib/color-input/src/color-input.vue.js +1 -1
  129. package/lib/dialog/src/dialog.vue.js +1 -1
  130. package/lib/file-input/src/file-input.vue.js +1 -1
  131. package/lib/file-list-input/src/file-list-input.vue.js +1 -1
  132. package/lib/form/src/form.vue.js +1 -1
  133. package/lib/group/src/group.vue.js +1 -1
  134. package/lib/group/src/group.vue2.js +2 -10
  135. package/lib/group/src/group.vue2.js.map +1 -1
  136. package/lib/hot-area-input/src/component/hot-area-content.vue.js +1 -1
  137. package/lib/hot-area-input/src/hot-area-input.vue.js +1 -1
  138. package/lib/icon/src/icon.vue.js +1 -1
  139. package/lib/icon-input/src/icon-content.vue.js +1 -1
  140. package/lib/icon-input/src/icon-dialog.vue.js +1 -1
  141. package/lib/icon-input/src/icon-input.vue.js +1 -1
  142. package/lib/image-input/src/image-input.vue.js +1 -1
  143. package/lib/image-list-input/src/image-list-input.vue.js +1 -1
  144. package/lib/index.js +7 -2
  145. package/lib/index.js.map +1 -1
  146. package/lib/page-diy/src/components/DiyCloud.vue.js +1 -1
  147. package/lib/page-diy/src/components/DragBox.vue.js +2 -6
  148. package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
  149. package/lib/page-diy/src/components/DragTool.vue.js +1 -1
  150. package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
  151. package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js +1 -1
  152. package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +1 -1
  153. package/lib/page-diy/src/page-diy.vue.js +32 -100
  154. package/lib/page-diy/src/page-diy.vue.js.map +1 -1
  155. package/lib/page-diy/src/views/min/DkMinBlank.vue.js +1 -1
  156. package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +1 -1
  157. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +1 -1
  158. package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +1 -1
  159. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +1 -1
  160. package/lib/page-diy/src/views/min/DkMinVideo.vue.js +1 -1
  161. package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js +1 -1
  162. package/lib/page-diy/src/views/web/DkViewCell.vue.js +1 -1
  163. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +1 -1
  164. package/lib/page-diy/src/views/web/DkViewDialog.vue.js +1 -1
  165. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js +1 -1
  166. package/lib/page-diy/src/views/web/DkViewImage.vue.js +1 -1
  167. package/lib/page-diy/src/views/web/DkViewMusic.vue.js +1 -1
  168. package/lib/page-diy/src/views/web/DkViewNavBar.vue.js +1 -1
  169. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js +1 -1
  170. package/lib/page-diy/src/views/web/DkViewSwipe.vue.js +1 -1
  171. package/lib/page-diy/src/views/web/DkViewTabbar.vue.js +1 -1
  172. package/lib/page-diy/src/views/web/DkViewTextarea.vue.js +1 -1
  173. package/lib/page-diy/src/views/web/DkViewTitle.vue.js +1 -1
  174. package/lib/page-diy/src/views/web/DkViewVideo.vue.js +1 -1
  175. package/lib/page-diy/style/dk-page-diy.css +1 -1
  176. package/lib/page-diy/style/index.css +1 -1
  177. package/lib/poster-input/src/component/poster.vue.js +1 -1
  178. package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
  179. package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
  180. package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
  181. package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
  182. package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
  183. package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
  184. package/lib/poster-input/src/poster-input.vue.js +1 -1
  185. package/lib/select/src/select.vue.js +1 -1
  186. package/lib/style-animation-input/src/style-animation-input.vue.js +1 -1
  187. package/lib/style-background-input/src/style-background-input.vue.js +1 -1
  188. package/lib/style-border-input/src/style-border-input.vue.js +1 -1
  189. package/lib/style-border-input/src/style-border-input.vue2.js +1 -1
  190. package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
  191. package/lib/style-border-input/style/index.css +1 -1
  192. package/lib/style-box-input/src/style-box-input.vue.js +1 -1
  193. package/lib/style-box-input/src/style-box-input.vue2.js +2 -6
  194. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  195. package/lib/style-font-input/src/style-font-input.vue.js +1 -1
  196. package/lib/style-font-input/src/style-font-input.vue2.js +2 -20
  197. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  198. package/lib/style-input/src/style-input.vue.js +1 -1
  199. package/lib/style-input/src/style-input.vue2.js +0 -5
  200. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  201. package/lib/style-number-input/src/style-number-input.vue.js +1 -1
  202. package/lib/style-position-input/src/style-position-input.vue.js +1 -1
  203. package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
  204. package/lib/style-shadow-input/src/style-shadow-content.vue2.js +2 -6
  205. package/lib/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
  206. package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
  207. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  208. package/lib/table/src/components/ComSearch.vue.js +1 -1
  209. package/lib/table/src/components/FieldRender.vue.js +1 -1
  210. package/lib/table/src/components/RecycleDialog.vue.js +1 -1
  211. package/lib/table/src/components/header.vue.js +1 -1
  212. package/lib/table/src/table.vue.js +1 -1
  213. package/lib/test/src/test.vue.js +1 -1
  214. package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
  215. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -3
  216. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  217. package/lib/tiny-editor/style/index.css +1 -1
  218. package/lib/tiny-editor/style/index.scss +3 -2
  219. package/lib/video-input/src/video-input.vue.js +1 -1
  220. package/lib/video-list-input/src/video-list-input.vue.js +1 -1
  221. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DragBox.vue.mjs","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h(\n 'div',\n { class: 'drag-box-item' },\n keys[element.__fc__.key + 'fc']\n )\n },\n })\n },\n})\n</script>\n"],"names":[],"mappings":";;;;AAIA,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;;AAEtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAO,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;AACrB,QAAA,OAAO,CAAC;UACN,KAAK;UACL,EAAE,KAAK,EAAE,eAAc,EAAG;UAC1B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAE,GAAI,IAAI,CAAA;AAChC,SAAA;OACD;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
1
+ {"version":3,"file":"DragBox.vue.mjs","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', { class: 'drag-box-item' }, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":[],"mappings":";;;;AAIA,MAAK,SAAU,GAAG,eAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;;AAEtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAO,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;AACrB,QAAA,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,eAAgB,EAAC,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAE,GAAI,IAAI,CAAC,CAAA;OAC5E;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
@@ -128,7 +128,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
128
128
  renderSlot(_ctx.$slots, "default")
129
129
  ], 6 /* CLASS, STYLE */))
130
130
  }
131
- var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
131
+ var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
132
132
 
133
133
  export { DragTool as default };
134
134
  //# sourceMappingURL=DragTool.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './PreviewPhone.vue2.mjs';
2
2
  import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
4
+ var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
5
5
 
6
6
  export { PreviewPhone as default };
7
7
  //# sourceMappingURL=PreviewPhone.vue.mjs.map
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from './DkEventCreateInput.vue2.mjs';
2
2
  import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
3
3
 
4
- var DkEventCreateInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventCreateInput.vue"]]);
4
+ var DkEventCreateInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventCreateInput.vue"]]);
5
5
 
6
6
  export { DkEventCreateInput as default };
7
7
  //# sourceMappingURL=DkEventCreateInput.vue.mjs.map
@@ -159,7 +159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
159
  }, 8 /* PROPS */, ["loading", "onClick"])
160
160
  ]))
161
161
  }
162
- var DkEventSelectInput = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventSelectInput.vue"]]);
162
+ var DkEventSelectInput = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\forms\\DkEventSelectInput.vue"]]);
163
163
 
164
164
  export { DkEventSelectInput as default };
165
165
  //# sourceMappingURL=DkEventSelectInput.vue.mjs.map
@@ -240,9 +240,7 @@ const _sfc_main = defineComponent({
240
240
  // 处理对象节点
241
241
  if (Array.isArray(node.children)) {
242
242
  // 只保留 children 数组中的对象类型元素
243
- node.children = node.children.filter(
244
- (child) => typeof child === 'object' && child !== null
245
- );
243
+ node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
246
244
  // 递归处理每个子节点
247
245
  node.children = cleanTreeData(node.children);
248
246
  }
@@ -255,10 +253,7 @@ const _sfc_main = defineComponent({
255
253
  watch(
256
254
  () => data.dragForm,
257
255
  () => {
258
- data.treeAside.treeData = methods.parseRule(
259
- deepCopy(data.dragForm.api.rule[0].children),
260
- true
261
- );
256
+ data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true);
262
257
  data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
263
258
  },
264
259
  {
@@ -466,9 +461,7 @@ const _sfc_main = defineComponent({
466
461
  rules = [];
467
462
  }
468
463
  data.children = methods.makeChildren(
469
- methods.loadRule(
470
- is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules)
471
- )
464
+ methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))
472
465
  );
473
466
  methods.clearActiveRule();
474
467
  data.dragForm.rule = methods.makeDragRule(data.children);
@@ -587,15 +580,9 @@ const _sfc_main = defineComponent({
587
580
  field = lower(field);
588
581
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
589
582
  delete data.activeRule.effect[field.split('>')[1]];
590
- } else if (
591
- field.indexOf('props') === 0 &&
592
- field.indexOf('>') > -1
593
- ) {
583
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
594
584
  delete data.activeRule.props[field.split('>')[1]];
595
- } else if (
596
- field.indexOf('attrs') === 0 &&
597
- field.indexOf('>') > -1
598
- ) {
585
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
599
586
  data.activeRule.attrs[field.split('>')[1]] = value;
600
587
  } else if (field === 'child') {
601
588
  delete data.activeRule.children[0];
@@ -624,15 +611,9 @@ const _sfc_main = defineComponent({
624
611
  field = lower(field);
625
612
  if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
626
613
  data.activeRule.effect[field.split('>')[1]] = value;
627
- } else if (
628
- field.indexOf('props') === 0 &&
629
- field.indexOf('>') > -1
630
- ) {
614
+ } else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
631
615
  data.activeRule.props[field.split('>')[1]] = value;
632
- } else if (
633
- field.indexOf('attrs') === 0 &&
634
- field.indexOf('>') > -1
635
- ) {
616
+ } else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
636
617
  data.activeRule.attrs[field.split('>')[1]] = value;
637
618
  } else if (field === 'child') {
638
619
  data.activeRule.children[0] = value;
@@ -744,18 +725,14 @@ const _sfc_main = defineComponent({
744
725
  ;['props', 'effect', 'attrs'].forEach((name) => {
745
726
  rule[name] &&
746
727
  Object.keys(rule[name]).forEach((k) => {
747
- formData['formCreate' + upper(name) + '>' + k] = deepCopy(
748
- rule[name][k]
749
- );
728
+ formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k]);
750
729
  });
751
730
  });
752
731
  // console.log('formData', formData)
753
732
  data.propsForm.value = formData;
754
733
 
755
734
  data.showBaseRule =
756
- hasProperty(rule, 'field') &&
757
- rule.input !== false &&
758
- (!config.value || config.value.showBaseForm !== false);
735
+ hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
759
736
  if (data.showBaseRule) {
760
737
  data.dragForm.api.refreshValidate();
761
738
  }
@@ -782,9 +759,7 @@ const _sfc_main = defineComponent({
782
759
  const rule = methods.makeRule(ruleList[menu.name]);
783
760
  const config = rule.children[0].config.config;
784
761
  const count = config.count ? config.count : 99;
785
- const _count = countObj.value[config.name]
786
- ? countObj.value[config.name]
787
- : 0;
762
+ const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
788
763
  if (_count >= count) {
789
764
  ElNotification({
790
765
  title: '警告',
@@ -798,10 +773,7 @@ const _sfc_main = defineComponent({
798
773
  data.added = true;
799
774
  },
800
775
  dragEnd(children, { newIndex, oldIndex }) {
801
- if (
802
- !data.added &&
803
- !(data.moveRule === children && newIndex === oldIndex)
804
- ) {
776
+ if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
805
777
  const rule = data.moveRule.splice(oldIndex, 1);
806
778
  children.splice(newIndex, 0, rule[0]);
807
779
  }
@@ -823,21 +795,12 @@ const _sfc_main = defineComponent({
823
795
  let drag;
824
796
  if (config.drag) {
825
797
  rule.children.push(
826
- (drag = methods.makeDrag(
827
- config.drag,
828
- rule.type,
829
- methods.makeChildren([]),
830
- {
831
- end: (inject, evt) =>
832
- methods.dragEnd(inject.self.children, evt),
833
- add: (inject, evt) =>
834
- methods.dragAdd(inject.self.children, evt),
835
- start: (inject, evt) =>
836
- methods.dragStart(inject.self.children, evt),
837
- unchoose: (inject, evt) =>
838
- methods.dragUnchoose(inject.self.children, evt),
839
- }
840
- ))
798
+ (drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
799
+ end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
800
+ add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
801
+ start: (inject, evt) => methods.dragStart(inject.self.children, evt),
802
+ unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
803
+ }))
841
804
  );
842
805
  }
843
806
  if (config.children && !_rule) {
@@ -847,10 +810,7 @@ const _sfc_main = defineComponent({
847
810
  }
848
811
  }
849
812
 
850
- const dragMask =
851
- mask.value !== undefined
852
- ? mask.value !== false
853
- : config.mask !== false;
813
+ const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
854
814
  if (config.inside) {
855
815
  rule.children = methods.makeChildren([
856
816
  {
@@ -886,10 +846,9 @@ const _sfc_main = defineComponent({
886
846
  const config = top.parent.config.config;
887
847
  const item = ruleList[config.children];
888
848
  if (!item) return
889
- ;(!config.drag
890
- ? top.parent
891
- : top.parent.children[0]
892
- ).children[0].children.push(methods.makeRule(item));
849
+ ;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
850
+ methods.makeRule(item)
851
+ );
893
852
  },
894
853
  copy: ({ self }) => {
895
854
  const top = methods.getParent(self);
@@ -942,10 +901,7 @@ const _sfc_main = defineComponent({
942
901
  const config = self.children[0].config.config;
943
902
  const item = ruleList[config.children];
944
903
  if (!item) return
945
- ;(!config.drag
946
- ? self
947
- : self.children[0]
948
- ).children[0].children.push(methods.makeRule(item));
904
+ ;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
949
905
  },
950
906
  copy: ({ self }) => {
951
907
  vm.emit('copy', self.children[0]);
@@ -953,11 +909,7 @@ const _sfc_main = defineComponent({
953
909
  const copyRule = designerForm.copyRule(top.parent);
954
910
  // 解决复制后,组件的setting配置失效
955
911
  copyRule.props.setting = copyRule.children[0].setting;
956
- top.root.children.splice(
957
- top.root.children.indexOf(top.parent) + 1,
958
- 0,
959
- copyRule
960
- );
912
+ top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
961
913
  },
962
914
  active: ({ self }) => {
963
915
  vm.emit('active', self.children[0]);
@@ -975,18 +927,15 @@ const _sfc_main = defineComponent({
975
927
  data.dragName = name;
976
928
  if (name === 'left') {
977
929
  // 获取._fc-l的宽度
978
- data.asideValue =
979
- document.getElementsByClassName('_fc-l')[0].offsetWidth;
930
+ data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
980
931
  }
981
932
  if (name === 'right') {
982
- data.asideValue =
983
- document.getElementsByClassName('_fc-r')[0].offsetWidth;
933
+ data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
984
934
  }
985
935
  document.body.style.cursor = 'ew-resize';
986
936
  if (name === 'tree') {
987
937
  data.startValue = e.clientY;
988
- data.asideValue =
989
- document.getElementsByClassName('children-list')[0].offsetHeight;
938
+ data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
990
939
  console.log('data.startValue', data.startValue);
991
940
  console.log('data.asideValue', data.asideValue);
992
941
  document.body.style.cursor = 'n-resize';
@@ -1078,20 +1027,11 @@ const _sfc_main = defineComponent({
1078
1027
  const draggingRule = draggingNode.data.config.config;
1079
1028
  const dropRule = dropNode.data.config.config;
1080
1029
  // 内部元素放到指定的外部才可以放置
1081
- if (
1082
- type === 'inner' &&
1083
- draggingRule.inside &&
1084
- draggingRule.name === dropRule.children
1085
- ) {
1030
+ if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
1086
1031
  return true
1087
1032
  }
1088
1033
  // 同样父级
1089
- if (
1090
- type !== 'inner' &&
1091
- draggingRule.name === dropRule.name &&
1092
- draggingRule.inside &&
1093
- dropRule.inside
1094
- ) {
1034
+ if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
1095
1035
  return true
1096
1036
  }
1097
1037
 
@@ -1117,9 +1057,7 @@ const _sfc_main = defineComponent({
1117
1057
  methods.setRule(data.treeAside.treeData);
1118
1058
  },
1119
1059
  };
1120
- data.dragForm.rule = methods.makeDragRule(
1121
- methods.makeChildren(data.children)
1122
- );
1060
+ data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
1123
1061
  return {
1124
1062
  ...toRefs(data),
1125
1063
  ...methods,
@@ -1190,11 +1128,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1190
1128
  item: withCtx(({ element }) => [
1191
1129
  (openBlock(), createElementBlock("div", {
1192
1130
  key: element.id,
1193
- class: normalizeClass(["_fc-l-item",
1194
- element.count - (_ctx.countObj[element.name] || 0) <= 0
1195
- ? 'not-drag'
1196
- : ''
1197
- ])
1131
+ class: normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
1198
1132
  }, [
1199
1133
  createElementVNode("div", _hoisted_3, [
1200
1134
  createVNode(_component_dk_icon, {
@@ -1240,9 +1174,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1240
1174
  default: withCtx(({ data }) => [
1241
1175
  createElementVNode("div", {
1242
1176
  class: "el-tree-node-content",
1243
- style: normalizeStyle(
1244
- _ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
1245
- )
1177
+ style: normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
1246
1178
  }, [
1247
1179
  createTextVNode(toDisplayString(data.type) + " ", 1 /* TEXT */),
1248
1180
  (data.config?.config.label)
@@ -1454,7 +1386,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1454
1386
  _: 3 /* FORWARDED */
1455
1387
  }))
1456
1388
  }
1457
- var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1389
+ var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
1458
1390
 
1459
1391
  export { _PageDiy as default };
1460
1392
  //# sourceMappingURL=page-diy.vue.mjs.map