window.componentes = window.componentes || {}; const PageRenderAppCategories = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_categories","owner":null,"type":"admin","name":"Categories","description":"Render Components from Categories","structure":{"home":[{"component":"admin_app_categories_list"}],"view":[{"component":"admin_app_categories_view"}],"create":[{"component":"admin_app_categories_new"}],"update":[{"component":"admin_app_categories_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:45:16"}, render: {"home":[{"component":"admin_app_categories_list"}],"view":[{"component":"admin_app_categories_view"}],"create":[{"component":"admin_app_categories_new"}],"update":[{"component":"admin_app_categories_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppCategories = PageRenderAppCategories; const PageRenderAppClients = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_clients","owner":null,"type":"admin","name":"Clients","description":"Render Components from Clients","structure":{"home":[{"component":"admin_app_clients_list"}],"view":[{"component":"admin_app_clients_view"}],"create":[{"component":"admin_app_clients_new"}],"update":[{"component":"admin_app_clients_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:56:35"}, render: {"home":[{"component":"admin_app_clients_list"}],"view":[{"component":"admin_app_clients_view"}],"create":[{"component":"admin_app_clients_new"}],"update":[{"component":"admin_app_clients_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppClients = PageRenderAppClients; const PageRenderAppContactData = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_contact_data","owner":null,"type":"admin","name":"Contact Data","description":"Render Components from Contact Data","structure":{"home":[{"component":"admin_app_contact_data_list"}],"view":[{"component":"admin_app_contact_data_view"}],"create":[{"component":"admin_app_contact_data_new"}],"update":[{"component":"admin_app_contact_data_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:56:40"}, render: {"home":[{"component":"admin_app_contact_data_list"}],"view":[{"component":"admin_app_contact_data_view"}],"create":[{"component":"admin_app_contact_data_new"}],"update":[{"component":"admin_app_contact_data_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppContactData = PageRenderAppContactData; const PageRenderAppContactMessages = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_contact_messages","owner":null,"type":"admin","name":"Contact Messages","description":"Render Components from Contact Messages","structure":{"home":[{"component":"admin_app_contact_messages_list"}],"view":[{"component":"admin_app_contact_messages_view"}],"create":[{"component":"admin_app_contact_messages_new"}],"update":[{"component":"admin_app_contact_messages_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:56:40"}, render: {"home":[{"component":"admin_app_contact_messages_list"}],"view":[{"component":"admin_app_contact_messages_view"}],"create":[{"component":"admin_app_contact_messages_new"}],"update":[{"component":"admin_app_contact_messages_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppContactMessages = PageRenderAppContactMessages; const PageRenderAppGallery = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_gallery","owner":null,"type":"admin","name":"Gallery","description":"Render Components from Gallery","structure":{"home":[{"component":"admin_app_gallery_list"}],"view":[{"component":"admin_app_gallery_view"}],"create":[{"component":"admin_app_gallery_new"}],"update":[{"component":"admin_app_gallery_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:56:45"}, render: {"home":[{"component":"admin_app_gallery_list"}],"view":[{"component":"admin_app_gallery_view"}],"create":[{"component":"admin_app_gallery_new"}],"update":[{"component":"admin_app_gallery_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppGallery = PageRenderAppGallery; const PageRenderAppPosts = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_posts","owner":null,"type":"admin","name":"Posts","description":"Render Components from Posts","structure":{"home":[{"component":"admin_app_posts_list"}],"view":[{"component":"admin_app_posts_view"}],"create":[{"component":"admin_app_posts_new"}],"update":[{"component":"admin_app_posts_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 23:36:28"}, render: {"home":[{"component":"admin_app_posts_list"}],"view":[{"component":"admin_app_posts_view"}],"create":[{"component":"admin_app_posts_new"}],"update":[{"component":"admin_app_posts_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppPosts = PageRenderAppPosts; const PageRenderAppProducts = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_products","owner":null,"type":"admin","name":"Products","description":"Render Components from Products","structure":{"home":[{"component":"admin_app_products_list"}],"view":[{"component":"admin_app_products_view"}],"create":[{"component":"admin_app_products_new"}],"update":[{"component":"admin_app_products_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 23:36:35"}, render: {"home":[{"component":"admin_app_products_list"}],"view":[{"component":"admin_app_products_view"}],"create":[{"component":"admin_app_products_new"}],"update":[{"component":"admin_app_products_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppProducts = PageRenderAppProducts; const PageRenderAppProductBrands = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_product_brands","owner":null,"type":"admin","name":"Product Brands","description":"Render Components from Product Brands","structure":{"home":[{"component":"admin_app_product_brands_list"}],"view":[{"component":"admin_app_product_brands_view"}],"create":[{"component":"admin_app_product_brands_new"}],"update":[{"component":"admin_app_product_brands_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 23:36:35"}, render: {"home":[{"component":"admin_app_product_brands_list"}],"view":[{"component":"admin_app_product_brands_view"}],"create":[{"component":"admin_app_product_brands_new"}],"update":[{"component":"admin_app_product_brands_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppProductBrands = PageRenderAppProductBrands; const PageRenderAppProductBudgets = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_product_budgets","owner":null,"type":"admin","name":"Product Budgets","description":"Render Components from Product Budgets","structure":{"home":[{"component":"admin_app_product_budgets_list"}],"view":[{"component":"admin_app_product_budgets_view"}],"create":[{"component":"admin_app_product_budgets_new"}],"update":[{"component":"admin_app_product_budgets_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 23:36:35"}, render: {"home":[{"component":"admin_app_product_budgets_list"}],"view":[{"component":"admin_app_product_budgets_view"}],"create":[{"component":"admin_app_product_budgets_new"}],"update":[{"component":"admin_app_product_budgets_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppProductBudgets = PageRenderAppProductBudgets; const PageRenderAppProductModels = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_product_models","owner":null,"type":"admin","name":"Product Models","description":"Render Components from Product Models","structure":{"home":[{"component":"admin_app_product_models_list"}],"view":[{"component":"admin_app_product_models_view"}],"create":[{"component":"admin_app_product_models_new"}],"update":[{"component":"admin_app_product_models_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 23:36:35"}, render: {"home":[{"component":"admin_app_product_models_list"}],"view":[{"component":"admin_app_product_models_view"}],"create":[{"component":"admin_app_product_models_new"}],"update":[{"component":"admin_app_product_models_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppProductModels = PageRenderAppProductModels; const PageRenderAppTags = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_app_tags","owner":null,"type":"admin","name":"Tags","description":"Render Components from Tags","structure":{"home":[{"component":"admin_app_tags_list"}],"view":[{"component":"admin_app_tags_view"}],"create":[{"component":"admin_app_tags_new"}],"update":[{"component":"admin_app_tags_update"}]},"template":null,"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-02 22:45:16"}, render: {"home":[{"component":"admin_app_tags_list"}],"view":[{"component":"admin_app_tags_view"}],"create":[{"component":"admin_app_tags_new"}],"update":[{"component":"admin_app_tags_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderAppTags = PageRenderAppTags; const PageRenderHeroPage = { template: ` mdi-home List mdi-plus New mdi-arrow-left `, data() { return { data:null, page: {"id":"render_hero_page","owner":null,"type":"admin","name":"Hero Sections","description":"","structure":{"home":[{"component":"hero_section_list"}],"create":[{"component":"hero_section_new"}],"update":[{"component":"hero_section_update"}]},"template":"","custom_template":"","variables":"","props":"","watch":null,"method":"","created":"","mounted":"","created_at":"2025-12-08 09:41:20"}, render: {"home":[{"component":"hero_section_list"}],"create":[{"component":"hero_section_new"}],"update":[{"component":"hero_section_update"}]}, helpers:{ loading:false }, received_values:{}, ...{} }; }, props: { page: { type: String, default: "list" }, special: { type: String, default: null }, extra: { type: Array, default: () => [] }, allow: { type: Array, default: () => [] }, attrs: { type: Object, default: () => {} }, inline:{ type: Boolean, default: false }, binds: { type: Object, default: () => {} }, ...{} }, watch:{ '$root.url.hash': { handler(newValue, oldValue) { this.received_values = {} }, immediate: true, // Ejecutar inmediatamente deep: false // Usar true si es un objeto/array }, ...{} }, computed:{ render_header(){ let header = [] if (this.render.length>0) { this.render.forEach((field)=>{ if (field.active==='true' || field.active===true) { header.push({... { align:'start', key: field.name, sortable: true, title: field.label, } }); } }) } else { if(this.data && this.data.length>0){ header = Object.keys(this.data[0]).map(key => ({ align:'start', key: key, sortable: true, title: key.charAt(0).toUpperCase() + key.slice(1), })); } } header.push({... { align:'end', key: 'render_table_actions', sortable: false, title: '...', } }) return header }, }, methods: { ReceiveValue(field,val){ this.received_values[field] = val }, goBack(){ window.history.go(-1) }, }, created(){ }, mounted(){ } }; window.componentes.PageRenderHeroPage = PageRenderHeroPage;