PageSourceSearch

https://cdn.estimate.cccone.com/angular-aca/configure/dist/chunk-TA4ZZKX3.js

js cccone.com collected 2026-10-05 21:29:28 UTC 11,111 bytes, 2 lines download raw bytes

1import{a as be}from"./chunk-UOIUQ6TE.js";import{a as de}from"./chunk-DZIOUZTT.js";import{Cf as K,Dd as N,Dj as ae,Gj as oe,Jd as O,Jf as H,Lf as J,Ph as Z,Pj as re,Qh as ee,Xf as Q,Yn as ce,Zn as w,_n as le,bj as ne,fg as X,k as B,ki as te,me as q,mf as G,mi as ie,qn as se}from"./chunk-2M6L7URG.js";import"./chunk-OMEBMLHK.js";import{c as y}from"./chunk-TMSVBURN.js";import{O as Y,R as I,o as $,w as z}from"./chunk-JWBIZNHH.js";import{Dc as R,Fa as m,Ga as g,Ic as h,Jb as l,Lc as p,Qb as T,Rb as v,Rd as W,Ub as A,_c as o,ed as M,fd as V,gd as j,ja as _,jc as C,kd as U,lc as x,qc as E,rb as P,rc as t,s as D,sc as n,tc as d,ua as f,ud as S,vd as b,xb as u,xc as F,yc as L}from"./chunk-STKURT5I.js";import{i as Se}from"./chunk-5KTCK5IS.js";var me=Se(be());function we(r,a){r&1&&(F(0),t(1,"ccc-loading-content",2),d(2,"ccc-loading-cloud",3),n(),L()),r&2&&(u(),E("isLoading",!0))}function _e(r,a){r&1&&d(0,"app-error-page")}function Ee(r,a){if(r&1){let c=R();t(0,"app-navigation-bar")(1,"div",4)(2,"button",5),h("click",function(){m(c);let e=p();return g(e.navigateToSettingsPage())}),o(3," Settings "),n(),o(4," > "),t(5,"span"),o(6,"Data Connections"),n()(),t(7,"div",6)(8,"button",7),h("click",function(){m(c);let e=p();return g(e.navigateToSettingsPage())}),d(9,"span",8),n(),t(10,"span"),o(11,"Data Connections "),n()()(),t(12,"div",9)(13,"div",10)(14,"app-generic-card")(15,"div",11),d(16,"span",12),n(),t(17,"div",13)(18,"h6",14),o(19,"Data Sharing"),n(),t(20,"p"),o(21," Share repair status and CSI information from your organization with specified data sharing partners. "),n()(),t(22,"div",15)(23,"button",16),h("click",function(){m(c);let e=p();return g(e.onDataSharingClick())}),o(24," Configure "),n()()(),t(25,"app-generic-card")(26,"div",11),d(27,"span",17),n(),t(28,"div",13)(29,"h6",14),o(30,"EMS and Workfile Copy"),n(),t(31,"p"),o(32," Manage user settings for importing and exporting workfile data including EMS and CCC workfile copy. "),n()(),t(33,"div",15)(34,"button",18),h("click",function(){m(c);let e=p();return g(e.onEMSAndWorkfileCopyClick())}),o(35," Configure "),n()()(),t(36,"app-generic-card")(37,"div",11),d(38,"span",19),n(),t(39,"div",13)(40,"h6",14),o(41,"Rental"),n(),t(42,"p"),o(43," Manage rental interface connections with your organization. Share repair order and repair status information with configured rental partners. "),n()(),t(44,"div",15)(45,"button",18),h("click",function(){m(c);let e=p();return g(e.onRentalClick())}),o(46," Configure "),n()()(),t(47,"app-generic-card")(48,"div",11),d(49,"span",20),n(),t(50,"div",13)(51,"h6",14),o(52,"Salvage"),n(),t(53,"p"),o(54," When enabled, allows salvage companies to send requests for advance fees on totaled vehicles. "),t(55,"span")(56,"a",21),o(57," Learn more "),d(58,"span",22),n()()()(),t(59,"div",23)(60,"ccc-switch",24),j("ngModelChange",function(e){m(c);let s=p();return V(s.dataConnectionsLandingResult.advanceFeesIsUserAgreed,e)||(s.dataConnectionsLandingResult.advanceFeesIsUserAgreed=e),g(e)}),h("click",function(e){m(c);let s=p();return g(s.toggleSalvageActivationAgreement(e))}),n()()(),t(61,"app-generic-card")(62,"div",11),d(63,"span",25),n(),t(64,"div",13)(65,"h6",14),o(66,"Secure Share"),n(),t(67,"p"),o(68,"Manage estimate data sharing with third party apps."),n()(),t(69,"div",15)(70,"button",18),h("click",function(){m(c);let e=p();return g(e.onSecureShareClick())}),o(71," Configure "),n()()()()()}if(r&2){let c=p();u(56),E("href",U(c.learnMoreUrlLink),P),u(4),M("ngModel",c.dataConnectionsLandingResult.advanceFeesIsUserAgreed)}}var k=(()=>{let a=class a extends q{constructor(i,e,s,he,ue,fe,ve,Ce,xe){super(),this.navigationService=i,this.router=e,this.errorStateService=s,this.dataConnectionsFacade=he,this.dialogService=ue,this.changeDetectorRef=fe,this.presetDialogService=ve,this.toastService=Ce,this.authorizationService=xe,this.learnMoreUrlLink="https://cccis.zendesk.com/hc/en-us/articles/34563864372244-CCC-Advance-Fees-Services-User-Guide",this.isDialogOpen=!1,this.hasImportExportEmsAndWorkfileCopyPermission=!1,this.hasEditRepairerPermission=!1}ngOnInit(){this.isLoading$=this.dataConnectionsFacade.getIsLoading$(),this.isLoaded$=this.dataConnectionsFacade.getIsLoaded$(),this.hasError$=this.dataConnectionsFacade.getError$(),this.hasImportExportEmsAndWorkfileCopyPermission=this.authorizationService.hasPermission(y.EditEmsImportSettings),this.hasEditRepairerPermission=this.authorizationService.hasPermission(y.EditRepairerProfile),this.dataConnectionsFacade.getDataConnectionsLandingConfiguration$().pipe(_(this.destroyed$)).subscribe(i=>{i&&(this.dataConnectionsLandingResult=(0,me.cloneDeep)(i))}
1),this.dataConnectionsFacade.dispatchGetDataConnectionsLanding(),this.dataConnectionsFacade.getIsSaved$().pipe(_(this.destroyed$)).subscribe(i=>{i&&setTimeout(()=>{this.toastService.show({htmlContent:"<span>Salvage disabled</span>",hideIcon:!0})},2500)})}navigateToSettingsPage(){this.navigationService.navigateBackToSettings()}onDataSharingClick(){this.hasEditRepairerPermission?this.navigateTo("data-sharing"):this.showInsufficientPermissionsDialog("In order to access Data Sharing settings, you must be granted the following </br> security permission: </br></br> <b> Edit repairer profiles</b>")}onEMSAndWorkfileCopyClick(){this.hasImportExportEmsAndWorkfileCopyPermission?this.navigateTo("import-export-ems-settings",!1):this.showInsufficientPermissionsDialog("To access EMS and Workfile Copy settings, you must be granted the following </br> security permission: </br></br> <b> Enable import/export EMS and workfile copy on cccone.com</b>")}onRentalClick(){this.hasEditRepairerPermission?this.navigateTo("rental"):this.showInsufficientPermissionsDialog("In order to access Rental settings, you must be granted the following </br> security permission: </br></br> <b> Edit repairer profiles</b>")}toggleSalvageActivationAgreement(i){if(i.preventDefault(),this.hasEditRepairerPermission)if(this.dataConnectionsLandingResult.advanceFeesIsUserAgreed){this.dataConnectionsLandingResult.advanceFeesIsUserAgreed=!this.dataConnectionsLandingResult.advanceFeesIsUserAgreed;let e={advanceFeesAgreementId:this.dataConnectionsLandingResult.advanceFeesAgreementId,advanceFeesIsUserAgreed:!1};this.updateSalvageActivationAgreement(e),this.changeDetectorRef.detectChanges()}else{this.isDialogOpen=!0;let e=this.dialogService.open(ie,{data:{agreementKind:de.Company,termsOfUseType:B.AdvanceFees,headerText:"Terms of Use",isAgreed:!1,isAgreedText:"I have read the above statement and accept.",loadedSaveButtonText:"I accept",loadedCancelButtonText:"I do not accept"}});D(e.afterClosed()).then(s=>{this.dataConnectionsLandingResult.advanceFeesIsUserAgreed=s,s&&setTimeout(()=>{this.toastService.show({htmlContent:"<span>Salvage enabled</span>",hideIcon:!0})},2500)}).catch(()=>{this.dataConnectionsLandingResult.advanceFeesIsUserAgreed=!1}).finally(()=>{this.isDialogOpen=!1,this.changeDetectorRef.detectChanges()})}else this.showInsufficientPermissionsDialog("The following permission is required to enable salvage.</br></br> <b> Edit repairer profiles</b>",!0)}updateSalvageActivationAgreement(i){return this.dataConnectionsFacade.dispatchSaveSalvageTogglingRequest(i)}onSecureShareClick(){this.hasEditRepairerPermission?this.navigateTo("secure-share"):this.showInsufficientPermissionsDialog("In order to access Secure Share settings, you must be granted the following </br> security permission: </br></br> <b> Edit repairer profiles</b>")}navigateTo(i,e=!0){if(!navigator.onLine){this.errorStateService.showErrorDialog();return}let s={queryParams:{backToDataConnectionsLanding:!0}};e?this.router.navigate([i],s):this.router.navigate([i])}showInsufficientPermissionsDialog(i,e=!1){this.presetDialogService.alert({header:"Insufficient permission",content:i,showWarningIcon:e,okButtonText:"OK"})}};a.\u0275fac=function(e){return new(e||a)(l(se),l(Y),l(te),l(w),l(K),l(W),l(Z),l(ae),l(ee))},a.\u0275cmp=T({type:a,selectors:[["app-data-connections-page"]],standalone:!1,features:[A],decls:8,vars:9,consts:[[1,"h-full"],[1,"feature-page"],[1,"d-flex","items-center","justify-center","flex-1",3,"isLoading"],[1,"cloud-medium"],[1,"navigation-bar-breadcrumb"],["title","Settings",1,"navigation-bar-btn",3,"click"],[1,"navigation-bar-title"],["type","button",1,"navigation-bar-back-arrow",3,"click"],["cccInlineSvg","assets/icons/back-arrow.svg",1,"inline-svg","icon-24"],[1,"feature-page-container"],[1,"feature-page-content"],[1,"mr-10","px-6"],["cccInlineSvg","data-sharing.svg",1,"inline-svg","icon-64","text-light"],[1,"flex-1"],[1,"font-medium","text-sm","mt-0","mb-4"],[1,"w-1/5","d-flex","flex-col","justify-end","items-end"],[1,"btn","btn-primary","btn-raised","w-2/3","configure-btn",3,"click"],["cccInlineSvg","ems-workfile-copy-card.svg",1,"inline-svg","icon-64","text-light"],[1,"btn","btn-primary","btn-raised","w-2/3","m-2","configure-btn",3,"click"],["cccInlineSvg","rental.svg",1,"inline-svg","icon-64","text-light"],["cccInlineSvg","surface.svg",1,"inline-svg","icon-64","text-light"],["target","_blank",1,"learn-more-link",3,"href"],["cccInlineSvg","external-link.svg",1,"inline-svg","icon-8","learn-more-icon"],[1,"w-1/5","mr-2","mb-4","d-flex","flex-col","justify-end","items-end"],["enabledText","Enabled","disabledText","Disabled",1,"w-2/3",3,"ngModelChange","click","ngModel"],["cccInlineSvg","secure-share.svg",1,"inline-svg","icon-64","text-light"]],template:function(e,s){e&1&&(t(0,"div",0)(1,"div",1),C(2,we,3,1,"ng-container"),S(3,"async"),C(4,_e,1,0,"app-error-page"),S(5,"async"),C(6,Ee,72,3),S(7,"async"),n()()),e&2&&(u(2),x(b(3,3,s.isLoading$)?2:-1),u(2),x(b(5,5,s.hasError$)?4:-1),u(2),x(b(7,7,s.isLoaded$)?6:-1))},dependencies:[G,H,J,Q,N,O,X,oe,ne,$],styles:[`app-data-connections-page .configure-btn{display:inline-flex;justify-content:center;align-items:center;min-height:36px;min-width:88px;font-size:14px;border-radius:2px}app-data-connections-page .configure-btn .btn-icon{min-width:12px;width:12px;min-height:12px;height:12px;margin:0 0 0 4px}app-data-connections-page .learn-more-link{text-decoration:none}app-data-connections-page .learn-more-icon{margin-bottom:8px}app-data-connections-page .switch-thumb{height:20px;width:20px}app-data-connections-page .switch-bar{height:14px;width:34px}.cdk-overlay-pane app-tou-dialog .dialog-content{width:820px;height:420px}.cdk-overlay-pane app-tou-dialog .dialog-content .agreement-text{min-height:269px;max-height:269px;font-size:medium}.cdk-overlay-pane app-tou-dialog .dialog-content .agreement-text p{margin-bottom:24px}.toast{height:32px;border-radius:4px;width:150px}.toast .text-section{border-radius:4px;justify-content:center}
2`],encapsulation:2});let r=a;return r})();var ye=[{path:"",component:k,data:{documentTitle:"Data Connections"}}],ge=(()=>{let a=class a{};a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=v({type:a}),a.\u0275inj=f({imports:[I.forChild(ye),I]});let r=a;return r})();var Qe=(()=>{let a=class a{};a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=v({type:a}),a.\u0275inj=f({providers:[ce,w],imports:[z,re,ge,le]});let r=a;return r})();export{Qe as DataConnectionsModule};

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.