@vipl520/dk-ui 1.0.53 → 1.0.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/dist/attributes.json +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +2012 -1428
  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 +2011 -1429
  9. package/dist/tags.json +7 -0
  10. package/dist/web-types.json +35 -1
  11. package/es/form/src/form.vue2.mjs +0 -1
  12. package/es/form/src/form.vue2.mjs.map +1 -1
  13. package/es/group/src/group.vue2.mjs +1 -0
  14. package/es/group/src/group.vue2.mjs.map +1 -1
  15. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +23 -21
  16. package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
  17. package/es/icon/style/index.css +0 -1
  18. package/es/icon/style/index.scss +1 -1
  19. package/es/index.d.ts +1 -0
  20. package/es/index.mjs +5 -2
  21. package/es/index.mjs.map +1 -1
  22. package/es/index.scss +1 -0
  23. package/es/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  24. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs +114 -0
  25. package/es/page-diy/src/config/rule/min/common/DkMinGrid.mjs.map +1 -0
  26. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  27. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +7 -1
  28. package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -1
  29. package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  30. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +76 -62
  31. package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
  32. package/es/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  33. package/es/page-diy/src/config/rule/min/common/index.mjs +4 -2
  34. package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
  35. package/es/page-diy/src/config/rule/min/index.d.ts +240 -60
  36. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs +1 -1
  37. package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -1
  38. package/es/page-diy/src/props.mjs +1 -1
  39. package/es/page-diy/src/props.mjs.map +1 -1
  40. package/es/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  41. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs +65 -0
  42. package/es/page-diy/src/views/min/DkMinGrid.vue.mjs.map +1 -0
  43. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  44. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +7 -2
  45. package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
  46. package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  47. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +59 -30
  48. package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
  49. package/es/page-diy/src/views/min/index.mjs +3 -1
  50. package/es/page-diy/src/views/min/index.mjs.map +1 -1
  51. package/es/page-diy/style/drag-tool.css +1 -1
  52. package/es/page-diy/style/drag-tool.scss +4 -0
  53. package/es/page-diy/style/index.css +1 -1
  54. package/es/page-diy/style/minViews/index.scss +8 -0
  55. package/es/style-box-input/src/style-box-input.vue2.mjs +200 -130
  56. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  57. package/es/style-box-input/style/index.css +1 -1
  58. package/es/style-box-input/style/index.scss +13 -3
  59. package/es/style-font-input/src/style-font-input.vue2.mjs +105 -272
  60. package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
  61. package/es/style-input/src/style-input.vue2.mjs +1 -0
  62. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  63. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +1 -1
  64. package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
  65. package/es/test/index.d.ts +4 -2
  66. package/es/test/src/test.vue.d.ts +4 -2
  67. package/es/test/src/test.vue2.mjs +14 -3
  68. package/es/test/src/test.vue2.mjs.map +1 -1
  69. package/es/tiny-editor/src/tiny-editor.vue2.mjs +1 -1
  70. package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
  71. package/es/uni-icon/style/index.css +1 -1
  72. package/es/uni-icon/style/index.scss +1 -1
  73. package/es/url-input/index.d.ts +35 -0
  74. package/es/url-input/index.mjs +8 -0
  75. package/es/url-input/index.mjs.map +1 -0
  76. package/es/url-input/src/props.d.ts +16 -0
  77. package/es/url-input/src/props.mjs +13 -0
  78. package/es/url-input/src/props.mjs.map +1 -0
  79. package/es/url-input/src/url-input-content.vue.d.ts +25 -0
  80. package/es/url-input/src/url-input-content.vue.mjs +7 -0
  81. package/es/url-input/src/url-input-content.vue.mjs.map +1 -0
  82. package/es/url-input/src/url-input-content.vue2.mjs +301 -0
  83. package/es/url-input/src/url-input-content.vue2.mjs.map +1 -0
  84. package/es/url-input/src/url-input-table.vue.d.ts +16 -0
  85. package/es/url-input/src/url-input-table.vue.mjs +7 -0
  86. package/es/url-input/src/url-input-table.vue.mjs.map +1 -0
  87. package/es/url-input/src/url-input-table.vue2.mjs +63 -0
  88. package/es/url-input/src/url-input-table.vue2.mjs.map +1 -0
  89. package/es/url-input/src/url-input.vue.d.ts +34 -0
  90. package/es/url-input/src/url-input.vue.mjs +7 -0
  91. package/es/url-input/src/url-input.vue.mjs.map +1 -0
  92. package/es/url-input/src/url-input.vue2.mjs +69 -0
  93. package/es/url-input/src/url-input.vue2.mjs.map +1 -0
  94. package/es/url-input/style/index.css +1 -0
  95. package/es/url-input/style/index.scss +39 -0
  96. package/lib/form/src/form.vue2.js +0 -1
  97. package/lib/form/src/form.vue2.js.map +1 -1
  98. package/lib/group/src/group.vue2.js +1 -0
  99. package/lib/group/src/group.vue2.js.map +1 -1
  100. package/lib/hot-area-input/src/component/hot-area-content.vue2.js +23 -21
  101. package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
  102. package/lib/icon/style/index.css +0 -1
  103. package/lib/icon/style/index.scss +1 -1
  104. package/lib/index.d.ts +1 -0
  105. package/lib/index.js +8 -3
  106. package/lib/index.js.map +1 -1
  107. package/lib/index.scss +1 -0
  108. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.d.ts +81 -0
  109. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js +118 -0
  110. package/lib/page-diy/src/config/rule/min/common/DkMinGrid.js.map +1 -0
  111. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +8 -0
  112. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +7 -1
  113. package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -1
  114. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +35 -30
  115. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +76 -62
  116. package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
  117. package/lib/page-diy/src/config/rule/min/common/index.d.ts +240 -60
  118. package/lib/page-diy/src/config/rule/min/common/index.js +4 -2
  119. package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
  120. package/lib/page-diy/src/config/rule/min/index.d.ts +240 -60
  121. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js +1 -1
  122. package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -1
  123. package/lib/page-diy/src/props.js +1 -1
  124. package/lib/page-diy/src/props.js.map +1 -1
  125. package/lib/page-diy/src/views/min/DkMinGrid.vue.d.ts +22 -0
  126. package/lib/page-diy/src/views/min/DkMinGrid.vue.js +69 -0
  127. package/lib/page-diy/src/views/min/DkMinGrid.vue.js.map +1 -0
  128. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +9 -0
  129. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +7 -2
  130. package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
  131. package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +62 -17
  132. package/lib/page-diy/src/views/min/DkMinTitle.vue.js +58 -29
  133. package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
  134. package/lib/page-diy/src/views/min/index.js +3 -1
  135. package/lib/page-diy/src/views/min/index.js.map +1 -1
  136. package/lib/page-diy/style/drag-tool.css +1 -1
  137. package/lib/page-diy/style/drag-tool.scss +4 -0
  138. package/lib/page-diy/style/index.css +1 -1
  139. package/lib/page-diy/style/minViews/index.scss +8 -0
  140. package/lib/style-box-input/src/style-box-input.vue2.js +199 -129
  141. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  142. package/lib/style-box-input/style/index.css +1 -1
  143. package/lib/style-box-input/style/index.scss +13 -3
  144. package/lib/style-font-input/src/style-font-input.vue2.js +105 -272
  145. package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
  146. package/lib/style-input/src/style-input.vue2.js +1 -0
  147. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  148. package/lib/style-shadow-input/src/style-shadow-input.vue2.js +1 -1
  149. package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
  150. package/lib/test/index.d.ts +4 -2
  151. package/lib/test/src/test.vue.d.ts +4 -2
  152. package/lib/test/src/test.vue2.js +14 -3
  153. package/lib/test/src/test.vue2.js.map +1 -1
  154. package/lib/tiny-editor/src/tiny-editor.vue2.js +1 -1
  155. package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
  156. package/lib/uni-icon/style/index.css +1 -1
  157. package/lib/uni-icon/style/index.scss +1 -1
  158. package/lib/url-input/index.d.ts +35 -0
  159. package/lib/url-input/index.js +14 -0
  160. package/lib/url-input/index.js.map +1 -0
  161. package/lib/url-input/src/props.d.ts +16 -0
  162. package/lib/url-input/src/props.js +15 -0
  163. package/lib/url-input/src/props.js.map +1 -0
  164. package/lib/url-input/src/url-input-content.vue.d.ts +25 -0
  165. package/lib/url-input/src/url-input-content.vue.js +11 -0
  166. package/lib/url-input/src/url-input-content.vue.js.map +1 -0
  167. package/lib/url-input/src/url-input-content.vue2.js +305 -0
  168. package/lib/url-input/src/url-input-content.vue2.js.map +1 -0
  169. package/lib/url-input/src/url-input-table.vue.d.ts +16 -0
  170. package/lib/url-input/src/url-input-table.vue.js +11 -0
  171. package/lib/url-input/src/url-input-table.vue.js.map +1 -0
  172. package/lib/url-input/src/url-input-table.vue2.js +67 -0
  173. package/lib/url-input/src/url-input-table.vue2.js.map +1 -0
  174. package/lib/url-input/src/url-input.vue.d.ts +34 -0
  175. package/lib/url-input/src/url-input.vue.js +11 -0
  176. package/lib/url-input/src/url-input.vue.js.map +1 -0
  177. package/lib/url-input/src/url-input.vue2.js +73 -0
  178. package/lib/url-input/src/url-input.vue2.js.map +1 -0
  179. package/lib/url-input/style/index.css +1 -0
  180. package/lib/url-input/style/index.scss +39 -0
  181. 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