[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 9412.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9412],{9412:(e,t,l)=>{l.r(t),l.d(t,{default:()=>U});var s=l(9726),i={class:"p-6 rounded-xl mb-8 shadow-xs bg-white"},a={class:"flex flex-wrap gap-4 sm:gap-6"},n=["src"],o={class:"text-[26px] font-semibold font-rubik leading-[40px] capitalize"},r={class:"p-0.5 px-2 rounded text-[10px] leading-4 font-medium font-rubik uppercase mb-[22px] text-[#E89806] bg-[#FFF5DE]"},c={id:"profile",class:"profile-tabDiv active"},d={class:"db-card"},p={class:"db-card-header"},m={class:"db-card-title"},u={class:"db-card-body"},b={class:"row py-2"},f={class:"col-12 sm:col-6 !py-1.5"},y={class:"db-list-item p-0"},E={class:"db-list-item-title w-full sm:w-1/2"},v={class:"db-list-item-text w-full sm:w-1/2"},N={class:"col-12 sm:col-6 !py-1.5"},V={class:"db-list-item p-0"},w={class:"db-list-item-title w-full sm:w-1/2"},g={class:"db-list-item-text w-full sm:w-1/2"},S={class:"col-12 sm:col-6 !py-1.5"},h={class:"db-list-item p-0"},x={class:"db-list-item-title w-full sm:w-1/2"},D={class:"db-list-item-text w-full sm:w-1/2"},$={class:"col-12 sm:col-6 !py-1.5"},A={class:"db-list-item p-0"},C={class:"db-list-item-title w-full sm:w-1/2"},k={class:"db-list-item-text w-full sm:w-1/2"},j={class:"col-12 sm:col-6 !py-1.5"},F={class:"db-list-item p-0"},_={class:"db-list-item-title w-full sm:w-1/2"},z={class:"db-list-item-text w-full sm:w-1/2"},I={class:"col-12 sm:col-6 !py-1.5"},P={class:"db-list-item p-0"},T={class:"db-list-item-title w-full sm:w-1/2"},B={class:"db-list-item-text w-full sm:w-1/2"},L={class:"col-12 sm:col-6 !py-1.5"},O={class:"db-list-item p-0"},q={class:"db-list-item-title w-full sm:w-1/2"},G={class:"db-list-item-text w-full sm:w-1/2"};var H=l(5475),J=l(6884),K=l(8655);function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function Q(e,t,l){return(t=function(e){var t=function(e,t){if("object"!=M(e)||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var s=l.call(e,t||"default");if("object"!=M(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==M(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const R={name:"SupplierShowComponent",components:{LoadingComponent:H.A},data:function(){return{loading:{isActive:!1},enums:{statusEnum:J.A,statusEnumArray:Q(Q({},J.A.ACTIVE,this.$t("label.active")),J.A.INACTIVE,this.$t("label.inactive"))}}},computed:{supplier:function(){return this.$store.getters["supplier/show"]}},mounted:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("supplier/show",this.$route.params.id).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},methods:{statusClass:function(e){return K.A.statusClass(e)}}};const U=(0,l(6262).A)(R,[["render",function(e,t,l,H,J,K){var M=(0,s.resolveComponent)("LoadingComponent");return(0,s.openBlock)(),(0,s.createElementBlock)(s.Fragment,null,[(0,s.createVNode)(M,{props:J.loading},null,8,["props"]),(0,s.createElementVNode)("div",i,[(0,s.createElementVNode)("div",a,[(0,s.createElementVNode)("img",{class:"w-[120px] h-[120px] object-cover rounded-lg",alt:"avatar",src:K.supplier.image},null,8,n),(0,s.createElementVNode)("div",null,[(0,s.createElementVNode)("h3",o,(0,s.toDisplayString)(K.supplier.name),1),(0,s.createElementVNode)("label",r,(0,s.toDisplayString)(e.$t("label.supplier")),1)])])]),(0,s.createElementVNode)("div",c,[(0,s.createElementVNode)("div",d,[(0,s.createElementVNode)("div",p,[(0,s.createElementVNode)("h3",m,(0,s.toDisplayString)(e.$t("label.basic_info")),1)]),(0,s.createElementVNode)("div",u,[(0,s.createElementVNode)("div",b,[(0,s.createElementVNode)("div",f,[(0,s.createElementVNode)("div",y,[(0,s.createElementVNode)("span",E,(0,s.toDisplayString)(e.$t("label.company")),1),(0,s.createElementVNode)("span",v,(0,s.toDisplayString)(K.supplier.company),1)])]),(0,s.createElementVNode)("div",N,[(0,s.createElementVNode)("div",V,[(0,s.createElementVNode)("span",w,(0,s.toDisplayString)(e.$t("label.email")),1),(0,s.createElementVNode)("span",g,(0,s.toDisplayString)(K.supplier.email),1)])]),(0,s.createElementVNode)("div",S,[(0,s.createElementVNode)("div",h,[(0,s.createElementVNode)("span",x,(0,s.toDisplayString)(e.$t("label.phone")),1),(0,s.createElementVNode)("span",D,(0,s.toDisplayString)(K.supplier.country_code)+" "+(0,s.toDisplayString)(K.supplier.phone),1)])]),(0,s.createElementVNode)("div",$,[(0,s.createElementVNode)("div",A,[(0,s.createElementVNode)("span",C,(0,s.toDisplayString)(e.$t("label.city")),1),(0,s.createElementVNode)("span",k,(0,s.toDisplayString)(K.supplier.city),1)])]),(0,s.createElementVNode)("div",j,[(0,s.createElementVNode)("div",F,[(0,s.createElementVNode)("span",_,(0,s.toDisplayString)(e.$t("label.state")),1),(0,s.createElementVNode)("span",z,(0,s.toDisplayString)(K.supplier.state),1)])]),(0,s.createElementVNode)("div",I,[(0,s.createElementVNode)("div",P,[(0,s.createElementVNode)("span",T,(0,s.toDisplayString)(e.$t("label.zip_code")),1),(0,s.createElementVNode)("span",B,(0,s.toDisplayString)(K.supplier.zip_code),1)])]),(0,s.createElementVNode)("div",L,[(0,s.createElementVNode)("div",O,[(0,s.createElementVNode)("span",q,(0,s.toDisplayString)(e.$t("label.address")),1),(0,s.createElementVNode)("span",G,(0,s.toDisplayString)(K.supplier.address),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