@smart-webcomponents-angular/window 11.0.0 → 13.0.10

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.
Files changed (43) hide show
  1. package/README.md +10 -2
  2. package/esm2020/window/index.mjs +2 -0
  3. package/{esm2015/window/public_api.js → esm2020/window/public_api.mjs} +0 -0
  4. package/{esm2015/window/smart-webcomponents-angular-window.js → esm2020/window/smart-webcomponents-angular-window.mjs} +2 -3
  5. package/esm2020/window/smart.element.mjs +96 -0
  6. package/esm2020/window/smart.window.mjs +1051 -0
  7. package/esm2020/window/smart.window.module.mjs +18 -0
  8. package/fesm2015/{smart-webcomponents-angular-window.js → smart-webcomponents-angular-window.mjs} +206 -111
  9. package/fesm2015/smart-webcomponents-angular-window.mjs.map +1 -0
  10. package/fesm2020/smart-webcomponents-angular-window.mjs +1173 -0
  11. package/fesm2020/smart-webcomponents-angular-window.mjs.map +1 -0
  12. package/index.d.ts +318 -42
  13. package/package.json +26 -24
  14. package/source/modules/smart.window.js +2 -2
  15. package/source/smart.button.js +1 -1
  16. package/source/smart.combobox.js +1 -1
  17. package/source/smart.dropdownlist.js +2 -2
  18. package/source/smart.element.js +2 -2
  19. package/source/smart.listbox.js +1 -1
  20. package/source/smart.multilinetextbox.js +1 -1
  21. package/source/smart.progressbar.js +1 -1
  22. package/source/smart.scrollbar.js +1 -1
  23. package/source/smart.textbox.js +1 -1
  24. package/source/smart.window.js +1 -1
  25. package/styles/font/smart-icons.eot +0 -0
  26. package/styles/font/smart-icons.svg +11 -3
  27. package/styles/font/smart-icons.ttf +0 -0
  28. package/styles/font/smart-icons.woff +0 -0
  29. package/styles/font/smart-icons.woff2 +0 -0
  30. package/styles/smart.base.css +2 -2
  31. package/styles/smart.window.css +3 -3
  32. package/window/index.d.ts +1 -0
  33. package/window/smart-webcomponents-angular-window.d.ts +2 -2
  34. package/window/smart.element.d.ts +4 -1
  35. package/window/smart.window.d.ts +3 -0
  36. package/window/smart.window.module.d.ts +5 -0
  37. package/bundles/smart-webcomponents-angular-window.umd.js +0 -1769
  38. package/bundles/smart-webcomponents-angular-window.umd.min.js +0 -25
  39. package/esm2015/window/smart.element.js +0 -83
  40. package/esm2015/window/smart.window.js +0 -983
  41. package/esm2015/window/smart.window.module.js +0 -13
  42. package/fesm2015/smart-webcomponents-angular-window.js.map +0 -1
  43. package/window/smart-webcomponents-angular-window.metadata.json +0 -1
@@ -1,25 +0,0 @@
1
-
2
- if (!window['Smart']) {
3
- window['Smart'] = { RenderMode: 'manual' };
4
- }
5
- else {
6
- window['Smart'].RenderMode = 'manual';
7
- }
8
- import './../source/modules/smart.window';
9
-
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("smart-webcomponents-angular/window",["exports","@angular/core"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["smart-webcomponents-angular"]=e["smart-webcomponents-angular"]||{},e["smart-webcomponents-angular"].window={}),e.ng.core)}(this,(function(e,t){"use strict";
11
- /*! *****************************************************************************
12
- Copyright (c) Microsoft Corporation.
13
-
14
- Permission to use, copy, modify, and/or distribute this software for any
15
- purpose with or without fee is hereby granted.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
- PERFORMANCE OF THIS SOFTWARE.
24
- ***************************************************************************** */var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{s(i.next(e))}catch(e){r(e)}}function l(e){try{s(i.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((i=i.apply(e,t||[])).next())}))}function o(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}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,l])}}}Object.create;Object.create;var r=function(){function e(e){this.onCreate=new t.EventEmitter,this.onReady=new t.EventEmitter,this.onAttach=new t.EventEmitter,this.onDetach=new t.EventEmitter;var n=this;this.nativeElement=e.nativeElement,n.nativeElement.onAttached=function(){n.onAttach.emit(n.nativeElement)},n.nativeElement.onDetached=function(){n.onDetach.emit(n.nativeElement)}}return e.prototype.addEventListener=function(e,t,n){void 0===n&&(n=!1),this.nativeElement.addEventListener(e,t,n)},e.prototype.removeEventListener=function(e,t,n){void 0===n&&(n=!1),this.nativeElement.removeEventListener(e,t,n)},e.prototype.dispatchEvent=function(e){return this.nativeElement.dispatchEvent(e)},e.prototype.blur=function(){this.nativeElement.blur()},e.prototype.click=function(){this.nativeElement.click()},e.prototype.focus=function(e){this.nativeElement.focus(e)},Object.defineProperty(e.prototype,"locale",{get:function(){return this.nativeElement?this.nativeElement.locale:void 0},set:function(e){this.nativeElement&&(this.nativeElement.locale=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localizeFormatFunction",{get:function(){return this.nativeElement?this.nativeElement.localizeFormatFunction:void 0},set:function(e){this.nativeElement&&(this.nativeElement.localizeFormatFunction=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"messages",{get:function(){return this.nativeElement?this.nativeElement.messages:void 0},set:function(e){this.nativeElement&&(this.nativeElement.messages=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rightToLeft",{get:function(){return this.nativeElement?this.nativeElement.rightToLeft:void 0},set:function(e){this.nativeElement&&(this.nativeElement.rightToLeft=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this.nativeElement?this.nativeElement.theme:void 0},set:function(e){this.nativeElement&&(this.nativeElement.theme=e)},enumerable:!1,configurable:!0}),e}();r.propDecorators={onCreate:[{type:t.Output}],onReady:[{type:t.Output}],onAttach:[{type:t.Output}],onDetach:[{type:t.Output}],locale:[{type:t.Input}],localizeFormatFunction:[{type:t.Input}],messages:[{type:t.Input}],rightToLeft:[{type:t.Input}],theme:[{type:t.Input}]};var a=window.Smart,l=function(e){function r(n){var i=e.call(this,n)||this;return i.eventHandlers=[],i.onOpening=new t.EventEmitter,i.onOpen=new t.EventEmitter,i.onClosing=new t.EventEmitter,i.onClose=new t.EventEmitter,i.onCollapse=new t.EventEmitter,i.onDragEnd=new t.EventEmitter,i.onDragStart=new t.EventEmitter,i.onExpand=new t.EventEmitter,i.onMaximize=new t.EventEmitter,i.onMinimize=new t.EventEmitter,i.onResizeEnd=new t.EventEmitter,i.onResizeStart=new t.EventEmitter,i.onRestore=new t.EventEmitter,i.nativeElement=n.nativeElement,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(r,e),r.prototype.createComponent=function(e){for(var t in void 0===e&&(e={}),this.nativeElement=document.createElement("smart-window"),e)this.nativeElement[t]=e[t];return this.nativeElement},Object.defineProperty(r.prototype,"addNewTab",{get:function(){return this.nativeElement?this.nativeElement.addNewTab:void 0},set:function(e){this.nativeElement&&(this.nativeElement.addNewTab=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"animation",{get:function(){return this.nativeElement?this.nativeElement.animation:void 0},set:function(e){this.nativeElement&&(this.nativeElement.animation=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoCapitalize",{get:function(){return this.nativeElement?this.nativeElement.autoCapitalize:void 0},set:function(e){this.nativeElement&&(this.nativeElement.autoCapitalize=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoExpand",{get:function(){return this.nativeElement?this.nativeElement.autoExpand:void 0},set:function(e){this.nativeElement&&(this.nativeElement.autoExpand=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cancelLabel",{get:function(){return this.nativeElement?this.nativeElement.cancelLabel:void 0},set:function(e){this.nativeElement&&(this.nativeElement.cancelLabel=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"completeLabel",{get:function(){return this.nativeElement?this.nativeElement.completeLabel:void 0},set:function(e){this.nativeElement&&(this.nativeElement.completeLabel=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"confirmLabel",{get:function(){return this.nativeElement?this.nativeElement.confirmLabel:void 0},set:function(e){this.nativeElement&&(this.nativeElement.confirmLabel=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"collapsed",{get:function(){return this.nativeElement?this.nativeElement.collapsed:void 0},set:function(e){this.nativeElement&&(this.nativeElement.collapsed=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"closeOnMaskClick",{get:function(){return this.nativeElement?this.nativeElement.closeOnMaskClick:void 0},set:function(e){this.nativeElement&&(this.nativeElement.closeOnMaskClick=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this.nativeElement?this.nativeElement.dataSource:void 0},set:function(e){this.nativeElement&&(this.nativeElement.dataSource=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"disabled",{get:function(){return this.nativeElement?this.nativeElement.disabled:void 0},set:function(e){this.nativeElement&&(this.nativeElement.disabled=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"disableSnap",{get:function(){return this.nativeElement?this.nativeElement.disableSnap:void 0},set:function(e){this.nativeElement&&(this.nativeElement.disableSnap=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"displayMode",{get:function(){return this.nativeElement?this.nativeElement.displayMode:void 0},set:function(e){this.nativeElement&&(this.nativeElement.displayMode=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropPosition",{get:function(){return this.nativeElement?this.nativeElement.dropPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.dropPosition=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"formatFunction",{get:function(){return this.nativeElement?this.nativeElement.formatFunction:void 0},set:function(e){this.nativeElement&&(this.nativeElement.formatFunction=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"footerPosition",{get:function(){return this.nativeElement?this.nativeElement.footerPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.footerPosition=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"footerTemplate",{get:function(){return this.nativeElement?this.nativeElement.footerTemplate:void 0},set:function(e){this.nativeElement&&(this.nativeElement.footerTemplate=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"headerButtons",{get:function(){return this.nativeElement?this.nativeElement.headerButtons:void 0},set:function(e){this.nativeElement&&(this.nativeElement.headerButtons=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"headerTemplate",{get:function(){return this.nativeElement?this.nativeElement.headerTemplate:void 0},set:function(e){this.nativeElement&&(this.nativeElement.headerTemplate=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"headerPosition",{get:function(){return this.nativeElement?this.nativeElement.headerPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.headerPosition=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hint",{get:function(){return this.nativeElement?this.nativeElement.hint:void 0},set:function(e){this.nativeElement&&(this.nativeElement.hint=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"indeterminate",{get:function(){return this.nativeElement?this.nativeElement.indeterminate:void 0},set:function(e){this.nativeElement&&(this.nativeElement.indeterminate=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"inverted",{get:function(){return this.nativeElement?this.nativeElement.inverted:void 0},set:function(e){this.nativeElement&&(this.nativeElement.inverted=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this.nativeElement?this.nativeElement.label:void 0},set:function(e){this.nativeElement&&(this.nativeElement.label=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"liveResize",{get:function(){return this.nativeElement?this.nativeElement.liveResize:void 0},set:function(e){this.nativeElement&&(this.nativeElement.liveResize=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"layout",{get:function(){return this.nativeElement?this.nativeElement.layout:void 0},set:function(e){this.nativeElement&&(this.nativeElement.layout=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"locale",{get:function(){return this.nativeElement?this.nativeElement.locale:void 0},set:function(e){this.nativeElement&&(this.nativeElement.locale=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"locked",{get:function(){return this.nativeElement?this.nativeElement.locked:void 0},set:function(e){this.nativeElement&&(this.nativeElement.locked=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"localizeFormatFunction",{get:function(){return this.nativeElement?this.nativeElement.localizeFormatFunction:void 0},set:function(e){this.nativeElement&&(this.nativeElement.localizeFormatFunction=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"maximized",{get:function(){return this.nativeElement?this.nativeElement.maximized:void 0},set:function(e){this.nativeElement&&(this.nativeElement.maximized=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"messages",{get:function(){return this.nativeElement?this.nativeElement.messages:void 0},set:function(e){this.nativeElement&&(this.nativeElement.messages=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"modal",{get:function(){return this.nativeElement?this.nativeElement.modal:void 0},set:function(e){this.nativeElement&&(this.nativeElement.modal=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"max",{get:function(){return this.nativeElement?this.nativeElement.max:void 0},set:function(e){this.nativeElement&&(this.nativeElement.max=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"min",{get:function(){return this.nativeElement?this.nativeElement.min:void 0},set:function(e){this.nativeElement&&(this.nativeElement.min=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"minimized",{get:function(){return this.nativeElement?this.nativeElement.minimized:void 0},set:function(e){this.nativeElement&&(this.nativeElement.minimized=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"maxLength",{get:function(){return this.nativeElement?this.nativeElement.maxLength:void 0},set:function(e){this.nativeElement&&(this.nativeElement.maxLength=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"minLength",{get:function(){return this.nativeElement?this.nativeElement.minLength:void 0},set:function(e){this.nativeElement&&(this.nativeElement.minLength=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"opened",{get:function(){return this.nativeElement?this.nativeElement.opened:void 0},set:function(e){this.nativeElement&&(this.nativeElement.opened=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"pinned",{get:function(){return this.nativeElement?this.nativeElement.pinned:void 0},set:function(e){this.nativeElement&&(this.nativeElement.pinned=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placeholder",{get:function(){return this.nativeElement?this.nativeElement.placeholder:void 0},set:function(e){this.nativeElement&&(this.nativeElement.placeholder=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"promptLabel",{get:function(){return this.nativeElement?this.nativeElement.promptLabel:void 0},set:function(e){this.nativeElement&&(this.nativeElement.promptLabel=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"readonly",{get:function(){return this.nativeElement?this.nativeElement.readonly:void 0},set:function(e){this.nativeElement&&(this.nativeElement.readonly=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"resizeIndicator",{get:function(){return this.nativeElement?this.nativeElement.resizeIndicator:void 0},set:function(e){this.nativeElement&&(this.nativeElement.resizeIndicator=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"resizeMode",{get:function(){return this.nativeElement?this.nativeElement.resizeMode:void 0},set:function(e){this.nativeElement&&(this.nativeElement.resizeMode=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rightToLeft",{get:function(){return this.nativeElement?this.nativeElement.rightToLeft:void 0},set:function(e){this.nativeElement&&(this.nativeElement.rightToLeft=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"required",{get:function(){return this.nativeElement?this.nativeElement.required:void 0},set:function(e){this.nativeElement&&(this.nativeElement.required=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"requiredMessage",{get:function(){return this.nativeElement?this.nativeElement.requiredMessage:void 0},set:function(e){this.nativeElement&&(this.nativeElement.requiredMessage=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectAllOnFocus",{get:function(){return this.nativeElement?this.nativeElement.selectAllOnFocus:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectAllOnFocus=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedIndex",{get:function(){return this.nativeElement?this.nativeElement.selectedIndex:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectedIndex=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectionMode",{get:function(){return this.nativeElement?this.nativeElement.selectionMode:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectionMode=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectionEnd",{get:function(){return this.nativeElement?this.nativeElement.selectionEnd:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectionEnd=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectionStart",{get:function(){return this.nativeElement?this.nativeElement.selectionStart:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectionStart=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"showProgressValue",{get:function(){return this.nativeElement?this.nativeElement.showProgressValue:void 0},set:function(e){this.nativeElement&&(this.nativeElement.showProgressValue=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"siblings",{get:function(){return this.nativeElement?this.nativeElement.siblings:void 0},set:function(e){this.nativeElement&&(this.nativeElement.siblings=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){return this.nativeElement?this.nativeElement.size:void 0},set:function(e){this.nativeElement&&(this.nativeElement.size=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"spellCheck",{get:function(){return this.nativeElement?this.nativeElement.spellCheck:void 0},set:function(e){this.nativeElement&&(this.nativeElement.spellCheck=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabCloseButtons",{get:function(){return this.nativeElement?this.nativeElement.tabCloseButtons:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabCloseButtons=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabCloseButtonMode",{get:function(){return this.nativeElement?this.nativeElement.tabCloseButtonMode:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabCloseButtonMode=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabOverflow",{get:function(){return this.nativeElement?this.nativeElement.tabOverflow:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabOverflow=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabPosition",{get:function(){return this.nativeElement?this.nativeElement.tabPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabPosition=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabScrollButtonsPosition",{get:function(){return this.nativeElement?this.nativeElement.tabScrollButtonsPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabScrollButtonsPosition=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tabTextOrientation",{get:function(){return this.nativeElement?this.nativeElement.tabTextOrientation:void 0},set:function(e){this.nativeElement&&(this.nativeElement.tabTextOrientation=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"theme",{get:function(){return this.nativeElement?this.nativeElement.theme:void 0},set:function(e){this.nativeElement&&(this.nativeElement.theme=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"unfocusable",{get:function(){return this.nativeElement?this.nativeElement.unfocusable:void 0},set:function(e){this.nativeElement&&(this.nativeElement.unfocusable=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.nativeElement?this.nativeElement.value:void 0},set:function(e){this.nativeElement&&(this.nativeElement.value=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"windowParent",{get:function(){return this.nativeElement?this.nativeElement.windowParent:void 0},set:function(e){this.nativeElement&&(this.nativeElement.windowParent=e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"wrap",{get:function(){return this.nativeElement?this.nativeElement.wrap:void 0},set:function(e){this.nativeElement&&(this.nativeElement.wrap=e)},enumerable:!1,configurable:!0}),r.prototype.appendChild=function(e){return i(this,void 0,void 0,(function(){var t=this;return o(this,(function(n){switch(n.label){case 0:return[4,function(){return new Promise((function(n){t.nativeElement.whenRendered((function(){var i=t.nativeElement.appendChild(e);n(i)}))}))}()];case 1:return[2,n.sent()]}}))}))},r.prototype.bringToFront=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.bringToFront():this.nativeElement.whenRendered((function(){e.nativeElement.bringToFront()}))},r.prototype.clear=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.clear():this.nativeElement.whenRendered((function(){e.nativeElement.clear()}))},r.prototype.close=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.close():this.nativeElement.whenRendered((function(){e.nativeElement.close()}))},r.prototype.collapse=function(){return i(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.collapse();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},r.prototype.ensureVisible=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.ensureVisible(e):this.nativeElement.whenRendered((function(){t.nativeElement.ensureVisible(e)}))},r.prototype.expand=function(){return i(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.expand();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},r.prototype.insert=function(e,t){var n=this;this.nativeElement.isRendered?this.nativeElement.insert(e,t):this.nativeElement.whenRendered((function(){n.nativeElement.insert(e,t)}))},r.prototype.insertBefore=function(e,t){return i(this,void 0,void 0,(function(){var n=this;return o(this,(function(i){switch(i.label){case 0:return[4,function(){return new Promise((function(i){n.nativeElement.whenRendered((function(){var o=n.nativeElement.insertBefore(e,t);i(o)}))}))}()];case 1:return[2,i.sent()]}}))}))},r.prototype.removeAt=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.removeAt(e):this.nativeElement.whenRendered((function(){t.nativeElement.removeAt(e)}))},r.prototype.removeChild=function(e){return i(this,void 0,void 0,(function(){var t=this;return o(this,(function(n){switch(n.label){case 0:return[4,function(){return new Promise((function(n){t.nativeElement.whenRendered((function(){var i=t.nativeElement.removeChild(e);n(i)}))}))}()];case 1:return[2,n.sent()]}}))}))},r.prototype.maximize=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.maximize():this.nativeElement.whenRendered((function(){e.nativeElement.maximize()}))},r.prototype.minimize=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.minimize():this.nativeElement.whenRendered((function(){e.nativeElement.minimize()}))},r.prototype.open=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.open():this.nativeElement.whenRendered((function(){e.nativeElement.open()}))},r.prototype.pin=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.pin():this.nativeElement.whenRendered((function(){e.nativeElement.pin()}))},r.prototype.restore=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.restore():this.nativeElement.whenRendered((function(){e.nativeElement.restore()}))},r.prototype.select=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.select(e):this.nativeElement.whenRendered((function(){t.nativeElement.select(e)}))},r.prototype.unpin=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.unpin():this.nativeElement.whenRendered((function(){e.nativeElement.unpin()}))},r.prototype.update=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.update(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.update(e,t,n)}))},Object.defineProperty(r.prototype,"isRendered",{get:function(){return!!this.nativeElement&&this.nativeElement.isRendered},enumerable:!1,configurable:!0}),r.prototype.ngOnInit=function(){},r.prototype.ngAfterViewInit=function(){var e=this;e.onCreate.emit(e.nativeElement),a.Render(),this.nativeElement.classList.add("smart-angular"),this.nativeElement.whenRendered((function(){e.onReady.emit(e.nativeElement)})),this.listen()},r.prototype.ngOnDestroy=function(){this.unlisten()},r.prototype.ngOnChanges=function(e){if(this.nativeElement&&this.nativeElement.isRendered)for(var t in e)e.hasOwnProperty(t)&&(this.nativeElement[t]=e[t].currentValue)},r.prototype.listen=function(){var e=this;e.eventHandlers.openingHandler=function(t){e.onOpening.emit(t)},e.nativeElement.addEventListener("opening",e.eventHandlers.openingHandler),e.eventHandlers.openHandler=function(t){e.onOpen.emit(t)},e.nativeElement.addEventListener("open",e.eventHandlers.openHandler),e.eventHandlers.closingHandler=function(t){e.onClosing.emit(t)},e.nativeElement.addEventListener("closing",e.eventHandlers.closingHandler),e.eventHandlers.closeHandler=function(t){e.onClose.emit(t)},e.nativeElement.addEventListener("close",e.eventHandlers.closeHandler),e.eventHandlers.collapseHandler=function(t){e.onCollapse.emit(t)},e.nativeElement.addEventListener("collapse",e.eventHandlers.collapseHandler),e.eventHandlers.dragEndHandler=function(t){e.onDragEnd.emit(t)},e.nativeElement.addEventListener("dragEnd",e.eventHandlers.dragEndHandler),e.eventHandlers.dragStartHandler=function(t){e.onDragStart.emit(t)},e.nativeElement.addEventListener("dragStart",e.eventHandlers.dragStartHandler),e.eventHandlers.expandHandler=function(t){e.onExpand.emit(t)},e.nativeElement.addEventListener("expand",e.eventHandlers.expandHandler),e.eventHandlers.maximizeHandler=function(t){e.onMaximize.emit(t)},e.nativeElement.addEventListener("maximize",e.eventHandlers.maximizeHandler),e.eventHandlers.minimizeHandler=function(t){e.onMinimize.emit(t)},e.nativeElement.addEventListener("minimize",e.eventHandlers.minimizeHandler),e.eventHandlers.resizeEndHandler=function(t){e.onResizeEnd.emit(t)},e.nativeElement.addEventListener("resizeEnd",e.eventHandlers.resizeEndHandler),e.eventHandlers.resizeStartHandler=function(t){e.onResizeStart.emit(t)},e.nativeElement.addEventListener("resizeStart",e.eventHandlers.resizeStartHandler),e.eventHandlers.restoreHandler=function(t){e.onRestore.emit(t)},e.nativeElement.addEventListener("restore",e.eventHandlers.restoreHandler)},r.prototype.unlisten=function(){var e=this;e.eventHandlers.openingHandler&&e.nativeElement.removeEventListener("opening",e.eventHandlers.openingHandler),e.eventHandlers.openHandler&&e.nativeElement.removeEventListener("open",e.eventHandlers.openHandler),e.eventHandlers.closingHandler&&e.nativeElement.removeEventListener("closing",e.eventHandlers.closingHandler),e.eventHandlers.closeHandler&&e.nativeElement.removeEventListener("close",e.eventHandlers.closeHandler),e.eventHandlers.collapseHandler&&e.nativeElement.removeEventListener("collapse",e.eventHandlers.collapseHandler),e.eventHandlers.dragEndHandler&&e.nativeElement.removeEventListener("dragEnd",e.eventHandlers.dragEndHandler),e.eventHandlers.dragStartHandler&&e.nativeElement.removeEventListener("dragStart",e.eventHandlers.dragStartHandler),e.eventHandlers.expandHandler&&e.nativeElement.removeEventListener("expand",e.eventHandlers.expandHandler),e.eventHandlers.maximizeHandler&&e.nativeElement.removeEventListener("maximize",e.eventHandlers.maximizeHandler),e.eventHandlers.minimizeHandler&&e.nativeElement.removeEventListener("minimize",e.eventHandlers.minimizeHandler),e.eventHandlers.resizeEndHandler&&e.nativeElement.removeEventListener("resizeEnd",e.eventHandlers.resizeEndHandler),e.eventHandlers.resizeStartHandler&&e.nativeElement.removeEventListener("resizeStart",e.eventHandlers.resizeStartHandler),e.eventHandlers.restoreHandler&&e.nativeElement.removeEventListener("restore",e.eventHandlers.restoreHandler)},r}(r);l.decorators=[{type:t.Directive,args:[{selector:"smart-window, [smart-window], smart-tabs-window, smart-prompt-window, smart-multilineprompt-window, smart-dialog-window, smart-alert-window, smart-progress-window, smart-wait-window"}]}],l.ctorParameters=function(){return[{type:t.ElementRef}]},l.propDecorators={addNewTab:[{type:t.Input}],animation:[{type:t.Input}],autoCapitalize:[{type:t.Input}],autoExpand:[{type:t.Input}],cancelLabel:[{type:t.Input}],completeLabel:[{type:t.Input}],confirmLabel:[{type:t.Input}],collapsed:[{type:t.Input}],closeOnMaskClick:[{type:t.Input}],dataSource:[{type:t.Input}],disabled:[{type:t.Input}],disableSnap:[{type:t.Input}],displayMode:[{type:t.Input}],dropPosition:[{type:t.Input}],formatFunction:[{type:t.Input}],footerPosition:[{type:t.Input}],footerTemplate:[{type:t.Input}],headerButtons:[{type:t.Input}],headerTemplate:[{type:t.Input}],headerPosition:[{type:t.Input}],hint:[{type:t.Input}],indeterminate:[{type:t.Input}],inverted:[{type:t.Input}],label:[{type:t.Input}],liveResize:[{type:t.Input}],layout:[{type:t.Input}],locale:[{type:t.Input}],locked:[{type:t.Input}],localizeFormatFunction:[{type:t.Input}],maximized:[{type:t.Input}],messages:[{type:t.Input}],modal:[{type:t.Input}],max:[{type:t.Input}],min:[{type:t.Input}],minimized:[{type:t.Input}],maxLength:[{type:t.Input}],minLength:[{type:t.Input}],opened:[{type:t.Input}],pinned:[{type:t.Input}],placeholder:[{type:t.Input}],promptLabel:[{type:t.Input}],readonly:[{type:t.Input}],resizeIndicator:[{type:t.Input}],resizeMode:[{type:t.Input}],rightToLeft:[{type:t.Input}],required:[{type:t.Input}],requiredMessage:[{type:t.Input}],selectAllOnFocus:[{type:t.Input}],selectedIndex:[{type:t.Input}],selectionMode:[{type:t.Input}],selectionEnd:[{type:t.Input}],selectionStart:[{type:t.Input}],showProgressValue:[{type:t.Input}],siblings:[{type:t.Input}],size:[{type:t.Input}],spellCheck:[{type:t.Input}],tabCloseButtons:[{type:t.Input}],tabCloseButtonMode:[{type:t.Input}],tabOverflow:[{type:t.Input}],tabPosition:[{type:t.Input}],tabScrollButtonsPosition:[{type:t.Input}],tabTextOrientation:[{type:t.Input}],theme:[{type:t.Input}],unfocusable:[{type:t.Input}],value:[{type:t.Input}],windowParent:[{type:t.Input}],wrap:[{type:t.Input}],onOpening:[{type:t.Output}],onOpen:[{type:t.Output}],onClosing:[{type:t.Output}],onClose:[{type:t.Output}],onCollapse:[{type:t.Output}],onDragEnd:[{type:t.Output}],onDragStart:[{type:t.Output}],onExpand:[{type:t.Output}],onMaximize:[{type:t.Output}],onMinimize:[{type:t.Output}],onResizeEnd:[{type:t.Output}],onResizeStart:[{type:t.Output}],onRestore:[{type:t.Output}]};var s=function(){};s.decorators=[{type:t.NgModule,args:[{declarations:[l],schemas:[t.CUSTOM_ELEMENTS_SCHEMA],exports:[l]}]}],e.Smart=a,e.WindowComponent=l,e.WindowModule=s,e.ɵa=r,Object.defineProperty(e,"__esModule",{value:!0})}));
25
- //# sourceMappingURL=smart-webcomponents-angular-window.umd.min.js.map
@@ -1,83 +0,0 @@
1
- import { Input, Output, EventEmitter } from '@angular/core';
2
- export class BaseElement {
3
- constructor(ref) {
4
- this.onCreate = new EventEmitter();
5
- this.onReady = new EventEmitter();
6
- this.onAttach = new EventEmitter();
7
- this.onDetach = new EventEmitter();
8
- const that = this;
9
- this.nativeElement = ref.nativeElement;
10
- that.nativeElement.onAttached = () => {
11
- that.onAttach.emit(that.nativeElement);
12
- };
13
- that.nativeElement.onDetached = () => {
14
- that.onDetach.emit(that.nativeElement);
15
- };
16
- }
17
- addEventListener(type, listener, options = false) {
18
- this.nativeElement.addEventListener(type, listener, options);
19
- }
20
- removeEventListener(type, listener, options = false) {
21
- this.nativeElement.removeEventListener(type, listener, options);
22
- }
23
- dispatchEvent(event) {
24
- return this.nativeElement.dispatchEvent(event);
25
- }
26
- blur() {
27
- this.nativeElement.blur();
28
- }
29
- click() {
30
- this.nativeElement.click();
31
- }
32
- focus(options) {
33
- this.nativeElement.focus(options);
34
- }
35
- /** @description Sets or gets the language. Used in conjunction with the property messages. */
36
- get locale() {
37
- return this.nativeElement ? this.nativeElement.locale : undefined;
38
- }
39
- set locale(value) {
40
- this.nativeElement ? this.nativeElement.locale = value : undefined;
41
- }
42
- /** @description Callback used to customize the format of the messages that are returned from the Localization Module. */
43
- get localizeFormatFunction() {
44
- return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
45
- }
46
- set localizeFormatFunction(value) {
47
- this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
48
- }
49
- /** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
50
- get messages() {
51
- return this.nativeElement ? this.nativeElement.messages : undefined;
52
- }
53
- set messages(value) {
54
- this.nativeElement ? this.nativeElement.messages = value : undefined;
55
- }
56
- /** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
57
- get rightToLeft() {
58
- return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
59
- }
60
- set rightToLeft(value) {
61
- this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
62
- }
63
- /** @description Determines the theme. Theme defines the look of the element */
64
- get theme() {
65
- return this.nativeElement ? this.nativeElement.theme : undefined;
66
- }
67
- set theme(value) {
68
- this.nativeElement ? this.nativeElement.theme = value : undefined;
69
- }
70
- }
71
- BaseElement.propDecorators = {
72
- onCreate: [{ type: Output }],
73
- onReady: [{ type: Output }],
74
- onAttach: [{ type: Output }],
75
- onDetach: [{ type: Output }],
76
- locale: [{ type: Input }],
77
- localizeFormatFunction: [{ type: Input }],
78
- messages: [{ type: Input }],
79
- rightToLeft: [{ type: Input }],
80
- theme: [{ type: Input }]
81
- };
82
- export const Smart = window.Smart;
83
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQuZWxlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3dpbmRvdy9zcmMvc21hcnQuZWxlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRQSxPQUFPLEVBQWMsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHeEUsTUFBTSxPQUFPLFdBQVc7SUFDcEIsWUFBWSxHQUFlO1FBYWpCLGFBQVEsR0FBc0IsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUNqRCxZQUFPLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7UUFDaEQsYUFBUSxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO1FBQ2pELGFBQVEsR0FBc0I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