[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 7610.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7610],{7610:(t,e,o)=>{o.r(e),o.d(e,{default:()=>C});var r=o(9726),n={class:"db-card"},a={class:"db-card-header"},s={class:"db-card-title"},c={class:"db-card-body"},i={class:"row"},l={class:"col-12 sm:col-5"},u=["src"],d={class:"col-12 sm:col-7 md:pl-8"},m={class:"text-lg font-medium capitalize mb-2 text-paragraph"},p={class:"db-light-text"};var g=o(5475),y=o(6884),b=(o(9856),o(8655));function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const h={name:"ProductCategoryShowComponent",components:{LoadingComponent:g.A},data:function(){return{loading:{isActive:!1},enums:{statusEnum:y.A,statusEnumArray:v(v({},y.A.ACTIVE,this.$t("label.active")),y.A.INACTIVE,this.$t("label.inactive"))}}},computed:{productCategory:function(){return this.$store.getters["productCategory/show"]}},mounted:function(){var t=this;this.loading.isActive=!0,this.$store.dispatch("productCategory/show",this.$route.params.id).then(function(e){t.loading.isActive=!1}).catch(function(e){t.loading.isActive=!1})},methods:{statusClass:function(t){return b.A.statusClass(t)}}};const C=(0,o(6262).A)(h,[["render",function(t,e,o,g,y,b){var f=(0,r.resolveComponent)("LoadingComponent");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(f,{props:y.loading},null,8,["props"]),(0,r.createElementVNode)("div",n,[(0,r.createElementVNode)("div",a,[(0,r.createElementVNode)("h3",s,(0,r.toDisplayString)(t.$t("menu.product_categories")),1)]),(0,r.createElementVNode)("div",c,[(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("img",{class:"db-image",alt:"category",src:b.productCategory.cover},null,8,u)]),(0,r.createElementVNode)("div",d,[(0,r.createElementVNode)("h3",m,(0,r.toDisplayString)(b.productCategory.name),1),(0,r.createElementVNode)("label",{class:(0,r.normalizeClass)(["db-badge mb-3",b.statusClass(b.productCategory.status)])},(0,r.toDisplayString)(y.enums.statusEnumArray[b.productCategory.status]),3),(0,r.createElementVNode)("p",p,(0,r.toDisplayString)(b.productCategory.description),1)])])])])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285