PageSourceSearch

https://www.iproup.com/dist/create-section-button.web.js?v=1785947295379223

js iproup.com collected 2026-10-02 03:54:09 UTC 2,115 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkiproup=self.webpackChunkiproup||[]).push([[9162],{172(e,n,t){t.d(n,{A:()=>i});const i={name:"_Admin",computed:{adminIsEnabled:function(){return this.$store.getters["admin/isEnabled"]}},beforeMount(){let e=this.$store,n=window.iProfesional.admin||!1;e.commit("admin/setContext",n.enabled||!1)}}},8947(e,n,t){t.d(n,{A:()=>a});var i=t(3290);const r={key:0,class:"admin"},o=new class{constructor(){this.user="undefined"!=typeof window&&window.iProfesional.admin.user}isAllowed(e,n){if(!this.user)return!1;let t=e+"-"+n;return!!this.user.allowed[t]&&this.user.allowed[t]}},s={name:"Extension",mixins:[t(100).A],computed:{app(){return this.$root},user:function(){return o},page(){return this.$store.getters["section/page"]}}},a=(0,t(3800).A)(s,[["render",function(e,n,t,o,s,a){return e.adminIsEnabled?((0,i.uX)(),(0,i.CE)("div",r)):(0,i.Q3)("",!0)}]])},100(e,n,t){t.d(n,{A:()=>i});const i={name:"_Utils",methods:{findParentByName(e){for(var n=this.$parent;n;){if(e===n.$options.name)return n;n=n.$parent}return!1}}}},5214(e,n,t){t.r(n),t.d(n,{default:()=>a});var i=t(3290);const r={key:0,class:"block-admin-bar"};var o=t(8947);const s={name:"CreateSectionButton",mixins:[t(172).A,o.A],computed:{block:function(){return this.findParentByName("SectionPage")}},methods:{copySection:function(){let e=window._page.id;t.e(6963).then(t.bind(t,6963)).then(n=>{n.default.Confirm("Esta acción copiará la estructura de la sección. Desea continuar?",()=>{this.$http.Get({url:Routing.generate("service.copysection",{fromSection:4,toSection:e}),callback:e=>{location.reload()}})})})}}},a=(0,t(3800).A)(s,[["render",function(e,n,t,o,s,a){return e.adminIsEnabled&&!0===e.user.isAllowed("rows","create")?((0,i.uX)(),(0,i.CE)("div",r,[(0,i.Lk)("button",{class:"square-button",onClick:n[0]||(n[0]=(...e)=>a.copySection&&a.copySection(...e))},[...n[1]||(n[1]=[(0,i.Lk)("i",{class:"fa fa-plus-circle","aria-hidden":"true"},null,-1),(0,i.eW)(" Estructura de sección ",-1)])])])):(0,i.Q3)("",!0)}],["__scopeId","data-v-480cf670"]])}}]);
2//# sourceMappingURL=create-section-button.web.js.map?v=1785947295379223

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.