UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

16 lines (14 loc) 3.27 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("ng-zorro-antd/core/util"),require("@angular/common"),require("ng-zorro-antd/core/outlet")):"function"==typeof define&&define.amd?define("ng-zorro-antd/divider",["exports","@angular/core","ng-zorro-antd/core/util","@angular/common","ng-zorro-antd/core/outlet"],t):t(((e=e||self)["ng-zorro-antd"]=e["ng-zorro-antd"]||{},e["ng-zorro-antd"].divider={}),e.ng.core,e["ng-zorro-antd"].core.util,e.ng.common,e["ng-zorro-antd"].core.outlet)}(this,(function(e,t,n,r,o){"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 i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var a=function(){function e(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1}return e.decorators=[{type:t.Component,args:[{selector:"nz-divider",exportAs:"nzDivider",preserveWhitespaces:!1,encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,template:'\n <span *ngIf="nzText" class="ant-divider-inner-text">\n <ng-container *nzStringTemplateOutlet="nzText">{{ nzText }}</ng-container>\n </span>\n ',host:{"[class.ant-divider]":"true","[class.ant-divider-horizontal]":"nzType === 'horizontal'","[class.ant-divider-vertical]":"nzType === 'vertical'","[class.ant-divider-with-text-left]":"nzText && nzOrientation === 'left'","[class.ant-divider-with-text-right]":"nzText && nzOrientation === 'right'","[class.ant-divider-with-text-center]":"nzText && nzOrientation === 'center'","[class.ant-divider-dashed]":"nzDashed"}}]}],e.propDecorators={nzText:[{type:t.Input}],nzType:[{type:t.Input}],nzOrientation:[{type:t.Input}],nzDashed:[{type:t.Input}]},function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([n.InputBoolean(),i("design:type",Object)],e.prototype,"nzDashed",void 0),e}();var c=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[r.CommonModule,o.NzOutletModule],declarations:[a],exports:[a]}]}],e}();e.NzDividerComponent=a,e.NzDividerModule=c,Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=ng-zorro-antd-divider.umd.min.js.map