import{c as T,d as R}from"./chunk-CVFNZXIB.js";import"./chunk-XHRSSCXW.js";import"./chunk-5VDVFGVW.js";import{j as b,l as _,p as S}from"./chunk-NLMVBXFK.js";import"./chunk-BUHB7MLU.js";import"./chunk-KUS3L5XF.js";import{Ac as l,Bc as o,Eb as s,Fb as g,Fd as D,Kb as u,Mc as h,Vb as p,Vc as m,cc as n,dc as t,ec as a,la as f,nc as v,rb as d,yd as x}from"./chunk-J476KISY.js";var C=(()=>{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,I){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:[b,_],encapsulation:2})}}return e})();var B=e=>({height:e});function O(e,c){e&1&&(n(0,"div",22),o(1," Render A in dropdown "),t())}function F(e,c){e&1&&(n(0,"div",23),o(1," Render B in dropdown test width "),t())}function H(e,c){e&1&&(n(0,"div",24),o(1,"Render C in dropdown"),t())}function N(e,c){e&1&&(n(0,"div",25),o(1,"Render D in dropdown"),t())}function j(e,c){if(e&1&&(n(0,"div",26),o(1," Render D in dropdown "),t()),e&2){let i=v();p("ngStyle",h(1,B,i.dynamicHeight+"px"))}}var y=(()=>{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,I){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()(),u(33,O,2,0,"ng-template",null,0,m)(35,F,2,0,"ng-template",null,1,m)(37,H,2,0,"ng-template",null,2,m)(39,N,2,0,"ng-template",null,3,m)(41,j,2,3,"ng-template",null,4,m)),r&2){let w=l(34),M=l(36),k=l(38),L=l(40),A=l(42);d(4),p("contentRef",w),d(4),p("contentRef",M),d(4),p("contentRef",w),d(4),p("contentRef",w),d(4),p("contentRef",k),d(4),p("contentRef",L),d(6),p("contentRef",A)}},dependencies:[x,T],encapsulation:2})}}return e})();var X=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=g({type:e})}static{this.\u0275inj=f({imports:[D,R,S.forChild([{path:"",component:C,children:[{path:"",pathMatch:"full",redirectTo:"input"},{path:"dropdown",component:y}]}])]})}}return e})();export{X as SbCoreModule};
