HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: //usr/syno/synoman/webman/modules/PkgManApp/DialogVueBundle.js
!function(){var e={319:function(){SYNO.ns("SYNO.SDS.PkgManApp.Custom.JsonpLoader"),SYNO.SDS.PkgManApp.Custom.JsonpLoader=new class{constructor(){this.loadedModules=new Map}loadRenderFnScript(e){const t=new Blob([e],{type:"application/javascript"});return SYNO.SDS.JSLoader.loadBlob(t)}load(e){return e=e.default,this.loadedModules.set(e.name,e),e}get(e){return this.loadedModules.get(e)}clear(){this.loadedModules.clear()}}},636:function(){
// @define: SYNO.SDS.PkgManApp.Custom.StepContainer
SYNO.ns("SYNO.SDS.PkgManApp.Custom.StepContainer"),Ext.define("SYNO.SDS.PkgManApp.Custom.StepContainer",{extend:"SYNO.SDS.Wizard.StepContainer",constructor:function(e){const t=e.step,n=Vue.extend(t.renderFn),o=new SYNO.SDS.PkgManApp.Custom.Step({owner:e.owner,vueClass:n,itemId:t.itemId,headline:t.headline},{propsData:{getHeadLine:this.getHeadLine.bind(this),getHeadLineCmp:this.getHeadLineCmp.bind(this),getOwner:()=>e.owner,setHeader:this.setHeader.bind(this),updateFlexcroll:this.updateFleXcroll.bind(this),defaultCheckState:t.checkState,defaultGetNext:t.getNext,nextId:t.nextId}}),i={cls:String.format("wizard-step-ct {0}",t instanceof SYNO.SDS.Wizard.WelcomeStep?"welcome-ct":""),itemId:t.itemId||void 0,items:[{xtype:"container",cls:"wizard-header-wrap",itemId:"header-wrap",items:[{xtype:"box",itemId:"headline",cls:"wizard-headline",html:Ext.util.Format.htmlEncode(t.headline||t.leftTitle||""),role:"article",tabIndex:0}]},o]};this.vuePanel=o,Ext.Container.superclass.constructor.call(this,Ext.apply(i,e)),this.mon(this,"flexcroll",this.onStepScroll,this),this.mon(this,"activate",this.onStepActivate,this),this.mon(this,"afterlayout",this.onAfterLayout,this)},onAfterLayout(){var e;this.setHeader(null===(e=this.getStep().getVueInst())||void 0===e?void 0:e.headline)},getStep(){return this.vuePanel},getHeadLine:function(){return this.getHeadLineCmp().el},getHeadLineCmp:function(){return this.getComponent("header-wrap").getComponent("headline")},setHeader:function(e){this.getHeadLine().update(e),this.getStep().headline=e,this.updateOwnerHeaderText()},onStepScroll:function(e,t){this.callParent(arguments)},onStepActivate:function(){this.callParent(arguments)}})},517:function(){function e(e,t){const n=t.getButton("back"),o=t.getButton("next");Ext.isEmpty(n)||(t.hasHistory()?n.show():n.hide(),n.enable()),e.nextId?o.setText(_T("common","next")):o.setText(_T("common","done")),o.enable(),o.setTooltip("")}
// @define: SYNO.SDS.PkgManApp.Custom.Step
Ext.define("SYNO.SDS.PkgManApp.Custom.Step",{extend:"SYNO.SDS.VuePanel",constructor(t,n){return this.cfg=t,n.propsData.defaultCheckState||(n.propsData.defaultCheckState=e),this.callParent([t,n])},getValues(){var e,t;return(null===(e=this.getVueInst())||void 0===e||null===(t=e.getValues)||void 0===t?void 0:t.call(e))??{}},getNext(){var e,t;return(null===(e=this.getVueInst())||void 0===e||null===(t=e.getNext)||void 0===t?void 0:t.call(e))??null},checkState(){var e,t;return(null===(e=this.getVueInst())||void 0===e||null===(t=e.checkState)||void 0===t?void 0:t.call(e,this.owner))??null},getHeadLine(){var e,t;return null===(e=this.getVueInst())||void 0===e||null===(t=e.getHeadLine)||void 0===t?void 0:t.call(e)},getHeadLineCmp(){var e,t;return null===(e=this.getVueInst())||void 0===e||null===(t=e.getHeadLineCmp)||void 0===t?void 0:t.call(e)},setHeader(e){var t,n;return null===(t=this.getVueInst())||void 0===t||null===(n=t.setHeader)||void 0===n?void 0:n.call(t,e)}})}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}!function(){;n(636);var e=function(){return(0,this._self._c)("div",{staticClass:"pkg-center-step-content"},[this._t("default")],2)};e._withStripped=!0;var t=function(e,t,n,o,i,a,r,l){var s,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),r?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=s):i&&(s=l?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(d.functional){d._injectStyles=s;var u=d.render;d.render=function(e,t){return s.call(t),u(e,t)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,s):[s]}return{exports:e,options:d}}({name:"PkgCenterStepContent",props:{}},e,[],!1,null,"02ad530d",null),o=t.exports,i=(n(517),n(319),Vue);SYNO.ns("SYNO.SDS.PkgManApp.Custom.useHook"),SYNO.SDS.PkgManApp.Custom.useHook=e=>{const t=(0,i.getCurrentInstance)();return(0,i.onMounted)((()=>{var t;null===(t=e.updateFlexcroll)||void 0===t||t.call(e)})),{getNext:function(){var t;return(null===(t=e.defaultGetNext)||void 0===t?void 0:t.call(e))??e.nextId},checkState:function(n){var o;return n=n??e.getOwner(),(null===(o=e.defaultCheckState)||void 0===o?void 0:o.call(e,null==t?void 0:t.proxy,n))??!1}}},SYNO.SDS.PkgManApp.Custom.useHook.props={getHeadLine:{type:Function,required:!0},getHeadLineCmp:{type:Function,required:!0},getOwner:{type:Function,required:!0},setHeader:{type:Function,required:!0},updateFlexcroll:{type:Function,required:!0},defaultCheckState:{type:Function,default:void 0},defaultGetNext:{type:Function,default:void 0},nextId:{type:String,default:null}},SYNO.ns("SYNO.SDS.PkgManApp.Custom.VuePlugin"),SYNO.SDS.PkgManApp.Custom.VuePlugin={install(e,t={}){e.component("pkg-center-step-content",o)}}}()}();