PageSourceSearch

https://eu.younium.com/chunk-G7K65KUH.js

js younium.com collected 2026-10-03 21:20:51 UTC 3,413 bytes, 1 lines download raw bytes

1import{a as v}from"./chunk-ULIVDXWZ.js";import{a as y,b as T}from"./chunk-RC6FWAGZ.js";import"./chunk-XPK55CJV.js";import"./chunk-EI7S76MX.js";import"./chunk-H53OZVLL.js";import"./chunk-3RO65GPC.js";import"./chunk-7UG5WIEB.js";import"./chunk-JTGAFH3Q.js";import"./chunk-M5AYQI3W.js";import"./chunk-FWHBGNFB.js";import"./chunk-I6OTESFY.js";import"./chunk-KSV4K5L7.js";import"./chunk-G24DUSEI.js";import"./chunk-WBKEXQKE.js";import"./chunk-GBI3J4AK.js";import"./chunk-7RJ7KBOV.js";import"./chunk-EOY6SAP7.js";import"./chunk-ZGCK3FI7.js";import"./chunk-GFCJRNG7.js";import"./chunk-RVGGNFAO.js";import"./chunk-3C3AINZY.js";import"./chunk-CLDDMLFW.js";import"./chunk-TZCA4BMQ.js";import"./chunk-E653UENJ.js";import"./chunk-YY5ENN77.js";import"./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"./chunk-DJ7NG7WZ.js";import{c as u}from"./chunk-KI4XJKCH.js";import"./chunk-NERRRF6P.js";import"./chunk-SXBT3OYT.js";import"./chunk-SN3EPBFH.js";import"./chunk-EHPYMWXB.js";import"./chunk-EUX7SKJZ.js";import"./chunk-5SQV5IIR.js";import"./chunk-NVPTMCVP.js";import"./chunk-7ZFPQAIH.js";import"./chunk-7NPDSOWV.js";import"./chunk-R5IULLQ2.js";import"./chunk-LEKN3M5J.js";import"./chunk-KFHTLBNQ.js";import"./chunk-YV5TISNX.js";import"./chunk-IDF3EASQ.js";import"./chunk-WJESYQVL.js";import{$c as _,Bc as l,Cc as m,Dc as p,F as d,Sb as o,Uc as h,Zb as c,_c as C,ad as f,l as s,wd as g}from"./chunk-K6IHZUMJ.js";var S=["tableCard"],A=()=>["name","revenueRecognitionRuleId","taxTemplateId","deferredRevenueId","recognizedRevenueId","taxIncluded"],D=(()=>{class r{constructor(t,e){this.associatedChargeTemplateService=t,this.notificationService=e}getEmptyAssociatedChargeTemplate(){return new y}onAddClicked(t){d(this.associatedChargeTemplateService.create(t)).then(e=>{e.name?this.tableCard.refreshTableAndNotify():this.notificationService.error("Something went wrong when creating new associated charge template")})}onEditClicked(t){d(this.associatedChargeTemplateService.update(t)).then(e=>{e.name?this.tableCard.refreshTableAndNotify():this.notificationService.error(`Something went wrong when updating '${t.name}'`)})}onDeleteClicked(t){return s(this,null,function*(){d(this.associatedChargeTemplateService.delete(t)).then(()=>{this.tableCard.refreshTableAndNotify()},e=>this.notificationService.error(e.error.message))})}static{this.\u0275fac=function(e){return new(e||r)(o(T),o(u))}}static{this.\u0275cmp=c({type:r,selectors:[["app-settings-associated-charge-template"]],viewQuery:function(e,i){if(e&1&&C(S,5),e&2){let a;_(a=f())&&(i.tableCard=a.first)}},decls:2,vars:3,consts:[["tableCard",""],["entityTitle","Associated charge templates","entityName","associatedchargetemplate",3,"addClicked","editClicked","deleteClicked","fieldNames","emptyEntity"]],template:function(e,i){e&1&&(m(0,"yon-entity-table-with-add-edit-delete-card",1,0),h("addClicked",function(n){return i.onAddClicked(n)})("editClicked",function(n){return i.onEditClicked(n)})("deleteClicked",function(n){return i.onDeleteClicked(n)}),p()),e&2&&l("fieldNames",g(2,A))("emptyEntity",i.getEmptyAssociatedChargeTemplate())},dependencies:[v],encapsulation:2})}}return r})();export{D as SettingsAssociatedChargeTemplateComponent};

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.