firstly 0.0.15 → 0.0.16-next.1
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/CHANGELOG.md +16 -0
- package/esm/ROUTES.d.ts +10 -2
- package/esm/ROUTES.js +5 -1
- package/esm/auth/Entities.js +1 -0
- package/esm/auth/server/handleAuth.js +2 -1
- package/esm/auth/server/handleGuard.d.ts +10 -4
- package/esm/auth/server/handleGuard.js +8 -41
- package/esm/auth/server/module.d.ts +28 -0
- package/esm/auth/server/module.js +3 -0
- package/esm/auth/static/assets/{Page-B1GE_oYi.d.ts → Page-BgIgl-Te.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-CDHFtYuN.js → Page-BgIgl-Te.js} +1 -1
- package/esm/auth/static/assets/{Page-Dh8pvAo6.d.ts → Page-HDnoBhpE.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-Dh8pvAo6.js → Page-HDnoBhpE.js} +2 -2
- package/esm/auth/static/assets/{Page-CDHFtYuN.d.ts → Page-f5pC21Yg.d.ts} +2 -2
- package/esm/auth/static/assets/{Page-B1GE_oYi.js → Page-f5pC21Yg.js} +1 -1
- package/esm/auth/static/assets/{index-7Nh2ct-y.js → index-DAjei0Ie.js} +2 -2
- package/esm/auth/static/index.html +4 -4
- package/esm/auth/types.d.ts +1 -0
- package/esm/helper.d.ts +1 -1
- package/esm/helper.js +4 -3
- package/esm/index.d.ts +5 -3
- package/esm/index.js +5 -3
- package/esm/mail/server/index.js +2 -1
- package/esm/svelte/FF_Cell.svelte +104 -0
- package/esm/svelte/FF_Cell.svelte.d.ts +24 -0
- package/esm/svelte/FF_Cell_Caption.svelte +20 -0
- package/esm/svelte/FF_Cell_Caption.svelte.d.ts +24 -0
- package/esm/svelte/FF_Cell_Display.svelte +61 -0
- package/esm/svelte/FF_Cell_Display.svelte.d.ts +22 -0
- package/esm/svelte/FF_Cell_Edit.svelte +104 -0
- package/esm/svelte/FF_Cell_Edit.svelte.d.ts +25 -0
- package/esm/svelte/FF_Cell_Error.svelte +20 -0
- package/esm/svelte/FF_Cell_Error.svelte.d.ts +24 -0
- package/esm/svelte/FF_Cell_Hint.svelte +20 -0
- package/esm/svelte/FF_Cell_Hint.svelte.d.ts +24 -0
- package/esm/svelte/FF_Config.svelte +29 -0
- package/esm/svelte/FF_Config.svelte.d.ts +9 -0
- package/esm/svelte/FF_Display.svelte +51 -0
- package/esm/svelte/FF_Display.svelte.d.ts +22 -0
- package/esm/svelte/FF_Edit.svelte +104 -0
- package/esm/svelte/FF_Edit.svelte.d.ts +25 -0
- package/esm/svelte/FF_Error.svelte +23 -0
- package/esm/svelte/FF_Error.svelte.d.ts +22 -0
- package/esm/svelte/FF_Field.svelte +62 -0
- package/esm/svelte/FF_Field.svelte.d.ts +22 -0
- package/esm/svelte/FF_Form.svelte +156 -0
- package/esm/svelte/FF_Form.svelte.d.ts +30 -0
- package/esm/svelte/FF_Grid.svelte +257 -0
- package/esm/svelte/FF_Grid.svelte.d.ts +31 -0
- package/esm/svelte/FF_Hint.svelte +21 -0
- package/esm/svelte/FF_Hint.svelte.d.ts +22 -0
- package/esm/svelte/FF_Label.svelte +23 -0
- package/esm/svelte/FF_Label.svelte.d.ts +22 -0
- package/esm/svelte/FF_Layout.svelte +62 -0
- package/esm/svelte/FF_Layout.svelte.d.ts +24 -0
- package/esm/svelte/FF_Repo.svelte.d.ts +69 -0
- package/esm/svelte/FF_Repo.svelte.js +170 -0
- package/esm/svelte/actions/intersection.d.ts +6 -0
- package/esm/svelte/actions/intersection.js +17 -0
- package/esm/svelte/class/SP.svelte.d.ts +61 -0
- package/esm/svelte/class/SP.svelte.js +412 -0
- package/esm/svelte/customField.d.ts +69 -0
- package/esm/svelte/customField.js +4 -0
- package/esm/svelte/dialog/DialogManagement.svelte +101 -0
- package/esm/svelte/dialog/DialogManagement.svelte.d.ts +18 -0
- package/esm/svelte/dialog/DialogPrimitive.svelte +157 -0
- package/esm/svelte/dialog/DialogPrimitive.svelte.d.ts +38 -0
- package/esm/svelte/dialog/dialog.d.ts +58 -0
- package/esm/svelte/dialog/dialog.js +130 -0
- package/esm/svelte/ff_Config.svelte.d.ts +91 -0
- package/esm/svelte/ff_Config.svelte.js +111 -0
- package/esm/svelte/firstly.css +14 -0
- package/esm/svelte/helpers/debounce.d.ts +1 -0
- package/esm/svelte/helpers/debounce.js +7 -0
- package/esm/svelte/helpers.d.ts +29 -0
- package/esm/svelte/helpers.js +38 -0
- package/esm/svelte/index.d.ts +32 -0
- package/esm/svelte/index.js +29 -0
- package/esm/svelte/tryCatch.d.ts +12 -0
- package/esm/svelte/tryCatch.js +18 -0
- package/esm/ui/Field.svelte +1 -1
- package/esm/ui/Grid.svelte +8 -2
- package/esm/ui/Grid2.svelte +354 -0
- package/esm/ui/Grid2.svelte.d.ts +58 -0
- package/esm/ui/GridLoading.svelte +33 -8
- package/esm/ui/GridLoading.svelte.d.ts +1 -0
- package/esm/ui/GridPaginate.svelte +0 -3
- package/esm/ui/GridPaginate.svelte.d.ts +0 -1
- package/esm/ui/GridPaginate2.svelte +25 -0
- package/esm/ui/GridPaginate2.svelte.d.ts +7 -0
- package/esm/ui/dialog/dialog.d.ts +3 -1
- package/esm/ui/dialog/dialog.js +2 -0
- package/esm/ui/link/LinkPlus.svelte +8 -6
- package/package.json +17 -2
- /package/esm/auth/static/assets/{index-7Nh2ct-y.d.ts → index-DAjei0Ie.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Page-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Page-HDnoBhpE.js","assets/Page-mK42zGEw.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();const Ln=!0;var Ze=Array.isArray,Yt=Array.prototype.indexOf,yn=Array.from,Y=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,Wt=Object.getOwnPropertyDescriptors,ot=Object.prototype,Ht=Array.prototype,Xe=Object.getPrototypeOf;const Z=()=>{};function Kt(e){return typeof(e==null?void 0:e.then)=="function"}function Gt(e){return e()}function Te(e){for(var n=0;n<e.length;n++)e[n]()}const M=2,ut=4,Qe=8,bn=16,G=32,de=64,Be=128,N=256,Ue=512,P=1024,z=2048,Q=4096,W=8192,en=16384,zt=32768,En=65536,jt=1<<17,at=1<<18,Jt=1<<19,ft=1<<20,H=Symbol("$state"),ue=Symbol("$state metadata"),Zt=Symbol("legacy props"),Mi=Symbol("");function ct(e){return e===this.v}function _t(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}function xn(e){return!_t(e,this.v)}function qi(){{const e=new Error("bind_invalid_checkbox_value\nUsing `bind:value` together with a checkbox input is not allowed. Use `bind:checked` instead\nhttps://svelte.dev/e/bind_invalid_checkbox_value");throw e.name="Svelte error",e}}function Xt(e,n,t){{const r=new Error(`component_api_changed
|
|
3
3
|
${e} called \`${n}\` on an instance of ${t}, which is no longer valid in Svelte 5
|
|
4
4
|
https://svelte.dev/e/component_api_changed`);throw r.name="Svelte error",r}}function Qt(e,n){{const t=new Error(`component_api_invalid_new
|
|
@@ -39,4 +39,4 @@ ${i.map(a=>`
|
|
|
39
39
|
${f}in ${a}`).join("")}
|
|
40
40
|
`}),Y(e,"component_stack",{value:i});const o=e.stack;if(o){const a=o.split(`
|
|
41
41
|
`),d=[];for(let v=0;v<a.length;v++){const p=a[v];p.includes("svelte/src/internal")||d.push(p)}Y(e,"stack",{value:d.join(`
|
|
42
|
-
`)})}if(Jn(e,n),Zn(n))throw e}function Nt(e,n,t=!0){var r=e.reactions;if(r!==null)for(var i=0;i<r.length;i++){var s=r[i];(s.f&M)!==0?Nt(s,n,!1):n===s&&(t?R(s,z):(s.f&P)!==0&&R(s,Q),un(s))}}function Rt(e){var d;var n=C,t=D,r=V,i=y,s=J,l=F,u=h,f=L,o=e.f;C=null,D=0,V=null,J=(o&N)!==0&&(L||!te||y===null),y=(o&(G|de))===0?e:null,F=null,Ve(e.ctx),L=!1,ze++;try{var c=(0,e.fn)(),_=e.deps;if(C!==null){var a;if(je(e,D),_!==null&&D>0)for(_.length=D+C.length,a=0;a<C.length;a++)_[D+a]=C[a];else e.deps=_=C;if(!J)for(a=D;a<_.length;a++)((d=_[a]).reactions??(d.reactions=[])).push(e)}else _!==null&&D<_.length&&(je(e,D),_.length=D);if(De()&&V!==null&&!L&&_!==null&&(e.f&(M|Q|z))===0)for(a=0;a<V.length;a++)Nt(V[a],e);return i!==null&&ze++,c}finally{C=n,D=t,V=r,y=i,J=s,F=l,Ve(u),L=f}}function zr(e,n){let t=n.reactions;if(t!==null){var r=Yt.call(t,e);if(r!==-1){var i=t.length-1;i===0?t=n.reactions=null:(t[r]=t[i],t.pop())}}t===null&&(n.f&M)!==0&&(C===null||!C.includes(n))&&(R(n,Q),(n.f&(N|Ue))===0&&(n.f^=Ue),bt(n),je(n,0))}function je(e,n){var t=e.deps;if(t!==null)for(var r=n;r<t.length;r++)zr(e,t[r])}function Ne(e){var n=e.f;if((n&en)===0){R(e,P);var t=E,r=h,i=te;E=e,te=!0;{var s=pe;Ye(e.component_function)}try{(n&bn)!==0?Wr(e):At(e),Tt(e);var l=Rt(e);e.teardown=typeof l=="function"?l:null,e.wv=Dt;var u=e.deps,f;Ln&&cr&&e.f&z,Ln&&Ge.push(e)}catch(o){on(o,e,t,r||e.ctx)}finally{te=i,E=t,Ye(s)}}}function Xn(){console.error("Last ten effects were: ",Ge.slice(-10).map(e=>e.fn)),Ge=[]}function jr(){try{ir()}catch(e){if(Y(e,"stack",{value:""}),Ke!==null)try{on(e,Ke,null,null)}catch(n){throw Xn(),n}else throw Xn(),e}}function Lt(){var e=te;try{var n=0;for(te=!0;$e.length>0;){n++>1e3&&jr();var t=$e,r=t.length;$e=[];for(var i=0;i<r;i++){var s=Zr(t[i]);Jr(s)}}}finally{He=!1,te=e,Ke=null,Ge=[],Ae.clear()}}function Jr(e){var n=e.length;if(n!==0)for(var t=0;t<n;t++){var r=e[t];if((r.f&(en|W))===0)try{re(r)&&(Ne(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?Ot(r):r.fn=null))}catch(i){on(i,r,null,r.ctx)}}}function un(e){He||(He=!0,queueMicrotask(Lt));for(var n=Ke=e;n.parent!==null;){n=n.parent;var t=n.f;if((t&(de|G))!==0){if((t&P)===0)return;n.f^=P}}$e.push(n)}function Zr(e){for(var n=[],t=e;t!==null;){var r=t.f,i=(r&(G|de))!==0,s=i&&(r&P)!==0;if(!s&&(r&W)===0){if((r&ut)!==0)n.push(t);else if(i)t.f^=P;else{var l=y;try{y=t,re(t)&&Ne(t)}catch(o){on(o,t,null,t.ctx)}finally{y=l}}var u=t.first;if(u!==null){t=u;continue}}var f=t.parent;for(t=t.next;t===null&&f!==null;)t=f.next,f=f.parent}return n}function Xr(e){var n;for(Gn();$e.length>0;)He=!0,Lt(),Gn();return n}function x(e){var n=e.f,t=(n&M)!==0;if(y!==null&&!L){F!==null&&F.includes(e)&&ar();var r=y.deps;e.rv<ze&&(e.rv=ze,C===null&&r!==null&&r[D]===e?D++:C===null?C=[e]:(!J||!C.includes(e))&&C.push(e))}else if(t&&e.deps===null&&e.effects===null){var i=e,s=i.parent;s!==null&&(s.f&N)===0&&(i.f^=N)}return t&&(i=e,re(i)&&Et(i)),Ie&&Ae.has(e)?Ae.get(e):e.v}function K(e){var n=L;try{return L=!0,e()}finally{L=n}}const Qr=-7169;function R(e,n){e.f=e.f&Qr|n}function ei(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(H in e)wn(e);else if(!Array.isArray(e))for(let n in e){const t=e[n];typeof t=="object"&&t&&H in t&&wn(t)}}}function wn(e,n=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!n.has(e)){n.add(e),e instanceof Date&&e.getTime();for(let r in e)try{wn(e[r],n)}catch{}const t=Xe(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const r=Wt(t);for(let i in r){const s=r[i].get;if(s)try{s.call(e)}catch{}}}}}function Zi(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const ni=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Xi(e){return ni.includes(e)}const ti={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Qi(e){return e=e.toLowerCase(),ti[e]??e}const ri=["touchstart","touchmove"];function ii(e){return ri.includes(e)}function In(e,n,t){return(...r)=>{const i=e(...r);var s=i.nodeType===11?i.firstChild:i;return Mt(s,n,t),i}}function si(e,n,t){e.__svelte_meta={loc:{file:n,line:t[0],column:t[1]}},t[2]&&Mt(e.firstChild,n,t[2])}function Mt(e,n,t){for(var r=0;e&&r<t.length;)e.nodeType===1&&si(e,n,t[r++]),e=e.nextSibling}function es(e,n){if(n){const t=document.body;e.autofocus=!0,Dn(()=>{document.activeElement===t&&e.focus()})}}let Qn=!1;function li(){Qn||(Qn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var n;if(!e.defaultPrevented)for(const t of e.target.elements)(n=t.__on_r)==null||n.call(t)})},{capture:!0}))}function qt(e){var n=y,t=E;B(null),U(null);try{return e()}finally{B(n),U(t)}}function ns(e,n,t,r=t){e.addEventListener(n,()=>qt(t));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),li()}const Ft=new Set,gn=new Set;function oi(e,n,t,r={}){function i(s){if(r.capture||me.call(n,s),!s.cancelBubble)return qt(()=>t==null?void 0:t.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Dn(()=>{n.addEventListener(e,i,r)}):n.addEventListener(e,i,r),i}function ui(e,n,t,r,i){var s={capture:r,passive:i},l=oi(e,n,t,s);(n===document.body||n===window||n===document)&&Cn(()=>{n.removeEventListener(e,l,s)})}function ts(e){for(var n=0;n<e.length;n++)Ft.add(e[n]);for(var t of gn)t(e)}function me(e){var g;var n=this,t=n.ownerDocument,r=e.type,i=((g=e.composedPath)==null?void 0:g.call(e))||[],s=i[0]||e.target,l=0,u=e.__root;if(u){var f=i.indexOf(u);if(f!==-1&&(n===document||n===window)){e.__root=n;return}var o=i.indexOf(n);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==n){Y(e,"currentTarget",{configurable:!0,get(){return s||t}});var c=y,_=E;B(null),U(null);try{for(var a,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!=null&&(!s.disabled||e.target===s))if(Ze(p)){var[m,...w]=p;m.apply(s,[e,...w])}else p.call(s,e)}catch(b){a?d.push(b):a=b}if(e.cancelBubble||v===n||v===null)break;s=v}if(a){for(let b of d)queueMicrotask(()=>{throw b});throw a}}finally{e.__root=n,delete e.currentTarget,B(c),U(_)}}}function ai(e){var n=document.createElement("template");return n.innerHTML=e,n.content}function Je(e,n){var t=E;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=n)}function Nn(e,n){var t=(n&yr)!==0,r=(n&br)!==0,i,s=!e.startsWith("<!>");return()=>{i===void 0&&(i=ai(s?e:"<!>"+e),t||(i=We(i)));var l=r||kn?document.importNode(i,!0):i.cloneNode(!0);if(t){var u=We(l),f=l.lastChild;Je(u,f)}else Je(l,l);return l}}function rs(e=""){{var n=rn(e+"");return Je(n,n),n}}function fi(){var e=document.createDocumentFragment(),n=document.createComment(""),t=rn();return e.append(n,t),Je(n,t),e}function Re(e,n){e!==null&&e.before(n)}function et(e,n){var t=n==null?"":typeof n=="object"?n+"":n;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t+"")}function ci(e,n){return _i(e,n)}const se=new Map;function _i(e,{target:n,anchor:t,props:r={},events:i,context:s,intro:l=!0}){qr();var u=new Set,f=_=>{for(var a=0;a<_.length;a++){var d=_[a];if(!u.has(d)){u.add(d);var v=ii(d);n.addEventListener(d,me,{passive:v});var p=se.get(d);p===void 0?(document.addEventListener(d,me,{passive:v}),se.set(d,1)):se.set(d,p+1)}}};f(yn(Ft)),gn.add(f);var o=void 0,c=Yr(()=>{var _=t??n.appendChild(rn());return _e(()=>{if(s){ht({});var a=h;a.c=s}i&&(r.$$events=i),o=e(_,r)||{},s&&wt()}),()=>{var v;for(var a of u){n.removeEventListener(a,me);var d=se.get(a);--d===0?(document.removeEventListener(a,me),se.delete(a)):se.set(a,d)}gn.delete(f),_!==t&&((v=_.parentNode)==null||v.removeChild(_))}});return di.set(o,c),o}let di=new WeakMap;function vi(e){e&&Qt(e[$]??"a component",e.name)}function pi(){const e=h==null?void 0:h.function;function n(t){var i;const r=((i=vt())==null?void 0:i[$])??"Something";Xt(r,t,e[$])}return{$destroy:()=>n("$destroy()"),$on:()=>n("$on(...)"),$set:()=>n("$set(...)")}}const _n=0,Le=1,dn=2;function hi(e,n,t,r,i){var s=e,l=De(),u=h,f=h==null?void 0:h.function,o=A,c,_,a,d=(l?k:ce)(void 0),v=(l?k:ce)(void 0),p=!1;function m(g,b){p=!0,b&&(U(w),B(w),Ve(u),Ye(f));try{g===Le&&r&&(_?Ce(_):_=_e(()=>r(s,d))),g!==_n&&c&&ne(c,()=>c=null),g!==Le&&_&&ne(_,()=>_=null),g!==dn&&a&&ne(a,()=>a=null)}finally{b&&(Ye(null),Ve(null),B(null),U(null),Xr())}}var w=ln(()=>{if(o!==(o=n())){if(Kt(o)){var g=o;p=!1,g.then(b=>{g===o&&(xe(d,b),m(Le,!0))},b=>{if(g===o)throw xe(v,b),m(dn,!0),v.v}),Dn(()=>{p||m(_n,!0)})}else xe(d,o),m(Le,!1);return()=>o=A}})}function nt(e,n,[t,r]=[0,0]){var i=e,s=null,l=null,u=A,f=t>0?En:0,o=!1;const c=(a,d=!0)=>{o=!0,_(d,a)},_=(a,d)=>{u!==(u=a)&&(u?(s?Ce(s):d&&(s=_e(()=>d(i))),l&&ne(l,()=>{l=null})):(l?Ce(l):d&&(l=_e(()=>d(i,[t+1,r]))),s&&ne(s,()=>{s=null})))};ln(()=>{o=!1,n(c),o||_(null,null)},f)}function wi(e,n){return n}function gi(e,n,t,r){for(var i=[],s=n.length,l=0;l<s;l++)Pn(n[l].e,i,!0);var u=s>0&&i.length===0&&t!==null;if(u){var f=t.parentNode;Fr(f),f.append(t),r.clear(),j(e,n[0].prev,n[s-1].next)}kt(i,()=>{for(var o=0;o<s;o++){var c=n[o];u||(r.delete(c.k),j(e,c.prev,c.next)),X(c.e,!u)}})}function mi(e,n,t,r,i,s=null){var l=e,u={flags:n,items:new Map,first:null};{var f=e;l=f.appendChild(rn())}var o=null,c=!1,_=Se(()=>{var a=t();return Ze(a)?a:a==null?[]:yn(a)});ln(()=>{var a=x(_),d=a.length;c&&d===0||(c=d===0,yi(a,u,l,i,n,r,t),s!==null&&(d===0?o?Ce(o):o=_e(()=>s(l)):o!==null&&ne(o,()=>{o=null})),x(_))})}function yi(e,n,t,r,i,s,l){var u=e.length,f=n.items,o=n.first,c=o,_,a=null,d=[],v=[],p,m,w,g;for(g=0;g<u;g+=1){if(p=e[g],m=s(p,g),w=f.get(m),w===void 0){var b=c?c.e.nodes_start:t;a=Ei(b,n,a,a===null?n.first:a.next,p,m,g,r,i,l),f.set(m,a),d=[],v=[],c=a.next;continue}if(bi(w,p,g),(w.e.f&W)!==0&&Ce(w.e),w!==c){if(_!==void 0&&_.has(w)){if(d.length<v.length){var O=v[0],T;a=O.prev;var we=d[0],S=d[d.length-1];for(T=0;T<d.length;T+=1)tt(d[T],O,t);for(T=0;T<v.length;T+=1)_.delete(v[T]);j(n,we.prev,S.next),j(n,a,we),j(n,S,O),c=O,a=S,g-=1,d=[],v=[]}else _.delete(w),tt(w,c,t),j(n,w.prev,w.next),j(n,w,a===null?n.first:a.next),j(n,a,w),a=w;continue}for(d=[],v=[];c!==null&&c.k!==m;)(c.e.f&W)===0&&(_??(_=new Set)).add(c),v.push(c),c=c.next;if(c===null)continue;w=c}d.push(w),a=w,c=w.next}if(c!==null||_!==void 0){for(var q=_===void 0?[]:yn(_);c!==null;)(c.e.f&W)===0&&q.push(c),c=c.next;var ge=q.length;if(ge>0){var Vt=u===0?t:null;gi(n,q,Vt,f)}}E.first=n.first&&n.first.e,E.last=a&&a.e}function bi(e,n,t,r){xe(e.v,n),e.i=t}function Ei(e,n,t,r,i,s,l,u,f,o){var c=(f&dr)!==0,_=(f&pr)===0,a=c?_?ce(i):k(i):i,d=(f&vr)===0?l:k(l);c&&(a.debug=()=>{var p=typeof d=="number"?l:d.v;o()[p]});var v={i:d,v:a,k:s,a:null,e:null,prev:t,next:r};try{return v.e=_e(()=>u(e,a,d,o),Lr),v.e.prev=t&&t.e,v.e.next=r&&r.e,t===null?n.first=v:(t.next=v,t.e.next=v.e),r!==null&&(r.prev=v,r.e.prev=v.e),v}finally{}}function tt(e,n,t){for(var r=e.next?e.next.e.nodes_start:t,i=n?n.e.nodes_start:t,s=e.e.nodes_start;s!==r;){var l=sn(s);i.before(s),s=l}}function j(e,n,t){n===null?e.first=t:(n.next=t,n.e.next=t&&t.e),t!==null&&(t.prev=n,t.e.prev=n&&n.e)}function xi(e=!1){const n=h,t=n.l.u;if(!t)return;let r=()=>ei(n.s);if(e){let i=0,s={};const l=Oe(()=>{let u=!1;const f=n.s;for(const o in f)f[o]!==s[o]&&(s[o]=f[o],u=!0);return u&&i++,i});r=()=>x(l)}t.b.length&&St(()=>{rt(n,r),Te(t.b)}),pn(()=>{const i=K(()=>t.m.map(Gt));return()=>{for(const s of i)typeof s=="function"&&s()}}),t.a.length&&pn(()=>{rt(n,r),Te(t.a)})}function rt(e,n){if(e.l.s)for(const t of e.l.s)x(t);n()}function Rn(e,n,t){if(e==null)return n(void 0),t&&t(void 0),Z;const r=K(()=>e.subscribe(n,t));return r.unsubscribe?()=>r.unsubscribe():r}const le=[];function Si(e,n){return{subscribe:$i(e,n).subscribe}}function $i(e,n=Z){let t=null;const r=new Set;function i(u){if(_t(e,u)&&(e=u,t)){const f=!le.length;for(const o of r)o[1](),le.push(o,e);if(f){for(let o=0;o<le.length;o+=2)le[o][0](le[o+1]);le.length=0}}}function s(u){i(u(e))}function l(u,f=Z){const o=[u,f];return r.add(o),r.size===1&&(t=n(i,s)||Z),u(e),()=>{r.delete(o),r.size===0&&t&&(t(),t=null)}}return{set:i,update:s,subscribe:l}}function is(e,n,t){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=n.length<2;return Si(t,(l,u)=>{let f=!1;const o=[];let c=0,_=Z;const a=()=>{if(c)return;_();const v=n(r?o[0]:o,l,u);s?l(v):_=typeof v=="function"?v:Z},d=i.map((v,p)=>Rn(v,m=>{o[p]=m,c&=~(1<<p),f&&a()},()=>{c|=1<<p}));return f=!0,a(),function(){Te(d),_(),f=!1}})}function Ti(e){let n;return Rn(e,t=>n=t)(),n}let Me=!1,mn=Symbol();function ss(e,n,t){const r=t[n]??(t[n]={store:null,source:ce(void 0),unsubscribe:Z});if(r.store!==e&&!(mn in t))if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=Z;else{var i=!0;r.unsubscribe=Rn(e,s=>{i?r.source.v=s:I(r.source,s)}),i=!1}return e&&mn in t?Ti(e):x(r.source)}function ls(e,n){return e.set(n),n}function os(){const e={};function n(){Cn(()=>{for(var t in e)e[t].unsubscribe();Y(e,mn,{enumerable:!1,value:!0})})}return[e,n]}function Ai(e){var n=Me;try{return Me=!1,[e(),Me]}finally{Me=n}}const Oi={get(e,n){if(!e.exclude.includes(n))return x(e.version),n in e.special?e.special[n]():e.props[n]},set(e,n,t){return n in e.special||(e.special[n]=Bt({get[n](){return e.props[n]}},n,dt)),e.special[n](t),Un(e.version),!0},getOwnPropertyDescriptor(e,n){if(!e.exclude.includes(n)&&n in e.props)return{enumerable:!0,configurable:!0,value:e.props[n]}},deleteProperty(e,n){return e.exclude.includes(n)||(e.exclude.push(n),Un(e.version)),!0},has(e,n){return e.exclude.includes(n)?!1:n in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(n=>!e.exclude.includes(n))}};function us(e,n){return new Proxy({props:e,exclude:n,special:{},version:k(0)},Oi)}function it(e){var n;return((n=e.ctx)==null?void 0:n.d)??!1}function Bt(e,n,t,r){var we;var i=(t&hr)!==0,s=!ve||(t&wr)!==0,l=(t&gr)!==0,u=(t&mr)!==0,f=!1,o;l?[o,f]=Ai(()=>e[n]):o=e[n];var c=H in e||Zt in e,_=l&&(((we=ae(e,n))==null?void 0:we.set)??(c&&n in e&&(S=>e[n]=S)))||void 0,a=r,d=!0,v=!1,p=()=>(v=!0,d&&(d=!1,u?a=K(r):a=r),a);o===void 0&&r!==void 0&&(_&&s&&sr(n),o=p(),_&&_(o));var m;if(s)m=()=>{var S=e[n];return S===void 0?p():(d=!0,v=!1,S)};else{var w=(i?Oe:Se)(()=>e[n]);w.f|=jt,m=()=>{var S=x(w);return S!==void 0&&(a=void 0),S===void 0?a:S}}if((t&dt)===0)return m;if(_){var g=e.$$legacy;return function(S,q){return arguments.length>0?((!s||!q||g||f)&&_(q?m():S),S):m()}}var b=!1,O=ce(o),T=Oe(()=>{var S=m(),q=x(O);return b?(b=!1,q):O.v=S});return l&&x(T),i||(T.equals=xn),function(S,q){if(arguments.length>0){const ge=q?x(T):s&&l?oe(S):S;if(!T.equals(ge)){if(b=!0,I(O,ge),v&&a!==void 0&&(a=ge),it(T))return S;K(()=>x(T))}return S}return it(T)?T.v:x(T)}}function ki(e,...n){return K(()=>{try{let t=!1;const r=[];for(const i of n)i&&typeof i=="object"&&H in i?(r.push($r(i,!0)),t=!0):r.push(i);t&&(Tr(e),console.log("%c[snapshot]","color: grey",...r))}catch{}}),n}{let e=function(n){if(!(n in globalThis)){let t;Object.defineProperty(globalThis,n,{configurable:!0,get:()=>{if(t!==void 0)return t;lr(n)},set:r=>{t=r}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Ut(e){h===null&&An("onMount"),ve&&h.l!==null?Ci(h).m.push(e):pn(()=>{const n=K(e);if(typeof n=="function")return n})}function as(e){h===null&&An("onDestroy"),Ut(()=>()=>K(e))}function Ci(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}const Pi="modulepreload",Di=function(e){return"/api/static/"+e},st={},vn=function(n,t,r){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(t.map(f=>{if(f=Di(f),f in st)return;st[f]=!0;const o=f.endsWith(".css"),c=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${c}`))return;const _=document.createElement("link");if(_.rel=o?"stylesheet":Pi,o||(_.as="script"),_.crossOrigin="",_.href=f,u&&_.setAttribute("nonce",u),document.head.appendChild(_),o)return new Promise((a,d)=>{_.addEventListener("load",a),_.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${f}`)))})}))}function s(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return i.then(l=>{for(const u of l||[])u.status==="rejected"&&s(u.reason);return n().catch(s)})},Ii="5";var lt;typeof window<"u"&&((lt=window.__svelte??(window.__svelte={})).v??(lt.v=new Set)).add(Ii);_r();Cr();ie[$]="src/App.svelte";var Ni=In(Nn('<button class="svelte-1vqrvep"> </button>'),ie[$],[[41,3]]),Ri=In(Nn(' <div class="debug svelte-1vqrvep"></div>',1),ie[$],[[39,1]]),Li=In(Nn("<main><!></main> <!>",1),ie[$],[[29,0]]);function ie(e,n){vi(new.target),ht(n,!1,ie);let t=Bt(n,"firstlyData",8);const r={auth:vn(()=>import("./Page-Dh8pvAo6.js"),__vite__mapDeps([0,1])),admin:vn(()=>import("./Page-B1GE_oYi.js"),[]),storage:vn(()=>import("./Page-CDHFtYuN.js"),[])};let i=Nr();function s(d){I(i,r[d])}const l=()=>Object.keys(r);Ut(()=>{s(t().module)}),xi();var u=Li(),f=fn(u),o=Wn(f);{var c=d=>{var v=fi(),p=fn(v);hi(p,()=>x(i),null,(m,w)=>{var g=Se(()=>{var{default:O}=x(w);return{ModuleComponent:O}}),b=Se(()=>x(g).ModuleComponent);x(b)(m,{get firstlyData(){return t()}})}),Re(d,v)};nt(o,d=>{x(i)&&d(c)})}var _=Hn(f,2);{var a=d=>{var v=Ri(),p=fn(v),m=Hn(p);mi(m,5,l,wi,(w,g)=>{var b=Ni(),O=Wn(b);Kn(()=>et(O,`Load ${x(g)??""}`)),ui("click",b,()=>s(x(g))),Re(w,b)}),Kn(w=>et(p,`${w??""} `),[()=>console.info(...ki("info",t()))],Se),Re(d,v)};nt(_,d=>{t().debug&&d(a)})}return Re(e,u),wt({...pi()})}Pr(ie);ci(ie,{target:document.getElementById("app"),props:{firstlyData}});export{I as $,Vi as A,as as B,Yi as C,ji as D,Ji as E,xi as F,fi as G,fn as H,nt as I,Re as J,wt as K,Mi as L,pi as M,Fi as N,Cr as O,$ as P,os as Q,Pr as R,ss as S,Gi as T,ls as U,ei as V,In as W,Nn as X,us as Y,Kn as Z,ui as _,Wt as a,Wn as a0,Nr as a1,x as a2,Se as a3,et as a4,Hn as a5,zi as a6,Hi as a7,Bi as a8,Ki as a9,rs as aa,ts as b,oi as c,pe as d,$t as e,es as f,Xe as g,Xi as h,Zi as i,De as j,qi as k,ns as l,Ze as m,Qi as n,Ui as o,Ti as p,Si as q,ke as r,Ye as s,is as t,K as u,vi as v,$i as w,ht as x,Wi as y,Bt as z};
|
|
42
|
+
`)})}if(Jn(e,n),Zn(n))throw e}function Nt(e,n,t=!0){var r=e.reactions;if(r!==null)for(var i=0;i<r.length;i++){var s=r[i];(s.f&M)!==0?Nt(s,n,!1):n===s&&(t?R(s,z):(s.f&P)!==0&&R(s,Q),un(s))}}function Rt(e){var d;var n=C,t=D,r=V,i=y,s=J,l=F,u=h,f=L,o=e.f;C=null,D=0,V=null,J=(o&N)!==0&&(L||!te||y===null),y=(o&(G|de))===0?e:null,F=null,Ve(e.ctx),L=!1,ze++;try{var c=(0,e.fn)(),_=e.deps;if(C!==null){var a;if(je(e,D),_!==null&&D>0)for(_.length=D+C.length,a=0;a<C.length;a++)_[D+a]=C[a];else e.deps=_=C;if(!J)for(a=D;a<_.length;a++)((d=_[a]).reactions??(d.reactions=[])).push(e)}else _!==null&&D<_.length&&(je(e,D),_.length=D);if(De()&&V!==null&&!L&&_!==null&&(e.f&(M|Q|z))===0)for(a=0;a<V.length;a++)Nt(V[a],e);return i!==null&&ze++,c}finally{C=n,D=t,V=r,y=i,J=s,F=l,Ve(u),L=f}}function zr(e,n){let t=n.reactions;if(t!==null){var r=Yt.call(t,e);if(r!==-1){var i=t.length-1;i===0?t=n.reactions=null:(t[r]=t[i],t.pop())}}t===null&&(n.f&M)!==0&&(C===null||!C.includes(n))&&(R(n,Q),(n.f&(N|Ue))===0&&(n.f^=Ue),bt(n),je(n,0))}function je(e,n){var t=e.deps;if(t!==null)for(var r=n;r<t.length;r++)zr(e,t[r])}function Ne(e){var n=e.f;if((n&en)===0){R(e,P);var t=E,r=h,i=te;E=e,te=!0;{var s=pe;Ye(e.component_function)}try{(n&bn)!==0?Wr(e):At(e),Tt(e);var l=Rt(e);e.teardown=typeof l=="function"?l:null,e.wv=Dt;var u=e.deps,f;Ln&&cr&&e.f&z,Ln&&Ge.push(e)}catch(o){on(o,e,t,r||e.ctx)}finally{te=i,E=t,Ye(s)}}}function Xn(){console.error("Last ten effects were: ",Ge.slice(-10).map(e=>e.fn)),Ge=[]}function jr(){try{ir()}catch(e){if(Y(e,"stack",{value:""}),Ke!==null)try{on(e,Ke,null,null)}catch(n){throw Xn(),n}else throw Xn(),e}}function Lt(){var e=te;try{var n=0;for(te=!0;$e.length>0;){n++>1e3&&jr();var t=$e,r=t.length;$e=[];for(var i=0;i<r;i++){var s=Zr(t[i]);Jr(s)}}}finally{He=!1,te=e,Ke=null,Ge=[],Ae.clear()}}function Jr(e){var n=e.length;if(n!==0)for(var t=0;t<n;t++){var r=e[t];if((r.f&(en|W))===0)try{re(r)&&(Ne(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?Ot(r):r.fn=null))}catch(i){on(i,r,null,r.ctx)}}}function un(e){He||(He=!0,queueMicrotask(Lt));for(var n=Ke=e;n.parent!==null;){n=n.parent;var t=n.f;if((t&(de|G))!==0){if((t&P)===0)return;n.f^=P}}$e.push(n)}function Zr(e){for(var n=[],t=e;t!==null;){var r=t.f,i=(r&(G|de))!==0,s=i&&(r&P)!==0;if(!s&&(r&W)===0){if((r&ut)!==0)n.push(t);else if(i)t.f^=P;else{var l=y;try{y=t,re(t)&&Ne(t)}catch(o){on(o,t,null,t.ctx)}finally{y=l}}var u=t.first;if(u!==null){t=u;continue}}var f=t.parent;for(t=t.next;t===null&&f!==null;)t=f.next,f=f.parent}return n}function Xr(e){var n;for(Gn();$e.length>0;)He=!0,Lt(),Gn();return n}function x(e){var n=e.f,t=(n&M)!==0;if(y!==null&&!L){F!==null&&F.includes(e)&&ar();var r=y.deps;e.rv<ze&&(e.rv=ze,C===null&&r!==null&&r[D]===e?D++:C===null?C=[e]:(!J||!C.includes(e))&&C.push(e))}else if(t&&e.deps===null&&e.effects===null){var i=e,s=i.parent;s!==null&&(s.f&N)===0&&(i.f^=N)}return t&&(i=e,re(i)&&Et(i)),Ie&&Ae.has(e)?Ae.get(e):e.v}function K(e){var n=L;try{return L=!0,e()}finally{L=n}}const Qr=-7169;function R(e,n){e.f=e.f&Qr|n}function ei(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(H in e)wn(e);else if(!Array.isArray(e))for(let n in e){const t=e[n];typeof t=="object"&&t&&H in t&&wn(t)}}}function wn(e,n=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!n.has(e)){n.add(e),e instanceof Date&&e.getTime();for(let r in e)try{wn(e[r],n)}catch{}const t=Xe(e);if(t!==Object.prototype&&t!==Array.prototype&&t!==Map.prototype&&t!==Set.prototype&&t!==Date.prototype){const r=Wt(t);for(let i in r){const s=r[i].get;if(s)try{s.call(e)}catch{}}}}}function Zi(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const ni=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Xi(e){return ni.includes(e)}const ti={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Qi(e){return e=e.toLowerCase(),ti[e]??e}const ri=["touchstart","touchmove"];function ii(e){return ri.includes(e)}function In(e,n,t){return(...r)=>{const i=e(...r);var s=i.nodeType===11?i.firstChild:i;return Mt(s,n,t),i}}function si(e,n,t){e.__svelte_meta={loc:{file:n,line:t[0],column:t[1]}},t[2]&&Mt(e.firstChild,n,t[2])}function Mt(e,n,t){for(var r=0;e&&r<t.length;)e.nodeType===1&&si(e,n,t[r++]),e=e.nextSibling}function es(e,n){if(n){const t=document.body;e.autofocus=!0,Dn(()=>{document.activeElement===t&&e.focus()})}}let Qn=!1;function li(){Qn||(Qn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var n;if(!e.defaultPrevented)for(const t of e.target.elements)(n=t.__on_r)==null||n.call(t)})},{capture:!0}))}function qt(e){var n=y,t=E;B(null),U(null);try{return e()}finally{B(n),U(t)}}function ns(e,n,t,r=t){e.addEventListener(n,()=>qt(t));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),li()}const Ft=new Set,gn=new Set;function oi(e,n,t,r={}){function i(s){if(r.capture||me.call(n,s),!s.cancelBubble)return qt(()=>t==null?void 0:t.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Dn(()=>{n.addEventListener(e,i,r)}):n.addEventListener(e,i,r),i}function ui(e,n,t,r,i){var s={capture:r,passive:i},l=oi(e,n,t,s);(n===document.body||n===window||n===document)&&Cn(()=>{n.removeEventListener(e,l,s)})}function ts(e){for(var n=0;n<e.length;n++)Ft.add(e[n]);for(var t of gn)t(e)}function me(e){var g;var n=this,t=n.ownerDocument,r=e.type,i=((g=e.composedPath)==null?void 0:g.call(e))||[],s=i[0]||e.target,l=0,u=e.__root;if(u){var f=i.indexOf(u);if(f!==-1&&(n===document||n===window)){e.__root=n;return}var o=i.indexOf(n);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==n){Y(e,"currentTarget",{configurable:!0,get(){return s||t}});var c=y,_=E;B(null),U(null);try{for(var a,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!=null&&(!s.disabled||e.target===s))if(Ze(p)){var[m,...w]=p;m.apply(s,[e,...w])}else p.call(s,e)}catch(b){a?d.push(b):a=b}if(e.cancelBubble||v===n||v===null)break;s=v}if(a){for(let b of d)queueMicrotask(()=>{throw b});throw a}}finally{e.__root=n,delete e.currentTarget,B(c),U(_)}}}function ai(e){var n=document.createElement("template");return n.innerHTML=e,n.content}function Je(e,n){var t=E;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=n)}function Nn(e,n){var t=(n&yr)!==0,r=(n&br)!==0,i,s=!e.startsWith("<!>");return()=>{i===void 0&&(i=ai(s?e:"<!>"+e),t||(i=We(i)));var l=r||kn?document.importNode(i,!0):i.cloneNode(!0);if(t){var u=We(l),f=l.lastChild;Je(u,f)}else Je(l,l);return l}}function rs(e=""){{var n=rn(e+"");return Je(n,n),n}}function fi(){var e=document.createDocumentFragment(),n=document.createComment(""),t=rn();return e.append(n,t),Je(n,t),e}function Re(e,n){e!==null&&e.before(n)}function et(e,n){var t=n==null?"":typeof n=="object"?n+"":n;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t+"")}function ci(e,n){return _i(e,n)}const se=new Map;function _i(e,{target:n,anchor:t,props:r={},events:i,context:s,intro:l=!0}){qr();var u=new Set,f=_=>{for(var a=0;a<_.length;a++){var d=_[a];if(!u.has(d)){u.add(d);var v=ii(d);n.addEventListener(d,me,{passive:v});var p=se.get(d);p===void 0?(document.addEventListener(d,me,{passive:v}),se.set(d,1)):se.set(d,p+1)}}};f(yn(Ft)),gn.add(f);var o=void 0,c=Yr(()=>{var _=t??n.appendChild(rn());return _e(()=>{if(s){ht({});var a=h;a.c=s}i&&(r.$$events=i),o=e(_,r)||{},s&&wt()}),()=>{var v;for(var a of u){n.removeEventListener(a,me);var d=se.get(a);--d===0?(document.removeEventListener(a,me),se.delete(a)):se.set(a,d)}gn.delete(f),_!==t&&((v=_.parentNode)==null||v.removeChild(_))}});return di.set(o,c),o}let di=new WeakMap;function vi(e){e&&Qt(e[$]??"a component",e.name)}function pi(){const e=h==null?void 0:h.function;function n(t){var i;const r=((i=vt())==null?void 0:i[$])??"Something";Xt(r,t,e[$])}return{$destroy:()=>n("$destroy()"),$on:()=>n("$on(...)"),$set:()=>n("$set(...)")}}const _n=0,Le=1,dn=2;function hi(e,n,t,r,i){var s=e,l=De(),u=h,f=h==null?void 0:h.function,o=A,c,_,a,d=(l?k:ce)(void 0),v=(l?k:ce)(void 0),p=!1;function m(g,b){p=!0,b&&(U(w),B(w),Ve(u),Ye(f));try{g===Le&&r&&(_?Ce(_):_=_e(()=>r(s,d))),g!==_n&&c&&ne(c,()=>c=null),g!==Le&&_&&ne(_,()=>_=null),g!==dn&&a&&ne(a,()=>a=null)}finally{b&&(Ye(null),Ve(null),B(null),U(null),Xr())}}var w=ln(()=>{if(o!==(o=n())){if(Kt(o)){var g=o;p=!1,g.then(b=>{g===o&&(xe(d,b),m(Le,!0))},b=>{if(g===o)throw xe(v,b),m(dn,!0),v.v}),Dn(()=>{p||m(_n,!0)})}else xe(d,o),m(Le,!1);return()=>o=A}})}function nt(e,n,[t,r]=[0,0]){var i=e,s=null,l=null,u=A,f=t>0?En:0,o=!1;const c=(a,d=!0)=>{o=!0,_(d,a)},_=(a,d)=>{u!==(u=a)&&(u?(s?Ce(s):d&&(s=_e(()=>d(i))),l&&ne(l,()=>{l=null})):(l?Ce(l):d&&(l=_e(()=>d(i,[t+1,r]))),s&&ne(s,()=>{s=null})))};ln(()=>{o=!1,n(c),o||_(null,null)},f)}function wi(e,n){return n}function gi(e,n,t,r){for(var i=[],s=n.length,l=0;l<s;l++)Pn(n[l].e,i,!0);var u=s>0&&i.length===0&&t!==null;if(u){var f=t.parentNode;Fr(f),f.append(t),r.clear(),j(e,n[0].prev,n[s-1].next)}kt(i,()=>{for(var o=0;o<s;o++){var c=n[o];u||(r.delete(c.k),j(e,c.prev,c.next)),X(c.e,!u)}})}function mi(e,n,t,r,i,s=null){var l=e,u={flags:n,items:new Map,first:null};{var f=e;l=f.appendChild(rn())}var o=null,c=!1,_=Se(()=>{var a=t();return Ze(a)?a:a==null?[]:yn(a)});ln(()=>{var a=x(_),d=a.length;c&&d===0||(c=d===0,yi(a,u,l,i,n,r,t),s!==null&&(d===0?o?Ce(o):o=_e(()=>s(l)):o!==null&&ne(o,()=>{o=null})),x(_))})}function yi(e,n,t,r,i,s,l){var u=e.length,f=n.items,o=n.first,c=o,_,a=null,d=[],v=[],p,m,w,g;for(g=0;g<u;g+=1){if(p=e[g],m=s(p,g),w=f.get(m),w===void 0){var b=c?c.e.nodes_start:t;a=Ei(b,n,a,a===null?n.first:a.next,p,m,g,r,i,l),f.set(m,a),d=[],v=[],c=a.next;continue}if(bi(w,p,g),(w.e.f&W)!==0&&Ce(w.e),w!==c){if(_!==void 0&&_.has(w)){if(d.length<v.length){var O=v[0],T;a=O.prev;var we=d[0],S=d[d.length-1];for(T=0;T<d.length;T+=1)tt(d[T],O,t);for(T=0;T<v.length;T+=1)_.delete(v[T]);j(n,we.prev,S.next),j(n,a,we),j(n,S,O),c=O,a=S,g-=1,d=[],v=[]}else _.delete(w),tt(w,c,t),j(n,w.prev,w.next),j(n,w,a===null?n.first:a.next),j(n,a,w),a=w;continue}for(d=[],v=[];c!==null&&c.k!==m;)(c.e.f&W)===0&&(_??(_=new Set)).add(c),v.push(c),c=c.next;if(c===null)continue;w=c}d.push(w),a=w,c=w.next}if(c!==null||_!==void 0){for(var q=_===void 0?[]:yn(_);c!==null;)(c.e.f&W)===0&&q.push(c),c=c.next;var ge=q.length;if(ge>0){var Vt=u===0?t:null;gi(n,q,Vt,f)}}E.first=n.first&&n.first.e,E.last=a&&a.e}function bi(e,n,t,r){xe(e.v,n),e.i=t}function Ei(e,n,t,r,i,s,l,u,f,o){var c=(f&dr)!==0,_=(f&pr)===0,a=c?_?ce(i):k(i):i,d=(f&vr)===0?l:k(l);c&&(a.debug=()=>{var p=typeof d=="number"?l:d.v;o()[p]});var v={i:d,v:a,k:s,a:null,e:null,prev:t,next:r};try{return v.e=_e(()=>u(e,a,d,o),Lr),v.e.prev=t&&t.e,v.e.next=r&&r.e,t===null?n.first=v:(t.next=v,t.e.next=v.e),r!==null&&(r.prev=v,r.e.prev=v.e),v}finally{}}function tt(e,n,t){for(var r=e.next?e.next.e.nodes_start:t,i=n?n.e.nodes_start:t,s=e.e.nodes_start;s!==r;){var l=sn(s);i.before(s),s=l}}function j(e,n,t){n===null?e.first=t:(n.next=t,n.e.next=t&&t.e),t!==null&&(t.prev=n,t.e.prev=n&&n.e)}function xi(e=!1){const n=h,t=n.l.u;if(!t)return;let r=()=>ei(n.s);if(e){let i=0,s={};const l=Oe(()=>{let u=!1;const f=n.s;for(const o in f)f[o]!==s[o]&&(s[o]=f[o],u=!0);return u&&i++,i});r=()=>x(l)}t.b.length&&St(()=>{rt(n,r),Te(t.b)}),pn(()=>{const i=K(()=>t.m.map(Gt));return()=>{for(const s of i)typeof s=="function"&&s()}}),t.a.length&&pn(()=>{rt(n,r),Te(t.a)})}function rt(e,n){if(e.l.s)for(const t of e.l.s)x(t);n()}function Rn(e,n,t){if(e==null)return n(void 0),t&&t(void 0),Z;const r=K(()=>e.subscribe(n,t));return r.unsubscribe?()=>r.unsubscribe():r}const le=[];function Si(e,n){return{subscribe:$i(e,n).subscribe}}function $i(e,n=Z){let t=null;const r=new Set;function i(u){if(_t(e,u)&&(e=u,t)){const f=!le.length;for(const o of r)o[1](),le.push(o,e);if(f){for(let o=0;o<le.length;o+=2)le[o][0](le[o+1]);le.length=0}}}function s(u){i(u(e))}function l(u,f=Z){const o=[u,f];return r.add(o),r.size===1&&(t=n(i,s)||Z),u(e),()=>{r.delete(o),r.size===0&&t&&(t(),t=null)}}return{set:i,update:s,subscribe:l}}function is(e,n,t){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=n.length<2;return Si(t,(l,u)=>{let f=!1;const o=[];let c=0,_=Z;const a=()=>{if(c)return;_();const v=n(r?o[0]:o,l,u);s?l(v):_=typeof v=="function"?v:Z},d=i.map((v,p)=>Rn(v,m=>{o[p]=m,c&=~(1<<p),f&&a()},()=>{c|=1<<p}));return f=!0,a(),function(){Te(d),_(),f=!1}})}function Ti(e){let n;return Rn(e,t=>n=t)(),n}let Me=!1,mn=Symbol();function ss(e,n,t){const r=t[n]??(t[n]={store:null,source:ce(void 0),unsubscribe:Z});if(r.store!==e&&!(mn in t))if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=Z;else{var i=!0;r.unsubscribe=Rn(e,s=>{i?r.source.v=s:I(r.source,s)}),i=!1}return e&&mn in t?Ti(e):x(r.source)}function ls(e,n){return e.set(n),n}function os(){const e={};function n(){Cn(()=>{for(var t in e)e[t].unsubscribe();Y(e,mn,{enumerable:!1,value:!0})})}return[e,n]}function Ai(e){var n=Me;try{return Me=!1,[e(),Me]}finally{Me=n}}const Oi={get(e,n){if(!e.exclude.includes(n))return x(e.version),n in e.special?e.special[n]():e.props[n]},set(e,n,t){return n in e.special||(e.special[n]=Bt({get[n](){return e.props[n]}},n,dt)),e.special[n](t),Un(e.version),!0},getOwnPropertyDescriptor(e,n){if(!e.exclude.includes(n)&&n in e.props)return{enumerable:!0,configurable:!0,value:e.props[n]}},deleteProperty(e,n){return e.exclude.includes(n)||(e.exclude.push(n),Un(e.version)),!0},has(e,n){return e.exclude.includes(n)?!1:n in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(n=>!e.exclude.includes(n))}};function us(e,n){return new Proxy({props:e,exclude:n,special:{},version:k(0)},Oi)}function it(e){var n;return((n=e.ctx)==null?void 0:n.d)??!1}function Bt(e,n,t,r){var we;var i=(t&hr)!==0,s=!ve||(t&wr)!==0,l=(t&gr)!==0,u=(t&mr)!==0,f=!1,o;l?[o,f]=Ai(()=>e[n]):o=e[n];var c=H in e||Zt in e,_=l&&(((we=ae(e,n))==null?void 0:we.set)??(c&&n in e&&(S=>e[n]=S)))||void 0,a=r,d=!0,v=!1,p=()=>(v=!0,d&&(d=!1,u?a=K(r):a=r),a);o===void 0&&r!==void 0&&(_&&s&&sr(n),o=p(),_&&_(o));var m;if(s)m=()=>{var S=e[n];return S===void 0?p():(d=!0,v=!1,S)};else{var w=(i?Oe:Se)(()=>e[n]);w.f|=jt,m=()=>{var S=x(w);return S!==void 0&&(a=void 0),S===void 0?a:S}}if((t&dt)===0)return m;if(_){var g=e.$$legacy;return function(S,q){return arguments.length>0?((!s||!q||g||f)&&_(q?m():S),S):m()}}var b=!1,O=ce(o),T=Oe(()=>{var S=m(),q=x(O);return b?(b=!1,q):O.v=S});return l&&x(T),i||(T.equals=xn),function(S,q){if(arguments.length>0){const ge=q?x(T):s&&l?oe(S):S;if(!T.equals(ge)){if(b=!0,I(O,ge),v&&a!==void 0&&(a=ge),it(T))return S;K(()=>x(T))}return S}return it(T)?T.v:x(T)}}function ki(e,...n){return K(()=>{try{let t=!1;const r=[];for(const i of n)i&&typeof i=="object"&&H in i?(r.push($r(i,!0)),t=!0):r.push(i);t&&(Tr(e),console.log("%c[snapshot]","color: grey",...r))}catch{}}),n}{let e=function(n){if(!(n in globalThis)){let t;Object.defineProperty(globalThis,n,{configurable:!0,get:()=>{if(t!==void 0)return t;lr(n)},set:r=>{t=r}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Ut(e){h===null&&An("onMount"),ve&&h.l!==null?Ci(h).m.push(e):pn(()=>{const n=K(e);if(typeof n=="function")return n})}function as(e){h===null&&An("onDestroy"),Ut(()=>()=>K(e))}function Ci(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}const Pi="modulepreload",Di=function(e){return"/api/static/"+e},st={},vn=function(n,t,r){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=Promise.allSettled(t.map(f=>{if(f=Di(f),f in st)return;st[f]=!0;const o=f.endsWith(".css"),c=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${c}`))return;const _=document.createElement("link");if(_.rel=o?"stylesheet":Pi,o||(_.as="script"),_.crossOrigin="",_.href=f,u&&_.setAttribute("nonce",u),document.head.appendChild(_),o)return new Promise((a,d)=>{_.addEventListener("load",a),_.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${f}`)))})}))}function s(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return i.then(l=>{for(const u of l||[])u.status==="rejected"&&s(u.reason);return n().catch(s)})},Ii="5";var lt;typeof window<"u"&&((lt=window.__svelte??(window.__svelte={})).v??(lt.v=new Set)).add(Ii);_r();Cr();ie[$]="src/App.svelte";var Ni=In(Nn('<button class="svelte-1vqrvep"> </button>'),ie[$],[[41,3]]),Ri=In(Nn(' <div class="debug svelte-1vqrvep"></div>',1),ie[$],[[39,1]]),Li=In(Nn("<main><!></main> <!>",1),ie[$],[[29,0]]);function ie(e,n){vi(new.target),ht(n,!1,ie);let t=Bt(n,"firstlyData",8);const r={auth:vn(()=>import("./Page-HDnoBhpE.js"),__vite__mapDeps([0,1])),admin:vn(()=>import("./Page-f5pC21Yg.js"),[]),storage:vn(()=>import("./Page-BgIgl-Te.js"),[])};let i=Nr();function s(d){I(i,r[d])}const l=()=>Object.keys(r);Ut(()=>{s(t().module)}),xi();var u=Li(),f=fn(u),o=Wn(f);{var c=d=>{var v=fi(),p=fn(v);hi(p,()=>x(i),null,(m,w)=>{var g=Se(()=>{var{default:O}=x(w);return{ModuleComponent:O}}),b=Se(()=>x(g).ModuleComponent);x(b)(m,{get firstlyData(){return t()}})}),Re(d,v)};nt(o,d=>{x(i)&&d(c)})}var _=Hn(f,2);{var a=d=>{var v=Ri(),p=fn(v),m=Hn(p);mi(m,5,l,wi,(w,g)=>{var b=Ni(),O=Wn(b);Kn(()=>et(O,`Load ${x(g)??""}`)),ui("click",b,()=>s(x(g))),Re(w,b)}),Kn(w=>et(p,`${w??""} `),[()=>console.info(...ki("info",t()))],Se),Re(d,v)};nt(_,d=>{t().debug&&d(a)})}return Re(e,u),wt({...pi()})}Pr(ie);ci(ie,{target:document.getElementById("app"),props:{firstlyData}});export{I as $,Vi as A,as as B,Yi as C,ji as D,Ji as E,xi as F,fi as G,fn as H,nt as I,Re as J,wt as K,Mi as L,pi as M,Fi as N,Cr as O,$ as P,os as Q,Pr as R,ss as S,Gi as T,ls as U,ei as V,In as W,Nn as X,us as Y,Kn as Z,ui as _,Wt as a,Wn as a0,Nr as a1,x as a2,Se as a3,et as a4,Hn as a5,zi as a6,Hi as a7,Bi as a8,Ki as a9,rs as aa,ts as b,oi as c,pe as d,$t as e,es as f,Xe as g,Xi as h,Zi as i,De as j,qi as k,ns as l,Ze as m,Qi as n,Ui as o,Ti as p,Si as q,ke as r,Ye as s,is as t,K as u,vi as v,$i as w,ht as x,Wi as y,Bt as z};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="en" data-theme=
|
|
2
|
+
<html lang="en" data-theme="dark">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
|
|
7
|
-
<title>firstly</title>
|
|
8
|
-
<script type="module" crossorigin src="/api/static/assets/index-
|
|
6
|
+
<!--PLACE_HERE_HEAD-->
|
|
7
|
+
<title>firstly coucou</title>
|
|
8
|
+
<script type="module" crossorigin src="/api/static/assets/index-DAjei0Ie.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/api/static/assets/index-DKWpA6v7.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/esm/auth/types.d.ts
CHANGED
package/esm/helper.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ type MetaTypeSlot = {
|
|
|
31
31
|
subKind: '???';
|
|
32
32
|
};
|
|
33
33
|
export type FieldMetaType = MetaTypeRelation | MetaTypeEnum | MetaTypePrimitive | MetaTypeSlot;
|
|
34
|
-
export declare const getFieldMetaType: (field?: FieldMetadata) => FieldMetaType;
|
|
34
|
+
export declare const getFieldMetaType: (field?: FieldMetadata, withHidden?: boolean) => FieldMetaType;
|
|
35
35
|
export declare const displayWithDefaultAndSuffix: (field: FieldMetadata<any, any> | undefined, value: any) => string;
|
|
36
36
|
export declare const getEnum: <T extends BaseEnum>(baseEnum: ClassType<T>, id: string | undefined | null) => T | undefined;
|
|
37
37
|
export declare const getEnums: <T extends BaseEnum>(baseEnum: ClassType<T>) => T[];
|
package/esm/helper.js
CHANGED
|
@@ -41,7 +41,7 @@ export const getEntityDisplayValueFromField = (field, row) => {
|
|
|
41
41
|
return { href: '', ...getEntityDisplayValue(repo, row) };
|
|
42
42
|
};
|
|
43
43
|
// or it's a slot or it will return the field
|
|
44
|
-
export const getFieldMetaType = (field) => {
|
|
44
|
+
export const getFieldMetaType = (field, withHidden = false) => {
|
|
45
45
|
if (field === undefined) {
|
|
46
46
|
return { kind: 'slot', subKind: '???' };
|
|
47
47
|
}
|
|
@@ -72,11 +72,12 @@ export const getFieldMetaType = (field) => {
|
|
|
72
72
|
// @ts-ignore
|
|
73
73
|
if (field.options?.valueConverter?.values) {
|
|
74
74
|
// console.log(`field.options.valueConverter.values`, field.options.valueConverter.values)
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
const values = field.options.valueConverter.values;
|
|
75
77
|
return {
|
|
76
78
|
kind: 'enum',
|
|
77
79
|
subKind: 'single',
|
|
78
|
-
|
|
79
|
-
values: field.options.valueConverter.values.filter((v) => !v.hide),
|
|
80
|
+
values: withHidden ? values : values.filter((v) => !v.hide),
|
|
80
81
|
field,
|
|
81
82
|
};
|
|
82
83
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { FindOptionsBase } from 'remult';
|
|
|
2
2
|
import type { BaseEnum, BaseItem, FF_Icon } from './BaseEnum.js';
|
|
3
3
|
import type { CellsInput as CellsInput_ForExport } from './cellsBuildor.js';
|
|
4
4
|
import type { ColumnDeciderArgs } from './changeLog/index.js';
|
|
5
|
+
import { ff_Log, FF_Role } from './common.js';
|
|
5
6
|
import { storeItem } from './storeItem.js';
|
|
6
7
|
import { storeList } from './storeList.js';
|
|
7
8
|
import { default as Button } from './ui/Button.svelte';
|
|
@@ -12,7 +13,9 @@ import { default as FormEditAction } from './ui/dialog/FormEditAction.svelte';
|
|
|
12
13
|
import { default as Field } from './ui/Field.svelte';
|
|
13
14
|
import { default as FieldGroup } from './ui/FieldGroup.svelte';
|
|
14
15
|
import { default as Grid } from './ui/Grid.svelte';
|
|
16
|
+
import { default as Grid2 } from './ui/Grid2.svelte';
|
|
15
17
|
import { default as GridPaginate } from './ui/GridPaginate.svelte';
|
|
18
|
+
import { default as GridPaginate2 } from './ui/GridPaginate2.svelte';
|
|
16
19
|
import { default as Icon } from './ui/Icon.svelte';
|
|
17
20
|
import { default as FieldContainer } from './ui/internals/FieldContainer.svelte';
|
|
18
21
|
import { default as SelectMelt } from './ui/internals/select/SelectMelt.svelte';
|
|
@@ -20,9 +23,8 @@ import { default as Link } from './ui/link/Link.svelte';
|
|
|
20
23
|
import { default as LinkPlus } from './ui/link/LinkPlus.svelte';
|
|
21
24
|
import { default as Loading } from './ui/Loading.svelte';
|
|
22
25
|
import { default as Tooltip } from './ui/Tooltip.svelte';
|
|
23
|
-
export { Field, FormEditAction, Grid, GridPaginate, FieldGroup, Icon, Link, LinkPlus, Loading, Button, Tooltip, DialogManagement, FieldContainer, SelectMelt, Clipboardable, };
|
|
24
|
-
export { FF_Role }
|
|
25
|
-
export { ff_Log } from './common.js';
|
|
26
|
+
export { Field, FormEditAction, Grid, Grid2, GridPaginate, GridPaginate2, FieldGroup, Icon, Link, LinkPlus, Loading, Button, Tooltip, DialogManagement, FieldContainer, SelectMelt, Clipboardable, };
|
|
27
|
+
export { FF_Role, ff_Log };
|
|
26
28
|
export type { BaseEnumOptions } from './BaseEnum.js';
|
|
27
29
|
export type { BaseItem };
|
|
28
30
|
export type BaseItemLight = Partial<BaseItem>;
|
package/esm/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ff_Log, FF_Role } from './common.js';
|
|
1
2
|
import { storeItem } from './storeItem.js';
|
|
2
3
|
import { storeList } from './storeList.js';
|
|
3
4
|
import { default as Button } from './ui/Button.svelte';
|
|
@@ -7,7 +8,9 @@ import { default as FormEditAction } from './ui/dialog/FormEditAction.svelte';
|
|
|
7
8
|
import { default as Field } from './ui/Field.svelte';
|
|
8
9
|
import { default as FieldGroup } from './ui/FieldGroup.svelte';
|
|
9
10
|
import { default as Grid } from './ui/Grid.svelte';
|
|
11
|
+
import { default as Grid2 } from './ui/Grid2.svelte';
|
|
10
12
|
import { default as GridPaginate } from './ui/GridPaginate.svelte';
|
|
13
|
+
import { default as GridPaginate2 } from './ui/GridPaginate2.svelte';
|
|
11
14
|
import { default as Icon } from './ui/Icon.svelte';
|
|
12
15
|
import { default as FieldContainer } from './ui/internals/FieldContainer.svelte';
|
|
13
16
|
import { default as SelectMelt } from './ui/internals/select/SelectMelt.svelte';
|
|
@@ -18,9 +21,8 @@ import { default as Tooltip } from './ui/Tooltip.svelte';
|
|
|
18
21
|
// ******************************
|
|
19
22
|
// Svelte Components
|
|
20
23
|
// ******************************
|
|
21
|
-
export { Field, FormEditAction, Grid, GridPaginate, FieldGroup, Icon, Link, LinkPlus, Loading, Button, Tooltip, DialogManagement, FieldContainer, SelectMelt, Clipboardable, };
|
|
22
|
-
export { FF_Role }
|
|
23
|
-
export { ff_Log } from './common.js';
|
|
24
|
+
export { Field, FormEditAction, Grid, Grid2, GridPaginate, GridPaginate2, FieldGroup, Icon, Link, LinkPlus, Loading, Button, Tooltip, DialogManagement, FieldContainer, SelectMelt, Clipboardable, };
|
|
25
|
+
export { FF_Role, ff_Log };
|
|
24
26
|
// ******************************
|
|
25
27
|
// Helpers
|
|
26
28
|
// ******************************
|
package/esm/mail/server/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import nodemailer from 'nodemailer';
|
|
2
|
+
import { asClassComponent } from 'svelte/legacy';
|
|
2
3
|
import { render } from 'svelty-email';
|
|
3
4
|
import { remult } from 'remult';
|
|
4
5
|
import { cyan, green, magenta, red, sleep, white } from '@kitql/helpers';
|
|
@@ -46,7 +47,7 @@ export const sendMail = async (topic, mailOptions) => {
|
|
|
46
47
|
}
|
|
47
48
|
try {
|
|
48
49
|
if (!mailOptions.html) {
|
|
49
|
-
const template = globalOptions?.template?.component ?? DefaultMail;
|
|
50
|
+
const template = asClassComponent(globalOptions?.template?.component ?? DefaultMail);
|
|
50
51
|
const props = {
|
|
51
52
|
brandColor: globalOptions?.template?.brandColor ?? '#5B68DF',
|
|
52
53
|
...mailOptions.templateProps,
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<script lang="ts" generics="valueType = unknown, entityType = unknown">
|
|
2
|
+
import { deepMerge, FF_Cell, FF_Repo } from './'
|
|
3
|
+
import type { CellMetadata } from './customField'
|
|
4
|
+
import FF_Cell_Caption from './FF_Cell_Caption.svelte'
|
|
5
|
+
import FF_Cell_Display from './FF_Cell_Display.svelte'
|
|
6
|
+
import FF_Cell_Edit from './FF_Cell_Edit.svelte'
|
|
7
|
+
import FF_Cell_Error from './FF_Cell_Error.svelte'
|
|
8
|
+
import FF_Cell_Hint from './FF_Cell_Hint.svelte'
|
|
9
|
+
|
|
10
|
+
const default_uid = $props.id()
|
|
11
|
+
|
|
12
|
+
interface Props<valueType = unknown, entityType = unknown> {
|
|
13
|
+
cell: CellMetadata<valueType, entityType>
|
|
14
|
+
r?: FF_Repo<entityType>
|
|
15
|
+
class?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
let props: Props<valueType, entityType> = $props()
|
|
19
|
+
|
|
20
|
+
// let classes = $derived(getClasses('field', props.classes))
|
|
21
|
+
|
|
22
|
+
let key = $derived(props.cell.key ?? props.cell.field?.key ?? default_uid)
|
|
23
|
+
let caption = $derived(props.cell.caption ?? props.cell.field?.caption)
|
|
24
|
+
let hint = $derived(props.cell.field?.options.ui?.hint ?? props.cell.ui?.hint)
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
let ui = $derived(deepMerge(props.cell.field?.options.ui ?? {}, props.cell.ui ?? {}))
|
|
27
|
+
|
|
28
|
+
let error = ''
|
|
29
|
+
let value: any = $state('')
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<!-- Snippets sections -->
|
|
33
|
+
{#snippet cellsChildren(isForm: boolean = false)}
|
|
34
|
+
<div data-ff-cells>
|
|
35
|
+
{#each props.cell.cells ?? [] as children}
|
|
36
|
+
<FF_Cell cell={children} />
|
|
37
|
+
{/each}
|
|
38
|
+
</div>
|
|
39
|
+
{/snippet}
|
|
40
|
+
|
|
41
|
+
<!-- Main section -->
|
|
42
|
+
<div
|
|
43
|
+
data-ff-cell
|
|
44
|
+
data-ff-cells={props.cell.cells}
|
|
45
|
+
style:--width={ui?.width ?? 100}
|
|
46
|
+
style:--margin-left={ui?.marginLeft ?? 0}
|
|
47
|
+
style:--margin-right={ui?.marginRight ?? 0}
|
|
48
|
+
style:--width-mobile={ui?.mobile?.width ?? 100}
|
|
49
|
+
style:--margin-left-mobile={ui?.mobile?.marginLeft ?? 0}
|
|
50
|
+
style:--margin-right-mobile={ui?.mobile?.marginRight ?? 0}
|
|
51
|
+
class={[key, props.class]}
|
|
52
|
+
>
|
|
53
|
+
<FF_Cell_Caption {ui} {caption} {key} />
|
|
54
|
+
<FF_Cell_Error {ui} {error} {key} />
|
|
55
|
+
{#if props.cell.field}
|
|
56
|
+
{#if props.cell.mode === 'edit'}
|
|
57
|
+
<FF_Cell_Edit field={props.cell.field} {error} bind:value />
|
|
58
|
+
{:else}
|
|
59
|
+
<FF_Cell_Display field={props.cell.field} {error} {value} />
|
|
60
|
+
{/if}
|
|
61
|
+
{/if}
|
|
62
|
+
<FF_Cell_Hint {ui} {hint} {key} />
|
|
63
|
+
|
|
64
|
+
{#if props.cell.type === 'form'}
|
|
65
|
+
<form>
|
|
66
|
+
{@render cellsChildren(true)}
|
|
67
|
+
<button type="submit">Submit</button>
|
|
68
|
+
</form>
|
|
69
|
+
{:else}
|
|
70
|
+
{@render cellsChildren()}
|
|
71
|
+
{/if}
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<style>
|
|
75
|
+
[data-ff-cells] {
|
|
76
|
+
width: 100%;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-wrap: wrap;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[data-ff-cell] {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
padding: var(--ff-spacing);
|
|
86
|
+
flex: 1 1 calc(var(--width, 100) * 1%);
|
|
87
|
+
max-width: calc(var(--width, 100) * 1%);
|
|
88
|
+
margin-left: calc(var(--margin-left, 0) * 1%);
|
|
89
|
+
margin-right: calc(var(--margin-right, 0) * 1%);
|
|
90
|
+
|
|
91
|
+
/* For debugging purposes - outline that doesn't affect layout */
|
|
92
|
+
outline: 1px solid rgba(255, 0, 0, 0.5);
|
|
93
|
+
outline-offset: -1px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@media screen and (max-width: 40rem) {
|
|
97
|
+
[data-ff-cell] {
|
|
98
|
+
flex: 1 1 calc(var(--width-mobile, 100) * 1%);
|
|
99
|
+
max-width: calc(var(--width-mobile, 100) * 1%);
|
|
100
|
+
margin-left: calc(var(--margin-left-mobile, 0) * 1%);
|
|
101
|
+
margin-right: calc(var(--margin-right-mobile, 0) * 1%);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FF_Repo } from './';
|
|
2
|
+
import type { CellMetadata } from './customField';
|
|
3
|
+
interface Props<valueType = unknown, entityType = unknown> {
|
|
4
|
+
cell: CellMetadata<valueType, entityType>;
|
|
5
|
+
r?: FF_Repo<entityType>;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare class __sveltets_Render<valueType = unknown, entityType = unknown> {
|
|
9
|
+
props(): Props<valueType, entityType>;
|
|
10
|
+
events(): {};
|
|
11
|
+
slots(): {};
|
|
12
|
+
bindings(): "";
|
|
13
|
+
exports(): {};
|
|
14
|
+
}
|
|
15
|
+
interface $$IsomorphicComponent {
|
|
16
|
+
new <valueType = unknown, entityType = unknown>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<valueType, entityType>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<valueType, entityType>['props']>, ReturnType<__sveltets_Render<valueType, entityType>['events']>, ReturnType<__sveltets_Render<valueType, entityType>['slots']>> & {
|
|
17
|
+
$$bindings?: ReturnType<__sveltets_Render<valueType, entityType>['bindings']>;
|
|
18
|
+
} & ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
19
|
+
<valueType = unknown, entityType = unknown>(internal: unknown, props: ReturnType<__sveltets_Render<valueType, entityType>['props']> & {}): ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
20
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any, any>['bindings']>;
|
|
21
|
+
}
|
|
22
|
+
declare const FfCell: $$IsomorphicComponent;
|
|
23
|
+
type FfCell<valueType = unknown, entityType = unknown> = InstanceType<typeof FfCell<valueType, entityType>>;
|
|
24
|
+
export default FfCell;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<script lang="ts" generics="valueType = unknown, entityType = unknown">
|
|
2
|
+
import type { CellMetadata } from './customField'
|
|
3
|
+
|
|
4
|
+
interface Props<valueType = unknown, entityType = unknown> {
|
|
5
|
+
key: string
|
|
6
|
+
ui: CellMetadata<valueType, entityType>['ui']
|
|
7
|
+
caption?: string
|
|
8
|
+
class?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
let { ui, key, class: localClass, caption }: Props<valueType, entityType> = $props()
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
{#if ui?.component?.caption === undefined || ui?.component?.caption === 'show'}
|
|
15
|
+
<label data-ff-cell-caption for={key} class={localClass}>{@html caption}</label>
|
|
16
|
+
{:else if ui?.component?.caption === 'remove'}
|
|
17
|
+
<!-- Nothing -->
|
|
18
|
+
{:else if ui?.component?.caption === 'hide'}
|
|
19
|
+
<span data-ff-cell-caption class={localClass}></span>
|
|
20
|
+
{/if}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CellMetadata } from './customField';
|
|
2
|
+
interface Props<valueType = unknown, entityType = unknown> {
|
|
3
|
+
key: string;
|
|
4
|
+
ui: CellMetadata<valueType, entityType>['ui'];
|
|
5
|
+
caption?: string;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare class __sveltets_Render<valueType = unknown, entityType = unknown> {
|
|
9
|
+
props(): Props<valueType, entityType>;
|
|
10
|
+
events(): {};
|
|
11
|
+
slots(): {};
|
|
12
|
+
bindings(): "";
|
|
13
|
+
exports(): {};
|
|
14
|
+
}
|
|
15
|
+
interface $$IsomorphicComponent {
|
|
16
|
+
new <valueType = unknown, entityType = unknown>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<valueType, entityType>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<valueType, entityType>['props']>, ReturnType<__sveltets_Render<valueType, entityType>['events']>, ReturnType<__sveltets_Render<valueType, entityType>['slots']>> & {
|
|
17
|
+
$$bindings?: ReturnType<__sveltets_Render<valueType, entityType>['bindings']>;
|
|
18
|
+
} & ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
19
|
+
<valueType = unknown, entityType = unknown>(internal: unknown, props: ReturnType<__sveltets_Render<valueType, entityType>['props']> & {}): ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
20
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any, any>['bindings']>;
|
|
21
|
+
}
|
|
22
|
+
declare const FfCellCaption: $$IsomorphicComponent;
|
|
23
|
+
type FfCellCaption<valueType = unknown, entityType = unknown> = InstanceType<typeof FfCellCaption<valueType, entityType>>;
|
|
24
|
+
export default FfCellCaption;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<script lang="ts" generics="valueType = unknown, entityType = unknown">
|
|
2
|
+
import { getClasses, getDynamicCustomField, type DisplayTheme } from '.'
|
|
3
|
+
import { isComponentObject, type CustomFieldDefaultProps } from './customField'
|
|
4
|
+
|
|
5
|
+
interface Props extends CustomFieldDefaultProps {
|
|
6
|
+
classes?: DisplayTheme
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
let { field, value, error, classes: localClasses = {} }: Props = $props()
|
|
10
|
+
|
|
11
|
+
// let valueList = getValueList(field) as { id: string; caption: string }[] | undefined
|
|
12
|
+
|
|
13
|
+
let classes = $derived(getClasses('display', localClasses))
|
|
14
|
+
const dynamicCustomField = getDynamicCustomField()?.({ field, value, error, mode: 'display' })
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
{#if field.options.ui?.component?.display}
|
|
18
|
+
{@const customField = field.options.ui?.component?.display}
|
|
19
|
+
{#if isComponentObject(customField)}
|
|
20
|
+
{@const Component = customField.component}
|
|
21
|
+
<Component {field} bind:value {error} {...customField.props} />
|
|
22
|
+
{:else}
|
|
23
|
+
{@const Component = customField}
|
|
24
|
+
<Component {field} bind:value {error} />
|
|
25
|
+
{/if}
|
|
26
|
+
{:else if dynamicCustomField}
|
|
27
|
+
{#if isComponentObject(dynamicCustomField)}
|
|
28
|
+
{@const Component = dynamicCustomField.component}
|
|
29
|
+
<Component {field} bind:value {error} {...dynamicCustomField.props} />
|
|
30
|
+
{:else}
|
|
31
|
+
{@const Component = dynamicCustomField}
|
|
32
|
+
<Component {field} bind:value {error} />
|
|
33
|
+
{/if}
|
|
34
|
+
{:else if field.inputType === 'checkbox'}
|
|
35
|
+
<input
|
|
36
|
+
disabled
|
|
37
|
+
data-ff-display-checkbox
|
|
38
|
+
class={classes?.checkbox}
|
|
39
|
+
type="checkbox"
|
|
40
|
+
checked={value as boolean}
|
|
41
|
+
/>
|
|
42
|
+
{:else if field.displayValue}
|
|
43
|
+
<div data-ff-display>
|
|
44
|
+
{field.displayValue({ [field.key]: value } as Partial<entityType>)}
|
|
45
|
+
</div>
|
|
46
|
+
{:else}
|
|
47
|
+
<div data-ff-display>
|
|
48
|
+
{value} NOT READY JYC!
|
|
49
|
+
</div>
|
|
50
|
+
{/if}
|
|
51
|
+
|
|
52
|
+
<style>
|
|
53
|
+
[data-ff-display-checkbox] {
|
|
54
|
+
display: block;
|
|
55
|
+
margin: 0 auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-ff-display] {
|
|
59
|
+
min-height: 20px;
|
|
60
|
+
}
|
|
61
|
+
</style>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type DisplayTheme } from '.';
|
|
2
|
+
import { type CustomFieldDefaultProps } from './customField';
|
|
3
|
+
interface Props extends CustomFieldDefaultProps {
|
|
4
|
+
classes?: DisplayTheme;
|
|
5
|
+
}
|
|
6
|
+
declare class __sveltets_Render<valueType = unknown, entityType = unknown> {
|
|
7
|
+
props(): Props;
|
|
8
|
+
events(): {};
|
|
9
|
+
slots(): {};
|
|
10
|
+
bindings(): "";
|
|
11
|
+
exports(): {};
|
|
12
|
+
}
|
|
13
|
+
interface $$IsomorphicComponent {
|
|
14
|
+
new <valueType = unknown, entityType = unknown>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<valueType, entityType>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<valueType, entityType>['props']>, ReturnType<__sveltets_Render<valueType, entityType>['events']>, ReturnType<__sveltets_Render<valueType, entityType>['slots']>> & {
|
|
15
|
+
$$bindings?: ReturnType<__sveltets_Render<valueType, entityType>['bindings']>;
|
|
16
|
+
} & ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
17
|
+
<valueType = unknown, entityType = unknown>(internal: unknown, props: ReturnType<__sveltets_Render<valueType, entityType>['props']> & {}): ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
18
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any, any>['bindings']>;
|
|
19
|
+
}
|
|
20
|
+
declare const FfCellDisplay: $$IsomorphicComponent;
|
|
21
|
+
type FfCellDisplay<valueType = unknown, entityType = unknown> = InstanceType<typeof FfCellDisplay<valueType, entityType>>;
|
|
22
|
+
export default FfCellDisplay;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<script lang="ts" generics="valueType = unknown, entityType = unknown">
|
|
2
|
+
import { getValueList, type FieldMetadata } from 'remult'
|
|
3
|
+
|
|
4
|
+
import { getClasses, getDynamicCustomField } from '.'
|
|
5
|
+
import type { EditTheme } from '.'
|
|
6
|
+
import { isComponentObject } from './customField'
|
|
7
|
+
|
|
8
|
+
const default_uid = $props.id()
|
|
9
|
+
|
|
10
|
+
interface Props {
|
|
11
|
+
uid?: string
|
|
12
|
+
field: FieldMetadata<valueType, entityType>
|
|
13
|
+
value: valueType
|
|
14
|
+
error?: string
|
|
15
|
+
classes?: EditTheme
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
let {
|
|
19
|
+
uid = default_uid,
|
|
20
|
+
field,
|
|
21
|
+
value = $bindable(),
|
|
22
|
+
error,
|
|
23
|
+
classes: localClasses = {},
|
|
24
|
+
}: Props = $props()
|
|
25
|
+
|
|
26
|
+
let valueList = getValueList(field) as { id: string; caption: string }[] | undefined
|
|
27
|
+
|
|
28
|
+
let classes = $derived(getClasses('edit', localClasses))
|
|
29
|
+
const dynamicCustomField = getDynamicCustomField()?.({ field, value, error, mode: 'edit' })
|
|
30
|
+
|
|
31
|
+
const fromInput = (val: any) => {
|
|
32
|
+
// console.log(`fromInput`, val)
|
|
33
|
+
const res = field.valueConverter.fromInput(val)
|
|
34
|
+
// if (res && field.inputType === 'datetime-local') {
|
|
35
|
+
// const date = new Date(res)
|
|
36
|
+
// date.setMinutes(date.getMinutes() - date.getTimezoneOffset())
|
|
37
|
+
// return date.toISOString().slice(0, 16)
|
|
38
|
+
// }
|
|
39
|
+
return res
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const toInput = (val: any) => {
|
|
43
|
+
// console.log(`toInput1`, val)
|
|
44
|
+
const res = field.valueConverter.toInput(val)
|
|
45
|
+
// console.log(`toInput2`, res)
|
|
46
|
+
return res
|
|
47
|
+
}
|
|
48
|
+
</script>
|
|
49
|
+
|
|
50
|
+
{#if field.options.ui?.component?.edit}
|
|
51
|
+
{@const customField = field.options.ui?.component?.edit}
|
|
52
|
+
{#if isComponentObject(customField)}
|
|
53
|
+
{@const Component = customField.component}
|
|
54
|
+
<Component {field} bind:value {error} {...customField.props} />
|
|
55
|
+
{:else}
|
|
56
|
+
{@const Component = customField}
|
|
57
|
+
<Component {field} bind:value {error} />
|
|
58
|
+
{/if}
|
|
59
|
+
{:else if dynamicCustomField}
|
|
60
|
+
{#if isComponentObject(dynamicCustomField)}
|
|
61
|
+
{@const Component = dynamicCustomField.component}
|
|
62
|
+
<Component {field} bind:value {error} {...dynamicCustomField.props} />
|
|
63
|
+
{:else}
|
|
64
|
+
{@const Component = dynamicCustomField}
|
|
65
|
+
<Component {field} bind:value {error} />
|
|
66
|
+
{/if}
|
|
67
|
+
{:else if valueList}
|
|
68
|
+
<select data-ff-cell-edit-select class={classes?.select} id={uid} bind:value>
|
|
69
|
+
{#each valueList as item (item.id)}
|
|
70
|
+
<option value={item}>{item.caption}</option>
|
|
71
|
+
{/each}
|
|
72
|
+
</select>
|
|
73
|
+
{:else if field.inputType === 'checkbox'}
|
|
74
|
+
<div style="display: flex; align-items: center; height: 3rem;">
|
|
75
|
+
<input
|
|
76
|
+
data-ff-cell-edit-checkbox
|
|
77
|
+
class={classes?.checkbox}
|
|
78
|
+
id={uid}
|
|
79
|
+
type="checkbox"
|
|
80
|
+
bind:checked={value as boolean}
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
{:else}
|
|
84
|
+
<input
|
|
85
|
+
autocomplete="off"
|
|
86
|
+
data-ff-cell-edit-input
|
|
87
|
+
class={classes?.input}
|
|
88
|
+
id={uid}
|
|
89
|
+
type={field.options.inputType}
|
|
90
|
+
placeholder={field.options.ui?.placeholder}
|
|
91
|
+
bind:value={() => fromInput(value as any), (v) => (value = toInput(v) as valueType)}
|
|
92
|
+
step={field.options.ui?.step}
|
|
93
|
+
/>
|
|
94
|
+
{/if}
|
|
95
|
+
|
|
96
|
+
<style>
|
|
97
|
+
input[data-ff-cell-edit-input] {
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
select[data-ff-cell-edit-select] {
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type FieldMetadata } from 'remult';
|
|
2
|
+
import type { EditTheme } from '.';
|
|
3
|
+
declare class __sveltets_Render<valueType = unknown, entityType = unknown> {
|
|
4
|
+
props(): {
|
|
5
|
+
uid?: string;
|
|
6
|
+
field: FieldMetadata<valueType, entityType>;
|
|
7
|
+
value: valueType;
|
|
8
|
+
error?: string;
|
|
9
|
+
classes?: EditTheme;
|
|
10
|
+
};
|
|
11
|
+
events(): {};
|
|
12
|
+
slots(): {};
|
|
13
|
+
bindings(): "value";
|
|
14
|
+
exports(): {};
|
|
15
|
+
}
|
|
16
|
+
interface $$IsomorphicComponent {
|
|
17
|
+
new <valueType = unknown, entityType = unknown>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<valueType, entityType>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<valueType, entityType>['props']>, ReturnType<__sveltets_Render<valueType, entityType>['events']>, ReturnType<__sveltets_Render<valueType, entityType>['slots']>> & {
|
|
18
|
+
$$bindings?: ReturnType<__sveltets_Render<valueType, entityType>['bindings']>;
|
|
19
|
+
} & ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
20
|
+
<valueType = unknown, entityType = unknown>(internal: unknown, props: ReturnType<__sveltets_Render<valueType, entityType>['props']> & {}): ReturnType<__sveltets_Render<valueType, entityType>['exports']>;
|
|
21
|
+
z_$$bindings?: ReturnType<__sveltets_Render<any, any>['bindings']>;
|
|
22
|
+
}
|
|
23
|
+
declare const FfCellEdit: $$IsomorphicComponent;
|
|
24
|
+
type FfCellEdit<valueType = unknown, entityType = unknown> = InstanceType<typeof FfCellEdit<valueType, entityType>>;
|
|
25
|
+
export default FfCellEdit;
|