@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
@@ -1,3 +1,5 @@
1
+ import Animates from '../../../../animate-select/src/animates.mjs';
2
+
1
3
  function createTitle(title) {
2
4
  return {
3
5
  type: "h2",
@@ -12,6 +14,15 @@ function createTitle(title) {
12
14
  ]
13
15
  };
14
16
  }
17
+ function inLoop(val) {
18
+ const animate = Animates[0].animate;
19
+ for (let i = 0; i < animate.length; i++) {
20
+ if (animate[i].value === val) {
21
+ return true;
22
+ }
23
+ }
24
+ return false;
25
+ }
15
26
  function dkSetting(rule = null) {
16
27
  const form = [
17
28
  {
@@ -37,6 +48,78 @@ function dkSetting(rule = null) {
37
48
  ]
38
49
  }
39
50
  ]
51
+ },
52
+ {
53
+ type: "el-collapse",
54
+ props: {
55
+ modelValue: "base"
56
+ },
57
+ style: "width:100%",
58
+ children: [
59
+ // 基础配置
60
+ {
61
+ type: "el-collapse-item",
62
+ props: { name: "base" },
63
+ children: [
64
+ createTitle("\u52A8\u753B\u914D\u7F6E"),
65
+ {
66
+ type: "DkAnimateSelect",
67
+ field: "animate",
68
+ value: "",
69
+ title: "\u9009\u62E9\u52A8\u753B",
70
+ control: [
71
+ {
72
+ handle: function(val) {
73
+ if (!val)
74
+ return false;
75
+ return inLoop(val);
76
+ },
77
+ rule: [
78
+ {
79
+ type: "dk-style-animation-input",
80
+ field: "animation",
81
+ title: "",
82
+ value: {
83
+ animationDelay: "0s",
84
+ animationDuration: "1s",
85
+ animationIterationCount: "infinite"
86
+ }
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ handle: function(val) {
92
+ if (!val)
93
+ return false;
94
+ return !inLoop(val);
95
+ },
96
+ rule: [
97
+ {
98
+ type: "dk-style-animation-input",
99
+ field: "animation",
100
+ title: "",
101
+ value: {
102
+ animationDelay: "0s",
103
+ animationDuration: "1s",
104
+ animationIterationCount: 1
105
+ }
106
+ }
107
+ ]
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ type: "switch",
113
+ field: "animation_preview",
114
+ title: "\u5B9E\u65F6\u9884\u89C8",
115
+ value: true,
116
+ effect: {
117
+ help: "\u8BBE\u7F6E\u5F53\u524D\u7EC4\u4EF6\u5FAA\u73AF\u52A8\u753B\u5B9E\u65F6\u9884\u89C8\uFF0C\u5F53\u524D\u4EC5\u4E3A\u8C03\u8BD5\u9879"
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
40
123
  }
41
124
  ];
42
125
  if (rule) {
@@ -1 +1 @@
1
- {"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["function createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style: 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style: 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"AAAA,SAAS,YAAY,KAAO,EAAA;AAC1B,EAAO,OAAA;AAAA,IACL,IAAM,EAAA,IAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,KAAO,EAAA,uFAAA;AAAA,IACP,QAAU,EAAA;AAAA,MACR;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,KAAO,EAAA,6FAAA;AAAA,OACT;AAAA,MACA,EAAE,IAAM,EAAA,MAAA,EAAQ,QAAU,EAAA,CAAC,KAAK,CAAE,EAAA;AAAA,KACpC;AAAA,GACF,CAAA;AACF,CAAA;AACwB,SAAA,SAAA,CAAU,OAAO,IAAM,EAAA;AAC7C,EAAA,MAAM,IAAO,GAAA;AAAA,IACX;AAAA,MACE,IAAM,EAAA,aAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,UAAY,EAAA,MAAA;AAAA,OACd;AAAA,MACA,KAAO,EAAA,YAAA;AAAA,MACP,QAAU,EAAA;AAAA;AAAA,QAER;AAAA,UACE,IAAM,EAAA,kBAAA;AAAA,UACN,KAAA,EAAO,EAAE,IAAA,EAAM,MAAO,EAAA;AAAA,UAEtB,QAAU,EAAA;AAAA,YACR,YAAY,0BAAM,CAAA;AAAA,YAClB;AAAA,cACE,IAAM,EAAA,cAAA;AAAA,cACN,KAAO,EAAA,OAAA;AAAA,cACP,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,EAAA;AAAA,cACP,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAI,EAAA;AAAA,aACvB;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,IAAM,EAAA;AACR,IAAA,IAAI,IAAK,CAAA,MAAA,CAAO,MAAO,CAAA,IAAA,GAAO,KAAO,EAAA;AACnC,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,YAAY,0BAAM,CAAA;AAAA,QAClB;AAAA,UACE,IAAM,EAAA,QAAA;AAAA,UACN,KAAO,EAAA,aAAA;AAAA,UACP,KAAO,EAAA,KAAA;AAAA,UACP,KAAO,EAAA,0BAAA;AAAA,UACP,MAAQ,EAAA;AAAA,YACN,IAAM,EAAA,8DAAA;AAAA,WACR;AAAA,UACA,OAAS,EAAA;AAAA,YACP;AAAA,cACE,KAAO,EAAA,IAAA;AAAA,cACP,IAAM,EAAA;AAAA,gBACJ;AAAA,kBACE,IAAM,EAAA,sBAAA;AAAA,kBACN,KAAO,EAAA,UAAA;AAAA,kBACP,OAAO,EAAC;AAAA,kBACR,KAAO,EAAA,EAAA;AAAA,iBACT;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF,CAAA;AACA,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,kBAAA;AAAA,QACN,KAAA,EAAO,EAAE,IAAA,EAAM,OAAQ,EAAA;AAAA,QACvB,QAAU,EAAA,aAAA;AAAA,OACZ,CAAA;AACA,MAAA,IAAA,CAAK,CAAC,CAAA,CAAE,QAAS,CAAA,IAAA,CAAK,aAAa,CAAA,CAAA;AAAA,KACrC;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT;;;;"}
1
+ {"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["import Animates from '../../../../animate-select/src/animates'\n\nfunction createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style: 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style: 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\n\nfunction inLoop(val) {\n const animate = Animates[0].animate\n for (let i = 0; i < animate.length; i++) {\n if (animate[i].value === val) {\n return true\n }\n }\n return false\n}\n\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n ],\n },\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('动画配置'),\n {\n type: 'DkAnimateSelect',\n field: 'animate',\n value: '',\n title: '选择动画',\n control: [\n {\n handle: function (val) {\n if (!val) return false\n return inLoop(val)\n },\n rule: [\n {\n type: 'dk-style-animation-input',\n field: 'animation',\n title: '',\n value: {\n animationDelay: '0s',\n animationDuration: '1s',\n animationIterationCount: 'infinite',\n },\n },\n ],\n },\n {\n handle: function (val) {\n if (!val) return false\n return !inLoop(val)\n },\n rule: [\n {\n type: 'dk-style-animation-input',\n field: 'animation',\n title: '',\n value: {\n animationDelay: '0s',\n animationDuration: '1s',\n animationIterationCount: 1,\n },\n },\n ],\n },\n ],\n },\n {\n type: 'switch',\n field: 'animation_preview',\n title: '实时预览',\n value: true,\n effect: {\n help: '设置当前组件循环动画实时预览,当前仅为调试项',\n },\n },\n ],\n },\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"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"}
@@ -148,7 +148,7 @@ declare const _default: import("vue").DefineComponent<{
148
148
  };
149
149
  }>;
150
150
  dkSettingForm: import("vue").Ref<{
151
- rule: {
151
+ rule: ({
152
152
  type: string;
153
153
  props: {
154
154
  modelValue: string;
@@ -182,7 +182,73 @@ declare const _default: import("vue").DefineComponent<{
182
182
  };
183
183
  })[];
184
184
  }[];
185
- }[];
185
+ } | {
186
+ type: string;
187
+ props: {
188
+ modelValue: string;
189
+ };
190
+ style: string;
191
+ children: {
192
+ type: string;
193
+ props: {
194
+ name: string;
195
+ };
196
+ children: ({
197
+ type: string;
198
+ slot: string;
199
+ style: string;
200
+ children: ({
201
+ type: string;
202
+ style: string;
203
+ children?: undefined;
204
+ } | {
205
+ type: string;
206
+ children: any[];
207
+ style?: undefined;
208
+ })[];
209
+ } | {
210
+ type: string;
211
+ field: string;
212
+ value: string;
213
+ title: string;
214
+ control: ({
215
+ handle: (val: any) => boolean;
216
+ rule: {
217
+ type: string;
218
+ field: string;
219
+ title: string;
220
+ value: {
221
+ animationDelay: string;
222
+ animationDuration: string;
223
+ animationIterationCount: string;
224
+ };
225
+ }[];
226
+ } | {
227
+ handle: (val: any) => boolean;
228
+ rule: {
229
+ type: string;
230
+ field: string;
231
+ title: string;
232
+ value: {
233
+ animationDelay: string;
234
+ animationDuration: string;
235
+ animationIterationCount: number;
236
+ };
237
+ }[];
238
+ })[];
239
+ effect?: undefined;
240
+ } | {
241
+ type: string;
242
+ field: string;
243
+ title: string;
244
+ value: boolean;
245
+ effect: {
246
+ help: string;
247
+ };
248
+ control?: undefined;
249
+ })[];
250
+ }[];
251
+ })[];
186
252
  api: {};
187
253
  options: {
188
254
  form: {
@@ -290,10 +356,10 @@ declare const _default: import("vue").DefineComponent<{
290
356
  };
291
357
  }>>, {
292
358
  type: string;
293
- config: Record<string, any>;
294
- loading: boolean;
295
359
  menu: Record<string, any>;
296
360
  mask: string;
361
+ config: Record<string, any>;
362
+ loading: boolean;
297
363
  height: string;
298
364
  rightAsideWidth: string;
299
365
  leftAsideWidth: string;
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
57
57
  type: BooleanConstructor;
58
58
  };
59
59
  }>>, {
60
- height: string | number;
61
60
  value: string;
61
+ height: string | number;
62
62
  bgColor: string;
63
63
  autoplay: string | number;
64
64
  swipeList: unknown[];
@@ -81,10 +81,10 @@ declare const _default: import("vue").DefineComponent<{
81
81
  type: StringConstructor;
82
82
  };
83
83
  }>>, {
84
- url: string;
85
84
  type: string;
86
85
  title: string;
87
86
  color: string;
87
+ url: string;
88
88
  align: string;
89
89
  subtitle: string;
90
90
  subColor: string;
@@ -194,12 +194,12 @@ declare const _default: import("vue").DefineComponent<{
194
194
  type: StringConstructor;
195
195
  };
196
196
  }>>, {
197
- icon: string;
198
197
  type: string;
199
198
  img: string;
200
199
  color: string;
201
- fontSize: string | number;
200
+ icon: string;
202
201
  size: string;
202
+ fontSize: string | number;
203
203
  imgSize: string | number;
204
204
  round: boolean;
205
205
  posterData: Record<string, any>;
@@ -69,10 +69,10 @@ declare const _default: import("vue").DefineComponent<{
69
69
  type: StringConstructor;
70
70
  };
71
71
  }>>, {
72
- copy: string | number;
73
72
  title: string;
74
- content: string;
75
73
  show: boolean;
74
+ copy: string | number;
75
+ content: string;
76
76
  confirmText: string;
77
77
  copyType: string;
78
78
  copyText: string;
@@ -116,9 +116,9 @@ declare const _default: import("vue").DefineComponent<{
116
116
  };
117
117
  }>>, {
118
118
  type: string;
119
+ value: string;
119
120
  direction: string;
120
121
  fontSize: number;
121
- value: string;
122
122
  border: boolean;
123
123
  cellImgSize: number;
124
124
  imgTextGutter: number;
@@ -105,9 +105,9 @@ declare const _default: import("vue").DefineComponent<{
105
105
  };
106
106
  }>>, {
107
107
  type: string;
108
- height: string | number;
109
- width: string | number;
110
108
  value: string;
109
+ width: string | number;
110
+ height: string | number;
111
111
  fit: string;
112
112
  borderRadius: string | number;
113
113
  marginBottom: string | number;
@@ -49,10 +49,10 @@ declare const _default: import("vue").DefineComponent<{
49
49
  type: NumberConstructor;
50
50
  };
51
51
  }>>, {
52
- url: string;
53
- background: string;
54
52
  text: string;
55
53
  color: string;
54
+ url: string;
55
+ background: string;
56
56
  speed: number;
57
57
  leftIcon: string;
58
58
  }, {}>;
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<{
49
49
  type: StringConstructor;
50
50
  };
51
51
  }>>, {
52
- height: string | number;
53
52
  value: string;
53
+ height: string | number;
54
54
  fit: string;
55
55
  bgColor: string;
56
56
  autoplay: string | number;
@@ -145,11 +145,11 @@ declare const _default: import("vue").DefineComponent<{
145
145
  type: BooleanConstructor;
146
146
  };
147
147
  }>>, {
148
- icon: string;
149
148
  title: string;
149
+ prefix: string;
150
150
  color: string;
151
+ icon: string;
151
152
  size: number;
152
- prefix: string;
153
153
  iconSize: number;
154
154
  bold: boolean;
155
155
  prefixColor: string;
@@ -1 +1 @@
1
- .drag-tool{padding:var(--padding);position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.drag-tool:hover{outline:2px dashed #a2d1ff}.drag-tool .drag-tool{margin:5px}.drag-tool+.drag-tool{margin-top:5px}.drag-tool .drag-content{overflow:hidden}.drag-tool .drag-content .drag-tool .del{right:0;top:0}.drag-tool .drag-r{display:block}.drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.drag-tool .drag-btn+.drag-btn{margin-left:2px}.drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.drag-tool .drag-btn i{font-size:13px}.drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.drag-tool.active{outline:2px solid #409eff}.drag-tool.active>.drag-r .drag-btn{display:block}.drag-tool.active>.drag-l .drag-btn{display:block}.drag-tool.active>.del{display:block}.drag-tool.active>.op{display:block}
1
+ .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.drag-tool:hover{outline:2px dashed #a2d1ff}.drag-tool .drag-tool{margin:5px}.drag-tool+.drag-tool{margin-top:5px}.drag-tool .drag-content{overflow:hidden}.drag-tool .drag-content .drag-tool .del{right:0;top:0}.drag-tool .drag-r{display:block}.drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.drag-tool .drag-btn+.drag-btn{margin-left:2px}.drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.drag-tool .drag-btn i{font-size:13px}.drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.drag-tool.active{outline:2px solid #409eff}.drag-tool.active>.drag-r .drag-btn{display:block}.drag-tool.active>.drag-l .drag-btn{display:block}.drag-tool.active>.del{display:block}.drag-tool.active>.op{display:block}
@@ -2,7 +2,7 @@
2
2
  .drag-tool {
3
3
  padding: var(--padding);
4
4
  position: relative;
5
- min-height: 30px;
5
+ min-height: var(--minHeight);
6
6
  box-sizing: border-box;
7
7
  word-wrap: break-word;
8
8
  word-break: break-all;
@@ -1 +1 @@
1
- @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .drag-box{min-height:50px}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:30px;box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}
1
+ @charset "UTF-8";.dk-page-diy{min-width:1000px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .drag-box{min-height:50px}.dk-page-diy ._fc-l,.dk-page-diy ._fc-m,.dk-page-diy ._fc-r{background:#fff;box-sizing:border-box;height:calc(100vh - 180px);position:relative}.dk-page-diy ._fc-l::-webkit-scrollbar,.dk-page-diy ._fc-m::-webkit-scrollbar,.dk-page-diy ._fc-r::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l{overflow:inherit!important;display:flex;flex:0 0 auto;flex-direction:column;top:0}.dk-page-diy ._fc-l ._fc-l-group{padding:0 12px}.dk-page-diy ._fc-l ._fc-l-title{font-weight:600;font-size:14px;margin:18px 0 5px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item{display:inline-block;background:#fff;color:#000;min-width:70px;width:80px;height:70px;line-height:1;text-align:center;transition:all .2s ease;cursor:pointer;border-radius:6px;position:relative}.dk-page-diy ._fc-l ._fc-l-item.not-drag{cursor:not-allowed;background:#f6f6f6!important;color:#000!important}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-name{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-count{background-color:#409eff;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff;position:absolute;top:5px;right:20px;z-index:1;transform:translateY(-50%) translateX(100%)}.dk-page-diy ._fc-l ._fc-l-item ._fc-l-icon{padding:10px 5px 12px}.dk-page-diy ._fc-l ._fc-l-item:hover{background:#409eff;color:#fff}.dk-page-diy ._fc-l.item-box ._fc-l-groups{height:calc(100vh - 220px);overflow:auto;flex:1 1 0%}.dk-page-diy ._fc-l.item-box ._fc-l-groups::-webkit-scrollbar{display:none}.dk-page-diy ._fc-l.item-box ._fc-l-groups ._fc-l-items ._fc-l-item{margin:5px;width:76px;box-shadow:1px 1px 4px rgba(0,0,0,.1019607843)}.dk-page-diy ._fc-l:hover .aside-toggle{display:block}.dk-page-diy ._fc-l .children-list{width:100%;position:relative;background:#fff;bottom:0;overflow:auto;z-index:2}.dk-page-diy ._fc-l .children-list .child-title{cursor:pointer;text-align:center;font-size:14px;padding:4px;position:-webkit-sticky;position:sticky;z-index:2;top:0;background:#fff;border-top:1px solid #eaecef;border-right:0}.dk-page-diy ._fc-l .children-list .child-title .dk-icon{position:absolute;right:10px}.dk-page-diy ._fc-l .children-list .child-title .dk-icon:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule{position:absolute;right:0;display:none;padding:0 10px}.dk-page-diy ._fc-l .children-list .el-tree-node .close-rule:hover{color:#409eff!important}.dk-page-diy ._fc-l .children-list .el-tree-node:hover .close-rule{display:inline-flex}.dk-page-diy ._fc-l .children-list .aside-resizer{width:100%;height:4px;margin:-2px 0;cursor:n-resize;z-index:3}.dk-page-diy ._fc-l .children-list::-webkit-scrollbar{display:none}.dk-page-diy ._fc-m{background:#ebeced;width:100%}.dk-page-diy ._fc-m ._fc-m-tools{background:#fff;height:40px;align-items:center;display:flex;justify-content:flex-end;border:1px solid #ececec;border-top:0 none}.dk-page-diy ._fc-m ._fc-m-drag{overflow:auto;box-sizing:border-box}.dk-page-diy ._fc-m .form-create ._fc-l-item{background:#409eff;width:100%;height:30px;overflow:hidden;transition:all .3s ease;display:flex;justify-content:center;align-items:center;color:#fff}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-count,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-icon,.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen ._fc-l-name{display:none}.dk-page-diy ._fc-m .form-create ._fc-l-item.sortable-chosen:after{content:"放在这里";color:#fff;font-size:14px}.dk-page-diy ._fc-m .form-create ._fc-l-item ._fc-l-icon{margin:0 10px}.dk-page-diy ._fc-r{width:calc(100% - 800px);overflow:inherit!important}.dk-page-diy ._fc-r .el-tabs__nav-wrap{padding:0 20px}.dk-page-diy ._fc-r .el-tabs__nav{width:100%}.dk-page-diy ._fc-r .el-tabs__item{width:33%;text-align:center}.dk-page-diy ._fc-r .el-tabs__content{padding:0 20px;height:calc(100vh - 235px);overflow:auto}.dk-page-diy ._fc-r .el-tabs__content::-webkit-scrollbar{width:5px}.dk-page-diy ._fc-r .el-tabs__nav-wrap::after{height:1px;background-color:#ececec}.dk-page-diy ._fc-r ._fc-r-tabs{display:flex;cursor:pointer;padding:0;border-bottom:1px solid #ececec}.dk-page-diy ._fc-r ._fc-r-tab{height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:600;color:#303133;position:relative;flex:1;text-align:center}.dk-page-diy ._fc-r ._fc-r-tab.active{color:#409eff;border-bottom:2px solid #409eff}.dk-page-diy ._fc-r:hover .aside-toggle{display:block}.dk-page-diy ._fc-r .el-form-item__content{display:block}.dk-page-diy ._fc-r .el-form-item__content .form-help{line-height:1.5;margin-top:4px;color:#888;font-size:12px}.dk-page-diy ._fc-m-drag,.dk-page-diy .draggable-drag{min-height:630px;height:100%;position:relative}.dk-page-diy ._fc-m-drag .chosen,.dk-page-diy .draggable-drag .chosen{opacity:1!important}.dk-page-diy .aside-resizer{cursor:ew-resize;height:100%;margin:0 -2px;position:absolute;top:0;width:4px;z-index:1;right:0}.dk-page-diy .aside-resizer:hover{background:rgba(204,204,204,.5)}.dk-page-diy .aside-toggle{background:inherit;cursor:pointer;padding:20px 5px;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:none}.dk-page-diy .drag-tool{padding:var(--padding);position:relative;min-height:var(--minHeight);box-sizing:border-box;word-wrap:break-word;word-break:break-all;margin:var(--margin);outline:var(--showDashed) dashed #a2d1ff;overflow:var(--overflow)}.dk-page-diy .drag-tool:hover{outline:2px dashed #a2d1ff}.dk-page-diy .drag-tool .drag-tool{margin:5px}.dk-page-diy .drag-tool+.drag-tool{margin-top:5px}.dk-page-diy .drag-tool .drag-content{overflow:hidden}.dk-page-diy .drag-tool .drag-content .drag-tool .del{right:0;top:0}.dk-page-diy .drag-tool .drag-r{display:block}.dk-page-diy .drag-tool .drag-r{position:absolute;right:2px;bottom:2px;z-index:1200}.dk-page-diy .drag-tool .drag-l{position:absolute;top:0;left:0;z-index:1904}.dk-page-diy .drag-tool .drag-btn{height:18px;width:18px;color:#fff;background-color:#666;text-align:center;line-height:20px;padding-bottom:1px;float:left;cursor:pointer;justify-content:center;display:none;opacity:.5}.dk-page-diy .drag-tool .drag-btn+.drag-btn{margin-left:2px}.dk-page-diy .drag-tool .drag-btn:hover{background-color:var(--el-color-primary);opacity:1}.dk-page-diy .drag-tool .drag-btn-danger{background-color:var(--el-color-danger)!important}.dk-page-diy .drag-tool .drag-btn i{font-size:13px}.dk-page-diy .drag-tool .drag-mask{z-index:1199;position:absolute;top:0;left:0;right:0;bottom:0}.dk-page-diy .drag-tool.active{outline:2px solid #409eff}.dk-page-diy .drag-tool.active>.drag-r .drag-btn{display:block}.dk-page-diy .drag-tool.active>.drag-l .drag-btn{display:block}.dk-page-diy .drag-tool.active>.del{display:block}.dk-page-diy .drag-tool.active>.op{display:block}.dk-page-diy .preview-phone{overflow:auto;box-shadow:inset 0 2px 5px 1px rgba(62,62,62,.0901960784);height:100%}.dk-page-diy .preview-phone::-webkit-scrollbar{width:8px}.dk-page-diy .preview-phone .phone{background:#fff;width:375px;margin:20px auto;box-shadow:0 5px 10px rgba(0,0,0,.2);min-height:700px}.dk-page-diy .preview-phone .phone .phone-header{height:75px;margin-bottom:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dk-page-diy .preview-phone .phone .phone-header img{width:100%}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top{display:flex;align-items:flex-start;justify-content:space-between;height:30px;font-size:12px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time{margin:10px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-time span{margin-right:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-bangs{background:#000;width:200px;height:30px;border-bottom-right-radius:20px;border-bottom-left-radius:20px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery{margin:10px;display:flex;align-items:center;height:18px}.dk-page-diy .preview-phone .phone .phone-header .phone-header-top .phone-battery img{margin-left:5px}.dk-page-diy .preview-phone .phone .phone-header .phone-title{display:flex;justify-content:space-between;align-items:center;height:40px}.dk-page-diy .preview-phone .phone .phone-header .phone-title .phone-title-icon{margin:5px}.dk-page-diy .preview-phone .phone .phone-header-min{background-image:url(https://demo-saas.site.niucloud.com/admin/assets/diy_preview_head-8c072698.png);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative}.dk-page-diy .preview-phone .phone .phone-header-min .close-button{position:absolute;top:34px;right:27px}.dk-page-diy .preview-phone .phone .phone-header-min .close-button:hover .close-button-mask{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-header-min .close-button .close-button-mask{width:20px;height:20px;border-radius:100%;cursor:pointer}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask{position:absolute;top:34px;right:70px;width:25px;cursor:pointer;border-radius:40px;height:20px}.dk-page-diy .preview-phone .phone .phone-header-min .more-button-mask:hover{background:rgba(0,0,0,.0666666667)}.dk-page-diy .preview-phone .phone .phone-body{background:#f5f5f5;background-size:100% auto!important;overflow:visible;background-repeat:no-repeat;background-origin:initial;background-clip:initial}.dk-page-diy .preview-phone .phone .phone-body .ghost{box-shadow:var(--el-box-shadow)}.dk-page-diy .dk-view-bullet-chat{height:30px;line-height:30px;color:#fff;background:rgba(0,0,0,.6);border-radius:100px}.dk-page-diy .dk-view-bullet-chat .bullet-content{display:flex;align-items:center;height:20px;margin:5px;font-size:12px}.dk-page-diy .dk-view-bullet-chat .bullet-content img{width:20px;height:20px;border-radius:100%}.dk-page-diy .dk-view-bullet-chat .bullet-content span{padding:0 5px}.dk-page-diy .dk-view-common-btn .btn{display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-common-btn .btn .van-icon{font-size:1.2em}.dk-page-diy .dk-view-common-btn .f-btn{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-common-btn .f-btn .image-content{display:inherit}.dk-page-diy .dk-view-common-btn .f-btn .f-btn-content{display:flex;align-items:center;justify-content:center;border-radius:100%}.dk-page-diy .dk-view-common-btn .f-img{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.dk-page-diy .dk-view-image.dk-mobile-image-default{display:flex;flex-direction:column}.dk-page-diy .dk-view-image.dk-mobile-image-default .van-image{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-default .dk-mobile-image-content{display:block}.dk-page-diy .dk-view-image.dk-mobile-image-slide{width:100%;overflow-x:scroll;white-space:nowrap}.dk-page-diy .dk-view-image.dk-mobile-image-slide .dk-mobile-image-content{position:relative;display:inline-block;margin-right:10px;vertical-align:top}.dk-page-diy .dk-view-image .dk-mobile-image-content{position:relative;overflow:hidden}.dk-page-diy .dk-view-image .dk-mobile-image-content:last-child{margin:0!important}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-footer{text-align:center;height:48px;line-height:48px}.dk-page-diy .dk-view-image .dk-mobile-image-content .text-type-default{color:#fff;text-align:center;position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));bottom:0;height:48px;line-height:48px;width:100%}.dk-page-diy .dk-view-dialog .preview{display:flex;align-items:center;justify-content:center;height:40px;text-align:center;background:#fff}.dk-page-diy .dk-view-music{width:100%;display:flex;align-items:center;justify-content:center}.dk-page-diy .dk-view-music .dk-music-icon{background:#fff;border-radius:100%;border:2px solid #fff;font-weight:800;box-sizing:content-box;color:#f56c6c}.dk-page-diy .dk-view-music .dk-music-img{border-radius:100%}.dk-page-diy .dk-view-music .changeRight{-webkit-animation-name:changeRight;animation-name:changeRight}.dk-page-diy .dk-view-music .changeLeft{-webkit-animation-name:changeLeft;animation-name:changeLeft}@-webkit-keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes changeRight{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg)}}@-webkit-keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}@keyframes changeLeft{0%{-webkit-transform:rotate(0)}50%{-webkit-transform:rotate(-180deg)}100%{-webkit-transform:rotate(-360deg)}}.dk-page-diy .dk-view-swipe .image{width:100%}.dk-page-diy .dk-view-tabbar .van-tabbar,.dk-page-diy .dk-view-tabbar .van-tabbar-item--active{background:0 0}.dk-page-diy .dk-view-title{display:flex;align-items:center;justify-content:space-between}.dk-page-diy .dk-view-title .title-left{display:flex;align-items:center}.dk-page-diy .dk-view-video{display:flex;align-items:center;justify-content:center;width:100%;min-height:240px;color:#eee;background:#222}.dk-page-diy .dk-view-video .dk-video-content{width:100%;height:100%;text-align:center}.dk-page-diy .dk-view-video .dk-video-content p{font-size:12px;color:#999}.dk-page-diy .dk-view-video .dk-video-content .poster{width:100%;height:100%}.dk-page-diy .dk-view-video .el-icon-video-play{font-size:50px}.dk-page-diy .dk-view-video .video-preview{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:#000;opacity:.8}.dk-page-diy .dk-min-swipe .image{width:100%}.dk-page-diy .dk-min-swipe .swipe-title{position:absolute;bottom:0;background:rgba(0,0,0,.3333333333);width:100%;color:#fff;padding:5px}.dk-page-diy .dk-min-area{position:relative}.dk-page-diy .hot-item{display:flex;align-items:center;justify-content:center;color:#fff}.diy-cloud .diy-header{display:flex;justify-content:space-between}.diy-cloud .diy-header .diy-search{width:500px;display:flex;align-items:center}.diy-cloud .diy-content{padding:20px 0}.diy-cloud .diy-content ul{height:520px}.diy-cloud .diy-content ul li{float:left;width:calc(16.6% - 10px);text-align:center;margin:5px;position:relative;transition:all .3s ease 0s;cursor:pointer;border-radius:10px;overflow:hidden;border:1px solid #ccc}.diy-cloud .diy-content ul li .cover{width:180px;height:240px;transition:all .3s ease 0s}.diy-cloud .diy-content ul li .title{position:absolute;bottom:0;padding:4px 10px;background:#fff;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .type{position:absolute;bottom:40px;padding:4px 10px;color:#000;text-align:center;width:100%}.diy-cloud .diy-content ul li .tag-list{position:absolute;bottom:30px;padding:4px 10px;color:#000;text-align:right;width:100%}.diy-cloud .diy-content ul li .tag-list .tag{font-size:12px;margin-top:17px;text-align:right;padding:2px 6px;top:180px;right:6px;background-color:rgba(0,0,0,.6);color:#fff;border-radius:4px;margin-left:5px}.diy-cloud .diy-content ul li .mask{position:absolute;height:240px;width:180px;top:0;background:rgba(0,0,0,.3019607843)}.diy-cloud .diy-content ul li:hover{box-shadow:0 4px 12px 0 rgba(0,13,71,.2)}.diy-cloud .diy-content ul li.choose{transition:all .1s ease 0s;border:1px solid #1989fa}.diy-cloud .diy-footer{text-align:center;padding:10px}
@@ -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,8 @@
1
+ import { withInstall } from '@vipl520/utils';
2
+ import _StyleAnimationInput from './src/style-animation-input.vue.mjs';
3
+ export { styleAnimationInputProps } from './src/props.mjs';
4
+
5
+ const StyleAnimationInput = withInstall(_StyleAnimationInput);
6
+
7
+ export { StyleAnimationInput, StyleAnimationInput as default };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","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":[],"mappings":";;;;AAGa,MAAA,mBAAA,GAAsB,YAAY,oBAAoB;;;;"}
@@ -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,16 @@
1
+ const styleAnimationInputProps = {
2
+ /**
3
+ * 类型定义
4
+ */
5
+ modelValue: {
6
+ type: Object,
7
+ default: () => ({
8
+ animationDelay: "0s",
9
+ animationDuration: "1s",
10
+ animationIterationCount: "infinite"
11
+ })
12
+ }
13
+ };
14
+
15
+ export { styleAnimationInputProps };
16
+ //# sourceMappingURL=props.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.mjs","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;;;;"}