{"version":3,"sources":["webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/aurelia.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/polyfills/remove.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/polyfills/pad-start.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/config-builder.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/discardable-promise.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/events.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/shade-blend-convert.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/validation/validationRenderer.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/util.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/attribute-manager.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/colors-service.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/augmentation/aurelia-typed-observable.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/common/constants.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/polyfills/append.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/dropdown/dropdown-element.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/toast/toastService.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/index.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/autocomplete/autocomplete.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/badge/badge.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/box/box.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/breadcrumbs/breadcrumbs.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/breadcrumbs/breadcrumbs.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/breadcrumbs/breadcrumbs.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/breadcrumbs/instructionFilter.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/button/button.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/card/card.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/card/card.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/card/card.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/carousel/carousel.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/carousel/carousel-item.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/carousel/carousel-item.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/carousel/carousel.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/carousel/carousel.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/char-counter/char-counter.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/checkbox/checkbox.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/checkbox/checkbox.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/chip/chip.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/chip/chip.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/chip/chip.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/chip/chips.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/click-counter/click-counter.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/click-counter/click-counter.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collapsible/collapsible.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-header.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-header.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-header.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-item.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-item.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection-item.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/collection.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/md-collection-selector.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/md-collection-selector.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/collection/md-collection-selector.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/colors/color-value-converters.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/colors/md-colors.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/colors/md-colors-legacy.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/colors/md-colors-legacy.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/colors/md-colors.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/datepicker/datepicker.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/datepicker/datepicker.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/dropdown/dropdown.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/dropdown/dropdown-element.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/fab/fab.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/fab/fab.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/file/file.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/file/file.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/footer/footer.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/input/input.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/input/input-prefix.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/input/input.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/input/input.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/lookup/lookup-state.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/lookup/lookup.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/lookup/lookup.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/lookup/lookup.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/modal/modal.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/navbar/navbar.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/navbar/navbar.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/navbar/navbar.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/pagination/pagination.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/pagination/pagination.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/parallax/parallax.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/progress/progress.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/progress/progress.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/pushpin/pushpin.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/radio/radio.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/radio/radio.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/range/range.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/range/range.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/range/range.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/scrollspy/scrollspy.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/select/select.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/sidenav/sidenav.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/sidenav/sidenav-collapse.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/sidenav/sidenav.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/sidenav/sidenav.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/slider/slider.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/slider/slider.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/slider/slider.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/switch/switch.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/switch/switch.css","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/switch/switch.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/tabs/tabs.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/tap-target/tap-target.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/tap-target/tap-target.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/timepicker/timepicker.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/timepicker/timepicker.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/tooltip/tooltip.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/validation/validation-container.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/validation/validation-container.html","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/wait-cursor/wait-cursor.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/waves/waves.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/well/md-well.js","webpack:///./node_modules/aurelia-materialize-bridge/dist/native-modules/well/md-well.html"],"names":["remove","this","parentNode","removeChild","Element","prototype","Text","String","padStart","targetLength","padString","length","repeat","slice","ConfigBuilder","globalResources","noWavesAttach","autoButtonWaves","useGlobalResources","useAll","useAutoComplete","useBadge","useBox","useBreadcrumbs","useButton","useCard","useCarousel","useCharacterCounter","useCheckbox","useChip","useCollapsible","useCollection","useColors","useDatePicker","useDropdown","useFab","useFile","useFooter","useInput","useLookup","useModal","useNavbar","usePagination","useParallax","useProgress","usePushpin","useRadio","useRange","useScrollSpy","useSelect","useSidenav","useSlider","useSwitch","useTabs","useTapTarget","useTimePicker","useTooltip","useWaitCursor","useWaves","useAutoButtonWaves","useValidationContainer","useWell","push","useClickCounter","useLegacyColors","i","indexOf","splice","preventWavesAttach","use","withoutGlobalResources","error","message","Function","DiscardablePromise","promise","then","onfulfilled","onrejected","_this","x","isDiscarded","Promise","reject","discarded","resolve","discard","Symbol","discardable","fireEvent","element","name","data","event","CustomEvent","detail","bubbles","dispatchEvent","fireMaterializeEvent","eventPrefix","shadeBlendConvert","p","from","to","sbcRip","d","l","RGB","Object","split","parseFloat","r","parseInt","Math","round","h","b","f","t","toString","MaterializeFormValidationRenderer","pushElementResult","elementResults","result","has","get","set","render","instruction","e_1","_a","e_2","_b","e_3","_c","e_4","_d","e_5","_e","e_6","_f","elementResultsToUnrender","Map","_g","unrender","_h","next","done","_j","value","elements","elements_1","elements_1_1","e_2_1","return","call","e_1_1","elementResultsToUnrender_1","elementResultsToUnrender_1_1","_k","results","mdUnrenderValidateResults","defaultUnrenderValidateResults","e_3_1","elementResultsToRender","_l","_m","_o","elements_2","elements_2_1","e_5_1","e_4_1","elementResultsToRender_1","elementResultsToRender_1_1","_p","mdRenderValidateResults","defaultRenderValidateResults","e_6_1","tagName","removeValidationClasses","addValidationClasses","find","valid","addMessage","document","createElement","id","setAttribute","className","validationMessageClass","appendChild","removeMessage","querySelector","input","classList","isValid","add","removeValidation","validationContainer","Array","querySelectorAll","forEach","wrap","parent","child","insertBefore","unwrap","wrapper","parentElement","insertAfter","newChild","nextSibling","cleanOptions","options","keys","filter","key","undefined","updateLabel","label","matches","autofocus","hasAttribute","validity","toggle","badInput","AttributeManager","colorClasses","addedClasses","addedAttributes","addAttributes","attrs","k","getAttribute","removeAttributes","a","removeAttribute","addClasses","classes","c","classListHasColor","cc","contains","removeClasses","MdColorsService","primaryColor","secondaryColor","errorColor","successColor","linkColor","updatePrimaryShades","primaryColorLight","lighten","primaryColorDark","darken","hexToRgb","hex","startsWith","substring","rgbToHex","g","toRgb","lightenDarken","rgba","alpha","amount","rgb","hsl","rgbToHsl","hslToRgb","transparentize","desaturate","s","max","min","hue2rgb","q","booleanMd","val","numberMd","Number","stringMd","Dummy","constants","bindablePrefix","Document","DocumentFragment","item","hasOwnProperty","defineProperty","configurable","enumerable","writable","argArr","arguments","docFrag","createDocumentFragment","argItem","isNode","Node","createTextNode","MdDropdownElement","container","controlId","MdDropdownElement_1","attached","alignment","autoTrigger","constrainWidth","coverTrigger","closeOnClick","hover","inDuration","outDuration","onOpenStart","onOpenEnd","onCloseStart","onCloseEnd","instance","M","Dropdown","detached","destroy","open","close","recalculateDimensions","bindable","defaultBindingMode","oneTime","Boolean","MdToastService","removeAll","Toast","dismissAll","show","html","displayLength","activationPercent","completeCallback","configure","frameworkConfiguration","configCallback","builder","MdAutoComplete","values","valuesChanged","updateData","bind","toLowerCase","Error","au","viewModel","limit","minLength","onAutocomplete","text","Autocomplete","MdBadge","isNew","caption","attributeManager","isNewChanged","captionChanged","MdBox","Materialbox","MdBreadcrumbs","aureliaRouter","router","childRouter","navigate","navigationInstruction","navigateToRoute","config","module","exports","InstructionFilterValueConverter","toView","navigationInstructions","title","MdButton","configBuilder","disabled","flat","floating","large","small","pulse","disabledChanged","flatChanged","pulseChanged","Waves","attach","MdCard","image","size","oneWay","MdCarousel","taskQueue","indicators","fullWidth","items","itemsChanged","refresh","dist","duration","noWrap","numVisible","padding","shift","onCycleTo","current","dragged","queueTask","Carousel","n","prev","MdCarouselItem","href","MdCharCounter","instances","toUpperCase","CharacterCounter","el","MdCheckbox","readonly","MdCheckbox_1","newValue","checkbox","readonlyChanged","addEventListener","preventChange","removeEventListener","filledIn","checked","indeterminate","twoWay","MdChip","hasClose","closeChip","MdChips","autocompleteData","log","dataChanged","oldValue","chip","includes","source","operation","target","placeholder","secondaryPlaceholder","onChipAdd","chipsData","onChipDelete","onChipSelect","e","autocompleteOptions","Chips","ClickCounter","count","increment","MdCollapsible","accordionChanged","popout","accordion","Collapsible","index","MdCollection","anchor","getSelected","isSelected","map","clearSelection","selectAll","vm","mdDisabled","toggleIndex","MdCollectionHeader","MdCollectionItem","MdCollectionSelector","isSelectedChanged","DarkenValueConverter","steps","LightenValueConverter","MdColors","cs","bindingEngine","subscriptions","primaryColorChanged","secondaryColorChanged","errorColorChanged","successColorChanged","linkColorChanged","propertyObserver","subscribe","dispose","MdColorsLegacy","accentColor","accentColorChanged","MdDatePicker","MdDatePicker_1","showErrortext","calendarIcon","firedBy","stopPropagation","suppressDone","setValue","date","renderer","results_1","results_1_1","inputField","results_2","results_2_1","valueChanged","valueChangedSuppress","labelElement","setDate","setInputValue","autoClose","format","parse","defaultDate","setDefaultDate","disableWeekends","disableDayFn","firstDay","minDate","maxDate","yearRange","isRTL","isRtl","showMonthAfterYear","showDaysInNextAndPreviousMonths","showClearBtn","i18n","events","onSelect","selectedDate","onOpen","onClose","onDraw","Datepicker","Date","MdDropdown","activates","ref","MdDropdown_1","handleActivateElement","contentAttributeManager","getElementById","dropdownEl","elementId","MdFab","toolbarEnabled","direction","hoverEnabled","FloatingActionButton","MdFileInput","multiple","labelValue","suspendUpdate","handleChangeFromNativeInput","filePath","files","MdFooter","unbind","MdInput","blurOnEnter","textArea","type","step","validate","updateTrigger","maxlength","autocomplete","blurOnEnterHandler","keyCode","blur","MdInput_1","activeElement","attachEventHandlers","detachEventHandlers","labelEl","textareaAutoResize","focus","MdPrefix","LookupState","MdLookup","debounce","logger","MdLookup_1","filterChanged","debug","optionsFunction","suppressFilterChanged","searchPromise","searching","trys","getOptions","sent","fixDropdownSizeIfTooBig","setFilter","suppressValueChanged","updateFilterBasedOnValue","optionsChanged","state","errorMessage","optionsVisible","noMatches","getDisplayValue","isOpen","inputRect","getBoundingClientRect","dropdown","style","top","height","rect","availableSpace","window","innerHeight","body","scrollTop","dropdownUl","offsetHeight","bindingContext","overrideContext","onselect","onclick","preloadOptions","onfocus","onblur","select","option","valueFieldName","displayFieldName","MdModal","fixedFooterChanged","fixedFooter","opacity","preventScrolling","dismissible","startingTop","endingTop","Modal","MdNavbar","fixedAttributeManager","fixedAnchor","navAttributeManager","nav","fixed","autoHeight","extended","MdPagination","activePage","pages","visiblePageLinks","pageLinks","showFirstLast","showPrevNext","showPageLinks","pagesChanged","setActivePage","visiblePageLinksChanged","generatePageLinks","page","setFirstPage","setLastPage","setPreviousPage","setNextPage","numberOfLinks","midPoint","ceil","start","end","list","MdParallax","responsiveThreshold","Parallax","MdProgress","color","pixelSize","pixelSizeChanged","width","sizeChanged","MdPushpin","bottom","offset","onPositionChange","position","Pushpin","MdRadio","gap","MdRadio_1","radio","MdRange","Range","MdScrollSpy","throttle","scrollOffset","activeClass","getActiveElement","ScrollSpy","MdSelect","triggerBlur","enableOptionObserver","optionsMutationObserver","onSelectValueChanged","createMaterialSelect","handleFocus","handleBlur","readonlyDiv","hidden","labelChanged","textContent","va","getAttributeNode","subscription","observeOptions","isInvalid","FormSelect","zIndex","background","createMutationObserver","mutations","observe","childList","characterData","subtree","disconnect","takeRecords","MdSidenav","MdSidenav_1","fixedChanged","fixedClass","sidenav","draggable","edge","elem","Sidenav","MdSidenavCollapse","click","MdSlider","fillContainer","indicatorsChanged","pause","interval","Slider","MdSwitch","labelOff","labelOn","handleChange","checkedChanged","MdTabs","tabAttributeManagers","swipeable","transparent","fireTabSelectedEvent","transparentChanged","children","setter","onShow","newContent","Tabs","childAnchors","updateTabIndicator","MdTapTarget","MdTapTarget_1","TapTarget","HTMLElement","MdTimePicker","MdTimePicker_1","defaultTime","fromNow","twelveHour","vibrate","hour","minute","Timepicker","MdTooltip","delay","htmlChanged","initTooltip","Tooltip","exitDelay","ValidationContainer","coloursService","containerDiv","showSuccess","MdWaitCursorCustomAttribute","templatingEngine","newVal","trResizeDelegate","attachedMdInput","attachedButton","attachedLi","attachedTr","progress","innerHTML","firstElementChild","insertAdjacentElement","view","enhance","display","tr","firstTd","firstChild","offsetTop","left","offsetLeft","scrollLeft","offsetWidth","ev","cancelBubble","MdWaves","circle","MdWell"],"mappings":"yFAAA,qmC,i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ACA,IAAmB,oBAAqB,CAAClxB,QAAS,OACnDkxB,GAjHyC,I,sECFhD,uEAGIyB,EAAyB,WACzB,SAASA,EAAQrtB,EAASkS,GACtB3X,KAAKyF,QAAUA,EACfzF,KAAK2X,cAAgBA,EACrB3X,KAAK+yB,QAAS,EACd/yB,KAAKuW,iBAAmB,IAAI,IAAoBvW,KAAKyF,SAmCzD,OAjCAqtB,EAAQ1yB,UAAU4S,SAAW,WACzB,IAAInE,EAAU,CAAC,gBACX7O,KAAK+yB,QACLlkB,EAAQhL,KAAK,gBAEb7D,KAAKwqB,OACL3b,EAAQhL,KAAK,SAAW7D,KAAKwqB,OAEjCxqB,KAAKuW,iBAAiB3H,WAAWC,GAC5B7O,KAAK2X,cAAc5W,eACpBsX,MAAMC,OAAOtY,KAAKyF,UAG1BqtB,EAAQ1yB,UAAU4T,SAAW,WACzB,IAAInF,EAAU,CAAC,eAAgB,eAC3B7O,KAAKwqB,OACL3b,EAAQhL,KAAK,SAAW7D,KAAKwqB,OAEjCxqB,KAAKuW,iBAAiBrH,cAAcL,IAExC,IAAmB,CACf,IAAOwF,SAASjD,UAAU,CAAEkD,mBAAoB,IAAeC,UAC/D,IAAmB,cAAeC,UACnCse,EAAQ1yB,UAAW,cAAU,GAChC,IAAmB,CACf,IAAOiU,SAAS7C,SAAS,CAAE8C,mBAAoB,IAAeC,UAC9D,IAAmB,cAAejU,SACnCwyB,EAAQ1yB,UAAW,aAAS,GAC/B0yB,EAAU,IAAmB,CACzB,IAAmB,YACnB,IACA,IAAmB,oBAAqB,CAAC3yB,QAAS,OACnD2yB,GAvCqB,I,uECH5B,8DAEIE,EAAwB,WACxB,SAASA,KAMT,OAJA,IAAmB,CACf,IACA,IAAmB,cAAe,MACnCA,EAAO5yB,UAAW,cAAU,GACxB4yB,EAPgB,I,6DCF3B5b,EAAOC,QAAU","file":"npm.aurelia-materialize-bridge.a4a6c7609945c109927a.js","sourcesContent":["export { Router, NavigationInstruction } from \"aurelia-router\";\r\nexport { customElement, customAttribute, autoinject, bindingMode, BindingEngine, TaskQueue, DOM, children, bindable, observable, TemplatingEngine, deprecated } from \"aurelia-framework\";\r\nexport { getLogger, Logger } from \"aurelia-logging\";\r\nexport { fireEvent, fireMaterializeEvent } from \"./common/events\";\r\nexport { ValidateResult } from \"aurelia-validation\";\r\nexport { MaterializeFormValidationRenderer } from \"./validation/validationRenderer\";\r\nimport * as ato from \"aurelia-typed-observable-plugin\";\r\nexport { ato };\r\nexport * from \"./common/util\";\r\nexport { AttributeManager } from \"./common/attribute-manager\";\r\nexport { MdColorsService } from \"./common/colors-service\";\r\n//# sourceMappingURL=aurelia.js.map","\"use strict\";\r\nfunction remove() {\r\n if (this.parentNode) {\r\n this.parentNode.removeChild(this);\r\n }\r\n}\r\n// polyfill remove for IE11\r\n(function () {\r\n if (!Element.prototype.remove) {\r\n Element.prototype.remove = remove;\r\n }\r\n if (typeof Text !== \"undefined\" && Text && !Text.prototype.remove) {\r\n Text.prototype.remove = remove;\r\n }\r\n})();\r\n//# sourceMappingURL=remove.js.map","\"use strict\";\r\nif (!String.prototype.padStart) {\r\n String.prototype.padStart = function padStart(targetLength, padString) {\r\n // tslint:disable-next-line:no-bitwise\r\n targetLength = targetLength >> 0; // truncate if number or convert non-number to 0;\r\n padString = String((typeof padString !== \"undefined\" ? padString : \" \"));\r\n if (this.length > targetLength) {\r\n return String(this);\r\n }\r\n else {\r\n targetLength = targetLength - this.length;\r\n if (targetLength > padString.length) {\r\n padString += padString.repeat(targetLength / padString.length); // append to original to ensure we are longer than needed\r\n }\r\n return padString.slice(0, targetLength) + String(this);\r\n }\r\n };\r\n}\r\n//# sourceMappingURL=pad-start.js.map","import * as tslib_1 from \"tslib\";\r\nimport { PLATFORM } from \"aurelia-pal\";\r\nimport { deprecated } from \"./aurelia\";\r\n/**\r\n * Plugin configuration builder\r\n */\r\nvar ConfigBuilder = /** @class */ (function () {\r\n function ConfigBuilder() {\r\n this.globalResources = [];\r\n this.noWavesAttach = false;\r\n this.autoButtonWaves = false;\r\n this.useGlobalResources = true;\r\n }\r\n ConfigBuilder.prototype.useAll = function () {\r\n return this\r\n .useAutoComplete()\r\n .useBadge()\r\n .useBox()\r\n .useBreadcrumbs()\r\n .useButton()\r\n .useCard()\r\n .useCarousel()\r\n .useCharacterCounter()\r\n .useCheckbox()\r\n .useChip()\r\n .useCollapsible()\r\n .useCollection()\r\n .useColors()\r\n .useDatePicker()\r\n .useDropdown()\r\n .useFab()\r\n .useFile()\r\n .useFooter()\r\n .useInput()\r\n .useLookup()\r\n .useModal()\r\n .useNavbar()\r\n .usePagination()\r\n .useParallax()\r\n .useProgress()\r\n .usePushpin()\r\n .useRadio()\r\n .useRange()\r\n .useScrollSpy()\r\n .useSelect()\r\n .useSidenav()\r\n .useSlider()\r\n .useSwitch()\r\n .useTabs()\r\n .useTapTarget()\r\n .useTimePicker()\r\n .useTooltip()\r\n .useWaitCursor()\r\n .useWaves()\r\n .useAutoButtonWaves(true)\r\n .useValidationContainer()\r\n .useWell();\r\n };\r\n ConfigBuilder.prototype.useAutoComplete = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./autocomplete/autocomplete\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useBadge = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./badge/badge\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useBox = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./box/box\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useBreadcrumbs = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./breadcrumbs/breadcrumbs\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useButton = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./button/button\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCarousel = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./carousel/carousel\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./carousel/carousel-item\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCharacterCounter = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./char-counter/char-counter\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCard = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./card/card\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCheckbox = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./checkbox/checkbox\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useChip = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./chip/chip\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./chip/chips\"));\r\n return this;\r\n };\r\n /**\r\n * Use my control\r\n */\r\n ConfigBuilder.prototype.useClickCounter = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./click-counter/click-counter\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCollapsible = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./collapsible/collapsible\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useCollection = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./collection/collection\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./collection/collection-item\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./collection/collection-header\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./collection/md-collection-selector\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useColors = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./colors/md-colors\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useLegacyColors = function () {\r\n var i = this.globalResources.indexOf(\"./colors/md-colors\");\r\n if (i >= 0) {\r\n this.globalResources.splice(i, 1);\r\n }\r\n this.globalResources.push(PLATFORM.moduleName(\"./colors/md-colors-legacy\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useDatePicker = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./datepicker/datepicker\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useDropdown = function () {\r\n // this.globalResources.push(\"./dropdown/dropdown-element\");\r\n this.globalResources.push(PLATFORM.moduleName(\"./dropdown/dropdown\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useFab = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./fab/fab\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useFile = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./file/file\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useFooter = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./footer/footer\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useInput = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./input/input\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./input/input-prefix\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useLookup = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./lookup/lookup\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useModal = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./modal/modal\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useNavbar = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./navbar/navbar\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.usePagination = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./pagination/pagination\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useParallax = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./parallax/parallax\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useProgress = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./progress/progress\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.usePushpin = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./pushpin/pushpin\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useRadio = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./radio/radio\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useRange = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./range/range\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useScrollSpy = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./scrollspy/scrollspy\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useSelect = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./select/select\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useSidenav = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./sidenav/sidenav\"));\r\n this.globalResources.push(PLATFORM.moduleName(\"./sidenav/sidenav-collapse\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useSlider = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./slider/slider\"));\r\n // this.globalResources.push(\"./slider/slide\");\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useSwitch = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./switch/switch\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useTabs = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./tabs/tabs\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useTapTarget = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./tap-target/tap-target\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useTimePicker = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./timepicker/timepicker\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useTooltip = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./tooltip/tooltip\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useWaitCursor = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./wait-cursor/wait-cursor\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useWaves = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./waves/waves\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useValidationContainer = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./validation/validation-container\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useWell = function () {\r\n this.globalResources.push(PLATFORM.moduleName(\"./well/md-well\"));\r\n return this;\r\n };\r\n ConfigBuilder.prototype.preventWavesAttach = function () {\r\n this.noWavesAttach = true;\r\n return this;\r\n };\r\n ConfigBuilder.prototype.useAutoButtonWaves = function (use) {\r\n this.autoButtonWaves = use;\r\n return this;\r\n };\r\n /**\r\n * Don't globalize any resources\r\n * Allows you to import yourself via \r\n */\r\n ConfigBuilder.prototype.withoutGlobalResources = function () {\r\n this.useGlobalResources = false;\r\n return this;\r\n };\r\n tslib_1.__decorate([\r\n deprecated({ error: false, message: \"Will be removed soon. Please consider using `useColors`.\" }),\r\n tslib_1.__metadata(\"design:type\", Function),\r\n tslib_1.__metadata(\"design:paramtypes\", []),\r\n tslib_1.__metadata(\"design:returntype\", ConfigBuilder)\r\n ], ConfigBuilder.prototype, \"useLegacyColors\", null);\r\n return ConfigBuilder;\r\n}());\r\nexport { ConfigBuilder };\r\n//# sourceMappingURL=config-builder.js.map","var DiscardablePromise = /** @class */ (function () {\r\n function DiscardablePromise(promise) {\r\n this.promise = promise;\r\n }\r\n DiscardablePromise.prototype.then = function (onfulfilled, onrejected) {\r\n var _this = this;\r\n return this.promise.then(function (x) {\r\n if (_this.isDiscarded) {\r\n return Promise.reject(DiscardablePromise.discarded);\r\n }\r\n else {\r\n return Promise.resolve(x);\r\n }\r\n }).then(onfulfilled, onrejected);\r\n };\r\n DiscardablePromise.prototype.discard = function () {\r\n this.isDiscarded = true;\r\n };\r\n DiscardablePromise.discarded = Symbol(\"discarded\");\r\n return DiscardablePromise;\r\n}());\r\nexport { DiscardablePromise };\r\n/**\r\n * Sets the internal state of a promise to discarded\r\n * @param discardable A promise to discard\r\n */\r\nexport function discard(discardable) {\r\n if (discardable) {\r\n discardable.discard();\r\n }\r\n}\r\n//# sourceMappingURL=discardable-promise.js.map","import { constants } from \"./constants\";\r\n/**\r\n * Fire DOM event on an element\r\n * @param element The Element which the DOM event will be fired on\r\n * @param name The Event's name\r\n * @param data Addition data to attach to an event\r\n */\r\nexport function fireEvent(element, name, data) {\r\n if (data === void 0) { data = {}; }\r\n var event = new CustomEvent(name, {\r\n detail: data,\r\n bubbles: true\r\n });\r\n element.dispatchEvent(event);\r\n return event;\r\n}\r\n/**\r\n * Fire DOM event on an element with the md-on prefix\r\n * @param element The Element which the DOM event will be fired on\r\n * @param name The Event's name, without md-on prefix\r\n * @param data Addition data to attach to an event\r\n */\r\nexport function fireMaterializeEvent(element, name, data) {\r\n if (data === void 0) { data = {}; }\r\n return fireEvent(element, \"\" + constants.eventPrefix + name, data);\r\n}\r\n//# sourceMappingURL=events.js.map","// http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors\r\n// tslint:disable\r\nexport function shadeBlendConvert(p, from, to) {\r\n if (typeof (p) != \"number\" || p < -1 || p > 1 || typeof (from) != \"string\" || (from[0] != 'r' && from[0] != '#') || (typeof (to) != \"string\" && typeof (to) != \"undefined\")) {\r\n return null; //ErrorCheck\r\n }\r\n var sbcRip = function (d) {\r\n var l = d.length, RGB = new Object();\r\n if (l > 9) {\r\n d = d.split(\",\");\r\n if (d.length < 3 || d.length > 4)\r\n return null; //ErrorCheck\r\n RGB[0] = i(d[0].slice(4)), RGB[1] = i(d[1]), RGB[2] = i(d[2]), RGB[3] = d[3] ? parseFloat(d[3]) : -1;\r\n }\r\n else {\r\n switch (l) {\r\n case 8:\r\n case 6:\r\n case 3:\r\n case 2:\r\n case 1: return null;\r\n } //ErrorCheck\r\n if (l < 6)\r\n d = \"#\" + d[1] + d[1] + d[2] + d[2] + d[3] + d[3] + (l > 4 ? d[4] + \"\" + d[4] : \"\"); //3 digit\r\n d = i(d.slice(1), 16), RGB[0] = d >> 16 & 255, RGB[1] = d >> 8 & 255, RGB[2] = d & 255, RGB[3] = l == 9 || l == 5 ? r(((d >> 24 & 255) / 255) * 10000) / 10000 : -1;\r\n }\r\n return RGB;\r\n };\r\n var i = parseInt, r = Math.round, h = from.length > 9, h = typeof (to) == \"string\" ? to.length > 9 ? true : to == \"c\" ? !h : false : h, b = p < 0, p = b ? p * -1 : p, to = to && to != \"c\" ? to : b ? \"#000000\" : \"#FFFFFF\", f = sbcRip(from), t = sbcRip(to);\r\n if (!f || !t)\r\n return null; //ErrorCheck\r\n if (h)\r\n return \"rgb(\" + r((t[0] - f[0]) * p + f[0]) + \",\" + r((t[1] - f[1]) * p + f[1]) + \",\" + r((t[2] - f[2]) * p + f[2]) + (f[3] < 0 && t[3] < 0 ? \")\" : \",\" + (f[3] > -1 && t[3] > -1 ? r(((t[3] - f[3]) * p + f[3]) * 10000) / 10000 : t[3] < 0 ? f[3] : t[3]) + \")\");\r\n else\r\n return \"#\" + (0x100000000 + (f[3] > -1 && t[3] > -1 ? r(((t[3] - f[3]) * p + f[3]) * 255) : t[3] > -1 ? r(t[3] * 255) : f[3] > -1 ? r(f[3] * 255) : 255) * 0x1000000 + r((t[0] - f[0]) * p + f[0]) * 0x10000 + r((t[1] - f[1]) * p + f[1]) * 0x100 + r((t[2] - f[2]) * p + f[2])).toString(16).slice(f[3] > -1 || t[3] > -1 ? 1 : 3);\r\n}\r\n// tslint:enable\r\n//# sourceMappingURL=shade-blend-convert.js.map","import * as tslib_1 from \"tslib\";\r\nvar MaterializeFormValidationRenderer = /** @class */ (function () {\r\n function MaterializeFormValidationRenderer() {\r\n }\r\n MaterializeFormValidationRenderer.prototype.pushElementResult = function (elementResults, element, result) {\r\n if (elementResults.has(element)) {\r\n elementResults.get(element).push(result);\r\n }\r\n else {\r\n elementResults.set(element, [result]);\r\n }\r\n };\r\n MaterializeFormValidationRenderer.prototype.render = function (instruction) {\r\n var e_1, _a, e_2, _b, e_3, _c, e_4, _d, e_5, _e, e_6, _f;\r\n var elementResultsToUnrender = new Map();\r\n try {\r\n // group validation results to unrender by elements\r\n for (var _g = tslib_1.__values(instruction.unrender), _h = _g.next(); !_h.done; _h = _g.next()) {\r\n var _j = _h.value, result = _j.result, elements = _j.elements;\r\n try {\r\n for (var elements_1 = tslib_1.__values(elements), elements_1_1 = elements_1.next(); !elements_1_1.done; elements_1_1 = elements_1.next()) {\r\n var element = elements_1_1.value;\r\n this.pushElementResult(elementResultsToUnrender, element, result);\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (elements_1_1 && !elements_1_1.done && (_b = elements_1.return)) _b.call(elements_1);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (_h && !_h.done && (_a = _g.return)) _a.call(_g);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n try {\r\n for (var elementResultsToUnrender_1 = tslib_1.__values(elementResultsToUnrender), elementResultsToUnrender_1_1 = elementResultsToUnrender_1.next(); !elementResultsToUnrender_1_1.done; elementResultsToUnrender_1_1 = elementResultsToUnrender_1.next()) {\r\n var _k = tslib_1.__read(elementResultsToUnrender_1_1.value, 2), element = _k[0], results = _k[1];\r\n if (element.mdUnrenderValidateResults) {\r\n element.mdUnrenderValidateResults(results, this);\r\n }\r\n else {\r\n this.defaultUnrenderValidateResults(element, results);\r\n }\r\n }\r\n }\r\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\r\n finally {\r\n try {\r\n if (elementResultsToUnrender_1_1 && !elementResultsToUnrender_1_1.done && (_c = elementResultsToUnrender_1.return)) _c.call(elementResultsToUnrender_1);\r\n }\r\n finally { if (e_3) throw e_3.error; }\r\n }\r\n // group validation results to render by elements\r\n var elementResultsToRender = new Map();\r\n try {\r\n for (var _l = tslib_1.__values(instruction.render), _m = _l.next(); !_m.done; _m = _l.next()) {\r\n var _o = _m.value, result = _o.result, elements = _o.elements;\r\n try {\r\n for (var elements_2 = tslib_1.__values(elements), elements_2_1 = elements_2.next(); !elements_2_1.done; elements_2_1 = elements_2.next()) {\r\n var element = elements_2_1.value;\r\n this.pushElementResult(elementResultsToRender, element, result);\r\n }\r\n }\r\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\r\n finally {\r\n try {\r\n if (elements_2_1 && !elements_2_1.done && (_e = elements_2.return)) _e.call(elements_2);\r\n }\r\n finally { if (e_5) throw e_5.error; }\r\n }\r\n }\r\n }\r\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\r\n finally {\r\n try {\r\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\r\n }\r\n finally { if (e_4) throw e_4.error; }\r\n }\r\n try {\r\n for (var elementResultsToRender_1 = tslib_1.__values(elementResultsToRender), elementResultsToRender_1_1 = elementResultsToRender_1.next(); !elementResultsToRender_1_1.done; elementResultsToRender_1_1 = elementResultsToRender_1.next()) {\r\n var _p = tslib_1.__read(elementResultsToRender_1_1.value, 2), element = _p[0], results = _p[1];\r\n if (element.mdRenderValidateResults) {\r\n element.mdRenderValidateResults(results, this);\r\n }\r\n else {\r\n this.defaultRenderValidateResults(element, results);\r\n }\r\n }\r\n }\r\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\r\n finally {\r\n try {\r\n if (elementResultsToRender_1_1 && !elementResultsToRender_1_1.done && (_f = elementResultsToRender_1.return)) _f.call(elementResultsToRender_1);\r\n }\r\n finally { if (e_6) throw e_6.error; }\r\n }\r\n };\r\n MaterializeFormValidationRenderer.prototype.defaultUnrenderValidateResults = function (element, results) {\r\n if (element.tagName !== \"INPUT\") {\r\n return;\r\n }\r\n this.removeValidationClasses(element);\r\n };\r\n MaterializeFormValidationRenderer.prototype.defaultRenderValidateResults = function (element, results) {\r\n if (element.tagName !== \"INPUT\") {\r\n return;\r\n }\r\n this.addValidationClasses(element, !results.find(function (x) { return !x.valid; }));\r\n };\r\n MaterializeFormValidationRenderer.prototype.addMessage = function (element, result) {\r\n if (!element) {\r\n return;\r\n }\r\n var message = document.createElement(\"span\");\r\n message.id = \"md-input-validation-\" + result.id;\r\n message.setAttribute(\"data-\" + (result.valid ? \"success\" : \"error\"), result.message);\r\n message.className = MaterializeFormValidationRenderer.validationMessageClass;\r\n element.appendChild(message);\r\n };\r\n MaterializeFormValidationRenderer.prototype.removeMessage = function (element, result) {\r\n if (!element) {\r\n return;\r\n }\r\n var message = element.querySelector(\"#md-input-validation-\" + result.id);\r\n if (message) {\r\n element.removeChild(message);\r\n }\r\n };\r\n MaterializeFormValidationRenderer.prototype.removeValidationClasses = function (input) {\r\n if (input) {\r\n input.classList.remove(\"valid\");\r\n input.classList.remove(\"invalid\");\r\n }\r\n };\r\n MaterializeFormValidationRenderer.prototype.addValidationClasses = function (input, isValid) {\r\n if (!input) {\r\n return;\r\n }\r\n if (isValid) {\r\n input.classList.remove(\"invalid\");\r\n input.classList.add(\"valid\");\r\n }\r\n else {\r\n input.classList.remove(\"valid\");\r\n input.classList.add(\"invalid\");\r\n }\r\n };\r\n MaterializeFormValidationRenderer.removeValidation = function (validationContainer, input) {\r\n if (validationContainer) {\r\n var validationMessages = Array.from(validationContainer.querySelectorAll(\".\" + MaterializeFormValidationRenderer.validationMessageClass));\r\n validationMessages.forEach(function (x) { return x.remove(); });\r\n }\r\n if (input) {\r\n input.classList.remove(\"valid\");\r\n input.classList.remove(\"invalid\");\r\n }\r\n };\r\n MaterializeFormValidationRenderer.validationMessageClass = \"helper-text\";\r\n return MaterializeFormValidationRenderer;\r\n}());\r\nexport { MaterializeFormValidationRenderer };\r\n//# sourceMappingURL=validationRenderer.js.map","export function wrap(parent, child) {\r\n child.parentNode.insertBefore(parent, child);\r\n parent.appendChild(child);\r\n}\r\nexport function unwrap(element) {\r\n var wrapper = element.parentElement;\r\n if (wrapper.parentElement) {\r\n wrapper.parentElement.insertBefore(element, wrapper);\r\n wrapper.remove();\r\n }\r\n}\r\nexport function insertAfter(element, newChild) {\r\n element.parentNode.insertBefore(newChild, element.nextSibling);\r\n}\r\n/**\r\n * Remove undefined fields from an object\r\n *\r\n * @param options An object to clean\r\n */\r\nexport function cleanOptions(options) {\r\n Object.keys(options).filter(function (key) { return options[key] === undefined; }).forEach(function (key) { return delete options[key]; });\r\n}\r\nexport function updateLabel(input, label) {\r\n // the following is copied from the updateTextFields method\r\n // it is more efficient than updating all the inputs\r\n if (input.value && input.value.length > 0 || input.matches(\":focus\") || input.autofocus || input.hasAttribute(\"placeholder\")) {\r\n label.classList.add(\"active\");\r\n }\r\n else if (input.validity) {\r\n label.classList.toggle(\"active\", input.validity.badInput === true);\r\n }\r\n else {\r\n label.classList.remove(\"active\");\r\n }\r\n}\r\n//# sourceMappingURL=util.js.map","/**\r\n * Adds css classes to a given element only if these classes are not already\r\n * present. Keeps a record of css classes which actually have been added.\r\n * This way, they can also be removed in a way which keeps the original classes\r\n * set by the user.\r\n * Most useful in attached() and detached() handlers.\r\n */\r\nvar AttributeManager = /** @class */ (function () {\r\n function AttributeManager(element) {\r\n this.element = element;\r\n this.colorClasses = [\"accent\", \"primary\"];\r\n this.addedClasses = [];\r\n this.addedAttributes = {};\r\n }\r\n AttributeManager.prototype.addAttributes = function (attrs) {\r\n var _this = this;\r\n var keys = Object.keys(attrs);\r\n keys.forEach(function (k) {\r\n if (!_this.element.getAttribute(k)) {\r\n _this.addedAttributes[k] = attrs[k];\r\n _this.element.setAttribute(k, attrs[k]);\r\n }\r\n else if (_this.element.getAttribute(k) !== attrs[k]) {\r\n _this.element.setAttribute(k, attrs[k]);\r\n }\r\n });\r\n };\r\n AttributeManager.prototype.removeAttributes = function (attrs) {\r\n var _this = this;\r\n if (typeof attrs === \"string\") {\r\n attrs = [attrs];\r\n }\r\n attrs.forEach(function (a) {\r\n if (_this.element.getAttribute(a) && !!_this.addedAttributes[a]) {\r\n _this.element.removeAttribute(a);\r\n _this.addedAttributes[a] = null;\r\n delete _this.addedAttributes[a];\r\n }\r\n });\r\n };\r\n AttributeManager.prototype.addClasses = function (classes) {\r\n var _this = this;\r\n if (typeof classes === \"string\") {\r\n classes = [classes];\r\n }\r\n classes.forEach(function (c) {\r\n var classListHasColor = _this.colorClasses.filter(function (cc) { return _this.element.classList.contains(cc); }).length > 0;\r\n if (_this.colorClasses.indexOf(c) > -1 && classListHasColor) {\r\n //\r\n }\r\n else {\r\n if (!_this.element.classList.contains(c)) {\r\n _this.addedClasses.push(c);\r\n _this.element.classList.add(c);\r\n }\r\n }\r\n });\r\n };\r\n AttributeManager.prototype.removeClasses = function (classes) {\r\n var _this = this;\r\n if (typeof classes === \"string\") {\r\n classes = [classes];\r\n }\r\n classes.forEach(function (c) {\r\n if (_this.element.classList.contains(c) && _this.addedClasses.indexOf(c) > -1) {\r\n _this.element.classList.remove(c);\r\n _this.addedClasses.splice(_this.addedClasses.indexOf(c), 1);\r\n }\r\n });\r\n };\r\n return AttributeManager;\r\n}());\r\nexport { AttributeManager };\r\n//# sourceMappingURL=attribute-manager.js.map","import * as tslib_1 from \"tslib\";\r\nimport { shadeBlendConvert } from \"./shade-blend-convert\";\r\nvar MdColorsService = /** @class */ (function () {\r\n function MdColorsService() {\r\n this.primaryColor = \"#ee6e73\";\r\n this.secondaryColor = \"#26a69a\";\r\n this.errorColor = \"#f44336\";\r\n this.successColor = \"#4caf50\";\r\n this.linkColor = \"#039be5\";\r\n this.updatePrimaryShades();\r\n }\r\n MdColorsService.prototype.updatePrimaryShades = function () {\r\n this.primaryColorLight = this.lighten(this.primaryColor, 15);\r\n this.primaryColorDark = this.darken(this.primaryColor, 15);\r\n };\r\n MdColorsService.prototype.hexToRgb = function (hex) {\r\n if (!hex || !hex.startsWith(\"#\") || hex.length < 7) {\r\n return [0, 0, 0];\r\n }\r\n return [parseInt(hex.substring(1, 3), 16), parseInt(hex.substring(3, 5), 16), parseInt(hex.substring(5), 16)];\r\n };\r\n MdColorsService.prototype.rgbToHex = function (_a) {\r\n var _b = tslib_1.__read(_a, 3), r = _b[0], g = _b[1], b = _b[2];\r\n return \"#\" + r.toString(16).padStart(2, \"0\") + g.toString(16).padStart(2, \"0\") + b.toString(16).padStart(2, \"0\");\r\n };\r\n MdColorsService.prototype.toRgb = function (hex, lightenDarken) {\r\n if (!hex) {\r\n return hex;\r\n }\r\n if (lightenDarken) {\r\n hex = shadeBlendConvert(0.3 * lightenDarken, hex);\r\n }\r\n var r = parseInt(hex.substring(1, 3), 16);\r\n var g = parseInt(hex.substring(3, 5), 16);\r\n var b = parseInt(hex.substring(5), 16);\r\n return r + \",\" + g + \",\" + b;\r\n };\r\n MdColorsService.prototype.rgba = function (hex, alpha) {\r\n var _a = tslib_1.__read(this.hexToRgb(hex), 3), r = _a[0], g = _a[1], b = _a[2];\r\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",\" + alpha + \")\";\r\n };\r\n MdColorsService.prototype.lighten = function (hex, amount) {\r\n var rgb = this.hexToRgb(hex);\r\n var hsl = this.rgbToHsl(rgb);\r\n hsl[2] += amount / 100;\r\n rgb = this.hslToRgb(hsl);\r\n return this.rgbToHex(rgb);\r\n };\r\n MdColorsService.prototype.darken = function (hex, amount) {\r\n return this.lighten(hex, -amount);\r\n };\r\n MdColorsService.prototype.transparentize = function (hex, amount) {\r\n return this.rgba(hex, 1 - amount);\r\n };\r\n MdColorsService.prototype.desaturate = function (hex, amount) {\r\n var rgb = this.hexToRgb(hex);\r\n var hsl = this.rgbToHsl(rgb);\r\n hsl[1] -= amount / 100;\r\n rgb = this.hslToRgb(hsl);\r\n return this.rgbToHex(rgb);\r\n };\r\n MdColorsService.prototype.rgbToHsl = function (_a) {\r\n var _b = tslib_1.__read(_a, 3), r = _b[0], g = _b[1], b = _b[2];\r\n r /= 255;\r\n g /= 255;\r\n b /= 255;\r\n var max = Math.max(r, g, b);\r\n var min = Math.min(r, g, b);\r\n var h;\r\n var s;\r\n var l = (max + min) / 2;\r\n if (max === min) {\r\n h = s = 0; // achromatic\r\n }\r\n else {\r\n var d = max - min;\r\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\r\n switch (max) {\r\n case r:\r\n h = (g - b) / d + (g < b ? 6 : 0);\r\n break;\r\n case g:\r\n h = (b - r) / d + 2;\r\n break;\r\n case b:\r\n h = (r - g) / d + 4;\r\n break;\r\n }\r\n h /= 6;\r\n }\r\n return [h, s, l];\r\n };\r\n MdColorsService.prototype.hue2rgb = function (p, q, t) {\r\n if (t < 0) {\r\n t += 1;\r\n }\r\n if (t > 1) {\r\n t -= 1;\r\n }\r\n if (t < 1 / 6) {\r\n return p + (q - p) * 6 * t;\r\n }\r\n if (t < 1 / 2) {\r\n return q;\r\n }\r\n if (t < 2 / 3) {\r\n return p + (q - p) * (2 / 3 - t) * 6;\r\n }\r\n return p;\r\n };\r\n MdColorsService.prototype.hslToRgb = function (_a) {\r\n var _b = tslib_1.__read(_a, 3), h = _b[0], s = _b[1], l = _b[2];\r\n var r;\r\n var g;\r\n var b;\r\n if (s === 0) {\r\n r = g = b = l; // achromatic\r\n }\r\n else {\r\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\r\n var p = 2 * l - q;\r\n r = this.hue2rgb(p, q, h + 1 / 3);\r\n g = this.hue2rgb(p, q, h);\r\n b = this.hue2rgb(p, q, h - 1 / 3);\r\n }\r\n return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)];\r\n };\r\n return MdColorsService;\r\n}());\r\nexport { MdColorsService };\r\n//# sourceMappingURL=colors-service.js.map","import { bindable, createTypedBindable, usePropertyTypeForBindable, usePropertyTypeForObservable, coerceFunctions } from \"aurelia-typed-observable-plugin\";\r\nusePropertyTypeForBindable(true);\r\nusePropertyTypeForObservable(true);\r\nbindable.booleanMd = createTypedBindable(\"booleanMd\");\r\ncoerceFunctions.booleanMd = function (val) {\r\n if (val === undefined) {\r\n return undefined;\r\n }\r\n else if (val === null) {\r\n return null;\r\n }\r\n else {\r\n return (val || val === \"\") && val !== \"false\" ? true : false;\r\n }\r\n};\r\nbindable.numberMd = createTypedBindable(\"numberMd\");\r\ncoerceFunctions.numberMd = function (val) {\r\n if (val === undefined || val === \"\" || val === \"undefined\" || val === \"NaN\") {\r\n return undefined;\r\n }\r\n else if (val === null || val === \"null\") {\r\n return null;\r\n }\r\n else {\r\n return Number(val);\r\n }\r\n};\r\nbindable.stringMd = createTypedBindable(\"stringMd\");\r\ncoerceFunctions.stringMd = function (val) {\r\n if (val === undefined) {\r\n return undefined;\r\n }\r\n else if (val === null) {\r\n return null;\r\n }\r\n else {\r\n return \"\" + val;\r\n }\r\n};\r\n// dummy export is needed to enforce loading order for requirejs\r\nvar Dummy = /** @class */ (function () {\r\n function Dummy() {\r\n }\r\n return Dummy;\r\n}());\r\nexport { Dummy };\r\n//# sourceMappingURL=aurelia-typed-observable.js.map","export var constants = {\r\n eventPrefix: \"md-on-\",\r\n bindablePrefix: \"md-\"\r\n};\r\n//# sourceMappingURL=constants.js.map","\"use strict\";\r\n// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/append()/append().md\r\n(function (arr) {\r\n arr.forEach(function (item) {\r\n if (item.hasOwnProperty(\"append\")) {\r\n return;\r\n }\r\n Object.defineProperty(item, \"append\", {\r\n configurable: true,\r\n enumerable: true,\r\n writable: true,\r\n value: function append() {\r\n var argArr = Array.prototype.slice.call(arguments);\r\n var docFrag = document.createDocumentFragment();\r\n argArr.forEach(function (argItem) {\r\n var isNode = argItem instanceof Node;\r\n docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));\r\n });\r\n this.appendChild(docFrag);\r\n }\r\n });\r\n });\r\n})(typeof Document !== \"undefined\" ? [Element.prototype, Document.prototype, DocumentFragment.prototype] : []);\r\n//# sourceMappingURL=append.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdDropdownElement = /** @class */ (function () {\r\n function MdDropdownElement(element) {\r\n this.element = element;\r\n this.container = null;\r\n this.controlId = \"md-dropdown-\" + MdDropdownElement_1.id++;\r\n }\r\n MdDropdownElement_1 = MdDropdownElement;\r\n MdDropdownElement.prototype.attached = function () {\r\n var _this = this;\r\n var options = {\r\n alignment: this.alignment,\r\n autoTrigger: this.autoTrigger,\r\n constrainWidth: this.constrainWidth,\r\n container: this.container,\r\n coverTrigger: this.coverTrigger,\r\n closeOnClick: this.closeOnClick,\r\n hover: this.hover,\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n onOpenStart: function () { return au.fireMaterializeEvent(_this.element, \"open-start\"); },\r\n onOpenEnd: function () { return au.fireMaterializeEvent(_this.element, \"open-end\"); },\r\n onCloseStart: function () { return au.fireMaterializeEvent(_this.element, \"close-start\"); },\r\n onCloseEnd: function () { return au.fireMaterializeEvent(_this.element, \"close-end\"); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Dropdown(this.element, options);\r\n };\r\n MdDropdownElement.prototype.detached = function () {\r\n if (this.instance) {\r\n this.instance.destroy();\r\n }\r\n };\r\n MdDropdownElement.prototype.open = function () {\r\n if (this.instance) {\r\n this.instance.open();\r\n }\r\n };\r\n MdDropdownElement.prototype.close = function () {\r\n if (this.instance) {\r\n this.instance.close();\r\n }\r\n };\r\n MdDropdownElement.prototype.recalculateDimensions = function () {\r\n if (this.instance) {\r\n this.instance.recalculateDimensions();\r\n }\r\n };\r\n var MdDropdownElement_1;\r\n MdDropdownElement.id = 0;\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDropdownElement.prototype, \"alignment\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdownElement.prototype, \"autoTrigger\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdownElement.prototype, \"constrainWidth\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Element)\r\n ], MdDropdownElement.prototype, \"container\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdownElement.prototype, \"coverTrigger\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdownElement.prototype, \"closeOnClick\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdownElement.prototype, \"hover\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDropdownElement.prototype, \"title\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdDropdownElement.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdDropdownElement.prototype, \"outDuration\", void 0);\r\n MdDropdownElement = MdDropdownElement_1 = tslib_1.__decorate([\r\n au.customElement(\"md-dropdown\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdDropdownElement);\r\n return MdDropdownElement;\r\n}());\r\nexport { MdDropdownElement };\r\n//# sourceMappingURL=dropdown-element.js.map","import * as au from \"../aurelia\";\r\nvar MdToastService = /** @class */ (function () {\r\n function MdToastService() {\r\n }\r\n MdToastService.prototype.removeAll = function () {\r\n M.Toast.dismissAll();\r\n };\r\n MdToastService.prototype.show = function (html, displayLength, className, activationPercent, inDuration, outDuration) {\r\n var options = { html: html, displayLength: displayLength, classes: className, activationPercent: activationPercent, inDuration: inDuration, outDuration: outDuration };\r\n au.cleanOptions(options);\r\n return new Promise(function (resolve) {\r\n options.completeCallback = function () { return resolve(instance); };\r\n var instance = new M.Toast(options);\r\n });\r\n };\r\n return MdToastService;\r\n}());\r\nexport { MdToastService };\r\n//# sourceMappingURL=toastService.js.map","// the following two imports are needed for consumer TS projects\r\n// without them types will not be found\r\nimport \"./augmentation/element\";\r\nimport \"./augmentation/materialize\";\r\nimport { Dummy } from \"./augmentation/aurelia-typed-observable\";\r\nimport \"./polyfills/append\";\r\nimport \"./polyfills/remove\";\r\nimport \"./polyfills/pad-start\";\r\nimport { ConfigBuilder } from \"./config-builder\";\r\nexport function configure(frameworkConfiguration, configCallback) {\r\n var builder = frameworkConfiguration.container.get(ConfigBuilder);\r\n if (configCallback !== undefined && typeof (configCallback) === \"function\") {\r\n configCallback(builder);\r\n }\r\n if (builder.useGlobalResources) {\r\n frameworkConfiguration.globalResources(builder.globalResources);\r\n }\r\n}\r\n// this is needed to enforce loading order for requirejs\r\n// otherwise typescript optimises imports and loads augmentation/aurelia-typed-observable after exports\r\nvar d = new Dummy();\r\n// build-index-remove start\r\nexport * from \"./exports\";\r\n// build-index-remove end\r\n//# sourceMappingURL=index.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdAutoComplete = /** @class */ (function () {\r\n function MdAutoComplete(element) {\r\n this.element = element;\r\n this.input = null;\r\n this.values = {};\r\n }\r\n MdAutoComplete.prototype.valuesChanged = function () {\r\n this.instance.updateData(this.values);\r\n };\r\n MdAutoComplete.prototype.bind = function () {\r\n // suppress initial change handler calls\r\n };\r\n MdAutoComplete.prototype.attached = function () {\r\n var _this = this;\r\n if (this.element.tagName.toLowerCase() === \"input\") {\r\n this.input = this.element;\r\n }\r\n else if (this.element.tagName.toLowerCase() === \"md-input\") {\r\n this.input = this.element.au[\"md-input\"].viewModel.input;\r\n }\r\n else {\r\n throw new Error(\"md-autocomplete must be attached to either an input or md-input element\");\r\n }\r\n var options = {\r\n data: this.values,\r\n limit: this.limit,\r\n minLength: this.minLength,\r\n onAutocomplete: function (text) {\r\n au.fireMaterializeEvent(_this.element, \"autocomplete\", { text: text });\r\n }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Autocomplete(this.input, options);\r\n };\r\n MdAutoComplete.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdAutoComplete.prototype, \"limit\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdAutoComplete.prototype, \"minLength\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdAutoComplete.prototype, \"values\", void 0);\r\n MdAutoComplete = tslib_1.__decorate([\r\n au.customAttribute(\"md-autocomplete\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdAutoComplete);\r\n return MdAutoComplete;\r\n}());\r\nexport { MdAutoComplete };\r\n//# sourceMappingURL=autocomplete.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdBadge = /** @class */ (function () {\r\n function MdBadge(element) {\r\n this.element = element;\r\n this.isNew = false;\r\n this.caption = null;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdBadge.prototype.isNewChanged = function () {\r\n if (this.isNew) {\r\n this.attributeManager.addClasses(\"new\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"new\");\r\n }\r\n };\r\n MdBadge.prototype.captionChanged = function () {\r\n if (this.caption !== null) {\r\n this.attributeManager.addAttributes({ \"data-badge-caption\": this.caption });\r\n }\r\n else {\r\n this.attributeManager.removeAttributes([\"data-badge-caption\"]);\r\n }\r\n };\r\n MdBadge.prototype.attached = function () {\r\n this.element.classList.add(\"badge\");\r\n };\r\n MdBadge.prototype.detached = function () {\r\n this.attributeManager.removeClasses([\"badge\", \"new\"]);\r\n this.attributeManager.removeAttributes([\"data-badge-caption\"]);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdBadge.prototype, \"isNew\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdBadge.prototype, \"caption\", void 0);\r\n MdBadge = tslib_1.__decorate([\r\n au.customAttribute(\"md-badge\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdBadge);\r\n return MdBadge;\r\n}());\r\nexport { MdBadge };\r\n//# sourceMappingURL=badge.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdBox = /** @class */ (function () {\r\n function MdBox(element) {\r\n this.element = element;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdBox.prototype.attached = function () {\r\n var _this = this;\r\n this.attributeManager.addClasses(\"materialboxed\");\r\n if (this.caption) {\r\n this.attributeManager.addAttributes({ \"data-caption\": this.caption });\r\n }\r\n var options = {\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n onOpenStart: function () { return au.fireMaterializeEvent(_this.element, \"open-start\"); },\r\n onOpenEnd: function () { return au.fireMaterializeEvent(_this.element, \"open-end\"); },\r\n onCloseStart: function () { return au.fireMaterializeEvent(_this.element, \"close-start\"); },\r\n onCloseEnd: function () { return au.fireMaterializeEvent(_this.element, \"close-end\"); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Materialbox(this.element, options);\r\n };\r\n MdBox.prototype.detached = function () {\r\n this.instance.destroy();\r\n this.attributeManager.removeAttributes(\"data-caption\");\r\n this.attributeManager.removeClasses(\"materialboxed\");\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdBox.prototype, \"caption\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdBox.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdBox.prototype, \"outDuration\", void 0);\r\n MdBox = tslib_1.__decorate([\r\n au.customAttribute(\"md-box\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdBox);\r\n return MdBox;\r\n}());\r\nexport { MdBox };\r\n//# sourceMappingURL=box.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\n// taken from: https://github.com/heruan/aurelia-breadcrumbs\r\nvar MdBreadcrumbs = /** @class */ (function () {\r\n function MdBreadcrumbs(element, aureliaRouter) {\r\n this.element = element;\r\n this.aureliaRouter = aureliaRouter;\r\n }\r\n MdBreadcrumbs.prototype.bind = function () {\r\n if (!this.router) {\r\n this.router = this.aureliaRouter;\r\n }\r\n this.childRouter = this.router;\r\n var router = this.router;\r\n while (router.parent) {\r\n router = router.parent;\r\n }\r\n this.router = router;\r\n };\r\n MdBreadcrumbs.prototype.navigate = function (navigationInstruction) {\r\n this.childRouter.navigateToRoute(navigationInstruction.config.name);\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", au.Router)\r\n ], MdBreadcrumbs.prototype, \"router\", void 0);\r\n MdBreadcrumbs = tslib_1.__decorate([\r\n au.customElement(\"md-breadcrumbs\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.Router])\r\n ], MdBreadcrumbs);\r\n return MdBreadcrumbs;\r\n}());\r\nexport { MdBreadcrumbs };\r\n//# sourceMappingURL=breadcrumbs.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-breadcrumbs a{cursor:pointer}\", \"\"]);\n","module.exports = \"\\n\";","var InstructionFilterValueConverter = /** @class */ (function () {\r\n function InstructionFilterValueConverter() {\r\n }\r\n InstructionFilterValueConverter.prototype.toView = function (navigationInstructions) {\r\n return navigationInstructions.filter(function (i) { return !!i.config.title; });\r\n };\r\n return InstructionFilterValueConverter;\r\n}());\r\nexport { InstructionFilterValueConverter };\r\n//# sourceMappingURL=instructionFilter.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nimport { ConfigBuilder } from \"../config-builder\";\r\nvar MdButton = /** @class */ (function () {\r\n function MdButton(element, configBuilder) {\r\n this.element = element;\r\n this.configBuilder = configBuilder;\r\n this.disabled = false;\r\n this.flat = false;\r\n this.floating = false;\r\n this.large = false;\r\n this.small = false;\r\n this.pulse = false;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdButton.prototype.disabledChanged = function () {\r\n if (this.disabled) {\r\n this.attributeManager.addClasses(\"disabled\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"disabled\");\r\n }\r\n };\r\n MdButton.prototype.flatChanged = function () {\r\n if (this.flat) {\r\n this.attributeManager.addClasses(\"btn-flat\");\r\n this.attributeManager.removeClasses(\"btn\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"btn-flat\");\r\n this.attributeManager.addClasses(\"btn\");\r\n }\r\n };\r\n MdButton.prototype.pulseChanged = function () {\r\n if (this.pulse) {\r\n this.attributeManager.addClasses(\"pulse\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"pulse\");\r\n }\r\n };\r\n MdButton.prototype.attached = function () {\r\n var classes = [];\r\n if (this.configBuilder.autoButtonWaves && !this.element.hasAttribute(\"md-waves\")) {\r\n classes.push(\"waves-effect\");\r\n if (this.flat) {\r\n classes.push(\"waves-secondary\");\r\n }\r\n else {\r\n classes.push(\"waves-light\");\r\n }\r\n Waves.attach(this.element);\r\n }\r\n this.flatChanged();\r\n if (this.floating) {\r\n classes.push(\"btn-floating\");\r\n }\r\n if (this.large) {\r\n classes.push(\"btn-large\");\r\n }\r\n if (this.small) {\r\n classes.push(\"btn-small\");\r\n }\r\n this.disabledChanged();\r\n this.pulseChanged();\r\n this.flatChanged();\r\n this.attributeManager.addClasses(classes);\r\n };\r\n MdButton.prototype.detached = function () {\r\n this.attributeManager.removeClasses([\"btn\", \"btn-flat\", \"btn-large\", \"disabled\", \"pulse\", \"waves-secondary\", \"waves-light\", \"waves-effect\", \"waves-block\"]);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"flat\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"floating\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"large\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"small\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdButton.prototype, \"pulse\", void 0);\r\n MdButton = tslib_1.__decorate([\r\n au.customAttribute(\"md-button\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, ConfigBuilder])\r\n ], MdButton);\r\n return MdButton;\r\n}());\r\nexport { MdButton };\r\n//# sourceMappingURL=button.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCard = /** @class */ (function () {\r\n function MdCard(element) {\r\n this.element = element;\r\n this.image = null;\r\n this.size = \"\";\r\n }\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCard.prototype, \"horizontal\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCard.prototype, \"image\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCard.prototype, \"reveal\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCard.prototype, \"action\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCard.prototype, \"stickyAction\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCard.prototype, \"size\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCard.prototype, \"title\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCard.prototype, \"mdClass\", void 0);\r\n MdCard = tslib_1.__decorate([\r\n au.customElement(\"md-card\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCard);\r\n return MdCard;\r\n}());\r\nexport { MdCard };\r\n//# sourceMappingURL=card.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-card{display:block}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCarousel = /** @class */ (function () {\r\n function MdCarousel(element, taskQueue) {\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.indicators = true;\r\n this.fullWidth = false;\r\n this.items = [];\r\n }\r\n MdCarousel.prototype.itemsChanged = function () {\r\n this.refresh();\r\n };\r\n MdCarousel.prototype.attached = function () {\r\n if (this.fullWidth) {\r\n this.element.classList.add(\"carousel-slider\");\r\n }\r\n this.refresh();\r\n };\r\n MdCarousel.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n MdCarousel.prototype.refresh = function () {\r\n var _this = this;\r\n if (!this.items.length) {\r\n return;\r\n }\r\n var options = {\r\n fullWidth: this.fullWidth,\r\n indicators: this.indicators,\r\n dist: this.dist,\r\n duration: this.duration,\r\n noWrap: this.noWrap,\r\n numVisible: this.numVisible,\r\n padding: this.padding,\r\n shift: this.shift,\r\n onCycleTo: function (current, dragged) { return au.fireMaterializeEvent(_this.element, \"cycle-to\", { current: current, dragged: dragged }); }\r\n };\r\n au.cleanOptions(options);\r\n this.taskQueue.queueTask(function () {\r\n _this.instance = new M.Carousel(_this.element, options);\r\n });\r\n };\r\n MdCarousel.prototype.next = function (n) {\r\n this.instance.next(n);\r\n };\r\n MdCarousel.prototype.prev = function (n) {\r\n this.instance.prev(n);\r\n };\r\n MdCarousel.prototype.set = function (n) {\r\n this.instance.set(n);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCarousel.prototype, \"indicators\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCarousel.prototype, \"fullWidth\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCarousel.prototype, \"duration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCarousel.prototype, \"dist\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCarousel.prototype, \"shift\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCarousel.prototype, \"padding\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCarousel.prototype, \"numVisible\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCarousel.prototype, \"noWrap\", void 0);\r\n tslib_1.__decorate([\r\n au.children(\"md-carousel-item\"),\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdCarousel.prototype, \"items\", void 0);\r\n MdCarousel = tslib_1.__decorate([\r\n au.customElement(\"md-carousel\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdCarousel);\r\n return MdCarousel;\r\n}());\r\nexport { MdCarousel };\r\n//# sourceMappingURL=carousel.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCarouselItem = /** @class */ (function () {\r\n function MdCarouselItem(element) {\r\n this.element = element;\r\n this.href = \"\";\r\n this.image = \"\";\r\n }\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCarouselItem.prototype, \"href\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdCarouselItem.prototype, \"image\", void 0);\r\n MdCarouselItem = tslib_1.__decorate([\r\n au.customElement(\"md-carousel-item\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCarouselItem);\r\n return MdCarouselItem;\r\n}());\r\nexport { MdCarouselItem };\r\n//# sourceMappingURL=carousel-item.js.map","module.exports = \"\\n\";","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-carousel{display:block}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCharCounter = /** @class */ (function () {\r\n function MdCharCounter(element) {\r\n this.element = element;\r\n this.length = 120;\r\n this.instances = [];\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdCharCounter.prototype.attached = function () {\r\n var _this = this;\r\n // attach to input and textarea elements explicitly, so this counter can be\r\n // used on containers (or custom elements like md-input)\r\n var tagName = this.element.tagName.toUpperCase();\r\n if (tagName === \"INPUT\" || tagName === \"TEXTAREA\") {\r\n this.attributeManager.addAttributes({ \"data-length\": this.length });\r\n this.instances.push(new M.CharacterCounter(this.element));\r\n }\r\n else {\r\n var elem = Array.from(this.element.querySelectorAll(\"input,textarea\"));\r\n elem.forEach(function (el) {\r\n el.setAttribute(\"data-length\", _this.length.toString());\r\n _this.instances.push(new M.CharacterCounter(el));\r\n });\r\n }\r\n };\r\n MdCharCounter.prototype.detached = function () {\r\n this.instances.forEach(function (x) { return x.destroy(); });\r\n this.attributeManager.removeAttributes([\"data-length\"]);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCharCounter.prototype, \"length\", void 0);\r\n MdCharCounter = tslib_1.__decorate([\r\n au.customAttribute(\"md-char-counter\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCharCounter);\r\n return MdCharCounter;\r\n}());\r\nexport { MdCharCounter };\r\n//# sourceMappingURL=char-counter.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCheckbox = /** @class */ (function () {\r\n function MdCheckbox(element) {\r\n this.element = element;\r\n this.readonly = false;\r\n this.controlId = \"md-checkbox-\" + MdCheckbox_1.id++;\r\n }\r\n MdCheckbox_1 = MdCheckbox;\r\n MdCheckbox.prototype.disabledChanged = function (newValue) {\r\n if (this.checkbox) {\r\n this.checkbox.disabled = !!newValue;\r\n }\r\n };\r\n MdCheckbox.prototype.readonlyChanged = function () {\r\n if (!this.checkbox) {\r\n return;\r\n }\r\n if (this.readonly) {\r\n this.checkbox.addEventListener(\"change\", this.preventChange);\r\n }\r\n else {\r\n this.checkbox.removeEventListener(\"change\", this.preventChange);\r\n }\r\n };\r\n MdCheckbox.prototype.attached = function () {\r\n this.attributeManager = new au.AttributeManager(this.checkbox);\r\n if (this.filledIn) {\r\n this.attributeManager.addClasses(\"filled-in\");\r\n }\r\n if (this.checked === null) {\r\n this.checkbox.indeterminate = true;\r\n }\r\n else {\r\n this.checkbox.indeterminate = false;\r\n }\r\n if (this.disabled) {\r\n this.checkbox.disabled = true;\r\n }\r\n this.readonlyChanged();\r\n };\r\n MdCheckbox.prototype.detached = function () {\r\n this.attributeManager.removeClasses([\"filled-in\", \"disabled\"]);\r\n };\r\n // it is called with an element as this\r\n MdCheckbox.prototype.preventChange = function () {\r\n this.checked = !this.checked;\r\n };\r\n var MdCheckbox_1;\r\n MdCheckbox.id = 0;\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdCheckbox.prototype, \"checked\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCheckbox.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCheckbox.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCheckbox.prototype, \"filledIn\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Function)\r\n ], MdCheckbox.prototype, \"matcher\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdCheckbox.prototype, \"model\", void 0);\r\n MdCheckbox = MdCheckbox_1 = tslib_1.__decorate([\r\n au.customElement(\"md-checkbox\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCheckbox);\r\n return MdCheckbox;\r\n}());\r\nexport { MdCheckbox };\r\n//# sourceMappingURL=checkbox.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdChip = /** @class */ (function () {\r\n function MdChip(element) {\r\n this.element = element;\r\n this.hasClose = false;\r\n }\r\n MdChip.prototype.closeChip = function () {\r\n this.element.parentElement.removeChild(this.element);\r\n au.fireEvent(this.element, \"close\");\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdChip.prototype, \"hasClose\", void 0);\r\n MdChip = tslib_1.__decorate([\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdChip);\r\n return MdChip;\r\n}());\r\nexport { MdChip };\r\n//# sourceMappingURL=chip.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-chip i.material-icons{float:right;line-height:32px;font-size:16px;cursor:pointer}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdChips = /** @class */ (function () {\r\n function MdChips(element, taskQueue) {\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.autocompleteData = {};\r\n this.data = [];\r\n this.log = au.getLogger(\"md-chips\");\r\n }\r\n MdChips.prototype.dataChanged = function (newValue, oldValue) {\r\n this.refresh();\r\n // I know this is a bit naive..\r\n if (newValue.length > oldValue.length) {\r\n var chip = newValue.find(function (i) { return !oldValue.includes(i); });\r\n au.fireEvent(this.element, \"change\", { source: \"dataChanged\", operation: \"add\", target: chip, data: newValue });\r\n }\r\n if (newValue.length < oldValue.length) {\r\n var chip = oldValue.find(function (i) { return !newValue.includes(i); });\r\n au.fireEvent(this.element, \"change\", { source: \"dataChanged\", operation: \"delete\", target: chip, data: newValue });\r\n }\r\n };\r\n MdChips.prototype.bind = function () {\r\n // suppress initial change handler calls\r\n };\r\n MdChips.prototype.attached = function () {\r\n this.refresh();\r\n };\r\n MdChips.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n MdChips.prototype.refresh = function () {\r\n var _this = this;\r\n var options = {\r\n data: this.data,\r\n placeholder: this.placeholder,\r\n limit: this.limit,\r\n secondaryPlaceholder: this.secondaryPlaceholder,\r\n onChipAdd: function () { return _this.data = _this.instance.chipsData; },\r\n onChipDelete: function () { return _this.data = _this.instance.chipsData; },\r\n onChipSelect: function (e, chip) { return au.fireEvent(_this.element, \"selected\", { target: chip }); }\r\n };\r\n if (this.autocompleteData) {\r\n options.autocompleteOptions = { data: this.autocompleteData };\r\n }\r\n au.cleanOptions(options);\r\n this.instance = new M.Chips(this.element, options);\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdChips.prototype, \"autocompleteData\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdChips.prototype, \"data\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdChips.prototype, \"placeholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdChips.prototype, \"secondaryPlaceholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdChips.prototype, \"limit\", void 0);\r\n MdChips = tslib_1.__decorate([\r\n au.customAttribute(\"md-chips\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdChips);\r\n return MdChips;\r\n}());\r\nexport { MdChips };\r\n//# sourceMappingURL=chips.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar ClickCounter = /** @class */ (function () {\r\n function ClickCounter() {\r\n this.count = 0;\r\n }\r\n ClickCounter.prototype.increment = function () {\r\n this.count++;\r\n };\r\n ClickCounter = tslib_1.__decorate([\r\n au.customElement(\"click-counter\")\r\n ], ClickCounter);\r\n return ClickCounter;\r\n}());\r\nexport { ClickCounter };\r\n//# sourceMappingURL=click-counter.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCollapsible = /** @class */ (function () {\r\n function MdCollapsible(element) {\r\n this.element = element;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdCollapsible.prototype.accordionChanged = function () {\r\n this.attached();\r\n };\r\n MdCollapsible.prototype.bind = function () {\r\n //\r\n };\r\n MdCollapsible.prototype.attached = function () {\r\n var _this = this;\r\n this.attributeManager.addClasses(\"collapsible\");\r\n if (this.popout) {\r\n this.attributeManager.addClasses(\"popout\");\r\n }\r\n var options = {\r\n accordion: this.accordion,\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n onOpenStart: function (el) { return au.fireMaterializeEvent(_this.element, \"open-start\", { el: el }); },\r\n onOpenEnd: function (el) { return au.fireMaterializeEvent(_this.element, \"open-end\", { el: el }); },\r\n onCloseStart: function (el) { return au.fireMaterializeEvent(_this.element, \"close-start\", { el: el }); },\r\n onCloseEnd: function (el) { return au.fireMaterializeEvent(_this.element, \"close-end\", { el: el }); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Collapsible(this.element, options);\r\n };\r\n MdCollapsible.prototype.detached = function () {\r\n this.attributeManager.removeClasses([\"collapsible\", \"popout\"]);\r\n this.instance.destroy();\r\n };\r\n MdCollapsible.prototype.open = function (index) {\r\n if (index === void 0) { index = 0; }\r\n this.instance.open(index);\r\n };\r\n MdCollapsible.prototype.close = function (index) {\r\n if (index === void 0) { index = 0; }\r\n this.instance.close(index);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCollapsible.prototype, \"accordion\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCollapsible.prototype, \"popout\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCollapsible.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdCollapsible.prototype, \"outDuration\", void 0);\r\n MdCollapsible = tslib_1.__decorate([\r\n au.customAttribute(\"md-collapsible\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCollapsible);\r\n return MdCollapsible;\r\n}());\r\nexport { MdCollapsible };\r\n//# sourceMappingURL=collapsible.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCollection = /** @class */ (function () {\r\n function MdCollection(element) {\r\n this.element = element;\r\n }\r\n MdCollection.prototype.attached = function () {\r\n var header = this.element.querySelector(\"md-collection-header\");\r\n if (header) {\r\n this.anchor.classList.add(\"with-header\");\r\n }\r\n };\r\n MdCollection.prototype.getSelected = function () {\r\n var items = Array.from(this.element.querySelectorAll(\"md-collection-selector\"));\r\n return items.filter(function (i) { return i.au[\"md-collection-selector\"].viewModel.isSelected; })\r\n .map(function (i) { return i.au[\"md-collection-selector\"].viewModel.item; });\r\n };\r\n MdCollection.prototype.clearSelection = function () {\r\n var items = [].slice.call(this.element.querySelectorAll(\"md-collection-selector\"));\r\n items.forEach(function (i) { return i.au[\"md-collection-selector\"].viewModel.isSelected = false; });\r\n };\r\n MdCollection.prototype.selectAll = function () {\r\n var items = [].slice.call(this.element.querySelectorAll(\"md-collection-selector\"));\r\n items.forEach(function (i) {\r\n var vm = i.au[\"md-collection-selector\"].viewModel;\r\n vm.isSelected = !vm.mdDisabled;\r\n });\r\n };\r\n MdCollection.prototype.toggleIndex = function (index) {\r\n var items = [].slice.call(this.element.querySelectorAll(\"md-collection-selector\"));\r\n var vm = items[index].au[\"md-collection-selector\"].viewModel;\r\n vm.isSelected = !vm.isSelected;\r\n };\r\n MdCollection = tslib_1.__decorate([\r\n au.customElement(\"md-collection\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCollection);\r\n return MdCollection;\r\n}());\r\nexport { MdCollection };\r\n//# sourceMappingURL=collection.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCollectionHeader = /** @class */ (function () {\r\n function MdCollectionHeader() {\r\n }\r\n MdCollectionHeader = tslib_1.__decorate([\r\n au.customElement(\"md-collection-header\")\r\n ], MdCollectionHeader);\r\n return MdCollectionHeader;\r\n}());\r\nexport { MdCollectionHeader };\r\n//# sourceMappingURL=collection-header.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-collection-header{display:block}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCollectionItem = /** @class */ (function () {\r\n function MdCollectionItem() {\r\n }\r\n MdCollectionItem = tslib_1.__decorate([\r\n au.customElement(\"md-collection-item\")\r\n ], MdCollectionItem);\r\n return MdCollectionItem;\r\n}());\r\nexport { MdCollectionItem };\r\n//# sourceMappingURL=collection-item.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-collection-item{display:block}md-collection-item.collection-item:not(.active):hover{background-color:#ddd}\", \"\"]);\n","module.exports = \"\\n\";","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdCollectionSelector = /** @class */ (function () {\r\n function MdCollectionSelector(element) {\r\n this.element = element;\r\n this.mdDisabled = false;\r\n this.isSelected = false;\r\n }\r\n MdCollectionSelector.prototype.isSelectedChanged = function (newValue) {\r\n au.fireMaterializeEvent(this.element, \"selection-changed\", { item: this.item, isSelected: this.isSelected });\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdCollectionSelector.prototype, \"item\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCollectionSelector.prototype, \"mdDisabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdCollectionSelector.prototype, \"isSelected\", void 0);\r\n MdCollectionSelector = tslib_1.__decorate([\r\n au.customElement(\"md-collection-selector\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdCollectionSelector);\r\n return MdCollectionSelector;\r\n}());\r\nexport { MdCollectionSelector };\r\n//# sourceMappingURL=md-collection-selector.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-collection-selector .md-collection-selector__hover{display:inline-block}md-collection-item.selected md-collection-selector .md-collection-selector__hover,md-collection-selector:hover .md-collection-selector__hover{display:none!important}md-collection-selector .md-collection-selector__checkbox div{margin-left:5px;display:inline-block;position:absolute;left:20px;top:20px;margin-right:11px;height:42px;width:42px;line-height:42px;text-align:center}md-collection-selector .md-collection-selector__checkbox .md-collection-selector__hover~div{display:none}md-collection-item.selected md-collection-selector .md-collection-selector__checkbox .md-collection-selector__hover~div,md-collection-selector:hover .md-collection-selector__checkbox .md-collection-selector__hover~div{display:inline-block}md-collection-item.selected{background-color:#eee}md-collection-selector md-checkbox{display:inline-block}md-collection-selector md-collection md-checkbox .md-checkbox.is-upgraded{padding-left:16px}\", \"\"]);\n","module.exports = \"\\n\";","import { shadeBlendConvert } from \"../common/shade-blend-convert\";\r\nvar DarkenValueConverter = /** @class */ (function () {\r\n function DarkenValueConverter() {\r\n }\r\n DarkenValueConverter.prototype.toView = function (value, steps) {\r\n return shadeBlendConvert(-0.3 * parseFloat(steps), value);\r\n };\r\n return DarkenValueConverter;\r\n}());\r\nexport { DarkenValueConverter };\r\n// tslint:disable-next-line:max-classes-per-file\r\nvar LightenValueConverter = /** @class */ (function () {\r\n function LightenValueConverter() {\r\n }\r\n LightenValueConverter.prototype.toView = function (value, steps) {\r\n return shadeBlendConvert(0.3 * parseFloat(steps), value);\r\n };\r\n return LightenValueConverter;\r\n}());\r\nexport { LightenValueConverter };\r\n//# sourceMappingURL=color-value-converters.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdColors = /** @class */ (function () {\r\n function MdColors(cs, bindingEngine) {\r\n this.cs = cs;\r\n this.bindingEngine = bindingEngine;\r\n this.primaryColor = this.cs.primaryColor;\r\n this.primaryColorLight = this.cs.primaryColorLight;\r\n this.primaryColorDark = this.cs.primaryColorDark;\r\n this.secondaryColor = this.cs.secondaryColor;\r\n this.errorColor = this.cs.errorColor;\r\n this.successColor = this.cs.successColor;\r\n this.linkColor = this.cs.linkColor;\r\n this.subscriptions = [];\r\n }\r\n MdColors.prototype.primaryColorChanged = function () {\r\n this.cs.primaryColor = this.primaryColor;\r\n this.cs.updatePrimaryShades();\r\n };\r\n MdColors.prototype.secondaryColorChanged = function () {\r\n this.cs.secondaryColor = this.secondaryColor;\r\n };\r\n MdColors.prototype.errorColorChanged = function () {\r\n this.cs.errorColor = this.errorColor;\r\n };\r\n MdColors.prototype.successColorChanged = function () {\r\n this.cs.successColor = this.successColor;\r\n };\r\n MdColors.prototype.linkColorChanged = function () {\r\n this.cs.linkColor = this.linkColor;\r\n };\r\n MdColors.prototype.attached = function () {\r\n var _this = this;\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"primaryColor\").subscribe(function () { return _this.primaryColor = _this.cs.primaryColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"primaryColorLight\").subscribe(function () { return _this.primaryColorLight = _this.cs.primaryColorLight; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"primaryColorDark\").subscribe(function () { return _this.primaryColorDark = _this.cs.primaryColorDark; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"secondaryColor\").subscribe(function () { return _this.secondaryColor = _this.cs.secondaryColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"errorColor\").subscribe(function () { return _this.errorColor = _this.cs.errorColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"successColor\").subscribe(function () { return _this.successColor = _this.cs.successColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"linkColor\").subscribe(function () { return _this.linkColor = _this.cs.linkColor; }));\r\n this.primaryColorLight = this.cs.primaryColorLight;\r\n this.primaryColorDark = this.cs.primaryColorDark;\r\n };\r\n MdColors.prototype.detached = function () {\r\n this.subscriptions.forEach(function (x) { return x.dispose(); });\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColors.prototype, \"primaryColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColors.prototype, \"secondaryColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColors.prototype, \"errorColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColors.prototype, \"successColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColors.prototype, \"linkColor\", void 0);\r\n MdColors = tslib_1.__decorate([\r\n au.customElement(\"md-colors\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [au.MdColorsService, au.BindingEngine])\r\n ], MdColors);\r\n return MdColors;\r\n}());\r\nexport { MdColors };\r\n//# sourceMappingURL=md-colors.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdColorsLegacy = /** @class */ (function () {\r\n function MdColorsLegacy(cs, bindingEngine) {\r\n this.cs = cs;\r\n this.bindingEngine = bindingEngine;\r\n this.primaryColor = this.cs.primaryColor;\r\n this.accentColor = this.cs.secondaryColor;\r\n this.errorColor = this.cs.errorColor;\r\n this.successColor = this.cs.successColor;\r\n this.subscriptions = [];\r\n }\r\n MdColorsLegacy.prototype.primaryColorChanged = function () {\r\n this.cs.primaryColor = this.primaryColor;\r\n };\r\n MdColorsLegacy.prototype.accentColorChanged = function () {\r\n this.cs.secondaryColor = this.accentColor;\r\n };\r\n MdColorsLegacy.prototype.errorColorChanged = function () {\r\n this.cs.errorColor = this.errorColor;\r\n };\r\n MdColorsLegacy.prototype.successColorChanged = function () {\r\n this.cs.successColor = this.successColor;\r\n };\r\n MdColorsLegacy.prototype.attached = function () {\r\n var _this = this;\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"primaryColor\").subscribe(function () { return _this.primaryColor = _this.cs.primaryColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"accentColor\").subscribe(function () { return _this.accentColor = _this.cs.secondaryColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"errorColor\").subscribe(function () { return _this.errorColor = _this.cs.errorColor; }));\r\n this.subscriptions.push(this.bindingEngine.propertyObserver(this.cs, \"successColor\").subscribe(function () { return _this.successColor = _this.cs.successColor; }));\r\n };\r\n MdColorsLegacy.prototype.detached = function () {\r\n this.subscriptions.forEach(function (x) { return x.dispose(); });\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColorsLegacy.prototype, \"primaryColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColorsLegacy.prototype, \"accentColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColorsLegacy.prototype, \"errorColor\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdColorsLegacy.prototype, \"successColor\", void 0);\r\n MdColorsLegacy = tslib_1.__decorate([\r\n au.customElement(\"md-colors\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [au.MdColorsService, au.BindingEngine])\r\n ], MdColorsLegacy);\r\n return MdColorsLegacy;\r\n}());\r\nexport { MdColorsLegacy };\r\n//# sourceMappingURL=md-colors-legacy.js.map","module.exports = \"\\n\";","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdDatePicker = /** @class */ (function () {\r\n function MdDatePicker(element) {\r\n var _this = this;\r\n this.element = element;\r\n this.controlId = \"md-datepicker-\" + MdDatePicker_1.id++;\r\n this.label = \"\";\r\n this.placeholder = \"\";\r\n this.showErrortext = true;\r\n this.calendarIcon = null;\r\n this.done = function (e) {\r\n // we're only interested in events generated by the widget\r\n if (e.firedBy !== _this.instance) {\r\n return;\r\n }\r\n // stop propagation for widget triggered change to retrigger it later on an the element\r\n e.stopPropagation();\r\n if (_this.suppressDone) {\r\n _this.suppressDone = false;\r\n return;\r\n }\r\n _this.setValue(_this.instance.date);\r\n au.fireEvent(_this.element, \"blur\");\r\n au.fireEvent(_this.element, \"change\");\r\n };\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.input);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n if (_this.showErrortext && _this.inputField) {\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n renderer.addMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n }\r\n renderer.addValidationClasses(_this.input, !results.find(function (x) { return !x.valid; }));\r\n };\r\n }\r\n MdDatePicker_1 = MdDatePicker;\r\n MdDatePicker.prototype.valueChanged = function () {\r\n if (this.valueChangedSuppress) {\r\n this.valueChangedSuppress = false;\r\n au.updateLabel(this.input, this.labelElement);\r\n return;\r\n }\r\n if (!this.instance) {\r\n return;\r\n }\r\n this.instance.setDate(this.value);\r\n // suppress done handler because setInputValue will trigger it, change value and possibly cause an infinite loop when a date has time components\r\n this.suppressDone = true;\r\n this.instance.setInputValue();\r\n au.updateLabel(this.input, this.labelElement);\r\n };\r\n MdDatePicker.prototype.setValue = function (newValue) {\r\n if (this.value !== newValue) {\r\n this.valueChangedSuppress = true;\r\n this.value = newValue;\r\n }\r\n };\r\n MdDatePicker.prototype.attached = function () {\r\n var _this = this;\r\n if (this.placeholder) {\r\n this.input.setAttribute(\"placeholder\", this.placeholder);\r\n }\r\n var container = typeof this.container === \"string\" ? document.querySelector(this.container) : this.container;\r\n var options = {\r\n autoClose: this.autoClose,\r\n format: this.format,\r\n parse: this.parse,\r\n defaultDate: this.defaultDate,\r\n setDefaultDate: this.setDefaultDate,\r\n disableWeekends: this.disableWeekends,\r\n disableDayFn: this.disableDayFn,\r\n firstDay: this.firstDay,\r\n minDate: this.minDate,\r\n maxDate: this.maxDate,\r\n yearRange: this.yearRange,\r\n isRTL: this.isRtl,\r\n showMonthAfterYear: this.showMonthAfterYear,\r\n showDaysInNextAndPreviousMonths: this.showDaysInNextAndPreviousMonths,\r\n container: container,\r\n showClearBtn: this.showClearBtn,\r\n i18n: this.i18n,\r\n events: this.events,\r\n onSelect: function (selectedDate) { return au.fireMaterializeEvent(_this.element, \"select\", { selectedDate: selectedDate }); },\r\n onOpen: function () { return au.fireMaterializeEvent(_this.element, \"open\"); },\r\n onClose: function () { return au.fireMaterializeEvent(_this.element, \"close\"); },\r\n onDraw: function () { return au.fireMaterializeEvent(_this.element, \"draw\"); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Datepicker(this.input, options);\r\n this.instance.el.addEventListener(\"change\", this.done);\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n this.valueChanged();\r\n };\r\n MdDatePicker.prototype.bind = function () {\r\n //\r\n };\r\n MdDatePicker.prototype.detached = function () {\r\n au.MaterializeFormValidationRenderer.removeValidation(this.inputField, this.input);\r\n this.instance.destroy();\r\n this.element.mdUnrenderValidateResults = undefined;\r\n this.element.mdRenderValidateResults = undefined;\r\n };\r\n MdDatePicker.prototype.open = function () {\r\n this.instance.open();\r\n };\r\n MdDatePicker.prototype.close = function () {\r\n this.instance.close();\r\n };\r\n var MdDatePicker_1;\r\n MdDatePicker.id = 0;\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDatePicker.prototype, \"label\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"inline\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDatePicker.prototype, \"placeholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"autoClose\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDatePicker.prototype, \"format\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Function)\r\n ], MdDatePicker.prototype, \"parse\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Date)\r\n ], MdDatePicker.prototype, \"defaultDate\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"setDefaultDate\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"disableWeekends\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Function)\r\n ], MdDatePicker.prototype, \"disableDayFn\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdDatePicker.prototype, \"firstDay\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Date)\r\n ], MdDatePicker.prototype, \"minDate\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Date)\r\n ], MdDatePicker.prototype, \"maxDate\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdDatePicker.prototype, \"yearRange\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"isRtl\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"showMonthAfterYear\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"showDaysInNextAndPreviousMonths\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdDatePicker.prototype, \"container\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"showClearBtn\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdDatePicker.prototype, \"i18n\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdDatePicker.prototype, \"events\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDatePicker.prototype, \"showErrortext\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Date)\r\n ], MdDatePicker.prototype, \"value\", void 0);\r\n MdDatePicker = MdDatePicker_1 = tslib_1.__decorate([\r\n au.autoinject,\r\n au.customElement(\"md-datepicker\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdDatePicker);\r\n return MdDatePicker;\r\n}());\r\nexport { MdDatePicker };\r\n//# sourceMappingURL=datepicker.js.map","module.exports = \"\\r\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdDropdown = /** @class */ (function () {\r\n function MdDropdown(element) {\r\n this.element = element;\r\n this.activates = \"\";\r\n this.ref = null;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdDropdown_1 = MdDropdown;\r\n MdDropdown.prototype.attached = function () {\r\n var _this = this;\r\n this.handleActivateElement();\r\n this.contentAttributeManager = new au.AttributeManager(document.getElementById(this.activates));\r\n this.attributeManager.addClasses(\"dropdown-trigger\");\r\n this.contentAttributeManager.addClasses(\"dropdown-content\");\r\n var container = typeof this.container === \"string\" ? document.querySelector(this.container) : this.container;\r\n var options = {\r\n alignment: this.alignment,\r\n autoTrigger: this.autoTrigger,\r\n constrainWidth: this.constrainWidth,\r\n container: container,\r\n coverTrigger: this.coverTrigger,\r\n closeOnClick: this.closeOnClick,\r\n hover: this.hover,\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n onOpenStart: function () { return au.fireMaterializeEvent(_this.element, \"open-start\"); },\r\n onOpenEnd: function () { return au.fireMaterializeEvent(_this.element, \"open-end\"); },\r\n onCloseStart: function () { return au.fireMaterializeEvent(_this.element, \"close-start\"); },\r\n onCloseEnd: function () { return au.fireMaterializeEvent(_this.element, \"close-end\"); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Dropdown(this.element, options);\r\n };\r\n MdDropdown.prototype.detached = function () {\r\n if (this.instance) {\r\n this.instance.destroy();\r\n this.instance.dropdownEl.remove();\r\n }\r\n this.attributeManager.removeAttributes(\"data-target\");\r\n this.attributeManager.removeClasses(\"dropdown-trigger\");\r\n this.contentAttributeManager.removeClasses(\"dropdown-content\");\r\n };\r\n MdDropdown.prototype.open = function () {\r\n if (this.instance) {\r\n this.instance.open();\r\n }\r\n };\r\n MdDropdown.prototype.close = function () {\r\n if (this.instance) {\r\n this.instance.close();\r\n }\r\n };\r\n MdDropdown.prototype.recalculateDimensions = function () {\r\n if (this.instance) {\r\n this.instance.recalculateDimensions();\r\n }\r\n };\r\n MdDropdown.prototype.handleActivateElement = function () {\r\n if (this.ref) {\r\n var id = this.ref.getAttribute(\"id\");\r\n if (!id) {\r\n id = \"md-dropdown-\" + MdDropdown_1.elementId++;\r\n this.ref.setAttribute(\"id\", id);\r\n this.activates = id;\r\n }\r\n this.id = id;\r\n }\r\n this.attributeManager.addAttributes({ \"data-target\": this.activates });\r\n };\r\n var MdDropdown_1;\r\n MdDropdown.elementId = 0;\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdDropdown.prototype, \"activates\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Element)\r\n ], MdDropdown.prototype, \"ref\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDropdown.prototype, \"alignment\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdown.prototype, \"autoTrigger\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdown.prototype, \"constrainWidth\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdDropdown.prototype, \"container\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdown.prototype, \"coverTrigger\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdown.prototype, \"closeOnClick\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdDropdown.prototype, \"hover\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdDropdown.prototype, \"mdTitle\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdDropdown.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdDropdown.prototype, \"outDuration\", void 0);\r\n MdDropdown = MdDropdown_1 = tslib_1.__decorate([\r\n au.customAttribute(\"md-dropdown\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdDropdown);\r\n return MdDropdown;\r\n}());\r\nexport { MdDropdown };\r\n//# sourceMappingURL=dropdown.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdFab = /** @class */ (function () {\r\n function MdFab(element, taskQueue) {\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n }\r\n MdFab.prototype.attached = function () {\r\n var _this = this;\r\n this.element.classList.add(\"fixed-action-btn\");\r\n if (this.toolbarEnabled) {\r\n this.element.classList.add(\"toolbar\");\r\n }\r\n var options = {\r\n direction: this.direction,\r\n hoverEnabled: this.hoverEnabled,\r\n toolbarEnabled: this.toolbarEnabled\r\n };\r\n au.cleanOptions(options);\r\n this.taskQueue.queueTask(function () { return _this.instance = new M.FloatingActionButton(_this.element, options); });\r\n };\r\n MdFab.prototype.detached = function () {\r\n this.instance.destroy();\r\n this.element.classList.remove(\"fixed-action-btn\");\r\n this.element.classList.remove(\"toolbar\");\r\n };\r\n MdFab.prototype.open = function () {\r\n this.instance.open();\r\n };\r\n MdFab.prototype.close = function () {\r\n this.instance.close();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdFab.prototype, \"direction\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdFab.prototype, \"hoverEnabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdFab.prototype, \"toolbarEnabled\", void 0);\r\n MdFab = tslib_1.__decorate([\r\n au.customElement(\"md-fab\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdFab);\r\n return MdFab;\r\n}());\r\nexport { MdFab };\r\n//# sourceMappingURL=fab.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdFileInput = /** @class */ (function () {\r\n function MdFileInput(element) {\r\n var _this = this;\r\n this.element = element;\r\n this.caption = \"File\";\r\n this.multiple = false;\r\n this.labelValue = \"\";\r\n this.disabled = false;\r\n this.readonly = false;\r\n this.suspendUpdate = false;\r\n this.handleChangeFromNativeInput = function () {\r\n if (!_this.suspendUpdate) {\r\n _this.suspendUpdate = true;\r\n au.fireEvent(_this.filePath, \"change\", { files: _this.files });\r\n au.fireMaterializeEvent(_this.filePath, \"change\", { files: _this.files });\r\n _this.suspendUpdate = false;\r\n }\r\n };\r\n }\r\n MdFileInput.prototype.attached = function () {\r\n this.filePath.addEventListener(\"change\", this.handleChangeFromNativeInput);\r\n };\r\n MdFileInput.prototype.detached = function () {\r\n this.filePath.removeEventListener(\"change\", this.handleChangeFromNativeInput);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdFileInput.prototype, \"caption\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdFileInput.prototype, \"multiple\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdFileInput.prototype, \"labelValue\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdFileInput.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdFileInput.prototype, \"readonly\", void 0);\r\n MdFileInput = tslib_1.__decorate([\r\n au.customElement(\"md-file\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdFileInput);\r\n return MdFileInput;\r\n}());\r\nexport { MdFileInput };\r\n//# sourceMappingURL=file.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdFooter = /** @class */ (function () {\r\n function MdFooter(element) {\r\n this.element = element;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdFooter.prototype.bind = function () {\r\n this.attributeManager.addClasses(\"page-footer\");\r\n };\r\n MdFooter.prototype.unbind = function () {\r\n this.attributeManager.removeClasses(\"page-footer\");\r\n };\r\n MdFooter = tslib_1.__decorate([\r\n au.customAttribute(\"md-footer\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdFooter);\r\n return MdFooter;\r\n}());\r\nexport { MdFooter };\r\n//# sourceMappingURL=footer.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdInput = /** @class */ (function () {\r\n function MdInput(element, taskQueue) {\r\n var _this = this;\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.blurOnEnter = false;\r\n this.disabled = false;\r\n this.readonly = false;\r\n this.placeholder = \"\";\r\n this.textArea = false;\r\n this.type = \"text\";\r\n this.step = \"any\";\r\n this.validate = false;\r\n this.showErrortext = true;\r\n this.updateTrigger = [\"input\", \"change\"];\r\n this.min = null;\r\n this.max = null;\r\n this.name = \"\";\r\n this.maxlength = 524288;\r\n this.autocomplete = \"\";\r\n this.suspendUpdate = false;\r\n this.blurOnEnterHandler = function (e) {\r\n if (e.keyCode && e.keyCode === 13) {\r\n _this.input.blur();\r\n }\r\n };\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.input);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n if (_this.showErrortext && _this.inputField) {\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n renderer.addMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n }\r\n renderer.addValidationClasses(_this.input, !results.find(function (x) { return !x.valid; }));\r\n };\r\n this.controlId = \"md-input-\" + MdInput_1.id++;\r\n }\r\n MdInput_1 = MdInput;\r\n MdInput.prototype.valueChanged = function () {\r\n var _this = this;\r\n if (this.input === document.activeElement) {\r\n return;\r\n }\r\n this.taskQueue.queueTask(function () { return _this.updateLabel(); });\r\n };\r\n MdInput.prototype.bind = function () {\r\n // this suppresses initial changed handler calls\r\n };\r\n MdInput.prototype.attached = function () {\r\n if (this.validate) {\r\n this.input.classList.add(\"validate\");\r\n }\r\n if (this.placeholder) {\r\n this.input.setAttribute(\"placeholder\", this.placeholder);\r\n }\r\n if (this.autocomplete) {\r\n this.input.setAttribute(\"autocomplete\", this.autocomplete);\r\n }\r\n this.updateLabel();\r\n this.attachEventHandlers();\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n };\r\n MdInput.prototype.detached = function () {\r\n this.detachEventHandlers();\r\n au.MaterializeFormValidationRenderer.removeValidation(this.inputField, this.input);\r\n this.element.mdUnrenderValidateResults = undefined;\r\n this.element.mdRenderValidateResults = undefined;\r\n };\r\n MdInput.prototype.updateLabel = function () {\r\n au.updateLabel(this.input, this.labelEl);\r\n if (this.textArea) {\r\n M.textareaAutoResize(this.input);\r\n }\r\n };\r\n MdInput.prototype.blur = function () {\r\n au.fireEvent(this.element, \"blur\");\r\n };\r\n MdInput.prototype.focus = function () {\r\n this.input.focus();\r\n au.fireEvent(this.element, \"focus\");\r\n };\r\n MdInput.prototype.attachEventHandlers = function () {\r\n if (this.blurOnEnter) {\r\n this.element.addEventListener(\"keyup\", this.blurOnEnterHandler);\r\n }\r\n };\r\n MdInput.prototype.detachEventHandlers = function () {\r\n if (this.blurOnEnter) {\r\n this.element.removeEventListener(\"keyup\", this.blurOnEnterHandler);\r\n }\r\n };\r\n var MdInput_1;\r\n MdInput.id = 0;\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"label\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"blurOnEnter\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"placeholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"textArea\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"type\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"step\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"validate\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"showErrortext\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdInput.prototype, \"inline\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdInput.prototype, \"updateTrigger\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"validateError\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"validateSuccess\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"value\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"min\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"max\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"name\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdInput.prototype, \"maxlength\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdInput.prototype, \"autocomplete\", void 0);\r\n MdInput = MdInput_1 = tslib_1.__decorate([\r\n au.customElement(\"md-input\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdInput);\r\n return MdInput;\r\n}());\r\nexport { MdInput };\r\n//# sourceMappingURL=input.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdPrefix = /** @class */ (function () {\r\n function MdPrefix(element) {\r\n this.element = element;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdPrefix.prototype.bind = function () {\r\n this.attributeManager.addClasses(\"prefix\");\r\n };\r\n MdPrefix.prototype.unbind = function () {\r\n this.attributeManager.removeClasses(\"prefix\");\r\n };\r\n MdPrefix = tslib_1.__decorate([\r\n au.customAttribute(\"md-prefix\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdPrefix);\r\n return MdPrefix;\r\n}());\r\nexport { MdPrefix };\r\n//# sourceMappingURL=input-prefix.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-input .input-field label.active{width:100%}\", \"\"]);\n","module.exports = \"\\n\";","export var LookupState;\r\n(function (LookupState) {\r\n LookupState[LookupState[\"optionsVisible\"] = 0] = \"optionsVisible\";\r\n LookupState[LookupState[\"searching\"] = 1] = \"searching\";\r\n LookupState[LookupState[\"noMatches\"] = 2] = \"noMatches\";\r\n LookupState[LookupState[\"error\"] = 3] = \"error\";\r\n})(LookupState || (LookupState = {}));\r\n//# sourceMappingURL=lookup-state.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nimport { LookupState } from \"./lookup-state\";\r\nimport { DiscardablePromise, discard } from \"../common/discardable-promise\";\r\nvar MdLookup = /** @class */ (function () {\r\n function MdLookup(element, taskQueue) {\r\n var _this = this;\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.placeholder = \"Start Typing To Search\";\r\n this.debounce = 850;\r\n this.LookupState = LookupState; // for usage from the html template\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.validationContainer, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.input);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n renderer.addMessage(_this.validationContainer, result);\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n renderer.addValidationClasses(_this.input, !results.find(function (x) { return !x.valid; }));\r\n };\r\n this.logger = au.getLogger(\"MdLookup\");\r\n this.controlId = \"md-lookup-\" + MdLookup_1.id++;\r\n }\r\n MdLookup_1 = MdLookup;\r\n MdLookup.prototype.filterChanged = function () {\r\n return tslib_1.__awaiter(this, void 0, void 0, function () {\r\n var _a, e_3;\r\n return tslib_1.__generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n this.logger.debug(\"filterChanged\");\r\n if (!this.optionsFunction) {\r\n return [2 /*return*/];\r\n }\r\n if (this.suppressFilterChanged) {\r\n this.logger.debug(\"unsuppressed filter changed\");\r\n this.suppressFilterChanged = false;\r\n return [2 /*return*/];\r\n }\r\n this.setValue(undefined);\r\n discard(this.searchPromise);\r\n this.options = [MdLookup_1.searching];\r\n _b.label = 1;\r\n case 1:\r\n _b.trys.push([1, 3, , 4]);\r\n this.searchPromise = new DiscardablePromise(this.getOptions({ filter: this.filter }));\r\n _a = this;\r\n return [4 /*yield*/, this.searchPromise];\r\n case 2:\r\n _a.options = _b.sent();\r\n this.fixDropdownSizeIfTooBig();\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_3 = _b.sent();\r\n if (e_3 !== DiscardablePromise.discarded) {\r\n this.options = [MdLookup_1.error, e_3.message];\r\n }\r\n return [3 /*break*/, 4];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n MdLookup.prototype.setFilter = function (filter) {\r\n var _this = this;\r\n if (this.filter === filter) {\r\n return;\r\n }\r\n this.logger.debug(\"suppressed filter changed\");\r\n this.suppressFilterChanged = true;\r\n this.filter = filter;\r\n this.taskQueue.queueTask(function () { return _this.updateLabel(); });\r\n };\r\n MdLookup.prototype.valueChanged = function (newValue, oldValue) {\r\n return tslib_1.__awaiter(this, void 0, void 0, function () {\r\n return tslib_1.__generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n this.logger.debug(\"valueChanged\", newValue);\r\n if (this.suppressValueChanged) {\r\n this.logger.debug(\"unsuppressed value changed\");\r\n this.suppressValueChanged = false;\r\n return [2 /*return*/];\r\n }\r\n return [4 /*yield*/, this.updateFilterBasedOnValue()];\r\n case 1:\r\n _a.sent();\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n MdLookup.prototype.setValue = function (value) {\r\n if (this.value === value) {\r\n return;\r\n }\r\n this.logger.debug(\"suppressed value changed\");\r\n this.suppressValueChanged = true;\r\n this.value = value;\r\n };\r\n MdLookup.prototype.optionsChanged = function () {\r\n this.logger.debug(\"optionsChanged\", this.options);\r\n if (!this.options || !(this.options instanceof Array) || !this.options.length) {\r\n this.state = LookupState.noMatches;\r\n }\r\n else if (this.options[0] === MdLookup_1.searching) {\r\n this.state = LookupState.searching;\r\n }\r\n else if (this.options[0] === MdLookup_1.error) {\r\n this.state = LookupState.error;\r\n this.errorMessage = this.options.length > 1 ? this.options[1] : \"Error occurred\";\r\n }\r\n else {\r\n this.state = LookupState.optionsVisible;\r\n }\r\n };\r\n MdLookup.prototype.updateFilterBasedOnValue = function () {\r\n return tslib_1.__awaiter(this, void 0, void 0, function () {\r\n var _a;\r\n return tslib_1.__generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n this.logger.debug(\"updateFilterBasedOnValue\", this.value);\r\n if (!this.value) return [3 /*break*/, 2];\r\n _a = this;\r\n return [4 /*yield*/, this.getOptions({ value: this.value })];\r\n case 1:\r\n _a.options = _b.sent();\r\n return [3 /*break*/, 3];\r\n case 2:\r\n this.options = [];\r\n _b.label = 3;\r\n case 3:\r\n if (this.options && this.options.length) {\r\n this.setFilter(this.getDisplayValue(this.options[0]));\r\n }\r\n else {\r\n this.setFilter(undefined);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n MdLookup.prototype.fixDropdownSizeIfTooBig = function () {\r\n var _this = this;\r\n this.taskQueue.queueTask(function () {\r\n if (!_this.isOpen) {\r\n return;\r\n }\r\n // adjust dropdown top so it sits right below the input\r\n // doing it with CSS will not work if input margin is redefined\r\n var inputRect = _this.input.getBoundingClientRect();\r\n _this.dropdown.style.top = inputRect.height + 3 + \"px\";\r\n var rect = _this.dropdown.getBoundingClientRect();\r\n var availableSpace = window.innerHeight - rect.top + document.body.scrollTop - 5;\r\n if (_this.dropdownUl.offsetHeight > availableSpace) {\r\n _this.dropdown.style.height = availableSpace + \"px\";\r\n }\r\n else {\r\n _this.dropdown.style.height = \"auto\";\r\n }\r\n });\r\n };\r\n MdLookup.prototype.open = function () {\r\n if (!this.readonly) {\r\n this.logger.debug(\"open\");\r\n this.isOpen = true;\r\n this.fixDropdownSizeIfTooBig();\r\n }\r\n };\r\n MdLookup.prototype.close = function () {\r\n this.logger.debug(\"close\");\r\n this.isOpen = false;\r\n };\r\n MdLookup.prototype.blur = function () {\r\n this.close();\r\n au.fireEvent(this.element, \"blur\");\r\n };\r\n MdLookup.prototype.focus = function () {\r\n this.input.focus();\r\n au.fireEvent(this.element, \"focus\");\r\n };\r\n MdLookup.prototype.updateLabel = function () {\r\n au.updateLabel(this.input, this.labelElement);\r\n };\r\n MdLookup.prototype.bind = function (bindingContext, overrideContext) {\r\n return tslib_1.__awaiter(this, void 0, void 0, function () {\r\n return tslib_1.__generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n this.bindingContext = bindingContext;\r\n if (this.optionsFunction) {\r\n this.getOptions = this.optionsFunction.bind(this.bindingContext);\r\n }\r\n return [4 /*yield*/, this.updateFilterBasedOnValue()];\r\n case 1:\r\n _a.sent();\r\n // restore initial value because it is set by updateFilterBasedOnValue\r\n this.suppressFilterChanged = false;\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n MdLookup.prototype.attached = function () {\r\n return tslib_1.__awaiter(this, void 0, void 0, function () {\r\n var _a;\r\n var _this = this;\r\n return tslib_1.__generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n this.logger.debug(\"attached\");\r\n if (this.placeholder) {\r\n this.input.setAttribute(\"placeholder\", this.placeholder);\r\n }\r\n // we need to use queueTask because open sometimes happens before browser bubbles the click further thus closing just opened dropdown\r\n this.input.onselect = function () { return _this.taskQueue.queueTask(function () { return _this.open(); }); };\r\n this.input.onclick = function () { return _this.taskQueue.queueTask(function () { return _this.open(); }); };\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n if (!this.preloadOptions) return [3 /*break*/, 2];\r\n _a = this;\r\n return [4 /*yield*/, this.getOptions({ value: this.value, filter: this.filter })];\r\n case 1:\r\n _a.options = _b.sent();\r\n _b.label = 2;\r\n case 2:\r\n this.updateLabel();\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n MdLookup.prototype.detached = function () {\r\n if (this.input) {\r\n this.input.onselect = null;\r\n this.input.onfocus = null;\r\n this.input.onblur = null;\r\n }\r\n au.MaterializeFormValidationRenderer.removeValidation(this.validationContainer, this.input);\r\n this.element.mdRenderValidateResults = null;\r\n this.element.mdUnrenderValidateResults = null;\r\n };\r\n MdLookup.prototype.select = function (option) {\r\n if (this.valueFieldName) {\r\n if (this.valueFieldName instanceof Function) {\r\n this.value = this.valueFieldName(option);\r\n }\r\n else {\r\n this.value = option[this.valueFieldName];\r\n }\r\n }\r\n else {\r\n this.value = option;\r\n }\r\n // this.setFilter(this.getDisplayValue(option));\r\n // this.options = [option];\r\n this.close();\r\n au.fireEvent(this.element, \"selected\", { value: this.value });\r\n };\r\n MdLookup.prototype.getDisplayValue = function (option) {\r\n if (option === null || option === undefined) {\r\n return null;\r\n }\r\n if (!this.displayFieldName) {\r\n return option;\r\n }\r\n else if (this.displayFieldName instanceof Function) {\r\n return this.displayFieldName(option);\r\n }\r\n else {\r\n return option[this.displayFieldName];\r\n }\r\n };\r\n var MdLookup_1;\r\n MdLookup.searching = Symbol(\"searching\");\r\n MdLookup.error = Symbol(\"error\");\r\n MdLookup.id = 0;\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdLookup.prototype, \"filter\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdLookup.prototype, \"label\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdLookup.prototype, \"value\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Function)\r\n ], MdLookup.prototype, \"optionsFunction\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdLookup.prototype, \"displayFieldName\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdLookup.prototype, \"valueFieldName\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdLookup.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdLookup.prototype, \"placeholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdLookup.prototype, \"debounce\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdLookup.prototype, \"preloadOptions\", void 0);\r\n tslib_1.__decorate([\r\n au.observable,\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdLookup.prototype, \"options\", void 0);\r\n MdLookup = MdLookup_1 = tslib_1.__decorate([\r\n au.customElement(\"md-lookup\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdLookup);\r\n return MdLookup;\r\n}());\r\nexport { MdLookup };\r\n//# sourceMappingURL=lookup.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-lookup .dropdown-div{position:absolute;z-index:1000;width:100%;cursor:pointer;overflow:auto;border:1px solid #e0e0e0;background:#fff}md-lookup .dropdown-div ul{border:none;margin:0}md-lookup .dropdown-div ul li:hover{background-color:#eee}\", \"\"]);\n","module.exports = \"\\r\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdModal = /** @class */ (function () {\r\n function MdModal(element) {\r\n this.element = element;\r\n this.log = au.getLogger(\"md-modal\");\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdModal.prototype.fixedFooterChanged = function () {\r\n if (this.element) {\r\n this.element.classList.toggle(\"modal-fixed-footer\", this.fixedFooter);\r\n }\r\n };\r\n MdModal.prototype.attached = function () {\r\n var _this = this;\r\n var options = {\r\n opacity: this.opacity,\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n preventScrolling: this.preventScrolling,\r\n dismissible: this.dismissible,\r\n startingTop: this.startingTop,\r\n endingTop: this.endingTop,\r\n onOpenStart: function () { return au.fireMaterializeEvent(_this.element, \"open-start\"); },\r\n onOpenEnd: function () { return au.fireMaterializeEvent(_this.element, \"open-end\"); },\r\n onCloseStart: function () { return au.fireMaterializeEvent(_this.element, \"close-start\"); },\r\n onCloseEnd: function () { return au.fireMaterializeEvent(_this.element, \"close-end\"); }\r\n };\r\n this.log.debug(\"modal options: \", options);\r\n au.cleanOptions(options);\r\n this.attributeManager.addClasses(\"modal\");\r\n this.instance = new M.Modal(this.element, options);\r\n };\r\n MdModal.prototype.detached = function () {\r\n this.instance.destroy();\r\n this.attributeManager.removeClasses(\"modal\");\r\n };\r\n MdModal.prototype.open = function () {\r\n this.instance.open();\r\n };\r\n MdModal.prototype.close = function () {\r\n this.instance.close();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdModal.prototype, \"opacity\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdModal.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdModal.prototype, \"outDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdModal.prototype, \"preventScrolling\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdModal.prototype, \"dismissible\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdModal.prototype, \"startingTop\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdModal.prototype, \"endingTop\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdModal.prototype, \"fixedFooter\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdModal.prototype, \"bottomSheet\", void 0);\r\n MdModal = tslib_1.__decorate([\r\n au.customAttribute(\"md-modal\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdModal);\r\n return MdModal;\r\n}());\r\nexport { MdModal };\r\n//# sourceMappingURL=modal.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdNavbar = /** @class */ (function () {\r\n function MdNavbar(element) {\r\n this.element = element;\r\n }\r\n MdNavbar.prototype.attached = function () {\r\n this.fixedAttributeManager = new au.AttributeManager(this.fixedAnchor);\r\n this.navAttributeManager = new au.AttributeManager(this.nav);\r\n if (this.fixed) {\r\n this.fixedAttributeManager.addClasses(\"navbar-fixed\");\r\n }\r\n if (this.autoHeight) {\r\n this.navAttributeManager.addClasses(\"auto-height\");\r\n }\r\n if (this.extended) {\r\n this.navAttributeManager.addClasses(\"nav-extended\");\r\n }\r\n };\r\n MdNavbar.prototype.detached = function () {\r\n if (this.fixed) {\r\n this.fixedAttributeManager.removeClasses(\"navbar-fixed\");\r\n }\r\n if (this.autoHeight) {\r\n this.navAttributeManager.removeClasses(\"auto-height\");\r\n }\r\n if (this.extended) {\r\n this.navAttributeManager.removeClasses(\"nav-extended\");\r\n }\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdNavbar.prototype, \"extended\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdNavbar.prototype, \"fixed\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdNavbar.prototype, \"autoHeight\", void 0);\r\n MdNavbar = tslib_1.__decorate([\r\n au.customElement(\"md-navbar\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdNavbar);\r\n return MdNavbar;\r\n}());\r\nexport { MdNavbar };\r\n//# sourceMappingURL=navbar.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-navbar .primary{transition:all .3s ease-out}md-navbar .primary.auto-height{height:auto}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdPagination = /** @class */ (function () {\r\n function MdPagination(element) {\r\n this.element = element;\r\n this.activePage = 1;\r\n this.pages = 5;\r\n this.visiblePageLinks = 15;\r\n this.pageLinks = [];\r\n this.showFirstLast = true;\r\n this.showPrevNext = true;\r\n this.showPageLinks = true;\r\n }\r\n MdPagination.prototype.pagesChanged = function () {\r\n this.setActivePage(1);\r\n };\r\n MdPagination.prototype.visiblePageLinksChanged = function () {\r\n this.pageLinks = this.generatePageLinks();\r\n };\r\n MdPagination.prototype.bind = function () {\r\n this.pageLinks = this.generatePageLinks();\r\n };\r\n MdPagination.prototype.setActivePage = function (page) {\r\n this.activePage = page;\r\n this.pageLinks = this.generatePageLinks();\r\n au.fireMaterializeEvent(this.element, \"page-changed\", this.activePage);\r\n };\r\n MdPagination.prototype.setFirstPage = function () {\r\n if (this.activePage > 1) {\r\n this.setActivePage(1);\r\n }\r\n };\r\n MdPagination.prototype.setLastPage = function () {\r\n if (this.activePage < this.pages) {\r\n this.setActivePage(this.pages);\r\n }\r\n };\r\n MdPagination.prototype.setPreviousPage = function () {\r\n if (this.activePage > 1) {\r\n this.setActivePage(this.activePage - 1);\r\n }\r\n };\r\n MdPagination.prototype.setNextPage = function () {\r\n if (this.activePage < this.pages) {\r\n this.setActivePage(this.activePage + 1);\r\n }\r\n };\r\n MdPagination.prototype.generatePageLinks = function () {\r\n var numberOfLinks = Math.min(this.visiblePageLinks, this.pages);\r\n var midPoint = Math.ceil(numberOfLinks / 2);\r\n var start = Math.max(this.activePage - midPoint, 0);\r\n // respect visible links\r\n if (start + midPoint * 2 > this.pages) {\r\n start = Math.max(this.pages - midPoint * 2, 0);\r\n }\r\n var end = Math.min(start + numberOfLinks, this.pages);\r\n var list = [];\r\n for (var i = start; i < end; i++) {\r\n list.push(i);\r\n }\r\n return list;\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPagination.prototype, \"activePage\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPagination.prototype, \"pages\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPagination.prototype, \"visiblePageLinks\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneWay }),\r\n tslib_1.__metadata(\"design:type\", Array)\r\n ], MdPagination.prototype, \"pageLinks\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdPagination.prototype, \"showFirstLast\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdPagination.prototype, \"showPrevNext\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdPagination.prototype, \"showPageLinks\", void 0);\r\n MdPagination = tslib_1.__decorate([\r\n au.customElement(\"md-pagination\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdPagination);\r\n return MdPagination;\r\n}());\r\nexport { MdPagination };\r\n//# sourceMappingURL=pagination.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdParallax = /** @class */ (function () {\r\n function MdParallax(element) {\r\n this.element = element;\r\n }\r\n MdParallax.prototype.attached = function () {\r\n this.element.classList.add(\"parallax\");\r\n var options = {\r\n responsiveThreshold: this.responsiveThreshold\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Parallax(this.element, options);\r\n };\r\n MdParallax.prototype.detached = function () {\r\n this.instance.destroy();\r\n this.element.classList.remove(\"parallax\");\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdParallax.prototype, \"responsiveThreshold\", void 0);\r\n MdParallax = tslib_1.__decorate([\r\n au.customAttribute(\"md-parallax\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdParallax);\r\n return MdParallax;\r\n}());\r\nexport { MdParallax };\r\n//# sourceMappingURL=parallax.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdProgress = /** @class */ (function () {\r\n function MdProgress(element) {\r\n this.element = element;\r\n this.color = null;\r\n this.pixelSize = null;\r\n this.size = \"big\";\r\n this.type = \"linear\";\r\n this.value = null;\r\n }\r\n MdProgress.prototype.pixelSizeChanged = function (newValue) {\r\n if (this.wrapper) {\r\n this.wrapper.style.height = newValue + \"px\";\r\n this.wrapper.style.width = newValue + \"px\";\r\n }\r\n };\r\n MdProgress.prototype.sizeChanged = function (newValue) {\r\n this.pixelSize = null;\r\n };\r\n MdProgress.prototype.bind = function () {\r\n // DO NOT REMOVE!!!\r\n // This disables property changed callbacks for any bindable properties during initialization\r\n // Prevents mdPixelSize getting cleared by the mdSizeChanged event during binding\r\n };\r\n MdProgress.prototype.attached = function () {\r\n this.pixelSizeChanged(this.pixelSize);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdProgress.prototype, \"color\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdProgress.prototype, \"pixelSize\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdProgress.prototype, \"size\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdProgress.prototype, \"type\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdProgress.prototype, \"value\", void 0);\r\n MdProgress = tslib_1.__decorate([\r\n au.customElement(\"md-progress\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdProgress);\r\n return MdProgress;\r\n}());\r\nexport { MdProgress };\r\n//# sourceMappingURL=progress.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdPushpin = /** @class */ (function () {\r\n function MdPushpin(element) {\r\n this.element = element;\r\n }\r\n MdPushpin.prototype.attached = function () {\r\n var _this = this;\r\n var options = {\r\n bottom: this.bottom,\r\n offset: this.offset,\r\n top: this.top,\r\n onPositionChange: function (position) { return au.fireMaterializeEvent(_this.element, \"position-change\", { position: position }); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Pushpin(this.element, options);\r\n };\r\n MdPushpin.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPushpin.prototype, \"bottom\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPushpin.prototype, \"offset\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdPushpin.prototype, \"top\", void 0);\r\n MdPushpin = tslib_1.__decorate([\r\n au.customAttribute(\"md-pushpin\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdPushpin);\r\n return MdPushpin;\r\n}());\r\nexport { MdPushpin };\r\n//# sourceMappingURL=pushpin.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdRadio = /** @class */ (function () {\r\n function MdRadio(element) {\r\n this.element = element;\r\n this.disabled = false;\r\n this.readonly = false;\r\n this.gap = false;\r\n this.name = \"\";\r\n this.value = \"\";\r\n this.controlId = \"md-radio-\" + MdRadio_1.id++;\r\n }\r\n MdRadio_1 = MdRadio;\r\n MdRadio.prototype.disabledChanged = function (newValue) {\r\n if (this.radio) {\r\n this.radio.disabled = newValue;\r\n }\r\n };\r\n MdRadio.prototype.attached = function () {\r\n this.attributeManager = new au.AttributeManager(this.radio);\r\n if (this.gap) {\r\n this.attributeManager.addClasses(\"with-gap\");\r\n }\r\n if (this.disabled) {\r\n this.radio.disabled = true;\r\n }\r\n };\r\n MdRadio.prototype.detached = function () {\r\n this.attributeManager.removeClasses([\"with-gap\", \"disabled\"]);\r\n };\r\n var MdRadio_1;\r\n MdRadio.id = 0;\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdRadio.prototype, \"checked\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdRadio.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdRadio.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdRadio.prototype, \"gap\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdRadio.prototype, \"model\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdRadio.prototype, \"name\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdRadio.prototype, \"value\", void 0);\r\n MdRadio = MdRadio_1 = tslib_1.__decorate([\r\n au.customElement(\"md-radio\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdRadio);\r\n return MdRadio;\r\n}());\r\nexport { MdRadio };\r\n//# sourceMappingURL=radio.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdRange = /** @class */ (function () {\r\n function MdRange(element) {\r\n this.element = element;\r\n this.readonly = false;\r\n this.min = 0;\r\n this.max = 100;\r\n this.step = 1;\r\n this.value = 0;\r\n }\r\n MdRange.prototype.attached = function () {\r\n this.instance = new M.Range(this.input);\r\n };\r\n MdRange.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdRange.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdRange.prototype, \"min\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdRange.prototype, \"max\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdRange.prototype, \"step\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdRange.prototype, \"value\", void 0);\r\n MdRange = tslib_1.__decorate([\r\n au.customElement(\"md-range\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdRange);\r\n return MdRange;\r\n}());\r\nexport { MdRange };\r\n//# sourceMappingURL=range.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-range input[type=range]::-ms-tooltip{display:none}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdScrollSpy = /** @class */ (function () {\r\n function MdScrollSpy(element) {\r\n this.element = element;\r\n }\r\n MdScrollSpy.prototype.attached = function () {\r\n var options = {\r\n throttle: this.throttle,\r\n scrollOffset: this.scrollOffset,\r\n activeClass: this.activeClass,\r\n getActiveElement: this.getActiveElement\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.ScrollSpy(this.element, options);\r\n };\r\n MdScrollSpy.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdScrollSpy.prototype, \"throttle\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdScrollSpy.prototype, \"scrollOffset\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdScrollSpy.prototype, \"activeClass\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Function)\r\n ], MdScrollSpy.prototype, \"getActiveElement\", void 0);\r\n MdScrollSpy = tslib_1.__decorate([\r\n au.customAttribute(\"md-scrollspy\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdScrollSpy);\r\n return MdScrollSpy;\r\n}());\r\nexport { MdScrollSpy };\r\n//# sourceMappingURL=scrollspy.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdSelect = /** @class */ (function () {\r\n function MdSelect(element, bindingEngine, taskQueue) {\r\n var _this = this;\r\n this.bindingEngine = bindingEngine;\r\n this.taskQueue = taskQueue;\r\n this.disabled = false;\r\n this.readonly = false;\r\n this.triggerBlur = function () {\r\n _this.instance.input.blur();\r\n };\r\n this.enableOptionObserver = true;\r\n this.label = \"\";\r\n this.showErrortext = true;\r\n this.inputField = null;\r\n this.optionsMutationObserver = null;\r\n this.onSelectValueChanged = function () {\r\n _this.taskQueue.queueTask(function () { return _this.createMaterialSelect(false); });\r\n };\r\n this.handleFocus = function () {\r\n _this.labelElement.classList.add(\"md-focused\");\r\n };\r\n this.handleBlur = function () {\r\n _this.labelElement.classList.remove(\"md-focused\");\r\n };\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n if (!_this.instance || !_this.instance.input) {\r\n return;\r\n }\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.instance.input);\r\n renderer.removeValidationClasses(_this.instance.wrapper);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n if (!_this.instance || !_this.instance.input) {\r\n return;\r\n }\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n result.target = _this.instance.input;\r\n if (_this.showErrortext) {\r\n renderer.addMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n renderer.addValidationClasses(_this.instance.input, !results.find(function (x) { return !x.valid; }));\r\n renderer.addValidationClasses(_this.instance.wrapper, !results.find(function (x) { return !x.valid; }));\r\n };\r\n this.element = element;\r\n this.log = au.getLogger(\"md-select\");\r\n }\r\n MdSelect.prototype.disabledChanged = function () {\r\n if (!this.instance) {\r\n return;\r\n }\r\n if (this.disabled) {\r\n this.instance.wrapper.querySelector(\".caret\").classList.add(\"disabled\");\r\n this.instance.input.setAttribute(\"disabled\", \"disabled\");\r\n this.instance.wrapper.setAttribute(\"disabled\", \"disabled\");\r\n }\r\n else {\r\n this.instance.wrapper.querySelector(\".caret\").classList.remove(\"disabled\");\r\n this.instance.input.removeAttribute(\"disabled\");\r\n this.instance.wrapper.removeAttribute(\"disabled\");\r\n }\r\n };\r\n MdSelect.prototype.readonlyChanged = function () {\r\n if (!this.readonlyDiv) {\r\n return;\r\n }\r\n this.readonlyDiv.hidden = !this.readonly;\r\n if (this.readonly) {\r\n this.instance.input.addEventListener(\"focus\", this.triggerBlur);\r\n }\r\n else {\r\n this.instance.input.removeEventListener(\"focus\", this.triggerBlur);\r\n }\r\n };\r\n MdSelect.prototype.labelChanged = function () {\r\n if (this.labelElement) {\r\n this.labelElement.textContent = this.label;\r\n }\r\n };\r\n MdSelect.prototype.attached = function () {\r\n var _this = this;\r\n if (this.element.classList.contains(\"browser-default\")) {\r\n return;\r\n }\r\n this.inputField = document.createElement(\"div\");\r\n this.inputField.classList.add(\"input-field\");\r\n this.inputField.classList.add(\"md-select\");\r\n var va = this.element.getAttributeNode(\"validate\");\r\n if (va) {\r\n this.inputField.setAttribute(va.name, va.value);\r\n }\r\n au.wrap(this.inputField, this.element);\r\n this.labelElement = document.createElement(\"label\");\r\n this.labelElement.classList.add(\"md-select-label\");\r\n au.insertAfter(this.element, this.labelElement);\r\n this.labelChanged();\r\n this.taskQueue.queueTask(function () { return _this.createMaterialSelect(false); });\r\n // observe native select value to update the widget\r\n this.subscription = this.bindingEngine.propertyObserver(this.element, \"value\").subscribe(this.onSelectValueChanged);\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n };\r\n MdSelect.prototype.detached = function () {\r\n if (!this.instance) {\r\n return;\r\n }\r\n this.subscription.dispose();\r\n this.observeOptions(false);\r\n this.instance.destroy();\r\n this.instance = undefined;\r\n // this will remove input-field wrapper and all its' content like validation messsages or a label\r\n au.unwrap(this.element);\r\n this.inputField = null;\r\n this.labelElement = null;\r\n this.readonlyDiv = null;\r\n this.element.mdUnrenderValidateResults = undefined;\r\n this.element.mdRenderValidateResults = undefined;\r\n };\r\n MdSelect.prototype.refresh = function () {\r\n var _this = this;\r\n if (!this.instance) {\r\n return;\r\n }\r\n this.taskQueue.queueTask(function () { return _this.createMaterialSelect(true); });\r\n };\r\n MdSelect.prototype.createMaterialSelect = function (destroy) {\r\n this.observeOptions(false);\r\n var isValid = false;\r\n var isInvalid = false;\r\n if (this.instance) {\r\n isValid = this.instance.input.classList.contains(\"valid\");\r\n isInvalid = this.instance.input.classList.contains(\"invalid\");\r\n if (destroy) {\r\n this.instance.destroy();\r\n }\r\n }\r\n this.instance = new M.FormSelect(this.element, {});\r\n if (isValid) {\r\n this.instance.input.classList.add(\"valid\");\r\n this.instance.wrapper.classList.add(\"valid\");\r\n }\r\n if (isInvalid) {\r\n this.instance.input.classList.add(\"invalid\");\r\n this.instance.wrapper.classList.add(\"invalid\");\r\n }\r\n this.readonlyDiv = document.createElement(\"div\");\r\n this.readonlyDiv.style.position = \"absolute\";\r\n this.readonlyDiv.style.top = \"0\";\r\n this.readonlyDiv.style.width = \"100%\";\r\n this.readonlyDiv.style.height = \"100%\";\r\n this.readonlyDiv.style.zIndex = \"2\";\r\n this.readonlyDiv.style.background = \"transparent\";\r\n this.instance.input.parentElement.insertBefore(this.readonlyDiv, this.instance.input);\r\n this.instance.input.addEventListener(\"focus\", this.handleFocus);\r\n this.instance.input.addEventListener(\"blur\", this.handleBlur);\r\n this.observeOptions(true);\r\n this.readonlyChanged();\r\n this.disabledChanged();\r\n };\r\n MdSelect.prototype.observeOptions = function (attach) {\r\n var _this = this;\r\n if (!this.enableOptionObserver) {\r\n return;\r\n }\r\n if (attach) {\r\n if (!this.optionsMutationObserver) {\r\n this.optionsMutationObserver = au.DOM.createMutationObserver(function (mutations) {\r\n _this.log.debug(\"observeOptions\", mutations);\r\n _this.refresh();\r\n });\r\n }\r\n this.optionsMutationObserver.observe(this.element, {\r\n childList: true,\r\n characterData: true,\r\n subtree: true\r\n });\r\n }\r\n else {\r\n if (this.optionsMutationObserver) {\r\n this.optionsMutationObserver.disconnect();\r\n this.optionsMutationObserver.takeRecords();\r\n }\r\n }\r\n };\r\n MdSelect.prototype.open = function () {\r\n if (!this.instance) {\r\n return;\r\n }\r\n this.instance.dropdown.open();\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSelect.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSelect.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSelect.prototype, \"enableOptionObserver\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdSelect.prototype, \"label\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSelect.prototype, \"showErrortext\", void 0);\r\n MdSelect = tslib_1.__decorate([\r\n au.autoinject,\r\n au.customAttribute(\"md-select\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.BindingEngine, au.TaskQueue])\r\n ], MdSelect);\r\n return MdSelect;\r\n}());\r\nexport { MdSelect };\r\n//# sourceMappingURL=select.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdSidenav = /** @class */ (function () {\r\n function MdSidenav(element) {\r\n this.element = element;\r\n this.fixed = false;\r\n this.controlId = \"md-sidenav-\" + MdSidenav_1.id++;\r\n }\r\n MdSidenav_1 = MdSidenav;\r\n MdSidenav.prototype.fixedChanged = function (newValue) {\r\n if (!this.attributeManager) {\r\n return;\r\n }\r\n if (newValue) {\r\n this.attributeManager.addClasses(MdSidenav_1.fixedClass);\r\n }\r\n else {\r\n this.attributeManager.removeClasses(MdSidenav_1.fixedClass);\r\n }\r\n };\r\n MdSidenav.prototype.attached = function () {\r\n var _this = this;\r\n this.attributeManager = new au.AttributeManager(this.sidenav);\r\n if (this.fixed) {\r\n this.attributeManager.addClasses(MdSidenav_1.fixedClass);\r\n }\r\n var options = {\r\n draggable: this.draggable,\r\n edge: this.edge,\r\n inDuration: this.inDuration,\r\n outDuration: this.outDuration,\r\n onOpenStart: function (elem) { return au.fireMaterializeEvent(_this.element, \"open-start\", { elem: elem }); },\r\n onOpenEnd: function (elem) { return au.fireMaterializeEvent(_this.element, \"open-end\", { elem: elem }); },\r\n onCloseStart: function (elem) { return au.fireMaterializeEvent(_this.element, \"close-start\", { elem: elem }); },\r\n onCloseEnd: function (elem) { return au.fireMaterializeEvent(_this.element, \"close-end\", { elem: elem }); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Sidenav(this.sidenav, options);\r\n };\r\n MdSidenav.prototype.open = function () {\r\n if (this.instance) {\r\n this.instance.open();\r\n }\r\n };\r\n MdSidenav.prototype.close = function () {\r\n if (this.instance) {\r\n this.instance.close();\r\n }\r\n };\r\n MdSidenav.prototype.detached = function () {\r\n this.attributeManager.removeClasses([MdSidenav_1.fixedClass]);\r\n if (this.instance) {\r\n this.instance.destroy();\r\n }\r\n };\r\n var MdSidenav_1;\r\n MdSidenav.fixedClass = \"sidenav-fixed\";\r\n MdSidenav.id = 0;\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdSidenav.prototype, \"edge\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSidenav.prototype, \"draggable\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdSidenav.prototype, \"inDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdSidenav.prototype, \"outDuration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSidenav.prototype, \"fixed\", void 0);\r\n MdSidenav = MdSidenav_1 = tslib_1.__decorate([\r\n au.customElement(\"md-sidenav\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdSidenav);\r\n return MdSidenav;\r\n}());\r\nexport { MdSidenav };\r\n//# sourceMappingURL=sidenav.js.map","import * as tslib_1 from \"tslib\";\r\nimport { bindable, customAttribute, autoinject } from \"aurelia-framework\";\r\nimport { MdSidenav } from \"./sidenav\";\r\nvar MdSidenavCollapse = /** @class */ (function () {\r\n function MdSidenavCollapse(element) {\r\n var _this = this;\r\n this.element = element;\r\n this.click = function () {\r\n if (_this.ref.instance.isOpen) {\r\n _this.ref.close();\r\n }\r\n else {\r\n _this.ref.open();\r\n }\r\n };\r\n }\r\n MdSidenavCollapse.prototype.attached = function () {\r\n this.element.addEventListener(\"click\", this.click);\r\n if (this.ref) {\r\n this.element.setAttribute(\"data-target\", this.ref.controlId);\r\n }\r\n };\r\n MdSidenavCollapse.prototype.detached = function () {\r\n this.element.removeEventListener(\"click\", this.click);\r\n };\r\n tslib_1.__decorate([\r\n bindable,\r\n tslib_1.__metadata(\"design:type\", MdSidenav)\r\n ], MdSidenavCollapse.prototype, \"ref\", void 0);\r\n MdSidenavCollapse = tslib_1.__decorate([\r\n customAttribute(\"md-sidenav-collapse\"),\r\n autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdSidenavCollapse);\r\n return MdSidenavCollapse;\r\n}());\r\nexport { MdSidenavCollapse };\r\n//# sourceMappingURL=sidenav-collapse.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-sidenav li[md-waves]{display:block}md-sidenav li a:hover{background-color:transparent;width:100%}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdSlider = /** @class */ (function () {\r\n function MdSlider(element) {\r\n this.element = element;\r\n this.fillContainer = false;\r\n this.log = au.getLogger(\"md-slider\");\r\n }\r\n MdSlider.prototype.indicatorsChanged = function () {\r\n this.refresh();\r\n };\r\n MdSlider.prototype.attached = function () {\r\n if (this.fillContainer) {\r\n this.element.classList.add(\"fullscreen\");\r\n }\r\n this.refresh();\r\n };\r\n MdSlider.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n MdSlider.prototype.pause = function () {\r\n this.instance.pause();\r\n };\r\n MdSlider.prototype.start = function () {\r\n this.instance.start();\r\n };\r\n MdSlider.prototype.next = function () {\r\n this.instance.next();\r\n };\r\n MdSlider.prototype.prev = function () {\r\n this.instance.prev();\r\n };\r\n MdSlider.prototype.refresh = function () {\r\n var options = {\r\n indicators: this.indicators,\r\n height: this.height,\r\n duration: this.duration,\r\n interval: this.interval\r\n };\r\n this.log.debug(\"refreshing slider, params:\", options);\r\n au.cleanOptions(options);\r\n this.instance = new M.Slider(this.element, options);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSlider.prototype, \"fillContainer\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdSlider.prototype, \"height\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSlider.prototype, \"indicators\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdSlider.prototype, \"interval\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdSlider.prototype, \"duration\", void 0);\r\n MdSlider = tslib_1.__decorate([\r\n au.customElement(\"md-slider\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdSlider);\r\n return MdSlider;\r\n}());\r\nexport { MdSlider };\r\n//# sourceMappingURL=slider.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-slider{display:block}md-slide{position:absolute;top:0;left:0;width:100%;height:inherit;overflow:hidden}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdSwitch = /** @class */ (function () {\r\n function MdSwitch(element) {\r\n var _this = this;\r\n this.element = element;\r\n this.readonly = false;\r\n this.labelOff = \"Off\";\r\n this.labelOn = \"On\";\r\n this.handleChange = function () {\r\n _this.checked = _this.checkbox.checked;\r\n au.fireEvent(_this.element, \"blur\");\r\n };\r\n }\r\n MdSwitch.prototype.checkedChanged = function (newValue) {\r\n if (this.checkbox) {\r\n this.checkbox.checked = !!newValue;\r\n }\r\n };\r\n MdSwitch.prototype.disabledChanged = function () {\r\n if (this.checkbox) {\r\n this.checkbox.disabled = this.disabled;\r\n }\r\n };\r\n MdSwitch.prototype.attached = function () {\r\n this.checkbox.checked = this.checked;\r\n this.disabledChanged();\r\n this.checkbox.addEventListener(\"change\", this.handleChange);\r\n };\r\n MdSwitch.prototype.detached = function () {\r\n if (this.checkbox) {\r\n this.checkbox.removeEventListener(\"change\", this.handleChange);\r\n }\r\n };\r\n MdSwitch.prototype.blur = function () {\r\n au.fireEvent(this.element, \"blur\");\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSwitch.prototype, \"checked\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSwitch.prototype, \"disabled\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdSwitch.prototype, \"readonly\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdSwitch.prototype, \"labelOff\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdSwitch.prototype, \"labelOn\", void 0);\r\n MdSwitch = tslib_1.__decorate([\r\n au.customElement(\"md-switch\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdSwitch);\r\n return MdSwitch;\r\n}());\r\nexport { MdSwitch };\r\n//# sourceMappingURL=switch.js.map","exports = module.exports = require(\"../../../../css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \"md-switch{display:block}\", \"\"]);\n","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdTabs = /** @class */ (function () {\r\n function MdTabs(element, taskQueue) {\r\n var _this = this;\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.tabAttributeManagers = [];\r\n this.fixed = false;\r\n this.swipeable = false;\r\n this.transparent = false;\r\n this.fireTabSelectedEvent = function (e) {\r\n var href = e.target.getAttribute(\"href\");\r\n au.fireMaterializeEvent(_this.element, \"selected\", href);\r\n };\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdTabs.prototype.fixedChanged = function (newValue) {\r\n if (newValue) {\r\n this.attributeManager.addClasses(\"tabs-fixed-width\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"tabs-fixed-width\");\r\n }\r\n };\r\n MdTabs.prototype.transparentChanged = function (newValue) {\r\n if (newValue) {\r\n this.attributeManager.addClasses(\"tabs-transparent\");\r\n }\r\n else {\r\n this.attributeManager.removeClasses(\"tabs-transparent\");\r\n }\r\n };\r\n MdTabs.prototype.attached = function () {\r\n var _this = this;\r\n var e_1, _a, e_2, _b;\r\n this.attributeManager.addClasses(\"tabs\");\r\n var children = this.element.querySelectorAll(\"li\");\r\n if (!children.length) {\r\n return;\r\n }\r\n try {\r\n for (var _c = tslib_1.__values(Array.from(children)), _d = _c.next(); !_d.done; _d = _c.next()) {\r\n var child = _d.value;\r\n var setter = new au.AttributeManager(child);\r\n setter.addClasses([\"tab\", \"primary-text\"]);\r\n this.tabAttributeManagers.push(setter);\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n var options = {\r\n swipeable: this.swipeable,\r\n responsiveThreshold: this.responsiveThreshold,\r\n onShow: function (newContent) { return au.fireMaterializeEvent(_this.element, \"show\", { newContent: newContent }); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Tabs(this.element, options);\r\n var childAnchors = this.element.querySelectorAll(\"li a\");\r\n try {\r\n for (var _e = tslib_1.__values(Array.from(childAnchors)), _f = _e.next(); !_f.done; _f = _e.next()) {\r\n var a = _f.value;\r\n a.addEventListener(\"click\", this.fireTabSelectedEvent);\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n };\r\n MdTabs.prototype.detached = function () {\r\n var e_3, _a;\r\n this.attributeManager.removeClasses(\"tabs\");\r\n if (!this.instance) {\r\n return;\r\n }\r\n this.instance.destroy();\r\n this.tabAttributeManagers.forEach(function (setter) {\r\n setter.removeClasses(\"tab\");\r\n });\r\n this.tabAttributeManagers = [];\r\n var childAnchors = this.element.querySelectorAll(\"li a\");\r\n try {\r\n for (var _b = tslib_1.__values(Array.from(childAnchors)), _c = _b.next(); !_c.done; _c = _b.next()) {\r\n var a = _c.value;\r\n a.removeEventListener(\"click\", this.fireTabSelectedEvent);\r\n }\r\n }\r\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\r\n finally {\r\n try {\r\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\r\n }\r\n finally { if (e_3) throw e_3.error; }\r\n }\r\n };\r\n MdTabs.prototype.refresh = function () {\r\n var _this = this;\r\n this.taskQueue.queueTask(function () {\r\n _this.detached();\r\n _this.attached();\r\n });\r\n };\r\n MdTabs.prototype.updateTabIndicator = function () {\r\n this.instance.updateTabIndicator();\r\n };\r\n MdTabs.prototype.select = function (id) {\r\n this.instance.select(id);\r\n au.fireMaterializeEvent(this.element, \"selected\", \"#\" + id);\r\n };\r\n Object.defineProperty(MdTabs.prototype, \"selectedTab\", {\r\n // FIXME: probably bad - binding this introduces dirty checking\r\n get: function () {\r\n return this.instance.index;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTabs.prototype, \"fixed\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdTabs.prototype, \"responsiveThreshold\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTabs.prototype, \"swipeable\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTabs.prototype, \"transparent\", void 0);\r\n MdTabs = tslib_1.__decorate([\r\n au.customAttribute(\"md-tabs\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdTabs);\r\n return MdTabs;\r\n}());\r\nexport { MdTabs };\r\n//# sourceMappingURL=tabs.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdTapTarget = /** @class */ (function () {\r\n function MdTapTarget(element) {\r\n this.element = element;\r\n this.log = au.getLogger(\"md-tap-target\");\r\n }\r\n MdTapTarget_1 = MdTapTarget;\r\n MdTapTarget.prototype.bind = function () {\r\n if (!this.ref) {\r\n throw new Error(\"md-tap-target needs a referenced element\");\r\n }\r\n else {\r\n var id = this.ref.getAttribute(\"id\");\r\n if (!id) {\r\n id = \"md-tap-target-\" + MdTapTarget_1.controlId++;\r\n this.ref.setAttribute(\"id\", id);\r\n }\r\n this.element.setAttribute(\"data-target\", id);\r\n }\r\n };\r\n MdTapTarget.prototype.attached = function () {\r\n var _this = this;\r\n this.instance = new M.TapTarget(this.element, {\r\n onOpen: function () { return au.fireMaterializeEvent(_this.element, \"on-open\"); },\r\n onClose: function () { return au.fireMaterializeEvent(_this.element, \"on-close\"); }\r\n });\r\n };\r\n MdTapTarget.prototype.detached = function () {\r\n this.instance.destroy();\r\n };\r\n MdTapTarget.prototype.open = function () {\r\n this.instance.open();\r\n };\r\n MdTapTarget.prototype.close = function () {\r\n this.instance.close();\r\n };\r\n var MdTapTarget_1;\r\n MdTapTarget.controlId = 0;\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", HTMLElement)\r\n ], MdTapTarget.prototype, \"ref\", void 0);\r\n MdTapTarget = MdTapTarget_1 = tslib_1.__decorate([\r\n au.customElement(\"md-tap-target\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdTapTarget);\r\n return MdTapTarget;\r\n}());\r\nexport { MdTapTarget };\r\n//# sourceMappingURL=tap-target.js.map","module.exports = \"\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdTimePicker = /** @class */ (function () {\r\n function MdTimePicker(element, taskQueue) {\r\n var _this = this;\r\n this.element = element;\r\n this.taskQueue = taskQueue;\r\n this.controlId = \"md-timepicker-\" + MdTimePicker_1.id++;\r\n this.label = \"\";\r\n this.placeholder = \"\";\r\n this.showErrortext = true;\r\n this.calendarIcon = null;\r\n this.done = function () {\r\n _this.setValue(_this.input.value);\r\n au.fireEvent(_this.element, \"blur\");\r\n };\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.input);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n if (_this.showErrortext && _this.inputField) {\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n renderer.addMessage(_this.inputField, result);\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n }\r\n renderer.addValidationClasses(_this.input, !results.find(function (x) { return !x.valid; }));\r\n };\r\n }\r\n MdTimePicker_1 = MdTimePicker;\r\n MdTimePicker.prototype.valueChanged = function () {\r\n if (this.valueChangedSuppress) {\r\n this.valueChangedSuppress = false;\r\n return;\r\n }\r\n this.input.value = this.value;\r\n };\r\n MdTimePicker.prototype.setValue = function (newValue) {\r\n if (this.value !== newValue) {\r\n this.valueChangedSuppress = true;\r\n this.value = newValue;\r\n }\r\n };\r\n MdTimePicker.prototype.attached = function () {\r\n var _this = this;\r\n if (this.placeholder) {\r\n this.input.setAttribute(\"placeholder\", this.placeholder);\r\n }\r\n var options = {\r\n duration: this.duration,\r\n container: this.container,\r\n showClearBtn: this.showClearBtn,\r\n defaultTime: this.defaultTime,\r\n fromNow: this.fromNow,\r\n i18n: this.i18n,\r\n autoClose: this.autoClose,\r\n twelveHour: this.twelveHour,\r\n vibrate: this.vibrate,\r\n onSelect: function (hour, minute) { return au.fireMaterializeEvent(_this.element, \"select\", { hour: hour, minute: minute }); },\r\n onOpenStart: function () { return au.fireMaterializeEvent(_this.element, \"open\"); },\r\n onOpenEnd: function () { return au.fireMaterializeEvent(_this.element, \"close\"); },\r\n onCloseStart: function () { return au.fireMaterializeEvent(_this.element, \"open\"); },\r\n onCloseEnd: function () { return au.fireMaterializeEvent(_this.element, \"close\"); }\r\n };\r\n au.cleanOptions(options);\r\n this.instance = new M.Timepicker(this.input, options);\r\n this.input.addEventListener(\"change\", this.done);\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n this.valueChanged();\r\n au.updateLabel(this.input, this.labelElement);\r\n };\r\n MdTimePicker.prototype.bind = function () {\r\n //\r\n };\r\n MdTimePicker.prototype.detached = function () {\r\n this.input.removeEventListener(\"change\", this.done);\r\n au.MaterializeFormValidationRenderer.removeValidation(this.inputField, this.input);\r\n this.instance.destroy();\r\n this.element.mdUnrenderValidateResults = undefined;\r\n this.element.mdRenderValidateResults = undefined;\r\n };\r\n MdTimePicker.prototype.open = function () {\r\n this.instance.open();\r\n };\r\n MdTimePicker.prototype.close = function () {\r\n this.instance.close();\r\n };\r\n var MdTimePicker_1;\r\n MdTimePicker.id = 0;\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTimePicker.prototype, \"label\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"inline\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTimePicker.prototype, \"placeholder\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdTimePicker.prototype, \"duration\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTimePicker.prototype, \"container\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"showClearBtn\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTimePicker.prototype, \"defaultTime\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.numberMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdTimePicker.prototype, \"fromNow\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Object)\r\n ], MdTimePicker.prototype, \"i18n\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"autoClose\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"twelveHour\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"vibrate\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdTimePicker.prototype, \"showErrortext\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable({ defaultBindingMode: au.bindingMode.twoWay }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTimePicker.prototype, \"value\", void 0);\r\n MdTimePicker = MdTimePicker_1 = tslib_1.__decorate([\r\n au.autoinject,\r\n au.customElement(\"md-timepicker\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TaskQueue])\r\n ], MdTimePicker);\r\n return MdTimePicker;\r\n}());\r\nexport { MdTimePicker };\r\n//# sourceMappingURL=timepicker.js.map","module.exports = \"\\r\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdTooltip = /** @class */ (function () {\r\n function MdTooltip(element) {\r\n this.element = element;\r\n this.position = \"bottom\";\r\n this.delay = 50;\r\n this.html = \"\";\r\n }\r\n MdTooltip.prototype.htmlChanged = function () {\r\n this.initTooltip();\r\n };\r\n MdTooltip.prototype.attached = function () {\r\n this.initTooltip();\r\n };\r\n MdTooltip.prototype.detached = function () {\r\n if (this.instance) {\r\n this.instance.destroy();\r\n }\r\n };\r\n MdTooltip.prototype.initTooltip = function () {\r\n if (this.html) {\r\n this.instance = new M.Tooltip(this.element, { exitDelay: this.delay, html: this.html, position: this.position });\r\n }\r\n else if (this.instance) {\r\n this.instance.destroy();\r\n }\r\n };\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTooltip.prototype, \"position\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", Number)\r\n ], MdTooltip.prototype, \"delay\", void 0);\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdTooltip.prototype, \"html\", void 0);\r\n MdTooltip = tslib_1.__decorate([\r\n au.customAttribute(\"md-tooltip\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element])\r\n ], MdTooltip);\r\n return MdTooltip;\r\n}());\r\nexport { MdTooltip };\r\n//# sourceMappingURL=tooltip.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar ValidationContainer = /** @class */ (function () {\r\n function ValidationContainer(element, coloursService) {\r\n var _this = this;\r\n this.element = element;\r\n this.coloursService = coloursService;\r\n this.mdUnrenderValidateResults = function (results, renderer) {\r\n var e_1, _a;\r\n try {\r\n for (var results_1 = tslib_1.__values(results), results_1_1 = results_1.next(); !results_1_1.done; results_1_1 = results_1.next()) {\r\n var result = results_1_1.value;\r\n if (!result.valid) {\r\n renderer.removeMessage(_this.containerDiv, result);\r\n }\r\n }\r\n }\r\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\r\n finally {\r\n try {\r\n if (results_1_1 && !results_1_1.done && (_a = results_1.return)) _a.call(results_1);\r\n }\r\n finally { if (e_1) throw e_1.error; }\r\n }\r\n renderer.removeValidationClasses(_this.containerDiv);\r\n };\r\n this.mdRenderValidateResults = function (results, renderer) {\r\n var e_2, _a;\r\n if (_this.containerDiv) {\r\n try {\r\n for (var results_2 = tslib_1.__values(results), results_2_1 = results_2.next(); !results_2_1.done; results_2_1 = results_2.next()) {\r\n var result = results_2_1.value;\r\n if (!result.valid) {\r\n renderer.addMessage(_this.containerDiv, result);\r\n }\r\n }\r\n }\r\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\r\n finally {\r\n try {\r\n if (results_2_1 && !results_2_1.done && (_a = results_2.return)) _a.call(results_2);\r\n }\r\n finally { if (e_2) throw e_2.error; }\r\n }\r\n }\r\n var valid = !results.find(function (x) { return !x.valid; });\r\n if (!valid || _this.showSuccess) {\r\n renderer.addValidationClasses(_this.containerDiv, valid);\r\n }\r\n };\r\n }\r\n ValidationContainer.prototype.attached = function () {\r\n this.element.mdUnrenderValidateResults = this.mdUnrenderValidateResults;\r\n this.element.mdRenderValidateResults = this.mdRenderValidateResults;\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd,\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], ValidationContainer.prototype, \"showSuccess\", void 0);\r\n ValidationContainer = tslib_1.__decorate([\r\n au.customElement(\"validation-container\"),\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.MdColorsService])\r\n ], ValidationContainer);\r\n return ValidationContainer;\r\n}());\r\nexport { ValidationContainer };\r\n//# sourceMappingURL=validation-container.js.map","module.exports = \"\\r\\n\";","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdWaitCursorCustomAttribute = /** @class */ (function () {\r\n function MdWaitCursorCustomAttribute(element, templatingEngine) {\r\n this.element = element;\r\n this.templatingEngine = templatingEngine;\r\n }\r\n MdWaitCursorCustomAttribute.prototype.valueChanged = function (newVal) {\r\n if (newVal && this.trResizeDelegate) {\r\n this.trResizeDelegate();\r\n }\r\n };\r\n MdWaitCursorCustomAttribute.prototype.attached = function () {\r\n switch (this.element.tagName) {\r\n case \"MD-INPUT\":\r\n this.attachedMdInput();\r\n break;\r\n case \"BUTTON\":\r\n this.attachedButton();\r\n break;\r\n case \"LI\":\r\n this.attachedLi();\r\n break;\r\n case \"TR\":\r\n this.attachedTr();\r\n break;\r\n }\r\n };\r\n MdWaitCursorCustomAttribute.prototype.attachedMdInput = function () {\r\n var inputField = this.element.querySelector(\".input-field\");\r\n if (!inputField) {\r\n return;\r\n }\r\n this.progress = document.createElement(\"div\");\r\n this.progress.innerHTML = \"\";\r\n this.progress = this.progress.firstElementChild;\r\n inputField.insertAdjacentElement(\"afterbegin\", this.progress);\r\n var view = this.templatingEngine.enhance(this.progress);\r\n view.bind(this);\r\n view.attached();\r\n };\r\n MdWaitCursorCustomAttribute.prototype.attachedButton = function () {\r\n this.progress = document.createElement(\"div\");\r\n this.progress.innerHTML =\r\n \"
\" +\r\n \"\";\r\n this.progress.style.position = \"relative\";\r\n this.progress.style.display = \"inline-block\";\r\n this.progress.classList.add(\"button-wait-cursor-wrapper\");\r\n this.element.insertAdjacentElement(\"beforebegin\", this.progress);\r\n var view = this.templatingEngine.enhance(this.progress);\r\n view.bind(this);\r\n view.attached();\r\n this.progress.appendChild(this.element);\r\n };\r\n MdWaitCursorCustomAttribute.prototype.attachedLi = function () {\r\n this.progress = document.createElement(\"div\");\r\n this.progress.innerHTML =\r\n \"
\" +\r\n \"\" +\r\n \"
\";\r\n this.progress = this.progress.firstElementChild;\r\n var view = this.templatingEngine.enhance(this.progress);\r\n view.bind(this);\r\n view.attached();\r\n this.element.appendChild(this.progress);\r\n };\r\n MdWaitCursorCustomAttribute.prototype.attachedTr = function () {\r\n var _this = this;\r\n var tr = this.element;\r\n var firstTd = this.element.firstElementChild;\r\n this.progress = document.createElement(\"div\");\r\n this.progress.innerHTML =\r\n \"
\" +\r\n \"
\" +\r\n \"\" +\r\n \"
\";\r\n this.progress = this.progress.firstChild;\r\n this.trResizeDelegate = function () {\r\n if (!_this.value) {\r\n return;\r\n }\r\n _this.progress.style.position = \"absolute\";\r\n _this.progress.style.top = tr.offsetTop + \"px\";\r\n _this.progress.style.left = tr.offsetLeft + tr.parentElement.scrollLeft + \"px\";\r\n _this.progress.style.width = tr.offsetWidth + \"px\";\r\n _this.progress.style.height = tr.offsetHeight + \"px\";\r\n };\r\n var view = this.templatingEngine.enhance(this.progress);\r\n view.bind(this);\r\n view.attached();\r\n this.trResizeDelegate();\r\n window.addEventListener(\"resize\", this.trResizeDelegate);\r\n this.progress.onclick = function (ev) { ev.cancelBubble = true; };\r\n firstTd.appendChild(this.progress);\r\n };\r\n MdWaitCursorCustomAttribute.prototype.detached = function () {\r\n if (this.progress) {\r\n if (this.element.tagName === \"BUTTON\") {\r\n this.progress.insertAdjacentElement(\"beforebegin\", this.element);\r\n this.progress.remove();\r\n }\r\n else {\r\n this.progress.remove();\r\n }\r\n }\r\n if (this.trResizeDelegate) {\r\n window.removeEventListener(\"resize\", this.trResizeDelegate);\r\n this.trResizeDelegate = null;\r\n }\r\n };\r\n MdWaitCursorCustomAttribute = tslib_1.__decorate([\r\n au.customAttribute(\"md-wait-cursor\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, au.TemplatingEngine])\r\n ], MdWaitCursorCustomAttribute);\r\n return MdWaitCursorCustomAttribute;\r\n}());\r\nexport { MdWaitCursorCustomAttribute };\r\n//# sourceMappingURL=wait-cursor.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nimport { ConfigBuilder } from \"../config-builder\";\r\nvar MdWaves = /** @class */ (function () {\r\n function MdWaves(element, configBuilder) {\r\n this.element = element;\r\n this.configBuilder = configBuilder;\r\n this.circle = false;\r\n this.attributeManager = new au.AttributeManager(this.element);\r\n }\r\n MdWaves.prototype.attached = function () {\r\n var classes = [\"waves-effect\"];\r\n if (this.circle) {\r\n classes.push(\"waves-circle\");\r\n }\r\n if (this.color) {\r\n classes.push(\"waves-\" + this.color);\r\n }\r\n this.attributeManager.addClasses(classes);\r\n if (!this.configBuilder.noWavesAttach) {\r\n Waves.attach(this.element);\r\n }\r\n };\r\n MdWaves.prototype.detached = function () {\r\n var classes = [\"waves-effect\", \"waves-block\"];\r\n if (this.color) {\r\n classes.push(\"waves-\" + this.color);\r\n }\r\n this.attributeManager.removeClasses(classes);\r\n };\r\n tslib_1.__decorate([\r\n au.ato.bindable.booleanMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", Boolean)\r\n ], MdWaves.prototype, \"circle\", void 0);\r\n tslib_1.__decorate([\r\n au.ato.bindable.stringMd({ defaultBindingMode: au.bindingMode.oneTime }),\r\n tslib_1.__metadata(\"design:type\", String)\r\n ], MdWaves.prototype, \"color\", void 0);\r\n MdWaves = tslib_1.__decorate([\r\n au.customAttribute(\"md-waves\"),\r\n au.autoinject,\r\n tslib_1.__metadata(\"design:paramtypes\", [Element, ConfigBuilder])\r\n ], MdWaves);\r\n return MdWaves;\r\n}());\r\nexport { MdWaves };\r\n//# sourceMappingURL=waves.js.map","import * as tslib_1 from \"tslib\";\r\nimport * as au from \"../aurelia\";\r\nvar MdWell = /** @class */ (function () {\r\n function MdWell() {\r\n }\r\n tslib_1.__decorate([\r\n au.bindable,\r\n tslib_1.__metadata(\"design:type\", au.Router)\r\n ], MdWell.prototype, \"router\", void 0);\r\n return MdWell;\r\n}());\r\nexport { MdWell };\r\n//# sourceMappingURL=md-well.js.map","module.exports = \"\\n\";"],"sourceRoot":""}