@acedatacloud/nexior 3.30.4 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{Auth-kGCys-gn.js → Auth-FDpP6sdw.js} +1 -1
- package/dist/assets/BotPlaceholder-C_tpj9cL.js +1 -0
- package/dist/assets/{Callback-DWSKlIl4.js → Callback-CF8NsFTN.js} +1 -1
- package/dist/assets/Console-DsJn6ORf.css +1 -0
- package/dist/assets/{Console-_IS1qii3.js → Console-DyDrK8jD.js} +1 -1
- package/dist/assets/{Conversation-Dohp2ZWp.css → Conversation-BmozhRPZ.css} +1 -1
- package/dist/assets/{Conversation-DuQtYVf4.js → Conversation-CbIvRgjb.js} +2 -2
- package/dist/assets/{CopyToClipboard-CEtp94k8.js → CopyToClipboard-BGClcrVG.js} +1 -1
- package/dist/assets/Detail-Cc46R_61.js +2 -0
- package/dist/assets/{Detail-D68ZlN5z.css → Detail-bHGSLGGq.css} +1 -1
- package/dist/assets/{EditArray-cZSRSfyf.js → EditArray-DhB4A-4P.js} +1 -1
- package/dist/assets/{Extra-CbORdop1.js → Extra-OG6qZqkS.js} +1 -1
- package/dist/assets/{FilePreview-Cs6OrAfv.js → FilePreview-vHpQ_39Y.js} +1 -1
- package/dist/assets/{History-gexbX9Zv.js → History-DkRw43Cl.js} +1 -1
- package/dist/assets/{ImagePreview--cM1y0-F.js → ImagePreview-Dif2Q49Y.js} +1 -1
- package/dist/assets/{ImageWrapper-CQl1PxLF.js → ImageWrapper-BskBzKqs.js} +1 -1
- package/dist/assets/ImageWrapper-CCC9KDpV.css +1 -0
- package/dist/assets/{Index-C7BtYXwv.js → Index-7-MqNqOx.js} +1 -1
- package/dist/assets/{Index-BCpgwdRH.js → Index-AOp1iyZX.js} +1 -1
- package/dist/assets/Index-B13mfXWf.js +1 -0
- package/dist/assets/{Index-DxzQLCOp.css → Index-B5VME3qz.css} +1 -1
- package/dist/assets/Index-BDaawPtT.css +1 -0
- package/dist/assets/Index-BJeIJzAF.js +1 -0
- package/dist/assets/Index-BOSlmfKu.js +1 -0
- package/dist/assets/Index-BS8oOxbR.css +1 -0
- package/dist/assets/{Index-CuZIoeXJ.css → Index-BUzTQm1k.css} +1 -1
- package/dist/assets/Index-B_WaHvVq.js +1 -0
- package/dist/assets/Index-BcUqDqOp.css +1 -0
- package/dist/assets/Index-BhKFb4US.js +1 -0
- package/dist/assets/Index-BhtS87g8.js +1 -0
- package/dist/assets/Index-Bi5z34-z.js +1 -0
- package/dist/assets/{Index-DpA3efz6.css → Index-Bohx5BOg.css} +1 -1
- package/dist/assets/Index-BqrsebVL.css +1 -0
- package/dist/assets/Index-Bs6AJerX.js +1 -0
- package/dist/assets/Index-By3C66Xq.js +1 -0
- package/dist/assets/Index-CE9mr3hy.js +1 -0
- package/dist/assets/Index-CQ8oi7FR.css +1 -0
- package/dist/assets/Index-CQsHLtL9.js +1 -0
- package/dist/assets/{Index-DWp92Qyv.css → Index-CTvpJ6Ko.css} +1 -1
- package/dist/assets/Index-Ce2hzTUa.css +1 -0
- package/dist/assets/{Index-Br9x7GnA.css → Index-ChN0dWdx.css} +1 -1
- package/dist/assets/Index-Ct_ncjNQ.css +1 -0
- package/dist/assets/Index-CvNs7Qc8.js +1 -0
- package/dist/assets/{Index-aB38D9pu.js → Index-CvWL3dnP.js} +1 -1
- package/dist/assets/Index-D-RbCzhR.js +1 -0
- package/dist/assets/{Index-BJHZd94h.js → Index-DAl7VUx0.js} +1 -1
- package/dist/assets/{Index-D5sduOkc.js → Index-DI0a679Y.js} +1 -1
- package/dist/assets/{Index-DxhkmCSp.css → Index-DJoSN5Ve.css} +1 -1
- package/dist/assets/Index-DVoeUmg0.css +1 -0
- package/dist/assets/Index-Do0VKmX9.css +1 -0
- package/dist/assets/{Index-Ch-rWHP2.css → Index-M_bCFF5S.css} +1 -1
- package/dist/assets/{Index-CB8Rnaiw.css → Index-OEKXTaNJ.css} +1 -1
- package/dist/assets/{Index-feu64dNe.css → Index-Q9b6AHOk.css} +1 -1
- package/dist/assets/Index-clf6vq08.css +1 -0
- package/dist/assets/Index-fmHObafV.js +1 -0
- package/dist/assets/Index-m8G7Pz-J.js +1 -0
- package/dist/assets/{Invitees-CYP2iQv2.js → Invitees-BjwE0w-8.js} +1 -1
- package/dist/assets/{List-CAfyfgl5.js → List-8o9CvgyI.js} +1 -1
- package/dist/assets/{List-DSRVmKTe.js → List-BfHX6UFu.js} +1 -1
- package/dist/assets/{List-CdFnDuaR.js → List-DVknUaOz.js} +1 -1
- package/dist/assets/{Main-BIRiKmiG.js → Main-B9Wl0aM6.js} +1 -1
- package/dist/assets/Main-CiQBunQe.css +1 -0
- package/dist/assets/Navigator-CZkWVWzN.js +1 -0
- package/dist/assets/Navigator-CwNZQUMg.css +1 -0
- package/dist/assets/NoTasks-4TJvTcNH.js +1 -0
- package/dist/assets/{Pagination-Dw29mJpo.js → Pagination-DrZT-YqX.js} +1 -1
- package/dist/assets/{ScrollList-6wsUvcj6.js → ScrollList-BSHydg5K.js} +1 -1
- package/dist/assets/{Status-CLz-FCw7.js → Status-CU3tRVGG.js} +1 -1
- package/dist/assets/Status-nxFeE51N.css +1 -0
- package/dist/assets/{Subscribe-CV4VHuLD.js → Subscribe-DEpZJt9v.js} +1 -1
- package/dist/assets/{TransportWebHID-CzVKn3HZ.js → TransportWebHID-x82bKdqW.js} +1 -1
- package/dist/assets/{VideoPlayer-DMQFBZXN.js → VideoPlayer-DhXW0ZpT.js} +1 -1
- package/dist/assets/{avatar-CN1uA8Po.js → avatar-Bypfdb1U.js} +1 -1
- package/dist/assets/avatar-i-yziJxn.css +1 -0
- package/dist/assets/{bignumber-BLJFVpCv.js → bignumber-D2i_F2iN.js} +1 -1
- package/dist/assets/common-2iCqJUYS.js +1 -0
- package/dist/assets/{distribution-Bn30t-dJ.js → distribution-DQWow-W5.js} +1 -1
- package/dist/assets/{index-BtWLfZip.js → index-7qIS8l-a.js} +1 -1
- package/dist/assets/{index-qzP26Lh5.js → index-BJU-syOe.js} +1 -1
- package/dist/assets/{index-D5QRd2Da.js → index-BPpDhZjH.js} +1 -1
- package/dist/assets/{index-BC2cccGJ.css → index-Bkear63z.css} +1 -1
- package/dist/assets/{index-DxHsOOmw.js → index-BnkMqzhi.js} +1 -1
- package/dist/assets/{index-DE_Wy0Gu.js → index-DWmgW--A.js} +1 -1
- package/dist/assets/{index-CZva-t16.js → index-Dd5huPwi.js} +1 -1
- package/dist/assets/{index-CCYW3AUY.js → index-DgtHfSqf.js} +27 -27
- package/dist/assets/{index-DGZsu5Ph.js → index-nzc2MroZ.js} +1 -1
- package/dist/assets/{index.es-mIRAKQ1A.js → index.es-CQANB9vJ.js} +1 -1
- package/dist/assets/order-BBkqrzA1.js +1 -0
- package/dist/assets/order-BIslMDZP.js +1 -0
- package/dist/assets/{order-DrwwxsRb.js → order-iKdGqXyS.js} +1 -1
- package/dist/assets/{price-hx3Y1R4a.js → price-Cbls6Qoc.js} +1 -1
- package/dist/assets/{solana-wallets-Cb3-7F7O.js → solana-wallets-CkstrrV4.js} +2 -2
- package/dist/assets/{solanaEmbed.esm-DHLMHDSC.js → solanaEmbed.esm-B1Go1xNW.js} +1 -1
- package/dist/assets/{string_decoder-BDwfFX0y.js → string_decoder-ll7baEuM.js} +1 -1
- package/dist/assets/{vendor-web3-CZJ1DcWo.js → vendor-web3-BXoVw72d.js} +4 -4
- package/dist/assets/{web-CwxjKiW2.js → web-Bl4nr7zA.js} +1 -1
- package/dist/assets/{web-DEeVFGiX.js → web-DE8XF-r4.js} +1 -1
- package/dist/index.html +15 -11
- package/package.json +1 -1
- package/dist/assets/BotPlaceholder-DghltQML.js +0 -1
- package/dist/assets/Console-C-Pnay3G.css +0 -1
- package/dist/assets/Detail-t2hlFwRn.js +0 -2
- package/dist/assets/ImageWrapper-DEadO_7m.css +0 -1
- package/dist/assets/Index-Acpzatzh.js +0 -1
- package/dist/assets/Index-B0a5arSf.js +0 -1
- package/dist/assets/Index-BLbwI9y2.css +0 -1
- package/dist/assets/Index-BNmeEQ_3.js +0 -1
- package/dist/assets/Index-BOpc0vYw.css +0 -1
- package/dist/assets/Index-Bb5DDJPy.js +0 -1
- package/dist/assets/Index-BjRYYdFX.js +0 -1
- package/dist/assets/Index-BqOX37kc.css +0 -1
- package/dist/assets/Index-BrxMTx-Y.js +0 -1
- package/dist/assets/Index-C57ALtjZ.js +0 -1
- package/dist/assets/Index-C60cc38l.js +0 -1
- package/dist/assets/Index-CByCCg-O.css +0 -1
- package/dist/assets/Index-CQHCtrEM.css +0 -1
- package/dist/assets/Index-CfVhUM4U.js +0 -1
- package/dist/assets/Index-CujgCEXB.css +0 -1
- package/dist/assets/Index-D8nMB7dN.js +0 -1
- package/dist/assets/Index-DXRd2oDS.css +0 -1
- package/dist/assets/Index-DY0jBLbu.css +0 -1
- package/dist/assets/Index-DYZt7wpr.css +0 -1
- package/dist/assets/Index-DZ-DbWl-.js +0 -1
- package/dist/assets/Index-DdS211RO.css +0 -1
- package/dist/assets/Index-HQInAAfi.js +0 -1
- package/dist/assets/Index-lMyEH6f1.js +0 -1
- package/dist/assets/Index-u8wK3QUd.js +0 -1
- package/dist/assets/Index-zpannX8x.js +0 -1
- package/dist/assets/Main-CFT_d-Ox.css +0 -1
- package/dist/assets/Navigator-CjErsr21.js +0 -1
- package/dist/assets/Navigator-O-mZrlgA.css +0 -1
- package/dist/assets/NoTasks-CSLShB84.js +0 -1
- package/dist/assets/Status-CGJoVgMo.css +0 -1
- package/dist/assets/avatar-Cfr3XS98.css +0 -1
- package/dist/assets/common-81UClLTs.js +0 -1
- package/dist/assets/order-691hfcVo.js +0 -1
- package/dist/assets/order-sPPLdLb3.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as M}from"./index-BLy_0GNg.js";import{P,W as w,b as E,c as L,d as p,e as U,f as O,T as W,g as R}from"./vendor-web3-
|
|
1
|
+
import{r as M}from"./index-BLy_0GNg.js";import{P,W as w,b as E,c as L,d as p,e as U,f as O,T as W,g as R}from"./vendor-web3-BXoVw72d.js";import"./vendor-vue-1w_NBnjl.js";import"./vendor-dayjs-CzbnksQQ.js";var a;(function(n){n.PROJECT_APPROVED="PROJECT_APPROVED",n.HANDSHAKE="HANDSHAKE",n.HANDSHAKE_ACK="HANDSHAKE_ACK",n.SIGNED_TRANSACTION="SIGNED_TRANSACTION",n.SIGNED_PARTIAL_TRANSACTION="SIGNED_PARTIAL_TRANSACTION",n.FAILED_TO_SIGN_TRANSACTION="FAILED_TO_SIGN_TRANSACTION",n.TRANSACTION_DENIED="TRANSACTION_DENIED",n.SOLANA_WALLET_ADAPTER_APPROVED="SOLANA_WALLET_ADAPTER_APPROVED",n.SOLANA_WALLET_ADAPTER_DENIED="SOLANA_WALLET_ADAPTER_DENIED",n.POPUP_CLOSED="POPUP_CLOSED",n.TRANSACTION_SIGNATURE_NEEDED="TRANSACTION_SIGNATURE_NEEDED",n.TRANSACTION_SIGNATURE_NEEDED_RESPONSE="TRANSACTION_SIGNATURE_NEEDED_RESPONSE",n.AUTH_LOADED="AUTH_LOADED",n.MESSAGE_SIGNATURE_NEEDED="MESSAGE_SIGNATURE_NEEDED",n.MESSAGE_SIGNATURE_NEEDED_RESPONSE="MESSAGE_SIGNATURE_NEEDED_RESPONSE",n.ONRAMP_FULFILLMENT_COMPLETE="ONRAMP_FULFILLMENT_COMPLETE",n.ONRAMP_REJECTED="ONRAMP_REJECTED"})(a||(a={}));var g;(function(n){n.UNKNOWN="UNKNOWN",n.REACT_SDK="REACT_SDK",n.SOLANA_WALLET_ADAPTER="SOLANA_WALLET_ADAPTER"})(g||(g={}));class v{constructor(t,e){this.validatedOrigin=t,this.targetWindow=e,this.handlers=new Map}off(t,e){const i=this.handlers.get(t);i?.delete(e)}on(t,e){var i;const r=(i=this.handlers.get(t))!==null&&i!==void 0?i:new Set;r.add(e),this.handlers.set(t,r)}send({event:t,payload:e}){this.targetWindow.postMessage({event:t,payload:e},this.validatedOrigin)}runHandlersForEvent(t,e){const i=this.handlers.get(t);if(i)for(const r of i)r(e)}resetHandlers(){this.handlers.clear()}export(){return{off:this.off.bind(this),on:this.on.bind(this),send:this.send.bind(this),validatedOrigin:this.validatedOrigin}}}const y="https://fractal.is",m="https://www.fractal.is",b=400,h=600;function G(n){return n===m||n===y}const K="fractal:approval:popup",H=["resizable","scrollbars=1","status=1"];function $({left:n=0,scope:t=window,top:e=0,width:i=h,height:r=h,url:c}){return t.open(c,K,F({height:r,left:n,top:e,width:i}))}function F({height:n,left:t,top:e,width:i}){return["popup",`left=${t}`,`top=${e}`,`width=${i}`,`height=${n}`,...H].join(",")}class x{constructor(t){this.platform=t,this.connection=null,this.popupWindow=null,this.handleMessage=e=>{var i,r;if(!G(e.origin))return;const c=e.origin;if(this.popupWindow){if(e.data.event===a.HANDSHAKE&&!this.connection){if(!this.verifyAndResetNonce((i=e.data.payload)===null||i===void 0?void 0:i.nonce))return;this.popupWindow.postMessage({event:a.HANDSHAKE_ACK,payload:{platform:this.platform}},c),this.connection=new v(c,this.popupWindow),(r=this.connectionUpdatedCallback)===null||r===void 0||r.call(this,this.connection)}this.connection&&(this.connection.runHandlersForEvent(e.data.event,e.data.payload),e.data.event===a.POPUP_CLOSED&&this.connection&&(this.resetConnection(),this.popupWindow=null))}}}initialize(){return window.addEventListener("message",this.handleMessage),this}tearDown(){return window.removeEventListener("message",this.handleMessage),this.resetConnection(),this}async open({url:t,widthPx:e=b,heightPx:i=h,nonce:r}){var c;if(!((c=this.popupWindow)===null||c===void 0)&&c.closed&&this.resetConnectionAndPopupWindow(),this.popupWindow)return;this.initialize(),r&&(this.nonce=r);const d=window.screenX+(window.innerWidth-e)/2,A=window.screenY+(window.innerHeight-i)/2;this.popupWindow=$({height:i,left:d,top:A,url:typeof t=="string"?t:void 0,width:e}),t instanceof Promise&&this.setUrl(await t)}close(){this.popupWindow&&(this.popupWindow.close(),this.resetConnectionAndPopupWindow())}onConnectionUpdated(t){return this.connectionUpdatedCallback=t,this}getConnection(){return this.connection}setUrl(t){this.popupWindow&&(this.popupWindow.location=t)}resetConnectionAndPopupWindow(){this.resetConnection(),this.popupWindow=null}resetConnection(){var t,e;(t=this.connection)===null||t===void 0||t.resetHandlers(),this.connection=null,(e=this.connectionUpdatedCallback)===null||e===void 0||e.call(this,this.connection)}verifyAndResetNonce(t){if(!this.nonce)return!0;const e=t===this.nonce;return e&&(this.nonce=void 0),e}}M();function f(n){return!(n===null||typeof n!="object")}function k(n){return!(!f(n)||!("solanaPublicKey"in n)||typeof n.solanaPublicKey!="string")}function B(n){return!f(n)||!("signedB58Transactions"in n)||!Array.isArray(n.signedB58Transactions)?!1:n.signedB58Transactions.every(t=>typeof t=="string")}function J(n){return!f(n)||!("decodedSignature"in n)?!1:typeof n.decodedSignature=="string"}function _(){return`${T()}${T()}${T()}`}function T(){return(Math.random()+1).toString(36).substring(7)}const N="Unknown Error",D="https://fractal.is",j=`${D}/wallet-adapter/approve`,V=`${D}/wallet-adapter/sign`,X=`${D}/wallet-adapter/sign/message`,I=h,C=850,S="RdxqNYxF";class Z{constructor(){this.popupManager=new x(g.SOLANA_WALLET_ADAPTER),this.publicKey=null,this.connecting=!1}getPublicKey(){return this.publicKey}async connect(){let t,e;const i=window.localStorage.getItem(S);if(i)return this.publicKey=new P(i),Promise.resolve();const r=_();this.popupManager.open({nonce:r,url:`${j}/${r}`});const c=s=>{if(!k(s)){e(new p(`Malformed payload when setting up connection. Expected { solanaPublicKey: string } but received ${JSON.stringify(s)}`)),this.popupManager.close();return}try{this.publicKey=new P(s.solanaPublicKey),window.localStorage.setItem(S,s.solanaPublicKey),t()}catch(o){const l=new U(o instanceof Error?o.message:N,o);e(l)}this.popupManager.close()},d=()=>{e(new p("The user denied the connection.")),this.popupManager.close()},A=()=>{e(new p("The user denied the connection.")),this.popupManager.close()};return this.popupManager.onConnectionUpdated(s=>{s&&(s.on(a.SOLANA_WALLET_ADAPTER_APPROVED,c),s.on(a.SOLANA_WALLET_ADAPTER_DENIED,d),s.on(a.POPUP_CLOSED,A))}),new Promise((s,o)=>{t=s,e=o})}async disconnect(){this.popupManager.tearDown(),this.publicKey=null,window.localStorage.removeItem(S)}async signTransaction(t){try{return this.checkWalletReadiness(),(await this.signTransactions([t]))[0]}catch(e){let i=e;throw e instanceof w||(i=new E(e instanceof Error?e.message:N,e)),i}}async signAllTransactions(t){try{return this.checkWalletReadiness(),await this.signTransactions(t)}catch(e){let i=e;throw e instanceof w||(i=new E(e instanceof Error?e.message:N,e)),i}}async signMessage(t){const e=new TextDecoder().decode(t);let i,r;const c=o=>{if(!J(o)){const u=new O(`Malformed payload when signing message. Expected { decodedSignature: string } but received ${JSON.stringify(o)}`);r(u),this.popupManager.close();return}const l=Uint8Array.from(o.decodedSignature.split(",").map(u=>Number(u)));i(l),this.popupManager.close()},d=()=>{r(new O("The user did not approve the message")),this.popupManager.close()},A=()=>{var o;const l={decodedMessage:e};(o=this.popupManager.getConnection())===null||o===void 0||o.send({event:a.MESSAGE_SIGNATURE_NEEDED,payload:l})},s=_();return this.popupManager.open({heightPx:Math.max(I,Math.floor(window.innerHeight*.8)),nonce:s,url:`${X}/${s}`,widthPx:Math.min(C,Math.floor(window.innerWidth*.8))}),this.popupManager.onConnectionUpdated(o=>{o&&(o.on(a.MESSAGE_SIGNATURE_NEEDED_RESPONSE,c),o.on(a.TRANSACTION_DENIED,d),o.on(a.POPUP_CLOSED,d),o.on(a.AUTH_LOADED,A))}),new Promise((o,l)=>{i=o,r=l})}async signTransactions(t){let e,i;const r=s=>{if(!B(s)){const l=new E(`Malformed payload when signing transactions. Expected { signedB58Transactions: string[] } but received ${JSON.stringify(s)}`);i(l),this.popupManager.close();return}const o=s.signedB58Transactions.map(l=>W.from(R.decode(l)));e(o),this.popupManager.close()},c=()=>{i(new E("The user did not approve the transaction")),this.popupManager.close()},d=()=>{var s;const o={unsignedB58Transactions:t.map(l=>R.encode(l.serializeMessage()))};(s=this.popupManager.getConnection())===null||s===void 0||s.send({event:a.TRANSACTION_SIGNATURE_NEEDED,payload:o})},A=_();return this.popupManager.open({heightPx:Math.max(I,Math.floor(window.innerHeight*.8)),nonce:A,url:`${V}/${A}`,widthPx:Math.min(C,Math.floor(window.innerWidth*.8))}),this.popupManager.onConnectionUpdated(s=>{s&&(s.on(a.TRANSACTION_SIGNATURE_NEEDED_RESPONSE,r),s.on(a.TRANSACTION_DENIED,c),s.on(a.POPUP_CLOSED,c),s.on(a.AUTH_LOADED,d))}),new Promise((s,o)=>{e=s,i=o})}checkWalletReadiness(){if(this.publicKey===null)throw new L("`publicKey` is null. Did you forget to call `.connect()`?")}}export{Z as FractalWalletAdapterImpl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ah as S,ai as D}from"./index-
|
|
1
|
+
import{ah as S,ai as D}from"./index-DgtHfSqf.js";import{d as F,c as b,w as T,h as W}from"./vendor-vue-1w_NBnjl.js";function i(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(n){i(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function R(e,t){if(e==null)return{};var r,n,u=L(e,t);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(n=0;n<f.length;n++)r=f[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}function L(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function $(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function U(e){var t=$(e,"string");return typeof t=="symbol"?t:t+""}function h(e){"@babel/helpers - typeof";return h=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},h(e)}function w(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?i({},e,t):{}}function q(e){var t,r=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},i(i(i(i(i(i(i(i(i(i(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),i(i(i(i(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(r).map(function(n){return r[n]?n:null}).filter(function(n){return n})}var E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},z={exports:{}};(function(e){(function(t){var r=function(a,l,c){if(!m(l)||k(l)||K(l)||N(l)||o(l))return l;var d,g=0,P=0;if(s(l))for(d=[],P=l.length;g<P;g++)d.push(r(a,l[g],c));else{d={};for(var x in l)Object.prototype.hasOwnProperty.call(l,x)&&(d[a(x,c)]=r(a,l[x],c))}return d},n=function(a,l){l=l||{};var c=l.separator||"_",d=l.split||/(?=[A-Z])/;return a.split(d).join(c)},u=function(a){return C(a)?a:(a=a.replace(/[\-_\s]+(.)?/g,function(l,c){return c?c.toUpperCase():""}),a.substr(0,1).toLowerCase()+a.substr(1))},f=function(a){var l=u(a);return l.substr(0,1).toUpperCase()+l.substr(1)},v=function(a,l){return n(a,l).toLowerCase()},y=Object.prototype.toString,o=function(a){return typeof a=="function"},m=function(a){return a===Object(a)},s=function(a){return y.call(a)=="[object Array]"},k=function(a){return y.call(a)=="[object Date]"},K=function(a){return y.call(a)=="[object RegExp]"},N=function(a){return y.call(a)=="[object Boolean]"},C=function(a){return a=a-0,a===a},O=function(a,l){var c=l&&"process"in l?l.process:l;return typeof c!="function"?a:function(d,g){return c(d,a,g)}},j={camelize:u,decamelize:v,pascalize:f,depascalize:v,camelizeKeys:function(a,l){return r(O(u,l),a)},decamelizeKeys:function(a,l){return r(O(v,l),a,l)},pascalizeKeys:function(a,l){return r(O(f,l),a)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=j:t.humps=j})(E)})(z);var G=z.exports,Z=["class","style"];function H(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),u=G.camelize(r.slice(0,n)),f=r.slice(n+1).trim();return t[u]=f,t},{})}function J(e){return e.split(/\s+/).reduce(function(t,r){return t[r]=!0,t},{})}function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var n=(e.children||[]).map(function(o){return A(o)}),u=Object.keys(e.attributes||{}).reduce(function(o,m){var s=e.attributes[m];switch(m){case"class":o.class=J(s);break;case"style":o.style=H(s);break;default:o.attrs[m]=s}return o},{attrs:{},class:{},style:{}});r.class;var f=r.style,v=f===void 0?{}:f,y=R(r,Z);return W(e.tag,p(p(p({},t),{},{class:u.class,style:p(p({},u.style),v)},u.attrs),y),n)}var I=!1;try{I=!0}catch{}function M(){if(!I&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function _(e){if(e&&h(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(S.icon)return S.icon(e);if(e===null)return null;if(h(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var X=F({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,r){var n=r.attrs,u=b(function(){return _(t.icon)}),f=b(function(){return w("classes",q(t))}),v=b(function(){return w("transform",typeof t.transform=="string"?S.transform(t.transform):t.transform)}),y=b(function(){return w("mask",_(t.mask))}),o=b(function(){var s=p(p(p(p({},f.value),v.value),y.value),{},{symbol:t.symbol,maskId:t.maskId});return s.title=t.title,s.titleId=t.titleId,D(u.value,s)});T(o,function(s){if(!s)return M("Could not find one or more icon(s)",u.value,y.value)},{immediate:!0});var m=b(function(){return o.value?A(o.value.abstract[0],{},n):null});return function(){return m.value}}});export{X as F};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.pay":{message:"支付",description:"按钮中的文本,用于支付订单。"},"button.continuePay":{message:"继续支付",description:"按钮中的文本,用于继续支付订单。"},"button.checkDetail":{message:"查看详情",description:"按钮中的文本,用于查看订单详情。"},"button.query":{message:"查询",description:"按钮中的文本,用于查询订单。"},"button.finish":{message:"手动完成",description:"按钮中的文本,用于手动完成订单。"},"button.update":{message:"更新",description:"按钮中的文本,用于更新订单。"},"field.id":{message:"订单ID",description:"订单的ID。"},"field.amount":{message:"金额",description:"订单的积分金额。"},"field.price":{message:"金额",description:"订单的积分金额。"},"field.description":{message:"订单描述",description:"订单的描述。"},"field.state":{message:"状态",description:"订单的状态。"},"field.createdAt":{message:"创建时间",description:"订单的创建时间。"},"field.service":{message:"服务名称",description:"服务的名称。"},"field.payWay":{message:"支付方式",description:"订单的支付方式。"},"field.api":{message:"API",description:"API是一种在线服务。"},"field.proxy":{message:"代理",description:"代理是一种在线服务,指用于传输数据的HTTP代理。"},"message.paidSuccessfully":{message:"支付成功",description:"支付成功的消息。"},"message.orderExpired":{message:"订单已过期,请创建新订单以进行支付。",description:"过期订单的消息。"},"message.createFailed":{message:"创建失败",description:"创建失败的消息。"},"message.wechatPayHelp":{message:"请在手机上打开微信,扫描完成支付",description:"微信支付帮助的消息。"},"message.free":{message:"免费",description:"免费订单的消息。"},"message.buyInExternalUrl":{message:"请在外部链接中完成支付",description:"外部链接支付的消息。"},"message.updateFailed":{message:"更新失败",description:"更新失败的消息。"},"message.updateSuccessfully":{message:"更新成功",description:"更新成功的消息。"},"message.confirmFinish":{message:"此操作将手动将订单设置为支付状态并完成分发处理,无法撤销。请确认客户已完成支付,您要继续吗?",description:"确认完成的消息。"},"state.pending":{message:"待支付",description:"订单的状态,表示该订单仍在等待用户支付。"},"state.paid":{message:"已支付",description:"订单的状态,表示该订单已支付。"},"state.finished":{message:"已完成",description:"订单的状态,表示该订单已完成。"},"state.expired":{message:"支付超时",description:"订单的状态,表示该订单已过期。"},"state.failed":{message:"支付失败",description:"订单的状态,表示该订单支付失败。"},"title.info":{message:"订单信息",description:"作为网站标题显示的标题,表示订单信息。"},"title.wechatPay":{message:"微信支付",description:"作为网站标题显示的标题,表示微信支付。"},"title.aliPay":{message:"支付宝",description:"作为网站标题显示的标题,表示支付宝支付,支付宝支付是一种在线支付。"},"title.stripe":{message:"Stripe",description:"作为网站标题显示的标题,表示Stripe支付,Stripe支付是一种在线支付。"},"title.manageOrder":{message:"管理订单",description:"作为网站标题显示的标题,表示管理订单。"},"title.x402":{message:"加密货币",description:"作为网站标题显示的标题,表示加密货币支付(基于 X402 支付方案)。"},"title.paypal":{message:"PayPal",description:"作为网站标题显示的标题,表示 PayPal 支付。"},"message.discountTag":{message:"{percent}% 折扣",description:"展示已应用折扣百分比的徽标文案。"},"message.discountHint":{message:"您是我们的专属 VIP 客户,可自动享受 {percent}% 的折扣。",description:"提示用户因 VIP 身份自动享受折扣的说明文案。"},"message.x402DiscountApplied":{message:"通过 X402 支付,额外享受 {percent}% OFF 优惠。",description:"用于说明 X402 支付带来的额外折扣。"},"message.x402DiscountTag":{message:"{percent}% 折扣",description:"突出显示选择 X402 支付可额外享受的折扣百分比。"},"message.x402DiscountHint":{message:"选择 X402 支付,即刻额外享受 {percent}% OFF 优惠。",description:"向用户说明通过 X402 支付可解锁额外折扣的提示文案。"},"message.x402IntroShort":{message:"选择钱包直接完成 USDC 支付。",description:"简短介绍文案。"},"message.x402TabWallet":{message:"钱包支付",description:"钱包支付 Tab 标题。"},"message.x402TabApi":{message:"编程式",description:"编程式 Tab 标题。"},"message.x402WalletTitle":{message:"连接钱包并支付 USDC",description:"X402 钱包快捷支付标题(USDC)。"},"message.x402WalletConnected":{message:"已连接",description:"钱包已连接时展示的标签。"},"message.x402ConnectWallet":{message:"连接钱包",description:"连接 EVM 钱包按钮文案。"},"message.x402NoWalletDesc":{message:"请使用支持钱包的浏览器(推荐 Chrome/Brave),或安装 MetaMask/Phantom 扩展;也可在手机钱包 App 的内置浏览器中打开本页面。",description:"通用无钱包说明。"},"message.x402SwitchNetwork":{message:"请在钱包中切换钱包网络为 {network}",description:"提示用户切换到指定链网络的文案。"},"message.x402SolanaNotEnabled":{message:"Solana X402 后端尚未启用。",description:"当该订单未启用 Solana X402 时提示。"},"message.x402NeedConnectAccount":{message:"请先连接钱包。",description:"未连接钱包时显示的提醒。"},"message.x402ConfirmTitle":{message:"确认支付",description:"X402 支付确认弹窗标题。"},"message.x402ConfirmDesc":{message:"确认在 {network} 上支付 USDC?",description:"X402 支付确认弹窗描述。"},"message.x402StepsTitle":{message:"支付步骤",description:"步骤标题。"},"message.x402Step1":{message:"连接钱包(若未安装请先安装扩展后刷新本页面或用手机钱包打开本页面)",description:"步骤1 文案。"},"message.x402Step2":{message:"修改钱包设置,确认钱包网络为 {network}",description:"步骤2 文案。"},"message.x402Step3":{message:"点击“使用钱包支付”,在钱包中完成授权签名",description:"步骤3 文案。"},"message.x402Step4":{message:"签名成功后我们将自动结算,完成后本页面会自动更新为已支付",description:"步骤4 文案。"},"message.x402IntegrationResourceLabel":{message:"支付接口地址",description:"支付接口地址标签。"},"message.x402IntegrationPayToLabel":{message:"结算地址",description:"展示区块链结算地址的标签。"},"message.x402IntegrationNetworkLabel":{message:"网络",description:"展示区块链网络名称的标签。"},"message.x402IntegrationAssetLabel":{message:"结算资产",description:"展示结算资产的标签。"},"message.x402IntegrationFallback":{message:"未获取到完整的会话数据,请参考开发文档或联系支持获取必要参数。",description:"当无法获取会话数据时显示的提示信息。"},"message.x402IntegrationDocsCta":{message:"打开 X402 开发指引",description:"用于打开开发者指引的行动按钮文案。"},"message.x402InstallGuideTitle":{message:"安装钱包扩展",description:"钱包安装说明弹窗标题。"},"message.x402InstallGuideDesc":{message:"请按照下列步骤完成 {wallet} 扩展安装,然后使用下方按钮刷新本页面以重新检测钱包。",description:"指引用户完成钱包扩展安装的描述。"},"message.x402InstallGuideStep1":{message:"在新打开的页面下载安装 {wallet} 浏览器扩展(推荐 Chrome/Brave)。",description:"钱包安装步骤1。"},"message.x402InstallGuideStep2":{message:"完成扩展安装、登录/解锁,并确认已在当前浏览器配置文件中启用。",description:"钱包安装步骤2。"},"message.x402InstallGuideStep3":{message:"回到本页面,点击“我已经安装”刷新后再尝试“连接钱包”。",description:"钱包安装步骤3。"},"message.x402InstallGuideConfirm":{message:"我已经安装",description:"完成钱包安装后的主按钮。"},"message.x402NetworkGuideTitle":{message:"调整网络设置",description:"网络不匹配说明弹窗标题。"},"message.x402NetworkGuideDesc":{message:"请按照下列步骤将钱包网络切换为 {network},完成后刷新本页面重新检测。",description:"指引用户调整钱包网络的描述。"},"message.x402NetworkGuideStep1":{message:"打开钱包扩展,进入 Settings -> Active Networks。",description:"网络设置步骤1。"},"message.x402NetworkGuideStep2":{message:"在网络列表中,确认 {network}(或其他指定网络)已开启,如已开启可忽略本步骤。",description:"调整网络的第二步说明,无需关闭 Ethereum。"},"message.x402NetworkGuideStep3":{message:"回到本页面,点击“我已经设置完毕”刷新后再尝试支付。",description:"网络设置步骤3。"},"message.x402NetworkGuideConfirm":{message:"我已经设置完毕",description:"完成网络设置后的主按钮。"},"message.x402NetworkSwitchFailed":{message:"当前钱包不支持自动切换网络,请在钱包中手动切换到指定网络后再重试。",description:"提示用户钱包不支持自动切换网络,需要手动切换。"},"message.x402PaymentFailed":{message:"X402 钱包支付失败,请稍后重试。如多次失败,请联系支持并提供错误信息。",description:"X402 钱包支付失败时弹出的通用错误提示。"},"message.x402WalletPayCta":{message:"使用钱包支付",description:"使用绑定钱包完成支付按钮文案。"},"button.refund":{message:"退款",description:"按钮中的文本,用于手动退款订单。"},"field.applicationId":{message:"申请ID",description:"订单所属的申请ID。"},"field.serviceId":{message:"服务ID",description:"折扣对应的服务ID。"},"field.generalDiscount":{message:"通用折扣",description:"当折扣对所有服务生效时展示的标签。"},"field.userId":{message:"用户ID",description:"享受折扣的用户ID。"},"field.discount":{message:"折扣",description:"应用在该用户订单上的折扣比例。"},"field.actions":{message:"操作",description:"动作按钮列的标题。"},"message.confirmRefund":{message:"此操作将撤销该订单的权益并标记为已退款,无法撤销。请确认已经处理退款,是否继续?",description:"确认退款的消息。"},"message.x402IntegrationIntro":{message:"当前订单采用 X402 支付协议,请根据下方参数在服务端完成对接并发起支付。",description:"介绍需要使用 X402 协议的提示语。"},"message.x402IntegrationProtocol":{message:"调用 facilitator 支付接口并完成签名广播,结算成功后返回此页面确认状态。",description:"说明完成 X402 支付的操作步骤。"},"message.x402IntegrationDocsHint":{message:"想了解更多细节?请查看下方的开发文档。",description:"提醒用户可以通过开发文档获取更多信息的文案。"},"message.x402WalletTitleEvm":{message:"EVM 钱包",description:"EVM 钱包连接卡片标题。"},"message.x402WalletTitleSolana":{message:"Solana 钱包",description:"Solana 钱包连接卡片标题。"},"message.x402WalletStatusDetected":{message:"已检测",description:"已检测/已安装的钱包状态标签。"},"message.x402WalletStatusInstall":{message:"安装",description:"钱包安装入口/状态标签。"},"message.x402WalletStatusQr":{message:"二维码",description:"WalletConnect 二维码入口标签。"},"message.x402WalletConnectTitle":{message:"WalletConnect",description:"WalletConnect 二维码弹窗标题。"},"message.x402WalletConnectPreparing":{message:"正在准备 WalletConnect…",description:"准备 WalletConnect 连接时的提示。"},"message.x402WalletConnectOpenWallet":{message:"打开钱包",description:"手机端通过 WalletConnect 唤起钱包的按钮文案。"},"message.x402WalletConnectScanHint":{message:"请使用支持 WalletConnect 的钱包扫描二维码。",description:"WalletConnect 二维码下方的提示文案。"},"message.x402SwitchNetworkCta":{message:"切换到 {network}",description:"点击切换网络 CTA。"},"message.x402NoWalletTitle":{message:"未检测到 EVM 钱包",description:"当浏览器未注入 EVM 钱包时的标题。"},"message.x402NoWalletSafariDesc":{message:"Safari 通常不支持 MetaMask 等扩展,建议使用 Chrome/Brave,或在手机钱包 App 的内置浏览器中打开本页面。",description:"Safari 环境下的无钱包说明。"},"message.x402InstallMetaMask":{message:"安装 MetaMask",description:"安装 MetaMask 按钮文案。"},"message.x402InstallPhantom":{message:"安装 Phantom",description:"安装 Phantom 按钮文案。"},"message.x402ConnectWC":{message:"用 WalletConnect 连接",description:"用 WalletConnect 连接按钮文案。"},"message.x402RefreshDetect":{message:"重新检测",description:"重新检测钱包按钮文案。"},"message.x402MissingWCProjectId":{message:"未配置 WalletConnect Project ID(请设置环境变量 VITE_WALLETCONNECT_PROJECT_ID)",description:"缺少 WalletConnect 项目 ID 的提示。"},"message.x402WalletBound":{message:"已绑定",description:"已绑定钱包时显示的徽标。"},"message.userIdRequired":{message:"请输入用户ID。",description:"当用户ID为空时显示的提示信息。"},"message.serviceIdRequired":{message:"请选择服务。",description:"当服务ID为空时显示的提示信息。"},"message.discountRequired":{message:"请输入0到1之间的折扣。",description:"当折扣不在合法范围时显示的提示信息。"},"message.discountCreated":{message:"折扣保存成功。",description:"新增折扣成功时的提示信息。"},"message.discountUpdated":{message:"折扣更新成功。",description:"编辑折扣成功时的提示信息。"},"message.discountDeleted":{message:"折扣删除成功。",description:"删除折扣成功时的提示信息。"},"state.refunded":{message:"已退款",description:"订单的状态,表示该订单已退款。"},"title.revenueAnalysis":{message:"收益分析",description:"收益分析页面标题"},"title.todayRevenue":{message:"今日成交金额",description:"今日成交金额"},"title.last7dRevenue":{message:"近一周成交金额",description:"近一周成交金额"},"title.last30dRevenue":{message:"近一月成交金额",description:"近30天成交金额"},"title.last90dRevenue":{message:"近一季成交金额",description:"近90天成交金额"},"title.revenueTrend":{message:"收入趋势",description:"收入趋势折线图标题"},"title.manageOrderDiscount":{message:"折扣管理",description:"订单折扣管理页面标题。"},"title.discountLookup":{message:"当前折扣",description:"展示用户当前折扣的区块标题。"},"title.createDiscount":{message:"新增折扣",description:"创建新折扣的区块标题。"},"title.updateDiscount":{message:"更新折扣",description:"编辑折扣弹窗标题。"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.pay":{message:"Pay",description:"Text in button, used to pay for the order."},"button.continuePay":{message:"Continue Payment",description:"Text in button, used to continue paying for the order."},"button.checkDetail":{message:"View Details",description:"Text in button, used to view order details."},"button.query":{message:"Query",description:"Text in button, used to query the order."},"button.finish":{message:"Complete Manually",description:"Text in button, used to manually complete the order."},"button.update":{message:"Update",description:"Text in button, used to update the order."},"field.id":{message:"Order ID",description:"The ID of the order."},"field.amount":{message:"Amount",description:"The point amount of the order."},"field.price":{message:"Amount",description:"The point amount of the order."},"field.description":{message:"Order Description",description:"The description of the order."},"field.state":{message:"Status",description:"The status of the order."},"field.createdAt":{message:"Creation Time",description:"The creation time of the order."},"field.service":{message:"Service Name",description:"The name of the service."},"field.payWay":{message:"Payment Method",description:"The payment method for the order."},"field.api":{message:"API",description:"API is an online service."},"field.proxy":{message:"Proxy",description:"Proxy is an online service, referring to an HTTP proxy used for data transmission."},"message.paidSuccessfully":{message:"Payment Successful",description:"Message indicating successful payment."},"message.orderExpired":{message:"The order has expired, please create a new order to make a payment.",description:"Message for expired orders."},"message.createFailed":{message:"Creation Failed",description:"Message indicating creation failure."},"message.wechatPayHelp":{message:"Please open WeChat on your phone and scan to complete the payment.",description:"Message for WeChat payment help."},"message.free":{message:"Free",description:"Message for free orders."},"message.buyInExternalUrl":{message:"Please complete the payment in the external link.",description:"Message for external link payment."},"message.updateFailed":{message:"Update Failed",description:"Message indicating update failure."},"message.updateSuccessfully":{message:"Update Successful",description:"Message indicating successful update."},"message.confirmFinish":{message:"This action will manually set the order to paid status and complete the distribution process, which cannot be undone. Please confirm that the customer has completed the payment, do you want to continue?",description:"Message for confirming completion."},"state.pending":{message:"Pending Payment",description:"The status of the order, indicating that the order is still waiting for user payment."},"state.paid":{message:"Paid",description:"The status of the order, indicating that the order has been paid."},"state.finished":{message:"Completed",description:"The status of the order, indicating that the order has been completed."},"state.expired":{message:"Payment Timeout",description:"The status of the order, indicating that the order has expired."},"state.failed":{message:"Payment Failed",description:"The status of the order, indicating that the payment for the order has failed."},"title.info":{message:"Order Information",description:"Title displayed as the website title, indicating order information."},"title.wechatPay":{message:"WeChat Pay",description:"Title displayed as the website title, indicating WeChat payment."},"title.aliPay":{message:"Alipay",description:"Title displayed as the website title, indicating Alipay payment, which is an online payment."},"title.stripe":{message:"Stripe",description:"Title displayed as the website title, indicating Stripe payment, which is an online payment."},"title.manageOrder":{message:"Manage Orders",description:"Title displayed as the website title, indicating order management."},"title.x402":{message:"Cryptocurrency",description:"Title displayed as the website title, indicating cryptocurrency payment (based on the X402 payment scheme)."},"title.paypal":{message:"PayPal",description:"Title displayed as the website title, indicating PayPal payment."},"message.discountTag":{message:"{percent}% Discount",description:"Text for the badge showing the applied discount percentage."},"message.discountHint":{message:"As our exclusive VIP customer, you can automatically enjoy a {percent}% discount.",description:"Text explaining to the user that they automatically enjoy a discount due to VIP status."},"message.x402DiscountApplied":{message:"Enjoy an additional {percent}% OFF with X402 payment.",description:"Text explaining the additional discount brought by X402 payment."},"message.x402DiscountTag":{message:"{percent}% Discount",description:"Highlighting the discount percentage that can be additionally enjoyed by choosing X402 payment."},"message.x402DiscountHint":{message:"Select X402 payment to enjoy an additional {percent}% OFF discount immediately.",description:"A hint to inform users that they can unlock an additional discount by using X402 payment."},"message.x402IntroShort":{message:"Complete USDC payment directly with your wallet.",description:"A brief introductory message."},"message.x402TabWallet":{message:"Wallet Payment",description:"Title for the Wallet Payment tab."},"message.x402TabApi":{message:"Programmatic",description:"Title for the Programmatic tab."},"message.x402WalletTitle":{message:"Connect Wallet and Pay USDC",description:"Title for the X402 wallet quick payment (USDC)."},"message.x402WalletConnected":{message:"Connected",description:"Label displayed when the wallet is connected."},"message.x402ConnectWallet":{message:"Connect Wallet",description:"Text for the button to connect the EVM wallet."},"message.x402NoWalletDesc":{message:"Please use a browser that supports wallets (recommended Chrome/Brave), or install the MetaMask/Phantom extension; you can also open this page in the built-in browser of your mobile wallet app.",description:"General description for when no wallet is available."},"message.x402SwitchNetwork":{message:"Please switch your wallet network to {network}",description:"Text prompting the user to switch to the specified chain network."},"message.x402SolanaNotEnabled":{message:"Solana X402 backend is not yet enabled.",description:"Prompt when the order has not enabled Solana X402."},"message.x402NeedConnectAccount":{message:"Please connect your wallet first.",description:"Reminder displayed when the wallet is not connected."},"message.x402ConfirmTitle":{message:"Confirm Payment",description:"Title for the X402 payment confirmation popup."},"message.x402ConfirmDesc":{message:"Confirm payment of USDC on {network}?",description:"Description for the X402 payment confirmation popup."},"message.x402StepsTitle":{message:"Payment Steps",description:"Title for the steps."},"message.x402Step1":{message:"Connect your wallet (if not installed, please install the extension and refresh this page or open this page with your mobile wallet)",description:"Text for Step 1."},"message.x402Step2":{message:"Modify wallet settings to confirm the wallet network is {network}",description:"Text for Step 2."},"message.x402Step3":{message:"Click 'Use Wallet to Pay' and complete the authorization signature in your wallet",description:"Text for Step 3."},"message.x402Step4":{message:"After successful signing, we will automatically settle, and this page will refresh to show that payment has been completed.",description:"Text for Step 4."},"message.x402IntegrationResourceLabel":{message:"Payment API Address",description:"Label for the payment API address."},"message.x402IntegrationPayToLabel":{message:"Settlement Address",description:"Label displaying the blockchain settlement address."},"message.x402IntegrationNetworkLabel":{message:"Network",description:"Label displaying the blockchain network name."},"message.x402IntegrationAssetLabel":{message:"Settlement Asset",description:"Label displaying the settlement asset."},"message.x402IntegrationFallback":{message:"Failed to retrieve complete session data, please refer to the developer documentation or contact support for necessary parameters.",description:"Message displayed when session data cannot be retrieved."},"message.x402IntegrationDocsCta":{message:"Open X402 Developer Guide",description:"Text for the action button to open the developer guide."},"message.x402InstallGuideTitle":{message:"Install Wallet Extension",description:"Title for the wallet installation instructions popup."},"message.x402InstallGuideDesc":{message:"Please follow the steps below to complete the installation of the {wallet} extension, then use the button below to refresh this page to re-detect the wallet.",description:"Description guiding users to complete the wallet extension installation."},"message.x402InstallGuideStep1":{message:"Open the newly opened page to download and install the {wallet} browser extension (recommended Chrome/Brave).",description:"Step 1 for wallet installation."},"message.x402InstallGuideStep2":{message:"Complete the extension installation, log in/unlock, and confirm that it is enabled in the current browser profile.",description:"Step 2 for wallet installation."},"message.x402InstallGuideStep3":{message:"Return to this page, click 'I have installed' and refresh before trying to 'Connect Wallet' again.",description:"Step 3 for wallet installation."},"message.x402InstallGuideConfirm":{message:"I have installed",description:"Main button after completing wallet installation."},"message.x402NetworkGuideTitle":{message:"Adjust Network Settings",description:"Title for the network mismatch instructions popup."},"message.x402NetworkGuideDesc":{message:"Please follow the steps below to switch your wallet network to {network}, and refresh this page to re-detect after completion.",description:"Description guiding users to adjust their wallet network."},"message.x402NetworkGuideStep1":{message:"Open the wallet extension, go to Settings -> Active Networks.",description:"Step 1 for network settings."},"message.x402NetworkGuideStep2":{message:"In the network list, confirm that {network} (or another specified network) is enabled. If it is enabled, you can ignore this step.",description:"Instructions for the second step of adjusting the network, no need to turn off Ethereum."},"message.x402NetworkGuideStep3":{message:"Return to this page and click 'I have completed the setup' to refresh and try the payment again.",description:"Network setup step 3."},"message.x402NetworkGuideConfirm":{message:"I have completed the setup",description:"Main button after completing the network setup."},"message.x402NetworkSwitchFailed":{message:"The current wallet does not support automatic network switching. Please manually switch to the specified network in the wallet and try again.",description:"Prompt to inform the user that the wallet does not support automatic network switching and needs to switch manually."},"message.x402PaymentFailed":{message:"X402 wallet payment failed, please try again later. If it fails multiple times, please contact support and provide the error information.",description:"General error prompt that appears when X402 wallet payment fails."},"message.x402WalletPayCta":{message:"Pay with wallet",description:"Button text for completing payment using the bound wallet."},"button.refund":{message:"Refund",description:"Text in the button for manually refunding an order."},"field.applicationId":{message:"Application ID",description:"The application ID associated with the order."},"field.serviceId":{message:"Service ID",description:"The service ID corresponding to the discount."},"field.generalDiscount":{message:"General Discount",description:"Label displayed when the discount applies to all services."},"field.userId":{message:"User ID",description:"The user ID that enjoys the discount."},"field.discount":{message:"Discount",description:"The discount rate applied to the user's order."},"field.actions":{message:"Actions",description:"Title for the action button column."},"message.confirmRefund":{message:"This action will revoke the rights of this order and mark it as refunded, and cannot be undone. Please confirm that you have processed the refund, do you want to continue?",description:"Message to confirm the refund."},"message.x402IntegrationIntro":{message:"The current order uses the X402 payment protocol. Please complete the integration on the server side based on the parameters below and initiate the payment.",description:"Introduction to the need to use the X402 protocol."},"message.x402IntegrationProtocol":{message:"Call the facilitator payment interface and complete the signature broadcast. After successful settlement, return to this page to confirm the status.",description:"Instructions for completing the X402 payment operation steps."},"message.x402IntegrationDocsHint":{message:"Want to know more details? Please check the development documentation below.",description:"Text reminding users that they can get more information through the development documentation."},"message.x402WalletTitleEvm":{message:"EVM Wallet",description:"Title for the EVM wallet connection card."},"message.x402WalletTitleSolana":{message:"Solana Wallet",description:"Title for the Solana wallet connection card."},"message.x402WalletStatusDetected":{message:"Detected",description:"Status label for detected/installed wallets."},"message.x402WalletStatusInstall":{message:"Install",description:"Wallet installation entry/status label."},"message.x402WalletStatusQr":{message:"QR Code",description:"Label for the WalletConnect QR code entry."},"message.x402WalletConnectTitle":{message:"WalletConnect",description:"Title for the WalletConnect QR code popup."},"message.x402WalletConnectPreparing":{message:"Preparing WalletConnect…",description:"Prompt when preparing the WalletConnect connection."},"message.x402WalletConnectOpenWallet":{message:"Open Wallet",description:"Button text to invoke the wallet via WalletConnect on mobile."},"message.x402WalletConnectScanHint":{message:"Please use a wallet that supports WalletConnect to scan the QR code.",description:"Prompt text below the WalletConnect QR code."},"message.x402SwitchNetworkCta":{message:"Switch to {network}",description:"CTA for clicking to switch networks."},"message.x402NoWalletTitle":{message:"No EVM Wallet Detected",description:"Title when no EVM wallet is injected in the browser."},"message.x402NoWalletSafariDesc":{message:"Safari usually does not support extensions like MetaMask. It is recommended to use Chrome/Brave or open this page in the built-in browser of the mobile wallet app.",description:"Description for no wallet in Safari environment."},"message.x402InstallMetaMask":{message:"Install MetaMask",description:"Button text for installing MetaMask."},"message.x402InstallPhantom":{message:"Install Phantom",description:"Button text for installing Phantom."},"message.x402ConnectWC":{message:"Connect with WalletConnect",description:"Button text for connecting with WalletConnect."},"message.x402RefreshDetect":{message:"Re-detect",description:"Button text for re-detecting the wallet."},"message.x402MissingWCProjectId":{message:"WalletConnect Project ID not configured (please set the environment variable VITE_WALLETCONNECT_PROJECT_ID)",description:"Prompt for missing WalletConnect project ID."},"message.x402WalletBound":{message:"Bound",description:"Badge displayed when the wallet is bound."},"message.userIdRequired":{message:"Please enter the user ID.",description:"Prompt message displayed when the user ID is empty."},"message.serviceIdRequired":{message:"Please select a service.",description:"Prompt message displayed when the service ID is empty."},"message.discountRequired":{message:"Please enter a discount between 0 and 1.",description:"Prompt message displayed when the discount is not within the valid range."},"message.discountCreated":{message:"Discount saved successfully.",description:"Prompt message displayed when a new discount is successfully created."},"message.discountUpdated":{message:"Discount updated successfully.",description:"Prompt message displayed when a discount is successfully edited."},"message.discountDeleted":{message:"Discount deleted successfully.",description:"Prompt message displayed when a discount is successfully deleted."},"state.refunded":{message:"Refunded",description:"The status of the order, indicating that the order has been refunded."},"title.revenueAnalysis":{message:"Revenue Analysis",description:"Title of the revenue analysis page."},"title.todayRevenue":{message:"Today's Transaction Amount",description:"Today's transaction amount."},"title.last7dRevenue":{message:"Transaction Amount in the Last Week",description:"Transaction amount in the last week."},"title.last30dRevenue":{message:"Transaction Amount in the Last Month",description:"Transaction amount in the last 30 days."},"title.last90dRevenue":{message:"Transaction Amount in the Last Quarter",description:"Transaction amount in the last 90 days."},"title.revenueTrend":{message:"Revenue Trend",description:"Title of the revenue trend line chart."},"title.manageOrderDiscount":{message:"Discount Management",description:"Title of the order discount management page."},"title.discountLookup":{message:"Current Discounts",description:"Title of the section displaying the user's current discounts."},"title.createDiscount":{message:"Create New Discount",description:"Title of the section for creating a new discount."},"title.updateDiscount":{message:"Update Discount",description:"Title of the popup for editing a discount."}};export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ak as t}from"./index-
|
|
1
|
+
import{ak as t}from"./index-DgtHfSqf.js";class s{key="orders";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async refresh(e){return await t.post(`/${this.key}/${e}/refresh/`)}async pay(e,a){return await t.post(`/${this.key}/${e}/pay/`,a)}async payX402WithHeader(e,a,r){return await t.post(`/${this.key}/${e}/pay/`,a,{headers:{"X-PAYMENT":r}})}async updatePrice(e,a){return await t.post(`/${this.key}/${e}/update-price/`,a)}async finish(e){return await t.post(`/${this.key}/${e}/finish/`)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const y=new s;export{y as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{am as s,an as i,ao as u}from"./index-
|
|
1
|
+
import{am as s,an as i,ao as u}from"./index-DgtHfSqf.js";const l=n=>{const e=i.state.exchange;let{value:o,currency:t=i.state.currency||"usd"}=n;const r=u[t];if(!e)return{value:o,currency:t,label:r};const a=`usd-${t}`,c=e[a];return c&&(o=o*c),console.log("new price",{value:o,currency:t}),{value:o,currency:t,label:r}},d=n=>{let{value:e,defaultValue:o,fractionDigits:t=2}=n;if(e===void 0&&(e=o),e===void 0)return"";const r=l({value:e});return`${r.label}${r.value?.toFixed(t)}`},f=(n,e)=>{if(console.debug("getConsumption payload",n,e),!(!e||!Array.isArray(e))){console.debug("payload",n),console.debug("rules",e);for(const o of e){const t=o.conditions;if(s.apply(t,n))return s.apply(o.consumption,n)}return 0}};export{f as a,d as g};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-web3-
|
|
2
|
-
import{_ as e}from"./vendor-web3-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-web3-BXoVw72d.js","assets/vendor-vue-1w_NBnjl.js","assets/vendor-dayjs-CzbnksQQ.js","assets/vendor-web3-CY2j0e5U.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"./vendor-web3-BXoVw72d.js";import"./vendor-vue-1w_NBnjl.js";import"./vendor-dayjs-CzbnksQQ.js";async function p(l){const[{default:n},{WalletAdapterNetwork:o},a]=await Promise.all([e(()=>import("./vendor-web3-BXoVw72d.js").then(t=>t.L),__vite__mapDeps([0,1,2,3])),e(()=>import("./vendor-web3-BXoVw72d.js").then(t=>t.K),__vite__mapDeps([0,1,2,3])),e(()=>import("./vendor-web3-BXoVw72d.js").then(t=>t.M),__vite__mapDeps([0,1,2,3]))]);await e(()=>import("./vendor-web3-BXoVw72d.js").then(t=>t.N),__vite__mapDeps([0,1,2,3]));const r="8442ba82a50e5d4a993fc9d82ba15c59",i={wallets:[new a.PhantomWalletAdapter,new a.SolflareWalletAdapter({network:o.Mainnet}),new a.NightlyWalletAdapter,new a.WalletConnectWalletAdapter({network:o.Mainnet,options:{projectId:r,metadata:{name:"AceData",description:"AceData WalletConnect",url:window.location.origin,icons:["https://cdn.acedata.cloud/acedata.jpg"]}}})]};l.use(n,i)}export{p as installSolanaWallets};
|