Skip to content

Commit 8e17130

Browse files
committed
Auto-generated commit
1 parent e08d9c8 commit 8e17130

13 files changed

Lines changed: 60 additions & 60 deletions

β€Ž404.htmlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
<style>:root{--bg-color:white;--bg-translucent-color:rgba(255, 255, 255, .9);--bg-secondary-color:rgba(240, 240, 240, 1);--fg-color:rgba(85, 85, 90, 1);--fg-secondary-color:rgba(85, 85, 90, .7);--border-color:rgba(0, 0, 0, .15);--heading-color:rgba(50, 50, 55, 1);--console-color:rgba(0, 0, 0, .4);--console-bg-color:rgba(0, 0, 0, .04);--a-color:rgba(65, 105, 190, 1);--hl-keyword:rgb(85, 140, 180);--hl-string:rgb(115, 105, 175);--hl-number:rgb(50, 160, 85);--hl-comment:rgba(100, 100, 100);--hl-title:rgb(165, 120, 20);--hl-inserted-text:rgb(17, 99, 41);--hl-inserted-bg:rgb(218, 251, 225);--hl-deleted-text:rgb(130, 7, 30);--hl-deleted-bg:rgb(255, 235, 233)}*,*:before,*:after{box-sizing:border-box}body{padding:0;margin:0;color:var(--fg-color);background-color:var(--bg-color);line-height:1.5;font-family:system-ui,-apple-system,Helvetica Neue,sans-serif}</style><link rel="stylesheet" href="styles-VUXSWOHG.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-VUXSWOHG.css"></noscript></head>
1111
<body>
1212
<app-root></app-root>
13-
<link rel="modulepreload" href="chunk-TJMHKH7T.js"><link rel="modulepreload" href="chunk-UHTRP2IW.js"><link rel="modulepreload" href="chunk-5XDRKBHK.js"><link rel="modulepreload" href="chunk-F5JPP5ZL.js"><link rel="modulepreload" href="chunk-EQDQRRRY.js"><script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-32X5342O.js" type="module"></script></body>
13+
<link rel="modulepreload" href="chunk-5FAYLIXL.js"><link rel="modulepreload" href="chunk-2CPMRCSM.js"><link rel="modulepreload" href="chunk-5XDRKBHK.js"><link rel="modulepreload" href="chunk-F5JPP5ZL.js"><link rel="modulepreload" href="chunk-EQDQRRRY.js"><script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-TLX6ZQ7T.js" type="module"></script></body>
1414
</html>
Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žchunk-5FAYLIXL.jsβ€Ž

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import{i as s,j as f,k as u,l as c}from"./chunk-TJMHKH7T.js";import{Ca as a,Ma as e,Na as i,Oa as n,U as d,Ya as t,cb as m,oa as o}from"./chunk-UHTRP2IW.js";import"./chunk-5XDRKBHK.js";import"./chunk-F5JPP5ZL.js";import"./chunk-EQDQRRRY.js";var x=(()=>{class r{constructor(){this.imageConfig={image:{type:"image",name:"Upload Image",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"}},this.videoConfig={video:{type:"video",name:"Upload Video",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}},this.audioConfig={audio:{type:"audio",name:"Upload Audio",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"}},this.fileConfig={file:{type:"file",name:"Upload File",default:""}}}static{this.\u0275fac=function(l){return new(l||r)}}static{this.\u0275cmp=d({type:r,selectors:[["app-media-controls"]],standalone:!0,features:[m],decls:27,vars:4,consts:[["pageTitle","Media controls","pageContent","Used for uploading and displaying files."],["id","upload_settings"],["href","media-controls#upload_settings"],["highlight",`@Injectable()
1+
import{i as s,j as f,k as u,l as c}from"./chunk-5FAYLIXL.js";import{Ca as a,Ma as e,Na as i,Oa as n,U as d,Ya as t,cb as m,oa as o}from"./chunk-2CPMRCSM.js";import"./chunk-5XDRKBHK.js";import"./chunk-F5JPP5ZL.js";import"./chunk-EQDQRRRY.js";var x=(()=>{class l{constructor(){this.imageConfig={image:{type:"image",name:"Upload Image",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg"}},this.videoConfig={video:{type:"video",name:"Upload Video",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}},this.audioConfig={audio:{type:"audio",name:"Upload Audio",default:"https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"}},this.fileConfig={file:{type:"file",name:"Upload File",default:""}}}static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=d({type:l,selectors:[["app-media-controls"]],standalone:!0,features:[m],decls:27,vars:4,consts:[["pageTitle","Media controls","pageContent","Used for uploading and displaying files."],["id","upload_settings"],["href","media-controls#upload_settings"],["highlight",`@Injectable()
22
export class YourUploadService {
3-
constructor(private http: HttpClient) {}
3+
private http = inject(HttpClient);
44
55
upload(file: FormData) {
66
return this.http
@@ -26,5 +26,5 @@ export const appConfig: ApplicationConfig = {
2626
useClass: YourUploadService
2727
},
2828
],
29-
}`,"language","ts"],["id","image"],["href","media-controls#image"],[3,"config"],["id","video"],["href","media-controls#video"],["id","audio"],["href","media-controls#audio"],["id","file"],["href","media-controls#file"]],template:function(l,p){l&1&&(n(0,"app-page-header",0),e(1,"h2",1)(2,"a",2),t(3,"Upload Settings"),i()(),e(4,"p"),t(5," If you want to use the upload feature, you should replace the "),e(6,"code"),t(7,"GuiFileUploaderConfig"),i(),t(8,` with your own uploading logic. The returns of upload function must be a stream of file URL (or null).
30-
`),i(),e(9,"pre"),n(10,"code",3),i(),e(11,"h2",4)(12,"a",5),t(13,"Image"),i()(),n(14,"app-example-viewer",6),e(15,"h2",7)(16,"a",8),t(17,"Video"),i()(),n(18,"app-example-viewer",6),e(19,"h2",9)(20,"a",10),t(21,"Audio"),i()(),n(22,"app-example-viewer",6),e(23,"h2",11)(24,"a",12),t(25,"File"),i()(),n(26,"app-example-viewer",6)),l&2&&(o(14),a("config",p.imageConfig),o(4),a("config",p.videoConfig),o(4),a("config",p.audioConfig),o(4),a("config",p.fileConfig))},dependencies:[u,c,f,s]})}}return r})();export{x as MediaControlsComponent};
29+
}`,"language","ts"],["id","image"],["href","media-controls#image"],[3,"config"],["id","video"],["href","media-controls#video"],["id","audio"],["href","media-controls#audio"],["id","file"],["href","media-controls#file"]],template:function(r,p){r&1&&(n(0,"app-page-header",0),e(1,"h2",1)(2,"a",2),t(3,"Upload Settings"),i()(),e(4,"p"),t(5," If you want to use the upload feature, you should replace the "),e(6,"code"),t(7,"GuiFileUploaderConfig"),i(),t(8,` with your own uploading logic. The returns of upload function must be a stream of file URL (or null).
30+
`),i(),e(9,"pre"),n(10,"code",3),i(),e(11,"h2",4)(12,"a",5),t(13,"Image"),i()(),n(14,"app-example-viewer",6),e(15,"h2",7)(16,"a",8),t(17,"Video"),i()(),n(18,"app-example-viewer",6),e(19,"h2",9)(20,"a",10),t(21,"Audio"),i()(),n(22,"app-example-viewer",6),e(23,"h2",11)(24,"a",12),t(25,"File"),i()(),n(26,"app-example-viewer",6)),r&2&&(o(14),a("config",p.imageConfig),o(4),a("config",p.videoConfig),o(4),a("config",p.audioConfig),o(4),a("config",p.fileConfig))},dependencies:[u,c,f,s]})}}return l})();export{x as MediaControlsComponent};

β€Žchunk-TJMHKH7T.jsβ€Ž

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)