import {J,c as tS,U as RN,aV as ut,by as it,w as wo,c1 as Tc,f as QT,X as _z,e5 as Gu,a0 as ks,a3 as Py,a2 as Uu,e6 as zu,A as Iw,a4 as Sy}from'./main-WUGO6e7n.js';var H,y=J(()=>{tS();RN();tS();ut();H=(()=>{class e{constructor(t){this.cancel=new it,this.onClick=new it,t&&(this.parent=t);}triggerCancel(t){this.cancel.emit(t),this.onClick.emit(t),this.parent&&this.parent.resetForm();}static{this.\u0275fac=function(n){return new(n||e)(wo(Tc,9))};}static{this.\u0275cmp=QT({type:e,selectors:[["sd-cancel-button"]],inputs:{parent:"parent",label:"label"},outputs:{cancel:"cancel",onClick:"onClick"},decls:2,vars:1,consts:[["type","button","variant","tertiary",3,"onClick","label"]],template:function(n,o){n&1&&(Gu(0),ks(1,"dvl-button",0),Py("onClick",function(g){return o.triggerCancel(g)}),Uu(),zu()),n&2&&(Iw(),Sy("label",o.label));},dependencies:[_z],encapsulation:2,changeDetection:1});}}return e})();});export{H,y};