contentrain 0.7.5 → 0.7.7
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/index.mjs +2 -2
- package/dist/{serve-BZVPdM0_.mjs → serve-BmBWp_3O.mjs} +1 -1
- package/dist/serve-ui/assets/{AgentPromptGroup.vue_vue_type_script_setup_true_lang-Bftt9tx_.js → AgentPromptGroup.vue_vue_type_script_setup_true_lang-BUgcmCel.js} +1 -1
- package/dist/serve-ui/assets/AppLayout-Do2_5NzN.js +21 -0
- package/dist/serve-ui/assets/{BranchDetailPage-B3PL9PGp.js → BranchDetailPage-CSChmKRm.js} +1 -1
- package/dist/serve-ui/assets/{BranchesPage-4YpE_szf.js → BranchesPage-CKmUQGvC.js} +1 -1
- package/dist/serve-ui/assets/{CardContent.vue_vue_type_script_setup_true_lang-D1L2MnBU.js → CardContent.vue_vue_type_script_setup_true_lang-C-ErmW5E.js} +1 -1
- package/dist/serve-ui/assets/{CollapsibleTrigger.vue_vue_type_script_setup_true_lang-B4uDtllm.js → CollapsibleTrigger.vue_vue_type_script_setup_true_lang-BkgPlJ2I.js} +1 -1
- package/dist/serve-ui/assets/{Collection-9URFko-Y.js → Collection-BIp9PGUk.js} +1 -1
- package/dist/serve-ui/assets/ConfigProvider-DQspbvIG.js +1 -0
- package/dist/serve-ui/assets/{ContentListPage-BMfSfg8x.js → ContentListPage-DlhJ486k.js} +1 -1
- package/dist/serve-ui/assets/{ContentPage-BXUnNJlB.js → ContentPage-DxCgrLef.js} +1 -1
- package/dist/serve-ui/assets/{DashboardPage-1UyYgg5J.js → DashboardPage-ZED85wnk.js} +1 -1
- package/dist/serve-ui/assets/{DialogTitle.vue_vue_type_script_setup_true_lang-M4LOzTva.js → DialogTitle.vue_vue_type_script_setup_true_lang-CK0rHwJz.js} +1 -1
- package/dist/serve-ui/assets/{DoctorPage-WnQ8xYWy.js → DoctorPage-PSdw7-NX.js} +1 -1
- package/dist/serve-ui/assets/{FormatReferencePage-DoKEaawl.js → FormatReferencePage-Dt8ImU06.js} +1 -1
- package/dist/serve-ui/assets/{Input.vue_vue_type_script_setup_true_lang-tW0hgReH.js → Input.vue_vue_type_script_setup_true_lang-C3VgSy5x.js} +1 -1
- package/dist/serve-ui/assets/{ModelDetailPage-BysqN8IL.js → ModelDetailPage-kA0Lz3j8.js} +1 -1
- package/dist/serve-ui/assets/{ModelsPage-DFZrdBIi.js → ModelsPage-ChrvonG7.js} +1 -1
- package/dist/serve-ui/assets/{NormalizePage-4f5Ib_ES.js → NormalizePage-BeV0fXxR.js} +1 -1
- package/dist/serve-ui/assets/{PageHeader.vue_vue_type_script_setup_true_lang-Bln1czg7.js → PageHeader.vue_vue_type_script_setup_true_lang-l8rY5aKw.js} +1 -1
- package/dist/serve-ui/assets/{Presence-CA3xTrht.js → Presence-CJ45TUKi.js} +1 -1
- package/dist/serve-ui/assets/{Separator.vue_vue_type_script_setup_true_lang-PECBq3nc.js → Separator.vue_vue_type_script_setup_true_lang-Dm_SeSXH.js} +1 -1
- package/dist/serve-ui/assets/{StudioHint.vue_vue_type_script_setup_true_lang-DYTEoyjw.js → StudioHint.vue_vue_type_script_setup_true_lang-D8gajE42.js} +1 -1
- package/dist/serve-ui/assets/{TrustBadge.vue_vue_type_script_setup_true_lang-BRXWvOYU.js → TrustBadge.vue_vue_type_script_setup_true_lang-BFsW1BeB.js} +1 -1
- package/dist/serve-ui/assets/{ValidatePage-BMTpV2KL.js → ValidatePage-CefzPKQt.js} +1 -1
- package/dist/serve-ui/assets/{arrow-down-IJu6H7Es.js → arrow-down-2eFyUX-7.js} +1 -1
- package/dist/serve-ui/assets/{arrow-left-D8ZjVYAI.js → arrow-left-Cm9qLVJZ.js} +1 -1
- package/dist/serve-ui/assets/{book-marked-BNyyZrq3.js → book-marked-DOVEt8op.js} +1 -1
- package/dist/serve-ui/assets/{book-open-Dw1fQtSI.js → book-open-D7FZ9DjL.js} +1 -1
- package/dist/serve-ui/assets/{box-BoGMZDZR.js → box-6034TScP.js} +1 -1
- package/dist/serve-ui/assets/{chevron-down-UcXxhyyY.js → chevron-down-1YnRxEyi.js} +1 -1
- package/dist/serve-ui/assets/{chevron-right-SpdM5LBc.js → chevron-right-ChclIXq1.js} +1 -1
- package/dist/serve-ui/assets/{circle-alert-CEwKJpYl.js → circle-alert-CsDw3E63.js} +1 -1
- package/dist/serve-ui/assets/{content-BQEzysvq.js → content-Dk9oS4p9.js} +1 -1
- package/dist/serve-ui/assets/{database-U6JU8oc9.js → database-Bxh_he7Y.js} +1 -1
- package/dist/serve-ui/assets/{file-code-_sq1QHQo.js → file-code-CmLEXWG_.js} +1 -1
- package/dist/serve-ui/assets/{file-text-BiMGJckO.js → file-text-aeYUaj6Z.js} +1 -1
- package/dist/serve-ui/assets/{git-branch-CdZMOuSP.js → git-branch-B9O3fl9q.js} +1 -1
- package/dist/serve-ui/assets/{git-merge-D8Y-BwIh.js → git-merge-BV3-DZtx.js} +1 -1
- package/dist/serve-ui/assets/{hash-CrXakbCy.js → hash-Cbo1MDOa.js} +1 -1
- package/dist/serve-ui/assets/{index-DL_dw3XX.js → index-BOn9xpBS.js} +2 -2
- package/dist/serve-ui/assets/{languages-DvyMGPwy.js → languages-UFW2WzqJ.js} +1 -1
- package/dist/serve-ui/assets/{plus-Ddujj7Qx.js → plus-D27DSXed.js} +1 -1
- package/dist/serve-ui/assets/{project-Dg2BVay_.js → project-Bivz_zhf.js} +1 -1
- package/dist/serve-ui/assets/{scan-search-CsPYGmEs.js → scan-search-DcqzKN0r.js} +1 -1
- package/dist/serve-ui/assets/{settings-IQvevsKM.js → settings-pl-VrPIa.js} +1 -1
- package/dist/serve-ui/assets/{shield-check-BmSBU8Ai.js → shield-check-DXmIgtuh.js} +1 -1
- package/dist/serve-ui/assets/{stethoscope-DgCa_7BL.js → stethoscope-DeR62yPK.js} +1 -1
- package/dist/serve-ui/assets/{trash-2-CNTkluuz.js → trash-2-Cobh5bGF.js} +1 -1
- package/dist/serve-ui/assets/useDirection-CKzliOt2.js +1 -0
- package/dist/serve-ui/assets/{useId-B-RTM02R.js → useId-BLtQdZRI.js} +1 -1
- package/dist/serve-ui/assets/{useNonce-DR6M3tLq.js → useNonce-CJZRkJkf.js} +1 -1
- package/dist/serve-ui/assets/useWatch-CxmSSJCk.js +1 -0
- package/dist/serve-ui/index.html +1 -1
- package/dist/{server-CPBQIj9B.mjs → server-Dn-zy9bv.mjs} +1 -1
- package/package.json +4 -4
- package/dist/serve-ui/assets/AppLayout-B-fbrfMk.js +0 -21
- package/dist/serve-ui/assets/ConfigProvider-CwkmRpT5.js +0 -1
- package/dist/serve-ui/assets/useDirection-DfPL7a9d.js +0 -1
- package/dist/serve-ui/assets/useWatch-D4Y-epQR.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{_ as B,a1 as K,a6 as z,V as D,H as p,ae as W,w as g,k as G,af as J,a4 as q,a5 as H,N as Y,ag as F,U as T,Y as I,a2 as R,u as k,h as A,t as _,r as O,i as Q,M as V,ah as X,ai as Z,l as ee,a as te,$ as ne}from"./index-
|
|
1
|
+
import{_ as B,a1 as K,a6 as z,V as D,H as p,ae as W,w as g,k as G,af as J,a4 as q,a5 as H,N as Y,ag as F,U as T,Y as I,a2 as R,u as k,h as A,t as _,r as O,i as Q,M as V,ah as X,ai as Z,l as ee,a as te,$ as ne}from"./index-BOn9xpBS.js";import{k as re}from"./useWatch-CxmSSJCk.js";function Se(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[a=>{const u=B(r,a);if(u||u===null)return u;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},a=>(K(r,a),a)]}function Pe(e,t){var n;const r=D();return G(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),J(r)}function x(e,t){return q()?(H(e,t),!0):!1}function Te(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const a=()=>t(i);return x(a),{off:a}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(a=>a(...i))),clear:()=>{e.clear()}}}function xe(e){let t=!1,n;const r=F(!0);return((...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n))}const M=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ie=e=>typeof e<"u",oe=Object.prototype.toString,ae=e=>oe.call(e)==="[object Object]",L=()=>{},Me=ue();function ue(){var e,t,n;return M&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function se(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function le(e,t={}){let n,r,o=L;const i=f=>{clearTimeout(f),o(),o=L};let a;return f=>{const d=p(e),s=p(t.maxWait);return n&&i(n),d<=0||s!==void 0&&s<=0?(r&&(i(r),r=void 0),Promise.resolve(f())):new Promise((l,v)=>{o=t.rejectOnCancel?v:l,a=f,s&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,l(a())},s)),n=setTimeout(()=>{r&&i(r),r=void 0,l(f())},d)})}}function U(e){return Array.isArray(e)?e:[e]}function ce(e){return T()}function Ce(e){if(!M)return e;let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...i)=>(t+=1,r||(r=F(!0),n=r.run(()=>e(...i))),x(o),n))}function fe(e){return I(e)?R(new Proxy({},{get(t,n,r){return k(Reflect.get(e.value,n,r))},set(t,n,r){return I(e.value[n])&&!I(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):R(e)}function de(e){return fe(A(e))}function $e(e,...t){const n=t.flat(),r=n[0];return de(()=>Object.fromEntries(typeof r=="function"?Object.entries(_(e)).filter(([o,i])=>!r(p(i),o)):Object.entries(_(e)).filter(o=>!n.includes(o[0]))))}function je(e,t=1e4){return W((n,r)=>{let o=p(e),i;const a=()=>setTimeout(()=>{o=p(e),r()},p(t));return x(()=>{clearTimeout(i)}),{get(){return n(),o},set(u){o=u,r(),clearTimeout(i),i=a()}}})}function Ne(e,t=200,n={}){return se(le(t,n),e)}function Ie(e,t){ce()&&Y(e,t)}function Ue(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=D(!1);let a;function u(){a&&(clearTimeout(a),a=void 0)}function f(){i.value=!1,u()}function d(...s){o&&e(),u(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=void 0,e(...s)},p(t))}return r&&(i.value=!0,M&&d()),x(f),{isPending:z(i),start:d,stop:f}}function me(e,t,n){return g(e,t,{...n,immediate:!0})}function _e(e,t,n){return g(e,t,{...n,once:!0})}const $=M?window:void 0;function P(e){var t;const n=p(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function ve(...e){const t=(r,o,i,a)=>(r.addEventListener(o,i,a),()=>r.removeEventListener(o,i,a)),n=A(()=>{const r=U(p(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return me(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>P(i)))!==null&&r!==void 0?r:[$].filter(i=>i!=null),U(p(n.value?e[1]:e[0])),U(k(n.value?e[2]:e[1])),p(n.value?e[3]:e[2])]},([r,o,i,a],u,f)=>{if(!(r!=null&&r.length)||!(o!=null&&o.length)||!(i!=null&&i.length))return;const d=ae(a)?{...a}:a,s=r.flatMap(l=>o.flatMap(v=>i.map(w=>t(l,v,w,d))));f(()=>{s.forEach(l=>l())})},{flush:"post"})}function pe(){const e=D(!1),t=T();return t&&Q(()=>{e.value=!0},t),e}function ye(e){const t=pe();return A(()=>(t.value,!!e()))}function he(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function De(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=$,eventName:i="keydown",passive:a=!1,dedupe:u=!1}=r,f=he(t);return ve(o,i,s=>{s.repeat&&p(u)||f(s)&&n(s)},a)}function ge(e){return JSON.parse(JSON.stringify(e))}function Re(e,t,n={}){const{window:r=$,...o}=n;let i;const a=ye(()=>r&&"ResizeObserver"in r),u=()=>{i&&(i.disconnect(),i=void 0)},f=g(A(()=>{const s=p(e);return Array.isArray(s)?s.map(l=>P(l)):[P(s)]}),s=>{if(u(),a.value&&r){i=new ResizeObserver(t);for(const l of s)l&&i.observe(l,o)}},{immediate:!0,flush:"post"}),d=()=>{u(),f()};return x(d),{isSupported:a,stop:d}}function Le(e,t,n,r={}){var o,i;const{clone:a=!1,passive:u=!1,eventName:f,deep:d=!1,defaultValue:s,shouldEmit:l}=r,v=T(),w=n||(v==null?void 0:v.emit)||(v==null||(o=v.$emit)===null||o===void 0?void 0:o.bind(v))||(v==null||(i=v.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(v==null?void 0:v.proxy));let E=f;t||(t="modelValue"),E=E||`update:${t.toString()}`;const j=c=>a?typeof a=="function"?a(c):ge(c):c,S=()=>ie(e[t])?j(e[t]):s,m=c=>{l?l(c)&&w(E,c):w(E,c)};if(u){const c=O(S());let y=!1;return g(()=>e[t],h=>{y||(y=!0,c.value=j(h),V(()=>y=!1))}),g(c,h=>{!y&&(h!==e[t]||d)&&m(h)},{deep:d}),c}else return A({get(){return S()},set(c){m(c)}})}function Fe(){const e=T(),t=O(),n=A(()=>r());X(()=>{n.value!==r()&&Z(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:P(t)}const o=Object.assign({},e.exposed),i={};for(const u in e.props)Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>e.props[u]});if(Object.keys(o).length>0)for(const u in o)Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>o[u]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function a(u){if(t.value=u,!!u&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>u instanceof Element?u:u.$el}),!(u instanceof Element)&&!Object.prototype.hasOwnProperty.call(u,"$el"))){const f=u.$.exposed,d=Object.assign({},i);for(const s in f)Object.defineProperty(d,s,{enumerable:!0,configurable:!0,get:()=>f[s]});e.exposed=d}}return{forwardRef:a,currentRef:t,currentElement:n}}function be(e,t){const n=O(e);function r(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=r(i)}}}function Oe(e,t){var S;const n=O({}),r=O("none"),o=O(e),i=e.value?"mounted":"unmounted";let a;const u=((S=t.value)==null?void 0:S.ownerDocument.defaultView)??$,{state:f,dispatch:d}=be(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),s=m=>{var c;if(M){const y=new CustomEvent(m,{bubbles:!1,cancelable:!1});(c=t.value)==null||c.dispatchEvent(y)}};g(e,async(m,c)=>{var h;const y=c!==m;if(await V(),y){const N=r.value,b=C(t.value);m?(d("MOUNT"),s("enter"),b==="none"&&s("after-enter")):b==="none"||b==="undefined"||((h=n.value)==null?void 0:h.display)==="none"?(d("UNMOUNT"),s("leave"),s("after-leave")):c&&N!==b?(d("ANIMATION_OUT"),s("leave")):(d("UNMOUNT"),s("after-leave"))}},{immediate:!0});const l=m=>{const c=C(t.value),y=c.includes(CSS.escape(m.animationName)),h=f.value==="mounted"?"enter":"leave";if(m.target===t.value&&y&&(s(`after-${h}`),d("ANIMATION_END"),!o.value)){const N=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=u==null?void 0:u.setTimeout(()=>{var b;((b=t.value)==null?void 0:b.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=N)})}m.target===t.value&&c==="none"&&d("ANIMATION_END")},v=m=>{m.target===t.value&&(r.value=C(t.value))},w=g(t,(m,c)=>{m?(n.value=getComputedStyle(m),m.addEventListener("animationstart",v),m.addEventListener("animationcancel",l),m.addEventListener("animationend",l)):(d("ANIMATION_END"),a!==void 0&&(u==null||u.clearTimeout(a)),c==null||c.removeEventListener("animationstart",v),c==null||c.removeEventListener("animationcancel",l),c==null||c.removeEventListener("animationend",l))},{immediate:!0}),E=g(f,()=>{const m=C(t.value);r.value=f.value==="mounted"?m:"none"});return ee(()=>{w(),E()}),{isPresent:A(()=>["mounted","unmountSuspended"].includes(f.value))}}function C(e){return e&&getComputedStyle(e).animationName||"none"}var ke=te({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var d;const{present:r,forceMount:o}=_(e),i=O(),{isPresent:a}=Oe(r,i);n({present:a});let u=t.default({present:a.value});u=re(u||[]);const f=T();if(u&&(u==null?void 0:u.length)>1){const s=(d=f==null?void 0:f.parent)!=null&&d.type.name?`<${f.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${s}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(l=>` - ${l}`).join(`
|
|
2
2
|
`)].join(`
|
|
3
3
|
`))}return()=>o.value||r.value||a.value?ne(t.default({present:a.value})[0],{ref:s=>{const l=P(s);return typeof(l==null?void 0:l.hasAttribute)>"u"||(l!=null&&l.hasAttribute("data-reka-popper-content-wrapper")?i.value=l.firstElementChild:i.value=l),l}}):null}});export{ke as P,Re as a,Ne as b,Se as c,be as d,P as e,Le as f,$e as g,Ce as h,M as i,Me as j,ve as k,xe as l,x as m,Te as n,De as o,pe as p,Pe as q,je as r,Ue as s,Ie as t,Fe as u,_e as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as h,r as m}from"./useWatch-
|
|
1
|
+
import{P as h,r as m}from"./useWatch-CxmSSJCk.js";import{a as l,o as u,b as p,e as d,f as c,m as _,u as o,h as s,J as y,K as B,z as S}from"./index-BOn9xpBS.js";var g=l({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a,t=["horizontal","vertical"];function n(r){return t.includes(r)}const i=s(()=>n(e.orientation)?e.orientation:"horizontal"),f=s(()=>i.value==="vertical"?e.orientation:void 0),v=s(()=>e.decorative?{role:"none"}:{"aria-orientation":f.value,role:"separator"});return(r,P)=>(u(),p(o(h),_({as:r.as,"as-child":r.asChild,"data-orientation":i.value},v.value),{default:d(()=>[c(r.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),z=g,q=l({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(a){const e=a;return(t,n)=>(u(),p(z,y(B(e)),{default:d(()=>[c(t.$slots,"default")]),_:3},16))}}),O=q;const k=l({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(a){const e=a,t=m(e,"class");return(n,i)=>(u(),p(o(O),_({"data-slot":"separator"},o(t),{class:o(S)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e.class)}),null,16,["class"]))}});export{k as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as n}from"./PageHeader.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{a as n}from"./PageHeader.vue_vue_type_script_setup_true_lang-l8rY5aKw.js";import{d as l}from"./useWatch-CxmSSJCk.js";import{c,a as d,p,q as t,B as o,j as r,u as s,e as m,o as u,s as f}from"./index-BOn9xpBS.js";/**
|
|
2
2
|
* @license lucide-vue-next v0.474.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ft,a as Ye,b as Mt}from"./useId-
|
|
1
|
+
import{u as Ft,a as Ye,b as Mt}from"./useId-BLtQdZRI.js";import{r as Ht,m as Wt,n as zt,e as It,i as mt,u as j,o as Vt,p as jt,c as Ae,q as Kt,s as wt,f as Xt,k as rt,P as Yt}from"./Presence-CJ45TUKi.js";import{c as bt,k as le,r as B,i as Ue,h as _,H as ve,M as Fe,a as S,o as T,b as R,e as D,f as k,u as y,n as Ge,a2 as Ut,T as Gt,g as Me,a3 as xt,p as ae,m as J,w as xe,a4 as Zt,a5 as Jt,a6 as de,V as Qt,j as G,a7 as en,J as Te,K as De,t as tn,s as nn,B as _e,I as on,A as He,a8 as rn,z as We,y as it,q as st,Z as sn,S as an}from"./index-BOn9xpBS.js";import{P as ge,r as ln}from"./useWatch-CxmSSJCk.js";import{S as un}from"./shield-check-DXmIgtuh.js";/**
|
|
2
2
|
* @license lucide-vue-next v0.474.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as G,a as ue,i as ve,p as u,j as t,e as n,u as e,q as a,L as X,g as f,s as m,B as l,F as k,y as g,z as w,x as q,h as y,r as h,G as me,o as r,S as U,Z as B,b as _,A as E,C as fe}from"./index-
|
|
1
|
+
import{c as G,a as ue,i as ve,p as u,j as t,e as n,u as e,q as a,L as X,g as f,s as m,B as l,F as k,y as g,z as w,x as q,h as y,r as h,G as me,o as r,S as U,Z as B,b as _,A as E,C as fe}from"./index-BOn9xpBS.js";import{d as _e,u as pe,_ as b}from"./useWatch-CxmSSJCk.js";import{u as xe}from"./content-Dk9oS4p9.js";import{_ as ge,a as C}from"./PageHeader.vue_vue_type_script_setup_true_lang-l8rY5aKw.js";import{_ as ye}from"./StudioHint.vue_vue_type_script_setup_true_lang-D8gajE42.js";import{_ as Y,a as D}from"./AgentPromptGroup.vue_vue_type_script_setup_true_lang-BUgcmCel.js";import{_ as he}from"./TrustBadge.vue_vue_type_script_setup_true_lang-BFsW1BeB.js";import{_ as z,a as ee,b as te,c as se}from"./CollapsibleTrigger.vue_vue_type_script_setup_true_lang-BkgPlJ2I.js";import{_ as M}from"./CardContent.vue_vue_type_script_setup_true_lang-C-ErmW5E.js";import{_ as ae}from"./Separator.vue_vue_type_script_setup_true_lang-Dm_SeSXH.js";import{S as be}from"./shield-check-DXmIgtuh.js";import{C as O}from"./circle-alert-CsDw3E63.js";import{D as le}from"./database-Bxh_he7Y.js";import{C as ne}from"./chevron-down-1YnRxEyi.js";import"./useId-BLtQdZRI.js";import"./Presence-CJ45TUKi.js";/**
|
|
2
2
|
* @license lucide-vue-next v0.474.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as C,r as n}from"./index-
|
|
1
|
+
import{d as C,r as n}from"./index-BOn9xpBS.js";import{j as L}from"./useWatch-CxmSSJCk.js";const V=C("content",()=>{const e=L(),o=n(null),u=n(null),c=n(null),f=n([]),v=n(null),a=n(!1),i=n(null);async function d(t,l,h,p){a.value=!0;try{const r=new URLSearchParams;l&&r.set("locale",l),h!==void 0&&r.set("limit",String(h)),p!==void 0&&r.set("offset",String(p));const m=r.toString();o.value=await e.get(`/content/${t}${m?`?${m}`:""}`)}finally{a.value=!1}}async function g(t){a.value=!0;try{u.value=await e.get(`/describe/${t}`)}finally{a.value=!1}}async function b(t){a.value=!0;try{c.value=await e.get(`/validate${t?`?model=${t}`:""}`)}finally{a.value=!1}}async function w(){a.value=!0;try{c.value=await e.get("/validate?fix=true")}finally{a.value=!1}}async function z(){a.value=!0;try{const t=await e.get("/branches");f.value=t.branches}finally{a.value=!1}}async function $(t){a.value=!0;try{v.value=await e.get(`/branches/diff?name=${encodeURIComponent(t)}`)}finally{a.value=!1}}const y=n([]);async function S(t=50){a.value=!0;try{const l=await e.get(`/history?limit=${t}`);y.value=l.entries}finally{a.value=!1}}async function j(t){return e.post("/branches/approve",{branch:t})}async function P(t){return e.post("/branches/reject",{branch:t})}const s=n(null);async function B(){try{const t=await e.get("/normalize/plan");s.value=t.plan}catch{s.value=null}}async function D(){try{i.value=await e.get("/normalize/results")}catch{i.value=null}}async function R(t){return e.post("/normalize/plan/approve",t?{models:t}:{})}async function x(){return e.post("/normalize/plan/reject",{})}return{contentList:o,modelDescription:u,validation:c,branches:f,branchDiff:v,history:y,normalizePlan:s,loading:a,normalizeResults:i,fetchContent:d,fetchModelDescription:g,fetchValidation:b,fetchValidationWithFix:w,fetchBranches:z,fetchBranchDiff:$,fetchHistory:S,approveBranch:j,rejectBranch:P,fetchNormalizePlan:B,fetchNormalizeResults:D,approvePlan:R,rejectPlan:x}});export{V as u};
|