@porscheinformatik/clr-addons 10.4.1 → 10.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/clr-addons.umd.js +19 -5
- package/bundles/clr-addons.umd.js.map +1 -1
- package/bundles/clr-addons.umd.min.js +1 -1
- package/bundles/clr-addons.umd.min.js.map +1 -1
- package/clr-addons.metadata.json +1 -1
- package/esm2015/numericfield/numeric-field.js +16 -6
- package/esm2015/numericfield/numeric-field.ngsummary.json +1 -1
- package/fesm2015/clr-addons.js +15 -5
- package/fesm2015/clr-addons.js.map +1 -1
- package/numericfield/numeric-field.d.ts +2 -1
- package/package.json +1 -1
- package/styles/clr-addons-phs.css +0 -2
- package/styles/clr-addons-phs.css.map +1 -1
- package/styles/clr-addons-phs.min.css +1 -1
- package/styles/clr-addons-phs.min.css.map +1 -1
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
15
|
***************************************************************************** */
|
|
16
|
-
var be=function(t,e){return(be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Le(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}be(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function Se(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],a=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;var Me=function(){function t(){}return t.requiredOne=function(){return function(t){var e,n,a=t.value;if(!a)return null;try{for(var r=Se(Array.from(a.values())),i=r.next();!i.done;i=r.next()){if(i.value)return null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return{requiredOne:!0}}},t.requiredAll=function(){return function(t){var e,n,a=t.value;if(a)try{for(var r=Se(Array.from(a.values())),i=r.next();!i.done;i=r.next()){if(!i.value)return{requiredAll:!0}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null}},t}(),Ae=function(){function t(){}return Object.defineProperty(t.prototype,"active",{set:function(t){this._active=null!=t&&!1!==t&&""+t!="false"},enumerable:!1,configurable:!0}),t.prototype.validate=function(t){return this._active?Me.requiredOne()(t):null},t}();Ae.decorators=[{type:e.Directive,args:[{selector:"[clrRequiredOneMultilang]",providers:[{provide:a.NG_VALIDATORS,useExisting:Ae,multi:!0}]}]}],Ae.propDecorators={active:[{type:e.Input,args:["clrRequiredOneMultilang"]}]};var we=function(){function t(){}return Object.defineProperty(t.prototype,"active",{set:function(t){this._active=null!=t&&!1!==t&&""+t!="false"},enumerable:!1,configurable:!0}),t.prototype.validate=function(t){return this._active?Me.requiredAll()(t):null},t}();we.decorators=[{type:e.Directive,args:[{selector:"[clrRequiredAllMultilang]",providers:[{provide:a.NG_VALIDATORS,useExisting:we,multi:!0}]}]}],we.propDecorators={active:[{type:e.Input,args:["clrRequiredAllMultilang"]}]};var Ie=function(){function t(t){this.injector=t,this.formControl=!0,this.showError=!1,this.disabled=!1,this.invalid=!1,this.destroyed=new i.Subject,this.onChange=function(t){},this.onTouch=this.defaultOnTouch}return t.prototype.ngOnInit=function(){var t=this.injector.get(r.ɵbc,null);t&&(this.inputId=t.id)},t.prototype.ngAfterViewInit=function(){var t=this,e=this.injector.get(a.NgControl,null);e&&(this.control=e.control,this.control.statusChanges.pipe(o.takeUntil(this.destroyed)).subscribe((function(e){t.invalid="INVALID"===e,t.showError=t.invalid&&t.control.touched})));var n=this.injector.get(r.ɵbi,null);n&&n.touchedChange.subscribe((function(){t.control.markAsTouched(),t.control.updateValueAndValidity()}))},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){var e=this;this.onTouch=function(){t(),e.defaultOnTouch()}},t.prototype.defaultOnTouch=function(){this.showError=this.invalid&&this.control.touched},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.ngOnDestroy=function(){this.destroyed.next(),this.destroyed.complete()},t}();Ie.decorators=[{type:e.Directive}],Ie.ctorParameters=function(){return[{type:e.Injector}]},Ie.propDecorators={formControl:[{type:e.HostBinding,args:["class.clr-form-control"]}],showError:[{type:e.HostBinding,args:["class.clr-error"]}]};var Ve=function(t){function e(e){var n=t.call(this,e)||this;return n.multi=!0,n.controlClasses="clr-col-md-10",n}return Le(e,t),e.prototype.writeValue=function(t){t&&(this.texts=new Map(t))},e.prototype.setText=function(t,e){this.texts.set(t,e),this.onChange(new Map(this.texts))},e.prototype.showLanguageSelector=function(){return this.texts&&this.texts.size>1||this.showSingleLanguageSelector},e.prototype.changeLanguage=function(t){var e=this;setTimeout((function(){e.selectedLang=t,e.inputElement.nativeElement.focus()}))},e}(Ie);Ve.decorators=[{type:e.Directive}],Ve.ctorParameters=function(){return[{type:e.Injector}]},Ve.propDecorators={multi:[{type:e.HostBinding,args:["class.clr-multilingual"]}],controlClasses:[{type:e.Input,args:["clrControlClasses"]}],selectedLang:[{type:e.Input,args:["clrSelectedLang"]}],readonly:[{type:e.Input}],maxlength:[{type:e.Input}],showSingleLanguageSelector:[{type:e.Input,args:["clrShowSingleLanguageSelector"]}],inputElement:[{type:e.ViewChild,args:["input"]}]};var He=function(t){function e(e){return t.call(this,e)||this}return Le(e,t),e}(Ve);He.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-input",template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <clr-multilingual-selector\n *ngIf="showLanguageSelector()"\n [disabled]="disabled"\n [texts]="texts"\n [selectedLang]="selectedLang"\n (selectedLangChange)="changeLanguage($event)"\n >\n </clr-multilingual-selector>\n <div class="clr-multi-input-wrapper">\n <div class="clr-input-wrapper">\n <input\n class="clr-input"\n type="text"\n [id]="inputId"\n [ngModel]="!!texts && !!selectedLang ? texts.get(selectedLang) : \'\'"\n (ngModelChange)="setText(selectedLang, $event)"\n (blur)="onTouch()"\n [disabled]="disabled"\n [readonly]="readonly || readonly === \'\'"\n autocomplete="off"\n [maxlength]="maxlength || null"\n #input\n />\n <clr-icon *ngIf="showError" class="clr-validate-icon" shape="exclamation-circle" aria-hidden="true"></clr-icon>\n </div>\n <ng-content select="clr-control-helper" *ngIf="!showError"></ng-content>\n <ng-content select="clr-control-error" *ngIf="showError"></ng-content>\n </div>\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return He})),multi:!0},r.ɵbc]}]}],He.ctorParameters=function(){return[{type:e.Injector}]};var Ee=function(t){function e(e){return t.call(this,e)||this}return Le(e,t),e}(Ve);Ee.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-textarea",template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <clr-multilingual-selector\n *ngIf="showLanguageSelector()"\n [disabled]="disabled"\n [texts]="texts"\n [selectedLang]="selectedLang"\n (selectedLangChange)="changeLanguage($event)"\n >\n </clr-multilingual-selector>\n <div class="clr-multi-input-wrapper">\n <div class="clr-textarea-wrapper">\n <textarea\n class="clr-textarea"\n [id]="inputId"\n [ngModel]="!!texts && !!selectedLang ? texts.get(selectedLang) : \'\'"\n (ngModelChange)="setText(selectedLang, $event)"\n (blur)="onTouch()"\n [disabled]="disabled"\n [readonly]="readonly || readonly === \'\'"\n [maxlength]="maxlength || null"\n #input\n ></textarea>\n <clr-icon *ngIf="showError" class="clr-validate-icon" shape="exclamation-circle" aria-hidden="true"></clr-icon>\n </div>\n <ng-content select="clr-control-helper" *ngIf="!showError"></ng-content>\n <ng-content select="clr-control-error" *ngIf="showError"></ng-content>\n </div>\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return Ee})),multi:!0},r.ɵbc]}]}],Ee.ctorParameters=function(){return[{type:e.Injector}]};var xe=function(){this.selectedLangChange=new e.EventEmitter};xe.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-selector",template:'\n <div>\n <clr-dropdown [clrCloseMenuOnItemClick]="true">\n <button\n type="button"\n class="btn btn-outline btn-sm clr-multilingual-button"\n clrDropdownTrigger\n [disabled]="disabled"\n >\n {{ selectedLang }}\n <clr-icon shape="caret down"></clr-icon>\n </button>\n <clr-dropdown-menu *clrIfOpen>\n <ng-container *ngFor="let text of texts | keyvalue">\n <div\n *ngIf="text.key !== selectedLang"\n class="clr-multilingual-dd-entry"\n clrDropdownItem\n (click)="selectedLangChange.emit(text.key)"\n >\n <span class="label">{{ text.key }}</span\n >{{ text.value }}\n </div>\n </ng-container>\n </clr-dropdown-menu>\n </clr-dropdown>\n </div>\n '}]}],xe.propDecorators={disabled:[{type:e.Input}],texts:[{type:e.Input}],selectedLang:[{type:e.Input}],selectedLangChange:[{type:e.Output}]};var ze=function(){};ze.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[He,Ee,Ae,we,xe],exports:[He,Ee,Ae,we,xe]}]}];var _e=function(){function t(t,e){this.zone=t,this.scheduler=e}return t.prototype.now=function(){return this.scheduler.now()},t.prototype.schedule=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.zone.runOutsideAngular((function(){return t.scheduler.schedule.apply(t.scheduler,e)}))},t}(),Ze=function(){function t(t,e){this.zone=t,this.scheduler=e}return t.prototype.now=function(){return this.scheduler.now()},t.prototype.schedule=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.zone.run((function(){return t.scheduler.schedule.apply(t.scheduler,e)}))},t}();function Oe(t,e){return i.timer(t,new _e(e,i.asyncScheduler)).pipe(o.observeOn(new Ze(e,i.asyncScheduler)))}var ke=function(){function t(t,n){var a=this;this.elementRef=t,this.ngZone=n,this.progressStatus=0,this.step=100,this._translate=0,this._height=0,this.heightInitalized=new Promise((function(t){a._heightInitalized=t})),this.timeout=2e3,this.notificationType="info",this.dismissable=!1,this.progressbar=!1,this.closed=new e.EventEmitter}return Object.defineProperty(t.prototype,"translate",{get:function(){return this._translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height+10},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t,e,n=this;Oe(0,this.ngZone).subscribe((function(){n._height=n.elementRef.nativeElement.children[0].offsetHeight,n._heightInitalized()})),this.timeout>0&&(this.progressbar&&(this.startTime=(new Date).getTime(),this.interval=(t=this.timeout/(this.timeout/this.step),e=this.ngZone,i.interval(t,new _e(e,i.asyncScheduler)).pipe(o.observeOn(new Ze(e,i.asyncScheduler)))).subscribe((function(){return n.updateProgressStatus()}))),this.timer=Oe(this.timeout,this.ngZone).subscribe((function(){return n.close()})))},t.prototype.updateProgressStatus=function(){this.progressStatus=(new Date).getTime()-this.startTime},t.prototype.close=function(){var t=this;this.interval&&this.interval.unsubscribe(),this.timer&&this.timer.unsubscribe(),this.clrAlert._closed=!1,this.state={value:"fadeOut",params:{absolute:this._translate}},Oe(300,this.ngZone).subscribe((function(){return t.closed.emit()}))},t.prototype.moveDown=function(t){this._translate+=t,this.state={value:"moveDown",params:{absolute:this._translate}},this.setCurrentPosition()},t.prototype.moveUp=function(t){this._translate-=t,this.state={value:"moveUp",params:{absolute:this._translate}},this.setCurrentPosition()},t.prototype.setCurrentPosition=function(){var t=this;Oe(300,this.ngZone).subscribe((function(){return t.state={value:"currentPosition",params:{absolute:t._translate}}}))},t}();ke.decorators=[{type:e.Component,args:[{selector:"clr-notification",template:'<div class="notification__wrapper" [@slideDown] [@move]="state" [@fade]="state">\n <div class="progress top" [ngClass]="notificationType" *ngIf="progressbar && timeout > 0">\n <progress class="progress" [max]="timeout" [value]="progressStatus"></progress>\n </div>\n <clr-alert\n [clrAlertType]="notificationType"\n [clrAlertAppLevel]="true"\n [clrAlertClosable]="dismissable"\n (clrAlertClosedChange)="close()"\n >\n <div class="alert-item">\n <span class="alert-text">\n <ng-content select="[clr-notification-message]"></ng-content>\n </span>\n </div>\n </clr-alert>\n</div>\n',animations:[l.trigger("slideDown",[l.transition(":enter",[l.style({transform:"translateY(-200%)"}),l.animate("0.5s",l.style({transform:"translateY(0%)"}))])]),l.trigger("move",[l.state("currentPosition",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.state("moveUp",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.state("moveDown",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.transition("* => moveDown",l.animate("0.3s")),l.transition("* => moveUp",l.animate("0.3s"))]),l.trigger("fade",[l.state("fadeOut",l.style({transform:"translateY({{absolute}}px)",opacity:0}),{params:{absolute:"0"}}),l.transition("* => fadeOut",l.animate("0.3s"))])],host:{"[class.notification]":"true"}}]}],ke.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone}]},ke.propDecorators={clrAlert:[{type:e.ViewChild,args:[r.ClrAlert,{static:!0}]}],timeout:[{type:e.Input}],notificationType:[{type:e.Input}],dismissable:[{type:e.Input}],progressbar:[{type:e.Input}],closed:[{type:e.Output}]};var Pe=function(){};Pe.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[ke],entryComponents:[ke]}]}];var Te="-",De=new Set([224,91,93]),Ne=new Set(["0","1","2","3","4","5","6","7","8","9"]),Re=function(){function t(t,n){this.renderer=t,this.inputEl=n,this.textAlign="right",this.decimalPlaces=2,this.roundValue=!1,this.autofillDecimals=!1,this.decimalSeparator=",",this.groupingSeparator=".",this.unit=null,this.unitPosition="right",this.numericValueChanged=new e.EventEmitter,this.displayValue="",this.originalValue=NaN,this.allowedKeys=new Set(Ne),this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"numericValue",{set:function(t){this._numericValue===t||isNaN(this._numericValue)&&(isNaN(t)||null===t)||(this.originalValue=t,this._numericValue=this.roundOrTruncate(t),this.handleInputChanged())},enumerable:!1,configurable:!0}),t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.renderer.setProperty(this.inputEl.nativeElement,"disabled",t)},t.prototype.writeValue=function(t){this.numericValue=t},t.prototype.ngOnInit=function(){var t=this;this.decimalPlaces=Number.parseInt(this.decimalPlaces.toString(),10),this.allowedKeys.add(Te),this.allowedKeys.add(this.decimalSeparator),this.inputChangeListener=this.renderer.listen(this.inputEl.nativeElement,"blur",(function(e){t.formatInput(e.target,!0)})),this.keyupListener=this.renderer.listen(this.inputEl.nativeElement,"keyup",(function(e){(8===e.keyCode||e.keyCode>=46&&!De.has(e.keyCode))&&t.formatInput(e.target,!1)})),this.keydownListener=this.renderer.listen(this.inputEl.nativeElement,"keydown",(function(e){var n=e.target.value;if(!(t.allowedKeys.has(e.key)||e.keyCode<=46&&e.keyCode>0||e.metaKey||e.ctrlKey||e.altKey))return!1;var a=n.indexOf(Te);if(e.key===Te&&(e.target.selectionStart>0||a>-1)&&(e.target.selectionStart===e.target.selectionEnd||!(a>=e.target.selectionStart&&a<=e.target.selectionEnd)))return!1;var r=n.indexOf(t.decimalSeparator);if(e.key===t.decimalSeparator&&(r>-1||0===t.decimalPlaces)&&(e.target.selectionStart===e.target.selectionEnd||!(r>=e.target.selectionStart&&r<=e.target.selectionEnd)))return!1;if(Ne.has(e.key)&&r>-1&&r<e.target.selectionStart&&e.target.selectionStart===e.target.selectionEnd&&n.length>r+t.decimalPlaces)return!1;var i=e.target.selectionStart;if(i===e.target.selectionEnd){if(8===e.keyCode&&n.substr(i-1,1)===t.groupingSeparator)return e.target.value=n.substring(0,i-2)+n.substring(i-1,n.length),e.target.selectionStart=e.target.selectionEnd=i-1,!1;if(46===e.keyCode&&n.substr(i,1)===t.groupingSeparator)return e.target.value=n.substring(0,i+1)+n.substring(i+2,n.length),e.target.selectionStart=e.target.selectionEnd=i+1,!1}return t.originalValue=NaN,!0}))},t.prototype.ngOnDestroy=function(){this.detachListener()},t.prototype.ngAfterViewChecked=function(){this.injectUnitSymbol()},t.prototype.handleInputChanged=function(){this.updateInput(this.formatNumber(this._numericValue.toString().replace(new RegExp("[.]","g"),this.decimalSeparator),!0),!0)},t.prototype.formatInput=function(t,e){var n=t.selectionStart,a=t.value.length,r=this.displayValue!==t.value;this.updateInput(this.formatNumber(t.value,e),!1),r&&(t.selectionStart=t.selectionEnd=Math.max(n+t.value.length-a,0))},t.prototype.formatNumber=function(t,e){for(var n=this.strip(t,e),a=n.indexOf(this.decimalSeparator),r=n[0]===Te,i=a>-1?a:n.length;i>(r?4:3);)i-=3,n=n.substring(0,i)+this.groupingSeparator+n.substring(i,n.length);if(e&&this.decimalPlaces>0&&n){var o=n.indexOf(this.decimalSeparator);if(this.autofillDecimals){-1===o&&(o=n.length,n+=this.decimalSeparator),o=(n=this.addMissingLeadingZero(n,o)).indexOf(this.decimalSeparator);for(var s=n.length-o-1,l=0;l<this.decimalPlaces-s;l++)n+="0"}else n=this.addMissingLeadingZero(n,o)}return n},t.prototype.addMissingLeadingZero=function(t,e){var n=t[0]===Te;return 0===e&&(t="0"+t),1===e&&n&&(t=t[0]+"0"+t.substring(1,t.length)),t},t.prototype.strip=function(t,e){var n,a;void 0===e&&(e=!1);var r="",i=-1,o=-1,s=0;try{for(var l=Se(t),c=l.next();!c.done;c=l.next()){var p=c.value;if(o++,this.allowedKeys.has(p)){if(p===this.decimalSeparator){if(0===this.decimalPlaces)break;if(i>-1)continue;i=o}if("0"===p&&e&&(0===r.length&&o+1!==t.length||r===Te)){s++;continue}if(p===Te&&o>0)break;if(i>-1&&r.length+s>i+this.decimalPlaces)break;r+=p}else{if(p!==this.groupingSeparator)break;-1===i&&s++}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return r},t.prototype.updateInput=function(t,e){var n=this;this.displayValue=t,this.inputEl.nativeElement.value=t,this._numericValue=parseFloat(this.strip(t).replace(this.decimalSeparator,".")),this._numericValue!==this.roundOrTruncate(this.originalValue)&&(this.originalValue=this._numericValue,e?setTimeout((function(){return n.numericValueChanged.emit(n._numericValue)})):this.numericValueChanged.emit(this._numericValue))},t.prototype.getValueForFormControl=function(){if(this.formatInput(this.inputEl.nativeElement,!1),!isNaN(this._numericValue))return this._numericValue},t.prototype.injectUnitSymbol=function(){if(this.unit&&!this.unitSpan&&0!==this.inputEl.nativeElement.offsetWidth){var t=this.inputEl.nativeElement.parentNode;if(this.renderer.addClass(t,"numeric-input-wrapper"),!this.unitSpan){this.unitSpan=this.renderer.createElement("span"),this.renderer.addClass(this.unitSpan,"unit");var e=this.renderer.createText(this.unit);this.renderer.appendChild(this.unitSpan,e),this.renderer.appendChild(t,this.unitSpan)}var n=this.unitSpan.offsetWidth+12;"left"===this.unitPosition?(this.renderer.addClass(this.unitSpan,"unit-left"),this.renderer.setStyle(this.inputEl.nativeElement,"padding-left",n+"px")):(this.renderer.addClass(this.unitSpan,"unit-right"),this.renderer.setStyle(this.inputEl.nativeElement,"padding-right",n+"px"))}},t.prototype.detachListener=function(){this.inputChangeListener&&(this.inputChangeListener(),delete this.inputChangeListener),this.keydownListener&&(this.keydownListener(),delete this.keydownListener),this.keyupListener&&(this.keyupListener(),delete this.keyupListener)},t.prototype.roundOrTruncate=function(t){var e=this.roundValue?"round":t<0?"ceil":"floor";return Math[e](t*Math.pow(10,this.decimalPlaces))/Math.pow(10,this.decimalPlaces)},t}();function Fe(t){return null==t||0===t.length}Re.decorators=[{type:e.Directive,args:[{selector:"[clrNumeric]",host:{"[class.text-right]":'textAlign === "right"',"(change)":"onChange(getValueForFormControl())","(input)":"onChange(getValueForFormControl())","(blur)":"onTouched()"},providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return Re})),multi:!0}]}]}],Re.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef}]},Re.propDecorators={textAlign:[{type:e.Input,args:["clrTextAlign"]}],decimalPlaces:[{type:e.Input,args:["clrDecimalPlaces"]}],roundValue:[{type:e.Input,args:["clrRoundDisplayValue"]}],autofillDecimals:[{type:e.Input,args:["clrAutofillDecimals"]}],decimalSeparator:[{type:e.Input,args:["clrDecimalSep"]}],groupingSeparator:[{type:e.Input,args:["clrGroupingSep"]}],unit:[{type:e.Input,args:["clrUnit"]}],unitPosition:[{type:e.Input,args:["clrUnitPosition"]}],numericValueChanged:[{type:e.Output,args:["clrNumericValueChange"]}],numericValue:[{type:e.Input,args:["clrNumericValue"]}]};var Be=function(){function t(){}return t.min=function(t,e,n){var a=this;void 0===e&&(e="."),void 0===n&&(n=",");return function(r){if(Fe(r.value)||Fe(t))return null;var i=a.parseInputString(r.value,e,n);return!isNaN(i)&&i<t?{min:{min:t,actual:i}}:null}},t.max=function(t,e,n){var a=this;void 0===e&&(e="."),void 0===n&&(n=",");return function(r){if(Fe(r.value)||Fe(t))return null;var i=a.parseInputString(r.value,e,n);return!isNaN(i)&&i>t?{max:{max:t,actual:i}}:null}},t.parseInputString=function(t,e,n){if("string"!=typeof t)return parseFloat(t);var a=t.replace(new RegExp("["+e+"]","g"),"").replace(new RegExp("["+n+"]","g"),".");return parseFloat(a)},t}(),je=function(){function t(){this._groupingSep=".",this._decimalSep=","}return t.prototype.validate=function(t){return Be.max(this._max,this._groupingSep,this._decimalSep)(t)},t}();je.decorators=[{type:e.Directive,args:[{selector:"[clrMaxNumeric]",providers:[{provide:a.NG_VALIDATORS,useExisting:je,multi:!0}]}]}],je.propDecorators={_max:[{type:e.Input,args:["clrMaxNumeric"]}],_groupingSep:[{type:e.Input,args:["clrGroupingSep"]}],_decimalSep:[{type:e.Input,args:["clrDecimalSep"]}]};var Ue=function(){function t(){this._groupingSep=".",this._decimalSep=","}return t.prototype.validate=function(t){return Be.min(this._min,this._groupingSep,this._decimalSep)(t)},t}();Ue.decorators=[{type:e.Directive,args:[{selector:"[clrMinNumeric]",providers:[{provide:a.NG_VALIDATORS,useExisting:Ue,multi:!0}]}]}],Ue.propDecorators={_min:[{type:e.Input,args:["clrMinNumeric"]}],_groupingSep:[{type:e.Input,args:["clrGroupingSep"]}],_decimalSep:[{type:e.Input,args:["clrDecimalSep"]}]};var qe=function(){};qe.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,r.ClrFormsModule,a.FormsModule],declarations:[Re,je,Ue],exports:[Re,je,Ue]}]}];var We=function(){this.clrPagerPosition="bottom",this.pageChange=new e.EventEmitter};We.decorators=[{type:e.Component,args:[{selector:"clr-paged-search-result-list",template:'<div class="clr-row">\n <clr-pager\n class="pager-top"\n *ngIf="clrPagerPosition === \'top\' || clrPagerPosition === \'both\'"\n [clrPage]="currentPage"\n [clrPageSize]="pageSize"\n [clrTotalItems]="totalItems"\n (clrPageChange)="pageChange.emit($event)"\n ></clr-pager>\n</div>\n<ng-container *ngFor="let item of items" [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{item: item}">\n <div *ngIf="!itemTemplate">Item template input is undefined!</div>\n</ng-container>\n<div class="clr-row">\n <clr-pager\n class="pager-bottom"\n *ngIf="clrPagerPosition === \'bottom\' || clrPagerPosition === \'both\'"\n [clrPage]="currentPage"\n [clrPageSize]="pageSize"\n [clrTotalItems]="totalItems"\n (clrPageChange)="pageChange.emit($event)"\n ></clr-pager>\n</div>\n'}]}],We.propDecorators={pageSize:[{type:e.Input,args:["clrPageSize"]}],currentPage:[{type:e.Input,args:["clrPage"]}],totalItems:[{type:e.Input,args:["clrTotalItems"]}],items:[{type:e.Input,args:["clrItems"]}],itemTemplate:[{type:e.ContentChild,args:[e.TemplateRef,{static:!0}]}],clrPagerPosition:[{type:e.Input,args:["clrPagerPosition"]}],pageChange:[{type:e.Output,args:["clrPageChange"]}]};var $e=function(){function t(){this.pageChange=new e.EventEmitter(!1),this._pageSize=0,this._totalItems=0,this._page=1}return Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},set:function(t){var e=this._pageSize;t!==e&&(this._pageSize=t,this._page=0===t?1:Math.floor(e/t*(this._page-1))+1,this.pageChange.emit(this._page))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalItems",{get:function(){return this._totalItems},set:function(t){this._totalItems=t,this.page>this.last&&(this.page=this.last)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._last?this._last:this.pageSize>0&&this.totalItems?Math.ceil(this.totalItems/this.pageSize):1},set:function(t){this._last=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){t!==this._page&&(this._page=t,this.pageChange.emit(t))},enumerable:!1,configurable:!0}),t.prototype.previous=function(){this.page>1&&this.page--},t.prototype.next=function(){this.page<this.last&&this.page++},Object.defineProperty(t.prototype,"middlePages",{get:function(){var t=[];return this.page>1&&t.push(this.page-1),t.push(this.page),this.page<this.last&&t.push(this.page+1),t},enumerable:!1,configurable:!0}),t}();$e.decorators=[{type:e.Component,args:[{selector:"clr-pager",template:'<div class="btn-group" *ngIf="last > 1">\n <button class="btn pagination-previous" (click)="previous()" [disabled]="page == 1">\n <clr-icon shape="angle left"></clr-icon>\n </button>\n <button *ngIf="page > 2" class="btn" (click)="page = 1">1</button>\n <button *ngIf="page > 3" class="btn" disabled>...</button>\n\n <ng-container *ngFor="let pageNum of middlePages">\n <button *ngIf="pageNum !== page; else activePage" class="btn" (click)="page = pageNum">{{pageNum}}</button>\n <ng-template #activePage>\n <button class="btn btn-primary" type="button">{{pageNum}}</button>\n </ng-template>\n </ng-container>\n\n <button *ngIf="page < last - 2" class="btn" disabled>...</button>\n <button *ngIf="page < last - 1" class="btn" (click)="page = last">{{last}}</button>\n <button class="btn pagination-next" (click)="next()" [disabled]="page == last">\n <clr-icon shape="angle right"></clr-icon>\n </button>\n</div>\n',host:{"[class.pager]":"true"}}]}],$e.propDecorators={pageChange:[{type:e.Output,args:["clrPageChange"]}],pageSize:[{type:e.Input,args:["clrPageSize"]}],totalItems:[{type:e.Input,args:["clrTotalItems"]}],last:[{type:e.Input,args:["clrLast"]}],page:[{type:e.Input,args:["clrPage"]}]};var Ge=function(){};Ge.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[$e],exports:[$e]}]}];var Ke=function(){};Ke.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule,Ge],declarations:[We],exports:[We]}]}];var Ye=function(){function t(t){this.changeDetectorRef=t,this.size="sm"}return Object.defineProperty(t.prototype,"showSpinner",{set:function(t){t?this.show():this.hide()},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){clearTimeout(this.hideTimeout)},t.prototype.show=function(){clearTimeout(this.hideTimeout),this._showSpinner=!0,this.startTimestamp=(new Date).getTime()},t.prototype.hide=function(){var t=this;this.hideTimeout=setTimeout((function(){t.startTimestamp=void 0,t._showSpinner=!1,t.changeDetectorRef.markForCheck()}),this.getRemainingVisibleTime())},t.prototype.getRemainingVisibleTime=function(){return Math.max(0,t.MINIMUM_VISIBLE_DURATION-this.getVisibleTime())},t.prototype.getVisibleTime=function(){return this.startTimestamp?(new Date).getTime()-this.startTimestamp:0},t}();Ye.MINIMUM_VISIBLE_DURATION=200,Ye.decorators=[{type:e.Component,args:[{selector:"clr-progress-spinner",template:"\n <ng-container *ngIf=\"_showSpinner\">\n <span [class]=\"'spinner-' + size + ' spinner'\"></span>\n <span> <ng-content></ng-content></span>\n </ng-container>\n ",host:{"[class.progress-spinner-overlay]":"_showSpinner"}}]}],Ye.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},Ye.propDecorators={size:[{type:e.Input,args:["clrSize"]}],showSpinner:[{type:e.Input,args:["clrShowSpinner"]}]};var Je=function(){};Je.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule],declarations:[Ye],exports:[Ye]}]}];var Qe={id:"-BLANK-",label:"- Select an option -",value:null},Xe=function(){function t(){this.mandatory=!1,this.allValues=[],this.excludedValues=[],this.valueChanged=new e.EventEmitter,this.remove=new e.EventEmitter}return Object.defineProperty(t.prototype,"selectedValue",{get:function(){return this.value.id},set:function(t){this.value=this.allValues.find((function(e){return e.id===t})),this.valueChanged.emit(this.value)},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){var t=this,e=this.excludedValues.filter((function(e){return e.id!==t.value.id})).map((function(t){return t.id}));return this.allValues.filter((function(t){return!e.includes(t.id)}))},t.prototype.trashDisabled=function(){return this.mandatory&&1===this.excludedValues.length},t.prototype.focusComponent=function(){this.select&&this.select.nativeElement.focus()},t}();Xe.decorators=[{type:e.Component,args:[{selector:"clr-add-option",template:'<div *ngIf="!(readonly || readonly === \'\'); else readonlyView" class="clr-select-wrapper quick-list-input">\n <select #select clr-select class="quick-list-select" name="options" [(ngModel)]="selectedValue">\n <option *ngIf="blankOption.id === selectedValue" [selected]="true" [disabled]="true" [ngValue]="blankOption.id">\n {{blankOption.label}}\n </option>\n <option *ngFor="let val of getValues()" [selected]="val.id === selectedValue" [ngValue]="val.id">\n {{val.label}}\n </option>\n </select>\n</div>\n\n<ng-template #readonlyView>\n <span>{{value.label}}</span>\n</ng-template>\n\n<button\n *ngIf="!(readonly || readonly === \'\')"\n type="button"\n class="btn btn-icon btn-link quick-list-trash"\n [disabled]="trashDisabled()"\n (click)="remove.emit()"\n>\n <clr-icon shape="trash"></clr-icon>\n</button>\n',host:{"[class.quick-list-option]":"true"}}]}],Xe.propDecorators={blankOption:[{type:e.Input}],value:[{type:e.Input}],mandatory:[{type:e.Input}],allValues:[{type:e.Input}],excludedValues:[{type:e.Input}],readonly:[{type:e.Input}],valueChanged:[{type:e.Output}],remove:[{type:e.Output}],select:[{type:e.ViewChild,args:["select",{static:!1}]}]};var tn=function(){function t(){this.blankOption=Qe,this.allValues=[this.blankOption],this.mandatory=!1,this.values=[],this.addLabel="ADD",this.controlClasses="clr-col-md-10",this.valuesChanged=new e.EventEmitter,this.emptyOptionAdded=new e.EventEmitter}return t.prototype.ngOnInit=function(){0===this.values.length&&this.mandatory&&this.values.push(this.blankOption)},t.prototype.onValueChanged=function(t,e){t&&(this.values[e]=t,this.valuesChanged.emit(this.values),this.focusOption(t))},t.prototype.onRemoveValue=function(t){this.values.splice(t,1),this.valuesChanged.emit(this.values)},t.prototype.addBlankOption=function(){this.hasBlankOption()||(this.values.push(this.blankOption),this.valuesChanged.emit(this.values),this.emptyOptionAdded.emit(),this.focusOption(this.blankOption))},t.prototype.focusOption=function(t){var e=this;setTimeout((function(){var n=e.options.find((function(e){return e.value.id===t.id}));n&&n.focusComponent()}))},t.prototype.hasBlankOption=function(){return this.values.map((function(t){return t.id})).includes(this.blankOption.id)},t.prototype.addNotPossible=function(){return this.hasBlankOption()||this.values.length===this.allValues.length},t}();tn.decorators=[{type:e.Component,args:[{selector:"clr-quick-list",host:{"[class.quick-list]":"true"},template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <ng-container *ngFor="let value of values; index as i">\n <clr-add-option\n [allValues]="allValues"\n [excludedValues]="values"\n (remove)="onRemoveValue(i)"\n [value]="value"\n (valueChanged)="onValueChanged($event, i)"\n [blankOption]="blankOption"\n [mandatory]="mandatory"\n [readonly]="readonly"\n >\n </clr-add-option>\n </ng-container>\n <button\n *ngIf="!(readonly || readonly === \'\')"\n type="button"\n class="btn btn-link btn-sm quick-list-add"\n (click)="addBlankOption()"\n [disabled]="addNotPossible()"\n >\n {{addLabel}}\n </button>\n</div>\n'}]}],tn.propDecorators={blankOption:[{type:e.Input,args:["clrBlankOption"]}],allValues:[{type:e.Input,args:["clrAllValues"]}],mandatory:[{type:e.Input,args:["clrMandatory"]}],values:[{type:e.Input,args:["clrValues"]}],addLabel:[{type:e.Input,args:["clrAddLabel"]}],controlClasses:[{type:e.Input,args:["clrControlClasses"]}],readonly:[{type:e.Input}],valuesChanged:[{type:e.Output,args:["clrValuesChanged"]}],emptyOptionAdded:[{type:e.Output,args:["clrEmptyOptionAdded"]}],options:[{type:e.ViewChildren,args:[Xe]}]};var en=function(){};en.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,a.FormsModule,r.ClarityModule,r.ClrFormsModule],declarations:[tn,Xe],exports:[tn,Xe]}]}];var nn=function(){function t(t,e,n){this.renderer=t,this.inputEl=e,this.ngControl=n,this.destroyed=new i.Subject}return t.prototype.ngOnInit=function(){var t=this;this.setHasValueClass(!!this.inputEl.nativeElement.value),this.ngControl?this.ngControl.valueChanges.pipe(o.takeUntil(this.destroyed)).subscribe((function(e){return t.setHasValueClass(!!e)})):this.keyupListener=this.renderer.listen(this.inputEl.nativeElement,"input",(function(e){return t.setHasValueClass(!!e.target.value)}))},t.prototype.ngAfterViewInit=function(){this.addClassToWrapper(this.inputEl.nativeElement.parentNode),this.injectSearchIcon(),this.injectDeleteIcon()},t.prototype.ngOnDestroy=function(){this.detachListener(),this.destroyed.next(),this.destroyed.complete()},t.prototype.clearSearchInput=function(){this.renderer.setProperty(this.inputEl.nativeElement,"value",""),this.setHasValueClass(!1);var t=document.createEvent("Event");t.initEvent("input",!1,!1),this.inputEl.nativeElement.dispatchEvent(t)},t.prototype.setHasValueClass=function(t){t?this.renderer.addClass(this.inputEl.nativeElement.parentNode,"has-value"):this.renderer.removeClass(this.inputEl.nativeElement.parentNode,"has-value")},t.prototype.injectDeleteIcon=function(){var t=this,e=this.inputEl.nativeElement.parentNode;this.deleteSymbol||(this.deleteButton=this.renderer.createElement("button"),this.renderer.setAttribute(this.deleteButton,"type","button"),this.renderer.addClass(this.deleteButton,"btn"),this.renderer.addClass(this.deleteButton,"btn-link"),this.renderer.addClass(this.deleteButton,"btn-icon"),this.renderer.addClass(this.deleteButton,"delete-button"),this.deleteButton.addEventListener("click",(function(){return t.clearSearchInput()})),this.deleteSymbol=this.renderer.createElement("clr-icon"),this.renderer.setAttribute(this.deleteSymbol,"shape","times"),this.renderer.appendChild(this.deleteButton,this.deleteSymbol),this.renderer.appendChild(e,this.deleteButton))},t.prototype.injectSearchIcon=function(){var t=this.inputEl.nativeElement.parentNode;this.searchSymbol||(this.searchSymbol=this.renderer.createElement("clr-icon"),this.renderer.addClass(this.searchSymbol,"search-symbol"),this.renderer.setAttribute(this.searchSymbol,"shape","search"),this.renderer.insertBefore(t,this.searchSymbol,this.inputEl.nativeElement))},t.prototype.addClassToWrapper=function(t){this.renderer.addClass(t,"search-input-wrapper")},t.prototype.detachListener=function(){this.keyupListener&&(this.keyupListener(),delete this.keyupListener)},t}();nn.decorators=[{type:e.Directive,args:[{selector:"[clrSearch]",host:{"[class.search-input]":"true"}}]}],nn.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef},{type:a.NgControl}]};var an=function(){};an.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[nn],exports:[nn]}]}];var rn=function(){function t(t,e){var n=this;this.smartToggleService=t,this.zone=e,this.empty=!1,this.smartPosition={axis:r.ClrAxis.HORIZONTAL,side:r.ClrSide.AFTER,anchor:r.ClrAlignment.CENTER,content:r.ClrAlignment.CENTER},this.destroyed$=new i.Subject,this.smartToggleService.openChange.pipe(o.takeUntil(this.destroyed$.asObservable())).subscribe((function(t){t&&n.focusFirstButton()}))}return t.prototype.focusFirstButton=function(){this.zone.runOutsideAngular((function(){return setTimeout((function(){var t=document.querySelector("button.action-item");t&&t.focus()}))}))},t.prototype.closeOverflowContent=function(t){this.smartToggleService.toggleWithEvent(t)},t.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},t}();rn.decorators=[{type:e.Component,args:[{selector:"clr-tt-action-overflow",providers:[r.ClrPopoverToggleService,r.ClrPopoverEventsService,r.ClrPopoverPositionService],template:'\n <ng-container *ngIf="!empty">\n <button class="treetable-action-trigger" clrPopoverAnchor clrPopoverOpenCloseButton>\n <clr-icon shape="ellipsis-vertical"></clr-icon>\n </button>\n <div\n class="datagrid-action-overflow"\n clrFocusTrap\n (click)="closeOverflowContent($event)"\n *clrPopoverContent="false; at: smartPosition; outsideClickToClose: true; scrollToClose: true"\n >\n <ng-content></ng-content>\n </div>\n </ng-container>\n ',host:{"[class.treetable-row-actions]":"true","[class.treetable-cell]":"true",role:"cell"}}]}],rn.ctorParameters=function(){return[{type:r.ClrPopoverToggleService},{type:e.NgZone}]},rn.propDecorators={empty:[{type:e.Input}]};var on=function(){function t(t){this.changeDetectorRef=t,this.expanded=!1,this.clickable=!0,this.hasActionOverflow=new e.EventEmitter,this.showActionOverflow=!1,this.showEmptyActionOverflow=!1,this.expandable=!1}return Object.defineProperty(t.prototype,"clrExpandable",{set:function(t){var e=this;setTimeout((function(){e.expandable=t,e.changeDetectorRef.markForCheck()}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionOverflow",{set:function(t){this.showActionOverflow=!!t,this.showEmptyActionOverflow=!this.showActionOverflow,this.hasActionOverflow.emit(this.showActionOverflow)},enumerable:!1,configurable:!0}),t.prototype.toggleExpand=function(){this.expandable&&(this.expanded=!this.expanded)},t.prototype.onRowClick=function(t){this.clickable&&!t.target.closest(".treetable-action-trigger")&&this.toggleExpand()},t.prototype.onCaretClick=function(){this.clickable||this.toggleExpand()},t.prototype.isExpandable=function(){return this.expandable},t}();on.decorators=[{type:e.Component,args:[{selector:"clr-tt-row",template:'\x3c!--\n ~ Copyright (c) 2018-2021 Porsche Informatik. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n --\x3e\n\n<div\n [ngClass]="{\'clr-row-clickable\': clickable && expandable}"\n class="clr-tt-node-content treetable-row"\n (click)="onRowClick($event)"\n>\n <ng-content select="clr-tt-action-overflow"></ng-content>\n <clr-tt-action-overflow *ngIf="showActionOverflow && showEmptyActionOverflow" [empty]="true"></clr-tt-action-overflow>\n <div class="treetable-scrolling-cells">\n <div class="treetable-expandable-caret" *ngIf="isExpandable()">\n <button type="button" class="treetable-expandable-caret-button" (click)="onCaretClick()">\n <clr-icon\n shape="caret"\n [attr.dir]="expanded ? \'down\' : \'right\'"\n class="treetable-expandable-caret-icon"\n ></clr-icon>\n </button>\n </div>\n\n <ng-content select="clr-tt-cell"></ng-content>\n </div>\n</div>\n<div [@collapseExpandAnimation]="expanded">\n <ng-content select="clr-tt-row"></ng-content>\n</div>\n',host:{"[class.treetable-row-wrapper]":"true"},animations:[l.trigger("collapseExpandAnimation",[l.state("false",l.style({display:"none"})),l.state("true",l.style({display:"block"})),l.transition("false => true",[l.style({opacity:0,height:0,overflow:"hidden",display:"block"}),l.animate("300ms",l.style({opacity:1,height:"*"}))]),l.transition("true => false",[l.style({opacity:1,height:"*",overflow:"hidden"}),l.animate("300ms",l.style({opacity:0,height:0}))])])]}]}],on.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},on.propDecorators={expanded:[{type:e.Input,args:["clrExpanded"]}],clickable:[{type:e.Input,args:["clrClickable"]}],clrExpandable:[{type:e.Input,args:["clrExpandable"]}],hasActionOverflow:[{type:e.Output}],actionOverflow:[{type:e.ContentChild,args:[rn]}]};var sn=function(){};sn.decorators=[{type:e.Component,args:[{selector:"clr-tt-column",template:"<ng-content></ng-content>",host:{"[class.treetable-column]":"true",role:"columnheader"}}]}];var ln=function(){function t(){this.clrClickableRows=!0,this.hideHeader=!1,this.empty=!0,this.hasActionOverflow=!1,this.destroyed$=new i.Subject}return Object.defineProperty(t.prototype,"ttRows",{set:function(t){this._ttRows=t,this.initClickableRows(),this.initEmpty(),this.initActionOverflow()},enumerable:!1,configurable:!0}),t.prototype.initClickableRows=function(){var t=this;this._ttRows&&this._ttRows.forEach((function(e){e.clickable=t.clrClickableRows}))},t.prototype.initEmpty=function(){this.empty=0===this._ttRows.length},t.prototype.initActionOverflow=function(){var t=this;this._ttRows.forEach((function(e){t.setActionOverflow(e.showActionOverflow),e.hasActionOverflow.pipe(o.takeUntil(t.destroyed$)).subscribe((function(e){t.setActionOverflow(e)}))}))},t.prototype.setActionOverflow=function(t){this.hasActionOverflow=this.hasActionOverflow||t,this.hasActionOverflow&&this._ttRows.forEach((function(t){return t.showActionOverflow=!0}))},t.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},t}();ln.decorators=[{type:e.Component,args:[{selector:"clr-treetable",template:'\x3c!--\n ~ Copyright (c) 2018-2021 Porsche Informatik. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n --\x3e\n\n<div class="treetable">\n <div class="treetable-grid" role="grid">\n <div class="treetable-header" role="rowgroup" [class.hide-header]="hideHeader">\n <div *ngIf="hasActionOverflow" class="treetable-row-actions treetable-column"> </div>\n <div class="treetable-row-scrollable" role="row">\n <ng-content select="clr-tt-column"></ng-content>\n </div>\n </div>\n <div class="treetable-body">\n <ng-content select="clr-tt-row"></ng-content>\n <ng-content select="clr-tt-placeholder"></ng-content>\n </div>\n </div>\n</div>\n',host:{"[class.empty]":"empty","[class.treetable-host]":"true"}}]}],ln.propDecorators={clrClickableRows:[{type:e.Input}],hideHeader:[{type:e.Input,args:["clrHideHeader"]}],ttColumns:[{type:e.ContentChildren,args:[sn,{descendants:!0}]}],ttRows:[{type:e.ContentChildren,args:[on,{descendants:!0}]}]};var cn=function(){};cn.decorators=[{type:e.Component,args:[{selector:"clr-tt-cell",template:"<ng-content></ng-content>",host:{"[class.treetable-cell]":"true",role:"cell"}}]}];var pn=function(){};pn.decorators=[{type:e.Component,args:[{selector:"clr-tt-placeholder",template:'\n <div class="treetable-placeholder treetable-empty">\n <div class="treetable-placeholder-image"></div>\n <ng-content></ng-content>\n </div>\n ',host:{"[class.treetable-placeholder-container]":"true"}}]}];var un=function(){function t(t,e){this.el=t,this.renderer=e}return t.prototype.getWidth=function(){return this.el.nativeElement.clientWidth},t.prototype.getColumnClasses=function(){var t=[];return this.el.nativeElement.classList.forEach((function(e){-1!==e.indexOf("clr-col")&&t.push(e)})),t},t.prototype.setDefaultColumnClass=function(){this.renderer.addClass(this.el.nativeElement,"clr-col")},t}();un.decorators=[{type:e.Directive,args:[{selector:"clr-tt-column"}]}],un.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var hn=function(){function t(t,e){this.el=t,this.renderer=e}return t.prototype.setColumnClasses=function(t){var e=this;t.forEach((function(t){e.renderer.addClass(e.el.nativeElement,t)}))},t.prototype.setMaxWidth=function(t){this.renderer.setStyle(this.el.nativeElement,"max-width",t+"px")},t}();hn.decorators=[{type:e.Directive,args:[{selector:"clr-tt-cell"}]}],hn.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var dn=function(){};dn.decorators=[{type:e.Directive,args:[{selector:"clr-tt-row"}]}],dn.propDecorators={cells:[{type:e.ContentChildren,args:[hn]}]};var mn=function(){function t(){this.shouldStabilizeColumn=!0}return t.prototype.onResize=function(){this.applyMaxWidth()},t.prototype.ngAfterContentInit=function(){var t=this;this.headers.changes.subscribe((function(){t.shouldStabilizeColumn=!0})),this.rows.changes.subscribe((function(){t.shouldStabilizeColumn=!0}))},t.prototype.ngAfterViewChecked=function(){var t=this;this.shouldStabilizeColumn&&(this.applyColumnClasses(),setTimeout((function(){t.applyMaxWidth()}),10))},t.prototype.applyColumnClasses=function(){var t=this;this.shouldStabilizeColumn=!1,this.headers.forEach((function(e,n){var a=e.getColumnClasses();0===a.length?(e.setDefaultColumnClass(),t.rows.forEach((function(t){var e=t.cells.find((function(t,e){return e===n}));e&&e.setColumnClasses(["clr-col"])}))):t.rows.forEach((function(t){var e=t.cells.find((function(t,e){return e===n}));e&&e.setColumnClasses(a)}))}))},t.prototype.applyMaxWidth=function(){var t=this;if(this.headers.first){var e=this.headers.first.getWidth();0===e?setTimeout((function(){t.applyMaxWidthOnEachRow(t.headers.first.getWidth())}),100):this.applyMaxWidthOnEachRow(e)}},t.prototype.applyMaxWidthOnEachRow=function(t){this.rows.forEach((function(e){e.cells.first.setMaxWidth(t)}))},t}();mn.decorators=[{type:e.Directive,args:[{selector:"clr-treetable"}]}],mn.propDecorators={headers:[{type:e.ContentChildren,args:[un]}],rows:[{type:e.ContentChildren,args:[dn,{descendants:!0}]}],columns:[{type:e.ContentChildren,args:[sn]}],onResize:[{type:e.HostListener,args:["window:resize"]}]};var vn=[ln,on,cn,sn,pn,rn,mn,un,dn,hn],gn=function(){};gn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule],declarations:[vn],exports:[vn]}]}];var fn=function(){function t(){this._saveText="Save",this._preventSave=!1,this._cancelText="Cancel",this._editable=!0,this._editMode=!1,this._editIcon="pencil",this._editModeChanged=new e.EventEmitter(!1),this._submitted=new e.EventEmitter(!1),this._cancelled=new e.EventEmitter(!1)}return t.prototype.onSubmit=function(){this._submitted.emit(),this._preventSave||this.setEditMode(!1)},t.prototype.onCancel=function(){this._cancelled.emit(),this.setEditMode(!1)},t.prototype.onEdit=function(){this.setEditMode(!0)},t.prototype.setEditMode=function(t){this._editMode=t,this._editModeChanged.emit(this._editMode)},t}();fn.decorators=[{type:e.Component,args:[{selector:"clr-view-edit-section",template:'<div class="card view-edit-section" (keyup.escape)="onCancel()">\n <div class="card-block">\n <div class="card-title">\n {{_title}}\n <div class="ves-actions">\n <button\n type="button"\n (click)="onEdit()"\n class="btn btn-icon btn-link ves-action"\n *ngIf="_editable && !_editMode && actionBlock.children.length == 0"\n >\n <clr-icon class="ves-edit-icon" [attr.shape]="_editIcon" size="20"></clr-icon>\n </button>\n <div #actionBlock>\n <ng-content select="[action-block]"></ng-content>\n </div>\n </div>\n </div>\n <div class="card-text">\n <ng-template [ngTemplateOutlet]="viewRef" *ngIf="!_editMode"></ng-template>\n <ng-template [ngTemplateOutlet]="editRef" *ngIf="_editMode"></ng-template>\n <ng-container *ngIf="_editMode">\n <form clrForm (ngSubmit)="onSubmit()" class="button-bar">\n <button class="btn btn-primary ves-save" type="submit">{{_saveText}}</button>\n <button class="btn ves-cancel" (click)="onCancel()" type="button">{{_cancelText}}</button>\n </form>\n </ng-container>\n </div>\n </div>\n</div>\n'}]}],fn.propDecorators={_title:[{type:e.Input,args:["clrTitle"]}],_saveText:[{type:e.Input,args:["clrSaveText"]}],_preventSave:[{type:e.Input,args:["clrPreventModeChangeOnSave"]}],_cancelText:[{type:e.Input,args:["clrCancelText"]}],_editable:[{type:e.Input,args:["clrEditable"]}],_editMode:[{type:e.Input,args:["clrEditMode"]}],_editIcon:[{type:e.Input,args:["clrEditIcon"]}],viewRef:[{type:e.Input,args:["clrViewRef"]}],editRef:[{type:e.Input,args:["clrEditRef"]}],_editModeChanged:[{type:e.Output,args:["clrEditModeChange"]}],_submitted:[{type:e.Output,args:["clrSectionSubmitted"]}],_cancelled:[{type:e.Output,args:["clrSectionEditCancelled"]}]};var yn=function(){};yn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule,r.ClrFormsModule],declarations:[fn],exports:[fn]}]}];var Cn=function(){function t(){this.cookieSettings$=new i.BehaviorSubject([]),this.cookieName="clr.history",this.cookieNameSettings="clr.history.settings",this.maxSize=1024,this.maxUrlSize=256,this.expiryDate=new Date,this.expiryDate.setTime(this.expiryDate.getTime()+31536e6)}return t.prototype.addHistoryEntry=function(t,e){this.removeFromHistory(t);var n=this.getHistory(t.username,t.context);return!!(t.url&&t.url.length<this.maxUrlSize)&&(n.push(t),n=n.slice(-4),this.setHistory(n,e),!0)},t.prototype.getHistoryDisplay=function(t,e){var n=this.getHistory(t,e);if(n.length>0){for(var a=n[n.length-1].title,r=[],i=[],o=n.length-1;o>=0&&i.length<4;o--)i.includes(n[o].title)||n[o].title===a||(i.push(n[o].title),r.push(n[o]));return r.reverse()}return n},t.prototype.getHistory=function(t,e){var n=this,a=this.getCookieByName(this.cookieName);return a?a.filter((function(a){return n.checkEqualContext(a,e)&&a.username===t})):[]},t.prototype.setHistory=function(t,e){t&&0!==t.length?((t=this.reduceSize(t))&&t.length>0&&t.forEach((function(t){t.title=encodeURI(t.title),t.pageName=encodeURI(t.pageName)})),this.setCookie(this.cookieName,this.encode(t),e)):this.setCookie(this.cookieName,this.encode([]),e)},t.prototype.reduceSize=function(t){if(JSON.stringify(t).length>this.maxSize){var e=[];do{for(var n=0;n<t.length;n++)e.push(t[n])}while(JSON.stringify(e).length<this.maxSize);return e}return t},t.prototype.resetHistory=function(){this.setHistory(null)},t.prototype.removeFromHistory=function(t){var e=this,n=this.getHistory(t.username,t.context);n=n.filter((function(n){return!(n.title===t.title&&n.username===t.username&&e.checkEqualContext(n,t.context))})),this.setHistory(n)},t.prototype.checkEqualContext=function(t,e){var n=!1;return t&&e&&Object.keys(e).forEach((function(a){n=t.context[a]===e[a]})),n},t.prototype.initializeCookieSettings=function(t,e){var n=this.getCookieByName(this.cookieNameSettings);n&&0!==n.length||(this.setHistoryPinned(t,!1,e),n=[{username:t,historyPinned:!1}]),this.cookieSettings$.next(n)},t.prototype.setHistoryPinned=function(t,e,n){var a=this.getCookieByName(this.cookieNameSettings),r=a.find((function(e){return e.username===t}));r?r.historyPinned=e:a.push({username:t,historyPinned:e}),this.cookieSettings$.next(a),this.setCookie(this.cookieNameSettings,JSON.stringify(a),n)},t.prototype.getCookieByName=function(t){var e=this,n=document.cookie.split(";").map((function(t){return t.trim()})).filter((function(e){return e.substring(0,t.length+1)===t+"="})).map((function(n){return t===e.cookieName?e.decode(n.substring(t.length+1)):JSON.parse(n.substring(t.length+1))}))[0]||[];return n&&n.length>0&&n.forEach((function(t){t.title&&(t.title=decodeURI(t.title)),t.pageName&&(t.pageName=decodeURI(t.pageName))})),n},t.prototype.encode=function(t){return btoa(encodeURIComponent(JSON.stringify(t))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"!")},t.prototype.decode=function(t){try{var e=t.replace(/-/g,"+").replace(/_/g,"/").replace(/!/g,"=");return JSON.parse(decodeURIComponent(atob(e)))}catch(t){return[]}},t.prototype.setCookie=function(t,e,n){document.cookie=t+"="+e+";domain="+(n||this.getDomain())+";expires="+this.expiryDate.toUTCString()+";path=/"},t.prototype.getDomain=function(){var t=window.location.hostname.split(".");return 1===t.length?t[0]:(t.shift(),t.join("."))},t}();Cn.decorators=[{type:e.Injectable}],Cn.ctorParameters=function(){return[]};var bn=function(){function t(t){this.historyService=t,this.pinActive=!0,this.dropdownHeader="History",this.dropdownPin="Pin History",this.dropdownUnpin="Unpin History",this.position="bottom-right",this.historyElements=[],this.pinActivated=!1}return t.prototype.ngOnInit=function(){var t=this;this.historyElements=this.historyService.getHistoryDisplay(this.username,this.context),this.historyService.initializeCookieSettings(this.username,this.domain),this.historyService.cookieSettings$.subscribe((function(e){t.pinActivated=e.find((function(e){return e.username===t.username})).historyPinned}))},t.prototype.select=function(t){window.location.href=t.url},t.prototype.togglePinHistory=function(){this.historyService.setHistoryPinned(this.username,!this.pinActivated)},t}();bn.decorators=[{type:e.Component,args:[{selector:"clr-history",template:'<clr-dropdown>\n <button type="button" class="btn btn-icon btn-link" clrDropdownTrigger>\n <clr-icon shape="history" size="24"></clr-icon>\n <clr-icon shape="caret down" size="12"></clr-icon>\n </button>\n <clr-dropdown-menu [clrPosition]="position" *clrIfOpen>\n <label class="dropdown-header" aria-hidden="true">{{dropdownHeader}}</label>\n <button type="button" clrDropdownItem *ngFor="let history of historyElements" (click)="select(history)">\n {{history.title}}\n </button>\n <div *ngIf="pinActive" class="dropdown-divider" role="separator" aria-hidden="true"></div>\n <button clrDropdownItem (click)="togglePinHistory()">\n <span *ngIf="pinActive && !pinActivated">{{dropdownPin}}</span>\n <span *ngIf="pinActive && pinActivated">{{dropdownUnpin}}</span>\n </button>\n </clr-dropdown-menu>\n</clr-dropdown>\n'}]}],bn.ctorParameters=function(){return[{type:Cn}]},bn.propDecorators={username:[{type:e.Input,args:["clrUsername"]}],context:[{type:e.Input,args:["clrContext"]}],pinActive:[{type:e.Input,args:["clrPinActive"]}],dropdownHeader:[{type:e.Input,args:["clrDropdownHeader"]}],dropdownPin:[{type:e.Input,args:["clrDropdownPin"]}],dropdownUnpin:[{type:e.Input,args:["clrDropdownUnpin"]}],domain:[{type:e.Input,args:["clrDomain"]}],position:[{type:e.Input,args:["clrPosition"]}]};var Ln=function(){function t(t){this.historyService=t,this.historyElements=[],this.active=!1}return t.prototype.ngOnInit=function(){var t=this;this.historyElements=this.historyService.getHistoryDisplay(this.username,this.context),this.historyService.initializeCookieSettings(this.username,this.domain),this.settingsSubscription=this.historyService.cookieSettings$.subscribe((function(e){var n=e.find((function(e){return e.username===t.username}));n&&(t.active=n.historyPinned)}))},t.prototype.ngOnDestroy=function(){this.settingsSubscription.unsubscribe()},t}();Ln.decorators=[{type:e.Component,args:[{selector:"clr-history-pinned",template:'<nav aria-label="history" class="history-container" *ngIf="historyElements.length && active">\n <ol class="history">\n <ng-container *ngFor="let historyItem of historyElements">\n <li *ngIf="historyItem.url" class="history-item">\n <a [href]="historyItem.url">{{historyItem.title}}</a>\n </li>\n </ng-container>\n </ol>\n</nav>\n'}]}],Ln.ctorParameters=function(){return[{type:Cn}]},Ln.propDecorators={username:[{type:e.Input,args:["clrUsername"]}],context:[{type:e.Input,args:["clrContext"]}],domain:[{type:e.Input,args:["clrDomain"]}]};var Sn=function(){};Sn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,s.RouterModule],declarations:[bn,Ln],exports:[bn,Ln]}]}];var Mn=function(){};Mn.decorators=[{type:e.Directive,args:[{selector:"input:not([autocomplete])",host:{"[attr.autocomplete]":'"off"'}}]}];var An,wn=function(){};wn.decorators=[{type:e.NgModule,args:[{declarations:[Mn],exports:[Mn]}]}],t.AcceptedBrands=void 0,(An=t.AcceptedBrands||(t.AcceptedBrands={}))[An.AUDI=0]="AUDI",An[An.CUPRA=1]="CUPRA",An[An.DWA=2]="DWA",An[An.PORSCHE=3]="PORSCHE",An[An.SEAT=4]="SEAT",An[An.SKODA=5]="SKODA",An[An.VW=6]="VW",An[An.VWN=7]="VWN";var In=function(){function e(){this.avatar=!0}return e.prototype.getShape=function(){var n=e.getCleanBrandName(this.brand);return n in t.AcceptedBrands?"brand-"+n.toLowerCase():e.DEFAULT_ICON_SHAPE},e.getCleanBrandName=function(t){var e=""+t;return e=(e=(e=(e=(e=(e=(e=(e=e.replace(/ /g,"")).replace(/-/g,"")).replace(/_/g,"")).toUpperCase()).replace("VOLKSWAGEN","VW")).replace("NUTZFAHRZEUGE","N")).replace("DASWELTAUTO","DWA")).replace("Š","S")},e}();In.DEFAULT_ICON_SHAPE="new-car-private",In.decorators=[{type:e.Component,args:[{selector:"clr-brand-avatar",template:'<div class="brand-avatar-rectangle">\n <div #avatar class="brand-avatar-icon-container">\n <clr-icon [attr.size]="23" [attr.shape]="getShape()"></clr-icon>\n </div>\n</div>\n'}]}],In.propDecorators={avatar:[{type:e.HostBinding,args:["class.clr-brand-avatar"]}],brand:[{type:e.Input,args:["clrBrand"]}],avatarElement:[{type:e.ViewChild,args:["avatar",{static:!0}]}]};var Vn=function(){};Vn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule],declarations:[In],exports:[In]}]}];var Hn=function(){};Hn.decorators=[{type:e.NgModule,args:[{exports:[yn,Ge,x,Ke,f,v,Ce,S,Pe,_,h,qe,an,gn,Je,H,en,me,ze,O,w,he,Sn,wn,Vn]}]}];var En=function(){},xn=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},zn=function(){function t(t,e){var n=this;this._notificationCmptRef=t,this._contentRef=e,t.instance.closed.pipe(o.take(1)).subscribe((function(){n.close()})),this.result=new Promise((function(t){n._resolve=t})),this.result.then(null)}return t.prototype.close=function(){this._notificationCmptRef&&(this._resolve(),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._notificationCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._notificationCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._notificationCmptRef=null,this._contentRef=null},t}(),_n=function(){function t(t,e,n,a){this._injector=t,this._applicationRef=e,this._componentFactoryResolver=n,this._document=a,this.elements=new Set}return t.prototype.openNotification=function(t,e){var n=this;void 0===e&&(e={});var a=this._getContentRef(t,e),r=this._attachWindowComponent(this._document.body,a),i=new zn(r,a);return this._applyWindowOptions(r.instance,e),r.instance.closed.pipe(o.take(1)).subscribe(this._afterClose.bind(this,r.instance)),r.instance.heightInitalized.then((function(){return n.elements.forEach((function(t){t!==r.instance&&t.moveDown(r.instance.height)}))})),this.elements.add(r.instance),i},t.prototype._afterClose=function(t){this.elements.delete(t),this.elements.forEach((function(e){e.translate>t.translate&&e.moveUp(t.height)}))},t.prototype._getContentRef=function(t,n){return t instanceof e.TemplateRef?this._createFromTemplateRef(t,n.ngTemplateOutletContext):"string"==typeof t?this._createFromString(t):new xn([])},t.prototype._createFromTemplateRef=function(t,e){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new xn([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(""+t);return new xn([[e]])},t.prototype._attachWindowComponent=function(t,e){var n=this._componentFactoryResolver.resolveComponentFactory(ke).create(this._injector,e.nodes);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n},t.prototype._applyWindowOptions=function(t,e){null!=e.timeout&&null!=e.timeout&&(t.timeout=e.timeout),null!=e.notificationType&&null!=e.notificationType&&(t.notificationType=e.notificationType),null!=e.dismissable&&null!=e.dismissable&&(t.dismissable=e.dismissable),null!=e.progressbar&&null!=e.progressbar&&(t.progressbar=e.progressbar)},t}();_n.decorators=[{type:e.Injectable}],_n.ctorParameters=function(){return[{type:e.Injector},{type:e.ApplicationRef},{type:e.ComponentFactoryResolver},{type:Document,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]}]};var Zn=new Map([["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["/","/"]]);t.ACShape=zt,t.AccessoriesShape=xt,t.AccessoryPartsShape=Bt,t.AudiBrandShape=Ot,t.AwardWinnerPremiumShape=jt,t.BrochureShape=Ut,t.BusinessCustomersCommercialShape=qt,t.BusinessCustomersPrivateShape=Wt,t.CLR_BLANK_OPTION=Qe,t.CaliforniaServiceShape=$t,t.CaliforniaSpecialistShape=Et,t.CarPickupServiceShape=Ht,t.CarWashShape=Vt,t.CertifiedRepairShape=It,t.CertifiedRetailerShape=wt,t.ClrActiveNotification=En,t.ClrAddonsIconShapes=pe,t.ClrAddonsIconsModule=he,t.ClrAddonsModule=Hn,t.ClrBackButton=u,t.ClrBackButtonModule=h,t.ClrBrandAvatar=In,t.ClrBrandAvatarModule=Vn,t.ClrBreadcrumb=m,t.ClrBreadcrumbModule=v,t.ClrBreadcrumbService=d,t.ClrCollapseExpandSection=g,t.ClrCollapseExpandSectionModule=f,t.ClrContentPanel=y,t.ClrContentPanelContainer=C,t.ClrContentPanelContainerContent=b,t.ClrContentPanelContainerFooter=L,t.ClrContentPanelModule=S,t.ClrContentRef=xn,t.ClrDataListPredefinedValidatorDirective=A,t.ClrDataListValidatorModule=w,t.ClrDataListValidators=M,t.ClrDateTimeContainer=I,t.ClrDateTimeModule=H,t.ClrDotPager=E,t.ClrDotPagerModule=x,t.ClrFlowBar=z,t.ClrFlowBarModule=_,t.ClrGenericQuickList=Z,t.ClrGenericQuickListModule=O,t.ClrHistory=bn,t.ClrHistoryModule=Sn,t.ClrHistoryPinned=Ln,t.ClrHistoryService=Cn,t.ClrLetterAvatar=de,t.ClrLetterAvatarModule=me,t.ClrMainNavGroup=ye,t.ClrMainNavGroupItem=ve,t.ClrMainNavGroupModule=Ce,t.ClrMaxNumeric=je,t.ClrMinNumeric=Ue,t.ClrMultilingualInput=He,t.ClrMultilingualInputValidators=Me,t.ClrMultilingualModule=ze,t.ClrMultilingualSelector=xe,t.ClrMultilingualTextarea=Ee,t.ClrNotification=ke,t.ClrNotificationModule=Pe,t.ClrNotificationRef=zn,t.ClrNotificationService=_n,t.ClrNumericField=Re,t.ClrNumericFieldModule=qe,t.ClrNumericFieldValidators=Be,t.ClrPagedSearchResultList=We,t.ClrPagedSearchResultListModule=Ke,t.ClrPager=$e,t.ClrPagerModule=Ge,t.ClrProgressSpinnerComponent=Ye,t.ClrProgressSpinnerModule=Je,t.ClrQuickList=tn,t.ClrQuickListModule=en,t.ClrRequiredAllMultilang=we,t.ClrRequiredOneMultilang=Ae,t.ClrSearchField=nn,t.ClrSearchFieldModule=an,t.ClrTimeInput=V,t.ClrTreetable=ln,t.ClrTreetableActionOverflow=rn,t.ClrTreetableCell=cn,t.ClrTreetableColumn=sn,t.ClrTreetableModule=gn,t.ClrTreetablePlaceholder=pn,t.ClrTreetableRow=on,t.ClrViewEditSection=fn,t.ClrViewEditSectionModule=yn,t.ConfiguratorCommercialShape=At,t.ConfiguratorPrivateShape=Mt,t.ConsumptionShape=St,t.ContactDealerShape=Lt,t.CupraBrandShape=kt,t.CustomersCenterShape=bt,t.DWABrandShape=Pt,t.DieselShape=Gt,t.DriversAssistanceShape=Ct,t.EfficiencyShape=yt,t.ElectricCarsServiceShape=ft,t.ElectricCarsShape=gt,t.ElectricityShape=vt,t.EmissionShape=Kt,t.EnergyShape=Yt,t.EngineShape=mt,t.ExpressServiceShape=dt,t.ExteriorShape=Jt,t.FindACarShape=ht,t.FleetServiceCommercialShape=ut,t.FleetServicePrivateShape=pt,t.GasCarsServiceShape=Qt,t.GasShape=ct,t.HybridShape=lt,t.LoadingVolumeShape=st,t.LocateShape=Xt,t.NewCarCommercialShape=P,t.NewCarPrivateShape=T,t.NewCarUtilityVehicleShape=te,t.NightServiceShape=ot,t.OffersShape=_t,t.OnCallDutyShape=it,t.OpenSatShape=rt,t.PaintShopShape=at,t.PayloadShape=nt,t.PerformanceShape=et,t.PetrolShape=tt,t.PlusServiceShape=ee,t.PorscheBrandShape=Tt,t.PowerShape=X,t.PowerTrainShape=Q,t.PriceTypeSwitchShape=ne,t.QualifiedWorkshopShape=J,t.RoadsideAssistanceShape=Y,t.RouteShape=ae,t.SeatAirShape=K,t.SeatBrandShape=Dt,t.SeatShape=G,t.ServiceBellShape=$,t.ServiceShape=W,t.SizeShape=re,t.SkodaBrandShape=Nt,t.StockLocatorCommercialShape=q,t.StockLocatorPrivateShape=U,t.TaxiDealerShape=ie,t.TouaregServiceShape=oe,t.TransmissionAutomaticShape=j,t.TransmissionManualShape=B,t.UsedCarCommercialShape=D,t.UsedCarPrivateShape=N,t.VWBrandShape=Rt,t.VWNBrandShape=Ft,t.VWShape=Zt,t.VehicleConversionShape=se,t.View360Shape=F,t.VirtualRealityShape=le,t.WheelToWheelShape=R,t.WindscreenWashShape=ce,t.clrIconSVG=k,t.escapeHtml=function(t){return t.replace(/[&<>"'/]/g,(function(t){return Zn.get(t)}))},t.escapeRegex=function(t){return String(t).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")},t.loadIcons=ue,t.ɵa=mn,t.ɵb=un,t.ɵc=dn,t.ɵd=hn,t.ɵe=Xe,t.ɵf=Ve,t.ɵg=Ie,t.ɵh=wn,t.ɵi=Mn,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
16
|
+
var be=function(t,e){return(be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Le(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}be(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function Se(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],a=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;var Me=function(){function t(){}return t.requiredOne=function(){return function(t){var e,n,a=t.value;if(!a)return null;try{for(var r=Se(Array.from(a.values())),i=r.next();!i.done;i=r.next()){if(i.value)return null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return{requiredOne:!0}}},t.requiredAll=function(){return function(t){var e,n,a=t.value;if(a)try{for(var r=Se(Array.from(a.values())),i=r.next();!i.done;i=r.next()){if(!i.value)return{requiredAll:!0}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null}},t}(),Ae=function(){function t(){}return Object.defineProperty(t.prototype,"active",{set:function(t){this._active=null!=t&&!1!==t&&""+t!="false"},enumerable:!1,configurable:!0}),t.prototype.validate=function(t){return this._active?Me.requiredOne()(t):null},t}();Ae.decorators=[{type:e.Directive,args:[{selector:"[clrRequiredOneMultilang]",providers:[{provide:a.NG_VALIDATORS,useExisting:Ae,multi:!0}]}]}],Ae.propDecorators={active:[{type:e.Input,args:["clrRequiredOneMultilang"]}]};var we=function(){function t(){}return Object.defineProperty(t.prototype,"active",{set:function(t){this._active=null!=t&&!1!==t&&""+t!="false"},enumerable:!1,configurable:!0}),t.prototype.validate=function(t){return this._active?Me.requiredAll()(t):null},t}();we.decorators=[{type:e.Directive,args:[{selector:"[clrRequiredAllMultilang]",providers:[{provide:a.NG_VALIDATORS,useExisting:we,multi:!0}]}]}],we.propDecorators={active:[{type:e.Input,args:["clrRequiredAllMultilang"]}]};var Ie=function(){function t(t){this.injector=t,this.formControl=!0,this.showError=!1,this.disabled=!1,this.invalid=!1,this.destroyed=new i.Subject,this.onChange=function(t){},this.onTouch=this.defaultOnTouch}return t.prototype.ngOnInit=function(){var t=this.injector.get(r.ɵbc,null);t&&(this.inputId=t.id)},t.prototype.ngAfterViewInit=function(){var t=this,e=this.injector.get(a.NgControl,null);e&&(this.control=e.control,this.control.statusChanges.pipe(o.takeUntil(this.destroyed)).subscribe((function(e){t.invalid="INVALID"===e,t.showError=t.invalid&&t.control.touched})));var n=this.injector.get(r.ɵbi,null);n&&n.touchedChange.subscribe((function(){t.control.markAsTouched(),t.control.updateValueAndValidity()}))},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){var e=this;this.onTouch=function(){t(),e.defaultOnTouch()}},t.prototype.defaultOnTouch=function(){this.showError=this.invalid&&this.control.touched},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.ngOnDestroy=function(){this.destroyed.next(),this.destroyed.complete()},t}();Ie.decorators=[{type:e.Directive}],Ie.ctorParameters=function(){return[{type:e.Injector}]},Ie.propDecorators={formControl:[{type:e.HostBinding,args:["class.clr-form-control"]}],showError:[{type:e.HostBinding,args:["class.clr-error"]}]};var Ve=function(t){function e(e){var n=t.call(this,e)||this;return n.multi=!0,n.controlClasses="clr-col-md-10",n}return Le(e,t),e.prototype.writeValue=function(t){t&&(this.texts=new Map(t))},e.prototype.setText=function(t,e){this.texts.set(t,e),this.onChange(new Map(this.texts))},e.prototype.showLanguageSelector=function(){return this.texts&&this.texts.size>1||this.showSingleLanguageSelector},e.prototype.changeLanguage=function(t){var e=this;setTimeout((function(){e.selectedLang=t,e.inputElement.nativeElement.focus()}))},e}(Ie);Ve.decorators=[{type:e.Directive}],Ve.ctorParameters=function(){return[{type:e.Injector}]},Ve.propDecorators={multi:[{type:e.HostBinding,args:["class.clr-multilingual"]}],controlClasses:[{type:e.Input,args:["clrControlClasses"]}],selectedLang:[{type:e.Input,args:["clrSelectedLang"]}],readonly:[{type:e.Input}],maxlength:[{type:e.Input}],showSingleLanguageSelector:[{type:e.Input,args:["clrShowSingleLanguageSelector"]}],inputElement:[{type:e.ViewChild,args:["input"]}]};var He=function(t){function e(e){return t.call(this,e)||this}return Le(e,t),e}(Ve);He.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-input",template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <clr-multilingual-selector\n *ngIf="showLanguageSelector()"\n [disabled]="disabled"\n [texts]="texts"\n [selectedLang]="selectedLang"\n (selectedLangChange)="changeLanguage($event)"\n >\n </clr-multilingual-selector>\n <div class="clr-multi-input-wrapper">\n <div class="clr-input-wrapper">\n <input\n class="clr-input"\n type="text"\n [id]="inputId"\n [ngModel]="!!texts && !!selectedLang ? texts.get(selectedLang) : \'\'"\n (ngModelChange)="setText(selectedLang, $event)"\n (blur)="onTouch()"\n [disabled]="disabled"\n [readonly]="readonly || readonly === \'\'"\n autocomplete="off"\n [maxlength]="maxlength || null"\n #input\n />\n <clr-icon *ngIf="showError" class="clr-validate-icon" shape="exclamation-circle" aria-hidden="true"></clr-icon>\n </div>\n <ng-content select="clr-control-helper" *ngIf="!showError"></ng-content>\n <ng-content select="clr-control-error" *ngIf="showError"></ng-content>\n </div>\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return He})),multi:!0},r.ɵbc]}]}],He.ctorParameters=function(){return[{type:e.Injector}]};var Ee=function(t){function e(e){return t.call(this,e)||this}return Le(e,t),e}(Ve);Ee.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-textarea",template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <clr-multilingual-selector\n *ngIf="showLanguageSelector()"\n [disabled]="disabled"\n [texts]="texts"\n [selectedLang]="selectedLang"\n (selectedLangChange)="changeLanguage($event)"\n >\n </clr-multilingual-selector>\n <div class="clr-multi-input-wrapper">\n <div class="clr-textarea-wrapper">\n <textarea\n class="clr-textarea"\n [id]="inputId"\n [ngModel]="!!texts && !!selectedLang ? texts.get(selectedLang) : \'\'"\n (ngModelChange)="setText(selectedLang, $event)"\n (blur)="onTouch()"\n [disabled]="disabled"\n [readonly]="readonly || readonly === \'\'"\n [maxlength]="maxlength || null"\n #input\n ></textarea>\n <clr-icon *ngIf="showError" class="clr-validate-icon" shape="exclamation-circle" aria-hidden="true"></clr-icon>\n </div>\n <ng-content select="clr-control-helper" *ngIf="!showError"></ng-content>\n <ng-content select="clr-control-error" *ngIf="showError"></ng-content>\n </div>\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return Ee})),multi:!0},r.ɵbc]}]}],Ee.ctorParameters=function(){return[{type:e.Injector}]};var xe=function(){this.selectedLangChange=new e.EventEmitter};xe.decorators=[{type:e.Component,args:[{selector:"clr-multilingual-selector",template:'\n <div>\n <clr-dropdown [clrCloseMenuOnItemClick]="true">\n <button\n type="button"\n class="btn btn-outline btn-sm clr-multilingual-button"\n clrDropdownTrigger\n [disabled]="disabled"\n >\n {{ selectedLang }}\n <clr-icon shape="caret down"></clr-icon>\n </button>\n <clr-dropdown-menu *clrIfOpen>\n <ng-container *ngFor="let text of texts | keyvalue">\n <div\n *ngIf="text.key !== selectedLang"\n class="clr-multilingual-dd-entry"\n clrDropdownItem\n (click)="selectedLangChange.emit(text.key)"\n >\n <span class="label">{{ text.key }}</span\n >{{ text.value }}\n </div>\n </ng-container>\n </clr-dropdown-menu>\n </clr-dropdown>\n </div>\n '}]}],xe.propDecorators={disabled:[{type:e.Input}],texts:[{type:e.Input}],selectedLang:[{type:e.Input}],selectedLangChange:[{type:e.Output}]};var ze=function(){};ze.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[He,Ee,Ae,we,xe],exports:[He,Ee,Ae,we,xe]}]}];var _e=function(){function t(t,e){this.zone=t,this.scheduler=e}return t.prototype.now=function(){return this.scheduler.now()},t.prototype.schedule=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.zone.runOutsideAngular((function(){return t.scheduler.schedule.apply(t.scheduler,e)}))},t}(),Ze=function(){function t(t,e){this.zone=t,this.scheduler=e}return t.prototype.now=function(){return this.scheduler.now()},t.prototype.schedule=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.zone.run((function(){return t.scheduler.schedule.apply(t.scheduler,e)}))},t}();function Oe(t,e){return i.timer(t,new _e(e,i.asyncScheduler)).pipe(o.observeOn(new Ze(e,i.asyncScheduler)))}var ke=function(){function t(t,n){var a=this;this.elementRef=t,this.ngZone=n,this.progressStatus=0,this.step=100,this._translate=0,this._height=0,this.heightInitalized=new Promise((function(t){a._heightInitalized=t})),this.timeout=2e3,this.notificationType="info",this.dismissable=!1,this.progressbar=!1,this.closed=new e.EventEmitter}return Object.defineProperty(t.prototype,"translate",{get:function(){return this._translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height+10},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t,e,n=this;Oe(0,this.ngZone).subscribe((function(){n._height=n.elementRef.nativeElement.children[0].offsetHeight,n._heightInitalized()})),this.timeout>0&&(this.progressbar&&(this.startTime=(new Date).getTime(),this.interval=(t=this.timeout/(this.timeout/this.step),e=this.ngZone,i.interval(t,new _e(e,i.asyncScheduler)).pipe(o.observeOn(new Ze(e,i.asyncScheduler)))).subscribe((function(){return n.updateProgressStatus()}))),this.timer=Oe(this.timeout,this.ngZone).subscribe((function(){return n.close()})))},t.prototype.updateProgressStatus=function(){this.progressStatus=(new Date).getTime()-this.startTime},t.prototype.close=function(){var t=this;this.interval&&this.interval.unsubscribe(),this.timer&&this.timer.unsubscribe(),this.clrAlert._closed=!1,this.state={value:"fadeOut",params:{absolute:this._translate}},Oe(300,this.ngZone).subscribe((function(){return t.closed.emit()}))},t.prototype.moveDown=function(t){this._translate+=t,this.state={value:"moveDown",params:{absolute:this._translate}},this.setCurrentPosition()},t.prototype.moveUp=function(t){this._translate-=t,this.state={value:"moveUp",params:{absolute:this._translate}},this.setCurrentPosition()},t.prototype.setCurrentPosition=function(){var t=this;Oe(300,this.ngZone).subscribe((function(){return t.state={value:"currentPosition",params:{absolute:t._translate}}}))},t}();ke.decorators=[{type:e.Component,args:[{selector:"clr-notification",template:'<div class="notification__wrapper" [@slideDown] [@move]="state" [@fade]="state">\n <div class="progress top" [ngClass]="notificationType" *ngIf="progressbar && timeout > 0">\n <progress class="progress" [max]="timeout" [value]="progressStatus"></progress>\n </div>\n <clr-alert\n [clrAlertType]="notificationType"\n [clrAlertAppLevel]="true"\n [clrAlertClosable]="dismissable"\n (clrAlertClosedChange)="close()"\n >\n <div class="alert-item">\n <span class="alert-text">\n <ng-content select="[clr-notification-message]"></ng-content>\n </span>\n </div>\n </clr-alert>\n</div>\n',animations:[l.trigger("slideDown",[l.transition(":enter",[l.style({transform:"translateY(-200%)"}),l.animate("0.5s",l.style({transform:"translateY(0%)"}))])]),l.trigger("move",[l.state("currentPosition",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.state("moveUp",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.state("moveDown",l.style({transform:"translateY({{absolute}}px)"}),{params:{absolute:"0"}}),l.transition("* => moveDown",l.animate("0.3s")),l.transition("* => moveUp",l.animate("0.3s"))]),l.trigger("fade",[l.state("fadeOut",l.style({transform:"translateY({{absolute}}px)",opacity:0}),{params:{absolute:"0"}}),l.transition("* => fadeOut",l.animate("0.3s"))])],host:{"[class.notification]":"true"}}]}],ke.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone}]},ke.propDecorators={clrAlert:[{type:e.ViewChild,args:[r.ClrAlert,{static:!0}]}],timeout:[{type:e.Input}],notificationType:[{type:e.Input}],dismissable:[{type:e.Input}],progressbar:[{type:e.Input}],closed:[{type:e.Output}]};var Pe=function(){};Pe.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[ke],entryComponents:[ke]}]}];var Te="-",De=new Set([224,91,93]),Ne=new Set(["0","1","2","3","4","5","6","7","8","9"]),Re=function(){function t(t,n){this.renderer=t,this.inputEl=n,this.textAlign="right",this.decimalPlaces=2,this.roundValue=!1,this.autofillDecimals=!1,this.decimalSeparator=",",this.groupingSeparator=".",this.unitPosition="right",this.numericValueChanged=new e.EventEmitter,this.displayValue="",this.originalValue=NaN,this._unit=null,this.allowedKeys=new Set(Ne),this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,"numericValue",{set:function(t){this._numericValue===t||isNaN(this._numericValue)&&(isNaN(t)||null===t)||(this.originalValue=t,this._numericValue=this.roundOrTruncate(t),this.handleInputChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unit",{set:function(t){if(t!=this._unit&&(this._unit=t,null!=this.unitSpan)){this.unitSpan.innerHTML="";var e=this.renderer.createText(t);this.renderer.appendChild(this.unitSpan,e)}},enumerable:!1,configurable:!0}),t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.renderer.setProperty(this.inputEl.nativeElement,"disabled",t)},t.prototype.writeValue=function(t){this.numericValue=t},t.prototype.ngOnInit=function(){var t=this;this.decimalPlaces=Number.parseInt(this.decimalPlaces.toString(),10),this.allowedKeys.add(Te),this.allowedKeys.add(this.decimalSeparator),this.inputChangeListener=this.renderer.listen(this.inputEl.nativeElement,"blur",(function(e){t.formatInput(e.target,!0)})),this.keyupListener=this.renderer.listen(this.inputEl.nativeElement,"keyup",(function(e){(8===e.keyCode||e.keyCode>=46&&!De.has(e.keyCode))&&t.formatInput(e.target,!1)})),this.keydownListener=this.renderer.listen(this.inputEl.nativeElement,"keydown",(function(e){var n=e.target.value;if(!(t.allowedKeys.has(e.key)||e.keyCode<=46&&e.keyCode>0||e.metaKey||e.ctrlKey||e.altKey))return!1;var a=n.indexOf(Te);if(e.key===Te&&(e.target.selectionStart>0||a>-1)&&(e.target.selectionStart===e.target.selectionEnd||!(a>=e.target.selectionStart&&a<=e.target.selectionEnd)))return!1;var r=n.indexOf(t.decimalSeparator);if(e.key===t.decimalSeparator&&(r>-1||0===t.decimalPlaces)&&(e.target.selectionStart===e.target.selectionEnd||!(r>=e.target.selectionStart&&r<=e.target.selectionEnd)))return!1;if(Ne.has(e.key)&&r>-1&&r<e.target.selectionStart&&e.target.selectionStart===e.target.selectionEnd&&n.length>r+t.decimalPlaces)return!1;var i=e.target.selectionStart;if(i===e.target.selectionEnd){if(8===e.keyCode&&n.substr(i-1,1)===t.groupingSeparator)return e.target.value=n.substring(0,i-2)+n.substring(i-1,n.length),e.target.selectionStart=e.target.selectionEnd=i-1,!1;if(46===e.keyCode&&n.substr(i,1)===t.groupingSeparator)return e.target.value=n.substring(0,i+1)+n.substring(i+2,n.length),e.target.selectionStart=e.target.selectionEnd=i+1,!1}return t.originalValue=NaN,!0}))},t.prototype.ngOnDestroy=function(){this.detachListener()},t.prototype.ngAfterViewChecked=function(){this.injectUnitSymbol()},t.prototype.handleInputChanged=function(){this.updateInput(this.formatNumber(this._numericValue.toString().replace(new RegExp("[.]","g"),this.decimalSeparator),!0),!0)},t.prototype.formatInput=function(t,e){var n=t.selectionStart,a=t.value.length,r=this.displayValue!==t.value;this.updateInput(this.formatNumber(t.value,e),!1),r&&(t.selectionStart=t.selectionEnd=Math.max(n+t.value.length-a,0))},t.prototype.formatNumber=function(t,e){for(var n=this.strip(t,e),a=n.indexOf(this.decimalSeparator),r=n[0]===Te,i=a>-1?a:n.length;i>(r?4:3);)i-=3,n=n.substring(0,i)+this.groupingSeparator+n.substring(i,n.length);if(e&&this.decimalPlaces>0&&n){var o=n.indexOf(this.decimalSeparator);if(this.autofillDecimals){-1===o&&(o=n.length,n+=this.decimalSeparator),o=(n=this.addMissingLeadingZero(n,o)).indexOf(this.decimalSeparator);for(var s=n.length-o-1,l=0;l<this.decimalPlaces-s;l++)n+="0"}else n=this.addMissingLeadingZero(n,o)}return n},t.prototype.addMissingLeadingZero=function(t,e){var n=t[0]===Te;return 0===e&&(t="0"+t),1===e&&n&&(t=t[0]+"0"+t.substring(1,t.length)),t},t.prototype.strip=function(t,e){var n,a;void 0===e&&(e=!1);var r="",i=-1,o=-1,s=0;try{for(var l=Se(t),c=l.next();!c.done;c=l.next()){var p=c.value;if(o++,this.allowedKeys.has(p)){if(p===this.decimalSeparator){if(0===this.decimalPlaces)break;if(i>-1)continue;i=o}if("0"===p&&e&&(0===r.length&&o+1!==t.length||r===Te)){s++;continue}if(p===Te&&o>0)break;if(i>-1&&r.length+s>i+this.decimalPlaces)break;r+=p}else{if(p!==this.groupingSeparator)break;-1===i&&s++}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return r},t.prototype.updateInput=function(t,e){var n=this;this.displayValue=t,this.inputEl.nativeElement.value=t,this._numericValue=parseFloat(this.strip(t).replace(this.decimalSeparator,".")),this._numericValue!==this.roundOrTruncate(this.originalValue)&&(this.originalValue=this._numericValue,e?setTimeout((function(){return n.numericValueChanged.emit(n._numericValue)})):this.numericValueChanged.emit(this._numericValue))},t.prototype.getValueForFormControl=function(){if(this.formatInput(this.inputEl.nativeElement,!1),!isNaN(this._numericValue))return this._numericValue},t.prototype.injectUnitSymbol=function(){if(this._unit&&!this.unitSpan&&0!==this.inputEl.nativeElement.offsetWidth){var t=this.inputEl.nativeElement.parentNode;if(this.renderer.addClass(t,"numeric-input-wrapper"),!this.unitSpan){this.unitSpan=this.renderer.createElement("span"),this.renderer.addClass(this.unitSpan,"unit");var e=this.renderer.createText(this._unit);this.renderer.appendChild(this.unitSpan,e),this.renderer.appendChild(t,this.unitSpan)}var n=this.unitSpan.offsetWidth+12;"left"===this.unitPosition?(this.renderer.addClass(this.unitSpan,"unit-left"),this.renderer.setStyle(this.inputEl.nativeElement,"padding-left",n+"px")):(this.renderer.addClass(this.unitSpan,"unit-right"),this.renderer.setStyle(this.inputEl.nativeElement,"padding-right",n+"px"))}},t.prototype.detachListener=function(){this.inputChangeListener&&(this.inputChangeListener(),delete this.inputChangeListener),this.keydownListener&&(this.keydownListener(),delete this.keydownListener),this.keyupListener&&(this.keyupListener(),delete this.keyupListener)},t.prototype.roundOrTruncate=function(t){var e=this.roundValue?"round":t<0?"ceil":"floor";return Math[e](t*Math.pow(10,this.decimalPlaces))/Math.pow(10,this.decimalPlaces)},t}();function Fe(t){return null==t||0===t.length}Re.decorators=[{type:e.Directive,args:[{selector:"[clrNumeric]",host:{"[class.text-right]":'textAlign === "right"',"(change)":"onChange(getValueForFormControl())","(input)":"onChange(getValueForFormControl())","(blur)":"onTouched()"},providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return Re})),multi:!0}]}]}],Re.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef}]},Re.propDecorators={textAlign:[{type:e.Input,args:["clrTextAlign"]}],decimalPlaces:[{type:e.Input,args:["clrDecimalPlaces"]}],roundValue:[{type:e.Input,args:["clrRoundDisplayValue"]}],autofillDecimals:[{type:e.Input,args:["clrAutofillDecimals"]}],decimalSeparator:[{type:e.Input,args:["clrDecimalSep"]}],groupingSeparator:[{type:e.Input,args:["clrGroupingSep"]}],unitPosition:[{type:e.Input,args:["clrUnitPosition"]}],numericValueChanged:[{type:e.Output,args:["clrNumericValueChange"]}],numericValue:[{type:e.Input,args:["clrNumericValue"]}],unit:[{type:e.Input,args:["clrUnit"]}]};var Be=function(){function t(){}return t.min=function(t,e,n){var a=this;void 0===e&&(e="."),void 0===n&&(n=",");return function(r){if(Fe(r.value)||Fe(t))return null;var i=a.parseInputString(r.value,e,n);return!isNaN(i)&&i<t?{min:{min:t,actual:i}}:null}},t.max=function(t,e,n){var a=this;void 0===e&&(e="."),void 0===n&&(n=",");return function(r){if(Fe(r.value)||Fe(t))return null;var i=a.parseInputString(r.value,e,n);return!isNaN(i)&&i>t?{max:{max:t,actual:i}}:null}},t.parseInputString=function(t,e,n){if("string"!=typeof t)return parseFloat(t);var a=t.replace(new RegExp("["+e+"]","g"),"").replace(new RegExp("["+n+"]","g"),".");return parseFloat(a)},t}(),je=function(){function t(){this._groupingSep=".",this._decimalSep=","}return t.prototype.validate=function(t){return Be.max(this._max,this._groupingSep,this._decimalSep)(t)},t}();je.decorators=[{type:e.Directive,args:[{selector:"[clrMaxNumeric]",providers:[{provide:a.NG_VALIDATORS,useExisting:je,multi:!0}]}]}],je.propDecorators={_max:[{type:e.Input,args:["clrMaxNumeric"]}],_groupingSep:[{type:e.Input,args:["clrGroupingSep"]}],_decimalSep:[{type:e.Input,args:["clrDecimalSep"]}]};var Ue=function(){function t(){this._groupingSep=".",this._decimalSep=","}return t.prototype.validate=function(t){return Be.min(this._min,this._groupingSep,this._decimalSep)(t)},t}();Ue.decorators=[{type:e.Directive,args:[{selector:"[clrMinNumeric]",providers:[{provide:a.NG_VALIDATORS,useExisting:Ue,multi:!0}]}]}],Ue.propDecorators={_min:[{type:e.Input,args:["clrMinNumeric"]}],_groupingSep:[{type:e.Input,args:["clrGroupingSep"]}],_decimalSep:[{type:e.Input,args:["clrDecimalSep"]}]};var qe=function(){};qe.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,r.ClrFormsModule,a.FormsModule],declarations:[Re,je,Ue],exports:[Re,je,Ue]}]}];var We=function(){this.clrPagerPosition="bottom",this.pageChange=new e.EventEmitter};We.decorators=[{type:e.Component,args:[{selector:"clr-paged-search-result-list",template:'<div class="clr-row">\n <clr-pager\n class="pager-top"\n *ngIf="clrPagerPosition === \'top\' || clrPagerPosition === \'both\'"\n [clrPage]="currentPage"\n [clrPageSize]="pageSize"\n [clrTotalItems]="totalItems"\n (clrPageChange)="pageChange.emit($event)"\n ></clr-pager>\n</div>\n<ng-container *ngFor="let item of items" [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{item: item}">\n <div *ngIf="!itemTemplate">Item template input is undefined!</div>\n</ng-container>\n<div class="clr-row">\n <clr-pager\n class="pager-bottom"\n *ngIf="clrPagerPosition === \'bottom\' || clrPagerPosition === \'both\'"\n [clrPage]="currentPage"\n [clrPageSize]="pageSize"\n [clrTotalItems]="totalItems"\n (clrPageChange)="pageChange.emit($event)"\n ></clr-pager>\n</div>\n'}]}],We.propDecorators={pageSize:[{type:e.Input,args:["clrPageSize"]}],currentPage:[{type:e.Input,args:["clrPage"]}],totalItems:[{type:e.Input,args:["clrTotalItems"]}],items:[{type:e.Input,args:["clrItems"]}],itemTemplate:[{type:e.ContentChild,args:[e.TemplateRef,{static:!0}]}],clrPagerPosition:[{type:e.Input,args:["clrPagerPosition"]}],pageChange:[{type:e.Output,args:["clrPageChange"]}]};var $e=function(){function t(){this.pageChange=new e.EventEmitter(!1),this._pageSize=0,this._totalItems=0,this._page=1}return Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},set:function(t){var e=this._pageSize;t!==e&&(this._pageSize=t,this._page=0===t?1:Math.floor(e/t*(this._page-1))+1,this.pageChange.emit(this._page))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalItems",{get:function(){return this._totalItems},set:function(t){this._totalItems=t,this.page>this.last&&(this.page=this.last)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._last?this._last:this.pageSize>0&&this.totalItems?Math.ceil(this.totalItems/this.pageSize):1},set:function(t){this._last=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){t!==this._page&&(this._page=t,this.pageChange.emit(t))},enumerable:!1,configurable:!0}),t.prototype.previous=function(){this.page>1&&this.page--},t.prototype.next=function(){this.page<this.last&&this.page++},Object.defineProperty(t.prototype,"middlePages",{get:function(){var t=[];return this.page>1&&t.push(this.page-1),t.push(this.page),this.page<this.last&&t.push(this.page+1),t},enumerable:!1,configurable:!0}),t}();$e.decorators=[{type:e.Component,args:[{selector:"clr-pager",template:'<div class="btn-group" *ngIf="last > 1">\n <button class="btn pagination-previous" (click)="previous()" [disabled]="page == 1">\n <clr-icon shape="angle left"></clr-icon>\n </button>\n <button *ngIf="page > 2" class="btn" (click)="page = 1">1</button>\n <button *ngIf="page > 3" class="btn" disabled>...</button>\n\n <ng-container *ngFor="let pageNum of middlePages">\n <button *ngIf="pageNum !== page; else activePage" class="btn" (click)="page = pageNum">{{pageNum}}</button>\n <ng-template #activePage>\n <button class="btn btn-primary" type="button">{{pageNum}}</button>\n </ng-template>\n </ng-container>\n\n <button *ngIf="page < last - 2" class="btn" disabled>...</button>\n <button *ngIf="page < last - 1" class="btn" (click)="page = last">{{last}}</button>\n <button class="btn pagination-next" (click)="next()" [disabled]="page == last">\n <clr-icon shape="angle right"></clr-icon>\n </button>\n</div>\n',host:{"[class.pager]":"true"}}]}],$e.propDecorators={pageChange:[{type:e.Output,args:["clrPageChange"]}],pageSize:[{type:e.Input,args:["clrPageSize"]}],totalItems:[{type:e.Input,args:["clrTotalItems"]}],last:[{type:e.Input,args:["clrLast"]}],page:[{type:e.Input,args:["clrPage"]}]};var Ge=function(){};Ge.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[$e],exports:[$e]}]}];var Ke=function(){};Ke.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule,Ge],declarations:[We],exports:[We]}]}];var Ye=function(){function t(t){this.changeDetectorRef=t,this.size="sm"}return Object.defineProperty(t.prototype,"showSpinner",{set:function(t){t?this.show():this.hide()},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){clearTimeout(this.hideTimeout)},t.prototype.show=function(){clearTimeout(this.hideTimeout),this._showSpinner=!0,this.startTimestamp=(new Date).getTime()},t.prototype.hide=function(){var t=this;this.hideTimeout=setTimeout((function(){t.startTimestamp=void 0,t._showSpinner=!1,t.changeDetectorRef.markForCheck()}),this.getRemainingVisibleTime())},t.prototype.getRemainingVisibleTime=function(){return Math.max(0,t.MINIMUM_VISIBLE_DURATION-this.getVisibleTime())},t.prototype.getVisibleTime=function(){return this.startTimestamp?(new Date).getTime()-this.startTimestamp:0},t}();Ye.MINIMUM_VISIBLE_DURATION=200,Ye.decorators=[{type:e.Component,args:[{selector:"clr-progress-spinner",template:"\n <ng-container *ngIf=\"_showSpinner\">\n <span [class]=\"'spinner-' + size + ' spinner'\"></span>\n <span> <ng-content></ng-content></span>\n </ng-container>\n ",host:{"[class.progress-spinner-overlay]":"_showSpinner"}}]}],Ye.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},Ye.propDecorators={size:[{type:e.Input,args:["clrSize"]}],showSpinner:[{type:e.Input,args:["clrShowSpinner"]}]};var Je=function(){};Je.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule],declarations:[Ye],exports:[Ye]}]}];var Qe={id:"-BLANK-",label:"- Select an option -",value:null},Xe=function(){function t(){this.mandatory=!1,this.allValues=[],this.excludedValues=[],this.valueChanged=new e.EventEmitter,this.remove=new e.EventEmitter}return Object.defineProperty(t.prototype,"selectedValue",{get:function(){return this.value.id},set:function(t){this.value=this.allValues.find((function(e){return e.id===t})),this.valueChanged.emit(this.value)},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){var t=this,e=this.excludedValues.filter((function(e){return e.id!==t.value.id})).map((function(t){return t.id}));return this.allValues.filter((function(t){return!e.includes(t.id)}))},t.prototype.trashDisabled=function(){return this.mandatory&&1===this.excludedValues.length},t.prototype.focusComponent=function(){this.select&&this.select.nativeElement.focus()},t}();Xe.decorators=[{type:e.Component,args:[{selector:"clr-add-option",template:'<div *ngIf="!(readonly || readonly === \'\'); else readonlyView" class="clr-select-wrapper quick-list-input">\n <select #select clr-select class="quick-list-select" name="options" [(ngModel)]="selectedValue">\n <option *ngIf="blankOption.id === selectedValue" [selected]="true" [disabled]="true" [ngValue]="blankOption.id">\n {{blankOption.label}}\n </option>\n <option *ngFor="let val of getValues()" [selected]="val.id === selectedValue" [ngValue]="val.id">\n {{val.label}}\n </option>\n </select>\n</div>\n\n<ng-template #readonlyView>\n <span>{{value.label}}</span>\n</ng-template>\n\n<button\n *ngIf="!(readonly || readonly === \'\')"\n type="button"\n class="btn btn-icon btn-link quick-list-trash"\n [disabled]="trashDisabled()"\n (click)="remove.emit()"\n>\n <clr-icon shape="trash"></clr-icon>\n</button>\n',host:{"[class.quick-list-option]":"true"}}]}],Xe.propDecorators={blankOption:[{type:e.Input}],value:[{type:e.Input}],mandatory:[{type:e.Input}],allValues:[{type:e.Input}],excludedValues:[{type:e.Input}],readonly:[{type:e.Input}],valueChanged:[{type:e.Output}],remove:[{type:e.Output}],select:[{type:e.ViewChild,args:["select",{static:!1}]}]};var tn=function(){function t(){this.blankOption=Qe,this.allValues=[this.blankOption],this.mandatory=!1,this.values=[],this.addLabel="ADD",this.controlClasses="clr-col-md-10",this.valuesChanged=new e.EventEmitter,this.emptyOptionAdded=new e.EventEmitter}return t.prototype.ngOnInit=function(){0===this.values.length&&this.mandatory&&this.values.push(this.blankOption)},t.prototype.onValueChanged=function(t,e){t&&(this.values[e]=t,this.valuesChanged.emit(this.values),this.focusOption(t))},t.prototype.onRemoveValue=function(t){this.values.splice(t,1),this.valuesChanged.emit(this.values)},t.prototype.addBlankOption=function(){this.hasBlankOption()||(this.values.push(this.blankOption),this.valuesChanged.emit(this.values),this.emptyOptionAdded.emit(),this.focusOption(this.blankOption))},t.prototype.focusOption=function(t){var e=this;setTimeout((function(){var n=e.options.find((function(e){return e.value.id===t.id}));n&&n.focusComponent()}))},t.prototype.hasBlankOption=function(){return this.values.map((function(t){return t.id})).includes(this.blankOption.id)},t.prototype.addNotPossible=function(){return this.hasBlankOption()||this.values.length===this.allValues.length},t}();tn.decorators=[{type:e.Component,args:[{selector:"clr-quick-list",host:{"[class.quick-list]":"true"},template:'<ng-content select="label"></ng-content>\n<div class="clr-control-container" [ngClass]="controlClasses">\n <ng-container *ngFor="let value of values; index as i">\n <clr-add-option\n [allValues]="allValues"\n [excludedValues]="values"\n (remove)="onRemoveValue(i)"\n [value]="value"\n (valueChanged)="onValueChanged($event, i)"\n [blankOption]="blankOption"\n [mandatory]="mandatory"\n [readonly]="readonly"\n >\n </clr-add-option>\n </ng-container>\n <button\n *ngIf="!(readonly || readonly === \'\')"\n type="button"\n class="btn btn-link btn-sm quick-list-add"\n (click)="addBlankOption()"\n [disabled]="addNotPossible()"\n >\n {{addLabel}}\n </button>\n</div>\n'}]}],tn.propDecorators={blankOption:[{type:e.Input,args:["clrBlankOption"]}],allValues:[{type:e.Input,args:["clrAllValues"]}],mandatory:[{type:e.Input,args:["clrMandatory"]}],values:[{type:e.Input,args:["clrValues"]}],addLabel:[{type:e.Input,args:["clrAddLabel"]}],controlClasses:[{type:e.Input,args:["clrControlClasses"]}],readonly:[{type:e.Input}],valuesChanged:[{type:e.Output,args:["clrValuesChanged"]}],emptyOptionAdded:[{type:e.Output,args:["clrEmptyOptionAdded"]}],options:[{type:e.ViewChildren,args:[Xe]}]};var en=function(){};en.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,a.FormsModule,r.ClarityModule,r.ClrFormsModule],declarations:[tn,Xe],exports:[tn,Xe]}]}];var nn=function(){function t(t,e,n){this.renderer=t,this.inputEl=e,this.ngControl=n,this.destroyed=new i.Subject}return t.prototype.ngOnInit=function(){var t=this;this.setHasValueClass(!!this.inputEl.nativeElement.value),this.ngControl?this.ngControl.valueChanges.pipe(o.takeUntil(this.destroyed)).subscribe((function(e){return t.setHasValueClass(!!e)})):this.keyupListener=this.renderer.listen(this.inputEl.nativeElement,"input",(function(e){return t.setHasValueClass(!!e.target.value)}))},t.prototype.ngAfterViewInit=function(){this.addClassToWrapper(this.inputEl.nativeElement.parentNode),this.injectSearchIcon(),this.injectDeleteIcon()},t.prototype.ngOnDestroy=function(){this.detachListener(),this.destroyed.next(),this.destroyed.complete()},t.prototype.clearSearchInput=function(){this.renderer.setProperty(this.inputEl.nativeElement,"value",""),this.setHasValueClass(!1);var t=document.createEvent("Event");t.initEvent("input",!1,!1),this.inputEl.nativeElement.dispatchEvent(t)},t.prototype.setHasValueClass=function(t){t?this.renderer.addClass(this.inputEl.nativeElement.parentNode,"has-value"):this.renderer.removeClass(this.inputEl.nativeElement.parentNode,"has-value")},t.prototype.injectDeleteIcon=function(){var t=this,e=this.inputEl.nativeElement.parentNode;this.deleteSymbol||(this.deleteButton=this.renderer.createElement("button"),this.renderer.setAttribute(this.deleteButton,"type","button"),this.renderer.addClass(this.deleteButton,"btn"),this.renderer.addClass(this.deleteButton,"btn-link"),this.renderer.addClass(this.deleteButton,"btn-icon"),this.renderer.addClass(this.deleteButton,"delete-button"),this.deleteButton.addEventListener("click",(function(){return t.clearSearchInput()})),this.deleteSymbol=this.renderer.createElement("clr-icon"),this.renderer.setAttribute(this.deleteSymbol,"shape","times"),this.renderer.appendChild(this.deleteButton,this.deleteSymbol),this.renderer.appendChild(e,this.deleteButton))},t.prototype.injectSearchIcon=function(){var t=this.inputEl.nativeElement.parentNode;this.searchSymbol||(this.searchSymbol=this.renderer.createElement("clr-icon"),this.renderer.addClass(this.searchSymbol,"search-symbol"),this.renderer.setAttribute(this.searchSymbol,"shape","search"),this.renderer.insertBefore(t,this.searchSymbol,this.inputEl.nativeElement))},t.prototype.addClassToWrapper=function(t){this.renderer.addClass(t,"search-input-wrapper")},t.prototype.detachListener=function(){this.keyupListener&&(this.keyupListener(),delete this.keyupListener)},t}();nn.decorators=[{type:e.Directive,args:[{selector:"[clrSearch]",host:{"[class.search-input]":"true"}}]}],nn.ctorParameters=function(){return[{type:e.Renderer2},{type:e.ElementRef},{type:a.NgControl}]};var an=function(){};an.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule],declarations:[nn],exports:[nn]}]}];var rn=function(){function t(t,e){var n=this;this.smartToggleService=t,this.zone=e,this.empty=!1,this.smartPosition={axis:r.ClrAxis.HORIZONTAL,side:r.ClrSide.AFTER,anchor:r.ClrAlignment.CENTER,content:r.ClrAlignment.CENTER},this.destroyed$=new i.Subject,this.smartToggleService.openChange.pipe(o.takeUntil(this.destroyed$.asObservable())).subscribe((function(t){t&&n.focusFirstButton()}))}return t.prototype.focusFirstButton=function(){this.zone.runOutsideAngular((function(){return setTimeout((function(){var t=document.querySelector("button.action-item");t&&t.focus()}))}))},t.prototype.closeOverflowContent=function(t){this.smartToggleService.toggleWithEvent(t)},t.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},t}();rn.decorators=[{type:e.Component,args:[{selector:"clr-tt-action-overflow",providers:[r.ClrPopoverToggleService,r.ClrPopoverEventsService,r.ClrPopoverPositionService],template:'\n <ng-container *ngIf="!empty">\n <button class="treetable-action-trigger" clrPopoverAnchor clrPopoverOpenCloseButton>\n <clr-icon shape="ellipsis-vertical"></clr-icon>\n </button>\n <div\n class="datagrid-action-overflow"\n clrFocusTrap\n (click)="closeOverflowContent($event)"\n *clrPopoverContent="false; at: smartPosition; outsideClickToClose: true; scrollToClose: true"\n >\n <ng-content></ng-content>\n </div>\n </ng-container>\n ',host:{"[class.treetable-row-actions]":"true","[class.treetable-cell]":"true",role:"cell"}}]}],rn.ctorParameters=function(){return[{type:r.ClrPopoverToggleService},{type:e.NgZone}]},rn.propDecorators={empty:[{type:e.Input}]};var on=function(){function t(t){this.changeDetectorRef=t,this.expanded=!1,this.clickable=!0,this.hasActionOverflow=new e.EventEmitter,this.showActionOverflow=!1,this.showEmptyActionOverflow=!1,this.expandable=!1}return Object.defineProperty(t.prototype,"clrExpandable",{set:function(t){var e=this;setTimeout((function(){e.expandable=t,e.changeDetectorRef.markForCheck()}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionOverflow",{set:function(t){this.showActionOverflow=!!t,this.showEmptyActionOverflow=!this.showActionOverflow,this.hasActionOverflow.emit(this.showActionOverflow)},enumerable:!1,configurable:!0}),t.prototype.toggleExpand=function(){this.expandable&&(this.expanded=!this.expanded)},t.prototype.onRowClick=function(t){this.clickable&&!t.target.closest(".treetable-action-trigger")&&this.toggleExpand()},t.prototype.onCaretClick=function(){this.clickable||this.toggleExpand()},t.prototype.isExpandable=function(){return this.expandable},t}();on.decorators=[{type:e.Component,args:[{selector:"clr-tt-row",template:'\x3c!--\n ~ Copyright (c) 2018-2021 Porsche Informatik. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n --\x3e\n\n<div\n [ngClass]="{\'clr-row-clickable\': clickable && expandable}"\n class="clr-tt-node-content treetable-row"\n (click)="onRowClick($event)"\n>\n <ng-content select="clr-tt-action-overflow"></ng-content>\n <clr-tt-action-overflow *ngIf="showActionOverflow && showEmptyActionOverflow" [empty]="true"></clr-tt-action-overflow>\n <div class="treetable-scrolling-cells">\n <div class="treetable-expandable-caret" *ngIf="isExpandable()">\n <button type="button" class="treetable-expandable-caret-button" (click)="onCaretClick()">\n <clr-icon\n shape="caret"\n [attr.dir]="expanded ? \'down\' : \'right\'"\n class="treetable-expandable-caret-icon"\n ></clr-icon>\n </button>\n </div>\n\n <ng-content select="clr-tt-cell"></ng-content>\n </div>\n</div>\n<div [@collapseExpandAnimation]="expanded">\n <ng-content select="clr-tt-row"></ng-content>\n</div>\n',host:{"[class.treetable-row-wrapper]":"true"},animations:[l.trigger("collapseExpandAnimation",[l.state("false",l.style({display:"none"})),l.state("true",l.style({display:"block"})),l.transition("false => true",[l.style({opacity:0,height:0,overflow:"hidden",display:"block"}),l.animate("300ms",l.style({opacity:1,height:"*"}))]),l.transition("true => false",[l.style({opacity:1,height:"*",overflow:"hidden"}),l.animate("300ms",l.style({opacity:0,height:0}))])])]}]}],on.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},on.propDecorators={expanded:[{type:e.Input,args:["clrExpanded"]}],clickable:[{type:e.Input,args:["clrClickable"]}],clrExpandable:[{type:e.Input,args:["clrExpandable"]}],hasActionOverflow:[{type:e.Output}],actionOverflow:[{type:e.ContentChild,args:[rn]}]};var sn=function(){};sn.decorators=[{type:e.Component,args:[{selector:"clr-tt-column",template:"<ng-content></ng-content>",host:{"[class.treetable-column]":"true",role:"columnheader"}}]}];var ln=function(){function t(){this.clrClickableRows=!0,this.hideHeader=!1,this.empty=!0,this.hasActionOverflow=!1,this.destroyed$=new i.Subject}return Object.defineProperty(t.prototype,"ttRows",{set:function(t){this._ttRows=t,this.initClickableRows(),this.initEmpty(),this.initActionOverflow()},enumerable:!1,configurable:!0}),t.prototype.initClickableRows=function(){var t=this;this._ttRows&&this._ttRows.forEach((function(e){e.clickable=t.clrClickableRows}))},t.prototype.initEmpty=function(){this.empty=0===this._ttRows.length},t.prototype.initActionOverflow=function(){var t=this;this._ttRows.forEach((function(e){t.setActionOverflow(e.showActionOverflow),e.hasActionOverflow.pipe(o.takeUntil(t.destroyed$)).subscribe((function(e){t.setActionOverflow(e)}))}))},t.prototype.setActionOverflow=function(t){this.hasActionOverflow=this.hasActionOverflow||t,this.hasActionOverflow&&this._ttRows.forEach((function(t){return t.showActionOverflow=!0}))},t.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},t}();ln.decorators=[{type:e.Component,args:[{selector:"clr-treetable",template:'\x3c!--\n ~ Copyright (c) 2018-2021 Porsche Informatik. All Rights Reserved.\n ~ This software is released under MIT license.\n ~ The full license information can be found in LICENSE in the root directory of this project.\n --\x3e\n\n<div class="treetable">\n <div class="treetable-grid" role="grid">\n <div class="treetable-header" role="rowgroup" [class.hide-header]="hideHeader">\n <div *ngIf="hasActionOverflow" class="treetable-row-actions treetable-column"> </div>\n <div class="treetable-row-scrollable" role="row">\n <ng-content select="clr-tt-column"></ng-content>\n </div>\n </div>\n <div class="treetable-body">\n <ng-content select="clr-tt-row"></ng-content>\n <ng-content select="clr-tt-placeholder"></ng-content>\n </div>\n </div>\n</div>\n',host:{"[class.empty]":"empty","[class.treetable-host]":"true"}}]}],ln.propDecorators={clrClickableRows:[{type:e.Input}],hideHeader:[{type:e.Input,args:["clrHideHeader"]}],ttColumns:[{type:e.ContentChildren,args:[sn,{descendants:!0}]}],ttRows:[{type:e.ContentChildren,args:[on,{descendants:!0}]}]};var cn=function(){};cn.decorators=[{type:e.Component,args:[{selector:"clr-tt-cell",template:"<ng-content></ng-content>",host:{"[class.treetable-cell]":"true",role:"cell"}}]}];var pn=function(){};pn.decorators=[{type:e.Component,args:[{selector:"clr-tt-placeholder",template:'\n <div class="treetable-placeholder treetable-empty">\n <div class="treetable-placeholder-image"></div>\n <ng-content></ng-content>\n </div>\n ',host:{"[class.treetable-placeholder-container]":"true"}}]}];var un=function(){function t(t,e){this.el=t,this.renderer=e}return t.prototype.getWidth=function(){return this.el.nativeElement.clientWidth},t.prototype.getColumnClasses=function(){var t=[];return this.el.nativeElement.classList.forEach((function(e){-1!==e.indexOf("clr-col")&&t.push(e)})),t},t.prototype.setDefaultColumnClass=function(){this.renderer.addClass(this.el.nativeElement,"clr-col")},t}();un.decorators=[{type:e.Directive,args:[{selector:"clr-tt-column"}]}],un.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var hn=function(){function t(t,e){this.el=t,this.renderer=e}return t.prototype.setColumnClasses=function(t){var e=this;t.forEach((function(t){e.renderer.addClass(e.el.nativeElement,t)}))},t.prototype.setMaxWidth=function(t){this.renderer.setStyle(this.el.nativeElement,"max-width",t+"px")},t}();hn.decorators=[{type:e.Directive,args:[{selector:"clr-tt-cell"}]}],hn.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]};var dn=function(){};dn.decorators=[{type:e.Directive,args:[{selector:"clr-tt-row"}]}],dn.propDecorators={cells:[{type:e.ContentChildren,args:[hn]}]};var mn=function(){function t(){this.shouldStabilizeColumn=!0}return t.prototype.onResize=function(){this.applyMaxWidth()},t.prototype.ngAfterContentInit=function(){var t=this;this.headers.changes.subscribe((function(){t.shouldStabilizeColumn=!0})),this.rows.changes.subscribe((function(){t.shouldStabilizeColumn=!0}))},t.prototype.ngAfterViewChecked=function(){var t=this;this.shouldStabilizeColumn&&(this.applyColumnClasses(),setTimeout((function(){t.applyMaxWidth()}),10))},t.prototype.applyColumnClasses=function(){var t=this;this.shouldStabilizeColumn=!1,this.headers.forEach((function(e,n){var a=e.getColumnClasses();0===a.length?(e.setDefaultColumnClass(),t.rows.forEach((function(t){var e=t.cells.find((function(t,e){return e===n}));e&&e.setColumnClasses(["clr-col"])}))):t.rows.forEach((function(t){var e=t.cells.find((function(t,e){return e===n}));e&&e.setColumnClasses(a)}))}))},t.prototype.applyMaxWidth=function(){var t=this;if(this.headers.first){var e=this.headers.first.getWidth();0===e?setTimeout((function(){t.applyMaxWidthOnEachRow(t.headers.first.getWidth())}),100):this.applyMaxWidthOnEachRow(e)}},t.prototype.applyMaxWidthOnEachRow=function(t){this.rows.forEach((function(e){e.cells.first.setMaxWidth(t)}))},t}();mn.decorators=[{type:e.Directive,args:[{selector:"clr-treetable"}]}],mn.propDecorators={headers:[{type:e.ContentChildren,args:[un]}],rows:[{type:e.ContentChildren,args:[dn,{descendants:!0}]}],columns:[{type:e.ContentChildren,args:[sn]}],onResize:[{type:e.HostListener,args:["window:resize"]}]};var vn=[ln,on,cn,sn,pn,rn,mn,un,dn,hn],gn=function(){};gn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule],declarations:[vn],exports:[vn]}]}];var fn=function(){function t(){this._saveText="Save",this._preventSave=!1,this._cancelText="Cancel",this._editable=!0,this._editMode=!1,this._editIcon="pencil",this._editModeChanged=new e.EventEmitter(!1),this._submitted=new e.EventEmitter(!1),this._cancelled=new e.EventEmitter(!1)}return t.prototype.onSubmit=function(){this._submitted.emit(),this._preventSave||this.setEditMode(!1)},t.prototype.onCancel=function(){this._cancelled.emit(),this.setEditMode(!1)},t.prototype.onEdit=function(){this.setEditMode(!0)},t.prototype.setEditMode=function(t){this._editMode=t,this._editModeChanged.emit(this._editMode)},t}();fn.decorators=[{type:e.Component,args:[{selector:"clr-view-edit-section",template:'<div class="card view-edit-section" (keyup.escape)="onCancel()">\n <div class="card-block">\n <div class="card-title">\n {{_title}}\n <div class="ves-actions">\n <button\n type="button"\n (click)="onEdit()"\n class="btn btn-icon btn-link ves-action"\n *ngIf="_editable && !_editMode && actionBlock.children.length == 0"\n >\n <clr-icon class="ves-edit-icon" [attr.shape]="_editIcon" size="20"></clr-icon>\n </button>\n <div #actionBlock>\n <ng-content select="[action-block]"></ng-content>\n </div>\n </div>\n </div>\n <div class="card-text">\n <ng-template [ngTemplateOutlet]="viewRef" *ngIf="!_editMode"></ng-template>\n <ng-template [ngTemplateOutlet]="editRef" *ngIf="_editMode"></ng-template>\n <ng-container *ngIf="_editMode">\n <form clrForm (ngSubmit)="onSubmit()" class="button-bar">\n <button class="btn btn-primary ves-save" type="submit">{{_saveText}}</button>\n <button class="btn ves-cancel" (click)="onCancel()" type="button">{{_cancelText}}</button>\n </form>\n </ng-container>\n </div>\n </div>\n</div>\n'}]}],fn.propDecorators={_title:[{type:e.Input,args:["clrTitle"]}],_saveText:[{type:e.Input,args:["clrSaveText"]}],_preventSave:[{type:e.Input,args:["clrPreventModeChangeOnSave"]}],_cancelText:[{type:e.Input,args:["clrCancelText"]}],_editable:[{type:e.Input,args:["clrEditable"]}],_editMode:[{type:e.Input,args:["clrEditMode"]}],_editIcon:[{type:e.Input,args:["clrEditIcon"]}],viewRef:[{type:e.Input,args:["clrViewRef"]}],editRef:[{type:e.Input,args:["clrEditRef"]}],_editModeChanged:[{type:e.Output,args:["clrEditModeChange"]}],_submitted:[{type:e.Output,args:["clrSectionSubmitted"]}],_cancelled:[{type:e.Output,args:["clrSectionEditCancelled"]}]};var yn=function(){};yn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,a.FormsModule,r.ClrFormsModule],declarations:[fn],exports:[fn]}]}];var Cn=function(){function t(){this.cookieSettings$=new i.BehaviorSubject([]),this.cookieName="clr.history",this.cookieNameSettings="clr.history.settings",this.maxSize=1024,this.maxUrlSize=256,this.expiryDate=new Date,this.expiryDate.setTime(this.expiryDate.getTime()+31536e6)}return t.prototype.addHistoryEntry=function(t,e){this.removeFromHistory(t);var n=this.getHistory(t.username,t.context);return!!(t.url&&t.url.length<this.maxUrlSize)&&(n.push(t),n=n.slice(-4),this.setHistory(n,e),!0)},t.prototype.getHistoryDisplay=function(t,e){var n=this.getHistory(t,e);if(n.length>0){for(var a=n[n.length-1].title,r=[],i=[],o=n.length-1;o>=0&&i.length<4;o--)i.includes(n[o].title)||n[o].title===a||(i.push(n[o].title),r.push(n[o]));return r.reverse()}return n},t.prototype.getHistory=function(t,e){var n=this,a=this.getCookieByName(this.cookieName);return a?a.filter((function(a){return n.checkEqualContext(a,e)&&a.username===t})):[]},t.prototype.setHistory=function(t,e){t&&0!==t.length?((t=this.reduceSize(t))&&t.length>0&&t.forEach((function(t){t.title=encodeURI(t.title),t.pageName=encodeURI(t.pageName)})),this.setCookie(this.cookieName,this.encode(t),e)):this.setCookie(this.cookieName,this.encode([]),e)},t.prototype.reduceSize=function(t){if(JSON.stringify(t).length>this.maxSize){var e=[];do{for(var n=0;n<t.length;n++)e.push(t[n])}while(JSON.stringify(e).length<this.maxSize);return e}return t},t.prototype.resetHistory=function(){this.setHistory(null)},t.prototype.removeFromHistory=function(t){var e=this,n=this.getHistory(t.username,t.context);n=n.filter((function(n){return!(n.title===t.title&&n.username===t.username&&e.checkEqualContext(n,t.context))})),this.setHistory(n)},t.prototype.checkEqualContext=function(t,e){var n=!1;return t&&e&&Object.keys(e).forEach((function(a){n=t.context[a]===e[a]})),n},t.prototype.initializeCookieSettings=function(t,e){var n=this.getCookieByName(this.cookieNameSettings);n&&0!==n.length||(this.setHistoryPinned(t,!1,e),n=[{username:t,historyPinned:!1}]),this.cookieSettings$.next(n)},t.prototype.setHistoryPinned=function(t,e,n){var a=this.getCookieByName(this.cookieNameSettings),r=a.find((function(e){return e.username===t}));r?r.historyPinned=e:a.push({username:t,historyPinned:e}),this.cookieSettings$.next(a),this.setCookie(this.cookieNameSettings,JSON.stringify(a),n)},t.prototype.getCookieByName=function(t){var e=this,n=document.cookie.split(";").map((function(t){return t.trim()})).filter((function(e){return e.substring(0,t.length+1)===t+"="})).map((function(n){return t===e.cookieName?e.decode(n.substring(t.length+1)):JSON.parse(n.substring(t.length+1))}))[0]||[];return n&&n.length>0&&n.forEach((function(t){t.title&&(t.title=decodeURI(t.title)),t.pageName&&(t.pageName=decodeURI(t.pageName))})),n},t.prototype.encode=function(t){return btoa(encodeURIComponent(JSON.stringify(t))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"!")},t.prototype.decode=function(t){try{var e=t.replace(/-/g,"+").replace(/_/g,"/").replace(/!/g,"=");return JSON.parse(decodeURIComponent(atob(e)))}catch(t){return[]}},t.prototype.setCookie=function(t,e,n){document.cookie=t+"="+e+";domain="+(n||this.getDomain())+";expires="+this.expiryDate.toUTCString()+";path=/"},t.prototype.getDomain=function(){var t=window.location.hostname.split(".");return 1===t.length?t[0]:(t.shift(),t.join("."))},t}();Cn.decorators=[{type:e.Injectable}],Cn.ctorParameters=function(){return[]};var bn=function(){function t(t){this.historyService=t,this.pinActive=!0,this.dropdownHeader="History",this.dropdownPin="Pin History",this.dropdownUnpin="Unpin History",this.position="bottom-right",this.historyElements=[],this.pinActivated=!1}return t.prototype.ngOnInit=function(){var t=this;this.historyElements=this.historyService.getHistoryDisplay(this.username,this.context),this.historyService.initializeCookieSettings(this.username,this.domain),this.historyService.cookieSettings$.subscribe((function(e){t.pinActivated=e.find((function(e){return e.username===t.username})).historyPinned}))},t.prototype.select=function(t){window.location.href=t.url},t.prototype.togglePinHistory=function(){this.historyService.setHistoryPinned(this.username,!this.pinActivated)},t}();bn.decorators=[{type:e.Component,args:[{selector:"clr-history",template:'<clr-dropdown>\n <button type="button" class="btn btn-icon btn-link" clrDropdownTrigger>\n <clr-icon shape="history" size="24"></clr-icon>\n <clr-icon shape="caret down" size="12"></clr-icon>\n </button>\n <clr-dropdown-menu [clrPosition]="position" *clrIfOpen>\n <label class="dropdown-header" aria-hidden="true">{{dropdownHeader}}</label>\n <button type="button" clrDropdownItem *ngFor="let history of historyElements" (click)="select(history)">\n {{history.title}}\n </button>\n <div *ngIf="pinActive" class="dropdown-divider" role="separator" aria-hidden="true"></div>\n <button clrDropdownItem (click)="togglePinHistory()">\n <span *ngIf="pinActive && !pinActivated">{{dropdownPin}}</span>\n <span *ngIf="pinActive && pinActivated">{{dropdownUnpin}}</span>\n </button>\n </clr-dropdown-menu>\n</clr-dropdown>\n'}]}],bn.ctorParameters=function(){return[{type:Cn}]},bn.propDecorators={username:[{type:e.Input,args:["clrUsername"]}],context:[{type:e.Input,args:["clrContext"]}],pinActive:[{type:e.Input,args:["clrPinActive"]}],dropdownHeader:[{type:e.Input,args:["clrDropdownHeader"]}],dropdownPin:[{type:e.Input,args:["clrDropdownPin"]}],dropdownUnpin:[{type:e.Input,args:["clrDropdownUnpin"]}],domain:[{type:e.Input,args:["clrDomain"]}],position:[{type:e.Input,args:["clrPosition"]}]};var Ln=function(){function t(t){this.historyService=t,this.historyElements=[],this.active=!1}return t.prototype.ngOnInit=function(){var t=this;this.historyElements=this.historyService.getHistoryDisplay(this.username,this.context),this.historyService.initializeCookieSettings(this.username,this.domain),this.settingsSubscription=this.historyService.cookieSettings$.subscribe((function(e){var n=e.find((function(e){return e.username===t.username}));n&&(t.active=n.historyPinned)}))},t.prototype.ngOnDestroy=function(){this.settingsSubscription.unsubscribe()},t}();Ln.decorators=[{type:e.Component,args:[{selector:"clr-history-pinned",template:'<nav aria-label="history" class="history-container" *ngIf="historyElements.length && active">\n <ol class="history">\n <ng-container *ngFor="let historyItem of historyElements">\n <li *ngIf="historyItem.url" class="history-item">\n <a [href]="historyItem.url">{{historyItem.title}}</a>\n </li>\n </ng-container>\n </ol>\n</nav>\n'}]}],Ln.ctorParameters=function(){return[{type:Cn}]},Ln.propDecorators={username:[{type:e.Input,args:["clrUsername"]}],context:[{type:e.Input,args:["clrContext"]}],domain:[{type:e.Input,args:["clrDomain"]}]};var Sn=function(){};Sn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule,s.RouterModule],declarations:[bn,Ln],exports:[bn,Ln]}]}];var Mn=function(){};Mn.decorators=[{type:e.Directive,args:[{selector:"input:not([autocomplete])",host:{"[attr.autocomplete]":'"off"'}}]}];var An,wn=function(){};wn.decorators=[{type:e.NgModule,args:[{declarations:[Mn],exports:[Mn]}]}],t.AcceptedBrands=void 0,(An=t.AcceptedBrands||(t.AcceptedBrands={}))[An.AUDI=0]="AUDI",An[An.CUPRA=1]="CUPRA",An[An.DWA=2]="DWA",An[An.PORSCHE=3]="PORSCHE",An[An.SEAT=4]="SEAT",An[An.SKODA=5]="SKODA",An[An.VW=6]="VW",An[An.VWN=7]="VWN";var In=function(){function e(){this.avatar=!0}return e.prototype.getShape=function(){var n=e.getCleanBrandName(this.brand);return n in t.AcceptedBrands?"brand-"+n.toLowerCase():e.DEFAULT_ICON_SHAPE},e.getCleanBrandName=function(t){var e=""+t;return e=(e=(e=(e=(e=(e=(e=(e=e.replace(/ /g,"")).replace(/-/g,"")).replace(/_/g,"")).toUpperCase()).replace("VOLKSWAGEN","VW")).replace("NUTZFAHRZEUGE","N")).replace("DASWELTAUTO","DWA")).replace("Š","S")},e}();In.DEFAULT_ICON_SHAPE="new-car-private",In.decorators=[{type:e.Component,args:[{selector:"clr-brand-avatar",template:'<div class="brand-avatar-rectangle">\n <div #avatar class="brand-avatar-icon-container">\n <clr-icon [attr.size]="23" [attr.shape]="getShape()"></clr-icon>\n </div>\n</div>\n'}]}],In.propDecorators={avatar:[{type:e.HostBinding,args:["class.clr-brand-avatar"]}],brand:[{type:e.Input,args:["clrBrand"]}],avatarElement:[{type:e.ViewChild,args:["avatar",{static:!0}]}]};var Vn=function(){};Vn.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule,r.ClarityModule],declarations:[In],exports:[In]}]}];var Hn=function(){};Hn.decorators=[{type:e.NgModule,args:[{exports:[yn,Ge,x,Ke,f,v,Ce,S,Pe,_,h,qe,an,gn,Je,H,en,me,ze,O,w,he,Sn,wn,Vn]}]}];var En=function(){},xn=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},zn=function(){function t(t,e){var n=this;this._notificationCmptRef=t,this._contentRef=e,t.instance.closed.pipe(o.take(1)).subscribe((function(){n.close()})),this.result=new Promise((function(t){n._resolve=t})),this.result.then(null)}return t.prototype.close=function(){this._notificationCmptRef&&(this._resolve(),this._removeModalElements())},t.prototype._removeModalElements=function(){var t=this._notificationCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._notificationCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._notificationCmptRef=null,this._contentRef=null},t}(),_n=function(){function t(t,e,n,a){this._injector=t,this._applicationRef=e,this._componentFactoryResolver=n,this._document=a,this.elements=new Set}return t.prototype.openNotification=function(t,e){var n=this;void 0===e&&(e={});var a=this._getContentRef(t,e),r=this._attachWindowComponent(this._document.body,a),i=new zn(r,a);return this._applyWindowOptions(r.instance,e),r.instance.closed.pipe(o.take(1)).subscribe(this._afterClose.bind(this,r.instance)),r.instance.heightInitalized.then((function(){return n.elements.forEach((function(t){t!==r.instance&&t.moveDown(r.instance.height)}))})),this.elements.add(r.instance),i},t.prototype._afterClose=function(t){this.elements.delete(t),this.elements.forEach((function(e){e.translate>t.translate&&e.moveUp(t.height)}))},t.prototype._getContentRef=function(t,n){return t instanceof e.TemplateRef?this._createFromTemplateRef(t,n.ngTemplateOutletContext):"string"==typeof t?this._createFromString(t):new xn([])},t.prototype._createFromTemplateRef=function(t,e){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new xn([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(""+t);return new xn([[e]])},t.prototype._attachWindowComponent=function(t,e){var n=this._componentFactoryResolver.resolveComponentFactory(ke).create(this._injector,e.nodes);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n},t.prototype._applyWindowOptions=function(t,e){null!=e.timeout&&null!=e.timeout&&(t.timeout=e.timeout),null!=e.notificationType&&null!=e.notificationType&&(t.notificationType=e.notificationType),null!=e.dismissable&&null!=e.dismissable&&(t.dismissable=e.dismissable),null!=e.progressbar&&null!=e.progressbar&&(t.progressbar=e.progressbar)},t}();_n.decorators=[{type:e.Injectable}],_n.ctorParameters=function(){return[{type:e.Injector},{type:e.ApplicationRef},{type:e.ComponentFactoryResolver},{type:Document,decorators:[{type:e.Inject,args:[n.DOCUMENT]}]}]};var Zn=new Map([["&","&"],["<","<"],[">",">"],['"',"""],["'","'"],["/","/"]]);t.ACShape=zt,t.AccessoriesShape=xt,t.AccessoryPartsShape=Bt,t.AudiBrandShape=Ot,t.AwardWinnerPremiumShape=jt,t.BrochureShape=Ut,t.BusinessCustomersCommercialShape=qt,t.BusinessCustomersPrivateShape=Wt,t.CLR_BLANK_OPTION=Qe,t.CaliforniaServiceShape=$t,t.CaliforniaSpecialistShape=Et,t.CarPickupServiceShape=Ht,t.CarWashShape=Vt,t.CertifiedRepairShape=It,t.CertifiedRetailerShape=wt,t.ClrActiveNotification=En,t.ClrAddonsIconShapes=pe,t.ClrAddonsIconsModule=he,t.ClrAddonsModule=Hn,t.ClrBackButton=u,t.ClrBackButtonModule=h,t.ClrBrandAvatar=In,t.ClrBrandAvatarModule=Vn,t.ClrBreadcrumb=m,t.ClrBreadcrumbModule=v,t.ClrBreadcrumbService=d,t.ClrCollapseExpandSection=g,t.ClrCollapseExpandSectionModule=f,t.ClrContentPanel=y,t.ClrContentPanelContainer=C,t.ClrContentPanelContainerContent=b,t.ClrContentPanelContainerFooter=L,t.ClrContentPanelModule=S,t.ClrContentRef=xn,t.ClrDataListPredefinedValidatorDirective=A,t.ClrDataListValidatorModule=w,t.ClrDataListValidators=M,t.ClrDateTimeContainer=I,t.ClrDateTimeModule=H,t.ClrDotPager=E,t.ClrDotPagerModule=x,t.ClrFlowBar=z,t.ClrFlowBarModule=_,t.ClrGenericQuickList=Z,t.ClrGenericQuickListModule=O,t.ClrHistory=bn,t.ClrHistoryModule=Sn,t.ClrHistoryPinned=Ln,t.ClrHistoryService=Cn,t.ClrLetterAvatar=de,t.ClrLetterAvatarModule=me,t.ClrMainNavGroup=ye,t.ClrMainNavGroupItem=ve,t.ClrMainNavGroupModule=Ce,t.ClrMaxNumeric=je,t.ClrMinNumeric=Ue,t.ClrMultilingualInput=He,t.ClrMultilingualInputValidators=Me,t.ClrMultilingualModule=ze,t.ClrMultilingualSelector=xe,t.ClrMultilingualTextarea=Ee,t.ClrNotification=ke,t.ClrNotificationModule=Pe,t.ClrNotificationRef=zn,t.ClrNotificationService=_n,t.ClrNumericField=Re,t.ClrNumericFieldModule=qe,t.ClrNumericFieldValidators=Be,t.ClrPagedSearchResultList=We,t.ClrPagedSearchResultListModule=Ke,t.ClrPager=$e,t.ClrPagerModule=Ge,t.ClrProgressSpinnerComponent=Ye,t.ClrProgressSpinnerModule=Je,t.ClrQuickList=tn,t.ClrQuickListModule=en,t.ClrRequiredAllMultilang=we,t.ClrRequiredOneMultilang=Ae,t.ClrSearchField=nn,t.ClrSearchFieldModule=an,t.ClrTimeInput=V,t.ClrTreetable=ln,t.ClrTreetableActionOverflow=rn,t.ClrTreetableCell=cn,t.ClrTreetableColumn=sn,t.ClrTreetableModule=gn,t.ClrTreetablePlaceholder=pn,t.ClrTreetableRow=on,t.ClrViewEditSection=fn,t.ClrViewEditSectionModule=yn,t.ConfiguratorCommercialShape=At,t.ConfiguratorPrivateShape=Mt,t.ConsumptionShape=St,t.ContactDealerShape=Lt,t.CupraBrandShape=kt,t.CustomersCenterShape=bt,t.DWABrandShape=Pt,t.DieselShape=Gt,t.DriversAssistanceShape=Ct,t.EfficiencyShape=yt,t.ElectricCarsServiceShape=ft,t.ElectricCarsShape=gt,t.ElectricityShape=vt,t.EmissionShape=Kt,t.EnergyShape=Yt,t.EngineShape=mt,t.ExpressServiceShape=dt,t.ExteriorShape=Jt,t.FindACarShape=ht,t.FleetServiceCommercialShape=ut,t.FleetServicePrivateShape=pt,t.GasCarsServiceShape=Qt,t.GasShape=ct,t.HybridShape=lt,t.LoadingVolumeShape=st,t.LocateShape=Xt,t.NewCarCommercialShape=P,t.NewCarPrivateShape=T,t.NewCarUtilityVehicleShape=te,t.NightServiceShape=ot,t.OffersShape=_t,t.OnCallDutyShape=it,t.OpenSatShape=rt,t.PaintShopShape=at,t.PayloadShape=nt,t.PerformanceShape=et,t.PetrolShape=tt,t.PlusServiceShape=ee,t.PorscheBrandShape=Tt,t.PowerShape=X,t.PowerTrainShape=Q,t.PriceTypeSwitchShape=ne,t.QualifiedWorkshopShape=J,t.RoadsideAssistanceShape=Y,t.RouteShape=ae,t.SeatAirShape=K,t.SeatBrandShape=Dt,t.SeatShape=G,t.ServiceBellShape=$,t.ServiceShape=W,t.SizeShape=re,t.SkodaBrandShape=Nt,t.StockLocatorCommercialShape=q,t.StockLocatorPrivateShape=U,t.TaxiDealerShape=ie,t.TouaregServiceShape=oe,t.TransmissionAutomaticShape=j,t.TransmissionManualShape=B,t.UsedCarCommercialShape=D,t.UsedCarPrivateShape=N,t.VWBrandShape=Rt,t.VWNBrandShape=Ft,t.VWShape=Zt,t.VehicleConversionShape=se,t.View360Shape=F,t.VirtualRealityShape=le,t.WheelToWheelShape=R,t.WindscreenWashShape=ce,t.clrIconSVG=k,t.escapeHtml=function(t){return t.replace(/[&<>"'/]/g,(function(t){return Zn.get(t)}))},t.escapeRegex=function(t){return String(t).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")},t.loadIcons=ue,t.ɵa=mn,t.ɵb=un,t.ɵc=dn,t.ɵd=hn,t.ɵe=Xe,t.ɵf=Ve,t.ɵg=Ie,t.ɵh=wn,t.ɵi=Mn,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
17
17
|
//# sourceMappingURL=clr-addons.umd.min.js.map
|