@vipl520/dk-ui 1.0.46 → 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.
Files changed (36) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +96 -62
  3. package/dist/index.min.js +4 -4
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/index.min.mjs +4 -4
  6. package/dist/index.min.mjs.map +1 -1
  7. package/dist/index.mjs +96 -62
  8. package/dist/web-types.json +1 -1
  9. package/es/style-box-input/src/style-box-input.vue2.mjs +68 -56
  10. package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
  11. package/es/style-box-input/style/index.css +1 -1
  12. package/es/style-box-input/style/index.scss +7 -3
  13. package/es/style-input/index.d.ts +9 -0
  14. package/es/style-input/src/props.d.ts +8 -1
  15. package/es/style-input/src/props.mjs +10 -1
  16. package/es/style-input/src/props.mjs.map +1 -1
  17. package/es/style-input/src/style-input.vue.d.ts +9 -0
  18. package/es/style-input/src/style-input.vue2.mjs +17 -4
  19. package/es/style-input/src/style-input.vue2.mjs.map +1 -1
  20. package/es/uni-icon/style/index.css +1 -1
  21. package/es/uni-icon/style/index.scss +2 -1
  22. package/lib/style-box-input/src/style-box-input.vue2.js +68 -56
  23. package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
  24. package/lib/style-box-input/style/index.css +1 -1
  25. package/lib/style-box-input/style/index.scss +7 -3
  26. package/lib/style-input/index.d.ts +9 -0
  27. package/lib/style-input/src/props.d.ts +8 -1
  28. package/lib/style-input/src/props.js +10 -1
  29. package/lib/style-input/src/props.js.map +1 -1
  30. package/lib/style-input/src/style-input.vue.d.ts +9 -0
  31. package/lib/style-input/src/style-input.vue2.js +16 -3
  32. package/lib/style-input/src/style-input.vue2.js.map +1 -1
  33. package/lib/uni-icon/style/index.css +1 -1
  34. package/lib/uni-icon/style/index.scss +2 -1
  35. package/package.json +1 -1
  36. package/dist/uniicons.ttf +0 -0
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) => {
@@ -4887,6 +4900,15 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4887
4900
  values.value = obj;
4888
4901
  loading.value = false;
4889
4902
  };
4903
+ watch(
4904
+ () => props.modelValue,
4905
+ () => {
4906
+ init();
4907
+ },
4908
+ {
4909
+ deep: true
4910
+ }
4911
+ );
4890
4912
  onMounted(() => {
4891
4913
  init();
4892
4914
  });
@@ -4903,7 +4925,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
4903
4925
  (openBlock(true), createElementBlock(
4904
4926
  Fragment,
4905
4927
  null,
4906
- renderList(props.components, (item, key) => {
4928
+ renderList(_components.value, (item, key) => {
4907
4929
  return openBlock(), createBlock(_component_el_collapse_item, {
4908
4930
  key,
4909
4931
  title: "",
@@ -5456,46 +5478,50 @@ const _hoisted_4$i = { class: "float-right cursor-pointer" };
5456
5478
  const _hoisted_5$d = { class: "name-header-operations" };
5457
5479
  const _hoisted_6$b = { class: "name-header-operations" };
5458
5480
  const _hoisted_7$b = { class: "name-header-operations" };
5459
- const _hoisted_8$9 = ["title", "onDblclick"];
5460
- const _hoisted_9$7 = ["onUpdate:modelValue", "onBlur"];
5461
- const _hoisted_10$5 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5462
- 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(
5463
5486
  "div",
5464
5487
  { style: { "position": "absolute", "display": "none", "width": "100%", "height": "100%" } },
5465
5488
  null,
5466
5489
  -1
5467
5490
  /* HOISTED */
5468
5491
  );
5469
- const _hoisted_12$4 = { class: "anchor-wrapper" };
5470
- const _hoisted_13$3 = ["onMousedown"];
5471
- 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(
5472
5495
  "span",
5473
5496
  { class: "title" },
5474
5497
  " \u5916\u8FB9\u8DDD ",
5475
5498
  -1
5476
5499
  /* HOISTED */
5477
5500
  );
5478
- const _hoisted_15$2 = { class: "thumnail border" };
5479
- const _hoisted_16$2 = ["title", "onDblclick"];
5480
- const _hoisted_17$1 = ["onUpdate:modelValue", "onBlur"];
5481
- const _hoisted_18 = ["width", "height", "viewBox", "data-link-anchor", "innerHTML"];
5482
- const _hoisted_19 = { class: "anchor-wrapper" };
5483
- const _hoisted_20 = ["onMousedown"];
5484
- 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(
5485
5509
  "span",
5486
5510
  { class: "title" },
5487
5511
  " \u5185\u8FB9\u8DDD ",
5488
5512
  -1
5489
5513
  /* HOISTED */
5490
5514
  );
5491
- const _hoisted_22 = { class: "title" };
5492
- 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(
5493
5518
  "span",
5494
5519
  null,
5495
5520
  " x ",
5496
5521
  -1
5497
5522
  /* HOISTED */
5498
5523
  );
5524
+ const _hoisted_27 = { class: "content-unit right-0" };
5499
5525
  const __default__$p = defineComponent({
5500
5526
  name: "DkStyleBoxInput"
5501
5527
  });
@@ -5852,9 +5878,12 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5852
5878
  return openBlock(), createElementBlock("div", { key }, [
5853
5879
  createElementVNode("span", {
5854
5880
  title: item.title,
5855
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
5856
- onDblclick: ($event) => onDblclick(item.value, key)
5857
- }, 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),
5858
5887
  withDirectives(createElementVNode("input", {
5859
5888
  ref_for: true,
5860
5889
  ref_key: "inputField",
@@ -5862,7 +5891,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5862
5891
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
5863
5892
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
5864
5893
  onBlur: ($event) => onBlur(item.value)
5865
- }, null, 42, _hoisted_9$7), [
5894
+ }, null, 42, _hoisted_10$5), [
5866
5895
  [vModelText, styles[item.value]]
5867
5896
  ]),
5868
5897
  (openBlock(), createElementBlock("svg", {
@@ -5874,15 +5903,15 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5874
5903
  style: normalizeStyle(item.svg.style),
5875
5904
  class: "esm-modal-svg",
5876
5905
  innerHTML: item.svg.content
5877
- }, null, 12, _hoisted_10$5))
5906
+ }, null, 12, _hoisted_11$5))
5878
5907
  ]);
5879
5908
  }),
5880
5909
  128
5881
5910
  /* KEYED_FRAGMENT */
5882
5911
  ))
5883
5912
  ]),
5884
- _hoisted_11$5,
5885
- createElementVNode("div", _hoisted_12$4, [
5913
+ _hoisted_12$4,
5914
+ createElementVNode("div", _hoisted_13$3, [
5886
5915
  (openBlock(), createElementBlock(
5887
5916
  Fragment,
5888
5917
  null,
@@ -5893,16 +5922,16 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5893
5922
  onMousemove: handleMouseMove,
5894
5923
  onMousedown: ($event) => handleMouseDown("margin", item, $event),
5895
5924
  onMouseup: handleMouseUp
5896
- }, null, 42, _hoisted_13$3);
5925
+ }, null, 42, _hoisted_14$3);
5897
5926
  }),
5898
5927
  64
5899
5928
  /* STABLE_FRAGMENT */
5900
5929
  ))
5901
5930
  ]),
5902
- _hoisted_14$3,
5931
+ _hoisted_15$2,
5903
5932
  createCommentVNode("\u5916\u8FB9\u8DDD Margin END"),
5904
5933
  createCommentVNode("\u5185\u8FB9\u8DDD Padding"),
5905
- createElementVNode("div", _hoisted_15$2, [
5934
+ createElementVNode("div", _hoisted_16$2, [
5906
5935
  createElementVNode(
5907
5936
  "div",
5908
5937
  {
@@ -5919,9 +5948,12 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5919
5948
  return openBlock(), createElementBlock("div", { key }, [
5920
5949
  createElementVNode("span", {
5921
5950
  title: item.title,
5922
- class: normalizeClass(`anchor-tip-${item.position} value-indicator`),
5923
- onDblclick: ($event) => onDblclick(item.value, key + 4)
5924
- }, 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),
5925
5957
  withDirectives(createElementVNode("input", {
5926
5958
  ref_for: true,
5927
5959
  ref_key: "inputField",
@@ -5929,7 +5961,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5929
5961
  "onUpdate:modelValue": ($event) => styles[item.value] = $event,
5930
5962
  class: normalizeClass("input-box anchor-tip-" + item.position + (showStyles[item.value] ? " show" : "")),
5931
5963
  onBlur: ($event) => onBlur(item.value)
5932
- }, null, 42, _hoisted_17$1), [
5964
+ }, null, 42, _hoisted_19), [
5933
5965
  [vModelText, styles[item.value]]
5934
5966
  ]),
5935
5967
  (openBlock(), createElementBlock("svg", {
@@ -5941,14 +5973,14 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5941
5973
  style: normalizeStyle(item.svg.style),
5942
5974
  class: "esm-modal-svg",
5943
5975
  innerHTML: item.svg.content
5944
- }, null, 12, _hoisted_18))
5976
+ }, null, 12, _hoisted_20))
5945
5977
  ]);
5946
5978
  }),
5947
5979
  128
5948
5980
  /* KEYED_FRAGMENT */
5949
5981
  ))
5950
5982
  ]),
5951
- createElementVNode("div", _hoisted_19, [
5983
+ createElementVNode("div", _hoisted_21, [
5952
5984
  (openBlock(), createElementBlock(
5953
5985
  Fragment,
5954
5986
  null,
@@ -5959,13 +5991,13 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5959
5991
  onMousemove: handleMouseMove,
5960
5992
  onMousedown: ($event) => handleMouseDown("padding", item, $event),
5961
5993
  onMouseup: handleMouseUp
5962
- }, null, 42, _hoisted_20);
5994
+ }, null, 42, _hoisted_22);
5963
5995
  }),
5964
5996
  64
5965
5997
  /* STABLE_FRAGMENT */
5966
5998
  ))
5967
5999
  ]),
5968
- _hoisted_21,
6000
+ _hoisted_23,
5969
6001
  createCommentVNode("\u5185\u8FB9\u8DDD END"),
5970
6002
  createElementVNode(
5971
6003
  "div",
@@ -5975,17 +6007,18 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
5975
6007
  onMouseleave: _cache[10] || (_cache[10] = ($event) => onMouseMove("widthHeight", "leave", $event))
5976
6008
  },
5977
6009
  [
5978
- createElementVNode("span", _hoisted_22, [
5979
- createElementVNode(
5980
- "span",
5981
- {
5982
- class: "content-unit left-0",
5983
- onDblclick: _cache[3] || (_cache[3] = ($event) => onDblclick("width", 9))
5984
- },
5985
- toDisplayString(getValue(styles["width"])),
5986
- 33
5987
- /* TEXT, HYDRATE_EVENTS */
5988
- ),
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
+ ]),
5989
6022
  withDirectives(createElementVNode(
5990
6023
  "input",
5991
6024
  {
@@ -6001,17 +6034,18 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
6001
6034
  ), [
6002
6035
  [vModelText, styles.width]
6003
6036
  ]),
6004
- _hoisted_23,
6005
- createElementVNode(
6006
- "span",
6007
- {
6008
- class: "content-unit right-0",
6009
- onDblclick: _cache[6] || (_cache[6] = ($event) => onDblclick("height", 9))
6010
- },
6011
- toDisplayString(getValue(styles["height"])),
6012
- 33
6013
- /* TEXT, HYDRATE_EVENTS */
6014
- ),
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
+ ]),
6015
6049
  withDirectives(createElementVNode(
6016
6050
  "input",
6017
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
  {