import{a as D}from"./chunk-WIPHIZE3.js";import{a as y}from"./chunk-7H2VSKCE.js";import"./chunk-IEDTWYT7.js";import{a as L}from"./chunk-MCKNR7LX.js";import"./chunk-AG5UR6GS.js";import{a as v}from"./chunk-DVTOR44T.js";import"./chunk-XIBZ2ULW.js";import"./chunk-XXT62TCF.js";import"./chunk-YUC4NXDM.js";import"./chunk-6P3ZDNP3.js";import"./chunk-VP22RGQG.js";import"./chunk-3FDFNYAA.js";import"./chunk-3HDMTDNY.js";import"./chunk-YR6PJKN6.js";import"./chunk-HVO2LBIZ.js";import"./chunk-JU53QNJX.js";import"./chunk-EMJJQSXR.js";import"./chunk-2G4GCCRX.js";import"./chunk-KAJE4RE3.js";import"./chunk-H6QVTBMZ.js";import"./chunk-XNR6WIGX.js";import"./chunk-5KOP4ULD.js";import"./chunk-F2X3VGZZ.js";import{a as A}from"./chunk-AORLUBLF.js";import{A as P,h as N,j as T,m as I}from"./chunk-RYV2RH4B.js";import"./chunk-CV2ZWZQE.js";import"./chunk-R2UR7BVM.js";import{j as f}from"./chunk-HKLJ6VPZ.js";import{a as E}from"./chunk-MQ46LYK7.js";import{b as g,c as b}from"./chunk-PQ5Q7HJL.js";import"./chunk-72CHOCZD.js";import{Eb as n,Fb as o,Gb as p,Ua as i,Y as O,ac as r,cc as d,dc as B,gb as m,tb as s,vc as e,wc as t,xb as u}from"./chunk-56X5LYJH.js";import"./chunk-TSRGIXR5.js";var C=class l{static \u0275fac=function(a){return new(a||l)};static \u0275cmp=m({type:l,selectors:[["app-add-type-of-process-model"]],decls:33,vars:54,consts:[["data-bs-toggle","modal","data-bs-target","#exampleModal",3,"title","iconClass"],["id","exampleModal","tabindex","-1","aria-labelledby","exampleModalLabel","aria-hidden","true",1,"modal","fade"],[1,"modal-dialog","modal-dialog-centered","modal-lg"],[1,"modal-content","p-4"],["type","button","data-bs-dismiss","modal",1,"btn","text-white","cursor-pointer","rounded-circle","bg-main","d-flex","justify-content-center","align-items-center","mb-2","w-35"],[1,"bi","bi-x","fs-5","fw-bold"],[1,"w-100"],["id","exampleModalLabel",1,"bg-light-purple","w-100","p-3","rounded-3","fs-36","text-center","fw-bold"],[1,"modal-body"],[3,"placeholder","label","required","type"],[3,"placeholder","label","required"],["type","switch",3,"label","onLabel","offLabel"],[1,"d-flex","gap-3","mt-4","justify-content-end"],[3,"submit","title"],["type","button","data-bs-dismiss","modal",1,"btn","btn2","fw-bold"]],template:function(a,h){a&1&&(p(0,"app-button",0),e(1,"translate"),n(2,"div",1)(3,"div",2)(4,"div",3)(5,"button",4),p(6,"i",5),o(),n(7,"div",6)(8,"h1",7),r(9),e(10,"translate"),o()(),n(11,"div",8)(12,"form"),p(13,"app-inputs",9),e(14,"translate"),e(15,"translate"),e(16,"translate"),p(17,"app-inputs",9),e(18,"translate"),e(19,"translate"),e(20,"translate"),p(21,"app-select",10),e(22,"translate"),p(23,"app-inputs",11),e(24,"translate"),e(25,"translate"),e(26,"translate"),n(27,"div",12),p(28,"app-button",13),e(29,"translate"),n(30,"button",14),r(31),e(32,"translate"),o()()()()()()()),a&2&&(u("main-btn"),s("title",t(1,26,"settings.addOperationType"))("iconClass","bi bi-plus-circle"),i(9),d(" ",t(10,28,"settings.addOperationType")," "),i(4),s("placeholder",t(14,30,"settings.operationNamePlaceholder"))("label",t(15,32,"settings.operationName")+" "+t(16,34,"shared.arabic"))("required",!0)("type","text"),i(4),s("placeholder",t(18,36,"settings.operationNamePlaceholder"))("label",t(19,38,"settings.operationName")+" "+t(20,40,"shared.english"))("required",!0)("type","text"),i(4),s("placeholder","settings.selectRelatedSection")("label",t(22,42,"settings.relatedSection"))("required",!0),i(2),s("label",t(24,44,"settings.editable"))("onLabel",t(25,46,"shared.yes"))("offLabel",t(26,48,"shared.no")),i(5),u("bg-main text-white fw-bold"),s("submit",!0)("title",t(29,50,"shared.add")),i(2),u("outline-main-btn"),i(),d(" ",t(32,52,"shared.cancel")," "))},dependencies:[v,f,b,g,P,I,N,T,A,y],styles:[".btn[_ngcontent-%COMP%]:hover{background-color:#7729b7}.w-35[_ngcontent-%COMP%]{width:35px;height:35px}"]})};var x=class l{label="";className="";static \u0275fac=function(a){return new(a||l)};static \u0275cmp=m({type:l,selectors:[["app-badge"]],inputs:{label:"label",className:"className"},decls:2,vars:3,consts:[[1,"badge","text-center","fs-16"]],template:function(a,h){a&1&&(n(0,"div",0),r(1),o()),a&2&&(u(h.className),i(),d(" ",h.label,`
`))},styles:[".badge-success[_ngcontent-%COMP%]{background-color:#e2ffea;color:#42d56b}.info-success[_ngcontent-%COMP%]{background-color:#ebf4ff;color:#007cb1}.error-success[_ngcontent-%COMP%]{background-color:#fbe5e8;color:#ea0234}.draft-success[_ngcontent-%COMP%]{background-color:#eee;color:#979797}"]})};var M=class l{static \u0275fac=function(a){return new(a||l)};static \u0275cmp=m({type:l,selectors:[["app-accounting-operation-list"]],decls:25,vars:23,consts:[[1,"table-responsive","mt-5"],[1,"table"],[1,"text-center","bg-light-gray"],["scope","col"],[1,"text-center"],[3,"className","label"]],template:function(a,h){a&1&&(n(0,"div",0)(1,"table",1)(2,"thead")(3,"tr",2)(4,"th",3),r(5),e(6,"translate"),e(7,"translate"),o(),n(8,"th",3),r(9),e(10,"translate"),e(11,"translate"),o(),n(12,"th",3),r(13),e(14,"translate"),o(),n(15,"th",3),r(16),e(17,"translate"),o(),n(18,"th",3),r(19),e(20,"translate"),o()()(),n(21,"tbody",4)(22,"tr")(23,"td"),p(24,"app-badge",5),o()()()()()),a&2&&(i(5),B(" ",t(6,9,"shared.name")," (",t(7,11,"shared.arabic"),") "),i(4),B(" ",t(10,13,"shared.name")," (",t(11,15,"shared.english"),") "),i(4),d(" ",t(14,17,"settings.relatedSection")," "),i(3),d(" ",t(17,19,"settings.editable")," "),i(3),d(" ",t(20,21,"shared.actions")," "),i(5),s("className","badge-success")("label","kjkhjgh"))},dependencies:[f,b,g,x],encapsulation:2})};var F=class l{translateLoader=O(E);ngOnInit(){this.translateLoader.loadFeature("settings")}static \u0275fac=function(a){return new(a||l)};static \u0275cmp=m({type:l,selectors:[["app-accounting-operations"]],decls:17,vars:14,consts:[[1,"pb-5","mt-0","pt-0"],[1,"w-100","d-flex","justify-content-between","align-items-center","shadow","p-4","rounded-4","flex-wrap"],[3,"showImage","title","subTitle"],[1,"row","d-flex","flex-wrap","mt-4"],[1,"col-md-9"],[3,"type","placeholder"],[1,"col-md-3"],[3,"placeholder"]],template:function(a,h){a&1&&(n(0,"section"),p(1,"app-breadcrumb"),n(2,"div",0)(3,"div",1),p(4,"app-title",2),e(5,"translate"),e(6,"translate"),n(7,"div"),p(8,"app-add-type-of-process-model"),o()(),n(9,"div",3)(10,"div",4),p(11,"app-inputs",5),e(12,"translate"),o(),n(13,"div",6),p(14,"app-select",7),e(15,"translate"),o()(),p(16,"app-accounting-operation-list"),o()()),a&2&&(i(4),s("showImage",!1)("title",t(5,6,"settings.accountingOperationsTypes"))("subTitle",t(6,8,"settings.financialMangement")),i(7),s("type","search")("placeholder",t(12,10,"settings.searchAccountingOperation")),i(3),s("placeholder",t(15,12,"settings.selectRelatedSection")))},dependencies:[L,D,C,f,b,g,M,v,y],styles:["app-inputs input{width:100%}"]})};export{F as AccountingOperationsComponent};
