1import{a as dt}from"./chunk-J3L5NQ4S.js";import{a as x}from"./chunk-5MD6LA6G.js";import{a as ct,b as lt}from"./chunk-462OGEO6.js";import{a as $}from"./chunk-RL23CMKJ.js";import{a as rt}from"./chunk-U2PNEEEQ.js";import{a as at}from"./chunk-EI7S76MX.js";import"./chunk-J5Q5SGAO.js";import"./chunk-3RO65GPC.js";import"./chunk-R7YZZUMY.js";import"./chunk-JYENBUHD.js";import"./chunk-M5AYQI3W.js";import"./chunk-FWHBGNFB.js";import"./chunk-I6OTESFY.js";import"./chunk-KSV4K5L7.js";import"./chunk-G24DUSEI.js";import{a as Z}from"./chunk-WBKEXQKE.js";import"./chunk-DNWKX7ME.js";import{a as st}from"./chunk-7RJ7KBOV.js";import"./chunk-EOY6SAP7.js";import"./chunk-ZGCK3FI7.js";import"./chunk-GFCJRNG7.js";import"./chunk-RVGGNFAO.js";import{J as it}from"./chunk-YJGV56BU.js";import"./chunk-5LNWRJOG.js";import"./chunk-TZCA4BMQ.js";import"./chunk-UX52FRTR.js";import"./chunk-IWYKCUBW.js";import{a as et,b as nt}from"./chunk-MZ3B3AQU.js";import"./chunk-GJ3HPRCZ.js";import"./chunk-L77O44AU.js";import"./chunk-XZDAMPUP.js";import"./chunk-L27WCSZV.js";import"./chunk-UWULTQAP.js";import"./chunk-RB2YP5E2.js";import"./chunk-QIIVFJNA.js";import"./chunk-KO7CD6JP.js";import"./chunk-6D27RETG.js";import{C as J,h as K,m as G}from"./chunk-DJ7NG7WZ.js";import{c as q}from"./chunk-KI4XJKCH.js";import{a as tt,c as ot}from"./chunk-NERRRF6P.js";import{w as X}from"./chunk-SXBT3OYT.js";import{l as U}from"./chunk-SN3EPBFH.js";import"./chunk-EHPYMWXB.js";import"./chunk-EUX7SKJZ.js";import"./chunk-5SQV5IIR.js";import{ea as Q}from"./chunk-7ZFPQAIH.js";import{pa as H,r as j}from"./chunk-7NPDSOWV.js";import"./chunk-R5IULLQ2.js";import{x as N,z as Y}from"./chunk-LEKN3M5J.js";import"./chunk-KFHTLBNQ.js";import"./chunk-YV5TISNX.js";import"./chunk-IDF3EASQ.js";import"./chunk-WJESYQVL.js";import{$c as D,Bc as m,Cc as o,Dc as s,Ec as k,F as O,I as P,Ib as u,La as g,Lc as w,Ma as p,Md as z,Sb as b,Uc as F,Wc as c,Zb as W,_c as R,ad as T,dc as V,ed as E,jd as l,l as A,ld as I,pd as h,qd as y,rd as _,sa as C,t as L,ua as B,uc as S,wc as v,wd as M}from"./chunk-K6IHZUMJ.js";var gt=["setupDialog"],pt=["fortnoxIntegrationCards"],Ct=["projectOrCostCenterDialog"],ht=()=>({name:"info",tooltip:'A "deliverydate" custom field on the order will overwrite this default delivery date. The default delivery date is used for VAT/e-invoice compliance.'}),yt=()=>["/settings/custom-field-lists"],ut=()=>["/settings/custom-fields"];function _t(a,f){a&1&&(o(0,"div",12)(1,"h4"),l(2,"Disclaimer"),s(),o(3,"p"),l(4," Fortnox have very limited accrual options and only allows for one accrual per invoice. When using this feature you must be aware of the following "),s(),o(5,"ul",14)(6,"li"),l(7," - All invoice lines with revenue recognition method set to Recognize monthly over time will be accrued "),s(),o(8,"li"),l(9,"- All invoice lines must use the same revenue and deferred revenue accounts"),s(),o(10,"li"),l(11,"- Accrual amount = Sum of subtotal for all accrued invoice lines"),s(),o(12,"li"),l(13," - Accrual start date = Minimum Service Period Start Date for the accrued invoice lines "),s(),o(14,"li"),l(15," - Accrual end date = Maximum Service Period End Date for the accrued invoice lines "),s(),o(16,"li"),l(17," - The accrued amount will be evenly distributed for all months, no prorating is performed "),s()()()),a&2&&m("@slideInOut",void 0)}function xt(a,f){if(a&1){let t=w();o(0,"div",10)(1,"mat-slide-toggle",11),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.useFortnoxAccrual,e)||(i.settings.useFortnoxAccrual=e),p(e)}),l(2," Use Fortnox accrual "),s(),S(3,_t,18,1,"div",12),o(4,"mat-slide-toggle",11),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.mapRenewalTextOnInvoice,e)||(i.settings.mapRenewalTextOnInvoice=e),p(e)}),l(5," Map subscription and renewal info on invoice lines "),s(),o(6,"mat-slide-toggle",11),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.mapEUQuarterlyReport,e)||(i.settings.mapEUQuarterlyReport=e),p(e)}),l(7," Decides if the field EU Quarterly Report should be set to true on the invoice "),s(),o(8,"mat-slide-toggle",11),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.useProject,e)||(i.settings.useProject=e),p(e)}),l(9," Use project dimension when posting "),s(),o(10,"mat-slide-toggle",11),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.useCostCenter,e)||(i.settings.useCostCenter=e),p(e)}),l(11," Use cost center dimension when posting "),s(),o(12,"yon-field",13),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.mapDefaultDeliveryDate,e)||(i.settings.mapDefaultDeliveryDate=e),p(e)}),s()()}if(a&2){let t=c(2);m("@slideInOut",void 0),u(),h("ngModel",t.settings.useFortnoxAccrual),m("disabled",!t.editMode),u(2),v(t.settings.useFortnoxAccrual?3:-1),u(),h("ngModel",t.settings.mapRenewalTextOnInvoice),m("disabled",!t.editMode),u(2),h("ngModel",t.settings.mapEUQuarterlyReport),m("disabled",!t.editMode),u(2),h("ngModel",t.settings.useProject),m("disabled",!t.editMode),u(2),h("ngModel",t.settings.useCostCenter),m("disabled",!t.editMode),u(2),h("ngModel",t.settings.mapDefaultDeliveryDate),m("data",t.mapDefaultDeliveryDateOptions)("isRequired",!0)("disabled",!t.editMode)("title","Default delivery date")("icon",M(18,ht))}}function ft(a,f){if(a&1){let t=w();o(0,"yon-settings-integration-cards",8,3),F("saveClick",function(){g(t);let e=c();return p(e.onClickSaveIntegrationSettings())})("getStartedClick",function(){g(t);let e=c();return p(e.onSetup())})("deactivateClick",function(){g(t);let e=c();return p(e.onDeactivate())})("editClick",function(){g(t);let e=c();return p(e.editMode=!0)})("cancelClick",function(){g(t);let e=c();return p(e.onCancelClick())}),o(2,"yon-settings-integration-cards-settings")(3,"yon-settings-slide-toggle",9),_("isCheckedChange",function(e){g(t);let i=c();return y(i.settings.postInvoices,e)||(i.settings.postInvoices=e),p(e)}),s(),S(4,xt,13,19,"div",10),s()()}if(a&2){let t=c();m("integrationNameExtended","Fortnox, "+(t.connectionInfo==null||t.connectionInfo.CompanySettings==null?null:t.connectionInfo.CompanySettings.Name))("hasValidAccessToken",t.settings.accessTokenValid)("synchronizationBlocks",t.synchronizationBlocks)("editMode",t.editMode),u(3),h("isChecked",t.settings.postInvoices),m("disabled",!t.editMode),u(),v(t.settings.postInvoices?4:-1)}}function St(a,f){if(a&1){let t=w();o(0,"div")(1,"p"),l(2,"In Fortnox you now have to connect Younium to your Fortnox account."),s(),o(3,"p"),l(4," You will be redirected to the fortnox login screen. Login in with the user you want to connect Younium and Fortnox with. "),s(),o(5,"p"),l(6,"When you have logged in you will be redirected to the Younium Fortnox page."),s(),o(7,"yon-button",16),F("onClick",function(){g(t);let e=c(2);return p(e.onValidate())}),l(8,"Connect"),s()()}}function vt(a,f){if(a&1){let t=w();o(0,"div",15),k(1,"yon-icon",17),o(2,"p"),l(3," Younium and Fortnox are now integrated. Now go ahead and setup the rest of the integration "),s(),o(4,"yon-button",18),F("onClick",function(){g(t),c(2);let e=E(2);return p(e.close())}),l(5,"OK"),s()()}a&2&&m("@slideInOut",void 0)}function wt(a,f){if(a&1&&(S(0,St,9,0,"div"),S(1,vt,6,1,"div",15)),a&2){let t=c();v(t.settings!=null&&t.settings.accessTokenValid?-1:0),u(),v(t.settings!=null&&t.settings.accessTokenValid?1:-1)}}function bt(a,f){if(a&1&&k(0,"yon-dialog-center",7,4),a&2){let t=c(),n=E(7);m("header","Import "+t.dimensionModeString+" dimension")("containerTemplate",n)}}function Ft(a,f){if(a&1){let t=w();o(0,"div",21)(1,"yon-field",23),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.projectCustomField,e)||(i.settings.projectCustomField=e),p(e)}),s(),o(2,"yon-field",23),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.invoiceLineProjectCustomField,e)||(i.settings.invoiceLineProjectCustomField=e),p(e)}),s()()}if(a&2){let t=c(2);u(),h("ngModel",t.settings.projectCustomField),m("data",t.invoiceListCustomFields)("title","Project field on invoice"),u(),h("ngModel",t.settings.invoiceLineProjectCustomField),m("data",t.invoiceLineListCustomFields)("title","Project field on invoice line")}}function Mt(a,f){if(a&1){let t=w();o(0,"div",21)(1,"yon-field",23),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.costCenterCustomField,e)||(i.settings.costCenterCustomField=e),p(e)}),s(),o(2,"yon-field",23),_("ngModelChange",function(e){g(t);let i=c(2);return y(i.settings.invoiceLineCostCenterCustomField,e)||(i.settings.invoiceLineCostCenterCustomField=e),p(e)}),s()()}if(a&2){let t=c(2);u(),h("ngModel",t.settings.costCenterCustomField),m("data",t.invoiceListCustomFields)("title","Cost center field on invoice"),u(),h("ngModel",t.settings.invoiceLineCostCenterCustomField),m("data",t.invoiceLineListCustomFields)("title","Cost center field on invoice line")}}function kt(a,f){if(a&1){let t=w();o(0,"p"),l(1),s(),o(2,"ol",19)(3,"li")(4,"a",20),l(5," Create an empty custom field list in You
1nium "),s()(),o(6,"li")(7,"a",20),l(8," Create a custom field for invoice of type list that uses the list created in step 1 "),s()(),o(9,"li")(10,"a",20),l(11," Create a custom field for invoice line of type list that uses the list created in step 1 "),s()(),o(12,"li"),l(13),s(),o(14,"li"),l(15),s()(),S(16,Ft,3,6,"div",21),S(17,Mt,3,6,"div",21),o(18,"div")(19,"yon-button",22),F("onClick",function(){g(t);let e=c();return p(e.dimensionMode==="project"?e.onImportProjectDimension():e.onImportCostCenterDimension())}),l(20," IMPORT NOW "),s(),o(21,"yon-button",18),F("onClick",function(){g(t);let e=c();return p(e.projectOrCostCenterDialog.close())}),l(22,"CANCEL"),s()()}if(a&2){let t=c();u(),I(" Fortnox ",t.dimensionModeString,"s will be synchronized to a custom field list in Younium. You first need to setup a custom field list and then create custom fields of type list that use this list. Follow the instructions below to do this "),u(3),m("routerLink",M(9,yt)),u(3),m("routerLink",M(10,ut)),u(3),m("routerLink",M(11,ut)),u(3),I(" (Optional) Create a custom field on order with the same name as the field on invoice created in step 2. This will allow to set ",t.dimensionModeString," on orders and have them auto populated on invoices "),u(2),I(" (Optional) Create a custom field on order product charge with the same name as the field on invoice created in step 3. This will allow to set ",t.dimensionModeString," on charges and have them auto populated on invoice lines "),u(),v(t.dimensionMode==="project"?16:-1),u(),v(t.dimensionMode==="costCenter"?17:-1),u(2),m("disabled",!t.dimensionButtonIsClickable)}}var $t=(()=>{class a{constructor(t,n,e,i,mt){this.fortnoxService=t,this.notificationService=n,this.fieldConfigurationService=e,this.dialogService=i,this.customFieldListService=mt,this.synchronizationBlocks=new Array,this.mapDefaultDeliveryDateOptions=H.mapDefaultDeliveryDates,this.unsubscribe$=new L,this.onSyncCurrencies=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.synchronizeCurrencies().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastCurrencySync,r.lastCurrencySyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onSyncExchangeRates=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.synchronizeExchangeRates().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastExchangeRateSync,r.lastExchangeRateSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onSyncPaymentTerms=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.synchronizePaymentTerms().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastPaymentTermSync,r.lastPaymentTermSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onSyncChartOfAccounts=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.synchronizeChartOfAccounts().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastChartOfAccountsSync,r.lastChartOfAccountsSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onSyncProducts=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.synchronizeProducts().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastProductSync,r.lastProductSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onImportAccounts=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.importAccounts().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastAccountSync,r.lastAccountSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.onExportAccounts=d=>{this.synchronizationBlocks[d].isLoading=!0,this.fortnoxService.exportAccounts().pipe(C(this.unsubscribe$)).subscribe({next:r=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(d,r.lastExportAccountSync,r.lastExportAccountSyncCount)},error:r=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(d,r.error.message)})},this.openProjectDimensionDialog=()=>{this.dimensionMode="project",this.projectOrCostCenterDialog.show()},this.openCostCenterDimenisonDialog=()=>{this.dimensionMode="costCenter",this.projectOrCostCenterDialog.show()}}ngOnInit(){this.fortnoxService.getSettings().pipe(C(this.unsubscribe$),B(()=>this.fortnoxService.getConnectionInfo().subscribe(t=>this.connectionInfo=t))).subscribe(t=>{this.settings=t,this.synchronizationBlocks=this.getSynchronizationBlocks()}),this.customFieldListService.customFieldLists().pipe(C(this.unsubscribe$)).subscribe(t=>this.customFieldLists=t),this.fieldConfigurationService.customFieldsForEntity("invoice").pipe(P(t=>t.filter(n=>n.fieldType===j.List))).pipe(C(this.unsubscribe$)).subscribe(t=>this.invoiceListCustomFields=t),this.fieldConfigurationService.customFieldsForEntity("invoiceline").pipe(P(t=>t.filter(n=>n.fieldType===j.List))).pipe(C(this.unsubscribe$)).subscribe(t=>this.invoiceLineListCustomFields=t)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}getSynchronizationBlocks(){return new Array(new x({header:"Currencies",synchType:"import",onSyncClick:this.onSyncCurrencies,lastSynchedDate:this.settings.lastCurrencySync,lastSynchedCount:this.settings.lastCurrencySyncCount}),new x({header:"Exchange rates",synchType:"import",onSyncClick:this.onSyncExchangeRates,lastSynchedDate:this.settings.lastExchangeRateSync,lastSynchedCount:this.settings.lastExchangeRateSyncCount}),new x({header:"Payment terms",synchType:"import",onSyncClick:this.onSyncPaymentTerms,lastSynchedDate:this.settings.lastPaymentTermSync,lastSynchedCount:this.settings.lastPaymentTermSyncCount}),new x({header:"Chart of accounts",synchType:"import",onSyncClick:this.onSyncChartOfAccounts,lastSynchedDate:this.settings.lastChartOfAccountsSync,lastSynchedCount:this.settings.lastChartOfAccountsSyncCount}),new x({header:"Products",synchType:"import",onSyncClick:this.onSyncProducts,lastSynchedDate:this.settings.lastProductSync,lastSynchedCount:this.settings.lastProductSyncCount}),new x({header:"Accounts",synchType:"import",onSyncClick:this.onImportAccounts,confirmText:"Are you sure you want to import Fortnox accounts into Younium? This will create new/update existing accounts in Younium.",lastSynchedDate:this.settings.lastAccountSync,lastSynchedCount:this.settings.lastAccountSyncCount}),new x({header:"Accounts",synchType:"export",onSyncClick:this.onExportAccounts,confirmText:"Are you sure you want to export Younium accounts to Fortnox? This will create new/update existing accounts in your Fortnox environment.",lastSynchedDate:this.settings.lastExportAccountSync,lastSynchedCount:this.settings.lastExportAccountSyncCount}),new x({header:"Project dimension",synchType:"import",onSyncClick:this.openProjectDimensionDialog,lastSynchedDate:this.settings.lastProjectSync,lastSynchedCount:this.settings.lastProjectSyncCount,disabled:!(this.settings.postInvoices&&this.settings.useProject),matTooltip:this.settings.postInvoices&&this.settings.useProject?"":"Enable project dimensions in settings below under (post invoices to fortnox)"}),new x({header:"Cost center dimension",synchType:"import",onSyncClick:this.openCostCenterDimenisonDialog,lastSynchedDate:this.settings.lastCostCenterSync,lastSynchedCount:this.settings.lastCostCenterSyncCount,disabled:!(this.settings.postInvoices&&this.settings.useCostCenter),matTooltip:this.settings.postInvoices&&this.settings.useProject?"":"Enable cost center dimensions in settings below under (post invoices to fortnox)"}))}onSetup(){this.setupDialog.show()}onValidate(){this.fortnoxService.activate().pipe(C(this.unsubscribe$)).subscribe(t=>{t.fortnoxAccessAuthorizationUrl&&window.location.assign(t.fortnoxAccessAuthorizationUrl),this.settings=t})}onDeactivate(){this.dialogService.confirmYesNo("You will lose your connection to Fortnox, are you sure you want to deactivate?").then(t=>{t&&this.fortnoxService.deactivate().pipe(C(this.unsubscribe$)).subscribe(n=>this.settings=n)})}onSaveAndSetup(){this.fortnoxService.saveAndSetup(this.settings).pipe(C(this.unsubscribe$)).subscribe(t=>{this.settings=t})}onClickSaveIntegrationSettings(){return A(this,null,function*(){try{this.settings=yield O(this.fortnoxService.saveAndSetup(this.settings)),this.editMode=!1,this.synchronizationBlocks=this.getSynchronizationBlocks()}catch(t){this.editMode=!0,this.notificationService.error(t)}})}onCancelClick(){this.editMode=!1,this.fortnoxService.getSettings().pipe(C(this.unsubscribe$)).subscribe(t=>this.settings=t)}get dimensionModeString(){return this.dimensionMode==="project"?"project":"cost center"}get dimensionButtonIsClickable(){return this.dimensionMode==="project"&&!!this.settings.projectCustomField&&!!this.settings.invoiceLineProjectCustomField||this.dimensionMode==="costCenter"&&!!this.settings.costCenterCustomField&&!!this.settings.invoiceLineCostCenterCustomField}onImportProjectDimension(){let t=this.synchronizationBlocks.map(n=>n.header).indexOf("Project dimension");this.synchronizationBlocks[t].isLoading=!0,this.fortnoxService.synchronizeProjects(this.settings).pipe(C(this.unsubscribe$)).subscribe({next:n=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(t,n.lastProjectSync,n.lastProjectSyncCount),this.projectOrCostCenterDialog.close()},error:n=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(t,n.error.message)})}onImportCostCenterDimension(){let t=this.synchronizationBlocks.map(n=>n.header).indexOf("Cost center dimension");this.synchronizationBlocks[t].isLoading=!0,this.fortnoxService.synchronizeCostCenters(this.settings).pipe(C(this.unsubscribe$)).subscribe({next:n=>{this.fortnoxIntegrationCards.onSynchronizationDoneHandler(t,n.lastCostCenterSync,n.lastCostCenterSyncCount),this.projectOrCostCenterDialog.close()},error:n=>this.fortnoxIntegrationCards.onSynchronizationErrorHandler(t,n.error.message)})}static{this.\u0275fac=function(n){return new(n||a)(b(rt),b(q),b(Q),b(Z),b(at))}}static{this.\u0275cmp=W({type:a,selectors:[["yon-settings-fortnox"]],viewQuery:function(n,e){if(n&1&&R(gt,5)(pt,5)(Ct,5),n&2){let i;D(i=T())&&(e.setupDialog=i.first),D(i=T())&&(e.fortnoxIntegrationCards=i.first),D(i=T())&&(e.projectOrCostCenterDialog=i.first)}},decls:8,vars:3,consts:[["setupDialog",""],["setupDialogContent",""],["projectOrCostCenterDialogContent",""],["fortnoxIntegrationCards",""],["projectOrCostCenterDialog",""],["integrationName","Fortnox",3,"integrationNameExtended","hasValidAccessToken","synchronizationBlocks","editMode"],["header","Fortnox setup",3,"containerTemplate"],["dialogSize","lg",3,"header","containerTemplate"],["integrationName","Fortnox",3,"saveClick","getStartedClick","deactivateClick","editClick","cancelClick","integrationNameExtended","hasValidAccessToken","synchronizationBlocks","editMode"],["header","Post invoices to Fortnox","subheader","When an invoice is posted in Younium, also create it in Fortnox.",3,"isCheckedChange","isChecked","disabled"],[1,"flex","flex-column","gap-12",2,"margin-left","150px","margin-top","12px"],[3,"ngModelChange","ngModel","disabled"],["role","alert",1,"alert","alert-danger"],["type","select","valueField","id","textField","displayValue",2,"width","250px",3,"ngModelChange","ngModel","data","isRequired","disabled","title","icon"],[2,"font-size","0.8rem"],[1,"text-center"],["color","primary",3,"onClick"],["name","check_circle"],[3,"onClick"],[2,"font-size","12px"],["target","_blank",3,"routerLink"],[2,"width","250px"],["color","primary",1,"mr-2",3,"onClick","disabled"],["type","select","textField","fieldDescription","valueField","fieldName",3,"ngModelChange","ngModel","data","title"]],template:function(n,e){if(n&1&&(S(0,ft,5,7,"yon-settings-integration-cards",5),k(1,"yon-dialog",6,0),V(3,wt,2,2,"ng-template",null,1,z),S(5,bt,2,2,"yon-dialog-center",7),V(6,kt,23,12,"ng-template",null,2,z)),n&2){let i=E(4);
1v(e.settings?0:-1),u(),m("containerTemplate",i),u(4),v(e.settings?5:-1)}},dependencies:[J,K,G,Y,N,ct,lt,dt,st,X,tt,ot,it,U,nt,et],styles:["h4[_ngcontent-%COMP%]{font-size:1.2rem}h2[_ngcontent-%COMP%]{font-size:1.9 rem}p[_ngcontent-%COMP%], section[_ngcontent-%COMP%] p{font-size:.8rem}ul.settings__dotted-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:initial;margin-left:30px}section[_ngcontent-%COMP%] h4{display:inline;margin-left:10px;vertical-align:top}.mat-mdc-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column}.mat-mdc-radio-button[_ngcontent-%COMP%]{margin:5px}.mat-mdc-outlined-button[_ngcontent-%COMP%]{color:#00000094}"],data:{animation:[$.slideInOut]}})}}return a})();export{$t as SettingsFortnoxComponent};
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.