UNPKG

@lxlib/chart

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

16 lines (14 loc) 3.26 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@lxlib/util"),require("@angular/common"),require("ng-zorro-antd/icon")):"function"==typeof define&&define.amd?define("@lxlib/chart/trend",["exports","@angular/core","@lxlib/util","@angular/common","ng-zorro-antd/icon"],t):t(((e=e||self).lxlib=e.lxlib||{},e.lxlib.chart=e.lxlib.chart||{},e.lxlib.chart.trend={}),e.ng.core,e.lxlib.util,e.ng.common,e["ng-zorro-antd/icon"])}(this,(function(e,t,o,r,n){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */function l(e,t,o,r){var n,l=arguments.length,c=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(c=(l<3?n(c):l>3?n(t,o,c):n(t,o))||c);return l>3&&c&&Object.defineProperty(t,o,c),c}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function a(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,n,l=o.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(r=l.next()).done;)c.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return c}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var u=function(){function e(){this.colorful=!0,this.reverseColor=!1}return e.decorators=[{type:t.Component,args:[{selector:"trend",exportAs:"trend",template:'<ng-content></ng-content>\n<span *ngIf="flag" class="trend__{{flag}}"><i nz-icon nzType="caret-{{flag}}"></i></span>\n',host:{"[class.trend]":"true","[class.trend__grey]":"!colorful","[class.trend__reverse]":"colorful && reverseColor"},preserveWhitespaces:!1,changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None}]}],e.propDecorators={flag:[{type:t.Input}],colorful:[{type:t.Input}],reverseColor:[{type:t.Input}]},l([o.InputBoolean(),c("design:type",Object)],e.prototype,"colorful",void 0),l([o.InputBoolean(),c("design:type",Object)],e.prototype,"reverseColor",void 0),e}();var f=[u],p=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[r.CommonModule,n.NzIconModule,o.LxlibUtilModule],declarations:i(f),exports:i(f)}]}],e}();e.TrendComponent=u,e.TrendModule=p,Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=trend.umd.min.js.map