更改oauth认证后重新打包
This commit is contained in:
parent
583644a855
commit
4f57444311
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
202
livecodes/app.7fcf1b21cbdffdecc9025269aedd73c1.js
Normal file
202
livecodes/app.7fcf1b21cbdffdecc9025269aedd73c1.js
Normal file
File diff suppressed because one or more lines are too long
1
livecodes/assets.08d4d8674a2fdeb0bd201ce95fd7d26f.js
Normal file
1
livecodes/assets.08d4d8674a2fdeb0bd201ce95fd7d26f.js
Normal file
File diff suppressed because one or more lines are too long
1
livecodes/backup.654816164a6baf3af578bf81775b1857.js
Normal file
1
livecodes/backup.654816164a6baf3af578bf81775b1857.js
Normal file
File diff suppressed because one or more lines are too long
1
livecodes/broadcast.6452ef611a438e4067056d5dd690da01.js
Normal file
1
livecodes/broadcast.6452ef611a438e4067056d5dd690da01.js
Normal file
@ -0,0 +1 @@
|
||||
var L={APP_VERSION:"46",SDK_VERSION:"0.11.1",COMMIT_SHA:"43f0982",REPO_URL:"https://github.com/live-codes/livecodes",DOCS_BASE_URL:"/docs/"};var S='<div id="broadcast-container" class="modal-container"><div class="modal-title" data-i18n="broadcast.heading">Broadcast</div><div id="broadcast-screen-container" class="modal-screen-container"><div id="broadcast-status" class="modal-status"></div><div class="modal-screen"><div class="description help" data-i18n="broadcast.desc" data-i18n-prop="innerHTML">Broadcast the result page to other browsers/devices in real time. Please visit the <a href="{{DOCS_BASE_URL}}features/broadcast" target="_blank" rel="noopener">documentations</a> for details.</div><form id="broadcast-form"><div><label for="broadcast-server-url" data-i18n="broadcast.serverURL.heading">Server URL</label><br><input type="text" dir="ltr" id="broadcast-server-url" placeholder="Required" data-i18n="generic.required" data-i18n-prop="placeholder"></div><div class="padded"><input type="checkbox" id="broadcast-source"> <label for="broadcast-source" data-i18n="broadcast.includeSourceCode">Include source code</label></div><button id="broadcast-btn" class="wide-button" type="submit" data-i18n="broadcast.broadcastBtn.start">Broadcast</button><div id="broadcast-channel-url-section"><label for="broadcast-channel-url" data-i18n="broadcast.channelURL">Channel URL</label> <a id="broadcast-channel-url" href="#" target="_blank"></a></div></form></div></div></div>';var A=e=>Object.entries(L).reduce((r,[i,o])=>r.replace(new RegExp(`{{${i}}}`,"g"),o),e);var E=A(S);var x={getUrl:()=>"https://livecodes-broadcast.onrender.com/"};var M=e=>e.querySelector("#broadcast-status"),H=e=>e.querySelector("#broadcast-form"),b=e=>e.querySelector("#broadcast-server-url"),f=e=>e.querySelector("#broadcast-source"),h=e=>e.querySelector("#broadcast-btn"),q=e=>e.querySelector("#broadcast-channel-url-section"),k=e=>e.querySelector("#broadcast-channel-url");var W=async({modal:e,notifications:r,eventsManager:i,deps:o})=>{let p=document.createElement("div");p.innerHTML=E;let n=p.firstChild;e.show(n);let d=M(n),w=H(n),s=b(n),c=f(n),a=h(n),g=q(n),T=k(n),t=o.getBroadcastData(),u=()=>{a.disabled=!1,t=o.getBroadcastData(),t?.isBroadcasting?(d.innerText=window.deps.translateString("broadcast.broadcasting","Broadcasting..."),s.disabled=!0,c.disabled=!0,a.innerText=window.deps.translateString("broadcast.broadcastBtn.stop","Stop broadcast"),c.checked=t?.broadcastSource===!0,t?.channelUrl&&(g.style.display="unset",T.innerText=t.channelUrl,T.href=t.channelUrl)):(d.innerText="",s.disabled=!1,c.disabled=!1,a.innerText=window.deps.translateString("broadcast.broadcastBtn.start","Broadcast"),g.style.display="none"),s.value=s.value.trim()||t?.serverUrl||x.getUrl()};u(),i.addEventListener(w,"submit",async v=>{if(v.preventDefault(),t=o.getBroadcastData(),t?.isBroadcasting){let y=t.serverUrl;fetch(y,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:t.channel,channelToken:t.channelToken,stop:!0})}).catch(()=>{}),o.setBroadcastData({isBroadcasting:!1,channel:"",channelUrl:"",channelToken:"",broadcastSource:!1,serverUrl:y}),u();return}let m=s.value.trim();if(!m){r.error(window.deps.translateString("broadcast.error.serverURLRequired","Server URL is required!"));return}a.disabled=!0,a.innerText=window.deps.translateString("broadcast.connecting","Connecting...");let l=await o.broadcast({serverUrl:m,channel:"",channelToken:"",broadcastSource:c.checked});if(!l||"error"in l){r.error(window.deps.translateString("broadcast.error.generic","Broadcast failed!")),u();return}o.setBroadcastData({isBroadcasting:!0,serverUrl:m,channel:l.channel,channelUrl:l.channelUrl,channelToken:l.channelToken||"",broadcastSource:c.checked}),u(),r.success(window.deps.translateString("broadcast.broadcasting","Broadcasting..."))})};export{W as createBroadcastUI};
|
||||
21
livecodes/code-to-image.de7ba6dd58e67bc5dcccb1f78ec33a11.js
Normal file
21
livecodes/code-to-image.de7ba6dd58e67bc5dcccb1f78ec33a11.js
Normal file
File diff suppressed because one or more lines are too long
48
livecodes/deploy.fb344a204b7df850b7dc81ad0008f498.js
Normal file
48
livecodes/deploy.fb344a204b7df850b7dc81ad0008f498.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
55
livecodes/embed-ui.a67b1ddf4c8e4d64cc6dac8634379f90.js
Normal file
55
livecodes/embed-ui.a67b1ddf4c8e4d64cc6dac8634379f90.js
Normal file
File diff suppressed because one or more lines are too long
180
livecodes/embed.06bfcff86e7d279e37fb002fffa99d10.js
Normal file
180
livecodes/embed.06bfcff86e7d279e37fb002fffa99d10.js
Normal file
File diff suppressed because one or more lines are too long
1261
livecodes/firebase.d9a307e8796f38fb9220b7a7d6fe327e.js
Normal file
1261
livecodes/firebase.d9a307e8796f38fb9220b7a7d6fe327e.js
Normal file
File diff suppressed because one or more lines are too long
151
livecodes/headless.1deeb2a1bfc437f7ed32af547a1ae9b2.js
Normal file
151
livecodes/headless.1deeb2a1bfc437f7ed32af547a1ae9b2.js
Normal file
File diff suppressed because one or more lines are too long
2
livecodes/i18n.1ecd3f969ce0ddac73e78de2c211faef.js
Normal file
2
livecodes/i18n.1ecd3f969ce0ddac73e78de2c211faef.js
Normal file
File diff suppressed because one or more lines are too long
2
livecodes/import.96efa1f12cc1cef8127fa786366fef02.js
Normal file
2
livecodes/import.96efa1f12cc1cef8127fa786366fef02.js
Normal file
File diff suppressed because one or more lines are too long
24
livecodes/index.c4d43a5ac494ad5b4484dc2a7e86e883.js
Normal file
24
livecodes/index.c4d43a5ac494ad5b4484dc2a7e86e883.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
livecodes/open.600e88b545557bf982a757e9d1fa4b26.js
Normal file
4
livecodes/open.600e88b545557bf982a757e9d1fa4b26.js
Normal file
File diff suppressed because one or more lines are too long
10
livecodes/resources.b87896f27455998fea5e8f48294c7228.js
Normal file
10
livecodes/resources.b87896f27455998fea5e8f48294c7228.js
Normal file
File diff suppressed because one or more lines are too long
17
livecodes/share.43f57168f755c3175f7461855fd85195.js
Normal file
17
livecodes/share.43f57168f755c3175f7461855fd85195.js
Normal file
File diff suppressed because one or more lines are too long
24
livecodes/snippets.48889eb8642cb01f0a7d40454952def6.js
Normal file
24
livecodes/snippets.48889eb8642cb01f0a7d40454952def6.js
Normal file
File diff suppressed because one or more lines are too long
1
livecodes/sync-ui.870ed4a8ed5103a9ed699f4a77845fb0.js
Normal file
1
livecodes/sync-ui.870ed4a8ed5103a9ed699f4a77845fb0.js
Normal file
File diff suppressed because one or more lines are too long
1
livecodes/types.d.ts
vendored
1
livecodes/types.d.ts
vendored
@ -7785,7 +7785,6 @@ declare module "livecodes/services/firebase" {
|
||||
storageBucket: string;
|
||||
messagingSenderId: string;
|
||||
appId: string;
|
||||
measurementId: string;
|
||||
};
|
||||
}
|
||||
declare module "livecodes/services/__tests__/modulesService.spec" { }
|
||||
|
||||
@ -1 +1 @@
|
||||
{"generatedAt":1749692087380,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.8.2"},"storybookVersion":"6.5.15","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.15"},"@storybook/builder-webpack4":{"version":"6.5.15"},"@storybook/html":{"version":"6.5.15"},"@storybook/manager-webpack4":{"version":"6.5.15"},"@storybook/testing-library":{"version":"0.0.13"}},"framework":{"name":"html"},"addons":{"@storybook/addon-links":{"version":"6.5.15"},"@storybook/addon-essentials":{"version":"6.5.15"},"@storybook/addon-interactions":{"version":"6.5.15"},"@storybook/addon-storysource":{"version":"6.5.15"}}}
|
||||
{"generatedAt":1749694488525,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.8.2"},"storybookVersion":"6.5.15","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.15"},"@storybook/builder-webpack4":{"version":"6.5.15"},"@storybook/html":{"version":"6.5.15"},"@storybook/manager-webpack4":{"version":"6.5.15"},"@storybook/testing-library":{"version":"0.0.13"}},"framework":{"name":"html"},"addons":{"@storybook/addon-links":{"version":"6.5.15"},"@storybook/addon-essentials":{"version":"6.5.15"},"@storybook/addon-interactions":{"version":"6.5.15"},"@storybook/addon-storysource":{"version":"6.5.15"}}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user