@farris/app-navigation-udt
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -498,3 +498,3 @@ (function (global, factory) { | ||
*/function (data) { | ||
data['metadata']['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
data['metadata']['processMode'] = _this.selectedCommand.data['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
_this.submitModal.emit(data); | ||
@@ -501,0 +501,0 @@ })); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("lodash-es"),require("@farris/designer-services"),require("@farris/ui-notify"),require("@angular/core"),require("@angular/common"),require("@farris/ui-input-group"),require("@angular/common/http"),require("@angular/forms"),require("@farris/ui-panel")):"function"==typeof define&&define.amd?define("@farris/app-navigation-udt",["exports","lodash-es","@farris/designer-services","@farris/ui-notify","@angular/core","@angular/common","@farris/ui-input-group","@angular/common/http","@angular/forms","@farris/ui-panel"],t):t((e.farris=e.farris||{},e.farris["app-navigation-udt"]={}),e.lodashEs,e.designerServices,e.uiNotify,e.ng.core,e.ng.common,e.uiInputGroup,e.ng.common.http,e.ng.forms,e.uiPanel)}(this,function(e,r,t,n,a,i,o,d,l,c){"use strict";var s=["State","SecurityLevel","Amount","IdentificationCard","Sequence","CreatedBy","ProcessInstance","Version","ParentHierarchyInfo","Image","TelephoneNumber","Email","UpdateInformation","CellphoneNumber","PhoneNumber","PathHierarchyInfo","PostalCode","IsEnabledInfo","Name","BillState","IsEnabled","BillCode","LastModifiedBy","CodeSet","GspUser"],p={Invoice:["State"],SecurityLevel:["a","SecurityLevel"],QDP:["QdpFloatUdt","QdpIntegerUdt","QdpDateUdt","QdpStringUdt"],Common:["Amount","IdentificationCard","Sequence","CreatedBy","ProcessInstance","Version","ParentHierarchyInfo","Image","TelephoneNumber","Email","UpdateInformation","CellphoneNumber","PhoneNumber","PathHierarchyInfo","PostalCode","IsEnabledInfo","Name","BillState","IsEnabled","BillCode","LastModifiedBy","CodeSet","AttachmentInfo"],User:["GspUser"]},f=[{label:"Invoice",name:"单据",fold:!1,data:[]},{label:"SecurityLevel",name:"密级",fold:!1,data:[]},{label:"QDP",name:"QDP",fold:!1,data:[]},{label:"Common",name:"常用",fold:!1,data:[]},{label:"User",name:"用户",fold:!1,data:[]}],h=(g.prototype.ngOnInit=function(){this.editorParams&&(this.modalConfig=this.editorParams.modalConfig||this.modalConfig,this.getRecentDataInfo(),this.getRecommandDataInfo()),this.chooseRecent=!0,this.chooseAll=!1},g.prototype.ngOnChanges=function(e){e.editorParams&&(this.modalConfig=this.editorParams.modalConfig||this.modalConfig,this.getRecentDataInfo(),this.getRecommandDataInfo())},g.prototype.getRecommandDataInfo=function(){var t=this,e=this.injector.get(d.HttpClient),n=this.editorParams.relativePath||"";return e.get("/api/dev/main/v1.0/mdservice/unionmdlist?path="+n+"&pageIndex=1&pageSize=1000&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.reinvokeInterface(e),t.udtRecommandData=r.cloneDeep(t.getRecommandData(e)),t.udtData=0!=t.udtRecentData.length?t.udtRecentData:t.udtRecommandData,t.chooseRecent=0!=t.udtRecentData.length,t.chooseAll=!1})},g.prototype.getRecentDataInfo=function(){var t=this,e=this.injector.get(d.HttpClient),n=this.editorParams.relativePath||"",n="/"==n[0]?n.split("/")[1]:n.split("/")[0];return e.get("/api/dev/main/v1.0/mdservice/getmdrecentuse?appId="+n+"&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.udtRecentData=r.cloneDeep(t.getRecentData(e))})},g.prototype.getRecommandData=function(e){var i,o=r.cloneDeep(f),e=e.metadataIndexItems||e;return e&&(i=[],e.forEach(function(e){for(var t={name:e.name,label:e.code,hide:!1,active:!1,svg:s.includes(e.code)?e.code:"General",data:e},n=Object.keys(p),a=0;a<n.length;a++)p[n[a]].includes(e.code)&&o[a].data.push(r.cloneDeep(t));i.push(r.cloneDeep(t))}),this.udtAllData=r.cloneDeep(i)),o},g.prototype.getRecentData=function(e){var t=[];return e&&r.cloneDeep(e).forEach(function(e){e={name:e.name,label:e.code,hide:!1,active:!1,svg:s.includes(e.code)?e.code:"General",data:e};t.push(r.cloneDeep(e))}),t},g.prototype.showRecentData=function(){this.udtData=r.cloneDeep(this.udtRecentData),this.chooseRecent=!0,this.chooseAll=!1,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.showRecommandData=function(){this.udtData=r.cloneDeep(this.udtRecommandData),this.chooseRecent=!1,this.chooseAll=!1,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.showAllData=function(){this.udtData=r.cloneDeep(this.udtAllData),this.chooseRecent=!1,this.chooseAll=!0,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.onSearchValueChanged=function(e){e=(e=e==undefined?"":e).originalEvent!=undefined?e.value||"":e;var n=(this.searchValue=e).replaceAll(" ","").replaceAll(">","");return n=(n=""==n?" ":n).toLowerCase(),this.chooseRecent||this.chooseAll?this.udtData.forEach(function(e){var t=(e.name+" "+e.label).toLowerCase();e.hide=0==t.includes(n)}):this.udtData.forEach(function(e){e.data.forEach(function(e){var t=(e.name+" "+e.label).toLowerCase();e.hide=0==t.includes(n)})}),this.udtData},g.prototype.getUdtDataItem=function(t){var n=this;this.chooseRecent||this.chooseAll?this.udtData.forEach(function(e){e.active=t.label==e.label&&!e.active,n.selectedCommand=t.label==e.label?r.cloneDeep(t):n.selectedCommand}):this.udtData.forEach(function(e){e.data.forEach(function(e){e.active=t.label==e.label&&!e.active,n.selectedCommand=t.label==e.label?r.cloneDeep(t):n.selectedCommand})})},g.prototype.onClear=function(){this.udtData=this.onSearchValueChanged("")},g.prototype.getUniqueData=function(e){for(var t=r.cloneDeep(e),n=0;n<t.length;n++)for(var a=n+1;a<t.length;a++)t[n].label==t[a].label&&(t.splice(a,1),a--);return t},g.prototype.foldIn=function(e){e.fold=!e.fold},g.prototype.clickConfirm=function(){var e,t,n,a,i=this;return this.selectedCommand&&this.selectedCommand.active?(e=this.injector.get(d.HttpClient),t="/api/dev/main/v1.0/mdservice/pickMetadata?currentPath="+(this.editorParams.relativePath||""),n=this.selectedCommand.data,a={headers:new d.HttpHeaders({"Content-Type":"application/json"})},e.post(t,n,a).subscribe(function(e){e.metadata.processMode,i.submitModal.emit(e)})):(this.notifyService.info("未选择业务字段"),null)},g.prototype.clickCancel=function(){this.closeModal.emit()},g.prototype.reinvokeInterface=function(e){var t=this;if(e.page){var n,a,e=e.page.total||0;if(1e3<e)return n=this.injector.get(d.HttpClient),a=this.editorParams.relativePath||"",n.get("/api/dev/main/v1.0/mdservice/unionmdlist?path="+a+"&pageIndex=1&pageSize="+e+"&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.udtRecommandData=r.cloneDeep(t.getRecommandData(e)),t.udtData=0!=t.udtRecentData.length?t.udtRecentData:t.udtRecommandData,t.chooseRecent=0!=t.udtRecentData.length})}},g.decorators=[{type:a.Component,args:[{selector:"farris-appNavigationUdt",template:'<div class="f-navUdt">\n <div class="f-navUdt-header">\n <div class="f-navUdt-recent" (click)="showRecentData()">\n <div [ngClass]="{\'f-navUdt-recent-text-focus\':chooseRecent && !chooseAll,\'f-navUdt-recent-text\':!chooseRecent || chooseAll}">最近</div>\n </div>\n <div class="f-navUdt-recommand" (click)="showRecommandData()">\n <div [ngClass]="{\'f-navUdt-recommand-text-focus\':!chooseRecent && !chooseAll,\'f-navUdt-recommand-text\': chooseRecent || chooseAll}">推荐\n </div>\n </div>\n <div class="f-navUdt-all" (click)="showAllData()">\n <div [ngClass]="{\'f-navUdt-all-text-focus\': chooseAll,\'f-navUdt-all-text\':!chooseAll }">全部</div>\n </div>\n <div class="f-navUdt-remainder">\n <div class="f-navUdt-search">\n <input-group [groupText]="groupIcon" [(value)]="searchValue"\n (clickHandle)="onSearchValueChanged($event)" (valueChange)="onSearchValueChanged($event)"\n (clear)="onClear()" placeholder="请输入名称/编号搜索" style="font-size:2px;"></input-group>\n </div>\n </div>\n </div>\n \x3c!-- 最近 --\x3e\n <div class="f-navUdt-content-recent" *ngIf="chooseRecent && !chooseAll">\n <ng-container *ngFor="let udtDataItem of udtData">\n <ng-container *ngIf="!udtDataItem.hide">\n <div [ngClass]="{\'f-navUdt-item\':!udtDataItem.active,\'f-navUdt-item-active\':udtDataItem.active}"\n (click)="getUdtDataItem(udtDataItem)">\n <img src="assets/img/{{udtDataItem.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{udtDataItem.name}}</div>\n <div class="f-navUdt-label">{{udtDataItem.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n \x3c!-- 推荐 --\x3e\n <div class="f-navUdt-content-recommand" *ngIf="!chooseRecent && !chooseAll">\n <ng-container *ngFor="let category of udtData; let i = index">\n <div class="f-navUdt-udtCategory">\n <div class="f-navUdt-categoryHeader" (click)="foldIn(category)">\n <div *ngIf="category.fold" class="f-icon f-icon-arrow-60-right"\n style="color:#6E7088;font-size:12px;margin:3px 7px 0 0;"></div>\n <div *ngIf="!category.fold" class="f-icon f-icon-arrow-60-down"\n style="color:#6E7088;font-size:12px;margin:3px 7px 0 0;"></div>\n <div class="f-navUdt-categoryLabel">{{category.name}}</div>\n </div>\n <div class="f-navUdt-categoryContent" *ngIf="!category.fold">\n <ng-container *ngFor="let item of category.data">\n <ng-container *ngIf="!item.hide">\n <div [ngClass]="{\'f-navUdt-item\':!item.active,\'f-navUdt-item-active\':item.active}"\n (click)="getUdtDataItem(item)">\n <img src="assets/img/{{item.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{item.name}}</div>\n <div class="f-navUdt-label">{{item.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </div>\n \x3c!-- 全部 --\x3e\n <div class="f-navUdt-content-recent" *ngIf="chooseAll">\n <ng-container *ngFor="let udtDataItem of udtData">\n <ng-container *ngIf="!udtDataItem.hide">\n <div [ngClass]="{\'f-navUdt-item\':!udtDataItem.active,\'f-navUdt-item-active\':udtDataItem.active}"\n (click)="getUdtDataItem(udtDataItem)">\n <img src="assets/img/{{udtDataItem.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{udtDataItem.name}}</div>\n <div class="f-navUdt-label">{{udtDataItem.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\x3c!-- 底部区域 --\x3e\n<div class="f-page-bottom">\n <div class="f-page-button">\n <div class="f-page-cancel-btn" (click)="clickCancel()">\n <span class="textCancel">取消</span>\n </div>\n <div class="f-page-sure-btn" (click)="clickConfirm()">\n <span class="textSure">确认</span>\n </div>\n </div>\n</div>',styles:[":host{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.f-page-bottom{margin-top:0;height:60px;width:100%;border:1px solid #dee1ea;background-color:#fff;z-index:2000;bottom:0;left:0;position:absolute;display:flex;justify-content:flex-end;align-items:center}.f-page-button{float:right;margin-right:30px;width:200px;display:flex}.f-page-cancel-btn{width:75px;height:32px;display:inline-block;background:#fff;border:1px solid #d8dce6;box-shadow:0 1px 0 0 rgb(0 0 0 / 4%);border-radius:3px;margin-right:8px;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.f-page-sure-btn{width:100px;height:32px;display:flex;background:#5989e7;border-radius:3px;text-align:center;cursor:pointer;align-items:center;justify-content:center;flex-wrap:wrap}.textCancel{font-family:PingFangSC-Regular;font-size:13px;color:#2d2f33}.textSure{font-family:PingFangSC-Regular;font-size:13px;color:#fff}.f-navUdt{background-color:#fff;height:100%}.f-navUdt-header{display:flex;min-width:400px;width:100%;height:44px;align-items:center;border:1px solid #e5e9ef;background:#f9f9fc;position:absolute;top:0;z-index:2}.f-navUdt-recent{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-recent-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recent-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recommand{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-recommand-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recommand-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-all{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-all-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-all-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-remainder{flex:10}.f-navUdt-search{width:220px;height:26.6px;background:#fff;border-radius:6px;float:right;margin-right:40px}.f-navUdt-content-recommand{width:100%;min-width:400px;height:calc(100% - 110px);overflow:scroll;display:flex;flex-wrap:wrap;margin-top:44px;flex-direction:row;align-content:flex-start}.f-navUdt-content-recent{width:100%;min-width:400px;height:355px;overflow:scroll;display:flex;flex-wrap:wrap;margin-top:44px;margin-left:20px}.f-navUdt-udtCategory{width:100%;margin-left:10px}.f-navUdt-categoryHeader{width:70px;display:flex;margin-top:16px}.f-navUdt-categoryLabel{height:18px;font-family:PingFangSC-Regular;font-size:13px;color:#3d4c6b;font-weight:400;cursor:pointer}.f-navUdt-categoryContent{display:flex;flex-wrap:wrap;margin-left:15px}.f-navUdt-item{border:1px solid #e5e9ef;width:115px;height:100px;background:#fafbfc;border-radius:8px;margin-right:10px;position:relative;z-index:2000;margin-top:10px;cursor:pointer}.f-navUdt-item:hover{background-color:#edf5fc!important;cursor:pointer}.f-navUdt-item-active{border:1px solid #e5e9ef;background-color:#edf5fc!important;width:115px;height:100px;border-radius:8px;margin-right:10px;position:relative;z-index:2000;margin-top:10px;cursor:pointer}.f-navUdt-name{width:98%;height:18px;font-family:PingFangSC-Regular;font-size:13px;color:#2d2f33;font-weight:400;overflow:hidden;display:inline-block;vertical-align:top;text-align:center}.f-navUdt-label{width:98%;font-family:PingFangSC-Regular;font-weight:400;overflow:hidden;display:inline-block;vertical-align:top;height:17px;font-size:12px;color:#a6aebe;text-align:center}.f-navUdt-source{width:100%;height:17px;font-family:PingFangSC-Regular;font-size:12px;color:#949ba7;font-weight:400}"]}]}],g.ctorParameters=function(){return[{type:a.Injector},{type:t.FormBasicService},{type:n.NotifyService}]},g.propDecorators={initialState:[{type:a.Input}],editorParams:[{type:a.Input}],closeModal:[{type:a.Output}],submitModal:[{type:a.Output}],modalFooter:[{type:a.ViewChild,args:["footer"]}]},g);function g(e,t,n){this.injector=e,this.formBasicService=t,this.notifyService=n,this.closeModal=new a.EventEmitter,this.submitModal=new a.EventEmitter,this.groupIcon='<span class="k-icon k-i-search"></span>',this.chooseRecent=!0,this.chooseAll=!1,this.udtRecentData=[],this.udtAllData=[],this.modalConfig={title:"选择业务字段",width:920,height:500,resizable:!0,showButtons:!1,showMaxButton:!1,minWidth:650,minHeight:300}}u.decorators=[{type:a.NgModule,args:[{declarations:[h],imports:[i.CommonModule,o.InputGroupModule,d.HttpClientModule,i.CommonModule,l.FormsModule,c.FarrisPanelModule],exports:[h]}]}];o=u;function u(){}e.AppNavigationUdtComponent=h,e.AppNavigationUdtModule=o,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("lodash-es"),require("@farris/designer-services"),require("@farris/ui-notify"),require("@angular/core"),require("@angular/common"),require("@farris/ui-input-group"),require("@angular/common/http"),require("@angular/forms"),require("@farris/ui-panel")):"function"==typeof define&&define.amd?define("@farris/app-navigation-udt",["exports","lodash-es","@farris/designer-services","@farris/ui-notify","@angular/core","@angular/common","@farris/ui-input-group","@angular/common/http","@angular/forms","@farris/ui-panel"],t):t((e.farris=e.farris||{},e.farris["app-navigation-udt"]={}),e.lodashEs,e.designerServices,e.uiNotify,e.ng.core,e.ng.common,e.uiInputGroup,e.ng.common.http,e.ng.forms,e.uiPanel)}(this,function(e,r,t,n,a,i,o,d,l,c){"use strict";var s=["State","SecurityLevel","Amount","IdentificationCard","Sequence","CreatedBy","ProcessInstance","Version","ParentHierarchyInfo","Image","TelephoneNumber","Email","UpdateInformation","CellphoneNumber","PhoneNumber","PathHierarchyInfo","PostalCode","IsEnabledInfo","Name","BillState","IsEnabled","BillCode","LastModifiedBy","CodeSet","GspUser"],p={Invoice:["State"],SecurityLevel:["a","SecurityLevel"],QDP:["QdpFloatUdt","QdpIntegerUdt","QdpDateUdt","QdpStringUdt"],Common:["Amount","IdentificationCard","Sequence","CreatedBy","ProcessInstance","Version","ParentHierarchyInfo","Image","TelephoneNumber","Email","UpdateInformation","CellphoneNumber","PhoneNumber","PathHierarchyInfo","PostalCode","IsEnabledInfo","Name","BillState","IsEnabled","BillCode","LastModifiedBy","CodeSet","AttachmentInfo"],User:["GspUser"]},f=[{label:"Invoice",name:"单据",fold:!1,data:[]},{label:"SecurityLevel",name:"密级",fold:!1,data:[]},{label:"QDP",name:"QDP",fold:!1,data:[]},{label:"Common",name:"常用",fold:!1,data:[]},{label:"User",name:"用户",fold:!1,data:[]}],h=(g.prototype.ngOnInit=function(){this.editorParams&&(this.modalConfig=this.editorParams.modalConfig||this.modalConfig,this.getRecentDataInfo(),this.getRecommandDataInfo()),this.chooseRecent=!0,this.chooseAll=!1},g.prototype.ngOnChanges=function(e){e.editorParams&&(this.modalConfig=this.editorParams.modalConfig||this.modalConfig,this.getRecentDataInfo(),this.getRecommandDataInfo())},g.prototype.getRecommandDataInfo=function(){var t=this,e=this.injector.get(d.HttpClient),n=this.editorParams.relativePath||"";return e.get("/api/dev/main/v1.0/mdservice/unionmdlist?path="+n+"&pageIndex=1&pageSize=1000&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.reinvokeInterface(e),t.udtRecommandData=r.cloneDeep(t.getRecommandData(e)),t.udtData=0!=t.udtRecentData.length?t.udtRecentData:t.udtRecommandData,t.chooseRecent=0!=t.udtRecentData.length,t.chooseAll=!1})},g.prototype.getRecentDataInfo=function(){var t=this,e=this.injector.get(d.HttpClient),n=this.editorParams.relativePath||"",n="/"==n[0]?n.split("/")[1]:n.split("/")[0];return e.get("/api/dev/main/v1.0/mdservice/getmdrecentuse?appId="+n+"&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.udtRecentData=r.cloneDeep(t.getRecentData(e))})},g.prototype.getRecommandData=function(e){var i,o=r.cloneDeep(f),e=e.metadataIndexItems||e;return e&&(i=[],e.forEach(function(e){for(var t={name:e.name,label:e.code,hide:!1,active:!1,svg:s.includes(e.code)?e.code:"General",data:e},n=Object.keys(p),a=0;a<n.length;a++)p[n[a]].includes(e.code)&&o[a].data.push(r.cloneDeep(t));i.push(r.cloneDeep(t))}),this.udtAllData=r.cloneDeep(i)),o},g.prototype.getRecentData=function(e){var t=[];return e&&r.cloneDeep(e).forEach(function(e){e={name:e.name,label:e.code,hide:!1,active:!1,svg:s.includes(e.code)?e.code:"General",data:e};t.push(r.cloneDeep(e))}),t},g.prototype.showRecentData=function(){this.udtData=r.cloneDeep(this.udtRecentData),this.chooseRecent=!0,this.chooseAll=!1,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.showRecommandData=function(){this.udtData=r.cloneDeep(this.udtRecommandData),this.chooseRecent=!1,this.chooseAll=!1,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.showAllData=function(){this.udtData=r.cloneDeep(this.udtAllData),this.chooseRecent=!1,this.chooseAll=!0,this.udtData=this.onSearchValueChanged(this.searchValue)},g.prototype.onSearchValueChanged=function(e){e=(e=e==undefined?"":e).originalEvent!=undefined?e.value||"":e;var n=(this.searchValue=e).replaceAll(" ","").replaceAll(">","");return n=(n=""==n?" ":n).toLowerCase(),this.chooseRecent||this.chooseAll?this.udtData.forEach(function(e){var t=(e.name+" "+e.label).toLowerCase();e.hide=0==t.includes(n)}):this.udtData.forEach(function(e){e.data.forEach(function(e){var t=(e.name+" "+e.label).toLowerCase();e.hide=0==t.includes(n)})}),this.udtData},g.prototype.getUdtDataItem=function(t){var n=this;this.chooseRecent||this.chooseAll?this.udtData.forEach(function(e){e.active=t.label==e.label&&!e.active,n.selectedCommand=t.label==e.label?r.cloneDeep(t):n.selectedCommand}):this.udtData.forEach(function(e){e.data.forEach(function(e){e.active=t.label==e.label&&!e.active,n.selectedCommand=t.label==e.label?r.cloneDeep(t):n.selectedCommand})})},g.prototype.onClear=function(){this.udtData=this.onSearchValueChanged("")},g.prototype.getUniqueData=function(e){for(var t=r.cloneDeep(e),n=0;n<t.length;n++)for(var a=n+1;a<t.length;a++)t[n].label==t[a].label&&(t.splice(a,1),a--);return t},g.prototype.foldIn=function(e){e.fold=!e.fold},g.prototype.clickConfirm=function(){var e,t,n,a,i=this;return this.selectedCommand&&this.selectedCommand.active?(e=this.injector.get(d.HttpClient),t="/api/dev/main/v1.0/mdservice/pickMetadata?currentPath="+(this.editorParams.relativePath||""),n=this.selectedCommand.data,a={headers:new d.HttpHeaders({"Content-Type":"application/json"})},e.post(t,n,a).subscribe(function(e){e.metadata.processMode="interpretation"===i.selectedCommand.data.processMode?"interpretation":"general",i.submitModal.emit(e)})):(this.notifyService.info("未选择业务字段"),null)},g.prototype.clickCancel=function(){this.closeModal.emit()},g.prototype.reinvokeInterface=function(e){var t=this;if(e.page){var n,a,e=e.page.total||0;if(1e3<e)return n=this.injector.get(d.HttpClient),a=this.editorParams.relativePath||"",n.get("/api/dev/main/v1.0/mdservice/unionmdlist?path="+a+"&pageIndex=1&pageSize="+e+"&metadataTypeList=.udt",{headers:new d.HttpHeaders({"Content-Type":"application/json"}),responseType:"json"}).subscribe(function(e){t.udtRecommandData=r.cloneDeep(t.getRecommandData(e)),t.udtData=0!=t.udtRecentData.length?t.udtRecentData:t.udtRecommandData,t.chooseRecent=0!=t.udtRecentData.length})}},g.decorators=[{type:a.Component,args:[{selector:"farris-appNavigationUdt",template:'<div class="f-navUdt">\n <div class="f-navUdt-header">\n <div class="f-navUdt-recent" (click)="showRecentData()">\n <div [ngClass]="{\'f-navUdt-recent-text-focus\':chooseRecent && !chooseAll,\'f-navUdt-recent-text\':!chooseRecent || chooseAll}">最近</div>\n </div>\n <div class="f-navUdt-recommand" (click)="showRecommandData()">\n <div [ngClass]="{\'f-navUdt-recommand-text-focus\':!chooseRecent && !chooseAll,\'f-navUdt-recommand-text\': chooseRecent || chooseAll}">推荐\n </div>\n </div>\n <div class="f-navUdt-all" (click)="showAllData()">\n <div [ngClass]="{\'f-navUdt-all-text-focus\': chooseAll,\'f-navUdt-all-text\':!chooseAll }">全部</div>\n </div>\n <div class="f-navUdt-remainder">\n <div class="f-navUdt-search">\n <input-group [groupText]="groupIcon" [(value)]="searchValue"\n (clickHandle)="onSearchValueChanged($event)" (valueChange)="onSearchValueChanged($event)"\n (clear)="onClear()" placeholder="请输入名称/编号搜索" style="font-size:2px;"></input-group>\n </div>\n </div>\n </div>\n \x3c!-- 最近 --\x3e\n <div class="f-navUdt-content-recent" *ngIf="chooseRecent && !chooseAll">\n <ng-container *ngFor="let udtDataItem of udtData">\n <ng-container *ngIf="!udtDataItem.hide">\n <div [ngClass]="{\'f-navUdt-item\':!udtDataItem.active,\'f-navUdt-item-active\':udtDataItem.active}"\n (click)="getUdtDataItem(udtDataItem)">\n <img src="assets/img/{{udtDataItem.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{udtDataItem.name}}</div>\n <div class="f-navUdt-label">{{udtDataItem.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n \x3c!-- 推荐 --\x3e\n <div class="f-navUdt-content-recommand" *ngIf="!chooseRecent && !chooseAll">\n <ng-container *ngFor="let category of udtData; let i = index">\n <div class="f-navUdt-udtCategory">\n <div class="f-navUdt-categoryHeader" (click)="foldIn(category)">\n <div *ngIf="category.fold" class="f-icon f-icon-arrow-60-right"\n style="color:#6E7088;font-size:12px;margin:3px 7px 0 0;"></div>\n <div *ngIf="!category.fold" class="f-icon f-icon-arrow-60-down"\n style="color:#6E7088;font-size:12px;margin:3px 7px 0 0;"></div>\n <div class="f-navUdt-categoryLabel">{{category.name}}</div>\n </div>\n <div class="f-navUdt-categoryContent" *ngIf="!category.fold">\n <ng-container *ngFor="let item of category.data">\n <ng-container *ngIf="!item.hide">\n <div [ngClass]="{\'f-navUdt-item\':!item.active,\'f-navUdt-item-active\':item.active}"\n (click)="getUdtDataItem(item)">\n <img src="assets/img/{{item.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{item.name}}</div>\n <div class="f-navUdt-label">{{item.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </div>\n \x3c!-- 全部 --\x3e\n <div class="f-navUdt-content-recent" *ngIf="chooseAll">\n <ng-container *ngFor="let udtDataItem of udtData">\n <ng-container *ngIf="!udtDataItem.hide">\n <div [ngClass]="{\'f-navUdt-item\':!udtDataItem.active,\'f-navUdt-item-active\':udtDataItem.active}"\n (click)="getUdtDataItem(udtDataItem)">\n <img src="assets/img/{{udtDataItem.svg}}.svg" style="padding:12px 41px 9px 42px;">\n <div class="f-navUdt-name">{{udtDataItem.name}}</div>\n <div class="f-navUdt-label">{{udtDataItem.label}}</div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\x3c!-- 底部区域 --\x3e\n<div class="f-page-bottom">\n <div class="f-page-button">\n <div class="f-page-cancel-btn" (click)="clickCancel()">\n <span class="textCancel">取消</span>\n </div>\n <div class="f-page-sure-btn" (click)="clickConfirm()">\n <span class="textSure">确认</span>\n </div>\n </div>\n</div>',styles:[":host{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.f-page-bottom{margin-top:0;height:60px;width:100%;border:1px solid #dee1ea;background-color:#fff;z-index:2000;bottom:0;left:0;position:absolute;display:flex;justify-content:flex-end;align-items:center}.f-page-button{float:right;margin-right:30px;width:200px;display:flex}.f-page-cancel-btn{width:75px;height:32px;display:inline-block;background:#fff;border:1px solid #d8dce6;box-shadow:0 1px 0 0 rgb(0 0 0 / 4%);border-radius:3px;margin-right:8px;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.f-page-sure-btn{width:100px;height:32px;display:flex;background:#5989e7;border-radius:3px;text-align:center;cursor:pointer;align-items:center;justify-content:center;flex-wrap:wrap}.textCancel{font-family:PingFangSC-Regular;font-size:13px;color:#2d2f33}.textSure{font-family:PingFangSC-Regular;font-size:13px;color:#fff}.f-navUdt{background-color:#fff;height:100%}.f-navUdt-header{display:flex;min-width:400px;width:100%;height:44px;align-items:center;border:1px solid #e5e9ef;background:#f9f9fc;position:absolute;top:0;z-index:2}.f-navUdt-recent{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-recent-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recent-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recommand{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-recommand-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-recommand-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-all{flex:2;text-align:center;display:flex;justify-content:center;align-items:center}.f-navUdt-all-text{width:32px;height:44px;font-family:PingFangSC-Medium;font-size:16px;color:#2d2f33;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-all-text-focus{width:32px;height:44px;color:#2a87ff;border-bottom:3px solid #00f;font-family:PingFangSC-Medium;font-size:16px;font-weight:500;padding-top:12px;cursor:pointer}.f-navUdt-remainder{flex:10}.f-navUdt-search{width:220px;height:26.6px;background:#fff;border-radius:6px;float:right;margin-right:40px}.f-navUdt-content-recommand{width:100%;min-width:400px;height:calc(100% - 110px);overflow:scroll;display:flex;flex-wrap:wrap;margin-top:44px;flex-direction:row;align-content:flex-start}.f-navUdt-content-recent{width:100%;min-width:400px;height:355px;overflow:scroll;display:flex;flex-wrap:wrap;margin-top:44px;margin-left:20px}.f-navUdt-udtCategory{width:100%;margin-left:10px}.f-navUdt-categoryHeader{width:70px;display:flex;margin-top:16px}.f-navUdt-categoryLabel{height:18px;font-family:PingFangSC-Regular;font-size:13px;color:#3d4c6b;font-weight:400;cursor:pointer}.f-navUdt-categoryContent{display:flex;flex-wrap:wrap;margin-left:15px}.f-navUdt-item{border:1px solid #e5e9ef;width:115px;height:100px;background:#fafbfc;border-radius:8px;margin-right:10px;position:relative;z-index:2000;margin-top:10px;cursor:pointer}.f-navUdt-item:hover{background-color:#edf5fc!important;cursor:pointer}.f-navUdt-item-active{border:1px solid #e5e9ef;background-color:#edf5fc!important;width:115px;height:100px;border-radius:8px;margin-right:10px;position:relative;z-index:2000;margin-top:10px;cursor:pointer}.f-navUdt-name{width:98%;height:18px;font-family:PingFangSC-Regular;font-size:13px;color:#2d2f33;font-weight:400;overflow:hidden;display:inline-block;vertical-align:top;text-align:center}.f-navUdt-label{width:98%;font-family:PingFangSC-Regular;font-weight:400;overflow:hidden;display:inline-block;vertical-align:top;height:17px;font-size:12px;color:#a6aebe;text-align:center}.f-navUdt-source{width:100%;height:17px;font-family:PingFangSC-Regular;font-size:12px;color:#949ba7;font-weight:400}"]}]}],g.ctorParameters=function(){return[{type:a.Injector},{type:t.FormBasicService},{type:n.NotifyService}]},g.propDecorators={initialState:[{type:a.Input}],editorParams:[{type:a.Input}],closeModal:[{type:a.Output}],submitModal:[{type:a.Output}],modalFooter:[{type:a.ViewChild,args:["footer"]}]},g);function g(e,t,n){this.injector=e,this.formBasicService=t,this.notifyService=n,this.closeModal=new a.EventEmitter,this.submitModal=new a.EventEmitter,this.groupIcon='<span class="k-icon k-i-search"></span>',this.chooseRecent=!0,this.chooseAll=!1,this.udtRecentData=[],this.udtAllData=[],this.modalConfig={title:"选择业务字段",width:920,height:500,resizable:!0,showButtons:!1,showMaxButton:!1,minWidth:650,minHeight:300}}u.decorators=[{type:a.NgModule,args:[{declarations:[h],imports:[i.CommonModule,o.InputGroupModule,d.HttpClientModule,i.CommonModule,l.FormsModule,c.FarrisPanelModule],exports:[h]}]}];o=u;function u(){}e.AppNavigationUdtComponent=h,e.AppNavigationUdtModule=o,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=farris-app-navigation-udt.umd.min.js.map |
@@ -369,3 +369,3 @@ /** | ||
data => { | ||
data['metadata']['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
data['metadata']['processMode'] = this.selectedCommand.data['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
this.submitModal.emit(data); | ||
@@ -518,2 +518,2 @@ })); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLW5hdmlnYXRpb24tdWR0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmYXJyaXMvYXBwLW5hdmlnYXRpb24tdWR0LyIsInNvdXJjZXMiOlsibGliL2FwcC1uYXZpZ2F0aW9uLXVkdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFFBQVEsRUFBRSxLQUFLLEVBQU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dldFJlY29tbWFuZERhdGEoZGF0YSkpO1xuICAgICAgICAgIHRoaXMudWR0RGF0YSA9IHRoaXMudWR0UmVjZW50RGF0YS5sZW5ndGggIT0gMCA/IHRoaXMudWR0UmVjZW50RGF0YSA6IHRoaXMudWR0UmVjb21tYW5kRGF0YTtcbiAgICAgICAgICB0aGlzLmNob29zZVJlY2VudCA9IHRoaXMudWR0UmVjZW50RGF0YS5sZW5ndGggIT0gMCA/IHRydWUgOiBmYWxzZTtcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -446,3 +446,3 @@ /** | ||
function (data) { | ||
data['metadata']['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
data['metadata']['processMode'] = _this.selectedCommand.data['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
_this.submitModal.emit(data); | ||
@@ -607,2 +607,2 @@ })); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLW5hdmlnYXRpb24tdWR0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmYXJyaXMvYXBwLW5hdmlnYXRpb24tdWR0LyIsInNvdXJjZXMiOlsibGliL2FwcC1uYXZpZ2F0aW9uLXVkdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFFBQVEsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pILE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDdEMsT0FBTyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsT0FBTyxFQUFFLG9CQUFvQixF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KyByZWxhdGl2ZVBhdGggKyAnJnBhZ2VJbmRleD0xJnBhZ2VTaXplPScgKyB0b3RhbE51bSArICcmbWV0YWRhdGFUeXBlTGlzdD0udWR0Jywge1xuICAgICAgICAgIGhlYWRlcnM6IG5ldyBIdHRwSGVhZGVycyh7ICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicgfSksXG4gICAgICAgICAgcmVzcG9uc2VUeXBlOiAnanNvbidcbiAgICAgICAgfSkuc3Vic2NyaWJlKGRhdGEgPT4ge1xuICAgICAgICAgIHRoaXMudWR0UmVjb21tYW5kRGF0YSA9IGNsb25lRGVlcCh0aGlzLmdldFJlY29tbWFuZERhdGEoZGF0YSkpO1xuICAgICAgICAgIHRoaXMudWR0RGF0YSA9IHRoaXMudWR0UmVjZW50RGF0YS5sZW5ndGggIT0gMCA/IHRoaXMudWR0UmVjZW50RGF0YSA6IHRoaXMudWR0UmVjb21tYW5kRGF0YTtcbiAgICAgICAgICB0aGlzLmNob29zZVJlY2VudCA9IHRoaXMudWR0UmVjZW50RGF0YS5sZW5ndGggIT0gMCA/IHRydWUgOiBmYWxzZTtcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLW5hdmlnYXRpb24tdWR0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmYXJyaXMvYXBwLW5hdmlnYXRpb24tdWR0LyIsInNvdXJjZXMiOlsibGliL2FwcC1uYXZpZ2F0aW9uLXVkdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFFBQVEsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FB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WYgKHRvdGFsTnVtID4gMTAwMCkge1xuICAgICAgICBjb25zdCBodHRwID0gdGhpcy5pbmplY3Rvci5nZXQoSHR0cENsaWVudCk7XG4gICAgICAgIGNvbnN0IHJlbGF0aXZlUGF0aCA9IHRoaXMuZWRpdG9yUGFyYW1zLnJlbGF0aXZlUGF0aCB8fCAnJztcbiAgICAgICAgcmV0dXJuIGh0dHAuZ2V0KCcvYXBpL2Rldi9tYWluL3YxLjAvbWRzZXJ2aWNlL3VuaW9ubWRsaXN0P3BhdGg9JyArIHJlbGF0aXZlUGF0aCArICcmcGFnZUluZGV4PTEmcGFnZVNpemU9JyArIHRvdGFsTnVtICsgJyZtZXRhZGF0YVR5cGVMaXN0PS51ZHQnLCB7XG4gICAgICAgICAgaGVhZGVyczogbmV3IEh0dHBIZWFkZXJzKHsgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyB9KSxcbiAgICAgICAgICByZXNwb25zZVR5cGU6ICdqc29uJ1xuICAgICAgICB9KS5zdWJzY3JpYmUoZGF0YSA9PiB7XG4gICAgICAgICAgdGhpcy51ZHRSZWNvbW1hbmREYXRhID0gY2xvbmVEZWVwKHRoaXMuZ2V0UmVjb21tYW5kRGF0YShkYXRhKSk7XG4gICAgICAgICAgdGhpcy51ZHREYXRhID0gdGhpcy51ZHRSZWNlbnREYXRhLmxlbmd0aCAhPSAwID8gdGhpcy51ZHRSZWNlbnREYXRhIDogdGhpcy51ZHRSZWNvbW1hbmREYXRhO1xuICAgICAgICAgIHRoaXMuY2hvb3NlUmVjZW50ID0gdGhpcy51ZHRSZWNlbnREYXRhLmxlbmd0aCAhPSAwID8gdHJ1ZSA6IGZhbHNlO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ== |
@@ -440,3 +440,3 @@ import { cloneDeep } from 'lodash-es'; | ||
data => { | ||
data['metadata']['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
data['metadata']['processMode'] = this.selectedCommand.data['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
this.submitModal.emit(data); | ||
@@ -443,0 +443,0 @@ })); |
@@ -517,3 +517,3 @@ import { cloneDeep } from 'lodash-es'; | ||
function (data) { | ||
data['metadata']['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
data['metadata']['processMode'] = _this.selectedCommand.data['processMode'] === 'interpretation' ? 'interpretation' : 'general'; | ||
_this.submitModal.emit(data); | ||
@@ -520,0 +520,0 @@ })); |
{ | ||
"name": "@farris/app-navigation-udt", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
430250