@vipl520/dk-ui 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. package/dist/attributes.json +16 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +1186 -630
  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 +1176 -624
  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/page-diy.vue.d.ts +70 -4
  68. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
  69. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
  70. package/es/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
  71. package/es/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
  72. package/es/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
  73. package/es/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
  74. package/es/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
  75. package/es/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
  76. package/es/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
  77. package/es/page-diy/style/drag-tool.css +1 -1
  78. package/es/page-diy/style/drag-tool.scss +1 -1
  79. package/es/page-diy/style/index.css +1 -1
  80. package/es/poster-input/index.d.ts +6 -6
  81. package/es/poster-input/src/component/poster.vue.d.ts +3 -3
  82. package/es/poster-input/src/poster-input.vue.d.ts +3 -3
  83. package/es/select/src/select.vue.d.ts +3 -3
  84. package/es/style-animation-input/index.d.ts +25 -0
  85. package/es/style-animation-input/index.mjs +8 -0
  86. package/es/style-animation-input/index.mjs.map +1 -0
  87. package/es/style-animation-input/src/props.d.ts +15 -0
  88. package/es/style-animation-input/src/props.mjs +16 -0
  89. package/es/style-animation-input/src/props.mjs.map +1 -0
  90. package/es/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
  91. package/es/style-animation-input/src/style-animation-input.vue.mjs +7 -0
  92. package/es/style-animation-input/src/style-animation-input.vue.mjs.map +1 -0
  93. package/es/style-animation-input/src/style-animation-input.vue2.mjs +116 -0
  94. package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -0
  95. package/es/style-animation-input/style/index.css +1 -0
  96. package/es/style-animation-input/style/index.scss +14 -0
  97. package/es/style-box-input/index.d.ts +1 -1
  98. package/es/style-box-input/src/style-box-input.vue.d.ts +1 -1
  99. package/es/style-input/index.d.ts +1 -1
  100. package/es/style-input/src/style-input.vue.d.ts +1 -1
  101. package/es/style-number-input/index.d.ts +1 -1
  102. package/es/style-number-input/src/style-number-input.vue.d.ts +1 -1
  103. package/es/style-shadow-input/index.d.ts +2 -2
  104. package/es/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
  105. package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
  106. package/es/table/index.d.ts +2 -2
  107. package/es/tiny-editor/index.d.ts +4 -4
  108. package/es/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
  109. package/es/video-input/index.d.ts +4 -4
  110. package/es/video-input/src/video-input.vue.d.ts +4 -4
  111. package/es/video-list-input/index.d.ts +3 -3
  112. package/es/video-list-input/src/video-list-input.vue.d.ts +3 -3
  113. package/lib/animate-select/index.d.ts +19 -0
  114. package/lib/animate-select/index.js +14 -0
  115. package/lib/animate-select/index.js.map +1 -0
  116. package/lib/animate-select/src/animate-select.vue.d.ts +18 -0
  117. package/lib/animate-select/src/animate-select.vue.js +11 -0
  118. package/lib/animate-select/src/animate-select.vue.js.map +1 -0
  119. package/lib/animate-select/src/animate-select.vue2.js +172 -0
  120. package/lib/animate-select/src/animate-select.vue2.js.map +1 -0
  121. package/lib/animate-select/src/animates.d.ts +9 -0
  122. package/lib/animate-select/src/animates.js +102 -0
  123. package/lib/animate-select/src/animates.js.map +1 -0
  124. package/lib/animate-select/src/props.d.ts +11 -0
  125. package/lib/animate-select/src/props.js +13 -0
  126. package/lib/animate-select/src/props.js.map +1 -0
  127. package/lib/animate-select/style/index.css +1 -0
  128. package/lib/animate-select/style/index.scss +41 -0
  129. package/lib/audio-input/index.d.ts +4 -4
  130. package/lib/audio-input/src/audio-input.vue.d.ts +4 -4
  131. package/lib/audio-list-input/index.d.ts +3 -3
  132. package/lib/audio-list-input/src/audio-list-input.vue.d.ts +3 -3
  133. package/lib/box-size-input/index.d.ts +1 -1
  134. package/lib/box-size-input/src/box-size-input.vue.d.ts +1 -1
  135. package/lib/color-input/index.d.ts +3 -3
  136. package/lib/color-input/src/color-input.vue.d.ts +3 -3
  137. package/lib/dialog/index.d.ts +11 -11
  138. package/lib/dialog/src/dialog.vue.d.ts +3 -3
  139. package/lib/file-input/index.d.ts +4 -4
  140. package/lib/file-input/src/file-input.vue.d.ts +4 -4
  141. package/lib/file-list-input/index.d.ts +4 -4
  142. package/lib/file-list-input/src/file-list-input.vue.d.ts +4 -4
  143. package/lib/form/index.d.ts +10 -10
  144. package/lib/form/src/form.vue.d.ts +2 -2
  145. package/lib/group/index.d.ts +6 -6
  146. package/lib/group/src/group.vue.d.ts +6 -6
  147. package/lib/icon/index.d.ts +3 -3
  148. package/lib/icon-input/index.d.ts +5 -5
  149. package/lib/icon-input/src/icon-content.vue.d.ts +1 -1
  150. package/lib/icon-input/src/icon-dialog.vue.d.ts +1 -1
  151. package/lib/icon-input/src/icon-input.vue.d.ts +3 -3
  152. package/lib/image-input/index.d.ts +4 -4
  153. package/lib/image-input/src/image-input.vue.d.ts +4 -4
  154. package/lib/image-list-input/index.d.ts +3 -3
  155. package/lib/image-list-input/src/image-list-input.vue.d.ts +3 -3
  156. package/lib/index.d.ts +2 -0
  157. package/lib/index.js +14 -2
  158. package/lib/index.js.map +1 -1
  159. package/lib/index.scss +14 -0
  160. package/lib/page-diy/index.d.ts +70 -4
  161. package/lib/page-diy/src/components/DragTool.vue.d.ts +2 -1
  162. package/lib/page-diy/src/components/DragTool.vue.js +12 -15
  163. package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
  164. package/lib/page-diy/src/components/PreviewPhone.vue2.js +73 -1
  165. package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
  166. package/lib/page-diy/src/config/base/dkSetting.d.ts +68 -2
  167. package/lib/page-diy/src/config/base/dkSetting.js +83 -0
  168. package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
  169. package/lib/page-diy/src/page-diy.vue.d.ts +70 -4
  170. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +1 -1
  171. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +1 -1
  172. package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.d.ts +2 -2
  173. package/lib/page-diy/src/views/web/DkViewDialog.vue.d.ts +2 -2
  174. package/lib/page-diy/src/views/web/DkViewGridCellList.vue.d.ts +1 -1
  175. package/lib/page-diy/src/views/web/DkViewImage.vue.d.ts +2 -2
  176. package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.d.ts +2 -2
  177. package/lib/page-diy/src/views/web/DkViewSwipe.vue.d.ts +1 -1
  178. package/lib/page-diy/src/views/web/DkViewTitle.vue.d.ts +2 -2
  179. package/lib/page-diy/style/drag-tool.css +1 -1
  180. package/lib/page-diy/style/drag-tool.scss +1 -1
  181. package/lib/page-diy/style/index.css +1 -1
  182. package/lib/poster-input/index.d.ts +6 -6
  183. package/lib/poster-input/src/component/poster.vue.d.ts +3 -3
  184. package/lib/poster-input/src/poster-input.vue.d.ts +3 -3
  185. package/lib/select/src/select.vue.d.ts +3 -3
  186. package/lib/style-animation-input/index.d.ts +25 -0
  187. package/lib/style-animation-input/index.js +14 -0
  188. package/lib/style-animation-input/index.js.map +1 -0
  189. package/lib/style-animation-input/src/props.d.ts +15 -0
  190. package/lib/style-animation-input/src/props.js +18 -0
  191. package/lib/style-animation-input/src/props.js.map +1 -0
  192. package/lib/style-animation-input/src/style-animation-input.vue.d.ts +24 -0
  193. package/lib/style-animation-input/src/style-animation-input.vue.js +11 -0
  194. package/lib/style-animation-input/src/style-animation-input.vue.js.map +1 -0
  195. package/lib/style-animation-input/src/style-animation-input.vue2.js +120 -0
  196. package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -0
  197. package/lib/style-animation-input/style/index.css +1 -0
  198. package/lib/style-animation-input/style/index.scss +14 -0
  199. package/lib/style-box-input/index.d.ts +1 -1
  200. package/lib/style-box-input/src/style-box-input.vue.d.ts +1 -1
  201. package/lib/style-input/index.d.ts +1 -1
  202. package/lib/style-input/src/style-input.vue.d.ts +1 -1
  203. package/lib/style-number-input/index.d.ts +1 -1
  204. package/lib/style-number-input/src/style-number-input.vue.d.ts +1 -1
  205. package/lib/style-shadow-input/index.d.ts +2 -2
  206. package/lib/style-shadow-input/src/style-shadow-content.vue.d.ts +1 -1
  207. package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +1 -1
  208. package/lib/table/index.d.ts +2 -2
  209. package/lib/tiny-editor/index.d.ts +4 -4
  210. package/lib/tiny-editor/src/tiny-editor.vue.d.ts +4 -4
  211. package/lib/video-input/index.d.ts +4 -4
  212. package/lib/video-input/src/video-input.vue.d.ts +4 -4
  213. package/lib/video-list-input/index.d.ts +3 -3
  214. package/lib/video-list-input/src/video-list-input.vue.d.ts +3 -3
  215. package/package.json +4 -4
package/dist/tags.json CHANGED
@@ -1,4 +1,11 @@
1
1
  {
2
+ "dk-animate-select": {
3
+ "attributes": [
4
+ "type",
5
+ "click"
6
+ ],
7
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#animateselect)"
8
+ },
2
9
  "dk-attachment": {
3
10
  "attributes": [
4
11
  "type",
@@ -179,6 +186,13 @@
179
186
  ],
180
187
  "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#select)"
181
188
  },
189
+ "dk-style-animation-input": {
190
+ "attributes": [
191
+ "type",
192
+ "click"
193
+ ],
194
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。\n\n[Docs](https://github.com/vipl520/dk-starter/components/project/#styleanimationinput)"
195
+ },
182
196
  "dk-style-background-input": {
183
197
  "attributes": [
184
198
  "type",
@@ -2,12 +2,46 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "dk",
5
- "version": "1.0.18",
5
+ "version": "1.0.19",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
9
9
  "html": {
10
10
  "vue-components": [
11
+ {
12
+ "name": "dk-animate-select",
13
+ "source": {
14
+ "symbol": "DkUIAnimateSelect"
15
+ },
16
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
17
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect",
18
+ "props": [
19
+ {
20
+ "name": "type",
21
+ "description": "参数类型",
22
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-props",
23
+ "type": [
24
+ "string"
25
+ ]
26
+ }
27
+ ],
28
+ "slots": [
29
+ {
30
+ "name": "default",
31
+ "description": "自定义默认内容",
32
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-slots"
33
+ }
34
+ ],
35
+ "js": {
36
+ "events": [
37
+ {
38
+ "name": "click",
39
+ "description": "点击触发的事件",
40
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#animateselect-events"
41
+ }
42
+ ]
43
+ }
44
+ },
11
45
  {
12
46
  "name": "dk-attachment",
13
47
  "source": {
@@ -1132,6 +1166,40 @@
1132
1166
  ]
1133
1167
  }
1134
1168
  },
1169
+ {
1170
+ "name": "dk-style-animation-input",
1171
+ "source": {
1172
+ "symbol": "DkUIStyleAnimationInput"
1173
+ },
1174
+ "description": "组件描述组件描述组件描述组件描述组件描述组件描述。",
1175
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleanimationinput",
1176
+ "props": [
1177
+ {
1178
+ "name": "type",
1179
+ "description": "参数类型",
1180
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleanimationinput-props",
1181
+ "type": [
1182
+ "string"
1183
+ ]
1184
+ }
1185
+ ],
1186
+ "slots": [
1187
+ {
1188
+ "name": "default",
1189
+ "description": "自定义默认内容",
1190
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleanimationinput-slots"
1191
+ }
1192
+ ],
1193
+ "js": {
1194
+ "events": [
1195
+ {
1196
+ "name": "click",
1197
+ "description": "点击触发的事件",
1198
+ "doc-url": "https://github.com/vipl520/dk-starter/components/project/#styleanimationinput-events"
1199
+ }
1200
+ ]
1201
+ }
1202
+ },
1135
1203
  {
1136
1204
  "name": "dk-style-background-input",
1137
1205
  "source": {
@@ -0,0 +1,19 @@
1
+ export declare const AnimateSelect: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ }, {}, 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<{
7
+ modelValue: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ }>> & {
12
+ onInput?: ((...args: any[]) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ onChange?: ((...args: any[]) => any) | undefined;
15
+ }, {
16
+ modelValue: string;
17
+ }, {}>>;
18
+ export default AnimateSelect;
19
+ export * from './src/props';
@@ -0,0 +1,8 @@
1
+ import { withInstall } from '@vipl520/utils';
2
+ import _AnimateSelect from './src/animate-select.vue.mjs';
3
+ export { animateSelectProps } from './src/props.mjs';
4
+
5
+ const AnimateSelect = withInstall(_AnimateSelect);
6
+
7
+ export { AnimateSelect, AnimateSelect as default };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../src/animate-select/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _AnimateSelect from './src/animate-select.vue'\n\nexport const AnimateSelect = withInstall(_AnimateSelect)\nexport default AnimateSelect\n\nexport * from './src/props'\n"],"names":[],"mappings":";;;;AAGa,MAAA,aAAA,GAAgB,YAAY,cAAc;;;;"}
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ }, {}, 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<{
7
+ modelValue: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ }>> & {
12
+ onInput?: ((...args: any[]) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ onChange?: ((...args: any[]) => any) | undefined;
15
+ }, {
16
+ modelValue: string;
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './animate-select.vue2.mjs';
2
+ import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
3
+
4
+ var _AnimateSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\animate-select\\src\\animate-select.vue"]]);
5
+
6
+ export { _AnimateSelect as default };
7
+ //# sourceMappingURL=animate-select.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animate-select.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,168 @@
1
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, normalizeClass, Fragment, renderList, unref, createBlock } from 'vue';
2
+ import { animateSelectProps } from './props.mjs';
3
+ import Animates from './animates.mjs';
4
+
5
+ const _hoisted_1 = { class: "dk-animate-select" };
6
+ const _hoisted_2 = { class: "dk-animate-content" };
7
+ const _hoisted_3 = { class: "animate-preview" };
8
+ const _hoisted_4 = { class: "animate-list" };
9
+ const _hoisted_5 = { class: "cl" };
10
+ const _hoisted_6 = ["onClick"];
11
+ const _hoisted_7 = { class: "text-center p10px" };
12
+ const __default__ = defineComponent({
13
+ name: "DkAnimateSelect"
14
+ });
15
+ var _sfc_main = /* @__PURE__ */ defineComponent({
16
+ ...__default__,
17
+ props: animateSelectProps,
18
+ emits: ["input", "update:modelValue", "change"],
19
+ setup(__props, { emit }) {
20
+ const props = __props;
21
+ const tabType = ref("loop");
22
+ const show = ref(false);
23
+ const value = ref(props.modelValue);
24
+ const chooseAnimate = (val) => {
25
+ value.value = val;
26
+ };
27
+ watch(
28
+ () => props.modelValue,
29
+ (val) => {
30
+ value.value = val;
31
+ }
32
+ );
33
+ watch(
34
+ () => value.value,
35
+ (val) => {
36
+ emit("change", val);
37
+ emit("update:modelValue", val);
38
+ emit("input", val);
39
+ }
40
+ );
41
+ return (_ctx, _cache) => {
42
+ const _component_el_button = resolveComponent("el-button");
43
+ const _component_el_button_group = resolveComponent("el-button-group");
44
+ const _component_el_card = resolveComponent("el-card");
45
+ const _component_el_tab_pane = resolveComponent("el-tab-pane");
46
+ const _component_el_tabs = resolveComponent("el-tabs");
47
+ const _component_dk_dialog = resolveComponent("dk-dialog");
48
+ return openBlock(), createElementBlock("div", _hoisted_1, [
49
+ createVNode(_component_el_button_group, null, {
50
+ default: withCtx(() => [
51
+ createVNode(_component_el_button, {
52
+ type: !value.value ? "primary" : "danger",
53
+ plain: "",
54
+ onClick: _cache[0] || (_cache[0] = ($event) => show.value = true)
55
+ }, {
56
+ default: withCtx(() => [
57
+ createTextVNode(
58
+ toDisplayString(!value.value ? "\u8BF7\u9009\u62E9\u52A8\u753B" : "\u5DF2\u9009\u62E9\u52A8\u753B"),
59
+ 1
60
+ /* TEXT */
61
+ )
62
+ ]),
63
+ _: 1
64
+ /* STABLE */
65
+ }, 8, ["type"]),
66
+ createVNode(_component_el_button, {
67
+ icon: "Delete",
68
+ disabled: !value.value,
69
+ type: !value.value ? "primary" : "danger",
70
+ plain: "",
71
+ onClick: _cache[1] || (_cache[1] = ($event) => value.value = "")
72
+ }, null, 8, ["disabled", "type"])
73
+ ]),
74
+ _: 1
75
+ /* STABLE */
76
+ }),
77
+ createVNode(_component_dk_dialog, {
78
+ modelValue: show.value,
79
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => show.value = $event),
80
+ title: "\u9009\u62E9\u52A8\u753B",
81
+ width: "800px"
82
+ }, {
83
+ default: withCtx(() => [
84
+ createElementVNode("div", _hoisted_2, [
85
+ createCommentVNode("\u9884\u89C8\u533A"),
86
+ createElementVNode("div", _hoisted_3, [
87
+ createVNode(_component_el_card, {
88
+ class: normalizeClass(["animate__" + value.value]),
89
+ style: { animationDelay: "0s", animationDuration: "1s", animationIterationCount: "1" }
90
+ }, {
91
+ default: withCtx(() => [
92
+ createTextVNode(" \u9884\u89C8\u533A ")
93
+ ]),
94
+ _: 1
95
+ /* STABLE */
96
+ }, 8, ["class"])
97
+ ]),
98
+ createCommentVNode("\u9009\u62E9\u533A"),
99
+ createElementVNode("div", _hoisted_4, [
100
+ createVNode(_component_el_tabs, {
101
+ modelValue: tabType.value,
102
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => tabType.value = $event),
103
+ class: "demo-tabs"
104
+ }, {
105
+ default: withCtx(() => [
106
+ (openBlock(true), createElementBlock(
107
+ Fragment,
108
+ null,
109
+ renderList(unref(Animates), (item, key) => {
110
+ return openBlock(), createBlock(_component_el_tab_pane, {
111
+ key,
112
+ label: item.label,
113
+ name: item.name
114
+ }, {
115
+ default: withCtx(() => [
116
+ createElementVNode("ul", _hoisted_5, [
117
+ (openBlock(true), createElementBlock(
118
+ Fragment,
119
+ null,
120
+ renderList(item.animate, (a, k) => {
121
+ return openBlock(), createElementBlock("li", {
122
+ key: k,
123
+ class: normalizeClass(value.value == a.value ? "choose" : ""),
124
+ onClick: ($event) => chooseAnimate(a.value)
125
+ }, toDisplayString(a.label), 11, _hoisted_6);
126
+ }),
127
+ 128
128
+ /* KEYED_FRAGMENT */
129
+ ))
130
+ ])
131
+ ]),
132
+ _: 2
133
+ /* DYNAMIC */
134
+ }, 1032, ["label", "name"]);
135
+ }),
136
+ 128
137
+ /* KEYED_FRAGMENT */
138
+ ))
139
+ ]),
140
+ _: 1
141
+ /* STABLE */
142
+ }, 8, ["modelValue"])
143
+ ])
144
+ ]),
145
+ createElementVNode("div", _hoisted_7, [
146
+ createVNode(_component_el_button, {
147
+ type: "primary",
148
+ style: { "width": "220px" },
149
+ onClick: _cache[3] || (_cache[3] = ($event) => show.value = false)
150
+ }, {
151
+ default: withCtx(() => [
152
+ createTextVNode("\u786E\u5B9A")
153
+ ]),
154
+ _: 1
155
+ /* STABLE */
156
+ })
157
+ ])
158
+ ]),
159
+ _: 1
160
+ /* STABLE */
161
+ }, 8, ["modelValue"])
162
+ ]);
163
+ };
164
+ }
165
+ });
166
+
167
+ export { _sfc_main as default };
168
+ //# sourceMappingURL=animate-select.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animate-select.vue2.mjs","sources":["../../../src/animate-select/src/animate-select.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkAnimateSelect',\n});\n</script>\n<template>\n <div class=\"dk-animate-select\">\n <el-button-group>\n <el-button :type=\"!value ? 'primary' : 'danger'\" plain @click=\"show = true\">{{\n !value ? '请选择动画' : '已选择动画'\n }}</el-button>\n <el-button\n icon=\"Delete\"\n :disabled=\"!value\"\n :type=\"!value ? 'primary' : 'danger'\"\n plain\n @click=\"value = ''\"\n ></el-button>\n </el-button-group>\n\n <dk-dialog v-model=\"show\" title=\"选择动画\" width=\"800px\">\n <div class=\"dk-animate-content\">\n <!--预览区-->\n <div class=\"animate-preview\">\n <el-card\n :class=\"['animate__' + value]\"\n :style=\"{ animationDelay: '0s', animationDuration: '1s', animationIterationCount: '1' }\"\n >\n 预览区\n </el-card>\n </div>\n <!--选择区-->\n <div class=\"animate-list\">\n <el-tabs v-model=\"tabType\" class=\"demo-tabs\">\n <el-tab-pane v-for=\"(item, key) in Animates\" :key=\"key\" :label=\"item.label\" :name=\"item.name\">\n <ul class=\"cl\">\n <li\n v-for=\"(a, k) in item.animate\"\n :key=\"k\"\n :class=\"value == a.value ? 'choose' : ''\"\n @click=\"chooseAnimate(a.value)\"\n >\n {{ a.label }}\n </li>\n </ul>\n </el-tab-pane>\n </el-tabs>\n </div>\n </div>\n <div class=\"text-center p10px\">\n <el-button type=\"primary\" style=\"width: 220px\" @click=\"show = false\">确定</el-button>\n </div>\n </dk-dialog>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { animateSelectProps } from './props'\nimport Animates from './animates'\nimport { ref, watch } from 'vue'\n\n\nconst props = defineProps(animateSelectProps)\nconst tabType = ref('loop')\nconst show = ref(false)\nconst value = ref(props.modelValue)\nconst chooseAnimate = (val: any) => {\n value.value = val\n}\n\nconst emit = defineEmits(['input', 'update:modelValue', 'change'])\nwatch(\n () => props.modelValue,\n (val) => {\n value.value = val\n }\n)\nwatch(\n () => value.value,\n (val) => {\n emit('change', val)\n emit('update:modelValue', val)\n emit('input', val)\n }\n)\n</script>\n"],"names":["__MACROS_defineComponent"],"mappings":";;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,iBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;AA4DD,IAAM,MAAA,OAAA,GAAU,IAAI,MAAM,CAAA,CAAA;AAC1B,IAAM,MAAA,IAAA,GAAO,IAAI,KAAK,CAAA,CAAA;AACtB,IAAM,MAAA,KAAA,GAAQ,GAAI,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AAClC,IAAM,MAAA,aAAA,GAAgB,CAAC,GAAa,KAAA;AAClC,MAAA,KAAA,CAAM,KAAQ,GAAA,GAAA,CAAA;AAAA,KAChB,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,CAAC,GAAQ,KAAA;AACP,QAAA,KAAA,CAAM,KAAQ,GAAA,GAAA,CAAA;AAAA,OAChB;AAAA,KACF,CAAA;AACA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,KAAA;AAAA,MACZ,CAAC,GAAQ,KAAA;AACP,QAAA,IAAA,CAAK,UAAU,GAAG,CAAA,CAAA;AAClB,QAAA,IAAA,CAAK,qBAAqB,GAAG,CAAA,CAAA;AAC7B,QAAA,IAAA,CAAK,SAAS,GAAG,CAAA,CAAA;AAAA,OACnB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ export default Animates;
2
+ declare const Animates: {
3
+ label: string;
4
+ name: string;
5
+ animate: {
6
+ value: string;
7
+ label: string;
8
+ }[];
9
+ }[];
@@ -0,0 +1,98 @@
1
+ const Animates = [
2
+ {
3
+ label: "\u5FAA\u73AF\u6548\u679C",
4
+ name: "loop",
5
+ animate: [
6
+ { value: "bounce", label: "\u5F39\u8DF3" },
7
+ { value: "flash", label: "\u95EA\u52A8" },
8
+ { value: "pulse", label: "\u8109\u51B2" },
9
+ { value: "rubberBand", label: "\u6A61\u76AE\u7B4B" },
10
+ { value: "shakeX", label: "X\u8F74\u6447\u6643" },
11
+ { value: "shakeY", label: "Y\u8F74\u6447\u6643" },
12
+ { value: "headShake", label: "\u6447\u5934" },
13
+ { value: "swing", label: "\u6446\u52A8" },
14
+ { value: "tada", label: "\u7F29\u653E\u6446\u52A8" },
15
+ { value: "wobble", label: "\u5927\u5E45\u6447\u6643" },
16
+ { value: "jello", label: "\u679C\u51BB\u6548\u679C" },
17
+ { value: "heartBeat", label: "\u5FC3\u8DF3" }
18
+ ]
19
+ },
20
+ // Bouncing entrances
21
+ {
22
+ label: "\u5F39\u8DF3\u5165\u573A",
23
+ name: "bouncing",
24
+ animate: [
25
+ { value: "bounceIn", label: "\u5F39\u5165" },
26
+ { value: "bounceInDown", label: "\u4E0B\u8FB9\u5F39\u5165" },
27
+ { value: "bounceInLeft", label: "\u5DE6\u8FB9\u5F39\u5165" },
28
+ { value: "bounceInRight", label: "\u53F3\u8FB9\u5F39\u5165" },
29
+ { value: "bounceInUp", label: "\u4E0A\u8FB9\u5F39\u5165" }
30
+ ]
31
+ },
32
+ // Fading entrances
33
+ {
34
+ label: "\u6DE1\u5165\u5165\u573A",
35
+ name: "Fading",
36
+ animate: [
37
+ { value: "fadeIn", label: "\u6DE1\u5165" },
38
+ { value: "fadeInDown", label: "\u4E0B\u8FB9\u6DE1\u5165" },
39
+ { value: "fadeInDownBig", label: "\u6700\u4E0B\u8FB9\u6DE1\u5165" },
40
+ { value: "fadeInLeft", label: "\u5DE6\u8FB9\u6DE1\u5165" },
41
+ { value: "fadeInLeftBig", label: "\u6700\u5DE6\u8FB9\u6DE1\u5165" },
42
+ { value: "fadeInRight", label: "\u53F3\u8FB9\u6DE1\u5165" },
43
+ { value: "fadeInRightBig", label: "\u6700\u53F3\u8FB9\u6DE1\u5165" },
44
+ { value: "fadeInUp", label: "\u4E0A\u8FB9\u6DE1\u5165" },
45
+ { value: "fadeInUpBig", label: "\u6700\u4E0A\u8FB9\u6DE1\u5165" },
46
+ { value: "fadeInTopLeft", label: "\u5DE6\u4E0A\u6DE1\u5165" },
47
+ { value: "fadeInTopRight", label: "\u53F3\u4E0A\u6DE1\u5165" },
48
+ { value: "fadeInBottomLeft", label: "\u5DE6\u4E0B\u6DE1\u5165" },
49
+ { value: "fadeInBottomRight", label: "\u53F3\u4E0B\u6DE1\u5165" }
50
+ ]
51
+ },
52
+ // Flippers
53
+ {
54
+ label: "\u7FFB\u8F6C&\u65CB\u8F6C\u5165\u573A",
55
+ name: "Flippers",
56
+ animate: [
57
+ // Flippers
58
+ // { value: 'flip', label: '快速翻转' },
59
+ { value: "flipInX", label: "X\u8F74\u7FFB\u8F6C" },
60
+ { value: "flipInY", label: "Y\u8F74\u7FFB\u8F6C" },
61
+ // Rotating entrances
62
+ { value: "rotateIn", label: "\u65CB\u8F6C\u8FDB\u5165" },
63
+ { value: "rotateInDownLeft", label: "\u5DE6\u4E0B\u65CB\u5165" },
64
+ { value: "rotateInDownRight", label: "\u53F3\u4E0B\u65CB\u5165" },
65
+ { value: "rotateInUpLeft", label: "\u5DE6\u4E0A\u65CB\u5165" },
66
+ { value: "rotateInUpRight", label: "\u53F3\u4E0A\u65CB\u5165" },
67
+ { value: "jackInTheBox", label: "\u7F29\u653E\u65CB\u8F6C\u5165\u573A" },
68
+ { value: "rollIn", label: "\u5DE6\u4FA7\u65CB\u8F6C\u5165\u573A" }
69
+ ]
70
+ },
71
+ {
72
+ label: "\u7F29\u653E&\u6ED1\u52A8\u5165\u573A",
73
+ name: "Lightspeed",
74
+ animate: [
75
+ // Lightspeed
76
+ { value: "lightSpeedInRight", label: "\u679C\u51BB\u53F3\u5165" },
77
+ { value: "lightSpeedInLeft", label: "\u679C\u51BB\u5DE6\u5165" },
78
+ // Sliding entrances
79
+ { value: "slideInDown", label: "\u4E0B\u6ED1\u5165" },
80
+ { value: "slideInLeft", label: "\u5DE6\u6ED1\u5165" },
81
+ { value: "slideInRight", label: "\u53F3\u6ED1\u5165" },
82
+ { value: "slideInUp", label: "\u4E0A\u6ED1\u5165" },
83
+ { value: "backInDown", label: "\u5FEB\u901F\u4E0B\u6ED1\u5165" },
84
+ { value: "backInLeft", label: "\u5FEB\u901F\u5DE6\u6ED1\u5165" },
85
+ { value: "backInRight", label: "\u5FEB\u901F\u53F3\u6ED1\u5165" },
86
+ { value: "backInUp", label: "\u5FEB\u901F\u4E0A\u6ED1\u5165" },
87
+ // Zooming entrances
88
+ { value: "zoomIn", label: "\u7F29\u653E\u8FDB\u5165" },
89
+ { value: "zoomInDown", label: "\u4E0B\u7F29\u653E" },
90
+ { value: "zoomInLeft", label: "\u5DE6\u7F29\u653E" },
91
+ { value: "zoomInRight", label: "\u53F3\u7F29\u653E" },
92
+ { value: "zoomInTop", label: "\u4E0A\u7F29\u653E" }
93
+ ]
94
+ }
95
+ ];
96
+
97
+ export { Animates as default };
98
+ //# sourceMappingURL=animates.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animates.mjs","sources":["../../../src/animate-select/src/animates.js"],"sourcesContent":["const Animates = [\n {\n label: '循环效果',\n name: 'loop',\n animate: [\n { value: 'bounce', label: '弹跳' },\n { value: 'flash', label: '闪动' },\n { value: 'pulse', label: '脉冲' },\n { value: 'rubberBand', label: '橡皮筋' },\n { value: 'shakeX', label: 'X轴摇晃' },\n { value: 'shakeY', label: 'Y轴摇晃' },\n { value: 'headShake', label: '摇头' },\n { value: 'swing', label: '摆动' },\n { value: 'tada', label: '缩放摆动' },\n { value: 'wobble', label: '大幅摇晃' },\n { value: 'jello', label: '果冻效果' },\n { value: 'heartBeat', label: '心跳' },\n ],\n },\n // Bouncing entrances\n {\n label: '弹跳入场',\n name: 'bouncing',\n animate: [\n { value: 'bounceIn', label: '弹入' },\n { value: 'bounceInDown', label: '下边弹入' },\n { value: 'bounceInLeft', label: '左边弹入' },\n { value: 'bounceInRight', label: '右边弹入' },\n { value: 'bounceInUp', label: '上边弹入' },\n ],\n },\n // Fading entrances\n {\n label: '淡入入场',\n name: 'Fading',\n animate: [\n { value: 'fadeIn', label: '淡入' },\n { value: 'fadeInDown', label: '下边淡入' },\n { value: 'fadeInDownBig', label: '最下边淡入' },\n { value: 'fadeInLeft', label: '左边淡入' },\n { value: 'fadeInLeftBig', label: '最左边淡入' },\n { value: 'fadeInRight', label: '右边淡入' },\n { value: 'fadeInRightBig', label: '最右边淡入' },\n { value: 'fadeInUp', label: '上边淡入' },\n { value: 'fadeInUpBig', label: '最上边淡入' },\n { value: 'fadeInTopLeft', label: '左上淡入' },\n { value: 'fadeInTopRight', label: '右上淡入' },\n { value: 'fadeInBottomLeft', label: '左下淡入' },\n { value: 'fadeInBottomRight', label: '右下淡入' },\n ],\n },\n // Flippers\n {\n label: '翻转&旋转入场',\n name: 'Flippers',\n animate: [\n // Flippers\n // { value: 'flip', label: '快速翻转' },\n { value: 'flipInX', label: 'X轴翻转' },\n { value: 'flipInY', label: 'Y轴翻转' },\n // Rotating entrances\n { value: 'rotateIn', label: '旋转进入' },\n { value: 'rotateInDownLeft', label: '左下旋入' },\n { value: 'rotateInDownRight', label: '右下旋入' },\n { value: 'rotateInUpLeft', label: '左上旋入' },\n { value: 'rotateInUpRight', label: '右上旋入' },\n\n { value: 'jackInTheBox', label: '缩放旋转入场' },\n { value: 'rollIn', label: '左侧旋转入场' },\n ],\n },\n {\n label: '缩放&滑动入场',\n name: 'Lightspeed',\n animate: [\n // Lightspeed\n { value: 'lightSpeedInRight', label: '果冻右入' },\n { value: 'lightSpeedInLeft', label: '果冻左入' },\n // Sliding entrances\n { value: 'slideInDown', label: '下滑入' },\n { value: 'slideInLeft', label: '左滑入' },\n { value: 'slideInRight', label: '右滑入' },\n { value: 'slideInUp', label: '上滑入' },\n { value: 'backInDown', label: '快速下滑入' },\n { value: 'backInLeft', label: '快速左滑入' },\n { value: 'backInRight', label: '快速右滑入' },\n { value: 'backInUp', label: '快速上滑入' },\n\n // Zooming entrances\n { value: 'zoomIn', label: '缩放进入' },\n { value: 'zoomInDown', label: '下缩放' },\n { value: 'zoomInLeft', label: '左缩放' },\n { value: 'zoomInRight', label: '右缩放' },\n { value: 'zoomInTop', label: '上缩放' },\n ],\n },\n]\nexport default Animates\n"],"names":[],"mappings":"AAAA,MAAM,QAAW,GAAA;AAAA,EACf;AAAA,IACE,KAAO,EAAA,0BAAA;AAAA,IACP,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA;AAAA,MACP,EAAE,KAAA,EAAO,QAAU,EAAA,KAAA,EAAO,cAAK,EAAA;AAAA,MAC/B,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,EAAO,cAAK,EAAA;AAAA,MAC9B,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,EAAO,cAAK,EAAA;AAAA,MAC9B,EAAE,KAAA,EAAO,YAAc,EAAA,KAAA,EAAO,oBAAM,EAAA;AAAA,MACpC,EAAE,KAAA,EAAO,QAAU,EAAA,KAAA,EAAO,qBAAO,EAAA;AAAA,MACjC,EAAE,KAAA,EAAO,QAAU,EAAA,KAAA,EAAO,qBAAO,EAAA;AAAA,MACjC,EAAE,KA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,EAAO,oBAAM,EAAA;AAAA,MACrC,EAAE,KAAA,EAAO,WAAa,EAAA,KAAA,EAAO,oBAAM,EAAA;AAAA,KACrC;AAAA,GACF;AACF;;;;"}
@@ -0,0 +1,11 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const animateSelectProps: {
3
+ /**
4
+ * 类型定义
5
+ */
6
+ modelValue: {
7
+ type: import("vue").PropType<string>;
8
+ default: string;
9
+ };
10
+ };
11
+ export type AnimateSelectProps = ExtractPropTypes<typeof animateSelectProps>;
@@ -0,0 +1,11 @@
1
+ import { makeStringProp } from 'vant/es/utils';
2
+
3
+ const animateSelectProps = {
4
+ /**
5
+ * 类型定义
6
+ */
7
+ modelValue: makeStringProp("")
8
+ };
9
+
10
+ export { animateSelectProps };
11
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","sources":["../../../src/animate-select/src/props.ts"],"sourcesContent":["import { makeStringProp } from 'vant/es/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const animateSelectProps = {\n /**\n * 类型定义\n */\n modelValue: makeStringProp(''),\n}\n\nexport type AnimateSelectProps = ExtractPropTypes<typeof animateSelectProps>\n"],"names":[],"mappings":";;AAGO,MAAM,kBAAqB,GAAA;AAAA;AAAA;AAAA;AAAA,EAIhC,UAAA,EAAY,eAAe,EAAE,CAAA;AAC/B;;;;"}
@@ -0,0 +1 @@
1
+ .dk-animate-content{display:flex;justify-content:space-between;min-height:300px}.dk-animate-content .animate-preview{width:250px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.dk-animate-content .animate-list{width:600px}.dk-animate-content .animate-list ul li{float:left;width:calc(25% - 10px);padding:10px;cursor:pointer;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);margin:5px}.dk-animate-content .animate-list ul li:hover{box-shadow:var(--el-box-shadow-lighter)}.dk-animate-content .animate-list ul li.choose{border:1px solid var(--el-color-primary)}
@@ -0,0 +1,41 @@
1
+ /* stylelint-disable */
2
+ .dk-animate-select {
3
+ }
4
+
5
+ .dk-animate-content {
6
+ display: flex;
7
+ justify-content: space-between;
8
+ min-height: 300px;
9
+
10
+ .animate-preview {
11
+ width: 250px;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ overflow: hidden;
16
+ position: relative;
17
+ }
18
+
19
+ .animate-list {
20
+ width: 600px;
21
+ ul {
22
+ li {
23
+ float: left;
24
+ width: calc(25% - 10px);
25
+ padding: 10px;
26
+ cursor: pointer;
27
+ border: 1px solid var(--el-border-color);
28
+ border-radius: var(--el-border-radius-base);
29
+ margin: 5px;
30
+ &:hover {
31
+ box-shadow: var(--el-box-shadow-lighter);
32
+ }
33
+ &.choose {
34
+ border: 1px solid var(--el-color-primary);
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ /* stylelint-enable */
@@ -19,7 +19,7 @@ export declare const AudioInput: 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 AudioInput: 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 AudioListInput: 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 AudioListInput: 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
  }, {}>>;