@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
@@ -49,7 +49,7 @@ export declare const PosterInput: import("@vipl520/utils").WithInstall<import("v
49
49
  })[];
50
50
  type: ArrayConstructor;
51
51
  };
52
- }, {}, 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<{
52
+ }, {}, 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<{
53
53
  placeholder: {
54
54
  default: string;
55
55
  type: StringConstructor;
@@ -101,12 +101,12 @@ export declare const PosterInput: import("@vipl520/utils").WithInstall<import("v
101
101
  type: ArrayConstructor;
102
102
  };
103
103
  }>> & {
104
- onChange?: ((...args: any[]) => any) | undefined;
105
104
  onInput?: ((...args: any[]) => any) | undefined;
106
105
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
106
+ onChange?: ((...args: any[]) => any) | undefined;
107
107
  }, {
108
- placeholder: string;
109
108
  modelValue: Record<string, any>;
109
+ placeholder: string;
110
110
  views: unknown[];
111
111
  }, {}>>;
112
112
  export declare const Poster: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
@@ -120,7 +120,7 @@ export declare const Poster: import("@vipl520/utils").WithInstall<import("vue").
120
120
  };
121
121
  }, {
122
122
  checkParentSize: () => void;
123
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "submit" | "update:modelValue")[], "change" | "input" | "submit" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
123
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change" | "submit")[], "input" | "update:modelValue" | "change" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
124
124
  modelValue: {
125
125
  default: () => {};
126
126
  type: ObjectConstructor;
@@ -130,10 +130,10 @@ export declare const Poster: import("@vipl520/utils").WithInstall<import("vue").
130
130
  type: any;
131
131
  };
132
132
  }>> & {
133
- onChange?: ((...args: any[]) => any) | undefined;
134
133
  onInput?: ((...args: any[]) => any) | undefined;
135
- onSubmit?: ((...args: any[]) => any) | undefined;
136
134
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
135
+ onChange?: ((...args: any[]) => any) | undefined;
136
+ onSubmit?: ((...args: any[]) => any) | undefined;
137
137
  }, {
138
138
  modelValue: Record<string, any>;
139
139
  views: any;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  };
11
11
  }, {
12
12
  checkParentSize: () => void;
13
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "submit" | "update:modelValue")[], "change" | "input" | "submit" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "change" | "submit")[], "input" | "update:modelValue" | "change" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  modelValue: {
15
15
  default: () => {};
16
16
  type: ObjectConstructor;
@@ -20,10 +20,10 @@ declare const _default: import("vue").DefineComponent<{
20
20
  type: any;
21
21
  };
22
22
  }>> & {
23
- onChange?: ((...args: any[]) => any) | undefined;
24
23
  onInput?: ((...args: any[]) => any) | undefined;
25
- onSubmit?: ((...args: any[]) => any) | undefined;
26
24
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ onChange?: ((...args: any[]) => any) | undefined;
26
+ onSubmit?: ((...args: any[]) => any) | undefined;
27
27
  }, {
28
28
  modelValue: Record<string, any>;
29
29
  views: any;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  })[];
50
50
  type: ArrayConstructor;
51
51
  };
52
- }, {}, 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<{
52
+ }, {}, 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<{
53
53
  placeholder: {
54
54
  default: string;
55
55
  type: StringConstructor;
@@ -101,12 +101,12 @@ declare const _default: import("vue").DefineComponent<{
101
101
  type: ArrayConstructor;
102
102
  };
103
103
  }>> & {
104
- onChange?: ((...args: any[]) => any) | undefined;
105
104
  onInput?: ((...args: any[]) => any) | undefined;
106
105
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
106
+ onChange?: ((...args: any[]) => any) | undefined;
107
107
  }, {
108
- placeholder: string;
109
108
  modelValue: Record<string, any>;
109
+ placeholder: string;
110
110
  views: unknown[];
111
111
  }, {}>;
112
112
  export default _default;
@@ -1,8 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue" | "clear" | "visible-change" | "remove-tag")[], "blur" | "change" | "focus" | "update:modelValue" | "clear" | "visible-change" | "remove-tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus" | "clear" | "visible-change" | "remove-tag")[], "update:modelValue" | "change" | "blur" | "focus" | "clear" | "visible-change" | "remove-tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
2
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
3
+ onChange?: ((...args: any[]) => any) | undefined;
2
4
  onFocus?: ((...args: any[]) => any) | undefined;
3
5
  onBlur?: ((...args: any[]) => any) | undefined;
4
- onChange?: ((...args: any[]) => any) | undefined;
5
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6
6
  onClear?: ((...args: any[]) => any) | undefined;
7
7
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
8
8
  "onRemove-tag"?: ((...args: any[]) => any) | undefined;
@@ -0,0 +1,25 @@
1
+ export declare const StyleAnimationInput: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ animationDelay: string;
6
+ animationDuration: string;
7
+ animationIterationCount: string;
8
+ };
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ modelValue: {
12
+ type: ObjectConstructor;
13
+ default: () => {
14
+ animationDelay: string;
15
+ animationDuration: string;
16
+ animationIterationCount: string;
17
+ };
18
+ };
19
+ }>> & {
20
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ }, {
22
+ modelValue: Record<string, any>;
23
+ }, {}>>;
24
+ export default StyleAnimationInput;
25
+ export * from './src/props';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var utils = require('@vipl520/utils');
6
+ var styleAnimationInput = require('./src/style-animation-input.vue.js');
7
+ var props = require('./src/props.js');
8
+
9
+ const StyleAnimationInput = utils.withInstall(styleAnimationInput.default);
10
+
11
+ exports.styleAnimationInputProps = props.styleAnimationInputProps;
12
+ exports.StyleAnimationInput = StyleAnimationInput;
13
+ exports.default = StyleAnimationInput;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/style-animation-input/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _StyleAnimationInput from './src/style-animation-input.vue'\n\nexport const StyleAnimationInput = withInstall(_StyleAnimationInput)\nexport default StyleAnimationInput\n\nexport * from './src/props'\n"],"names":["withInstall","_StyleAnimationInput"],"mappings":";;;;;;;;AAGa,MAAA,mBAAA,GAAsBA,kBAAYC,2BAAoB;;;;;;"}
@@ -0,0 +1,15 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const styleAnimationInputProps: {
3
+ /**
4
+ * 类型定义
5
+ */
6
+ modelValue: {
7
+ type: ObjectConstructor;
8
+ default: () => {
9
+ animationDelay: string;
10
+ animationDuration: string;
11
+ animationIterationCount: string;
12
+ };
13
+ };
14
+ };
15
+ export type StyleAnimationInputProps = ExtractPropTypes<typeof styleAnimationInputProps>;
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ const styleAnimationInputProps = {
4
+ /**
5
+ * 类型定义
6
+ */
7
+ modelValue: {
8
+ type: Object,
9
+ default: () => ({
10
+ animationDelay: "0s",
11
+ animationDuration: "1s",
12
+ animationIterationCount: "infinite"
13
+ })
14
+ }
15
+ };
16
+
17
+ exports.styleAnimationInputProps = styleAnimationInputProps;
18
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.js","sources":["../../../src/style-animation-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const styleAnimationInputProps = {\n /**\n * 类型定义\n */\n modelValue: {\n type: Object,\n default: () => ({\n animationDelay: '0s',\n animationDuration: '1s',\n animationIterationCount: 'infinite',\n }),\n },\n}\n\nexport type StyleAnimationInputProps = ExtractPropTypes<typeof styleAnimationInputProps>\n"],"names":[],"mappings":";;AAEO,MAAM,wBAA2B,GAAA;AAAA;AAAA;AAAA;AAAA,EAItC,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,OAAO;AAAA,MACd,cAAgB,EAAA,IAAA;AAAA,MAChB,iBAAmB,EAAA,IAAA;AAAA,MACnB,uBAAyB,EAAA,UAAA;AAAA,KAC3B,CAAA;AAAA,GACF;AACF;;;;"}
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ animationDelay: string;
6
+ animationDuration: string;
7
+ animationIterationCount: string;
8
+ };
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ modelValue: {
12
+ type: ObjectConstructor;
13
+ default: () => {
14
+ animationDelay: string;
15
+ animationDuration: string;
16
+ animationIterationCount: string;
17
+ };
18
+ };
19
+ }>> & {
20
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ }, {
22
+ modelValue: Record<string, any>;
23
+ }, {}>;
24
+ export default _default;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var styleAnimationInput_vue_vue_type_script_setup_true_lang = require('./style-animation-input.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ var _StyleAnimationInput = /* @__PURE__ */ _pluginVue_exportHelper.default(styleAnimationInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\style-animation-input\\src\\style-animation-input.vue"]]);
9
+
10
+ exports.default = _StyleAnimationInput;
11
+ //# sourceMappingURL=style-animation-input.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style-animation-input.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,120 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var props = require('./props.js');
7
+
8
+ const _hoisted_1 = { class: "dk-style-animation-input" };
9
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode(
10
+ "p",
11
+ { class: "form-help" },
12
+ "\u8BBE\u7F6E\u52A8\u753B\u9875\u9762\u52A0\u8F7D\u5B8C\u6BD5\u591A\u5C11\u79D2\u540E\u6267\u884C",
13
+ -1
14
+ /* HOISTED */
15
+ );
16
+ const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode(
17
+ "p",
18
+ { class: "form-help" },
19
+ "\u8BBE\u7F6E\u6BCF\u6B21\u52A8\u753B\u52A0\u8F7D\u7684\u52A8\u753B\u65F6\u957F",
20
+ -1
21
+ /* HOISTED */
22
+ );
23
+ const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode(
24
+ "p",
25
+ { class: "form-help" },
26
+ "\u5F53\u5FAA\u73AF\u6B21\u6570\u8BBE\u7F6E\u4E3A0\u7684\u65F6\u5019\uFF0C\u8868\u793A\u65E0\u9650\u5FAA\u73AF\uFF0C\u5165\u573A\u52A8\u753B\u5EFA\u8BAE\u4E3A1",
27
+ -1
28
+ /* HOISTED */
29
+ );
30
+ const __default__ = vue.defineComponent({
31
+ name: "DkStyleAnimationInput"
32
+ });
33
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
34
+ ...__default__,
35
+ props: props.styleAnimationInputProps,
36
+ emits: ["update:modelValue"],
37
+ setup(__props, { emit }) {
38
+ const props = __props;
39
+ const form = vue.reactive({
40
+ animationDelay: 0,
41
+ animationDuration: 1,
42
+ animationIterationCount: 0
43
+ });
44
+ vue.watch(
45
+ form,
46
+ () => {
47
+ const value = {};
48
+ value.animationDelay = form.animationDelay + "s";
49
+ value.animationDuration = form.animationDuration + "s";
50
+ value.animationIterationCount = form.animationIterationCount == 0 ? "infinite" : form.animationIterationCount;
51
+ emit("update:modelValue", value);
52
+ },
53
+ { deep: true }
54
+ );
55
+ const init = () => {
56
+ const value = props.modelValue;
57
+ form.animationDelay = parseFloat(value.animationDelay || "0s");
58
+ form.animationDuration = parseFloat(value.animationDuration || "1");
59
+ form.animationIterationCount = parseInt(
60
+ (value.animationIterationCount === "infinite" ? 0 : value.animationIterationCount) || 0
61
+ );
62
+ };
63
+ vue.watch(
64
+ () => props.modelValue,
65
+ () => {
66
+ init();
67
+ }
68
+ );
69
+ vue.onMounted(() => {
70
+ init();
71
+ });
72
+ return (_ctx, _cache) => {
73
+ const _component_el_input_number = vue.resolveComponent("el-input-number");
74
+ const _component_el_form_item = vue.resolveComponent("el-form-item");
75
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
76
+ vue.createVNode(_component_el_form_item, { label: "\u5EF6\u8FDF\u6267\u884C" }, {
77
+ default: vue.withCtx(() => [
78
+ vue.createVNode(_component_el_input_number, {
79
+ modelValue: form.animationDelay,
80
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.animationDelay = $event),
81
+ step: 0.1,
82
+ min: 0
83
+ }, null, 8, ["modelValue"]),
84
+ _hoisted_2
85
+ ]),
86
+ _: 1
87
+ /* STABLE */
88
+ }),
89
+ vue.createVNode(_component_el_form_item, { label: "\u52A8\u753B\u65F6\u957F" }, {
90
+ default: vue.withCtx(() => [
91
+ vue.createVNode(_component_el_input_number, {
92
+ modelValue: form.animationDuration,
93
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => form.animationDuration = $event),
94
+ step: 0.1,
95
+ min: 0
96
+ }, null, 8, ["modelValue"]),
97
+ _hoisted_3
98
+ ]),
99
+ _: 1
100
+ /* STABLE */
101
+ }),
102
+ vue.createVNode(_component_el_form_item, { label: "\u5FAA\u73AF\u6B21\u6570" }, {
103
+ default: vue.withCtx(() => [
104
+ vue.createVNode(_component_el_input_number, {
105
+ modelValue: form.animationIterationCount,
106
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => form.animationIterationCount = $event),
107
+ min: 0
108
+ }, null, 8, ["modelValue"]),
109
+ _hoisted_4
110
+ ]),
111
+ _: 1
112
+ /* STABLE */
113
+ })
114
+ ]);
115
+ };
116
+ }
117
+ });
118
+
119
+ exports.default = _sfc_main;
120
+ //# sourceMappingURL=style-animation-input.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style-animation-input.vue2.js","sources":["../../../src/style-animation-input/src/style-animation-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleAnimationInput',\n});\n</script>\n<template>\n <div class=\"dk-style-animation-input\">\n <el-form-item label=\"延迟执行\">\n <el-input-number v-model=\"form.animationDelay\" :step=\"0.1\" :min=\"0\" />\n <p class=\"form-help\">设置动画页面加载完毕多少秒后执行</p>\n </el-form-item>\n <el-form-item label=\"动画时长\">\n <el-input-number v-model=\"form.animationDuration\" :step=\"0.1\" :min=\"0\" />\n <p class=\"form-help\">设置每次动画加载的动画时长</p>\n </el-form-item>\n <el-form-item label=\"循环次数\">\n <el-input-number v-model=\"form.animationIterationCount\" :min=\"0\" />\n <p class=\"form-help\">当循环次数设置为0的时候,表示无限循环,入场动画建议为1</p>\n </el-form-item>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { styleAnimationInputProps } from './props'\nimport { onMounted, reactive, watch } from 'vue'\n\n\n\nconst props = defineProps(styleAnimationInputProps)\n\nconst form: any = reactive({\n animationDelay: 0,\n animationDuration: 1,\n animationIterationCount: 0,\n})\nconst emit = defineEmits(['update:modelValue'])\nwatch(\n form,\n () => {\n const value: any = {}\n value.animationDelay = form.animationDelay + 's'\n value.animationDuration = form.animationDuration + 's'\n value.animationIterationCount = form.animationIterationCount == 0 ? 'infinite' : form.animationIterationCount\n emit('update:modelValue', value)\n },\n { deep: true }\n)\nconst init = () => {\n const value = props.modelValue\n form.animationDelay = parseFloat(value.animationDelay || '0s')\n form.animationDuration = parseFloat(value.animationDuration || '1')\n form.animationIterationCount = parseInt(\n (value.animationIterationCount === 'infinite' ? 0 : value.animationIterationCount) || 0\n )\n}\n\nwatch(\n () => props.modelValue,\n () => {\n init()\n // emit('update:modelValue', value)\n }\n)\n\nonMounted(() => {\n init()\n})\n</script>\n"],"names":["__MACROS_defineComponent","reactive","watch","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,uBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA2BD,IAAA,MAAM,OAAYC,YAAS,CAAA;AAAA,MACzB,cAAgB,EAAA,CAAA;AAAA,MAChB,iBAAmB,EAAA,CAAA;AAAA,MACnB,uBAAyB,EAAA,CAAA;AAAA,KAC1B,CAAA,CAAA;AAED,IAAAC,SAAA;AAAA,MACE,IAAA;AAAA,MACA,MAAM;AACJ,QAAA,MAAM,QAAa,EAAC,CAAA;AACpB,QAAM,KAAA,CAAA,cAAA,GAAiB,KAAK,cAAiB,GAAA,GAAA,CAAA;AAC7C,QAAM,KAAA,CAAA,iBAAA,GAAoB,KAAK,iBAAoB,GAAA,GAAA,CAAA;AACnD,QAAA,KAAA,CAAM,uBAA0B,GAAA,IAAA,CAAK,uBAA2B,IAAA,CAAA,GAAI,aAAa,IAAK,CAAA,uBAAA,CAAA;AACtF,QAAA,IAAA,CAAK,qBAAqB,KAAK,CAAA,CAAA;AAAA,OACjC;AAAA,MACA,EAAE,MAAM,IAAK,EAAA;AAAA,KACf,CAAA;AACA,IAAA,MAAM,OAAO,MAAM;AACjB,MAAA,MAAM,QAAQ,KAAM,CAAA,UAAA,CAAA;AACpB,MAAA,IAAA,CAAK,cAAiB,GAAA,UAAA,CAAW,KAAM,CAAA,cAAA,IAAkB,IAAI,CAAA,CAAA;AAC7D,MAAA,IAAA,CAAK,iBAAoB,GAAA,UAAA,CAAW,KAAM,CAAA,iBAAA,IAAqB,GAAG,CAAA,CAAA;AAClE,MAAA,IAAA,CAAK,uBAA0B,GAAA,QAAA;AAAA,QAAA,CAC5B,KAAM,CAAA,uBAAA,KAA4B,UAAa,GAAA,CAAA,GAAI,MAAM,uBAA4B,KAAA,CAAA;AAAA,OACxF,CAAA;AAAA,KACF,CAAA;AAEA,IAAAA,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAK,IAAA,EAAA,CAAA;AAAA,OAEP;AAAA,KACF,CAAA;AAEA,IAAAC,aAAA,CAAU,MAAM;AACd,MAAK,IAAA,EAAA,CAAA;AAAA,KACN,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ .dk-style-animation-input .el-form-item__content{display:block}.dk-style-animation-input .form-help{margin-top:4px;margin-bottom:0;font-size:12px;line-height:1.5;color:#888}
@@ -0,0 +1,14 @@
1
+ /* stylelint-disable */
2
+ .dk-style-animation-input {
3
+ .el-form-item__content {
4
+ display: block;
5
+ }
6
+ .form-help {
7
+ margin-top: 4px;
8
+ margin-bottom: 0;
9
+ font-size: 12px;
10
+ line-height: 1.5;
11
+ color: #888;
12
+ }
13
+ }
14
+ /* stylelint-enable */
@@ -27,8 +27,8 @@ export declare const StyleBoxInput: import("@vipl520/utils").WithInstall<import(
27
27
  }>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- height: number;
31
30
  modelValue: Record<string, any>;
31
+ height: number;
32
32
  help: string;
33
33
  }, {}>>;
34
34
  export default StyleBoxInput;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
27
27
  }>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- height: number;
31
30
  modelValue: Record<string, any>;
31
+ height: number;
32
32
  help: string;
33
33
  }, {}>;
34
34
  export default _default;
@@ -19,8 +19,8 @@ export declare const StyleInput: import("@vipl520/utils").WithInstall<import("vu
19
19
  }>> & {
20
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
21
  }, {
22
- components: import("./src/default").StyleInputConfig;
23
22
  modelValue: Record<string, any>;
23
+ components: import("./src/default").StyleInputConfig;
24
24
  }, {}>>;
25
25
  export default StyleInput;
26
26
  export * from './src/props';
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  }>> & {
20
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
21
  }, {
22
- components: import("./default").StyleInputConfig;
23
22
  modelValue: Record<string, any>;
23
+ components: import("./default").StyleInputConfig;
24
24
  }, {}>;
25
25
  export default _default;
@@ -23,7 +23,7 @@ export declare const StyleNumberInput: import("@vipl520/utils").WithInstall<impo
23
23
  default: string;
24
24
  type: StringConstructor;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "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")[], "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelValue: {
28
28
  default: string;
29
29
  type: StringConstructor;
@@ -49,11 +49,12 @@ export declare const StyleNumberInput: import("@vipl520/utils").WithInstall<impo
49
49
  type: StringConstructor;
50
50
  };
51
51
  }>> & {
52
+ onInput?: ((...args: any[]) => any) | undefined;
52
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
54
  }, {
55
+ modelValue: string;
54
56
  icon: string;
55
57
  direction: string;
56
- modelValue: string;
57
58
  units: string[];
58
59
  showUnit: boolean;
59
60
  tooltipContent: string;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: string;
24
24
  type: StringConstructor;
25
25
  };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "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")[], "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  modelValue: {
28
28
  default: string;
29
29
  type: StringConstructor;
@@ -49,11 +49,12 @@ declare const _default: import("vue").DefineComponent<{
49
49
  type: StringConstructor;
50
50
  };
51
51
  }>> & {
52
+ onInput?: ((...args: any[]) => any) | undefined;
52
53
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
54
  }, {
55
+ modelValue: string;
54
56
  icon: string;
55
57
  direction: string;
56
- modelValue: string;
57
58
  units: string[];
58
59
  showUnit: boolean;
59
60
  tooltipContent: string;
@@ -12,7 +12,7 @@ const __default__ = vue.defineComponent({
12
12
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
13
13
  ...__default__,
14
14
  props: props.styleNumberInputProps,
15
- emits: ["update:modelValue"],
15
+ emits: ["input", "update:modelValue"],
16
16
  setup(__props, { emit }) {
17
17
  const props = __props;
18
18
  const values = utils.splitUnit(props.modelValue, props.units);
@@ -94,7 +94,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
94
94
  modelValue: form.number,
95
95
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => form.number = $event),
96
96
  type: "text",
97
- controls: false
97
+ controls: false,
98
+ onInput: _cache[2] || (_cache[2] = ($event) => emit("input", $event))
98
99
  }, vue.createSlots({
99
100
  prefix: vue.withCtx(() => [
100
101
  vue.createElementVNode(
@@ -1 +1 @@
1
- {"version":3,"file":"style-number-input.vue2.js","sources":["../../../src/style-number-input/src/style-number-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleNumberInput',\n});\n</script>\n<template>\n <div :class=\"['dk-style-number-input', props.direction]\">\n <el-input v-model=\"form.number\" type=\"text\" :controls=\"false\">\n <template #prefix>\n <span\n class=\"w-resize\"\n :class=\"[`${props.direction}-resize`]\"\n @mousemove=\"handleMouseMove\"\n @mousedown=\"handleMouseDown\"\n @mouseup=\"handleMouseUp\"\n >\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n :disabled=\"!props.tooltipContent\"\n :content=\"props.tooltipContent\"\n placement=\"top\"\n :open-delay=\"500\"\n >\n <dk-icon :icon=\"props.icon || 'Rank'\"></dk-icon>\n </el-tooltip>\n </span>\n </template>\n <template v-if=\"showUnit\" #append>\n <el-select v-model=\"form.unit\" style=\"width: 40px\" suffix-icon=\"\">\n <el-option v-for=\"(item, index) in units\" :key=\"index\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { styleNumberInputProps } from './props'\nimport { reactive, ref, watch } from 'vue'\nimport { splitUnit } from '@vipl520/utils'\n\n\nconst props = defineProps(styleNumberInputProps)\nconst values = splitUnit(props.modelValue, props.units)\nconst form: any = reactive({\n number: values.number,\n unit: values.unit || 'px',\n})\n\nconst isDragging = ref(false)\nconst trackMouseBound: any = ref(null)\nconst stopChangeBound: any = ref(null)\nconst startY = ref(0) // 开始的Y坐标\nconst startX = ref(0) // 开始的X坐标\nconst handleMouseDown = (event: any) => {\n isDragging.value = true\n startX.value = event.clientX\n startY.value = event.clientY\n trackMouseBound.value = handleMouseMove.bind(event)\n stopChangeBound.value = handleMouseUp.bind(event)\n document.addEventListener('mousemove', trackMouseBound.value)\n document.addEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'ew-resize'\n}\n\nconst handleMouseMove = (event: any) => {\n if (isDragging.value) {\n let increment\n if (props.direction === 'horizontal') {\n const dx = event.clientX - startX.value\n increment = Math.floor(dx / 10)\n startX.value += increment * 10\n } else if (props.direction === 'vertical') {\n const dy = event.clientY - startY.value\n increment = Math.floor(dy / 10)\n startY.value += increment * 10\n }\n form.number = parseInt(form.number + increment)\n }\n}\n\nconst handleMouseUp = () => {\n console.log('up')\n document.removeEventListener('mousemove', trackMouseBound.value)\n document.removeEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'default'\n isDragging.value = false\n}\nconst emit = defineEmits(['update:modelValue'])\n\nwatch(\n () => form,\n () => {\n if (form.number === '') {\n emit('update:modelValue', '')\n } else {\n emit('update:modelValue', form.number + form.unit)\n }\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n const values = splitUnit(props.modelValue, props.units)\n form.number = values.number\n form.unit = values.unit || 'px'\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent","splitUnit","reactive","ref","watch","values"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,oBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAyCD,IAAA,MAAM,MAAS,GAAAC,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,IAAA,MAAM,OAAYC,YAAS,CAAA;AAAA,MACzB,QAAQ,MAAO,CAAA,MAAA;AAAA,MACf,IAAA,EAAM,OAAO,IAAQ,IAAA,IAAA;AAAA,KACtB,CAAA,CAAA;AAED,IAAM,MAAA,UAAA,GAAaC,QAAI,KAAK,CAAA,CAAA;AAC5B,IA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AAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,QAAA,IAAA,CAAK,SAASI,OAAO,CAAA,MAAA,CAAA;AACrB,QAAK,IAAA,CAAA,IAAA,GAAOA,QAAO,IAAQ,IAAA,IAAA,CAAA;AAAA,OAC7B;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"style-number-input.vue2.js","sources":["../../../src/style-number-input/src/style-number-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkStyleNumberInput',\n});\n</script>\n<template>\n <div :class=\"['dk-style-number-input', props.direction]\">\n <el-input v-model=\"form.number\" type=\"text\" :controls=\"false\" @input=\"emit('input', $event)\">\n <template #prefix>\n <span\n class=\"w-resize\"\n :class=\"[`${props.direction}-resize`]\"\n @mousemove=\"handleMouseMove\"\n @mousedown=\"handleMouseDown\"\n @mouseup=\"handleMouseUp\"\n >\n <el-tooltip\n class=\"item\"\n effect=\"dark\"\n :disabled=\"!props.tooltipContent\"\n :content=\"props.tooltipContent\"\n placement=\"top\"\n :open-delay=\"500\"\n >\n <dk-icon :icon=\"props.icon || 'Rank'\"></dk-icon>\n </el-tooltip>\n </span>\n </template>\n <template v-if=\"showUnit\" #append>\n <el-select v-model=\"form.unit\" style=\"width: 40px\" suffix-icon=\"\">\n <el-option v-for=\"(item, index) in units\" :key=\"index\" :label=\"item\" :value=\"item\" />\n </el-select>\n </template>\n </el-input>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { styleNumberInputProps } from './props'\nimport { reactive, ref, watch } from 'vue'\nimport { splitUnit } from '@vipl520/utils'\n\n\nconst props = defineProps(styleNumberInputProps)\nconst values = splitUnit(props.modelValue, props.units)\nconst form: any = reactive({\n number: values.number,\n unit: values.unit || 'px',\n})\n\nconst isDragging = ref(false)\nconst trackMouseBound: any = ref(null)\nconst stopChangeBound: any = ref(null)\nconst startY = ref(0) // 开始的Y坐标\nconst startX = ref(0) // 开始的X坐标\nconst handleMouseDown = (event: any) => {\n isDragging.value = true\n startX.value = event.clientX\n startY.value = event.clientY\n trackMouseBound.value = handleMouseMove.bind(event)\n stopChangeBound.value = handleMouseUp.bind(event)\n document.addEventListener('mousemove', trackMouseBound.value)\n document.addEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'ew-resize'\n}\n\nconst handleMouseMove = (event: any) => {\n if (isDragging.value) {\n let increment\n if (props.direction === 'horizontal') {\n const dx = event.clientX - startX.value\n increment = Math.floor(dx / 10)\n startX.value += increment * 10\n } else if (props.direction === 'vertical') {\n const dy = event.clientY - startY.value\n increment = Math.floor(dy / 10)\n startY.value += increment * 10\n }\n form.number = parseInt(form.number + increment)\n }\n}\n\nconst handleMouseUp = () => {\n console.log('up')\n document.removeEventListener('mousemove', trackMouseBound.value)\n document.removeEventListener('mouseup', stopChangeBound.value)\n document.body.style.cursor = 'default'\n isDragging.value = false\n}\nconst emit = defineEmits(['input', 'update:modelValue'])\n\nwatch(\n () => form,\n () => {\n if (form.number === '') {\n emit('update:modelValue', '')\n } else {\n emit('update:modelValue', form.number + form.unit)\n }\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => props.modelValue,\n () => {\n const values = splitUnit(props.modelValue, props.units)\n form.number = values.number\n form.unit = values.unit || 'px'\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent","splitUnit","reactive","ref","watch","values"],"mappings":";;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,oBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AAyCD,IAAA,MAAM,MAAS,GAAAC,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,IAAA,MA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AAA,SACnD;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,OACR;AAAA,KACF,CAAA;AAEA,IAAAA,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,MAAM;AACJ,QAAA,MAAMC,OAAS,GAAAJ,eAAA,CAAU,KAAM,CAAA,UAAA,EAAY,MAAM,KAAK,CAAA,CAAA;AACtD,QAAA,IAAA,CAAK,SAASI,OAAO,CAAA,MAAA,CAAA;AACrB,QAAK,IAAA,CAAA,IAAA,GAAOA,QAAO,IAAQ,IAAA,IAAA,CAAA;AAAA,OAC7B;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -44,49 +44,40 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  { label: "\u5DE6\u4E0A", value: "left-top" },
45
45
  { label: "\u5DE6\u4E0B", value: "left-down" },
46
46
  { label: "\u53F3\u4E0A", value: "right-top" },
47
- { label: "\u53F3\u4E0B", value: "right-down" }
47
+ { label: "\u53F3\u4E0B", value: "right-down" },
48
+ { label: "\u4E0B\u5C45\u4E2D", value: "down-center" },
49
+ { label: "\u4E0A\u5C45\u4E2D", value: "up-center" }
48
50
  ];
51
+ const change = vue.ref(false);
49
52
  const positionChange = (value) => {
53
+ change.value = true;
50
54
  switch (value) {
51
55
  case "left-top":
52
- form.value = {
53
- left: "1px",
54
- top: "0px",
55
- right: "",
56
- bottom: ""
57
- };
56
+ form.value = { left: "1px", top: "1px", right: "", bottom: "" };
58
57
  break;
59
58
  case "left-down":
60
- form.value = {
61
- left: "0px",
62
- top: "",
63
- right: "",
64
- bottom: "0px"
65
- };
59
+ form.value = { left: "1px", bottom: "1px", right: "", up: "" };
66
60
  break;
67
61
  case "right-top":
68
- form.value = {
69
- left: "",
70
- top: "0px",
71
- right: "0px",
72
- bottom: ""
73
- };
62
+ form.value = { top: "1px", right: "1px", left: "", bottom: "" };
74
63
  break;
75
64
  case "right-down":
76
- form.value = {
77
- left: "",
78
- top: "",
79
- right: "0px",
80
- bottom: "0px"
81
- };
65
+ form.value = { right: "1px", bottom: "1px", left: "", up: "" };
66
+ break;
67
+ case "down-center":
68
+ form.value = { left: "1px", right: "1px", bottom: "1px", up: "" };
69
+ break;
70
+ case "up-center":
71
+ form.value = { left: "1px", top: "1px", right: "1px", bottom: "" };
82
72
  break;
83
73
  }
84
- emitValue();
85
74
  };
86
75
  const emitValue = () => {
87
76
  const data = Object.keys(form.value).reduce((prev, cur) => {
88
- if (form.value[cur] && cur !== "position") {
89
- prev[cur] = form.value[cur];
77
+ if (change.value && form.value[cur] != "0px" || !change.value && cur !== "position") {
78
+ if (form.value[cur]) {
79
+ prev[cur] = form.value[cur];
80
+ }
90
81
  }
91
82
  return prev;
92
83
  }, {});
@@ -163,15 +154,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
163
154
  ]),
164
155
  _: 1
165
156
  /* STABLE */
166
- }),
167
- vue.createCommentVNode(' <el-select v-model="form.position" placeholder="Select">'),
168
- vue.createCommentVNode(" <el-option"),
169
- vue.createCommentVNode(' v-for="item in positions"'),
170
- vue.createCommentVNode(' :key="item.value"'),
171
- vue.createCommentVNode(' :label="item.label"'),
172
- vue.createCommentVNode(' :value="item.value"'),
173
- vue.createCommentVNode(" />"),
174
- vue.createCommentVNode(" </el-select>")
157
+ })
175
158
  ]),
176
159
  _: 1
177
160
  /* STABLE */
@@ -213,7 +196,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
213
196
  default: vue.withCtx(() => [
214
197
  vue.createVNode(_component_dk_style_number_input, {
215
198
  modelValue: form.value[item.value],
216
- "onUpdate:modelValue": ($event) => form.value[item.value] = $event
199
+ "onUpdate:modelValue": ($event) => form.value[item.value] = $event,
200
+ onInput: _cache[0] || (_cache[0] = ($event) => change.value = false)
217
201
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
218
202
  ]),
219
203
  _: 2