iking-web-ui-pro 0.2.20 → 0.2.22

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 +67 -64
  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 +279 -276
  5. package/dist/IKPreviewFile/ik.index.umd.js +16 -16
  6. package/dist/IKPreviewFile/style.css +1 -1
  7. package/dist/IKVerticalStepBar/ik.index.es.js +102 -99
  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 +279 -276
  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 +113 -110
  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 +208 -205
  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 +75 -72
  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 +413 -410
  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 +272 -269
  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 +146 -143
  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 +156 -153
  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 +1129 -1126
  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 +556 -553
  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 +1432 -1429
  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 +99 -96
  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 +54 -51
  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 +697 -694
  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 +204 -201
  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 +4121 -4122
  58. package/dist/index.umd.js +2 -2
  59. package/dist/src/components/IkSvgIcon/index.d.ts +6 -2
  60. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +6 -2
  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-4a1004b9]{display:flex}.ik-svg-icon.ik-icon-span[data-v-4a1004b9]: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);
7
- }, o)
8
- for (const [l, e] of Object.entries(o))
9
- t[l] = e;
1
+ import { defineComponent as x, computed as y, resolveComponent as _, openBlock as l, createElementBlock as s, withModifiers as w, normalizeClass as d, normalizeStyle as c, createCommentVNode as g, createElementVNode as u, createBlock as f, withCtx as b, createTextVNode as z, toDisplayString as k, useCssVars as C, unref as S, ref as L, Fragment as N, createVNode as j } from "vue";
2
+ import { ikColor as B } from "iking-utils-pro";
3
+ const $ = (t, n) => {
4
+ if (t.install = (i) => {
5
+ for (const e of [t, ...Object.values(n ?? {})])
6
+ i.component(e.name, e);
7
+ }, n)
8
+ for (const [i, e] of Object.entries(n))
9
+ t[i] = e;
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
+ }, I = (t, n) => {
12
+ const i = t.__vccOpts || t;
13
+ for (const [e, o] of n)
14
+ i[e] = o;
15
+ return i;
16
+ }, V = {
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
+ }, E = {
20
20
  key: 1,
21
21
  class: "h-[1em] w-[1em]",
22
22
  "aria-hidden": "true"
23
- }, E = ["xlink:href"], G = ["src"], O = {
23
+ }, G = ["xlink:href"], O = ["src"], U = {
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
+ }, W = ["xlink:href"], F = ["src"], X = /* @__PURE__ */ x({
28
28
  name: "IkSvgIcon",
29
29
  __name: "index",
30
30
  props: {
@@ -50,14 +50,12 @@ const B = (t, o) => {
50
50
  warning: { type: Boolean },
51
51
  width: {}
52
52
  },
53
- setup(t) {
54
- const o = t, l = $("iconConfig"), e = g(() => ({
55
- ...(l == null ? void 0 : l.value) || {},
56
- ...o
57
- })), i = g(() => {
53
+ emits: ["click"],
54
+ setup(t, { emit: n }) {
55
+ const i = t, e = y(() => i), o = y(() => {
58
56
  const { name: a } = e.value;
59
57
  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(() => {
58
+ }), r = y(() => {
61
59
  const a = [];
62
60
  if (e.value.flip)
63
61
  switch (e.value.flip) {
@@ -72,27 +70,30 @@ const B = (t, o) => {
72
70
  break;
73
71
  }
74
72
  e.value.rotate && a.push(`rotate(${e.value.rotate % 360}deg)`);
75
- const d = {
73
+ const p = {
76
74
  ...e.value.color && { color: e.value.color },
77
75
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
78
76
  ...a.length && { transform: a.join(" ") },
79
77
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
80
- ...e.value.color && i.value !== "iksig" ? {
78
+ ...e.value.color && o.value !== "iksig" ? {
81
79
  "--ik-color-icon-dark": e.value.color,
82
- "--ik-color-icon-light": e.value.colorLight || S.setOpacity(e.value.color, e.value.opacity)
80
+ "--ik-color-icon-light": e.value.colorLight || B.setOpacity(e.value.color, e.value.opacity)
83
81
  } : {}
84
82
  };
85
- return e.value.width && (d.width = d.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), d;
86
- });
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, [
90
- e.value.notip || !e.value.title ? (n(), s(
83
+ return e.value.width && (p.width = p.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), p;
84
+ }), v = n, m = (a) => {
85
+ e.value.disabled || v("click", a);
86
+ };
87
+ return (a, p) => {
88
+ const h = _("el-tooltip"), T = _("el-button");
89
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (l(), s("span", V, [
90
+ e.value.notip || !e.value.title ? (l(), s(
91
91
  "i",
92
92
  {
93
93
  key: 0,
94
- 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",
94
+ onClick: w(m, ["stop"]),
95
+ class: d(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
96
+ [a.name]: o.value === "unocss",
96
97
  "show-bg": e.value.showBg || e.value.bg,
97
98
  default: e.value.size === "default",
98
99
  small: e.value.size === "small",
@@ -107,30 +108,30 @@ const B = (t, o) => {
107
108
  style: c(r.value)
108
109
  },
109
110
  [
110
- p(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
111
- i.value === "iksig" ? (n(), s(
111
+ g(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
112
+ o.value === "iksig" ? (l(), s(
112
113
  "i",
113
114
  {
114
115
  key: 0,
115
- class: v(`iksig ${e.value.name}`),
116
+ class: d(`iksig ${e.value.name}`),
116
117
  style: c(r.value)
117
118
  },
118
119
  null,
119
120
  6
120
121
  /* CLASS, STYLE */
121
- )) : i.value === "svg" ? (n(), s("svg", V, [
122
+ )) : o.value === "svg" ? (l(), s("svg", E, [
122
123
  u("use", {
123
124
  "xlink:href": `#${e.value.name}`
124
- }, null, 8, E)
125
- ])) : i.value === "img" ? (n(), s("img", {
125
+ }, null, 8, G)
126
+ ])) : o.value === "img" ? (l(), s("img", {
126
127
  key: 2,
127
128
  src: e.value.name,
128
129
  class: "h-[1em] w-[1em]"
129
- }, null, 8, G)) : (n(), s(
130
+ }, null, 8, O)) : (l(), s(
130
131
  "i",
131
132
  {
132
133
  key: 3,
133
- class: v(e.value.name),
134
+ class: d(e.value.name),
134
135
  style: c(r.value)
135
136
  },
136
137
  null,
@@ -140,17 +141,17 @@ const B = (t, o) => {
140
141
  ],
141
142
  6
142
143
  /* CLASS, STYLE */
143
- )) : (n(), y(k, {
144
+ )) : (l(), f(h, {
144
145
  key: 1,
145
146
  content: e.value.title,
146
147
  placement: "top"
147
148
  }, {
148
- default: h(() => [
149
+ default: b(() => [
149
150
  u(
150
151
  "i",
151
152
  {
152
- 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",
153
+ class: d(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
154
+ [a.name]: o.value === "unocss",
154
155
  "show-bg": e.value.showBg || e.value.bg,
155
156
  default: e.value.size === "default",
156
157
  small: e.value.size === "small",
@@ -161,32 +162,33 @@ const B = (t, o) => {
161
162
  error: e.value.error || e.value.type === "error",
162
163
  active: e.value.active
163
164
  }]),
165
+ onClick: w(m, ["stop"]),
164
166
  style: c(r.value)
165
167
  },
166
168
  [
167
- i.value === "iksig" ? (n(), s(
169
+ o.value === "iksig" ? (l(), s(
168
170
  "i",
169
171
  {
170
172
  key: 0,
171
- class: v(`iksig ${e.value.name}`),
173
+ class: d(`iksig ${e.value.name}`),
172
174
  style: c(r.value)
173
175
  },
174
176
  null,
175
177
  6
176
178
  /* CLASS, STYLE */
177
- )) : i.value === "svg" ? (n(), s("svg", O, [
179
+ )) : o.value === "svg" ? (l(), s("svg", U, [
178
180
  u("use", {
179
181
  "xlink:href": `#${e.value.name}`
180
- }, null, 8, U)
181
- ])) : i.value === "img" ? (n(), s("img", {
182
+ }, null, 8, W)
183
+ ])) : o.value === "img" ? (l(), s("img", {
182
184
  key: 2,
183
185
  src: e.value.name,
184
186
  class: "h-[1em] w-[1em]"
185
- }, null, 8, W)) : (n(), s(
187
+ }, null, 8, F)) : (l(), s(
186
188
  "i",
187
189
  {
188
190
  key: 3,
189
- class: v(e.value.name),
191
+ class: d(e.value.name),
190
192
  style: c(r.value)
191
193
  },
192
194
  null,
@@ -201,13 +203,14 @@ const B = (t, o) => {
201
203
  _: 1
202
204
  /* STABLE */
203
205
  }, 8, ["content"]))
204
- ])) : (n(), y(_, {
206
+ ])) : (l(), f(T, {
205
207
  key: 1,
206
- type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
208
+ type: ["warning", "error"].includes(e.value.type) ? "danger" : "",
209
+ onClick: w(m, ["stop"])
207
210
  }, {
208
- default: h(() => [
209
- I(
210
- f(e.value.title),
211
+ default: b(() => [
212
+ z(
213
+ k(e.value.title),
211
214
  1
212
215
  /* TEXT */
213
216
  )
@@ -218,12 +221,12 @@ const B = (t, o) => {
218
221
  };
219
222
  }
220
223
  });
221
- const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q = () => ({
222
- 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%)`;
224
+ const Y = /* @__PURE__ */ I(X, [["__scopeId", "data-v-4a1004b9"]]), q = $(Y), D = () => ({
225
+ getLinearGradient: (n) => {
226
+ const i = B.hexToRGB(n).replace(/[^\d,]/g, "").split(",").map(Number);
227
+ return `linear-gradient(to top, ${n} 4%, rgb(${i[0]},${i[1] + 50},${i[2]}) 88%)`;
225
228
  }
226
- }), D = /* @__PURE__ */ b({
229
+ }), M = /* @__PURE__ */ x({
227
230
  __name: "IkLinearIcon",
228
231
  props: {
229
232
  icon: {
@@ -240,21 +243,21 @@ const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q
240
243
  }
241
244
  },
242
245
  setup(t) {
243
- T((i) => ({
246
+ C((o) => ({
244
247
  "435077c3": e.value
245
248
  }));
246
- const o = t, { getLinearGradient: l } = q(), e = g(() => `${o.size}px`);
247
- return (i, r) => (n(), s(
249
+ const n = t, { getLinearGradient: i } = D(), e = y(() => `${n.size}px`);
250
+ return (o, r) => (l(), s(
248
251
  "div",
249
252
  {
250
253
  class: "form-icon",
251
- style: c({ backgroundImage: z(l)(t.backgroundColor || "#28b8a4") })
254
+ style: c({ backgroundImage: S(i)(t.backgroundColor || "#28b8a4") })
252
255
  },
253
256
  [
254
257
  u(
255
258
  "i",
256
259
  {
257
- class: v(`ikflow ${t.icon}`)
260
+ class: d(`ikflow ${t.icon}`)
258
261
  },
259
262
  null,
260
263
  2
@@ -266,7 +269,7 @@ const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-ec9fdc8a"]]), Y = B(X), q
266
269
  ));
267
270
  }
268
271
  });
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({
272
+ const R = /* @__PURE__ */ I(M, [["__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" }, P = { class: "text-over-line" }, Q = /* @__PURE__ */ x({
270
273
  __name: "IkSideText",
271
274
  props: {
272
275
  // 名称
@@ -324,15 +327,15 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
324
327
  }
325
328
  },
326
329
  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 = () => {
328
- i.value = !1;
330
+ const n = t, i = (v) => v ? v.startsWith("http") ? v : `${n.loadUrl}${v}` : "", e = y(() => i(n.avatar)), o = L(!!n.avatar), r = () => {
331
+ o.value = !1;
329
332
  };
330
- return (a, d) => {
331
- var x;
332
- const k = m("el-avatar"), _ = m("el-tooltip");
333
- return n(), s("div", A, [
333
+ return (v, m) => {
334
+ var h;
335
+ const a = _("el-avatar"), p = _("el-tooltip");
336
+ return l(), s("div", A, [
334
337
  u("div", H, [
335
- t.avatarType === "url" ? (n(), y(k, {
338
+ t.avatarType === "url" ? (l(), f(a, {
336
339
  key: 0,
337
340
  style: { "--el-avatar-bg-color": "var(--ik-color-primary)" },
338
341
  size: t.size,
@@ -341,13 +344,13 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
341
344
  fit: "contain",
342
345
  onError: r
343
346
  }, {
344
- default: h(() => [
345
- i.value ? p("v-if", !0) : (n(), s(
346
- L,
347
+ default: b(() => [
348
+ o.value ? g("v-if", !0) : (l(), s(
349
+ N,
347
350
  { key: 0 },
348
351
  [
349
- I(
350
- f(t.name.slice(-2)),
352
+ z(
353
+ k(t.name.slice(-2)),
351
354
  1
352
355
  /* TEXT */
353
356
  )
@@ -358,35 +361,35 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
358
361
  ]),
359
362
  _: 1
360
363
  /* STABLE */
361
- }, 8, ["size", "shape", "src"])) : p("v-if", !0),
362
- t.avatarType === "icon" ? (n(), y(z(Y), {
364
+ }, 8, ["size", "shape", "src"])) : g("v-if", !0),
365
+ t.avatarType === "icon" ? (l(), f(S(q), {
363
366
  key: 1,
364
- name: `iksvg_${(x = t.avatar) == null ? void 0 : x.replace("iksvg_", "")}`,
367
+ name: `iksvg_${(h = t.avatar) == null ? void 0 : h.replace("iksvg_", "")}`,
365
368
  "show-bg": t.showIconBg,
366
369
  type: t.iconType,
367
370
  style: c({ fontSize: t.showIconBg ? "34px" : "50px" }),
368
371
  size: t.iconSize
369
- }, null, 8, ["name", "show-bg", "type", "style", "size"])) : p("v-if", !0),
370
- t.avatarType === "linearIcon" ? (n(), y(R, {
372
+ }, null, 8, ["name", "show-bg", "type", "style", "size"])) : g("v-if", !0),
373
+ t.avatarType === "linearIcon" ? (l(), f(R, {
371
374
  key: 2,
372
375
  icon: t.avatar,
373
376
  "background-color": t.iconBackgroundColor
374
- }, null, 8, ["icon", "background-color"])) : p("v-if", !0)
377
+ }, null, 8, ["icon", "background-color"])) : g("v-if", !0)
375
378
  ]),
376
379
  u("div", J, [
377
380
  u(
378
381
  "p",
379
382
  K,
380
- f(t.text),
383
+ k(t.text),
381
384
  1
382
385
  /* TEXT */
383
386
  ),
384
- N(_, { content: t.subText }, {
385
- default: h(() => [
387
+ j(p, { content: t.subText }, {
388
+ default: b(() => [
386
389
  u(
387
390
  "p",
388
- M,
389
- f(t.subText),
391
+ P,
392
+ k(t.subText),
390
393
  1
391
394
  /* TEXT */
392
395
  )
@@ -399,8 +402,8 @@ const R = /* @__PURE__ */ w(D, [["__scopeId", "data-v-0bc5a180"]]), A = { class:
399
402
  };
400
403
  }
401
404
  });
402
- const Q = /* @__PURE__ */ w(P, [["__scopeId", "data-v-75852e7e"]]), te = B(Q);
405
+ const Z = /* @__PURE__ */ I(Q, [["__scopeId", "data-v-75852e7e"]]), ae = $(Z);
403
406
  export {
404
- te as IkSideText,
405
- te as default
407
+ ae as IkSideText,
408
+ ae as default
406
409
  };
@@ -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(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,y){"use strict";const f=(l,a)=>{if(l.install=n=>{for(const t of[l,...Object.values(a??{})])n.component(t.name,t)},a)for(const[n,t]of Object.entries(a))l[n]=t;return l},m=(l,a)=>{const n=l.__vccOpts||l;for(const[t,i]of a)n[t]=i;return n},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"},_=["xlink:href"],v=["src"],B={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},b=["xlink:href"],w=["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:{}},emits:["click"],setup(l,{emit:a}){const n=l,t=e.computed(()=>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 d={...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||y.ikColor.setOpacity(t.value.color,t.value.opacity)}:{}};return t.value.width&&(d.width=d.height=typeof t.value.width=="number"?`${t.value.width}px`:t.value.width),d}),r=a,p=o=>{t.value.disabled||r("click",o)};return(o,d)=>{const u=e.resolveComponent("el-tooltip"),j=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,onClick:e.withModifiers(p,["stop"]),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,_)])):i.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(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}]),onClick:e.withModifiers(p,["stop"]),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,w)):(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(j,{key:1,type:["warning","error"].includes(t.value.type)?"danger":"",onClick:e.withModifiers(p,["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value.title),1)]),_:1},8,["type"]))}}}),M="",z=f(m(x,[["__scopeId","data-v-4a1004b9"]])),S=()=>({getLinearGradient:a=>{const n=y.ikColor.hexToRGB(a).replace(/[^\d,]/g,"").split(",").map(Number);return`linear-gradient(to top, ${a} 4%, rgb(${n[0]},${n[1]+50},${n[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 a=l,{getLinearGradient:n}=S(),t=e.computed(()=>`${a.size}px`);return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:"form-icon",style:e.normalizeStyle({backgroundImage:e.unref(n)(l.backgroundColor||"#28b8a4")})},[e.createElementVNode("i",{class:e.normalizeClass(`ikflow ${l.icon}`)},null,2)],4))}}),D="",I=m(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"},L=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 a=l,n=r=>r?r.startsWith("http")?r:`${a.loadUrl}${r}`:"",t=e.computed(()=>n(a.avatar)),i=e.ref(!!a.avatar),c=()=>{i.value=!1};return(r,p)=>{var u;const o=e.resolveComponent("el-avatar"),d=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",E,[l.avatarType==="url"?(e.openBlock(),e.createBlock(o,{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(z),{key:1,name:`iksvg_${(u=l.avatar)==null?void 0:u.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(d,{content:l.subText},{default:e.withCtx(()=>[e.createElementVNode("p",V,e.toDisplayString(l.subText),1)]),_:1},8,["content"])])])}}}),G="",g=f(m(L,[["__scopeId","data-v-75852e7e"]]));s.IkSideText=g,s.default=g,Object.defineProperties(s,{__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-4a1004b9]{display:flex}.ik-svg-icon.ik-icon-span[data-v-4a1004b9]: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}