@progress/kendo-angular-popup 4.0.0 → 4.0.2-dev.202110280815
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/LICENSE.md +1 -1
- package/NOTICE.txt +261 -34
- package/README.md +1 -1
- package/dist/cdn/js/kendo-angular-popup.js +3 -3
- package/dist/cdn/main.js +2 -2
- package/dist/es/index.js +1 -1
- package/dist/es/main.js +1 -1
- package/dist/es/models/align-element-settings.interface.js +1 -1
- package/dist/es/models/align.interface.js +1 -1
- package/dist/es/models/collision.interface.js +1 -1
- package/dist/es/models/collision.type.js +1 -1
- package/dist/es/models/margin.interface.js +1 -1
- package/dist/es/models/offset.interface.js +1 -1
- package/dist/es/models/popup-animation.interface.js +1 -1
- package/dist/es/models/popup-ref.js +1 -1
- package/dist/es/models/popup-settings.js +1 -1
- package/dist/es/models/position-element-settings.interface.js +1 -1
- package/dist/es/models/position-mode.js +1 -1
- package/dist/es/models/position.interface.js +1 -1
- package/dist/es/package-metadata.js +2 -2
- package/dist/es/popup.component.js +1 -1
- package/dist/es/popup.module.js +1 -1
- package/dist/es/popup.service.js +1 -1
- package/dist/es/scale.js +2 -2
- package/dist/es/services/align.service.js +1 -1
- package/dist/es/services/animation.service.js +1 -1
- package/dist/es/services/dom.service.js +1 -1
- package/dist/es/services/position.service.js +1 -1
- package/dist/es/services/resize.service.js +1 -1
- package/dist/es/services/scrollable.service.js +1 -1
- package/dist/es/util.js +1 -1
- package/dist/es2015/index.d.ts +1 -1
- package/dist/es2015/index.js +1 -1
- package/dist/es2015/main.d.ts +1 -1
- package/dist/es2015/main.js +1 -1
- package/dist/es2015/models/align-element-settings.interface.d.ts +1 -1
- package/dist/es2015/models/align-element-settings.interface.js +1 -1
- package/dist/es2015/models/align.interface.d.ts +1 -1
- package/dist/es2015/models/align.interface.js +1 -1
- package/dist/es2015/models/collision.interface.d.ts +1 -1
- package/dist/es2015/models/collision.interface.js +1 -1
- package/dist/es2015/models/collision.type.d.ts +1 -1
- package/dist/es2015/models/collision.type.js +1 -1
- package/dist/es2015/models/margin.interface.d.ts +1 -1
- package/dist/es2015/models/margin.interface.js +1 -1
- package/dist/es2015/models/offset.interface.d.ts +1 -1
- package/dist/es2015/models/offset.interface.js +1 -1
- package/dist/es2015/models/popup-animation.interface.d.ts +1 -1
- package/dist/es2015/models/popup-animation.interface.js +1 -1
- package/dist/es2015/models/popup-ref.d.ts +1 -1
- package/dist/es2015/models/popup-ref.js +1 -1
- package/dist/es2015/models/popup-settings.d.ts +1 -1
- package/dist/es2015/models/popup-settings.js +1 -1
- package/dist/es2015/models/position-element-settings.interface.d.ts +1 -1
- package/dist/es2015/models/position-element-settings.interface.js +1 -1
- package/dist/es2015/models/position-mode.d.ts +1 -1
- package/dist/es2015/models/position-mode.js +1 -1
- package/dist/es2015/models/position.interface.d.ts +1 -1
- package/dist/es2015/models/position.interface.js +1 -1
- package/dist/es2015/package-metadata.d.ts +1 -1
- package/dist/es2015/package-metadata.js +2 -2
- package/dist/es2015/popup.component.d.ts +1 -1
- package/dist/es2015/popup.component.js +1 -1
- package/dist/es2015/popup.module.d.ts +1 -1
- package/dist/es2015/popup.module.js +1 -1
- package/dist/es2015/popup.service.d.ts +1 -1
- package/dist/es2015/popup.service.js +1 -1
- package/dist/es2015/scale.d.ts +2 -2
- package/dist/es2015/scale.js +2 -2
- package/dist/es2015/services/align.service.d.ts +1 -1
- package/dist/es2015/services/align.service.js +1 -1
- package/dist/es2015/services/animation.service.d.ts +1 -1
- package/dist/es2015/services/animation.service.js +1 -1
- package/dist/es2015/services/dom.service.d.ts +1 -1
- package/dist/es2015/services/dom.service.js +1 -1
- package/dist/es2015/services/position.service.d.ts +1 -1
- package/dist/es2015/services/position.service.js +1 -1
- package/dist/es2015/services/resize.service.d.ts +1 -1
- package/dist/es2015/services/resize.service.js +1 -1
- package/dist/es2015/services/scrollable.service.d.ts +1 -1
- package/dist/es2015/services/scrollable.service.js +1 -1
- package/dist/es2015/util.d.ts +1 -1
- package/dist/es2015/util.js +1 -1
- package/dist/fesm2015/index.js +3 -3
- package/dist/fesm5/index.js +3 -3
- package/dist/npm/index.js +1 -1
- package/dist/npm/main.js +1 -1
- package/dist/npm/models/align-element-settings.interface.js +1 -1
- package/dist/npm/models/align.interface.js +1 -1
- package/dist/npm/models/collision.interface.js +1 -1
- package/dist/npm/models/collision.type.js +1 -1
- package/dist/npm/models/margin.interface.js +1 -1
- package/dist/npm/models/offset.interface.js +1 -1
- package/dist/npm/models/popup-animation.interface.js +1 -1
- package/dist/npm/models/popup-ref.js +1 -1
- package/dist/npm/models/popup-settings.js +1 -1
- package/dist/npm/models/position-element-settings.interface.js +1 -1
- package/dist/npm/models/position-mode.js +1 -1
- package/dist/npm/models/position.interface.js +1 -1
- package/dist/npm/package-metadata.js +2 -2
- package/dist/npm/popup.component.js +1 -1
- package/dist/npm/popup.module.js +1 -1
- package/dist/npm/popup.service.js +1 -1
- package/dist/npm/scale.js +2 -2
- package/dist/npm/services/align.service.js +1 -1
- package/dist/npm/services/animation.service.js +1 -1
- package/dist/npm/services/dom.service.js +1 -1
- package/dist/npm/services/position.service.js +1 -1
- package/dist/npm/services/resize.service.js +1 -1
- package/dist/npm/services/scrollable.service.js +1 -1
- package/dist/npm/util.js +1 -1
- package/dist/systemjs/kendo-angular-popup.js +2 -2
- package/package.json +11 -11
- package/schematics/ngAdd/schema.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/animations")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","rxjs/operators","@angular/common","@angular/animations"],t):"object"==typeof exports?exports.KendoAngularPopup=t(require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/animations")):e.KendoAngularPopup=t(e["@angular/core"],e.rxjs,e["rxjs/operators"],e["@angular/common"],e["@angular/animations"])}(window,(function(e,t,n,i,o){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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=12)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return r})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return p})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/animations")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","rxjs/operators","@angular/common","@angular/animations"],t):"object"==typeof exports?exports.KendoAngularPopup=t(require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/animations")):e.KendoAngularPopup=t(e["@angular/core"],e.rxjs,e["rxjs/operators"],e["@angular/common"],e["@angular/animations"])}(window,(function(e,t,n,i,o){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},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=12)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return r})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return p})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return d})),n.d(t,"__values",(function(){return h})),n.d(t,"__read",(function(){return m})),n.d(t,"__spread",(function(){return v})),n.d(t,"__spreadArrays",(function(){return y})),n.d(t,"__await",(function(){return g})),n.d(t,"__asyncGenerator",(function(){return b})),n.d(t,"__asyncDelegator",(function(){return _})),n.d(t,"__asyncValues",(function(){return w})),n.d(t,"__makeTemplateObject",(function(){return O})),n.d(t,"__importStar",(function(){return x})),n.d(t,"__importDefault",(function(){return S})),n.d(t,"__classPrivateFieldGet",(function(){return E})),n.d(t,"__classPrivateFieldSet",(function(){return C}));
|
|
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 i=function(e,t){return(i=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 o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function a(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))}function p(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function f(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}function h(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function d(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(t){return new Promise((function(n,i){r.push([e,t,n,i])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof g?Promise.resolve(n.value.v).then(u,c):l(r[0][2],n)}catch(e){l(r[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:g(e[i](t)),done:"return"===i}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=d(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,o,(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 S(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 O(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function C(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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),o=n(4);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,i=e.top,o=t.left,r=t.top;return Math.abs(n-o)>=1||Math.abs(i-r)>=1},t.isWindowAvailable=function(){return"undefined"!=typeof window},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var r,s,a,u=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)};t.scrollableParents=function(e){var n=[];if(!o.isDocumentAvailable()||!t.isWindowAvailable())return n;for(var i=e.parentElement;i;)(t.OVERFLOW_REGEXP.test(u(i))||i.hasAttribute("data-scrollable"))&&n.push(i),i=i.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.hasRelativeStackingContext=(r=function(){if(!o.isDocumentAvailable()&&null!==document.body)return!1;var e=document.createElement("div");e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(e);var t=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),t},a=!1,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a||(s=r.apply(void 0,e),a=!0),s}),t.zIndex=function(e,n){if(!e||!o.isDocumentAvailable()||!t.isWindowAvailable())return null;var r=i.siblingContainer(e,n);if(!r)return null;var s=[e].concat(i.parents(e,r)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,i=parseInt(n,10);return i>e?i:e}),0);return s?s+1:null},t.scaleRect=function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e}},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return P})),n.d(t,"DraggableDirective",(function(){return S})),n.d(t,"DraggableModule",(function(){return O})),n.d(t,"EventsOutsideAngularDirective",(function(){return E})),n.d(t,"EventsModule",(function(){return C})),n.d(t,"ResizeSensorComponent",(function(){return k})),n.d(t,"ResizeBatchService",(function(){return M})),n.d(t,"ResizeCompatService",(function(){return D})),n.d(t,"ResizeObserverService",(function(){return j})),n.d(t,"ResizeSensorModule",(function(){return K})),n.d(t,"KendoInput",(function(){return L})),n.d(t,"isDocumentAvailable",(function(){return g})),n.d(t,"isChanged",(function(){return b})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return w})),n.d(t,"guid",(function(){return x})),n.d(t,"Keys",(function(){return f}));var i=n(0),o=function(e,t){return function(n){return t(e(n))}},r=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},s=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},a=function(){},u=function(e){return e.preventDefault()},c=/touch/;function l(e){return e.type.match(c)?{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=a);var i=e.drag;void 0===i&&(i=a);var c=e.release;void 0===c&&(c=a);var p=e.mouseOnly;void 0===p&&(p=!1),this._pressHandler=o(l,n),this._dragHandler=o(l,i),this._releaseHandler=o(l,c),this._ignoreMouse=!1,this._mouseOnly=p,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||(r(document,"mousemove",t._mousemove),r(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){s(document,"mousemove",t._mousemove),s(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(r(document,"pointermove",t._pointermove),r(document,"pointerup",t._pointerup),r(document,"pointercancel",t._pointerup),r(document,"contextmenu",u),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(s(document,"pointermove",t._pointermove),s(document,"pointerup",t._pointerup),s(document,"pointercancel",t._pointerup),s(document,"contextmenu",u),t._releaseHandler(e))}};p.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},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()?r(e,"pointerdown",this._pointerdown):(r(e,"mousedown",this._mousedown),this._mouseOnly||(r(e,"touchstart",this._touchstart),r(e,"touchmove",this._touchmove),r(e,"touchend",this._touchend)))},p.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return s(e,"pointerdown",this._pointerdown),s(document,"pointermove",this._pointermove),s(document,"pointerup",this._pointerup),s(document,"contextmenu",u),void s(document,"pointercancel",this._pointerup);s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(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=a);var n=e.drag;void 0===n&&(n=a);var i=e.release;void 0===i&&(i=a);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=o(l,t),this._dragHandler=o(l,n),this._releaseHandler=o(l,i),this._mouseOnly=r},p.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},p.default=p;var f,h=p,d=n(9),m=n(6),v=n(1),y=n(2),g=function(){return"undefined"!=typeof document},b=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 b(e,t,n)}))},w=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},S=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){b("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;g()&&(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)},e.decorators=[{type:i.Directive,args:[{selector:"[kendoDraggable]"}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone}]},e.propDecorators={enableDrag:[{type:i.Input}],kendoPress:[{type:i.Output}],kendoDrag:[{type:i.Output}],kendoRelease:[{type:i.Output}]},e}(),O=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{declarations:[S],exports:[S],imports:[d.CommonModule]}]}],e}(),E=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}},e.decorators=[{type:i.Directive,args:[{selector:"[kendoEventsOutsideAngular]"}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone},{type:i.Renderer2}]},e.propDecorators={events:[{type:i.Input,args:["kendoEventsOutsideAngular"]}],scope:[{type:i.Input}]},e}(),C=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{declarations:[E],exports:[E]}]}],e}(),P=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(){g()&&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}(),z=function(e){var t=document.createElement("div");return t.style.cssText=e,t},A="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",D=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(v.__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=A,e.setAttribute("dir","ltr"),this.expand=z(A),this.expandChild=z("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=z(A);var t=z("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(y.merge)(Object(y.fromEvent)(e.shrink,"scroll"),Object(y.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(P),R="undefined"!=typeof ResizeObserver,j=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(v.__extends)(t,e),t.supported=function(){return R},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}(P),M=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(y.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,i=0;i<n;i++)if(t[i].instance===e)return t.splice(i,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.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:i.NgZone}]},e}(),k=function(){function e(e,t,n){var o=this;this.rateLimit=10,this.resize=new i.EventEmitter;var r=j.supported()?j:D;this.resizeService=new r(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(m.auditTime)(s)).subscribe((function(){o.resizeService.acceptedSize||o.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)},e.decorators=[{type:i.Component,args:[{selector:"kendo-resize-sensor",template:""}]}],e.ctorParameters=function(){return[{type:M},{type:i.ElementRef},{type:i.NgZone}]},e.propDecorators={rateLimit:[{type:i.Input}],resize:[{type:i.Output}]},e}(),I=[k],K=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{declarations:[I],exports:[I],providers:[M]}]}],e}(),L=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"}(f||(f={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(11),s=n(3),a=n(4),u=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],c=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.addScroll=function(e,t){return r.addScroll(e,t)},e.prototype.align=function(e){return r.align(e)},e.prototype.boundingOffset=function(e){return r.boundingOffset(this.nativeElement(e))},e.prototype.getFontStyles=function(e){var t=this.getWindow();if(!t||!e)return[];var n=t.getComputedStyle(this.nativeElement(e));return u.map((function(e){return{key:e,value:n[e]}}))},e.prototype.getWindow=function(){return s.isWindowAvailable()?window:null},e.prototype.hasOffsetParent=function(e){return!!e&&!!this.nativeElement(e).offsetParent},e.prototype.offset=function(e){return e?r.offset(this.nativeElement(e)):null},e.prototype.offsetAtPoint=function(e,t){if(!e)return null;var n=this.nativeElement(e),i=n.style,o=i.left,s=i.top,a=i.transition;n.style.transition="none",n.style.left=t.left+"px",n.style.top=t.top+"px";var u=r.offset(n);return n.style.left=o,n.style.top=s,n.offsetHeight,n.style.transition=a,u},e.prototype.nativeElement=function(e){return e?e.nativeElement||e:null},e.prototype.position=function(e,t,n){return void 0===n&&(n=1),e&&t?r.positionWithScroll(this.nativeElement(e),this.nativeElement(t),n):null},e.prototype.removeScroll=function(e,t){return r.removeScroll(e,t)},e.prototype.restrictToView=function(e){return r.restrictToView(e)},e.prototype.scrollPosition=function(e){return r.scrollPosition(this.nativeElement(e))},e.prototype.scrollableParents=function(e){return s.scrollableParents(this.nativeElement(e))},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?r.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.getRelativeContextElement=function(e){if(!e||!s.hasRelativeStackingContext())return null;for(var t=this.nativeElement(e).parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return r.getWindowViewPort(this.nativeElement(e))},e.prototype.zIndex=function(e,t){return s.zIndex(this.nativeElement(e),this.nativeElement(t))},e.prototype.zoomLevel=function(){return a.isDocumentAvailable()&&s.isWindowAvailable()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e=i.__decorate([o.Injectable()],e)}();t.DOMService=c},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(13),s=n(5),a=n(14),u=n(15),c=n(16),l=n(17),p=n(3),f=n(4),h=n(2),d=n(19),m=n(20),v={left:-1e4,top:0},y=function(){function e(e,t,n,i,r,s,a,u,c){this.container=e,this._alignService=t,this.domService=n,this._positionService=i,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=u,this._zone=c,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=v,this.anchorViewportLeave=new o.EventEmitter,this.close=new o.EventEmitter,this.open=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,d.validatePackage(m.packageMetadata),this._renderer.addClass(e.nativeElement,"k-animation-container"),this.updateFixedClass()}return e.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=v,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},e.prototype.ngOnChanges=function(e){e.copyAnchorStyles&&this.copyFontStyles(),e.positionMode&&this.updateFixedClass()},e.prototype.ngAfterViewInit=function(){var e=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){e.onAnimationEnd()}))},e.prototype.ngAfterViewChecked=function(){var e=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){e.unsubscribeReposition(),e.repositionSubscription=h.from(e.resolvedPromise).subscribe(e.reposition)}))},e.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},e.prototype.onResize=function(){this.reposition()},e.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},e.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(e.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(e){this.setContainerStyle("left",e.left+"px"),this.setContainerStyle("top",e.top+"px"),this._currentOffset=e},enumerable:!0,configurable:!0}),e.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},e.prototype.reposition=function(){var e=this;if(f.isDocumentAvailable()){var t=this.position(),n=t.flip,i=t.offset;this.currentOffset&&!p.isDifferentOffset(this.currentOffset,i)||(this.currentOffset=i,f.hasObservers(this.positionChange)&&this._zone.run((function(){return e.positionChange.emit({offset:i,flip:n})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,n),this.resizeSensor.acceptSize()}},e.prototype.position=function(){var e=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:e,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},e.prototype.onScroll=function(e){var t=this,n=f.hasObservers(this.anchorViewportLeave);e||!n?this.reposition():n&&this._zone.run((function(){t.anchorViewportLeave.emit()}))},e.prototype.copyFontStyles=function(){var e=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(t){return e.setContainerStyle(t.key,t.value)}))},e.prototype.updateFixedClass=function(){var e="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[e](this.container.nativeElement,"k-animation-container-fixed")},e.prototype.setContainerStyle=function(e,t){this._renderer.setStyle(this.container.nativeElement,e,t)},e.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.ElementRef)],e.prototype,"anchor",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"anchorAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"collision",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"popupAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"copyAnchorStyles",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"popupClass",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"positionMode",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"offset",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"anchorViewportLeave",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"positionChange",void 0),i.__decorate([o.ViewChild("container",{static:!0}),i.__metadata("design:type",o.ElementRef)],e.prototype,"contentContainer",void 0),i.__decorate([o.ViewChild(f.ResizeSensorComponent,{static:!0}),i.__metadata("design:type",f.ResizeSensorComponent)],e.prototype,"resizeSensor",void 0),e=i.__decorate([o.Component({exportAs:"kendo-popup",providers:[r.AlignService,l.AnimationService,s.DOMService,a.PositionService,u.ResizeService,c.ScrollableService],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,r.AlignService,s.DOMService,a.PositionService,u.ResizeService,c.ScrollableService,l.AnimationService,o.Renderer2,o.NgZone])],e)}();t.PopupComponent=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.SCALE=new i.InjectionToken("Popup Document Scale")},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(7);t.POPUP_CONTAINER=new o.InjectionToken("Popup Container");var s=function(){function e(e,t,n,i){this.applicationRef=e,this.componentFactoryResolver=t,this.injector=n,this.container=i}return Object.defineProperty(e.prototype,"rootViewContainer",{get:function(){var e=this.applicationRef.components||[];if(e[0])return e[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),e.prototype.open=function(e){void 0===e&&(e={});var t=this.contentFrom(e.content),n=t.component,i=t.nodes,o=this.appendPopup(i,e.appendTo),r=o.instance;this.projectComponentInputs(o,e),o.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(o);return{close:function(){var e;n&&n.destroy(),o.destroy(),(e=s)&&e.parentNode&&e.parentNode.removeChild(e)},content:n,popup:o,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},e.prototype.appendPopup=function(e,t){var n=this.createComponent(r.PopupComponent,e,t);return t||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},e.prototype.getComponentRootNode=function(e){return e.location.nativeElement},e.prototype.getComponentFactory=function(e){return this.componentFactoryResolver.resolveComponentFactory(e)},e.prototype.createComponent=function(e,t,n){var i=this.getComponentFactory(e);if(n)return n.createComponent(i,void 0,this.injector,t);var o=i.create(this.injector,t);return this.applicationRef.attachView(o.hostView),o},e.prototype.projectComponentInputs=function(e,t){return Object.getOwnPropertyNames(t).filter((function(e){return"content"!==e||t.content instanceof o.TemplateRef})).map((function(n){e.instance[n]=t[n]})),e},e.prototype.contentFrom=function(e){if(!e||e instanceof o.TemplateRef)return{component:null,nodes:[[]]};var t=this.createComponent(e);return{component:t,nodes:[t?[t.location.nativeElement]:[]]}},e=i.__decorate([o.Injectable(),i.__param(3,o.Inject(t.POPUP_CONTAINER)),i.__param(3,o.Optional()),i.__metadata("design:paramtypes",[o.ApplicationRef,o.ComponentFactoryResolver,o.Injector,o.ElementRef])],e)}();t.PopupService=s},function(e,t,n){"use strict";n.r(t),n.d(t,"align",(function(){return o})),n.d(t,"addScroll",(function(){return r})),n.d(t,"applyLocationOffset",(function(){return s})),n.d(t,"boundingOffset",(function(){return h})),n.d(t,"isBodyOffset",(function(){return m})),n.d(t,"offsetParent",(function(){return d})),n.d(t,"offset",(function(){return v})),n.d(t,"parents",(function(){return y})),n.d(t,"parentScrollPosition",(function(){return _})),n.d(t,"position",(function(){return w})),n.d(t,"positionWithScroll",(function(){return x})),n.d(t,"removeScroll",(function(){return S})),n.d(t,"restrictToView",(function(){return P})),n.d(t,"scrollPosition",(function(){return g})),n.d(t,"siblingContainer",(function(){return A})),n.d(t,"siblings",(function(){return z})),n.d(t,"getDocumentElement",(function(){return c})),n.d(t,"getWindow",(function(){return u})),n.d(t,"getWindowViewPort",(function(){return f})),n.d(t,"AlignPoint",(function(){return i})),n.d(t,"Collision",(function(){return O}));var i={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},o=function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,s=e.margin;void 0===s&&(s={});var a=n.horizontal,u=n.vertical,c=r.horizontal,l=r.vertical,p=s.horizontal||0,f=s.vertical||0,h=t.top,d=t.left;return u===i.bottom&&(h+=t.height),u!==i.center&&u!==i.middle||(h+=Math.round(t.height/2)),l===i.bottom&&(h-=o.height,f*=-1),l!==i.center&&l!==i.middle||(h-=Math.round(o.height/2),f*=-1),a===i.right&&(d+=t.width),a!==i.center&&a!==i.middle||(d+=Math.round(t.width/2)),c===i.right&&(d-=o.width,p*=-1),c!==i.center&&c!==i.middle||(d-=Math.round(o.width/2),p*=-1),{top:h+f,left:d+p}};function r(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function s(e,t,n){var i=e.top,o=e.left;return n&&(o=0,i=0),{top:i+t.top,left:o+t.left,height:e.height,width:e.width}}function a(e){return e.ownerDocument||e.document||e}var u=function(e){return a(e).defaultView},c=function(e){return a(e).documentElement},l=0;function p(){if(!l&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),l=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return l}function f(e){var t=u(e),n=c(e),i={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(i.width-=p()),i}var h=function(e){if(!e.getBoundingClientRect){var t=f(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},d=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||c(e)},m=function(e){return d(e)===e.ownerDocument.body},v=function(e){var t=e.getBoundingClientRect(),n=t.left,i=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,i=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var r=e.getBoundingClientRect();return e.style.display=n,e.style.left=i,e.style.position=o,r}(e)),{top:i,left:n,height:t.height,width:t.width}},y=function(e,t){for(var n=[],i=e.parentNode;i&&(n.push(i),i!==t);)i=i.parentNode;return n};function g(e){var t=c(e),n=u(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}var b=function(e){return e===(e.ownerDocument||{}).body?g(e):{x:e.scrollLeft,y:e.scrollTop}};function _(e){var t=d(e);return t?b(t):{x:0,y:0}}var w=function(e,t){var n=u(e),i=n.getComputedStyle(e),o=v(e),r=t||d(e),s=e.ownerDocument,a=r!==s.body&&r!==s.documentElement,c={top:0,left:0};if("fixed"!==i.position&&a){var l=n.getComputedStyle(r);(c=v(r)).top+=parseInt(l.borderTopWidth,10),c.left+=parseInt(l.borderLeftWidth,10)}return{top:o.top-c.top,left:o.left-c.left,height:o.height,width:o.width}},x=function(e,t,n){void 0===n&&(n=1);var i=t?d(t):null,o=w(e,i),r=o.top,s=o.left,a=o.height,u=o.width,c=function(e,t){return e?b(e):_(t)}(i,e),l=c.x,p=c.y,f=e.ownerDocument,h=i===f.body||i===f.documentElement?1:n;return{top:r+p*h,left:s+l*h,height:a,width:u}};function S(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var O={fit:"fit",flip:"flip"},E=function(e,t,n){var i=0;return e+t>n&&(i=n-(e+t)),e<0&&(i=-e),i},C=function(e){var t=e.offset,n=e.size,o=e.anchorSize,r=e.viewPortSize,s=e.anchorAlignPoint,a=e.elementAlignPoint,u=e.margin,c=0,l=a===i.center||a===i.middle,p=s===i.center||s===i.middle,f=2*u;if(a!==s&&!l&&!p){var h=s===i.top||s===i.left;t<0&&h?t+(c=n+o+f)+n>r&&(c=0):t>=0&&!h&&(t+n>r&&(c+=-(o+n+f)),t+c<0&&(c=0))}return c},P=function(e){var t=e.anchorRect,n=e.anchorAlign,i=e.elementRect,o=e.elementAlign,r=e.collisions,s=e.viewPort,a=e.margin;void 0===a&&(a={});var u=i.top,c=i.left,l=i.height,p=i.width,f=s.height,h=s.width,d=a.horizontal||0,m=a.vertical||0,v=0,y=0,g=r.horizontal===O.flip,b=r.vertical===O.flip;r.vertical===O.fit&&(y+=E(u,l,f)),r.horizontal===O.fit&&(v+=E(c,p,h)),b&&(y+=C({margin:m,offset:u,size:l,anchorSize:t.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),g&&(v+=C({margin:d,offset:c,size:p,anchorSize:t.width,viewPortSize:h,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var _=g&&0!==v,w=b&&0!==y;return{flipped:_||w,flip:{horizontal:_,vertical:w},offset:{left:v,top:y}}},z=function(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t},A=function(e,t){for(var n,i,o=y(e),r=t;r&&(n=z(r),!(i=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)r=r.parentElement;return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(10);t.PopupService=i.PopupService,t.POPUP_CONTAINER=i.POPUP_CONTAINER;var o=n(7);t.PopupComponent=o.PopupComponent;var r=n(21);t.PopupModule=r.PopupModule;var s=n(8);t.SCALE=s.SCALE},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),s=n(3),a=n(8),u=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,i=e.anchorAlign,o=e.elementAlign,r=e.margin,a=e.offset,u=e.positionMode,c=this.scale||1,l="fixed"===u||!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,a,c):this.relativeRect(t,n,a,c),p=s.scaleRect(this._dom.offset(n),c);return this._dom.align({anchorAlign:i,anchorRect:l,elementAlign:o,elementRect:p,margin:r})},e.prototype.absoluteRect=function(e,t,n,i){var o=this.elementScrollPosition(e,t),r=s.eitherRect(this._dom.offset(e),n),a=2*i,u=this._dom.stackingElementScroll(t);1!==i&&u&&(u.x/=a,u.y/=a);var c=this._dom.stackingElementOffset(t);return 1!==i&&c&&(c.left/=a,c.top/=a),this._dom.removeScroll(this._dom.addScroll(s.removeStackingOffset(s.scaleRect(r,i),c),u),o)},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n,i){var o=s.eitherRect(this._dom.position(e,t,i),n);return s.scaleRect(o,i)},e=i.__decorate([o.Injectable(),i.__param(1,o.Inject(a.SCALE)),i.__param(1,o.Optional()),i.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.AlignService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),s=n(3),a=n(8),u=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,i=e.element,o=e.anchorAlign,r=e.elementAlign,a=e.collisions,u=e.margin,c=this._dom,l=this.scale||1,p=c.offsetAtPoint(i,n),f=s.scaleRect(p,l),h=s.scaleRect(c.offset(t),l),d=s.eitherRect(h,n),m=e.viewPort||c.windowViewPort(i);m.width=m.width/l,m.height=m.height/l;var v=c.restrictToView({anchorAlign:o,anchorRect:d,collisions:a,elementAlign:r,elementRect:f,margin:u,viewPort:m}),y=c.addOffset(n,v.offset);return{flip:v.flip,flipped:v.flipped,offset:y}},e=i.__decorate([o.Injectable(),i.__param(1,o.Inject(a.SCALE)),i.__param(1,o.Optional()),i.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.PositionService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),s=n(6),a=n(4),u=n(3),c=n(5),l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.subscribe=function(e){var t=this;a.isDocumentAvailable()&&this._zone.runOutsideAngular((function(){t.subscription=r.fromEvent(t._dom.getWindow(),"resize").pipe(s.auditTime(u.FRAME_DURATION)).subscribe((function(){return e()}))}))},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[c.DOMService,o.NgZone])],e)}();t.ResizeService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),s=n(6),a=n(4),u=n(5),c=n(3);t.THRESHOLD_DIFF=1;var l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.forElement=function(e){return this.unsubscribe(),this.element=e,this},e.prototype.subscribe=function(e){var t=this;if(e&&a.isDocumentAvailable()&&this.element){var n=this._dom.nativeElement(this.element),i=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var o=i.map((function(e){return r.fromEvent(e,"scroll").pipe(s.auditTime(c.FRAME_DURATION))}));t.subscription=r.merge.apply(void 0,o).subscribe((function(o){var r=o.target,s=i.filter((function(e){return e===r})).length>0,a=r===document,u=r===window;(s||a||u)&&e(t.isVisible(n,r))}))}))}},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isVisible=function(e,n){var i=this._dom.boundingOffset(e),o=this._dom.boundingOffset(n);return!(t.THRESHOLD_DIFF<o.top-i.bottom)&&(!(t.THRESHOLD_DIFF<i.top-o.bottom)&&(!(t.THRESHOLD_DIFF<i.left-o.right)&&!(t.THRESHOLD_DIFF<o.left-i.right)))},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[u.DOMService,o.NgZone])],e)}();t.ScrollableService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(18),s={expand:function(e){var t="up"===e||"down"===e?"scaleY":"scaleX";return{start:{transform:t+"(0)",transformOrigin:"down"===e?"top":"left"===e?"right":"right"===e?"left":"bottom"},end:{transform:t+"(1)"}}},slide:function(e){var t="left"===e||"right"===e?"translateX":"translateY";return{start:{transform:t+"("+("right"===e||"down"===e?-100:100)+"%)"},end:{transform:t+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},a=function(){function e(e){this.animationBuilder=e,this.start=new o.EventEmitter,this.end=new o.EventEmitter}return e.prototype.play=function(e,t,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var i=t.type||"slide",r=s[i];if(r){var a=r(this.getDirection(n,t));this.playStates(e,a,t)}else if(o.isDevMode())throw new Error('Unsupported animation type: "'+i+'". The supported types are slide, expand, fade and zoom.')}},e.prototype.ngOnDestroy=function(){this.stopPlayer()},e.prototype.playStates=function(e,t,n){var i=this;this.stopPlayer();var o=n.duration||100,s=this.animationBuilder.build([r.style(t.start),r.animate(o+"ms ease-in",r.style(t.end))]),a=this.player=s.create(e);a.onDone((function(){i.end.emit(),i.stopPlayer()})),this.start.emit(),a.play()},e.prototype.getDirection=function(e,t){var n=t.direction||"down";return e.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),e.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},e.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.AnimationBuilder])],e)}();t.AnimationService=a},function(e,t){e.exports=o},function(e,t,n){"use strict";n.r(t),n.d(t,"validatePackage",(function(){return c}));var i,o,r=["Dg9mB2nHBgvtDhjPBMC=","BeTZwhy=","BMfTzq==","t2jNzuO=","u2vLia==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","ve5Kv1a=","twnxzvu=","zNvUy3rPB24=","B0L1D2G=","DgLTzxn0yw1W","DhLWzq==","veD4vee=","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DMvYC2LVBG==","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","y29Kzq==","vxD5t2i=","uhjVz3jLC3mG","u0L5uK0=","tK11q1m=","z3jVDxa=","CgfYC2u=","DhHnvvO=","C0XgtM8=","EuXSufC=","BwnAuhi=","tM8GBgLJzw5ZzsbMB3vUzc4k","C0n3Afm=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","ChjVzhvJDe5HBwu=","BgLJzw5ZAw5Nrg9JC1vYBa==","te9uDxO=","zxHWAxj5rgf0zq==","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","CxPpwKi=","CgfJA2fNzu5HBwu=","D2fYBG==","z2v0","ChjVzhvJDhm=","z3jVDxbfBMq=","BgvUz3rO","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","ueTszha=","C2v0","BKTkv3K=","A1nVz0i=","zgf0yq==","BLLnzLu=","wgHOAKG=","zg9JC1vYBa==","ChvIBgLZAerHDgu=","tfvAtNG=","ChjVzhvJDenVzgvZ","AgfZ","CenHvwe=","EgvXB2C=","B2jQzwn0","zMLUza=="];i=r,o=345,function(e){for(;--e;)i.push(i.shift())}(++o);var s=function(e,t){var n=r[e-=0];if(void 0===s.RllMHS){s.ksQlpu=function(e){for(var t=function(e){for(var t,n,i=String(e).replace(/=+$/,""),o="",r=0,s=0;n=i.charAt(s++);~n&&(t=r%4?64*t+n:n,r++%4)?o+=String.fromCharCode(255&t>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],i=0,o=t.length;i<o;i++)n+="%"+("00"+t.charCodeAt(i).toString(16)).slice(-2);return decodeURIComponent(n)},s.XuiNYa={},s.RllMHS=!0}var i=s.XuiNYa[e];return void 0===i?(n=s.ksQlpu(n),s.XuiNYa[e]=n):n=i,n},a={data:" {} "},u=new Map;function c(e){if(u[s("0x4")](e[s("0xb")])){if(s("0x1a")!==s("0x34"))return u[s("0x2f")](e[s("0xb")])}var t,n=e[s("0x17")]?" v"+e[s("0x17")]:"",i=e[s("0xb")]+n,o=JSON[s("0x1f")](a[s("0x38")]),r=!o[s("0x13")],c=function(e,t){var n=e[s("0x30")];if(!n||!n[s("0x32")]){if(s("0x21")!==s("0x39"))return null}var i=new Set(t);return n[s("0x8")]((function(e){if(s("0xa")==s("0xa"))return i[s("0x4")](e[s("0x19")])}))}(o,e[s("0x3")]);if(r)if(s("0x20")!=s("0x20")){}else t={type:0,packageName:i,docsUrl:e[s("0x28")]};else if(s("0x12")==s("0x12"))if(c){if(s("0x2c")!=s("0x2c")){}else if(c[s("0x16")]<e[s("0x1")])if(s("0x15")===s("0x23")){}else t={type:2,packageName:i,publishDate:p(e[s("0x1")]),expiryDate:p(c[s("0x16")]),docsUrl:e[s("0x28")]}}else if(s("0x5")===s("0x3a")){}else t={type:1,packageName:i,docsUrl:e[s("0x28")]};else{}if(t&&typeof console===s("0x7"))if(s("0x22")!=s("0x22")){}else{var f=s("0x1b")+e[s("0x27")],h=typeof console[s("0x1e")]===s("0x11");if(h)if(s("0x25")===s("0x2")){}else console[s("0x1e")](f);else if(s("0x1c")!=s("0x1c")){}else console[s("0x2e")](f);if(console[s("0x2e")](l(t)),h)if(s("0xc")!==s("0x10"))console[s("0x31")]();else{}}var d=!t;return u[s("0x35")](e[s("0xb")],d),d}function l(e){var t=s("0xe")+e[s("0x2d")]+"\n";if(2===e[s("0x14")])if(s("0xf")!==s("0x6"))t+=s("0x26")+e[s("0x2a")][s("0x9")]()+s("0x18")+e[s("0x1")][s("0x9")]()+".\n";else{}else if(0===e[s("0x14")])if(s("0x37")!==s("0x29"))t+=s("0x24");else{}else if(1===e[s("0x14")])if(s("0x1d")!==s("0x36"))t+=s("0x2b");else{}return t+=s("0xd")+e[s("0x0")]+s("0x33")}function p(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1608131941,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 i=n(1),o=n(0),r=n(9),s=n(7),a=n(4),u=n(10),c=[s.PopupComponent],l=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[c],entryComponents:[c],exports:[c],imports:[r.CommonModule,a.ResizeSensorModule],providers:[u.PopupService]})],e)}();t.PopupModule=l}])}));
|
|
20
|
+
var i=function(e,t){return(i=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 o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function a(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))}function p(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function f(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}function d(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],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(t){return new Promise((function(n,i){r.push([e,t,n,i])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof g?Promise.resolve(n.value.v).then(u,c):l(r[0][2],n)}catch(e){l(r[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:g(e[i](t)),done:"return"===i}:o?o(t):t}:o}}function w(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={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,o,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function x(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 S(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function C(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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),o=n(4);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,i=e.top,o=t.left,r=t.top;return Math.abs(n-o)>=1||Math.abs(i-r)>=1},t.isWindowAvailable=function(){return"undefined"!=typeof window},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var r,s,a,u=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)};t.scrollableParents=function(e){var n=[];if(!o.isDocumentAvailable()||!t.isWindowAvailable())return n;for(var i=e.parentElement;i;)(t.OVERFLOW_REGEXP.test(u(i))||i.hasAttribute("data-scrollable"))&&n.push(i),i=i.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.hasRelativeStackingContext=(r=function(){if(!o.isDocumentAvailable()&&null!==document.body)return!1;var e=document.createElement("div");e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(e);var t=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),t},a=!1,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a||(s=r.apply(void 0,e),a=!0),s}),t.zIndex=function(e,n){if(!e||!o.isDocumentAvailable()||!t.isWindowAvailable())return null;var r=i.siblingContainer(e,n);if(!r)return null;var s=[e].concat(i.parents(e,r)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,i=parseInt(n,10);return i>e?i:e}),0);return s?s+1:null},t.scaleRect=function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e}},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return U})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return x})),n.d(t,"DraggableModule",(function(){return S})),n.d(t,"closestInScope",(function(){return E})),n.d(t,"closest",(function(){return C})),n.d(t,"contains",(function(){return P})),n.d(t,"findElement",(function(){return z})),n.d(t,"findFocusableChild",(function(){return I})),n.d(t,"findFocusable",(function(){return M})),n.d(t,"hasClasses",(function(){return L})),n.d(t,"isFocusableWithTabKey",(function(){return R})),n.d(t,"isFocusable",(function(){return A})),n.d(t,"isVisible",(function(){return D})),n.d(t,"matchesClasses",(function(){return k})),n.d(t,"matchesNodeName",(function(){return T})),n.d(t,"rtlScrollPosition",(function(){return B})),n.d(t,"EventsOutsideAngularDirective",(function(){return V})),n.d(t,"EventsModule",(function(){return H})),n.d(t,"ResizeSensorComponent",(function(){return J})),n.d(t,"ResizeBatchService",(function(){return X})),n.d(t,"ResizeCompatService",(function(){return q})),n.d(t,"ResizeObserverService",(function(){return G})),n.d(t,"ResizeSensorModule",(function(){return $})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return g})),n.d(t,"isChanged",(function(){return b})),n.d(t,"anyChanged",(function(){return _})),n.d(t,"hasObservers",(function(){return w})),n.d(t,"guid",(function(){return O})),n.d(t,"Keys",(function(){return F}));var i=n(1),o=n(0),r=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 p(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 f=function(e){var t=this,n=e.press;void 0===n&&(n=u);var i=e.drag;void 0===i&&(i=u);var o=e.release;void 0===o&&(o=u);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=r(p,n),this._dragHandler=r(p,i),this._releaseHandler=r(p,o),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))}},d={document:{configurable:!0}};f.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.document.get=function(){return this._element?this._element.ownerDocument:document},f.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},f.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)))},f.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))},f.prototype._usePointers=function(){return!this._mouseOnly&&f.supportPointerEvent()},f.prototype.update=function(e){var t=e.press;void 0===t&&(t=u);var n=e.drag;void 0===n&&(n=u);var i=e.release;void 0===i&&(i=u);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=r(p,t),this._dragHandler=r(p,n),this._releaseHandler=r(p,i),this._mouseOnly=o},f.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(f.prototype,d),f.default=f;var h=f,m=n(9),v=n(6),y=n(2),g=function(){return"undefined"!=typeof document},b=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 b(e,t,n)}))},w=function(e){return e&&e.observers.length>0},O=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},x=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new o.EventEmitter,this.kendoDrag=new o.EventEmitter,this.kendoRelease=new o.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){b("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;g()&&(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(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoPress",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(i.__decorate)([Object(o.Directive)({selector:"[kendoDraggable]"}),Object(i.__metadata)("design:paramtypes",[o.ElementRef,o.NgZone])],e)}(),S=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[x],exports:[x],imports:[m.CommonModule]})],e)}(),E=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},C=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},P=function(e,t,n){if(void 0===n&&(n=!1),!C(t,(function(t){return t===e})))return!1;var i=C(t,(function(e){return e===t}));return i&&(n||i!==e)},z=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 i=z(e,t);if(i)return i}e=e.nextSibling}}},j=/^(?:a|input|select|option|textarea|button|object)$/i,A=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&j.test(t)||n},D=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,i=0!==t.x&&0!==t.y;return(n||i)&&"hidden"!==window.getComputedStyle(e).visibility},R=function(e,t){if(void 0===t&&(t=!0),!A(e))return!1;var n=e.getAttribute("tabIndex");return(!t||D(e))&&"-1"!==n},I=function(e,t){return void 0===t&&(t=!0),z(e,(function(e){return R(e,t)}),!1)},M=function(e,t){return void 0===t&&(t=!0),z(e,(function(e){return R(e,t)}))},K=function(e){return String(e).trim().split(" ")},L=function(e,t){var n=K(t);return Boolean(K(e.className).find((function(e){return n.indexOf(e)>=0})))},k=function(e){return function(t){return L(t,e)}},N={},T=function(e){return N[e]||(N[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),N[e]};function B(e,t,n){var i=e;return n<0?i=-e:n>0&&(i=t.scrollWidth-t.offsetWidth-e),i}var F,V=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(i.__decorate)([Object(o.Input)("kendoEventsOutsideAngular"),Object(i.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(i.__decorate)([Object(o.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(i.__metadata)("design:paramtypes",[o.ElementRef,o.NgZone,o.Renderer2])],e)}(),H=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[V],exports:[V]})],e)}(),U=function(){function e(e){this.resizeBatchService=e,this.resize=new o.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(){g()&&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}(),W=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;",q=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(i.__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=W(Z),this.expandChild=W("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=W(Z);var t=W("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(y.merge)(Object(y.fromEvent)(e.shrink,"scroll"),Object(y.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(U),Y="undefined"!=typeof ResizeObserver,G=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(i.__extends)(t,e),t.supported=function(){return Y},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}(U),X=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(y.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,i=0;i<n;i++)if(t[i].instance===e)return t.splice(i,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(i.__decorate)([Object(o.Injectable)(),Object(i.__metadata)("design:paramtypes",[o.NgZone])],e)}(),J=function(){function e(e,t,n){var i=this;this.rateLimit=10,this.resize=new o.EventEmitter;var r=G.supported()?G:q;this.resizeService=new r(e,t,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(v.auditTime)(s)).subscribe((function(){i.resizeService.acceptedSize||i.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(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"resize",void 0),e=Object(i.__decorate)([Object(o.Component)({selector:"kendo-resize-sensor",template:""}),Object(i.__metadata)("design:paramtypes",[X,o.ElementRef,o.NgZone])],e)}(),Q=[J],$=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[Q],exports:[Q],providers:[X]})],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"}(F||(F={}));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});var i=n(1),o=n(0),r=n(11),s=n(3),a=n(4),u=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],c=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.addScroll=function(e,t){return r.addScroll(e,t)},e.prototype.align=function(e){return r.align(e)},e.prototype.boundingOffset=function(e){return r.boundingOffset(this.nativeElement(e))},e.prototype.getFontStyles=function(e){var t=this.getWindow();if(!t||!e)return[];var n=t.getComputedStyle(this.nativeElement(e));return u.map((function(e){return{key:e,value:n[e]}}))},e.prototype.getWindow=function(){return s.isWindowAvailable()?window:null},e.prototype.hasOffsetParent=function(e){return!!e&&!!this.nativeElement(e).offsetParent},e.prototype.offset=function(e){return e?r.offset(this.nativeElement(e)):null},e.prototype.offsetAtPoint=function(e,t){if(!e)return null;var n=this.nativeElement(e),i=n.style,o=i.left,s=i.top,a=i.transition;n.style.transition="none",n.style.left=t.left+"px",n.style.top=t.top+"px";var u=r.offset(n);return n.style.left=o,n.style.top=s,n.offsetHeight,n.style.transition=a,u},e.prototype.nativeElement=function(e){return e?e.nativeElement||e:null},e.prototype.position=function(e,t,n){return void 0===n&&(n=1),e&&t?r.positionWithScroll(this.nativeElement(e),this.nativeElement(t),n):null},e.prototype.removeScroll=function(e,t){return r.removeScroll(e,t)},e.prototype.restrictToView=function(e){return r.restrictToView(e)},e.prototype.scrollPosition=function(e){return r.scrollPosition(this.nativeElement(e))},e.prototype.scrollableParents=function(e){return s.scrollableParents(this.nativeElement(e))},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?r.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.getRelativeContextElement=function(e){if(!e||!s.hasRelativeStackingContext())return null;for(var t=this.nativeElement(e).parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return r.getWindowViewPort(this.nativeElement(e))},e.prototype.zIndex=function(e,t){return s.zIndex(this.nativeElement(e),this.nativeElement(t))},e.prototype.zoomLevel=function(){return a.isDocumentAvailable()&&s.isWindowAvailable()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e=i.__decorate([o.Injectable()],e)}();t.DOMService=c},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(13),s=n(5),a=n(14),u=n(15),c=n(16),l=n(17),p=n(3),f=n(4),d=n(2),h=n(19),m=n(20),v={left:-1e4,top:0},y=function(){function e(e,t,n,i,r,s,a,u,c){this.container=e,this._alignService=t,this.domService=n,this._positionService=i,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=u,this._zone=c,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=v,this.anchorViewportLeave=new o.EventEmitter,this.close=new o.EventEmitter,this.open=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,h.validatePackage(m.packageMetadata),this._renderer.addClass(e.nativeElement,"k-animation-container"),this.updateFixedClass()}return e.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=v,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},e.prototype.ngOnChanges=function(e){e.copyAnchorStyles&&this.copyFontStyles(),e.positionMode&&this.updateFixedClass()},e.prototype.ngAfterViewInit=function(){var e=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){e.onAnimationEnd()}))},e.prototype.ngAfterViewChecked=function(){var e=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){e.unsubscribeReposition(),e.repositionSubscription=d.from(e.resolvedPromise).subscribe(e.reposition)}))},e.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},e.prototype.onResize=function(){this.reposition()},e.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},e.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(e.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(e){this.setContainerStyle("left",e.left+"px"),this.setContainerStyle("top",e.top+"px"),this._currentOffset=e},enumerable:!0,configurable:!0}),e.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},e.prototype.reposition=function(){var e=this;if(f.isDocumentAvailable()){var t=this.position(),n=t.flip,i=t.offset;this.currentOffset&&!p.isDifferentOffset(this.currentOffset,i)||(this.currentOffset=i,f.hasObservers(this.positionChange)&&this._zone.run((function(){return e.positionChange.emit({offset:i,flip:n})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,n),this.resizeSensor.acceptSize()}},e.prototype.position=function(){var e=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:e,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},e.prototype.onScroll=function(e){var t=this,n=f.hasObservers(this.anchorViewportLeave);e||!n?this.reposition():n&&this._zone.run((function(){t.anchorViewportLeave.emit()}))},e.prototype.copyFontStyles=function(){var e=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(t){return e.setContainerStyle(t.key,t.value)}))},e.prototype.updateFixedClass=function(){var e="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[e](this.container.nativeElement,"k-animation-container-fixed")},e.prototype.setContainerStyle=function(e,t){this._renderer.setStyle(this.container.nativeElement,e,t)},e.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.ElementRef)],e.prototype,"anchor",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"anchorAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"collision",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"popupAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"copyAnchorStyles",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"popupClass",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"positionMode",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"offset",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"margin",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"anchorViewportLeave",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"positionChange",void 0),i.__decorate([o.ViewChild("container",{static:!0}),i.__metadata("design:type",o.ElementRef)],e.prototype,"contentContainer",void 0),i.__decorate([o.ViewChild(f.ResizeSensorComponent,{static:!0}),i.__metadata("design:type",f.ResizeSensorComponent)],e.prototype,"resizeSensor",void 0),e=i.__decorate([o.Component({exportAs:"kendo-popup",providers:[r.AlignService,l.AnimationService,s.DOMService,a.PositionService,u.ResizeService,c.ScrollableService],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,r.AlignService,s.DOMService,a.PositionService,u.ResizeService,c.ScrollableService,l.AnimationService,o.Renderer2,o.NgZone])],e)}();t.PopupComponent=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);t.SCALE=new i.InjectionToken("Popup Document Scale")},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(7);t.POPUP_CONTAINER=new o.InjectionToken("Popup Container");var s=function(){function e(e,t,n,i){this.applicationRef=e,this.componentFactoryResolver=t,this.injector=n,this.container=i}return Object.defineProperty(e.prototype,"rootViewContainer",{get:function(){var e=this.applicationRef.components||[];if(e[0])return e[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),e.prototype.open=function(e){void 0===e&&(e={});var t=this.contentFrom(e.content),n=t.component,i=t.nodes,o=this.appendPopup(i,e.appendTo),r=o.instance;this.projectComponentInputs(o,e),o.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(o);return{close:function(){var e;n&&n.destroy(),o.destroy(),(e=s)&&e.parentNode&&e.parentNode.removeChild(e)},content:n,popup:o,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},e.prototype.appendPopup=function(e,t){var n=this.createComponent(r.PopupComponent,e,t);return t||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},e.prototype.getComponentRootNode=function(e){return e.location.nativeElement},e.prototype.getComponentFactory=function(e){return this.componentFactoryResolver.resolveComponentFactory(e)},e.prototype.createComponent=function(e,t,n){var i=this.getComponentFactory(e);if(n)return n.createComponent(i,void 0,this.injector,t);var o=i.create(this.injector,t);return this.applicationRef.attachView(o.hostView),o},e.prototype.projectComponentInputs=function(e,t){return Object.getOwnPropertyNames(t).filter((function(e){return"content"!==e||t.content instanceof o.TemplateRef})).map((function(n){e.instance[n]=t[n]})),e},e.prototype.contentFrom=function(e){if(!e||e instanceof o.TemplateRef)return{component:null,nodes:[[]]};var t=this.createComponent(e);return{component:t,nodes:[t?[t.location.nativeElement]:[]]}},e=i.__decorate([o.Injectable(),i.__param(3,o.Inject(t.POPUP_CONTAINER)),i.__param(3,o.Optional()),i.__metadata("design:paramtypes",[o.ApplicationRef,o.ComponentFactoryResolver,o.Injector,o.ElementRef])],e)}();t.PopupService=s},function(e,t,n){"use strict";n.r(t),n.d(t,"align",(function(){return o})),n.d(t,"addScroll",(function(){return r})),n.d(t,"applyLocationOffset",(function(){return s})),n.d(t,"boundingOffset",(function(){return d})),n.d(t,"isBodyOffset",(function(){return m})),n.d(t,"offsetParent",(function(){return h})),n.d(t,"offset",(function(){return v})),n.d(t,"parents",(function(){return y})),n.d(t,"parentScrollPosition",(function(){return _})),n.d(t,"position",(function(){return w})),n.d(t,"positionWithScroll",(function(){return O})),n.d(t,"removeScroll",(function(){return x})),n.d(t,"restrictToView",(function(){return P})),n.d(t,"scrollPosition",(function(){return g})),n.d(t,"siblingContainer",(function(){return j})),n.d(t,"siblings",(function(){return z})),n.d(t,"zIndex",(function(){return A})),n.d(t,"getDocumentElement",(function(){return c})),n.d(t,"getWindow",(function(){return u})),n.d(t,"getWindowViewPort",(function(){return f})),n.d(t,"AlignPoint",(function(){return i})),n.d(t,"Collision",(function(){return S}));var i={bottom:"bottom",center:"center",middle:"middle",left:"left",right:"right",top:"top"},o=function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,s=e.margin;void 0===s&&(s={});var a=n.horizontal,u=n.vertical,c=r.horizontal,l=r.vertical,p=s.horizontal||0,f=s.vertical||0,d=t.top,h=t.left;return u===i.bottom&&(d+=t.height),u!==i.center&&u!==i.middle||(d+=Math.round(t.height/2)),l===i.bottom&&(d-=o.height,f*=-1),l!==i.center&&l!==i.middle||(d-=Math.round(o.height/2),f*=-1),a===i.right&&(h+=t.width),a!==i.center&&a!==i.middle||(h+=Math.round(t.width/2)),c===i.right&&(h-=o.width,p*=-1),c!==i.center&&c!==i.middle||(h-=Math.round(o.width/2),p*=-1),{top:d+f,left:h+p}};function r(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function s(e,t,n){var i=e.top,o=e.left;return n&&(o=0,i=0),{top:i+t.top,left:o+t.left,height:e.height,width:e.width}}function a(e){return e.ownerDocument||e.document||e}var u=function(e){return a(e).defaultView},c=function(e){return a(e).documentElement},l=0;function p(){if(!l&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),l=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return l}function f(e){var t=u(e),n=c(e),i={height:t.innerHeight,width:t.innerWidth};return n.scrollHeight-n.clientHeight>0&&(i.width-=p()),i}var d=function(e){if(!e.getBoundingClientRect){var t=f(e);return{bottom:t.height,left:0,right:t.width,top:0}}var n=e.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},h=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||c(e)},m=function(e){return h(e)===e.ownerDocument.body},v=function(e){var t=e.getBoundingClientRect(),n=t.left,i=t.top;return t.height||t.width||(t=function(e){var t=e.style,n=t.display,i=t.left,o=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var r=e.getBoundingClientRect();return e.style.display=n,e.style.left=i,e.style.position=o,r}(e)),{top:i,left:n,height:t.height,width:t.width}},y=function(e,t){for(var n=[],i=e.parentNode;i&&(n.push(i),i!==t);)i=i.parentNode;return n};function g(e){var t=c(e),n=u(e);return{x:n.pageXOffset||t.scrollLeft||0,y:n.pageYOffset||t.scrollTop||0}}var b=function(e){return e===(e.ownerDocument||{}).body?g(e):{x:e.scrollLeft,y:e.scrollTop}};function _(e){var t=h(e);return t?b(t):{x:0,y:0}}var w=function(e,t){var n=u(e),i=n.getComputedStyle(e),o=v(e),r=t||h(e),s=e.ownerDocument,a=r!==s.body&&r!==s.documentElement,c={top:0,left:0};if("fixed"!==i.position&&a){var l=n.getComputedStyle(r);(c=v(r)).top+=parseInt(l.borderTopWidth,10),c.left+=parseInt(l.borderLeftWidth,10)}return{top:o.top-c.top,left:o.left-c.left,height:o.height,width:o.width}},O=function(e,t,n){void 0===n&&(n=1);var i=t?h(t):null,o=w(e,i),r=o.top,s=o.left,a=o.height,u=o.width,c=function(e,t){return e?b(e):_(t)}(i,e),l=c.x,p=c.y,f=e.ownerDocument,d=i===f.body||i===f.documentElement?1:n;return{top:r+p*d,left:s+l*d,height:a,width:u}};function x(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var S={fit:"fit",flip:"flip"},E=function(e,t,n){var i=0;return e+t>n&&(i=n-(e+t)),e<0&&(i=-e),i},C=function(e){var t=e.offset,n=e.size,o=e.anchorSize,r=e.viewPortSize,s=e.anchorAlignPoint,a=e.elementAlignPoint,u=e.margin,c=0,l=a===i.center||a===i.middle,p=s===i.center||s===i.middle,f=2*u;if(a!==s&&!l&&!p){var d=s===i.top||s===i.left;t<0&&d?t+(c=n+o+f)+n>r&&(c=0):t>=0&&!d&&(t+n>r&&(c+=-(o+n+f)),t+c<0&&(c=0))}return c},P=function(e){var t=e.anchorRect,n=e.anchorAlign,i=e.elementRect,o=e.elementAlign,r=e.collisions,s=e.viewPort,a=e.margin;void 0===a&&(a={});var u=i.top,c=i.left,l=i.height,p=i.width,f=s.height,d=s.width,h=a.horizontal||0,m=a.vertical||0,v=0,y=0,g=r.horizontal===S.flip,b=r.vertical===S.flip;r.vertical===S.fit&&(y+=E(u,l,f)),r.horizontal===S.fit&&(v+=E(c,p,d)),b&&(y+=C({margin:m,offset:u,size:l,anchorSize:t.height,viewPortSize:f,anchorAlignPoint:n.vertical,elementAlignPoint:o.vertical})),g&&(v+=C({margin:h,offset:c,size:p,anchorSize:t.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:o.horizontal}));var _=g&&0!==v,w=b&&0!==y;return{flipped:_||w,flip:{horizontal:_,vertical:w},offset:{left:v,top:y}}},z=function(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t},j=function(e,t){for(var n,i,o=y(e),r=t;r&&(n=z(r),!(i=o.reduce((function(e,t){return e.concat(n.filter((function(e){return e===t})))}),[])[0]));)r=r.parentElement;return i};function A(e,t){if(!e||!t)return null;var n=j(e,t);if(!n)return null;var i=[e].concat(y(e,n)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,i=parseInt(n,10);return i>e?i:e}),0);return i?i+1:null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(10);t.PopupService=i.PopupService,t.POPUP_CONTAINER=i.POPUP_CONTAINER;var o=n(7);t.PopupComponent=o.PopupComponent;var r=n(21);t.PopupModule=r.PopupModule;var s=n(8);t.SCALE=s.SCALE},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),s=n(3),a=n(8),u=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,i=e.anchorAlign,o=e.elementAlign,r=e.margin,a=e.offset,u=e.positionMode,c=this.scale||1,l="fixed"===u||!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,a,c):this.relativeRect(t,n,a,c),p=s.scaleRect(this._dom.offset(n),c);return this._dom.align({anchorAlign:i,anchorRect:l,elementAlign:o,elementRect:p,margin:r})},e.prototype.absoluteRect=function(e,t,n,i){var o=this.elementScrollPosition(e,t),r=s.eitherRect(this._dom.offset(e),n),a=2*i,u=this._dom.stackingElementScroll(t);1!==i&&u&&(u.x/=a,u.y/=a);var c=this._dom.stackingElementOffset(t);return 1!==i&&c&&(c.left/=a,c.top/=a),this._dom.removeScroll(this._dom.addScroll(s.removeStackingOffset(s.scaleRect(r,i),c),u),o)},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n,i){var o=s.eitherRect(this._dom.position(e,t,i),n);return s.scaleRect(o,i)},e=i.__decorate([o.Injectable(),i.__param(1,o.Inject(a.SCALE)),i.__param(1,o.Optional()),i.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.AlignService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),s=n(3),a=n(8),u=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,i=e.element,o=e.anchorAlign,r=e.elementAlign,a=e.collisions,u=e.margin,c=this._dom,l=this.scale||1,p=c.offsetAtPoint(i,n),f=s.scaleRect(p,l),d=s.scaleRect(c.offset(t),l),h=s.eitherRect(d,n),m=e.viewPort||c.windowViewPort(i);m.width=m.width/l,m.height=m.height/l;var v=c.restrictToView({anchorAlign:o,anchorRect:h,collisions:a,elementAlign:r,elementRect:f,margin:u,viewPort:m}),y=c.addOffset(n,v.offset);return{flip:v.flip,flipped:v.flipped,offset:y}},e=i.__decorate([o.Injectable(),i.__param(1,o.Inject(a.SCALE)),i.__param(1,o.Optional()),i.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.PositionService=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),s=n(6),a=n(4),u=n(3),c=n(5),l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.subscribe=function(e){var t=this;a.isDocumentAvailable()&&this._zone.runOutsideAngular((function(){t.subscription=r.fromEvent(t._dom.getWindow(),"resize").pipe(s.auditTime(u.FRAME_DURATION)).subscribe((function(){return e()}))}))},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[c.DOMService,o.NgZone])],e)}();t.ResizeService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),s=n(6),a=n(4),u=n(5),c=n(3);t.THRESHOLD_DIFF=1;var l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.forElement=function(e){return this.unsubscribe(),this.element=e,this},e.prototype.subscribe=function(e){var t=this;if(e&&a.isDocumentAvailable()&&this.element){var n=this._dom.nativeElement(this.element),i=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var o=i.map((function(e){return r.fromEvent(e,"scroll").pipe(s.auditTime(c.FRAME_DURATION))}));t.subscription=r.merge.apply(void 0,o).subscribe((function(o){var r=o.target,s=i.filter((function(e){return e===r})).length>0,a=r===document,u=r===window;(s||a||u)&&e(t.isVisible(n,r))}))}))}},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isVisible=function(e,n){var i=this._dom.boundingOffset(e),o=this._dom.boundingOffset(n);return!(t.THRESHOLD_DIFF<o.top-i.bottom)&&(!(t.THRESHOLD_DIFF<i.top-o.bottom)&&(!(t.THRESHOLD_DIFF<i.left-o.right)&&!(t.THRESHOLD_DIFF<o.left-i.right)))},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[u.DOMService,o.NgZone])],e)}();t.ScrollableService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(18),s={expand:function(e){var t="up"===e||"down"===e?"scaleY":"scaleX";return{start:{transform:t+"(0)",transformOrigin:"down"===e?"top":"left"===e?"right":"right"===e?"left":"bottom"},end:{transform:t+"(1)"}}},slide:function(e){var t="left"===e||"right"===e?"translateX":"translateY";return{start:{transform:t+"("+("right"===e||"down"===e?-100:100)+"%)"},end:{transform:t+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},a=function(){function e(e){this.animationBuilder=e,this.start=new o.EventEmitter,this.end=new o.EventEmitter}return e.prototype.play=function(e,t,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var i=t.type||"slide",r=s[i];if(r){var a=r(this.getDirection(n,t));this.playStates(e,a,t)}else if(o.isDevMode())throw new Error('Unsupported animation type: "'+i+'". The supported types are slide, expand, fade and zoom.')}},e.prototype.ngOnDestroy=function(){this.stopPlayer()},e.prototype.playStates=function(e,t,n){var i=this;this.stopPlayer();var o=n.duration||100,s=this.animationBuilder.build([r.style(t.start),r.animate(o+"ms ease-in",r.style(t.end))]),a=this.player=s.create(e);a.onDone((function(){i.end.emit(),i.stopPlayer()})),this.start.emit(),a.play()},e.prototype.getDirection=function(e,t){var n=t.direction||"down";return e.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),e.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},e.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.AnimationBuilder])],e)}();t.AnimationService=a},function(e,t){e.exports=o},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return c})),n.d(t,"validatePackage",(function(){return l}));var i,o,r=["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"];i=r,o=131,function(e){for(;--e;)i.push(i.shift())}(++o);var s=function(e,t){var n=r[e-=0];if(void 0===s.eVebMg){s.JsjtEd=function(e){for(var t=function(e){for(var t,n,i=String(e).replace(/=+$/,""),o="",r=0,s=0;n=i.charAt(s++);~n&&(t=r%4?64*t+n:n,r++%4)?o+=String.fromCharCode(255&t>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],i=0,o=t.length;i<o;i++)n+="%"+("00"+t.charCodeAt(i).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var i=s.rqrXoU[e];return void 0===i?(n=s.JsjtEd(n),s.rqrXoU[e]=n):n=i,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")]:"",i=e[s("0x4")]+n,o=JSON[s("0x9")](a[s("0x34")]),r=!o[s("0x26")]&&!o[s("0x38")],c=o[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 i=new Set(t);return n[s("0x2a")]((function(e){if(s("0xa")!==s("0x18"))return i[s("0x14")](e[s("0x39")])}))}(o,e[s("0x2")]);if(r||c)if(s("0x29")!=s("0x29")){}else t={type:0,packageName:i,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:i,publishDate:p(e[s("0x1c")]),expiryDate:p(l[s("0x37")]),docsUrl:e[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else t={type:1,packageName:i,docsUrl:e[s("0x27")]};if(t&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var f=s("0x1b")+e[s("0xe")],d=typeof console[s("0x7")]===s("0x33");if(d)if(s("0xc")!=s("0xc")){}else console[s("0x7")](f);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](f);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)),d)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var h=!t;return u[s("0x0")](e[s("0x4")],h),h}function p(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635408876,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 i=n(1),o=n(0),r=n(9),s=n(7),a=n(4),u=n(10),c=[s.PopupComponent],l=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[c],entryComponents:[c],exports:[c],imports:[r.CommonModule,a.ResizeSensorModule],providers:[u.PopupService]})],e)}();t.PopupModule=l}])}));
|
package/dist/cdn/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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("@progress/kendo-angular-common"),require("rxjs"),require("@progress/kendo-popup-common"),require("rxjs/operators"),require("@angular/animations"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define(["@angular/core","tslib","@progress/kendo-angular-common","rxjs","@progress/kendo-popup-common","rxjs/operators","@angular/animations","@progress/kendo-licensing","@angular/common"],t):"object"==typeof exports?exports.KendoAngularPopup=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-common"),require("rxjs"),require("@progress/kendo-popup-common"),require("rxjs/operators"),require("@angular/animations"),require("@progress/kendo-licensing"),require("@angular/common")):e.KendoAngularPopup=t(e["@angular/core"],e.tslib,e["@progress/kendo-angular-common"],e.rxjs,e["@progress/kendo-popup-common"],e["rxjs/operators"],e["@angular/animations"],e["@progress/kendo-licensing"],e["@angular/common"])}(window,(function(e,t,n,o,i,r,s,a,p){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=11)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=n(3);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,o=e.top,i=t.left,r=t.top;return Math.abs(n-i)>=1||Math.abs(o-r)>=1},t.isWindowAvailable=function(){return"undefined"!=typeof window},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var r,s,a,p=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)};t.scrollableParents=function(e){var n=[];if(!i.isDocumentAvailable()||!t.isWindowAvailable())return n;for(var o=e.parentElement;o;)(t.OVERFLOW_REGEXP.test(p(o))||o.hasAttribute("data-scrollable"))&&n.push(o),o=o.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.hasRelativeStackingContext=(r=function(){if(!i.isDocumentAvailable()&&null!==document.body)return!1;var e=document.createElement("div");e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(e);var t=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),t},a=!1,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a||(s=r.apply(void 0,e),a=!0),s}),t.zIndex=function(e,n){if(!e||!i.isDocumentAvailable()||!t.isWindowAvailable())return null;var r=o.siblingContainer(e,n);if(!r)return null;var s=[e].concat(o.parents(e,r)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return s?s+1:null},t.scaleRect=function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e}},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(9),s=n(2),a=n(3),p=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],c=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.addScroll=function(e,t){return r.addScroll(e,t)},e.prototype.align=function(e){return r.align(e)},e.prototype.boundingOffset=function(e){return r.boundingOffset(this.nativeElement(e))},e.prototype.getFontStyles=function(e){var t=this.getWindow();if(!t||!e)return[];var n=t.getComputedStyle(this.nativeElement(e));return p.map((function(e){return{key:e,value:n[e]}}))},e.prototype.getWindow=function(){return s.isWindowAvailable()?window:null},e.prototype.hasOffsetParent=function(e){return!!e&&!!this.nativeElement(e).offsetParent},e.prototype.offset=function(e){return e?r.offset(this.nativeElement(e)):null},e.prototype.offsetAtPoint=function(e,t){if(!e)return null;var n=this.nativeElement(e),o=n.style,i=o.left,s=o.top,a=o.transition;n.style.transition="none",n.style.left=t.left+"px",n.style.top=t.top+"px";var p=r.offset(n);return n.style.left=i,n.style.top=s,n.offsetHeight,n.style.transition=a,p},e.prototype.nativeElement=function(e){return e?e.nativeElement||e:null},e.prototype.position=function(e,t,n){return void 0===n&&(n=1),e&&t?r.positionWithScroll(this.nativeElement(e),this.nativeElement(t),n):null},e.prototype.removeScroll=function(e,t){return r.removeScroll(e,t)},e.prototype.restrictToView=function(e){return r.restrictToView(e)},e.prototype.scrollPosition=function(e){return r.scrollPosition(this.nativeElement(e))},e.prototype.scrollableParents=function(e){return s.scrollableParents(this.nativeElement(e))},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?r.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.getRelativeContextElement=function(e){if(!e||!s.hasRelativeStackingContext())return null;for(var t=this.nativeElement(e).parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return r.getWindowViewPort(this.nativeElement(e))},e.prototype.zIndex=function(e,t){return s.zIndex(this.nativeElement(e),this.nativeElement(t))},e.prototype.zoomLevel=function(){return a.isDocumentAvailable()&&s.isWindowAvailable()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e=o.__decorate([i.Injectable()],e)}();t.DOMService=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(12),s=n(4),a=n(13),p=n(14),c=n(15),l=n(16),u=n(2),d=n(3),f=n(7),h=n(18),m=n(19),v={left:-1e4,top:0},y=function(){function e(e,t,n,o,r,s,a,p,c){this.container=e,this._alignService=t,this.domService=n,this._positionService=o,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=p,this._zone=c,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=v,this.anchorViewportLeave=new i.EventEmitter,this.close=new i.EventEmitter,this.open=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,h.validatePackage(m.packageMetadata),this._renderer.addClass(e.nativeElement,"k-animation-container"),this.updateFixedClass()}return e.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=v,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},e.prototype.ngOnChanges=function(e){e.copyAnchorStyles&&this.copyFontStyles(),e.positionMode&&this.updateFixedClass()},e.prototype.ngAfterViewInit=function(){var e=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){e.onAnimationEnd()}))},e.prototype.ngAfterViewChecked=function(){var e=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){e.unsubscribeReposition(),e.repositionSubscription=f.from(e.resolvedPromise).subscribe(e.reposition)}))},e.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},e.prototype.onResize=function(){this.reposition()},e.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},e.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(e.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(e){this.setContainerStyle("left",e.left+"px"),this.setContainerStyle("top",e.top+"px"),this._currentOffset=e},enumerable:!0,configurable:!0}),e.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},e.prototype.reposition=function(){var e=this;if(d.isDocumentAvailable()){var t=this.position(),n=t.flip,o=t.offset;this.currentOffset&&!u.isDifferentOffset(this.currentOffset,o)||(this.currentOffset=o,d.hasObservers(this.positionChange)&&this._zone.run((function(){return e.positionChange.emit({offset:o,flip:n})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,n),this.resizeSensor.acceptSize()}},e.prototype.position=function(){var e=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:e,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},e.prototype.onScroll=function(e){var t=this,n=d.hasObservers(this.anchorViewportLeave);e||!n?this.reposition():n&&this._zone.run((function(){t.anchorViewportLeave.emit()}))},e.prototype.copyFontStyles=function(){var e=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(t){return e.setContainerStyle(t.key,t.value)}))},e.prototype.updateFixedClass=function(){var e="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[e](this.container.nativeElement,"k-animation-container-fixed")},e.prototype.setContainerStyle=function(e,t){this._renderer.setStyle(this.container.nativeElement,e,t)},e.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"animate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.ElementRef)],e.prototype,"anchor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"anchorAlign",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"collision",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"popupAlign",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"copyAnchorStyles",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"popupClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"positionMode",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"offset",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"margin",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"anchorViewportLeave",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"close",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),o.__decorate([i.ViewChild("container",{static:!0}),o.__metadata("design:type",i.ElementRef)],e.prototype,"contentContainer",void 0),o.__decorate([i.ViewChild(d.ResizeSensorComponent,{static:!0}),o.__metadata("design:type",d.ResizeSensorComponent)],e.prototype,"resizeSensor",void 0),e=o.__decorate([i.Component({exportAs:"kendo-popup",providers:[r.AlignService,l.AnimationService,s.DOMService,a.PositionService,p.ResizeService,c.ScrollableService],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,r.AlignService,s.DOMService,a.PositionService,p.ResizeService,c.ScrollableService,l.AnimationService,i.Renderer2,i.NgZone])],e)}();t.PopupComponent=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.SCALE=new o.InjectionToken("Popup Document Scale")},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(5);t.POPUP_CONTAINER=new i.InjectionToken("Popup Container");var s=function(){function e(e,t,n,o){this.applicationRef=e,this.componentFactoryResolver=t,this.injector=n,this.container=o}return Object.defineProperty(e.prototype,"rootViewContainer",{get:function(){var e=this.applicationRef.components||[];if(e[0])return e[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),e.prototype.open=function(e){void 0===e&&(e={});var t=this.contentFrom(e.content),n=t.component,o=t.nodes,i=this.appendPopup(o,e.appendTo),r=i.instance;this.projectComponentInputs(i,e),i.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(i);return{close:function(){var e;n&&n.destroy(),i.destroy(),(e=s)&&e.parentNode&&e.parentNode.removeChild(e)},content:n,popup:i,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},e.prototype.appendPopup=function(e,t){var n=this.createComponent(r.PopupComponent,e,t);return t||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},e.prototype.getComponentRootNode=function(e){return e.location.nativeElement},e.prototype.getComponentFactory=function(e){return this.componentFactoryResolver.resolveComponentFactory(e)},e.prototype.createComponent=function(e,t,n){var o=this.getComponentFactory(e);if(n)return n.createComponent(o,void 0,this.injector,t);var i=o.create(this.injector,t);return this.applicationRef.attachView(i.hostView),i},e.prototype.projectComponentInputs=function(e,t){return Object.getOwnPropertyNames(t).filter((function(e){return"content"!==e||t.content instanceof i.TemplateRef})).map((function(n){e.instance[n]=t[n]})),e},e.prototype.contentFrom=function(e){if(!e||e instanceof i.TemplateRef)return{component:null,nodes:[[]]};var t=this.createComponent(e);return{component:t,nodes:[t?[t.location.nativeElement]:[]]}},e=o.__decorate([i.Injectable(),o.__param(3,i.Inject(t.POPUP_CONTAINER)),o.__param(3,i.Optional()),o.__metadata("design:paramtypes",[i.ApplicationRef,i.ComponentFactoryResolver,i.Injector,i.ElementRef])],e)}();t.PopupService=s},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(8);t.PopupService=o.PopupService,t.POPUP_CONTAINER=o.POPUP_CONTAINER;var i=n(5);t.PopupComponent=i.PopupComponent;var r=n(20);t.PopupModule=r.PopupModule;var s=n(6);t.SCALE=s.SCALE},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(2),a=n(6),p=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,o=e.anchorAlign,i=e.elementAlign,r=e.margin,a=e.offset,p=e.positionMode,c=this.scale||1,l="fixed"===p||!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,a,c):this.relativeRect(t,n,a,c),u=s.scaleRect(this._dom.offset(n),c);return this._dom.align({anchorAlign:o,anchorRect:l,elementAlign:i,elementRect:u,margin:r})},e.prototype.absoluteRect=function(e,t,n,o){var i=this.elementScrollPosition(e,t),r=s.eitherRect(this._dom.offset(e),n),a=2*o,p=this._dom.stackingElementScroll(t);1!==o&&p&&(p.x/=a,p.y/=a);var c=this._dom.stackingElementOffset(t);return 1!==o&&c&&(c.left/=a,c.top/=a),this._dom.removeScroll(this._dom.addScroll(s.removeStackingOffset(s.scaleRect(r,o),c),p),i)},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n,o){var i=s.eitherRect(this._dom.position(e,t,o),n);return s.scaleRect(i,o)},e=o.__decorate([i.Injectable(),o.__param(1,i.Inject(a.SCALE)),o.__param(1,i.Optional()),o.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.AlignService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(2),a=n(6),p=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,o=e.element,i=e.anchorAlign,r=e.elementAlign,a=e.collisions,p=e.margin,c=this._dom,l=this.scale||1,u=c.offsetAtPoint(o,n),d=s.scaleRect(u,l),f=s.scaleRect(c.offset(t),l),h=s.eitherRect(f,n),m=e.viewPort||c.windowViewPort(o);m.width=m.width/l,m.height=m.height/l;var v=c.restrictToView({anchorAlign:i,anchorRect:h,collisions:a,elementAlign:r,elementRect:d,margin:p,viewPort:m}),y=c.addOffset(n,v.offset);return{flip:v.flip,flipped:v.flipped,offset:y}},e=o.__decorate([i.Injectable(),o.__param(1,i.Inject(a.SCALE)),o.__param(1,i.Optional()),o.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.PositionService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(7),s=n(10),a=n(3),p=n(2),c=n(4),l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.subscribe=function(e){var t=this;a.isDocumentAvailable()&&this._zone.runOutsideAngular((function(){t.subscription=r.fromEvent(t._dom.getWindow(),"resize").pipe(s.auditTime(p.FRAME_DURATION)).subscribe((function(){return e()}))}))},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[c.DOMService,i.NgZone])],e)}();t.ResizeService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(7),s=n(10),a=n(3),p=n(4),c=n(2);t.THRESHOLD_DIFF=1;var l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.forElement=function(e){return this.unsubscribe(),this.element=e,this},e.prototype.subscribe=function(e){var t=this;if(e&&a.isDocumentAvailable()&&this.element){var n=this._dom.nativeElement(this.element),o=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var i=o.map((function(e){return r.fromEvent(e,"scroll").pipe(s.auditTime(c.FRAME_DURATION))}));t.subscription=r.merge.apply(void 0,i).subscribe((function(i){var r=i.target,s=o.filter((function(e){return e===r})).length>0,a=r===document,p=r===window;(s||a||p)&&e(t.isVisible(n,r))}))}))}},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isVisible=function(e,n){var o=this._dom.boundingOffset(e),i=this._dom.boundingOffset(n);return!(t.THRESHOLD_DIFF<i.top-o.bottom)&&(!(t.THRESHOLD_DIFF<o.top-i.bottom)&&(!(t.THRESHOLD_DIFF<o.left-i.right)&&!(t.THRESHOLD_DIFF<i.left-o.right)))},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[p.DOMService,i.NgZone])],e)}();t.ScrollableService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(17),s={expand:function(e){var t="up"===e||"down"===e?"scaleY":"scaleX";return{start:{transform:t+"(0)",transformOrigin:"down"===e?"top":"left"===e?"right":"right"===e?"left":"bottom"},end:{transform:t+"(1)"}}},slide:function(e){var t="left"===e||"right"===e?"translateX":"translateY";return{start:{transform:t+"("+("right"===e||"down"===e?-100:100)+"%)"},end:{transform:t+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},a=function(){function e(e){this.animationBuilder=e,this.start=new i.EventEmitter,this.end=new i.EventEmitter}return e.prototype.play=function(e,t,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var o=t.type||"slide",r=s[o];if(r){var a=r(this.getDirection(n,t));this.playStates(e,a,t)}else if(i.isDevMode())throw new Error('Unsupported animation type: "'+o+'". The supported types are slide, expand, fade and zoom.')}},e.prototype.ngOnDestroy=function(){this.stopPlayer()},e.prototype.playStates=function(e,t,n){var o=this;this.stopPlayer();var i=n.duration||100,s=this.animationBuilder.build([r.style(t.start),r.animate(i+"ms ease-in",r.style(t.end))]),a=this.player=s.create(e);a.onDone((function(){o.end.emit(),o.stopPlayer()})),this.start.emit(),a.play()},e.prototype.getDirection=function(e,t){var n=t.direction||"down";return e.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),e.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},e.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[r.AnimationBuilder])],e)}();t.AnimationService=a},function(e,t){e.exports=s},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1608131941,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(21),s=n(5),a=n(3),p=n(8),c=[s.PopupComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[c],entryComponents:[c],exports:[c],imports:[r.CommonModule,a.ResizeSensorModule],providers:[p.PopupService]})],e)}();t.PopupModule=l},function(e,t){e.exports=p}])}));
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-common"),require("rxjs"),require("@progress/kendo-popup-common"),require("rxjs/operators"),require("@angular/animations"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define(["@angular/core","tslib","@progress/kendo-angular-common","rxjs","@progress/kendo-popup-common","rxjs/operators","@angular/animations","@progress/kendo-licensing","@angular/common"],t):"object"==typeof exports?exports.KendoAngularPopup=t(require("@angular/core"),require("tslib"),require("@progress/kendo-angular-common"),require("rxjs"),require("@progress/kendo-popup-common"),require("rxjs/operators"),require("@angular/animations"),require("@progress/kendo-licensing"),require("@angular/common")):e.KendoAngularPopup=t(e["@angular/core"],e.tslib,e["@progress/kendo-angular-common"],e.rxjs,e["@progress/kendo-popup-common"],e["rxjs/operators"],e["@angular/animations"],e["@progress/kendo-licensing"],e["@angular/common"])}(window,(function(e,t,n,o,i,r,s,a,p){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=11)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=n(3);t.eitherRect=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},t.replaceOffset=function(e,t){return t?{height:e.height,left:t.left,top:t.top,width:e.width}:e},t.removeStackingOffset=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},t.isDifferentOffset=function(e,t){var n=e.left,o=e.top,i=t.left,r=t.top;return Math.abs(n-i)>=1||Math.abs(o-r)>=1},t.isWindowAvailable=function(){return"undefined"!=typeof window},t.hasBoundingRect=function(e){return!!e.getBoundingClientRect},t.OVERFLOW_REGEXP=/auto|scroll/;var r,s,a,p=function(e){return function(e){return""+e.style.overflow+e.style.overflowX+e.style.overflowY}(e)||function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY}(e)};t.scrollableParents=function(e){var n=[];if(!i.isDocumentAvailable()||!t.isWindowAvailable())return n;for(var o=e.parentElement;o;)(t.OVERFLOW_REGEXP.test(p(o))||o.hasAttribute("data-scrollable"))&&n.push(o),o=o.parentElement;return n.push(window),n},t.FRAME_DURATION=1e3/60,t.hasRelativeStackingContext=(r=function(){if(!i.isDocumentAvailable()&&null!==document.body)return!1;var e=document.createElement("div");e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(e);var t=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),t},a=!1,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a||(s=r.apply(void 0,e),a=!0),s}),t.zIndex=function(e,n){if(!e||!i.isDocumentAvailable()||!t.isWindowAvailable())return null;var r=o.siblingContainer(e,n);if(!r)return null;var s=[e].concat(o.parents(e,r)).reduce((function(e,t){var n=t.style.zIndex||window.getComputedStyle(t).zIndex,o=parseInt(n,10);return o>e?o:e}),0);return s?s+1:null},t.scaleRect=function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e}},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(9),s=n(2),a=n(3),p=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],c=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.addScroll=function(e,t){return r.addScroll(e,t)},e.prototype.align=function(e){return r.align(e)},e.prototype.boundingOffset=function(e){return r.boundingOffset(this.nativeElement(e))},e.prototype.getFontStyles=function(e){var t=this.getWindow();if(!t||!e)return[];var n=t.getComputedStyle(this.nativeElement(e));return p.map((function(e){return{key:e,value:n[e]}}))},e.prototype.getWindow=function(){return s.isWindowAvailable()?window:null},e.prototype.hasOffsetParent=function(e){return!!e&&!!this.nativeElement(e).offsetParent},e.prototype.offset=function(e){return e?r.offset(this.nativeElement(e)):null},e.prototype.offsetAtPoint=function(e,t){if(!e)return null;var n=this.nativeElement(e),o=n.style,i=o.left,s=o.top,a=o.transition;n.style.transition="none",n.style.left=t.left+"px",n.style.top=t.top+"px";var p=r.offset(n);return n.style.left=i,n.style.top=s,n.offsetHeight,n.style.transition=a,p},e.prototype.nativeElement=function(e){return e?e.nativeElement||e:null},e.prototype.position=function(e,t,n){return void 0===n&&(n=1),e&&t?r.positionWithScroll(this.nativeElement(e),this.nativeElement(t),n):null},e.prototype.removeScroll=function(e,t){return r.removeScroll(e,t)},e.prototype.restrictToView=function(e){return r.restrictToView(e)},e.prototype.scrollPosition=function(e){return r.scrollPosition(this.nativeElement(e))},e.prototype.scrollableParents=function(e){return s.scrollableParents(this.nativeElement(e))},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?r.offset(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.getRelativeContextElement=function(e){if(!e||!s.hasRelativeStackingContext())return null;for(var t=this.nativeElement(e).parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return r.getWindowViewPort(this.nativeElement(e))},e.prototype.zIndex=function(e,t){return s.zIndex(this.nativeElement(e),this.nativeElement(t))},e.prototype.zoomLevel=function(){return a.isDocumentAvailable()&&s.isWindowAvailable()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e=o.__decorate([i.Injectable()],e)}();t.DOMService=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(12),s=n(4),a=n(13),p=n(14),c=n(15),l=n(16),u=n(2),d=n(3),f=n(7),h=n(18),m=n(19),v={left:-1e4,top:0},y=function(){function e(e,t,n,o,r,s,a,p,c){this.container=e,this._alignService=t,this.domService=n,this._positionService=o,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=p,this._zone=c,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=v,this.anchorViewportLeave=new i.EventEmitter,this.close=new i.EventEmitter,this.open=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,h.validatePackage(m.packageMetadata),this._renderer.addClass(e.nativeElement,"k-animation-container"),this.updateFixedClass()}return e.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=v,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},e.prototype.ngOnChanges=function(e){e.copyAnchorStyles&&this.copyFontStyles(),e.positionMode&&this.updateFixedClass()},e.prototype.ngAfterViewInit=function(){var e=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){e.onAnimationEnd()}))},e.prototype.ngAfterViewChecked=function(){var e=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){e.unsubscribeReposition(),e.repositionSubscription=f.from(e.resolvedPromise).subscribe(e.reposition)}))},e.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},e.prototype.onResize=function(){this.reposition()},e.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},e.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(e.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(e){this.setContainerStyle("left",e.left+"px"),this.setContainerStyle("top",e.top+"px"),this._currentOffset=e},enumerable:!0,configurable:!0}),e.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},e.prototype.reposition=function(){var e=this;if(d.isDocumentAvailable()){var t=this.position(),n=t.flip,o=t.offset;this.currentOffset&&!u.isDifferentOffset(this.currentOffset,o)||(this.currentOffset=o,d.hasObservers(this.positionChange)&&this._zone.run((function(){return e.positionChange.emit({offset:o,flip:n})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,n),this.resizeSensor.acceptSize()}},e.prototype.position=function(){var e=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:e,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},e.prototype.onScroll=function(e){var t=this,n=d.hasObservers(this.anchorViewportLeave);e||!n?this.reposition():n&&this._zone.run((function(){t.anchorViewportLeave.emit()}))},e.prototype.copyFontStyles=function(){var e=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(t){return e.setContainerStyle(t.key,t.value)}))},e.prototype.updateFixedClass=function(){var e="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[e](this.container.nativeElement,"k-animation-container-fixed")},e.prototype.setContainerStyle=function(e,t){this._renderer.setStyle(this.container.nativeElement,e,t)},e.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"animate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.ElementRef)],e.prototype,"anchor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"anchorAlign",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"collision",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"popupAlign",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"copyAnchorStyles",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"popupClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"positionMode",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"offset",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"margin",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"anchorViewportLeave",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"close",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"positionChange",void 0),o.__decorate([i.ViewChild("container",{static:!0}),o.__metadata("design:type",i.ElementRef)],e.prototype,"contentContainer",void 0),o.__decorate([i.ViewChild(d.ResizeSensorComponent,{static:!0}),o.__metadata("design:type",d.ResizeSensorComponent)],e.prototype,"resizeSensor",void 0),e=o.__decorate([i.Component({exportAs:"kendo-popup",providers:[r.AlignService,l.AnimationService,s.DOMService,a.PositionService,p.ResizeService,c.ScrollableService],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,r.AlignService,s.DOMService,a.PositionService,p.ResizeService,c.ScrollableService,l.AnimationService,i.Renderer2,i.NgZone])],e)}();t.PopupComponent=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.SCALE=new o.InjectionToken("Popup Document Scale")},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(5);t.POPUP_CONTAINER=new i.InjectionToken("Popup Container");var s=function(){function e(e,t,n,o){this.applicationRef=e,this.componentFactoryResolver=t,this.injector=n,this.container=o}return Object.defineProperty(e.prototype,"rootViewContainer",{get:function(){var e=this.applicationRef.components||[];if(e[0])return e[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),e.prototype.open=function(e){void 0===e&&(e={});var t=this.contentFrom(e.content),n=t.component,o=t.nodes,i=this.appendPopup(o,e.appendTo),r=i.instance;this.projectComponentInputs(i,e),i.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(i);return{close:function(){var e;n&&n.destroy(),i.destroy(),(e=s)&&e.parentNode&&e.parentNode.removeChild(e)},content:n,popup:i,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},e.prototype.appendPopup=function(e,t){var n=this.createComponent(r.PopupComponent,e,t);return t||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},e.prototype.getComponentRootNode=function(e){return e.location.nativeElement},e.prototype.getComponentFactory=function(e){return this.componentFactoryResolver.resolveComponentFactory(e)},e.prototype.createComponent=function(e,t,n){var o=this.getComponentFactory(e);if(n)return n.createComponent(o,void 0,this.injector,t);var i=o.create(this.injector,t);return this.applicationRef.attachView(i.hostView),i},e.prototype.projectComponentInputs=function(e,t){return Object.getOwnPropertyNames(t).filter((function(e){return"content"!==e||t.content instanceof i.TemplateRef})).map((function(n){e.instance[n]=t[n]})),e},e.prototype.contentFrom=function(e){if(!e||e instanceof i.TemplateRef)return{component:null,nodes:[[]]};var t=this.createComponent(e);return{component:t,nodes:[t?[t.location.nativeElement]:[]]}},e=o.__decorate([i.Injectable(),o.__param(3,i.Inject(t.POPUP_CONTAINER)),o.__param(3,i.Optional()),o.__metadata("design:paramtypes",[i.ApplicationRef,i.ComponentFactoryResolver,i.Injector,i.ElementRef])],e)}();t.PopupService=s},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(8);t.PopupService=o.PopupService,t.POPUP_CONTAINER=o.POPUP_CONTAINER;var i=n(5);t.PopupComponent=i.PopupComponent;var r=n(20);t.PopupModule=r.PopupModule;var s=n(6);t.SCALE=s.SCALE},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(2),a=n(6),p=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.alignElement=function(e){var t=e.anchor,n=e.element,o=e.anchorAlign,i=e.elementAlign,r=e.margin,a=e.offset,p=e.positionMode,c=this.scale||1,l="fixed"===p||!this._dom.hasOffsetParent(n)?this.absoluteRect(t,n,a,c):this.relativeRect(t,n,a,c),u=s.scaleRect(this._dom.offset(n),c);return this._dom.align({anchorAlign:o,anchorRect:l,elementAlign:i,elementRect:u,margin:r})},e.prototype.absoluteRect=function(e,t,n,o){var i=this.elementScrollPosition(e,t),r=s.eitherRect(this._dom.offset(e),n),a=2*o,p=this._dom.stackingElementScroll(t);1!==o&&p&&(p.x/=a,p.y/=a);var c=this._dom.stackingElementOffset(t);return 1!==o&&c&&(c.left/=a,c.top/=a),this._dom.removeScroll(this._dom.addScroll(s.removeStackingOffset(s.scaleRect(r,o),c),p),i)},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,n,o){var i=s.eitherRect(this._dom.position(e,t,o),n);return s.scaleRect(i,o)},e=o.__decorate([i.Injectable(),o.__param(1,i.Inject(a.SCALE)),o.__param(1,i.Optional()),o.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.AlignService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(2),a=n(6),p=function(){function e(e,t){void 0===t&&(t=1),this._dom=e,this.scale=t}return e.prototype.positionElement=function(e){var t=e.anchor,n=e.currentLocation,o=e.element,i=e.anchorAlign,r=e.elementAlign,a=e.collisions,p=e.margin,c=this._dom,l=this.scale||1,u=c.offsetAtPoint(o,n),d=s.scaleRect(u,l),f=s.scaleRect(c.offset(t),l),h=s.eitherRect(f,n),m=e.viewPort||c.windowViewPort(o);m.width=m.width/l,m.height=m.height/l;var v=c.restrictToView({anchorAlign:i,anchorRect:h,collisions:a,elementAlign:r,elementRect:d,margin:p,viewPort:m}),y=c.addOffset(n,v.offset);return{flip:v.flip,flipped:v.flipped,offset:y}},e=o.__decorate([i.Injectable(),o.__param(1,i.Inject(a.SCALE)),o.__param(1,i.Optional()),o.__metadata("design:paramtypes",[r.DOMService,Number])],e)}();t.PositionService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(7),s=n(10),a=n(3),p=n(2),c=n(4),l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.subscribe=function(e){var t=this;a.isDocumentAvailable()&&this._zone.runOutsideAngular((function(){t.subscription=r.fromEvent(t._dom.getWindow(),"resize").pipe(s.auditTime(p.FRAME_DURATION)).subscribe((function(){return e()}))}))},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[c.DOMService,i.NgZone])],e)}();t.ResizeService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(7),s=n(10),a=n(3),p=n(4),c=n(2);t.THRESHOLD_DIFF=1;var l=function(){function e(e,t){this._dom=e,this._zone=t}return e.prototype.forElement=function(e){return this.unsubscribe(),this.element=e,this},e.prototype.subscribe=function(e){var t=this;if(e&&a.isDocumentAvailable()&&this.element){var n=this._dom.nativeElement(this.element),o=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var i=o.map((function(e){return r.fromEvent(e,"scroll").pipe(s.auditTime(c.FRAME_DURATION))}));t.subscription=r.merge.apply(void 0,i).subscribe((function(i){var r=i.target,s=o.filter((function(e){return e===r})).length>0,a=r===document,p=r===window;(s||a||p)&&e(t.isVisible(n,r))}))}))}},e.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.isVisible=function(e,n){var o=this._dom.boundingOffset(e),i=this._dom.boundingOffset(n);return!(t.THRESHOLD_DIFF<i.top-o.bottom)&&(!(t.THRESHOLD_DIFF<o.top-i.bottom)&&(!(t.THRESHOLD_DIFF<o.left-i.right)&&!(t.THRESHOLD_DIFF<i.left-o.right)))},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[p.DOMService,i.NgZone])],e)}();t.ScrollableService=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(17),s={expand:function(e){var t="up"===e||"down"===e?"scaleY":"scaleX";return{start:{transform:t+"(0)",transformOrigin:"down"===e?"top":"left"===e?"right":"right"===e?"left":"bottom"},end:{transform:t+"(1)"}}},slide:function(e){var t="left"===e||"right"===e?"translateX":"translateY";return{start:{transform:t+"("+("right"===e||"down"===e?-100:100)+"%)"},end:{transform:t+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},a=function(){function e(e){this.animationBuilder=e,this.start=new i.EventEmitter,this.end=new i.EventEmitter}return e.prototype.play=function(e,t,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var o=t.type||"slide",r=s[o];if(r){var a=r(this.getDirection(n,t));this.playStates(e,a,t)}else if(i.isDevMode())throw new Error('Unsupported animation type: "'+o+'". The supported types are slide, expand, fade and zoom.')}},e.prototype.ngOnDestroy=function(){this.stopPlayer()},e.prototype.playStates=function(e,t,n){var o=this;this.stopPlayer();var i=n.duration||100,s=this.animationBuilder.build([r.style(t.start),r.animate(i+"ms ease-in",r.style(t.end))]),a=this.player=s.create(e);a.onDone((function(){o.end.emit(),o.stopPlayer()})),this.start.emit(),a.play()},e.prototype.getDirection=function(e,t){var n=t.direction||"down";return e.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),e.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},e.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},e=o.__decorate([i.Injectable(),o.__metadata("design:paramtypes",[r.AnimationBuilder])],e)}();t.AnimationService=a},function(e,t){e.exports=s},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635408876,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(21),s=n(5),a=n(3),p=n(8),c=[s.PopupComponent],l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[c],entryComponents:[c],exports:[c],imports:[r.CommonModule,a.ResizeSensorModule],providers:[p.PopupService]})],e)}();t.PopupModule=l},function(e,t){e.exports=p}])}));
|
package/dist/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
/**
|
package/dist/es/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
export { PopupService, POPUP_CONTAINER } from './popup.service';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
|
*-------------------------------------------------------------------------------------------*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
/**
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-popup',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635408876,
|
|
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
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
import * as tslib_1 from "tslib";
|
package/dist/es/popup.module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
import * as tslib_1 from "tslib";
|
package/dist/es/popup.service.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
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
5
|
import * as tslib_1 from "tslib";
|