iking-web-ui-pro 0.2.11 → 0.2.13

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/IKDetailPreviewFiles/ik.index.es.js +116 -111
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKDetailPreviewFiles/style.css +1 -1
  4. package/dist/IKExpandCollapse/ik.index.es.js +2 -2
  5. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  6. package/dist/IKExpandCollapse/style.css +1 -1
  7. package/dist/IKPreviewFile/ik.index.es.js +172 -167
  8. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  9. package/dist/IKPreviewFile/style.css +1 -1
  10. package/dist/IKVerticalStepBar/ik.index.es.js +2 -2
  11. package/dist/IKVerticalStepBar/ik.index.umd.js +1 -1
  12. package/dist/IKVerticalStepBar/style.css +1 -1
  13. package/dist/IkApprovalProcess/ik.index.es.js +194 -190
  14. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  15. package/dist/IkApprovalProcessDetail/ik.index.es.js +645 -636
  16. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  17. package/dist/IkApprovalProcessDetail/style.css +1 -1
  18. package/dist/IkBaseDialog/ik.index.es.js +2 -2
  19. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  20. package/dist/IkBaseDialog/style.css +1 -1
  21. package/dist/IkBtnSetting/ik.index.es.js +2 -2
  22. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  23. package/dist/IkBtnSetting/style.css +1 -1
  24. package/dist/IkCollapseCard/ik.index.es.js +2 -2
  25. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  26. package/dist/IkCollapseCard/style.css +1 -1
  27. package/dist/IkDescription/ik.index.es.js +329 -324
  28. package/dist/IkDescription/ik.index.umd.js +1 -1
  29. package/dist/IkDescription/style.css +1 -1
  30. package/dist/IkIconPicker/ik.index.es.js +2 -2
  31. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  32. package/dist/IkIconPicker/style.css +1 -1
  33. package/dist/IkMonacoEditor/ik.index.es.js +2 -2
  34. package/dist/IkMonacoEditor/ik.index.umd.js +1 -1
  35. package/dist/IkMonacoEditor/style.css +1 -1
  36. package/dist/IkPageFull/ik.index.es.js +2 -2
  37. package/dist/IkPageFull/ik.index.umd.js +1 -1
  38. package/dist/IkPageFull/style.css +1 -1
  39. package/dist/IkPreviewFileDialog/ik.index.es.js +206 -203
  40. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  41. package/dist/IkPreviewFileDialog/style.css +1 -1
  42. package/dist/IkSchedule/ik.index.es.js +2 -2
  43. package/dist/IkSchedule/ik.index.umd.js +1 -1
  44. package/dist/IkSchedule/style.css +1 -1
  45. package/dist/IkSideText/ik.index.es.js +2 -2
  46. package/dist/IkSideText/ik.index.umd.js +1 -1
  47. package/dist/IkSideText/style.css +1 -1
  48. package/dist/IkSvgIcon/ik.index.es.js +8 -8
  49. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  50. package/dist/IkSvgIcon/style.css +1 -1
  51. package/dist/IkUploadFile/ik.index.es.js +112 -109
  52. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  53. package/dist/IkUploadFile/style.css +1 -1
  54. package/dist/IkUploadImage/ik.index.es.js +84 -84
  55. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  56. package/dist/IkUploadImage/style.css +1 -1
  57. package/dist/index.es.js +12672 -12663
  58. package/dist/index.umd.js +60 -60
  59. package/dist/src/components/IkMonacoEditor/src/editor-config.d.ts +1 -1
  60. package/dist/src/components/IkPlayer-beta/index.d.ts +76 -0
  61. package/dist/src/components/IkPlayer-beta/src/player.d.ts +19 -0
  62. package/dist/style.css +1 -1
  63. package/package.json +1 -1
  64. package/dist/src/components/IkPickerUser/src/list/utils.d.ts +0 -3
@@ -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-7729b79a]{display:flex}.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-76d7e119]{display:flex}.ik-svg-icon.ik-icon-span[data-v-76d7e119]: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}
@@ -15,7 +15,7 @@ const B = (t, o) => {
15
15
  return l;
16
16
  }, j = {
17
17
  key: 0,
18
- class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
18
+ class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
19
19
  }, V = {
20
20
  key: 1,
21
21
  class: "h-[1em] w-[1em]",
@@ -218,7 +218,7 @@ const B = (t, o) => {
218
218
  };
219
219
  }
220
220
  });
221
- const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-7729b79a"]]), Y = B(X), q = () => ({
221
+ const X = /* @__PURE__ */ w(F, [["__scopeId", "data-v-76d7e119"]]), Y = B(X), q = () => ({
222
222
  getLinearGradient: (o) => {
223
223
  const l = S.hexToRGB(o).replace(/[^\d,]/g, "").split(",").map(Number);
224
224
  return `linear-gradient(to top, ${o} 4%, rgb(${l[0]},${l[1] + 50},${l[2]}) 88%)`;
@@ -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 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:{name:{},flip:{},rotate:{},color:{},colorLight:{},opacity:{default:.5},size:{default:""},width:{},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"6px"},primary:{type:Boolean},warning:{type:Boolean},success:{type:Boolean},error:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tableIconType:{}},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-7729b79a"]])),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 f;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_${(f=l.avatar)==null?void 0:f.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="",g=y(d(j,[["__scopeId","data-v-75852e7e"]]));s.IkSideText=g,s.default=g,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,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:{name:{},flip:{},rotate:{},color:{},colorLight:{},opacity:{default:.5},size:{default:""},width:{},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"6px"},primary:{type:Boolean},warning:{type:Boolean},success:{type:Boolean},error:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tableIconType:{}},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-76d7e119"]])),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 f;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_${(f=l.avatar)==null?void 0:f.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="",g=y(d(j,[["__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-7729b79a]{display:flex}.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-76d7e119]{display:flex}.ik-svg-icon.ik-icon-span[data-v-76d7e119]: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,4 +1,4 @@
1
- import { defineComponent as k, inject as _, computed as p, resolveComponent as g, openBlock as t, createElementBlock as o, normalizeClass as r, normalizeStyle as c, createCommentVNode as b, createElementVNode as y, createBlock as d, withCtx as f, createTextVNode as w, toDisplayString as B } from "vue";
1
+ import { defineComponent as k, inject as _, computed as p, resolveComponent as d, openBlock as t, createElementBlock as o, normalizeClass as r, normalizeStyle as c, createCommentVNode as w, createElementVNode as y, createBlock as g, withCtx as f, createTextVNode as b, toDisplayString as B } from "vue";
2
2
  import { ikColor as z } from "iking-utils-pro";
3
3
  const x = (i, n) => {
4
4
  if (i.install = (s) => {
@@ -10,7 +10,7 @@ const x = (i, n) => {
10
10
  return i;
11
11
  }, I = {
12
12
  key: 0,
13
- class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
13
+ class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
14
14
  }, j = {
15
15
  key: 1,
16
16
  class: "h-[1em] w-[1em]",
@@ -80,7 +80,7 @@ const x = (i, n) => {
80
80
  return e.value.width && (v.width = v.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), v;
81
81
  });
82
82
  return (l, v) => {
83
- const m = g("el-tooltip"), h = g("el-button");
83
+ const m = d("el-tooltip"), h = d("el-button");
84
84
  return e.value.tableIconType === "icon" || !e.value.tableIconType ? (t(), o("span", I, [
85
85
  e.value.notip || !e.value.title ? (t(), o(
86
86
  "i",
@@ -102,7 +102,7 @@ const x = (i, n) => {
102
102
  style: c(u.value)
103
103
  },
104
104
  [
105
- b(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
105
+ w(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
106
106
  a.value === "iksig" ? (t(), o(
107
107
  "i",
108
108
  {
@@ -135,7 +135,7 @@ const x = (i, n) => {
135
135
  ],
136
136
  6
137
137
  /* CLASS, STYLE */
138
- )) : (t(), d(m, {
138
+ )) : (t(), g(m, {
139
139
  key: 1,
140
140
  content: e.value.title,
141
141
  placement: "top"
@@ -196,12 +196,12 @@ const x = (i, n) => {
196
196
  _: 1
197
197
  /* STABLE */
198
198
  }, 8, ["content"]))
199
- ])) : (t(), d(h, {
199
+ ])) : (t(), g(h, {
200
200
  key: 1,
201
201
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
202
202
  }, {
203
203
  default: f(() => [
204
- w(
204
+ b(
205
205
  B(e.value.title),
206
206
  1
207
207
  /* TEXT */
@@ -218,7 +218,7 @@ const V = (i, n) => {
218
218
  for (const [e, a] of n)
219
219
  s[e] = a;
220
220
  return s;
221
- }, E = /* @__PURE__ */ V(N, [["__scopeId", "data-v-7729b79a"]]), X = x(E);
221
+ }, E = /* @__PURE__ */ V(N, [["__scopeId", "data-v-76d7e119"]]), X = x(E);
222
222
  export {
223
223
  X as IkSvgIcon,
224
224
  X as default
@@ -1 +1 @@
1
- (function(n,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],l):(n=typeof globalThis<"u"?globalThis:n||self,l(n.index={},n.vue,n["iking-utils-pro"]))})(this,function(n,l,p){"use strict";const m=(i,s)=>{if(i.install=a=>{for(const e of[i,...Object.values(s??{})])a.component(e.name,e)},s)for(const[a,e]of Object.entries(s))i[a]=e;return i},d={key:0,class:"ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"},y={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},f=["xlink:href"],g=["src"],k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v=["xlink:href"],h=["src"],_=l.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},colorLight:{},opacity:{default:.5},size:{default:""},width:{},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"6px"},primary:{type:Boolean},warning:{type:Boolean},success:{type:Boolean},error:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tableIconType:{}},setup(i){const s=i,a=l.inject("iconConfig"),e=l.computed(()=>({...(a==null?void 0:a.value)||{},...s})),o=l.computed(()=>{const{name:t}=e.value;return/^http?:\/\//.test(t)?"img":/i-[^:]+:[^:]+/.test(t)?"unocss":t!=null&&t.startsWith("iksig")?"iksig":t!=null&&t.includes(":")?"iconify":t!=null&&t.startsWith("iksvg")?"svg":"i"}),r=l.computed(()=>{const t=[];if(e.value.flip)switch(e.value.flip){case"horizontal":t.push("rotateY(180deg)");break;case"vertical":t.push("rotateX(180deg)");break;case"both":t.push("rotateX(180deg)"),t.push("rotateY(180deg)");break}e.value.rotate&&t.push(`rotate(${e.value.rotate%360}deg)`);const c={...e.value.color&&{color:e.value.color},...e.value.size&&{fontSize:typeof e.value.size=="number"?`${e.value.size}px`:e.value.size},...t.length&&{transform:t.join(" ")},padding:e.value.showBg||e.value.bg?e.value.padding:0,...e.value.color&&o.value!=="iksig"?{"--ik-color-icon-dark":e.value.color,"--ik-color-icon-light":e.value.colorLight||p.ikColor.setOpacity(e.value.color,e.value.opacity)}:{}};return e.value.width&&(c.width=c.height=typeof e.value.width=="number"?`${e.value.width}px`:e.value.width),c});return(t,c)=>{const B=l.resolveComponent("el-tooltip"),b=l.resolveComponent("el-button");return e.value.tableIconType==="icon"||!e.value.tableIconType?(l.openBlock(),l.createElementBlock("span",d,[e.value.notip||!e.value.title?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:e.value.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active,disabled:e.value.disabled}]),style:l.normalizeStyle(r.value)},[l.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",y,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,f)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,g)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)):(l.openBlock(),l.createBlock(B,{key:1,content:e.value.title,placement:"top"},{default:l.withCtx(()=>[l.createElementVNode("i",{class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:t.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active}]),style:l.normalizeStyle(r.value)},[o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",k,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,v)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,h)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)]),_:1},8,["content"]))])):(l.openBlock(),l.createBlock(b,{key:1,type:["warning","error"].includes(e.value.type)?"danger":""},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.value.title),1)]),_:1},8,["type"]))}}}),w="",u=m(((i,s)=>{const a=i.__vccOpts||i;for(const[e,o]of s)a[e]=o;return a})(_,[["__scopeId","data-v-7729b79a"]]));n.IkSvgIcon=u,n.default=u,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(n,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],l):(n=typeof globalThis<"u"?globalThis:n||self,l(n.index={},n.vue,n["iking-utils-pro"]))})(this,function(n,l,p){"use strict";const m=(i,s)=>{if(i.install=a=>{for(const e of[i,...Object.values(s??{})])a.component(e.name,e)},s)for(const[a,e]of Object.entries(s))i[a]=e;return i},d={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},y={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},f=["xlink:href"],g=["src"],k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v=["xlink:href"],h=["src"],_=l.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},colorLight:{},opacity:{default:.5},size:{default:""},width:{},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"6px"},primary:{type:Boolean},warning:{type:Boolean},success:{type:Boolean},error:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tableIconType:{}},setup(i){const s=i,a=l.inject("iconConfig"),e=l.computed(()=>({...(a==null?void 0:a.value)||{},...s})),o=l.computed(()=>{const{name:t}=e.value;return/^http?:\/\//.test(t)?"img":/i-[^:]+:[^:]+/.test(t)?"unocss":t!=null&&t.startsWith("iksig")?"iksig":t!=null&&t.includes(":")?"iconify":t!=null&&t.startsWith("iksvg")?"svg":"i"}),r=l.computed(()=>{const t=[];if(e.value.flip)switch(e.value.flip){case"horizontal":t.push("rotateY(180deg)");break;case"vertical":t.push("rotateX(180deg)");break;case"both":t.push("rotateX(180deg)"),t.push("rotateY(180deg)");break}e.value.rotate&&t.push(`rotate(${e.value.rotate%360}deg)`);const c={...e.value.color&&{color:e.value.color},...e.value.size&&{fontSize:typeof e.value.size=="number"?`${e.value.size}px`:e.value.size},...t.length&&{transform:t.join(" ")},padding:e.value.showBg||e.value.bg?e.value.padding:0,...e.value.color&&o.value!=="iksig"?{"--ik-color-icon-dark":e.value.color,"--ik-color-icon-light":e.value.colorLight||p.ikColor.setOpacity(e.value.color,e.value.opacity)}:{}};return e.value.width&&(c.width=c.height=typeof e.value.width=="number"?`${e.value.width}px`:e.value.width),c});return(t,c)=>{const B=l.resolveComponent("el-tooltip"),w=l.resolveComponent("el-button");return e.value.tableIconType==="icon"||!e.value.tableIconType?(l.openBlock(),l.createElementBlock("span",d,[e.value.notip||!e.value.title?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:e.value.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active,disabled:e.value.disabled}]),style:l.normalizeStyle(r.value)},[l.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",y,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,f)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,g)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)):(l.openBlock(),l.createBlock(B,{key:1,content:e.value.title,placement:"top"},{default:l.withCtx(()=>[l.createElementVNode("i",{class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:t.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active}]),style:l.normalizeStyle(r.value)},[o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",k,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,v)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,h)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)]),_:1},8,["content"]))])):(l.openBlock(),l.createBlock(w,{key:1,type:["warning","error"].includes(e.value.type)?"danger":""},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.value.title),1)]),_:1},8,["type"]))}}}),b="",u=m(((i,s)=>{const a=i.__vccOpts||i;for(const[e,o]of s)a[e]=o;return a})(_,[["__scopeId","data-v-76d7e119"]]));n.IkSvgIcon=u,n.default=u,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1 +1 @@
1
- .row-title[data-v-7729b79a]{display:flex}
1
+ .row-title[data-v-76d7e119]{display:flex}.ik-svg-icon.ik-icon-span[data-v-76d7e119]:not(:first-child){margin-left:var(--ik-margin-s-12)}