iking-web-ui-pro 0.2.19 → 0.2.21

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 (64) hide show
  1. package/dist/IKExpandCollapse/ik.index.es.js +66 -69
  2. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  3. package/dist/IKExpandCollapse/style.css +1 -1
  4. package/dist/IKPreviewFile/ik.index.es.js +100 -103
  5. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  6. package/dist/IKPreviewFile/style.css +1 -1
  7. package/dist/IKVerticalStepBar/ik.index.es.js +117 -120
  8. package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
  9. package/dist/IKVerticalStepBar/style.css +1 -1
  10. package/dist/IkApprovalProcessDetail/ik.index.es.js +98 -101
  11. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  12. package/dist/IkApprovalProcessDetail/style.css +1 -1
  13. package/dist/IkBaseDialog/ik.index.es.js +106 -109
  14. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  15. package/dist/IkBaseDialog/style.css +1 -1
  16. package/dist/IkBtnSetting/ik.index.es.js +239 -242
  17. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  18. package/dist/IkBtnSetting/style.css +1 -1
  19. package/dist/IkCollapseCard/ik.index.es.js +73 -76
  20. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  21. package/dist/IkCollapseCard/style.css +1 -1
  22. package/dist/IkDescription/ik.index.es.js +103 -106
  23. package/dist/IkDescription/ik.index.umd.js +1 -1
  24. package/dist/IkDescription/style.css +1 -1
  25. package/dist/IkDetailPreviewFiles/ik.index.es.js +87 -90
  26. package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
  27. package/dist/IkDetailPreviewFiles/style.css +1 -1
  28. package/dist/IkIconPicker/ik.index.es.js +138 -141
  29. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  30. package/dist/IkIconPicker/style.css +1 -1
  31. package/dist/IkMonacoEditor/ik.index.es.js +312 -315
  32. package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
  33. package/dist/IkMonacoEditor/style.css +1 -1
  34. package/dist/IkPageFull/ik.index.es.js +1051 -1054
  35. package/dist/IkPageFull/ik.index.umd.js +2 -2
  36. package/dist/IkPageFull/style.css +1 -1
  37. package/dist/IkPreviewFileDialog/ik.index.es.js +87 -90
  38. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  39. package/dist/IkPreviewFileDialog/style.css +1 -1
  40. package/dist/IkSchedule/ik.index.es.js +2948 -2951
  41. package/dist/IkSchedule/ik.index.umd.js +1 -1
  42. package/dist/IkSchedule/style.css +1 -1
  43. package/dist/IkSideText/ik.index.es.js +91 -94
  44. package/dist/IkSideText/ik.index.umd.js +1 -1
  45. package/dist/IkSideText/style.css +1 -1
  46. package/dist/IkSvgIcon/ik.index.es.js +66 -69
  47. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  48. package/dist/IkSvgIcon/style.css +1 -1
  49. package/dist/IkUploadFile/ik.index.es.js +98 -101
  50. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  51. package/dist/IkUploadFile/style.css +1 -1
  52. package/dist/IkUploadImage/ik.index.es.js +248 -237
  53. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  54. package/dist/IkUploadImage/style.css +1 -1
  55. package/dist/Provider/ik.index.es.js +10 -14
  56. package/dist/Provider/ik.index.umd.js +1 -1
  57. package/dist/index.es.js +14465 -14458
  58. package/dist/index.umd.js +88 -88
  59. package/dist/src/components/IkUploadImage/index.d.ts +38 -0
  60. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +18 -0
  61. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +0 -9
  62. package/dist/src/components/Provider/index.d.ts +0 -19
  63. package/dist/style.css +1 -1
  64. package/package.json +1 -1
@@ -1 +1 @@
1
- [data-v-f0925ff8]{padding:0;margin:0}.demo-app[data-v-f0925ff8]{width:70%;margin:auto}.icon[data-v-f0925ff8]{width:10%!important;text-align:center}.icon svg[data-v-f0925ff8]{width:25px;height:25px;vertical-align:middle}.to[data-v-f0925ff8]{width:4%!important;display:inline-block;margin:auto;text-align:center}[data-v-f0925ff8] .fc-event{width:calc(100% - 4px);padding:0 4px}[data-v-f0925ff8] .fc-button{color:var(--el-color-white);border-color:var(--el-color-primary);background-color:var(--el-color-primary)}[data-v-f0925ff8] .fc-button:hover{color:var(--el-color-white);border-color:var(--el-color-primary-light-3);background-color:var(--el-color-primary-light-3);outline:none}[data-v-f0925ff8] .fc-button-primary:disabled{background-color:var(--el-color-primary-light-5);border-color:var(--el-color-primary-light-5);color:var(--el-color-white)}[data-v-f0925ff8] .fc-button-active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:not(:disabled):active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:focus{box-shadow:none!important}[data-v-f0925ff8] .fc .fc-h-event{background-color:inherit;border:none}[data-v-f0925ff8] .fc .fc-view table.fc-scrollgrid thead{line-height:40px}.title-line[data-v-f0925ff8]{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--el-color-primary-dark-2)}.title-line .title[data-v-f0925ff8]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ik-full-calendar[data-v-f0925ff8]{width:100%;height:100%}.event-title[data-v-f0925ff8]{display:flex;align-items:center;color:var(--ik-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title{color:var(--el-color-white)}.event-title[data-v-f0925ff8]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.allday[data-v-f0925ff8]:before{background-color:var(--ik-success)}.no-allday[data-v-f0925ff8]:before{background-color:var(--ik-error)}.event-title-time[data-v-f0925ff8]{color:var(--ik-vice-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title .event-title-time,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title .event-title-time{color:var(--el-color-info-light-8)}.event-title-text[data-v-f0925ff8]{margin-left:4px}.row-title[data-v-ec9fdc8a]{display:flex}.ik-svg-icon.ik-icon-span[data-v-ec9fdc8a]:not(:first-child){margin-left:var(--ik-margin-s-12)}.ik-schedule[data-v-e308f501]{width:100%;height:100%;display:flex}.ik-schedule__left[data-v-e308f501]{height:100%;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0}.ik-schedule__header[data-v-e308f501]{flex-shrink:0;flex-grow:0;text-align:left;display:flex}.ik-schedule__title[data-v-e308f501]{font-family:Arial-BoldMT,Arial Bold,Arial,sans-serif;font-weight:700;flex-shrink:0}.ik-schedule__body[data-v-e308f501]{flex-grow:1;margin-top:16px;height:calc(100% - 56px)}.ik-schedule__header-right[data-v-e308f501]{display:flex;justify-content:space-between;flex-grow:1}.ik-schedule__header-right-item[data-v-e308f501]{border-left:4px solid;line-height:32px}.ik-schedule__right-title[data-v-e308f501]{text-align:left;line-height:32px}
1
+ [data-v-f0925ff8]{padding:0;margin:0}.demo-app[data-v-f0925ff8]{width:70%;margin:auto}.icon[data-v-f0925ff8]{width:10%!important;text-align:center}.icon svg[data-v-f0925ff8]{width:25px;height:25px;vertical-align:middle}.to[data-v-f0925ff8]{width:4%!important;display:inline-block;margin:auto;text-align:center}[data-v-f0925ff8] .fc-event{width:calc(100% - 4px);padding:0 4px}[data-v-f0925ff8] .fc-button{color:var(--el-color-white);border-color:var(--el-color-primary);background-color:var(--el-color-primary)}[data-v-f0925ff8] .fc-button:hover{color:var(--el-color-white);border-color:var(--el-color-primary-light-3);background-color:var(--el-color-primary-light-3);outline:none}[data-v-f0925ff8] .fc-button-primary:disabled{background-color:var(--el-color-primary-light-5);border-color:var(--el-color-primary-light-5);color:var(--el-color-white)}[data-v-f0925ff8] .fc-button-active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:not(:disabled):active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:focus{box-shadow:none!important}[data-v-f0925ff8] .fc .fc-h-event{background-color:inherit;border:none}[data-v-f0925ff8] .fc .fc-view table.fc-scrollgrid thead{line-height:40px}.title-line[data-v-f0925ff8]{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--el-color-primary-dark-2)}.title-line .title[data-v-f0925ff8]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ik-full-calendar[data-v-f0925ff8]{width:100%;height:100%}.event-title[data-v-f0925ff8]{display:flex;align-items:center;color:var(--ik-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title{color:var(--el-color-white)}.event-title[data-v-f0925ff8]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.allday[data-v-f0925ff8]:before{background-color:var(--ik-success)}.no-allday[data-v-f0925ff8]:before{background-color:var(--ik-error)}.event-title-time[data-v-f0925ff8]{color:var(--ik-vice-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title .event-title-time,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title .event-title-time{color:var(--el-color-info-light-8)}.event-title-text[data-v-f0925ff8]{margin-left:4px}.row-title[data-v-a7ec508a]{display:flex}.ik-svg-icon.ik-icon-span[data-v-a7ec508a]:not(:first-child){margin-left:var(--ik-margin-s-12)}.ik-schedule[data-v-e308f501]{width:100%;height:100%;display:flex}.ik-schedule__left[data-v-e308f501]{height:100%;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0}.ik-schedule__header[data-v-e308f501]{flex-shrink:0;flex-grow:0;text-align:left;display:flex}.ik-schedule__title[data-v-e308f501]{font-family:Arial-BoldMT,Arial Bold,Arial,sans-serif;font-weight:700;flex-shrink:0}.ik-schedule__body[data-v-e308f501]{flex-grow:1;margin-top:16px;height:calc(100% - 56px)}.ik-schedule__header-right[data-v-e308f501]{display:flex;justify-content:space-between;flex-grow:1}.ik-schedule__header-right-item[data-v-e308f501]{border-left:4px solid;line-height:32px}.ik-schedule__right-title[data-v-e308f501]{text-align:left;line-height:32px}
@@ -1,30 +1,30 @@
1
- import { defineComponent as b, inject as $, computed as g, resolveComponent as m, openBlock as n, createElementBlock as s, normalizeClass as v, normalizeStyle as c, createCommentVNode as p, createElementVNode as u, createBlock as y, withCtx as h, createTextVNode as I, toDisplayString as f, useCssVars as T, unref as z, ref as C, Fragment as L, createVNode as N } from "vue";
2
- import { ikColor as S } from "iking-utils-pro";
3
- const B = (t, o) => {
4
- if (t.install = (l) => {
5
- for (const e of [t, ...Object.values(o ?? {})])
6
- l.component(e.name, e);
1
+ import { defineComponent as k, computed as p, resolveComponent as f, openBlock as n, createElementBlock as s, normalizeClass as v, normalizeStyle as c, createCommentVNode as d, createElementVNode as u, createBlock as g, withCtx as m, createTextVNode as x, toDisplayString as y, useCssVars as $, unref as I, ref as T, Fragment as C, createVNode as L } from "vue";
2
+ import { ikColor as z } from "iking-utils-pro";
3
+ const S = (t, o) => {
4
+ if (t.install = (e) => {
5
+ for (const l of [t, ...Object.values(o ?? {})])
6
+ e.component(l.name, l);
7
7
  }, o)
8
- for (const [l, e] of Object.entries(o))
9
- t[l] = e;
8
+ for (const [e, l] of Object.entries(o))
9
+ t[e] = l;
10
10
  return t;
11
- }, w = (t, o) => {
12
- const l = t.__vccOpts || t;
13
- for (const [e, i] of o)
14
- l[e] = i;
15
- return l;
16
- }, j = {
11
+ }, _ = (t, o) => {
12
+ const e = t.__vccOpts || t;
13
+ for (const [l, i] of o)
14
+ e[l] = i;
15
+ return e;
16
+ }, N = {
17
17
  key: 0,
18
18
  class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
19
- }, V = {
19
+ }, j = {
20
20
  key: 1,
21
21
  class: "h-[1em] w-[1em]",
22
22
  "aria-hidden": "true"
23
- }, E = ["xlink:href"], G = ["src"], O = {
23
+ }, V = ["xlink:href"], E = ["src"], G = {
24
24
  key: 1,
25
25
  class: "h-[1em] w-[1em]",
26
26
  "aria-hidden": "true"
27
- }, U = ["xlink:href"], W = ["src"], F = /* @__PURE__ */ b({
27
+ }, O = ["xlink:href"], U = ["src"], W = /* @__PURE__ */ k({
28
28
  name: "IkSvgIcon",
29
29
  __name: "index",
30
30
  props: {
@@ -51,13 +51,10 @@ const B = (t, o) => {
51
51
  width: {}
52
52
  },
53
53
  setup(t) {
54
- const o = t, l = $("iconConfig"), e = g(() => ({
55
- ...(l == null ? void 0 : l.value) || {},
56
- ...o
57
- })), i = g(() => {
54
+ const o = t, e = p(() => o), l = p(() => {
58
55
  const { name: a } = e.value;
59
56
  return /^http?:\/\//.test(a) ? "img" : /i-[^:]+:[^:]+/.test(a) ? "unocss" : a != null && a.startsWith("iksig") ? "iksig" : a != null && a.includes(":") ? "iconify" : a != null && a.startsWith("iksvg") ? "svg" : "i";
60
- }), r = g(() => {
57
+ }), i = p(() => {
61
58
  const a = [];
62
59
  if (e.value.flip)
63
60
  switch (e.value.flip) {
@@ -72,27 +69,27 @@ const B = (t, o) => {
72
69
  break;
73
70
  }
74
71
  e.value.rotate && a.push(`rotate(${e.value.rotate % 360}deg)`);
75
- const d = {
72
+ const r = {
76
73
  ...e.value.color && { color: e.value.color },
77
74
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
78
75
  ...a.length && { transform: a.join(" ") },
79
76
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
80
- ...e.value.color && i.value !== "iksig" ? {
77
+ ...e.value.color && l.value !== "iksig" ? {
81
78
  "--ik-color-icon-dark": e.value.color,
82
- "--ik-color-icon-light": e.value.colorLight || S.setOpacity(e.value.color, e.value.opacity)
79
+ "--ik-color-icon-light": e.value.colorLight || z.setOpacity(e.value.color, e.value.opacity)
83
80
  } : {}
84
81
  };
85
- return e.value.width && (d.width = d.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), d;
82
+ return e.value.width && (r.width = r.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), r;
86
83
  });
87
- return (a, d) => {
88
- const k = m("el-tooltip"), _ = m("el-button");
89
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (n(), s("span", j, [
84
+ return (a, r) => {
85
+ const b = f("el-tooltip"), h = f("el-button");
86
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (n(), s("span", N, [
90
87
  e.value.notip || !e.value.title ? (n(), s(
91
88
  "i",
92
89
  {
93
90
  key: 0,
94
91
  class: v(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
95
- [a.name]: i.value === "unocss",
92
+ [a.name]: l.value === "unocss",
96
93
  "show-bg": e.value.showBg || e.value.bg,
97
94
  default: e.value.size === "default",
98
95
  small: e.value.size === "small",
@@ -104,34 +101,34 @@ const B = (t, o) => {
104
101
  active: e.value.active,
105
102
  disabled: e.value.disabled
106
103
  }]),
107
- style: c(r.value)
104
+ style: c(i.value)
108
105
  },
109
106
  [
110
- p(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
111
- i.value === "iksig" ? (n(), s(
107
+ d(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
108
+ l.value === "iksig" ? (n(), s(
112
109
  "i",
113
110
  {
114
111
  key: 0,
115
112
  class: v(`iksig ${e.value.name}`),
116
- style: c(r.value)
113
+ style: c(i.value)
117
114
  },
118
115
  null,
119
116
  6
120
117
  /* CLASS, STYLE */
121
- )) : i.value === "svg" ? (n(), s("svg", V, [
118
+ )) : l.value === "svg" ? (n(), s("svg", j, [
122
119
  u("use", {
123
120
  "xlink:href": `#${e.value.name}`
124
- }, null, 8, E)
125
- ])) : i.value === "img" ? (n(), s("img", {
121
+ }, null, 8, V)
122
+ ])) : l.value === "img" ? (n(), s("img", {
126
123
  key: 2,
127
124
  src: e.value.name,
128
125
  class: "h-[1em] w-[1em]"
129
- }, null, 8, G)) : (n(), s(
126
+ }, null, 8, E)) : (n(), s(
130
127
  "i",
131
128
  {
132
129
  key: 3,
133
130
  class: v(e.value.name),
134
- style: c(r.value)
131
+ style: c(i.value)
135
132
  },
136
133
  null,
137
134
  6
@@ -140,17 +137,17 @@ const B = (t, o) => {
140
137
  ],
141
138
  6
142
139
  /* CLASS, STYLE */
143
- )) : (n(), y(k, {
140
+ )) : (n(), g(b, {
144
141
  key: 1,
145
142
  content: e.value.title,
146
143
  placement: "top"
147
144
  }, {
148
- default: h(() => [
145
+ default: m(() => [
149
146
  u(
150
147
  "i",
151
148
  {
152
149
  class: v(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
153
- [a.name]: i.value === "unocss",
150
+ [a.name]: l.value === "unocss",
154
151
  "show-bg": e.value.showBg || e.value.bg,
155
152
  default: e.value.size === "default",
156
153
  small: e.value.size === "small",
@@ -161,33 +158,33 @@ const B = (t, o) => {
161
158
  error: e.value.error || e.value.type === "error",
162
159
  active: e.value.active
163
160
  }]),
164
- style: c(r.value)
161
+ style: c(i.value)
165
162
  },
166
163
  [
167
- i.value === "iksig" ? (n(), s(
164
+ l.value === "iksig" ? (n(), s(
168
165
  "i",
169
166
  {
170
167
  key: 0,
171
168
  class: v(`iksig ${e.value.name}`),
172
- style: c(r.value)
169
+ style: c(i.value)
173
170
  },
174
171
  null,
175
172
  6
176
173
  /* CLASS, STYLE */
177
- )) : i.value === "svg" ? (n(), s("svg", O, [
174
+ )) : l.value === "svg" ? (n(), s("svg", G, [
178
175
  u("use", {
179
176
  "xlink:href": `#${e.value.name}`
180
- }, null, 8, U)
181
- ])) : i.value === "img" ? (n(), s("img", {
177
+ }, null, 8, O)
178
+ ])) : l.value === "img" ? (n(), s("img", {
182
179
  key: 2,
183
180
  src: e.value.name,
184
181
  class: "h-[1em] w-[1em]"
185
- }, null, 8, W)) : (n(), s(
182
+ }, null, 8, U)) : (n(), s(
186
183
  "i",
187
184
  {
188
185
  key: 3,
189
186
  class: v(e.value.name),
190
- style: c(r.value)
187
+ style: c(i.value)
191
188
  },
192
189
  null,
193
190
  6
@@ -201,13 +198,13 @@ const B = (t, o) => {
201
198
  _: 1
202
199
  /* STABLE */
203
200
  }, 8, ["content"]))
204
- ])) : (n(), y(_, {
201
+ ])) : (n(), g(h, {
205
202
  key: 1,
206
203
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
207
204
  }, {
208
- default: h(() => [
209
- I(
210
- f(e.value.title),
205
+ default: m(() => [
206
+ x(
207
+ y(e.value.title),
211
208
  1
212
209
  /* TEXT */
213
210
  )
@@ -218,12 +215,12 @@ const B = (t, o) => {
218
215
  };
219
216
  }
220
217
  });
221
- const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q = () => ({
218
+ const F = /* @__PURE__ */ _(W, [["__scopeId", "data-v-a7ec508a"]]), X = S(F), Y = () => ({
222
219
  getLinearGradient: (o) => {
223
- const l = S.hexToRGB(o).replace(/[^\d,]/g, "").split(",").map(Number);
224
- return `linear-gradient(to top, ${o} 4%, rgb(${l[0]},${l[1] + 50},${l[2]}) 88%)`;
220
+ const e = z.hexToRGB(o).replace(/[^\d,]/g, "").split(",").map(Number);
221
+ return `linear-gradient(to top, ${o} 4%, rgb(${e[0]},${e[1] + 50},${e[2]}) 88%)`;
225
222
  }
226
- }), D = /* @__PURE__ */ b({
223
+ }), q = /* @__PURE__ */ k({
227
224
  __name: "IkLinearIcon",
228
225
  props: {
229
226
  icon: {
@@ -240,15 +237,15 @@ const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q
240
237
  }
241
238
  },
242
239
  setup(t) {
243
- T((i) => ({
244
- "435077c3": e.value
240
+ $((i) => ({
241
+ "435077c3": l.value
245
242
  }));
246
- const o = t, { getLinearGradient: l } = q(), e = g(() => `${o.size}px`);
247
- return (i, r) => (n(), s(
243
+ const o = t, { getLinearGradient: e } = Y(), l = p(() => `${o.size}px`);
244
+ return (i, a) => (n(), s(
248
245
  "div",
249
246
  {
250
247
  class: "form-icon",
251
- style: c({ backgroundImage: z(l)(t.backgroundColor || "#28b8a4") })
248
+ style: c({ backgroundImage: I(e)(t.backgroundColor || "#28b8a4") })
252
249
  },
253
250
  [
254
251
  u(
@@ -266,7 +263,7 @@ const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q
266
263
  ));
267
264
  }
268
265
  });
269
- const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class: "side-text items-center" }, H = { class: "side-left flex items-center" }, J = { class: "side-right" }, K = { class: "text-over-line" }, M = { class: "text-over-line" }, P = /* @__PURE__ */ b({
266
+ const D = /* @__PURE__ */ _(q, [["__scopeId", "data-v-0bc5a180"]]), R = { class: "side-text items-center" }, A = { class: "side-left flex items-center" }, H = { class: "side-right" }, J = { class: "text-over-line" }, K = { class: "text-over-line" }, M = /* @__PURE__ */ k({
270
267
  __name: "IkSideText",
271
268
  props: {
272
269
  // 名称
@@ -324,30 +321,30 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
324
321
  }
325
322
  },
326
323
  setup(t) {
327
- const o = t, l = (a) => a ? a.startsWith("http") ? a : `${o.loadUrl}${a}` : "", e = g(() => l(o.avatar)), i = C(!!o.avatar), r = () => {
324
+ const o = t, e = (r) => r ? r.startsWith("http") ? r : `${o.loadUrl}${r}` : "", l = p(() => e(o.avatar)), i = T(!!o.avatar), a = () => {
328
325
  i.value = !1;
329
326
  };
330
- return (a, d) => {
331
- var x;
332
- const k = m("el-avatar"), _ = m("el-tooltip");
333
- return n(), s("div", A, [
334
- u("div", H, [
335
- t.avatarType === "url" ? (n(), y(k, {
327
+ return (r, b) => {
328
+ var w;
329
+ const h = f("el-avatar"), B = f("el-tooltip");
330
+ return n(), s("div", R, [
331
+ u("div", A, [
332
+ t.avatarType === "url" ? (n(), g(h, {
336
333
  key: 0,
337
334
  style: { "--el-avatar-bg-color": "var(--ik-color-primary)" },
338
335
  size: t.size,
339
336
  shape: t.shape,
340
- src: e.value,
337
+ src: l.value,
341
338
  fit: "contain",
342
- onError: r
339
+ onError: a
343
340
  }, {
344
- default: h(() => [
345
- i.value ? p("v-if", !0) : (n(), s(
346
- L,
341
+ default: m(() => [
342
+ i.value ? d("v-if", !0) : (n(), s(
343
+ C,
347
344
  { key: 0 },
348
345
  [
349
- I(
350
- f(t.name.slice(-2)),
346
+ x(
347
+ y(t.name.slice(-2)),
351
348
  1
352
349
  /* TEXT */
353
350
  )
@@ -358,35 +355,35 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
358
355
  ]),
359
356
  _: 1
360
357
  /* STABLE */
361
- }, 8, ["size", "shape", "src"])) : p("v-if", !0),
362
- t.avatarType === "icon" ? (n(), y(z(Y), {
358
+ }, 8, ["size", "shape", "src"])) : d("v-if", !0),
359
+ t.avatarType === "icon" ? (n(), g(I(X), {
363
360
  key: 1,
364
- name: `iksvg_${(x = t.avatar) == null ? void 0 : x.replace("iksvg_", "")}`,
361
+ name: `iksvg_${(w = t.avatar) == null ? void 0 : w.replace("iksvg_", "")}`,
365
362
  "show-bg": t.showIconBg,
366
363
  type: t.iconType,
367
364
  style: c({ fontSize: t.showIconBg ? "34px" : "50px" }),
368
365
  size: t.iconSize
369
- }, null, 8, ["name", "show-bg", "type", "style", "size"])) : p("v-if", !0),
370
- t.avatarType === "linearIcon" ? (n(), y(R, {
366
+ }, null, 8, ["name", "show-bg", "type", "style", "size"])) : d("v-if", !0),
367
+ t.avatarType === "linearIcon" ? (n(), g(D, {
371
368
  key: 2,
372
369
  icon: t.avatar,
373
370
  "background-color": t.iconBackgroundColor
374
- }, null, 8, ["icon", "background-color"])) : p("v-if", !0)
371
+ }, null, 8, ["icon", "background-color"])) : d("v-if", !0)
375
372
  ]),
376
- u("div", J, [
373
+ u("div", H, [
377
374
  u(
378
375
  "p",
379
- K,
380
- f(t.text),
376
+ J,
377
+ y(t.text),
381
378
  1
382
379
  /* TEXT */
383
380
  ),
384
- N(_, { content: t.subText }, {
385
- default: h(() => [
381
+ L(B, { content: t.subText }, {
382
+ default: m(() => [
386
383
  u(
387
384
  "p",
388
- M,
389
- f(t.subText),
385
+ K,
386
+ y(t.subText),
390
387
  1
391
388
  /* TEXT */
392
389
  )
@@ -399,8 +396,8 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
399
396
  };
400
397
  }
401
398
  });
402
- const Q = /* @__PURE__ */ w(P, [["__scopeId", "data-v-75852e7e"]]), te = B(Q);
399
+ const P = /* @__PURE__ */ _(M, [["__scopeId", "data-v-75852e7e"]]), ee = S(P);
403
400
  export {
404
- te as IkSideText,
405
- te as default
401
+ ee as IkSideText,
402
+ ee as default
406
403
  };
@@ -1 +1 @@
1
- (function(s,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(s=typeof globalThis<"u"?globalThis:s||self,e(s.index={},s.vue,s["iking-utils-pro"]))})(this,function(s,e,m){"use strict";const y=(l,n)=>{if(l.install=a=>{for(const t of[l,...Object.values(n??{})])a.component(t.name,t)},n)for(const[a,t]of Object.entries(n))l[a]=t;return l},d=(l,n)=>{const a=l.__vccOpts||l;for(const[t,i]of n)a[t]=i;return a},k={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},h={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v=["xlink:href"],_=["src"],B={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},b=["xlink:href"],x=["src"],z=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(l){const n=l,a=e.inject("iconConfig"),t=e.computed(()=>({...(a==null?void 0:a.value)||{},...n})),i=e.computed(()=>{const{name:o}=t.value;return/^http?:\/\//.test(o)?"img":/i-[^:]+:[^:]+/.test(o)?"unocss":o!=null&&o.startsWith("iksig")?"iksig":o!=null&&o.includes(":")?"iconify":o!=null&&o.startsWith("iksvg")?"svg":"i"}),c=e.computed(()=>{const o=[];if(t.value.flip)switch(t.value.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}t.value.rotate&&o.push(`rotate(${t.value.rotate%360}deg)`);const r={...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...o.length&&{transform:o.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&i.value!=="iksig"?{"--ik-color-icon-dark":t.value.color,"--ik-color-icon-light":t.value.colorLight||m.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(r.width=r.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),r});return(o,r)=>{const u=e.resolveComponent("el-tooltip"),p=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",k,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:i.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(c.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),i.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(c.value)},null,6)):i.value==="svg"?(e.openBlock(),e.createElementBlock("svg",h,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,v)])):i.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,_)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(c.value)},null,6))],6)):(e.openBlock(),e.createBlock(u,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:i.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:o.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(c.value)},[i.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(c.value)},null,6)):i.value==="svg"?(e.openBlock(),e.createElementBlock("svg",B,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,b)])):i.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,x)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(c.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(p,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),L="",S=y(d(z,[["__scopeId","data-v-ec9fdc8a"]])),w=()=>({getLinearGradient:n=>{const a=m.ikColor.hexToRGB(n).replace(/[^\d,]/g,"").split(",").map(Number);return`linear-gradient(to top, ${n} 4%, rgb(${a[0]},${a[1]+50},${a[2]}) 88%)`}}),C=e.defineComponent({__name:"IkLinearIcon",props:{icon:{type:String,default:""},backgroundColor:{type:String,default:""},size:{type:Number,default:40}},setup(l){e.useCssVars(i=>({"435077c3":t.value}));const n=l,{getLinearGradient:a}=w(),t=e.computed(()=>`${n.size}px`);return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:"form-icon",style:e.normalizeStyle({backgroundImage:e.unref(a)(l.backgroundColor||"#28b8a4")})},[e.createElementVNode("i",{class:e.normalizeClass(`ikflow ${l.icon}`)},null,2)],4))}}),D="",I=d(C,[["__scopeId","data-v-0bc5a180"]]),T={class:"side-text items-center"},E={class:"side-left flex items-center"},$={class:"side-right"},N={class:"text-over-line"},V={class:"text-over-line"},j=e.defineComponent({__name:"IkSideText",props:{name:{type:String,default:""},avatar:{type:String,default:""},avatarType:{type:String,default:"url"},showIconBg:{type:Boolean,default:!1},iconType:{type:String,default:"info"},iconBackgroundColor:{type:String,default:""},text:{type:String,default:""},subText:{type:String,default:""},shape:{type:String,default:"square"},size:{type:Number,default:50},iconSize:{type:String||Number,default:"small"},loadUrl:{type:String,default:""}},setup(l){const n=l,a=o=>o?o.startsWith("http")?o:`${n.loadUrl}${o}`:"",t=e.computed(()=>a(n.avatar)),i=e.ref(!!n.avatar),c=()=>{i.value=!1};return(o,r)=>{var g;const u=e.resolveComponent("el-avatar"),p=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",E,[l.avatarType==="url"?(e.openBlock(),e.createBlock(u,{key:0,style:{"--el-avatar-bg-color":"var(--ik-color-primary)"},size:l.size,shape:l.shape,src:t.value,fit:"contain",onError:c},{default:e.withCtx(()=>[i.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.name.slice(-2)),1)],64))]),_:1},8,["size","shape","src"])):e.createCommentVNode("v-if",!0),l.avatarType==="icon"?(e.openBlock(),e.createBlock(e.unref(S),{key:1,name:`iksvg_${(g=l.avatar)==null?void 0:g.replace("iksvg_","")}`,"show-bg":l.showIconBg,type:l.iconType,style:e.normalizeStyle({fontSize:l.showIconBg?"34px":"50px"}),size:l.iconSize},null,8,["name","show-bg","type","style","size"])):e.createCommentVNode("v-if",!0),l.avatarType==="linearIcon"?(e.openBlock(),e.createBlock(I,{key:2,icon:l.avatar,"background-color":l.iconBackgroundColor},null,8,["icon","background-color"])):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",$,[e.createElementVNode("p",N,e.toDisplayString(l.text),1),e.createVNode(p,{content:l.subText},{default:e.withCtx(()=>[e.createElementVNode("p",V,e.toDisplayString(l.subText),1)]),_:1},8,["content"])])])}}}),G="",f=y(d(j,[["__scopeId","data-v-75852e7e"]]));s.IkSideText=f,s.default=f,Object.defineProperties(s,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.index={},c.vue,c["iking-utils-pro"]))})(this,function(c,e,p){"use strict";const u=(l,n)=>{if(l.install=t=>{for(const a of[l,...Object.values(n??{})])t.component(a.name,a)},n)for(const[t,a]of Object.entries(n))l[t]=a;return l},r=(l,n)=>{const t=l.__vccOpts||l;for(const[a,i]of n)t[a]=i;return t},f={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},h=["xlink:href"],v=["src"],_={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},B=["xlink:href"],b=["src"],x=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(l){const n=l,t=e.computed(()=>n),a=e.computed(()=>{const{name:o}=t.value;return/^http?:\/\//.test(o)?"img":/i-[^:]+:[^:]+/.test(o)?"unocss":o!=null&&o.startsWith("iksig")?"iksig":o!=null&&o.includes(":")?"iconify":o!=null&&o.startsWith("iksvg")?"svg":"i"}),i=e.computed(()=>{const o=[];if(t.value.flip)switch(t.value.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}t.value.rotate&&o.push(`rotate(${t.value.rotate%360}deg)`);const s={...t.value.color&&{color:t.value.color},...t.value.size&&{fontSize:typeof t.value.size=="number"?`${t.value.size}px`:t.value.size},...o.length&&{transform:o.join(" ")},padding:t.value.showBg||t.value.bg?t.value.padding:0,...t.value.color&&a.value!=="iksig"?{"--ik-color-icon-dark":t.value.color,"--ik-color-icon-light":t.value.colorLight||p.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(s.width=s.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),s});return(o,s)=>{const y=e.resolveComponent("el-tooltip"),d=e.resolveComponent("el-button");return t.value.tableIconType==="icon"||!t.value.tableIconType?(e.openBlock(),e.createElementBlock("span",f,[t.value.notip||!t.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:t.value.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active,disabled:t.value.disabled}]),style:e.normalizeStyle(i.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,h)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,v)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)):(e.openBlock(),e.createBlock(y,{key:1,content:t.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:a.value==="unocss","show-bg":t.value.showBg||t.value.bg,default:t.value.size==="default",small:t.value.size==="small",big:t.value.size==="big",warning:t.value.warning||t.value.type==="warning",primary:o.primary||t.value.type==="primary",success:o.success||t.value.type==="success",error:t.value.error||t.value.type==="error",active:t.value.active}]),style:e.normalizeStyle(i.value)},[a.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${t.value.name}`),style:e.normalizeStyle(i.value)},null,6)):a.value==="svg"?(e.openBlock(),e.createElementBlock("svg",_,[e.createElementVNode("use",{"xlink:href":`#${t.value.name}`},null,8,B)])):a.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:t.value.name,class:"h-[1em] w-[1em]"},null,8,b)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(t.value.name),style:e.normalizeStyle(i.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(d,{key:1,type:["warning","error"].includes(t.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),j="",z=u(r(x,[["__scopeId","data-v-a7ec508a"]])),S=()=>({getLinearGradient:n=>{const t=p.ikColor.hexToRGB(n).replace(/[^\d,]/g,"").split(",").map(Number);return`linear-gradient(to top, ${n} 4%, rgb(${t[0]},${t[1]+50},${t[2]}) 88%)`}}),w=e.defineComponent({__name:"IkLinearIcon",props:{icon:{type:String,default:""},backgroundColor:{type:String,default:""},size:{type:Number,default:40}},setup(l){e.useCssVars(i=>({"435077c3":a.value}));const n=l,{getLinearGradient:t}=S(),a=e.computed(()=>`${n.size}px`);return(i,o)=>(e.openBlock(),e.createElementBlock("div",{class:"form-icon",style:e.normalizeStyle({backgroundImage:e.unref(t)(l.backgroundColor||"#28b8a4")})},[e.createElementVNode("i",{class:e.normalizeClass(`ikflow ${l.icon}`)},null,2)],4))}}),D="",C=r(w,[["__scopeId","data-v-0bc5a180"]]),I={class:"side-text items-center"},T={class:"side-left flex items-center"},E={class:"side-right"},$={class:"text-over-line"},N={class:"text-over-line"},V=e.defineComponent({__name:"IkSideText",props:{name:{type:String,default:""},avatar:{type:String,default:""},avatarType:{type:String,default:"url"},showIconBg:{type:Boolean,default:!1},iconType:{type:String,default:"info"},iconBackgroundColor:{type:String,default:""},text:{type:String,default:""},subText:{type:String,default:""},shape:{type:String,default:"square"},size:{type:Number,default:50},iconSize:{type:String||Number,default:"small"},loadUrl:{type:String,default:""}},setup(l){const n=l,t=s=>s?s.startsWith("http")?s:`${n.loadUrl}${s}`:"",a=e.computed(()=>t(n.avatar)),i=e.ref(!!n.avatar),o=()=>{i.value=!1};return(s,y)=>{var g;const d=e.resolveComponent("el-avatar"),L=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",I,[e.createElementVNode("div",T,[l.avatarType==="url"?(e.openBlock(),e.createBlock(d,{key:0,style:{"--el-avatar-bg-color":"var(--ik-color-primary)"},size:l.size,shape:l.shape,src:a.value,fit:"contain",onError:o},{default:e.withCtx(()=>[i.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.name.slice(-2)),1)],64))]),_:1},8,["size","shape","src"])):e.createCommentVNode("v-if",!0),l.avatarType==="icon"?(e.openBlock(),e.createBlock(e.unref(z),{key:1,name:`iksvg_${(g=l.avatar)==null?void 0:g.replace("iksvg_","")}`,"show-bg":l.showIconBg,type:l.iconType,style:e.normalizeStyle({fontSize:l.showIconBg?"34px":"50px"}),size:l.iconSize},null,8,["name","show-bg","type","style","size"])):e.createCommentVNode("v-if",!0),l.avatarType==="linearIcon"?(e.openBlock(),e.createBlock(C,{key:2,icon:l.avatar,"background-color":l.iconBackgroundColor},null,8,["icon","background-color"])):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",E,[e.createElementVNode("p",$,e.toDisplayString(l.text),1),e.createVNode(L,{content:l.subText},{default:e.withCtx(()=>[e.createElementVNode("p",N,e.toDisplayString(l.subText),1)]),_:1},8,["content"])])])}}}),G="",m=u(r(V,[["__scopeId","data-v-75852e7e"]]));c.IkSideText=m,c.default=m,Object.defineProperties(c,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- .row-title[data-v-ec9fdc8a]{display:flex}.ik-svg-icon.ik-icon-span[data-v-ec9fdc8a]:not(:first-child){margin-left:var(--ik-margin-s-12)}.form-icon[data-v-0bc5a180]{--ik-color-white: #fff;display:flex;align-items:center;justify-content:center;width:var(--435077c3);height:var(--435077c3);border-radius:4px}.form-icon i[data-v-0bc5a180]{font-size:27px;color:var(--ik-color-white)}.side-text[data-v-75852e7e]{display:flex}.side-text .side-left[data-v-75852e7e]{margin-right:12px}.side-text .side-right[data-v-75852e7e]{display:inline-flex;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]{overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]:last-child{color:#b5b5c3}
1
+ .row-title[data-v-a7ec508a]{display:flex}.ik-svg-icon.ik-icon-span[data-v-a7ec508a]:not(:first-child){margin-left:var(--ik-margin-s-12)}.form-icon[data-v-0bc5a180]{--ik-color-white: #fff;display:flex;align-items:center;justify-content:center;width:var(--435077c3);height:var(--435077c3);border-radius:4px}.form-icon i[data-v-0bc5a180]{font-size:27px;color:var(--ik-color-white)}.side-text[data-v-75852e7e]{display:flex}.side-text .side-left[data-v-75852e7e]{margin-right:12px}.side-text .side-right[data-v-75852e7e]{display:inline-flex;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]{overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-75852e7e]:last-child{color:#b5b5c3}