@voltom.io/sdk 1.0.5 → 1.0.6

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.
@@ -1,2 +1,2 @@
1
1
  /*! Copyright (c) 2026 VOLTOM. All rights reserved. Proprietary software. See LICENSE at https://voltom.io/license. */
2
- import{r as e}from"./PoseSuccess-C3aBF88E.js";var t=({className:t,entries:n,kind:r})=>e(`div`,{className:n.length?t:`hidden`,[`data-${r}-debug`]:``,children:n.map(({label:t,valid:n,value:r})=>e(`div`,{children:[e(`span`,{children:[t,`: `]}),e(`span`,{"data-valid":n===void 0?void 0:String(n),children:r})]},t))}),n={faceLeft:`M 78 50 L 22 50`,faceRight:`M 22 50 L 78 50`,faceUp:`M 50 78 L 50 22`,faceDown:`M 50 22 L 50 78`,faceTiltLeft:`M 68 26 Q 44 34 32 62`,faceTiltRight:`M 32 26 Q 56 34 68 62`},r=()=>e(`defs`,{children:e(`marker`,{id:`pose-arrowhead`,markerWidth:`6`,markerHeight:`6`,refX:`4.4`,refY:`3`,orient:`auto`,children:e(`path`,{"data-pose-arrowhead":``,d:`M0,0 L6,3 L0,6 Z`})})}),i=({pose:t})=>{let r=n[t];return r?e(`path`,{"data-pose-motion":``,d:r,"marker-end":`url(#pose-arrowhead)`}):null},a=({pose:t})=>t===`faceSmile`?e(`path`,{"data-pose-smile":``,d:`M 15 45 A 35 35 0 0 0 85 45`}):null,o=({className:t,pose:n})=>e(`svg`,{className:t,"data-pose-arrow":``,"data-pose":n,viewBox:`0 0 100 100`,"aria-hidden":`true`,children:[e(r,{}),e(i,{pose:n}),e(a,{pose:n})]});export{t as n,o as t};
2
+ import{r as e}from"./PoseSuccess-DDx23oJD.js";var t=({className:t,entries:n,kind:r})=>e(`div`,{className:n.length?t:`hidden`,[`data-${r}-debug`]:``,children:n.map(({label:t,valid:n,value:r})=>e(`div`,{children:[e(`span`,{children:[t,`: `]}),e(`span`,{"data-valid":n===void 0?void 0:String(n),children:r})]},t))}),n={faceLeft:`M 78 50 L 22 50`,faceRight:`M 22 50 L 78 50`,faceUp:`M 50 78 L 50 22`,faceDown:`M 50 22 L 50 78`,faceTiltLeft:`M 68 26 Q 44 34 32 62`,faceTiltRight:`M 32 26 Q 56 34 68 62`},r=()=>e(`defs`,{children:e(`marker`,{id:`pose-arrowhead`,markerWidth:`6`,markerHeight:`6`,refX:`4.4`,refY:`3`,orient:`auto`,children:e(`path`,{"data-pose-arrowhead":``,d:`M0,0 L6,3 L0,6 Z`})})}),i=({pose:t})=>{let r=n[t];return r?e(`path`,{"data-pose-motion":``,d:r,"marker-end":`url(#pose-arrowhead)`}):null},a=({pose:t})=>t===`faceSmile`?e(`path`,{"data-pose-smile":``,d:`M 15 45 A 35 35 0 0 0 85 45`}):null,o=({className:t,pose:n})=>e(`svg`,{className:t,"data-pose-arrow":``,"data-pose":n,viewBox:`0 0 100 100`,"aria-hidden":`true`,children:[e(r,{}),e(i,{pose:n}),e(a,{pose:n})]});export{t as n,o as t};
@@ -1,2 +1,2 @@
1
1
  /*! Copyright (c) 2026 VOLTOM. All rights reserved. Proprietary software. See LICENSE at https://voltom.io/license. */
2
- import{w as e}from"./media-BRKPXpu3.js";var t=Symbol.for(`pv`),n=0;Array.isArray;function r(r,i,a,o,s,c){i||={};var l,u,d=i;if(`ref`in d&&typeof r!=`function`)for(u in d={},i)u==`ref`?l=i[u]:d[u]=i[u];var f={type:r,props:d,key:a,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:t,__v:--n,__i:-1,__u:0};return(s||c)&&(f.__source=s,f.__self=c),e.vnode&&e.vnode(f),f}var i=100,a=2,o=({total:e})=>i/e-(e===1?0:a),s=({arc:e,index:t,total:n})=>({dasharray:`${e} ${i-e}`,offset:`${-t*i/n}`}),c=({className:e,completed:t,label:n,total:a,variant:c=`bar`})=>{if(c===`ring`){let c=o({total:a});return r(`svg`,{className:e,"data-pose-progress":``,"data-variant":`ring`,viewBox:`0 0 100 100`,role:`progressbar`,"aria-label":n,"aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":t,children:r(`g`,{transform:`rotate(-90 50 50)`,children:Array.from({length:a},(e,n)=>{let{dasharray:o,offset:l}=s({arc:c,index:n,total:a});return r(`circle`,{cx:`50`,cy:`50`,r:`50`,pathLength:i,ref:e=>{e&&(e.setAttribute(`stroke-dasharray`,o),e.setAttribute(`stroke-dashoffset`,l))},"data-pose-progress-step":``,"data-complete":n<t?``:void 0},n)})})})}return r(`div`,{className:e,"data-pose-progress":``,"data-variant":`bar`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":t,children:Array.from({length:a},(e,n)=>r(`span`,{"data-pose-progress-step":``,"data-complete":n<t?``:void 0},n))})},l=({className:e,visible:t})=>r(`svg`,{className:e,"data-pose-success":``,"data-visible":t?``:void 0,viewBox:`0 0 100 100`,"aria-hidden":`true`,children:[r(`circle`,{cx:`50`,cy:`50`,r:`44`}),r(`path`,{d:`M29 51 43 65 72 36`,pathLength:`1`})]});export{c as n,r,l as t};
2
+ import{T as e}from"./media-Cejmtltt.js";var t=Symbol.for(`pv`),n=0;Array.isArray;function r(r,i,a,o,s,c){i||={};var l,u,d=i;if(`ref`in d&&typeof r!=`function`)for(u in d={},i)u==`ref`?l=i[u]:d[u]=i[u];var f={type:r,props:d,key:a,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:t,__v:--n,__i:-1,__u:0};return(s||c)&&(f.__source=s,f.__self=c),e.vnode&&e.vnode(f),f}var i=100,a=2,o=({total:e})=>i/e-(e===1?0:a),s=({arc:e,index:t,total:n})=>({dasharray:`${e} ${i-e}`,offset:`${-t*i/n}`}),c=({className:e,completed:t,label:n,total:a,variant:c=`bar`})=>{if(c===`ring`){let c=o({total:a});return r(`svg`,{className:e,"data-pose-progress":``,"data-variant":`ring`,viewBox:`0 0 100 100`,role:`progressbar`,"aria-label":n,"aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":t,children:r(`g`,{transform:`rotate(-90 50 50)`,children:Array.from({length:a},(e,n)=>{let{dasharray:o,offset:l}=s({arc:c,index:n,total:a});return r(`circle`,{cx:`50`,cy:`50`,r:`50`,pathLength:i,ref:e=>{e&&(e.setAttribute(`stroke-dasharray`,o),e.setAttribute(`stroke-dashoffset`,l))},"data-pose-progress-step":``,"data-complete":n<t?``:void 0},n)})})})}return r(`div`,{className:e,"data-pose-progress":``,"data-variant":`bar`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":t,children:Array.from({length:a},(e,n)=>r(`span`,{"data-pose-progress-step":``,"data-complete":n<t?``:void 0},n))})},l=({className:e,visible:t})=>r(`svg`,{className:e,"data-pose-success":``,"data-visible":t?``:void 0,viewBox:`0 0 100 100`,"aria-hidden":`true`,children:[r(`circle`,{cx:`50`,cy:`50`,r:`44`}),r(`path`,{d:`M29 51 43 65 72 36`,pathLength:`1`})]});export{c as n,r,l as t};