12 |
- "use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[7573],{23712:(a,e,t)=>{t.d(e,{A:()=>r});var n=t(71354),i=t.n(n),l=t(76314),s=t.n(l)()(i());s.push([a.id,".public-auth-prompt__subtitle[data-v-8567789a]{font-size:1.25em;margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__header[data-v-8567789a]{margin-block:0 calc(3*var(--default-grid-baseline))}.public-auth-prompt__input[data-v-8567789a]{margin-block:calc(4*var(--default-grid-baseline)) calc(2*var(--default-grid-baseline))}","",{version:3,sources:["webpack://./apps/files_sharing/src/views/PublicAuthPrompt.vue"],names:[],mappings:"AAEC,+CAEC,gBAAA,CACA,mDAAA,CAGD,6CACC,mDAAA,CAGD,4CACC,sFAAA",sourcesContent:["\n.public-auth-prompt {\n\t&__subtitle {\n\t\t// Smaller than dialog title\n\t\tfont-size: 1.25em;\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__header {\n\t\tmargin-block: 0 calc(3 * var(--default-grid-baseline));\n\t}\n\n\t&__input {\n\t\tmargin-block: calc(4 * var(--default-grid-baseline)) calc(2 * var(--default-grid-baseline));\n\t}\n}\n"],sourceRoot:""}]);const r=s},57573:(a,e,t)=>{t.r(e),t.d(e,{default:()=>N});var n=t(85471),i=t(53334),l=t(94219),s=t(80910),r=t(82182),o=t(32981);const u=(0,n.pM)({name:"PublicAuthPrompt",components:{NcDialog:l.A,NcNoteCard:s.A,NcTextField:r.A},props:{nickname:{type:String,default:""}},setup:()=>({t:i.t,owner:(0,o.C)("files_sharing","owner",""),ownerDisplayName:(0,o.C)("files_sharing","ownerDisplayName",""),label:(0,o.C)("files_sharing","label",""),note:(0,o.C)("files_sharing","note",""),filename:(0,o.C)("files_sharing","filename","")}),data:()=>({name:""}),computed:{dialogName(){return this.t("files_sharing","Upload files to {folder}",{folder:this.label||this.filename})},dialogButtons:()=>[{label:(0,i.t)("files_sharing","Submit name"),type:"primary",nativeType:"submit"}]},watch:{nickname:{handler(){this.name=this.nickname},immediate:!0}}});var c=t(85072),p=t.n(c),m=t(97825),d=t.n(m),h=t(77659),f=t.n(h),b=t(55056),g=t.n(b),_=t(10540),A=t.n(_),C=t(41113),v=t.n(C),y=t(23712),k={};k.styleTagTransform=v(),k.setAttributes=g(),k.insert=f().bind(null,"head"),k.domAPI=d(),k.insertStyleElement=A(),p()(y.A,k),y.A&&y.A.locals&&y.A.locals;const N=(0,t(14486).A)(u,(function(){var a=this,e=a._self._c;return a._self._setupProxy,e("NcDialog",{staticClass:"public-auth-prompt",attrs:{buttons:a.dialogButtons,"data-cy-public-auth-prompt-dialog":"","is-form":"","can-close":!1,name:a.dialogName},on:{submit:function(e){return a.$emit("close",a.name)}}},[a.owner?e("p",{staticClass:"public-auth-prompt__subtitle"},[a._v("\n\t\t"+a._s(a.t("files_sharing","{ownerDisplayName} shared a folder with you.",{ownerDisplayName:a.ownerDisplayName}))+"\n\t")]):a._e(),a._v(" "),e("NcNoteCard",{staticClass:"public-auth-prompt__header",attrs:{text:a.t("files_sharing","To upload files, you need to provide your name first."),type:"info"}}),a._v(" "),e("NcTextField",{ref:"input",staticClass:"public-auth-prompt__input",attrs:{"data-cy-public-auth-prompt-dialog-name":"",label:a.t("files_sharing","Nickname"),placeholder:a.t("files_sharing","Enter your nickname"),minlength:"2",name:"name",required:"",value:a.name},on:{"update:value":function(e){a.name=e}}})],1)}),[],!1,null,"8567789a",null).exports}}]);
- //# sourceMappingURL=7573-7573.js.map?v=b6f74b6bc49430ed270d
|