@runeya/runeya 1.33.32 → 1.33.34
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/node-red-contrib-runeya.tar +0 -0
- package/package.json +1 -1
- package/public/assets/App-0vRbxmNQ.js +162 -0
- package/public/assets/{Bugs-BuV_M_lb.js → Bugs-n-hL7tUR.js} +1 -1
- package/public/assets/{Configs-BK0Jsvi5.js → Configs-bQOmYUwB.js} +12 -12
- package/public/assets/{CurrentEditor-CwOF8PuR.js → CurrentEditor-DZy4816h.js} +1 -1
- package/public/assets/{DynamicComponent-B1sv1s6U.js → DynamicComponent-DCIgHp0w.js} +1 -1
- package/public/assets/{Editor-UHqSMXPl.js → Editor-85UXMxbX.js} +6 -6
- package/public/assets/{Git-BXjTBqk6.js → Git-BTmTOBkZ.js} +6 -6
- package/public/assets/ImportCreate-DA8nt12l.js +1 -0
- package/public/assets/Index-B4Jvfo8e.js +1 -0
- package/public/assets/{Index-B2xa1moZ.js → Index-BGpzaK8G.js} +1 -1
- package/public/assets/Index-BHEG6rJY.js +1 -0
- package/public/assets/Index-CRZ-g8e2.js +1 -0
- package/public/assets/{Index-sXG9TyFm.js → Index-CXn-ZwGz.js} +1 -1
- package/public/assets/Index-DbwN_Se_.js +1 -0
- package/public/assets/Index-q3C0za8f.js +1 -0
- package/public/assets/{Init-BBjAAas3.js → Init-DR8vFROF.js} +1 -1
- package/public/assets/{LeftLogo-BQhhaJXo.js → LeftLogo-CwOza4RI.js} +1 -1
- package/public/assets/Logs-DX9U7WTO.css +32 -0
- package/public/assets/Logs-jwvcWIZr.js +190 -0
- package/public/assets/{Markdown-B5Tgfrxo.js → Markdown-BFUj3ed1.js} +1 -1
- package/public/assets/Modal-2tP8c2tI.js +1 -0
- package/public/assets/Modals-BzQS_5UQ.js +1 -0
- package/public/assets/{NotUpToDate-Bqstt-lY.js → NotUpToDate-t3p2zniq.js} +1 -1
- package/public/assets/{Npm-Dmk7d_y9.js → Npm-Dqy7RKe-.js} +1 -1
- package/public/assets/Overview-DoYNIFEp.js +1 -0
- package/public/assets/Section-BX-e-3c4.js +1 -0
- package/public/assets/Section-DPgWRrmJ.css +1 -0
- package/public/assets/{Settings-P4TuAd-6.js → Settings-B3LTHHPc.js} +6 -6
- package/public/assets/{Spinner-BMsNFBmq.js → Spinner-CXzAhlRM.js} +1 -1
- package/public/assets/{StackChooser-BQUkjB35.js → StackChooser-BeFnlQEV.js} +1 -1
- package/public/assets/StackChooser-DuZcAiy1.js +1 -0
- package/public/assets/{StackMultiple-C90SG5fT.js → StackMultiple-Co1TxdN7.js} +1 -1
- package/public/assets/StackSingle-B134QzRJ.js +1 -0
- package/public/assets/{Tabs-BA8jGnfl.js → Tabs-Wt5WJosi.js} +1 -1
- package/public/assets/{Theme-bzIwiZ5B.js → Theme-D4GhxSvQ.js} +1 -1
- package/public/assets/{Toolbox-BIYPBdmX.js → Toolbox-Di3ea2VB.js} +1 -1
- package/public/assets/{cssMode-DiP8gPm8.js → cssMode-ABJDT4xL.js} +1 -1
- package/public/assets/currentEditor-gGWhMRDi.js +1 -0
- package/public/assets/{freemarker2-fhQxzLMj.js → freemarker2-C6_zUoz_.js} +1 -1
- package/public/assets/{fs-BO_e5aGe.js → fs-Rt3HnuaZ.js} +1 -1
- package/public/assets/{handlebars-aLh6Ne7C.js → handlebars-CsmUKnmI.js} +1 -1
- package/public/assets/{html-BSjkvURL.js → html-DwooehwI.js} +1 -1
- package/public/assets/{htmlMode-ju_2D_Nr.js → htmlMode-lnbtYiz1.js} +1 -1
- package/public/assets/{index-CZ6deEIJ.js → index-3ZvrYKa3.js} +2 -2
- package/public/assets/{index-e0ZhF1ea.js → index-B53oJTt9.js} +3 -3
- package/public/assets/{index-DGME7aKs.js → index-B6uAxUbc.js} +7 -7
- package/public/assets/{index-UzGzKvDE.js → index-BRvRdm2d.js} +5 -5
- package/public/assets/index-CHlc7El7.css +5 -0
- package/public/assets/{index-B_ICEWNI.js → index-CV0pET8D.js} +1 -1
- package/public/assets/index-CY-FD0AK.js +201 -0
- package/public/assets/index-CxR262qY.js +1 -0
- package/public/assets/index-D_XM890H.js +178 -0
- package/public/assets/index-DazOL6mm.js +206 -0
- package/public/assets/{index-BJkfmYFE.js → index-Dh1WAh9C.js} +3 -3
- package/public/assets/{index-DvEhrupB.js → index-rSgGIdjv.js} +6 -6
- package/public/assets/{javascript-GC_yMVf_.js → javascript-oMNl3vwx.js} +1 -1
- package/public/assets/json-tree-view-vue3.es-DGg-wd6p.js +1 -0
- package/public/assets/{jsonMode-Clc3SKQk.js → jsonMode-CKO6Dx_W.js} +1 -1
- package/public/assets/{liquid-Cl7ryLES.js → liquid-CFYVQBf0.js} +1 -1
- package/public/assets/{mdx-DGSKEVGT.js → mdx-_21wU5oo.js} +1 -1
- package/public/assets/{python-CGnKnPrn.js → python-CgDvytUF.js} +1 -1
- package/public/assets/{razor-XEoGvJHl.js → razor-CpvrGZ7N.js} +1 -1
- package/public/assets/{router-Cxk7zjvo.js → router-DK7DUOjn.js} +30 -30
- package/public/assets/system-CoqDRPac.js +1 -0
- package/public/assets/{tsMode-wgpd7Msz.js → tsMode-CIYZ5icc.js} +1 -1
- package/public/assets/{typescript-DUS--dzx.js → typescript-k_Xuqjo2.js} +1 -1
- package/public/assets/{xml-Be2UCQYa.js → xml-aHSiJT5P.js} +1 -1
- package/public/assets/{yaml-Ct-2OlYY.js → yaml-oLQlyCkB.js} +1 -1
- package/public/index.html +1 -1
- package/www.js +8 -2
- package/www.js.map +1 -1
- package/public/assets/App-ZLERnMNy.js +0 -101
- package/public/assets/ImportCreate-v1Zc-klN.js +0 -1
- package/public/assets/Index-ByqyAjzj.js +0 -1
- package/public/assets/Index-C-dSwUxh.js +0 -1
- package/public/assets/Index-CgE43z6S.js +0 -1
- package/public/assets/Index-CuLX9CEK.js +0 -1
- package/public/assets/Index-JDsLttr4.js +0 -1
- package/public/assets/Logs-B87TNYBN.js +0 -74
- package/public/assets/Logs-DMnPRUc7.css +0 -32
- package/public/assets/Modal-iAUX09_b.js +0 -1
- package/public/assets/Modals-BSBo1mHy.js +0 -1
- package/public/assets/Overview-D64dSNmB.js +0 -1
- package/public/assets/Section-Dz0BsVYl.css +0 -1
- package/public/assets/Section-u9eiCD3F.js +0 -1
- package/public/assets/StackChooser-Doewl5mP.js +0 -1
- package/public/assets/StackSingle-DmRSxhHY.js +0 -1
- package/public/assets/currentEditor-kBIRJ2ns.js +0 -1
- package/public/assets/index-BN_JECzv.js +0 -201
- package/public/assets/index-BelhD7LL.js +0 -264
- package/public/assets/index-D9v3u7Fv.css +0 -5
- package/public/assets/index-STDFvzob.js +0 -176
- package/public/assets/json-tree-view-vue3.es-DcbFXQbs.js +0 -1
- package/public/assets/system-CaB6RF01.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as G,S as d}from"./router-Cxk7zjvo.js";import V from"./system-CaB6RF01.js";import{_ as I}from"./Section-u9eiCD3F.js";import{l as M,s as O,g as S,o as r,f as U,b as c,a as u,F as A,q as L,d as E,t as _,O as N,m as q,p as F,v as K,r as T,j,S as m,N as D,c as C,V as x}from"./index-BelhD7LL.js";import{L as R,B as z}from"./LeftLogo-BQhhaJXo.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";const J={name:"StackChooser",components:{sectionCmp:I,BackgroundStackChooser:z,LeftLogo:R},props:{embed:{default:!1}},setup(){var o,h,f;const v=G(),t=T([]);async function b(){if(await d.loadServices(),!d.services.value.length)return v.push({name:"stack-single-no-view"});if(t.value=d.services.value.map(e=>{const l=localStorage.getItem(`automatic-toggle-${e.label}`);return{label:e.label,enabled:l==="true"||e.enabled||!1,groups:e.groups}}),v.currentRoute.value.name==="stack-chooser"){const e=d.services.value.find(l=>l.enabled);if(e){const l=d.services.value.find(a=>a.label===localStorage.getItem("last-service-visisted")&&a.enabled);l?v.push({name:"stack-single",params:{label:l.label}}):v.push({name:"stack-single",params:{label:e.label}})}}}j(b),(o=m)==null||o.on("stack:selectConf",b),(h=m)==null||h.on("service:start",b),(f=m)==null||f.on("stack:services-reloaded",b),D(()=>{var e,l,a;(e=m)==null||e.off("stack:selectConf",b),(l=m)==null||l.off("service:start",b),(a=m)==null||a.off("stack:services-reloaded",b)});const s=async()=>{var l,a;t.value.forEach(i=>{const w=d.services.value.find(B=>B.label===i.label);w&&(w.enabled=i.enabled)}),d.launchServices(t.value.map(i=>({label:i.label,enabled:i.enabled})));const e=await d.getEnabledServices();v.push({name:"stack-single",params:{label:((l=e[0])==null?void 0:l.label)||((a=d.services.value[0])==null?void 0:a.label)}})},g=e=>t.value.filter(l=>{var a;return((a=l.groups)==null?void 0:a.includes(e))||e==="All"}),y=e=>g(e).every(l=>l.enabled),p=T(""),n=async e=>{e!=null&&e.label&&localStorage.setItem(`automatic-toggle-${e.label}`,e.enabled==null?"false":e.enabled.toString())},k=async(e,l=null)=>{e!=null&&(e.enabled=l??!e.enabled,await n(e))};return{servicesToLaunch:t,search:p,isAllEnabled:C(()=>t.value.every(e=>e.enabled)),oneOrMoreEnabled:C(()=>t.value.some(e=>e.enabled)),groups:C(()=>{const e=t.value.reduce((l,a)=>(a.groups&&a.groups.forEach(i=>{l[i]||(l[i]=x({services:[],label:i})),l[i].services.push(a)}),l.All||(l.All=x({services:[],label:"All"})),l.All.services.push(a),l),{});return Object.keys(e).map(l=>e[l]).sort((l,a)=>l.label.localeCompare(a.label))}),toggleGroup(e){const l=y(e);g(e).map(a=>{k(a,!l)})},save:n,isGroupSelected:y,Stack:d,System:V,validate:s,displayedServices(e){return e.filter(l=>{var a;return(a=l.label)==null?void 0:a.toUpperCase().includes(p.value.toUpperCase())})},toggleService:k}}},P={class:"groups"},Q=["onClick"],W={class:"left-header"},X={key:0,class:"fas fa-chevron-down","aria-hidden":"true"},Y={class:"right-header"},Z=["onClick"],$={key:0,class:"far fa-check-square","aria-hidden":"true"},ee={key:1,class:"far fa-square","aria-hidden":"true"},le={key:0},ae=["onKeypress"],se=["id","value","checked","onChange"],te=["for"],ne={class:"actions"};function oe(v,t,b,s,g,y){const p=M("section-cmp");return s.servicesToLaunch?(r(),O(p,{key:0,class:"stack-chooser",header:"Choose all services to launch"},{default:U(()=>[c("div",P,[(r(!0),u(A,null,L(s.groups,n=>{var k;return r(),u("div",{key:n.label},[c("div",{class:"group-header",onClick:o=>n.show=!n.show},[c("div",W,[n.label!=="All"?(r(),u("i",X)):S("",!0),c("h3",null,[E(_(n.label)+" ",1),c("span",null,"("+_((k=n.services)==null?void 0:k.length)+")",1)])]),c("div",Y,[c("button",{onClick:N(o=>s.toggleGroup(n.label),["stop"]),class:"mini"},[s.isGroupSelected(n.label)?(r(),u("i",$)):(r(),u("i",ee))],8,Z)])],8,Q),n.show||n.label==="All"?(r(),u("ul",le,[q(c("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=o=>s.search=o),onKeypress:F(o=>s.toggleService(s.servicesToLaunch.find(h=>{var f;return h.label===((f=s.displayedServices(n.services)[0])==null?void 0:f.label)})),["enter"]),placeholder:"Type+Enter to toggle..."},null,40,ae),[[K,s.search]]),(r(!0),u(A,null,L(s.displayedServices(n.services),o=>{var h,f;return r(),u("li",{key:"services-"+o.label},[c("input",{type:"checkbox",id:"input-"+o.label,value:(h=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:h.enabled,checked:(f=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:f.enabled,onChange:e=>s.toggleService(s.servicesToLaunch.find(l=>l.label===o.label))},null,40,se),c("label",{for:"input-"+o.label},_(o.label),9,te)])}),128))])):S("",!0)])}),128))]),c("div",ne,[s.isAllEnabled?(r(),u("button",{key:1,onClick:t[2]||(t[2]=n=>s.toggleGroup("All"))},"Unselect all")):(r(),u("button",{key:0,onClick:t[1]||(t[1]=n=>s.toggleGroup("All"))},"Select all")),c("button",{onClick:t[3]||(t[3]=(...n)=>s.validate&&s.validate(...n)),class:"success"},[t[4]||(t[4]=c("i",{class:"fas fa-play","aria-hidden":"true"},null,-1)),E(" "+_(s.oneOrMoreEnabled?"Launch":"Open without launching"),1)])])]),_:1})):S("",!0)}const fe=H(J,[["render",oe],["__scopeId","data-v-cd4be6aa"]]);export{fe as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as M,p as q,u as A,S as B}from"./router-Cxk7zjvo.js";import K from"./system-CaB6RF01.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as l,b as t,u as Y,h as G,n as T,P as J,Y as Q,r as f,w as W,j as R,S as E,K as N,g as p,s as _,d as X,f as c,t as C,e as u,F as Z,q as ee,a1 as ae,H as te,k as se}from"./index-BelhD7LL.js";import{P as ne,_ as oe}from"./Section-u9eiCD3F.js";import{T as le}from"./Tabs-BA8jGnfl.js";import{C as re}from"./CurrentEditor-CwOF8PuR.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";import"./currentEditor-kBIRJ2ns.js";import"./Spinner-BMsNFBmq.js";const ie={props:{percent:{default:0}}},ce={class:"progress progress-moved"};function ue(v,d,i,a,g,y){return l(),r("div",ce,[t("div",{class:"progress-bar",style:Y({width:`${(i.percent||0)>100?100:i.percent||0}%`})},null,4)])}const V=b(ie,[["render",ue],["__scopeId","data-v-3bbda6b0"]]),de={class:"card-container"},fe={__name:"Card",props:{color:{default:"blue"},mini:{default:!1}},setup(v){return(d,i)=>(l(),r("div",{class:T(["card-root",{[v.color]:!0,mini:v.mini}])},[t("div",de,[G(d.$slots,"default",{},void 0,!0)])],2))}},S=b(fe,[["__scopeId","data-v-bebaadaf"]]),ve={__name:"NotificationBell",setup(v){const d=()=>M.openHistory.next();return(i,a)=>(l(),r("div",{class:"notification-bell-root",onClick:d},a[0]||(a[0]=[t("i",{class:"fas fa-bell","aria-hidden":"true"},null,-1)])))}},pe=b(ve,[["__scopeId","data-v-c97a762b"]]),me={class:"main"},_e={class:"header"},be={class:"left"},ge={class:"title"},ye={class:"description"},he={class:"right"},ke={class:"icons"},Ce=["href"],Se=["href"],we=["href","title"],$e={class:"sections"},Ie={key:0,class:"sections"},xe={key:1,class:"system-cards"},Pe=["disabled"],Oe={class:"tab"},Be={__name:"StackSingle",setup(v){const d=J({});q.forEach(s=>{s.cmp&&typeof s.cmp=="function"&&(d.value[s.name]=Q(()=>s.cmp()))});const i=A(),a=f(),g=f(0),y=f(0),m=f(!1);W(()=>i.currentRoute.value.params.label,async()=>{await k()});const w=s=>{s.includes(i.currentRoute.value.params.label.toString())&&k()};R(()=>{E.on("conf:update",w)}),N(()=>{E.off("conf:update",w)});let h;const $=f([]);async function k(){var s;if(await B.loadServices(),a.value=await B.getService((s=i.currentRoute.value.params.label)==null?void 0:s.toString()),a.value){const{data:e}=await se.get("/plugins/services/"+a.value.label);$.value=e.sort((n,o)=>n.order-o.order).map(n=>{var I,x,P,O;const o={label:n.name,id:n.name,icon:n.icon,hidden:n.hidden,warning:0};if(n.name==="Configuration"){const D=Object.keys(((x=(I=a.value)==null?void 0:I.spawnOptions)==null?void 0:x.overrideEnvs)||{});Object.keys(((O=(P=a.value)==null?void 0:P.spawnOptions)==null?void 0:O.env)||{}).some(H=>D.includes(H))&&(o.warning=1)}return o})}}R(async()=>{await k(),h=setInterval(async()=>{var n;if(!((n=a.value)!=null&&n.label))return;const{cpu:s,mem:e}=await K.getInfos(a.value.label.toString());g.value=s,y.value=e},1e3)}),N(()=>{h&&clearInterval(h)}),f(!1);async function F(s,e){var n;(n=a.value)==null||n.openInVsCode(s,e)}async function L(s){var e;(e=a.value)==null||e.openFolder(s)}async function U(){var s;m.value=!0,await((s=a.value)==null?void 0:s.restart().finally(()=>m.value=!1))}async function j(){var s;await((s=a.value)==null?void 0:s.stop())}async function z(){var s;await((s=a.value)==null?void 0:s.start())}return(s,e)=>{var n;return a.value?(l(),r("div",{class:"stack-single",key:s.$route.params.label.toString()},[t("div",me,[t("div",_e,[t("div",be,[t("div",ge,[(n=a.value.container)!=null&&n.enabled?(l(),_(ne,{key:0,trigger:"mouseenter",appendTo:"parent","max-width":"50vh"},{trigger:c(()=>e[4]||(e[4]=[t("i",{class:"fab fa-docker"},null,-1)])),content:c(()=>[t("ul",null,[t("li",null,"Container name: "+C(a.value.container.name),1)])]),_:1})):p("",!0),X(" "+C(a.value.label),1)]),t("div",ye,C(a.value.description),1)]),t("div",he,[u(pe),t("div",ke,[a.value.git&&a.value.git.home?(l(),r("a",{key:0,href:a.value.git.home,target:"_blank",title:"Open git home"},e[5]||(e[5]=[t("i",{class:"fab fa-github","aria-hidden":"true"},null,-1)]),8,Ce)):p("",!0),a.value.url?(l(),r("a",{key:1,href:a.value.url,target:"_blank",title:"Open service URL"},e[6]||(e[6]=[t("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,Se)):p("",!0),(l(!0),r(Z,null,ee(a.value.urls,o=>(l(),r("a",{key:o,href:o,target:"_blank",title:o},e[7]||(e[7]=[t("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,we))),128)),(l(),_(re,{key:"current-editor-"+a.value.label,service:a.value,onOpenEditor:e[0]||(e[0]=o=>F(a.value.rootPath,o))},null,8,["service"])),a.value.rootPath?(l(),r("i",{key:2,class:"fas fa-folder","aria-hidden":"true",title:"Open folder",onClick:e[1]||(e[1]=o=>L(a.value.rootPath))})):p("",!0)])])]),t("div",$e,[a.value.enabled?(l(),r("div",xe,[u(S,{class:"card to-hide-for-small-screen",mini:!0},{default:c(()=>[e[8]||(e[8]=t("i",{class:"fas fa-memory"},null,-1)),e[9]||(e[9]=t("div",{class:"hovered"},"Memory",-1)),u(V,{percent:y.value},null,8,["percent"])]),_:1,__:[8,9]}),u(S,{class:"card to-hide-for-small-screen",color:"purple",mini:!0},{default:c(()=>[e[10]||(e[10]=t("i",{class:"fas fa-microchip"},null,-1)),e[11]||(e[11]=t("div",{class:"hovered"},"CPU",-1)),u(V,{percent:g.value},null,8,["percent"])]),_:1,__:[10,11]}),u(S,{class:"card restart-stop-card",color:"orange",mini:!0},{default:c(()=>[t("button",{class:"small",onClick:e[2]||(e[2]=o=>U()),disabled:m.value},[t("i",{class:T(["fas fa-sync",{rotate:m.value}]),"aria-hidden":"true"},null,2),e[12]||(e[12]=t("span",null,"Restart",-1))],8,Pe),t("button",{class:"small",onClick:e[3]||(e[3]=o=>j())},e[13]||(e[13]=[t("i",{class:"fas fa-stop","aria-hidden":"true"},null,-1),t("span",null,"Stop",-1)]))]),_:1})])):(l(),r("div",Ie,[u(oe,{header:"This service is not started",actions:[{label:"Start",click:()=>z(),icon:"fas fa-play"}],class:"section-not-started"},null,8,["actions"])])),u(le,{class:"tabs",tabs:$.value,showLabels:!1,direction:"left",contentCss:{height:"100%"}},{default:c(({tab:o})=>[t("div",Oe,[(l(),_(ae,null,{default:c(()=>[(l(),_(te(d.value[o.id]||o.id),{service:a.value,key:a.value.label},null,8,["service"]))]),fallback:c(()=>e[14]||(e[14]=[t("div",{class:"dynamic-loader"},[t("div",{class:"loader-content"},[t("i",{class:"fas fa-spinner fa-spin loader-icon"}),t("span",null,"Loading component...")])],-1)])),_:2},1024))])]),_:1},8,["tabs"])])])])):p("",!0)}}},Me=b(Be,[["__scopeId","data-v-f185c830"]]);export{Me as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as r}from"./router-Cxk7zjvo.js";import{r as l,j as d,c as u}from"./index-BelhD7LL.js";const g="/assets/vscode-icon-DGpXKq7_.svg",v="data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eIntelliJ%20IDEA%3c/title%3e%3cpath%20d='M0%200v24h24V0zm3.723%203.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055%200H17v6.5c0%20.612-.055%201.111-.222%201.556-.167.444-.39.777-.723%201.11-.277.279-.666.557-1.11.668a3.933%203.933%200%200%201-1.445.278c-.778%200-1.444-.167-1.944-.445a4.81%204.81%200%200%201-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389%200%20.721-.111%201-.389.221-.278.333-.667.333-1.278zM2.222%2019.5h9V21h-9z'/%3e%3c/svg%3e",m="data:image/svg+xml,%3c?xml%20version='1.0'%20?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%200%2032%2032'%20id='Camada_1'%20version='1.1'%20xml:space='preserve'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cstyle%20type='text/css'%3e%20.st0{fill-rule:evenodd;clip-rule:evenodd;}%20%3c/style%3e%3cpath%20class='st0'%20d='M13.8,4h4.5v2.2h1.2c0.6,0,1,0.4,1,1v4.6l-0.6,0.8l6.2,10.8l0.9,3.9c0.1,0.5-0.5,0.9-0.9,0.5l-2.9-2.7l-2-3.5%20C19.6,22.5,17.9,23,16,23s-3.6-0.5-5.1-1.4l-2,3.5L6,27.8c-0.4,0.4-1.1,0-0.9-0.5l0.9-3.9l2.3-4.1c-1.5-1.7-2.3-4-2.3-6.4%20c0-0.4,0-0.8,0.1-1.1h3c-0.1,0.4-0.1,0.7-0.1,1.1c0,1.3,0.4,2.5,1,3.6l2.3-3.9l-0.6-0.8V7.2c0-0.6,0.4-1,1-1h1.2V4z%20M14.4,15.4%20L12.4,19c1.1,0.6,2.3,1,3.6,1s2.6-0.4,3.6-1l-2.1-3.6l-0.8,1c-0.4,0.5-1.2,0.5-1.6,0L14.4,15.4z%20M14.1,11.8L14.1,11.8%20c0.4,0.7,1.1,1.1,1.9,1.1c0.8,0,1.6-0.4,1.9-1.1c0.2-0.3,0.3-0.7,0.3-1.1c0-1.2-1-2.2-2.2-2.2s-2.2,1-2.2,2.2%20C13.8,11.1,13.9,11.5,14.1,11.8z'/%3e%3c/svg%3e",p="/assets/cursor-CgsCZvc6.svg",w="data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eSublime%20Text%3c/title%3e%3cpath%20d='M20.953.004a.397.397%200%200%200-.18.017L3.225%205.585c-.175.055-.323.214-.402.398a.42.42%200%200%200-.06.22v5.726a.42.42%200%200%200%20.06.22c.079.183.227.341.402.397l7.454%202.364-7.454%202.363c-.255.08-.463.374-.463.655v5.688c0%20.282.208.444.463.363l17.55-5.565c.237-.075.426-.336.452-.6.003-.022.013-.04.013-.065V12.06c0-.281-.208-.575-.463-.656L13.4%209.065l7.375-2.339c.255-.08.462-.375.462-.656V.384c0-.211-.117-.355-.283-.38z'/%3e%3c/svg%3e";function x(t){const o=l([]),a=l(0),c=l(!1),i=l({code:{icon:g,title:"Open in Visual Studio Code"},intellij:{icon:v,title:"Open in Intellij"},androidstudio:{icon:m,title:"Open in Android Studio"},cursor:{icon:p,title:"Open in Cursor"},sublime:{icon:w,title:"Open in Sublime text"}});d(async()=>{try{c.value=!0,o.value=await r.getAvailableEditors()}finally{c.value=!1}});const s=u(()=>{a.value;let e=t?localStorage.getItem("default-editor-"+(t==null?void 0:t.label))||localStorage.getItem("default-editor")||"":localStorage.getItem("default-editor")||"";return o.value.includes(e)||(e=""),{key:e,...i.value[e]}});function n(e){t?localStorage.setItem("default-editor-"+t.label,e):localStorage.setItem("default-editor",e),localStorage.getItem("default-editor")||localStorage.setItem("default-editor",e),a.value++,location.reload()}return{availableEditors:o,loading:c,allEditors:i,currentEditor:s,setDefaultEditor:n}}export{x as u};
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import{s as R,c as Y}from"./index-CZ6deEIJ.js";import{a as g,o as c,b as w,I as l,B as $,bg as X,bh as U,E as y,bc as C,bi as G,bj as F,aI as W,bk as q,$ as _,bl as Q,y as K,as as J,aV as ee,bm as te,av as oe,aQ as ne,au as k,aW as ie,c as ae,l as I,G as re,s as S,f as L,g as v,e as z,T as le,m as se,h as b,F as de,n as ue,t as M,H as O,d as ce}from"./index-BelhD7LL.js";import{b as pe,a as fe}from"./index-UzGzKvDE.js";import{a as B,R as me}from"./index-STDFvzob.js";import{s as ge}from"./index-BJkfmYFE.js";var Z={name:"WindowMaximizeIcon",extends:B};function be(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}Z.render=be;var N={name:"WindowMinimizeIcon",extends:B};function he(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}N.render=he;var ve=$.extend({name:"focustrap-directive"}),ye=X.extend({style:ve});function x(t){"@babel/helpers - typeof";return x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(t)}function P(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function j(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?P(Object(o),!0).forEach(function(n){Ce(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Ce(t,e,o){return(e=we(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function we(t){var e=xe(t,"string");return x(e)=="symbol"?e:e+""}function xe(t,e){if(x(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e);if(x(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ee=ye.extend("focustrap",{mounted:function(e,o){var n=o.value||{},a=n.disabled;a||(this.createHiddenFocusableElements(e,o),this.bind(e,o),this.autoElementFocus(e,o)),e.setAttribute("data-pd-focustrap",!0),this.$el=e},updated:function(e,o){var n=o.value||{},a=n.disabled;a&&this.unbind(e)},unmounted:function(e){this.unbind(e)},methods:{getComputedSelector:function(e){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e??"")},bind:function(e,o){var n=this,a=o.value||{},i=a.onFocusIn,p=a.onFocusOut;e.$_pfocustrap_mutationobserver=new MutationObserver(function(s){s.forEach(function(d){if(d.type==="childList"&&!e.contains(document.activeElement)){var r=function(f){var m=F(f)?F(f,n.getComputedSelector(e.$_pfocustrap_focusableselector))?f:C(e,n.getComputedSelector(e.$_pfocustrap_focusableselector)):C(f);return W(m)?m:f.nextSibling&&r(f.nextSibling)};y(r(d.nextSibling))}})}),e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_mutationobserver.observe(e,{childList:!0}),e.$_pfocustrap_focusinlistener=function(s){return i&&i(s)},e.$_pfocustrap_focusoutlistener=function(s){return p&&p(s)},e.addEventListener("focusin",e.$_pfocustrap_focusinlistener),e.addEventListener("focusout",e.$_pfocustrap_focusoutlistener)},unbind:function(e){e.$_pfocustrap_mutationobserver&&e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_focusinlistener&&e.removeEventListener("focusin",e.$_pfocustrap_focusinlistener)&&(e.$_pfocustrap_focusinlistener=null),e.$_pfocustrap_focusoutlistener&&e.removeEventListener("focusout",e.$_pfocustrap_focusoutlistener)&&(e.$_pfocustrap_focusoutlistener=null)},autoFocus:function(e){this.autoElementFocus(this.$el,{value:j(j({},e),{},{autoFocus:!0})})},autoElementFocus:function(e,o){var n=o.value||{},a=n.autoFocusSelector,i=a===void 0?"":a,p=n.firstFocusableSelector,s=p===void 0?"":p,d=n.autoFocus,r=d===void 0?!1:d,u=C(e,"[autofocus]".concat(this.getComputedSelector(i)));r&&!u&&(u=C(e,this.getComputedSelector(s))),y(u)},onFirstHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_lasthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?C(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_lasthiddenfocusableelement;y(i)},onLastHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_firsthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?U(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_firsthiddenfocusableelement;y(i)},createHiddenFocusableElements:function(e,o){var n=this,a=o.value||{},i=a.tabIndex,p=i===void 0?0:i,s=a.firstFocusableSelector,d=s===void 0?"":s,r=a.lastFocusableSelector,u=r===void 0?"":r,f=function(D){return G("span",{class:"p-hidden-accessible p-hidden-focusable",tabIndex:p,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:D==null?void 0:D.bind(n)})},m=f(this.onFirstHiddenElementFocus),h=f(this.onLastHiddenElementFocus);m.$_pfocustrap_lasthiddenfocusableelement=h,m.$_pfocustrap_focusableselector=d,m.setAttribute("data-pc-section","firstfocusableelement"),h.$_pfocustrap_firsthiddenfocusableelement=m,h.$_pfocustrap_focusableselector=u,h.setAttribute("data-pc-section","lastfocusableelement"),e.prepend(m),e.append(h)}}});function H(){Q({variableName:_("scrollbar.width").name})}function V(){q({variableName:_("scrollbar.width").name})}var Le=K`
|
|
2
|
-
.p-dialog {
|
|
3
|
-
max-height: 90%;
|
|
4
|
-
transform: scale(1);
|
|
5
|
-
border-radius: dt('dialog.border.radius');
|
|
6
|
-
box-shadow: dt('dialog.shadow');
|
|
7
|
-
background: dt('dialog.background');
|
|
8
|
-
border: 1px solid dt('dialog.border.color');
|
|
9
|
-
color: dt('dialog.color');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.p-dialog-content {
|
|
13
|
-
overflow-y: auto;
|
|
14
|
-
padding: dt('dialog.content.padding');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.p-dialog-header {
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: space-between;
|
|
21
|
-
flex-shrink: 0;
|
|
22
|
-
padding: dt('dialog.header.padding');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.p-dialog-title {
|
|
26
|
-
font-weight: dt('dialog.title.font.weight');
|
|
27
|
-
font-size: dt('dialog.title.font.size');
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.p-dialog-footer {
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
padding: dt('dialog.footer.padding');
|
|
33
|
-
display: flex;
|
|
34
|
-
justify-content: flex-end;
|
|
35
|
-
gap: dt('dialog.footer.gap');
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.p-dialog-header-actions {
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
gap: dt('dialog.header.gap');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.p-dialog-enter-active {
|
|
45
|
-
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.p-dialog-leave-active {
|
|
49
|
-
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.p-dialog-enter-from,
|
|
53
|
-
.p-dialog-leave-to {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
transform: scale(0.7);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.p-dialog-top .p-dialog,
|
|
59
|
-
.p-dialog-bottom .p-dialog,
|
|
60
|
-
.p-dialog-left .p-dialog,
|
|
61
|
-
.p-dialog-right .p-dialog,
|
|
62
|
-
.p-dialog-topleft .p-dialog,
|
|
63
|
-
.p-dialog-topright .p-dialog,
|
|
64
|
-
.p-dialog-bottomleft .p-dialog,
|
|
65
|
-
.p-dialog-bottomright .p-dialog {
|
|
66
|
-
margin: 0.75rem;
|
|
67
|
-
transform: translate3d(0px, 0px, 0px);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.p-dialog-top .p-dialog-enter-active,
|
|
71
|
-
.p-dialog-top .p-dialog-leave-active,
|
|
72
|
-
.p-dialog-bottom .p-dialog-enter-active,
|
|
73
|
-
.p-dialog-bottom .p-dialog-leave-active,
|
|
74
|
-
.p-dialog-left .p-dialog-enter-active,
|
|
75
|
-
.p-dialog-left .p-dialog-leave-active,
|
|
76
|
-
.p-dialog-right .p-dialog-enter-active,
|
|
77
|
-
.p-dialog-right .p-dialog-leave-active,
|
|
78
|
-
.p-dialog-topleft .p-dialog-enter-active,
|
|
79
|
-
.p-dialog-topleft .p-dialog-leave-active,
|
|
80
|
-
.p-dialog-topright .p-dialog-enter-active,
|
|
81
|
-
.p-dialog-topright .p-dialog-leave-active,
|
|
82
|
-
.p-dialog-bottomleft .p-dialog-enter-active,
|
|
83
|
-
.p-dialog-bottomleft .p-dialog-leave-active,
|
|
84
|
-
.p-dialog-bottomright .p-dialog-enter-active,
|
|
85
|
-
.p-dialog-bottomright .p-dialog-leave-active {
|
|
86
|
-
transition: all 0.3s ease-out;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.p-dialog-top .p-dialog-enter-from,
|
|
90
|
-
.p-dialog-top .p-dialog-leave-to {
|
|
91
|
-
transform: translate3d(0px, -100%, 0px);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.p-dialog-bottom .p-dialog-enter-from,
|
|
95
|
-
.p-dialog-bottom .p-dialog-leave-to {
|
|
96
|
-
transform: translate3d(0px, 100%, 0px);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.p-dialog-left .p-dialog-enter-from,
|
|
100
|
-
.p-dialog-left .p-dialog-leave-to,
|
|
101
|
-
.p-dialog-topleft .p-dialog-enter-from,
|
|
102
|
-
.p-dialog-topleft .p-dialog-leave-to,
|
|
103
|
-
.p-dialog-bottomleft .p-dialog-enter-from,
|
|
104
|
-
.p-dialog-bottomleft .p-dialog-leave-to {
|
|
105
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.p-dialog-right .p-dialog-enter-from,
|
|
109
|
-
.p-dialog-right .p-dialog-leave-to,
|
|
110
|
-
.p-dialog-topright .p-dialog-enter-from,
|
|
111
|
-
.p-dialog-topright .p-dialog-leave-to,
|
|
112
|
-
.p-dialog-bottomright .p-dialog-enter-from,
|
|
113
|
-
.p-dialog-bottomright .p-dialog-leave-to {
|
|
114
|
-
transform: translate3d(100%, 0px, 0px);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.p-dialog-left:dir(rtl) .p-dialog-enter-from,
|
|
118
|
-
.p-dialog-left:dir(rtl) .p-dialog-leave-to,
|
|
119
|
-
.p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
|
|
120
|
-
.p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
|
|
121
|
-
.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
|
|
122
|
-
.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
|
|
123
|
-
transform: translate3d(100%, 0px, 0px);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.p-dialog-right:dir(rtl) .p-dialog-enter-from,
|
|
127
|
-
.p-dialog-right:dir(rtl) .p-dialog-leave-to,
|
|
128
|
-
.p-dialog-topright:dir(rtl) .p-dialog-enter-from,
|
|
129
|
-
.p-dialog-topright:dir(rtl) .p-dialog-leave-to,
|
|
130
|
-
.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
|
|
131
|
-
.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
|
|
132
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.p-dialog-maximized {
|
|
136
|
-
width: 100vw !important;
|
|
137
|
-
height: 100vh !important;
|
|
138
|
-
top: 0px !important;
|
|
139
|
-
left: 0px !important;
|
|
140
|
-
max-height: 100%;
|
|
141
|
-
height: 100%;
|
|
142
|
-
border-radius: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.p-dialog-maximized .p-dialog-content {
|
|
146
|
-
flex-grow: 1;
|
|
147
|
-
}
|
|
148
|
-
`,De={mask:function(e){var o=e.position,n=e.modal;return{position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:o==="left"||o==="topleft"||o==="bottomleft"?"flex-start":o==="right"||o==="topright"||o==="bottomright"?"flex-end":"center",alignItems:o==="top"||o==="topleft"||o==="topright"?"flex-start":o==="bottom"||o==="bottomleft"||o==="bottomright"?"flex-end":"center",pointerEvents:n?"auto":"none"}},root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},ke={mask:function(e){var o=e.props,n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"],a=n.find(function(i){return i===o.position});return["p-dialog-mask",{"p-overlay-mask p-overlay-mask-enter":o.modal},a?"p-dialog-".concat(a):""]},root:function(e){var o=e.props,n=e.instance;return["p-dialog p-component",{"p-dialog-maximized":o.maximizable&&n.maximized}]},header:"p-dialog-header",title:"p-dialog-title",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},Se=$.extend({name:"dialog",style:Le,classes:ke,inlineStyles:De}),ze={name:"BaseDialog",extends:R,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},maximizeButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},_instance:null},style:Se,provide:function(){return{$pcDialog:this,$parentInstance:this}}},$e={name:"Dialog",extends:ze,inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragstart","dragend"],provide:function(){var e=this;return{dialogRef:ae(function(){return e._instance})}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null,target:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,maskMouseDownTarget:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&k.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onEnter:function(){this.$emit("show"),this.target=document.activeElement,this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&k.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.focus()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&ie(this.mask,"p-overlay-mask-leave"),this.dragging&&this.documentDragEndListener&&this.documentDragEndListener()},onLeave:function(){this.$emit("hide"),y(this.target),this.target=null,this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&k.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskMouseDown:function(e){this.maskMouseDownTarget=e.target},onMaskMouseUp:function(){this.dismissableMask&&this.modal&&this.mask===this.maskMouseDownTarget&&this.close()},focus:function(){var e=function(a){return a&&a.querySelector("[autofocus]")},o=this.$slots.footer&&e(this.footerContainer);o||(o=this.$slots.header&&e(this.headerContainer),o||(o=this.$slots.default&&e(this.content),o||(this.maximizable?(this.focusableMax=!0,o=this.maximizableButton):(this.focusableClose=!0,o=this.closeButton)))),o&&y(o,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit("unmaximize",e)):(this.maximized=!0,this.$emit("maximize",e)),this.modal||(this.maximized?H():V())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&H()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&V()},onKeyDown:function(e){e.code==="Escape"&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e?e.$el:void 0},closeButtonRef:function(e){this.closeButton=e?e.$el:void 0},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",ne(this.styleElement,"nonce",(e=this.$primevue)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.csp)===null||e===void 0?void 0:e.nonce),document.head.appendChild(this.styleElement);var o="";for(var n in this.breakpoints)o+=`
|
|
149
|
-
@media screen and (max-width: `.concat(n,`) {
|
|
150
|
-
.p-dialog[`).concat(this.$attrSelector,`] {
|
|
151
|
-
width: `).concat(this.breakpoints[n],` !important;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
`);this.styleElement.innerHTML=o}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(e){e.target.closest("div").getAttribute("data-pc-section")!=="headeractions"&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text","true"),!this.isUnstyled&&oe(document.body,{"user-select":"none"}),this.$emit("dragstart",e))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(o){if(e.dragging){var n=J(e.container),a=ee(e.container),i=o.pageX-e.lastPageX,p=o.pageY-e.lastPageY,s=e.container.getBoundingClientRect(),d=s.left+i,r=s.top+p,u=te(),f=getComputedStyle(e.container),m=parseFloat(f.marginLeft),h=parseFloat(f.marginTop);e.container.style.position="fixed",e.keepInViewport?(d>=e.minX&&d+n<u.width&&(e.lastPageX=o.pageX,e.container.style.left=d-m+"px"),r>=e.minY&&r+a<u.height&&(e.lastPageY=o.pageY,e.container.style.top=r-h+"px")):(e.lastPageX=o.pageX,e.container.style.left=d-m+"px",e.lastPageY=o.pageY,e.container.style.top=r-h+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(o){e.dragging&&(e.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!e.isUnstyled&&(document.body.style["user-select"]=""),e.$emit("dragend",o))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return this.header!=null||this.$attrs["aria-labelledby"]!==null?this.$id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},dataP:function(){return Y({maximized:this.maximized,modal:this.modal})}},directives:{ripple:me,focustrap:Ee},components:{Button:ge,Portal:fe,WindowMinimizeIcon:N,WindowMaximizeIcon:Z,TimesIcon:pe}};function E(t){"@babel/helpers - typeof";return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(t)}function T(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function A(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?T(Object(o),!0).forEach(function(n){Be(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Be(t,e,o){return(e=Fe(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Fe(t){var e=Ie(t,"string");return E(e)=="symbol"?e:e+""}function Ie(t,e){if(E(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e);if(E(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Me=["data-p"],Oe=["aria-labelledby","aria-modal","data-p"],Pe=["id"],je=["data-p"];function He(t,e,o,n,a,i){var p=I("Button"),s=I("Portal"),d=re("focustrap");return c(),S(s,{appendTo:t.appendTo},{default:L(function(){return[a.containerVisible?(c(),g("div",l({key:0,ref:i.maskRef,class:t.cx("mask"),style:t.sx("mask",!0,{position:t.position,modal:t.modal}),onMousedown:e[1]||(e[1]=function(){return i.onMaskMouseDown&&i.onMaskMouseDown.apply(i,arguments)}),onMouseup:e[2]||(e[2]=function(){return i.onMaskMouseUp&&i.onMaskMouseUp.apply(i,arguments)}),"data-p":i.dataP},t.ptm("mask")),[z(le,l({name:"p-dialog",onEnter:i.onEnter,onAfterEnter:i.onAfterEnter,onBeforeLeave:i.onBeforeLeave,onLeave:i.onLeave,onAfterLeave:i.onAfterLeave,appear:""},t.ptm("transition")),{default:L(function(){return[t.visible?se((c(),g("div",l({key:0,ref:i.containerRef,class:t.cx("root"),style:t.sx("root"),role:"dialog","aria-labelledby":i.ariaLabelledById,"aria-modal":t.modal,"data-p":i.dataP},t.ptmi("root")),[t.$slots.container?b(t.$slots,"container",{key:0,closeCallback:i.close,maximizeCallback:function(u){return i.maximize(u)}}):(c(),g(de,{key:1},[t.showHeader?(c(),g("div",l({key:0,ref:i.headerContainerRef,class:t.cx("header"),onMousedown:e[0]||(e[0]=function(){return i.initDrag&&i.initDrag.apply(i,arguments)})},t.ptm("header")),[b(t.$slots,"header",{class:ue(t.cx("title"))},function(){return[t.header?(c(),g("span",l({key:0,id:i.ariaLabelledById,class:t.cx("title")},t.ptm("title")),M(t.header),17,Pe)):v("",!0)]}),w("div",l({class:t.cx("headerActions")},t.ptm("headerActions")),[t.maximizable?b(t.$slots,"maximizebutton",{key:0,maximized:a.maximized,maximizeCallback:function(u){return i.maximize(u)}},function(){return[z(p,l({ref:i.maximizableRef,autofocus:a.focusableMax,class:t.cx("pcMaximizeButton"),onClick:i.maximize,tabindex:t.maximizable?"0":"-1",unstyled:t.unstyled},t.maximizeButtonProps,{pt:t.ptm("pcMaximizeButton"),"data-pc-group-section":"headericon"}),{icon:L(function(r){return[b(t.$slots,"maximizeicon",{maximized:a.maximized},function(){return[(c(),S(O(i.maximizeIconComponent),l({class:[r.class,a.maximized?t.minimizeIcon:t.maximizeIcon]},t.ptm("pcMaximizeButton").icon),null,16,["class"]))]})]}),_:3},16,["autofocus","class","onClick","tabindex","unstyled","pt"])]}):v("",!0),t.closable?b(t.$slots,"closebutton",{key:1,closeCallback:i.close},function(){return[z(p,l({ref:i.closeButtonRef,autofocus:a.focusableClose,class:t.cx("pcCloseButton"),onClick:i.close,"aria-label":i.closeAriaLabel,unstyled:t.unstyled},t.closeButtonProps,{pt:t.ptm("pcCloseButton"),"data-pc-group-section":"headericon"}),{icon:L(function(r){return[b(t.$slots,"closeicon",{},function(){return[(c(),S(O(t.closeIcon?"span":"TimesIcon"),l({class:[t.closeIcon,r.class]},t.ptm("pcCloseButton").icon),null,16,["class"]))]})]}),_:3},16,["autofocus","class","onClick","aria-label","unstyled","pt"])]}):v("",!0)],16)],16)):v("",!0),w("div",l({ref:i.contentRef,class:[t.cx("content"),t.contentClass],style:t.contentStyle,"data-p":i.dataP},A(A({},t.contentProps),t.ptm("content"))),[b(t.$slots,"default")],16,je),t.footer||t.$slots.footer?(c(),g("div",l({key:1,ref:i.footerContainerRef,class:t.cx("footer")},t.ptm("footer")),[b(t.$slots,"footer",{},function(){return[ce(M(t.footer),1)]})],16)):v("",!0)],64))],16,Oe)),[[d,{disabled:!t.modal}]]):v("",!0)]}),_:3},16,["onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"])],16,Me)):v("",!0)]}),_:3},8,["appendTo"])}$e.render=He;var Ve={name:"PlusIcon",extends:B};function Te(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1)]),16)}Ve.render=Te;var Ae=K`
|
|
155
|
-
.p-iftalabel {
|
|
156
|
-
display: block;
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.p-iftalabel label {
|
|
161
|
-
position: absolute;
|
|
162
|
-
pointer-events: none;
|
|
163
|
-
top: dt('iftalabel.top');
|
|
164
|
-
transition-property: all;
|
|
165
|
-
transition-timing-function: ease;
|
|
166
|
-
line-height: 1;
|
|
167
|
-
font-size: dt('iftalabel.font.size');
|
|
168
|
-
font-weight: dt('iftalabel.font.weight');
|
|
169
|
-
inset-inline-start: dt('iftalabel.position.x');
|
|
170
|
-
color: dt('iftalabel.color');
|
|
171
|
-
transition-duration: dt('iftalabel.transition.duration');
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.p-iftalabel .p-inputtext,
|
|
175
|
-
.p-iftalabel .p-textarea,
|
|
176
|
-
.p-iftalabel .p-select-label,
|
|
177
|
-
.p-iftalabel .p-multiselect-label,
|
|
178
|
-
.p-iftalabel .p-autocomplete-input-multiple,
|
|
179
|
-
.p-iftalabel .p-cascadeselect-label,
|
|
180
|
-
.p-iftalabel .p-treeselect-label {
|
|
181
|
-
padding-block-start: dt('iftalabel.input.padding.top');
|
|
182
|
-
padding-block-end: dt('iftalabel.input.padding.bottom');
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.p-iftalabel:has(.p-invalid) label {
|
|
186
|
-
color: dt('iftalabel.invalid.color');
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.p-iftalabel:has(input:focus) label,
|
|
190
|
-
.p-iftalabel:has(input:-webkit-autofill) label,
|
|
191
|
-
.p-iftalabel:has(textarea:focus) label,
|
|
192
|
-
.p-iftalabel:has(.p-inputwrapper-focus) label {
|
|
193
|
-
color: dt('iftalabel.focus.color');
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.p-iftalabel .p-inputicon {
|
|
197
|
-
top: dt('iftalabel.input.padding.top');
|
|
198
|
-
transform: translateY(25%);
|
|
199
|
-
margin-top: 0;
|
|
200
|
-
}
|
|
201
|
-
`,Re={root:"p-iftalabel"},_e=$.extend({name:"iftalabel",style:Ae,classes:Re}),Ke={name:"BaseIftaLabel",extends:R,style:_e,provide:function(){return{$pcIftaLabel:this,$parentInstance:this}}},Ze={name:"IftaLabel",extends:Ke,inheritAttrs:!1};function Ne(t,e,o,n,a,i){return c(),g("span",l({class:t.cx("root")},t.ptmi("root")),[b(t.$slots,"default")],16)}Ze.render=Ne;export{Ee as F,Ve as a,Ze as b,$e as s};
|