@ovalbee/flow-viewer 0.0.1 → 0.0.2
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.
- package/dist/flow-viewer.cjs +411 -1
- package/dist/flow-viewer.js +1656 -300
- package/dist/index.d.ts +1 -0
- package/dist/nodePreviewIcons.generated.d.ts +3 -0
- package/package.json +2 -1
package/dist/flow-viewer.cjs
CHANGED
|
@@ -1 +1,411 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),g=require("@vue-flow/core"),I=require("@vue-flow/controls"),L=require("@vue-flow/minimap"),z=Symbol("flow-viewer-details"),O=["aria-label"],A={class:"ob-flow-viewer-node__header"},R=["innerHTML"],X={key:1},Z={class:"ob-flow-viewer-node__title-wrap"},Y={class:"ob-flow-viewer-node__title"},W={class:"ob-flow-viewer-node__key"},U={class:"ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped"},G={key:1,class:"ob-flow-viewer-node__widget-image","aria-hidden":"true"},q=e.defineComponent({__name:"FlowViewerNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(n){const d=n,v=e.inject(z),x=d.data.available?d.data.description:"This node template is unavailable.";return(r,c)=>{var m,f;return e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-node",{"ob-flow-viewer-node--unavailable":!n.data.available}]),tabindex:"0","aria-label":`${n.data.name} node`,onMouseenter:c[0]||(c[0]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onMouseleave:c[1]||(c[1]=o=>{var i;return(i=e.unref(v))==null?void 0:i.hide()}),onClick:c[2]||(c[2]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onFocus:c[3]||(c[3]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onBlur:c[4]||(c[4]=o=>{var i;return(i=e.unref(v))==null?void 0:i.hide()})},[e.createElementVNode("header",A,[e.createElementVNode("span",{class:"ob-flow-viewer-node__icon",style:e.normalizeStyle({"--ob-node-icon-color":((m=n.data.icon)==null?void 0:m.color)??"#64748b"}),"aria-hidden":"true"},[(f=n.data.icon)!=null&&f.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:n.data.icon.svg},null,8,R)):(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(n.data.available?n.data.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",Z,[e.createElementVNode("strong",Y,e.toDisplayString(n.data.name),1),e.createElementVNode("span",W,e.toDisplayString(n.data.key),1)])]),e.createElementVNode("p",U,e.toDisplayString(e.unref(x)),1),n.data.widgetPreview&&n.data.available?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["ob-flow-viewer-node__widget",`ob-flow-viewer-node__widget--${n.data.widgetPreview}`]),"aria-label":"Widget preview"},[n.data.widgetPreview==="button"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c[5]||(c[5]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-icon"},"↗",-1)),c[6]||(c[6]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-label"},null,-1))],64)):n.data.widgetPreview==="dataset"?(e.openBlock(),e.createElementBlock("span",G)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[c[7]||(c[7]=e.createElementVNode("span",null,null,-1)),c[8]||(c[8]=e.createElementVNode("span",null,null,-1))],64))],2)):e.createCommentVNode("",!0),n.data.connectedHandles.has("target")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:1,type:"target",position:e.unref(g.Position).Top},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("left")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:2,id:"left",type:"target",position:e.unref(g.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("right")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:3,id:"right",type:"target",position:e.unref(g.Position).Right},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:4,type:"source",position:e.unref(g.Position).Bottom},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("left-source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:5,id:"left-source",type:"source",position:e.unref(g.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("right-source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:6,id:"right-source",type:"source",position:e.unref(g.Position).Right},null,8,["position"])):e.createCommentVNode("",!0)],42,O)}}}),j=e.defineComponent({__name:"FlowViewerNote",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(n){const d=n,v=e.computed(()=>({width:`${d.data.appearance.width}px`,minHeight:d.data.appearance.height?`${d.data.appearance.height}px`:void 0}));return(x,r)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-note",`ob-flow-viewer-note--${n.data.appearance.color}`]),style:e.normalizeStyle(v.value)},e.toDisplayString(n.data.content),7))}}),K=["data-theme"],J=["data-theme"],Q={class:"ob-flow-viewer-tooltip__header"},ee=["innerHTML"],te={key:1},oe={class:"ob-flow-viewer-tooltip__title-wrap"},ne={class:"ob-flow-viewer-tooltip__body"},ie={key:0,class:"ob-flow-viewer-tooltip__unavailable"},ae={key:1,class:"ob-flow-viewer-tooltip__description"},le={key:2,class:"ob-flow-viewer-node__ports"},se={class:"ob-flow-viewer-node__port-group"},ce={key:0,class:"ob-flow-viewer-node__empty"},re={key:0},de={class:"ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs"},ue={key:0,class:"ob-flow-viewer-node__empty"},me={key:0},S=72,P=64,pe=1.45,we=e.defineComponent({__name:"FlowViewer",props:{document:{},fitViewOnInit:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},showMiniMap:{type:Boolean,default:!0},minZoom:{default:.1},maxZoom:{default:2},initialZoom:{default:.8},theme:{default:"light"}},setup(n){const d=n,v={catalog:e.markRaw(q),note:e.markRaw(j)};function x(t){if(t.kind==="note")return t.appearance.height??130;const a=t.description?Math.min(2,Math.max(1,Math.ceil(t.description.length/34))):t.available?0:1,u=a>0?10+a*19.5:0,h=t.available&&t.widgetPreview?10+(t.widgetPreview==="dataset"?72:32):0;return 60+u+h}const r=e.ref(null);let c=null;function m(){c!==null&&(clearTimeout(c),c=null)}function f(){m(),c=setTimeout(()=>{r.value=null,c=null},140)}e.onBeforeUnmount(m);function o(t){const a=new Set;for(const u of d.document.edges)u.source===t&&a.add(u.sourceHandle??"source"),u.target===t&&a.add(u.targetHandle??"target");return a}function i(t,a){m();const u=a.currentTarget;if(!(u instanceof HTMLElement))return;const h=u.getBoundingClientRect(),l=12,s=Math.min(404,window.innerWidth-l*2),y=Math.min(520,window.innerHeight-l*2);let w=h.right+l+s/2;w+s/2>window.innerWidth-l&&(w=h.left-l-s/2),w=Math.max(s/2+l,Math.min(w,window.innerWidth-s/2-l)),r.value={node:t,x:w,y:Math.max(l,Math.min(h.top,window.innerHeight-y-l))}}function p(){f()}e.provide(z,{show:i,hide:p});const k=e.computed(()=>{const t=new Map(d.document.nodes.map(s=>[s.id,{...s.position}])),a=Math.min(...d.document.nodes.map(s=>s.position.x)),u=Math.max(...d.document.nodes.map(s=>s.position.x)),h=(a+u)/2;for(const s of t.values())s.x=h+(s.x-h)*pe;for(let s=0;s<d.document.nodes.length;s+=1)for(const y of d.document.edges){if(y.sourceHandle||y.targetHandle)continue;const w=t.get(y.source),B=t.get(y.target);if(!(!w||!B||Math.abs(w.x-B.x)>=40)&&(B.x=w.x,B.y>w.y)){const E=d.document.nodes.find($=>$.id===y.source);E&&(B.y=Math.max(B.y,w.y+x(E)+S))}}const l=[...d.document.nodes].sort((s,y)=>s.position.y-y.position.y||s.position.x-y.position.x);for(const[s,y]of l.entries()){const w=t.get(y.id);if(w)for(const B of l.slice(0,s)){const E=t.get(B.id);if(!E)continue;const $=y.kind==="note"?y.appearance.width:260,D=B.kind==="note"?B.appearance.width:260;w.x>=E.x+D+P||E.x>=w.x+$+P||(w.y=Math.max(w.y,E.y+x(B)+S))}}return t}),b=e.computed(()=>d.document.nodes.map(t=>{const a=k.value.get(t.id)??t.position;return t.kind==="note"?{id:t.id,type:"note",position:a,data:t,style:{width:`${t.appearance.width}px`,height:t.appearance.height?`${t.appearance.height}px`:void 0}}:{id:t.id,type:"catalog",position:a,data:{...t,connectedHandles:o(t.id)},selectable:!1}})),_=e.computed(()=>d.document.edges.map((t,a)=>({id:`viewer-edge-${a}-${t.source}-${t.target}`,source:t.source,target:t.target,sourceHandle:t.sourceHandle,targetHandle:t.targetHandle,type:g.ConnectionLineType.SmoothStep,data:t.data,style:t.isVisual?{strokeDasharray:"6 4"}:void 0,selectable:!1}))),F=e.computed(()=>{if(d.document.nodes.length===0)return{minX:0,minY:0,maxX:0,maxY:0};let t=1/0,a=1/0,u=-1/0,h=-1/0;for(const l of d.document.nodes){const s=k.value.get(l.id)??l.position,y=l.kind==="note"?l.appearance.width:260,w=x(l);t=Math.min(t,s.x),a=Math.min(a,s.y),u=Math.max(u,s.x+y),h=Math.max(h,s.y+w)}return{minX:t,minY:a,maxX:u,maxY:h}});function T(t){if(d.fitViewOnInit){t.fitView({padding:.15,maxZoom:1});return}const a=F.value,u=d.initialZoom;t.setViewport({x:t.dimensions.value.width/2-(a.minX+a.maxX)/2*u,y:24-a.minY*u,zoom:u})}return(t,a)=>{var u,h;return e.openBlock(),e.createElementBlock("div",{class:"ob-flow-viewer","data-theme":n.theme},[e.createVNode(e.unref(g.VueFlow),{nodes:b.value,edges:_.value,"node-types":v,"fit-view-on-init":!1,"min-zoom":n.minZoom,"max-zoom":n.maxZoom,"nodes-draggable":!1,"nodes-connectable":!1,"elements-selectable":!0,"select-nodes-on-drag":!1,"connect-on-click":!1,"zoom-on-double-click":!1,"delete-key-code":[],"multi-selection-key-code":[],"pan-on-drag":!0,"pan-on-scroll":!0,"zoom-on-scroll":!1,"zoom-on-pinch":!0,class:"ob-flow-viewer__canvas",onPaneReady:T},{default:e.withCtx(()=>[n.showControls?(e.openBlock(),e.createBlock(e.unref(I.Controls),{key:0,"show-interactive":!1})):e.createCommentVNode("",!0),n.showMiniMap?(e.openBlock(),e.createBlock(e.unref(L.MiniMap),{key:1,pannable:!0,zoomable:!0})):e.createCommentVNode("",!0)]),_:1},8,["nodes","edges","min-zoom","max-zoom"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[r.value?(e.openBlock(),e.createElementBlock("section",{key:0,class:"ob-flow-viewer-tooltip","data-theme":n.theme,style:e.normalizeStyle({left:`${r.value.x}px`,top:`${r.value.y}px`}),role:"tooltip",tabindex:"0",onMouseenter:m,onMouseleave:p,onFocusin:m,onFocusout:p},[e.createElementVNode("header",Q,[e.createElementVNode("span",{class:"ob-flow-viewer-tooltip__icon",style:e.normalizeStyle({"--ob-node-icon-color":((u=r.value.node.icon)==null?void 0:u.color)??"#64748b"}),"aria-hidden":"true"},[(h=r.value.node.icon)!=null&&h.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:r.value.node.icon.svg},null,8,ee)):(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(r.value.node.available?r.value.node.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",oe,[e.createElementVNode("strong",null,e.toDisplayString(r.value.node.name),1),e.createElementVNode("code",null,e.toDisplayString(r.value.node.key),1)])]),e.createElementVNode("div",ne,[r.value.node.available?r.value.node.description?(e.openBlock(),e.createElementBlock("p",ae,e.toDisplayString(r.value.node.description),1)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",ie," This node template is unavailable. ")),r.value.node.available?(e.openBlock(),e.createElementBlock("div",le,[e.createElementVNode("div",se,[a[0]||(a[0]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Inputs",-1)),r.value.node.inputs.length===0?(e.openBlock(),e.createElementBlock("span",ce,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.node.inputs,l=>(e.openBlock(),e.createElementBlock("span",{key:l.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(l.name),1),l.description?(e.openBlock(),e.createElementBlock("small",re,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",de,[a[1]||(a[1]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Outputs",-1)),r.value.node.outputs.length===0?(e.openBlock(),e.createElementBlock("span",ue,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.node.outputs,l=>(e.openBlock(),e.createElementBlock("span",{key:l.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(l.name),1),l.description?(e.openBlock(),e.createElementBlock("small",me,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0)]))),128))])])):e.createCommentVNode("",!0)])],44,J)):e.createCommentVNode("",!0)]))],8,K)}}}),fe={class:"ob-flow-preview"},ye=["viewBox"],he=["d"],ve=["x","y"],ge=["x","y"],ke=["href","x","y"],Be=["x","y"],xe=["x","y"],N=260,V=100,M=140,be=140,C=48,H=26,_e=e.defineComponent({__name:"FlowPreview",props:{preview:{},icons:{default:()=>({})},iconUrl:{type:Function,default:void 0}},setup(n){const d=n,v=e.computed(()=>{var o,i;const m=((o=d.preview)==null?void 0:o.n)??[],f=new Map(m.map(p=>[p.id,{x:p.x,y:p.y}]));for(let p=0;p<m.length;p+=1)for(const k of((i=d.preview)==null?void 0:i.e)??[]){const b=f.get(k.s),_=f.get(k.t);b&&_&&Math.abs(b.x-_.x)<be&&(_.x=b.x)}return m.map(p=>({...p,...f.get(p.id)??{x:p.x,y:p.y}}))}),x=e.computed(()=>{const m=v.value;if(m.length===0)return"0 0 1 1";let f=1/0,o=1/0,i=-1/0,p=-1/0;for(const k of m)f=Math.min(f,k.x),o=Math.min(o,k.y),i=Math.max(i,k.x+N),p=Math.max(p,k.y+V);return`${f-M} ${o-M} ${i-f+M*2} ${p-o+M*2}`}),r=e.computed(()=>new Map(v.value.map(m=>[m.id,m])));function c(m,f){const o=r.value.get(m),i=r.value.get(f);if(!o||!i)return"";const p=o.x+N/2,k=o.y+V/2,b=i.x+N/2,_=i.y+V/2;return`M ${p} ${k} L ${b} ${_}`}return(m,f)=>(e.openBlock(),e.createElementBlock("div",fe,[n.preview&&n.preview.n.length>0?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"ob-flow-preview__svg",viewBox:x.value,preserveAspectRatio:"xMidYMid meet"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.preview.e,(o,i)=>(e.openBlock(),e.createElementBlock("path",{key:i,d:c(o.s,o.t),class:"ob-flow-preview__edge","vector-effect":"non-scaling-stroke"},null,8,he))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,o=>(e.openBlock(),e.createElementBlock("rect",{key:o.id,x:o.x,y:o.y,width:N,height:V,rx:"16",class:"ob-flow-preview__node","vector-effect":"non-scaling-stroke"},null,8,ve))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,o=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`content-${o.id}`},[e.createElementVNode("rect",{x:o.x+18,y:o.y+18,width:"64",height:"64",rx:"16",class:"ob-flow-preview__icon-background",style:e.normalizeStyle(o.c?{fill:o.c}:void 0)},null,12,ge),o.i&&n.icons[o.i]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icons[o.i]),{key:0,x:o.x+H,y:o.y+H,size:C,color:"white","stroke-width":2.5,"aria-hidden":"true"},null,8,["x","y"])):o.i&&n.iconUrl?(e.openBlock(),e.createElementBlock("image",{key:1,href:n.iconUrl(o.i),x:o.x+H,y:o.y+H,width:C,height:C},null,8,ke)):(e.openBlock(),e.createElementBlock("text",{key:2,x:o.x+50,y:o.y+68,fill:"white","font-size":"42","font-family":"sans-serif","text-anchor":"middle"}," * ",8,Be)),e.createElementVNode("rect",{x:o.x+100,y:o.y+45,width:"128",height:"10",rx:"5",class:"ob-flow-preview__line"},null,8,xe)],64))),128))],8,ye)):e.createCommentVNode("",!0)]))}});exports.FlowPreview=_e;exports.FlowViewer=we;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),M=require("@vue-flow/core"),O=require("@vue-flow/controls"),R=require("@vue-flow/minimap"),I=Symbol("flow-viewer-details"),Z=["aria-label"],X={class:"ob-flow-viewer-node__header"},U=["innerHTML"],G={key:1},Y={class:"ob-flow-viewer-node__title-wrap"},W={class:"ob-flow-viewer-node__title"},J={class:"ob-flow-viewer-node__key"},K={class:"ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped"},Q={key:1,class:"ob-flow-viewer-node__widget-image","aria-hidden":"true"},ee=e.defineComponent({__name:"FlowViewerNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(a){const i=a,p=e.inject(I),v=i.data.available?i.data.description:"This node template is unavailable.";return(l,r)=>{var y,g;return e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-node",{"ob-flow-viewer-node--unavailable":!a.data.available}]),tabindex:"0","aria-label":`${a.data.name} node`,onMouseenter:r[0]||(r[0]=o=>{var c;return(c=e.unref(p))==null?void 0:c.show(a.data,o)}),onMouseleave:r[1]||(r[1]=o=>{var c;return(c=e.unref(p))==null?void 0:c.hide()}),onClick:r[2]||(r[2]=o=>{var c;return(c=e.unref(p))==null?void 0:c.show(a.data,o)}),onFocus:r[3]||(r[3]=o=>{var c;return(c=e.unref(p))==null?void 0:c.show(a.data,o)}),onBlur:r[4]||(r[4]=o=>{var c;return(c=e.unref(p))==null?void 0:c.hide()})},[e.createElementVNode("header",X,[e.createElementVNode("span",{class:"ob-flow-viewer-node__icon",style:e.normalizeStyle({"--ob-node-icon-color":((y=a.data.icon)==null?void 0:y.color)??"#64748b"}),"aria-hidden":"true"},[(g=a.data.icon)!=null&&g.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:a.data.icon.svg},null,8,U)):(e.openBlock(),e.createElementBlock("span",G,e.toDisplayString(a.data.available?a.data.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",Y,[e.createElementVNode("strong",W,e.toDisplayString(a.data.name),1),e.createElementVNode("span",J,e.toDisplayString(a.data.key),1)])]),e.createElementVNode("p",K,e.toDisplayString(e.unref(v)),1),a.data.widgetPreview&&a.data.available?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["ob-flow-viewer-node__widget",`ob-flow-viewer-node__widget--${a.data.widgetPreview}`]),"aria-label":"Widget preview"},[a.data.widgetPreview==="button"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r[5]||(r[5]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-icon"},"↗",-1)),r[6]||(r[6]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-label"},null,-1))],64)):a.data.widgetPreview==="dataset"?(e.openBlock(),e.createElementBlock("span",Q)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[r[7]||(r[7]=e.createElementVNode("span",null,null,-1)),r[8]||(r[8]=e.createElementVNode("span",null,null,-1))],64))],2)):e.createCommentVNode("",!0),a.data.connectedHandles.has("target")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:1,type:"target",position:e.unref(M.Position).Top},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("left")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:2,id:"left",type:"target",position:e.unref(M.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("right")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:3,id:"right",type:"target",position:e.unref(M.Position).Right},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("source")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:4,type:"source",position:e.unref(M.Position).Bottom},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("left-source")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:5,id:"left-source",type:"source",position:e.unref(M.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("right-source")?(e.openBlock(),e.createBlock(e.unref(M.Handle),{key:6,id:"right-source",type:"source",position:e.unref(M.Position).Right},null,8,["position"])):e.createCommentVNode("",!0)],42,Z)}}}),te=e.defineComponent({__name:"FlowViewerNote",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(a){const i=a,p=e.computed(()=>({width:`${i.data.appearance.width}px`,minHeight:i.data.appearance.height?`${i.data.appearance.height}px`:void 0}));return(v,l)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-note",`ob-flow-viewer-note--${a.data.appearance.color}`]),style:e.normalizeStyle(p.value)},e.toDisplayString(a.data.content),7))}}),ae=["data-theme"],oe=["data-theme"],ne={class:"ob-flow-viewer-tooltip__header"},ie=["innerHTML"],ce={key:1},le={class:"ob-flow-viewer-tooltip__title-wrap"},re={class:"ob-flow-viewer-tooltip__body"},de={key:0,class:"ob-flow-viewer-tooltip__unavailable"},se={key:1,class:"ob-flow-viewer-tooltip__description"},he={key:2,class:"ob-flow-viewer-node__ports"},ye={class:"ob-flow-viewer-node__port-group"},pe={key:0,class:"ob-flow-viewer-node__empty"},ke={key:0},me={class:"ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs"},ue={key:0,class:"ob-flow-viewer-node__empty"},ve={key:0},L=72,S=64,ge=1.45,we=e.defineComponent({__name:"FlowViewer",props:{document:{},fitViewOnInit:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},showMiniMap:{type:Boolean,default:!0},minZoom:{default:.1},maxZoom:{default:2},initialZoom:{default:.8},theme:{default:"light"}},setup(a){const i=a,p={catalog:e.markRaw(ee),note:e.markRaw(te)};function v(n){if(n.kind==="note")return n.appearance.height??130;const d=n.description?Math.min(2,Math.max(1,Math.ceil(n.description.length/34))):n.available?0:1,m=d>0?10+d*19.5:0,f=n.available&&n.widgetPreview?10+(n.widgetPreview==="dataset"?72:32):0;return 60+m+f}const l=e.ref(null);let r=null;function y(){r!==null&&(clearTimeout(r),r=null)}function g(){y(),r=setTimeout(()=>{l.value=null,r=null},140)}e.onBeforeUnmount(y);function o(n){const d=new Set;for(const m of i.document.edges)m.source===n&&d.add(m.sourceHandle??"source"),m.target===n&&d.add(m.targetHandle??"target");return d}function c(n,d){y();const m=d.currentTarget;if(!(m instanceof HTMLElement))return;const f=m.getBoundingClientRect(),s=12,h=Math.min(404,window.innerWidth-s*2),w=Math.min(520,window.innerHeight-s*2);let u=f.right+s+h/2;u+h/2>window.innerWidth-s&&(u=f.left-s-h/2),u=Math.max(h/2+s,Math.min(u,window.innerWidth-h/2-s)),l.value={node:n,x:u,y:Math.max(s,Math.min(f.top,window.innerHeight-w-s))}}function k(){g()}e.provide(I,{show:c,hide:k});const x=e.computed(()=>{const n=new Map(i.document.nodes.map(h=>[h.id,{...h.position}])),d=Math.min(...i.document.nodes.map(h=>h.position.x)),m=Math.max(...i.document.nodes.map(h=>h.position.x)),f=(d+m)/2;for(const h of n.values())h.x=f+(h.x-f)*ge;for(let h=0;h<i.document.nodes.length;h+=1)for(const w of i.document.edges){if(w.sourceHandle||w.targetHandle)continue;const u=n.get(w.source),b=n.get(w.target);if(!(!u||!b||Math.abs(u.x-b.x)>=40)&&(b.x=u.x,b.y>u.y)){const z=i.document.nodes.find(A=>A.id===w.source);z&&(b.y=Math.max(b.y,u.y+v(z)+L))}}const s=[...i.document.nodes].sort((h,w)=>h.position.y-w.position.y||h.position.x-w.position.x);for(const[h,w]of s.entries()){const u=n.get(w.id);if(u)for(const b of s.slice(0,h)){const z=n.get(b.id);if(!z)continue;const A=w.kind==="note"?w.appearance.width:260,F=b.kind==="note"?b.appearance.width:260;u.x>=z.x+F+S||z.x>=u.x+A+S||(u.y=Math.max(u.y,z.y+v(b)+L))}}return n}),B=e.computed(()=>i.document.nodes.map(n=>{const d=x.value.get(n.id)??n.position;return n.kind==="note"?{id:n.id,type:"note",position:d,data:n,style:{width:`${n.appearance.width}px`,height:n.appearance.height?`${n.appearance.height}px`:void 0}}:{id:n.id,type:"catalog",position:d,data:{...n,connectedHandles:o(n.id)},selectable:!1}})),V=e.computed(()=>i.document.edges.map((n,d)=>({id:`viewer-edge-${d}-${n.source}-${n.target}`,source:n.source,target:n.target,sourceHandle:n.sourceHandle,targetHandle:n.targetHandle,type:M.ConnectionLineType.SmoothStep,data:n.data,style:n.isVisual?{strokeDasharray:"6 4"}:void 0,selectable:!1}))),j=e.computed(()=>{if(i.document.nodes.length===0)return{minX:0,minY:0,maxX:0,maxY:0};let n=1/0,d=1/0,m=-1/0,f=-1/0;for(const s of i.document.nodes){const h=x.value.get(s.id)??s.position,w=s.kind==="note"?s.appearance.width:260,u=v(s);n=Math.min(n,h.x),d=Math.min(d,h.y),m=Math.max(m,h.x+w),f=Math.max(f,h.y+u)}return{minX:n,minY:d,maxX:m,maxY:f}});function D(n){if(i.fitViewOnInit){n.fitView({padding:.15,maxZoom:1});return}const d=j.value,m=i.initialZoom;n.setViewport({x:n.dimensions.value.width/2-(d.minX+d.maxX)/2*m,y:24-d.minY*m,zoom:m})}return(n,d)=>{var m,f;return e.openBlock(),e.createElementBlock("div",{class:"ob-flow-viewer","data-theme":a.theme},[e.createVNode(e.unref(M.VueFlow),{nodes:B.value,edges:V.value,"node-types":p,"fit-view-on-init":!1,"min-zoom":a.minZoom,"max-zoom":a.maxZoom,"nodes-draggable":!1,"nodes-connectable":!1,"elements-selectable":!0,"select-nodes-on-drag":!1,"connect-on-click":!1,"zoom-on-double-click":!1,"delete-key-code":[],"multi-selection-key-code":[],"pan-on-drag":!0,"pan-on-scroll":!0,"zoom-on-scroll":!1,"zoom-on-pinch":!0,class:"ob-flow-viewer__canvas",onPaneReady:D},{default:e.withCtx(()=>[a.showControls?(e.openBlock(),e.createBlock(e.unref(O.Controls),{key:0,"show-interactive":!1})):e.createCommentVNode("",!0),a.showMiniMap?(e.openBlock(),e.createBlock(e.unref(R.MiniMap),{key:1,pannable:!0,zoomable:!0})):e.createCommentVNode("",!0)]),_:1},8,["nodes","edges","min-zoom","max-zoom"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[l.value?(e.openBlock(),e.createElementBlock("section",{key:0,class:"ob-flow-viewer-tooltip","data-theme":a.theme,style:e.normalizeStyle({left:`${l.value.x}px`,top:`${l.value.y}px`}),role:"tooltip",tabindex:"0",onMouseenter:y,onMouseleave:k,onFocusin:y,onFocusout:k},[e.createElementVNode("header",ne,[e.createElementVNode("span",{class:"ob-flow-viewer-tooltip__icon",style:e.normalizeStyle({"--ob-node-icon-color":((m=l.value.node.icon)==null?void 0:m.color)??"#64748b"}),"aria-hidden":"true"},[(f=l.value.node.icon)!=null&&f.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:l.value.node.icon.svg},null,8,ie)):(e.openBlock(),e.createElementBlock("span",ce,e.toDisplayString(l.value.node.available?l.value.node.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",le,[e.createElementVNode("strong",null,e.toDisplayString(l.value.node.name),1),e.createElementVNode("code",null,e.toDisplayString(l.value.node.key),1)])]),e.createElementVNode("div",re,[l.value.node.available?l.value.node.description?(e.openBlock(),e.createElementBlock("p",se,e.toDisplayString(l.value.node.description),1)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",de," This node template is unavailable. ")),l.value.node.available?(e.openBlock(),e.createElementBlock("div",he,[e.createElementVNode("div",ye,[d[0]||(d[0]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Inputs",-1)),l.value.node.inputs.length===0?(e.openBlock(),e.createElementBlock("span",pe,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value.node.inputs,s=>(e.openBlock(),e.createElementBlock("span",{key:s.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(s.name),1),s.description?(e.openBlock(),e.createElementBlock("small",ke,e.toDisplayString(s.description),1)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",me,[d[1]||(d[1]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Outputs",-1)),l.value.node.outputs.length===0?(e.openBlock(),e.createElementBlock("span",ue,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value.node.outputs,s=>(e.openBlock(),e.createElementBlock("span",{key:s.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(s.name),1),s.description?(e.openBlock(),e.createElementBlock("small",ve,e.toDisplayString(s.description),1)):e.createCommentVNode("",!0)]))),128))])])):e.createCommentVNode("",!0)])],44,oe)):e.createCommentVNode("",!0)]))],8,ae)}}});/**
|
|
2
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const fe=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};/**
|
|
7
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const $=a=>a==="";/**
|
|
12
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const Me=(...a)=>a.filter((i,p,v)=>!!i&&i.trim()!==""&&v.indexOf(i)===p).join(" ").trim();/**
|
|
17
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const P=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
22
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/const xe=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,p,v)=>v?v.toUpperCase():p.toLowerCase());/**
|
|
27
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const be=a=>{const i=xe(a);return i.charAt(0).toUpperCase()+i.slice(1)};/**
|
|
32
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the ISC license.
|
|
35
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/var _={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
37
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the ISC license.
|
|
40
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/const Be=({name:a,iconNode:i,absoluteStrokeWidth:p,"absolute-stroke-width":v,strokeWidth:l,"stroke-width":r,size:y=_.width,color:g=_.stroke,...o},{slots:c})=>e.h("svg",{..._,...o,width:y,height:y,stroke:g,"stroke-width":$(p)||$(v)||p===!0||v===!0?Number(l||r||_["stroke-width"])*24/Number(y):l||r||_["stroke-width"],class:Me("lucide",o.class,...a?[`lucide-${P(be(a))}-icon`,`lucide-${P(a)}`]:["lucide-icon"]),...!c.default&&!fe(o)&&{"aria-hidden":"true"}},[...i.map(k=>e.h(...k)),...c.default?[c.default()]:[]]);/**
|
|
42
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the ISC license.
|
|
45
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/const t=(a,i)=>(p,{slots:v,attrs:l})=>e.h(Be,{...l,...p,iconNode:i,name:a},v);/**
|
|
47
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
48
|
+
*
|
|
49
|
+
* This source code is licensed under the ISC license.
|
|
50
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
+
*/const Ve=t("archive-restore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);/**
|
|
52
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the ISC license.
|
|
55
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/const ze=t("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
|
|
57
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the ISC license.
|
|
60
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/const _e=t("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);/**
|
|
62
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const He=t("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
67
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/const Ce=t("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|
72
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Ee=t("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
|
77
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const Ne=t("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);/**
|
|
82
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const Ae=t("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);/**
|
|
87
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const qe=t("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
|
|
92
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const Le=t("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
|
|
97
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const Se=t("clock-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]);/**
|
|
102
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const $e=t("cloud-download",[["path",{d:"M12 13v8l-4-4",key:"1f5nwf"}],["path",{d:"m12 21 4-4",key:"1lfcce"}],["path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284",key:"ui1hmy"}]]);/**
|
|
107
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const Pe=t("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]);/**
|
|
112
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const Ie=t("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
117
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const Te=t("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);/**
|
|
122
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the ISC license.
|
|
125
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/const je=t("crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);/**
|
|
127
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
128
|
+
*
|
|
129
|
+
* This source code is licensed under the ISC license.
|
|
130
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
+
*/const De=t("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/**
|
|
132
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the ISC license.
|
|
135
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/const Fe=t("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
137
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the ISC license.
|
|
140
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/const Oe=t("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);/**
|
|
142
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const Re=t("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
147
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const Ze=t("file-down",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/**
|
|
152
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const Xe=t("files",[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]]);/**
|
|
157
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const Ue=t("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);/**
|
|
162
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const Ge=t("folder-plus",[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
167
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const Ye=t("folder-root",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M12 15v5",key:"11xva1"}]]);/**
|
|
172
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the ISC license.
|
|
175
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/const We=t("folder-sync",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]]);/**
|
|
177
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
178
|
+
*
|
|
179
|
+
* This source code is licensed under the ISC license.
|
|
180
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
+
*/const Je=t("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);/**
|
|
182
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/const Ke=t("gallery-vertical-end",[["path",{d:"M7 2h10",key:"nczekb"}],["path",{d:"M5 6h14",key:"u2x4p"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}]]);/**
|
|
187
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const Qe=t("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
|
|
192
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/const et=t("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);/**
|
|
197
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const tt=t("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);/**
|
|
202
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const at=t("hard-drive-download",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
|
|
207
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const ot=t("hard-drive-upload",[["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M12 2v8",key:"1q4o3n"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
|
|
212
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the ISC license.
|
|
215
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
+
*/const nt=t("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
217
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the ISC license.
|
|
220
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/const it=t("image-up",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
|
|
222
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the ISC license.
|
|
225
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/const ct=t("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
|
|
227
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
228
|
+
*
|
|
229
|
+
* This source code is licensed under the ISC license.
|
|
230
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
+
*/const lt=t("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
|
|
232
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
233
|
+
*
|
|
234
|
+
* This source code is licensed under the ISC license.
|
|
235
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
+
*/const rt=t("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]);/**
|
|
237
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
238
|
+
*
|
|
239
|
+
* This source code is licensed under the ISC license.
|
|
240
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
+
*/const dt=t("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
|
|
242
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
243
|
+
*
|
|
244
|
+
* This source code is licensed under the ISC license.
|
|
245
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
+
*/const st=t("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);/**
|
|
247
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
248
|
+
*
|
|
249
|
+
* This source code is licensed under the ISC license.
|
|
250
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
251
|
+
*/const ht=t("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
252
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the ISC license.
|
|
255
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/const yt=t("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
|
|
257
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
258
|
+
*
|
|
259
|
+
* This source code is licensed under the ISC license.
|
|
260
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
+
*/const pt=t("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);/**
|
|
262
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
263
|
+
*
|
|
264
|
+
* This source code is licensed under the ISC license.
|
|
265
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
+
*/const kt=t("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);/**
|
|
267
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
268
|
+
*
|
|
269
|
+
* This source code is licensed under the ISC license.
|
|
270
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
+
*/const mt=t("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
272
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
273
|
+
*
|
|
274
|
+
* This source code is licensed under the ISC license.
|
|
275
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
+
*/const ut=t("package-minus",[["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"M16 17h6",key:"1ook5g"}],["path",{d:"M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",key:"zu9avd"}],["path",{d:"M3.29 7 12 12l8.71-5",key:"19ckod"}],["path",{d:"m7.5 4.27 8.997 5.148",key:"9yrvtv"}]]);/**
|
|
277
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the ISC license.
|
|
280
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/const vt=t("package-open",[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]]);/**
|
|
282
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
283
|
+
*
|
|
284
|
+
* This source code is licensed under the ISC license.
|
|
285
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
+
*/const gt=t("package-plus",[["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"M16 17h6",key:"1ook5g"}],["path",{d:"M19 14v6",key:"1ckrd5"}],["path",{d:"M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",key:"28k6lz"}],["path",{d:"M3.29 7 12 12l8.71-5",key:"19ckod"}],["path",{d:"m7.5 4.27 8.997 5.148",key:"9yrvtv"}]]);/**
|
|
287
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the ISC license.
|
|
290
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/const wt=t("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);/**
|
|
292
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
293
|
+
*
|
|
294
|
+
* This source code is licensed under the ISC license.
|
|
295
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
+
*/const ft=t("radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
|
|
297
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
298
|
+
*
|
|
299
|
+
* This source code is licensed under the ISC license.
|
|
300
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
+
*/const Mt=t("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
|
|
302
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
303
|
+
*
|
|
304
|
+
* This source code is licensed under the ISC license.
|
|
305
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
306
|
+
*/const xt=t("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
|
|
307
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
308
|
+
*
|
|
309
|
+
* This source code is licensed under the ISC license.
|
|
310
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
+
*/const bt=t("scale",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]]);/**
|
|
312
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
313
|
+
*
|
|
314
|
+
* This source code is licensed under the ISC license.
|
|
315
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
+
*/const Bt=t("scan-eye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/**
|
|
317
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
318
|
+
*
|
|
319
|
+
* This source code is licensed under the ISC license.
|
|
320
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
321
|
+
*/const Vt=t("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);/**
|
|
322
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
323
|
+
*
|
|
324
|
+
* This source code is licensed under the ISC license.
|
|
325
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
+
*/const zt=t("scan-text",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]]);/**
|
|
327
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
328
|
+
*
|
|
329
|
+
* This source code is licensed under the ISC license.
|
|
330
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
331
|
+
*/const _t=t("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
|
|
332
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
333
|
+
*
|
|
334
|
+
* This source code is licensed under the ISC license.
|
|
335
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
336
|
+
*/const Ht=t("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
|
|
337
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
338
|
+
*
|
|
339
|
+
* This source code is licensed under the ISC license.
|
|
340
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
+
*/const Ct=t("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
342
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
343
|
+
*
|
|
344
|
+
* This source code is licensed under the ISC license.
|
|
345
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
+
*/const Et=t("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
347
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
348
|
+
*
|
|
349
|
+
* This source code is licensed under the ISC license.
|
|
350
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
351
|
+
*/const Nt=t("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);/**
|
|
352
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
353
|
+
*
|
|
354
|
+
* This source code is licensed under the ISC license.
|
|
355
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
356
|
+
*/const At=t("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);/**
|
|
357
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
358
|
+
*
|
|
359
|
+
* This source code is licensed under the ISC license.
|
|
360
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
361
|
+
*/const qt=t("split",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]]);/**
|
|
362
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
363
|
+
*
|
|
364
|
+
* This source code is licensed under the ISC license.
|
|
365
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
366
|
+
*/const Lt=t("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
|
|
367
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
368
|
+
*
|
|
369
|
+
* This source code is licensed under the ISC license.
|
|
370
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
371
|
+
*/const St=t("tags",[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]);/**
|
|
372
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
373
|
+
*
|
|
374
|
+
* This source code is licensed under the ISC license.
|
|
375
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
376
|
+
*/const $t=t("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);/**
|
|
377
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
378
|
+
*
|
|
379
|
+
* This source code is licensed under the ISC license.
|
|
380
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
381
|
+
*/const Pt=t("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]]);/**
|
|
382
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
383
|
+
*
|
|
384
|
+
* This source code is licensed under the ISC license.
|
|
385
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
386
|
+
*/const It=t("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);/**
|
|
387
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
388
|
+
*
|
|
389
|
+
* This source code is licensed under the ISC license.
|
|
390
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
391
|
+
*/const Tt=t("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
392
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
393
|
+
*
|
|
394
|
+
* This source code is licensed under the ISC license.
|
|
395
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
396
|
+
*/const jt=t("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);/**
|
|
397
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
398
|
+
*
|
|
399
|
+
* This source code is licensed under the ISC license.
|
|
400
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
401
|
+
*/const Dt=t("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
|
|
402
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
403
|
+
*
|
|
404
|
+
* This source code is licensed under the ISC license.
|
|
405
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
406
|
+
*/const Ft=t("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/**
|
|
407
|
+
* @license lucide-vue-next v0.577.0 - ISC
|
|
408
|
+
*
|
|
409
|
+
* This source code is licensed under the ISC license.
|
|
410
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
411
|
+
*/const Ot=t("webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]),Rt=["archive","archive-restore","arrow-down-to-line","badge-check","bot","box","brain","brain-circuit","chart-column","clipboard-check","clock-3","cloud-download","combine","copy","cpu","crop","crosshair","database","download","eye","file-down","files","film","folder-plus","folder-root","folder-sync","funnel","gallery-vertical-end","gauge","git-branch","git-merge","hard-drive-download","hard-drive-upload","history","image","image-plus","image-up","images","layers","list-checks","loader-circle","mail","moon","move-right","octagon-x","package-minus","package-open","package-plus","play","radar","route","ruler","scale","scan-eye","scan-search","scan-text","scissors","search","settings","shield-check","shuffle","sparkles","split","tag","tags","terminal","text-cursor-input","trash-2","triangle-alert","trophy","video","wand-sparkles","webhook"],Zt=Object.freeze(Rt),T=Object.freeze({archive:ze,"archive-restore":Ve,"arrow-down-to-line":_e,"badge-check":He,bot:Ce,box:Ee,brain:Ae,"brain-circuit":Ne,"chart-column":qe,"clipboard-check":Le,"clock-3":Se,"cloud-download":$e,combine:Pe,copy:Ie,cpu:Te,crop:je,crosshair:De,database:Fe,download:Oe,eye:Re,"file-down":Ze,files:Xe,film:Ue,"folder-plus":Ge,"folder-root":Ye,"folder-sync":We,funnel:Je,"gallery-vertical-end":Ke,gauge:Qe,"git-branch":et,"git-merge":tt,"hard-drive-download":at,"hard-drive-upload":ot,history:nt,image:lt,"image-plus":ct,"image-up":it,images:rt,layers:dt,"list-checks":st,"loader-circle":ht,mail:yt,moon:pt,"move-right":kt,"octagon-x":mt,"package-minus":ut,"package-open":vt,"package-plus":gt,play:wt,radar:ft,route:Mt,ruler:xt,scale:bt,"scan-eye":Bt,"scan-search":Vt,"scan-text":zt,scissors:_t,search:Ht,settings:Ct,"shield-check":Et,shuffle:Nt,sparkles:At,split:qt,tag:Lt,tags:St,terminal:$t,"text-cursor-input":Pt,"trash-2":It,"triangle-alert":Tt,trophy:jt,video:Dt,"wand-sparkles":Ft,webhook:Ot}),Xt={class:"ob-flow-preview"},Ut=["viewBox"],Gt=["d"],Yt=["x","y"],Wt=["x","y"],Jt=["href","x","y"],Kt=["x","y"],Qt=["x","y"],H=260,C=100,E=140,ea=140,q=48,N=26,ta=e.defineComponent({__name:"FlowPreview",props:{preview:{},icons:{default:()=>T},iconUrl:{type:Function,default:void 0}},setup(a){const i=a,p=e.computed(()=>{var o,c;const y=((o=i.preview)==null?void 0:o.n)??[],g=new Map(y.map(k=>[k.id,{x:k.x,y:k.y}]));for(let k=0;k<y.length;k+=1)for(const x of((c=i.preview)==null?void 0:c.e)??[]){const B=g.get(x.s),V=g.get(x.t);B&&V&&Math.abs(B.x-V.x)<ea&&(V.x=B.x)}return y.map(k=>({...k,...g.get(k.id)??{x:k.x,y:k.y}}))}),v=e.computed(()=>{const y=p.value;if(y.length===0)return"0 0 1 1";let g=1/0,o=1/0,c=-1/0,k=-1/0;for(const x of y)g=Math.min(g,x.x),o=Math.min(o,x.y),c=Math.max(c,x.x+H),k=Math.max(k,x.y+C);return`${g-E} ${o-E} ${c-g+E*2} ${k-o+E*2}`}),l=e.computed(()=>new Map(p.value.map(y=>[y.id,y])));function r(y,g){const o=l.value.get(y),c=l.value.get(g);if(!o||!c)return"";const k=o.x+H/2,x=o.y+C/2,B=c.x+H/2,V=c.y+C/2;return`M ${k} ${x} L ${B} ${V}`}return(y,g)=>(e.openBlock(),e.createElementBlock("div",Xt,[a.preview&&a.preview.n.length>0?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"ob-flow-preview__svg",viewBox:v.value,preserveAspectRatio:"xMidYMid meet"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.preview.e,(o,c)=>(e.openBlock(),e.createElementBlock("path",{key:c,d:r(o.s,o.t),class:"ob-flow-preview__edge","vector-effect":"non-scaling-stroke"},null,8,Gt))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,o=>(e.openBlock(),e.createElementBlock("rect",{key:o.id,x:o.x,y:o.y,width:H,height:C,rx:"16",class:"ob-flow-preview__node","vector-effect":"non-scaling-stroke"},null,8,Yt))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,o=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`content-${o.id}`},[e.createElementVNode("rect",{x:o.x+18,y:o.y+18,width:"64",height:"64",rx:"16",class:"ob-flow-preview__icon-background",style:e.normalizeStyle(o.c?{fill:o.c}:void 0)},null,12,Wt),o.i&&a.icons[o.i]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.icons[o.i]),{key:0,x:o.x+N,y:o.y+N,size:q,color:"white","stroke-width":2.5,"aria-hidden":"true"},null,8,["x","y"])):o.i&&a.iconUrl?(e.openBlock(),e.createElementBlock("image",{key:1,href:a.iconUrl(o.i),x:o.x+N,y:o.y+N,width:q,height:q},null,8,Jt)):(e.openBlock(),e.createElementBlock("text",{key:2,x:o.x+50,y:o.y+68,fill:"white","font-size":"42","font-family":"sans-serif","text-anchor":"middle"}," * ",8,Kt)),e.createElementVNode("rect",{x:o.x+100,y:o.y+45,width:"128",height:"10",rx:"5",class:"ob-flow-preview__line"},null,8,Qt)],64))),128))],8,Ut)):e.createCommentVNode("",!0)]))}});exports.FlowPreview=ta;exports.FlowViewer=we;exports.nodePreviewIconNames=Zt;exports.nodePreviewIcons=T;
|