0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-04 03:57:28 +00:00
nextcloud_server/dist/9293-9293.js
Ferdinand Thiessen 4d21207b98
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:14 +01:00

2 lines
No EOL
2.4 KiB
JavaScript

"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[9293],{95878:(t,e,a)=>{a.d(e,{A:()=>i});var n=a(71354),s=a.n(n),l=a(76314),o=a.n(l)()(s());o.push([t.id,".legacy-prompt__text[data-v-595b3067]{margin-block:0 .75em}.legacy-prompt__input[data-v-595b3067]{margin-block:0 1em}[data-v-595b3067] .legacy-prompt__dialog .dialog__actions{min-width:calc(100% - 12px);justify-content:space-between}","",{version:3,sources:["webpack://./core/src/components/LegacyDialogPrompt.vue"],names:[],mappings:"AAEC,sCACC,oBAAA,CAGD,uCACC,kBAAA,CAIF,0DACC,2BAAA,CACA,6BAAA",sourceRoot:""}]);const i=o},69293:(t,e,a)=>{a.r(e),a.d(e,{default:()=>x});var n=a(53334),s=a(85471),l=a(94219),o=a(82182),i=a(16044);const u=(0,s.pM)({name:"LegacyDialogPrompt",components:{NcDialog:l.A,NcTextField:o.A,NcPasswordField:i.A},props:{name:{type:String,required:!0},text:{type:String,required:!0},isPassword:{type:Boolean,required:!0},inputName:{type:String,default:"prompt-input"}},emits:["close"],data:()=>({inputValue:""}),computed:{buttons(){return[{label:(0,n.Tl)("core","No"),callback:()=>this.$emit("close",!1,this.inputValue)},{label:(0,n.Tl)("core","Yes"),type:"primary",callback:()=>this.$emit("close",!0,this.inputValue)}]}},mounted(){this.$nextTick((()=>this.$refs.input?.focus?.()))}});var p=a(85072),c=a.n(p),r=a(97825),m=a.n(r),d=a(77659),A=a.n(d),g=a(55056),_=a.n(g),b=a(10540),y=a.n(b),C=a(41113),f=a.n(C),v=a(95878),h={};h.styleTagTransform=f(),h.setAttributes=_(),h.insert=A().bind(null,"head"),h.domAPI=m(),h.insertStyleElement=y(),c()(v.A,h),v.A&&v.A.locals&&v.A.locals;const x=(0,a(14486).A)(u,(function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{attrs:{"dialog-classes":"legacy-prompt__dialog",buttons:t.buttons,name:t.name},on:{"update:open":function(e){return t.$emit("close",!1,t.inputValue)}}},[e("p",{staticClass:"legacy-prompt__text",domProps:{textContent:t._s(t.text)}}),t._v(" "),t.isPassword?e("NcPasswordField",{ref:"input",staticClass:"legacy-prompt__input",attrs:{autocomplete:"new-password",label:t.name,name:t.inputName,value:t.inputValue},on:{"update:value":function(e){t.inputValue=e}}}):e("NcTextField",{ref:"input",staticClass:"legacy-prompt__input",attrs:{label:t.name,name:t.inputName,value:t.inputValue},on:{"update:value":function(e){t.inputValue=e}}})],1)}),[],!1,null,"595b3067",null).exports}}]);
//# sourceMappingURL=9293-9293.js.map?v=d37b2af06bb279552eb5