This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/backup/upload-files"],{3008:(e,n,i)=>{i.r(n),i.d(n,{default:()=>r});var t=i(90);const a=t.Locale.getSection("components.forms.backup.upload");class o extends t.AddRemoveDynamicSubForm{_initConfiguration(e){super._initConfiguration({addButtonTitle:a.lmsg("addFileLink"),removeButtonTitle:a.lmsg("removeLink"),...e})}_bindDynamicContent(e,n){super._bindDynamicContent(e,n),e.querySelectorAll("input").forEach(e=>{(0,t.render)(e,(0,t.createElement)("input",{type:"file",id:e.id,name:e.name}),"replace")})}_prepareDynamicContent(e){const n=Math.floor(1e6*Math.random()),i=new RegExp(`(name=.*?)\\[(${this._id})\\]\\[dynamicSubFormTemplate\\]\\[file\\]`,"g"),t=new RegExp(`(id=.*?\\-${this._id}-)dynamicSubFormTemplate(-)`,"g");return e.innerHTML=e.innerHTML.replace(i,`$1__$2__c${n}[]`).replace(t,`$1c${n}$2`),e}}const r=e=>new o(e)}}]);
//# sourceMappingURL=upload-files.js.map?71728a3d51fd05d619e6

View File

@@ -1 +0,0 @@
{"version":3,"file":"javascript/app/backup/upload-files.js?71728a3d51fd05d619e6","mappings":"yKAIA,MAAMA,EAASC,EAAAA,OAAOC,WAAW,kCAEjC,MAAMC,UAAkCC,EAAAA,wBACpCC,kBAAAA,CAAmBC,GACfC,MAAMF,mBAAmB,CACrBG,eAAgBR,EAAOS,KAAK,eAC5BC,kBAAmBV,EAAOS,KAAK,iBAC5BH,GAEX,CAEAK,mBAAAA,CAAoBC,EAASC,GACzBN,MAAMI,oBAAoBC,EAASC,GACnCD,EAAQE,iBAAiB,SAASC,QAAQC,KACtCC,EAAAA,EAAAA,QAAOD,GAAOE,EAAAA,EAAAA,eAAc,QAAS,CACjCC,KAAM,OACNC,GAAIJ,EAAMI,GACVC,KAAML,EAAMK,OACZ,YAEZ,CAEAC,sBAAAA,CAAuBV,GACnB,MAAMW,EAAQC,KAAKC,MAAM,IAAUD,KAAKE,UAElCC,EAAa,IAAIC,OAAO,iBAAiBC,KAAKC,gDAAiD,KAC/FC,EAAW,IAAIH,OAAO,aAAaC,KAAKC,iCAAkC,KAMhF,OAJAlB,EAAQoB,UAAYpB,EAAQoB,UACvBC,QAAQN,EAAY,YAAcJ,OAClCU,QAAQF,EAAU,MAAOR,OAEvBX,CACX,EAGJ,QAAesB,GAAU,IAAI/B,EAA0B+B,E","sources":["webpack:///./app/backup/upload-files.js"],"sourcesContent":["// Copyright 1999-2025. WebPros International GmbH. All rights reserved.\n\nimport { AddRemoveDynamicSubForm, render, createElement, Locale } from 'jsw';\n\nconst locale = Locale.getSection('components.forms.backup.upload');\n\nclass UploadFilesDynamicSubForm extends AddRemoveDynamicSubForm {\n _initConfiguration(config) {\n super._initConfiguration({\n addButtonTitle: locale.lmsg('addFileLink'),\n removeButtonTitle: locale.lmsg('removeLink'),\n ...config,\n });\n }\n\n _bindDynamicContent(content, isFirstElement) {\n super._bindDynamicContent(content, isFirstElement);\n content.querySelectorAll('input').forEach(input => {\n render(input, createElement('input', {\n type: 'file',\n id: input.id,\n name: input.name,\n }), 'replace');\n });\n }\n\n _prepareDynamicContent(content) {\n const newId = Math.floor(1000000 * Math.random());\n\n const nameRegExp = new RegExp(`(name=.*?)\\\\[(${this._id})\\\\]\\\\[dynamicSubFormTemplate\\\\]\\\\[file\\\\]`, 'g');\n const idRegExp = new RegExp(`(id=.*?\\\\-${this._id}-)dynamicSubFormTemplate(-)`, 'g');\n\n content.innerHTML = content.innerHTML\n .replace(nameRegExp, `\\$1__\\$2__c${newId}[]`)\n .replace(idRegExp, `\\$1c${newId}\\$2`);\n\n return content;\n }\n}\n\nexport default params => new UploadFilesDynamicSubForm(params);\n"],"names":["locale","Locale","getSection","UploadFilesDynamicSubForm","AddRemoveDynamicSubForm","_initConfiguration","config","super","addButtonTitle","lmsg","removeButtonTitle","_bindDynamicContent","content","isFirstElement","querySelectorAll","forEach","input","render","createElement","type","id","name","_prepareDynamicContent","newId","Math","floor","random","nameRegExp","RegExp","this","_id","idRegExp","innerHTML","replace","params"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long