@vipl520/dk-ui 1.0.19 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. package/dist/attributes.json +16 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +1216 -674
  4. package/dist/index.min.js +7 -7
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +7 -7
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +1203 -665
  9. package/dist/tags.json +14 -0
  10. package/dist/web-types.json +69 -1
  11. package/es/animate-select/index.d.ts +19 -0
  12. package/es/animate-select/index.mjs +8 -0
  13. package/es/animate-select/index.mjs.map +1 -0
  14. package/es/animate-select/src/animate-select.vue.d.ts +18 -0
  15. package/es/animate-select/src/animate-select.vue.mjs +7 -0
  16. package/es/animate-select/src/animate-select.vue.mjs.map +1 -0
  17. package/es/animate-select/src/animate-select.vue2.mjs +168 -0
  18. package/es/animate-select/src/animate-select.vue2.mjs.map +1 -0
  19. package/es/animate-select/src/animates.d.ts +9 -0
  20. package/es/animate-select/src/animates.mjs +98 -0
  21. package/es/animate-select/src/animates.mjs.map +1 -0
  22. package/es/animate-select/src/props.d.ts +11 -0
  23. package/es/animate-select/src/props.mjs +11 -0
  24. package/es/animate-select/src/props.mjs.map +1 -0
  25. package/es/animate-select/style/index.css +1 -0
  26. package/es/animate-select/style/index.scss +41 -0
  27. package/es/audio-input/index.d.ts +4 -4
  28. package/es/audio-input/src/audio-input.vue.d.ts +4 -4
  29. package/es/audio-list-input/index.d.ts +3 -3
  30. package/es/audio-list-input/src/audio-list-input.vue.d.ts +3 -3
  31. package/es/box-size-input/index.d.ts +1 -1
  32. package/es/box-size-input/src/box-size-input.vue.d.ts +1 -1
  33. package/es/color-input/index.d.ts +3 -3
  34. package/es/color-input/src/color-input.vue.d.ts +3 -3
  35. package/es/dialog/index.d.ts +11 -11
  36. package/es/dialog/src/dialog.vue.d.ts +3 -3
  37. package/es/file-input/index.d.ts +4 -4
  38. package/es/file-input/src/file-input.vue.d.ts +4 -4
  39. package/es/file-list-input/index.d.ts +4 -4
  40. package/es/file-list-input/src/file-list-input.vue.d.ts +4 -4
  41. package/es/form/index.d.ts +10 -10
  42. package/es/form/src/form.vue.d.ts +2 -2
  43. package/es/group/index.d.ts +6 -6
  44. package/es/group/src/group.vue.d.ts +6 -6
  45. package/es/icon/index.d.ts +3 -3
  46. package/es/icon-input/index.d.ts +5 -5
  47. package/es/icon-input/src/icon-content.vue.d.ts +1 -1
  48. package/es/icon-input/src/icon-dialog.vue.d.ts +1 -1
  49. package/es/icon-input/src/icon-input.vue.d.ts +3 -3
  50. package/es/image-input/index.d.ts +4 -4
  51. package/es/image-input/src/image-input.vue.d.ts +4 -4
  52. package/es/image-list-input/index.d.ts +3 -3
  53. package/es/image-list-input/src/image-list-input.vue.d.ts +3 -3
  54. package/es/index.d.ts +2 -0
  55. package/es/index.mjs +9 -1
  56. package/es/index.mjs.map +1 -1
  57. package/es/index.scss +14 -0
  58. package/es/page-diy/index.d.ts +70 -4
  59. package/es/page-diy/src/components/DragTool.vue.d.ts +2 -1
  60. package/es/page-diy/src/components/DragTool.vue.mjs +12 -15
  61. package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
  62. package/es/page-diy/src/components/PreviewPhone.vue2.mjs +74 -2
  63. package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
  64. package/es/page-diy/src/config/base/dkSetting.d.ts +68 -2
  65. package/es/page-diy/src/config/base/dkSetting.mjs +83 -0
  66. package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
  67. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  68. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +2 -1
  69. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  70. package/es/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  71. package/es/page-diy/src/config/rule/min/index.d.ts +2 -0
  72. package/es/page-diy/src/page-diy.vue.d.ts +70 -4
  73. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
  74. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
  75. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
  76. package/es/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
  77. package/es/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
  78. package/es/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
  79. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
  80. package/es/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
  81. package/es/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
  82. package/es/page-diy/style/drag-tool.css +1 -1
  83. package/es/page-diy/style/drag-tool.scss +1 -1
  84. package/es/page-diy/style/index.css +1 -1
  85. package/es/poster-input/index.d.ts +6 -6
  86. package/es/poster-input/src/component/poster.vue.d.ts +3 -3
  87. package/es/poster-input/src/poster-input.vue.d.ts +3 -3
  88. package/es/select/src/select.vue.d.ts +3 -3
  89. package/es/style-animation-input/index.d.ts +25 -0
  90. package/es/style-animation-input/index.mjs +8 -0
  91. package/es/style-animation-input/index.mjs.map +1 -0
  92. package/es/style-animation-input/src/props.d.ts +15 -0
  93. package/es/style-animation-input/src/props.mjs +16 -0
  94. package/es/style-animation-input/src/props.mjs.map +1 -0
  95. package/es/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
  96. package/es/style-animation-input/src/style-animation-input.vue.mjs +7 -0
  97. package/es/style-animation-input/src/style-animation-input.vue.mjs.map +1 -0
  98. package/es/style-animation-input/src/style-animation-input.vue2.mjs +116 -0
  99. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -0
  100. package/es/style-animation-input/style/index.css +1 -0
  101. package/es/style-animation-input/style/index.scss +14 -0
  102. package/es/style-box-input/index.d.ts +1 -1
  103. package/es/style-box-input/src/style-box-input.vue.d.ts +1 -1
  104. package/es/style-input/index.d.ts +1 -1
  105. package/es/style-input/src/style-input.vue.d.ts +1 -1
  106. package/es/style-number-input/index.d.ts +3 -2
  107. package/es/style-number-input/src/style-number-input.vue.d.ts +3 -2
  108. package/es/style-number-input/src/style-number-input.vue2.mjs +3 -2
  109. package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
  110. package/es/style-position-input/src/style-position-input.vue2.mjs +23 -39
  111. package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
  112. package/es/style-shadow-input/index.d.ts +2 -2
  113. package/es/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
  114. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
  115. package/es/table/index.d.ts +2 -2
  116. package/es/tiny-editor/index.d.ts +4 -4
  117. package/es/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
  118. package/es/video-input/index.d.ts +4 -4
  119. package/es/video-input/src/video-input.vue.d.ts +4 -4
  120. package/es/video-list-input/index.d.ts +3 -3
  121. package/es/video-list-input/src/video-list-input.vue.d.ts +3 -3
  122. package/lib/animate-select/index.d.ts +19 -0
  123. package/lib/animate-select/index.js +14 -0
  124. package/lib/animate-select/index.js.map +1 -0
  125. package/lib/animate-select/src/animate-select.vue.d.ts +18 -0
  126. package/lib/animate-select/src/animate-select.vue.js +11 -0
  127. package/lib/animate-select/src/animate-select.vue.js.map +1 -0
  128. package/lib/animate-select/src/animate-select.vue2.js +172 -0
  129. package/lib/animate-select/src/animate-select.vue2.js.map +1 -0
  130. package/lib/animate-select/src/animates.d.ts +9 -0
  131. package/lib/animate-select/src/animates.js +102 -0
  132. package/lib/animate-select/src/animates.js.map +1 -0
  133. package/lib/animate-select/src/props.d.ts +11 -0
  134. package/lib/animate-select/src/props.js +13 -0
  135. package/lib/animate-select/src/props.js.map +1 -0
  136. package/lib/animate-select/style/index.css +1 -0
  137. package/lib/animate-select/style/index.scss +41 -0
  138. package/lib/audio-input/index.d.ts +4 -4
  139. package/lib/audio-input/src/audio-input.vue.d.ts +4 -4
  140. package/lib/audio-list-input/index.d.ts +3 -3
  141. package/lib/audio-list-input/src/audio-list-input.vue.d.ts +3 -3
  142. package/lib/box-size-input/index.d.ts +1 -1
  143. package/lib/box-size-input/src/box-size-input.vue.d.ts +1 -1
  144. package/lib/color-input/index.d.ts +3 -3
  145. package/lib/color-input/src/color-input.vue.d.ts +3 -3
  146. package/lib/dialog/index.d.ts +11 -11
  147. package/lib/dialog/src/dialog.vue.d.ts +3 -3
  148. package/lib/file-input/index.d.ts +4 -4
  149. package/lib/file-input/src/file-input.vue.d.ts +4 -4
  150. package/lib/file-list-input/index.d.ts +4 -4
  151. package/lib/file-list-input/src/file-list-input.vue.d.ts +4 -4
  152. package/lib/form/index.d.ts +10 -10
  153. package/lib/form/src/form.vue.d.ts +2 -2
  154. package/lib/group/index.d.ts +6 -6
  155. package/lib/group/src/group.vue.d.ts +6 -6
  156. package/lib/icon/index.d.ts +3 -3
  157. package/lib/icon-input/index.d.ts +5 -5
  158. package/lib/icon-input/src/icon-content.vue.d.ts +1 -1
  159. package/lib/icon-input/src/icon-dialog.vue.d.ts +1 -1
  160. package/lib/icon-input/src/icon-input.vue.d.ts +3 -3
  161. package/lib/image-input/index.d.ts +4 -4
  162. package/lib/image-input/src/image-input.vue.d.ts +4 -4
  163. package/lib/image-list-input/index.d.ts +3 -3
  164. package/lib/image-list-input/src/image-list-input.vue.d.ts +3 -3
  165. package/lib/index.d.ts +2 -0
  166. package/lib/index.js +14 -2
  167. package/lib/index.js.map +1 -1
  168. package/lib/index.scss +14 -0
  169. package/lib/page-diy/index.d.ts +70 -4
  170. package/lib/page-diy/src/components/DragTool.vue.d.ts +2 -1
  171. package/lib/page-diy/src/components/DragTool.vue.js +12 -15
  172. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  173. package/lib/page-diy/src/components/PreviewPhone.vue2.js +73 -1
  174. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  175. package/lib/page-diy/src/config/base/dkSetting.d.ts +68 -2
  176. package/lib/page-diy/src/config/base/dkSetting.js +83 -0
  177. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  178. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +1 -0
  179. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +2 -1
  180. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  181. package/lib/page-diy/src/config/rule/min/common/index.d.ts +2 -0
  182. package/lib/page-diy/src/config/rule/min/index.d.ts +2 -0
  183. package/lib/page-diy/src/page-diy.vue.d.ts +70 -4
  184. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
  185. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
  186. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
  187. package/lib/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
  188. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
  189. package/lib/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
  190. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
  191. package/lib/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
  192. package/lib/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
  193. package/lib/page-diy/style/drag-tool.css +1 -1
  194. package/lib/page-diy/style/drag-tool.scss +1 -1
  195. package/lib/page-diy/style/index.css +1 -1
  196. package/lib/poster-input/index.d.ts +6 -6
  197. package/lib/poster-input/src/component/poster.vue.d.ts +3 -3
  198. package/lib/poster-input/src/poster-input.vue.d.ts +3 -3
  199. package/lib/select/src/select.vue.d.ts +3 -3
  200. package/lib/style-animation-input/index.d.ts +25 -0
  201. package/lib/style-animation-input/index.js +14 -0
  202. package/lib/style-animation-input/index.js.map +1 -0
  203. package/lib/style-animation-input/src/props.d.ts +15 -0
  204. package/lib/style-animation-input/src/props.js +18 -0
  205. package/lib/style-animation-input/src/props.js.map +1 -0
  206. package/lib/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
  207. package/lib/style-animation-input/src/style-animation-input.vue.js +11 -0
  208. package/lib/style-animation-input/src/style-animation-input.vue.js.map +1 -0
  209. package/lib/style-animation-input/src/style-animation-input.vue2.js +120 -0
  210. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -0
  211. package/lib/style-animation-input/style/index.css +1 -0
  212. package/lib/style-animation-input/style/index.scss +14 -0
  213. package/lib/style-box-input/index.d.ts +1 -1
  214. package/lib/style-box-input/src/style-box-input.vue.d.ts +1 -1
  215. package/lib/style-input/index.d.ts +1 -1
  216. package/lib/style-input/src/style-input.vue.d.ts +1 -1
  217. package/lib/style-number-input/index.d.ts +3 -2
  218. package/lib/style-number-input/src/style-number-input.vue.d.ts +3 -2
  219. package/lib/style-number-input/src/style-number-input.vue2.js +3 -2
  220. package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
  221. package/lib/style-position-input/src/style-position-input.vue2.js +22 -38
  222. package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
  223. package/lib/style-shadow-input/index.d.ts +2 -2
  224. package/lib/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
  225. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
  226. package/lib/table/index.d.ts +2 -2
  227. package/lib/tiny-editor/index.d.ts +4 -4
  228. package/lib/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
  229. package/lib/video-input/index.d.ts +4 -4
  230. package/lib/video-input/src/video-input.vue.d.ts +4 -4
  231. package/lib/video-list-input/index.d.ts +3 -3
  232. package/lib/video-list-input/src/video-list-input.vue.d.ts +3 -3
  233. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n <!-- <el-select v-model=\"form.position\" placeholder=\"Select\">-->\n <!-- <el-option-->\n <!-- v-for=\"item in positions\"-->\n <!-- :key=\"item.value\"-->\n <!-- :label=\"item.label\"-->\n <!-- :value=\"item.value\"-->\n <!-- />-->\n <!-- </el-select>-->\n </el-form-item>\n </div>\n <div class=\"m-t-10px\">\n <el-row :gutter=\"20\">\n <el-col v-for=\"(item, key) in custom\" :key=\"key\" :span=\"span\" class=\"m-b-5px\">\n <el-form-item :label=\"item.label\">\n <template #label>\n <el-tooltip class=\"item\" effect=\"dark\" :content=\"item.tip\" placement=\"top\">\n <span\n style=\"cursor: pointer\"\n :style=\"form[item.value] ? 'color:var(--el-color-primary)' : ''\"\n @click=\"form[item.value] = ''\"\n >\n {{ item.label }}:</span\n >\n </el-tooltip>\n </template>\n <dk-style-number-input v-model=\"form[item.value]\"></dk-style-number-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n </el-form>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { stylePositionInputProps } from './props'\nimport { computed, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\n\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\nconst span = computed(() => {\n if (width.value <= 300) {\n return 24\n } else if (width.value < 800) {\n return 12\n } else {\n return 6\n }\n})\n\n\n\nconst props = defineProps(stylePositionInputProps)\n\nconst form: any = ref({\n left: props.modelValue.left || '',\n top: props.modelValue.top || '',\n right: props.modelValue.right || '',\n bottom: props.modelValue.bottom || '',\n})\n\nconst custom = [\n { label: '上', value: 'top', tip: '当前距离顶部距离,点击清除' },\n { label: '右', value: 'right', tip: '当前距离右侧的距离,点击清除' },\n { label: '下', value: 'bottom', tip: '当前距离底部的距离,点击清除' },\n { label: '左', value: 'left', tip: '当前距离左侧的距离,点击清除' },\n]\n\nconst positions = [\n { label: '左上', value: 'left-top' },\n { label: '左下', value: 'left-down' },\n { label: '右上', value: 'right-top' },\n { label: '右下', value: 'right-down' },\n]\nconst emit = defineEmits(['update:modelValue'])\nconst positionChange = (value: string) => {\n switch (value) {\n case 'left-top':\n form.value = {\n left: '1px',\n top: '0px',\n right: '',\n bottom: '',\n }\n break\n case 'left-down':\n form.value = {\n left: '0px',\n top: '',\n right: '',\n bottom: '0px',\n }\n break\n case 'right-top':\n form.value = {\n left: '',\n top: '0px',\n right: '0px',\n bottom: '',\n }\n break\n case 'right-down':\n form.value = {\n left: '',\n top: '',\n right: '0px',\n bottom: '0px',\n }\n break\n }\n emitValue()\n}\nconst emitValue = () => {\n // 只保留form中有的值,并移除position\n const data = Object.keys(form.value).reduce((prev: any, cur) => {\n if (form.value[cur] && cur !== 'position') {\n prev[cur] = form.value[cur]\n }\n return prev\n }, {})\n emit('update:modelValue', data)\n}\nwatch(\n () => form.value,\n () => {\n emitValue()\n },\n { deep: true }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n Object.keys(props.modelValue).reduce((prev: any, cur) => {\n if (cur !== 'position') {\n prev[cur] = props.modelValue[cur]\n }\n return prev\n }, form.value)\n },\n { deep: true }\n)\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","computed","watch"],"mappings":";;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,sBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAmDD,IAAM,MAAA,EAAA,GAAUC,QAAI,IAAI,CAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAA,EAAU,GAAAC,mBAAA,CAAe,EAAE,CAAA,CAAA;AAEnC,IAAM,MAAA,IAAA,GAAOC,aAAS,MAAM;AAC1B,MAAI,IAAA,KAAA,CA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AACzC,UAAA,IAAA,CAAK,GAAG,CAAA,GAAI,IAAK,CAAA,KAAA,CAAM,GAAG,CAAA,CAAA;AAAA,SAC5B;AACA,QAAO,OAAA,IAAA,CAAA;AAAA,OACT,EAAG,EAAE,CAAA,CAAA;AACL,MAAA,IAAA,CAAK,qBAAqB,IAAI,CAAA,CAAA;AAAA,KAChC,CAAA;AACA,IAAAG,SAAA;AAAA,MACE,MAAM,IAAK,CAAA,KAAA;AAAA,MACX,MAAM;AACJ,QAAU,SAAA,EAAA,CAAA;AAAA,OACZ;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;AAEA,IAAAA,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAA,MAAA,CAAO,KAAK,KAAM,CAAA,UAAU,EAAE,MAAO,CAAA,CAAC,MAAW,GAAQ,KAAA;AACvD,UAAA,IAAI,QAAQ,UAAY,EAAA;AACtB,YAAA,IAAA,CAAK,GAAG,CAAA,GAAI,KAAM,CAAA,UAAA,CAAW,GAAG,CAAA,CAAA;AAAA,WAClC;AACA,UAAO,OAAA,IAAA,CAAA;AAAA,SACT,EAAG,KAAK,KAAK,CAAA,CAAA;AAAA,OACf;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-position-input.vue2.js","sources":["../../../src/style-position-input/src/style-position-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStylePositionInput',\n});\n</script>\n<template>\n <div ref=\"el\" class=\"dk-style-position-input\">\n <el-form label-width=\"50px\" label-position=\"left\">\n <div>\n <el-form-item label=\"常用\">\n <el-radio-group @change=\"positionChange\">\n <el-radio-button v-for=\"(item, key) in positions\" :key=\"key\" :label=\"item.value\">\n {{ item.label }}\n </el-radio-button>\n </el-radio-group>\n </el-form-item>\n </div>\n <div class=\"m-t-10px\">\n <el-row :gutter=\"20\">\n <el-col v-for=\"(item, key) in custom\" :key=\"key\" :span=\"span\" class=\"m-b-5px\">\n <el-form-item :label=\"item.label\">\n <template #label>\n <el-tooltip class=\"item\" effect=\"dark\" :content=\"item.tip\" placement=\"top\">\n <span\n style=\"cursor: pointer\"\n :style=\"form[item.value] ? 'color:var(--el-color-primary)' : ''\"\n @click=\"form[item.value] = ''\"\n >\n {{ item.label }}:</span\n >\n </el-tooltip>\n </template>\n <dk-style-number-input v-model=\"form[item.value]\" @input=\"change = false\"></dk-style-number-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n </el-form>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { stylePositionInputProps } from './props'\nimport { computed, ref, watch } from 'vue'\nimport { useElementSize } from '@vueuse/core'\n\nconst el: any = ref(null)\nconst { width } = useElementSize(el) // 当前组件宽度\n\nconst span = computed(() => {\n if (width.value <= 300) {\n return 24\n } else if (width.value < 800) {\n return 12\n } else {\n return 6\n }\n})\n\n\n\nconst props = defineProps(stylePositionInputProps)\n\nconst form: any = ref({\n left: props.modelValue.left || '',\n top: props.modelValue.top || '',\n right: props.modelValue.right || '',\n bottom: props.modelValue.bottom || '',\n})\n\nconst custom = [\n { label: '上', value: 'top', tip: '当前距离顶部距离,点击清除' },\n { label: '右', value: 'right', tip: '当前距离右侧的距离,点击清除' },\n { label: '下', value: 'bottom', tip: '当前距离底部的距离,点击清除' },\n { label: '左', value: 'left', tip: '当前距离左侧的距离,点击清除' },\n]\n\nconst positions = [\n { label: '左上', value: 'left-top' },\n { label: '左下', value: 'left-down' },\n { label: '右上', value: 'right-top' },\n { label: '右下', value: 'right-down' },\n { label: '下居中', value: 'down-center' },\n { label: '上居中', value: 'up-center' },\n]\nconst emit = defineEmits(['update:modelValue'])\n\nconst change = ref(false)\n\nconst positionChange = (value: string) => {\n change.value = true\n switch (value) {\n case 'left-top':\n form.value = { left: '1px', top: '1px', right: '', bottom: '' }\n break\n case 'left-down':\n form.value = { left: '1px', bottom: '1px', right: '', up: '' }\n break\n case 'right-top':\n form.value = { top: '1px', right: '1px', left: '', bottom: '' }\n break\n case 'right-down':\n form.value = { right: '1px', bottom: '1px', left: '', up: '' }\n break\n case 'down-center':\n form.value = { left: '1px', right: '1px', bottom: '1px', up: '' }\n break\n case 'up-center':\n form.value = { left: '1px', top: '1px', right: '1px', bottom: '' }\n break\n }\n // emitValue()\n}\nconst emitValue = () => {\n const data = Object.keys(form.value).reduce((prev: any, cur) => {\n // 当 change.value 存在时检查是否不等于 '0px',否则只检查当前 key 是否不等于 'position'\n if ((change.value && form.value[cur] != '0px') || (!change.value && cur !== 'position')) {\n if (form.value[cur]) {\n prev[cur] = form.value[cur]\n }\n }\n return prev\n }, {})\n emit('update:modelValue', data)\n}\nwatch(\n () => form.value,\n () => {\n emitValue()\n },\n { deep: true }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n Object.keys(props.modelValue).reduce((prev: any, cur) => {\n if (cur !== 'position') {\n prev[cur] = props.modelValue[cur]\n }\n return prev\n }, form.value)\n },\n { deep: true }\n)\n</script>\n"],"names":["__MACROS_defineComponent","ref","useElementSize","computed","watch"],"mappings":";;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,sBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA2CD,IAAM,MAAA,EAAA,GAAUC,QAAI,IAAI,CAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAA,EAAU,GAAAC,mBAAA,CAAe,EAAE,CAAA,CAAA;AAEnC,IAAM,MAAA,IAAA,GAAOC,aAAS,MAAM;AAC1B,MAAI,IAAA,KAAA,CAAM,SAAS,GAAK,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UAAA,CAAW,GAAG,CAAA,CAAA;AAAA,WAClC;AACA,UAAO,OAAA,IAAA,CAAA;AAAA,SACT,EAAG,KAAK,KAAK,CAAA,CAAA;AAAA,OACf;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -19,8 +19,8 @@ export declare const StyleShadowInput: import("@vipl520/utils").WithInstall<impo
19
19
  }>> & {
20
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
21
  }, {
22
- type: "input" | "collapse";
23
22
  modelValue: Record<string, any>;
23
+ type: "input" | "collapse";
24
24
  }, {}>>;
25
25
  export declare const StyleShadowContent: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
26
26
  boxSize: {
@@ -73,9 +73,9 @@ export declare const StyleShadowContent: import("@vipl520/utils").WithInstall<im
73
73
  }>> & {
74
74
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
75
75
  }, {
76
+ modelValue: string;
76
77
  max: number;
77
78
  size: string;
78
- modelValue: string;
79
79
  boxSize: number;
80
80
  defaultStyles: any;
81
81
  }, {}>>;
@@ -49,9 +49,9 @@ declare const _default: import("vue").DefineComponent<{
49
49
  }>> & {
50
50
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
51
  }, {
52
+ modelValue: string;
52
53
  max: number;
53
54
  size: string;
54
- modelValue: string;
55
55
  boxSize: number;
56
56
  defaultStyles: any;
57
57
  }, {}>;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  }>> & {
20
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
21
  }, {
22
- type: "input" | "collapse";
23
22
  modelValue: Record<string, any>;
23
+ type: "input" | "collapse";
24
24
  }, {}>;
25
25
  export default _default;
@@ -5,9 +5,8 @@ export declare const Table: import("@vipl520/utils").WithInstall<{
5
5
  $props: {
6
6
  tableApi?: string | undefined;
7
7
  cacheTable?: boolean | undefined;
8
- key?: string | number | symbol | undefined;
9
8
  style?: unknown;
10
- class?: unknown;
9
+ key?: string | number | symbol | undefined;
11
10
  ref?: import("vue").VNodeRef | undefined;
12
11
  ref_for?: boolean | undefined;
13
12
  ref_key?: string | undefined;
@@ -49,6 +48,7 @@ export declare const Table: import("@vipl520/utils").WithInstall<{
49
48
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
49
  [key: string]: any;
51
50
  }>) => void)[] | undefined;
51
+ class?: unknown;
52
52
  };
53
53
  $attrs: {
54
54
  [x: string]: unknown;
@@ -23,7 +23,7 @@ export declare const TinyEditor: import("@vipl520/utils").WithInstall<import("vu
23
23
  type: NumberConstructor;
24
24
  default: number;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  disabled: {
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
@@ -49,14 +49,14 @@ export declare const TinyEditor: import("@vipl520/utils").WithInstall<import("vu
49
49
  default: number;
50
50
  };
51
51
  }>> & {
52
- onChange?: ((...args: any[]) => any) | undefined;
53
52
  onInput?: ((...args: any[]) => any) | undefined;
54
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
+ onChange?: ((...args: any[]) => any) | undefined;
55
55
  }, {
56
- document: boolean;
57
- height: number;
58
56
  modelValue: string;
59
57
  disabled: boolean;
58
+ document: boolean;
59
+ height: number;
60
60
  buttonText: string;
61
61
  showDialogWidth: number;
62
62
  }, {}>>;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: NumberConstructor;
24
24
  default: number;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  disabled: {
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
@@ -49,14 +49,14 @@ declare const _default: import("vue").DefineComponent<{
49
49
  default: number;
50
50
  };
51
51
  }>> & {
52
- onChange?: ((...args: any[]) => any) | undefined;
53
52
  onInput?: ((...args: any[]) => any) | undefined;
54
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
+ onChange?: ((...args: any[]) => any) | undefined;
55
55
  }, {
56
- document: boolean;
57
- height: number;
58
56
  modelValue: string;
59
57
  disabled: boolean;
58
+ document: boolean;
59
+ height: number;
60
60
  buttonText: string;
61
61
  showDialogWidth: number;
62
62
  }, {}>;
@@ -19,7 +19,7 @@ export declare const VideoInput: import("@vipl520/utils").WithInstall<import("vu
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  modelValue: {
24
24
  type: StringConstructor;
25
25
  default: string;
@@ -41,13 +41,13 @@ export declare const VideoInput: import("@vipl520/utils").WithInstall<import("vu
41
41
  default: string;
42
42
  };
43
43
  }>> & {
44
- onChange?: ((...args: any[]) => any) | undefined;
45
44
  onInput?: ((...args: any[]) => any) | undefined;
46
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
+ onChange?: ((...args: any[]) => any) | undefined;
47
47
  }, {
48
- accept: string;
49
- placeholder: string;
50
48
  modelValue: string;
49
+ placeholder: string;
50
+ accept: string;
51
51
  showInput: boolean;
52
52
  imgSize: number;
53
53
  }, {}>>;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  modelValue: {
24
24
  type: StringConstructor;
25
25
  default: string;
@@ -41,13 +41,13 @@ declare const _default: import("vue").DefineComponent<{
41
41
  default: string;
42
42
  };
43
43
  }>> & {
44
- onChange?: ((...args: any[]) => any) | undefined;
45
44
  onInput?: ((...args: any[]) => any) | undefined;
46
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
+ onChange?: ((...args: any[]) => any) | undefined;
47
47
  }, {
48
- accept: string;
49
- placeholder: string;
50
48
  modelValue: string;
49
+ placeholder: string;
50
+ accept: string;
51
51
  showInput: boolean;
52
52
  imgSize: number;
53
53
  }, {}>;
@@ -19,7 +19,7 @@ export declare const VideoListInput: import("@vipl520/utils").WithInstall<import
19
19
  default: string;
20
20
  type: StringConstructor;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  modelValue: {
24
24
  default: () => never[];
25
25
  type: ArrayConstructor;
@@ -41,13 +41,13 @@ export declare const VideoListInput: import("@vipl520/utils").WithInstall<import
41
41
  type: StringConstructor;
42
42
  };
43
43
  }>> & {
44
- onChange?: ((...args: any[]) => any) | undefined;
45
44
  onInput?: ((...args: any[]) => any) | undefined;
46
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
+ onChange?: ((...args: any[]) => any) | undefined;
47
47
  }, {
48
- accept: string;
49
48
  modelValue: unknown[];
50
49
  disabled: boolean;
50
+ accept: string;
51
51
  imgSize: number;
52
52
  limit: number;
53
53
  }, {}>>;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  default: string;
20
20
  type: StringConstructor;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change")[], "input" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  modelValue: {
24
24
  default: () => never[];
25
25
  type: ArrayConstructor;
@@ -41,13 +41,13 @@ declare const _default: import("vue").DefineComponent<{
41
41
  type: StringConstructor;
42
42
  };
43
43
  }>> & {
44
- onChange?: ((...args: any[]) => any) | undefined;
45
44
  onInput?: ((...args: any[]) => any) | undefined;
46
45
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
+ onChange?: ((...args: any[]) => any) | undefined;
47
47
  }, {
48
- accept: string;
49
48
  modelValue: unknown[];
50
49
  disabled: boolean;
50
+ accept: string;
51
51
  imgSize: number;
52
52
  limit: number;
53
53
  }, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vipl520/dk-ui",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Vant extension components.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
@@ -34,10 +34,10 @@
34
34
  "@vueuse/core": "^10.0.0",
35
35
  "axios": "^1.4.0",
36
36
  "element-plus": "^2.3.8",
37
+ "unocss": "^0.58.0",
37
38
  "vant": "^4.7.0",
38
39
  "vue": "^3.2.0",
39
- "vue3-draggable-resizable": "^1.6.5",
40
- "unocss": "^0.58.0"
40
+ "vue3-draggable-resizable": "^1.6.5"
41
41
  },
42
42
  "dependencies": {
43
43
  "@form-create/utils": "^3.1.15",
@@ -48,8 +48,8 @@
48
48
  "lodash": "^4.17.21",
49
49
  "lodash-es": "^4.17.21",
50
50
  "sortablejs": "1.15.0",
51
- "vue3-draggable-resizable": "^1.6.5",
52
51
  "unocss": "^0.56.5",
52
+ "vue3-draggable-resizable": "^1.6.5",
53
53
  "vuedraggable": "4.1.0"
54
54
  },
55
55
  "devDependencies": {