{"version":3,"file":"6109.bundle_074.js","mappings":"kOAMO,SAASA,KACZ,IAAAC,8BAAuD,EAAAC,yBACnD,EAAAC,YAAYC,qBAAqB,EAAAC,eAAeH,yBAAyBA,0BACzEI,EACR,CAEA,SAASA,EAAgCC,GACrC,IAAIC,EAAuBD,EAAeE,aAAa,EAAAJ,eAAeK,mBAAmBC,sBACrFC,EAA4B,EAAAC,aAAaF,qBAAqBG,aAAeN,EAAwB,EAAAK,aAAaF,qBAAqBG,WAAa,EAAAD,aAAaF,qBAAqBI,SACtLC,EAA8B,IAAI,EAAAd,yBAAyBK,EAAgBK,GACzEK,OAAQV,EAAeE,aAAa,EAAAJ,eAAeH,yBAAyBA,0BAA4B,4BAA8Bc,CAChJ,C","sources":["webpack://LoBSiteTemplates/./src/components/selectableCarousel/pagingSelectableCarouselInitialiser.ts"],"sourcesContent":["import { initialiseInstanceComponents } from \"../../shared/instanceComponentInitialiser\";\r\nimport { AttributeEnums } from \"../../shared/utilities/enums/attributeEnums\";\r\nimport { UtilityEnums } from \"../../shared/utilities/enums/utillityEnums\";\r\nimport { HelperUtils } from \"../../shared/utilities/helperUtils\";\r\nimport { PagingSelectableCarousel } from \"./pagingSelectableCarousel\";\r\n\r\nexport function initialisePagingSelectableCarousel() {\r\n initialiseInstanceComponents<PagingSelectableCarousel>(PagingSelectableCarousel,\r\n HelperUtils.addDataAttributeTags(AttributeEnums.PagingSelectableCarousel.PagingSelectableCarousel),\r\n pagingSelectableCarouselFactory);\r\n}\r\n\r\nfunction pagingSelectableCarouselFactory(currentElement: Element): void {\r\n let componentOrientation = currentElement.getAttribute(AttributeEnums.SelectableCarousel.ComponentOrientation);\r\n let componentOrientationEnum = (UtilityEnums.ComponentOrientation.Horizontal === componentOrientation) ? UtilityEnums.ComponentOrientation.Horizontal : UtilityEnums.ComponentOrientation.Vertical;\r\n let newPagingSelectableCarousel = new PagingSelectableCarousel(currentElement, componentOrientationEnum);\r\n (<any>window)[currentElement.getAttribute(AttributeEnums.PagingSelectableCarousel.PagingSelectableCarousel) + 'PagingSelectableCarousel'] = newPagingSelectableCarousel;\r\n}"],"names":["initialisePagingSelectableCarousel","initialiseInstanceComponents","PagingSelectableCarousel","HelperUtils","addDataAttributeTags","AttributeEnums","pagingSelectableCarouselFactory","currentElement","componentOrientation","getAttribute","SelectableCarousel","ComponentOrientation","componentOrientationEnum","UtilityEnums","Horizontal","Vertical","newPagingSelectableCarousel","window"],"sourceRoot":""}