import{c as T,d as C,e as E}from"./chunk-65PILJOM.js";import{j as D,l as _,p as S}from"./chunk-TF4WRPB4.js";import"./chunk-KLSFGCN2.js";import{$b as n,Ad as x,Bb as s,Cb as u,Hb as g,Ic as h,Rc as m,Sb as d,ac as t,bc as a,ia as f,kc as v,ob as p,td as b,wc as l,xc as o}from"./chunk-NYZDFFAU.js";var y=(()=>{class e{constructor(){}ngOnInit(){}ngOnDestroy(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=s({type:e,selectors:[["paw-sb-core"]],standalone:!1,decls:17,vars:0,consts:[[1,"paw-area-h","paw-holder","paw-nooverflow"],[1,"paw-col"],["routerLink","./input"],["routerLink","./dropdown"],["routerLink","./popover"],["routerLink","./lookup"],[1,"paw-col-d"]],template:function(r,M){r&1&&(n(0,"div",0)(1,"div",1)(2,"ul")(3,"li")(4,"a",2),o(5,"Input"),t()(),n(6,"li")(7,"a",3),o(8,"Dropdown"),t()(),n(9,"li")(10,"a",4),o(11,"Popover"),t()(),n(12,"li")(13,"a",5),o(14,"Lookup"),t()()()(),n(15,"div",6),a(16,"router-outlet"),t()())},dependencies:[D,_],encapsulation:2})}}return e})();var O=e=>({height:e});function F(e,c){e&1&&(n(0,"div",23),o(1," Render A in dropdown "),t())}function H(e,c){e&1&&(n(0,"div",24),o(1," Render B in dropdown test width "),t())}function N(e,c){e&1&&(n(0,"div",25),o(1," Render C in dropdown "),t())}function j(e,c){e&1&&(n(0,"div",26),o(1," Render D in dropdown "),t())}function P(e,c){if(e&1&&(n(0,"div",27),o(1," Render D in dropdown "),t()),e&2){let i=v();d("ngStyle",h(1,O,i.dynamicHeight+"px"))}}var I=(()=>{class e{constructor(){this.dynamicHeight=2e3}ngOnInit(){}ngOnDestroy(){clearInterval(this.dynamicHeightHandler)}getRandomInteger(i,r){return Math.floor(Math.random()*(r-i+1))+i}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=s({type:e,selectors:[["paw-sb-dropdown"]],standalone:!1,decls:44,vars:7,consts:[["sbDdTpl_A",""],["sbDdTpl_B",""],["sbDdTpl_C",""],["sbDdTpl_D",""],["sbDdTpl_E",""],[1,"paw-holder","paw-area-h"],[1,"paw-holder","paw-col-d","paw-area-v","paw-nooverflow"],[1,"paw-cold","paw-area-h"],[1,"paw-col"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testA",3,"contentRef"],[1,"paw-col-d"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testB",3,"contentRef"],[1,"paw-col-d","paw-area-h","paw-items-middle","paw-nooverflow"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testL","drop","up",3,"contentRef"],[1,"paw-col","paw-nooverflow"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testR","drop","right",3,"contentRef"],[1,"paw-col","paw-area-h","paw-nooverflow"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testC","drop","left",3,"contentRef"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testD",3,"contentRef"],[1,"paw-holder","paw-col","paw-scrollable","paw-area-v"],["pawDropdownTrigger","","outletId","sb-test","dropdownId","testE",3,"contentRef"],[1,"paw-col",2,"min-height","80px","max-height","80px"],["outletId","sb-test"],[2,"background","silver","width","140px","height","120px"],[2,"background","silver","height","120px"],[2,"background","silver","height","140px"],[2,"background","silver"],[2,"background","silver",3,"ngStyle"]],template:function(r,M){if(r&1&&(n(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"button",9),o(5," Trigger dropdown A "),t()(),a(6,"div",10),n(7,"div",8)(8,"button",11),o(9," Trigger dropdown B "),t()()(),n(10,"div",12)(11,"div",8)(12,"button",13),o(13," Trigger dropleft "),t()(),a(14,"div",10),n(15,"div",14)(16,"button",15),o(17," Trigger dropright "),t()()(),n(18,"div",16)(19,"div",8)(20,"button",17),o(21," Trigger dropdown C "),t()(),a(22,"div",10),n(23,"div",8)(24,"button",18),o(25," Trigger dropdown D "),t()()()(),n(26,"div",19)(27,"div",10),o(28,`
ABC `),t(),n(29,"div",8)(30,"button",20),o(31," Trigger dropdown E "),t()(),a(32,"div",21),t(),a(33,"paw-dropdown-outlet",22),t(),g(34,F,2,0,"ng-template",null,0,m)(36,H,2,0,"ng-template",null,1,m)(38,N,2,0,"ng-template",null,2,m)(40,j,2,0,"ng-template",null,3,m)(42,P,2,3,"ng-template",null,4,m)),r&2){let w=l(35),k=l(37),L=l(39),A=l(41),B=l(43);p(4),d("contentRef",w),p(4),d("contentRef",k),p(4),d("contentRef",w),p(4),d("contentRef",w),p(4),d("contentRef",L),p(4),d("contentRef",A),p(6),d("contentRef",B)}},dependencies:[b,T,C],encapsulation:2})}}return e})();var Z=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=u({type:e})}static{this.\u0275inj=f({imports:[x,E,S.forChild([{path:"",component:y,children:[{path:"",pathMatch:"full",redirectTo:"input"},{path:"dropdown",component:I}]}])]})}}return e})();export{Z as SbCoreModule};
