nextcloud/dist/9293-9293.js
nextcloud-command 5d9212ea24 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-02-13 19:48:48 +00:00

2 lines
No EOL
2.6 KiB
JavaScript

"use strict";(globalThis.webpackChunknextcloud=globalThis.webpackChunknextcloud||[]).push([[9293],{95878(t,e,n){n.d(e,{A:()=>i});var a=n(71354),o=n.n(a),l=n(76314),s=n.n(l)()(o());s.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",sourcesContent:["\n.legacy-prompt {\n\t&__text {\n\t\tmargin-block: 0 .75em;\n\t}\n\n\t&__input {\n\t\tmargin-block: 0 1em;\n\t}\n}\n\n:deep(.legacy-prompt__dialog .dialog__actions) {\n\tmin-width: calc(100% - 12px);\n\tjustify-content: space-between;\n}\n"],sourceRoot:""}]);const i=s},69293(t,e,n){n.r(e),n.d(e,{default:()=>v});var a=n(53334),o=n(85471),l=n(94219),s=n(82182),i=n(16044);const p=(0,o.pM)({name:"LegacyDialogPrompt",components:{NcDialog:l.A,NcTextField:s.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,a.Tl)("core","No"),callback:()=>this.$emit("close",!1,this.inputValue)},{label:(0,a.Tl)("core","Yes"),type:"primary",callback:()=>this.$emit("close",!0,this.inputValue)}]}},mounted(){this.$nextTick(()=>this.$refs.input?.focus?.())}});var c=n(85072),u=n.n(c),r=n(97825),m=n.n(r),d=n(77659),g=n.n(d),A=n(55056),_=n.n(A),b=n(10540),y=n.n(b),C=n(41113),h=n.n(C),f=n(95878),x={};x.styleTagTransform=h(),x.setAttributes=_(),x.insert=g().bind(null,"head"),x.domAPI=m(),x.insertStyleElement=y(),u()(f.A,x),f.A&&f.A.locals&&f.A.locals;const v=(0,n(14486).A)(p,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=96e7661d77e6e2752396