@vipl520/dk-ui 1.0.53 → 1.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +2036 -1431
  4. package/dist/index.min.js +4 -4
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +4 -4
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +2035 -1432
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/attachment/src/attachment.vue2.mjs +7 -1
  12. package/es/attachment/src/attachment.vue2.mjs.map +1 -1
  13. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +2 -0
  14. package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
  15. package/es/form/src/form.vue2.mjs +0 -1
  16. package/es/form/src/form.vue2.mjs.map +1 -1
  17. package/es/group/src/group.vue2.mjs +14 -1
  18. package/es/group/src/group.vue2.mjs.map +1 -1
  19. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
  20. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  21. package/es/icon/style/index.css +0 -1
  22. package/es/icon/style/index.scss +1 -1
  23. package/es/index.d.ts +1 -0
  24. package/es/index.mjs +5 -2
  25. package/es/index.mjs.map +1 -1
  26. package/es/index.scss +1 -0
  27. package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  28. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
  29. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
  30. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  31. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
  32. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
  33. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  34. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
  35. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  36. package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  37. package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
  38. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  39. package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
  40. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
  41. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
  42. package/es/page-diy/src/props.mjs +1 -1
  43. package/es/page-diy/src/props.mjs.map +1 -1
  44. package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  45. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +66 -0
  46. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
  47. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  48. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
  49. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  50. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  51. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
  52. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  53. package/es/page-diy/src/views/min/index.mjs +3 -1
  54. package/es/page-diy/src/views/min/index.mjs.map +1 -1
  55. package/es/page-diy/style/drag-tool.css +1 -1
  56. package/es/page-diy/style/drag-tool.scss +4 -0
  57. package/es/page-diy/style/index.css +1 -1
  58. package/es/page-diy/style/minViews/index.scss +8 -0
  59. package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
  60. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  61. package/es/style-box-input/style/index.css +1 -1
  62. package/es/style-box-input/style/index.scss +13 -3
  63. package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
  64. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  65. package/es/style-input/src/style-input.vue2.mjs +1 -0
  66. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  67. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
  68. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  69. package/es/test/index.d.ts +4 -2
  70. package/es/test/src/test.vue.d.ts +4 -2
  71. package/es/test/src/test.vue2.mjs +14 -3
  72. package/es/test/src/test.vue2.mjs.map +1 -1
  73. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  74. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  75. package/es/uni-icon/style/index.css +1 -1
  76. package/es/uni-icon/style/index.scss +1 -1
  77. package/es/url-input/index.d.ts +35 -0
  78. package/es/url-input/index.mjs +8 -0
  79. package/es/url-input/index.mjs.map +1 -0
  80. package/es/url-input/src/props.d.ts +16 -0
  81. package/es/url-input/src/props.mjs +13 -0
  82. package/es/url-input/src/props.mjs.map +1 -0
  83. package/es/url-input/src/url-input-content.vue.d.ts +25 -0
  84. package/es/url-input/src/url-input-content.vue.mjs +7 -0
  85. package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
  86. package/es/url-input/src/url-input-content.vue2.mjs +301 -0
  87. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
  88. package/es/url-input/src/url-input-table.vue.d.ts +16 -0
  89. package/es/url-input/src/url-input-table.vue.mjs +7 -0
  90. package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
  91. package/es/url-input/src/url-input-table.vue2.mjs +63 -0
  92. package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
  93. package/es/url-input/src/url-input.vue.d.ts +34 -0
  94. package/es/url-input/src/url-input.vue.mjs +7 -0
  95. package/es/url-input/src/url-input.vue.mjs.map +1 -0
  96. package/es/url-input/src/url-input.vue2.mjs +69 -0
  97. package/es/url-input/src/url-input.vue2.mjs.map +1 -0
  98. package/es/url-input/style/index.css +1 -0
  99. package/es/url-input/style/index.scss +38 -0
  100. package/lib/attachment/src/attachment.vue2.js +7 -1
  101. package/lib/attachment/src/attachment.vue2.js.map +1 -1
  102. package/lib/attachment-dialog/src/attachment-dialog.vue2.js +2 -0
  103. package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
  104. package/lib/form/src/form.vue2.js +0 -1
  105. package/lib/form/src/form.vue2.js.map +1 -1
  106. package/lib/group/src/group.vue2.js +14 -1
  107. package/lib/group/src/group.vue2.js.map +1 -1
  108. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
  109. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  110. package/lib/icon/style/index.css +0 -1
  111. package/lib/icon/style/index.scss +1 -1
  112. package/lib/index.d.ts +1 -0
  113. package/lib/index.js +8 -3
  114. package/lib/index.js.map +1 -1
  115. package/lib/index.scss +1 -0
  116. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  117. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
  118. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
  119. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  120. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
  121. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
  122. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  123. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
  124. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  125. package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  126. package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
  127. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  128. package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
  129. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
  130. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
  131. package/lib/page-diy/src/props.js +1 -1
  132. package/lib/page-diy/src/props.js.map +1 -1
  133. package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  134. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +70 -0
  135. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
  136. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  137. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
  138. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  139. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  140. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
  141. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  142. package/lib/page-diy/src/views/min/index.js +3 -1
  143. package/lib/page-diy/src/views/min/index.js.map +1 -1
  144. package/lib/page-diy/style/drag-tool.css +1 -1
  145. package/lib/page-diy/style/drag-tool.scss +4 -0
  146. package/lib/page-diy/style/index.css +1 -1
  147. package/lib/page-diy/style/minViews/index.scss +8 -0
  148. package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
  149. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  150. package/lib/style-box-input/style/index.css +1 -1
  151. package/lib/style-box-input/style/index.scss +13 -3
  152. package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
  153. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  154. package/lib/style-input/src/style-input.vue2.js +1 -0
  155. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  156. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
  157. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  158. package/lib/test/index.d.ts +4 -2
  159. package/lib/test/src/test.vue.d.ts +4 -2
  160. package/lib/test/src/test.vue2.js +14 -3
  161. package/lib/test/src/test.vue2.js.map +1 -1
  162. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  163. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  164. package/lib/uni-icon/style/index.css +1 -1
  165. package/lib/uni-icon/style/index.scss +1 -1
  166. package/lib/url-input/index.d.ts +35 -0
  167. package/lib/url-input/index.js +14 -0
  168. package/lib/url-input/index.js.map +1 -0
  169. package/lib/url-input/src/props.d.ts +16 -0
  170. package/lib/url-input/src/props.js +15 -0
  171. package/lib/url-input/src/props.js.map +1 -0
  172. package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
  173. package/lib/url-input/src/url-input-content.vue.js +11 -0
  174. package/lib/url-input/src/url-input-content.vue.js.map +1 -0
  175. package/lib/url-input/src/url-input-content.vue2.js +305 -0
  176. package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
  177. package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
  178. package/lib/url-input/src/url-input-table.vue.js +11 -0
  179. package/lib/url-input/src/url-input-table.vue.js.map +1 -0
  180. package/lib/url-input/src/url-input-table.vue2.js +67 -0
  181. package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
  182. package/lib/url-input/src/url-input.vue.d.ts +34 -0
  183. package/lib/url-input/src/url-input.vue.js +11 -0
  184. package/lib/url-input/src/url-input.vue.js.map +1 -0
  185. package/lib/url-input/src/url-input.vue2.js +73 -0
  186. package/lib/url-input/src/url-input.vue2.js.map +1 -0
  187. package/lib/url-input/style/index.css +1 -0
  188. package/lib/url-input/style/index.scss +38 -0
  189. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { createElementVNode, defineComponent, reactive, ref, computed, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeStyle, createTextVNode, createVNode, withCtx, normalizeClass, createCommentVNode, Fragment, renderList, unref, toDisplayString, withDirectives, vModelText } from 'vue';
1
+ import { createElementVNode, defineComponent, reactive, ref, computed, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeStyle, createTextVNode, createVNode, withCtx, createCommentVNode, normalizeClass, Fragment, renderList, unref, toDisplayString, withDirectives, vModelText } from 'vue';
2
2
  import { styleBoxInputProps } from './props.mjs';
3
3
  import { margins, paddings } from './html.mjs';
4
4
  import { upper } from '@vipl520/utils';
@@ -7,44 +7,42 @@ import { useElementSize } from '@vueuse/core';
7
7
  const _hoisted_1 = { class: "dk-style-box-input" };
8
8
  const _hoisted_2 = { class: "header" };
9
9
  const _hoisted_3 = { class: "items-center" };
10
- const _hoisted_4 = { class: "float-right cursor-pointer" };
11
- const _hoisted_5 = { class: "name-header-operations" };
12
- const _hoisted_6 = { class: "name-header-operations" };
13
- const _hoisted_7 = { class: "name-header-operations" };
14
- const _hoisted_8 = ["title", "onClick"];
15
- const _hoisted_9 = ["onUpdate:modelValue", "onBlur"];
16
- const _hoisted_10 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
17
- const _hoisted_11 = /* @__PURE__ */ createElementVNode(
10
+ const _hoisted_4 = ["title", "onDblclick"];
11
+ const _hoisted_5 = ["onUpdate:modelValue", "onBlur"];
12
+ const _hoisted_6 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
13
+ const _hoisted_7 = /* @__PURE__ */ createElementVNode(
18
14
  "div",
19
15
  { style: { "position": "absolute", "display": "none", "width": "100%", "height": "100%" } },
20
16
  null,
21
17
  -1
22
18
  /* HOISTED */
23
19
  );
24
- const _hoisted_12 = { class: "anchor-wrapper" };
25
- const _hoisted_13 = ["onMousedown"];
26
- const _hoisted_14 = /* @__PURE__ */ createElementVNode(
20
+ const _hoisted_8 = { class: "anchor-wrapper" };
21
+ const _hoisted_9 = ["onMousedown"];
22
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode(
27
23
  "span",
28
24
  { class: "title" },
29
25
  " \u5916\u8FB9\u8DDD ",
30
26
  -1
31
27
  /* HOISTED */
32
28
  );
33
- const _hoisted_15 = { class: "thumnail border" };
34
- const _hoisted_16 = ["title", "onClick"];
35
- const _hoisted_17 = ["onUpdate:modelValue", "onBlur"];
36
- const _hoisted_18 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
37
- const _hoisted_19 = { class: "anchor-wrapper" };
38
- const _hoisted_20 = ["onMousedown"];
39
- const _hoisted_21 = /* @__PURE__ */ createElementVNode(
29
+ const _hoisted_11 = { class: "tools" };
30
+ const _hoisted_12 = { class: "thumnail border" };
31
+ const _hoisted_13 = ["title", "onDblclick"];
32
+ const _hoisted_14 = ["onUpdate:modelValue", "onBlur"];
33
+ const _hoisted_15 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
34
+ const _hoisted_16 = { class: "anchor-wrapper" };
35
+ const _hoisted_17 = ["onMousedown"];
36
+ const _hoisted_18 = /* @__PURE__ */ createElementVNode(
40
37
  "span",
41
38
  { class: "title" },
42
39
  " \u5185\u8FB9\u8DDD ",
43
40
  -1
44
41
  /* HOISTED */
45
42
  );
46
- const _hoisted_22 = { class: "title" };
47
- const _hoisted_23 = /* @__PURE__ */ createElementVNode(
43
+ const _hoisted_19 = { class: "tools" };
44
+ const _hoisted_20 = { class: "title" };
45
+ const _hoisted_21 = /* @__PURE__ */ createElementVNode(
48
46
  "span",
49
47
  null,
50
48
  " x ",
@@ -82,8 +80,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
82
80
  });
83
81
  const box = ref(null);
84
82
  const { width } = useElementSize(box);
83
+ const bind = reactive({
84
+ padding: false,
85
+ margin: false,
86
+ size: false
87
+ });
85
88
  const height = computed(() => {
86
- console.log("props.height", props.height);
87
89
  if (props.height === "auto") {
88
90
  const h = width.value / 1.8;
89
91
  return h > 300 ? 300 : h;
@@ -168,6 +170,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
168
170
  difference = -difference;
169
171
  }
170
172
  styles[value] = (parseInt(styles[value]) || 0) + difference + "px";
173
+ if (bind[type]) {
174
+ styles[type + "Top"] = styles[value];
175
+ styles[type + "Bottom"] = styles[value];
176
+ styles[type + "Left"] = styles[value];
177
+ styles[type + "Right"] = styles[value];
178
+ }
171
179
  startPosition[axis] = event[clientAxis];
172
180
  };
173
181
  if (p === "left" || p === "right") {
@@ -274,6 +282,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
274
282
  styles[value] = "";
275
283
  } else {
276
284
  styles[value] = number + "px";
285
+ if (value.indexOf("padding") == 0 && bind.padding) {
286
+ styles.paddingTop = styles[value];
287
+ styles.paddingRight = styles[value];
288
+ styles.paddingBottom = styles[value];
289
+ styles.paddingLeft = styles[value];
290
+ }
291
+ if (value.indexOf("margin") == 0 && bind.padding) {
292
+ styles.marginTop = styles[value];
293
+ styles.marginRight = styles[value];
294
+ styles.marginBottom = styles[value];
295
+ styles.marginLeft = styles[value];
296
+ }
277
297
  }
278
298
  }
279
299
  };
@@ -293,6 +313,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
293
313
  styles.paddingBottom = "";
294
314
  }
295
315
  };
316
+ const onBind = (type) => {
317
+ bind[type] = !bind[type];
318
+ };
296
319
  return (_ctx, _cache) => {
297
320
  const _component_dk_icon = resolveComponent("dk-icon");
298
321
  const _component_el_popover = resolveComponent("el-popover");
@@ -329,62 +352,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
329
352
  /* STABLE */
330
353
  }, 8, ["content"])
331
354
  ]),
332
- createElementVNode("div", _hoisted_4, [
333
- createElementVNode("div", _hoisted_5, [
334
- createVNode(_component_el_tooltip, {
335
- class: "box-item",
336
- effect: "dark",
337
- content: "\u91CD\u7F6E\u9AD8\u5BBD",
338
- placement: "top-start"
339
- }, {
340
- default: withCtx(() => [
341
- createVNode(_component_dk_icon, {
342
- icon: "Refresh",
343
- color: "var(--el-color-primary)",
344
- onClick: _cache[0] || (_cache[0] = ($event) => onRefresh("widthHeight"))
345
- })
346
- ]),
347
- _: 1
348
- /* STABLE */
349
- })
350
- ]),
351
- createElementVNode("div", _hoisted_6, [
352
- createVNode(_component_el_tooltip, {
353
- class: "box-item",
354
- effect: "dark",
355
- content: "\u91CD\u7F6E\u5185\u8FB9\u8DDD",
356
- placement: "top-start"
357
- }, {
358
- default: withCtx(() => [
359
- createVNode(_component_dk_icon, {
360
- icon: "Refresh",
361
- color: "var(--el-color-success)",
362
- onClick: _cache[1] || (_cache[1] = ($event) => onRefresh("padding"))
363
- })
364
- ]),
365
- _: 1
366
- /* STABLE */
367
- })
368
- ]),
369
- createElementVNode("div", _hoisted_7, [
370
- createVNode(_component_el_tooltip, {
371
- class: "box-item",
372
- effect: "dark",
373
- content: "\u91CD\u7F6E\u5916\u8FB9\u8DDD",
374
- placement: "top-start"
375
- }, {
376
- default: withCtx(() => [
377
- createVNode(_component_dk_icon, {
378
- icon: "Refresh",
379
- color: "var(--el-color-warning)",
380
- onClick: _cache[2] || (_cache[2] = ($event) => onRefresh("margin"))
381
- })
382
- ]),
383
- _: 1
384
- /* STABLE */
385
- })
386
- ])
387
- ]),
355
+ createCommentVNode(' <div class="float-right cursor-pointer">'),
356
+ createCommentVNode(' <div class="name-header-operations">'),
357
+ createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u9AD8\u5BBD" placement="top-start">'),
358
+ createCommentVNode(` <dk-icon icon="Refresh" color="#303133" @click="onRefresh('widthHeight')"></dk-icon>`),
359
+ createCommentVNode(" </el-tooltip>"),
360
+ createCommentVNode(" </div>"),
361
+ createCommentVNode(' <div class="name-header-operations">'),
362
+ createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u5185\u8FB9\u8DDD" placement="top-start">'),
363
+ createCommentVNode(` <dk-icon icon="Refresh" color="var(&#45;&#45;el-color-success)" @click="onRefresh('padding')"></dk-icon>`),
364
+ createCommentVNode(" </el-tooltip>"),
365
+ createCommentVNode(" </div>"),
366
+ createCommentVNode(' <div class="name-header-operations">'),
367
+ createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u5916\u8FB9\u8DDD" placement="top-start">'),
368
+ createCommentVNode(` <dk-icon icon="Refresh" color="var(&#45;&#45;el-color-warning)" @click="onRefresh('margin')"></dk-icon>`),
369
+ createCommentVNode(" </el-tooltip>"),
370
+ createCommentVNode(" </div>"),
371
+ createCommentVNode(" </div>"),
388
372
  createElementVNode(
389
373
  "div",
390
374
  {
@@ -399,8 +383,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
399
383
  "div",
400
384
  {
401
385
  class: normalizeClass(["thumnail margin", moves.margin ? "thumnail-heightlight" : ""]),
402
- onMousemove: _cache[13] || (_cache[13] = ($event) => onMouseMove("margin", "move", $event)),
403
- onMouseleave: _cache[14] || (_cache[14] = ($event) => onMouseMove("margin", "leave", $event))
386
+ onMousemove: _cache[14] || (_cache[14] = ($event) => onMouseMove("margin", "move", $event)),
387
+ onMouseleave: _cache[15] || (_cache[15] = ($event) => onMouseMove("margin", "leave", $event))
404
388
  },
405
389
  [
406
390
  createCommentVNode("\u5916\u8FB9\u8DDD Margin"),
@@ -413,7 +397,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
413
397
  createElementVNode("span", {
414
398
  title: item.title,
415
399
  class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
416
- onClick: ($event) => onDblclick(item.value, key)
400
+ onDblclick: ($event) => onDblclick(item.value, key)
417
401
  }, [
418
402
  createElementVNode(
419
403
  "span",
@@ -422,7 +406,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
422
406
  1
423
407
  /* TEXT */
424
408
  )
425
- ], 10, _hoisted_8),
409
+ ], 42, _hoisted_4),
426
410
  withDirectives(createElementVNode("input", {
427
411
  ref_for: true,
428
412
  ref_key: "inputField",
@@ -430,7 +414,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
430
414
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
431
415
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
432
416
  onBlur: ($event) => onBlur(item.value)
433
- }, null, 42, _hoisted_9), [
417
+ }, null, 42, _hoisted_5), [
434
418
  [vModelText, styles[item.value]]
435
419
  ]),
436
420
  (openBlock(), createElementBlock("svg", {
@@ -442,15 +426,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
442
426
  style: normalizeStyle(item.svg.style),
443
427
  class: "esm-modal-svg",
444
428
  innerHTML: item.svg.content
445
- }, null, 12, _hoisted_10))
429
+ }, null, 12, _hoisted_6))
446
430
  ]);
447
431
  }),
448
432
  128
449
433
  /* KEYED_FRAGMENT */
450
434
  ))
451
435
  ]),
452
- _hoisted_11,
453
- createElementVNode("div", _hoisted_12, [
436
+ _hoisted_7,
437
+ createElementVNode("div", _hoisted_8, [
454
438
  (openBlock(), createElementBlock(
455
439
  Fragment,
456
440
  null,
@@ -461,22 +445,59 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
461
445
  onMousemove: handleMouseMove,
462
446
  onMousedown: ($event) => handleMouseDown("margin", item, $event),
463
447
  onMouseup: handleMouseUp
464
- }, null, 42, _hoisted_13);
448
+ }, null, 42, _hoisted_9);
465
449
  }),
466
450
  64
467
451
  /* STABLE_FRAGMENT */
468
452
  ))
469
453
  ]),
470
- _hoisted_14,
454
+ _hoisted_10,
455
+ createElementVNode("div", _hoisted_11, [
456
+ createVNode(_component_el_tooltip, {
457
+ "show-after": 1e3,
458
+ class: "box-item",
459
+ effect: "dark",
460
+ content: "\u8054\u52A8",
461
+ placement: "top-start"
462
+ }, {
463
+ default: withCtx(() => [
464
+ createVNode(_component_dk_icon, {
465
+ style: { "margin-right": "5px" },
466
+ icon: "Connection",
467
+ color: bind.margin ? "#f00" : "#303133",
468
+ onClick: _cache[0] || (_cache[0] = ($event) => onBind("margin"))
469
+ }, null, 8, ["color"])
470
+ ]),
471
+ _: 1
472
+ /* STABLE */
473
+ }),
474
+ createVNode(_component_el_tooltip, {
475
+ "show-after": 1e3,
476
+ class: "box-item",
477
+ effect: "dark",
478
+ content: "\u91CD\u7F6E\u5916\u8FB9\u8DDD",
479
+ placement: "top-start"
480
+ }, {
481
+ default: withCtx(() => [
482
+ createVNode(_component_dk_icon, {
483
+ icon: "Refresh",
484
+ color: "#303133",
485
+ onClick: _cache[1] || (_cache[1] = ($event) => onRefresh("margin"))
486
+ })
487
+ ]),
488
+ _: 1
489
+ /* STABLE */
490
+ })
491
+ ]),
471
492
  createCommentVNode("\u5916\u8FB9\u8DDD Margin END"),
472
493
  createCommentVNode("\u5185\u8FB9\u8DDD Padding"),
473
- createElementVNode("div", _hoisted_15, [
494
+ createElementVNode("div", _hoisted_12, [
474
495
  createElementVNode(
475
496
  "div",
476
497
  {
477
498
  class: normalizeClass(["thumnail padding", moves.padding ? "thumnail-heightlight" : ""]),
478
- onMousemove: _cache[11] || (_cache[11] = ($event) => onMouseMove("padding", "move", $event)),
479
- onMouseleave: _cache[12] || (_cache[12] = ($event) => onMouseMove("padding", "leave", $event))
499
+ onMousemove: _cache[12] || (_cache[12] = ($event) => onMouseMove("padding", "move", $event)),
500
+ onMouseleave: _cache[13] || (_cache[13] = ($event) => onMouseMove("padding", "leave", $event))
480
501
  },
481
502
  [
482
503
  createElementVNode("div", null, [
@@ -488,7 +509,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
488
509
  createElementVNode("span", {
489
510
  title: item.title,
490
511
  class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
491
- onClick: ($event) => onDblclick(item.value, key + 4)
512
+ onDblclick: ($event) => onDblclick(item.value, key + 4)
492
513
  }, [
493
514
  createElementVNode(
494
515
  "span",
@@ -497,7 +518,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
497
518
  1
498
519
  /* TEXT */
499
520
  )
500
- ], 10, _hoisted_16),
521
+ ], 42, _hoisted_13),
501
522
  withDirectives(createElementVNode("input", {
502
523
  ref_for: true,
503
524
  ref_key: "inputField",
@@ -505,7 +526,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
505
526
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
506
527
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
507
528
  onBlur: ($event) => onBlur(item.value)
508
- }, null, 42, _hoisted_17), [
529
+ }, null, 42, _hoisted_14), [
509
530
  [vModelText, styles[item.value]]
510
531
  ]),
511
532
  (openBlock(), createElementBlock("svg", {
@@ -517,14 +538,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
517
538
  style: normalizeStyle(item.svg.style),
518
539
  class: "esm-modal-svg",
519
540
  innerHTML: item.svg.content
520
- }, null, 12, _hoisted_18))
541
+ }, null, 12, _hoisted_15))
521
542
  ]);
522
543
  }),
523
544
  128
524
545
  /* KEYED_FRAGMENT */
525
546
  ))
526
547
  ]),
527
- createElementVNode("div", _hoisted_19, [
548
+ createElementVNode("div", _hoisted_16, [
528
549
  (openBlock(), createElementBlock(
529
550
  Fragment,
530
551
  null,
@@ -535,43 +556,86 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
535
556
  onMousemove: handleMouseMove,
536
557
  onMousedown: ($event) => handleMouseDown("padding", item, $event),
537
558
  onMouseup: handleMouseUp
538
- }, null, 42, _hoisted_20);
559
+ }, null, 42, _hoisted_17);
539
560
  }),
540
561
  64
541
562
  /* STABLE_FRAGMENT */
542
563
  ))
543
564
  ]),
544
- _hoisted_21,
565
+ _hoisted_18,
566
+ createElementVNode("div", _hoisted_19, [
567
+ createVNode(_component_el_tooltip, {
568
+ "show-after": 1e3,
569
+ class: "box-item",
570
+ effect: "dark",
571
+ content: "\u8054\u52A8",
572
+ placement: "top-start"
573
+ }, {
574
+ default: withCtx(() => [
575
+ createVNode(_component_dk_icon, {
576
+ style: { "margin-right": "5px" },
577
+ icon: "Connection",
578
+ color: bind.padding ? "#f00" : "#303133",
579
+ onClick: _cache[2] || (_cache[2] = ($event) => onBind("padding"))
580
+ }, null, 8, ["color"])
581
+ ]),
582
+ _: 1
583
+ /* STABLE */
584
+ }),
585
+ createVNode(_component_el_tooltip, {
586
+ "show-after": 1e3,
587
+ class: "box-item",
588
+ effect: "dark",
589
+ content: "\u91CD\u7F6E\u5185\u8FB9\u8DDD",
590
+ placement: "top-start"
591
+ }, {
592
+ default: withCtx(() => [
593
+ createVNode(_component_dk_icon, {
594
+ icon: "Refresh",
595
+ color: "#303133",
596
+ onClick: _cache[3] || (_cache[3] = ($event) => onRefresh("padding"))
597
+ })
598
+ ]),
599
+ _: 1
600
+ /* STABLE */
601
+ })
602
+ ]),
545
603
  createCommentVNode("\u5185\u8FB9\u8DDD END"),
546
604
  createElementVNode(
547
605
  "div",
548
606
  {
549
607
  class: normalizeClass(["thumnail width-height", moves.widthHeight ? "thumnail-heightlight" : ""]),
550
- onMousemove: _cache[9] || (_cache[9] = ($event) => onMouseMove("widthHeight", "move", $event)),
551
- onMouseleave: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "leave", $event))
608
+ onMousemove: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "move", $event)),
609
+ onMouseleave: _cache[11] || (_cache[11] = ($event) => onMouseMove("widthHeight", "leave", $event))
552
610
  },
553
611
  [
554
- createElementVNode("span", _hoisted_22, [
555
- createElementVNode("span", {
556
- class: "content-unit left-0",
557
- onClick: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
558
- }, [
559
- createElementVNode(
560
- "em",
561
- null,
562
- toDisplayString(getValue(styles["width"])),
563
- 1
564
- /* TEXT */
565
- )
566
- ]),
612
+ createElementVNode("span", _hoisted_20, [
613
+ createElementVNode(
614
+ "span",
615
+ {
616
+ class: "content-unit left-0",
617
+ onDblclick: _cache[4] || (_cache[4] = ($event) => onDblclick("width", 9))
618
+ },
619
+ [
620
+ createElementVNode(
621
+ "em",
622
+ null,
623
+ toDisplayString(getValue(styles["width"])),
624
+ 1
625
+ /* TEXT */
626
+ )
627
+ ],
628
+ 32
629
+ /* HYDRATE_EVENTS */
630
+ ),
567
631
  withDirectives(createElementVNode(
568
632
  "input",
569
633
  {
570
634
  ref_key: "inputWidth",
571
635
  ref: inputWidth,
572
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => styles.width = $event),
636
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => styles.width = $event),
573
637
  class: normalizeClass(["input-box absolute left-5% top-10px", showStyles["width"] ? " show" : ""]),
574
- onBlur: _cache[5] || (_cache[5] = ($event) => onBlur("width"))
638
+ onBlur: _cache[6] || (_cache[6] = ($event) => onBlur("width"))
575
639
  },
576
640
  null,
577
641
  34
@@ -579,27 +643,33 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
579
643
  ), [
580
644
  [vModelText, styles.width]
581
645
  ]),
582
- _hoisted_23,
583
- createElementVNode("span", {
584
- class: "content-unit right-0",
585
- onClick: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
586
- }, [
587
- createElementVNode(
588
- "em",
589
- null,
590
- toDisplayString(getValue(styles["height"])),
591
- 1
592
- /* TEXT */
593
- )
594
- ]),
646
+ _hoisted_21,
647
+ createElementVNode(
648
+ "span",
649
+ {
650
+ class: "content-unit right-0",
651
+ onDblclick: _cache[7] || (_cache[7] = ($event) => onDblclick("height", 9))
652
+ },
653
+ [
654
+ createElementVNode(
655
+ "em",
656
+ null,
657
+ toDisplayString(getValue(styles["height"])),
658
+ 1
659
+ /* TEXT */
660
+ )
661
+ ],
662
+ 32
663
+ /* HYDRATE_EVENTS */
664
+ ),
595
665
  withDirectives(createElementVNode(
596
666
  "input",
597
667
  {
598
668
  ref_key: "inputHeight",
599
669
  ref: inputHeight,
600
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => styles.height = $event),
670
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => styles.height = $event),
601
671
  class: normalizeClass(["input-box absolute right-5% top-10px", showStyles["height"] ? " show" : ""]),
602
- onBlur: _cache[8] || (_cache[8] = ($event) => onBlur("height"))
672
+ onBlur: _cache[9] || (_cache[9] = ($event) => onBlur("height"))
603
673
  },
604
674
  null,
605
675
  34