add changes

This commit is contained in:
AD2025
2025-12-29 22:23:30 +02:00
commit 45429a7f3a
75 changed files with 157 additions and 0 deletions

2
chunk-5WBSN65X.js Normal file
View File

@@ -0,0 +1,2 @@
import{a as h,b as T,d as I,e as b,f as y,g as O}from"./chunk-YWCH6MM5.js";import{Aa as v,j as M,wa as _,ya as D,za as x}from"./chunk-COFYR5MX.js";import{Db as s,Eb as f,Jb as C,Kb as i,Lb as o,Xb as c,Za as n,Zb as u,da as r,lc as a,mc as d,nc as m,ob as p}from"./chunk-2MUIW2M6.js";function A(l,g){if(l&1&&(i(0,"mat-icon"),a(1),o()),l&2){let e=u();n(),d(e.data.icon)}}var P=class l{data=r(T);dialogRef=r(h);onConfirm(){this.dialogRef.close(!0)}onCancel(){this.dialogRef.close(!1)}static \u0275fac=function(e){return new(e||l)};static \u0275cmp=p({type:l,selectors:[["app-confirm-dialog"]],decls:12,vars:6,consts:[[2,"padding","10px"],["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-raised-button","",3,"click","color"]],template:function(e,t){e&1&&(i(0,"div",0)(1,"h2",1),s(2,A,2,1,"mat-icon"),a(3),o(),i(4,"mat-dialog-content")(5,"p"),a(6),o()(),i(7,"mat-dialog-actions",2)(8,"button",3),c("click",function(){return t.onCancel()}),a(9),o(),i(10,"button",4),c("click",function(){return t.onConfirm()}),a(11),o()()()),e&2&&(n(2),f(t.data.icon?2:-1),n(),m(" ",t.data.title,`
`),n(3),d(t.data.message),n(3),m(" ",t.data.cancelText||"Cancel"," "),n(),C("color",t.data.confirmColor||"primary"),n(),m(" ",t.data.confirmText||"Confirm"," "))},dependencies:[M,O,I,y,b,D,_,v,x],styles:["h2[mat-dialog-title][_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0}h2[mat-dialog-title][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;width:24px;height:24px}mat-dialog-content[_ngcontent-%COMP%]{padding:1rem 0}mat-dialog-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1rem;line-height:1.5}mat-dialog-actions[_ngcontent-%COMP%]{padding:1rem 0 0;margin:0;gap:.5rem}"]})};export{P as a};