import{d as E,e as C}from"./chunk-4SAKVPN5.js";import"./chunk-VSYEEAYL.js";import"./chunk-RD7SHR2D.js";import"./chunk-OEBXBRYJ.js";import{j as S,l as T,p as R}from"./chunk-QVLAHW2O.js";import"./chunk-TI6NUUOB.js";import"./chunk-B46M6TSS.js";import{$b as p,$c as m,Fc as l,Fd as D,Gc as o,Kb as s,Lb as u,Md as b,Qb as v,Rc as x,Sd as _,hc as n,ic as t,jc as a,nd as f,ra as g,sc as h,xb as d}from"./chunk-PGS4AHIT.js";_();f();var I=(()=>{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,k){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:[S,T],encapsulation:2})}}return e})();f();_();var F=e=>({height:e});function H(e,c){e&1&&(n(0,"div",22),o(1," Render A in dropdown "),t())}function N(e,c){e&1&&(n(0,"div",23),o(1," Render B in dropdown test width "),t())}function j(e,c){e&1&&(n(0,"div",24),o(1,"Render C in dropdown"),t())}function P(e,c){e&1&&(n(0,"div",25),o(1,"Render D in dropdown"),t())}function q(e,c){if(e&1&&(n(0,"div",26),o(1," Render D in dropdown "),t()),e&2){let i=h();p("ngStyle",x(1,F,i.dynamicHeight+"px"))}}var M=(()=>{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:43,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","","dropdownId","testA","drop","up",3,"contentRef"],[1,"paw-col-d"],["pawDropdownTrigger","","drop","up","dropdownId","testB",3,"contentRef"],[1,"paw-col-d","paw-area-h","paw-items-middle","paw-nooverflow"],["pawDropdownTrigger","","dropdownId","testL","drop","left",3,"contentRef"],[1,"paw-col","paw-nooverflow"],["pawDropdownTrigger","","dropdownId","testR","drop","right",3,"contentRef"],[1,"paw-col","paw-area-h","paw-nooverflow"],["pawDropdownTrigger","","dropdownId","testC","drop","up",3,"contentRef"],["pawDropdownTrigger","","dropdownId","testD",3,"contentRef"],[1,"paw-holder","paw-col","paw-scrollable","paw-area-v"],["pawDropdownTrigger","","dropdownId","testE","drop","right",3,"contentRef"],[1,"paw-col",2,"min-height","80px","max-height","80px"],[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,k){if(r&1&&(n(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"button",9),o(5," Trigger up "),t()(),a(6,"div",10),n(7,"div",8)(8,"button",11),o(9," Trigger right "),t()()(),n(10,"div",12)(11,"div",8)(12,"button",13),o(13," Trigger left "),t()(),a(14,"div",10),n(15,"div",14)(16,"button",15),o(17," Trigger right "),t()()(),n(18,"div",16)(19,"div",8)(20,"button",17),o(21," Trigger up "),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()(),v(33,H,2,0,"ng-template",null,0,m)(35,N,2,0,"ng-template",null,1,m)(37,j,2,0,"ng-template",null,2,m)(39,P,2,0,"ng-template",null,3,m)(41,q,2,3,"ng-template",null,4,m)),r&2){let w=l(34),L=l(36),A=l(38),B=l(40),O=l(42);d(4),p("contentRef",w),d(4),p("contentRef",L),d(4),p("contentRef",w),d(4),p("contentRef",w),d(4),p("contentRef",A),d(4),p("contentRef",B),d(6),p("contentRef",O)}},dependencies:[D,E],encapsulation:2})}}return e})();f();var Z=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=u({type:e})}static{this.\u0275inj=g({imports:[b,C,R.forChild([{path:"",component:I,children:[{path:"",pathMatch:"full",redirectTo:"input"},{path:"dropdown",component:M}]}])]})}}return e})();export{Z as SbCoreModule};
