iking-web-ui-pro 0.2.55 → 0.2.56

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 (166) hide show
  1. package/dist/IKHorizontalStepBar/ik.index.es.js +93 -93
  2. package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
  3. package/dist/IKPreviewFile/ik.index.es.js +1068 -986
  4. package/dist/IKPreviewFile/ik.index.umd.js +50 -50
  5. package/dist/IKSearch/ik.index.es.js +1058 -1058
  6. package/dist/IKSearch/ik.index.umd.js +2 -2
  7. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +852 -852
  8. package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
  9. package/dist/{IKApprovalProcess → IkApprovalProcess}/style.css +1 -1
  10. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +1396 -1314
  11. package/dist/IkApprovalProcessDetail/ik.index.umd.js +226 -0
  12. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/style.css +1 -1
  13. package/dist/IkBottomOperate/ik.index.es.js +59 -59
  14. package/dist/IkBottomOperate/ik.index.umd.js +1 -1
  15. package/dist/IkBtnSetting/ik.index.es.js +110 -110
  16. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  17. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +2372 -2355
  18. package/dist/IkCalendar/ik.index.umd.js +1 -0
  19. package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
  20. package/dist/IkDescription/ik.index.es.js +2021 -1939
  21. package/dist/IkDescription/ik.index.umd.js +49 -49
  22. package/dist/IkDetailPreviewFiles/ik.index.es.js +1336 -1254
  23. package/dist/IkDetailPreviewFiles/ik.index.umd.js +50 -50
  24. package/dist/IkFileIcon/ik.index.es.js +394 -394
  25. package/dist/IkFileIcon/ik.index.umd.js +1 -1
  26. package/dist/IkFullCalendar/ik.index.es.js +601 -584
  27. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  28. package/dist/IkImageUploadEditor/ik.index.es.js +12343 -49
  29. package/dist/IkImageUploadEditor/ik.index.umd.js +37 -1
  30. package/dist/IkImageUploadEditor/style.css +9 -0
  31. package/dist/IkMonacoEditor/ik.index.es.js +27 -27
  32. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  33. package/dist/IkPageFull/ik.index.es.js +1466 -1466
  34. package/dist/IkPageFull/ik.index.umd.js +3 -3
  35. package/dist/IkPickerUser/ik.index.es.js +839 -839
  36. package/dist/IkPickerUser/ik.index.umd.js +1 -1
  37. package/dist/IkPlayer/ik.index.es.js +1062 -981
  38. package/dist/IkPlayer/ik.index.umd.js +52 -52
  39. package/dist/IkPreviewFileDialog/ik.index.es.js +794 -712
  40. package/dist/IkPreviewFileDialog/ik.index.umd.js +50 -50
  41. package/dist/IkSchedule/ik.index.es.js +1552 -1535
  42. package/dist/IkSchedule/ik.index.umd.js +1 -1
  43. package/dist/IkTemplateOfficeConfig/ik.index.es.js +108 -108
  44. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
  45. package/dist/IkTinymce/ik.index.es.js +26652 -27107
  46. package/dist/IkTinymce/ik.index.umd.js +61 -61
  47. package/dist/IkUploadFile/ik.index.es.js +1323 -1241
  48. package/dist/IkUploadFile/ik.index.umd.js +50 -50
  49. package/dist/IkUploadImage/ik.index.es.js +313 -313
  50. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  51. package/dist/index.es.js +63473 -51975
  52. package/dist/index.umd.js +184 -148
  53. package/dist/src/components/IKExpandCollapse/index.d.ts +5 -5
  54. package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +5 -5
  55. package/dist/src/components/IKHorizontalStepBar/index.d.ts +30 -90
  56. package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +7 -7
  57. package/dist/src/components/IKPreviewFile/index.d.ts +13 -105
  58. package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +7 -7
  59. package/dist/src/components/IKSearch/index.d.ts +24 -84
  60. package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +10 -10
  61. package/dist/src/components/IKSearch/src/IkSearchAuto.d.ts +5 -5
  62. package/dist/src/components/IKSearchHead/index.d.ts +5 -5
  63. package/dist/src/components/IKSearchHead/src/IKSearchHead.vue.d.ts +5 -5
  64. package/dist/src/components/IKVerticalStepBar/index.d.ts +5 -5
  65. package/dist/src/components/IKVerticalStepBar/src/IKVerticalStepBar.vue.d.ts +5 -5
  66. package/dist/src/components/IkApprovalProcess/index.d.ts +7 -7
  67. package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +7 -7
  68. package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
  69. package/dist/src/components/IkApprovalProcessDetail/src/IKApprovalProcessDetail.vue.d.ts +5 -5
  70. package/dist/src/components/IkAutoCard/index.d.ts +6 -12
  71. package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
  72. package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
  73. package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
  74. package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
  75. package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
  76. package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
  77. package/dist/src/components/IkBtnContent/index.d.ts +7 -5
  78. package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
  79. package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
  80. package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
  81. package/dist/src/components/IkCalendar/index.d.ts +5 -5
  82. package/dist/src/components/IkCalendar/src/IKCalendar.vue.d.ts +5 -5
  83. package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
  84. package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
  85. package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
  86. package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
  87. package/dist/src/components/IkDescription/index.d.ts +6 -39
  88. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
  89. package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
  90. package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
  91. package/dist/src/components/IkDragList/index.d.ts +13 -130
  92. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
  93. package/dist/src/components/IkEmpty/index.d.ts +6 -19
  94. package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
  95. package/dist/src/components/IkFileIcon/index.d.ts +4 -4
  96. package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
  97. package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
  98. package/dist/src/components/IkIconPicker/index.d.ts +4 -4
  99. package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
  100. package/dist/src/components/IkImageEditor/index.d.ts +1 -1
  101. package/dist/src/components/IkImageUploadEditor/index.d.ts +8 -8
  102. package/dist/src/components/IkImageUploadEditor/src/IkImageUploadEditor.vue.d.ts +8 -8
  103. package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
  104. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
  105. package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
  106. package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
  107. package/dist/src/components/IkPageFull/index.d.ts +54 -143
  108. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
  109. package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
  110. package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
  111. package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
  112. package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
  113. package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
  114. package/dist/src/components/IkPageTabs/index.d.ts +13 -38
  115. package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
  116. package/dist/src/components/IkPickerUser/index.d.ts +10 -10
  117. package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
  118. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +6 -6
  119. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +6 -6
  120. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +6 -6
  121. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +10 -10
  122. package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
  123. package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
  124. package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
  125. package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
  126. package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
  127. package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
  128. package/dist/src/components/IkPlayer/index.d.ts +10 -26
  129. package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
  130. package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
  131. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
  132. package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
  133. package/dist/src/components/IkPrintView/index.d.ts +5 -5
  134. package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
  135. package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
  136. package/dist/src/components/IkSchedule/index.d.ts +17 -48
  137. package/dist/src/components/IkSelectTag/index.d.ts +10 -25
  138. package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
  139. package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
  140. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
  141. package/dist/src/components/IkSideText/index.d.ts +4 -4
  142. package/dist/src/components/IkStatu/index.d.ts +5 -5
  143. package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
  144. package/dist/src/components/IkStatuOver/index.d.ts +5 -5
  145. package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
  146. package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
  147. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
  148. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
  149. package/dist/src/components/IkTinymce/index.d.ts +5 -5
  150. package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
  151. package/dist/src/components/IkTooltip/index.d.ts +6 -19
  152. package/dist/src/components/IkTooltip/src/index.vue.d.ts +4 -4
  153. package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
  154. package/dist/src/components/IkTree/index.d.ts +2630 -611
  155. package/dist/src/components/IkUploadFile/index.d.ts +14 -135
  156. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
  157. package/dist/src/components/IkUploadImage/index.d.ts +10 -79
  158. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
  159. package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
  160. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
  161. package/dist/src/components/Provider/index.d.ts +6 -27
  162. package/dist/style.css +9 -1
  163. package/package.json +1 -1
  164. package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
  165. package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -226
  166. package/dist/IKCalendar/ik.index.umd.js +0 -1
@@ -1,19 +1,19 @@
1
- import { defineComponent as B, openBlock as d, createElementBlock as v, createElementVNode as u, ref as g, watch as _, nextTick as b, onMounted as R, resolveComponent as O, createVNode as C, withCtx as z, unref as W, createCommentVNode as k, normalizeStyle as p, Fragment as j, renderList as F, normalizeClass as m, renderSlot as V, createTextVNode as A, toDisplayString as L, pushScopeId as K, popScopeId as q } from "vue";
2
- const G = (e, s) => {
3
- if (e.install = (a) => {
4
- for (const r of [e, ...Object.values(s ?? {})])
5
- a.component(r.name, r);
1
+ import { defineComponent as B, openBlock as d, createElementBlock as v, createElementVNode as u, ref as g, watch as b, nextTick as z, onMounted as R, resolveComponent as O, createVNode as C, withCtx as _, unref as W, createCommentVNode as k, normalizeStyle as m, Fragment as j, renderList as F, normalizeClass as p, renderSlot as V, createTextVNode as A, toDisplayString as L } from "vue";
2
+ const K = (t, s) => {
3
+ if (t.install = (c) => {
4
+ for (const r of [t, ...Object.values(s ?? {})])
5
+ c.component(r.name, r);
6
6
  }, s)
7
- for (const [a, r] of Object.entries(s))
8
- e[a] = r;
9
- return e;
7
+ for (const [c, r] of Object.entries(s))
8
+ t[c] = r;
9
+ return t;
10
10
  };
11
11
  /*! Element Plus Icons Vue v2.3.1 */
12
- var J = /* @__PURE__ */ B({
12
+ var q = /* @__PURE__ */ B({
13
13
  name: "ArrowLeft",
14
14
  __name: "arrow-left",
15
- setup(e) {
16
- return (s, a) => (d(), v("svg", {
15
+ setup(t) {
16
+ return (s, c) => (d(), v("svg", {
17
17
  xmlns: "http://www.w3.org/2000/svg",
18
18
  viewBox: "0 0 1024 1024"
19
19
  }, [
@@ -23,11 +23,11 @@ var J = /* @__PURE__ */ B({
23
23
  })
24
24
  ]));
25
25
  }
26
- }), P = J, Q = /* @__PURE__ */ B({
26
+ }), G = q, J = /* @__PURE__ */ B({
27
27
  name: "ArrowRight",
28
28
  __name: "arrow-right",
29
- setup(e) {
30
- return (s, a) => (d(), v("svg", {
29
+ setup(t) {
30
+ return (s, c) => (d(), v("svg", {
31
31
  xmlns: "http://www.w3.org/2000/svg",
32
32
  viewBox: "0 0 1024 1024"
33
33
  }, [
@@ -37,16 +37,8 @@ var J = /* @__PURE__ */ B({
37
37
  })
38
38
  ]));
39
39
  }
40
- }), U = Q;
41
- const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-step-content" }, Z = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
42
- "i",
43
- { class: "ik-hor-step_line_inner" },
44
- null,
45
- -1
46
- /* HOISTED */
47
- )), D = [
48
- Z
49
- ], x = ["onClick"], ee = { class: "ik-hor-step_main" }, te = ["id", "onClick"], le = ["id", "onClick"], ne = /* @__PURE__ */ B({
40
+ }), P = J;
41
+ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-hor-step_main" }, Y = ["id", "onClick"], Z = ["id", "onClick"], D = /* @__PURE__ */ B({
50
42
  __name: "IKHorizontalStepBar",
51
43
  props: {
52
44
  spaceNum: {
@@ -89,49 +81,49 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
89
81
  }
90
82
  },
91
83
  emits: ["click", "update:active"],
92
- setup(e, { emit: s }) {
93
- const a = e, r = s, i = g(!1), I = g(), y = g(), f = g(!1);
94
- _(
95
- () => a.active,
84
+ setup(t, { emit: s }) {
85
+ const c = t, r = s, i = g(!1), I = g(), y = g(), f = g(!1);
86
+ b(
87
+ () => c.active,
96
88
  (n) => {
97
- let t = document.getElementById("stepItemContent"), o = document.getElementById(`stepItem${n}`), c = document.getElementById("stepItem0");
98
- const l = o && c ? (o == null ? void 0 : o.offsetLeft) - (c == null ? void 0 : c.offsetLeft) : 0;
99
- t && o && (t.scrollLeft = l > (t == null ? void 0 : t.clientWidth) ? l - (t == null ? void 0 : t.offsetLeft) : 0);
89
+ let e = document.getElementById("stepItemContent"), o = document.getElementById(`stepItem${n}`), a = document.getElementById("stepItem0");
90
+ const l = o && a ? (o == null ? void 0 : o.offsetLeft) - (a == null ? void 0 : a.offsetLeft) : 0;
91
+ e && o && (e.scrollLeft = l > (e == null ? void 0 : e.clientWidth) ? l - (e == null ? void 0 : e.offsetLeft) : 0);
100
92
  }
101
- ), _(
102
- () => a.list,
93
+ ), b(
94
+ () => c.list,
103
95
  () => {
104
- b(() => {
105
- let t = document.getElementById("stepItemContent"), o = (t == null ? void 0 : t.scrollWidth) > (t == null ? void 0 : t.clientWidth);
96
+ z(() => {
97
+ let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
106
98
  i.value = o, window.addEventListener("resize", n, !0);
107
99
  });
108
100
  const n = () => {
109
- let t = document.getElementById("stepItemContent"), o = (t == null ? void 0 : t.scrollWidth) > (t == null ? void 0 : t.clientWidth);
101
+ let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
110
102
  i.value = o;
111
103
  };
112
104
  },
113
105
  { deep: !0 }
114
106
  ), R(() => {
115
- b(() => {
116
- let t = document.getElementById("stepItemContent"), o = (t == null ? void 0 : t.scrollWidth) > (t == null ? void 0 : t.clientWidth);
107
+ z(() => {
108
+ let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
117
109
  i.value = o, window.addEventListener("resize", n, !0);
118
110
  });
119
111
  const n = () => {
120
- let t = document.getElementById("stepItemContent"), o = (t == null ? void 0 : t.scrollWidth) > (t == null ? void 0 : t.clientWidth);
112
+ let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
121
113
  i.value = o;
122
114
  };
123
115
  });
124
- const w = (n, t) => {
125
- if (!a.needClick)
116
+ const w = (n, e) => {
117
+ if (!c.needClick)
126
118
  return;
127
- r("update:active", t), r("click", n);
128
- let o = document.getElementById("stepItemContent"), c = document.getElementById(`stepItem${t}`), l = document.getElementById("stepItem0");
129
- const h = c && l ? (c == null ? void 0 : c.offsetLeft) - (l == null ? void 0 : l.offsetLeft) : 0;
130
- o && c && (o.scrollLeft = h > (o == null ? void 0 : o.clientWidth) ? h - (o == null ? void 0 : o.offsetLeft) : 0);
131
- }, S = () => {
119
+ r("update:active", e), r("click", n);
120
+ let o = document.getElementById("stepItemContent"), a = document.getElementById(`stepItem${e}`), l = document.getElementById("stepItem0");
121
+ const h = a && l ? (a == null ? void 0 : a.offsetLeft) - (l == null ? void 0 : l.offsetLeft) : 0;
122
+ o && a && (o.scrollLeft = h > (o == null ? void 0 : o.clientWidth) ? h - (o == null ? void 0 : o.offsetLeft) : 0);
123
+ }, E = () => {
132
124
  let n = document.getElementById("stepItemContent");
133
125
  n && (n.scrollLeft = n.scrollLeft - 20);
134
- }, E = () => {
126
+ }, $ = () => {
135
127
  let n = document.getElementById("stepItemContent");
136
128
  n && (n.scrollLeft = n.scrollLeft + 20);
137
129
  }, N = () => {
@@ -141,7 +133,7 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
141
133
  f.value = !0, n && (n.scrollLeft = n.scrollLeft - 20);
142
134
  }, 100);
143
135
  }, T = () => {
144
- clearInterval(y.value), f.value || S();
136
+ clearInterval(y.value), f.value || E();
145
137
  }, H = () => {
146
138
  clearInterval(I.value);
147
139
  let n = document.getElementById("stepItemContent");
@@ -149,11 +141,11 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
149
141
  f.value = !0, n && (n.scrollLeft = n.scrollLeft + 20);
150
142
  }, 100);
151
143
  }, M = () => {
152
- clearInterval(I.value), f.value || E();
144
+ clearInterval(I.value), f.value || $();
153
145
  };
154
- return (n, t) => {
146
+ return (n, e) => {
155
147
  const o = O("el-icon");
156
- return d(), v("div", Y, [
148
+ return d(), v("div", Q, [
157
149
  i.value ? (d(), v(
158
150
  "div",
159
151
  {
@@ -161,12 +153,12 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
161
153
  class: "icon-left",
162
154
  onMousedown: N,
163
155
  onMouseup: T,
164
- onClick: S
156
+ onClick: E
165
157
  },
166
158
  [
167
159
  C(o, { class: "operation-icon" }, {
168
- default: z(() => [
169
- C(W(P), { size: "26px" })
160
+ default: _(() => [
161
+ C(W(G), { size: "26px" })
170
162
  ]),
171
163
  _: 1
172
164
  /* STABLE */
@@ -180,7 +172,7 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
180
172
  {
181
173
  class: "step-item-content",
182
174
  id: "stepItemContent",
183
- style: p({
175
+ style: m({
184
176
  justifyContent: i.value ? "flex-start" : "center"
185
177
  // width: alignCenter ? `100%` : '',
186
178
  })
@@ -189,45 +181,53 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
189
181
  (d(!0), v(
190
182
  j,
191
183
  null,
192
- F(e.list, (c, l) => {
184
+ F(t.list, (a, l) => {
193
185
  var h;
194
186
  return d(), v(
195
187
  "div",
196
188
  {
197
- class: m(`${e.alignCenter ? "ik-hor-step-item" : ""} step-item ${l <= e.active ? "step-item-active" : ""}`),
198
- style: p({ width: e.alignCenter ? `calc(100%/${(h = e.list) == null ? void 0 : h.length})` : "" }),
189
+ class: p(`${t.alignCenter ? "ik-hor-step-item" : ""} step-item ${l <= t.active ? "step-item-active" : ""}`),
190
+ style: m({ width: t.alignCenter ? `calc(100%/${(h = t.list) == null ? void 0 : h.length})` : "" }),
199
191
  key: l
200
192
  },
201
193
  [
202
194
  u(
203
195
  "div",
204
196
  {
205
- class: m(`${e.alignCenter ? "ik-hor-step_head" : ""} `)
197
+ class: p(`${t.alignCenter ? "ik-hor-step_head" : ""} `)
206
198
  },
207
199
  [
208
200
  l !== 0 ? (d(), v(
209
201
  "div",
210
202
  {
211
203
  key: 0,
212
- class: m(`ik-hor-step_line step-border ${l <= e.active ? "step-border-greater-than" : ""}`),
213
- style: p({
214
- width: `${e.spaceNum.indexOf("px") != -1 ? e.spaceNum : `${e.spaceNum}px`}`
204
+ class: p(`ik-hor-step_line step-border ${l <= t.active ? "step-border-greater-than" : ""}`),
205
+ style: m({
206
+ width: `${t.spaceNum.indexOf("px") != -1 ? t.spaceNum : `${t.spaceNum}px`}`
215
207
  })
216
208
  },
217
- D,
209
+ e[0] || (e[0] = [
210
+ u(
211
+ "i",
212
+ { class: "ik-hor-step_line_inner" },
213
+ null,
214
+ -1
215
+ /* HOISTED */
216
+ )
217
+ ]),
218
218
  6
219
219
  /* CLASS, STYLE */
220
220
  )) : k("v-if", !0),
221
221
  u("div", {
222
- class: m(`step-num ${l === e.active ? "step-num-active" : l < e.active ? "step-num-greater-than" : ""}`),
223
- onClick: ($) => w(c, l),
224
- style: p({
225
- backgroundColor: l === e.active && e.activeColor ? e.activeColor : "",
226
- cursor: c && c.disabled ? "not-allowed" : e.needClick ? "pointer" : "context-menu"
222
+ class: p(`step-num ${l === t.active ? "step-num-active" : l < t.active ? "step-num-greater-than" : ""}`),
223
+ onClick: (S) => w(a, l),
224
+ style: m({
225
+ backgroundColor: l === t.active && t.activeColor ? t.activeColor : "",
226
+ cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
227
227
  })
228
228
  }, [
229
229
  V(n.$slots, "icon", {
230
- data: { item: c, index: l }
230
+ data: { item: a, index: l }
231
231
  }, () => [
232
232
  A(
233
233
  L(l + 1),
@@ -235,30 +235,30 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
235
235
  /* TEXT */
236
236
  )
237
237
  ], !0)
238
- ], 14, x)
238
+ ], 14, U)
239
239
  ],
240
240
  2
241
241
  /* CLASS */
242
242
  ),
243
- u("div", ee, [
243
+ u("div", X, [
244
244
  u("div", {
245
245
  id: `stepItem${l}`,
246
- class: m(`step-label ${e.active === l ? "step-label-active" : l < e.active ? "step-label-greater-than" : ""} step-item-${l}`),
247
- style: p({
248
- color: l === e.active && e.activeColor ? e.activeColor : "",
249
- cursor: c && c.disabled ? "not-allowed" : e.needClick ? "pointer" : "context-menu"
246
+ class: p(`step-label ${t.active === l ? "step-label-active" : l < t.active ? "step-label-greater-than" : ""} step-item-${l}`),
247
+ style: m({
248
+ color: l === t.active && t.activeColor ? t.activeColor : "",
249
+ cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
250
250
  }),
251
- onClick: ($) => w(c, l)
252
- }, L(c[e.propsField.title]), 15, te),
251
+ onClick: (S) => w(a, l)
252
+ }, L(a[t.propsField.title]), 15, Y),
253
253
  u("div", {
254
254
  id: `stepItemDesc${l}`,
255
- class: m(`step-description step-label ${e.active === l ? "step-label-active" : l < e.active ? "step-label-greater-than" : ""} step-item-${l}`),
256
- style: p({
257
- color: l === e.active && e.activeColor ? e.activeColor : "",
258
- cursor: c && c.disabled ? "not-allowed" : e.needClick ? "pointer" : "context-menu"
255
+ class: p(`step-description step-label ${t.active === l ? "step-label-active" : l < t.active ? "step-label-greater-than" : ""} step-item-${l}`),
256
+ style: m({
257
+ color: l === t.active && t.activeColor ? t.activeColor : "",
258
+ cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
259
259
  }),
260
- onClick: ($) => w(c, l)
261
- }, L(c[e.propsField.description]), 15, le)
260
+ onClick: (S) => w(a, l)
261
+ }, L(a[t.propsField.description]), 15, Z)
262
262
  ])
263
263
  ],
264
264
  6
@@ -279,12 +279,12 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
279
279
  class: "icon-right",
280
280
  onMousedown: H,
281
281
  onMouseup: M,
282
- onClick: E
282
+ onClick: $
283
283
  },
284
284
  [
285
285
  C(o, { class: "operation-icon" }, {
286
- default: z(() => [
287
- C(W(U))
286
+ default: _(() => [
287
+ C(W(P))
288
288
  ]),
289
289
  _: 1
290
290
  /* STABLE */
@@ -297,13 +297,13 @@ const X = (e) => (K("data-v-a26cdcaf"), e = e(), q(), e), Y = { class: "ik-hor-s
297
297
  };
298
298
  }
299
299
  });
300
- const oe = (e, s) => {
301
- const a = e.__vccOpts || e;
300
+ const x = (t, s) => {
301
+ const c = t.__vccOpts || t;
302
302
  for (const [r, i] of s)
303
- a[r] = i;
304
- return a;
305
- }, ce = /* @__PURE__ */ oe(ne, [["__scopeId", "data-v-a26cdcaf"]]), se = G(ce);
303
+ c[r] = i;
304
+ return c;
305
+ }, ee = /* @__PURE__ */ x(D, [["__scopeId", "data-v-a26cdcaf"]]), le = K(ee);
306
306
  export {
307
- se as IKHorizontalStepBar,
308
- se as default
307
+ le as IKHorizontalStepBar,
308
+ le as default
309
309
  };
@@ -1 +1 @@
1
- (function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.index={},f.vue))})(this,function(f,e){"use strict";const B=(t,r)=>{if(t.install=s=>{for(const i of[t,...Object.values(r??{})])s.component(i.name,i)},r)for(const[s,i]of Object.entries(r))t[s]=i;return t};/*! Element Plus Icons Vue v2.3.1 */var w=e.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(t){return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),E=w,S=e.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(t){return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),v=S;const L=t=>(e.pushScopeId("data-v-a26cdcaf"),t=t(),e.popScopeId(),t),z={class:"ik-hor-step-content"},_=[L(()=>e.createElementVNode("i",{class:"ik-hor-step_line_inner"},null,-1))],N=["onClick"],$={class:"ik-hor-step_main"},b=["id","onClick"],V=["id","onClick"],T=e.defineComponent({__name:"IKHorizontalStepBar",props:{spaceNum:{type:String,default:"58px"},active:{type:Number,default:null},activeColor:{type:String,default:""},needClick:{type:Boolean,default:!0},list:{type:Array,default:()=>[]},alignCenter:{type:Boolean,default:!1},propsField:{type:Object,default:()=>({title:"title",description:"description",value:"value"})}},emits:["click","update:active"],setup(t,{emit:r}){const s=t,i=r,d=e.ref(!1),u=e.ref(),h=e.ref(),m=e.ref(!1);e.watch(()=>s.active,o=>{let l=document.getElementById("stepItemContent"),c=document.getElementById(`stepItem${o}`),a=document.getElementById("stepItem0");const n=c&&a?(c==null?void 0:c.offsetLeft)-(a==null?void 0:a.offsetLeft):0;l&&c&&(l.scrollLeft=n>(l==null?void 0:l.clientWidth)?n-(l==null?void 0:l.offsetLeft):0)}),e.watch(()=>s.list,()=>{e.nextTick(()=>{let l=document.getElementById("stepItemContent"),c=(l==null?void 0:l.scrollWidth)>(l==null?void 0:l.clientWidth);d.value=c,window.addEventListener("resize",o,!0)});const o=()=>{let l=document.getElementById("stepItemContent"),c=(l==null?void 0:l.scrollWidth)>(l==null?void 0:l.clientWidth);d.value=c}},{deep:!0}),e.onMounted(()=>{e.nextTick(()=>{let l=document.getElementById("stepItemContent"),c=(l==null?void 0:l.scrollWidth)>(l==null?void 0:l.clientWidth);d.value=c,window.addEventListener("resize",o,!0)});const o=()=>{let l=document.getElementById("stepItemContent"),c=(l==null?void 0:l.scrollWidth)>(l==null?void 0:l.clientWidth);d.value=c}});const g=(o,l)=>{if(!s.needClick)return;i("update:active",l),i("click",o);let c=document.getElementById("stepItemContent"),a=document.getElementById(`stepItem${l}`),n=document.getElementById("stepItem0");const p=a&&n?(a==null?void 0:a.offsetLeft)-(n==null?void 0:n.offsetLeft):0;c&&a&&(c.scrollLeft=p>(c==null?void 0:c.clientWidth)?p-(c==null?void 0:c.offsetLeft):0)},y=()=>{let o=document.getElementById("stepItemContent");o&&(o.scrollLeft=o.scrollLeft-20)},k=()=>{let o=document.getElementById("stepItemContent");o&&(o.scrollLeft=o.scrollLeft+20)},H=()=>{clearInterval(h.value);let o=document.getElementById("stepItemContent");m.value=!1,h.value=setInterval(()=>{m.value=!0,o&&(o.scrollLeft=o.scrollLeft-20)},100)},W=()=>{clearInterval(h.value),m.value||y()},M=()=>{clearInterval(u.value);let o=document.getElementById("stepItemContent");m.value=!1,u.value=setInterval(()=>{m.value=!0,o&&(o.scrollLeft=o.scrollLeft+20)},100)},j=()=>{clearInterval(u.value),m.value||k()};return(o,l)=>{const c=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock("div",z,[d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-left",onMousedown:H,onMouseup:W,onClick:y},[e.createVNode(c,{class:"operation-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(E),{size:"26px"})]),_:1})],32)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:"step-item-content",id:"stepItemContent",style:e.normalizeStyle({justifyContent:d.value?"flex-start":"center"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(a,n)=>{var p;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${t.alignCenter?"ik-hor-step-item":""} step-item ${n<=t.active?"step-item-active":""}`),style:e.normalizeStyle({width:t.alignCenter?`calc(100%/${(p=t.list)==null?void 0:p.length})`:""}),key:n},[e.createElementVNode("div",{class:e.normalizeClass(`${t.alignCenter?"ik-hor-step_head":""} `)},[n!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(`ik-hor-step_line step-border ${n<=t.active?"step-border-greater-than":""}`),style:e.normalizeStyle({width:`${t.spaceNum.indexOf("px")!=-1?t.spaceNum:`${t.spaceNum}px`}`})},_,6)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(`step-num ${n===t.active?"step-num-active":n<t.active?"step-num-greater-than":""}`),onClick:I=>g(a,n),style:e.normalizeStyle({backgroundColor:n===t.active&&t.activeColor?t.activeColor:"",cursor:a&&a.disabled?"not-allowed":t.needClick?"pointer":"context-menu"})},[e.renderSlot(o.$slots,"icon",{data:{item:a,index:n}},()=>[e.createTextVNode(e.toDisplayString(n+1),1)],!0)],14,N)],2),e.createElementVNode("div",$,[e.createElementVNode("div",{id:`stepItem${n}`,class:e.normalizeClass(`step-label ${t.active===n?"step-label-active":n<t.active?"step-label-greater-than":""} step-item-${n}`),style:e.normalizeStyle({color:n===t.active&&t.activeColor?t.activeColor:"",cursor:a&&a.disabled?"not-allowed":t.needClick?"pointer":"context-menu"}),onClick:I=>g(a,n)},e.toDisplayString(a[t.propsField.title]),15,b),e.createElementVNode("div",{id:`stepItemDesc${n}`,class:e.normalizeClass(`step-description step-label ${t.active===n?"step-label-active":n<t.active?"step-label-greater-than":""} step-item-${n}`),style:e.normalizeStyle({color:n===t.active&&t.activeColor?t.activeColor:"",cursor:a&&a.disabled?"not-allowed":t.needClick?"pointer":"context-menu"}),onClick:I=>g(a,n)},e.toDisplayString(a[t.propsField.description]),15,V)])],6)}),128))],4),d.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon-right",onMousedown:M,onMouseup:j,onClick:k},[e.createVNode(c,{class:"operation-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(v))]),_:1})],32)):e.createCommentVNode("v-if",!0)])}}}),R="",C=B(((t,r)=>{const s=t.__vccOpts||t;for(const[i,d]of r)s[i]=d;return s})(T,[["__scopeId","data-v-a26cdcaf"]]));f.IKHorizontalStepBar=C,f.default=C,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.index={},f.vue))})(this,function(f,e){"use strict";const B=(l,s)=>{if(l.install=r=>{for(const i of[l,...Object.values(s??{})])r.component(i.name,i)},s)for(const[r,i]of Object.entries(s))l[r]=i;return l};/*! Element Plus Icons Vue v2.3.1 */var w=e.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(l){return(s,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),E=w,v=e.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(l){return(s,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),S=v;const L={class:"ik-hor-step-content"},z=["onClick"],N={class:"ik-hor-step_main"},$=["id","onClick"],b=["id","onClick"],V=e.defineComponent({__name:"IKHorizontalStepBar",props:{spaceNum:{type:String,default:"58px"},active:{type:Number,default:null},activeColor:{type:String,default:""},needClick:{type:Boolean,default:!0},list:{type:Array,default:()=>[]},alignCenter:{type:Boolean,default:!1},propsField:{type:Object,default:()=>({title:"title",description:"description",value:"value"})}},emits:["click","update:active"],setup(l,{emit:s}){const r=l,i=s,d=e.ref(!1),u=e.ref(),h=e.ref(),m=e.ref(!1);e.watch(()=>r.active,o=>{let t=document.getElementById("stepItemContent"),a=document.getElementById(`stepItem${o}`),c=document.getElementById("stepItem0");const n=a&&c?(a==null?void 0:a.offsetLeft)-(c==null?void 0:c.offsetLeft):0;t&&a&&(t.scrollLeft=n>(t==null?void 0:t.clientWidth)?n-(t==null?void 0:t.offsetLeft):0)}),e.watch(()=>r.list,()=>{e.nextTick(()=>{let t=document.getElementById("stepItemContent"),a=(t==null?void 0:t.scrollWidth)>(t==null?void 0:t.clientWidth);d.value=a,window.addEventListener("resize",o,!0)});const o=()=>{let t=document.getElementById("stepItemContent"),a=(t==null?void 0:t.scrollWidth)>(t==null?void 0:t.clientWidth);d.value=a}},{deep:!0}),e.onMounted(()=>{e.nextTick(()=>{let t=document.getElementById("stepItemContent"),a=(t==null?void 0:t.scrollWidth)>(t==null?void 0:t.clientWidth);d.value=a,window.addEventListener("resize",o,!0)});const o=()=>{let t=document.getElementById("stepItemContent"),a=(t==null?void 0:t.scrollWidth)>(t==null?void 0:t.clientWidth);d.value=a}});const g=(o,t)=>{if(!r.needClick)return;i("update:active",t),i("click",o);let a=document.getElementById("stepItemContent"),c=document.getElementById(`stepItem${t}`),n=document.getElementById("stepItem0");const p=c&&n?(c==null?void 0:c.offsetLeft)-(n==null?void 0:n.offsetLeft):0;a&&c&&(a.scrollLeft=p>(a==null?void 0:a.clientWidth)?p-(a==null?void 0:a.offsetLeft):0)},y=()=>{let o=document.getElementById("stepItemContent");o&&(o.scrollLeft=o.scrollLeft-20)},k=()=>{let o=document.getElementById("stepItemContent");o&&(o.scrollLeft=o.scrollLeft+20)},_=()=>{clearInterval(h.value);let o=document.getElementById("stepItemContent");m.value=!1,h.value=setInterval(()=>{m.value=!0,o&&(o.scrollLeft=o.scrollLeft-20)},100)},T=()=>{clearInterval(h.value),m.value||y()},H=()=>{clearInterval(u.value);let o=document.getElementById("stepItemContent");m.value=!1,u.value=setInterval(()=>{m.value=!0,o&&(o.scrollLeft=o.scrollLeft+20)},100)},W=()=>{clearInterval(u.value),m.value||k()};return(o,t)=>{const a=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock("div",L,[d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-left",onMousedown:_,onMouseup:T,onClick:y},[e.createVNode(a,{class:"operation-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(E),{size:"26px"})]),_:1})],32)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:"step-item-content",id:"stepItemContent",style:e.normalizeStyle({justifyContent:d.value?"flex-start":"center"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(c,n)=>{var p;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${l.alignCenter?"ik-hor-step-item":""} step-item ${n<=l.active?"step-item-active":""}`),style:e.normalizeStyle({width:l.alignCenter?`calc(100%/${(p=l.list)==null?void 0:p.length})`:""}),key:n},[e.createElementVNode("div",{class:e.normalizeClass(`${l.alignCenter?"ik-hor-step_head":""} `)},[n!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(`ik-hor-step_line step-border ${n<=l.active?"step-border-greater-than":""}`),style:e.normalizeStyle({width:`${l.spaceNum.indexOf("px")!=-1?l.spaceNum:`${l.spaceNum}px`}`})},t[0]||(t[0]=[e.createElementVNode("i",{class:"ik-hor-step_line_inner"},null,-1)]),6)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(`step-num ${n===l.active?"step-num-active":n<l.active?"step-num-greater-than":""}`),onClick:I=>g(c,n),style:e.normalizeStyle({backgroundColor:n===l.active&&l.activeColor?l.activeColor:"",cursor:c&&c.disabled?"not-allowed":l.needClick?"pointer":"context-menu"})},[e.renderSlot(o.$slots,"icon",{data:{item:c,index:n}},()=>[e.createTextVNode(e.toDisplayString(n+1),1)],!0)],14,z)],2),e.createElementVNode("div",N,[e.createElementVNode("div",{id:`stepItem${n}`,class:e.normalizeClass(`step-label ${l.active===n?"step-label-active":n<l.active?"step-label-greater-than":""} step-item-${n}`),style:e.normalizeStyle({color:n===l.active&&l.activeColor?l.activeColor:"",cursor:c&&c.disabled?"not-allowed":l.needClick?"pointer":"context-menu"}),onClick:I=>g(c,n)},e.toDisplayString(c[l.propsField.title]),15,$),e.createElementVNode("div",{id:`stepItemDesc${n}`,class:e.normalizeClass(`step-description step-label ${l.active===n?"step-label-active":n<l.active?"step-label-greater-than":""} step-item-${n}`),style:e.normalizeStyle({color:n===l.active&&l.activeColor?l.activeColor:"",cursor:c&&c.disabled?"not-allowed":l.needClick?"pointer":"context-menu"}),onClick:I=>g(c,n)},e.toDisplayString(c[l.propsField.description]),15,b)])],6)}),128))],4),d.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon-right",onMousedown:H,onMouseup:W,onClick:k},[e.createVNode(a,{class:"operation-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(S))]),_:1})],32)):e.createCommentVNode("v-if",!0)])}}}),M="",C=B(((l,s)=>{const r=l.__vccOpts||l;for(const[i,d]of s)r[i]=d;return r})(V,[["__scopeId","data-v-a26cdcaf"]]));f.IKHorizontalStepBar=C,f.default=C,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});