{"__symbolic":"module","version":4,"metadata":{"RsNgModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":59,"character":1},"arguments":[{"selector":"rs-ng-modal","template":"<!--\n * @Description:\n * @Autor: yaoguorong\n * @Date: 2021-10-27 12:29:38\n * @LastEditors: yaoguorong\n * @LastEditTime: 2021-10-27 21:46:12\n-->\n<nz-modal\n  [nzTitle]=\"modalTitle\"\n  [nzContent]=\"modalContent\"\n  [nzFooter]=\"modalParam.isFooter ? '' : null\"\n  [nzWidth]=\"modalParam.width ? modalParam.width : '520'\"\n  [(nzVisible)]=\"modalParam.isVisible\"\n  (nzOnCancel)=\"handleCancel()\"\n  (nzOnOk)=\"handleOk(modalParam.formType)\"\n  [nzClassName]=\"styleName\"\n>\n  <!--  标题-->\n  <ng-template #modalTitle>{{modalParam['title']}}</ng-template>\n  <ng-template #modalContent>\n    <!-- 表格类型 -->\n<!--    <ng-container *ngIf=\"modalParam.type === 'table'\">-->\n<!--      <rs-ng-table [param]=\"modalParam.param\"></rs-ng-table>-->\n<!--    </ng-container>-->\n    <!-- 描述列表类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'text'\">\n      <span>{{modalParam['content']}}</span>\n    </ng-container>\n\n    <!-- 描述列表类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'descriptions'\">\n      <rs-ng-descriptions\n        [fieldList]=\"subCompParam['fieldList']\"\n        [interfaceInfo]=\"subCompParam['interfaceInfo']\"\n        [labelList]=\"subCompParam['labelList']\"\n        [param]=\"subCompParam['param'] || {}\"\n      ></rs-ng-descriptions>\n<!--      <nz-descriptions>-->\n<!--        <nz-descriptions-item-->\n<!--          *ngFor=\"let item of modalParam.mapText;-->\n<!--          let i = index\"-->\n<!--          [nzTitle]=\"item\" [nzSpan]=\"modalParam.spanList[i]\"-->\n<!--          [class]=\"modalParam.styleName\"-->\n<!--        >-->\n<!--          <img *ngIf=\"commentData && modalParam.mapParams[i] === 'logo'\" [src]=\"image\">-->\n<!--          <span *ngIf=\"commentData && modalParam.mapParams[i] !== 'docsList' && modalParam.mapParams[i] !== 'logo'\">-->\n<!--            {{commentData[modalParam.mapParams[i]]}}-->\n<!--          </span>-->\n<!--          <ng-container *ngIf=\"commentData && modalParam.mapParams[i] === 'docsList' && downData !== null\">-->\n<!--            <a *ngFor=\"let item of downData\"-->\n<!--               (click)=\"handleDownload($event,item)\" href=\"\"-->\n<!--            [ngClass]=\"modalParam.astyle\">-->\n<!--              {{item['docsName']}}-->\n<!--              <i-->\n<!--                nz-icon nzType=\"download\" nzTheme=\"outline\"-->\n<!--                 (click)=\"handleDownload($event,item)\"-->\n<!--              ></i>-->\n<!--            </a>-->\n<!--          </ng-container>-->\n<!--        </nz-descriptions-item>-->\n<!--      </nz-descriptions>-->\n    </ng-container>\n\n    <!-- 详情类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'detail'\">\n      <rs-ng-detail\n        [cacheName]=\"subCompParam.cache?.name\"\n        [detailListCfg]=\"subCompParam['detailListCfg']\"\n        [interfaceInfo]=\"subCompParam['interfaceInfo']\"\n        [detailObj]=\"subCompParam['detailObj'] || {}\"\n      ></rs-ng-detail>\n    </ng-container>\n\n    <!-- 表格类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'table'\">\n      <rs-ng-table\n        [param]=\"subCompParam['param'] || {}\"\n        [interfaceInfo]=\"subCompParam['interfaceInfo']\"\n        (tableListChange)=\"getTableData($event)\"\n      >\n      </rs-ng-table>\n    </ng-container>\n\n    <!-- 警告类型 -->\n<!--    <ng-container *ngIf=\"modalParam.type === 'warning'\">-->\n<!--      <p>{{modalParam.content}}</p>-->\n<!--    </ng-container>-->\n\n    <!-- 百度地图类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'bmap'\">\n      <rs-ng-map-bmap\n        [mapTool]=\"subCompParam['toolParam']\"\n        (mapList)=\"getBMapData($event)\"\n      ></rs-ng-map-bmap>\n    </ng-container>\n\n    <!-- 表单类型 -->\n    <ng-container *ngIf=\"modalParam.type === 'form'\">\n      <rs-ng-form #formComponent\n        [backRouter]=\"subCompParam['backRouter']\"\n        [cache]=\"subCompParam['cache']\"\n        [data]=\"subCompParam['data']\"\n        [isBindModalChange]=\"subCompParam['isBindModalChange']\"\n        [labelWidth]=\"subCompParam['labelWidth']\"\n        [submitInterface]=\"subCompParam['submitInterface']\"\n        [styleName]=\"subCompParam['styleName']\"\n      ></rs-ng-form>\n    </ng-container>\n    <!--    树形-->\n    <ng-container *ngIf=\"modalParam.type === 'tree'\">\n      <rs-ng-tree\n        [styleName]=\"subCompParam['styleName'] || 'common'\"\n        [treeParam]=\"subCompParam['treeParam'] || {}\"\n        [isAllDisabled]=\"subCompParam['isAllDisabled']\"\n        [data]=\"subCompParam['data']\"\n        [isBindTreeParam]=\"true\"\n        [formItem]=\"modalParam['formItem']\"\n      >\n      </rs-ng-tree>\n    </ng-container>\n<!--    <ng-container *ngIf=\"modalParam.type === 'tree'\">-->\n<!--      <span [ngClass]=\"modalParam.textStyle\">{{modalParam.treeText}}</span>-->\n<!--      <rs-ng-tree-->\n<!--        [treeParam]=\"subCompParam.treeParam\"-->\n<!--        [isAllDisabled]=\"subCompParam.isAllDisabled\"-->\n<!--        [data]=\"treeData\"-->\n<!--        [isBindTreeParam]=\"true\"-->\n<!--        [formItem]=\"modalParam.formItem\"-->\n<!--      >-->\n<!--      </rs-ng-tree>-->\n<!--      <nz-descriptions>-->\n<!--        <nz-descriptions-item-->\n<!--          *ngFor=\"let item of modalParam.mapText; let i = index\"-->\n<!--          [nzTitle]=\"item\" [nzSpan]=\"modalParam.spanList[i]\"-->\n<!--          [class]=\"modalParam.styleName\"-->\n<!--        >-->\n<!--          <span *ngIf=\"commentData\">{{commentData[modalParam.mapParams[i]]}}</span>-->\n<!--        </nz-descriptions-item>-->\n<!--      </nz-descriptions>-->\n<!--    </ng-container>-->\n\n        <ng-container *ngIf=\"modalParam.type === 'list'\">\n          <rs-ng-list\n            [styleName]=\"subCompParam['styleName']||'style1'\"\n            [data]=\"subCompParam['data']||[]\"\n            [intervalInfo]=\"subCompParam['intervalInfo']||{}\"\n            [modal]=\"subCompParam['modal']\"\n          ></rs-ng-list>\n        </ng-container>\n  </ng-template>\n</nz-modal>\n\n\n","styles":["::ng-deep .ant-modal-content{margin:0 auto;width:800px}.ant-descriptions-row>td{padding-bottom:5px}::ng-deep .ant-modal-header{min-height:4rem}::ng-deep .ant-modal.style1 .ant-modal-content{margin:auto;width:800px}::ng-deep .ant-modal.style1 .ant-modal-body{height:60vh;overflow:auto}::ng-deep .ant-modal.style2{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}::ng-deep .ant-modal.style2 .ant-modal-content{width:550px}::ng-deep .ant-modal.style2 .ant-modal-body{height:15vh}::ng-deep .ant-modal.style3 .ant-modal-content{margin:0 auto;width:400px}img{height:5rem;width:5rem}.downStyle{margin-right:5px}"]}]}],"members":{"formComponent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":67,"character":3},"arguments":["formComponent"]}]}],"modalParam":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"subCompParam":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"styleName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"rs-ng-core","name":"SubscribeService","line":97,"character":30}]}],"handleOk":[{"__symbolic":"method"}],"handleCancel":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getBMapData":[{"__symbolic":"method"}],"getTableData":[{"__symbolic":"method"}],"handleDownload":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}]}},"RsNgModalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RsNgModalComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/descriptions","name":"NzDescriptionsModule","line":19,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/modal","name":"NzModalModule","line":20,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/table","name":"NzTableModule","line":21,"character":4},{"__symbolic":"reference","module":"rs-ng-charts","name":"RsNgMapBmapModule","line":22,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/popconfirm","name":"NzPopconfirmModule","line":23,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/tree","name":"NzTreeModule","line":24,"character":4},{"__symbolic":"reference","module":"ng-zorro-antd/icon","name":"NzIconModule","line":25,"character":4},{"__symbolic":"reference","module":"rs-ng-base","name":"RsNgBaseModule","line":26,"character":4},{"__symbolic":"reference","module":"rs-ng-common","name":"RsNgCommonModule","line":27,"character":4}],"exports":[{"__symbolic":"reference","name":"RsNgModalComponent"}],"entryComponents":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"rs-ng-base","name":"baseCompList","line":33,"character":7}}]}]}],"members":{}}},"origins":{"RsNgModalComponent":"./rs-ng-modal.component","RsNgModalModule":"./rs-ng-modal.module"},"importAs":"rs-ng-composite/src/components/rs-ng-modal"}