403Webshell
Server IP : 72.60.233.178  /  Your IP : 216.73.216.91
Web Server : Apache
System : Linux srv1210665.hstgr.cloud 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : armaladmin ( 1001)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/armaladmin/public_html/pm/property/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/armaladmin/public_html/pm/property//957-es2018.7eaeb73aa854e189fddc.js
"use strict";(self.webpackChunkmaterial_dashboard_angular=self.webpackChunkmaterial_dashboard_angular||[]).push([[957],{49957:function(t,e,o){o.r(e),o.d(e,{PropertyTypeSettingModule:function(){return et}});var i=o(39895),a=o(22238),r=o(99692),n=o(11494),s=o(28292),c=o(22759),l=o(66682),d=o(54395),u=o(87519),m=o(68307),p=o(3679),f=o(26215),h=o(37716),g=o(12302),Z=o(57404),b=o(38583),T=o(98295),y=o(49983),A=o(51095),v=o(76627),x=o(12178);function q(t,e){1&t&&(h.ynx(0),h.TgZ(1,"mat-icon",18),h._uU(2,"error_outline"),h.qZA(),h.BQk())}function _(t,e){if(1&t&&(h.TgZ(0,"h5",16),h._uU(1,"Add Property Type "),h.YNc(2,q,3,0,"ng-container",17),h.ALo(3,"async"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",h.lcZ(3,1,t.formError$))}}function S(t,e){1&t&&(h.ynx(0),h.TgZ(1,"mat-icon",18),h._uU(2,"error_outline"),h.qZA(),h.BQk())}function w(t,e){if(1&t&&(h.TgZ(0,"h5",16),h._uU(1,"Edit Property Type "),h.YNc(2,S,3,0,"ng-container",17),h.ALo(3,"async"),h.qZA()),2&t){const t=h.oxw();h.xp6(2),h.Q6J("ngIf",h.lcZ(3,1,t.formError$))}}function N(t,e){if(1&t&&(h.TgZ(0,"mat-error",19),h._uU(1),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Oqu(t.formErrors.name)}}function I(t,e){if(1&t&&(h.TgZ(0,"mat-error",19),h._uU(1),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Oqu(t.formErrors.display_name)}}function U(t,e){if(1&t&&(h.TgZ(0,"mat-error",19),h._uU(1),h.qZA()),2&t){const t=h.oxw();h.xp6(1),h.Oqu(t.formErrors.description)}}function C(t,e){1&t&&(h.TgZ(0,"div",20),h._UZ(1,"mat-progress-bar",21),h.qZA())}let D=(()=>{class t{constructor(t,e,o,i,a){this.fb=e,this.propertyTypeService=o,this.notification=i,this.dialogRef=a,this.errorInForm=new f.X(!1),this.formError$=this.errorInForm.asObservable(),this.loader=!1,this.isAdd=t.isAdd,this.propertyType=t.propertyType}ngOnInit(){var t,e,o;this.isAdd&&(this.form=this.fb.group({name:["",[p.kI.required,p.kI.minLength(2)]],display_name:["",[p.kI.required,p.kI.minLength(2)]],description:[""]})),this.isAdd||(this.form=this.fb.group({name:[null===(t=this.propertyType)||void 0===t?void 0:t.name,[p.kI.required,p.kI.minLength(3)]],display_name:[null===(e=this.propertyType)||void 0===e?void 0:e.display_name],description:[null===(o=this.propertyType)||void 0===o?void 0:o.description]}))}create(){this.errorInForm.next(!1);const t=Object.assign({},this.propertyType,this.form.value);this.loader=!0,this.propertyTypeService.create(t).subscribe(t=>{this.onSaveComplete(),this.notification.showNotification("success","Success !! PropertyType created.")},t=>{var e,o;if(this.loader=!1,this.errorInForm.next(!0),this.formErrors=t,this.formErrors)for(const i in this.formErrors)this.form&&(null===(e=this.form.controls[i])||void 0===e||e.markAsTouched(),null===(o=this.form.controls[i])||void 0===o||o.setErrors({incorrect:!0}))})}update(){const t=Object.assign({},this.propertyType,this.form.value);delete t.membership_form,this.loader=!0,this.errorInForm.next(!1),this.propertyTypeService.update(t).subscribe(t=>{this.loader=!1,this.dialogRef.close(this.form.value),this.notification.showNotification("success","Success !! PropertyType has been updated.")},t=>{var e,o;if(this.loader=!1,this.errorInForm.next(!0),this.formErrors=t,this.formErrors)for(const i in this.formErrors)this.form&&(null===(e=this.form.controls[i])||void 0===e||e.markAsTouched(),null===(o=this.form.controls[i])||void 0===o||o.setErrors({incorrect:!0}))})}createOrUpdate(){this.isAdd?this.create():this.update()}close(){this.dialogRef.close()}onSaveComplete(){this.loader=!1,this.form.reset(),this.dialogRef.close(this.form.value)}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(a.WI),h.Y36(p.qu),h.Y36(g.p),h.Y36(Z.g),h.Y36(a.so))},t.\u0275cmp=h.Xpm({type:t,selectors:[["robi-add-property-type"]],decls:32,vars:11,consts:[["mat-dialog-title","",4,"ngIf"],[1,"mat-dialog-data",3,"formGroup","ngSubmit"],[1,"row"],[1,"col-sm-6"],["color","primary","appearance","outline",1,"full-width"],["matInput","","formControlName","name","placeholder","Name"],["align","start","class","form__error",4,"ngIf"],["matInput","","formControlName","display_name","placeholder","Display Name"],[1,"col-sm-12"],["formControlName","description","matInput","","placeholder","Description","maxlength","150","rows","2"],["description",""],["align","end"],["class","d-flex justify-content-center spinner-container",4,"ngIf"],["align","center"],["mat-button","","color","accent",1,"mr-2",3,"disabled","mat-dialog-close","click"],["mat-raised-button","","color","primary",3,"disabled","click"],["mat-dialog-title",""],[4,"ngIf"],["color","warn"],["align","start",1,"form__error"],[1,"d-flex","justify-content-center","spinner-container"],["color","primary","mode","query","value","50","bufferValue","75"]],template:function(t,e){if(1&t&&(h.YNc(0,_,4,3,"h5",0),h.YNc(1,w,4,3,"h5",0),h.TgZ(2,"mat-dialog-content",1),h.NdJ("ngSubmit",function(){return e.create()}),h.TgZ(3,"div",2),h.TgZ(4,"div",3),h.TgZ(5,"mat-form-field",4),h.TgZ(6,"mat-label"),h._uU(7,"Name"),h.qZA(),h._UZ(8,"input",5),h.YNc(9,N,2,1,"mat-error",6),h.qZA(),h.qZA(),h.TgZ(10,"div",3),h.TgZ(11,"mat-form-field",4),h.TgZ(12,"mat-label"),h._uU(13,"Display Name"),h.qZA(),h._UZ(14,"input",7),h.YNc(15,I,2,1,"mat-error",6),h.qZA(),h.qZA(),h.qZA(),h.TgZ(16,"div",2),h.TgZ(17,"div",8),h.TgZ(18,"mat-form-field",4),h.TgZ(19,"mat-label"),h._uU(20,"Description"),h.qZA(),h._UZ(21,"textarea",9,10),h.TgZ(23,"mat-hint",11),h._uU(24),h.qZA(),h.YNc(25,U,2,1,"mat-error",6),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.YNc(26,C,2,0,"div",12),h.TgZ(27,"mat-dialog-actions",13),h.TgZ(28,"button",14),h.NdJ("click",function(){return e.close()}),h._uU(29,"Cancel"),h.qZA(),h.TgZ(30,"button",15),h.NdJ("click",function(){return e.createOrUpdate()}),h._uU(31,"Save"),h.qZA(),h.qZA()),2&t){const t=h.MAs(22);h.Q6J("ngIf",e.isAdd),h.xp6(1),h.Q6J("ngIf",!e.isAdd),h.xp6(1),h.Q6J("formGroup",e.form),h.xp6(7),h.Q6J("ngIf",null==e.formErrors?null:e.formErrors.name),h.xp6(6),h.Q6J("ngIf",null==e.formErrors?null:e.formErrors.display_name),h.xp6(9),h.hij("",t.value.length," / 150"),h.xp6(1),h.Q6J("ngIf",null==e.formErrors?null:e.formErrors.description),h.xp6(1),h.Q6J("ngIf",e.loader),h.xp6(2),h.Q6J("disabled",e.loader)("mat-dialog-close",!0),h.xp6(2),h.Q6J("disabled",!e.form.valid||e.loader)}},directives:[b.O5,a.xY,p.JL,p.sg,T.KE,T.hX,y.Nt,p.Fj,p.JJ,p.u,p.nD,T.bx,a.H8,A.lW,a.ZT,a.uh,v.Hw,T.TO,x.pW],pipes:[b.Ov],encapsulation:2}),t})();var k=o(1581);class J extends k.y{constructor(t){super(t)}}var E=o(32789),Y=o(33935),Q=o(11436),j=o(29790);const O=["search"];function R(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"button",31),h.NdJ("click",function(){return h.CHM(t),h.oxw().clearSearch()}),h.TgZ(1,"mat-icon"),h._uU(2,"close"),h.qZA(),h.qZA()}}function P(t,e){1&t&&(h.TgZ(0,"mat-header-cell",32),h._uU(1," Name "),h.qZA())}function M(t,e){if(1&t&&(h.TgZ(0,"mat-cell"),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.name," ")}}function F(t,e){1&t&&(h.TgZ(0,"mat-header-cell",32),h._uU(1," Display Name "),h.qZA())}function H(t,e){if(1&t&&(h.TgZ(0,"mat-cell"),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.display_name," ")}}function $(t,e){1&t&&(h.TgZ(0,"mat-header-cell"),h._uU(1," Description "),h.qZA())}function B(t,e){if(1&t&&(h.TgZ(0,"mat-cell"),h._uU(1),h.qZA()),2&t){const t=e.$implicit;h.xp6(1),h.hij(" ",t.description," ")}}function G(t,e){1&t&&(h.TgZ(0,"mat-header-cell"),h._uU(1," Actions "),h.qZA())}function L(t,e){if(1&t){const t=h.EpF();h.TgZ(0,"mat-cell",33),h.TgZ(1,"button",34),h.TgZ(2,"mat-icon"),h._uU(3,"more_vert"),h.qZA(),h.qZA(),h.TgZ(4,"mat-menu",null,35),h.TgZ(6,"button",36),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().addDialog(!1,e)}),h.TgZ(7,"mat-icon",37),h._uU(8,"edit"),h.qZA(),h.TgZ(9,"span"),h._uU(10,"Edit"),h.qZA(),h.qZA(),h.TgZ(11,"button",38),h.NdJ("click",function(){const e=h.CHM(t).$implicit;return h.oxw().openConfirmationDialog(e)}),h.TgZ(12,"mat-icon",39),h._uU(13,"delete"),h.qZA(),h.TgZ(14,"span"),h._uU(15,"Delete"),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){const t=h.MAs(5);h.xp6(1),h.Q6J("matMenuTriggerFor",t),h.xp6(5),h.Q6J("matTooltipPosition","above"),h.xp6(5),h.Q6J("matTooltipPosition","above")}}function X(t,e){1&t&&h._UZ(0,"mat-header-row")}function z(t,e){1&t&&h._UZ(0,"mat-row")}function W(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"No Data"),h.qZA())}function K(t,e){1&t&&(h.TgZ(0,"div",40),h._UZ(1,"mat-progress-bar",41),h.qZA())}const V=i.Bz.forChild([{path:"",component:(()=>{class t{constructor(t,e,o){this.propertyTypeService=t,this.notification=e,this.dialog=o,this.displayedColumns=["name","display_name","description","actions"],this.loader=!1,this.pageIndex=0,this.pageSizeOptions=[5,10,25,50,100]}ngOnInit(){this.dataSource=new J(this.propertyTypeService),this.dataSource.meta$.subscribe(t=>this.meta=t),this.dataSource.load("",0,0,"display_name","desc")}ngAfterViewInit(){(0,c.R)(this.search.nativeElement,"keyup").pipe((0,d.b)(1e3),(0,u.x)(),(0,m.b)(()=>{this.paginator.pageIndex=0,this.loadData()})).subscribe(),this.paginator.page.pipe((0,m.b)(()=>this.loadData())).subscribe(),this.sort.sortChange.subscribe(()=>this.paginator.pageIndex=0),(0,l.T)(this.sort.sortChange,this.paginator.page).pipe((0,m.b)(()=>this.loadData())).subscribe()}loadData(){this.dataSource.load(this.search.nativeElement.value,this.paginator.pageIndex+1,this.paginator.pageSize,this.sort.active,this.sort.direction)}clearSearch(){this.search.nativeElement.value="",this.loadData()}addDialog(t=!0,e){const o=new a.vA;o.disableClose=!0,o.autoFocus=!0,o.data={propertyType:e,isAdd:t},this.dialog.open(D,o).afterClosed().subscribe(t=>{t&&this.loadData()})}openConfirmationDialog(t){this.dialogRef=this.dialog.open(s.z,{disableClose:!0}),this.dialogRef.afterClosed().subscribe(e=>{e&&this.delete(t),this.dialogRef=null})}delete(t){this.loader=!0,this.propertyTypeService.delete(t).subscribe(t=>{this.loader=!1,this.loadData(),this.notification.showNotification("success","Success !! PropertyType has been deleted.")},t=>{this.loader=!1,this.notification.showNotification("danger",t.error.message?t.error.message:"Delete Error !! ")})}}return t.\u0275fac=function(e){return new(e||t)(h.Y36(g.p),h.Y36(Z.g),h.Y36(a.uw))},t.\u0275cmp=h.Xpm({type:t,selectors:[["robi-property-type-setting"]],viewQuery:function(t,e){if(1&t&&(h.Gf(O,5),h.Gf(r.NW,7),h.Gf(n.YE,7)),2&t){let t;h.iGM(t=h.CRH())&&(e.search=t.first),h.iGM(t=h.CRH())&&(e.paginator=t.first),h.iGM(t=h.CRH())&&(e.sort=t.first)}},decls:42,vars:15,consts:[[1,"row"],[1,"fab-container"],["mat-fab","",1,"fab-toggler",3,"click"],[1,"col-md-12"],[1,"card"],[1,"card-body"],[1,"row","search-form-section"],[1,"col-3"],["mat-button","","matPrefix","","mat-stroked-button","","aria-label","add new",3,"click"],[1,"col-9"],[1,"search-form-field"],["matInput","","autocomplete","off",3,"placeholder","disabled"],["search",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"table-responsive"],["matSort","","matSortActive","display_name","matSortDirection","asc","matSortDisableClear","",3,"dataSource"],["table",""],["matColumnDef","name"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","display_name"],["matColumnDef","description"],[4,"matHeaderCellDef"],["matColumnDef","actions"],["class","button-row",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["class","d-flex justify-content-center spinner-container",4,"ngIf"],["showFirstLastButtons","",3,"length","pageIndex","pageSizeOptions"],["pagination",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["mat-sort-header",""],[1,"button-row"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","matTooltip","Edit Product Type.",3,"matTooltipPosition","click"],["color","primary"],["mat-menu-item","","matTooltip","Delete Product Type.",3,"matTooltipPosition","click"],["color","warn"],[1,"d-flex","justify-content-center","spinner-container"],["color","green","mode","query","value","50","bufferValue","75"]],template:function(t,e){if(1&t&&(h.TgZ(0,"div",0),h.TgZ(1,"div",1),h.TgZ(2,"button",2),h.NdJ("click",function(){return e.addDialog()}),h.TgZ(3,"mat-icon"),h._uU(4,"add"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(5,"div",3),h.TgZ(6,"div",4),h.TgZ(7,"div",5),h.TgZ(8,"div",6),h.TgZ(9,"div",7),h.TgZ(10,"button",8),h.NdJ("click",function(){return e.addDialog()}),h.TgZ(11,"mat-icon"),h._uU(12,"add"),h.qZA(),h._uU(13," New Property Type "),h.qZA(),h.qZA(),h.TgZ(14,"div",9),h.TgZ(15,"mat-form-field",10),h._UZ(16,"input",11,12),h.ALo(18,"translate"),h.YNc(19,R,3,0,"button",13),h.qZA(),h.qZA(),h.qZA(),h.TgZ(20,"div",14),h.TgZ(21,"mat-table",15,16),h.ynx(23,17),h.YNc(24,P,2,0,"mat-header-cell",18),h.YNc(25,M,2,1,"mat-cell",19),h.BQk(),h.ynx(26,20),h.YNc(27,F,2,0,"mat-header-cell",18),h.YNc(28,H,2,1,"mat-cell",19),h.BQk(),h.ynx(29,21),h.YNc(30,$,2,0,"mat-header-cell",22),h.YNc(31,B,2,1,"mat-cell",19),h.BQk(),h.ynx(32,23),h.YNc(33,G,2,0,"mat-header-cell",22),h.YNc(34,L,16,3,"mat-cell",24),h.BQk(),h.YNc(35,X,1,0,"mat-header-row",25),h.YNc(36,z,1,0,"mat-row",26),h.qZA(),h.YNc(37,W,2,0,"span",27),h.YNc(38,K,2,0,"div",28),h.ALo(39,"async"),h._UZ(40,"mat-paginator",29,30),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t){const t=h.MAs(17);h.xp6(16),h.s9C("placeholder",h.lcZ(18,11,"robi.filter")),h.Q6J("disabled",0===(null==e.meta?null:e.meta.total)),h.xp6(3),h.Q6J("ngIf",t.value),h.xp6(2),h.Q6J("dataSource",e.dataSource),h.xp6(14),h.Q6J("matHeaderRowDef",e.displayedColumns),h.xp6(1),h.Q6J("matRowDefColumns",e.displayedColumns),h.xp6(1),h.Q6J("ngIf",0===(null==e.meta?null:e.meta.total)),h.xp6(1),h.Q6J("ngIf",h.lcZ(39,13,null==e.dataSource?null:e.dataSource.loading$)||e.loader),h.xp6(2),h.Q6J("length",null==e.meta?null:e.meta.total)("pageIndex",e.pageIndex)("pageSizeOptions",e.pageSizeOptions)}},directives:[A.lW,v.Hw,T.qo,T.KE,y.Nt,b.O5,E.BZ,n.YE,E.w1,E.fO,E.Dz,E.as,E.nj,r.NW,T.R9,E.ge,n.nU,E.ev,Y.p6,Y.VK,Y.OP,Q.gM,E.XQ,E.Gk,x.pW],pipes:[j.X$,b.Ov],styles:[""]}),t})()}]);var tt=o(83893);let et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[tt.m,V]]}),t})()},1581:function(t,e,o){o.d(e,{y:function(){return s}});var i=o(26215),a=o(25917),r=o(5304),n=o(68939);class s{constructor(t){this.service=t,this.dataSubject=new i.X([]),this.loadingSubject=new i.X(!1),this.loading$=this.loadingSubject.asObservable(),this.metaSubject=new i.X({}),this.meta$=this.metaSubject.asObservable()}load(t,e,o,i="",s="",c="",l=""){this.loadingSubject.next(!0),this.service.getAll(t,e,o,i,s,c,l).pipe((0,r.K)(()=>(0,a.of)([])),(0,n.x)(()=>this.loadingSubject.next(!1))).subscribe(t=>{this.dataSubject.next(t.data),this.metaSubject.next(t.meta)})}loadNested(t,e,o,i,s="",c="",l="",d=""){this.loadingSubject.next(!0),this.service.getNested(t,e,o,i,s,c,l,d).pipe((0,r.K)(()=>(0,a.of)([])),(0,n.x)(()=>this.loadingSubject.next(!1))).subscribe(t=>{this.dataSubject.next(t.data),this.metaSubject.next(t.meta)})}connect(t){return this.dataSubject.asObservable()}disconnect(t){this.dataSubject.complete(),this.loadingSubject.complete()}}}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit