@progress/kendo-angular-label 3.1.2-dev.202201190917 → 3.1.3
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/dist/cdn/js/kendo-angular-label.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +1 -1
- package/dist/fesm5/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-label.js +1 -1
- package/package.json +17 -13
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("rxjs"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):"function"==typeof define&&define.amd?define([,,,,,],e):"object"==typeof exports?exports.KendoAngularLabel=e(require("@angular/core"),require("rxjs"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):t.KendoAngularLabel=e(t.ng.core,t.rxjs,t.KendoAngularCommon,t.ng.common,t.KendoLicensing,t.ng.forms)}(window,(function(t,e,n,r,o,i){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=16)}([function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return o})),n.d(e,"__assign",(function(){return i})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return u})),n.d(e,"__metadata",(function(){return c})),n.d(e,"__awaiter",(function(){return l})),n.d(e,"__generator",(function(){return p})),n.d(e,"__createBinding",(function(){return d})),n.d(e,"__exportStar",(function(){return f})),n.d(e,"__values",(function(){return h})),n.d(e,"__read",(function(){return b})),n.d(e,"__spread",(function(){return y})),n.d(e,"__spreadArrays",(function(){return _})),n.d(e,"__await",(function(){return g})),n.d(e,"__asyncGenerator",(function(){return v})),n.d(e,"__asyncDelegator",(function(){return m})),n.d(e,"__asyncValues",(function(){return O})),n.d(e,"__makeTemplateObject",(function(){return S})),n.d(e,"__importStar",(function(){return w})),n.d(e,"__importDefault",(function(){return x})),n.d(e,"__classPrivateFieldGet",(function(){return E})),n.d(e,"__classPrivateFieldSet",(function(){return j}));
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
|
|
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function m(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function j(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",(function(){return a})),n.d(t,"ComponentMessages",(function(){return u})),n.d(t,"L10N_PREFIX",(function(){return l})),n.d(t,"LocalizationService",(function(){return d})),n.d(t,"RTL",(function(){return c}));var r=n(1),i=n(0),o=n(2),s=n(3),a=function(){function e(){this.changes=new o.BehaviorSubject({rtl:void 0})}return e.prototype.notify=function(e){this.changes.next({rtl:e})},e.prototype.get=function(e){},e=Object(r.__decorate)([Object(i.Injectable)()],e)}(),u=function(){function e(){}return Object.defineProperty(e.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.register(e),Object.keys(e).some((function(t){return!e[t].isFirstChange()}))&&this.service.notifyChanges()},e.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(s.skip)(1)).subscribe((function(){return e.register(e)}))},e.prototype.register=function(e){var t=this;Object.keys(e).forEach((function(e){return t.service.register(e,t[e],t.override)}))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}(),c=new i.InjectionToken("Kendo UI Right-to-Left token"),l=new i.InjectionToken("Localization key prefix"),d=function(){function e(e,t,n){var r=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new o.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(s.map)((function(e){var t=e.rtl;return void 0!==t?t:r._rtl})),Object(s.tap)((function(e){return r._rtl=e}))).subscribe((function(e){r.dictionary={},r.changes.next({rtl:e})})))}return Object.defineProperty(e.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.get=function(e){var t=this.key(e);return this.dictionary[t]},e.prototype.register=function(e,t,n){void 0===n&&(n=!1);var r=this.key(e),i=t;if(!n){if(this.dictionary.hasOwnProperty(r))return;i=this.defaultValue(r,t)}this.dictionary[r]=i},e.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},e.prototype.key=function(e){return this.prefix+"."+e},e.prototype.defaultValue=function(e,t){if(!this.messageService)return t;var n=this.messageService.get(e);return void 0===n?t:n},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__param)(0,Object(i.Inject)(l)),Object(r.__param)(1,Object(i.Optional)()),Object(r.__param)(2,Object(i.Optional)()),Object(r.__param)(2,Object(i.Inject)(c)),Object(r.__metadata)("design:paramtypes",[String,a,Boolean])],e)}()},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(8),o=n(0),s=n(7),a=function(){function e(e,t,n){var r=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=r.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!s.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+s.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)}))},e.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},e.prototype.setAriaLabelledby=function(){if(s.isDocumentAvailable()){var e=this.getFocusableComponent();if(e&&e.focusableId){var t=i.getRootElement(this.label.nativeElement).querySelector("#"+e.focusableId);if(!t)return;var n=this.label.nativeElement,r=n.id||"k-"+s.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",r),this.renderer.setAttribute(t,"aria-labelledby",r)}}},e.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([o.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),r.__decorate([o.HostBinding("class.k-label"),r.__metadata("design:type",Boolean)],e.prototype,"labelClass",void 0),e=r.__decorate([o.Directive({selector:"label[for]"}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.NgZone])],e)}();t.LabelDirective=a},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return q})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return C})),n.d(t,"DraggableModule",(function(){return j})),n.d(t,"closestInScope",(function(){return w})),n.d(t,"closest",(function(){return E})),n.d(t,"contains",(function(){return S})),n.d(t,"findElement",(function(){return D})),n.d(t,"findFocusableChild",(function(){return M})),n.d(t,"findFocusable",(function(){return A})),n.d(t,"hasClasses",(function(){return P})),n.d(t,"isFocusableWithTabKey",(function(){return I})),n.d(t,"isFocusable",(function(){return k})),n.d(t,"isVisible",(function(){return z})),n.d(t,"matchesClasses",(function(){return B})),n.d(t,"matchesNodeName",(function(){return R})),n.d(t,"rtlScrollPosition",(function(){return N})),n.d(t,"EventsOutsideAngularDirective",(function(){return H})),n.d(t,"EventsModule",(function(){return U})),n.d(t,"ResizeSensorComponent",(function(){return W})),n.d(t,"ResizeBatchService",(function(){return J})),n.d(t,"ResizeCompatService",(function(){return Y})),n.d(t,"ResizeObserverService",(function(){return X})),n.d(t,"ResizeSensorModule",(function(){return $})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return y})),n.d(t,"isChanged",(function(){return m})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return O})),n.d(t,"guid",(function(){return x})),n.d(t,"Keys",(function(){return T}));var r=n(1),i=n(0),o=function(e,t){return function(n){return t(e(n))}},s=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},a=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},u=function(){},c=function(e){return e.preventDefault()},l=/touch/;function d(e){return e.type.match(l)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var p=function(e){var t=this,n=e.press;void 0===n&&(n=u);var r=e.drag;void 0===r&&(r=u);var i=e.release;void 0===i&&(i=u);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=o(d,n),this._dragHandler=o(d,r),this._releaseHandler=o(d,i),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(s(t.document,"mousemove",t._mousemove),s(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){a(t.document,"mousemove",t._mousemove),a(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(s(t.document,"pointermove",t._pointermove),s(t.document,"pointerup",t._pointerup),s(t.document,"pointercancel",t._pointerup),s(t.document,"contextmenu",c),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(a(t.document,"pointermove",t._pointermove),a(t.document,"pointerup",t._pointerup),a(t.document,"pointercancel",t._pointerup),a(t.document,"contextmenu",c),t._releaseHandler(e))}},f={document:{configurable:!0}};p.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},f.document.get=function(){return this._element?this._element.ownerDocument:document},p.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},p.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?s(e,"pointerdown",this._pointerdown):(s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend)))},p.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return a(e,"pointerdown",this._pointerdown),a(this.document,"pointermove",this._pointermove),a(this.document,"pointerup",this._pointerup),a(this.document,"contextmenu",c),void a(this.document,"pointercancel",this._pointerup);a(e,"mousedown",this._mousedown),this._mouseOnly||(a(e,"touchstart",this._touchstart),a(e,"touchmove",this._touchmove),a(e,"touchend",this._touchend))},p.prototype._usePointers=function(){return!this._mouseOnly&&p.supportPointerEvent()},p.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var r=e.release;void 0===r&&(r=u);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=o(d,t),this._dragHandler=o(d,n),this._releaseHandler=o(d,r),this._mouseOnly=i},p.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(p.prototype,f),p.default=p;var h=p,g=n(5),b=n(3),v=n(2),y=function(){return"undefined"!=typeof document},m=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},_=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return m(e,t,n)}))},O=function(e){return e&&e.observers.length>0},x=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},C=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){m("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;y()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new h({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],e)}(),j=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[C],exports:[C],imports:[g.CommonModule]})],e)}(),w=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},E=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},S=function(e,t,n){if(void 0===n&&(n=!1),!E(t,(function(t){return t===e})))return!1;var r=E(t,(function(e){return e===t}));return r&&(n||r!==e)},D=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=D(e,t);if(r)return r}e=e.nextSibling}}},L=/^(?:a|input|select|option|textarea|button|object)$/i,k=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&L.test(t)||n},z=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility},I=function(e,t){if(void 0===t&&(t=!0),!k(e))return!1;var n=e.getAttribute("tabIndex");return(!t||z(e))&&"-1"!==n},M=function(e,t){return void 0===t&&(t=!0),D(e,(function(e){return I(e,t)}),!1)},A=function(e,t){return void 0===t&&(t=!0),D(e,(function(e){return I(e,t)}))},K=function(e){return String(e).trim().split(" ")},P=function(e,t){var n=K(t);return Boolean(K(e.className).find((function(e){return n.indexOf(e)>=0})))},B=function(e){return function(t){return P(t,e)}},F={},R=function(e){return F[e]||(F[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),F[e]};function N(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}var T,H=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(r.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(r.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(r.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(r.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}(),U=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[H],exports:[H]})],e)}(),q=function(){function e(e){this.resizeBatchService=e,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){y()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),V=function(e){var t=document.createElement("div");return t.style.cssText=e,t},Z="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",Y=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=Z,e.setAttribute("dir","ltr"),this.expand=V(Z),this.expandChild=V("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=V(Z);var t=V("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(v.merge)(Object(v.fromEvent)(e.shrink,"scroll"),Object(v.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(q),G="undefined"!=typeof ResizeObserver,X=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return Object(r.__extends)(t,e),t.supported=function(){return G},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(q),J=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(v.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(r.__decorate)([Object(i.Injectable)(),Object(r.__metadata)("design:paramtypes",[i.NgZone])],e)}(),W=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var o=X.supported()?X:Y;this.resizeService=new o(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(b.auditTime)(s)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(r.__decorate)([Object(i.Input)(),Object(r.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(r.__decorate)([Object(i.Output)(),Object(r.__metadata)("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=Object(r.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(r.__metadata)("design:paramtypes",[J,i.ElementRef,i.NgZone])],e)}(),Q=[W],$=function(){function e(){}return e=Object(r.__decorate)([Object(i.NgModule)({declarations:[Q],exports:[Q],providers:[J]})],e)}(),ee=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(T||(T={}));var te=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(19),s=n(11),a=[o.LocalizedMessagesDirective,s.CustomMessagesComponent],u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[a],exports:[a]})],e)}();t.SharedDirectivesModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),r.__decorate([i.Input(),r.__metadata("design:type",String)],t.prototype,"optional",void 0),t}(n(4).ComponentMessages);t.Messages=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(10),a=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return r.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=r.__decorate([i.Component({providers:[{provide:s.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[o.LocalizationService])],t)}(s.Messages);t.CustomMessagesComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(5),s=n(9),a=[n(13).FloatingLabelComponent],u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:a.slice(),exports:a.concat([s.SharedDirectivesModule]),imports:[o.CommonModule,s.SharedDirectivesModule]})],e)}();t.FloatingLabelModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(20),a=n(7),u=n(14),c=n(15),l=n(21),d=function(e){return"[object Function]"===Object.prototype.toString.call(e)},p=function(){function e(e,t,n,r){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=r,this.hostClasses=!0,this.positionChange=new i.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+a.guid(),this.autoFillStarted=!1,u.validatePackage(c.packageMetadata),this.direction=r.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new l.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},e.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},e.prototype.subscribe=function(e,t,n){if(e[t]instanceof i.EventEmitter){var r=e[t].subscribe(n);this.subscription?this.subscription.add(r):this.subscription=r}},e.prototype.updateState=function(){var e=function(e){return 0!==e&&!1!==e&&(!(!Array.isArray(e)||e.length)||!e)},t=this.formControl;if(t){var n=t.valueAccessor;d(n.isEmpty)?this.empty=n.isEmpty():this.empty=e(t.value),this.invalid=t.invalid&&(t.touched||t.dirty)}else this.empty=d(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},e.prototype.setAriaLabelledby=function(e){var t=e.focusableId||e.id;if(t){var n=this.elementRef.nativeElement.querySelector("#"+t);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},e.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;if(this.id&&t)this.id=t;else if(this.id)e.focusableId=this.id;else if(t)this.id=t;else{var n="k-"+a.guid();e.focusableId=n,this.id=n}},e.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",(function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")})),this.subscribe(e,"autoFillEnd",(function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))}))},e.prototype.addHandlers=function(e){var t=this,n=function(e){return function(){t.focused=e,t.updateState(),t.empty&&a.hasObservers(t.positionChange)&&t.positionChange.emit(e?"Out":"In")}};this.subscribe(e,"onFocus",n(!0)),this.subscribe(e,"onBlur",n(!1)),this.handleAutofill(e);var r=function(){return t.updateState()};r(),this.subscribe(e,"onValueChange",r)},e.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(i.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},r.__decorate([i.HostBinding("class.k-floating-label-container"),r.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),r.__decorate([i.HostBinding("class.k-state-focused"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"focusedClass",null),r.__decorate([i.HostBinding("class.k-state-invalid"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],e.prototype,"invalidClass",null),r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"labelCssStyle",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"labelCssClass",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"id",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"text",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),r.__decorate([i.ContentChild(a.KendoInput,{static:!1}),r.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),r.__decorate([i.ContentChild(s.NgControl,{static:!1}),r.__metadata("design:type",s.NgControl)],e.prototype,"formControl",void 0),e=r.__decorate([i.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[o.LocalizationService,{provide:o.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.ChangeDetectorRef,o.LocalizationService])],e)}();t.FloatingLabelComponent=p},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return c})),n.d(t,"validatePackage",(function(){return l}));var r,i,o=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];r=o,i=131,function(e){for(;--e;)r.push(r.shift())}(++i);var s=function(e,t){var n=o[e-=0];if(void 0===s.eVebMg){s.JsjtEd=function(e){for(var t=function(e){for(var t,n,r=String(e).replace(/=+$/,""),i="",o=0,s=0;n=r.charAt(s++);~n&&(t=o%4?64*t+n:n,o++%4)?i+=String.fromCharCode(255&t>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(e),n=[],r=0,i=t.length;r<i;r++)n+="%"+("00"+t.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var r=s.rqrXoU[e];return void 0===r?(n=s.JsjtEd(n),s.rqrXoU[e]=n):n=r,n},a={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},u=new Map;function c(e){}function l(e){if(u[s("0x14")](e[s("0x4")])){if(s("0x35")==s("0x35"))return u[s("0x36")](e[s("0x4")])}var t,n=e[s("0x1")]?" v"+e[s("0x1")]:"",r=e[s("0x4")]+n,i=JSON[s("0x9")](a[s("0x34")]),o=!i[s("0x26")]&&!i[s("0x38")],c=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),l=function(e,t){var n=e[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var r=new Set(t);return n[s("0x2a")]((function(e){if(s("0xa")!==s("0x18"))return r[s("0x14")](e[s("0x39")])}))}(i,e[s("0x2")]);if(o||c)if(s("0x29")!=s("0x29")){}else t={type:0,packageName:r,docsUrl:e[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(l){if(s("0x12")!=s("0x12")){}else if(l[s("0x37")]<e[s("0x1c")])if(s("0x21")===s("0x32")){}else t={type:2,packageName:r,publishDate:d(e[s("0x1c")]),expiryDate:d(l[s("0x37")]),docsUrl:e[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else t={type:1,packageName:r,docsUrl:e[s("0x27")]};if(t&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var p=s("0x1b")+e[s("0xe")],f=typeof console[s("0x7")]===s("0x33");if(f)if(s("0xc")!=s("0xc")){}else console[s("0x7")](p);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](p);if(console[s("0x1e")](function(e){var t=s("0x28")+e[s("0x16")]+"\n";if(2===e[s("0x3a")])if(s("0x20")!=s("0x20")){}else t+=s("0x25")+e[s("0x15")][s("0x2c")]()+s("0xb")+e[s("0x1c")][s("0x2c")]()+".\n";else if(0===e[s("0x3a")])if(s("0x13")!==s("0x10"))t+=s("0xd");else{}else if(1===e[s("0x3a")])if(s("0x2e")===s("0x23")){}else t+=s("0x1d");return t+=s("0x31")+e[s("0x1a")]+s("0x22")}(t)),f)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var h=!t;return u[s("0x0")](e[s("0x4")],h),h}function d(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642583775,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(2),s=n(4),a=n(7),u=n(14),c=n(15),l=n(6),d=n(8),p=function(){function e(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new o.Subscription,u.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return e.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+a.guid()),void(this.control=e);this.control=this.kendoInput}},e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localization.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})))},e.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},r.__decorate([i.HostBinding("attr.dir"),r.__metadata("design:type",String)],e.prototype,"direction",void 0),r.__decorate([i.Input(),r.__metadata("design:type",String)],e.prototype,"text",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"for",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),r.__decorate([i.ViewChild(l.LabelDirective,{static:!0}),r.__metadata("design:type",l.LabelDirective)],e.prototype,"labelDirective",void 0),r.__decorate([i.ContentChild(a.KendoInput,{static:!0}),r.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),e=r.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,s.LocalizationService])],e)}();t.LabelComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.LabelDirective=r.LabelDirective;var i=n(18);t.LabelModule=i.LabelModule;var o=n(12);t.FloatingLabelModule=o.FloatingLabelModule;var s=n(13);t.FloatingLabelComponent=s.FloatingLabelComponent;var a=n(16);t.LabelComponent=a.LabelComponent;var u=n(11);t.CustomMessagesComponent=u.CustomMessagesComponent},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(5),s=n(0),a=n(12),u=n(6),c=n(16),l=[u.LabelDirective,c.LabelComponent],d=function(){function e(){}return e=r.__decorate([s.NgModule({imports:[o.CommonModule,i.SharedDirectivesModule],declarations:l.slice(),exports:l.concat([a.FloatingLabelModule,i.SharedDirectivesModule])})],e)}();t.LabelModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n(4),s=n(10),a=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return r.__extends(t,e),n=t,t=n=r.__decorate([i.Directive({providers:[{provide:s.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[o.LocalizationService])],t)}(s.Messages);t.LocalizedMessagesDirective=a},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(0),o=function(){function e(e,t){this.component=e;var n=function(e){return e instanceof r.Observable||e instanceof i.EventEmitter};n(e.onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}return Object.defineProperty(e.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),e}();t.FloatingLabelInputAdapter=o}])}));
|
|
20
|
+
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function a(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{u(r.next(t))}catch(t){i(t)}}function a(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}))}function p(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function d(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}function f(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function h(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function _(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function g(t){return this instanceof g?(this.v=t,this):new g(t)}function v(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){o[t]&&(r[t]=function(e){return new Promise((function(n,r){i.push([t,e,n,r])>1||a(t,e)}))})}function a(t,e){try{(n=o[t](e)).value instanceof g?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(t){l(i[0][3],t)}var n}function u(t){a("next",t)}function c(t){a("throw",t)}function l(t,e){t(e),i.shift(),i.length&&a(i[0][0],i[0][1])}}function m(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=h(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,o,(e=t[n](e)).done,e.value)}))}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function x(t){return t&&t.__esModule?t:{default:t}}function E(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function j(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e),n.d(e,"MessageService",(function(){return j})),n.d(e,"ComponentMessages",(function(){return C})),n.d(e,"L10N_PREFIX",(function(){return I})),n.d(e,"LocalizationService",(function(){return L})),n.d(e,"RTL",(function(){return k}));var r=n(0),o=n(1),i=n(3);function s(t){return"function"==typeof t}var a=!1,u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;a=t},get useDeprecatedSynchronousErrorHandling(){return a}};function c(t){setTimeout((function(){throw t}))}var l={closed:!0,next:function(t){},error:function(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete:function(){}},p=Array.isArray||function(t){return t&&"number"==typeof t.length};function d(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}d.prototype=Object.create(Error.prototype);var f=d,h=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a,u=-1,c=r?r.length:0;n;)n.remove(this),n=++u<c&&r[u]||null;if(s(o))try{o.call(this)}catch(n){e=!0,t=n instanceof f?b(n.errors):[n]}if(p(i))for(u=-1,c=i.length;++u<c;){var l=i[u];if(null!==(a=l)&&"object"==typeof a)try{l.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof f?t=t.concat(b(n.errors)):t.push(n)}}if(e)throw new f(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var o=this._subscriptions;o?o.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function b(t){return t.reduce((function(t,e){return t.concat(e instanceof f?e.errors:e)}),[])}var y="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),_=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=l;break;case 1:if(!n){i.destination=l;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new g(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new g(i,n,r,o)}return i}return r.__extends(e,t),e.prototype[y]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(h),g=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return s(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==l&&(s((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=u.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;c(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw t;c(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return u.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(c(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(_);var v=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new m(t,this.total))},t}(),m=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(_);var O=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.project,this.thisArg))},t}(),S=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(_);function w(){}var x=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new E(t,this.nextOrObserver,this.error,this.complete))},t}(),E=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=w,i._tapError=w,i._tapComplete=w,i._tapError=r||w,i._tapComplete=o||w,s(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||w,i._tapError=n.error||w,i._tapComplete=n.complete||w),i}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(_),j=function(){function t(){this.changes=new i.BehaviorSubject({rtl:void 0})}return t.prototype.notify=function(t){this.changes.next({rtl:t})},t.prototype.get=function(t){},t=Object(r.__decorate)([Object(o.Injectable)()],t)}(),C=function(){function t(){}return Object.defineProperty(t.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some((function(e){return!t[e].isFirstChange()}))&&this.service.notifyChanges()},t.prototype.ngOnInit=function(){var t,e=this;this.subscription=this.service.changes.pipe((t=1,function(e){return e.lift(new v(t))})).subscribe((function(){return e.register(e)}))},t.prototype.register=function(t){var e=this;Object.keys(t).forEach((function(t){return e.service.register(t,e[t],e.override)}))},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t}(),k=new o.InjectionToken("Kendo UI Right-to-Left token"),I=new o.InjectionToken("Localization key prefix"),L=function(){function t(t,e,n){var r,o,s,a,u,c=this;this.prefix=t,this.messageService=e,this._rtl=n,this.changes=new i.BehaviorSubject({rtl:this._rtl}),this.dictionary={},e&&(this.subscription=e.changes.pipe((a=function(t){var e=t.rtl;return void 0!==e?e:c._rtl},function(t){if("function"!=typeof a)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new O(a,u))}),(r=function(t){return c._rtl=t},function(t){return t.lift(new x(r,o,s))})).subscribe((function(t){c.dictionary={},c.changes.next({rtl:t})})))}return Object.defineProperty(t.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.get=function(t){var e=this.key(t);return this.dictionary[e]},t.prototype.register=function(t,e,n){void 0===n&&(n=!1);var r=this.key(t),o=e;if(!n){if(this.dictionary.hasOwnProperty(r))return;o=this.defaultValue(r,e)}this.dictionary[r]=o},t.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},t.prototype.key=function(t){return this.prefix+"."+t},t.prototype.defaultValue=function(t,e){if(!this.messageService)return e;var n=this.messageService.get(t);return void 0===n?e:n},t=Object(r.__decorate)([Object(o.Injectable)(),Object(r.__param)(0,Object(o.Inject)(I)),Object(r.__param)(1,Object(o.Optional)()),Object(r.__param)(2,Object(o.Optional)()),Object(r.__param)(2,Object(o.Inject)(k)),Object(r.__metadata)("design:paramtypes",[String,j,Boolean])],t)}()},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(6),i=n(1),s=n(5),a=function(){function t(t,e,n){var r=this;this.label=t,this.renderer=e,this.zone=n,this.labelClass=!0,this.handleClick=function(){var t=r.getFocusableComponent();t&&(o.isUploadComponent(t)&&t.fileSelect.nativeElement.click(),t.focus&&t.focus())}}return Object.defineProperty(t.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!s.isDocumentAvailable())return null;var t=this.getFocusableComponent()||{};return o.isInputElement(t)&&!o.inputElementHasAttr(t,"id")&&this.renderer.setAttribute(t,"id","k-"+s.guid()),t.focusableId||t.id||null},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return t.clickListener=t.renderer.listen(t.label.nativeElement,"click",t.handleClick)}))},t.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},t.prototype.setAriaLabelledby=function(){if(s.isDocumentAvailable()){var t=this.getFocusableComponent();if(t&&t.focusableId){var e=o.getRootElement(this.label.nativeElement).querySelector("#"+t.focusableId);if(!e)return;var n=this.label.nativeElement,r=n.id||"k-"+s.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",r),this.renderer.setAttribute(e,"aria-labelledby",r)}}},t.prototype.getFocusableComponent=function(){var t=this.for;return t&&void 0!==t.focus?t:null},r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"for",void 0),r.__decorate([i.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],t.prototype,"labelFor",null),r.__decorate([i.HostBinding("class.k-label"),r.__metadata("design:type",Boolean)],t.prototype,"labelClass",void 0),t=r.__decorate([i.Directive({selector:"label[for]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.NgZone])],t)}();e.LabelDirective=a},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isUploadComponent=function(t){return t.wrapper&&("KENDO-UPLOAD"===t.wrapper.tagName||"KENDO-FILESELECT"===t.wrapper.tagName)},e.isInputElement=function(t){return t instanceof HTMLElement},e.inputElementHasAttr=function(t,e){return t.hasAttribute(e)},e.getWrappedNativeInput=function(t){return t.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},e.getRootElement=function(t){if(!t)return null;for(var e=t;e.parentElement;)e=e.parentElement;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(18),s=n(9),a=[i.LocalizedMessagesDirective,s.CustomMessagesComponent],u=function(){function t(){}return t=r.__decorate([o.NgModule({declarations:[a],exports:[a]})],t)}();e.SharedDirectivesModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"optional",void 0),e}(n(2).ComponentMessages);e.Messages=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(8),a=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return r.__extends(e,t),n=e,Object.defineProperty(e.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),e=n=r.__decorate([o.Component({providers:[{provide:s.Messages,useExisting:o.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}(s.Messages);e.CustomMessagesComponent=a},function(t,e){t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(10),s=n(7),a=[n(12).FloatingLabelComponent],u=function(){function t(){}return t=r.__decorate([o.NgModule({declarations:a.slice(),exports:a.concat([s.SharedDirectivesModule]),imports:[i.CommonModule,s.SharedDirectivesModule]})],t)}();e.FloatingLabelModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(19),a=n(5),u=n(13),c=n(14),l=n(20),p=function(t){return"[object Function]"===Object.prototype.toString.call(t)},d=function(){function t(t,e,n,r){this.elementRef=t,this.renderer=e,this.changeDetectorRef=n,this.localization=r,this.hostClasses=!0,this.positionChange=new o.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+a.guid(),this.autoFillStarted=!1,u.validatePackage(c.packageMetadata),this.direction=r.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(t.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this.validateSetup();var t=new l.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(t),this.setLabelFor(t)},t.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.textFor=function(t){return this.localization.get(t)},t.prototype.subscribe=function(t,e,n){if(t[e]instanceof o.EventEmitter){var r=t[e].subscribe(n);this.subscription?this.subscription.add(r):this.subscription=r}},t.prototype.updateState=function(){var t=function(t){return 0!==t&&!1!==t&&(!(!Array.isArray(t)||t.length)||!t)},e=this.formControl;if(e){var n=e.valueAccessor;p(n.isEmpty)?this.empty=n.isEmpty():this.empty=t(e.value),this.invalid=e.invalid&&(e.touched||e.dirty)}else this.empty=p(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():t(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},t.prototype.setAriaLabelledby=function(t){var e=t.focusableId||t.id;if(e){var n=this.elementRef.nativeElement.querySelector("#"+e);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},t.prototype.setLabelFor=function(t){var e=t.focusableId||t.id;if(this.id&&e)this.id=e;else if(this.id)t.focusableId=this.id;else if(e)this.id=e;else{var n="k-"+a.guid();t.focusableId=n,this.id=n}},t.prototype.handleAutofill=function(t){var e=this;this.subscribe(t,"autoFillStart",(function(){e.autoFillStarted=!0,e.renderer.removeClass(e.elementRef.nativeElement,"k-state-empty")})),this.subscribe(t,"autoFillEnd",(function(){e.autoFillStarted&&(e.autoFillStarted=!1,e.empty&&e.renderer.addClass(e.elementRef.nativeElement,"k-state-empty"))}))},t.prototype.addHandlers=function(t){var e=this,n=function(t){return function(){e.focused=t,e.updateState(),e.empty&&a.hasObservers(e.positionChange)&&e.positionChange.emit(t?"Out":"In")}};this.subscribe(t,"onFocus",n(!0)),this.subscribe(t,"onBlur",n(!1)),this.handleAutofill(t);var r=function(){return e.updateState()};r(),this.subscribe(t,"onValueChange",r)},t.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(o.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},r.__decorate([o.HostBinding("class.k-floating-label-container"),r.__metadata("design:type",Boolean)],t.prototype,"hostClasses",void 0),r.__decorate([o.HostBinding("class.k-state-focused"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],t.prototype,"focusedClass",null),r.__decorate([o.HostBinding("class.k-state-invalid"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],t.prototype,"invalidClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],t.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"labelCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"labelCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"id",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"text",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],t.prototype,"optional",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"positionChange",void 0),r.__decorate([o.ContentChild(a.KendoInput,{static:!1}),r.__metadata("design:type",Object)],t.prototype,"kendoInput",void 0),r.__decorate([o.ContentChild(s.NgControl,{static:!1}),r.__metadata("design:type",s.NgControl)],t.prototype,"formControl",void 0),t=r.__decorate([o.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ChangeDetectorRef,i.LocalizationService])],t)}();e.FloatingLabelComponent=d},function(t,e){t.exports=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219058,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(3),s=n(2),a=n(5),u=n(13),c=n(14),l=n(4),p=n(6),d=function(){function t(t,e,n){this.elementRef=t,this.renderer=e,this.localization=n,this.subscriptions=new i.Subscription,u.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return t.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var t=p.getWrappedNativeInput(this.elementRef.nativeElement);if(t)return t.hasAttribute("id")||this.renderer.setAttribute(t,"id","k-"+a.guid()),void(this.control=t);this.control=this.kendoInput}},t.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"})))},t.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},t.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},t.prototype.textFor=function(t){return this.localization.get(t)},r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],t.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"text",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"for",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],t.prototype,"optional",void 0),r.__decorate([o.ViewChild(l.LabelDirective,{static:!0}),r.__metadata("design:type",l.LabelDirective)],t.prototype,"labelDirective",void 0),r.__decorate([o.ContentChild(a.KendoInput,{static:!0}),r.__metadata("design:type",Object)],t.prototype,"kendoInput",void 0),t=r.__decorate([o.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.LocalizationService])],t)}();e.LabelComponent=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.LabelDirective=r.LabelDirective;var o=n(17);e.LabelModule=o.LabelModule;var i=n(11);e.FloatingLabelModule=i.FloatingLabelModule;var s=n(12);e.FloatingLabelComponent=s.FloatingLabelComponent;var a=n(15);e.LabelComponent=a.LabelComponent;var u=n(9);e.CustomMessagesComponent=u.CustomMessagesComponent},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(7),i=n(10),s=n(1),a=n(11),u=n(4),c=n(15),l=[u.LabelDirective,c.LabelComponent],p=function(){function t(){}return t=r.__decorate([s.NgModule({imports:[i.CommonModule,o.SharedDirectivesModule],declarations:l.slice(),exports:l.concat([a.FloatingLabelModule,o.SharedDirectivesModule])})],t)}();e.LabelModule=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(8),a=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return r.__extends(e,t),n=e,e=n=r.__decorate([o.Directive({providers:[{provide:s.Messages,useExisting:o.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}(s.Messages);e.LocalizedMessagesDirective=a},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=n(1),i=function(){function t(t,e){this.component=t;var n=function(t){return t instanceof r.Observable||t instanceof o.EventEmitter};n(t.onFocus)&&(this.onFocus=t.onFocus),n(t.autoFillStart)&&(this.autoFillStart=t.autoFillStart),n(t.autoFillEnd)&&(this.autoFillEnd=t.autoFillEnd),n(t.onBlur)&&(this.onBlur=t.onBlur),e?this.onValueChange=e.valueChanges:t.onValueChange&&(this.onValueChange=t.onValueChange)}return Object.defineProperty(t.prototype,"focusableId",{get:function(){var t=this.component;return"focusableId"in t?t.focusableId:"id"in t?t.id:""},set:function(t){var e=this.component;"focusableId"in e?e.focusableId=t:"id"in e&&(e.id=t)},enumerable:!0,configurable:!0}),t}();e.FloatingLabelInputAdapter=i}])}));
|
package/dist/cdn/main.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):"function"==typeof define&&define.amd?define(["@angular/core","tslib","rxjs","rxjs/operators","@progress/kendo-angular-common","@angular/common","@progress/kendo-licensing","@angular/forms"],t):"object"==typeof exports?exports.KendoAngularLabel=t(require("@angular/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):e.KendoAngularLabel=t(e["@angular/core"],e.tslib,e.rxjs,e["rxjs/operators"],e["@progress/kendo-angular-common"],e["@angular/common"],e["@progress/kendo-licensing"],e["@angular/forms"])}(window,(function(e,t,n,o,i,r,a,s){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=17)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",(function(){return s})),n.d(t,"ComponentMessages",(function(){return l})),n.d(t,"L10N_PREFIX",(function(){return c})),n.d(t,"LocalizationService",(function(){return d})),n.d(t,"RTL",(function(){return u}));var o=n(1),i=n(0),r=n(3),a=n(4),s=function(){function e(){this.changes=new r.BehaviorSubject({rtl:void 0})}return e.prototype.notify=function(e){this.changes.next({rtl:e})},e.prototype.get=function(e){},e=Object(o.__decorate)([Object(i.Injectable)()],e)}(),l=function(){function e(){}return Object.defineProperty(e.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.register(e),Object.keys(e).some((function(t){return!e[t].isFirstChange()}))&&this.service.notifyChanges()},e.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(a.skip)(1)).subscribe((function(){return e.register(e)}))},e.prototype.register=function(e){var t=this;Object.keys(e).forEach((function(e){return t.service.register(e,t[e],t.override)}))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}(),u=new i.InjectionToken("Kendo UI Right-to-Left token"),c=new i.InjectionToken("Localization key prefix"),d=function(){function e(e,t,n){var o=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new r.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(a.map)((function(e){var t=e.rtl;return void 0!==t?t:o._rtl})),Object(a.tap)((function(e){return o._rtl=e}))).subscribe((function(e){o.dictionary={},o.changes.next({rtl:e})})))}return Object.defineProperty(e.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.get=function(e){var t=this.key(e);return this.dictionary[t]},e.prototype.register=function(e,t,n){void 0===n&&(n=!1);var o=this.key(e),i=t;if(!n){if(this.dictionary.hasOwnProperty(o))return;i=this.defaultValue(o,t)}this.dictionary[o]=i},e.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},e.prototype.key=function(e){return this.prefix+"."+e},e.prototype.defaultValue=function(e,t){if(!this.messageService)return t;var n=this.messageService.get(e);return void 0===n?t:n},e=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(0,Object(i.Inject)(c)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__param)(2,Object(i.Optional)()),Object(o.__param)(2,Object(i.Inject)(u)),Object(o.__metadata)("design:paramtypes",[String,s,Boolean])],e)}()},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(7),r=n(0),a=n(6),s=function(){function e(e,t,n){var o=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=o.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}return Object.defineProperty(e.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!a.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+a.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)}))},e.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},e.prototype.setAriaLabelledby=function(){if(a.isDocumentAvailable()){var e=this.getFocusableComponent();if(e&&e.focusableId){var t=i.getRootElement(this.label.nativeElement).querySelector("#"+e.focusableId);if(!t)return;var n=this.label.nativeElement,o=n.id||"k-"+a.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",o),this.renderer.setAttribute(t,"aria-labelledby",o)}}},e.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},o.__decorate([r.Input(),o.__metadata("design:type",Object)],e.prototype,"for",void 0),o.__decorate([r.HostBinding("attr.for"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"labelFor",null),o.__decorate([r.HostBinding("class.k-label"),o.__metadata("design:type",Boolean)],e.prototype,"labelClass",void 0),e=o.__decorate([r.Directive({selector:"label[for]"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.NgZone])],e)}();t.LabelDirective=s},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(19),a=n(10),s=[r.LocalizedMessagesDirective,a.CustomMessagesComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[s],exports:[s]})],e)}();t.SharedDirectivesModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"optional",void 0),t}(n(2).ComponentMessages);t.Messages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(9),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.CustomMessagesComponent=s},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(11),a=n(8),s=[n(13).FloatingLabelComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:s.slice(),exports:s.concat([a.SharedDirectivesModule]),imports:[r.CommonModule,a.SharedDirectivesModule]})],e)}();t.FloatingLabelModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(20),s=n(6),l=n(14),u=n(15),c=n(21),d=function(e){return"[object Function]"===Object.prototype.toString.call(e)},p=function(){function e(e,t,n,o){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=o,this.hostClasses=!0,this.positionChange=new i.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+s.guid(),this.autoFillStarted=!1,l.validatePackage(u.packageMetadata),this.direction=o.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new c.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},e.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},e.prototype.subscribe=function(e,t,n){if(e[t]instanceof i.EventEmitter){var o=e[t].subscribe(n);this.subscription?this.subscription.add(o):this.subscription=o}},e.prototype.updateState=function(){var e=function(e){return 0!==e&&!1!==e&&(!(!Array.isArray(e)||e.length)||!e)},t=this.formControl;if(t){var n=t.valueAccessor;d(n.isEmpty)?this.empty=n.isEmpty():this.empty=e(t.value),this.invalid=t.invalid&&(t.touched||t.dirty)}else this.empty=d(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},e.prototype.setAriaLabelledby=function(e){var t=e.focusableId||e.id;if(t){var n=this.elementRef.nativeElement.querySelector("#"+t);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},e.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;if(this.id&&t)this.id=t;else if(this.id)e.focusableId=this.id;else if(t)this.id=t;else{var n="k-"+s.guid();e.focusableId=n,this.id=n}},e.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",(function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")})),this.subscribe(e,"autoFillEnd",(function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))}))},e.prototype.addHandlers=function(e){var t=this,n=function(e){return function(){t.focused=e,t.updateState(),t.empty&&s.hasObservers(t.positionChange)&&t.positionChange.emit(e?"Out":"In")}};this.subscribe(e,"onFocus",n(!0)),this.subscribe(e,"onBlur",n(!1)),this.handleAutofill(e);var o=function(){return t.updateState()};o(),this.subscribe(e,"onValueChange",o)},e.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(i.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},o.__decorate([i.HostBinding("class.k-floating-label-container"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"focusedClass",null),o.__decorate([i.HostBinding("class.k-state-invalid"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"invalidClass",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"labelCssStyle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"labelCssClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"id",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!1}),o.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),o.__decorate([i.ContentChild(a.NgControl,{static:!1}),o.__metadata("design:type",a.NgControl)],e.prototype,"formControl",void 0),e=o.__decorate([i.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.ChangeDetectorRef,r.LocalizationService])],e)}();t.FloatingLabelComponent=p},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642583775,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),a=n(2),s=n(6),l=n(14),u=n(15),c=n(5),d=n(7),p=function(){function e(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new r.Subscription,l.validatePackage(u.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return e.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+s.guid()),void(this.control=e);this.control=this.kendoInput}},e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localization.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})))},e.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.textFor=function(e){return this.localization.get(e)},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"for",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"optional",void 0),o.__decorate([i.ViewChild(c.LabelDirective,{static:!0}),o.__metadata("design:type",c.LabelDirective)],e.prototype,"labelDirective",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!0}),o.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),e=o.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.LocalizationService])],e)}();t.LabelComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.LabelDirective=o.LabelDirective;var i=n(18);t.LabelModule=i.LabelModule;var r=n(12);t.FloatingLabelModule=r.FloatingLabelModule;var a=n(13);t.FloatingLabelComponent=a.FloatingLabelComponent;var s=n(16);t.LabelComponent=s.LabelComponent;var l=n(10);t.CustomMessagesComponent=l.CustomMessagesComponent},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(8),r=n(11),a=n(0),s=n(12),l=n(5),u=n(16),c=[l.LabelDirective,u.LabelComponent],d=function(){function e(){}return e=o.__decorate([a.NgModule({imports:[r.CommonModule,i.SharedDirectivesModule],declarations:c.slice(),exports:c.concat([s.FloatingLabelModule,i.SharedDirectivesModule])})],e)}();t.LabelModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(2),a=n(9),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.LocalizedMessagesDirective=s},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=n(0),r=function(){function e(e,t){this.component=e;var n=function(e){return e instanceof o.Observable||e instanceof i.EventEmitter};n(e.onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}return Object.defineProperty(e.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),e}();t.FloatingLabelInputAdapter=r}])}));
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("rxjs"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):"function"==typeof define&&define.amd?define([,,,,,,],e):"object"==typeof exports?exports.KendoAngularLabel=e(require("tslib"),require("@angular/core"),require("rxjs"),require("@progress/kendo-angular-common"),require("@angular/common"),require("@progress/kendo-licensing"),require("@angular/forms")):t.KendoAngularLabel=e(t.self,t.ng.core,t.rxjs,t.KendoAngularCommon,t.ng.common,t.KendoLicensing,t.ng.forms)}(window,(function(t,e,n,r,o,i,s){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=16)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";n.r(e),n.d(e,"MessageService",(function(){return k})),n.d(e,"ComponentMessages",(function(){return j})),n.d(e,"L10N_PREFIX",(function(){return L})),n.d(e,"LocalizationService",(function(){return w})),n.d(e,"RTL",(function(){return I}));var r=n(0),o=n(1),i=n(3);function s(t){return"function"==typeof t}var a=!1,u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;a=t},get useDeprecatedSynchronousErrorHandling(){return a}};function c(t){setTimeout((function(){throw t}))}var l={closed:!0,next:function(t){},error:function(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete:function(){}},p=Array.isArray||function(t){return t&&"number"==typeof t.length};function d(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}d.prototype=Object.create(Error.prototype);var f=d,h=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a,u=-1,c=r?r.length:0;n;)n.remove(this),n=++u<c&&r[u]||null;if(s(o))try{o.call(this)}catch(n){e=!0,t=n instanceof f?b(n.errors):[n]}if(p(i))for(u=-1,c=i.length;++u<c;){var l=i[u];if(null!==(a=l)&&"object"==typeof a)try{l.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof f?t=t.concat(b(n.errors)):t.push(n)}}if(e)throw new f(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var o=this._subscriptions;o?o.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function b(t){return t.reduce((function(t,e){return t.concat(e instanceof f?e.errors:e)}),[])}var _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),y=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=l;break;case 1:if(!n){i.destination=l;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new g(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new g(i,n,r,o)}return i}return r.__extends(e,t),e.prototype[_]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(h),g=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return s(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==l&&(s((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=u.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;c(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw t;c(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return u.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(c(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(y);var m=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new v(t,this.total))},t}(),v=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(y);var E=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new O(t,this.project,this.thisArg))},t}(),O=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(y);function x(){}var C=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.nextOrObserver,this.error,this.complete))},t}(),S=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=x,i._tapError=x,i._tapComplete=x,i._tapError=r||x,i._tapComplete=o||x,s(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||x,i._tapError=n.error||x,i._tapComplete=n.complete||x),i}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(y),k=function(){function t(){this.changes=new i.BehaviorSubject({rtl:void 0})}return t.prototype.notify=function(t){this.changes.next({rtl:t})},t.prototype.get=function(t){},t=Object(r.__decorate)([Object(o.Injectable)()],t)}(),j=function(){function t(){}return Object.defineProperty(t.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some((function(e){return!t[e].isFirstChange()}))&&this.service.notifyChanges()},t.prototype.ngOnInit=function(){var t,e=this;this.subscription=this.service.changes.pipe((t=1,function(e){return e.lift(new m(t))})).subscribe((function(){return e.register(e)}))},t.prototype.register=function(t){var e=this;Object.keys(t).forEach((function(t){return e.service.register(t,e[t],e.override)}))},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t}(),I=new o.InjectionToken("Kendo UI Right-to-Left token"),L=new o.InjectionToken("Localization key prefix"),w=function(){function t(t,e,n){var r,o,s,a,u,c=this;this.prefix=t,this.messageService=e,this._rtl=n,this.changes=new i.BehaviorSubject({rtl:this._rtl}),this.dictionary={},e&&(this.subscription=e.changes.pipe((a=function(t){var e=t.rtl;return void 0!==e?e:c._rtl},function(t){if("function"!=typeof a)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new E(a,u))}),(r=function(t){return c._rtl=t},function(t){return t.lift(new C(r,o,s))})).subscribe((function(t){c.dictionary={},c.changes.next({rtl:t})})))}return Object.defineProperty(t.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.get=function(t){var e=this.key(t);return this.dictionary[e]},t.prototype.register=function(t,e,n){void 0===n&&(n=!1);var r=this.key(t),o=e;if(!n){if(this.dictionary.hasOwnProperty(r))return;o=this.defaultValue(r,e)}this.dictionary[r]=o},t.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},t.prototype.key=function(t){return this.prefix+"."+t},t.prototype.defaultValue=function(t,e){if(!this.messageService)return e;var n=this.messageService.get(t);return void 0===n?e:n},t=Object(r.__decorate)([Object(o.Injectable)(),Object(r.__param)(0,Object(o.Inject)(L)),Object(r.__param)(1,Object(o.Optional)()),Object(r.__param)(2,Object(o.Optional)()),Object(r.__param)(2,Object(o.Inject)(I)),Object(r.__metadata)("design:paramtypes",[String,k,Boolean])],t)}()},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(6),i=n(1),s=n(5),a=function(){function t(t,e,n){var r=this;this.label=t,this.renderer=e,this.zone=n,this.labelClass=!0,this.handleClick=function(){var t=r.getFocusableComponent();t&&(o.isUploadComponent(t)&&t.fileSelect.nativeElement.click(),t.focus&&t.focus())}}return Object.defineProperty(t.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!s.isDocumentAvailable())return null;var t=this.getFocusableComponent()||{};return o.isInputElement(t)&&!o.inputElementHasAttr(t,"id")&&this.renderer.setAttribute(t,"id","k-"+s.guid()),t.focusableId||t.id||null},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;this.setAriaLabelledby(),this.zone.runOutsideAngular((function(){return t.clickListener=t.renderer.listen(t.label.nativeElement,"click",t.handleClick)}))},t.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},t.prototype.setAriaLabelledby=function(){if(s.isDocumentAvailable()){var t=this.getFocusableComponent();if(t&&t.focusableId){var e=o.getRootElement(this.label.nativeElement).querySelector("#"+t.focusableId);if(!e)return;var n=this.label.nativeElement,r=n.id||"k-"+s.guid();n.getAttribute("id")||this.renderer.setAttribute(n,"id",r),this.renderer.setAttribute(e,"aria-labelledby",r)}}},t.prototype.getFocusableComponent=function(){var t=this.for;return t&&void 0!==t.focus?t:null},r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"for",void 0),r.__decorate([i.HostBinding("attr.for"),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[])],t.prototype,"labelFor",null),r.__decorate([i.HostBinding("class.k-label"),r.__metadata("design:type",Boolean)],t.prototype,"labelClass",void 0),t=r.__decorate([i.Directive({selector:"label[for]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,i.NgZone])],t)}();e.LabelDirective=a},function(t,e){t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isUploadComponent=function(t){return t.wrapper&&("KENDO-UPLOAD"===t.wrapper.tagName||"KENDO-FILESELECT"===t.wrapper.tagName)},e.isInputElement=function(t){return t instanceof HTMLElement},e.inputElementHasAttr=function(t,e){return t.hasAttribute(e)},e.getWrappedNativeInput=function(t){return t.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},e.getRootElement=function(t){if(!t)return null;for(var e=t;e.parentElement;)e=e.parentElement;return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(18),s=n(9),a=[i.LocalizedMessagesDirective,s.CustomMessagesComponent],u=function(){function t(){}return t=r.__decorate([o.NgModule({declarations:[a],exports:[a]})],t)}();e.SharedDirectivesModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"optional",void 0),e}(n(2).ComponentMessages);e.Messages=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(8),a=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return r.__extends(e,t),n=e,Object.defineProperty(e.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),e=n=r.__decorate([o.Component({providers:[{provide:s.Messages,useExisting:o.forwardRef((function(){return n}))}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}(s.Messages);e.CustomMessagesComponent=a},function(t,e){t.exports=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(10),s=n(7),a=[n(12).FloatingLabelComponent],u=function(){function t(){}return t=r.__decorate([o.NgModule({declarations:a.slice(),exports:a.concat([s.SharedDirectivesModule]),imports:[i.CommonModule,s.SharedDirectivesModule]})],t)}();e.FloatingLabelModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(19),a=n(5),u=n(13),c=n(14),l=n(20),p=function(t){return"[object Function]"===Object.prototype.toString.call(t)},d=function(){function t(t,e,n,r){this.elementRef=t,this.renderer=e,this.changeDetectorRef=n,this.localization=r,this.hostClasses=!0,this.positionChange=new o.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+a.guid(),this.autoFillStarted=!1,u.validatePackage(c.packageMetadata),this.direction=r.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return Object.defineProperty(t.prototype,"labelPosition",{get:function(){return this.empty?this.focused?"Out":"In":"Out"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this.validateSetup();var t=new l.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(t),this.setLabelFor(t)},t.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.textFor=function(t){return this.localization.get(t)},t.prototype.subscribe=function(t,e,n){if(t[e]instanceof o.EventEmitter){var r=t[e].subscribe(n);this.subscription?this.subscription.add(r):this.subscription=r}},t.prototype.updateState=function(){var t=function(t){return 0!==t&&!1!==t&&(!(!Array.isArray(t)||t.length)||!t)},e=this.formControl;if(e){var n=e.valueAccessor;p(n.isEmpty)?this.empty=n.isEmpty():this.empty=t(e.value),this.invalid=e.invalid&&(e.touched||e.dirty)}else this.empty=p(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():t(this.kendoInput.value);this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},t.prototype.setAriaLabelledby=function(t){var e=t.focusableId||t.id;if(e){var n=this.elementRef.nativeElement.querySelector("#"+e);this.renderer.setAttribute(n,"aria-labelledby",this.labelId)}},t.prototype.setLabelFor=function(t){var e=t.focusableId||t.id;if(this.id&&e)this.id=e;else if(this.id)t.focusableId=this.id;else if(e)this.id=e;else{var n="k-"+a.guid();t.focusableId=n,this.id=n}},t.prototype.handleAutofill=function(t){var e=this;this.subscribe(t,"autoFillStart",(function(){e.autoFillStarted=!0,e.renderer.removeClass(e.elementRef.nativeElement,"k-state-empty")})),this.subscribe(t,"autoFillEnd",(function(){e.autoFillStarted&&(e.autoFillStarted=!1,e.empty&&e.renderer.addClass(e.elementRef.nativeElement,"k-state-empty"))}))},t.prototype.addHandlers=function(t){var e=this,n=function(t){return function(){e.focused=t,e.updateState(),e.empty&&a.hasObservers(e.positionChange)&&e.positionChange.emit(t?"Out":"In")}};this.subscribe(t,"onFocus",n(!0)),this.subscribe(t,"onBlur",n(!1)),this.handleAutofill(t);var r=function(){return e.updateState()};r(),this.subscribe(t,"onValueChange",r)},t.prototype.validateSetup=function(){if(this.formControl||this.kendoInput);else if(o.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},r.__decorate([o.HostBinding("class.k-floating-label-container"),r.__metadata("design:type",Boolean)],t.prototype,"hostClasses",void 0),r.__decorate([o.HostBinding("class.k-state-focused"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],t.prototype,"focusedClass",null),r.__decorate([o.HostBinding("class.k-state-invalid"),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[])],t.prototype,"invalidClass",null),r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],t.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"labelCssStyle",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"labelCssClass",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"id",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"text",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],t.prototype,"optional",void 0),r.__decorate([o.Output(),r.__metadata("design:type",o.EventEmitter)],t.prototype,"positionChange",void 0),r.__decorate([o.ContentChild(a.KendoInput,{static:!1}),r.__metadata("design:type",Object)],t.prototype,"kendoInput",void 0),r.__decorate([o.ContentChild(s.NgControl,{static:!1}),r.__metadata("design:type",s.NgControl)],t.prototype,"formControl",void 0),t=r.__decorate([o.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[i.LocalizationService,{provide:i.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ChangeDetectorRef,i.LocalizationService])],t)}();e.FloatingLabelComponent=d},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219058,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(3),s=n(2),a=n(5),u=n(13),c=n(14),l=n(4),p=n(6),d=function(){function t(t,e,n){this.elementRef=t,this.renderer=e,this.localization=n,this.subscriptions=new i.Subscription,u.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}return t.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var t=p.getWrappedNativeInput(this.elementRef.nativeElement);if(t)return t.hasAttribute("id")||this.renderer.setAttribute(t,"id","k-"+a.guid()),void(this.control=t);this.control=this.kendoInput}},t.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr"})))},t.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},t.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},t.prototype.textFor=function(t){return this.localization.get(t)},r.__decorate([o.HostBinding("attr.dir"),r.__metadata("design:type",String)],t.prototype,"direction",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],t.prototype,"text",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],t.prototype,"for",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],t.prototype,"optional",void 0),r.__decorate([o.ViewChild(l.LabelDirective,{static:!0}),r.__metadata("design:type",l.LabelDirective)],t.prototype,"labelDirective",void 0),r.__decorate([o.ContentChild(a.KendoInput,{static:!0}),r.__metadata("design:type",Object)],t.prototype,"kendoInput",void 0),t=r.__decorate([o.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),r.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.LocalizationService])],t)}();e.LabelComponent=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.LabelDirective=r.LabelDirective;var o=n(17);e.LabelModule=o.LabelModule;var i=n(11);e.FloatingLabelModule=i.FloatingLabelModule;var s=n(12);e.FloatingLabelComponent=s.FloatingLabelComponent;var a=n(15);e.LabelComponent=a.LabelComponent;var u=n(9);e.CustomMessagesComponent=u.CustomMessagesComponent},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(7),i=n(10),s=n(1),a=n(11),u=n(4),c=n(15),l=[u.LabelDirective,c.LabelComponent],p=function(){function t(){}return t=r.__decorate([s.NgModule({imports:[i.CommonModule,o.SharedDirectivesModule],declarations:l.slice(),exports:l.concat([a.FloatingLabelModule,o.SharedDirectivesModule])})],t)}();e.LabelModule=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=n(1),i=n(2),s=n(8),a=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return r.__extends(e,t),n=e,e=n=r.__decorate([o.Directive({providers:[{provide:s.Messages,useExisting:o.forwardRef((function(){return n}))}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[i.LocalizationService])],e)}(s.Messages);e.LocalizedMessagesDirective=a},function(t,e){t.exports=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=n(1),i=function(){function t(t,e){this.component=t;var n=function(t){return t instanceof r.Observable||t instanceof o.EventEmitter};n(t.onFocus)&&(this.onFocus=t.onFocus),n(t.autoFillStart)&&(this.autoFillStart=t.autoFillStart),n(t.autoFillEnd)&&(this.autoFillEnd=t.autoFillEnd),n(t.onBlur)&&(this.onBlur=t.onBlur),e?this.onValueChange=e.valueChanges:t.onValueChange&&(this.onValueChange=t.onValueChange)}return Object.defineProperty(t.prototype,"focusableId",{get:function(){var t=this.component;return"focusableId"in t?t.focusableId:"id"in t?t.id:""},set:function(t){var e=this.component;"focusableId"in e?e.focusableId=t:"id"in e&&(e.id=t)},enumerable:!0,configurable:!0}),t}();e.FloatingLabelInputAdapter=i}])}));
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-label',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1646219058,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-label',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1646219058,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -253,7 +253,7 @@ const packageMetadata = {
|
|
|
253
253
|
name: '@progress/kendo-angular-label',
|
|
254
254
|
productName: 'Kendo UI for Angular',
|
|
255
255
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
256
|
-
publishDate:
|
|
256
|
+
publishDate: 1646219058,
|
|
257
257
|
version: '',
|
|
258
258
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
259
259
|
};
|
package/dist/fesm5/index.js
CHANGED
|
@@ -277,7 +277,7 @@ var packageMetadata = {
|
|
|
277
277
|
name: '@progress/kendo-angular-label',
|
|
278
278
|
productName: 'Kendo UI for Angular',
|
|
279
279
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
280
|
-
publishDate:
|
|
280
|
+
publishDate: 1646219058,
|
|
281
281
|
version: '',
|
|
282
282
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
283
283
|
};
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-label',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1646219058,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
System.register("@progress/kendo-angular-label",["tslib","@angular/core","@progress/kendo-angular-common","@angular/common","rxjs","@progress/kendo-licensing","@angular/forms","rxjs/operators"],function(r){var a,s,l,c,u,d,p,f;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){a=t(e)},function(e){s=t(e)},function(e){l=t(e)},function(e){c=t(e)},function(e){u=t(e)},function(e){d=t(e)},function(e){p=t(e)},function(e){f=t(e)}],execute:function(){function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,i;i={},o.m=n=[function(e,t){e.exports=s},function(e,t){e.exports=a},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",function(){return a}),n.d(t,"ComponentMessages",function(){return s}),n.d(t,"L10N_PREFIX",function(){return c}),n.d(t,"LocalizationService",function(){return u}),n.d(t,"RTL",function(){return l});var o=n(1),t=n(0),i=n(3),r=n(6),a=(f.prototype.notify=function(e){this.changes.next({rtl:e})},f.prototype.get=function(e){},Object(o.__decorate)([Object(t.Injectable)()],f)),s=(Object.defineProperty(p.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),p.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some(function(e){return!t[e].isFirstChange()})&&this.service.notifyChanges()},p.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(r.skip)(1)).subscribe(function(){return e.register(e)})},p.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p),l=new t.InjectionToken("Kendo UI Right-to-Left token"),c=new t.InjectionToken("Localization key prefix"),u=(Object.defineProperty(d.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),d.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},d.prototype.get=function(e){e=this.key(e);return this.dictionary[e]},d.prototype.register=function(e,t,n){void 0===n&&(n=!1);var o=this.key(e),e=t;if(!n){if(this.dictionary.hasOwnProperty(o))return;e=this.defaultValue(o,t)}this.dictionary[o]=e},d.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},d.prototype.key=function(e){return this.prefix+"."+e},d.prototype.defaultValue=function(e,t){if(!this.messageService)return t;e=this.messageService.get(e);return void 0===e?t:e},Object(o.__decorate)([Object(t.Injectable)(),Object(o.__param)(0,Object(t.Inject)(c)),Object(o.__param)(1,Object(t.Optional)()),Object(o.__param)(2,Object(t.Optional)()),Object(o.__param)(2,Object(t.Inject)(l)),Object(o.__metadata)("design:paramtypes",[String,a,Boolean])],d));function d(e,t,n){var o=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new i.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(r.map)(function(e){e=e.rtl;return void 0!==e?e:o._rtl}),Object(r.tap)(function(e){return o._rtl=e})).subscribe(function(e){o.dictionary={},o.changes.next({rtl:e})}))}function p(){}function f(){this.changes=new i.BehaviorSubject({rtl:void 0})}},function(e,t){e.exports=u},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(16),r=n(0),a=n(4),r=(Object.defineProperty(s.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!a.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+a.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),s.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular(function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)})},s.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},s.prototype.setAriaLabelledby=function(){var e,t,n;!a.isDocumentAvailable()||(n=this.getFocusableComponent())&&n.focusableId&&((e=i.getRootElement(this.label.nativeElement).querySelector("#"+n.focusableId))&&(n=(t=this.label.nativeElement).id||"k-"+a.guid(),t.getAttribute("id")||this.renderer.setAttribute(t,"id",n),this.renderer.setAttribute(e,"aria-labelledby",n)))},s.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},o.__decorate([r.Input(),o.__metadata("design:type",Object)],s.prototype,"for",void 0),o.__decorate([r.HostBinding("attr.for"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],s.prototype,"labelFor",null),o.__decorate([r.HostBinding("class.k-label"),o.__metadata("design:type",Boolean)],s.prototype,"labelClass",void 0),o.__decorate([r.Directive({selector:"label[for]"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.NgZone])],s));function s(e,t,n){var o=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=o.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}t.LabelDirective=r},function(e,t){e.exports=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),a=n(2),s=n(4),l=n(9),c=n(8),u=n(5),d=n(16),a=(p.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+s.guid()),void(this.control=e);this.control=this.kendoInput}},p.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"}))},p.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},p.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},p.prototype.textFor=function(e){return this.localization.get(e)},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],p.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],p.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],p.prototype,"for",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"optional",void 0),o.__decorate([i.ViewChild(u.LabelDirective,{static:!0}),o.__metadata("design:type",u.LabelDirective)],p.prototype,"labelDirective",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!0}),o.__metadata("design:type",Object)],p.prototype,"kendoInput",void 0),o.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.LocalizationService])],p));function p(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new r.Subscription,l.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}t.LabelComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642583775,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function o(e){return"[object Function]"===Object.prototype.toString.call(e)}var i=n(1),r=n(0),a=n(2),s=n(18),l=n(4),c=n(9),u=n(8),d=n(17),a=(Object.defineProperty(p.prototype,"labelPosition",{get:function(){return!this.empty||this.focused?"Out":"In"},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),p.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new d.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},p.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p.prototype.textFor=function(e){return this.localization.get(e)},p.prototype.subscribe=function(e,t,n){e[t]instanceof r.EventEmitter&&(n=e[t].subscribe(n),this.subscription?this.subscription.add(n):this.subscription=n)},p.prototype.updateState=function(){function e(e){return!(0===e||!1===e||(!Array.isArray(e)||e.length)&&e)}var t,n=this.formControl;n?(t=n.valueAccessor,o(t.isEmpty)?this.empty=t.isEmpty():this.empty=e(n.value),this.invalid=n.invalid&&(n.touched||n.dirty)):this.empty=o(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value),this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},p.prototype.setAriaLabelledby=function(e){var e=e.focusableId||e.id;e&&(e=this.elementRef.nativeElement.querySelector("#"+e),this.renderer.setAttribute(e,"aria-labelledby",this.labelId))},p.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;this.id&&t?this.id=t:this.id?e.focusableId=this.id:t?this.id=t:(t="k-"+l.guid(),e.focusableId=t,this.id=t)},p.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")}),this.subscribe(e,"autoFillEnd",function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))})},p.prototype.addHandlers=function(e){function t(e){return function(){n.focused=e,n.updateState(),n.empty&&l.hasObservers(n.positionChange)&&n.positionChange.emit(e?"Out":"In")}}var n=this;this.subscribe(e,"onFocus",t(!0)),this.subscribe(e,"onBlur",t(!1)),this.handleAutofill(e);function o(){return n.updateState()}o(),this.subscribe(e,"onValueChange",o)},p.prototype.validateSetup=function(){if(!this.formControl&&!this.kendoInput&&r.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},i.__decorate([r.HostBinding("class.k-floating-label-container"),i.__metadata("design:type",Boolean)],p.prototype,"hostClasses",void 0),i.__decorate([r.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],p.prototype,"focusedClass",null),i.__decorate([r.HostBinding("class.k-state-invalid"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],p.prototype,"invalidClass",null),i.__decorate([r.HostBinding("attr.dir"),i.__metadata("design:type",String)],p.prototype,"direction",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],p.prototype,"labelCssStyle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],p.prototype,"labelCssClass",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],p.prototype,"id",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],p.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],p.prototype,"optional",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],p.prototype,"positionChange",void 0),i.__decorate([r.ContentChild(l.KendoInput,{static:!1}),i.__metadata("design:type",Object)],p.prototype,"kendoInput",void 0),i.__decorate([r.ContentChild(s.NgControl,{static:!1}),i.__metadata("design:type",s.NgControl)],p.prototype,"formControl",void 0),i.__decorate([r.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),i.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.ChangeDetectorRef,a.LocalizationService])],p));function p(e,t,n,o){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=o,this.hostClasses=!0,this.positionChange=new r.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+l.guid(),this.autoFillStarted=!1,c.validatePackage(u.packageMetadata),this.direction=o.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}t.FloatingLabelComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(12),a=n(15),n=[n(10).FloatingLabelComponent],a=o.__decorate([i.NgModule({declarations:n.slice(),exports:n.concat([a.SharedDirectivesModule]),imports:[r.CommonModule,a.SharedDirectivesModule]})],s);function s(){}t.FloatingLabelModule=a},function(e,t){e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i,r=n(1),a=n(0),s=n(2),n=n(14),s=(o=n.Messages,r.__extends(l,o),i=l,Object.defineProperty(l.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),i=r.__decorate([a.Component({providers:[{provide:n.Messages,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=o.call(this)||this;return t.service=e,t}t.CustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(1),r=n(0),i=(o=n(2).ComponentMessages,i.__extends(a,o),i.__decorate([r.Input(),i.__metadata("design:type",String)],a.prototype,"optional",void 0),a);function a(){return null!==o&&o.apply(this,arguments)||this}t.Messages=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(19),n=n(13),n=[r.LocalizedMessagesDirective,n.CustomMessagesComponent],n=o.__decorate([i.NgModule({declarations:[n],exports:[n]})],a);function a(){}t.SharedDirectivesModule=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=n(0),n=(Object.defineProperty(r.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),r);function r(e,t){function n(e){return e instanceof o.Observable||e instanceof i.EventEmitter}n((this.component=e).onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}t.FloatingLabelInputAdapter=n},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i,r=n(1),a=n(0),s=n(2),n=n(14),s=(o=n.Messages,r.__extends(l,o),i=l,i=r.__decorate([a.Directive({providers:[{provide:n.Messages,useExisting:a.forwardRef(function(){return i})}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=o.call(this)||this;return t.service=e,t}t.LocalizedMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(15),r=n(12),a=n(0),s=n(11),l=n(5),n=n(7),n=[l.LabelDirective,n.LabelComponent],i=o.__decorate([a.NgModule({imports:[r.CommonModule,i.SharedDirectivesModule],declarations:n.slice(),exports:n.concat([s.FloatingLabelModule,i.SharedDirectivesModule])})],c);function c(){}t.LabelModule=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.LabelDirective=o.LabelDirective;o=n(20);t.LabelModule=o.LabelModule;o=n(11);t.FloatingLabelModule=o.FloatingLabelModule;o=n(10);t.FloatingLabelComponent=o.FloatingLabelComponent;o=n(7);t.LabelComponent=o.LabelComponent;n=n(13);t.CustomMessagesComponent=n.CustomMessagesComponent,function(e){for(var t in e)r(t,e[t])}(t)}],o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=21)}}});
|
|
5
|
+
System.register("@progress/kendo-angular-label",["tslib","@angular/core","@progress/kendo-angular-common","@angular/common","rxjs","@progress/kendo-licensing","@angular/forms","rxjs/operators"],function(a){var r,s,l,c,u,d,p,f;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){r=t(e)},function(e){s=t(e)},function(e){l=t(e)},function(e){c=t(e)},function(e){u=t(e)},function(e){d=t(e)},function(e){p=t(e)},function(e){f=t(e)}],execute:function(){function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,i;n=[function(e,t){e.exports=s},function(e,t){e.exports=r},function(e,t,n){"use strict";n.r(t),n.d(t,"MessageService",function(){return a}),n.d(t,"ComponentMessages",function(){return s}),n.d(t,"L10N_PREFIX",function(){return c}),n.d(t,"LocalizationService",function(){return u}),n.d(t,"RTL",function(){return l});var t=n(1),o=n(0),i=n(3),r=n(6),a=(f.prototype.notify=function(e){this.changes.next({rtl:e})},f.prototype.get=function(e){},Object(t.__decorate)([Object(o.Injectable)()],f)),s=(Object.defineProperty(p.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),p.prototype.ngOnChanges=function(t){this.register(t),Object.keys(t).some(function(e){return!t[e].isFirstChange()})&&this.service.notifyChanges()},p.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(Object(r.skip)(1)).subscribe(function(){return e.register(e)})},p.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p),l=new o.InjectionToken("Kendo UI Right-to-Left token"),c=new o.InjectionToken("Localization key prefix"),u=(Object.defineProperty(d.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),d.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},d.prototype.get=function(e){e=this.key(e);return this.dictionary[e]},d.prototype.register=function(e,t,n){void 0===n&&(n=!1);var e=this.key(e),o=t;if(!n){if(this.dictionary.hasOwnProperty(e))return;o=this.defaultValue(e,t)}this.dictionary[e]=o},d.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},d.prototype.key=function(e){return this.prefix+"."+e},d.prototype.defaultValue=function(e,t){if(!this.messageService)return t;e=this.messageService.get(e);return void 0===e?t:e},Object(t.__decorate)([Object(o.Injectable)(),Object(t.__param)(0,Object(o.Inject)(c)),Object(t.__param)(1,Object(o.Optional)()),Object(t.__param)(2,Object(o.Optional)()),Object(t.__param)(2,Object(o.Inject)(l)),Object(t.__metadata)("design:paramtypes",[String,a,Boolean])],d));function d(e,t,n){var o=this;this.prefix=e,this.messageService=t,this._rtl=n,this.changes=new i.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(Object(r.map)(function(e){e=e.rtl;return void 0!==e?e:o._rtl}),Object(r.tap)(function(e){return o._rtl=e})).subscribe(function(e){o.dictionary={},o.changes.next({rtl:e})}))}function p(){}function f(){this.changes=new i.BehaviorSubject({rtl:void 0})}},function(e,t){e.exports=u},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(16),r=n(0),a=n(4),n=(Object.defineProperty(s.prototype,"labelFor",{get:function(){if("string"==typeof this.for)return this.for;if(!a.isDocumentAvailable())return null;var e=this.getFocusableComponent()||{};return i.isInputElement(e)&&!i.inputElementHasAttr(e,"id")&&this.renderer.setAttribute(e,"id","k-"+a.guid()),e.focusableId||e.id||null},enumerable:!0,configurable:!0}),s.prototype.ngAfterViewInit=function(){var e=this;this.setAriaLabelledby(),this.zone.runOutsideAngular(function(){return e.clickListener=e.renderer.listen(e.label.nativeElement,"click",e.handleClick)})},s.prototype.ngOnDestroy=function(){this.clickListener&&this.clickListener()},s.prototype.setAriaLabelledby=function(){var e,t,n;a.isDocumentAvailable()&&(e=this.getFocusableComponent())&&e.focusableId&&((e=i.getRootElement(this.label.nativeElement).querySelector("#"+e.focusableId))&&(n=(t=this.label.nativeElement).id||"k-"+a.guid(),t.getAttribute("id")||this.renderer.setAttribute(t,"id",n),this.renderer.setAttribute(e,"aria-labelledby",n)))},s.prototype.getFocusableComponent=function(){var e=this.for;return e&&void 0!==e.focus?e:null},o.__decorate([r.Input(),o.__metadata("design:type",Object)],s.prototype,"for",void 0),o.__decorate([r.HostBinding("attr.for"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],s.prototype,"labelFor",null),o.__decorate([r.HostBinding("class.k-label"),o.__metadata("design:type",Boolean)],s.prototype,"labelClass",void 0),o.__decorate([r.Directive({selector:"label[for]"}),o.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.NgZone])],s));function s(e,t,n){var o=this;this.label=e,this.renderer=t,this.zone=n,this.labelClass=!0,this.handleClick=function(){var e=o.getFocusableComponent();e&&(i.isUploadComponent(e)&&e.fileSelect.nativeElement.click(),e.focus&&e.focus())}}t.LabelDirective=n},function(e,t){e.exports=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),a=n(2),s=n(4),l=n(9),c=n(8),u=n(5),d=n(16),n=(p.prototype.ngAfterContentInit=function(){if(this.for)this.control=this.for;else{var e=d.getWrappedNativeInput(this.elementRef.nativeElement);if(e)return e.hasAttribute("id")||this.renderer.setAttribute(e,"id","k-"+s.guid()),void(this.control=e);this.control=this.kendoInput}},p.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;t.direction=e?"rtl":"ltr"}))},p.prototype.ngAfterViewInit=function(){this.labelDirective.setAriaLabelledby()},p.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},p.prototype.textFor=function(e){return this.localization.get(e)},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],p.prototype,"direction",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],p.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],p.prototype,"for",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"optional",void 0),o.__decorate([i.ViewChild(u.LabelDirective,{static:!0}),o.__metadata("design:type",u.LabelDirective)],p.prototype,"labelDirective",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!0}),o.__metadata("design:type",Object)],p.prototype,"kendoInput",void 0),o.__decorate([i.Component({selector:"kendo-label",exportAs:"kendoLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.label"}],template:'\n <ng-container kendoLabelLocalizedMessages\n i18n-optional="kendo.label.optional|The text for the optional segment of a Label component"\n optional="Optional"\n >\n </ng-container>\n <label\n [for]="control"\n [class.k-label-empty]="!text">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n <ng-content></ng-content>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.LocalizationService])],p));function p(e,t,n){this.elementRef=e,this.renderer=t,this.localization=n,this.subscriptions=new r.Subscription,l.validatePackage(c.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}t.LabelComponent=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-label",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219058,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function o(e){return"[object Function]"===Object.prototype.toString.call(e)}var i=n(1),r=n(0),a=n(2),s=n(18),l=n(4),c=n(9),u=n(8),d=n(17),n=(Object.defineProperty(p.prototype,"labelPosition",{get:function(){return!this.empty||this.focused?"Out":"In"},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"focusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"invalidClass",{get:function(){return this.invalid},enumerable:!0,configurable:!0}),p.prototype.ngAfterContentInit=function(){this.validateSetup();var e=new d.FloatingLabelInputAdapter(this.kendoInput||this.formControl.valueAccessor,this.formControl);this.addHandlers(e),this.setLabelFor(e)},p.prototype.ngAfterViewInit=function(){this.kendoInput&&this.setAriaLabelledby(this.kendoInput)},p.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},p.prototype.textFor=function(e){return this.localization.get(e)},p.prototype.subscribe=function(e,t,n){e[t]instanceof r.EventEmitter&&(e=e[t].subscribe(n),this.subscription?this.subscription.add(e):this.subscription=e)},p.prototype.updateState=function(){function e(e){return!(0===e||!1===e||(!Array.isArray(e)||e.length)&&e)}var t,n=this.formControl;n?(t=n.valueAccessor,o(t.isEmpty)?this.empty=t.isEmpty():this.empty=e(n.value),this.invalid=n.invalid&&(n.touched||n.dirty)):this.empty=o(this.kendoInput.isEmpty)?this.kendoInput.isEmpty():e(this.kendoInput.value),this.empty?this.renderer.addClass(this.elementRef.nativeElement,"k-state-empty"):this.renderer.removeClass(this.elementRef.nativeElement,"k-state-empty"),this.changeDetectorRef.markForCheck()},p.prototype.setAriaLabelledby=function(e){var e=e.focusableId||e.id;e&&(e=this.elementRef.nativeElement.querySelector("#"+e),this.renderer.setAttribute(e,"aria-labelledby",this.labelId))},p.prototype.setLabelFor=function(e){var t=e.focusableId||e.id;this.id&&t?this.id=t:this.id?e.focusableId=this.id:t?this.id=t:(t="k-"+l.guid(),e.focusableId=t,this.id=t)},p.prototype.handleAutofill=function(e){var t=this;this.subscribe(e,"autoFillStart",function(){t.autoFillStarted=!0,t.renderer.removeClass(t.elementRef.nativeElement,"k-state-empty")}),this.subscribe(e,"autoFillEnd",function(){t.autoFillStarted&&(t.autoFillStarted=!1,t.empty&&t.renderer.addClass(t.elementRef.nativeElement,"k-state-empty"))})},p.prototype.addHandlers=function(e){function t(e){return function(){o.focused=e,o.updateState(),o.empty&&l.hasObservers(o.positionChange)&&o.positionChange.emit(e?"Out":"In")}}function n(){return o.updateState()}var o=this;this.subscribe(e,"onFocus",t(!0)),this.subscribe(e,"onBlur",t(!1)),this.handleAutofill(e);n(),this.subscribe(e,"onValueChange",n)},p.prototype.validateSetup=function(){if(!this.formControl&&!this.kendoInput&&r.isDevMode())throw new Error("The FloatingLabelComponent requires a Kendo Input component or a forms-bound component to function properly.")},i.__decorate([r.HostBinding("class.k-floating-label-container"),i.__metadata("design:type",Boolean)],p.prototype,"hostClasses",void 0),i.__decorate([r.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],p.prototype,"focusedClass",null),i.__decorate([r.HostBinding("class.k-state-invalid"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],p.prototype,"invalidClass",null),i.__decorate([r.HostBinding("attr.dir"),i.__metadata("design:type",String)],p.prototype,"direction",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],p.prototype,"labelCssStyle",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],p.prototype,"labelCssClass",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],p.prototype,"id",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],p.prototype,"text",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],p.prototype,"optional",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],p.prototype,"positionChange",void 0),i.__decorate([r.ContentChild(l.KendoInput,{static:!1}),i.__metadata("design:type",Object)],p.prototype,"kendoInput",void 0),i.__decorate([r.ContentChild(s.NgControl,{static:!1}),i.__metadata("design:type",s.NgControl)],p.prototype,"formControl",void 0),i.__decorate([r.Component({selector:"kendo-floatinglabel",exportAs:"kendoFloatingLabel",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.floatinglabel"}],template:'\n <ng-container kendoFloatingLabelLocalizedMessages\n i18n-optional="kendo.floatinglabel.optional|The text for the optional segment of a FloatingLabel component"\n optional="Optional"\n >\n </ng-container>\n <ng-content></ng-content>\n <label *ngIf="text" [ngClass]="labelCssClass" [ngStyle]="labelCssStyle" [for]="id" [attr.id]="labelId" class="k-label">\n {{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor(\'optional\')}})</span>\n </label>\n '}),i.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,r.ChangeDetectorRef,a.LocalizationService])],p));function p(e,t,n,o){this.elementRef=e,this.renderer=t,this.changeDetectorRef=n,this.localization=o,this.hostClasses=!0,this.positionChange=new r.EventEmitter,this.focused=!1,this.empty=!0,this.invalid=!1,this.labelId="k-"+l.guid(),this.autoFillStarted=!1,c.validatePackage(u.packageMetadata),this.direction=o.rtl?"rtl":"ltr",this.renderer.removeAttribute(this.elementRef.nativeElement,"id")}t.FloatingLabelComponent=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(12),a=n(15),n=[n(10).FloatingLabelComponent],o=o.__decorate([i.NgModule({declarations:n.slice(),exports:n.concat([a.SharedDirectivesModule]),imports:[r.CommonModule,a.SharedDirectivesModule]})],s);function s(){}t.FloatingLabelModule=o},function(e,t){e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i,r=n(1),a=n(0),s=n(2),n=n(14),n=(o=n.Messages,r.__extends(l,o),i=l,Object.defineProperty(l.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),i=r.__decorate([a.Component({providers:[{provide:n.Messages,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-label-messages, kendo-floatinglabel-messages",template:""}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=o.call(this)||this;return t.service=e,t}t.CustomMessagesComponent=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(1),r=n(0),n=(o=n(2).ComponentMessages,i.__extends(a,o),i.__decorate([r.Input(),i.__metadata("design:type",String)],a.prototype,"optional",void 0),a);function a(){return null!==o&&o.apply(this,arguments)||this}t.Messages=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(19),n=n(13),r=[r.LocalizedMessagesDirective,n.CustomMessagesComponent],n=o.__decorate([i.NgModule({declarations:[r],exports:[r]})],a);function a(){}t.SharedDirectivesModule=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUploadComponent=function(e){return e.wrapper&&("KENDO-UPLOAD"===e.wrapper.tagName||"KENDO-FILESELECT"===e.wrapper.tagName)},t.isInputElement=function(e){return e instanceof HTMLElement},t.inputElementHasAttr=function(e,t){return e.hasAttribute(t)},t.getWrappedNativeInput=function(e){return e.querySelector("kendo-label > input, kendo-label > textarea, kendo-label > select")},t.getRootElement=function(e){if(!e)return null;for(var t=e;t.parentElement;)t=t.parentElement;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=n(0);function r(e,t){function n(e){return e instanceof o.Observable||e instanceof i.EventEmitter}n((this.component=e).onFocus)&&(this.onFocus=e.onFocus),n(e.autoFillStart)&&(this.autoFillStart=e.autoFillStart),n(e.autoFillEnd)&&(this.autoFillEnd=e.autoFillEnd),n(e.onBlur)&&(this.onBlur=e.onBlur),t?this.onValueChange=t.valueChanges:e.onValueChange&&(this.onValueChange=e.onValueChange)}Object.defineProperty(r.prototype,"focusableId",{get:function(){var e=this.component;return"focusableId"in e?e.focusableId:"id"in e?e.id:""},set:function(e){var t=this.component;"focusableId"in t?t.focusableId=e:"id"in t&&(t.id=e)},enumerable:!0,configurable:!0}),t.FloatingLabelInputAdapter=r},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i,r=n(1),a=n(0),s=n(2),n=n(14),n=(o=n.Messages,r.__extends(l,o),i=l,i=r.__decorate([a.Directive({providers:[{provide:n.Messages,useExisting:a.forwardRef(function(){return i})}],selector:"\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n "}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=o.call(this)||this;return t.service=e,t}t.LocalizedMessagesDirective=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(15),r=n(12),a=n(0),s=n(11),l=n(5),n=n(7),l=[l.LabelDirective,n.LabelComponent],n=o.__decorate([a.NgModule({imports:[r.CommonModule,i.SharedDirectivesModule],declarations:l.slice(),exports:l.concat([s.FloatingLabelModule,i.SharedDirectivesModule])})],c);function c(){}t.LabelModule=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(5),i=(t.LabelDirective=i.LabelDirective,n(20)),i=(t.LabelModule=i.LabelModule,n(11)),i=(t.FloatingLabelModule=i.FloatingLabelModule,n(10)),i=(t.FloatingLabelComponent=i.FloatingLabelComponent,n(7)),i=(t.LabelComponent=i.LabelComponent,n(13)),r=(t.CustomMessagesComponent=i.CustomMessagesComponent,t);for(o in r)a(o,r[o])}],i={},o.m=n,o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=21)}}});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Kendo UI Label for Angular",
|
|
4
4
|
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"version": "3.1.
|
|
6
|
+
"version": "3.1.3",
|
|
7
7
|
"main": "dist/npm/index.js",
|
|
8
8
|
"module": "dist/fesm5/index.js",
|
|
9
9
|
"es2015": "dist/fesm2015/index.js",
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"unpkg": "dist/cdn/main.js",
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"scripts": {
|
|
18
|
-
"test": "
|
|
19
|
-
"test:watch": "jest --watch",
|
|
18
|
+
"test": "ci-angular-test",
|
|
19
|
+
"test:watch": "jest --watch --env=jsdom",
|
|
20
20
|
"test:ci": "ci-angular-test",
|
|
21
21
|
"start": "gulp start",
|
|
22
|
+
"e2e": "gulp e2e",
|
|
22
23
|
"e2e:ci": "ci-angular-e2e",
|
|
23
24
|
"lint": "gulp lint && gulp lint-docs",
|
|
24
25
|
"api-check": "gulp api-check",
|
|
@@ -56,27 +57,28 @@
|
|
|
56
57
|
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
57
58
|
"@angular/platform-server": "^8.2.0",
|
|
58
59
|
"@angular/router": "^8.2.0",
|
|
59
|
-
"@progress/kendo-angular-buttons": "^
|
|
60
|
+
"@progress/kendo-angular-buttons": "^7.0.0",
|
|
60
61
|
"@progress/kendo-angular-common": "^2.0.0",
|
|
61
|
-
"@progress/kendo-angular-dateinputs": "^
|
|
62
|
-
"@progress/kendo-angular-dialog": "^
|
|
63
|
-
"@progress/kendo-angular-dropdowns": "^
|
|
64
|
-
"@progress/kendo-angular-e2e": "^
|
|
65
|
-
"@progress/kendo-angular-inputs": "^
|
|
62
|
+
"@progress/kendo-angular-dateinputs": "^6.0.0",
|
|
63
|
+
"@progress/kendo-angular-dialog": "^6.0.0",
|
|
64
|
+
"@progress/kendo-angular-dropdowns": "^6.0.0",
|
|
65
|
+
"@progress/kendo-angular-e2e": "^3.3.0",
|
|
66
|
+
"@progress/kendo-angular-inputs": "^8.0.0",
|
|
66
67
|
"@progress/kendo-angular-intl": "^3.0.0",
|
|
67
68
|
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
68
69
|
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
69
70
|
"@progress/kendo-angular-popup": "^4.0.0",
|
|
70
|
-
"@progress/kendo-angular-tasks": "^
|
|
71
|
+
"@progress/kendo-angular-tasks": "^19.3.1",
|
|
71
72
|
"@progress/kendo-angular-treeview": "^5.0.0",
|
|
72
73
|
"@progress/kendo-angular-upload": "^7.0.0",
|
|
73
74
|
"@progress/kendo-drawing": "^1.6.0",
|
|
75
|
+
"@progress/kendo-e2e": "latest",
|
|
74
76
|
"@progress/kendo-licensing": "^1.0.2",
|
|
75
77
|
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
76
78
|
"@progress/kendo-theme-default": "^5.0.0",
|
|
77
79
|
"@progress/kendo-theme-material": "^5.0.0",
|
|
78
80
|
"@telerik/semantic-prerelease": "^1.0.0",
|
|
79
|
-
"@types/jest": "^
|
|
81
|
+
"@types/jest": "^24.9.0",
|
|
80
82
|
"@types/node": "ts3.4",
|
|
81
83
|
"@types/zone.js": "0.0.27",
|
|
82
84
|
"codelyzer": "^5.0.0",
|
|
@@ -84,8 +86,10 @@
|
|
|
84
86
|
"cz-conventional-changelog": "^1.1.5",
|
|
85
87
|
"ghooks": "^1.0.3",
|
|
86
88
|
"gulp": "^4.0.0",
|
|
87
|
-
"jest
|
|
88
|
-
"jest-
|
|
89
|
+
"jest": "^24.9.0",
|
|
90
|
+
"jest-cli": "^24.9.0",
|
|
91
|
+
"jest-environment-jsdom": "^24.9.0",
|
|
92
|
+
"jest-junit": "^12.2.0",
|
|
89
93
|
"rxjs": "~6.4.0",
|
|
90
94
|
"rxjs-tslint-rules": "^4.23.1",
|
|
91
95
|
"semantic-release": "^6.3.6",
|