gemi 0.4.75 → 0.4.77

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 (34) hide show
  1. package/dist/{chunk-8bf925705fdcef0c.js → chunk-0db33ac43bd1d504.js} +1 -1
  2. package/dist/chunk-1188efed5cccf7ee.js +2 -0
  3. package/dist/{chunk-1c56f79378e4123d.js → chunk-193d58e0d5debcce.js} +1 -1
  4. package/dist/chunk-262b22a97074dc8e.js +2 -0
  5. package/dist/chunk-33a7a8e8edf3b1f5.js +18 -0
  6. package/dist/{chunk-9c05674e98ebc485.js → chunk-46c8ce96eb46b34e.js} +1 -1
  7. package/dist/chunk-503c9c540c3e0da0.js +3 -0
  8. package/dist/{chunk-b943cac32cc3670f.js → chunk-510bdb2fff647a32.js} +1 -1
  9. package/dist/{chunk-f9d7921dc209275a.js → chunk-64e4ceaa55b4483e.js} +1 -1
  10. package/dist/{chunk-30daf610f498e198.js → chunk-6cb18981e131ebdb.js} +1 -1
  11. package/dist/{chunk-5fb9d31b7b4629e9.js → chunk-8401f0f53dc26633.js} +1 -1
  12. package/dist/{chunk-48b2990a93ae50b3.js → chunk-86828b70027cd6b5.js} +2 -2
  13. package/dist/{chunk-269dd2cd89aa1c32.js → chunk-895d9b1ef7a65211.js} +1 -1
  14. package/dist/{chunk-9631e167bae739a0.js → chunk-89e90a79da7b7d4f.js} +1 -1
  15. package/dist/chunk-92acbb11789c8564.js +2 -0
  16. package/dist/{chunk-d4eceea16ddc567d.js → chunk-95e4f6637849e021.js} +2 -2
  17. package/dist/{chunk-168ace6fc79b185b.js → chunk-a3a347630c23269b.js} +1 -1
  18. package/dist/{chunk-4e37f45d636da627.js → chunk-ce4edd37b38f213e.js} +1 -1
  19. package/dist/{chunk-52dd5453e79e1cef.js → chunk-e2694d95f2b71db0.js} +2 -2
  20. package/dist/{chunk-4ad752c87b795617.js → chunk-ff29cddef49e00e4.js} +1 -1
  21. package/dist/client/HttpReload.d.ts.map +1 -1
  22. package/dist/client/index.js +1 -1
  23. package/dist/email/index.js +1 -1
  24. package/dist/kernel/index.js +1 -1
  25. package/dist/services/index.js +10 -1
  26. package/dist/vite/{index-DgYsNMcB.mjs → index-BDp-rm3S.mjs} +3 -3
  27. package/dist/vite/index.mjs +1 -1
  28. package/dist/vite/{typescript-Cv6BtTKL.mjs → typescript-x31i_8Ji.mjs} +1 -1
  29. package/package.json +1 -1
  30. package/dist/chunk-28c7d04b6f555350.js +0 -3
  31. package/dist/chunk-3abc648638ed6645.js +0 -18
  32. package/dist/chunk-5c1c113b94101135.js +0 -2
  33. package/dist/chunk-a5da5f8d6f9e8633.js +0 -2
  34. package/dist/chunk-e64fe80074576b85.js +0 -2
@@ -1,2 +1,2 @@
1
1
  import{B as ee} from"./chunk-e3d242546d1a2927.js";var te=ee((re,T)=>{var R,j,I,P,N,D,C,F,L,H,M,G,U,m,A,W,V,B,E,Y,K,q,z,Q,J,X,Z,$,g,k,x;(function(c){var O=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(b){c(w(O,w(b)))});else if(typeof T==="object"&&typeof re==="object")c(w(O,w(re)));else c(w(O));function w(b,e){if(b!==O)if(typeof Object.create==="function")Object.defineProperty(b,"__esModule",{value:!0});else b.__esModule=!0;return function(t,r){return b[t]=e?e(t,r):r}}})(function(c){var O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};R=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");O(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)},j=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e},I=function(e,t){var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)r[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))r[n[a]]=e[n[a]]}return r},P=function(e,t,r,n){var a=arguments.length,o=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)if(i=e[u])o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o;return a>3&&o&&Object.defineProperty(t,r,o),o},N=function(e,t){return function(r,n){t(r,n,e)}},D=function(e,t,r,n,a,o){function i(v){if(v!==void 0&&typeof v!=="function")throw new TypeError("Function expected");return v}var u=n.kind,_=u==="getter"?"get":u==="setter"?"set":"value",f=!t&&e?n.static?e:e.prototype:null,l=t||(f?Object.getOwnPropertyDescriptor(f,n.name):{}),y,S=!1;for(var s=r.length-1;s>=0;s--){var p={};for(var d in n)p[d]=d==="access"?{}:n[d];for(var d in n.access)p.access[d]=n.access[d];p.addInitializer=function(v){if(S)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(v||null))};var h=r[s](u==="accessor"?{get:l.get,set:l.set}:l[_],p);if(u==="accessor"){if(h===void 0)continue;if(h===null||typeof h!=="object")throw new TypeError("Object expected");if(y=i(h.get))l.get=y;if(y=i(h.set))l.set=y;if(y=i(h.init))a.unshift(y)}else if(y=i(h))if(u==="field")a.unshift(y);else l[_]=y}if(f)Object.defineProperty(f,n.name,l);S=!0},C=function(e,t,r){var n=arguments.length>2;for(var a=0;a<t.length;a++)r=n?t[a].call(e,r):t[a].call(e);return n?r:void 0},F=function(e){return typeof e==="symbol"?e:"".concat(e)},L=function(e,t,r){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},H=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},M=function(e,t,r,n){function a(o){return o instanceof r?o:new r(function(i){i(o)})}return new(r||(r=Promise))(function(o,i){function u(l){try{f(n.next(l))}catch(y){i(y)}}function _(l){try{f(n.throw(l))}catch(y){i(y)}}function f(l){l.done?o(l.value):a(l.value).then(u,_)}f((n=n.apply(e,t||[])).next())})},G=function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(f){return function(l){return _([f,l])}}function _(f){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,f[0]&&(r=0)),r)try{if(n=1,a&&(o=f[0]&2?a.return:f[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,f[1])).done)return o;if(a=0,o)f=[f[0]&2,o.value];switch(f[0]){case 0:case 1:o=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if((o=r.trys,!(o=o.length>0&&o[o.length-1]))&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){r.label=f[1];break}if(f[0]===6&&r.label<o[1]){r.label=o[1],o=f;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(f);break}if(o[2])r.ops.pop();r.trys.pop();continue}f=t.call(e,r)}catch(l){f=[6,l],a=0}finally{n=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},U=function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))g(t,e,r)},g=Object.create?function(e,t,r,n){if(n===void 0)n=r;var a=Object.getOwnPropertyDescriptor(t,r);if(!a||("get"in a?!t.__esModule:a.writable||a.configurable))a={enumerable:!0,get:function(){return t[r]}};Object.defineProperty(e,n,a)}:function(e,t,r,n){if(n===void 0)n=r;e[n]=t[r]},m=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],i;try{while((t===void 0||t-- >0)&&!(a=n.next()).done)o.push(a.value)}catch(u){i={error:u}}finally{try{if(a&&!a.done&&(r=n.return))r.call(n)}finally{if(i)throw i.error}}return o},W=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(A(arguments[t]));return e},V=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var o=arguments[t],i=0,u=o.length;i<u;i++,a++)n[a]=o[i];return n},B=function(e,t,r){if(r||arguments.length===2){for(var n=0,a=t.length,o;n<a;n++)if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))},E=function(e){return this instanceof E?(this.v=e,this):new E(e)},Y=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,o=[];return a={},u("next"),u("throw"),u("return",i),a[Symbol.asyncIterator]=function(){return this},a;function i(s){return function(p){return Promise.resolve(p).then(s,y)}}function u(s,p){if(n[s]){if(a[s]=function(d){return new Promise(function(h,v){o.push([s,d,h,v])>1||_(s,d)})},p)a[s]=p(a[s])}}function _(s,p){try{f(n[s](p))}catch(d){S(o[0][3],d)}}function f(s){s.value instanceof E?Promise.resolve(s.value.v).then(l,y):S(o[0][2],s)}function l(s){_("next",s)}function y(s){_("throw",s)}function S(s,p){if(s(p),o.shift(),o.length)_(o[0][0],o[0][1])}},K=function(e){var t,r;return t={},n("next"),n("throw",function(a){throw a}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(a,o){t[a]=e[a]?function(i){return(r=!r)?{value:E(e[a](i)),done:!1}:o?o(i):i}:o}},q=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof m==="function"?m(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(i){return new Promise(function(u,_){i=e[o](i),a(u,_,i.done,i.value)})}}function a(o,i,u,_){Promise.resolve(_).then(function(f){o({value:f,done:u})},i)}},z=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var w=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Q=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))g(t,e,r)}return w(t,e),t},J=function(e){return e&&e.__esModule?e:{default:e}},X=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Z=function(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r},$=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},k=function(e,t,r){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw new TypeError("Object expected.");var n,a;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(n=t[Symbol.dispose],r)a=n}if(typeof n!=="function")throw new TypeError("Object not disposable.");if(a)n=function(){try{a.call(this)}catch(o){return Promise.reject(o)}};e.stack.push({value:t,dispose:n,async:r})}else if(r)e.stack.push({async:!0});return t};var b=typeof SuppressedError==="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};x=function(e){function t(n){e.error=e.hasError?new b(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}function r(){while(e.stack.length){var n=e.stack.pop();try{var a=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(a).then(r,function(o){return t(o),r()})}catch(o){t(o)}}if(e.hasError)throw e.error}return r()},c("__extends",R),c("__assign",j),c("__rest",I),c("__decorate",P),c("__param",N),c("__esDecorate",D),c("__runInitializers",C),c("__propKey",F),c("__setFunctionName",L),c("__metadata",H),c("__awaiter",M),c("__generator",G),c("__exportStar",U),c("__createBinding",g),c("__values",m),c("__read",A),c("__spread",W),c("__spreadArrays",V),c("__spreadArray",B),c("__await",E),c("__asyncGenerator",Y),c("__asyncDelegator",K),c("__asyncValues",q),c("__makeTemplateObject",z),c("__importStar",Q),c("__importDefault",J),c("__classPrivateFieldGet",X),c("__classPrivateFieldSet",Z),c("__classPrivateFieldIn",$),c("__addDisposableResource",k),c("__disposeResources",x)})});
2
- export{te as Fb};
2
+ export{te as Eb};
@@ -1 +1 @@
1
- {"version":3,"file":"HttpReload.d.ts","sourceRoot":"","sources":["../../client/HttpReload.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,mCAuCtB,CAAC"}
1
+ {"version":3,"file":"HttpReload.d.ts","sourceRoot":"","sources":["../../client/HttpReload.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,mCAwCtB,CAAC"}
@@ -1809,7 +1809,7 @@ const HttpReload = () => {
1809
1809
  import.meta.hot.off("http-reload");
1810
1810
  }
1811
1811
  };
1812
- }, []);
1812
+ }, [pathname, params, searchParams]);
1813
1813
  if (!reloading || typeof document === "undefined") {
1814
1814
  return null;
1815
1815
  }
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../http/index.js";import"../facades/index.js";import{r as w,s as c} from"../kernel/index.js";import"../services/index.js";import"../chunk-b943cac32cc3670f.js";import"../chunk-e3d242546d1a2927.js";import"../chunk-5ea45ebea038bef4.js";import"../chunk-3abc648638ed6645.js";import"../chunk-28c7d04b6f555350.js";import"../chunk-4e37f45d636da627.js";import"../chunk-48b2990a93ae50b3.js";import"../chunk-5fb9d31b7b4629e9.js";import"../chunk-9631e167bae739a0.js";import"../chunk-d4eceea16ddc567d.js";import"../chunk-4ad752c87b795617.js";import{renderToStaticMarkup as u} from"react-dom/server";var x=(t)=>{return`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">${u(t)}`};class s{static async send(t,r){const e=new t,{to:a=e.to,from:l=e.from,subject:m=e.subject,cc:p=e.cc,bcc:T=e.bcc,attachments:d=e.attachments,data:E}=r,n=x(e.render(E));if(process.env.EMAIL_DEBUG){const o=`${process.env.ROOT_DIR}/.debug/emails/${(new Date()).toISOString()}${m}.html`;await Bun.write(o,n),Bun.spawnSync(["open",o]);return}await c.getContext().emailServiceProvider.send({bcc:T,cc:p,from:l,subject:m,to:a,attachments:d,html:n})}}import{createElement as f,Fragment as g} from"react";class i{from="doe@gemijs.dev";to=["hi@gemijs.dev"];subject="Welcome";cc=[];bcc=[];attachments=[];render(t){return console.log("EmailTemplate"),f(g,null,"EmailTemplate")}}export{i as EmailTemplate,w as EmailServiceProvider,s as Email};
2
+ import"../http/index.js";import"../facades/index.js";import{r as w,s as c} from"../kernel/index.js";import"../services/index.js";import"../chunk-510bdb2fff647a32.js";import"../chunk-e3d242546d1a2927.js";import"../chunk-5ea45ebea038bef4.js";import"../chunk-33a7a8e8edf3b1f5.js";import"../chunk-503c9c540c3e0da0.js";import"../chunk-ce4edd37b38f213e.js";import"../chunk-86828b70027cd6b5.js";import"../chunk-8401f0f53dc26633.js";import"../chunk-89e90a79da7b7d4f.js";import"../chunk-95e4f6637849e021.js";import"../chunk-ff29cddef49e00e4.js";import{renderToStaticMarkup as u} from"react-dom/server";var x=(t)=>{return`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">${u(t)}`};class s{static async send(t,r){const e=new t,{to:a=e.to,from:l=e.from,subject:m=e.subject,cc:p=e.cc,bcc:T=e.bcc,attachments:d=e.attachments,data:E}=r,n=x(e.render(E));if(process.env.EMAIL_DEBUG){const o=`${process.env.ROOT_DIR}/.debug/emails/${(new Date()).toISOString()}${m}.html`;await Bun.write(o,n),Bun.spawnSync(["open",o]);return}await c.getContext().emailServiceProvider.send({bcc:T,cc:p,from:l,subject:m,to:a,attachments:d,html:n})}}import{createElement as f,Fragment as g} from"react";class i{from="doe@gemijs.dev";to=["hi@gemijs.dev"];subject="Welcome";cc=[];bcc=[];attachments=[];render(t){return console.log("EmailTemplate"),f(g,null,"EmailTemplate")}}export{i as EmailTemplate,w as EmailServiceProvider,s as Email};