@ceed/cds 0.0.149-1 → 0.0.149-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.
Files changed (2) hide show
  1. package/framer/index.js +1 -1
  2. package/package.json +1 -1
package/framer/index.js CHANGED
@@ -141,7 +141,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
141
141
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zx(e,t){return Kx(e)||Yx(e,t)||wu(e,t)||Xx()}var D_="data-pdnd-honey-pot";function ny(e){return e instanceof Element&&e.hasAttribute(D_)}function A_(e){var t=document.elementsFromPoint(e.x,e.y),r=Zx(t,2),o=r[0],n=r[1];return o?ny(o)?n!=null?n:null:o:null}function rp(e){var t=null;return function(){if(!t){for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];var i=e.apply(this,n);t={result:i}}return t.result}}var ay=rp(function(){return navigator.userAgent.includes("Firefox")});var yi=rp(function(){var t=navigator,r=t.userAgent;return r.includes("AppleWebKit")&&!r.includes("Chrome")});var M_=Dn(Du());var iy={isLeavingWindow:Symbol("leaving"),isEnteringWindow:Symbol("entering")};function N_(e){var t=e.dragEnter;return yi()?t.hasOwnProperty(iy.isEnteringWindow):!1}function L_(e){var t=e.dragLeave;return yi()?t.hasOwnProperty(iy.isLeavingWindow):!1}(function(){if(typeof window>"u"||!yi())return;function t(){return{enterCount:0,isOverWindow:!1}}var r=t();function o(){r=t()}(0,M_.bindAll)(window,[{type:"dragstart",listener:function(){r.enterCount=0,r.isOverWindow=!0}},{type:"drop",listener:o},{type:"dragend",listener:o},{type:"dragenter",listener:function(a){!r.isOverWindow&&r.enterCount===0&&(a[iy.isEnteringWindow]=!0),r.isOverWindow=!0,r.enterCount++}},{type:"dragleave",listener:function(a){r.enterCount--,r.isOverWindow&&r.enterCount===0&&(a[iy.isLeavingWindow]=!0,r.isOverWindow=!1)}}],{capture:!0})})();function R8(e){return"nodeName"in e}function sy(e){return R8(e)&&e.ownerDocument!==document}function B_(e){var t=e.dragLeave,r=t.type,o=t.relatedTarget;return r!=="dragleave"?!1:yi()?L_({dragLeave:t}):o==null?!0:ay()?sy(o):o instanceof HTMLIFrameElement}function op(e){var t=e.onDragEnd;return[{type:"pointermove",listener:function(){var r=0;return function(){if(r<20){r++;return}t()}}()},{type:"pointerdown",listener:t}]}function Au(e){return{altKey:e.altKey,button:e.button,buttons:e.buttons,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}}var E8=function(t){var r=[],o=null,n=function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];r=s,!o&&(o=requestAnimationFrame(function(){o=null,t.apply(void 0,r)}))};return n.cancel=function(){o&&(cancelAnimationFrame(o),o=null)},n},z_=E8;var Qx=z_(function(e){return e()}),ly=function(){var e=null;function t(o){var n=requestAnimationFrame(function(){e=null,o()});e={frameId:n,fn:o}}function r(){e&&(cancelAnimationFrame(e.frameId),e.fn(),e=null)}return{schedule:t,flush:r}}();function F_(e){var t=e.source,r=e.initial,o=e.dispatchEvent,n={dropTargets:[]};function a(s){o(s),n={dropTargets:s.payload.location.current.dropTargets}}var i={start:function(l){var p=l.nativeSetDragImage,c={current:r,previous:n,initial:r};a({eventName:"onGenerateDragPreview",payload:{source:t,location:c,nativeSetDragImage:p}}),ly.schedule(function(){a({eventName:"onDragStart",payload:{source:t,location:c}})})},dragUpdate:function(l){var p=l.current;ly.flush(),Qx.cancel(),a({eventName:"onDropTargetChange",payload:{source:t,location:{initial:r,previous:n,current:p}}})},drag:function(l){var p=l.current;Qx(function(){ly.flush();var c={initial:r,previous:n,current:p};a({eventName:"onDrag",payload:{source:t,location:c}})})},drop:function(l){var p=l.current,c=l.updatedSourcePayload;ly.flush(),Qx.cancel(),a({eventName:"onDrop",payload:{source:c!=null?c:t,location:{current:p,previous:n,initial:r}}})}};return i}var tT={isActive:!1};function $_(){return!tT.isActive}function I8(e){return e.dataTransfer?e.dataTransfer.setDragImage.bind(e.dataTransfer):null}function O8(e){var t=e.current,r=e.next;if(t.length!==r.length)return!0;for(var o=0;o<t.length;o++)if(t[o].element!==r[o].element)return!0;return!1}function _8(e){var t=e.event,r=e.dragType,o=e.getDropTargetsOver,n=e.dispatchEvent;if(!$_())return;var a=w8({event:t,dragType:r,getDropTargetsOver:o});tT.isActive=!0;var i={current:a};eT({event:t,current:a.dropTargets});var s=F_({source:r.payload,dispatchEvent:n,initial:a});function l(d){var y=O8({current:i.current.dropTargets,next:d.dropTargets});i.current=d,y&&s.dragUpdate({current:i.current})}function p(d){var y=Au(d),h=ny(d.target)?A_({x:y.clientX,y:y.clientY}):d.target,g=o({target:h,input:y,source:r.payload,current:i.current.dropTargets});g.length&&(d.preventDefault(),eT({event:d,current:g})),l({dropTargets:g,input:y})}function c(){i.current.dropTargets.length&&l({dropTargets:[],input:i.current.input}),s.drop({current:i.current,updatedSourcePayload:null}),u()}function u(){tT.isActive=!1,f()}var f=(0,V_.bindAll)(window,[{type:"dragover",listener:function(y){p(y),s.drag({current:i.current})}},{type:"dragenter",listener:p},{type:"dragleave",listener:function(y){B_({dragLeave:y})&&(l({input:i.current.input,dropTargets:[]}),r.startedFrom==="external"&&c())}},{type:"drop",listener:function(y){if(i.current={dropTargets:i.current.dropTargets,input:Au(y)},!i.current.dropTargets.length){c();return}y.preventDefault(),eT({event:y,current:i.current.dropTargets}),s.drop({current:i.current,updatedSourcePayload:r.type==="external"?r.getDropPayload(y):null}),u()}},{type:"dragend",listener:function(y){i.current={dropTargets:i.current.dropTargets,input:Au(y)},c()}}].concat(ma(op({onDragEnd:c}))),{capture:!0});s.start({nativeSetDragImage:I8(t)})}function eT(e){var t,r=e.event,o=e.current,n=(t=o[0])===null||t===void 0?void 0:t.dropEffect;n!=null&&r.dataTransfer&&(r.dataTransfer.dropEffect=n)}function w8(e){var t=e.event,r=e.dragType,o=e.getDropTargetsOver,n=Au(t);if(r.startedFrom==="external")return{input:n,dropTargets:[]};var a=o({input:n,source:r.payload,target:t.target,current:[]});return{input:n,dropTargets:a}}var rT={canStart:$_,start:_8};var oT=new Map;function D8(e){var t=e.typeKey,r=e.mount,o=oT.get(t);if(o)return o.usageCount++,o;var n={typeKey:t,unmount:r(),usageCount:1};return oT.set(t,n),n}function j_(e){var t=D8(e);return function(){t.usageCount--,!(t.usageCount>0)&&(t.unmount(),oT.delete(e.typeKey))}}function gi(e){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(e)}function nT(e,t){if(gi(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(gi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aT(e){var t=nT(e,"string");return gi(t)=="symbol"?t:t+""}function Mu(e,t,r){return t=aT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H_(e,t){var r=t.attribute,o=t.value;return e.setAttribute(r,o),function(){return e.removeAttribute(r)}}function U_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function bi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?U_(Object(r),!0).forEach(function(o){Mu(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U_(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function iT(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=A8(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
142
142
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return a=p.done,p},e:function(p){i=!0,s=p},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function A8(e,t){if(e){if(typeof e=="string")return W_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W_(e,t)}}function W_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function sT(e){return e.slice(0).reverse()}function G_(e){var t=e.typeKey,r=e.defaultDropEffect,o=new WeakMap,n="data-drop-target-for-".concat(t),a="[".concat(n,"]");function i(d){return o.set(d.element,d),function(){return o.delete(d.element)}}function s(d){if(0)var y;return _u(H_(d.element,{attribute:n,value:"true"}),i(d))}function l(d){var y,h,g,b,x=d.source,v=d.target,C=d.input,T=d.result,P=T===void 0?[]:T;if(v==null)return P;if(!(v instanceof Element))return v instanceof Node?l({source:x,target:v.parentElement,input:C,result:P}):P;var k=v.closest(a);if(k==null)return P;var S=o.get(k);if(S==null)return P;var O={input:C,source:x,element:S.element};if(S.canDrop&&!S.canDrop(O))return l({source:x,target:S.element.parentElement,input:C,result:P});var I=(y=(h=S.getData)===null||h===void 0?void 0:h.call(S,O))!==null&&y!==void 0?y:{},B=(g=(b=S.getDropEffect)===null||b===void 0?void 0:b.call(S,O))!==null&&g!==void 0?g:r,M={data:I,element:S.element,dropEffect:B,isActiveDueToStickiness:!1};return l({source:x,target:S.element.parentElement,input:C,result:[].concat(ma(P),[M])})}function p(d){var y=d.eventName,h=d.payload,g=iT(h.location.current.dropTargets),b;try{for(g.s();!(b=g.n()).done;){var x,v=b.value,C=o.get(v.element),T=bi(bi({},h),{},{self:v});C==null||(x=C[y])===null||x===void 0||x.call(C,T)}}catch(P){g.e(P)}finally{g.f()}}var c={onGenerateDragPreview:p,onDrag:p,onDragStart:p,onDrop:p,onDropTargetChange:function(y){var h=y.payload,g=new Set(h.location.current.dropTargets.map(function(L){return L.element})),b=new Set,x=iT(h.location.previous.dropTargets),v;try{for(x.s();!(v=x.n()).done;){var C,T=v.value;b.add(T.element);var P=o.get(T.element),k=g.has(T.element),S=bi(bi({},h),{},{self:T});if(P==null||(C=P.onDropTargetChange)===null||C===void 0||C.call(P,S),!k){var O;P==null||(O=P.onDragLeave)===null||O===void 0||O.call(P,S)}}}catch(L){x.e(L)}finally{x.f()}var I=iT(h.location.current.dropTargets),B;try{for(I.s();!(B=I.n()).done;){var M,w,$=B.value;if(!b.has($.element)){var N=bi(bi({},h),{},{self:$}),D=o.get($.element);D==null||(M=D.onDropTargetChange)===null||M===void 0||M.call(D,N),D==null||(w=D.onDragEnter)===null||w===void 0||w.call(D,N)}}}catch(L){I.e(L)}finally{I.f()}}};function u(d){c[d.eventName](d)}function f(d){var y=d.source,h=d.target,g=d.input,b=d.current,x=l({source:y,target:h,input:g});if(x.length>=b.length)return x;for(var v=sT(b),C=sT(x),T=[],P=0;P<v.length;P++){var k,S=v[P],O=C[P];if(O!=null){T.push(O);continue}var I=T[P-1],B=v[P-1];if((I==null?void 0:I.element)!==(B==null?void 0:B.element))break;var M=o.get(S.element);if(!M)break;var w={input:g,source:y,element:M.element};if(M.canDrop&&!M.canDrop(w)||!((k=M.getIsSticky)!==null&&k!==void 0&&k.call(M,w)))break;T.push(bi(bi({},S),{},{isActiveDueToStickiness:!0}))}return sT(T)}return{dropTargetForConsumers:s,getIsOver:f,dispatchEvent:u}}function M8(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=N8(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
143
143
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,s;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return a=p.done,p},e:function(p){i=!0,s=p},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(i)throw s}}}}function N8(e,t){if(e){if(typeof e=="string")return J_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J_(e,t)}}function J_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function q_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function L8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q_(Object(r),!0).forEach(function(o){Mu(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q_(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function K_(){var e=new Set,t=null;function r(a){t&&(!a.canMonitor||a.canMonitor(t.canMonitorArgs))&&t.active.add(a)}function o(a){var i=L8({},a);return e.add(i),r(i),function(){e.delete(i),t&&t.active.delete(i)}}function n(a){var i=a.eventName,s=a.payload;if(i==="onGenerateDragPreview"){t={canMonitorArgs:{initial:s.location.initial,source:s.source},active:new Set};var l=M8(e),p;try{for(l.s();!(p=l.n()).done;){var c=p.value;r(c)}}catch(g){l.e(g)}finally{l.f()}}if(t){for(var u=Array.from(t.active),f=0,d=u;f<d.length;f++){var y=d[f];if(t.active.has(y)){var h;(h=y[i])===null||h===void 0||h.call(y,s)}}i==="onDrop"&&(t.active.clear(),t=null)}}return{dispatchEvent:n,monitorForConsumers:o}}function Y_(e){var t=e.typeKey,r=e.mount,o=e.dispatchEventToSource,n=e.onPostDispatch,a=e.defaultDropEffect,i=K_(),s=G_({typeKey:t,defaultDropEffect:a});function l(u){o==null||o(u),s.dispatchEvent(u),i.dispatchEvent(u),n==null||n(u)}function p(u){var f=u.event,d=u.dragType;rT.start({event:f,dragType:d,getDropTargetsOver:s.getIsOver,dispatchEvent:l})}function c(){function u(){var f={canStart:rT.canStart,start:p};return r(f)}return j_({typeKey:t,mount:u})}return{registerUsage:c,dropTarget:s.dropTargetForConsumers,monitor:i.monitorForConsumers}}var Fat=rp(function(){return navigator.userAgent.toLocaleLowerCase().includes("android")}),X_="pdnd:android-fallback";function Z_(e){var t=e.dragEnter,r=t.type,o=t.relatedTarget;return r!=="dragenter"?!1:yi()?N_({dragEnter:t}):o==null?!0:ay()?sy(o):o instanceof HTMLIFrameElement}var Q_="text/plain";var ew="application/vnd.pdnd";function pT(e){var t=e.type,r=e.value;return!(t===ew||t===Q_&&r===X_)}function B8(e){return Array.from(e.types).filter(function(t){return pT({type:t,value:e.getData(t)})})}function z8(e){return Array.from(e.items).filter(function(t){return t.kind==="file"||pT({type:t.type,value:e.getData(t.type)})})}var lT=!1,cT=Y_({typeKey:"external",defaultDropEffect:"copy",mount:function(t){return(0,Nu.bind)(window,{type:"dragenter",listener:function(o){if(!lT&&o.dataTransfer&&t.canStart(o)&&Z_({dragEnter:o})){var n=B8(o.dataTransfer);if(n.length){var a={types:n,items:[],getStringData:function(){return null}};t.start({event:o,dragType:{type:"external",startedFrom:"external",payload:a,getDropPayload:function(s){if(!s.dataTransfer)return a;var l=z8(s.dataTransfer),p=s.dataTransfer.getData.bind(s.dataTransfer);return{types:n,items:l,getStringData:function(u){if(!n.includes(u))return null;var f=p(u);return pT({type:u,value:f})?f:null}}}}})}}}})}});function uT(e){return cT.dropTarget(e)}function dT(e){return cT.monitor(e)}(function(){if(typeof window>"u")return;cT.registerUsage();var t={type:"idle"},r=t;function o(){r.type==="dragging"&&(lT=!1,r.cleanup(),r=t)}function n(){return(0,Nu.bindAll)(window,[{type:"dragend",listener:o}].concat(ma(op({onDragEnd:o}))),{capture:!0})}(0,Nu.bind)(window,{type:"dragstart",listener:function(){r.type==="idle"&&(lT=!0,r={type:"dragging",cleanup:n()})},options:{capture:!0}})})();function py(e){var t=e.source;return t.types.includes("Files")}function fT(e){var t=e.source;return t.items.filter(function(r){return r.kind==="file"}).map(function(r){return r.getAsFile()}).filter(function(r){return r!=null})}var rw=Dn(Du());function tw(e){e.defaultPrevented||(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault())}var mT=null;function F8(){Lu(),mT=(0,rw.bindAll)(window,[{type:"dragover",listener:tw},{type:"dragenter",listener:tw},{type:"drop",listener:function(t){t.preventDefault(),Lu()}},{type:"dragend",listener:Lu}].concat(ma(op({onDragEnd:Lu}))),{capture:!1})}function Lu(){var e;(e=mT)===null||e===void 0||e(),mT=null}function V8(){var e;if(((e=window.event)===null||e===void 0?void 0:e.type)==="drop"){var t;(t=window.event)===null||t===void 0||t.preventDefault()}Lu()}var cy={start:F8,stop:V8};var j8=E(Fr)({width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0 0 0 0)",clipPath:"inset(50%)",position:"absolute"}),H8=E(Lt,{name:"Uploader",slot:"PreviewRoot"})({}),U8=E(Wv,{name:"Uploader",slot:"UploadCard"})(({theme:e})=>({padding:e.spacing(2.5),border:`1px solid ${e.palette.neutral.outlinedBorder}`})),W8=E(I_,{name:"Uploader",slot:"UploadFileIcon"})(({theme:e})=>({color:e.palette.neutral[400],width:"32px",height:"32px"})),G8=E(O_,{name:"Uploader",slot:"ClearIcon"})(({theme:e})=>({color:e.palette.neutral.plainColor,width:"18px",height:"18px"})),J8=["byte","kilobyte","megabyte","gigabyte","terabyte","petabyte"],yT=e=>{let t=e==0?0:Math.floor(Math.log(e)/Math.log(1024)),r=e/Math.pow(1024,t),o=J8[t];return Intl.NumberFormat("en-us",{style:"unit",unit:o,unitDisplay:"narrow"}).format(r)},q8=e=>{let{files:t,uploaded:r,onDelete:o}=e;return A(H8,{gap:1,children:[...r,...t].map(n=>A(U8,{size:"sm",color:"neutral",children:Pe(Lt,{direction:"row",alignItems:"center",gap:2,children:[A(W8,{}),Pe(Lt,{flex:"1",children:[A(Yr,{level:"body-sm",textColor:"common.black",children:n.name}),!!n.size&&A(Yr,{level:"body-xs",fontWeight:"300",lineHeight:"1.33",textColor:"text.tertiary",children:yT(n.size)})]}),A(Wt,{onClick:()=>o==null?void 0:o(n),children:A(G8,{})})]})},n.name))})},K8=E(Lt,{name:"Uploader",slot:"root"})(({theme:e})=>({gap:e.spacing(2)})),Y8=E(No,{name:"Uploader",slot:"dropZone",shouldForwardProp:e=>e!=="error"})(({theme:e,state:t,error:r})=>({width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:e.spacing(5),gap:e.spacing(4),cursor:"pointer",backgroundColor:e.palette.background.surface,border:r?`1px solid ${e.palette.danger.outlinedBorder}`:t==="idle"?`1px solid ${e.palette.neutral.outlinedBorder}`:`1px solid ${e.palette.primary.outlinedBorder}`})),X8=E(E_,{name:"Uploader",slot:"iconContainer",shouldForwardProp:e=>e!=="error"})(({theme:e,state:t,error:r})=>({color:r?`rgba(${e.vars.palette.danger.mainChannel} / 0.6)`:t==="over"?`rgba(${e.palette.primary.mainChannel} / 0.6)`:e.palette.neutral.softActiveBg,width:"32px",height:"32px"})),aw=$8.memo(e=>{let{accept:t,minCount:r,maxCount:o,name:n,size:a,maxFileSize:i,maxFileTotalSize:s,onChange:l,label:p,disabled:c,onDelete:u}=e,f=nw(null),d=nw(null),[y,h]=dy(),[g,b]=dy([]),[x,v]=dy(e.uploaded||[]),[C,T]=dy("idle"),P=hT(()=>{let $=t.split(",").map(z=>z.trim()),[N,D]=[$.filter(z=>["image/*","video/*","audio/*"].includes(z)).map(z=>{let[R]=z.split("/");return R.toLowerCase()}),$.filter(z=>!["image/*","video/*","audio/*"].includes(z)).map(z=>{let[R,q]=z.split("/");return q?q.toUpperCase():R.toUpperCase().replace(".","")})],L=[];N.length>0&&L.push(`Any ${N.join(", ")} files`),D.length>0&&L.push(D.join(", "));let U=[L.join(", "),`Maximum ${yT(s)}`];return o&&U.push(`Up to ${o} ${o===1?"file":"files"}`),U.join(", ")},[t,s,o]),k=hT(()=>!!y||e.error,[e.error,y]),S=hT(()=>!o||o&&[...x,...g].length!==o,[g,o,x]),O=uy($=>{try{let N=t.split(",").map(z=>z.trim().replace(".","").replace("*",".*"))||[],D=new RegExp(`\\b(${N.join("|")})\\b`);if($.forEach(z=>{let[R,q]=z.name.split(".");if(!D.test(z.type)&&!D.test(q))throw new Error("Please upload acceptable file type.")}),i&&$.forEach(z=>{if(z.size>i)throw new Error(`One or more File size exceeded the maximum limit. Each file size must be ${yT(i)} or less.`)}),[...g,...$].reduce((z,R)=>z+R.size,0)>s)throw new Error("Total File size exceeded the maximum limit.");let U=[...g,...$];if(o&&[...x,...U].length>o)throw new Error("Exceeded the maximum number of files.");l==null||l({target:{name:n,value:U}}),b(U),h(void 0)}catch(N){h(N.message)}},[g,x,o,t,i,s,n,l]);ow(()=>{let $=f.current;if(!(!$||c))return _u(uT({element:$,canDrop:py,onDragEnter:()=>T("over"),onDragLeave:()=>T("potential"),onDrop:async({source:N})=>{let D=await fT({source:N});O(D)}}),dT({canMonitor:py,onDragStart:()=>{T("potential"),cy.start()},onDrop:()=>{T("idle"),cy.stop()}}))}),ow(()=>{d.current&&r&&(g.length<r?d.current.setCustomValidity(`At least ${r} files are required.`):d.current.setCustomValidity(""))},[d,g,r]);let I=uy($=>{let N=Array.from($.target.files||[]);O(N)},[O]),B=uy($=>{$ instanceof File?b(N=>(l==null||l({target:{name:n,value:N.filter(D=>D!==$)}}),N.filter(D=>D!==$))):(v(N=>N.filter(D=>D.id!==$.id)),u==null||u($)),h(void 0)},[n,l,u]),M=uy(()=>{var $;($=d.current)==null||$.click()},[]);return Pe(K8,{children:[S&&Pe(kn,{size:a,error:!!(k||y),disabled:c,required:!!r,children:[p&&A(Sn,{children:p}),Pe(Y8,{state:C,error:!!(k||y),ref:f,onClick:M,children:[A(Lt,{alignItems:"center",gap:1,children:A(X8,{state:C,error:!!(k||y)})}),A(j8,{disabled:c,required:!!r,onInvalid:$=>{r&&g.length<r&&h(`Please choose ${r} ${r===1?"file":"files"} to upload.`)},slotProps:{input:{multiple:!0,accept:t,type:"file",ref:d,role:"button",onChange:I}}})]}),A(Rn,{children:Pe(Lt,{children:[y&&A("div",{children:y}),A("div",{children:P})]})})]}),[...x,...g].length>0&&A(q8,{files:g,uploaded:x,onDelete:B})]})});import{ControlType as Ft}from"framer";var gT={onChange:{type:Ft.EventHandler},label:{title:"Label",type:Ft.String},helperText:{title:"Helper Text",type:Ft.String},error:{title:"Error",type:Ft.Boolean,defaultValue:!1},defaultValue:{title:"Default Value",type:Ft.String,defaultValue:void 0},options:{title:"Options",type:Ft.Array,control:{type:Ft.Object,controls:{label:{title:"Label",type:Ft.String},chips:{title:"Chips",type:Ft.Object,controls:{start:{title:"Start",type:Ft.Object,controls:{label:{title:"Label",type:Ft.String},color:{title:"Color",type:Ft.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]}}},end:{title:"End",type:Ft.Object,controls:{label:{title:"Label",type:Ft.String},color:{title:"Color",type:Ft.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]}}}}}}},defaultValue:[{label:"Option1",chips:{}},{label:"Option2",chips:{}},{label:"Option3",chips:{}}]},placeholder:{title:"Placeholder",type:Ft.String,defaultValue:"Select an option"},variant:{title:"Variant",type:Ft.Enum,options:["outlined","plain","solid","soft"],defaultValue:"outlined"},size:{title:"Size",type:Ft.Enum,options:["sm","md","lg"],defaultValue:"md"},startDecorator:{title:"Start Decorator",type:Ft.ComponentInstance},disabled:{title:"Disabled",type:Ft.Boolean,defaultValue:!1},required:{title:"Required",type:Ft.Boolean,defaultValue:!1}};import{ControlType as xi}from"framer";var Z8={variant:{title:"Variant",type:xi.Enum,options:["outlined","plain","solid","soft"],defaultValue:"plain"},color:{title:"Color",type:xi.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"],defaultValue:"neutral"},size:{title:"Size",type:xi.Enum,options:["sm","md","lg"],defaultValue:"md"},disableDivider:{title:"Disable Divider",type:xi.Boolean,defaultValue:!1},summaries:{title:"Summaries",type:xi.Array,control:{type:xi.String},defaultValue:[]},details:{title:"Details",type:xi.Array,control:{type:xi.ComponentInstance},defaultValue:[]}};import{ControlType as Bu}from"framer";var Q8={text:{title:"Text",type:Bu.String,defaultValue:"Tim"},image:{title:"Image",type:Bu.ResponsiveImage},color:{title:"Color",type:Bu.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"],defaultValue:"neutral"},size:{title:"Size",type:Bu.Enum,options:["sm","md","lg"],defaultValue:"md"},variant:{title:"Variant",type:Bu.Enum,options:["outlined","plain","solid","soft"],defaultValue:void 0}};import{ControlType as fy}from"framer";var eJ={badgeContent:{type:fy.String},color:{title:"Color",type:fy.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:fy.Enum,options:["solid","outlined","soft","plain"],defaultValue:"outlined"},size:{title:"Size",type:fy.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as ha}from"framer";var tJ={items:{title:"Items",type:ha.Array,control:{type:ha.Object,controls:{label:{title:"Label",type:ha.String,defaultValue:"Home"},href:{title:"Href",type:ha.Link,defaultValue:""}}},defaultValue:[]},separator:{title:"Separator",type:ha.ComponentInstance},startCrumbCount:{title:"Start Crumb Count",type:ha.Number,defaultValue:1},endCrumbCount:{title:"End Crumb Count",type:ha.Number,defaultValue:3},size:{title:"Size",type:ha.Enum,options:["sm","md","lg"],defaultValue:"md"},collapsed:{title:"Collapsed",type:ha.Boolean,defaultValue:!1}};import{ControlType as zo}from"framer";var rJ={text:{title:"Text",type:zo.String,defaultValue:"Press me"},onTap:{type:zo.EventHandler},disabled:{title:"Disabled",type:zo.Boolean,defaultValue:!1},color:{title:"Color",type:zo.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:zo.Enum,options:["solid","outlined","soft","plain"]},loading:{title:"Loading",type:zo.Boolean,defaultValue:!1},endDecorator:{title:"End Decorator",type:zo.ComponentInstance},startDecorator:{title:"Start Decorator",type:zo.ComponentInstance},size:{title:"Size",type:zo.Enum,options:["sm","md","lg"],defaultValue:"md"},modalContents:{title:"Modal Contents",type:zo.Array,control:{type:zo.ComponentInstance}},enablePortal:{type:zo.Boolean,description:"\uD574\uB2F9 \uBC84\uD2BC\uACFC \uC5F0\uACB0\uB41C \uBAA8\uB2EC\uC774 \uCEE8\uD150\uCE20 \uC548\uC5D0\uC11C \uC5F4\uB9AC\uBA74 \uC774 \uAC12\uC744 Yes\uB85C \uC124\uC815\uD574 \uBCF4\uC138\uC694.",defaultValue:!1,hidden:({modalContents:e})=>e.length===0}};import{ControlType as Ps}from"framer";var oJ={onChange:{title:"onChange",type:Ps.EventHandler},defaultChecked:{title:"Checked",type:Ps.Boolean,defaultValue:!1},disabled:{title:"Disabled",type:Ps.Boolean,defaultValue:!1},label:{title:"Label",type:Ps.String,defaultValue:"Label"},color:{title:"Color",type:Ps.Enum,options:[void 0,"primary","neutral","danger","success","warning"],optionTitles:["Default","Primary","Neutral","Danger","Success","Warning"],defaultValue:void 0},size:{title:"Size",type:Ps.Enum,options:["sm","md","lg"],defaultValue:"md"},variant:{title:"Variant",type:Ps.Enum,options:["outlined","plain","solid","soft"],defaultValue:void 0}};import{ControlType as iw}from"framer";var nJ={onChange:{title:"onChange",type:iw.EventHandler},disabled:{title:"Disabled",type:iw.Boolean,defaultValue:!1}};import{ControlType as my}from"framer";var aJ={text:{title:"Text",type:my.String,defaultValue:"Chip"},color:{title:"Color",type:my.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:my.Enum,options:["solid","outlined","soft","plain"]},size:{title:"Size",type:my.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as sw}from"framer";var iJ={content:{type:sw.ComponentInstance},maxWidth:{type:sw.Enum,options:[void 0,"sm","md","lg","xl"],optionTitles:["None","Small","Medium","Large","Extra Large"],defaultValue:"xl"}};import{ControlType as ya}from"framer";var sJ={label:{title:"Label",type:ya.String},helperText:{title:"Helper Text",type:ya.String},error:{title:"Error",type:ya.Boolean,defaultValue:!1},value:{title:"Value",type:ya.Number,defaultValue:void 0},onChange:{type:ya.EventHandler},disabled:{title:"Disabled",type:ya.Boolean,defaultValue:!1},required:{title:"Required",type:ya.Boolean,defaultValue:!1},currency:{title:"Currency",type:ya.Enum,options:["usd","krw"],optionTitles:["USD","KRW"]},max:{title:"Max",type:ya.Number,defaultValue:void 0}};import{ControlType as ut}from"framer";import{ControlType as mr}from"framer";var vT={label:{title:"Label",type:mr.String},helperText:{title:"Helper Text",type:mr.String},error:{title:"Error",type:mr.Boolean,defaultValue:!1},onChange:{title:"onChange",type:mr.EventHandler},defaultListboxOpen:{title:"Opened",type:mr.Boolean,defaultValue:!1},defaultValue:{title:"Selected Option",type:mr.String},disabled:{title:"Disabled",type:mr.Boolean,defaultValue:!1},required:{title:"Required",type:mr.Boolean,defaultValue:!1},placeholder:{title:"Placeholder",type:mr.String,defaultValue:"Choose one..."},color:{title:"Color",type:mr.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},size:{title:"Size",type:mr.Enum,options:["sm","md","lg"],defaultValue:"md"},variant:{title:"Variant",type:mr.Enum,options:["outlined","plain","solid","soft"],defaultValue:void 0},options:{title:"Options",type:mr.Array,control:{type:mr.Object,controls:{text:{title:"Text",type:mr.String},value:{title:"Value",type:mr.String}}},defaultValue:[{text:"Option 1",value:"option1"},{text:"Option 2",value:"option2"}]},multiple:{title:"Multiple",type:mr.Boolean,defaultValue:!1}};import{ControlType as Cs}from"framer";var bT={text:{title:"Text",type:Cs.String,defaultValue:"Link"},href:{title:"Href",type:Cs.Link},disabled:{title:"Disabled",type:Cs.Boolean,defaultValue:!1},level:{title:"Level",type:Cs.Enum,options:["h1","h2","h3","h4","title-lg","title-md","title-sm","marketing-lg","marketing-md","marketing-sm","body-lg","body-md","body-sm","body-xs","inherit"],defaultValue:"body-md"},color:{title:"Color",type:Cs.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:Cs.Enum,options:["solid","outlined","soft","plain"],defaultValue:"plain"},underline:{title:"Underline",type:Cs.Enum,options:["always","none"],optionTitles:["Always","None"]}};function xT(e,t){return t.reduce((r,o)=>(e[o]&&(r[o]=e[o]),r),{})}var lJ={csvUrl:{title:"CSV Data",type:ut.File,allowedFileTypes:["csv"]},checkboxSelection:{title:"Show Checkbox",type:ut.Boolean,defaultValue:!0},disableSelectionOnClick:{type:ut.Boolean,defaultValue:!1,hidden:e=>e.checkboxSelection===!1,description:"\uCCB4\uD06C\uBC15\uC2A4\uB97C \uD1B5\uD574\uC11C\uB9CC \uD589\uC744 \uC120\uD0DD\uD558\uB824\uBA74 Yes\uB85C \uC124\uC815\uD558\uC138\uC694."},noWrap:{type:ut.Boolean,defaultValue:!1,description:`\uC904\uBC14\uAFC8 \uC5C6\uC774 cell\uC758 \uB0B4\uC6A9\uC744 \uD45C\uC2DC\uD558\uB824\uBA74 Yes\uB85C \uC124\uC815\uD558\uC138\uC694.
144
- \uB2E8, \uB0B4\uC6A9\uC774 \uAE38\uC5B4\uC9C8 \uACBD\uC6B0 \uAC00\uB824\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`},hoverRow:{type:ut.Boolean,defaultValue:!0,description:"\uB9C8\uC6B0\uC2A4\uB97C \uC62C\uB838\uC744 \uB54C \uD589\uC744 \uAC15\uC870\uD558\uB824\uBA74 Yes\uB85C \uC124\uC815\uD558\uC138\uC694."},editMode:{type:ut.Boolean,defaultValue:!1},stripe:{type:ut.Enum,options:[void 0,"odd","even"],optionTitles:["None","Odd","Even"],defaultValue:void 0},columns:{type:ut.Array,description:"Column\uC758 \uC0C1\uC138 \uC124\uC815\uC774 \uD544\uC694\uD55C \uACBD\uC6B0 \uC0AC\uC6A9",control:{type:ut.Object,controls:{field:{type:ut.String,description:"Column Name. CSV\uC5D0 \uC788\uB294 \uAC12\uC744 \uADF8\uB300\uB85C \uB123\uC5B4\uC57C \uD55C\uB2E4."},width:{type:ut.String},type:{type:ut.Enum,defaultValue:"text",options:["text","longText","number","currency","date","select","autocomplete","link"],optionTitles:["Text","Long Text","Number","Currency","Date","Select","Autocomplete","Link"]},resizable:{type:ut.Boolean,defaultValue:!0},isColumnEditable:{type:ut.Boolean,description:"Column\uC744 \uC218\uC815 \uAC00\uB2A5\uD558\uAC8C \uD560\uC9C0 \uC5EC\uBD80",defaultValue:!1},required:{type:ut.Boolean,defaultValue:!1},dateProps:{type:ut.Object,controls:{value:{title:"Value",type:ut.String,defaultValue:"2024/04/03"}},hidden(e){return e.type!=="date"}},autoCompleteProps:{type:ut.Object,controls:V({},xT(gT,["defaultValue","options","placeholder"])),hidden(e){return e.type!=="autocomplete"}},selectProps:{type:ut.Object,controls:V({},xT(vT,["defaultValue","options","placeholder"])),hidden(e){return e.type!=="select"}},linkProps:{type:ut.Object,controls:V({},xT(bT,["href"])),hidden(e){return e.type!=="link"}}}},defaultValue:[]},stickyHeader:{type:ut.Boolean,defaultValue:!1},stickyFooter:{type:ut.Boolean,defaultValue:!1},loading:{type:ut.Boolean,defaultValue:!1},pagination:{title:"Pagination",type:ut.Boolean,defaultValue:!0},onPaginationModelChange:{type:ut.EventHandler},onSelectionModelChange:{type:ut.EventHandler},toolbar:{type:ut.ComponentInstance}};import{ControlType as pn}from"framer";var pJ={onChange:{title:"onChange",type:pn.EventHandler},disabled:{title:"Disabled",type:pn.Boolean,defaultValue:!1},required:{title:"Required",type:pn.Boolean,defaultValue:!1},value:{title:"Value",type:pn.String,defaultValue:"2024/04/03"},label:{title:"Label",type:pn.String,defaultValue:""},error:{title:"Error",type:pn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:pn.String,defaultValue:""},minDate:{title:"Minimum Date",type:pn.String},maxDate:{title:"Maximum Date",type:pn.String},disableFuture:{title:"Disable Future",type:pn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:pn.Boolean,defaultValue:!1}};import{ControlType as cn}from"framer";var cJ={onChange:{title:"onChange",type:cn.EventHandler},disabled:{title:"Disabled",type:cn.Boolean,defaultValue:!1},required:{title:"Required",type:cn.Boolean,defaultValue:!1},value:{title:"Value",type:cn.String,defaultValue:"2024/04/03 - 2024/04/20"},label:{title:"Label",type:cn.String,defaultValue:""},error:{title:"Error",type:cn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:cn.String,defaultValue:""},minDate:{title:"Minimum Date",type:cn.String},maxDate:{title:"Maximum Date",type:cn.String},disableFuture:{title:"Disable Future",type:cn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:cn.Boolean,defaultValue:!1}};import{ControlType as zu}from"framer";var uJ={title:{type:zu.String,defaultValue:"Title"},content:{title:"Content",type:zu.ComponentInstance},actions:{title:"Actions",type:zu.ComponentInstance},size:{title:"Size",type:zu.Enum,options:["sm","md","lg"],defaultValue:"md"},fullscreen:{title:"Fullscreen",type:zu.Boolean,defaultValue:!1}};import{ControlType as lw}from"framer";var dJ={text:{type:lw.String,defaultValue:void 0},orientation:{title:"Orientation",type:lw.Enum,options:["horizontal","vertical"]}};import{ControlType as Fu}from"framer";var fJ={size:{type:Fu.Enum,options:["sm","md","lg"],defaultValue:"sm"},label:{title:"Label",type:Fu.String,defaultValue:"Label"},content:{title:"Contents",type:Fu.Array,control:{title:"Content",type:Fu.ComponentInstance}},required:{type:Fu.Boolean,title:"Required",defaultValue:!1}};import{ControlType as ga}from"framer";var mJ={icon:{title:"Icon",type:ga.ComponentInstance},onClick:{title:"onClick",type:ga.EventHandler},disabled:{title:"Disabled",type:ga.Boolean,defaultValue:!1},color:{title:"Color",type:ga.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:ga.Enum,options:["solid","outlined","soft","plain"]},size:{title:"Size",type:ga.Enum,options:["sm","md","lg"],defaultValue:"md"},modalContents:{title:"Modal Contents",type:ga.Array,control:{type:ga.ComponentInstance}},enablePortal:{type:ga.Boolean,description:"\uD574\uB2F9 \uBC84\uD2BC\uACFC \uC5F0\uACB0\uB41C \uBAA8\uB2EC\uC774 \uCEE8\uD150\uCE20 \uC548\uC5D0\uC11C \uC5F4\uB9AC\uBA74 \uC774 \uAC12\uC744 Yes\uB85C \uC124\uC815\uD574 \uBCF4\uC138\uC694.",defaultValue:!1,hidden:({modalContents:e})=>e.length===0}};import{ControlType as $r}from"framer";var hJ={label:{title:"Label",type:$r.String},helperText:{title:"Helper Text",type:$r.String},error:{title:"Error",type:$r.Boolean,defaultValue:!1},onChange:{type:$r.EventHandler},disabled:{title:"Disabled",type:$r.Boolean,defaultValue:!1},required:{title:"Required",type:$r.Boolean,defaultValue:!1},readonly:{title:"Readonly",type:$r.Boolean,defaultValue:!1},enableClearable:{title:"Enable Clearable",type:$r.Boolean,defaultValue:!1},color:{title:"Color",type:$r.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"],defaultValue:"neutral"},variant:{title:"Variant",type:$r.Enum,options:["solid","outlined","soft","plain"],defaultValue:"outlined"},defaultValue:{title:"Value",type:$r.String,defaultValue:""},placeholder:{title:"Placeholder",type:$r.String,defaultValue:"Type in here..."},endDecorator:{title:"End Decorator",type:$r.ComponentInstance},startDecorator:{title:"Start Decorator",type:$r.ComponentInstance},size:{title:"Size",type:$r.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as np}from"framer";var yJ={text:{title:"Text",type:np.String,defaultValue:"This is **markdown**.",displayTextArea:!0},textAlign:{title:"Text Align",type:np.Enum,options:[void 0,"start","center","end"],optionTitles:["None","Start","Center","End"],defaultValue:void 0},defaultLevel:{title:"defaultLevel",type:np.Enum,options:["h1","h2","h3","h4","title-lg","title-md","title-sm","marketing-lg","marketing-md","marketing-sm","body-lg","body-md","body-sm","body-xs","inherit"],defaultValue:"body-md"},defaultLinkAction:{title:"defaultLinkAction",type:np.Enum,options:["self","blank","parent","top","unfencedTop"],defaultValue:"self"},textColor:{title:"Text Color",type:np.Enum,options:["text.primary","text.secondary","text.icon","text.tertiary","inherit","common.white","common.black","primary.500","danger.500"],defaultValue:"inherit"},accentColor:{title:"Accent Color",type:np.Enum,options:["text.primary","text.secondary","text.icon","text.tertiary","inherit","common.white","common.black","primary.500","danger.500"],defaultValue:"danger.500"}};import{ControlType as ap}from"framer";var gJ={buttonText:{title:"Button Text",type:ap.String,defaultValue:"text"},showIcon:{type:ap.Boolean,defaultValue:!1},size:{type:ap.Enum,options:["sm","md","lg"],defaultValue:"sm"},items:{title:"Items",type:ap.Array,control:{type:ap.Object,controls:{text:{type:ap.String}}},defaultValue:[]}};import{ControlType as TT}from"framer";var vJ={title:{type:TT.String,defaultValue:"Title"},content:{title:"Content",type:TT.ComponentInstance},size:{title:"Size",type:TT.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as un}from"framer";var bJ={onChange:{title:"onChange",type:un.EventHandler},disabled:{title:"Disabled",type:un.Boolean,defaultValue:!1},required:{title:"Required",type:un.Boolean,defaultValue:!1},value:{title:"Value",type:un.String,defaultValue:"2024/04/03"},label:{title:"Label",type:un.String,defaultValue:""},error:{title:"Error",type:un.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:un.String,defaultValue:""},minDate:{title:"Minimum Date",type:un.String},maxDate:{title:"Maximum Date",type:un.String},disableFuture:{title:"Disable Future",type:un.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:un.Boolean,defaultValue:!1}};import{ControlType as dn}from"framer";var xJ={onChange:{title:"onChange",type:dn.EventHandler},disabled:{title:"Disabled",type:dn.Boolean,defaultValue:!1},required:{title:"Required",type:dn.Boolean,defaultValue:!1},value:{title:"Value",type:dn.String,defaultValue:"2024/04 - 2024/07"},label:{title:"Label",type:dn.String,defaultValue:""},error:{title:"Error",type:dn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:dn.String,defaultValue:""},minDate:{title:"Minimum Date",type:dn.String},maxDate:{title:"Maximum Date",type:dn.String},disableFuture:{title:"Disable Future",type:dn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:dn.Boolean,defaultValue:!1}};import{ControlType as Fo}from"framer";var TJ={level:{type:Fo.Number,defaultValue:0,description:"Navigator\uC758 \uB808\uBCA8\uC785\uB2C8\uB2E4. \uB808\uBCA8\uC5D0 \uB530\uB77C \uC88C\uCE21 \uC5EC\uBC31\uC744 \uC870\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},items:{type:Fo.Array,control:{type:Fo.Object,controls:{type:{type:Fo.Enum,options:["item","group"],defaultValue:"item"},title:{type:Fo.String,defaultValue:"Home",description:"\uC2DC\uAC01\uC801\uC73C\uB85C Navigator\uC5D0 \uB178\uCD9C\uB418\uB294 \uAC12\uC785\uB2C8\uB2E4."},selected:{type:Fo.Boolean,defaultValue:!1,hidden:e=>e.type!=="item",description:"Yes\uB85C \uC124\uC815\uD558\uBA74 selected \uC2A4\uD0C0\uC77C\uB85C \uB178\uCD9C\uB429\uB2C8\uB2E4."},expanded:{type:Fo.Boolean,defaultValue:!1,hidden:e=>e.type!=="group",description:"Yes\uB85C \uC124\uC815\uD558\uBA74 \uAE30\uBCF8\uC801\uC73C\uB85C \uD3BC\uCC98\uC9C4 \uC0C1\uD0DC\uB85C \uB178\uCD9C\uB429\uB2C8\uB2E4.(\uC0C8\uB85C\uACE0\uCE68\uC774 \uD544\uC694\uD560\uC9C0\uB3C4 \uBAB0\uB77C\uC694)"},showStartDecorator:{type:Fo.Boolean,defaultValue:!1,description:"Yes\uB85C \uC124\uC815\uD558\uBA74 startDecorator\uB97C \uC124\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4"},startDecorator:{type:Fo.Object,controls:{}}}},defaultValue:[{type:"item",title:"Home",content:[]},{type:"group",title:"Projects",content:[]}]},contents:{title:"Contents",type:Fo.Array,control:{type:Fo.ComponentInstance},defaultValue:[],description:`NavigationGroup\uD558\uC704\uC5D0 \uB178\uCD9C\uB420 \uAC12\uC785\uB2C8\uB2E4. \uB2E4\uB978 Navigator\uB97C \uB123\uC5B4\uC11C navigation\uC744 \uAD6C\uC131\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.
144
+ \uB2E8, \uB0B4\uC6A9\uC774 \uAE38\uC5B4\uC9C8 \uACBD\uC6B0 \uAC00\uB824\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`},hoverRow:{type:ut.Boolean,defaultValue:!0,description:"\uB9C8\uC6B0\uC2A4\uB97C \uC62C\uB838\uC744 \uB54C \uD589\uC744 \uAC15\uC870\uD558\uB824\uBA74 Yes\uB85C \uC124\uC815\uD558\uC138\uC694."},editMode:{type:ut.Boolean,defaultValue:!1},stripe:{type:ut.Enum,options:[void 0,"odd","even"],optionTitles:["None","Odd","Even"],defaultValue:void 0},columns:{type:ut.Array,description:"Column\uC758 \uC0C1\uC138 \uC124\uC815\uC774 \uD544\uC694\uD55C \uACBD\uC6B0 \uC0AC\uC6A9",control:{type:ut.Object,controls:{field:{type:ut.String,description:"Column Name. CSV\uC5D0 \uC788\uB294 \uAC12\uC744 \uADF8\uB300\uB85C \uB123\uC5B4\uC57C \uD55C\uB2E4."},width:{type:ut.String},type:{type:ut.Enum,defaultValue:"text",options:["text","longText","number","currency","date","select","autocomplete","link"],optionTitles:["Text","Long Text","Number","Currency","Date","Select","Autocomplete","Link"]},resizable:{type:ut.Boolean,defaultValue:!0},isColumnEditable:{type:ut.Boolean,description:"Column\uC744 \uC218\uC815 \uAC00\uB2A5\uD558\uAC8C \uD560\uC9C0 \uC5EC\uBD80",defaultValue:!1},required:{type:ut.Boolean,defaultValue:!1},dateProps:{type:ut.Object,controls:{value:{title:"Value",type:ut.String,defaultValue:"2024/04/03"}},hidden(e){return e.type!=="date"}},autoCompleteProps:{type:ut.Object,controls:V({},xT(gT,["defaultValue","options","placeholder"])),hidden(e){return e.type!=="autocomplete"}},selectProps:{type:ut.Object,controls:V({},xT(vT,["defaultValue","options","placeholder"])),hidden(e){return e.type!=="select"}},linkProps:{type:ut.Object,controls:V({},xT(bT,["href"])),hidden(e){return e.type!=="link"}}}},defaultValue:[]},stickyHeader:{type:ut.Boolean,defaultValue:!1},stickyFooter:{type:ut.Boolean,defaultValue:!1},loading:{type:ut.Boolean,defaultValue:!1},pagination:{title:"Pagination",type:ut.Boolean,defaultValue:!0},onPaginationModelChange:{type:ut.EventHandler},onSelectionModelChange:{type:ut.EventHandler},toolbar:{type:ut.ComponentInstance}};import{ControlType as pn}from"framer";var pJ={onChange:{title:"onChange",type:pn.EventHandler},disabled:{title:"Disabled",type:pn.Boolean,defaultValue:!1},required:{title:"Required",type:pn.Boolean,defaultValue:!1},value:{title:"Value",type:pn.String,defaultValue:"2024/04/03"},label:{title:"Label",type:pn.String,defaultValue:""},error:{title:"Error",type:pn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:pn.String,defaultValue:""},minDate:{title:"Minimum Date",type:pn.String},maxDate:{title:"Maximum Date",type:pn.String},disableFuture:{title:"Disable Future",type:pn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:pn.Boolean,defaultValue:!1}};import{ControlType as cn}from"framer";var cJ={onChange:{title:"onChange",type:cn.EventHandler},disabled:{title:"Disabled",type:cn.Boolean,defaultValue:!1},required:{title:"Required",type:cn.Boolean,defaultValue:!1},value:{title:"Value",type:cn.String,defaultValue:"2024/04/03 - 2024/04/20"},label:{title:"Label",type:cn.String,defaultValue:""},error:{title:"Error",type:cn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:cn.String,defaultValue:""},minDate:{title:"Minimum Date",type:cn.String},maxDate:{title:"Maximum Date",type:cn.String},disableFuture:{title:"Disable Future",type:cn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:cn.Boolean,defaultValue:!1}};import{ControlType as zu}from"framer";var uJ={title:{type:zu.String,defaultValue:"Title"},content:{title:"Content",type:zu.ComponentInstance},actions:{title:"Actions",type:zu.ComponentInstance},size:{title:"Size",type:zu.Enum,options:["sm","md","lg"],defaultValue:"md"},fullscreen:{title:"Fullscreen",type:zu.Boolean,defaultValue:!1}};import{ControlType as lw}from"framer";var dJ={text:{type:lw.String,defaultValue:void 0},orientation:{title:"Orientation",type:lw.Enum,options:["horizontal","vertical"]}};import{ControlType as Fu}from"framer";var fJ={size:{type:Fu.Enum,options:["sm","md","lg"],defaultValue:"sm"},label:{title:"Label",type:Fu.String,defaultValue:"Label"},content:{title:"Contents",type:Fu.Array,control:{title:"Content",type:Fu.ComponentInstance}},required:{type:Fu.Boolean,title:"Required",defaultValue:!1}};import{ControlType as ga}from"framer";var mJ={icon:{title:"Icon",type:ga.ComponentInstance},onClick:{title:"onClick",type:ga.EventHandler},disabled:{title:"Disabled",type:ga.Boolean,defaultValue:!1},color:{title:"Color",type:ga.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:ga.Enum,options:["solid","outlined","soft","plain"]},size:{title:"Size",type:ga.Enum,options:["sm","md","lg"],defaultValue:"md"},modalContents:{title:"Modal Contents",type:ga.Array,control:{type:ga.ComponentInstance}},enablePortal:{type:ga.Boolean,description:"\uD574\uB2F9 \uBC84\uD2BC\uACFC \uC5F0\uACB0\uB41C \uBAA8\uB2EC\uC774 \uCEE8\uD150\uCE20 \uC548\uC5D0\uC11C \uC5F4\uB9AC\uBA74 \uC774 \uAC12\uC744 Yes\uB85C \uC124\uC815\uD574 \uBCF4\uC138\uC694.",defaultValue:!1,hidden:({modalContents:e})=>e.length===0}};import{ControlType as $r}from"framer";var hJ={label:{title:"Label",type:$r.String},helperText:{title:"Helper Text",type:$r.String},error:{title:"Error",type:$r.Boolean,defaultValue:!1},onChange:{type:$r.EventHandler},disabled:{title:"Disabled",type:$r.Boolean,defaultValue:!1},required:{title:"Required",type:$r.Boolean,defaultValue:!1},readOnly:{title:"Readonly",type:$r.Boolean,defaultValue:!1},enableClearable:{title:"Enable Clearable",type:$r.Boolean,defaultValue:!1},color:{title:"Color",type:$r.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"],defaultValue:"neutral"},variant:{title:"Variant",type:$r.Enum,options:["solid","outlined","soft","plain"],defaultValue:"outlined"},defaultValue:{title:"Value",type:$r.String,defaultValue:""},placeholder:{title:"Placeholder",type:$r.String,defaultValue:"Type in here..."},endDecorator:{title:"End Decorator",type:$r.ComponentInstance},startDecorator:{title:"Start Decorator",type:$r.ComponentInstance},size:{title:"Size",type:$r.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as np}from"framer";var yJ={text:{title:"Text",type:np.String,defaultValue:"This is **markdown**.",displayTextArea:!0},textAlign:{title:"Text Align",type:np.Enum,options:[void 0,"start","center","end"],optionTitles:["None","Start","Center","End"],defaultValue:void 0},defaultLevel:{title:"defaultLevel",type:np.Enum,options:["h1","h2","h3","h4","title-lg","title-md","title-sm","marketing-lg","marketing-md","marketing-sm","body-lg","body-md","body-sm","body-xs","inherit"],defaultValue:"body-md"},defaultLinkAction:{title:"defaultLinkAction",type:np.Enum,options:["self","blank","parent","top","unfencedTop"],defaultValue:"self"},textColor:{title:"Text Color",type:np.Enum,options:["text.primary","text.secondary","text.icon","text.tertiary","inherit","common.white","common.black","primary.500","danger.500"],defaultValue:"inherit"},accentColor:{title:"Accent Color",type:np.Enum,options:["text.primary","text.secondary","text.icon","text.tertiary","inherit","common.white","common.black","primary.500","danger.500"],defaultValue:"danger.500"}};import{ControlType as ap}from"framer";var gJ={buttonText:{title:"Button Text",type:ap.String,defaultValue:"text"},showIcon:{type:ap.Boolean,defaultValue:!1},size:{type:ap.Enum,options:["sm","md","lg"],defaultValue:"sm"},items:{title:"Items",type:ap.Array,control:{type:ap.Object,controls:{text:{type:ap.String}}},defaultValue:[]}};import{ControlType as TT}from"framer";var vJ={title:{type:TT.String,defaultValue:"Title"},content:{title:"Content",type:TT.ComponentInstance},size:{title:"Size",type:TT.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as un}from"framer";var bJ={onChange:{title:"onChange",type:un.EventHandler},disabled:{title:"Disabled",type:un.Boolean,defaultValue:!1},required:{title:"Required",type:un.Boolean,defaultValue:!1},value:{title:"Value",type:un.String,defaultValue:"2024/04/03"},label:{title:"Label",type:un.String,defaultValue:""},error:{title:"Error",type:un.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:un.String,defaultValue:""},minDate:{title:"Minimum Date",type:un.String},maxDate:{title:"Maximum Date",type:un.String},disableFuture:{title:"Disable Future",type:un.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:un.Boolean,defaultValue:!1}};import{ControlType as dn}from"framer";var xJ={onChange:{title:"onChange",type:dn.EventHandler},disabled:{title:"Disabled",type:dn.Boolean,defaultValue:!1},required:{title:"Required",type:dn.Boolean,defaultValue:!1},value:{title:"Value",type:dn.String,defaultValue:"2024/04 - 2024/07"},label:{title:"Label",type:dn.String,defaultValue:""},error:{title:"Error",type:dn.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:dn.String,defaultValue:""},minDate:{title:"Minimum Date",type:dn.String},maxDate:{title:"Maximum Date",type:dn.String},disableFuture:{title:"Disable Future",type:dn.Boolean,defaultValue:!1},disablePast:{title:"Disable Past",type:dn.Boolean,defaultValue:!1}};import{ControlType as Fo}from"framer";var TJ={level:{type:Fo.Number,defaultValue:0,description:"Navigator\uC758 \uB808\uBCA8\uC785\uB2C8\uB2E4. \uB808\uBCA8\uC5D0 \uB530\uB77C \uC88C\uCE21 \uC5EC\uBC31\uC744 \uC870\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},items:{type:Fo.Array,control:{type:Fo.Object,controls:{type:{type:Fo.Enum,options:["item","group"],defaultValue:"item"},title:{type:Fo.String,defaultValue:"Home",description:"\uC2DC\uAC01\uC801\uC73C\uB85C Navigator\uC5D0 \uB178\uCD9C\uB418\uB294 \uAC12\uC785\uB2C8\uB2E4."},selected:{type:Fo.Boolean,defaultValue:!1,hidden:e=>e.type!=="item",description:"Yes\uB85C \uC124\uC815\uD558\uBA74 selected \uC2A4\uD0C0\uC77C\uB85C \uB178\uCD9C\uB429\uB2C8\uB2E4."},expanded:{type:Fo.Boolean,defaultValue:!1,hidden:e=>e.type!=="group",description:"Yes\uB85C \uC124\uC815\uD558\uBA74 \uAE30\uBCF8\uC801\uC73C\uB85C \uD3BC\uCC98\uC9C4 \uC0C1\uD0DC\uB85C \uB178\uCD9C\uB429\uB2C8\uB2E4.(\uC0C8\uB85C\uACE0\uCE68\uC774 \uD544\uC694\uD560\uC9C0\uB3C4 \uBAB0\uB77C\uC694)"},showStartDecorator:{type:Fo.Boolean,defaultValue:!1,description:"Yes\uB85C \uC124\uC815\uD558\uBA74 startDecorator\uB97C \uC124\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4"},startDecorator:{type:Fo.Object,controls:{}}}},defaultValue:[{type:"item",title:"Home",content:[]},{type:"group",title:"Projects",content:[]}]},contents:{title:"Contents",type:Fo.Array,control:{type:Fo.ComponentInstance},defaultValue:[],description:`NavigationGroup\uD558\uC704\uC5D0 \uB178\uCD9C\uB420 \uAC12\uC785\uB2C8\uB2E4. \uB2E4\uB978 Navigator\uB97C \uB123\uC5B4\uC11C navigation\uC744 \uAD6C\uC131\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.
145
145
 
146
146
  Navigator\uC5D0 \uC874\uC7AC\uD558\uB294 NavigationGroup\uC5D0 \uC21C\uCC28\uC801\uC73C\uB85C \uC8FC\uC785\uB429\uB2C8\uB2E4.(\uBD88\uD3B8\uD558\uC9C0\uB9CC framer\uC758 \uC81C\uC57D\uC73C\uB85C \uC778\uD574 \uC774\uB807\uAC8C \uAD6C\uC131\uD588\uC2B5\uB2C8\uB2E4.)`},onSelect:{type:Fo.EventHandler}};import{ControlType as ks}from"framer";var PJ={orientation:{title:"Orientation",type:ks.Enum,options:["vertical","horizontal"],defaultValue:"vertical"},defaultValue:{title:"Checked Value",type:ks.String,defaultValue:"value1"},items:{title:"Items",type:ks.Array,control:{type:ks.Object,controls:{displayName:{title:"Display Name",type:ks.String},value:{title:"Value",type:ks.String},color:{title:"Color",type:ks.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]}}},defaultValue:[{displayName:"Value 1",value:"value1",color:"primary"},{displayName:"Value 2",value:"value2",color:"primary"},{displayName:"Value 3",value:"value3",color:"primary"},{displayName:"Value 4",value:"value4",color:"primary"},{displayName:"Value 5",value:"value5",color:"primary"},{displayName:"Value 6",value:"value6",color:"primary"}]}};import{ControlType as pw}from"framer";var CJ={color:{title:"Color",type:pw.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:pw.Enum,options:["solid","outlined","soft","plain"],defaultValue:"outlined"}};import{ControlType as hy}from"framer";var kJ={animation:{title:"Animation type",type:hy.Enum,options:["wave","pulse"]},variant:{title:"Variant",type:hy.Enum,options:["circular","rectangular"],defaultValue:"rectangular"},target:{title:"Target",type:hy.ComponentInstance},loading:{title:"Loading",type:hy.Boolean,defaultValue:!1}};import{ControlType as On}from"framer";var SJ={steps:{type:On.Array,control:{type:On.Object,controls:{label:{type:On.String,title:"Label"},extraContent:{type:On.String,title:"Extra Content"},indicatorContent:{type:On.String,title:"Indicator Content"}}},defaultValue:[{label:"Step 1",extraContent:"Step 1 extra content",indicatorContent:"1"},{label:"Step 2",extraContent:"Step 2 extra content",indicatorContent:"2"},{label:"Step 3",extraContent:"Step 3 extra content",indicatorContent:"3"}]},activeStep:{type:On.Number,title:"Active Step",defaultValue:0},activeColor:{title:"Active Color",type:On.Enum,options:["inherit","common.white","common.black","primary.600","primary.500","primary.400","primary.300","primary.200","primary.100","success.600","success.500","success.400","success.300","success.200","success.100","warning.600","warning.500","warning.400","warning.300","warning.200","warning.100","neutral.600","neutral.500","neutral.400","neutral.300","neutral.200","neutral.100"],defaultValue:"primary.500"},activeLineColor:{title:"Active Line Color",type:On.Enum,options:["inherit","common.white","common.black","primary.600","primary.500","primary.400","primary.300","primary.200","primary.100","success.600","success.500","success.400","success.300","success.200","success.100","warning.600","warning.500","warning.400","warning.300","warning.200","warning.100","neutral.600","neutral.500","neutral.400","neutral.300","neutral.200","neutral.100"],defaultValue:"primary.500"},inactiveColor:{title:"Inactive Color",type:On.Enum,options:["inherit","common.white","common.black","primary.600","primary.500","primary.400","primary.300","primary.200","primary.100","success.600","success.500","success.400","success.300","success.200","success.100","warning.600","warning.500","warning.400","warning.300","warning.200","warning.100","neutral.600","neutral.500","neutral.400","neutral.300","neutral.200","neutral.100"],defaultValue:"neutral.400"},inactiveLineColor:{title:"Inactive Line Color",type:On.Enum,options:["inherit","common.white","common.black","primary.600","primary.500","primary.400","primary.300","primary.200","primary.100","success.600","success.500","success.400","success.300","success.200","success.100","warning.600","warning.500","warning.400","warning.300","warning.200","warning.100","neutral.600","neutral.500","neutral.400","neutral.300","neutral.200","neutral.100"],defaultValue:"neutral.300"}};import{ControlType as Vu}from"framer";var RJ={onChange:{title:"onChange",type:Vu.EventHandler},disabled:{title:"Disabled",type:Vu.Boolean,defaultValue:!1},color:{title:"Color",type:Vu.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},variant:{title:"Variant",type:Vu.Enum,options:["solid","outlined","soft","plain"],defaultValue:void 0},size:{title:"Size",type:Vu.Enum,options:["sm","md","lg"],defaultValue:"md"}};import{ControlType as fo}from"framer";var EJ={color:{title:"Color",type:fo.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"]},size:{title:"Size",type:fo.Enum,options:["sm","md","lg"],defaultValue:"md"},variant:{title:"Variant",type:fo.Enum,options:["outlined","plain","solid","soft"],defaultValue:"plain"},orientation:{type:fo.Enum,options:["horizontal","vertical"]},disableUnderline:{type:fo.Boolean,defaultValue:!1},disableIndicator:{type:fo.Boolean,defaultValue:!1},indicatorInset:{type:fo.Boolean,defaultValue:!1},tabs:{type:fo.Array,control:{type:fo.Object,controls:{title:{type:fo.String},disabled:{type:fo.Boolean,defaultValue:!1}}}},contents:{title:"Contents",type:fo.Array,control:{type:fo.ComponentInstance}}};import{ControlType as jr}from"framer";var IJ={label:{title:"Label",type:jr.String},error:{title:"Error",type:jr.Boolean,defaultValue:!1},helperText:{title:"Helper Text",type:jr.String},onChange:{type:jr.EventHandler},disabled:{title:"Disabled",type:jr.Boolean,defaultValue:!1},required:{title:"Required",type:jr.Boolean,defaultValue:!1},color:{title:"Color",type:jr.Enum,options:["primary","neutral","danger","success","warning"],optionTitles:["Primary","Neutral","Danger","Success","Warning"],defaultValue:"neutral"},variant:{title:"Variant",type:jr.Enum,options:["solid","outlined","soft","plain"],defaultValue:"outlined"},defaultValue:{title:"Value",type:jr.String,defaultValue:""},placeholder:{title:"Placeholder",type:jr.String,defaultValue:"Type in here..."},endDecorator:{title:"End Decorator",type:jr.ComponentInstance},startDecorator:{title:"Start Decorator",type:jr.ComponentInstance},size:{title:"Size",type:jr.Enum,options:["sm","md","lg"],defaultValue:"md"},minRows:{title:"Min Rows",type:jr.Number,defaultValue:void 0},maxRows:{title:"Max Rows",type:jr.Number,defaultValue:void 0}};import{ControlType as ip}from"framer";var OJ={textAlign:{title:"Text Align",type:ip.Enum,options:[void 0,"start","center","end"],optionTitles:["None","Start","Center","End"],defaultValue:void 0},level:{title:"Level",type:ip.Enum,options:["h1","h2","h3","h4","title-lg","title-md","title-sm","marketing-lg","marketing-md","marketing-sm","body-lg","body-md","body-sm","body-xs","inherit"],defaultValue:"body-md"},textColor:{title:"Text Color",type:ip.Enum,options:["text.primary","text.secondary","text.icon","text.tertiary","inherit","common.white","common.black","primary.500"],defaultValue:"inherit"},text:{title:"Text",type:ip.String,defaultValue:"Typography",displayTextArea:!0},endDecorator:{title:"End Decorator",type:ip.ComponentInstance},startDecorator:{title:"Start Decorator",type:ip.ComponentInstance}};import{ControlType as mo}from"framer";var _J={label:{title:"Label",type:mo.String},error:{title:"Error",type:mo.Boolean,defaultValue:!1},uploaded:{title:"Uploaded",type:mo.Array,control:{type:mo.Object,controls:{name:{type:mo.String},size:{type:mo.Number}}},defaultValue:[]},size:{title:"Size",type:mo.Enum,options:["sm","md"],optionTitles:["Small","Medium"],defaultValue:"md"},accepts:{title:"Accepts",type:mo.Array,control:{type:mo.Enum,options:["image/*","video/*","audio/*",".pdf",".jpeg",".png","jpg",".txt",".csv",".doc,.docx",".xls,.xlsx",".ppt,.pptx",".zip"],optionTitles:["Image","Video","Audio","Pdf","Jpeg","Png","Jpg","Text","Csv","Word","Excel","Powerpoint","Zip"],defaultValue:"image/*"},defaultValue:[]},minCount:{title:"Min Count",type:mo.Number,defaultValue:void 0},maxCount:{title:"Max Count",type:mo.Number,defaultValue:void 0},maxFileSize:{title:"Max File Size(KB)",type:mo.Number,defaultValue:void 0},maxFileTotalSize:{title:"Max File Total Size(KB)",type:mo.Number,defaultValue:3}};var lpt={useNumbering:{title:"\u{1F4AB} Numbering",type:Zr.Boolean,defaultValue:!1},numbering:{title:" ",type:Zr.Number,defaultValue:1,hidden:({useNumbering:e})=>!e},useResponsiveMargin:{title:"\u{1F4AB} Responsive Margin",type:Zr.Boolean,defaultValue:!1},responsiveMargin:{title:" ",type:Zr.Object,buttonTitle:"Set Margin",hidden:({useResponsiveMargin:e})=>!e,controls:{xs:{type:Zr.FusedNumber,defaultValue:0,toggleKey:"xsMixed",toggleTitles:["All","Individual"],valueKeys:["xsMarginTop","xsMarginRight","xsMarginBottom","xsMarginLeft"],valueLabels:["T","R","B","L"]},sm:{type:Zr.FusedNumber,defaultValue:0,toggleKey:"smMixed",toggleTitles:["All","Individual"],valueKeys:["smMarginTop","smMarginRight","smMarginBottom","smMarginLeft"],valueLabels:["T","R","B","L"]},md:{type:Zr.FusedNumber,defaultValue:0,toggleKey:"mdMixed",toggleTitles:["All","Individual"],valueKeys:["mdMarginTop","mdMarginRight","mdMarginBottom","mdMarginLeft"],valueLabels:["T","R","B","L"]},lg:{type:Zr.FusedNumber,defaultValue:0,toggleKey:"lgMixed",toggleTitles:["All","Individual"],valueKeys:["lgMarginTop","lgMarginRight","lgMarginBottom","lgMarginLeft"],valueLabels:["T","R","B","L"]},xl:{type:Zr.FusedNumber,defaultValue:0,toggleKey:"xlMixed",toggleTitles:["All","Individual"],valueKeys:["xlMarginTop","xlMarginRight","xlMarginBottom","xlMarginLeft"],valueLabels:["T","R","B","L"]}}}},MJ=e=>n=>{var a=n,{useResponsiveMargin:t,responsiveMargin:r}=a,o=ge(a,["useResponsiveMargin","responsiveMargin"]);let[i,s]=uw({}),l=()=>{r!=null&&r.xsMixed?s({marginLeft:r==null?void 0:r.xsMarginLeft,marginRight:r==null?void 0:r.xsMarginRight,marginTop:r==null?void 0:r.xsMarginTop,marginBottom:r==null?void 0:r.xsMarginBottom}):s({margin:r==null?void 0:r.xs})},p=()=>{r!=null&&r.smMixed?s({marginLeft:r==null?void 0:r.smMarginLeft,marginRight:r==null?void 0:r.smMarginRight,marginTop:r==null?void 0:r.smMarginTop,marginBottom:r==null?void 0:r.smMarginBottom}):s({margin:r==null?void 0:r.sm})},c=()=>{r!=null&&r.mdMixed?s({marginLeft:r==null?void 0:r.mdMarginLeft,marginRight:r==null?void 0:r.mdMarginRight,marginTop:r==null?void 0:r.mdMarginTop,marginBottom:r==null?void 0:r.mdMarginBottom}):s({margin:r==null?void 0:r.md})},u=()=>{r!=null&&r.lgMixed?s({marginLeft:r==null?void 0:r.lgMarginLeft,marginRight:r==null?void 0:r.lgMarginRight,marginTop:r==null?void 0:r.lgMarginTop,marginBottom:r==null?void 0:r.lgMarginBottom}):s({margin:r==null?void 0:r.lg})},f=()=>{r!=null&&r.xlMixed?s({marginLeft:r==null?void 0:r.xlMarginLeft,marginRight:r==null?void 0:r.xlMarginRight,marginTop:r==null?void 0:r.xlMarginTop,marginBottom:r==null?void 0:r.xlMarginBottom}):s({margin:r==null?void 0:r.xl})};return t?yy(zJ,{onXsChange:l,onSmChange:p,onMdChange:c,onLgChange:u,onXlChange:f,children:yy(e,re(V({},o),{sx:i}))}):yy(e,o)},ppt=e=>{let t=MJ(e);return a=>{var i=a,{useNumbering:r,numbering:o}=i,n=ge(i,["useNumbering","numbering"]);let s=[{Component:t,props:n}];return r&&s.push({Component:nc,props:{color:"neutral",badgeContent:o,style:{display:"inherit"},anchorOrigin:{vertical:"top",horizontal:"left"}}}),s.reduce((l,{Component:p,props:c})=>[wJ.createElement(p,c,...l)],[])}},NJ=(e,t)=>{cw(()=>{let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[e])},LJ=e=>{let t=Ap(),[r,o]=uw("xs");return NJ(e,()=>{o(t.breakpoints.keys.reduce((n,a)=>{let i=t.breakpoints.values[a];return e.offsetWidth>=i?a:n},"xs"))}),r},BJ=e=>{let t=DJ(()=>{var r;return((r=dw(e==null?void 0:e.current,".groundNodeWrapper"))==null?void 0:r.querySelector("div[id]"))||document.querySelector("#canvas-container .groundNodeWrapper > div[id]")||document.body},[document,e==null?void 0:e.current]);return LJ(t)},zJ=e=>{let{children:t,onXsChange:r,onSmChange:o,onMdChange:n,onLgChange:a,onXlChange:i}=e,s=AJ(null),l=BJ(s);return cw(()=>{if(l==="xl"&&i){i();return}else if(l==="lg"&&a){a();return}else if(l==="md"&&n){n();return}else if(l==="sm"&&o){o();return}else if(l==="xs"&&r){r();return}},[l,r,o,n,a,i]),yy("div",{ref:s,style:{width:0,height:0,position:"sticky",display:"none"}})};function dw(e,t){return e?e.matches(t)?e:dw(e.parentElement,t):null}var cpt={onXsChange:{title:"onXsChange",type:Zr.EventHandler},onSmChange:{title:"onSmChange",type:Zr.EventHandler},onMdChange:{title:"onMdChange",type:Zr.EventHandler},onLgChange:{title:"onLgChange",type:Zr.EventHandler},onXlChange:{title:"onXlChange",type:Zr.EventHandler}};export{km as Accordion,Cm as AccordionDetails,Pm as AccordionSummary,Dv as Accordions,Kg as AspectRatio,wc as Autocomplete,tc as AutocompleteListbox,rc as AutocompleteOption,pv as Avatar,sv as AvatarGroup,nc as Badge,Dc as Box,jv as Breadcrumbs,Bc as Button,zc as Calendar,ic as Card,sc as CardActions,lc as CardContent,pc as CardCover,cc as CardOverflow,Vc as Checkbox,Xi as Chip,en as CircularProgress,Gv as Container,th as CurrencyInput,Tb as DataTable,uh as DatePicker,Pb as DateRangePicker,ou as DialogActions,su as DialogContent,Ib as DialogFrame,lu as DialogTitle,cu as Divider,Cb as Drawer,Lc as Dropdown,Sc as FormControl,Ec as FormHelperText,Rc as FormLabel,_b as Grid,Ic as IconButton,Yc as Input,Ob as InsetDrawer,mc as LinearProgress,ra as Link,Xp as List,bv as ListDivider,Wn as ListItem,Zp as ListItemButton,xv as ListItemContent,ei as ListItemDecorator,Zi as ListSubheader,Dx as Markdown,Ac as Menu,Mc as MenuButton,Nc as MenuItem,Sb as Modal,vh as ModalClose,pu as ModalDialog,Eb as ModalFrame,Rb as ModalOverflow,x_ as MonthPicker,Nx as MonthRangePicker,Zh as NavigationGroup,Qh as NavigationItem,Lx as Navigator,dh as Option,Iu as Radio,Ou as RadioGroup,Bx as RadioList,zJ as ResponsiveEmitter,au as Select,Xc as Sheet,kv as Skeleton,Rv as Slider,Oc as Stack,ey as Step,Ev as StepButton,ty as StepIndicator,zx as Stepper,Fx as Switch,$x as Tab,jx as TabList,Hx as TabPanel,Zc as Table,ub as TableBody,cb as TableHead,Vx as Tabs,nu as Textarea,Ux as ThemeProvider,iu as Tooltip,Mo as Typography,aw as Uploader,ef as accordionClasses,vn as accordionDetailsClasses,Gn as accordionSummaryClasses,ok as accordionsClasses,Z8 as accordionsPropertyControls,bk as aspectRatioClasses,tn as autocompleteClasses,Gk as autocompleteListboxClasses,Yk as autocompleteOptionClasses,gT as autocompletePropertyControls,rS as avatarClasses,nS as avatarGroupClasses,Q8 as avatarPropertyControls,bf as badgeClasses,eJ as badgePropertyControls,xf as boxClasses,pS as breadcrumbsClasses,tJ as breadcrumbsPropertyControls,rn as buttonClasses,rJ as buttonPropertyControls,nJ as calendarPropertyControls,vS as cardActionsClasses,on as cardClasses,CS as cardContentClasses,RS as cardCoverClasses,Ka as cardOverflowClasses,nn as checkboxClasses,oJ as checkboxPropertyControls,gl as chipClasses,aJ as chipPropertyControls,Ek as circularProgressClasses,lpt as commonPropertyControls,iJ as containerPropertyControls,sJ as currencyInputPropertyControls,lJ as dataTablePropertyControls,pJ as datePickerPropertyControls,cJ as dateRangePickerPropertyControls,LS as dialogActionsClasses,FS as dialogContentClasses,uJ as dialogFramePropertyControls,kl as dialogTitleClasses,Rf as dividerClasses,dJ as dividerPropertyControls,KS as drawerClasses,ts as formControlClasses,fJ as formControlPropertyControls,eR as formHelperTextClasses,os as formLabelClasses,oR as gridClasses,ff as iconButtonClasses,mJ as iconButtonPropertyControls,Qp as inputClasses,hJ as inputPropertyControls,aR as linearProgressClasses,hc as linkClasses,bT as linkPropertyControls,nf as listClasses,dR as listDividerClasses,Jn as listItemButtonClasses,Un as listItemClasses,mR as listItemContentClasses,gR as listItemDecoratorClasses,Hk as listSubheaderClasses,yJ as markdownPropertyControls,PR as menuButtonClasses,gJ as menuButtonPropertyControls,bR as menuClasses,kR as menuItemClasses,GS as modalClasses,RR as modalCloseClasses,ea as modalDialogClasses,vJ as modalFramePropertyControls,wR as modalOverflowClasses,bJ as monthPickerPropertyControls,xJ as monthRangePickerPropertyControls,TJ as navigatorPropertyControls,Qf as optionClasses,ti as radioClasses,LR as radioGroupClasses,PJ as radioListPropertyControls,cpt as responsiveEmitterPropertyControls,na as selectClasses,vT as selectPropertyControls,jR as sheetClasses,CJ as sheetPropertyControls,WR as skeletonClasses,kJ as skeletonPropertyControls,_l as sliderClasses,lE as stackClasses,lm as stepButtonClasses,Sr as stepClasses,sn as stepperClasses,SJ as stepperPropertyControls,Pn as switchClasses,RJ as switchPropertyControls,bE as tabListClasses,TE as tabPanelClasses,mE as tableClasses,kE as tabsClasses,EJ as tabsPropertyControls,Pc as textareaClasses,IJ as textareaPropertyControls,IE as tooltipClasses,uS as typographyClasses,OJ as typographyPropertyControls,_J as uploaderPropertyControls,BJ as useCanvasResponsive,RP as useColorScheme,LJ as useResponsive,Ap as useTheme,Y as useThemeProps,ppt as withCommonControls};
147
147
  /*! Bundled license information:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/cds",
3
- "version": "0.0.149-1",
3
+ "version": "0.0.149-2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",