-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsmart-webcomponents-angular-threedchart.umd.min.js
25 lines (21 loc) · 28.5 KB
/
smart-webcomponents-angular-threedchart.umd.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if (!window['Smart']) {
window['Smart'] = { RenderMode: 'manual' };
}
else {
window['Smart'].RenderMode = 'manual';
}
import './../source/modules/smart.3dchart';
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("smart-webcomponents-angular/threedchart",["exports","@angular/core"],t):t(((e=e||self)["smart-webcomponents-angular"]=e["smart-webcomponents-angular"]||{},e["smart-webcomponents-angular"].threedchart={}),e.ng.core)}(this,(function(e,t){"use strict";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */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)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function o(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 r(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])}}}var a=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:!0,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:!0,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:!0,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:!0,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:!0,configurable:!0}),i([t.Output()],e.prototype,"onCreate",void 0),i([t.Output()],e.prototype,"onReady",void 0),i([t.Output()],e.prototype,"onAttach",void 0),i([t.Output()],e.prototype,"onDetach",void 0),i([t.Input()],e.prototype,"locale",null),i([t.Input()],e.prototype,"localizeFormatFunction",null),i([t.Input()],e.prototype,"messages",null),i([t.Input()],e.prototype,"rightToLeft",null),i([t.Input()],e.prototype,"theme",null),e}(),l=window.Smart,s=function(e){function a(n){var i=e.call(this,n)||this;return i.eventHandlers=[],i.onItemClick=new t.EventEmitter,i.onShow=new t.EventEmitter,i.onHide=new t.EventEmitter,i.onSelect=new t.EventEmitter,i.onUnselect=new t.EventEmitter,i.onRangeSelectionChanged=new t.EventEmitter,i.onRangeSelectionChanging=new t.EventEmitter,i.onRefreshBegin=new t.EventEmitter,i.onRefreshEnd=new t.EventEmitter,i.onResizeBegin=new t.EventEmitter,i.onResizeEnd=new t.EventEmitter,i.nativeElement=n.nativeElement,i}return function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(a,e),a.prototype.createComponent=function(e){for(var t in void 0===e&&(e={}),this.nativeElement=document.createElement("smart-3d-chart"),e)this.nativeElement[t]=e[t];return this.nativeElement},Object.defineProperty(a.prototype,"animation",{get:function(){return this.nativeElement?this.nativeElement.animation:void 0},set:function(e){this.nativeElement&&(this.nativeElement.animation=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"animationSpeed",{get:function(){return this.nativeElement?this.nativeElement.animationSpeed:void 0},set:function(e){this.nativeElement&&(this.nativeElement.animationSpeed=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"autoRotate",{get:function(){return this.nativeElement?this.nativeElement.autoRotate:void 0},set:function(e){this.nativeElement&&(this.nativeElement.autoRotate=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"autoRotateSpeed",{get:function(){return this.nativeElement?this.nativeElement.autoRotateSpeed:void 0},set:function(e){this.nativeElement&&(this.nativeElement.autoRotateSpeed=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this.nativeElement?this.nativeElement.backgroundColor:void 0},set:function(e){this.nativeElement&&(this.nativeElement.backgroundColor=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundGradient",{get:function(){return this.nativeElement?this.nativeElement.backgroundGradient:void 0},set:function(e){this.nativeElement&&(this.nativeElement.backgroundGradient=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundImage",{get:function(){return this.nativeElement?this.nativeElement.backgroundImage:void 0},set:function(e){this.nativeElement&&(this.nativeElement.backgroundImage=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundTexture",{get:function(){return this.nativeElement?this.nativeElement.backgroundTexture:void 0},set:function(e){this.nativeElement&&(this.nativeElement.backgroundTexture=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"cameraPosition",{get:function(){return this.nativeElement?this.nativeElement.cameraPosition:void 0},set:function(e){this.nativeElement&&(this.nativeElement.cameraPosition=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"cameraZoom",{get:function(){return this.nativeElement?this.nativeElement.cameraZoom:void 0},set:function(e){this.nativeElement&&(this.nativeElement.cameraZoom=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"caption",{get:function(){return this.nativeElement?this.nativeElement.caption:void 0},set:function(e){this.nativeElement&&(this.nativeElement.caption=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"colorScheme",{get:function(){return this.nativeElement?this.nativeElement.colorScheme:void 0},set:function(e){this.nativeElement&&(this.nativeElement.colorScheme=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"controlsSettings",{get:function(){return this.nativeElement?this.nativeElement.controlsSettings:void 0},set:function(e){this.nativeElement&&(this.nativeElement.controlsSettings=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"customModels",{get:function(){return this.nativeElement?this.nativeElement.customModels:void 0},set:function(e){this.nativeElement&&(this.nativeElement.customModels=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"dataSource",{get:function(){return this.nativeElement?this.nativeElement.dataSource:void 0},set:function(e){this.nativeElement&&(this.nativeElement.dataSource=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"description",{get:function(){return this.nativeElement?this.nativeElement.description:void 0},set:function(e){this.nativeElement&&(this.nativeElement.description=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"disabled",{get:function(){return this.nativeElement?this.nativeElement.disabled:void 0},set:function(e){this.nativeElement&&(this.nativeElement.disabled=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"enableControlsToolbar",{get:function(){return this.nativeElement?this.nativeElement.enableControlsToolbar:void 0},set:function(e){this.nativeElement&&(this.nativeElement.enableControlsToolbar=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"controlsToolbarItems",{get:function(){return this.nativeElement?this.nativeElement.controlsToolbarItems:void 0},set:function(e){this.nativeElement&&(this.nativeElement.controlsToolbarItems=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"gridOptions",{get:function(){return this.nativeElement?this.nativeElement.gridOptions:void 0},set:function(e){this.nativeElement&&(this.nativeElement.gridOptions=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"legendIndex",{get:function(){return this.nativeElement?this.nativeElement.legendIndex:void 0},set:function(e){this.nativeElement&&(this.nativeElement.legendIndex=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"legendLayout",{get:function(){return this.nativeElement?this.nativeElement.legendLayout:void 0},set:function(e){this.nativeElement&&(this.nativeElement.legendLayout=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lightColor",{get:function(){return this.nativeElement?this.nativeElement.lightColor:void 0},set:function(e){this.nativeElement&&(this.nativeElement.lightColor=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"locale",{get:function(){return this.nativeElement?this.nativeElement.locale:void 0},set:function(e){this.nativeElement&&(this.nativeElement.locale=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"messages",{get:function(){return this.nativeElement?this.nativeElement.messages:void 0},set:function(e){this.nativeElement&&(this.nativeElement.messages=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rightToLeft",{get:function(){return this.nativeElement?this.nativeElement.rightToLeft:void 0},set:function(e){this.nativeElement&&(this.nativeElement.rightToLeft=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"selectionMode",{get:function(){return this.nativeElement?this.nativeElement.selectionMode:void 0},set:function(e){this.nativeElement&&(this.nativeElement.selectionMode=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"seriesGroups",{get:function(){return this.nativeElement?this.nativeElement.seriesGroups:void 0},set:function(e){this.nativeElement&&(this.nativeElement.seriesGroups=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"showConnectionLines",{get:function(){return this.nativeElement?this.nativeElement.showConnectionLines:void 0},set:function(e){this.nativeElement&&(this.nativeElement.showConnectionLines=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"showLegend",{get:function(){return this.nativeElement?this.nativeElement.showLegend:void 0},set:function(e){this.nativeElement&&(this.nativeElement.showLegend=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"showLegendTable",{get:function(){return this.nativeElement?this.nativeElement.showLegendTable:void 0},set:function(e){this.nativeElement&&(this.nativeElement.showLegendTable=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"showToolTips",{get:function(){return this.nativeElement?this.nativeElement.showToolTips:void 0},set:function(e){this.nativeElement&&(this.nativeElement.showToolTips=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"titlePadding",{get:function(){return this.nativeElement?this.nativeElement.titlePadding:void 0},set:function(e){this.nativeElement&&(this.nativeElement.titlePadding=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"toolTipFormatFunction",{get:function(){return this.nativeElement?this.nativeElement.toolTipFormatFunction:void 0},set:function(e){this.nativeElement&&(this.nativeElement.toolTipFormatFunction=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"toolTipFormatSettings",{get:function(){return this.nativeElement?this.nativeElement.toolTipFormatSettings:void 0},set:function(e){this.nativeElement&&(this.nativeElement.toolTipFormatSettings=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"toolTipLineColor",{get:function(){return this.nativeElement?this.nativeElement.toolTipLineColor:void 0},set:function(e){this.nativeElement&&(this.nativeElement.toolTipLineColor=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"valueAxis",{get:function(){return this.nativeElement?this.nativeElement.valueAxis:void 0},set:function(e){this.nativeElement&&(this.nativeElement.valueAxis=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"xAxis",{get:function(){return this.nativeElement?this.nativeElement.xAxis:void 0},set:function(e){this.nativeElement&&(this.nativeElement.xAxis=e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"zAxis",{get:function(){return this.nativeElement?this.nativeElement.zAxis:void 0},set:function(e){this.nativeElement&&(this.nativeElement.zAxis=e)},enumerable:!0,configurable:!0}),a.prototype.addColorScheme=function(e,t){var n=this;this.nativeElement.isRendered?this.nativeElement.addColorScheme(e,t):this.nativeElement.whenRendered((function(){n.nativeElement.addColorScheme(e,t)}))},a.prototype.beginUpdate=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.beginUpdate():this.nativeElement.whenRendered((function(){e.nativeElement.beginUpdate()}))},a.prototype.endUpdate=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.endUpdate(e):this.nativeElement.whenRendered((function(){t.nativeElement.endUpdate(e)}))},a.prototype.getColorScheme=function(e){return o(this,void 0,void 0,(function(){var t=this;return r(this,(function(n){switch(n.label){case 0:return[4,function(){return new Promise((function(n){t.nativeElement.whenRendered((function(){var i=t.nativeElement.getColorScheme(e);n(i)}))}))}()];case 1:return[2,n.sent()]}}))}))},a.prototype.getItemByIndexes=function(e,t,n){return o(this,void 0,void 0,(function(){var i=this;return r(this,(function(o){switch(o.label){case 0:return[4,function(){return new Promise((function(o){i.nativeElement.whenRendered((function(){var r=i.nativeElement.getItemByIndexes(e,t,n);o(r)}))}))}()];case 1:return[2,o.sent()]}}))}))},a.prototype.getItemsByIndexes=function(e,t,n){return o(this,void 0,void 0,(function(){var i=this;return r(this,(function(o){switch(o.label){case 0:return[4,function(){return new Promise((function(o){i.nativeElement.whenRendered((function(){var r=i.nativeElement.getItemsByIndexes(e,t,n);o(r)}))}))}()];case 1:return[2,o.sent()]}}))}))},a.prototype.getHidden=function(){return o(this,void 0,void 0,(function(){var e=this;return r(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.getHidden();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},a.prototype.getSelection=function(){return o(this,void 0,void 0,(function(){var e=this;return r(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.getSelection();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},a.prototype.getValueAxisLabels=function(){return o(this,void 0,void 0,(function(){var e=this;return r(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.getValueAxisLabels();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},a.prototype.getXAxisLabels=function(){return o(this,void 0,void 0,(function(){var e=this;return r(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.getXAxisLabels();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},a.prototype.getZAxisLabels=function(){return o(this,void 0,void 0,(function(){var e=this;return r(this,(function(t){switch(t.label){case 0:return[4,function(){return new Promise((function(t){e.nativeElement.whenRendered((function(){var n=e.nativeElement.getZAxisLabels();t(n)}))}))}()];case 1:return[2,t.sent()]}}))}))},a.prototype.hideGroup=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.hideGroup(e):this.nativeElement.whenRendered((function(){t.nativeElement.hideGroup(e)}))},a.prototype.hideItem=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.hideItem(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.hideItem(e,t,n)}))},a.prototype.hideSerie=function(e,t){var n=this;this.nativeElement.isRendered?this.nativeElement.hideSerie(e,t):this.nativeElement.whenRendered((function(){n.nativeElement.hideSerie(e,t)}))},a.prototype.refresh=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.refresh():this.nativeElement.whenRendered((function(){e.nativeElement.refresh()}))},a.prototype.removeColorScheme=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.removeColorScheme(e):this.nativeElement.whenRendered((function(){t.nativeElement.removeColorScheme(e)}))},a.prototype.saveAsJPEG=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.saveAsJPEG(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.saveAsJPEG(e,t,n)}))},a.prototype.saveAsPNG=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.saveAsPNG(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.saveAsPNG(e,t,n)}))},a.prototype.saveAsPDF=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.saveAsPDF(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.saveAsPDF(e,t,n)}))},a.prototype.selectItem=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.selectItem(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.selectItem(e,t,n)}))},a.prototype.showGroup=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.showGroup(e):this.nativeElement.whenRendered((function(){t.nativeElement.showGroup(e)}))},a.prototype.showItem=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.showItem(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.showItem(e,t,n)}))},a.prototype.showSerie=function(e,t){var n=this;this.nativeElement.isRendered?this.nativeElement.showSerie(e,t):this.nativeElement.whenRendered((function(){n.nativeElement.showSerie(e,t)}))},a.prototype.setDefaultPosition=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.setDefaultPosition():this.nativeElement.whenRendered((function(){e.nativeElement.setDefaultPosition()}))},a.prototype.setCameraMode=function(e){var t=this;this.nativeElement.isRendered?this.nativeElement.setCameraMode(e):this.nativeElement.whenRendered((function(){t.nativeElement.setCameraMode(e)}))},a.prototype.setCameraPosition=function(e,t,n,i){var o=this;this.nativeElement.isRendered?this.nativeElement.setCameraPosition(e,t,n,i):this.nativeElement.whenRendered((function(){o.nativeElement.setCameraPosition(e,t,n,i)}))},a.prototype.setCameraZoom=function(e,t){var n=this;this.nativeElement.isRendered?this.nativeElement.setCameraZoom(e,t):this.nativeElement.whenRendered((function(){n.nativeElement.setCameraZoom(e,t)}))},a.prototype.unselectItem=function(e,t,n){var i=this;this.nativeElement.isRendered?this.nativeElement.unselectItem(e,t,n):this.nativeElement.whenRendered((function(){i.nativeElement.unselectItem(e,t,n)}))},a.prototype.update=function(){var e=this;this.nativeElement.isRendered?this.nativeElement.update():this.nativeElement.whenRendered((function(){e.nativeElement.update()}))},Object.defineProperty(a.prototype,"isRendered",{get:function(){return!!this.nativeElement&&this.nativeElement.isRendered},enumerable:!0,configurable:!0}),a.prototype.ngOnInit=function(){},a.prototype.ngAfterViewInit=function(){var e=this;e.onCreate.emit(e.nativeElement),l.Render(),this.nativeElement.classList.add("smart-angular"),this.nativeElement.whenRendered((function(){e.onReady.emit(e.nativeElement)})),this.listen()},a.prototype.ngOnDestroy=function(){this.unlisten()},a.prototype.ngOnChanges=function(e){if(this.nativeElement&&this.nativeElement.isRendered)for(var t in e)e.hasOwnProperty(t)&&(this.nativeElement[t]=e[t].currentValue)},a.prototype.listen=function(){var e=this;e.eventHandlers.itemClickHandler=function(t){e.onItemClick.emit(t)},e.nativeElement.addEventListener("itemClick",e.eventHandlers.itemClickHandler),e.eventHandlers.showHandler=function(t){e.onShow.emit(t)},e.nativeElement.addEventListener("show",e.eventHandlers.showHandler),e.eventHandlers.hideHandler=function(t){e.onHide.emit(t)},e.nativeElement.addEventListener("hide",e.eventHandlers.hideHandler),e.eventHandlers.selectHandler=function(t){e.onSelect.emit(t)},e.nativeElement.addEventListener("select",e.eventHandlers.selectHandler),e.eventHandlers.unselectHandler=function(t){e.onUnselect.emit(t)},e.nativeElement.addEventListener("unselect",e.eventHandlers.unselectHandler),e.eventHandlers.rangeSelectionChangedHandler=function(t){e.onRangeSelectionChanged.emit(t)},e.nativeElement.addEventListener("rangeSelectionChanged",e.eventHandlers.rangeSelectionChangedHandler),e.eventHandlers.rangeSelectionChangingHandler=function(t){e.onRangeSelectionChanging.emit(t)},e.nativeElement.addEventListener("rangeSelectionChanging",e.eventHandlers.rangeSelectionChangingHandler),e.eventHandlers.refreshBeginHandler=function(t){e.onRefreshBegin.emit(t)},e.nativeElement.addEventListener("refreshBegin",e.eventHandlers.refreshBeginHandler),e.eventHandlers.refreshEndHandler=function(t){e.onRefreshEnd.emit(t)},e.nativeElement.addEventListener("refreshEnd",e.eventHandlers.refreshEndHandler),e.eventHandlers.resizeBeginHandler=function(t){e.onResizeBegin.emit(t)},e.nativeElement.addEventListener("resizeBegin",e.eventHandlers.resizeBeginHandler),e.eventHandlers.resizeEndHandler=function(t){e.onResizeEnd.emit(t)},e.nativeElement.addEventListener("resizeEnd",e.eventHandlers.resizeEndHandler)},a.prototype.unlisten=function(){this.eventHandlers.itemClickHandler&&this.nativeElement.removeEventListener("itemClick",this.eventHandlers.itemClickHandler),this.eventHandlers.showHandler&&this.nativeElement.removeEventListener("show",this.eventHandlers.showHandler),this.eventHandlers.hideHandler&&this.nativeElement.removeEventListener("hide",this.eventHandlers.hideHandler),this.eventHandlers.selectHandler&&this.nativeElement.removeEventListener("select",this.eventHandlers.selectHandler),this.eventHandlers.unselectHandler&&this.nativeElement.removeEventListener("unselect",this.eventHandlers.unselectHandler),this.eventHandlers.rangeSelectionChangedHandler&&this.nativeElement.removeEventListener("rangeSelectionChanged",this.eventHandlers.rangeSelectionChangedHandler),this.eventHandlers.rangeSelectionChangingHandler&&this.nativeElement.removeEventListener("rangeSelectionChanging",this.eventHandlers.rangeSelectionChangingHandler),this.eventHandlers.refreshBeginHandler&&this.nativeElement.removeEventListener("refreshBegin",this.eventHandlers.refreshBeginHandler),this.eventHandlers.refreshEndHandler&&this.nativeElement.removeEventListener("refreshEnd",this.eventHandlers.refreshEndHandler),this.eventHandlers.resizeBeginHandler&&this.nativeElement.removeEventListener("resizeBegin",this.eventHandlers.resizeBeginHandler),this.eventHandlers.resizeEndHandler&&this.nativeElement.removeEventListener("resizeEnd",this.eventHandlers.resizeEndHandler)},a.ctorParameters=function(){return[{type:t.ElementRef}]},i([t.Input()],a.prototype,"animation",null),i([t.Input()],a.prototype,"animationSpeed",null),i([t.Input()],a.prototype,"autoRotate",null),i([t.Input()],a.prototype,"autoRotateSpeed",null),i([t.Input()],a.prototype,"backgroundColor",null),i([t.Input()],a.prototype,"backgroundGradient",null),i([t.Input()],a.prototype,"backgroundImage",null),i([t.Input()],a.prototype,"backgroundTexture",null),i([t.Input()],a.prototype,"cameraPosition",null),i([t.Input()],a.prototype,"cameraZoom",null),i([t.Input()],a.prototype,"caption",null),i([t.Input()],a.prototype,"colorScheme",null),i([t.Input()],a.prototype,"controlsSettings",null),i([t.Input()],a.prototype,"customModels",null),i([t.Input()],a.prototype,"dataSource",null),i([t.Input()],a.prototype,"description",null),i([t.Input()],a.prototype,"disabled",null),i([t.Input()],a.prototype,"enableControlsToolbar",null),i([t.Input()],a.prototype,"controlsToolbarItems",null),i([t.Input()],a.prototype,"gridOptions",null),i([t.Input()],a.prototype,"legendIndex",null),i([t.Input()],a.prototype,"legendLayout",null),i([t.Input()],a.prototype,"lightColor",null),i([t.Input()],a.prototype,"locale",null),i([t.Input()],a.prototype,"messages",null),i([t.Input()],a.prototype,"rightToLeft",null),i([t.Input()],a.prototype,"selectionMode",null),i([t.Input()],a.prototype,"seriesGroups",null),i([t.Input()],a.prototype,"showConnectionLines",null),i([t.Input()],a.prototype,"showLegend",null),i([t.Input()],a.prototype,"showLegendTable",null),i([t.Input()],a.prototype,"showToolTips",null),i([t.Input()],a.prototype,"titlePadding",null),i([t.Input()],a.prototype,"toolTipFormatFunction",null),i([t.Input()],a.prototype,"toolTipFormatSettings",null),i([t.Input()],a.prototype,"toolTipLineColor",null),i([t.Input()],a.prototype,"valueAxis",null),i([t.Input()],a.prototype,"xAxis",null),i([t.Input()],a.prototype,"zAxis",null),i([t.Output()],a.prototype,"onItemClick",void 0),i([t.Output()],a.prototype,"onShow",void 0),i([t.Output()],a.prototype,"onHide",void 0),i([t.Output()],a.prototype,"onSelect",void 0),i([t.Output()],a.prototype,"onUnselect",void 0),i([t.Output()],a.prototype,"onRangeSelectionChanged",void 0),i([t.Output()],a.prototype,"onRangeSelectionChanging",void 0),i([t.Output()],a.prototype,"onRefreshBegin",void 0),i([t.Output()],a.prototype,"onRefreshEnd",void 0),i([t.Output()],a.prototype,"onResizeBegin",void 0),i([t.Output()],a.prototype,"onResizeEnd",void 0),a=i([t.Directive({exportAs:"smart-3d-chart",selector:"smart-3d-chart, [smart-3d-chart]"})],a)}(a),u=function(){function e(){}return e=i([t.NgModule({declarations:[s],schemas:[t.CUSTOM_ELEMENTS_SCHEMA],exports:[s]})],e)}();e.Smart=l,e.ThreeDChartComponent=s,e.ThreeDChartModule=u,e.ɵa=a,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=smart-webcomponents-angular-threedchart.umd.min.js.map