@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
@@ -11,44 +11,42 @@ var core = require('@vueuse/core');
11
11
  const _hoisted_1 = { class: "dk-style-box-input" };
12
12
  const _hoisted_2 = { class: "header" };
13
13
  const _hoisted_3 = { class: "items-center" };
14
- const _hoisted_4 = { class: "float-right cursor-pointer" };
15
- const _hoisted_5 = { class: "name-header-operations" };
16
- const _hoisted_6 = { class: "name-header-operations" };
17
- const _hoisted_7 = { class: "name-header-operations" };
18
- const _hoisted_8 = ["title", "onClick"];
19
- const _hoisted_9 = ["onUpdate:modelValue", "onBlur"];
20
- const _hoisted_10 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
21
- const _hoisted_11 = /* @__PURE__ */ vue.createElementVNode(
14
+ const _hoisted_4 = ["title", "onDblclick"];
15
+ const _hoisted_5 = ["onUpdate:modelValue", "onBlur"];
16
+ const _hoisted_6 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
17
+ const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode(
22
18
  "div",
23
19
  { style: { "position": "absolute", "display": "none", "width": "100%", "height": "100%" } },
24
20
  null,
25
21
  -1
26
22
  /* HOISTED */
27
23
  );
28
- const _hoisted_12 = { class: "anchor-wrapper" };
29
- const _hoisted_13 = ["onMousedown"];
30
- const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode(
24
+ const _hoisted_8 = { class: "anchor-wrapper" };
25
+ const _hoisted_9 = ["onMousedown"];
26
+ const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode(
31
27
  "span",
32
28
  { class: "title" },
33
29
  " \u5916\u8FB9\u8DDD ",
34
30
  -1
35
31
  /* HOISTED */
36
32
  );
37
- const _hoisted_15 = { class: "thumnail border" };
38
- const _hoisted_16 = ["title", "onClick"];
39
- const _hoisted_17 = ["onUpdate:modelValue", "onBlur"];
40
- const _hoisted_18 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
41
- const _hoisted_19 = { class: "anchor-wrapper" };
42
- const _hoisted_20 = ["onMousedown"];
43
- const _hoisted_21 = /* @__PURE__ */ vue.createElementVNode(
33
+ const _hoisted_11 = { class: "tools" };
34
+ const _hoisted_12 = { class: "thumnail border" };
35
+ const _hoisted_13 = ["title", "onDblclick"];
36
+ const _hoisted_14 = ["onUpdate:modelValue", "onBlur"];
37
+ const _hoisted_15 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
38
+ const _hoisted_16 = { class: "anchor-wrapper" };
39
+ const _hoisted_17 = ["onMousedown"];
40
+ const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode(
44
41
  "span",
45
42
  { class: "title" },
46
43
  " \u5185\u8FB9\u8DDD ",
47
44
  -1
48
45
  /* HOISTED */
49
46
  );
50
- const _hoisted_22 = { class: "title" };
51
- const _hoisted_23 = /* @__PURE__ */ vue.createElementVNode(
47
+ const _hoisted_19 = { class: "tools" };
48
+ const _hoisted_20 = { class: "title" };
49
+ const _hoisted_21 = /* @__PURE__ */ vue.createElementVNode(
52
50
  "span",
53
51
  null,
54
52
  " x ",
@@ -86,8 +84,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
86
84
  });
87
85
  const box = vue.ref(null);
88
86
  const { width } = core.useElementSize(box);
87
+ const bind = vue.reactive({
88
+ padding: false,
89
+ margin: false,
90
+ size: false
91
+ });
89
92
  const height = vue.computed(() => {
90
- console.log("props.height", props.height);
91
93
  if (props.height === "auto") {
92
94
  const h = width.value / 1.8;
93
95
  return h > 300 ? 300 : h;
@@ -172,6 +174,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
172
174
  difference = -difference;
173
175
  }
174
176
  styles[value] = (parseInt(styles[value]) || 0) + difference + "px";
177
+ if (bind[type]) {
178
+ styles[type + "Top"] = styles[value];
179
+ styles[type + "Bottom"] = styles[value];
180
+ styles[type + "Left"] = styles[value];
181
+ styles[type + "Right"] = styles[value];
182
+ }
175
183
  startPosition[axis] = event[clientAxis];
176
184
  };
177
185
  if (p === "left" || p === "right") {
@@ -278,6 +286,18 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
278
286
  styles[value] = "";
279
287
  } else {
280
288
  styles[value] = number + "px";
289
+ if (value.indexOf("padding") == 0 && bind.padding) {
290
+ styles.paddingTop = styles[value];
291
+ styles.paddingRight = styles[value];
292
+ styles.paddingBottom = styles[value];
293
+ styles.paddingLeft = styles[value];
294
+ }
295
+ if (value.indexOf("margin") == 0 && bind.padding) {
296
+ styles.marginTop = styles[value];
297
+ styles.marginRight = styles[value];
298
+ styles.marginBottom = styles[value];
299
+ styles.marginLeft = styles[value];
300
+ }
281
301
  }
282
302
  }
283
303
  };
@@ -297,6 +317,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
297
317
  styles.paddingBottom = "";
298
318
  }
299
319
  };
320
+ const onBind = (type) => {
321
+ bind[type] = !bind[type];
322
+ };
300
323
  return (_ctx, _cache) => {
301
324
  const _component_dk_icon = vue.resolveComponent("dk-icon");
302
325
  const _component_el_popover = vue.resolveComponent("el-popover");
@@ -333,62 +356,23 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
333
356
  /* STABLE */
334
357
  }, 8, ["content"])
335
358
  ]),
336
- vue.createElementVNode("div", _hoisted_4, [
337
- vue.createElementVNode("div", _hoisted_5, [
338
- vue.createVNode(_component_el_tooltip, {
339
- class: "box-item",
340
- effect: "dark",
341
- content: "\u91CD\u7F6E\u9AD8\u5BBD",
342
- placement: "top-start"
343
- }, {
344
- default: vue.withCtx(() => [
345
- vue.createVNode(_component_dk_icon, {
346
- icon: "Refresh",
347
- color: "var(--el-color-primary)",
348
- onClick: _cache[0] || (_cache[0] = ($event) => onRefresh("widthHeight"))
349
- })
350
- ]),
351
- _: 1
352
- /* STABLE */
353
- })
354
- ]),
355
- vue.createElementVNode("div", _hoisted_6, [
356
- vue.createVNode(_component_el_tooltip, {
357
- class: "box-item",
358
- effect: "dark",
359
- content: "\u91CD\u7F6E\u5185\u8FB9\u8DDD",
360
- placement: "top-start"
361
- }, {
362
- default: vue.withCtx(() => [
363
- vue.createVNode(_component_dk_icon, {
364
- icon: "Refresh",
365
- color: "var(--el-color-success)",
366
- onClick: _cache[1] || (_cache[1] = ($event) => onRefresh("padding"))
367
- })
368
- ]),
369
- _: 1
370
- /* STABLE */
371
- })
372
- ]),
373
- vue.createElementVNode("div", _hoisted_7, [
374
- vue.createVNode(_component_el_tooltip, {
375
- class: "box-item",
376
- effect: "dark",
377
- content: "\u91CD\u7F6E\u5916\u8FB9\u8DDD",
378
- placement: "top-start"
379
- }, {
380
- default: vue.withCtx(() => [
381
- vue.createVNode(_component_dk_icon, {
382
- icon: "Refresh",
383
- color: "var(--el-color-warning)",
384
- onClick: _cache[2] || (_cache[2] = ($event) => onRefresh("margin"))
385
- })
386
- ]),
387
- _: 1
388
- /* STABLE */
389
- })
390
- ])
391
- ]),
359
+ vue.createCommentVNode(' <div class="float-right cursor-pointer">'),
360
+ vue.createCommentVNode(' <div class="name-header-operations">'),
361
+ vue.createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u9AD8\u5BBD" placement="top-start">'),
362
+ vue.createCommentVNode(` <dk-icon icon="Refresh" color="#303133" @click="onRefresh('widthHeight')"></dk-icon>`),
363
+ vue.createCommentVNode(" </el-tooltip>"),
364
+ vue.createCommentVNode(" </div>"),
365
+ vue.createCommentVNode(' <div class="name-header-operations">'),
366
+ vue.createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u5185\u8FB9\u8DDD" placement="top-start">'),
367
+ vue.createCommentVNode(` <dk-icon icon="Refresh" color="var(&#45;&#45;el-color-success)" @click="onRefresh('padding')"></dk-icon>`),
368
+ vue.createCommentVNode(" </el-tooltip>"),
369
+ vue.createCommentVNode(" </div>"),
370
+ vue.createCommentVNode(' <div class="name-header-operations">'),
371
+ vue.createCommentVNode(' <el-tooltip class="box-item" effect="dark" content="\u91CD\u7F6E\u5916\u8FB9\u8DDD" placement="top-start">'),
372
+ vue.createCommentVNode(` <dk-icon icon="Refresh" color="var(&#45;&#45;el-color-warning)" @click="onRefresh('margin')"></dk-icon>`),
373
+ vue.createCommentVNode(" </el-tooltip>"),
374
+ vue.createCommentVNode(" </div>"),
375
+ vue.createCommentVNode(" </div>"),
392
376
  vue.createElementVNode(
393
377
  "div",
394
378
  {
@@ -403,8 +387,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
403
387
  "div",
404
388
  {
405
389
  class: vue.normalizeClass(["thumnail margin", moves.margin ? "thumnail-heightlight" : ""]),
406
- onMousemove: _cache[13] || (_cache[13] = ($event) => onMouseMove("margin", "move", $event)),
407
- onMouseleave: _cache[14] || (_cache[14] = ($event) => onMouseMove("margin", "leave", $event))
390
+ onMousemove: _cache[14] || (_cache[14] = ($event) => onMouseMove("margin", "move", $event)),
391
+ onMouseleave: _cache[15] || (_cache[15] = ($event) => onMouseMove("margin", "leave", $event))
408
392
  },
409
393
  [
410
394
  vue.createCommentVNode("\u5916\u8FB9\u8DDD Margin"),
@@ -417,7 +401,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
417
401
  vue.createElementVNode("span", {
418
402
  title: item.title,
419
403
  class: vue.normalizeClass(`anchor-tip-${item.position} value-indicator`),
420
- onClick: ($event) => onDblclick(item.value, key)
404
+ onDblclick: ($event) => onDblclick(item.value, key)
421
405
  }, [
422
406
  vue.createElementVNode(
423
407
  "span",
@@ -426,7 +410,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
426
410
  1
427
411
  /* TEXT */
428
412
  )
429
- ], 10, _hoisted_8),
413
+ ], 42, _hoisted_4),
430
414
  vue.withDirectives(vue.createElementVNode("input", {
431
415
  ref_for: true,
432
416
  ref_key: "inputField",
@@ -434,7 +418,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
434
418
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
435
419
  class: vue.normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
436
420
  onBlur: ($event) => onBlur(item.value)
437
- }, null, 42, _hoisted_9), [
421
+ }, null, 42, _hoisted_5), [
438
422
  [vue.vModelText, styles[item.value]]
439
423
  ]),
440
424
  (vue.openBlock(), vue.createElementBlock("svg", {
@@ -446,15 +430,15 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
446
430
  style: vue.normalizeStyle(item.svg.style),
447
431
  class: "esm-modal-svg",
448
432
  innerHTML: item.svg.content
449
- }, null, 12, _hoisted_10))
433
+ }, null, 12, _hoisted_6))
450
434
  ]);
451
435
  }),
452
436
  128
453
437
  /* KEYED_FRAGMENT */
454
438
  ))
455
439
  ]),
456
- _hoisted_11,
457
- vue.createElementVNode("div", _hoisted_12, [
440
+ _hoisted_7,
441
+ vue.createElementVNode("div", _hoisted_8, [
458
442
  (vue.openBlock(), vue.createElementBlock(
459
443
  vue.Fragment,
460
444
  null,
@@ -465,22 +449,59 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
465
449
  onMousemove: handleMouseMove,
466
450
  onMousedown: ($event) => handleMouseDown("margin", item, $event),
467
451
  onMouseup: handleMouseUp
468
- }, null, 42, _hoisted_13);
452
+ }, null, 42, _hoisted_9);
469
453
  }),
470
454
  64
471
455
  /* STABLE_FRAGMENT */
472
456
  ))
473
457
  ]),
474
- _hoisted_14,
458
+ _hoisted_10,
459
+ vue.createElementVNode("div", _hoisted_11, [
460
+ vue.createVNode(_component_el_tooltip, {
461
+ "show-after": 1e3,
462
+ class: "box-item",
463
+ effect: "dark",
464
+ content: "\u8054\u52A8",
465
+ placement: "top-start"
466
+ }, {
467
+ default: vue.withCtx(() => [
468
+ vue.createVNode(_component_dk_icon, {
469
+ style: { "margin-right": "5px" },
470
+ icon: "Connection",
471
+ color: bind.margin ? "#f00" : "#303133",
472
+ onClick: _cache[0] || (_cache[0] = ($event) => onBind("margin"))
473
+ }, null, 8, ["color"])
474
+ ]),
475
+ _: 1
476
+ /* STABLE */
477
+ }),
478
+ vue.createVNode(_component_el_tooltip, {
479
+ "show-after": 1e3,
480
+ class: "box-item",
481
+ effect: "dark",
482
+ content: "\u91CD\u7F6E\u5916\u8FB9\u8DDD",
483
+ placement: "top-start"
484
+ }, {
485
+ default: vue.withCtx(() => [
486
+ vue.createVNode(_component_dk_icon, {
487
+ icon: "Refresh",
488
+ color: "#303133",
489
+ onClick: _cache[1] || (_cache[1] = ($event) => onRefresh("margin"))
490
+ })
491
+ ]),
492
+ _: 1
493
+ /* STABLE */
494
+ })
495
+ ]),
475
496
  vue.createCommentVNode("\u5916\u8FB9\u8DDD Margin END"),
476
497
  vue.createCommentVNode("\u5185\u8FB9\u8DDD Padding"),
477
- vue.createElementVNode("div", _hoisted_15, [
498
+ vue.createElementVNode("div", _hoisted_12, [
478
499
  vue.createElementVNode(
479
500
  "div",
480
501
  {
481
502
  class: vue.normalizeClass(["thumnail padding", moves.padding ? "thumnail-heightlight" : ""]),
482
- onMousemove: _cache[11] || (_cache[11] = ($event) => onMouseMove("padding", "move", $event)),
483
- onMouseleave: _cache[12] || (_cache[12] = ($event) => onMouseMove("padding", "leave", $event))
503
+ onMousemove: _cache[12] || (_cache[12] = ($event) => onMouseMove("padding", "move", $event)),
504
+ onMouseleave: _cache[13] || (_cache[13] = ($event) => onMouseMove("padding", "leave", $event))
484
505
  },
485
506
  [
486
507
  vue.createElementVNode("div", null, [
@@ -492,7 +513,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
492
513
  vue.createElementVNode("span", {
493
514
  title: item.title,
494
515
  class: vue.normalizeClass(`anchor-tip-${item.position} value-indicator`),
495
- onClick: ($event) => onDblclick(item.value, key + 4)
516
+ onDblclick: ($event) => onDblclick(item.value, key + 4)
496
517
  }, [
497
518
  vue.createElementVNode(
498
519
  "span",
@@ -501,7 +522,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
501
522
  1
502
523
  /* TEXT */
503
524
  )
504
- ], 10, _hoisted_16),
525
+ ], 42, _hoisted_13),
505
526
  vue.withDirectives(vue.createElementVNode("input", {
506
527
  ref_for: true,
507
528
  ref_key: "inputField",
@@ -509,7 +530,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
509
530
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
510
531
  class: vue.normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
511
532
  onBlur: ($event) => onBlur(item.value)
512
- }, null, 42, _hoisted_17), [
533
+ }, null, 42, _hoisted_14), [
513
534
  [vue.vModelText, styles[item.value]]
514
535
  ]),
515
536
  (vue.openBlock(), vue.createElementBlock("svg", {
@@ -521,14 +542,14 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
521
542
  style: vue.normalizeStyle(item.svg.style),
522
543
  class: "esm-modal-svg",
523
544
  innerHTML: item.svg.content
524
- }, null, 12, _hoisted_18))
545
+ }, null, 12, _hoisted_15))
525
546
  ]);
526
547
  }),
527
548
  128
528
549
  /* KEYED_FRAGMENT */
529
550
  ))
530
551
  ]),
531
- vue.createElementVNode("div", _hoisted_19, [
552
+ vue.createElementVNode("div", _hoisted_16, [
532
553
  (vue.openBlock(), vue.createElementBlock(
533
554
  vue.Fragment,
534
555
  null,
@@ -539,43 +560,86 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
539
560
  onMousemove: handleMouseMove,
540
561
  onMousedown: ($event) => handleMouseDown("padding", item, $event),
541
562
  onMouseup: handleMouseUp
542
- }, null, 42, _hoisted_20);
563
+ }, null, 42, _hoisted_17);
543
564
  }),
544
565
  64
545
566
  /* STABLE_FRAGMENT */
546
567
  ))
547
568
  ]),
548
- _hoisted_21,
569
+ _hoisted_18,
570
+ vue.createElementVNode("div", _hoisted_19, [
571
+ vue.createVNode(_component_el_tooltip, {
572
+ "show-after": 1e3,
573
+ class: "box-item",
574
+ effect: "dark",
575
+ content: "\u8054\u52A8",
576
+ placement: "top-start"
577
+ }, {
578
+ default: vue.withCtx(() => [
579
+ vue.createVNode(_component_dk_icon, {
580
+ style: { "margin-right": "5px" },
581
+ icon: "Connection",
582
+ color: bind.padding ? "#f00" : "#303133",
583
+ onClick: _cache[2] || (_cache[2] = ($event) => onBind("padding"))
584
+ }, null, 8, ["color"])
585
+ ]),
586
+ _: 1
587
+ /* STABLE */
588
+ }),
589
+ vue.createVNode(_component_el_tooltip, {
590
+ "show-after": 1e3,
591
+ class: "box-item",
592
+ effect: "dark",
593
+ content: "\u91CD\u7F6E\u5185\u8FB9\u8DDD",
594
+ placement: "top-start"
595
+ }, {
596
+ default: vue.withCtx(() => [
597
+ vue.createVNode(_component_dk_icon, {
598
+ icon: "Refresh",
599
+ color: "#303133",
600
+ onClick: _cache[3] || (_cache[3] = ($event) => onRefresh("padding"))
601
+ })
602
+ ]),
603
+ _: 1
604
+ /* STABLE */
605
+ })
606
+ ]),
549
607
  vue.createCommentVNode("\u5185\u8FB9\u8DDD END"),
550
608
  vue.createElementVNode(
551
609
  "div",
552
610
  {
553
611
  class: vue.normalizeClass(["thumnail width-height", moves.widthHeight ? "thumnail-heightlight" : ""]),
554
- onMousemove: _cache[9] || (_cache[9] = ($event) => onMouseMove("widthHeight", "move", $event)),
555
- onMouseleave: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "leave", $event))
612
+ onMousemove: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "move", $event)),
613
+ onMouseleave: _cache[11] || (_cache[11] = ($event) => onMouseMove("widthHeight", "leave", $event))
556
614
  },
557
615
  [
558
- vue.createElementVNode("span", _hoisted_22, [
559
- vue.createElementVNode("span", {
560
- class: "content-unit left-0",
561
- onClick: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
562
- }, [
563
- vue.createElementVNode(
564
- "em",
565
- null,
566
- vue.toDisplayString(getValue(styles["width"])),
567
- 1
568
- /* TEXT */
569
- )
570
- ]),
616
+ vue.createElementVNode("span", _hoisted_20, [
617
+ vue.createElementVNode(
618
+ "span",
619
+ {
620
+ class: "content-unit left-0",
621
+ onDblclick: _cache[4] || (_cache[4] = ($event) => onDblclick("width", 9))
622
+ },
623
+ [
624
+ vue.createElementVNode(
625
+ "em",
626
+ null,
627
+ vue.toDisplayString(getValue(styles["width"])),
628
+ 1
629
+ /* TEXT */
630
+ )
631
+ ],
632
+ 32
633
+ /* HYDRATE_EVENTS */
634
+ ),
571
635
  vue.withDirectives(vue.createElementVNode(
572
636
  "input",
573
637
  {
574
638
  ref_key: "inputWidth",
575
639
  ref: inputWidth,
576
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => styles.width = $event),
640
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => styles.width = $event),
577
641
  class: vue.normalizeClass(["input-box absolute left-5% top-10px", showStyles["width"] ? " show" : ""]),
578
- onBlur: _cache[5] || (_cache[5] = ($event) => onBlur("width"))
642
+ onBlur: _cache[6] || (_cache[6] = ($event) => onBlur("width"))
579
643
  },
580
644
  null,
581
645
  34
@@ -583,27 +647,33 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
583
647
  ), [
584
648
  [vue.vModelText, styles.width]
585
649
  ]),
586
- _hoisted_23,
587
- vue.createElementVNode("span", {
588
- class: "content-unit right-0",
589
- onClick: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
590
- }, [
591
- vue.createElementVNode(
592
- "em",
593
- null,
594
- vue.toDisplayString(getValue(styles["height"])),
595
- 1
596
- /* TEXT */
597
- )
598
- ]),
650
+ _hoisted_21,
651
+ vue.createElementVNode(
652
+ "span",
653
+ {
654
+ class: "content-unit right-0",
655
+ onDblclick: _cache[7] || (_cache[7] = ($event) => onDblclick("height", 9))
656
+ },
657
+ [
658
+ vue.createElementVNode(
659
+ "em",
660
+ null,
661
+ vue.toDisplayString(getValue(styles["height"])),
662
+ 1
663
+ /* TEXT */
664
+ )
665
+ ],
666
+ 32
667
+ /* HYDRATE_EVENTS */
668
+ ),
599
669
  vue.withDirectives(vue.createElementVNode(
600
670
  "input",
601
671
  {
602
672
  ref_key: "inputHeight",
603
673
  ref: inputHeight,
604
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => styles.height = $event),
674
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => styles.height = $event),
605
675
  class: vue.normalizeClass(["input-box absolute right-5% top-10px", showStyles["height"] ? " show" : ""]),
606
- onBlur: _cache[8] || (_cache[8] = ($event) => onBlur("height"))
676
+ onBlur: _cache[9] || (_cache[9] = ($event) => onBlur("height"))
607
677
  },
608
678
  null,
609
679
  34