window.componentes = window.componentes || {}; const PageClientsPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"clients_plugin_page","owner":null,"type":"web","name":"Clients","description":"Clients Plugin","structure":{"home":[{"component":null}],"view":[{"component":null}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"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":null}],"view":[{"component":null}],"create":[{"component":null}]}, 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.PageClientsPluginPage = PageClientsPluginPage; const PageContactsPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"contacts_plugin_page","owner":null,"type":"web","name":"Contacts","description":"Contacts Plugin","structure":{"home":[{"component":null}],"view":[{"component":null}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"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":null}],"view":[{"component":null}],"create":[{"component":null}]}, 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.PageContactsPluginPage = PageContactsPluginPage; const PageMultimediaPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"multimedia_plugin_page","owner":null,"type":"web","name":"Multimedia","description":"Video/Image Gallery","structure":{"home":[{"component":null}],"view":[{"component":null}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"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":null}],"view":[{"component":null}],"create":[{"component":null}]}, 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.PageMultimediaPluginPage = PageMultimediaPluginPage; const PagePostsPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"posts_plugin_page","owner":null,"type":"web","name":"Posts","description":"Posts Plugin","structure":{"home":[{"component":"web_app_posts_data_list"}],"view":[{"component":"web_app_posts_data_view"}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"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":"web_app_posts_data_list"}],"view":[{"component":"web_app_posts_data_view"}],"create":[{"component":null}]}, 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.PagePostsPluginPage = PagePostsPluginPage; const PageProductsPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"products_plugin_page","owner":null,"type":"web","name":"Products","description":"Products Plugin","structure":{"home":[[{"size":3,"component":"test_data"},{"component":"web_app_products_data_list"}]],"view":[{"component":"web_app_products_data_view"}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-12-03 09:36:35"}, render: {"home":[[{"size":3,"component":"test_data"},{"component":"web_app_products_data_list"}]],"view":[{"component":"web_app_products_data_view"}],"create":[{"component":null}]}, 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.PageProductsPluginPage = PageProductsPluginPage; const PageTaxonomiesPluginPage = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"taxonomies_plugin_page","owner":null,"type":"web","name":"Taxonomies","description":"Categories, Tags, Etc...","structure":{"home":[{"component":null}],"view":[{"component":null}],"create":[{"component":null}]},"template":{"main_title":"{{page.name}}"},"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":null}],"view":[{"component":null}],"create":[{"component":null}]}, 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.PageTaxonomiesPluginPage = PageTaxonomiesPluginPage; const PageWebAboutUs = { template: ` {{page.name}} `, data() { return { data:null, page: {"id":"web_about_us","owner":null,"type":"web","name":"About Us","description":null,"structure":{"home":[{"component":"web_app_products_data_list"}],"view":[{"component":"web_games_view"},{"bind":{"_game":"this.$root.url.param"},"component":"web_packages_list"},{"component":"recharge_total"},[{"component":"web_payment_methods"},{"component":"web_recharge_new"}]],"create":[{"component":"admin_app_tags_new"}],"update":[{"component":"admin_app_tags_update"}]},"template":{"main_title":"{{page.name}}"},"custom_template":null,"variables":null,"props":null,"watch":null,"method":null,"created":null,"mounted":null,"created_at":"2025-11-20 03:58:51"}, render: {"home":[{"component":"web_app_products_data_list"}],"view":[{"component":"web_games_view"},{"bind":{"_game":"this.$root.url.param"},"component":"web_packages_list"},{"component":"recharge_total"},[{"component":"web_payment_methods"},{"component":"web_recharge_new"}]],"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.PageWebAboutUs = PageWebAboutUs; const PageWebHome = { template: ` Buscar por Modelo {{product.name}} Buscar por Marca {{product.name}} `, data() { return { data:null, page: {"id":"web_home","owner":null,"type":"web","name":"Home","description":"Best place for recharge your games","structure":{"home":[{"component":"hero_section"}],"view":[{"component":"web_games_view"},{"bind":{"_game":"this.$root.url.param"},"component":"web_packages_list"},{"component":"recharge_total"},[{"component":"web_payment_methods"},{"component":"web_recharge_new"}]],"create":[{"component":"admin_app_tags_new"}],"update":[{"component":"admin_app_tags_update"}]},"template":{"main_title":null},"custom_template":"\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Buscar por Modelo\r\n \r\n \r\n \r\n \r\n \r\n {{product.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Buscar por Marca\r\n \r\n \r\n \r\n \r\n \r\n {{product.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n","variables":"{\r\n product_models:[],\r\n product_brands:[]\r\n}","props":null,"watch":null,"method":"async getModels(){\r\n const promise = await apiAppProductModels.getAll()\r\n if(promise.data.error==false){\r\n this.product_models = promise.data.data\r\n }\r\n},\r\nasync getBrands(){\r\n const promise = await apiAppProductBrands.getAll()\r\n if(promise.data.error==false){\r\n this.product_brands = promise.data.data\r\n }\r\n}","created":"","mounted":"this.getModels()\r\nthis.getBrands()","created_at":"2025-11-25 23:58:51"}, render: {"home":[{"component":"hero_section"}],"view":[{"component":"web_games_view"},{"bind":{"_game":"this.$root.url.param"},"component":"web_packages_list"},{"component":"recharge_total"},[{"component":"web_payment_methods"},{"component":"web_recharge_new"}]],"create":[{"component":"admin_app_tags_new"}],"update":[{"component":"admin_app_tags_update"}]}, helpers:{ loading:false }, received_values:{}, ...{ product_models:[], product_brands:[] } }; }, 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) }, async getModels(){ const promise = await apiAppProductModels.getAll() if(promise.data.error==false){ this.product_models = promise.data.data } }, async getBrands(){ const promise = await apiAppProductBrands.getAll() if(promise.data.error==false){ this.product_brands = promise.data.data } } }, created(){ }, mounted(){ this.getModels() this.getBrands() } }; window.componentes.PageWebHome = PageWebHome;