@vipl520/dk-ui 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2906,7 +2906,7 @@ const _hoisted_20$1 = { key: 3 };
2906
2906
  const _hoisted_21$1 = { class: "file-name over" };
2907
2907
  const _hoisted_22$1 = { class: "right" };
2908
2908
  const _hoisted_23$1 = { class: "block p-10px" };
2909
- const _hoisted_24 = {
2909
+ const _hoisted_24$1 = {
2910
2910
  key: 1,
2911
2911
  style: { "display": "flex", "align-items": "center", "justify-content": "center", "height": "340px" }
2912
2912
  };
@@ -3406,7 +3406,7 @@ var _sfc_main$13 = /* @__PURE__ */ defineComponent({
3406
3406
  ])
3407
3407
  ])), [
3408
3408
  [_directive_loading, loading.value]
3409
- ]) : (openBlock(), createElementBlock("div", _hoisted_24, [
3409
+ ]) : (openBlock(), createElementBlock("div", _hoisted_24$1, [
3410
3410
  createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
3411
3411
  ])),
3412
3412
  (openBlock(), createBlock(_component_dk_form, {
@@ -4828,7 +4828,7 @@ const defaultConfig = [
4828
4828
 
4829
4829
  const styleInputProps = {
4830
4830
  /**
4831
- * 类型定义
4831
+ * 引入组件
4832
4832
  */
4833
4833
  components: {
4834
4834
  default: () => {
@@ -4836,6 +4836,15 @@ const styleInputProps = {
4836
4836
  },
4837
4837
  type: Array
4838
4838
  },
4839
+ /**
4840
+ * 需要隐藏组件
4841
+ */
4842
+ hideComponents: {
4843
+ default: () => {
4844
+ return [];
4845
+ },
4846
+ type: Array
4847
+ },
4839
4848
  modelValue: {
4840
4849
  default: () => {
4841
4850
  return {};
@@ -4870,10 +4879,14 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4870
4879
  });
4871
4880
  emit("update:modelValue", obj);
4872
4881
  };
4882
+ const _components = ref([]);
4873
4883
  const init = () => {
4874
- const components = props.components;
4884
+ _components.value = props.components.filter((item) => {
4885
+ console.log("item.name", item.name);
4886
+ return !props.hideComponents.includes(item.name);
4887
+ });
4875
4888
  const obj = {};
4876
- components.forEach((item) => {
4889
+ _components.value.forEach((item) => {
4877
4890
  const params = item.params;
4878
4891
  const paramsObj = {};
4879
4892
  Object.keys(params).forEach((key) => {
@@ -4912,7 +4925,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4912
4925
  (openBlock(true), createElementBlock(
4913
4926
  Fragment,
4914
4927
  null,
4915
- renderList(props.components, (item, key) => {
4928
+ renderList(_components.value, (item, key) => {
4916
4929
  return openBlock(), createBlock(_component_el_collapse_item, {
4917
4930
  key,
4918
4931
  title: "",
@@ -5465,46 +5478,50 @@ const _hoisted_4$i = { class: "float-right cursor-pointer" };
5465
5478
  const _hoisted_5$d = { class: "name-header-operations" };
5466
5479
  const _hoisted_6$b = { class: "name-header-operations" };
5467
5480
  const _hoisted_7$b = { class: "name-header-operations" };
5468
- const _hoisted_8$9 = ["title", "onDblclick"];
5469
- const _hoisted_9$7 = ["onUpdate:modelValue", "onBlur"];
5470
- const _hoisted_10$5 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5471
- const _hoisted_11$5 = /* @__PURE__ */ createElementVNode(
5481
+ const _hoisted_8$9 = ["title"];
5482
+ const _hoisted_9$7 = ["onMouseenter"];
5483
+ const _hoisted_10$5 = ["onUpdate:modelValue", "onBlur"];
5484
+ const _hoisted_11$5 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5485
+ const _hoisted_12$4 = /* @__PURE__ */ createElementVNode(
5472
5486
  "div",
5473
5487
  { style: { "position": "absolute", "display": "none", "width": "100%", "height": "100%" } },
5474
5488
  null,
5475
5489
  -1
5476
5490
  /* HOISTED */
5477
5491
  );
5478
- const _hoisted_12$4 = { class: "anchor-wrapper" };
5479
- const _hoisted_13$3 = ["onMousedown"];
5480
- const _hoisted_14$3 = /* @__PURE__ */ createElementVNode(
5492
+ const _hoisted_13$3 = { class: "anchor-wrapper" };
5493
+ const _hoisted_14$3 = ["onMousedown"];
5494
+ const _hoisted_15$2 = /* @__PURE__ */ createElementVNode(
5481
5495
  "span",
5482
5496
  { class: "title" },
5483
5497
  " \u5916\u8FB9\u8DDD ",
5484
5498
  -1
5485
5499
  /* HOISTED */
5486
5500
  );
5487
- const _hoisted_15$2 = { class: "thumnail border" };
5488
- const _hoisted_16$2 = ["title", "onDblclick"];
5489
- const _hoisted_17$1 = ["onUpdate:modelValue", "onBlur"];
5490
- const _hoisted_18 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5491
- const _hoisted_19 = { class: "anchor-wrapper" };
5492
- const _hoisted_20 = ["onMousedown"];
5493
- const _hoisted_21 = /* @__PURE__ */ createElementVNode(
5501
+ const _hoisted_16$2 = { class: "thumnail border" };
5502
+ const _hoisted_17$1 = ["title"];
5503
+ const _hoisted_18 = ["onMouseenter"];
5504
+ const _hoisted_19 = ["onUpdate:modelValue", "onBlur"];
5505
+ const _hoisted_20 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5506
+ const _hoisted_21 = { class: "anchor-wrapper" };
5507
+ const _hoisted_22 = ["onMousedown"];
5508
+ const _hoisted_23 = /* @__PURE__ */ createElementVNode(
5494
5509
  "span",
5495
5510
  { class: "title" },
5496
5511
  " \u5185\u8FB9\u8DDD ",
5497
5512
  -1
5498
5513
  /* HOISTED */
5499
5514
  );
5500
- const _hoisted_22 = { class: "title" };
5501
- const _hoisted_23 = /* @__PURE__ */ createElementVNode(
5515
+ const _hoisted_24 = { class: "title" };
5516
+ const _hoisted_25 = { class: "content-unit left-0" };
5517
+ const _hoisted_26 = /* @__PURE__ */ createElementVNode(
5502
5518
  "span",
5503
5519
  null,
5504
5520
  " x ",
5505
5521
  -1
5506
5522
  /* HOISTED */
5507
5523
  );
5524
+ const _hoisted_27 = { class: "content-unit right-0" };
5508
5525
  const __default__$p = defineComponent({
5509
5526
  name: "DkStyleBoxInput"
5510
5527
  });
@@ -5861,9 +5878,12 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5861
5878
  return openBlock(), createElementBlock("div", { key }, [
5862
5879
  createElementVNode("span", {
5863
5880
  title: item.title,
5864
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
5865
- onDblclick: ($event) => onDblclick(item.value, key)
5866
- }, toDisplayString(getValue(styles[item.value])), 43, _hoisted_8$9),
5881
+ class: normalizeClass(`anchor-tip-${item.position} value-indicator`)
5882
+ }, [
5883
+ createElementVNode("span", {
5884
+ onMouseenter: ($event) => onDblclick(item.value, key)
5885
+ }, toDisplayString(getValue(styles[item.value])), 41, _hoisted_9$7)
5886
+ ], 10, _hoisted_8$9),
5867
5887
  withDirectives(createElementVNode("input", {
5868
5888
  ref_for: true,
5869
5889
  ref_key: "inputField",
@@ -5871,7 +5891,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5871
5891
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
5872
5892
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
5873
5893
  onBlur: ($event) => onBlur(item.value)
5874
- }, null, 42, _hoisted_9$7), [
5894
+ }, null, 42, _hoisted_10$5), [
5875
5895
  [vModelText, styles[item.value]]
5876
5896
  ]),
5877
5897
  (openBlock(), createElementBlock("svg", {
@@ -5883,15 +5903,15 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5883
5903
  style: normalizeStyle(item.svg.style),
5884
5904
  class: "esm-modal-svg",
5885
5905
  innerHTML: item.svg.content
5886
- }, null, 12, _hoisted_10$5))
5906
+ }, null, 12, _hoisted_11$5))
5887
5907
  ]);
5888
5908
  }),
5889
5909
  128
5890
5910
  /* KEYED_FRAGMENT */
5891
5911
  ))
5892
5912
  ]),
5893
- _hoisted_11$5,
5894
- createElementVNode("div", _hoisted_12$4, [
5913
+ _hoisted_12$4,
5914
+ createElementVNode("div", _hoisted_13$3, [
5895
5915
  (openBlock(), createElementBlock(
5896
5916
  Fragment,
5897
5917
  null,
@@ -5902,16 +5922,16 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5902
5922
  onMousemove: handleMouseMove,
5903
5923
  onMousedown: ($event) => handleMouseDown("margin", item, $event),
5904
5924
  onMouseup: handleMouseUp
5905
- }, null, 42, _hoisted_13$3);
5925
+ }, null, 42, _hoisted_14$3);
5906
5926
  }),
5907
5927
  64
5908
5928
  /* STABLE_FRAGMENT */
5909
5929
  ))
5910
5930
  ]),
5911
- _hoisted_14$3,
5931
+ _hoisted_15$2,
5912
5932
  createCommentVNode("\u5916\u8FB9\u8DDD Margin END"),
5913
5933
  createCommentVNode("\u5185\u8FB9\u8DDD Padding"),
5914
- createElementVNode("div", _hoisted_15$2, [
5934
+ createElementVNode("div", _hoisted_16$2, [
5915
5935
  createElementVNode(
5916
5936
  "div",
5917
5937
  {
@@ -5928,9 +5948,12 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5928
5948
  return openBlock(), createElementBlock("div", { key }, [
5929
5949
  createElementVNode("span", {
5930
5950
  title: item.title,
5931
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
5932
- onDblclick: ($event) => onDblclick(item.value, key + 4)
5933
- }, toDisplayString(getValue(styles[item.value])), 43, _hoisted_16$2),
5951
+ class: normalizeClass(`anchor-tip-${item.position} value-indicator`)
5952
+ }, [
5953
+ createElementVNode("span", {
5954
+ onMouseenter: ($event) => onDblclick(item.value, key + 4)
5955
+ }, toDisplayString(getValue(styles[item.value])), 41, _hoisted_18)
5956
+ ], 10, _hoisted_17$1),
5934
5957
  withDirectives(createElementVNode("input", {
5935
5958
  ref_for: true,
5936
5959
  ref_key: "inputField",
@@ -5938,7 +5961,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5938
5961
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
5939
5962
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
5940
5963
  onBlur: ($event) => onBlur(item.value)
5941
- }, null, 42, _hoisted_17$1), [
5964
+ }, null, 42, _hoisted_19), [
5942
5965
  [vModelText, styles[item.value]]
5943
5966
  ]),
5944
5967
  (openBlock(), createElementBlock("svg", {
@@ -5950,14 +5973,14 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5950
5973
  style: normalizeStyle(item.svg.style),
5951
5974
  class: "esm-modal-svg",
5952
5975
  innerHTML: item.svg.content
5953
- }, null, 12, _hoisted_18))
5976
+ }, null, 12, _hoisted_20))
5954
5977
  ]);
5955
5978
  }),
5956
5979
  128
5957
5980
  /* KEYED_FRAGMENT */
5958
5981
  ))
5959
5982
  ]),
5960
- createElementVNode("div", _hoisted_19, [
5983
+ createElementVNode("div", _hoisted_21, [
5961
5984
  (openBlock(), createElementBlock(
5962
5985
  Fragment,
5963
5986
  null,
@@ -5968,13 +5991,13 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5968
5991
  onMousemove: handleMouseMove,
5969
5992
  onMousedown: ($event) => handleMouseDown("padding", item, $event),
5970
5993
  onMouseup: handleMouseUp
5971
- }, null, 42, _hoisted_20);
5994
+ }, null, 42, _hoisted_22);
5972
5995
  }),
5973
5996
  64
5974
5997
  /* STABLE_FRAGMENT */
5975
5998
  ))
5976
5999
  ]),
5977
- _hoisted_21,
6000
+ _hoisted_23,
5978
6001
  createCommentVNode("\u5185\u8FB9\u8DDD END"),
5979
6002
  createElementVNode(
5980
6003
  "div",
@@ -5984,17 +6007,18 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5984
6007
  onMouseleave: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "leave", $event))
5985
6008
  },
5986
6009
  [
5987
- createElementVNode("span", _hoisted_22, [
5988
- createElementVNode(
5989
- "span",
5990
- {
5991
- class: "content-unit left-0",
5992
- onDblclick: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
5993
- },
5994
- toDisplayString(getValue(styles["width"])),
5995
- 33
5996
- /* TEXT, HYDRATE_EVENTS */
5997
- ),
6010
+ createElementVNode("span", _hoisted_24, [
6011
+ createElementVNode("span", _hoisted_25, [
6012
+ createElementVNode(
6013
+ "em",
6014
+ {
6015
+ onMouseenter: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
6016
+ },
6017
+ toDisplayString(getValue(styles["width"])),
6018
+ 33
6019
+ /* TEXT, HYDRATE_EVENTS */
6020
+ )
6021
+ ]),
5998
6022
  withDirectives(createElementVNode(
5999
6023
  "input",
6000
6024
  {
@@ -6010,17 +6034,18 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
6010
6034
  ), [
6011
6035
  [vModelText, styles.width]
6012
6036
  ]),
6013
- _hoisted_23,
6014
- createElementVNode(
6015
- "span",
6016
- {
6017
- class: "content-unit right-0",
6018
- onDblclick: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
6019
- },
6020
- toDisplayString(getValue(styles["height"])),
6021
- 33
6022
- /* TEXT, HYDRATE_EVENTS */
6023
- ),
6037
+ _hoisted_26,
6038
+ createElementVNode("span", _hoisted_27, [
6039
+ createElementVNode(
6040
+ "em",
6041
+ {
6042
+ onMouseenter: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
6043
+ },
6044
+ toDisplayString(getValue(styles["height"])),
6045
+ 33
6046
+ /* TEXT, HYDRATE_EVENTS */
6047
+ )
6048
+ ]),
6024
6049
  withDirectives(createElementVNode(
6025
6050
  "input",
6026
6051
  {
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "dk",
5
- "version": "1.0.46",
5
+ "version": "1.0.47",
6
6
  "js-types-syntax": "typescript",
7
7
  "description-markup": "markdown",
8
8
  "contributions": {
@@ -10,46 +10,50 @@ const _hoisted_4 = { class: "float-right cursor-pointer" };
10
10
  const _hoisted_5 = { class: "name-header-operations" };
11
11
  const _hoisted_6 = { class: "name-header-operations" };
12
12
  const _hoisted_7 = { class: "name-header-operations" };
13
- const _hoisted_8 = ["title", "onDblclick"];
14
- const _hoisted_9 = ["onUpdate:modelValue", "onBlur"];
15
- const _hoisted_10 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
16
- const _hoisted_11 = /* @__PURE__ */ createElementVNode(
13
+ const _hoisted_8 = ["title"];
14
+ const _hoisted_9 = ["onMouseenter"];
15
+ const _hoisted_10 = ["onUpdate:modelValue", "onBlur"];
16
+ const _hoisted_11 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
17
+ const _hoisted_12 = /* @__PURE__ */ createElementVNode(
17
18
  "div",
18
19
  { style: { "position": "absolute", "display": "none", "width": "100%", "height": "100%" } },
19
20
  null,
20
21
  -1
21
22
  /* HOISTED */
22
23
  );
23
- const _hoisted_12 = { class: "anchor-wrapper" };
24
- const _hoisted_13 = ["onMousedown"];
25
- const _hoisted_14 = /* @__PURE__ */ createElementVNode(
24
+ const _hoisted_13 = { class: "anchor-wrapper" };
25
+ const _hoisted_14 = ["onMousedown"];
26
+ const _hoisted_15 = /* @__PURE__ */ createElementVNode(
26
27
  "span",
27
28
  { class: "title" },
28
29
  " \u5916\u8FB9\u8DDD ",
29
30
  -1
30
31
  /* HOISTED */
31
32
  );
32
- const _hoisted_15 = { class: "thumnail border" };
33
- const _hoisted_16 = ["title", "onDblclick"];
34
- const _hoisted_17 = ["onUpdate:modelValue", "onBlur"];
35
- const _hoisted_18 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
36
- const _hoisted_19 = { class: "anchor-wrapper" };
37
- const _hoisted_20 = ["onMousedown"];
38
- const _hoisted_21 = /* @__PURE__ */ createElementVNode(
33
+ const _hoisted_16 = { class: "thumnail border" };
34
+ const _hoisted_17 = ["title"];
35
+ const _hoisted_18 = ["onMouseenter"];
36
+ const _hoisted_19 = ["onUpdate:modelValue", "onBlur"];
37
+ const _hoisted_20 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
38
+ const _hoisted_21 = { class: "anchor-wrapper" };
39
+ const _hoisted_22 = ["onMousedown"];
40
+ const _hoisted_23 = /* @__PURE__ */ createElementVNode(
39
41
  "span",
40
42
  { class: "title" },
41
43
  " \u5185\u8FB9\u8DDD ",
42
44
  -1
43
45
  /* HOISTED */
44
46
  );
45
- const _hoisted_22 = { class: "title" };
46
- const _hoisted_23 = /* @__PURE__ */ createElementVNode(
47
+ const _hoisted_24 = { class: "title" };
48
+ const _hoisted_25 = { class: "content-unit left-0" };
49
+ const _hoisted_26 = /* @__PURE__ */ createElementVNode(
47
50
  "span",
48
51
  null,
49
52
  " x ",
50
53
  -1
51
54
  /* HOISTED */
52
55
  );
56
+ const _hoisted_27 = { class: "content-unit right-0" };
53
57
  const __default__ = defineComponent({
54
58
  name: "DkStyleBoxInput"
55
59
  });
@@ -406,9 +410,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
406
410
  return openBlock(), createElementBlock("div", { key }, [
407
411
  createElementVNode("span", {
408
412
  title: item.title,
409
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
410
- onDblclick: ($event) => onDblclick(item.value, key)
411
- }, toDisplayString(getValue(styles[item.value])), 43, _hoisted_8),
413
+ class: normalizeClass(`anchor-tip-${item.position} value-indicator`)
414
+ }, [
415
+ createElementVNode("span", {
416
+ onMouseenter: ($event) => onDblclick(item.value, key)
417
+ }, toDisplayString(getValue(styles[item.value])), 41, _hoisted_9)
418
+ ], 10, _hoisted_8),
412
419
  withDirectives(createElementVNode("input", {
413
420
  ref_for: true,
414
421
  ref_key: "inputField",
@@ -416,7 +423,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
416
423
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
417
424
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
418
425
  onBlur: ($event) => onBlur(item.value)
419
- }, null, 42, _hoisted_9), [
426
+ }, null, 42, _hoisted_10), [
420
427
  [vModelText, styles[item.value]]
421
428
  ]),
422
429
  (openBlock(), createElementBlock("svg", {
@@ -428,15 +435,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
428
435
  style: normalizeStyle(item.svg.style),
429
436
  class: "esm-modal-svg",
430
437
  innerHTML: item.svg.content
431
- }, null, 12, _hoisted_10))
438
+ }, null, 12, _hoisted_11))
432
439
  ]);
433
440
  }),
434
441
  128
435
442
  /* KEYED_FRAGMENT */
436
443
  ))
437
444
  ]),
438
- _hoisted_11,
439
- createElementVNode("div", _hoisted_12, [
445
+ _hoisted_12,
446
+ createElementVNode("div", _hoisted_13, [
440
447
  (openBlock(), createElementBlock(
441
448
  Fragment,
442
449
  null,
@@ -447,16 +454,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
447
454
  onMousemove: handleMouseMove,
448
455
  onMousedown: ($event) => handleMouseDown("margin", item, $event),
449
456
  onMouseup: handleMouseUp
450
- }, null, 42, _hoisted_13);
457
+ }, null, 42, _hoisted_14);
451
458
  }),
452
459
  64
453
460
  /* STABLE_FRAGMENT */
454
461
  ))
455
462
  ]),
456
- _hoisted_14,
463
+ _hoisted_15,
457
464
  createCommentVNode("\u5916\u8FB9\u8DDD Margin END"),
458
465
  createCommentVNode("\u5185\u8FB9\u8DDD Padding"),
459
- createElementVNode("div", _hoisted_15, [
466
+ createElementVNode("div", _hoisted_16, [
460
467
  createElementVNode(
461
468
  "div",
462
469
  {
@@ -473,9 +480,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
473
480
  return openBlock(), createElementBlock("div", { key }, [
474
481
  createElementVNode("span", {
475
482
  title: item.title,
476
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
477
- onDblclick: ($event) => onDblclick(item.value, key + 4)
478
- }, toDisplayString(getValue(styles[item.value])), 43, _hoisted_16),
483
+ class: normalizeClass(`anchor-tip-${item.position} value-indicator`)
484
+ }, [
485
+ createElementVNode("span", {
486
+ onMouseenter: ($event) => onDblclick(item.value, key + 4)
487
+ }, toDisplayString(getValue(styles[item.value])), 41, _hoisted_18)
488
+ ], 10, _hoisted_17),
479
489
  withDirectives(createElementVNode("input", {
480
490
  ref_for: true,
481
491
  ref_key: "inputField",
@@ -483,7 +493,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
483
493
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
484
494
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
485
495
  onBlur: ($event) => onBlur(item.value)
486
- }, null, 42, _hoisted_17), [
496
+ }, null, 42, _hoisted_19), [
487
497
  [vModelText, styles[item.value]]
488
498
  ]),
489
499
  (openBlock(), createElementBlock("svg", {
@@ -495,14 +505,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
495
505
  style: normalizeStyle(item.svg.style),
496
506
  class: "esm-modal-svg",
497
507
  innerHTML: item.svg.content
498
- }, null, 12, _hoisted_18))
508
+ }, null, 12, _hoisted_20))
499
509
  ]);
500
510
  }),
501
511
  128
502
512
  /* KEYED_FRAGMENT */
503
513
  ))
504
514
  ]),
505
- createElementVNode("div", _hoisted_19, [
515
+ createElementVNode("div", _hoisted_21, [
506
516
  (openBlock(), createElementBlock(
507
517
  Fragment,
508
518
  null,
@@ -513,13 +523,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
513
523
  onMousemove: handleMouseMove,
514
524
  onMousedown: ($event) => handleMouseDown("padding", item, $event),
515
525
  onMouseup: handleMouseUp
516
- }, null, 42, _hoisted_20);
526
+ }, null, 42, _hoisted_22);
517
527
  }),
518
528
  64
519
529
  /* STABLE_FRAGMENT */
520
530
  ))
521
531
  ]),
522
- _hoisted_21,
532
+ _hoisted_23,
523
533
  createCommentVNode("\u5185\u8FB9\u8DDD END"),
524
534
  createElementVNode(
525
535
  "div",
@@ -529,17 +539,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
529
539
  onMouseleave: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "leave", $event))
530
540
  },
531
541
  [
532
- createElementVNode("span", _hoisted_22, [
533
- createElementVNode(
534
- "span",
535
- {
536
- class: "content-unit left-0",
537
- onDblclick: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
538
- },
539
- toDisplayString(getValue(styles["width"])),
540
- 33
541
- /* TEXT, HYDRATE_EVENTS */
542
- ),
542
+ createElementVNode("span", _hoisted_24, [
543
+ createElementVNode("span", _hoisted_25, [
544
+ createElementVNode(
545
+ "em",
546
+ {
547
+ onMouseenter: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
548
+ },
549
+ toDisplayString(getValue(styles["width"])),
550
+ 33
551
+ /* TEXT, HYDRATE_EVENTS */
552
+ )
553
+ ]),
543
554
  withDirectives(createElementVNode(
544
555
  "input",
545
556
  {
@@ -555,17 +566,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
555
566
  ), [
556
567
  [vModelText, styles.width]
557
568
  ]),
558
- _hoisted_23,
559
- createElementVNode(
560
- "span",
561
- {
562
- class: "content-unit right-0",
563
- onDblclick: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
564
- },
565
- toDisplayString(getValue(styles["height"])),
566
- 33
567
- /* TEXT, HYDRATE_EVENTS */
568
- ),
569
+ _hoisted_26,
570
+ createElementVNode("span", _hoisted_27, [
571
+ createElementVNode(
572
+ "em",
573
+ {
574
+ onMouseenter: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
575
+ },
576
+ toDisplayString(getValue(styles["height"])),
577
+ 33
578
+ /* TEXT, HYDRATE_EVENTS */
579
+ )
580
+ ]),
569
581
  withDirectives(createElementVNode(
570
582
  "input",
571
583
  {