PageSourceSearch

https://biathlonresults.com/vendors~2839c6f0.06c90c1792441fe97f17.chunk.js

js biathlonresults.com collected 2026-10-02 07:05:34 UTC 124,463 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{
1"@siwidata/siwiui/index.html":function(e,t,o){e.exports='<require from="./siwi-form"></require>\r\n<require from="./siwi-grid"></require>\r\n<require from="./siwi-list"></require>\r\n<require from="./siwi-nav"></require>\r\n<require from="./siwi-nav-item"></require>\r\n<require from="./siwi-panel"></require>\r\n<require from="./siwi-tabpanel"></require>\r\n<require from="./siwi-tabs"></require>\r\n\r\n<require from="./autocomplete-textbox"></require>\r\n<require from="./autocomplete"></require>\r\n\r\n\r\n<require from="./confirm-button"></require>\r\n<require from="./prevnext-selector"></require>\r\n\r\n\r\n'},"@siwidata/siwiui/limit-loop":function(e,t,o){"use strict";o.r(t),o.d(t,"LimitLoopValueConverter",(function(){return i}));var i=function(){function e(){}return e.prototype.toView=function(e,t,o){return(!o||o<0)&&(o=0),e.slice(o,o+t)},e}()},"@siwidata/siwiui/popup-container":function(e,t,o){"use strict";o.r(t),o.d(t,"popupContainerCustomElement",(function(){return d}));var i=o("aurelia-framework"),n=o("DXK+"),r=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(){function e(e){this.BladeSystem=e}return e.prototype.popupChanged=function(e){},e.prototype.activate=function(){},e.prototype.bind=function(e,t){}
1,r([i.bindable,l("design:type",Object)],e.prototype,"popup",void 0),e=r([Object(i.inject)(n.a),l("design:paramtypes",[n.a])],e)}()},
1"@siwidata/siwiui/popup-container.html":function(e,t){e.exports='\r\n<template>\r\n    <div class="popupContainer ${popup ? \'\':\'popupMovedOut\'}" css="width: ${popup.Width}px;max-width:100%;">\r\n        <h1>\r\n            <span>${popup.Title}</span>\r\n            <i class="fa fa-2x fa-times-circle" aria-hidden="true" if.bind="!popup.NotCloseable" touchstart.trigger="BladeSystem.ClosePopup()" click.trigger="BladeSystem.ClosePopup()"></i>\r\n            <template if.bind="popup.Id==\'addContent\'">\r\n               \x3c!-- Not supported\r\n                <div class="popupButtons">\r\n                    <div class="popupButton" >\r\n                        <i class="fa fa-home" aria-hidden="true"></i>\r\n                        <span class="label">APPLY PRESET</span>\r\n                    </div>\r\n\r\n                </div>\r\n            --\x3e\r\n                <div class="popupButtons">\r\n                    <div if.bind="BladeSystem.RenderMode==\'DESKTOP\' && !BladeSystem.IsBladeVisible(\'blademenu\')" style="float:left;margin-left:15px;" class="popupButton" touchstart.trigger="BladeSystem.AddBladeById(\'blademenu\')" click.trigger="BladeSystem.AddBladeById(\'blademenu\')">\r\n                        <i class="fa fa-bars" aria-hidden="true"></i>\r\n                        <span class="label">MENU</span>\r\n                    </div>\r\n\r\n                    <div class="popupButton" style="float:left;margin-left:15px;" touchstart.trigger="BladeSystem.RemoveAll()" click.trigger="BladeSystem.RemoveAll()">\r\n                        <i class="fa fa-trash-alt" aria-hidden="true"></i>\r\n                        <span class="label">CLEAR ALL</span>\r\n                    </div>\r\n                </div>\r\n            </template>\r\n        </h1>\r\n        <div class="popupScollableContentContainer">\r\n            <template if.bind="popup.ViewModel">\r\n                <compose view-model="./../../${popup.ViewModel}" model.bind="popup"></compose>\r\n            </template>\r\n            <template if.bind="popup.View">\r\n                <compose view="./../../${popup.View}" view-model.bind="popup.Model" model.bind="popup"></compose>\r\n            </template>\r\n        </div>\r\n\r\n    </div>\r\n\r\n</template>\r\n\r\n\r\n\r\n'},"@siwidata/siwiui/popup-filter":function(e,t,o){"use strict";o.r(t),o.d(t,"PopupFilterValueConverter",(function(){return i}));var i=function(){function e(){this.signals=["auth","refresh-popups"]}return e.prototype.toView=function(e,t){return e?e.filter((function(e){return t?1==e.ShowInNavi&&("MOBILE"==t.RenderMode&&!e.HideOnMobile||"DESKTOP"==t.RenderMode&&!e.HideOnDesktop):1==e.ShowInNavi})):[]},e}()},"@siwidata/siwiui/prevnext-selector":function(e,t,o){"use strict";o.r(t),o.d(t,"PrevnextSelectorCustomElement",(function(){return l}));var i=o("aurelia-framework"),n=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=function(){function e(){this.reverse=!0}return e.prototype.Prev=function(){this.reverse?this.next():this.prev()},e.prototype.Next=function(){this.reverse?this.prev():this.next()},e.prototype.prev=function(){var e=this.currentIndex();e>0&&(this.currentitem=this.items[e-1])},e.prototype.next=function(){var e=this.currentIndex();e<this.items.length-1&&(this.currentitem=this.items[e+1])},e.prototype.currentIndex=function(){var e=-1,t=0;for(t=0;t<this.items.length;t++)if(this.items[t]==this.currentitem){e=t;break}return e},n([i.bindable,r("design:type",Array)],e.prototype,"items",void 0),n([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),r("design:type",Object)],e.prototype,"currentitem",void 0),n([i.bindable,r("design:type",String)],e.prototype,"displayfield",void 0),n([i.bindable,r("design:type",Boolean)],e.prototype,"reverse",void 0),e}()},
1"@siwidata/siwiui/prevnext-selector.html":function(e,t){e.exports='<template>\r\n        <span style="padding: 6px;" touchstart.trigger="Prev()" click.trigger="Prev()"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i></span><span>${currentitem[displayfield]}</span><span touchstart.trigger="Next()" click.trigger="Next()" style="padding: 6px;"><i class="fa fa-arrow-circle-right" aria-hidden="true"></i></span>\r\n</template>'},
1"@siwidata/siwiui/singleblade-container.html":function(e,t){e.exports='<template>\r\n    <div class="bladeContainer" style="width: 100%;">\r\n\r\n            <div class="header" style="width: 100%;">\r\n                <div class="title">\r\n                    <span class="bladeTitle" click.delegate="Blade.TitleClicked">${blade.ContentWidget.Title}</span>\r\n\r\n                    <template if.bind="blade.ContentWidget.HeaderViewModel">\r\n                        <compose view-model="./../../${blade.ContentWidget.HeaderViewModel}" class="customTitle"></compose>\r\n                    </template>\r\n                </div>\r\n            </div>\r\n\r\n\r\n            <div class="content">\r\n                <template if.bind="blade.ContentWidget.ViewModel">\r\n                    <compose view-model="./../../${blade.ContentWidget.ViewModel}" model.bind="blade"></compose>\r\n                </template>\r\n                <template if.bind="blade.ContentWidget.View">\r\n                    <compose view="./../../${blade.ContentWidget.View}" view-model.bind="blade.ContentWidget.Model" model.bind="blade"></compose>\r\n                </template>\r\n\r\n            </div>\r\n        </div>\r\n\r\n</template>\r\n'},"@siwidata/siwiui/siwi-alert":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiAlertCustomElement",(function(){return l}));var i=o("aurelia-framework"),n=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=function(){function e(){this.alertid="",this.destroyOnClose=!1,this.type="info"}return Object.defineProperty(e.prototype,"IsClosable",{get:function(){return"true"==this.closable},enumerable:!0,configurable:!0}),e.prototype.CloseAlert=function(){if(this.closehandler)try{this.closehandler().then((function(e){})).catch((function(e){}))}catch(e){}return this.destroyOnClose},n([i.bindable,r("design:type",String)],e.prototype,"alertid",void 0),n([i.bindable,r("design:type",String)],e.prototype,"closable",void 0),n([i.bindable,r("design:type",String)],e.prototype,"visible",void 0),n([i.bindable,r("design:type",Boolean)],e.prototype,"destroyOnClose",void 0),n([i.bindable,r("design:type",String)],e.prototype,"type",void 0),n([i.bindable,r("design:type",Function)],e.prototype,"closehandler",void 0),n([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),r("design:type",String)],e.prototype,"title",void 0),n([Object(i.computedFrom)("closable"),r("design:type",Boolean),r("design:paramtypes",[])],e.prototype,"IsClosable",null),e}()},
1"@siwidata/siwiui/siwi-alert.html":function(e,t){e.exports='<template>\r\n  <div id="${alertid == \'undefined\' ? \'\' : alertid == \'null\' ? \'\' : alertid }" class="siwi-alert alert alert-${type} fade in ${visible ? \'show\' : \'hidden\' }" role="alert">\r\n    <template if.bind="IsClosable">\r\n      <button type="button" class="close" aria-label="Close" click.delegate="CloseAlert()">\r\n        <span aria-hidden="true">×</span>\r\n      </button>\r\n    </template>\r\n    <strong if.bind="title">${title}</strong>\r\n    <span><slot></slot></span>\r\n  </div>\r\n</template>\r\n'},"@siwidata/siwiui/siwi-editdate":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiEditdateCustomElement",(function(){return a})),o.d(t,"EditorPart",(function(){return c}));var i=o("aurelia-framework"),n=o("GL6p"),r=o("c5bS"),l=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(e){this.BindingEngine=e,this.EditorParts=[],this.insMode=!0,this.HasValidationErrors=!1,this.currentEditorPart=null}return Object.defineProperty(e.prototype,"CurrentEditorPart",{get:function(){return this.currentEditorPart},set:function(e){var t=this;this.currentEditorPart=e,this.EditorParts.forEach((function(o){o!==e&&o.IsActive&&o.DeactivateEditor(t.value)})),e&&!e.IsActive&&e.ActivateEditor(this.value)},enumerable:!0,configurable:!0}),e.prototype.ProcessKey=function(e,t){e&&(e.ControlKey==n.a.Tab&&(this.EditorPartIndex<this.EditorParts.length-1?(this.CurrentEditorPart=this.EditorParts[this.EditorPartIndex+1],e.ControlKey=null,this.updateParts()):this.CurrentEditorPart.CommitEditor(this.value)),e.ControlKey==n.a.Enter&&this.CurrentEditorPart.CommitEditor(this.value),e.ControlKey==n.a.ArrowLeft&&(this.CurrentEditorPart.CursorPosition>0?(this.CurrentEditorPart.CursorPosition--,this.CurrentEditorPart.FormatEditor()):this.EditorPartIndex>0&&(this.CurrentEditorPart=this.EditorParts[this.EditorPartIndex-1]),e.ControlKey=null),e.ControlKey==n.a.ArrowRight&&(this.CurrentEditorPart.CursorPosition<this.CurrentEditorPart.Length?(this.CurrentEditorPart.CursorPosition++,this.CurrentEditorPart.FormatEditor()):this.EditorPartIndex<this.EditorParts.length-1&&(this.CurrentEditorPart=this.EditorParts[this.EditorPartIndex+1]),e.ControlKey=null),e.ControlKey==n.a.ArrowDown&&(this.CurrentEditorPart.ValueDown(this.value),this.updateParts(),e.ControlKey=null),e.ControlKey==n.a.ArrowUp&&(this.CurrentEditorPart.ValueUp(this.value),this.updateParts(),e.ControlKey=null),e.ControlKey==n.a.Backspace&&this.CurrentEditorPart.CursorPosition>0&&(this.CurrentEditorPart.EditorValue=this.CurrentEditorPart.EditorValue.substr(0,this.CurrentEditorPart.CursorPosition-1)+this.CurrentEditorPart.EditorValue.substr(this.CurrentEditorPart.CursorPosition),this.CurrentEditorPart.CursorPosition--,this.CurrentEditorPart.FormatEditor(),this.CurrentEditorPart.HasChanges=!0),e.ControlKey==n.a.Delete&&(this.CurrentEditorPart.EditorValue="",this.CurrentEditorPart.CursorPosition=0,this.CurrentEditorPart.FormatEditor(),this.CurrentEditorPart.HasChanges=!0),""!==e.Character&&(this.CurrentEditorPart.EditorValue.length<this.CurrentEditorPart.Length&&(this.CurrentEditorPart.EditorValue=this.CurrentEditorPart.BeforeCursor+e.Character+this.CurrentEditorPart.AfterCursor,this.CurrentEditorPart.CursorPosition++,this.CurrentEditorPart.FormatEditor(),this.CurrentEditorPart.HasChanges=!0),e.Character=""))},e.prototype.ExitEditMode=function(e){return this.value||this.updateParts(),this.value},Object.defineProperty(e.prototype,"EditorPartIndex",{get:function(){var e=this,t=-1,o=-1;return this.EditorParts.forEach((function(i){t++,e.CurrentEditorPart===i&&(o=t)})),o},enumerable:!0,configurable:!0}),e.prototype.updateParts=function(){var e=this;if(void 0===this.value){var t,o=-1,i=-1,n=-1;
1this.EditorParts.forEach((function(e){e.EditorValue&&e.EditorValue.length>0&&("YYYY"==e.Format&&(o=parseInt(e.EditorValue)),"DD"==e.Format&&(i=parseInt(e.EditorValue)),"MM"==e.Format&&(n=parseInt(e.EditorValue)-1),"MMM"==e.Format&&"JAN"==e.EditorValue.toUpperCase()&&(n=0),"MMM"==e.Format&&"FEB"==e.EditorValue.toUpperCase()&&(n=1),"MMM"==e.Format&&"MAR"==e.EditorValue.toUpperCase()&&(n=2),"MMM"==e.Format&&"APR"==e.EditorValue.toUpperCase()&&(n=3),"MMM"==e.Format&&"MAI"==e.EditorValue.toUpperCase()&&(n=4),"MMM"==e.Format&&"JUN"==e.EditorValue.toUpperCase()&&(n=5),"MMM"==e.Format&&"JUL"==e.EditorValue.toUpperCase()&&(n=6),"MMM"==e.Format&&"AUG"==e.EditorValue.toUpperCase()&&(n=7),"MMM"==e.Format&&"SEP"==e.EditorValue.toUpperCase()&&(n=8),"MMM"==e.Format&&"OCT"==e.EditorValue.toUpperCase()&&(n=9),"MMM"==e.Format&&"NOV"==e.EditorValue.toUpperCase()&&(n=10),"MMM"==e.Format&&"DEC"==e.EditorValue.toUpperCase()&&(n=11))})),o&&n&&i&&o>0&&n>=0&&i>0&&(t=new Date(o,n,i)),t&&(this.value=t)}this.EditorParts.forEach((function(t){return t.SetValue(e.value)}))},e.prototype.bind=function(e,t){var o=this;this.editor=this;var i=!1;0==this.EditorParts.length&&(i=!0),this.format||(this.format="DD MMM YYYY");var n=this.format.split(/[\s:\/]+/);if(i){var r=[],l=0;for(l=0;l<this.format.length;l++)":"!=this.format.substr(l,1)&&"/"!=this.format.substr(l,1)&&"."!=this.format.substr(l,1)&&" "!=this.format.substr(l,1)||r.push(this.format.substr(l,1));var d=-1;n.forEach((function(e){var t="";++d<r.length&&(t=r[d]),o.EditorParts.push(new c(e,t))}))}void 0===this.value&&(this.EditorParts.forEach((function(e){return e.EditorValue=""})),this.CurrentEditorPart=this.EditorParts[0]),this.updateParts(),this.CurrentEditorPart||(this.CurrentEditorPart=this.EditorParts[0])},e.prototype.detached=function(){},e.prototype.unbind=function(){},l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",Object)],e.prototype,"editor",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",Date)],e.prototype,"value",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",Array)],e.prototype,"validationerrors",void 0),l([i.bindable,d("design:type",Array)],e.prototype,"validations",void 0),l([i.bindable,d("design:type",String)],e.prototype,"format",void 0),e=l([Object(i.inject)(i.BindingEngine),d("design:paramtypes",[i.BindingEngine])],e)}(),c=function(){function e(e,t){this.IsActive=!1,this.MinNumberValue=1,this.Length=2,this.Options=[],this.Separator="",this.EditorValue="",this.CursorPosition=0,this.HasChanges=!1,this.BeforeCursor="",this.UnderCursor=" ",this.AfterCursor="",this.Separator=t,this.Format=e,"DD"==e&&(this.IsNumeric=!0,this.MaxNumberValue=31),"MM"==e&&(this.IsNumeric=!0,this.MaxNumberValue=12),"HH"==e&&(this.IsNumeric=!0,this.MaxNumberValue=23,this.MinNumberValue=0),"mm"!=e&&"SS"!=e&&"ss"!=e||(this.IsNumeric=!0,this.MaxNumberValue=59,this.MinNumberValue=0),"YYYY"==e&&(this.IsNumeric=!0,this.MinNumberValue=1900,this.MaxNumberValue=2100,this.Length=4),"MMM"==e&&(this.IsNumeric=!1,this.Options=["JAN","FEB","MAR","APR","MAI","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],this.Length=3),"DDD"==e&&(this.IsNumeric=!1,this.Options=["SUN","MON","TUE","WED","THU","FRI","SAT"],this.Length=3),this.PlaceHolder=e}return e.prototype.SetValue=function(e){if(e){if("DD"==this.Format&&(this.EditorValue=r.StringTools.padLeft(e.getDate().toString(),2,"0")),"D"==this.Format&&(this.EditorValue=e.getDate().toString()),"DDD"==this.Format&&(this.EditorValue=this.Options[e.getDay()]),"MMM"==this.Format&&(this.EditorValue=this.Options[e.getMonth()]),"YYYY"==this.Format&&(this.EditorValue=e.getFullYear().toString()),"MM"==this.Format&&(this.EditorValue=r.StringTools.padLeft((e.getMonth()+1).toString(),2,"0")),"hh"!=this.Format&&"HH"!=this.Format&&"H"!=this.Format&&"h"!=this.Format||(this.EditorValue=r.StringTools.padLeft(e.getHours().toString(),2,"0")),"mm"!=this.Format&&"m"!=this.Format||(this.EditorValue=r.StringTools.padLeft(e.getMinutes().toString(),2,"0")),"ss"!=this.Format&&"SS"!=this.Format||(this.EditorValue=r.StringTools.padLeft(e.getSeconds().toString(),2,"0")),"DD"==this.Format){var t=e.getMonth();if(0==t||2==t||4==t||6==t||7==t||9==t||11==t)this.MaxNumberValue=31;else if(1==t){var o=e.getFullYear();this.MaxNumberValue=o%400==0||o%4==0&&o%100!=0?29:28}else this.MaxNumberValue=30}this.CursorPosition=this.EditorValue.length}this.HasChanges=!1,this.FormatEditor()},e.prototype.ValueUp=function(e){if(this.IsNumeric){var t=parseInt(this.EditorValue);t<this.MaxNumberValue&&this.setDatePart(e,t+1)}"MMM"==this.Format&&e.getMonth()<11&&this.setDatePart(e,e.getMonth()+2),"DDD"==this.Format&&e.getDay()<6&&this.setDatePart(e,e.getDate()+1)},e.prototype.ValueDown=function(e){if(this.IsNumeric){var t=parseInt(this.EditorValue);t>this.MinNumberValue&&this.setDatePart(e,t-1)}"MMM"==this.Format&&e.getMonth()>0&&this.setDatePart(e,e.getMonth()),"DDD"==this.Format&&e.getDay()>0&&this.setDatePart(e,e.getDate()-1)},e.prototype.setDatePart=function(e,t){e&&("mm"!=this.Format&&"m"!=this.Format||e.setMinutes(t),"HH"!=this.Format&&"H"!=this.Format&&"hh"!=this.Format&&"h"!=this.Format||e.setHours(t),"SS"!=this.Format&&"ss"!=this.Format||e.setSeconds(t),"DD"!=this.Format&&"D"!=this.Format&&"DDD"!=this.Format||e.setDate(t),"MM"!=this.Format&&"M"!=this.Format&&"MMM"!=this.Format||e.setMonth(t-1),"YYYY"==this.Format&&e.setFullYear(t),this.SetValue(e))},e.prototype.ActivateEditor=function(e){this.IsActive=!0,this.FormatEditor()},e.prototype.CommitEditor=function(e){if(this.HasChanges&&this.IsNumeric){var t=parseInt(this.EditorValue);this.setDatePart(e,t)}},e.prototype.DeactivateEditor=function(e){this.CommitEditor(e),this.IsActive=!1},e.prototype.FormatEditor=function(){this.BeforeCursor=this.EditorValue.substr(0,this.CursorPosition),this.UnderCursor="",this.AfterCursor=this.EditorValue.substr(this.CursorPosition)},e}()},
1"@siwidata/siwiui/siwi-editdate.html":function(e,t){e.exports='<template>\r\n    <div class="${HasValidationErrors ? \'validationError\':\'\'}">\r\n        <template repeat.for="part of EditorParts"><template if.bind="part.IsActive"><span class="activeEditor">${part.BeforeCursor}</span><span class="${insMode ? \'cellInsertCursor\' : \'cellCursor\'} activeEditor">${part.UnderCursor}</span><span class="activeEditor">${part.AfterCursor}</span><span class="placeHolder" show.bind="part.EditorValue==\'\'">${part.PlaceHolder}</span></template><template if.bind="!part.IsActive"><span>${part.EditorValue}</span><span class="placeHolder" show.bind="part.EditorValue==\'\'">${part.PlaceHolder}</span></template>${part.Separator}</template>\r\n    </div>\r\n</template>\r\n'},"@siwidata/siwiui/siwi-edittextline":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiEdittextlineCustomElement",(function(){return a}));var i=o("aurelia-framework"),n=o("1Uh/"),r=o("GL6p"),l=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=function(){function e(e,t){this.BindingEngine=e,this.KeyboardHandler=t,this.containeroffset=0,this.numeric=!1,this.currentPossibleIndex=-1,this.showMatches=!1,this.insMode=!0,this.BeforeCursor="",this.UnderCursor=" ",this.AfterCursor="",this.GhostText="",this.HasValidationErrors=!1}return e.prototype.nativeValueChanged=function(e){this.SetValue(e),this.possiblevalues&&this.checkPossibleMatches()},e.prototype.nativeFocusChanged=function(e){e?this.possiblevalues&&this.checkPossibleMatches():this.showMatches=!1},e.prototype.nativeKeypress=function(e){},e.prototype.ProcessKey=function(e,t){var o=this;if(!this.nativecontrol&&e){if(e.ControlKey==r.a.ArrowLeft)this.cursorPosition>0&&(this.cursorPosition--,this.FormatEditor()),e.ControlKey=null;else if(e.ControlKey==r.a.ArrowRight)this.value&&this.cursorPosition<this.value.length&&(this.cursorPosition++,this.FormatEditor()),e.ControlKey=null;else if(e.ControlKey==r.a.Backspace)this.cursorPosition>0&&(this.SetValue(this.internalValue.substr(0,this.cursorPosition-1)+this.internalValue.substr(this.cursorPosition)),this.cursorPosition--,this.FormatEditor()),e.ControlKey=null;else if(e.ControlKey==r.a.Delete)this.selectiongrid?(this.SetValue(""),this.cursorPosition=0,setTimeout((function(){o.selectiongrid.SelectedItem=null}),200)):this.cursorPosition>=this.value.length?(this.SetValue(""),this.cursorPosition=0):this.SetValue(this.value.substr(0,this.cursorPosition)+this.value.substr(this.cursorPosition+1)),this.FormatEditor(),e.ControlKey=null;else if(e.ControlKey==r.a.Insert)this.insMode=!this.insMode,this.FormatEditor(),e.ControlKey=null;else if(e.ControlKey==r.a.CtrlCopy)localStorage.setItem("clipText",this.value),e.ControlKey=null;else if(e.ControlKey==r.a.CtrlCut){var i=this.value;this.SetValue("")&&localStorage.setItem("clipText",i),e.ControlKey=null}else if(e.ControlKey==r.a.CtrlPaste){var n=localStorage.getItem("clipText");n&&this.SetValue(this.BeforeCursor+n+this.AfterCursor)&&(this.cursorPosition+=n.length,this.FormatEditor(),e.ControlKey=null)}else e.ControlKey==r.a.ArrowDown?(this.selectiongrid&&(this.selectiongrid.RowDown(),e.ControlKey=null),this.showMatches&&this.currentPossibleIndex<this.possibleMatches.length-1&&this.currentPossibleIndex++):e.ControlKey==r.a.ArrowUp&&(this.selectiongrid&&(this.selectiongrid.RowUp(),e.ControlKey=null),this.showMatches&&this.currentPossibleIndex>0&&this.currentPossibleIndex--);""!==e.Character&&(this.SetValue(this.BeforeCursor+e.Character+this.AfterCursor),this.cursorPosition++,this.cursorPosition>this.internalValue.length&&(this.cursorPosition=this.internalValue.length),this.FormatEditor(),e.Character="")}},e.prototype.ExitEditMode=function(e){if(this.showMatches=!1,!e)return this.currentPossibleIndex>=0&&this.currentPossibleIndex<this.possibleMatches.length&&(this.value=this.possibleMatches[this.currentPossibleIndex][this.possibledescription],this.internalValue=this.value,this.GhostText="",this.FormatEditor()),this.value},e.prototype.SetValue=function(e){var t=!0,o=[];return this.validations&&this.validations.forEach((function(i){i.CheckValue(e)||(i.maxLen?e=e.substr(0,i.maxLen):(t=!1,o.push(i.ErrorMessage)))})),this.HasValidationErrors=!t,this.internalValue=e,t&&(this.value=this.internalValue),this.validationerrors=o,t},e.prototype.possibleItemSelected=function(e){this.SetValue(e[this.possibledescription]),this.nativeValue=e[this.possibledescription],this.cursorPosition=this.value.length,this.FormatEditor(),this.possibleascombo&&this.ExitEditMode(!0)},e.prototype.FormatEditor=function(){this.insMode?(this.BeforeCursor=this.internalValue.substr(0,this.cursorPosition),this.UnderCursor="",this.AfterCursor=this.internalValue.substr(this.cursorPosition)):(this.BeforeCursor=this.internalValue.substr(0,this.cursorPosition),this.UnderCursor=this.internalValue.substr(this.cursorPosition,1),this.AfterCursor=this.internalValue.substr(this.cursorPosition+1),""==this.UnderCursor&&(this.UnderCursor=" ")),this.selectiongrid&&(this.selectiongrid.Columns[0].Exter
1nalFilterExpression=this.value),this.possiblevalues&&this.checkPossibleMatches()},e.prototype.checkPossibleMatches=function(){var e=this;if(this.possibleascombo?this.possibleMatches=this.possiblevalues:this.value&&this.value.length>0?this.possibleMatches=this.possiblevalues.filter((function(t){return t[e.possibledescription].toLowerCase().indexOf(e.value.toLowerCase())>=0})):(this.possibleMatches=this.possiblevalues,this.currentPossibleIndex=-1),1==this.possibleMatches.length)this.currentPossibleIndex=0,this.nativecontrol&&this.possibleItemSelected(this.possibleMatches[0]);else if(this.possibleMatches.length>1&&this.value&&this.value.length>0){for(var t=0,o=0;o<this.possiblevalues.length;o++)if(this.possibleMatches[o][this.possibledescription]===this.value){t=o;break}this.currentPossibleIndex=t}this.value&&this.value.length>0&&this.currentPossibleIndex>=0&&this.possiblevalues[this.currentPossibleIndex][this.possibledescription].toLowerCase().startsWith(this.value.toLowerCase())?this.GhostText=this.possibleMatches[this.currentPossibleIndex][this.possibledescription].substring(this.value.length):this.GhostText="",this.possibleMatches.length>1?this.showMatches=!0:this.showMatches=!1},e.prototype.bind=function(e,t){this.editor=this,this.nativecontrol&&(this.nativeValue=this.value,this.nativeFocus=!0),this.value?this.internalValue=this.value:this.internalValue="",this.HasValidationErrors=!1,this.originalValue=this.value,this.cursorPosition=this.internalValue.length,this.FormatEditor(),this.selectiongrid&&(this.selectiongrid.SelectedItem=this.selectedvalue)},e.prototype.detached=function(){},e.prototype.unbind=function(){this.selectiongrid&&this.selectiongrid.SelectedItemChanged.remove(null)},l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneTime}),d("design:type",Object)],e.prototype,"nativecontrol",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",Object)],e.prototype,"editor",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",String)],e.prototype,"value",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",String)],e.prototype,"selectedvalue",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),d("design:type",Array)],e.prototype,"validationerrors",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",Array)],e.prototype,"possiblevalues",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",String)],e.prototype,"possiblekey",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",String)],e.prototype,"possibledescription",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",Boolean)],e.prototype,"possibleascombo",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",Number)],e.prototype,"containeroffset",void 0),l([Object(i.bindable)({defaultBindingMode:i.bindingMode.oneWay}),d("design:type",Boolean)],e.prototype,"numeric",void 0),l([i.observable,d("design:type",String)],e.prototype,"nativeValue",void 0),l([i.observable,d("design:type",Boolean)],e.prototype,"nativeFocus",void 0),l([i.bindable,d("design:type",Array)],e.prototype,"validations",void 0),l([i.bindable,d("design:type",n.d)],e.prototype,"selectiongrid",void 0),e=l([Object(i.inject)(i.BindingEngine,r.b),d("design:paramtypes",[i.BindingEngine,r.b])],e)}()},
1"@siwidata/siwiui/siwi-edittextline.html":function(e,t,o){e.exports='<template>\r\n  <require from="./siwi-selection"></require>\r\n  <require from="@siwidata/converters/highlight-search"></require>\r\n  \x3c!--\r\n  <template if.bind="nativecontrol">\n    <input type="text" value.bind="nativeValue" focus.bind="nativeFocus"  />\r\n  </template>\n      --\x3e\r\n  <template if.bind="!nativecontrol">\r\n    <div class="${HasValidationErrors ? \'validationError\':\'\'}">\r\n      <span>${BeforeCursor}</span><span class="${insMode ? \'cellInsertCursor\' : \'cellCursor\'}">${UnderCursor}</span><span>${AfterCursor}</span><span style="color: #808080">${GhostText}</span>\r\n    </div>\r\n  </template>\r\n  <template if.bind="showMatches">\r\n    <div class="auto-complete-wrapper" >\r\n      <div class="auto-complete-menu" css="margin-top: -${containeroffset}px;">\r\n        <ul class="list-group">\r\n          <li class="list-group-item ${$index==currentPossibleIndex ? \'active\' : \'\'}"\r\n              innerhtml.bind="item[possibledescription] | highlightSearch: value"\r\n              repeat.for="item of possibleMatches"\r\n              click.trigger="$this.possibleItemSelected(item)">\r\n          </li>\r\n        </ul>\r\n      </div>\r\n    </div>\r\n  </template>\r\n    <template if.bind="selectiongrid">\r\n      <div class="editorPopup" css="margin-top: ${-parentgrid.ScrollTop}px;">\r\n        <siwi-selection model.bind="selectiongrid" selecteditem.bind="selectedvalue"></siwi-selection>\r\n      </div>\r\n    </template>\r\n\r\n</template>\r\n'},"@siwidata/siwiui/siwi-form":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiFormCustomElement",(function(){return s}));var i=o("aurelia-framework"),n=o("aurelia-templating-resources"),r=o("1Uh/"),l=o("GL6p"),d=o("4fGU"),a=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e,t,o,i,n){this.BindingEngine=e,this.Signaler=t,this.SiwiKeyboard=o,this.Config=i,this.taskQueue=n}return e.prototype.initModel=function(){this.model.ExitEditMode(),this.model.KeyboardHandler=this.SiwiKeyboard,this.model.SetContainerElement(this.ContainerElement),this.model.Signaler=this.Signaler},e.prototype.hasfocusChanged=function(e){0==e&&this.model.IsEditing&&this.model.LostFocus()},e.prototype.FocusOut=function(e){var t=this,o=this.ContainerElement.getRootNode(),i=o.body,n=o.documentElement;setTimeout((function(){var e=document.activeElement;if(e!=i&&e!=n){if(e!=t.ContainerElement)for(;e.parentElement;){if(e.parentElement==t.ContainerElement)return;if(e.parentElement==i||e.parentElement==o)return void t.model.ExitEditMode();e=e.parentElement}}else t.model.ExitEditMode()}),100)},e.prototype.bind=function(e,t){this.model&&this.initModel()},e.prototype.modelChanged=function(e){e&&(this.initModel(),void 0!==this.datasource&&this.datasourceChanged(this.datasource)),this.setDataSource&&(this.datasourceChanged(this.setDataSource),this.setDataSource=void 0)},e.prototype.datasourceChanged=function(e,t){this.model?(this.initModel(),e&&Array.isArray(e)?this.model.SetDataSource(e):e?this.model.SetDataSource([e]):this.model.SetDataSource([])):this.setDataSource=e},e.prototype.attached=function(){this.setDataSource=this.datasource,this.datasource&&this.model.SetDataSource(this.datasource)},e.prototype.detached=function(){},e.prototype.unbind=function(){},a([i.bindable,i.observable,c("design:type",r.d)],e.prototype,"model",void 0),a([i.bindable,Object(i.observable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Boolean)],e.prototype,"hasfocus",void 0),a([i.bindable,Object(i.observable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Object)],e.prototype,"datasource",void 0),e=a([Object(i.inject)(i.BindingEngine,n.a,l.b,d.Config,i.TaskQueue),c("design:paramtypes",[i.BindingEngine,n.a,Object,d.Config,i.TaskQueue])],e)}()},
1"@siwidata/siwiui/siwi-form.html":function(e,t,o){e.exports='<template>\r\n\r\n    <require from="./grid-sort"></require>\r\n    <require from="./grid-columnfilter"></require>\r\n    <require from="./grid-foreignkey"></require>\r\n    <require from="./grid-foreignitem"></require>\r\n    <require from="./decimal-format"></require>\r\n    <require from="@siwidata/converters/date-format"></require>\r\n    <require from="@siwidata/converters/datetime-format"></require>\r\n    <require from="@siwidata/converters/net-time"></require>\r\n    <require from="@siwidata/converters/net-points"></require>\r\n    <require from="./editors/numeric-input"></require>\r\n    <require from="./tri-state-checkbox-custom-attribute"></require>\r\n\r\n    <div class="siwigrid" tabindex="0"\r\n         id.bind="model.gridKey"\r\n         focus.bind="hasfocus"\r\n         ref="ContainerElement"\r\n         keyup.delegate="model.Keyup($event)"\r\n         keydown.delegate="model.Keydown($event,true)"\r\n         focusout.delegate="FocusOut($event)">\r\n        <table class="siwigrid">\r\n            <thead scrollleft.bind="model.ScrollLeft">\r\n                <tr class="caption" if.bind="model.Caption"><th colspan.bind="model.FormColumns.length"><strong>${model.Caption}</strong></th></tr>\r\n                <tr ref="tableHeader" if.bind="model.ShowHeaders">\r\n                    <template repeat.for="col of model.FormColumns">\r\n                        <th if.bind="$index<2 || model.ShowRemarks"\r\n                            css="min-width: ${col.useWidth};max-width: ${col.useWidth};width: ${col.useWidth};">\r\n                            <span>${col.HeaderText}</span>\r\n                        </th>\r\n                    </template>\r\n                    \x3c!-- TODO: Scrollbar Padding über Stylesheet und wird wohl dynamisch sein müssen\r\n                                da nur benötigt wenn ein Scrollbar sichtbar ist --\x3e\r\n                    <th style="min-width:20px">&nbsp;</th>\r\n                </tr>\r\n                \x3c!-- Filter--\x3e\r\n                <tr if.bind="model.ShowFilters">\r\n                    <td onclick.call="model.FilterClicked(0)">\r\n                        <div class="sg-filter">\r\n                            <template if.bind="model.EditFilterColIndex==0">\r\n                                <input type="text"\r\n                                       value.two-way="model.FormColumns[0].FilterExpression & debounce: 200" focus.bind="col.HasNativeFilterFocus" />\r\n                            </template>\r\n                            <template if.bind="model.EditFilterColIndex != 0">\r\n                                <span if.bind="model.FormColumns[0].FilterExpression != \'\'">${model.FormColumn[0].FilterExpression}</span>\r\n                                <span if.bind="model.FormColumns[0].FilterExpression == \'\'">&nbsp;</span>\r\n                            </template>\r\n                        </div>\r\n                    </td>\r\n                    <td>&nbsp;</td>\r\n                    <td>&nbsp;</td>\r\n                </tr>\r\n                \x3c!-- Ende Filter --\x3e\r\n            </thead>\r\n            <tbody css="height: ${model.Height}px;" scrolltop.bind="model.ScrollTop" scrollleft.bind="model.ScrollLeft" ref="tableBody">\r\n\r\n                <tr repeat.for="col of model.ActiveColumns | siwiGridColumnSort:model.SortColumn:model.SortDirection | siwiGridColumnFilter:model:model.FormColumns[0].FilterExpression & signal:model.gridKey" class="${model.RowSelectionMode && model.mCurrentRowIndex==$index ? \'activeFormCell\' : \'\'}">\r\n                    <td if.bind="col.IsVisible"\r\n                        class="colDesc"\r\n                        css="min-width: ${model.FormColumns[0].useWidth};max-width: ${model.FormColumns[0].useWidth};width: ${model.FormColumns[0].useWidth};">\r\n                        ${col.HeaderText}\r\n                    </td>\r\n                    <td if.bind="col.IsVisible"\r\n                        class="colValue ${model.CurrentColIndex==$index ? \'activeFormCell\' : \'\'} ${model.EditColIndex==$index ? \'editFormCell\' : \'\'} ${col.ColumnAlignment == \'CENTER\' ? \'alignCenter\' : \'\'}"\r\n                        css="min-width: ${model.FormColumns[1].useWidth};max-width: ${model.FormColumns[1].useWidth};width: ${model.FormColumns[1].useWidth};"\r\n                        click.trigger="model.CellClicked($event,$parent.$index,$index,true)">\r\n\r\n                        \x3c!-- EDITOR TEMPLATES --\x3e\r\n                        <template if.bind="model.EditColIndex==$index">\r\n                            <template if.bind="col.EditorTemplate">\r\n                                <compose view="${col.EditorTemplate}" model.bind="model"></compose>\r\n                            </template>\r\n                            <template else>\r\n                                <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                    <template if.bind="col.d5">\r\n                                        <input if.bind="!col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        <input if.bind="col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" tri-state.two-way="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    </template>\r\n                                    <template if.bind="col.d4 && !col.d5">\r\n                                        <input if.bind="!col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        <input if.bind="col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" tri-state.two-way="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    </template>\r\n                                    <template if.bind="col.d3 && !col.d4">\r\n                                        <input if.bind="!col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        <input if.bind="col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" tri-state.two-way="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    </template>\r\n                                    <template if.bind="col.d2 && !col.d3">\r\n                                        <input if.bind="!col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        <input if.bind="col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" tri-state.two-way="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    </template>\r\n                                    <template if.bind="col.d1 && !col.d2">\r\n                                        <input if.bind="!col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        <input if.bind="col.AllowBooleanNull" ref="col.InputElement1" type="checkbox" tri-state.two-way="model.DataSource[model.CurrentRowIndex][col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    </template>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'STRING\'">\r\n                                    <input ref="col.InputElement1" type="text" value.t
1wo-way="model.EditValue" focus.bind="model.NativeFocus" class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'PASSWORD\'">\r\n                                    <input ref="col.InputElement1" type="password" value.two-way="model.EditValue" focus.bind="model.NativeFocus" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'TEXT\'">\r\n                                    <textarea ref="col.InputElement1" rows="3" cols="40" style="width: 100%;" value.two-way="model.EditValue" focus.bind="model.NativeFocus">\r\n                                    </textarea>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'NUMBER\'">\r\n                                    <numeric-input value.bind="model.EditValue" model.bind="col" allow-negative-values.bind="col.AllowNegativeValues" />\r\n                                    \x3c!--                                    <input type="number" value.bind="model.EditValue" /> --\x3e\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'DECIMAL\'">\r\n                                    <numeric-input value.bind="model.EditValue" model.bind="col" allow-negative-values.bind="col.AllowNegativeValues" decimal-precision.bind="col.DecimalPrecision" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'DATE\'">\r\n                                    <input ref="col.InputElement1" type="date" value.bind="model.EditValueDateString" style="${col.EditTime ? \'width: 70%;\' : \'\'}" />\r\n                                    <input ref="col.InputElement2" if.bind="col.EditTime" type="time" value.bind="model.EditValueTimeString" />\r\n                                </template>\r\n                                <template if.bind="model.IsEditing && col.ColumnType==\'SIWIDATETIME\'">\r\n                                    <input ref="col.InputElement1" type="date" value.bind="model.EditValueDateString" style="${col.EditTime ? \'width: 70%;\' : \'\'}" />\r\n                                    <input ref="col.InputElement2" if.bind="col.EditTime" type="time" value.bind="model.EditValueTimeString" />\r\n                                </template>\r\n                                \x3c!-- ACHTUNG: kein compose wenn option repeat.for, aurelia bug ?, ForeignKeyTemplate not supported in IE (wegen template repeat.for) --\x3e\r\n                                <template if.bind="col.ColumnType==\'FOREIGNKEY\' && col.ForeignKeyTemplate">\r\n                                    <select ref="col.InputElement1" value.bind="model.EditValue" focus.bind="model.NativeFocus">\r\n                                        <option if.bind="col.ForeignAllowNull">---</option>\r\n                                        <template repeat.for="item of col.ForeignItems">\r\n                                            <option model.bind="item"><compose view="${col.ForeignKeyTemplate}" model.bind="item"></compose></option>\r\n                                        </template>\r\n                                    </select>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'FOREIGNKEY\' && !col.ForeignKeyTemplate">\r\n                                    <select ref="col.InputElement1" value.bind="model.EditValue" focus.bind="model.NativeFocus">\r\n                                        <option if.bind="col.ForeignAllowNull">---</option>\r\n                                        <option repeat.for="item of col.ForeignItems" model.bind="item">${item | foreignItem : col}</option>\r\n                                    </select>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'OPTIONSLIST\' && col.OptionsListUseDescriptions">\r\n                                    <div repeat.for="item of col.ForeignItems" class="optionList" click.trigger="col.ToggleOption(model.DataSource[model.CurrentRowIndex],item)"><span class="optionBadge ${item.Checked ? \'checkedBadge\' : \'\'}">${item[col.ForeignDescriptionField]}</span></div>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'OPTIONSLIST\' && !col.OptionsListUseDescriptions">\r\n                                    <div repeat.for="item of col.ForeignItems" class="optionList" click.trigger="col.ToggleOption(model.DataSource[model.CurrentRowIndex],item)"><span class="optionBadge ${item.Checked ? \'checkedBadge\' : \'\'}">${item[col.ForeignKeyField]}</span><div class="infotip">${item[col.ForeignDescriptionField]}</div></div>\r\n                                </template>\r\n                            </template>\r\n                        </template>\r\n                        \x3c!-- ENDE EDITOR TEMPLATES --\x3e\r\n                        \x3c!-- VIEW TEMPLATES --\x3e\r\n                        <template if.bind="model.EditColIndex !== $index">\r\n                            <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                <template if.bind="col.d5">\r\n                                    <input if.bind="!col.AllowBooleanNull" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    <input if.bind="col.AllowBooleanNull" type="checkbox" tri-state.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <input if.bind="!col.AllowBooleanNull" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    <input if.bind="col.AllowBooleanNull" type="checkbox" tri-state.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <input if.bind="!col.AllowBooleanNull" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    <input if.bind="col.AllowBooleanNull" type="checkbox" tri-state.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <input if.bind="!col.AllowBooleanNull" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    <input if.bind="col.AllowBooleanNull" type="checkbox" tri-state.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <input if.bind="!col.AllowBooleanNull" type="checkbox" checked.bind="model.DataSource[model.CurrentRowIndex][col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                    <input if.bind="col.AllowBooleanNull" type="checkbox" tri-state.bind="model.DataSource[model.CurrentRowIndex][col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'TEXT\'">\r\n                                <textarea style="background: transparent;border: none;resize:none;" readonly\r\n                                          rows="3" cols="40" value.bind="model.DataSource[model.CurrentRowIndex][col.d1]">\r\n                             </textarea>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType == \'DECIMAL\'">\r\n                                <template if.bind="col.d5">
1\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5] | decimalFormat:col"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4] | decimalFormat:col"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3] | decimalFormat:col"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2] | decimalFormat:col"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1] | decimalFormat:col"></span>\r\n                                </template>\r\n                            </template>\r\n\r\n                            <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\'">\r\n                                <template if.bind="col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1]"></span>\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'PASSWORD\'">\r\n                                <template if.bind="col.d5">\r\n                                    <input type="password" readonly value.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]" />\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <input type="password" readonly value.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]" />\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <input type="password" readonly value.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]" />\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <input type="password" readonly value.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2]" />\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <input type="password" readonly value.bind="model.DataSource[model.CurrentRowIndex][col.d1]" />\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType == \'FOREIGNKEY\'">
1\r\n                                <span if.bind="col.d5" textcontent.bind="model.DataSource[model.CurrentRowIndex] | foreignKey:col:model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5]"></span>\r\n                                <span if.bind="col.d4 && !col.d5" textcontent.bind="model.DataSource[model.CurrentRowIndex] | foreignKey:col:model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4]"></span>\r\n                                <span if.bind="col.d3 && !col.d4" textcontent.bind="model.DataSource[model.CurrentRowIndex] | foreignKey:col:model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3]"></span>\r\n                                <span if.bind="col.d2 && !col.d3" textcontent.bind="model.DataSource[model.CurrentRowIndex] | foreignKey:col:model.DataSource[model.CurrentRowIndex][col.d1][col.d2]"></span>\r\n                                <span if.bind="col.d1 && !col.d2" textcontent.bind="model.DataSource[model.CurrentRowIndex] | foreignKey:col:model.DataSource[model.CurrentRowIndex][col.d1]"></span>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType == \'OPTIONSLIST\' && col.OptionsListUseDescriptions">\r\n                                <div repeat.for="item of col.ForeignItems" class="optionList" click.trigger="col.ToggleOption(model.DataSource[model.CurrentRowIndex],item)"><span class="optionBadge ${item.Checked ? \'checkedBadge\' : \'\'}">${item[col.ForeignDescriptionField]}</span></div>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType == \'OPTIONSLIST\' && !col.OptionsListUseDescriptions">\r\n                                <div repeat.for="item of col.ForeignItems" class="optionList" click.trigger="col.ToggleOption(model.DataSource[model.CurrentRowIndex],item)"><span class="optionBadge ${item.Checked ? \'checkedBadge\' : \'\'}">${item[col.ForeignKeyField]}</span><div class="infotip">${item[col.ForeignDescriptionField]}</div></div>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'DATE\'">\r\n                                <template if.bind="col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5] | dateFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4] | dateFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3] | dateFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2] | dateFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1] | dateFormat : col.Format"></span>\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'SIWIDATETIME\'">\r\n                                <template if.bind="col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5] | datetimeFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">
1\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4] | datetimeFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3] | datetimeFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2] | datetimeFormat : col.Format"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1] | datetimeFormat : col.Format"></span>\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'SIWINETTIME\'">\r\n                                <template if.bind="col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5] | netTime : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4] | netTime : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3] | netTime : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2] | netTime : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1] | netTime : col.TimePrecision"></span>\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'SIWINETPOINTS\'">\r\n                                <template if.bind="col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4][col.d5] | netPoints : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d4 && !col.d5">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3][col.d4] | netPoints : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d3 && !col.d4">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2][col.d3] | netPoints : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d2 && !col.d3">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1][col.d2] | netPoints : col.TimePrecision"></span>\r\n                                </template>\r\n                                <template if.bind="col.d1 && !col.d2">\r\n                                    <span textcontent.bind="model.DataSource[model.CurrentRowIndex][col.d1] | netPoints : col.TimePrecision"></span>\r\n                                </template>\r\n                            </template>\r\n                            <template if.bind="col.ColumnType==\'TEMPLATE\'">\r\n                                <compose view="${col.ViewTemplate}" model.bind="model.DataSource[model.CurrentRowIndex]"></compose>\r\n                            </template>\r\n                        </template>\r\n                        \x3c!-- ENDE VIEW TEMPLATES --\x3e\r\n                    </td>\r\n\r\n                    \x3c!-- REMARKS/VALIDATIONS --\x3e\r\n                    <td if.bind="model.ShowRemarks && col.IsVisible" css="min-width: ${model.FormColumns[2].useWidth};max-width: ${model.FormColumns[2].useWidth};width: ${model.FormColumns[2].useWidth};"><span if.bind="col.ValidationErrors.length == 0">${col.Remark}</span><span class="validationErrorForm" repeat.for="errMsg of col.ValidationErrors">${errMsg}</span></td>\r\n                </tr>\r\n\r\n\r\n            </tbody>\r\n        </table>\r\n\r\n        <p if.bind="!model.ShowRemarks && model.HasValidationErrors" class="errorMsg">${model.ValidationSummary}</p>\r\n\r\n    </div>\r\n</template>\r\n'},"@siwidata/siwiui/siwi-grid":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiGridCustomElement",(function(){return s}));var i=o("aurelia-framework"),n=o("aurelia-templating-resources"),r=o("1Uh/"),l=o("GL6p"),d=o("4fGU"),a=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e,t,o,i,n){this.BindingEngine=e,this.Signaler=t,this.SiwiKeyboard=o,this.Config=i,this.taskQueue=n}return e.prototype.bind=function(e,t){var o=this;this.model&&(this.model.KeyboardHandler=this.SiwiKeyboard),this.model&&this.ContainerElement&&this.model.SetContainerElement(this.ContainerElement),this.waitForDataTimer=setInterval((function(){o.waitForData()}),100),this.selectedItemSubscription=this.BindingEngine.propertyObserver(this.model,"SelectedItem").subscribe((function(e,t){o.selecteditem=e}))},e.prototype.hasfocusChanged=function(e){0==e&&this.model.IsEditing&&this.model.LostFocus()},e.prototype.selecteditemChanged=function(e){this.model.SelectedItem=e},e.prototype.attached=function(){var e=this;this.model&&(void 0!==this.editable&&(this.model.CanEdit=this.editable,this.model.CanAddNew=this.editable,this.model.CanDelete=this.editable),this.datasource&&(this.model.SetDataSource(this.datasource),this.dataSourceSubscription=this.BindingEngine.collectionObserver(this.datasource).subscribe(this.dataSourceCollectionChanged.bind(this)))),this.model&&this.model.ContainingBlade&&this.taskQueue.queueTask((function(){e.taskQueue.queueTask((function(){e.model.ContainingBlade.PublishBladeMetrics()}))}))},e.prototype.modelChanged=function(e){void 0!==this.datasource&&this.model.SetDataSource(this.datasource),void 0!==this.editable&&this.editableChanged(this.editable)},e.prototype.editableChanged=function(e){void 0!==e&&this.model&&(this.model.CanEdit=this.editable,this.model.CanAddNew=this.editable,this.model.CanDelete=this.editable)},e.prototype.datasourceChanged=function(e){this.model&&this.model.RowSelectionMode&&this.model.SetN
1oSelection(),this.model&&(null==e?this.model.SetDataSource([]):(this.dataSourceSubscription&&this.dataSourceSubscription.dispose(),this.model.SetDataSource(e),this.dataSourceSubscription=this.BindingEngine.collectionObserver(this.datasource).subscribe(this.dataSourceCollectionChanged.bind(this))))},e.prototype.dataSourceCollectionChanged=function(e){this.model&&this.model.SetDataSource(this.datasource)},e.prototype.lockedChanged=function(e){this.model.SetIsLocked(e)},e.prototype.waitForData=function(){var e=this;this.model.tableBody&&this.model.tableBody.children.length>0&&(this.model.Columns.forEach((function(t){t.InjectBindingMechanism(e.BindingEngine,e.Signaler)})),clearInterval(this.waitForDataTimer),this.alignHeadersTimer=setInterval((function(){e.model.AlignHeaders()}),200))},e.prototype.unbind=function(){this.selectedItemSubscription&&this.selectedItemSubscription.dispose(),this.dataSourceSubscription&&this.dataSourceSubscription.dispose(),clearInterval(this.waitForDataTimer),clearInterval(this.alignHeadersTimer)},a([i.bindable,c("design:type",r.d)],e.prototype,"model",void 0),a([i.bindable,i.observable,c("design:type",Boolean)],e.prototype,"editable",void 0),a([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Object)],e.prototype,"selecteditem",void 0),a([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Boolean)],e.prototype,"hasfocus",void 0),a([Object(i.bindable)({defaultBindingMode:i.bindingMode.toView}),c("design:type",Array)],e.prototype,"datasource",void 0),a([Object(i.bindable)({defaultBindingMode:i.bindingMode.toView}),c("design:type",Boolean)],e.prototype,"locked",void 0),e=a([Object(i.inject)(i.BindingEngine,n.a,l.b,d.Config,i.TaskQueue),c("design:paramtypes",[i.BindingEngine,n.a,Object,d.Config,i.TaskQueue])],e)}()},
1"@siwidata/siwiui/siwi-grid.html":function(e,t,o){e.exports='<template>\r\n    <require from="./grid-row-cells.html"></require>\r\n    <require from="./grid-sort"></require>\r\n    <require from="./grid-filter"></require>\r\n    <require from="./grid-foreignkey"></require>\r\n    <require from="./grid-foreignitem"></require>\r\n    <require from="./tri-state-checkbox-custom-attribute"></require>\r\n    <require from="./editors/numeric-input"></require>\r\n    <require from="./decimal-format"></require>\r\n    <require from="@siwidata/converters/date-format"></require>\r\n    <require from="@siwidata/converters/datetime-format"></require>\r\n    <require from="@siwidata/converters/net-time"></require>\r\n    <require from="@siwidata/converters/net-points"></require>\r\n\r\n    <div class="siwigrid" tabindex="0"\r\n         id.bind="model.gridKey"\r\n         keyup.delegate="model.Keyup($event)"\r\n         keydown.delegate="model.Keydown($event)"\r\n         focus.bind="hasfocus"\r\n         ref="ContainerElement"\r\n         autofocus>\r\n        <table class="siwigrid">\r\n            <thead scrollleft.bind="model.ScrollLeft">\r\n                <tr class="caption" if.bind="model.Caption"><th colspan.bind="model.ActiveColumns.length"><strong>${model.Caption}</strong></th></tr>\r\n\r\n                <tr ref="model.headerRow" if.bind="model.ShowHeaders">\r\n                    <th repeat.for="col of model.ActiveColumns" css="min-width: ${col.actualWidth}px;max-width: ${col.actualWidth}px;"\r\n                        class="${col.ColumnAlignment == \'CENTER\' ? \'alignCenter\' : \'\'}\r\n                               ${col.ColumnAlignment == \'RIGHT\' ? \'alignRight\' : \'\'}"\r\n                        onclick.call="model.SortClick(col)">\r\n\r\n                        <span if.bind="col.HeaderTooltip" data-toggle="tooltip" title="${col.HeaderTooltip}">${col.HeaderText}</span>\r\n                        <span else>${col.HeaderText}</span>\r\n                    </th>\r\n                    <th css="min-width:${model.scollbarWidth}px">&nbsp;</th>\r\n                </tr>\r\n\r\n                <tr if.bind="model.ShowFilters">\r\n                    <td repeat.for="col of model.ActiveColumns"\r\n                        css="min-width: ${col.actualWidth}px;max-width: ${col.actualWidth}px;width: ${col.actualWidth}px;"\r\n                        onclick.call="model.FilterClicked($index)">\r\n                        <div class="sg-filter" css="${col.ColumnType==\'CHECKBOX\' ? \'text-align:center;\' : \'\'}">\r\n                            <template if.bind="model.EditFilterColIndex==$index">\r\n                                <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                    <input id="${model.gridKey}_filter_${col.DataField}_1" type="checkbox" tri-state.two-way="col.FilterExpression" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'STRING\' || (col.ColumnType == \'TEMPLATE\' && (!col.ForeignItems || col.ForeignItems.length == 0))">\r\n                                    <input type="text" value.two-way="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'NUMBER\'">\r\n                                    <numeric-input value.bind="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus" allow-negative-values.bind="col.AllowNegativeValues" />\r\n                                    \x3c!-- <input type="number" value.two-way="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus" /> --\x3e\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'DECIMAL\'">\r\n                                    <numeric-input value.bind="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus" decimal-precision.bind="col.DecimalPrecision" allow-negative-values.bind="col.AllowNegativeValues" />\r\n                                    \x3c!-- <input type="number" value.t
1wo-way="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus" /> --\x3e\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'FOREIGNKEY\' || col.ColumnType == \'TEMPLATE\' && col.ForeignItems && col.ForeignItems.length > 0">\r\n                                    <template if.bind="col.ForeignKeyTemplate">\r\n                                        <select ref="col.InputElement1" value.two-way="col.FilterExpression & debounce: model.FilterDebounceInMs">\r\n                                            <option value=""></option>\r\n                                            <template repeat.for="item of col.ForeignItems">\r\n                                                <option model.bind="item"><compose view.bind="col.ForeignKeyTemplate" model.bind="item"></compose></option>\r\n                                            </template>\r\n                                        </select>\r\n                                    </template>\r\n                                    <template if.bind="!col.ForeignKeyTemplate">\r\n                                        <select ref="col.InputElement1" if.bind="col.ForeignKeyFilterComboMode" value.two-way="col.FilterExpression & debounce: model.FilterDebounceInMs">\r\n                                            <option value=""></option>\r\n                                            <option repeat.for="item of col.ForeignItems" model.bind="item">${item | foreignItem : col}</option>\r\n                                        </select>\r\n                                        <input if.bind="!col.ForeignKeyFilterComboMode" type="text" value.bind="col.FilterExpression & debounce: model.FilterDebounceInMs" focus.bind="col.HasNativeFilterFocus">\r\n                                    </template>\r\n                                </template>\r\n                            </template>\r\n\r\n                            <template if.bind="model.EditFilterColIndex !== $index">\r\n                                <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\' || (col.ColumnType == \'TEMPLATE\' && (!col.ForeignItems || col.ForeignItems.length == 0))">\r\n                                    <span if.bind="col.FilterExpression != \'\'">${col.FilterExpression}</span>\r\n                                    <span if.bind="!col.FilterExpression || col.FilterExpression == \'\'">&nbsp;</span>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'FOREIGNKEY\'">\r\n                                    <span if.bind="!col.FilterExpression || col.FilterExpression == \'\'">&nbsp;</span>\r\n                                    <template else>\r\n                                        <span if.bind="col.ForeignKeyFilterComboMode || col.ForeignKeyTemplate">${col.FilterExpression | foreignItem: col}</span>\r\n                                        <span else>${col.FilterExpression}</span>\r\n                                    </template>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                    <input id="${model.gridKey}_filter_${col.DataField}_2" type="checkbox" tri-state.two-way="col.FilterExpression" />\r\n                                </template>\r\n\r\n                            </template>\r\n                        </div>\r\n                    </td>\r\n                    <td click.delegate="model.ClearFilters()"><i class="fa fa-search searchicon"></i></td>\r\n                </tr>\r\n            </thead>\r\n\r\n            <tbody css.bind="model.BodyCSS" scrolltop.bind="model.ScrollTop" scrollleft.bind="model.ScrollLeft" ref="model.tableBody">\r\n                <template if.bind="!model.DataSource">\r\n                    <div class="loadingPane" css="height: ${model.Height}px;">\r\n                        <i class="fa fa-cog fa-spin fa-2x fa-fw"></i>
1\r\n                        <span>Loading...</span>\r\n                    </div>\r\n                </template>\r\n                <template if.bind="model.DataSource && model.DataSource.length==0">\r\n                    <span style="text-align: center;width: 100%;">${model.NoDataMessage}</span>\r\n                </template>\r\n                <template if.bind="model.DataSource">\r\n                    <tr repeat.for="row of model.DataSource | siwiGridSort:model.SortColumn:model.SortDirection | siwiGridFilter:model & signal:model.gridKey"\r\n                        class="${model.RowSelectionMode && model.mCurrentRowIndex==$index ? \'activeCell\' : \'\'}">\r\n                        \x3c!--as-element="compose" view="./grid-row-cells.html">--\x3e\r\n                        <td repeat.for="col of model.ActiveColumns" click.trigger="model.CellClicked($event,model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index,$index)"\r\n                            css="min-width: ${col.useWidth};max-width: ${col.useWidth} "\r\n                            class="${model.CurrentColIndex==$index && model.mCurrentRowIndex == (model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index) ? \'activeCell\' : \'\'}\r\n                                                    ${model.EditColIndex==$index && model.EditRowIndex == (model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index) ? \'editCell\' : \'\'}\r\n                                                    ${col.ColumnAlignment == \'CENTER\' ? \'alignCenter\' : \'\'}\r\n                                                    ${col.ColumnAlignment == \'RIGHT\' ? \'alignRight\' : \'\'}\r\n                                                    ${col.UseColDividers ? \'colDividers\': \'\'}\r\n                                                    ${model.UseRowDividers ? \'rowDividers\': \'\'}\r\n                                                    ${model.EditColIndex==$index && model.EditRowIndex == (model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index) ? \'\':\'clip\'}">\r\n                            \x3c!-- EDITOR TEMPLATES --\x3e\r\n                            <template if.bind="model.EditColIndex==$index && model.EditRowIndex == (model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index)">\r\n                                <template if.bind="col.EditorTemplate">\r\n                                    <compose view="${col.EditorTemplate}" model.bind="model"></compose>\r\n                                </template>\r\n                                <template else>\r\n                                    <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <input ref="col.InputElement1" type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4][col.d5])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <input ref="col.InputElement1" type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <input ref="col.InputElement1" type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <input ref="col.InputElement1" type="checkbox" checked.one-way="row[col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <input ref="col.InputElement1" type="checkbox" checked.bind="row[col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'STRING\'">\r\n                                        <input class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}"\r\n                                               type="text" value.t
1wo-way="model.EditValue" focus.bind="model.NativeFocus"\r\n                                               title="${model.EditValidationError}" ref="col.InputElement1" />\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'NUMBER\'">\r\n                                        <numeric-input value.two-way="model.EditValue" model.bind="col" focus.bind="model.NativeFocus" allow-negative-values.bind="col.AllowNegativeValues"\r\n                                                       class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}"></numeric-input>\r\n                                        \x3c!--\r\n                                        <input type="number" ref="col.InputElement1" value.two-way="model.EditValue" focus.bind="model.NativeFocus"\r\n                                               class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}" />\r\n                                           --\x3e\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'DECIMAL\'">\r\n                                        <numeric-input value.two-way="model.EditValue" model.bind="col" focus.bind="model.NativeFocus" decimal-precision.bind="col.DecimalPrecision" allow-negative-values.bind="col.AllowNegativeValues"\r\n                                                       class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}"></numeric-input>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'DATE\'">\r\n                                        <input type="date" ref="col.InputElement1" value.bind="model.EditValueDateString" style="${col.EditTime ? \'width: 50%;\' : \'\'}" class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}" />\r\n                                        <input if.bind="col.EditTime" ref="col.InputElement2" type="time" value.bind="model.EditValueTimeString" />\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SIWIDATETIME\'">\r\n                                        <input if.bind="col.HasDateEditingFormat" type="date" value.bind="model.EditValueDateString" ref="col.InputElement1"\r\n                                               class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}" />\r\n                                        <input if.bind="col.EditTime" type="time" value.bind="model.EditValueTimeString" ref="col.InputElement2"\r\n                                               class="${model.EditValidationError && model.EditValidationError != \'\' ? \'validationError\' : \'\'}" title="${model.EditValidationError}" />\r\n                                    </template>\r\n                                    \x3c!-- ACHTUNG: kein compose wenn option repeat.for, aurelia bug ?, ForeignKeyTemplate not supported in IE (wegen template repeat.for) --\x3e\r\n                                    <template if.bind="col.ColumnType==\'FOREIGNKEY\' && col.ForeignKeyTemplate">\r\n                                        <select value.bind="model.EditValue" ref="col.InputElement1">\r\n                                            <option if.bind="col.ForeignAllowNull">---</option>\r\n                                            <template repeat.for="item of col.ForeignItems">\r\n                                                <option model.bind="item"><compose view.bind="col.ForeignKeyTemplate" model.bind="item"></compose></option>\r\n                                            </template>\r\n                                        </select>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'FOREIGNKEY\' && !col.ForeignKeyTemplate">\r\n                                        <select value.bind="model.EditValue" ref="col.InputElement1">\r\n                                            <option if.bind="col.ForeignAllowNull">---</option>\r\n                                            <option repeat.for="item of col.ForeignItems" model.bind="item">${item | foreignItem : col}</option>\r\n                                        </select>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SORTORDER\'">\r\n                                        <button type="button" class="btn btn-default btn-xs" style="padding: 1px 1px !important; line-height: 1.0; margin-bottom: 1px;" click.trigger="model.ReSortUp(row)" ref="InputElement1" show.bind="$parent.$index != 0 || model.FirstVisibleRow != 0">\r\n                                            <i class="fas fa-arrow-up"></i>\r\n                                        </button>\r\n                                        <button type="button" class="btn btn-default btn-xs" style="padding: 1px 1px !important; line-height: 1.0; margin-bottom: 1px;" click.trigger="model.ReSortDown(row)" ref="InputElement2" show.bind="$parent.$index < model.DataSource.length - 1">\r\n                                            <i class="fas fa-arrow-down"></i>\r\n                                        </button>\r\n                                    </template>\r\n                                </template>\r\n                            </template>\r\n                            \x3c!-- ENDE EDITOR TEMPLATES --\x3e\r\n                            \x3c!-- VIEW TEMPLATES --\x3e\r\n                            <template if.bind="model.EditColIndex !== $index || model.EditRowIndex !== (model.IsVirtual ? $parent.$index + model.FirstVisibleRow : $parent.$index)">\r\n                                <template if.bind="col.ViewTemplate">\r\n                                    <compose view="${col.ViewTemplate}" model.bind="row"></compose>\r\n                                </template>\r\n                                <template else>\r\n                                    <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4][col.d5])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <input type="checkbox" checked.one-way="row[col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2])" />\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <input type="checkbox" checked.bind="row[col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                                        </template>\r\n                                    </template>\r\n\r\n                                    <template if.bind="col.ColumnType == \'FOREIGNKEY\'">
1\r\n                                        <span if.bind="col.d5" textcontent.bind="row | foreignKey:col:row[col.d1][col.d2][col.d3][col.d4][col.d5]"></span>\r\n                                        <span if.bind="col.d4 && !col.d5" textcontent.bind="row | foreignKey:col:row[col.d1][col.d2][col.d3][col.d4]"></span>\r\n                                        <span if.bind="col.d3 && !col.d4" textcontent.bind="row | foreignKey:col:row[col.d1][col.d2][col.d3]"></span>\r\n                                        <span if.bind="col.d2 && !col.d3" textcontent.bind="row | foreignKey:col:row[col.d1][col.d2]"></span>\r\n                                        <span if.bind="col.d1 && !col.d2" textcontent.bind="row | foreignKey:col:row[col.d1]"></span>\r\n                                    </template>\r\n\r\n                                    <template if.bind="col.ColumnType==\'DECIMAL\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | decimalFormat:col"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | decimalFormat:col"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | decimalFormat:col"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2] | decimalFormat:col"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1] | decimalFormat:col"></span>\r\n                                        </template>\r\n                                    </template>\r\n\r\n                                    <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\' || (col.ColumnType==\'SORTORDER\' && !model.CanEdit)">\r\n                                        <template if.bind="col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5]"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4]"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3]"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2]"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1]"></span>\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'DATE\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | dateFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">
1\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | dateFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | dateFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2] | dateFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1] | dateFormat : col.Format"></span>\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SIWIDATETIME\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | datetimeFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | datetimeFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | datetimeFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2] | datetimeFormat : col.Format"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1] | datetimeFormat : col.Format"></span>\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SIWINETTIME\'">\r\n                                        <template if.bind="col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | netTime : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | netTime : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | netTime : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2] | netTime : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1] | netTime : col.TimePrecision"></span>\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SIWINETPOINTS\'">\r\n                                        <template if.bind="col.d5">
1\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | netPoints : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d4 && !col.d5">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | netPoints : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d3 && !col.d4">\r\n                                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | netPoints : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d2 && !col.d3">\r\n                                            <span textcontent.bind="row[col.d1][col.d2] | netPoints : col.TimePrecision"></span>\r\n                                        </template>\r\n                                        <template if.bind="col.d1 && !col.d2">\r\n                                            <span textcontent.bind="row[col.d1] | netPoints : col.TimePrecision"></span>\r\n                                        </template>\r\n                                    </template>\r\n                                    <template if.bind="col.ColumnType==\'SORTORDER\' && model.CanEdit">\r\n                                        <button type="button" class="btn btn-default btn-xs" style="padding: 1px 1px !important; line-height: 1.0; margin-bottom: 1px;" click.trigger="model.ReSortUp(row)" ref="InputElement1" show.bind="$parent.$index != 0 || model.FirstVisibleRow != 0">\r\n                                            <i class="fas fa-arrow-up"></i>\r\n                                        </button>\r\n                                        <button type="button" class="btn btn-default btn-xs" style="padding: 1px 1px !important; line-height: 1.0; margin-bottom: 1px;" click.trigger="model.ReSortDown(row)" ref="InputElement2" show.bind="$parent.$index < model.DataSource.length - 1">\r\n                                            <i class="fas fa-arrow-down"></i>\r\n                                        </button>\r\n                                    </template>\r\n                                </template>\r\n                            </template>\r\n                            \x3c!-- ENDE VIEW TEMPLATES --\x3e\r\n                        </td>\r\n                    </tr>\r\n\r\n                    \x3c!-- ADD NEW--\x3e\r\n                    <tr if.bind="model.CanAddNew" class="addNewRow">\r\n                        <td repeat.for="col of model.ActiveColumns"\r\n                            onclick.call="model.AddNewClicked($index)">\r\n\r\n                            <template if.bind="model.AddNewColIndex==$index">\r\n                                <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                    <input type="checkbox" checked.bind="model.NewRow[col.DataField]" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'STRING\'">\r\n                                    <input type="text" value.bind="model.NewRow[col.DataField]" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'NUMBER\'">\r\n                                    <numeric-input value.bind="model.NewRow[col.DataField]"></numeric-input>\r\n                                    \x3c!-- <input type="number" value.bind="model.NewRow[col.DataField]" /> --\x3e\r\n                                </template>\r\n                            </template>\r\n\r\n                            <template if.bind="model.AddNewColIndex!= $index">\r\n                                <template if.bind="$index==0 && !model.NewRow[col.DataField]">\r\n                                    <i class="fa fa-plus" aria-hidden="true" show.bind="$index==0"></i>\r\n                                </template>\r\n                                <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                                    <input type="checkbox" checked.bind="model.NewRow[col.DataField]" />\r\n                                </template>\r\n                                <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\'">
1\r\n                                    <span>${model.NewRow[col.DataField]}</span>\r\n                                </template>\r\n                            </template>\r\n\r\n                        </td>\r\n                    </tr>\r\n\r\n                    \x3c!-- ENDE ADD NEW --\x3e\r\n                </template>\r\n\r\n            </tbody>\r\n        </table>\r\n    </div>\r\n</template>\r\n'},"@siwidata/siwiui/siwi-helptext":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiHelptextCustomElement",(function(){return l}));var i=o("aurelia-framework"),n=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},r=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=function(){function e(){this.iconClass="far fa-question-circle",this.width="90%",this.left="40px",this.top="0px",this.iconMargin="0 0 0 10px"}return e.prototype.ShowHelpText=function(){this.HelpTextVisible=!0},e.prototype.HideHelpText=function(e){this.HelpTextVisible=!1,e&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},e.prototype.ToggleHelpText=function(){this.HelpTextVisible=!this.HelpTextVisible},n([i.bindable,r("design:type",String)],e.prototype,"iconClass",void 0),n([i.bindable,r("design:type",String)],e.prototype,"iconColor",void 0),n([i.bindable,r("design:type",String)],e.prototype,"textColor",void 0),n([i.bindable,r("design:type",String)],e.prototype,"background",void 0),n([i.bindable,r("design:type",String)],e.prototype,"borderColor",void 0),n([i.bindable,r("design:type",String)],e.prototype,"width",void 0),n([i.bindable,r("design:type",String)],e.prototype,"position",void 0),n([i.bindable,r("design:type",String)],e.prototype,"left",void 0),n([i.bindable,r("design:type",String)],e.prototype,"top",void 0),n([i.bindable,r("design:type",String)],e.prototype,"iconMargin",void 0),e}()},
1"@siwidata/siwiui/siwi-helptext.html":function(e,t){e.exports="<template>\r\n    <i style=\"margin: ${iconMargin};${iconColor ? 'color: '+iconColor+';' : ''}\" class.bind=\"iconClass\" ref=\"InfoIcon\" mouseover.delegate=\"ShowHelpText()\" click.delegate=\"ToggleHelpText()\"></i>\r\n    <div style=\"width: ${width}; top: ${top}; left: ${left};\r\n                ${position ? 'position: '+position+';' : ''}\r\n                ${textColor ? 'color: '+textColor+';' : ''}\r\n                ${borderColor ? 'border-color: '+borderColor+';' : ''}\r\n                ${background ? 'background: '+background+';' : ''}\"\r\n         class=\"helptext-container\" ref=\"InfoText\" \r\n        click.delegate=\"HideHelpText($event)\"\r\n        show.bind=\"HelpTextVisible\"\r\n        mouseout.delegate=\"HideHelpText($event)\"\r\n        >\r\n        <slot></slot>\r\n    </div>\r\n </template>\r\n "},"@siwidata/siwiui/siwi-list":function(e,t,o){"use strict";o.r(t),o.d(t,"SiwiListCustomElement",(function(){return s}));var i=o("aurelia-framework"),n=o("aurelia-templating-resources"),r=o("1Uh/"),l=o("GL6p"),d=o("4fGU"),a=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(){function e(e,t,o,i){this.BindingEngine=e,this.Signaler=t,this.SiwiKeyboard=o,this.Config=i}return e.prototype.bind=function(e,t){var o=this;this.model.KeyboardHandler=this.SiwiKeyboard,this.waitForDataTimer=setInterval((function(){o.waitForData()}),100),this.selectedItemSubscription=this.BindingEngine.propertyObserver(this.model,"SelectedItem").subscribe((function(e,t){o.selecteditem=e}))},e.prototype.hasfocusChanged=function(e){0==e&&this.model.IsEditing&&this.model.LostFocus()},e.prototype.selecteditemChanged=function(e){this.model.SelectedItem=e},e.prototype.waitForData=function(){var e=this;this.model.tableBody&&this.model.tableBody.children.length>0&&(this.model.Columns.forEach((function(t){t.InjectBindingMechanism(e.BindingEngine,e.Signaler)})),clearInterval(this.waitForDataTimer),this.alignHeadersTimer=setInterval((function(){e.model.AlignHeaders()}),200))},e.prototype.unbind=function(){this.selectedItemSubscription.dispose(),clearInterval(this.waitForDataTimer),clearInterval(this.alignHeadersTimer)},a([i.bindable,c("design:type",r.d)],e.prototype,"model",void 0),a([Object(i.bindable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Object)],e.prototype,"selecteditem",void 0),a([i.bindable,Object(i.observable)({defaultBindingMode:i.bindingMode.twoWay}),c("design:type",Boolean)],e.prototype,"hasfocus",void 0),e=a([Object(i.inject)(i.BindingEngine,n.a,l.b,d.Config),c("design:paramtypes",[i.BindingEngine,n.a,Object,d.Config])],e)}()},
1"@siwidata/siwiui/siwi-list.html":function(e,t,o){e.exports='<template>\r\n\r\n   <require from="./siwi-edittextline"></require>\r\n   <require from="./siwi-editdate"></require>\r\n   <require from="./grid-sort"></require>\r\n   <require from="./grid-filter"></require>\r\n   <require from="./grid-foreignkey"></require>\r\n   <require from="./tri-state-checkbox-custom-attribute"></require>\r\n\r\n   <require from="@siwidata/converters/date-format"></require>\r\n\r\n   <div class="siwigrid" tabindex="0"\r\n        id.bind="model.gridKey"\r\n        keyup.delegate="model.Keyup($event)"\r\n        keydown.delegate="model.Keydown($event)"\r\n        focus.bind="hasfocus"\r\n        autofocus>\r\n      <table class="siwigrid">\r\n         <thead scrollleft.bind="model.ScrollLeft">\r\n            <tr class="caption" if.bind="model.Caption"><th colspan.bind="model.ActiveColumns.length"><strong>${model.Caption}</strong></th></tr>\r\n\r\n            <tr ref="model.headerRow" if.bind="model.ShowHeaders">\r\n               <th repeat.for="col of model.ActiveColumns" css="min-width: ${col.actualWidth}px;max-width: ${col.actualWidth}px;"\r\n                   class="${col.ColumnAlignment == \'CENTER\' ? \'alignCenter\' : \'\'}\r\n                               ${col.ColumnAlignment == \'RIGHT\' ? \'alignRight\' : \'\'}"\r\n                   onclick.call="model.Sort(col)">\r\n                  <span if.bind="col.HeaderTooltip" data-toggle="tooltip" title="${col.HeaderTooltip}">${col.HeaderText}</span>\r\n                  <span else>${col.HeaderText}</span>\r\n               </th>\r\n               <th css="min-width:${model.scollbarWidth}px">&nbsp;</th>\r\n            </tr>\r\n\r\n            <tr if.bind="model.ShowFilters">\r\n               <td repeat.for="col of model.ActiveColumns"\r\n                   css="min-width: ${col.actualWidth}px;max-width: ${col.actualWidth}px;width: ${col.actualWidth}px;"\r\n                   onclick.call="model.FilterClicked($index)">\r\n                  <div class="sg-filter" css="${col.ColumnType==\'CHECKBOX\' ? \'text-align:center;\' : \'\'}">\r\n                     <template if.bind="model.EditFilterColIndex==$index">\r\n                        <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                           <input id="${model.gridKey}_filter_${col.DataField}_1" type="checkbox" tri-state.two-way="col.FilterExpression" />\r\n                        </template>\r\n                        <template if.bind="col.ColumnType==\'STRING\'">\r\n                           <input type="text"\r\n                                  value.two-way="col.FilterExpression & debounce: 200" focus.bind="col.HasNativeFilterFocus" />\r\n                        </template>\r\n                        <template if.bind="col.ColumnType==\'NUMBER\'">\r\n                            <input type="number"\r\n                                   value.two-way="col.FilterExpression & debounce: 200" focus.bind="col.HasNativeFilterFocus" />\r\n                        </template>\r\n                        <template if.bind="col.ColumnType==\'FOREIGNKEY\'">\r\n\r\n                        </template>\r\n                     </template>\r\n\r\n                     <template if.bind="model.EditFilterColIndex !== $index">\r\n                        <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\'">\r\n                           <span if.bind="col.FilterExpression != \'\'">${col.FilterExpression}</span>\r\n                           <span if.bind="!col.FilterExpression || col.FilterExpression == \'\'">&nbsp;</span>\r\n                        </template>\r\n                        <template if.bind="col.ColumnType==\'FOREIGNKEY\'">\r\n                           <span if.bind="col.FilterExpression != \'\'">${col.FilterExpression}</span>\r\n                           <span if.bind="col.FilterExpression == \'\'">&nbsp;</span>\r\n                        </template>\r\n                        <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                           <input id="${model.gridKey}_filter_${col.DataField}_2" type="checkbox" tri-state.two-way="col.FilterExpression" />\r\n                        </template>\r\n\r\n\r\n                     </template>\r\n                  </div>\r\n               </td>\r\n               <td click.delegate="model.ClearFilters()"><i class="fa fa-search searchicon"></i></td>\r\n\r\n            </tr>\r\n         </thead>\r\n\r\n         <tbody css="height: ${model.Height}px; ${model.Height != \'\' ? \'overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling: touch;\' : \'overflow-x:hidden;overflow-y:hidden;\'}" scrolltop.bind="model.ScrollTop" scrollleft.bind="model.ScrollLeft" ref="model.tableBody">\r\n            <template if.bind="!model.DataSource">\r\n               <div class="loadingPane" css="height: ${model.Height}px;">\r\n                  <i class="fa fa-cog fa-spin fa-2x fa-fw"></i>
1\r\n                  <span>Loading...</span>\r\n               </div>\r\n            </template>\r\n            <template if.bind="model.DataSource && model.DataSource.length==0">\r\n               <span style="text-align: center;width: 100%;">${model.NoDataMessage}</span>\r\n            </template>\r\n            <template if.bind="model.DataSource">\r\n               <tr repeat.for="row of model.DataSource | siwiGridSort:model.SortColumn:model.SortDirection | siwiGridFilter:model & signal:model.gridKey"\r\n                   click.trigger="model.CellClicked($event,$index,0)"\r\n                   class="${model.RowSelectionMode && model.mCurrentRowIndex==$index ? \'activeCell\' : \'\'}">\r\n                  <td repeat.for="col of model.ActiveColumns"\r\n                      css="min-width: ${col.useWidth};max-width: ${col.useWidth} "\r\n                      class="${model.CurrentColIndex==$index && model.mCurrentRowIndex==$parent.$index ? \'activeCell\' : \'\'}\r\n                                       ${model.EditColIndex==$index && model.EditRowIndex==$parent.$index ? \'editCell\' : \'\'}\r\n                                       ${col.ColumnAlignment == \'CENTER\' ? \'alignCenter\' : \'\'}\r\n                                       ${col.ColumnAlignment == \'RIGHT\' ? \'alignRight\' : \'\'}\r\n                                       ${model.EditColIndex==$index && model.EditRowIndex==$parent.$index ? \'\':\'clip\'}">\r\n\r\n                     \x3c!-- VIEW TEMPLATES --\x3e\r\n\r\n                     <template if.bind="col.ColumnType == \'CHECKBOX\'">\r\n                        <template if.bind="col.d5">\r\n                            <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4][col.d5]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" touchstart.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4][col.d5])" />\r\n                         </template>\r\n                         <template if.bind="col.d4 && !col.d5">\r\n                            <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3][col.d4]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" touchstart.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3][col.d4])" />\r\n                         </template>\r\n                          <template if.bind="col.d3 && !col.d4">\r\n                           <input type="checkbox" checked.one-way="row[col.d1][col.d2][col.d3]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" touchstart.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2][col.d3])" />\r\n                        </template>\r\n                        <template if.bind="col.d2 && !col.d3">\r\n                           <input type="checkbox" checked.one-way="row[col.d1][col.d2]" disabled.bind="!model.CanEdit || !col.Editable" click.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2])" touchstart.trigger="model.EditCheckBox(row,col,row[col.d1][col.d2])" />\r\n                        </template>\r\n                        <template if.bind="col.d1 && !col.d2">\r\n                           <input type="checkbox" checked.bind="row[col.d1]" disabled.bind="!model.CanEdit || !col.Editable" click.delegate="model.CheckBoxClicked()" />\r\n                        </template>\r\n                     </template>\r\n\r\n                     <template if.bind="col.ColumnType == \'FOREIGNKEY\'">\r\n                        <span textcontent.bind="row | foreignKey:col"></span>\r\n                     </template>\r\n\r\n                     <template if.bind="col.ColumnType==\'STRING\' || col.ColumnType==\'NUMBER\' ">\r\n                        <template if.bind="col.d5">\r\n                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5]"></span>\r\n                         </template>\r\n                         <template if.bind="col.d4 && !col.d5">
1\r\n                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4]"></span>\r\n                         </template>\r\n                          <template if.bind="col.d3 && !col.d4">\r\n                           <span textcontent.bind="row[col.d1][col.d2][col.d3]"></span>\r\n                        </template>\r\n                        <template if.bind="col.d2 && !col.d3">\r\n                           <span textcontent.bind="row[col.d1][col.d2]"></span>\r\n                        </template>\r\n                        <template if.bind="col.d1 && !col.d2">\r\n                           <span textcontent.bind="row[col.d1]"></span>\r\n                        </template>\r\n                     </template>\r\n                     <template if.bind="col.ColumnType==\'DATE\'">\r\n                        <template if.bind="col.d5">\r\n                           <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4][col.d5] | dateFormat : col.Format"></span>\r\n                        </template>\r\n                        <template if.bind="col.d4 && !col.d5">\r\n                            <span textcontent.bind="row[col.d1][col.d2][col.d3][col.d4] | dateFormat : col.Format"></span>\r\n                         </template>\r\n                         <template if.bind="col.d3 && !col.d4">\r\n                            <span textcontent.bind="row[col.d1][col.d2][col.d3] | dateFormat : col.Format"></span>\r\n                         </template>\r\n                          <template if.bind="col.d2 && !col.d3">\r\n                           <span textcontent.bind="row[col.d1][col.d2] | dateFormat : col.Format"></span>\r\n                        </template>\r\n                        <template if.bind="col.d1 && !col.d2">\r\n                           <span textcontent.bind="row[col.d1] | dateFormat : col.Format"></span>\r\n                        </template>\r\n\r\n                     </template>\r\n                     <template if.bind="col.ColumnType==\'TEMPLATE\'">\r\n                        <compose view="${col.ViewTemplate}" model.bind="row"></compose>\r\n                     </template>\r\n                     \x3c!-- ENDE VIEW TEMPLATES --\x3e\r\n                  </td>\r\n               </tr>\r\n            </template>\r\n\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n</template>\r\n'}
1,Gn1Z:function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var i=o("aurelia-framework"),n=o("8Wdz"),r=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(){function e(e){this.auth=e,this.signals=["auth"]}return e.prototype.toView=function(e){var t=this;return e?e.filter((function(e){if(!e.RequiresRole)return!0;if(0==e.RequiresRole.length)return!0;var o=!1;return t.auth.auth&&e.RequiresRole.forEach((function(e){t.auth.IsInRole(e)&&(o=!0)})),o})):[]},e=r([Object(i.inject)(n.Auth),l("design:paramtypes",[n.Auth])],e)}()},xA8H:function(e,t,o){"use strict";o.d(t,"h",(function(){return i.d})),o.d(t,"e",(function(){return i.a})),o.d(t,"g",(function(){return i.c})),o.d(t,"f",(function(){return i.b})),o.d(t,"a",(function(){return a.a})),o.d(t,"c",(function(){return a.b})),o.d(t,"b",(function(){return c.a})),o.d(t,"d",(function(){return s.a}));var i=o("1Uh/"),n=(o("hA2U"),o("yt/T"),o("@siwidata/siwiui/grid-filter"),o("@siwidata/siwiui/grid-sort"),o("@siwidata/siwiui/data-path"),o("@siwidata/siwiui/grid-columnfilter"),o("@siwidata/siwiui/grid-foreignkey"),o("@siwidata/siwiui/grid-foreignitem"),o("GL6p"),o("@siwidata/siwiui/siwi-panel"),o("@siwidata/siwiui/siwi-tabpanel"),o("@siwidata/siwiui/blade-page"),o("@siwidata/siwiui/popup-filter"),o("@siwidata/siwiui/popup-container"),o("aurelia-framework")),r=o("oP1G"),l=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=(function(){function e(){}e.prototype.activate=function(){},e.prototype.bind=function(e,t){},l([n.bindable,d("design:type",r.a)],e.prototype,"blade",void 0)}(),o("DXK+")),c=(o("@siwidata/siwiui/blade-container"),o("@siwidata/siwiui/blade-mobilecontainer"),o("@siwidata/siwiui/blade-widget"),o("zDuO")),s=(o("@siwidata/siwiui/confirm-button"),o("Gn1Z"),o("/97J"),o("ihW7"));o("CYvg"),o("@siwidata/siwiui/siwi-responsive-form"),o("@siwidata/siwiui/siwi-responsive-form-collection"),o("N3uV"),o("Jd7w"),o("@siwidata/siwiui/camera-capture")},"yt/T":function(e,t,o){"use strict";o.d(t,"a",(function(){return a}));var i=o("aurelia-framework"),n=o("URgk"),r=function(e,t,o,i){var n,r=arguments.length,l=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(r<3?n(l):r>3?n(t,o,l):n(t,o))||l);return r>3&&l&&Object.defineProperty(t,o,l),l},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=function(){},a=function(){function e(){this.Alerts=[],this.showToggle=!1,this.iterationCounter=0}return e.prototype.Add=function(e,t,o,i,r){var l=this,a=new d;return a.Message=e,a.AddedAt=new Date,o&&(a.IsCritical=!0),a.IsVisible=!!t,r&&(a.ShowTime=!0),this.Alerts.push(a),i&&i>0&&Object(n.setTimeout)((function(){l.RemoveAlert(a)}),i),a},e.prototype.ClearAlerts=function(){this.Alerts.splice(0,this.Alerts.length)},Object.defineProperty(e.prototype,"AlertCount",{get:function(){return this.Alerts.length},enumerable:!0,configurable:!0}),e.prototype.ToggleShowAlerts=function(){this.showToggle?this.HideAll():this.ShowAll()},e.prototype.ShowAll=function(){this.setAlertsVisibility(!0),this.showToggle=!0},e.prototype.HideAll=function(){this.setAlertsVisibility(!1),this.showToggle=!1},e.prototype.setAlertsVisibility=function(e){for(var t=0;t<this.Alerts.length;t++)this.Alerts[t].IsVisible=e},e.prototype.RemoveAlert=function(e){var t=this.Alerts.indexOf(e);t>=0&&this.Alerts.splice(t,1)},e.prototype[Symbol.iterator]=function(){return{next:function(){return 0===this.Alerts.length?{done:!0,value:void 0}:(this.iterationCounter++,{done:this.iterationCounter===this.Alerts.length,value:this.Alerts[this.iterationCounter-1]})}.bind(this)}}
1,r([i.bindable,l("design:type",Array)],e.prototype,"Alerts",void 0),r([Object(i.computedFrom)("Alerts"),l("design:type",Number),l("design:paramtypes",[])],e.prototype,"AlertCount",null),e}()}}]);
2//# sourceMappingURL=vendors~2839c6f0.06c90c1792441fe97f17.bundle.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.