PageSourceSearch

https://shop.bonfiglioli.com/chunk-G6AE4JME.js

js bonfiglioli.com collected 2026-09-25 18:41:21 UTC 23,675 bytes, 2 lines download raw bytes

1import{a as K,b as bt}from"./chunk-RCI7LLBV.js";import{b as z}from"./chunk-W4F2BJ53.js";import"./chunk-BYXBJQAS.js";import"./chunk-HPYOONN3.js";import{r as _t,s as xt,t as kt,u as Tt}from"./chunk-U6224T7R.js";import"./chunk-VDWXESJF.js";import{$a as at,A as Ke,Aa as ot,C as He,I as Ye,J as We,K as Je,M as Qe,N as Xe,R as Ze,S as et,Ya as rt,c as Ae,f as we,fb as ct,g as je,ib as lt,kb as st,lb as pt,n as Ve,ob as $,pb as G,t as Ue,ua as tt,ub as mt,va as it,vb as dt,w as qe,wb as ut,x as $e,xb as gt,y as Ge,yb as ft,z as ze,za as nt,zb as Ct}from"./chunk-JCOTUPE5.js";import{B as ie,Ed as Pe,Ha as ne,Md as Re,Nd as Ne,Oc as Fe,Td as q,Wd as I,Xd as oe,aa as Ee,da as Ie,ea as Oe,ga as De,j as ve,l as ye,m as Be,oc as Me,r as he,s as E,tc as Le,v as Se}from"./chunk-TXT3R3MF.js";import{Cc as fe,Dc as Ce,Ea as N,Ec as s,Ed as U,Fa as me,Fc as l,Fd as C,Gc as a,Hc as g,Ja as de,L as Z,Lc as _e,Mc as xe,Md as r,Nb as n,Nc as ee,Nd as c,Od as h,Rc as j,Rd as be,Sa as A,Ta as w,W as v,Wc as x,Yc as u,_b as L,ac as ue,fc as y,gc as ge,gd as te,jb as k,jc as B,kc as _,ld as p,md as ke,nd as m,od as V,p as P,pd as Te,ta as pe,vc as F,x as R,xc as T,xd as S,y as se,zc as b}from"./chunk-PWAHSUDZ.js";import"./chunk-2BAXZMGZ.js";var vt=t=>({count:t}),Bt=()=>({}),ht=t=>({item:t}),It=()=>({required:"true"});function Ot(t,o){if(t&1&&(g(0,"cx-icon",7),l(1,"span",22),p(2),r(3,"cxTranslate"),a()),t&2){let e=u();s("type",e.iconTypes.UPLOAD),n(2),ke(c(3,2,"customerTicketing.uploadFile"))}}function Dt(t,o){if(t&1&&(l(0,"option",28),p(1),a()),t&2){let e=o.$implicit,i=u(4);s("ngValue",e)("selected",e.code===i.selectedAssociatedObject.code),n(),V(" ",e.type," ",e.code," ")}}function Mt(t,o){if(t&1&&(l(0,"select",25)(1,"option",26),p(2),r(3,"cxTranslate"),a(),_(4,Dt,2,4,"option",27),a()),t&2){let e=u(2).ngIf;n(2),m(" ",c(3,2,"createCustomerTicket.optionallySelectAssociatedObject")," "),n(2),s("ngForOf",e)}}function Lt(t,o){if(t&1&&(p(0),r(1,"date")),t&2){let e=u().item;m(" ",h(1,1,e.modifiedAt,"dd/MM/yyyy")," ")}}function Ft(t,o){if(t&1&&(l(0,"span",32),p(1),r(2,"cxTranslate"),r(3,"cxTranslate"),T(4,Lt,2,4),a()),t&2){let e=o.item;n(),Te(" ",c(2,4,"createCustomerTicket."+e.type),": ",e.code,"; ",c(3,6,"createCustomerTicket.updated"),": "),n(3),b(e.modifiedAt?4:-1)}}function Pt(t,o){t&1&&ee(0)}function Rt(t,o){if(t&1&&_(0,Pt,1,0,"ng-container",33),t&2){let e=o.item;u();let i=te(4);s("ngTemplateOutlet",i)("ngTemplateOutletContext",C(2,ht,e))}}function Nt(t,o){t&1&&ee(0)}function At(t,o){if(t&1&&_(0,Nt,1,0,"ng-container",33),t&2){let e=o.item;u();let i=te(4);s("ngTemplateOutlet",i)("ngTemplateOutletContext",C(2,ht,e))}}function wt(t,o){if(t&1&&(l(0,"ng-select",29),r(1,"cxTranslate"),r(2,"cxTranslate"),_(3,Ft,5,8,"ng-template",null,0,be)(5,Rt,1,4,"ng-template",30)(6,At,1,4,"ng-template",31),a()),t&2){let e=u(2).ngIf;s("ariaLabelDropdown",S(c(1,7,"common.ngSelectDropdownOptionsList")))("clearable",!1)("items",e)("placeholder",c(2,9,"createCustomerTicket.optionallySelectAssociatedObject"))("searchable",!1)("cxNgSelectA11y",U(11,Bt))}}function jt(t,o){t&1&&(l(0,"label")(1,"span",10),p(2),r(3,"cxTranslate"),a(),_(4,Mt,5,4,"select",23)(5,wt,7,12,"ng-select",24),a()),t&2&&(n(2),m(" ",c(3,3,"createCustomerTicket.associateTo")," "),n(2),s("cxFeature","!a11ySelectImprovementsCustomerTicketingCreateSelectbox"),n(),s("cxFeature","a11ySelectImprovementsCustomerTicketingCreateSelectbox"))}function Vt(t,o){if(t&1&&(_e(0),_(1,jt,6,5,"label",18),xe()),t&2){let e=o.ngIf;n(),s("ngIf",e.length>0)}}function Ut(t,o){if(t&1&&(l(0,"option",28),p(1),a()),t&2){let e=o.$implicit,i=u(3);s("ngValue",e)("selected",e.id===i.selectedCategory.id),n(),m(" ",e.name," ")}}function qt(t,o){if(t&1&&(l(0,"select",37)(1,"option",26),p(2),r(3,"cxTranslate"),a(),_(4,Ut,2,3,"option",27),a()),t&2){let e=u().ngIf;n(2),m(" ",c(3,2,"createCustomerTicket.selectCategory")," "),n(2),s("ngForOf",e)}}function $t(t,o){if(t&1&&(g(0,"ng-select",38),r(1,"cxTranslate"),r(2,"cxTranslate")),t&2){let e,i=u().ngIf,d=u();s("ariaLabelDropdown",S(c(1,10,"common.ngSelectDropdownOptionsList")))("inputAttrs",U(14,It))("searchable",!1)("clearable",!1)("items",i)("placeholder",c(2,12,"createCustomerTicket.selectCategory"))("cxNgSelectA11y",U(15,Bt)),F("aria-invalid",((e=d.form.get("ticketCategory"))==null?null:e.touched)&&((e=d.form.get("ticketCategory"))==null?null:e.invalid))("aria-errormessage","ticketCategoryError")}}
1function Gt(t,o){if(t&1&&(l(0,"label")(1,"span",10),p(2),r(3,"cxTranslate"),g(4,"cx-form-required-asterisks"),a(),_(5,qt,5,4,"select",34)(6,$t,3,16,"ng-select",35),g(7,"cx-form-errors",36),a()),t&2){let e=u();n(2),m(" ",c(3,4,"createCustomerTicket.category")," "),n(3),s("cxFeature","!a11ySelectImprovementsCustomerTicketingCreateSelectbox"),n(),s("cxFeature","a11ySelectImprovementsCustomerTicketingCreateSelectbox"),n(),s("control",e.form.get("ticketCategory"))}}var H=class t extends _t{ngOnInit(){super.ngOnInit(),this.ticketAssociatedObjects$.pipe(Z(o=>!!o&&o.length>0),v(1)).subscribe(o=>{if(this.ticketOptions?.cartCode){let e=o.find(i=>i.code===this.ticketOptions?.cartCode);if(e){this.form.patchValue({associatedTo:e});return}}this.form.get("associatedTo")?.value||this.form.patchValue({associatedTo:o[0]})}),this.form.get("ticketCategory")?.valueChanges.pipe(pe(this.form.get("ticketCategory")?.value)).subscribe(o=>{o===""&&this.form.patchValue({ticketCategory:null},{emitEvent:!1})}),this.launchDialogService.data$.pipe(Z(o=>!!o),v(1)).subscribe(o=>{this.ticketOptions={cartCode:o.cartCode,configId:o.configId,productCode:o.productCode,designation:o.designation},this.ticketOptions.designation&&this.ticketOptions.designation.trim().length>0&&this.translationService.translate("createCustomerTicket.subjectMessage",{designation:this.ticketOptions.designation}).pipe(v(1)).subscribe(e=>{this.form.get("subject")?.setValue(e)}),this.ticketOptions.cartCode&&this.ticketOptions.cartCode.trim().length>0&&this.translationService.translate("createCustomerTicket.cartSubjectMessage",{cartCode:this.ticketOptions.cartCode}).pipe(v(1)).subscribe(e=>{this.form.get("subject")?.setValue(e)})})}getCreateTicketPayload(o){return{message:o?.get("message")?.value,subject:o?.get("subject")?.value,associatedTo:o?.get("associatedTo")?.value||void 0,ticketCategory:o?.get("ticketCategory")?.value,configId:this.ticketOptions?.configId,productCode:this.ticketOptions?.productCode}}static{this.\u0275fac=(()=>{let o;return function(i){return(o||(o=k(t)))(i||t)}})()}static{this.\u0275cmp=y({type:t,selectors:[["bonfiglioli-customer-ticketing-create-dialog"]],standalone:!1,features:[B],decls:52,vars:57,consts:[["itemTemplate",""],["role","dialog","aria-labelledby","dialogTitle",1,"modal-dialog","modal
1-dialog-centered","cx-customer-ticket-form-dialog",3,"esc","cxFocus"],[1,"modal-content","cx-customer-ticket-form-container",3,"formGroup"],[1,"modal-header","cx-customer-ticket-form-header"],["id","dialogTitle",1,"cx-customer-ticket-form-title","modal-title"],["type","button",1,"cx-customer-ticket-form-close","close",3,"click","title"],["aria-hidden","true"],[3,"type"],[1,"modal-body","cx-customer-ticket-form-body"],[1,"cx-customer-ticket-form-row"],[1,"cx-customer-ticket-label","label-content"],["required","true","formControlName","subject","rows","1",1,"form-control",3,"maxLength"],["id","subjectError",3,"control"],[1,"cx-customer-ticket-input-hint"],["required","true","formControlName","message","rows","5",1,"form-control",3,"maxLength"],["id","messageError",3,"control"],[3,"formControl","accept"],["prefix","formErrors.file",3,"control"],[4,"ngIf"],[1,"cx-customer-ticket-form-footer"],["type","button",1,"btn","btn-secondary",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],[1,"cx-message-footer-text"],["class","form-control","formControlName","associatedTo",4,"cxFeature"],["class","bf-associtated-to-select","formControlName","associatedTo","id","associated-to-select",3,"clearable","items","placeholder","searchable","ariaLabelDropdown","cxNgSelectA11y",4,"cxFeature"],["formControlName","associatedTo",1,"form-control"],["value","","disabled","","selected",""],[3,"ngValue","selected",4,"ngFor","ngForOf"],[3,"ngValue","selected"],["formControlName","associatedTo","id","associated-to-select",1,"bf-associtated-to-select",3,"clearable","items","placeholder","searchable","ariaLabelDropdown","cxNgSelectA11y"],["ng-option-tmp",""],["ng-label-tmp",""],[1,"bf-associated-item"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","form-control","formControlName","ticketCategory",4,"cxFeature"],["class","ticket-category-select","id","ticket-category-select","bindLabel","name","formControlName","ticketCategory",3,"inputAttrs","searchable","clearable","items","placeholder","ariaLabelDropdown","cxNgSelectA11y",4,"cxFeature"],["id","ticketCategoryError",3,"control"],["formControlName","ticketCategory",1,"form-control"],["id","ticket-category-select","bindLabel","name","formControlName","ticketCategory",1,"ticket-category-select",3,"inputAttrs","searchable","clearable","items","placeholder","ariaLabelDropdown","cxNgSelectA11y"]],template:function(e,i){if(e&1&&(l(0,"div",1),x("esc",function(){return i.close("Escape clicked")}),l(1,"form",2)(2,"div",3)(3,"div",4),p(4),r(5,"cxTranslate"),a(),l(6,"button",5),r(7,"cxTranslate"),r(8,"cxTranslate"),x("click",function(){return i.close("Close Create Request Dialog")}),l(9,"span",6),g(10,"cx-icon",7),a()()(),l(11,"div",8)(12,"div",9),g(13,"cx-form-required-legend"),l(14,"label")(15,"span",10),p(16),r(17,"cxTranslate"),g(18,"cx-form-required-asterisks"),a(),g(19,"textarea",11)(20,"cx-form-errors",12),l(21,"p",13),p(22),r(23,"cxTranslate"),a()(),l(24,"label")(25,"span",10),p(26),r(27,"cxTranslate"),g(28,"cx-form-required-asterisks"),a(),g(29,"textarea",14)(30,"cx-form-errors",15),l(31,"p",13),p(32),r(33,"cxTranslate"),a()(),l(34,"div")(35,"span",10),p(36),r(37,"cxTranslate"),a(),l(38,"cx-file-upload",16),_(39,Ot,4,4,"ng-template"),a(),g(40,"cx-form-errors",17),a(),_(41,Vt,2,1,"ng-container",18),r(42,"async"),_(43,Gt,8,6,"label",18),r(44,"async"),a(),l(45,"div",19)(46,"button",20),x("click",function(){return i.close("Close Create Request Dialog")}),p(47),r(48,"cxTranslate"),a(),l(49,"button",21),x("click",function(){return i.createTicketRequest()}),p(50),r(51,"cxTranslate"),a()()()()()),e&2){let d,f;s("cxFocus",i.focusConfig),n(),s("formGroup",i.form),n(3),m(" ",c(5,27,"createCustomerTicket.addNewRequest")," "),n(2),s("title",S(c(7,29,"common.close"))),F("aria-label",c(8,31,"common.close")),n(4),s("type",i.iconTypes.CLOSE),n(6),m(" ",c(17,33,"createCustomerTicket.subject")," "),n(3),s("maxLength",i.inputCharactersForSubject),F("aria-invalid",((d=i.form.get("subject"))==null?null:d.touched)&&((d=i.form.get("subject"))==null?null:d.invalid))("aria-errormessage","subjectError"),n(),s("control",i.form.get("subject")),n(2),m(" ",h(23,35,"customerTicketing.charactersLeft",C(53,vt,i.subjectCharacterLeft))," "),n(4),m(" ",c(27,38,"customerTicketing.message")," "),n(3),s("maxLength",i.inputCharactersLimit),F("aria-invalid",((f=i.form.get("message"))==null?null:f.touched)&&((f=i.form.get("message"))==null?null:f.invali
1d))("aria-errormessage","messageError"),n(),s("control",i.form.get("message")),n(2),m(" ",h(33,40,"customerTicketing.charactersLeft",C(55,vt,i.messagesCharacterLeft))," "),n(4),m(" ",c(37,43,"createCustomerTicket.attachFile")," "),n(2),s("formControl",i.form.get("file"))("accept",i.allowedTypes),n(2),s("control",i.form.get("file")),n(),s("ngIf",c(42,45,i.ticketAssociatedObjects$)),n(2),s("ngIf",c(44,47,i.ticketCategories$)),n(4),m(" ",c(48,49,"customerTicketing.cancel")," "),n(3),m(" ",c(51,51,"customerTicketing.submit")," ")}},dependencies:[ye,Be,he,Ze,tt,Ve,ze,Ke,Ae,Ge,we,je,He,Ue,$e,qe,ct,st,Me,Qe,We,Je,mt,$,G,E,Se,I],styles:[".cx-customer-ticket-form-header.modal-header[_ngcontent-%COMP%]{padding-top:32px;padding-left:30px;border-bottom:0}.cx-customer-ticket-form-header.modal-header[_ngcontent-%COMP%]   .cx-customer-ticket-form-close[_ngcontent-%COMP%]{font-size:30px}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-color:var(--cx-color-medium);box-shadow:inset 0 1px 1px #00000013;font-size:.875rem}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .cx-customer-ticket-label[_ngcontent-%COMP%]{color:var(--bf-color-dark-grey);font-size:.75rem;font-weight:400}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .bf-associtated-to-select[_ngcontent-%COMP%]     .ng-select-container{border-color:var(--cx-color-medium);box-shadow:inset 0 1px 1px #00000013}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .bf-associtated-to-select[_ngcontent-%COMP%]   .bf-associated-item[_ngcontent-%COMP%]{text-transform:uppercase;font-size:.875rem}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .ticket-category-select[_ngcontent-%COMP%]     .ng-select-container{border-color:var(--cx-color-medium);box-shadow:inset 0 1px 1px #00000013}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .ticket-category-select[_ngcontent-%COMP%]     .ng-placeholder{text-transform:uppercase;color:var(--bf-color-dark-grey);font-size:.875rem}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .ticket-category-select[_ngcontent-%COMP%]     .ng-option{text-transform:uppercase;font-size:.875rem}.cx-customer-ticket-form-body[_ngcontent-%COMP%]   .cx-customer-ticket-form-row[_ngcontent-%COMP%]   .ticket-category-select[_ngcontent-%COMP%]     .ng-value{text-transform:uppercase;font-size:.875rem}"]})}};function zt(t,o){if(t&1&&(l(0,"div",2),g(1,"cx-card",3),r(2,"async"),a()),t&2){let e=u(),i=u();n(),s("content",c(2,1,i.prepareCardContent(e.ticketCategory.name,"createCustomerTicket.category")))}}function Kt(t,o){if(t&1&&(l(0,"div",2),g(1,"cx-card",3),r(2,"async"),r(3,"async"),a()),t&2){let e=u(),i=u();n(),s("content",c(3,3,i.prepareCardContent(c(2,1,i.getAssociatedToLabel(e.associatedTo.code))??void 0,"createCustomerTicket.associateTo")))}}function Ht(t,o){if(t&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),g(3,"cx-card",3),r(4,"async"),a(),l(5,"div",2),g(6,"cx-card",3),r(7,"cxDate"),r(8,"async"),a(),l(9,"div",2),g(10,"cx-card",3),r(11,"cxDate"),r(12,"async"),a(),l(13,"div",2),g(14,"cx-card",3),r(15,"async"),a(),T(16,zt,3,3,"div",2),T(17,Kt,4,5,"div",2),a()()),t&2){let e=o,i=u();n(3),s("content",c(4,6,i.prepareCardContent(e.subject,"createCustomerTicket.subject"))),n(3),s("content",c(8,11,i.prepareCardContent(h(7,8,e.createdAt,i.dateFormat)??i.dateFormat,"customerTicketing.createdOn"))),n(4),s("content",c(12,16,i.prepareCardContent(h(11,13,e.modifiedAt,i.dateFormat)??i.dateFormat,"customerTicketing.changedOn"))),n(4),s("content",c(15,18,i.prepareCardContent(e.status==null?null:e.status.name,"customerTicketing.status"))),n(2),b(e.ticketCategory?16:-1),n(),b(e.associatedTo?17:-1)}}var Y=class t extends Tt{constructor(){super(...arguments);this.dateFormat="dd-MM-yy hh:mm a"}getAssociatedToLabel(e){return e?this.translation.translate("createCustomerTicket.Order").pipe(R(i=>`${i.toUpperCase()}: ${e}`)):P("")}static{this.\u0275fac=(()=>{let e;return function(d){return(e||(e=k(t)))(d||t)}})()}static{this.\u0275cmp=y({type:t,selectors:[["bonfiglioli-customer-ticketing-details"]],standalone:!1,features:[B],decls:2,vars:3,consts:[[1,"cx-ticket-details"],[1,"container"],[1,"cx-details-card"],[3,"content"]],template:function(i,d){if(i&1&&(T(0,Ht,18,20,"div",0),r(1,"async")),i&2){let f;b((f=c(1,1,d.ticketDetails$))?0:-1,f)}},dependencies:[rt,E,q],styles:[".container[_ngcontent-%COMP%]{width:100%}"]})}};var W=class t extends xt{constructor(e,i,d,f){super(e,i);this.route=d;this.router=f}ngOnInit(){this.route.queryParams.pipe(v(1)).subscribe(e=>
1{let i=e.cartCode,d=e.configId,f=e.productCode,Et=e.designation;if(d&&f||i){let le=this.launchDialogService.openDialog(nt.CUSTOMER_TICKETING_CREATE,this.element,this.vcr,{cartCode:i,configId:d,designation:Et,productCode:f});le&&this.subscription.add(le.pipe(v(1)).subscribe()),this.router.navigate([],{relativeTo:this.route,queryParams:{configId:null,productCode:null,designation:null,cartCode:null},replaceUrl:!0})}})}static{this.\u0275fac=function(i){return new(i||t)(L(ot),L(ue),L(Ee),L(Ie))}}static{this.\u0275cmp=y({type:t,selectors:[["bonfiglioli-customer-ticketing-create"]],standalone:!1,features:[B],decls:4,vars:3,consts:[["element",""],[1,"btn","btn-primary","cx-customer-ticketing-create",3,"click"]],template:function(i,d){i&1&&(l(0,"button",1,0),x("click",function(){return d.openCreateNewTicketDialog()}),p(2),r(3,"cxTranslate"),a()),i&2&&(n(2),m(" ",c(3,1,"createCustomerTicket.addRequest"),`
2`))},dependencies:[I],encapsulation:2})}};var D=t=>({ticketCode:t}),M=t=>({cxRoute:"supportTicketDetails",params:t}),Jt=(t,o)=>o.id;function Qt(t,o){if(t&1){let e=j();l(0,"tr",10),x("click",function(){let d=A(e).$implicit,f=u(3);return w(f.goToTicketDetail(d.id))}),l(1,"td",11)(2,"div",12),p(3),r(4,"cxTranslate"),a(),l(5,"a",13),r(6,"cxUrl"),p(7),a()(),l(8,"td",14)(9,"div",12),p(10),r(11,"cxTranslate"),a(),l(12,"a",13),r(13,"cxUrl"),p(14),a()(),l(15,"td",14)(16,"div",12),p(17),r(18,"cxTranslate"),a(),l(19,"a",13),r(20,"cxUrl"),p(21),a()(),l(22,"td",14)(23,"div",12),p(24),r(25,"cxTranslate"),a(),l(26,"a",13),r(27,"cxUrl"),p(28),r(29,"cxDate"),a()(),l(30,"td",14)(31,"div",12),p(32),r(33,"cxTranslate"),a(),l(34,"a",13),r(35,"cxUrl"),p(36),r(37,"cxDate"),a()(),l(38,"td",14)(39,"div",12),p(40),r(41,"cxTranslate"),a(),l(42,"a",15),r(43,"cxUrl"),p(44),a()()()}if(t&2){let e=o.$implicit,i=u(3);n(3),m(" ",c(4,19,"customerTicketingList.mobile.ticketIdFull")," "),n(2),s("routerLink",c(6,21,C(49,M,C(47,D,e.id)))),n(2),m(" ",e.id," "),n(3),m(" ",c(11,23,"customerTicketingList.subject")," "),n(2),s("routerLink",c(13,25,C(53,M,C(51,D,e.id)))),n(2),m(" ",e.subject," "),n(3),m(" ",c(18,27,"customerTicketingList.ticketCategory")," "),n(2),s("routerLink",c(20,29,C(57,M,C(55,D,e.id)))),n(2),m(" ",e.ticketCategory==null?null:e.ticketCategory.name," "),n(3),m(" ",c(25,31,"customerTicketing.createdOn")," "),n(2),s("routerLink",c(27,33,C(61,M,C(59,D,e.id)))),n(2),m(" ",c(29,35,e.createdAt)," "),n(4),m(" ",c(33,37,"customerTicketing.changedOn")," "),n(2),s("routerLink",c(35,39,C(65,M,C(63,D,e.id)))),n(2),m(" ",c(37,41,e.modifiedAt)," "),n(4),m(" ",c(41,43,"customerTicketing.status")," "),n(2),s("routerLink",c(43,45,C(69,M,C(67,D,e.id))))("ngClass",i.getStatusClass((e.status==null?null:e.status.id)??"")),n(2),m(" ",e.status==null?null:e.status.name," ")}}function Xt(t,o){if(t&1){let e=j();l(0,"div",9)(1,"cx-pagination",16),x("viewPageEvent",function(d){A(e);let f=u(3);return w(f.pageChange(d))}),a()()}if(t&2){let e=u(2);n(),s("pagination",e.pagination)}}function Zt(t,o){if(t&1){let e=j();l(0,"div",2)(1,"label",3)(2,"span"),p(3),r(4,"cxTranslate"),a(),l(5,"cx-sorting",4),r(6,"cxTranslate"),r(7,"async"),r(8,"cxTranslate"),x("sortListEvent",function(d){A(e);let f=u(2);return w(f.changeSortCode(d))}),a()(),g(9,"bonfiglioli-customer-ticketing-create"),a(),l(10,"table",5)(11,"thead",6)(12,"tr")(13,"th",7),p(14),r(15,"cxTranslate"),a(),l(16,"th",7),p(17),r(18,"cxTranslate"),a(),l(19,"th",7),p(20),r(21,"cxTranslate"),a(),l(22,"th",7),p(23),r(24,"cxTranslate"),a(),l(25,"th",7),p(26),r(27,"cxTranslate"),a(),l(28,"th",7),p(29),r(30,"cxTranslate"),a()()(),l(31,"tbody"),fe(32,Qt,45,71,"tr",null,Jt),a()(),l(34,"div",8),T(35,Xt,2,1,"div",9),a()}if(t&2){let e=u(),i=u();n(3),m(" ",c(4,14,"customerTicketingList.sortSubtitle")," "),n(2),s("placeholder",S(c(6,16,"customerTicketingList.sortSubtitle")))("sortOptions",e.sorts)("sortLabels",c(7,18,i.getSortLabels()))("selectedOption",e.pagination==null?null:e.pagination.sort)("ariaLabel",c(8,20,"customerTicketingList.sortOrders")),n(9),m(" ",c(15,22,"customerTicketing.ticketId")," "),n(3),m(" ",c(18,24,"customerTicketingList.subject")," "),n(3),m(" ",c(21,26,"customerTicketingList.ticketCategory")," "),n(3),m(" ",c(24,28,"customerTicketing.createdOn")," "),n(3),m(" ",c(27,30,"customerTicketing.changedOn")," "),n(3),m(" ",c(30,32,"customerTicketing.status")," "),n(3),Ce(e.tickets),n(3),b((e.pagination==null?null:e.pagination.totalPages)??!1?35:-1)}}function ei(t,o){t&1&&(g(0,"bonfiglioli-customer-ticketing-create"),l(1,"div",17)(2,"h3"),p(3),r(4,"cxTranslate"),a()()),t&2&&(n(3),m(" ",c(4,1,"customerTicketingList.noTickets")," "))}function ti(t,o){if(t&1&&(l(0,"span",0)(1,"h2",1),p(2),r(3,"cxTranslate"),a()(),T(4,Zt,36,34)(
25,ei,5,3)),t&2){let e=o;n(2),V(" ",c(3,3,"customerTicketingList.requestTitle")," (",(e.pagination==null?null:e.pagination.totalResults)||0,") "),n(2),b(((e.tickets==null?null:e.tickets.length)??0)>0?4:5)}}var J=class t extends kt{static{this.\u0275fac=(()=>{let o;return function(i){return(o||(o=k(t)))(i||t)}})()}static{this.\u0275cmp=y({type:t,selectors:[["bonfiglioli-customer-ticketing-list"]],standalone:!1,features:[B],decls:2,vars:3,consts:[[1,"cx-ticketing-list-title"],[1,"cx-ticketing-list-title-text"],[1,"cx-ticketing-list-sort","top"],[1,"cx-ticketing-list-form-group","form-group"],["ariaControls","ticketing-list-table",3,"sortListEvent","sortOptions","sortLabels","selectedOption","placeholder","ariaLabel"],["id","ticketing-list-table","aria-hidden","true",1,"table","cx-ticketing-list-table"],[1,"cx-ticketing-list-thead-mobile"],["scope","col"],[1,"cx-ticketing-list-sort","bottom"],[1,"cx-ticketing-list-pagination"],[3,"click"],[1,"cx-ticketing-list-data","cx-ticketing-list-id"],[1,"cx-ticketing-list-label"],[1,"cx-ticketing-list-value",3,"routerLink"],[1,"cx-ticketing-list-data"],[1,"cx-ticketing-list-value",3,"routerLink","ngClass"],[3,"viewPageEvent","pagination"],[1,"text-center"]],template:function(e,i){if(e&1&&(T(0,ti,6,5),r(1,"async")),e&2){let d;b((d=c(1,1,i.tickets$))?0:-1,d)}},dependencies:[ve,ft,dt,Oe,W,E,I,q,Re],encapsulation:2})}};var Q=class t extends z{constructor(){super(...arguments);this.pageUid="support-tickets"}resolveHeading(){return super.getEmptyString()}static{this.\u0275fac=(()=>{let e;return function(d){return(e||(e=k(t)))(d||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}};var X=class t extends K{constructor(){super(...arguments);this.contentPageMetaResolver=de(z);this.CUSTOMER_SERVICE_TRANSLATION_KEY="pageMetaResolver.customerTicketing.customerTickets";this.CUSTOMER_SERVICE_DETAILS_TRANSLATION_KEY="pageMetaResolver.customerTicketing.customerTicket";this.customerServiceBreadCrumb$=se([this.translation.translate(this.CUSTOMER_SERVICE_TRANSLATION_KEY),this.translation.translate(this.CUSTOMER_SERVICE_DETAILS_TRANSLATION_KEY)]).pipe(R(([e,i])=>[{label:e,link:this.semanticPath.get(this.CUSTOMER_SERVICE_SEMANTIC_ROUTE)},{label:i}]))}resolveTitle(){return this.contentPageMetaResolver.resolveTitle()}resolveHeading(){return P("")}static{this.\u0275fac=(()=>{let e;return function(d){return(e||(e=k(t)))(d||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}};var St=class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=ge({type:t})}static{this.\u0275inj=me({providers:[ne({cmsComponents:{SupportTicketDetailsComponent:{component:Y,guards:[Fe]},SupportTicketHistoryComponent:{component:J}}}),ne({launch:{CUSTOMER_TICKETING_CREATE:{inline:!0,component:H}}}),{provide:Pe,useExisting:Q,multi:!0},{provide:K,useExisting:X}],imports:[bt,ie,oe,et,it,Ye,lt,pt,Le,Xe,ut,$,G,ie,oe,Ne,at,Ct,gt,De]})}};export{St as BonfiglioliCustomerTicketingModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.