cnhis-design-vue 3.2.1-release.2 → 3.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/calendar/index.d.ts +1 -11
- package/es/components/calendar/src/Calendar.vue.d.ts +1 -11
- package/es/components/callback/src/components/render/popupMaps.d.ts +72 -70
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +0 -3
- package/es/components/default-page/index.d.ts +71 -0
- package/es/components/default-page/index.js +1 -0
- package/es/components/default-page/src/constants/index.d.ts +19 -0
- package/es/components/default-page/src/constants/index.js +1 -0
- package/es/components/default-page/src/index.vue.d.ts +72 -0
- package/es/components/default-page/src/index.vue.js +1 -0
- package/es/components/default-page/src/index.vue2.js +1 -0
- package/es/components/default-page/style/index.css +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/iho-table/index.d.ts +72 -70
- package/es/components/iho-table/src/IhoTable.vue.d.ts +72 -70
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -1
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +112 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{renderer.d.ts → src/renderer.d.ts} +2 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.d.ts → src/types.d.ts} +3 -3
- package/es/components/iho-table/src/plugins/verticalTablePlugin/{utils.d.ts → src/utils.d.ts} +7 -6
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +33 -4
- package/es/components/iho-table/src/types/pluginType.d.ts +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +4 -1
- package/es/components/index.js +1 -1
- package/es/components/step-notice/index.d.ts +301 -0
- package/es/components/step-notice/index.js +1 -0
- package/es/components/step-notice/src/StepNotice.vue.d.ts +279 -0
- package/es/components/step-notice/src/StepNotice.vue.js +1 -0
- package/es/components/step-notice/src/StepNotice.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +39 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeConnection.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +148 -0
- package/es/components/step-notice/src/components/NoticeItem.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +1 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue.js +1 -0
- package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +1 -0
- package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -0
- package/es/components/step-notice/src/hooks/useTheme.js +1 -0
- package/es/components/step-notice/src/types.d.ts +32 -0
- package/es/components/step-notice/src/types.js +1 -0
- package/es/components/step-notice/src/utils.d.ts +3 -0
- package/es/components/step-notice/src/utils.js +1 -0
- package/es/components/step-notice/style/index.css +1 -0
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10reload.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/1tab.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/2menu.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/3view.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/4system.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/5location.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/6notfound.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/7loading.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/8nopermission.jpg.js +1 -0
- package/es/shared/assets/img/defaultCover/9nodata.jpg.js +1 -0
- package/es/shared/components/JSONTree/JSONTree.vue.d.ts +26 -0
- package/es/shared/components/JSONTree/JSONTree.vue.js +1 -0
- package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -0
- package/es/shared/components/JSONTree/index.d.ts +2 -0
- package/es/shared/components/JSONTree/index.js +1 -0
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +0 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +0 -1
- /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.d.ts → src/constants.d.ts} +0 -0
- /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.js → src/constants.js} +0 -0
- /package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.js → src/types.js} +0 -0
|
@@ -23,7 +23,6 @@ export declare class Print {
|
|
|
23
23
|
private messageHandler;
|
|
24
24
|
private _initDomesticSystem;
|
|
25
25
|
getPicAndUpload(obj: any): Promise<void>;
|
|
26
|
-
_uploadImageServices(uploadParams: AnyObject): Promise<any>;
|
|
27
26
|
private postMessage;
|
|
28
27
|
messageCollect(id: string, data: AnyObject): Promise<unknown>;
|
|
29
28
|
messageCollectAndNotifyFail(id: string, data: AnyObject, messageTimeout: number): Promise<unknown>;
|
|
@@ -35,6 +34,7 @@ export declare class Print {
|
|
|
35
34
|
showPreview(...args: Parameters<PreviewDialog['show']>): Promise<string>;
|
|
36
35
|
_testConnection(): Promise<unknown>;
|
|
37
36
|
_queryServicesPrint(params: AnyObject): Promise<any>;
|
|
37
|
+
_queryBase64ServicesPrint(params: AnyObject): Promise<any>;
|
|
38
38
|
_callPrintWithFile(queryParams: AnyObject): Promise<any>;
|
|
39
39
|
_handleMonitorNotify(message: string | unknown): void;
|
|
40
40
|
_handleResult(data: AnyObject, errorCallbackFn?: AnyFn): false | AnyObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"axios";import{isArray as e}from"lodash-es";import{IdentityVerificationDialog as i,PreviewDialog as s}from"./dialog.js";import{getFileUrl as r,useBrowserPrint as a,isIReport as n}from"./browserPrint.js";import{getCurrentInstance as o}from"vue";import{uuidGenerator as l}from"../../../../shared/utils/index.js";import{format as c}from"date-fns";import{io as h}from"socket.io-client";const d=t.create({timeout:6e4,withCredentials:!1}),m=`${window.location.protocol}//${window.location.host}`,p=`${m}/fdp-api/print/assembly/printIReport`,u=`${m}/bi-api/reprot/print/open/client/printIReportForBase64`,f=`${m}/bi-api/reprot/print/open/client/previewIReport`,w=`${m}/bi-api/reprot/print/open/client/getRemote`,y=`${m}/bi-api/reprot/print/open/client/uploadTemplate`,g=`${m}/printService/file`;let P=null;class v{constructor(){var t,e,r;if(this.webview=null,this.dialog=new i,this.dialogPreview=new s,this.instance=null,this.downloadPath="",this.printOrigin="http://127.0.0.1:11111",this.isRemote=!1,this.CMonitor=null,this.queryServicesParams=null,this.isConnectHiPrint=!1,this.clientInfo=null,this.printerList=[],this.hiPrintSocket=null,this.base64Fragment="",this._successCallbackFn=null,this._errorCallbackFn=null,this.messageHandlerQueue=[],P)return P;P=this,this._initDomesticSystem();const a=window;this.CMonitor=a.$CMonitor;try{this.webview=a.top?null==(t=a.top.chrome)?void 0:t.webview:null==(e=a.chrome)?void 0:e.webview}catch(t){console.log(t),this.webview=null==(r=a.chrome)?void 0:r.webview}if(this.webview){this.currentMessageHandler=this.messageHandler.bind(this),this.webview.addEventListener("message",this.currentMessageHandler);try{this.webview.postMessage({exec:"config",data:""})}catch(t){const e="当前浏览器版本不支持获取配置接口";this._handleMonitorNotify(e),console.log("非封装浏览器或者"+e)}}}messageHandler(t){var e;if(console.log("打印事件message",t),!t)return this._handleMonitorNotify("接收到空的浏览器事件,"+t),console.log("当前回执",t,"接收到空的浏览器事件");let i;try{i=JSON.parse(t.data||"{}")}catch(e){console.log("解析e.data失败,"+e),this._handleMonitorNotify("解析e.data失败,"+t)}if(["print","pdf"].includes(null==i?void 0:i.cmd)){console.log("打印命令执行了",i);const e=this.messageHandlerQueue.shift();if(!e)return console.log("当前回执",t,"没有可用的handler");const{resolve:s,reject:r}=e;try{s(i.res||"")}catch(t){r(t)}}else"config"===(null==i?void 0:i.exec)&&(this.downloadPath=(null==(e=i.res)?void 0:e.downloadpath)||"")}_initDomesticSystem(){try{this.hiPrintSocket=h("http://127.0.0.1:17521",{transports:["websocket"],auth:{token:"no-use-vue-plugin-hiprint"}}),this.hiPrintSocket&&(this.hiPrintSocket.on("connect",(()=>{this.isConnectHiPrint=!0})),this.hiPrintSocket.on("disconnect",(()=>{this.isConnectHiPrint=!1})),this.hiPrintSocket.on("clientInfo",(t=>{console.log("获取到客户端信息>>>>>",t),t.clientUrl&&(this.clientInfo=t)})),this.hiPrintSocket.on("printerList",(t=>{this.printerList=t,console.log("获取到打印机列表信息>>>>>",t)})),this.hiPrintSocket.on("success",(t=>{console.log("打印成功>>>>>",t),this.base64Fragment="",this._successCallbackFn&&this._successCallbackFn(t)})),this.hiPrintSocket.on("replayPrinterTemplate",(t=>{console.log("获取到数据的回复>>>>>",t),t&&this.hiPrintSocket.emit("news",t)})),this.hiPrintSocket.on("error",(t=>{console.log("打印失败>>>>>",t),this.base64Fragment="",this._errorCallbackFn&&this._errorCallbackFn(t)})))}catch(t){console.log("hiprint系统连接失败",t)}}async getPicAndUpload(t){try{const e=t=>"[object Object]"===Object.prototype.toString.call(t);if("success"===(null==t?void 0:t.result)&&"Y"==(null==t?void 0:t.uploadTemplateFlag)&&!(null==t?void 0:t.filebase64)&&this.queryServicesParams){const t=e(this.queryServicesParams.params)?this.queryServicesParams.params:JSON.parse(this.queryServicesParams.params);t.uploadTemplateFlag="Y",this.queryServicesParams.params=JSON.stringify(t),this.queryServicesParams.cmdid="7",this.queryServicesParams.print={print:1,type:2,callback:1};const i=await this._queryServicesPrint(this.queryServicesParams);if(i&&i.filebase64&&i.key){const t={templateId:this.queryServicesParams.templateId,formatId:this.queryServicesParams.formatId,fileBase64:i.filebase64,authorizationKey:i.key,params:this.queryServicesParams.params},e=await this._uploadImageServices(t);"success"===(null==e?void 0:e.result)&&console.log("图片上传成功")}}}catch(t){console.log(t)}finally{this.queryServicesParams=null}}async _uploadImageServices(t){const e=new FormData;Object.keys(t).forEach((i=>{e.append(i,t[i])}));const{data:i}=await d({method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},url:y,data:e})||{};return i}async postMessage(t,e=0){if(!this.webview)return Promise.reject();const i=l();return e&&e>0?this.messageCollectAndNotifyFail(i,t,e):this.messageCollect(i,t)}messageCollect(t,e){return new Promise(((i,s)=>{this.messageHandlerQueue.push({resolve:i,reject:s,id:t}),this.webview.postMessage(e)}))}messageCollectAndNotifyFail(t,e,i){return Promise.race([new Promise(((i,s)=>{this.messageHandlerQueue.push({resolve:i,reject:s,id:t}),this.webview.postMessage(e)})),new Promise(((e,s)=>{setTimeout((()=>{const e=this.messageHandlerQueue.findIndex((e=>e.id===t));e>-1&&this.messageHandlerQueue.splice(e,1),s({type:"timeout"})}),i)}))])}destroy(){}show(...t){return this.dialog.show(...t)}showPreview(...t){return this.dialogPreview.show(...t)}_testConnection(){return this.webview?Promise.resolve(!0):new Promise((t=>{d({url:`${this.printOrigin}/test`,method:"get",withCredentials:!1,params:{inputdata:{result:"success"}}}).then((({data:e})=>{"success"===e.result?t(!0):t(!1)})).catch((e=>{t(!1)}))}))}_queryServicesPrint(e){return this.webview?this.postMessage({exec:"print",data:{inputData:e}},null==e?void 0:e.messageTimeout):t({url:this.printOrigin+"/services/print",method:"get",params:{inputData:JSON.stringify(e)}}).then((({data:t})=>t))}_callPrintWithFile(t){const e={cmdid:"7",flag:"1"},i={inputData:JSON.stringify(Object.assign({},e,t))};return this.webview?this.postMessage({exec:"print",data:s(i)}):d({url:this.printOrigin+"/PrintLocal",method:"post",data:i,transformRequest:[s]}).then((({data:t})=>t));function s(t){let e="";for(const i in t)e+=encodeURIComponent(i)+"="+encodeURIComponent(t[i])+"&";return e=e.slice(0,-1),e}}_handleMonitorNotify(t){var e,i;null==(i=null==(e=this.CMonitor)?void 0:e.notify)||i.call(e,{name:"custom_info",message:t,businessName:"打印sdk"})}_handleResult(t,e){if(!t){const t="打印命令返回空数据";return this._handleMonitorNotify(""),null==e||e({type:"printError",message:t,result:!1,errinfo:t}),!1}if("success"!==t.result){const i=t.message||t.Message;this._handleMonitorNotify(i);const s={type:"printError",message:i,result:t.result,errinfo:t.errinfo};return null==e||e(s),!1}return t}_handleResultTest(t,e){return!!t||(console.log("notInstalledApp"),null==e||e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}async _handleEventQueryPrintData(t,e,i,s,r){const a={templateId:t,formatId:e,params:i,cmdid:"7",messageTimeout:s},n=await this._queryServicesPrint(a);return this._handleQueryPrintDataResult(n,e,r)}_handleQueryPrintDataResult(t,e,i){if(!(null==t?void 0:t.file)){try{const e=t.message||t.Message;console.log(e),null==i||i({type:"queryPrintDataFailure",message:e})}catch(t){console.log(t)}return!1}return{file:t.file,printerName:t.defprinter,pageCount:t.pagecount,formatId:e}}async _handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:r,print:a,signature:n,printdlgshow:o="0",nobillnode:l="1",btnprint:h="1",messageTimeout:d=0}){const m={templateId:t,formatId:e,params:i,cmdid:r,nobillnode:l,printdlgshow:o,btnprint:h,messageTimeout:d,...n?{signature:n}:{}};if(s&&(m.paramsArr=s),a){try{a=JSON.parse(a)}catch(t){}m.print=a}else if(this.isRemote){const t=c(new Date,"yyyyMMddHHmmss");m.print={print:"1",type:"1",zip:"0",filename:`F:\\WorkSpace\\crmweb\\web\\${t}\\${t}`}}return this.queryServicesParams=m,await this._queryServicesPrint(m)}async _handleEventEditFormat({templateId:t,formatId:e="",params:i="",token:s,messageTimeout:r=0}){const a={};let n={};try{n=Object.assign({},a,JSON.parse(i))}catch(t){n=a}const o={templateId:t,formatId:e,cmdid:"9",token:s,params:JSON.stringify(n),messageTimeout:r};return await this._queryServicesPrint(o)}async _queryProxyOrigin(){if(this.isRemote)return;const{data:t}=await d({method:"get",url:w})||{},{map:e={}}=t;e.isRemote&&(this.printOrigin=m+"/printService",this.isRemote=!0)}async _queryPrintFile(t,e=""){const{data:i}=await d({method:"post",url:p,responseType:"blob",params:{formatId:t.split("_")[1],params:e}})||{};return i}paramsSerializer(t){return Object.keys(t).forEach((e=>{const i=t[e];t[e]=i,"biParams"==e&&(t[e]=encodeURIComponent(i))})),t}async _queryPrintForBase64(t,e,i="",s){const r="object"==typeof i?i:JSON.parse(i),{data:a}=await d({method:"post",url:u,params:{id:t,formatId:e.split("_")[1],params:this.paramsSerializer(r),authorizationKey:s}})||{};return a}async _queryPrintForPdf(t,e,i="",s){const r="object"==typeof i?i:JSON.parse(i),{data:a}=await d({method:"post",url:f,responseType:"blob",params:{id:t,formatId:e.split("_")[1],params:this.paramsSerializer(r),authorizationKey:s}})||{};return a}async _browserPrint(t,e){if(this.isRemote){const{filedir:i}=t,s=JSON.parse(i)[0].replace(/\\/g,"/").split("/"),n=s[s.length-2],o=s[s.length-1],l=await r(`${g}/${n}/${o}`),c=a(null,e,l);if("preview"===e)return c}}_base64ToBlob(t,e){const i=window.atob(t);let s=i.length;const r=new Uint8Array(s);for(;s--;)r[s]=i.charCodeAt(s);return new Blob([r],{type:e})}async preview({templateId:t,formatId:e,params:i="",paramsArr:s,authorizationKey:r,signature:l,btnprint:c,messageTimeout:h=0},d,m){if(n(e)){const s=await this._queryPrintForPdf(t,e,i,r);if(!s)return null==m?void 0:m("获取文件失败!");const n=a(s,"preview");return this.instance||(this.instance=o()),this.showPreview(this.instance,n),null==d?void 0:d({file:s})}await this._queryProxyOrigin();const p=await this._testConnection();if(!this._handleResultTest(p,m))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:this.isRemote?"7":"8",signature:l,btnprint:c,messageTimeout:h}),a=this._handleResult(r,m);if(!a)return!1;if(this.isRemote){const t=await this._browserPrint(a,"preview");this.instance||(this.instance=o()),this.showPreview(this.instance,t)}await this.getPicAndUpload(a),null==d||d(a)}catch(t){const e="预览失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==m||m(i),this._handleMonitorNotify(i)}}async printSync(t,e,i){const s=t.map((t=>{const e={params:"",printdlgshow:"0",nobillnode:"1",btnprint:"1",...t,cmdid:"7",...t.signature?{signature:t.signature}:{}};if(e.print)try{e.print=JSON.parse(e.print)}catch(t){}return{inputData:e}}));try{const t=l(),r=await this.messageCollect(t,{exec:"printA",data:s});if(r&&Array.isArray(r)){r.some((t=>"success"===t.res.result))?null==e||e(r):(null==i||i(r),this._handleMonitorNotify(r))}else{const t="打印命令返回无效数据";this._handleMonitorNotify(r||""),null==i||i({type:"printError",message:t,result:!1,errinfo:t})}}catch(t){const e={error:t,message:"打印失败"};null==i||i(e),this._handleMonitorNotify(e)}}async printDirect({templateId:t,formatId:e,params:i="",paramsArr:s,authorizationKey:r,print:a,signature:o,printdlgshow:l,nobillnode:c,isDownloadFile:h=!0,messageTimeout:d=0},m,p,u="printDirect"){if(n(e)){if(!this.isConnectHiPrint)return void p({message:"请连接hiPrint客户端"});const s=await this._queryPrintForBase64(t,e,i,r);if(!s.success)return p({message:s.resultMsg});const{base64:a,formatId:n}=s.map;return this.base64Fragment=a,this._successCallbackFn=m,this._errorCallbackFn=p,void this.hiPrintSocket.emit("news",{printerList:this.printerList,type:"askPrinterTemplate",markTemplateId:n,pdf_stream:this.base64Fragment})}await this._queryProxyOrigin();const f=await this._testConnection();if(!this._handleResultTest(f,p))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:"7",print:a,signature:o,printdlgshow:l,nobillnode:c,messageTimeout:d}),n=this._handleResult(r,p);if(!n)return!1;h&&["downloadPDF"].includes(u)&&await this._browserPrint(n,u),null==m||m(n)}catch(t){const e="printDirect"===u?"打印失败":"下载失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==p||p(i),this._handleMonitorNotify(i)}}_downloadPDF(t){return this.webview?this.postMessage({exec:"pdf",data:{file:t}}):d.get(this.printOrigin+"/download",{params:{inputData:t}}).then((({data:t})=>t))}async downloadPDF(t,i,s){if(this.webview&&this.downloadPath&&(Reflect.has(t,"print")||Reflect.set(t,"print",{print:"1",type:"1"}),!t.print.filename)){const e=c(new Date,"yyyy-MM-dd"),i=l(),s=c(new Date,"yyyyMMddHHmmss")+i;t.print.filename=`${this.downloadPath}/${e}/${s}/${s}`.replace(/\\/g,"/")}if(n(t.formatId)){const e=await this._queryPrintForPdf(t.templateId||"",t.formatId,t.params,t.authorizationKey);return e?(a(e,"downloadPDF"),i({file:e})):null==s?void 0:s("获取文件失败!")}this.printDirect(t,(async t=>{t||s(null);const r=this,a=await async function(t){const i=[],s=JSON.parse(t);if(!e(s))return await r._downloadPDF("");if(1===s.length)return await r._downloadPDF(s[0]||"");for(let t=0,e=s.length;t<e;t++)i.push(await r._downloadPDF(s[t]||""));return i}(t.filedir);i(a,t)}),(t=>s(t)),"downloadPDF")}async print({templateId:t,formatId:e,params:i="",messageTimeout:s=0},r,a){const n=await this._testConnection();if(!this._handleResultTest(n,a))return!1;const o=await this.queryPrintData({templateId:t,formatId:e,params:i,messageTimeout:s},void 0,a);if(!o)return!1;const l=this.printFileData({formatId:e,file:o.file,printerName:o.printerName},void 0,a);if(!l)return!1;r&&r(l)}async queryPrintData({templateId:t,formatId:e,params:i="",messageTimeout:s=0},r,a){const n=await this._testConnection();if(!this._handleResultTest(n,a))return!1;const o=await this._handleEventQueryPrintData(t,e,i,s,a);return!!o&&(r&&r(o),o)}async printFileData({formatId:t,file:e,printerName:i="Default"},s,r){const a=await this._testConnection();if(!this._handleResultTest(a,r))return!1;const n=await this._callPrintWithFile({formatId:t,printname:i,file:e}),o=this._handleResult(n,r);return!!o&&(s&&s(o),o)}async editPrintFormat({templateId:t,formatId:e,params:i,token:s,messageTimeout:r=0},a,n){const o=await this._testConnection();if(!this._handleResultTest(o,n))return!1;const l=await this._handleEventEditFormat({templateId:t,formatId:e,params:i,token:s,messageTimeout:r}),c=this._handleResult(l,n);if(!c)return!1;a&&a(c)}async addPrintFormat({templateId:t,params:e,token:i},s,r){const a=await this._testConnection();if(!this._handleResultTest(a,r))return!1;const n=await this._handleEventEditFormat({templateId:t,params:e,token:i}),o=this._handleResult(n,r);if(!o)return!1;s&&s(o)}}export{v as Print};
|
|
1
|
+
import t from"axios";import{isArray as e}from"lodash-es";import{IdentityVerificationDialog as i,PreviewDialog as s}from"./dialog.js";import{getFileUrl as r,useBrowserPrint as n,isIReport as a}from"./browserPrint.js";import{getCurrentInstance as o}from"vue";import{uuidGenerator as l}from"../../../../shared/utils/index.js";import{format as c}from"date-fns";import{io as h}from"socket.io-client";const m=t.create({timeout:6e4,withCredentials:!1}),d=`${window.location.protocol}//${window.location.host}`,u=`${d}/fdp-api/print/assembly/printIReport`,p=`${d}/bi-api/reprot/print/open/client/printIReportForBase64`,f=`${d}/bi-api/reprot/print/open/client/previewIReport`,g=`${d}/bi-api/reprot/print/open/client/getRemote`,w=`${d}/printService/file`;let y=null;class P{constructor(){var t,e,r;if(this.webview=null,this.dialog=new i,this.dialogPreview=new s,this.instance=null,this.downloadPath="",this.printOrigin="http://127.0.0.1:11111",this.isRemote=!1,this.CMonitor=null,this.queryServicesParams=null,this.isConnectHiPrint=!1,this.clientInfo=null,this.printerList=[],this.hiPrintSocket=null,this.base64Fragment="",this._successCallbackFn=null,this._errorCallbackFn=null,this.messageHandlerQueue=[],y)return y;y=this,this._initDomesticSystem();const n=window;this.CMonitor=n.$CMonitor;try{this.webview=n.top?null==(t=n.top.chrome)?void 0:t.webview:null==(e=n.chrome)?void 0:e.webview}catch(t){console.log(t),this.webview=null==(r=n.chrome)?void 0:r.webview}if(this.webview){this.currentMessageHandler=this.messageHandler.bind(this),this.webview.addEventListener("message",this.currentMessageHandler);try{this.webview.postMessage({exec:"config",data:""})}catch(t){const e="当前浏览器版本不支持获取配置接口";this._handleMonitorNotify(e),console.log("非封装浏览器或者"+e)}}}messageHandler(t){var e;if(console.log("打印事件message",t),!t)return this._handleMonitorNotify("接收到空的浏览器事件,"+t),console.log("当前回执",t,"接收到空的浏览器事件");let i;try{i=JSON.parse(t.data||"{}")}catch(e){console.log("解析e.data失败,"+e),this._handleMonitorNotify("解析e.data失败,"+t)}if(["print","pdf"].includes(null==i?void 0:i.cmd)){console.log("打印命令执行了",i);const e=this.messageHandlerQueue.shift();if(!e)return console.log("当前回执",t,"没有可用的handler");const{resolve:s,reject:r}=e;try{s(i.res||"")}catch(t){r(t)}}else"config"===(null==i?void 0:i.exec)&&(this.downloadPath=(null==(e=i.res)?void 0:e.downloadpath)||"")}_initDomesticSystem(){try{this.hiPrintSocket=h("http://127.0.0.1:17521",{transports:["websocket"],auth:{token:"no-use-vue-plugin-hiprint"}}),this.hiPrintSocket&&(this.hiPrintSocket.on("connect",(()=>{this.isConnectHiPrint=!0})),this.hiPrintSocket.on("disconnect",(()=>{this.isConnectHiPrint=!1})),this.hiPrintSocket.on("clientInfo",(t=>{console.log("获取到客户端信息>>>>>",t),t.clientUrl&&(this.clientInfo=t)})),this.hiPrintSocket.on("printerList",(t=>{this.printerList=t,console.log("获取到打印机列表信息>>>>>",t)})),this.hiPrintSocket.on("success",(t=>{console.log("打印成功>>>>>",t),this.base64Fragment="",this._successCallbackFn&&this._successCallbackFn(t)})),this.hiPrintSocket.on("replayPrinterTemplate",(t=>{console.log("获取到数据的回复>>>>>",t),t&&this.hiPrintSocket.emit("news",t)})),this.hiPrintSocket.on("error",(t=>{console.log("打印失败>>>>>",t),this.base64Fragment="",this._errorCallbackFn&&this._errorCallbackFn(t)})))}catch(t){console.log("hiprint系统连接失败",t)}}async getPicAndUpload(t){try{const e=t=>"[object Object]"===Object.prototype.toString.call(t);if("success"===(null==t?void 0:t.result)&&"Y"==(null==t?void 0:t.uploadTemplateFlag)&&!(null==t?void 0:t.filebase64)&&this.queryServicesParams){const t=e(this.queryServicesParams.params)?this.queryServicesParams.params:JSON.parse(this.queryServicesParams.params);t.uploadTemplateFlag="Y",this.queryServicesParams.params=JSON.stringify(t),this.queryServicesParams.cmdid="7",this.queryServicesParams.print={print:1,type:6,zip:0},this.queryServicesParams.paramsArr=[{params:JSON.stringify(t)}];await this._queryBase64ServicesPrint(this.queryServicesParams)}}catch(t){console.log(t)}finally{this.queryServicesParams=null}}async postMessage(t,e=0){if(!this.webview)return Promise.reject();const i=l();return e&&e>0?this.messageCollectAndNotifyFail(i,t,e):this.messageCollect(i,t)}messageCollect(t,e){return new Promise(((i,s)=>{this.messageHandlerQueue.push({resolve:i,reject:s,id:t}),this.webview.postMessage(e)}))}messageCollectAndNotifyFail(t,e,i){return Promise.race([new Promise(((i,s)=>{this.messageHandlerQueue.push({resolve:i,reject:s,id:t}),this.webview.postMessage(e)})),new Promise(((e,s)=>{setTimeout((()=>{const e=this.messageHandlerQueue.findIndex((e=>e.id===t));e>-1&&this.messageHandlerQueue.splice(e,1),s({type:"timeout"})}),i)}))])}destroy(){}show(...t){return this.dialog.show(...t)}showPreview(...t){return this.dialogPreview.show(...t)}_testConnection(){return this.webview?Promise.resolve(!0):new Promise((t=>{m({url:`${this.printOrigin}/test`,method:"get",withCredentials:!1,params:{inputdata:{result:"success"}}}).then((({data:e})=>{"success"===e.result?t(!0):t(!1)})).catch((e=>{t(!1)}))}))}_queryServicesPrint(e){return this.webview?this.postMessage({exec:"print",data:{inputData:e}},null==e?void 0:e.messageTimeout):t({url:this.printOrigin+"/services/print",method:"get",params:{inputData:JSON.stringify(e)}}).then((({data:t})=>t))}_queryBase64ServicesPrint(t){return this.webview?this.postMessage({exec:"print",data:{inputData:t}}):m({url:"/services/Printqueue",method:"get",params:{inputData:JSON.stringify(t)}}).then((({data:t})=>t))}_callPrintWithFile(t){const e={cmdid:"7",flag:"1"},i={inputData:JSON.stringify(Object.assign({},e,t))};return this.webview?this.postMessage({exec:"print",data:s(i)}):m({url:this.printOrigin+"/PrintLocal",method:"post",data:i,transformRequest:[s]}).then((({data:t})=>t));function s(t){let e="";for(const i in t)e+=encodeURIComponent(i)+"="+encodeURIComponent(t[i])+"&";return e=e.slice(0,-1),e}}_handleMonitorNotify(t){var e,i;null==(i=null==(e=this.CMonitor)?void 0:e.notify)||i.call(e,{name:"custom_info",message:t,businessName:"打印sdk"})}_handleResult(t,e){if(!t){const t="打印命令返回空数据";return this._handleMonitorNotify(""),null==e||e({type:"printError",message:t,result:!1,errinfo:t}),!1}if("success"!==t.result){const i=t.message||t.Message;this._handleMonitorNotify(i);const s={type:"printError",message:i,result:t.result,errinfo:t.errinfo};return null==e||e(s),!1}return t}_handleResultTest(t,e){return!!t||(console.log("notInstalledApp"),null==e||e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}async _handleEventQueryPrintData(t,e,i,s,r){const n={templateId:t,formatId:e,params:i,cmdid:"7",messageTimeout:s},a=await this._queryServicesPrint(n);return this._handleQueryPrintDataResult(a,e,r)}_handleQueryPrintDataResult(t,e,i){if(!(null==t?void 0:t.file)){try{const e=t.message||t.Message;console.log(e),null==i||i({type:"queryPrintDataFailure",message:e})}catch(t){console.log(t)}return!1}return{file:t.file,printerName:t.defprinter,pageCount:t.pagecount,formatId:e}}async _handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:r,print:n,signature:a,printdlgshow:o="0",nobillnode:l="1",btnprint:h="1",messageTimeout:m=0}){const d={templateId:t,formatId:e,params:i,cmdid:r,nobillnode:l,printdlgshow:o,btnprint:h,messageTimeout:m,...a?{signature:a}:{}};if(s&&(d.paramsArr=s),n){try{n=JSON.parse(n)}catch(t){}d.print=n}else if(this.isRemote){const t=c(new Date,"yyyyMMddHHmmss");d.print={print:"1",type:"1",zip:"0",filename:`F:\\WorkSpace\\crmweb\\web\\${t}\\${t}`}}return this.queryServicesParams=d,await this._queryServicesPrint(d)}async _handleEventEditFormat({templateId:t,formatId:e="",params:i="",token:s,messageTimeout:r=0}){const n={};let a={};try{a=Object.assign({},n,JSON.parse(i))}catch(t){a=n}const o={templateId:t,formatId:e,cmdid:"9",token:s,params:JSON.stringify(a),messageTimeout:r};return await this._queryServicesPrint(o)}async _queryProxyOrigin(){if(this.isRemote)return;const{data:t}=await m({method:"get",url:g})||{},{map:e={}}=t;e.isRemote&&(this.printOrigin=d+"/printService",this.isRemote=!0)}async _queryPrintFile(t,e=""){const{data:i}=await m({method:"post",url:u,responseType:"blob",params:{formatId:t.split("_")[1],params:e}})||{};return i}paramsSerializer(t){return Object.keys(t).forEach((e=>{const i=t[e];t[e]=i,"biParams"==e&&(t[e]=encodeURIComponent(i))})),t}async _queryPrintForBase64(t,e,i="",s){const r="object"==typeof i?i:JSON.parse(i),{data:n}=await m({method:"post",url:p,params:{id:t,formatId:e.split("_")[1],params:this.paramsSerializer(r),authorizationKey:s}})||{};return n}async _queryPrintForPdf(t,e,i="",s){const r="object"==typeof i?i:JSON.parse(i),{data:n}=await m({method:"post",url:f,responseType:"blob",params:{id:t,formatId:e.split("_")[1],params:this.paramsSerializer(r),authorizationKey:s}})||{};return n}async _browserPrint(t,e){if(this.isRemote){const{filedir:i}=t,s=JSON.parse(i)[0].replace(/\\/g,"/").split("/"),a=s[s.length-2],o=s[s.length-1],l=await r(`${w}/${a}/${o}`),c=n(null,e,l);if("preview"===e)return c}}_base64ToBlob(t,e){const i=window.atob(t);let s=i.length;const r=new Uint8Array(s);for(;s--;)r[s]=i.charCodeAt(s);return new Blob([r],{type:e})}async preview({templateId:t,formatId:e,params:i="",paramsArr:s,authorizationKey:r,signature:l,btnprint:c,messageTimeout:h=0},m,d){if(a(e)){const s=await this._queryPrintForPdf(t,e,i,r);if(!s)return null==d?void 0:d("获取文件失败!");const a=n(s,"preview");return this.instance||(this.instance=o()),this.showPreview(this.instance,a),null==m?void 0:m({file:s})}await this._queryProxyOrigin();const u=await this._testConnection();if(!this._handleResultTest(u,d))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:this.isRemote?"7":"8",signature:l,btnprint:c,messageTimeout:h}),n=this._handleResult(r,d);if(!n)return!1;if(this.isRemote){const t=await this._browserPrint(n,"preview");this.instance||(this.instance=o()),this.showPreview(this.instance,t)}await this.getPicAndUpload(n),null==m||m(n)}catch(t){const e="预览失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==d||d(i),this._handleMonitorNotify(i)}}async printSync(t,e,i){const s=t.map((t=>{const e={params:"",printdlgshow:"0",nobillnode:"1",btnprint:"1",...t,cmdid:"7",...t.signature?{signature:t.signature}:{}};if(e.print)try{e.print=JSON.parse(e.print)}catch(t){}return{inputData:e}}));try{const t=l(),r=await this.messageCollect(t,{exec:"printA",data:s});if(r&&Array.isArray(r)){r.some((t=>"success"===t.res.result))?null==e||e(r):(null==i||i(r),this._handleMonitorNotify(r))}else{const t="打印命令返回无效数据";this._handleMonitorNotify(r||""),null==i||i({type:"printError",message:t,result:!1,errinfo:t})}}catch(t){const e={error:t,message:"打印失败"};null==i||i(e),this._handleMonitorNotify(e)}}async printDirect({templateId:t,formatId:e,params:i="",paramsArr:s,authorizationKey:r,print:n,signature:o,printdlgshow:l,nobillnode:c,isDownloadFile:h=!0,messageTimeout:m=0},d,u,p="printDirect"){if(a(e)){if(!this.isConnectHiPrint)return void u({message:"请连接hiPrint客户端"});const s=await this._queryPrintForBase64(t,e,i,r);if(!s.success)return u({message:s.resultMsg});const{base64:n,formatId:a}=s.map;return this.base64Fragment=n,this._successCallbackFn=d,this._errorCallbackFn=u,void this.hiPrintSocket.emit("news",{printerList:this.printerList,type:"askPrinterTemplate",markTemplateId:a,pdf_stream:this.base64Fragment})}await this._queryProxyOrigin();const f=await this._testConnection();if(!this._handleResultTest(f,u))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,paramsArr:s,cmdid:"7",print:n,signature:o,printdlgshow:l,nobillnode:c,messageTimeout:m}),a=this._handleResult(r,u);if(!a)return!1;h&&["downloadPDF"].includes(p)&&await this._browserPrint(a,p),null==d||d(a)}catch(t){const e="printDirect"===p?"打印失败":"下载失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==u||u(i),this._handleMonitorNotify(i)}}_downloadPDF(t){return this.webview?this.postMessage({exec:"pdf",data:{file:t}}):m.get(this.printOrigin+"/download",{params:{inputData:t}}).then((({data:t})=>t))}async downloadPDF(t,i,s){if(this.webview&&this.downloadPath&&(Reflect.has(t,"print")||Reflect.set(t,"print",{print:"1",type:"1"}),!t.print.filename)){const e=c(new Date,"yyyy-MM-dd"),i=l(),s=c(new Date,"yyyyMMddHHmmss")+i;t.print.filename=`${this.downloadPath}/${e}/${s}/${s}`.replace(/\\/g,"/")}if(a(t.formatId)){const e=await this._queryPrintForPdf(t.templateId||"",t.formatId,t.params||"",t.authorizationKey);return e?(n(e,"downloadPDF"),i({file:e})):null==s?void 0:s("获取文件失败!")}this.printDirect(t,(async t=>{t||s(null);const r=this,n=await async function(t){const i=[],s=JSON.parse(t);if(!e(s))return await r._downloadPDF("");if(1===s.length)return await r._downloadPDF(s[0]||"");for(let t=0,e=s.length;t<e;t++)i.push(await r._downloadPDF(s[t]||""));return i}(t.filedir);i(n,t)}),(t=>s(t)),"downloadPDF")}async print({templateId:t,formatId:e,params:i="",messageTimeout:s=0},r,n){const a=await this._testConnection();if(!this._handleResultTest(a,n))return!1;const o=await this.queryPrintData({templateId:t,formatId:e,params:i,messageTimeout:s},void 0,n);if(!o)return!1;const l=this.printFileData({formatId:e,file:o.file,printerName:o.printerName},void 0,n);if(!l)return!1;r&&r(l)}async queryPrintData({templateId:t,formatId:e,params:i="",messageTimeout:s=0},r,n){const a=await this._testConnection();if(!this._handleResultTest(a,n))return!1;const o=await this._handleEventQueryPrintData(t,e,i,s,n);return!!o&&(r&&r(o),o)}async printFileData({formatId:t,file:e,printerName:i="Default"},s,r){const n=await this._testConnection();if(!this._handleResultTest(n,r))return!1;const a=await this._callPrintWithFile({formatId:t,printname:i,file:e}),o=this._handleResult(a,r);return!!o&&(s&&s(o),o)}async editPrintFormat({templateId:t,formatId:e,params:i,token:s,messageTimeout:r=0},n,a){const o=await this._testConnection();if(!this._handleResultTest(o,a))return!1;const l=await this._handleEventEditFormat({templateId:t,formatId:e,params:i,token:s,messageTimeout:r}),c=this._handleResult(l,a);if(!c)return!1;n&&n(c)}async addPrintFormat({templateId:t,params:e,token:i},s,r){const n=await this._testConnection();if(!this._handleResultTest(n,r))return!1;const a=await this._handleEventEditFormat({templateId:t,params:e,token:i}),o=this._handleResult(a,r);if(!o)return!1;s&&s(o)}}export{P as Print};
|
|
@@ -228,17 +228,7 @@ declare const Calendar: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
228
228
|
NIcon: any;
|
|
229
229
|
ChevronBackOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
230
230
|
ChevronForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
231
|
-
FullCalendar:
|
|
232
|
-
options: import("vue").PropType<import("@fullcalendar/core/internal-common").a>;
|
|
233
|
-
}, unknown, {
|
|
234
|
-
renderId: number;
|
|
235
|
-
customRenderingMap: Map<string, import("@fullcalendar/core/internal-common").eF<any>>;
|
|
236
|
-
}, {}, {
|
|
237
|
-
getApi(): import("@fullcalendar/core").Calendar;
|
|
238
|
-
buildOptions(suppliedOptions: import("@fullcalendar/core/internal-common").a | undefined): import("@fullcalendar/core/internal-common").a;
|
|
239
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
240
|
-
options: import("vue").PropType<import("@fullcalendar/core/internal-common").a>;
|
|
241
|
-
}>>, {}>;
|
|
231
|
+
FullCalendar: any;
|
|
242
232
|
isSameDay: typeof import("date-fns").isSameDay;
|
|
243
233
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange")[], "select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
244
234
|
showDateNavigation: {
|
|
@@ -221,17 +221,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
221
|
NIcon: any;
|
|
222
222
|
ChevronBackOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
223
223
|
ChevronForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
224
|
-
FullCalendar:
|
|
225
|
-
options: PropType<import("@fullcalendar/core/internal-common").a>;
|
|
226
|
-
}, unknown, {
|
|
227
|
-
renderId: number;
|
|
228
|
-
customRenderingMap: Map<string, import("@fullcalendar/core/internal-common").eF<any>>;
|
|
229
|
-
}, {}, {
|
|
230
|
-
getApi(): import("@fullcalendar/core").Calendar;
|
|
231
|
-
buildOptions(suppliedOptions: import("@fullcalendar/core/internal-common").a | undefined): import("@fullcalendar/core/internal-common").a;
|
|
232
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
233
|
-
options: PropType<import("@fullcalendar/core/internal-common").a>;
|
|
234
|
-
}>>, {}>;
|
|
224
|
+
FullCalendar: any;
|
|
235
225
|
isSameDay: typeof isSameDay;
|
|
236
226
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange")[], "select" | "eventClick" | "eventDrag" | "eventResize" | "dateChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
237
227
|
showDateNavigation: {
|
|
@@ -2726,6 +2726,7 @@ export declare const CallbackMaps: Map<string, {
|
|
|
2726
2726
|
maxCheckSize?: number | undefined;
|
|
2727
2727
|
disableHeader?: boolean | undefined;
|
|
2728
2728
|
useNCheckbox?: boolean | undefined;
|
|
2729
|
+
indeterminateField?: string | undefined;
|
|
2729
2730
|
} | undefined;
|
|
2730
2731
|
tooltipConfig?: {
|
|
2731
2732
|
showAll?: boolean | undefined;
|
|
@@ -3864,71 +3865,6 @@ export declare const CallbackMaps: Map<string, {
|
|
|
3864
3865
|
adaptive?: boolean | undefined;
|
|
3865
3866
|
} | undefined;
|
|
3866
3867
|
params?: any;
|
|
3867
|
-
onFormChange?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
3868
|
-
onCopy?: ((params: import("vxe-table").VxeTableDefines.CopyEventParams) => void) | undefined;
|
|
3869
|
-
onCut?: ((params: import("vxe-table").VxeTableDefines.CutEventParams) => void) | undefined;
|
|
3870
|
-
onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
|
|
3871
|
-
onKeydown?: ((params: import("vxe-table").VxeTableDefines.KeydownEventParams) => void) | undefined;
|
|
3872
|
-
onScroll?: ((params: import("vxe-table").VxeTableDefines.ScrollEventParams) => void) | undefined;
|
|
3873
|
-
onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
|
|
3874
|
-
onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
|
|
3875
|
-
onCurrentChange?: ((params: import("vxe-table").VxeTableDefines.CurrentChangeEventParams) => void) | undefined;
|
|
3876
|
-
onRadioChange?: ((params: import("vxe-table").VxeTableDefines.RadioChangeEventParams) => void) | undefined;
|
|
3877
|
-
onCheckboxChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxChangeEventParams) => void) | undefined;
|
|
3878
|
-
onCheckboxAll?: ((params: import("vxe-table").VxeTableDefines.CheckboxAllEventParams) => void) | undefined;
|
|
3879
|
-
onCheckboxRangeStart?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeStartEventParams) => void) | undefined;
|
|
3880
|
-
onCheckboxRangeChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeChangeEventParams) => void) | undefined;
|
|
3881
|
-
onCheckboxRangeEnd?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeEndEventParams) => void) | undefined;
|
|
3882
|
-
onCellClick?: ((params: import("vxe-table").VxeTableDefines.CellClickEventParams) => void) | undefined;
|
|
3883
|
-
onCellDblclick?: ((params: import("vxe-table").VxeTableDefines.CellDblclickEventParams) => void) | undefined;
|
|
3884
|
-
onCellMenu?: ((params: import("vxe-table").VxeTableDefines.CellMenuEventParams) => void) | undefined;
|
|
3885
|
-
onCellMouseenter?: ((params: import("vxe-table").VxeTableDefines.CellMouseenterEventParams) => void) | undefined;
|
|
3886
|
-
onCellMouseleave?: ((params: import("vxe-table").VxeTableDefines.CellMouseleaveEventParams) => void) | undefined;
|
|
3887
|
-
onHeaderCellClick?: ((params: import("vxe-table").VxeTableDefines.HeaderCellClickEventParams) => void) | undefined;
|
|
3888
|
-
onHeaderCellDblclick?: ((params: import("vxe-table").VxeTableDefines.HeaderCellDblclickEventParams) => void) | undefined;
|
|
3889
|
-
onHeaderCellMenu?: ((params: import("vxe-table").VxeTableDefines.HeaderCellMenuEventParams) => void) | undefined;
|
|
3890
|
-
onFooterCellClick?: ((params: import("vxe-table").VxeTableDefines.FooterCellClickEventParams) => void) | undefined;
|
|
3891
|
-
onFooterCellDblclick?: ((params: import("vxe-table").VxeTableDefines.FooterCellDblclickEventParams) => void) | undefined;
|
|
3892
|
-
onFooterCellMenu?: ((params: import("vxe-table").VxeTableDefines.FooterCellMenuEventParams) => void) | undefined;
|
|
3893
|
-
onSortChange?: ((params: import("vxe-table").VxeTableDefines.SortChangeEventParams) => void) | undefined;
|
|
3894
|
-
onFilterChange?: ((params: import("vxe-table").VxeTableDefines.FilterChangeEventParams) => void) | undefined;
|
|
3895
|
-
onFilterVisible?: (() => void) | undefined;
|
|
3896
|
-
onResizableChange?: ((params: import("vxe-table").VxeTableDefines.ResizableChangeEventParams) => void) | undefined;
|
|
3897
|
-
onToggleRowExpand?: ((params: import("vxe-table").VxeTableDefines.ToggleRowExpandEventParams) => void) | undefined;
|
|
3898
|
-
onToggleTreeExpand?: ((params: import("vxe-table").VxeTableDefines.ToggleTreeExpandEventParams) => void) | undefined;
|
|
3899
|
-
onMenuClick?: ((params: import("vxe-table").VxeTableDefines.MenuClickEventParams) => void) | undefined;
|
|
3900
|
-
onEditClosed?: ((params: import("vxe-table").VxeTableDefines.EditClosedEventParams) => void) | undefined;
|
|
3901
|
-
onEditActived?: ((params: import("vxe-table").VxeTableDefines.EditActivedEventParams) => void) | undefined;
|
|
3902
|
-
onEditDisabled?: ((params: import("vxe-table").VxeTableDefines.EditDisabledEventParams) => void) | undefined;
|
|
3903
|
-
onValidError?: ((params: import("vxe-table").VxeTableDefines.ValidErrorEventParams) => void) | undefined;
|
|
3904
|
-
onCustom?: ((params: import("vxe-table").VxeTableDefines.CustomEventParams) => void) | undefined;
|
|
3905
|
-
onOpenFnr?: ((params: import("vxe-table").VxeTableProDefines.OpenFnrParams) => void) | undefined;
|
|
3906
|
-
onFnrChange?: ((params: import("vxe-table").VxeTableProDefines.FnrChangeParams) => void) | undefined;
|
|
3907
|
-
onFnrFind?: ((params: import("vxe-table").VxeTableProDefines.FnrFindParams) => void) | undefined;
|
|
3908
|
-
onFnrFindAll?: ((params: import("vxe-table").VxeTableProDefines.FnrFindAllParams) => void) | undefined;
|
|
3909
|
-
onFnrReplace?: ((params: import("vxe-table").VxeTableProDefines.FnrReplaceParams) => void) | undefined;
|
|
3910
|
-
onFnrReplaceAll?: ((params: import("vxe-table").VxeTableProDefines.FnrReplaceAllParams) => void) | undefined;
|
|
3911
|
-
onCellAreaCopy?: ((params: import("vxe-table").VxeTableProDefines.CellAreaCopyParams) => void) | undefined;
|
|
3912
|
-
onCellAreaCut?: ((params: import("vxe-table").VxeTableProDefines.CellAreaCutParams) => void) | undefined;
|
|
3913
|
-
onCellAreaPaste?: ((params: import("vxe-table").VxeTableProDefines.CellAreaPasteParams) => void) | undefined;
|
|
3914
|
-
onCellAreaMerge?: ((params: import("vxe-table").VxeTableProDefines.CellAreaMergeEventParams) => void) | undefined;
|
|
3915
|
-
onClearCellAreaMerge?: ((params: import("vxe-table").VxeTableProDefines.ClearCellAreaMergeEventParams) => void) | undefined;
|
|
3916
|
-
onHeaderCellAreaSelection?: ((params: import("vxe-table").VxeTableProDefines.HeaderCellAreaSelectionEventParams) => void) | undefined;
|
|
3917
|
-
onCellAreaSelectionStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionStartEventParams) => void) | undefined;
|
|
3918
|
-
onCellAreaSelectionDrag?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionDragEventParams) => void) | undefined;
|
|
3919
|
-
onCellAreaSelectionEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionEndEventParams) => void) | undefined;
|
|
3920
|
-
onCellAreaExtensionStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionStartEventParams) => void) | undefined;
|
|
3921
|
-
onCellAreaExtensionDrag?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionDragEventParams) => void) | undefined;
|
|
3922
|
-
onCellAreaExtensionEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionEndEventParams) => void) | undefined;
|
|
3923
|
-
onCellAreaArrowsStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaArrowsStartEventParams) => void) | undefined;
|
|
3924
|
-
onCellAreaArrowsEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaArrowsEndEventParams) => void) | undefined;
|
|
3925
|
-
onActiveCellChangeStart?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeStartEventParams) => void) | undefined;
|
|
3926
|
-
onActiveCellChangeEnd?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeEndEventParams) => void) | undefined;
|
|
3927
|
-
onPageChange?: (() => void) | undefined;
|
|
3928
|
-
onSettingClick?: (() => void) | undefined;
|
|
3929
|
-
onFormClick?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
3930
|
-
onKeyboard?: ((payload_0: import("../../../../../components/iho-table").IHoTableKeyboardPayload) => void) | undefined;
|
|
3931
|
-
onRowDrag?: ((payload_0: import("sortablejs").SortableEvent) => void) | undefined;
|
|
3932
3868
|
uuid?: string | undefined;
|
|
3933
3869
|
isTree?: import("../../../..").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
3934
3870
|
isBatchSelect?: import("../../../..").MaybeString<0 | 1> | undefined;
|
|
@@ -4157,6 +4093,71 @@ export declare const CallbackMaps: Map<string, {
|
|
|
4157
4093
|
enable?: boolean | undefined;
|
|
4158
4094
|
headerWidth?: number | "auto" | ((level: number) => number) | undefined;
|
|
4159
4095
|
} | undefined;
|
|
4096
|
+
onFormChange?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
4097
|
+
onCopy?: ((params: import("vxe-table").VxeTableDefines.CopyEventParams) => void) | undefined;
|
|
4098
|
+
onCut?: ((params: import("vxe-table").VxeTableDefines.CutEventParams) => void) | undefined;
|
|
4099
|
+
onPaste?: ((params: import("vxe-table").VxeTableDefines.PasteEventParams) => void) | undefined;
|
|
4100
|
+
onKeydown?: ((params: import("vxe-table").VxeTableDefines.KeydownEventParams) => void) | undefined;
|
|
4101
|
+
onScroll?: ((params: import("vxe-table").VxeTableDefines.ScrollEventParams) => void) | undefined;
|
|
4102
|
+
onKeydownStart?: ((params: import("vxe-table").VxeTableDefines.KeydownStartEventParams) => void) | undefined;
|
|
4103
|
+
onKeydownEnd?: ((params: import("vxe-table").VxeTableDefines.KeydownEndEventParams) => void) | undefined;
|
|
4104
|
+
onCurrentChange?: ((params: import("vxe-table").VxeTableDefines.CurrentChangeEventParams) => void) | undefined;
|
|
4105
|
+
onRadioChange?: ((params: import("vxe-table").VxeTableDefines.RadioChangeEventParams) => void) | undefined;
|
|
4106
|
+
onCheckboxChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxChangeEventParams) => void) | undefined;
|
|
4107
|
+
onCheckboxAll?: ((params: import("vxe-table").VxeTableDefines.CheckboxAllEventParams) => void) | undefined;
|
|
4108
|
+
onCheckboxRangeStart?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeStartEventParams) => void) | undefined;
|
|
4109
|
+
onCheckboxRangeChange?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeChangeEventParams) => void) | undefined;
|
|
4110
|
+
onCheckboxRangeEnd?: ((params: import("vxe-table").VxeTableDefines.CheckboxRangeEndEventParams) => void) | undefined;
|
|
4111
|
+
onCellClick?: ((params: import("vxe-table").VxeTableDefines.CellClickEventParams) => void) | undefined;
|
|
4112
|
+
onCellDblclick?: ((params: import("vxe-table").VxeTableDefines.CellDblclickEventParams) => void) | undefined;
|
|
4113
|
+
onCellMenu?: ((params: import("vxe-table").VxeTableDefines.CellMenuEventParams) => void) | undefined;
|
|
4114
|
+
onCellMouseenter?: ((params: import("vxe-table").VxeTableDefines.CellMouseenterEventParams) => void) | undefined;
|
|
4115
|
+
onCellMouseleave?: ((params: import("vxe-table").VxeTableDefines.CellMouseleaveEventParams) => void) | undefined;
|
|
4116
|
+
onHeaderCellClick?: ((params: import("vxe-table").VxeTableDefines.HeaderCellClickEventParams) => void) | undefined;
|
|
4117
|
+
onHeaderCellDblclick?: ((params: import("vxe-table").VxeTableDefines.HeaderCellDblclickEventParams) => void) | undefined;
|
|
4118
|
+
onHeaderCellMenu?: ((params: import("vxe-table").VxeTableDefines.HeaderCellMenuEventParams) => void) | undefined;
|
|
4119
|
+
onFooterCellClick?: ((params: import("vxe-table").VxeTableDefines.FooterCellClickEventParams) => void) | undefined;
|
|
4120
|
+
onFooterCellDblclick?: ((params: import("vxe-table").VxeTableDefines.FooterCellDblclickEventParams) => void) | undefined;
|
|
4121
|
+
onFooterCellMenu?: ((params: import("vxe-table").VxeTableDefines.FooterCellMenuEventParams) => void) | undefined;
|
|
4122
|
+
onSortChange?: ((params: import("vxe-table").VxeTableDefines.SortChangeEventParams) => void) | undefined;
|
|
4123
|
+
onFilterChange?: ((params: import("vxe-table").VxeTableDefines.FilterChangeEventParams) => void) | undefined;
|
|
4124
|
+
onFilterVisible?: (() => void) | undefined;
|
|
4125
|
+
onResizableChange?: ((params: import("vxe-table").VxeTableDefines.ResizableChangeEventParams) => void) | undefined;
|
|
4126
|
+
onToggleRowExpand?: ((params: import("vxe-table").VxeTableDefines.ToggleRowExpandEventParams) => void) | undefined;
|
|
4127
|
+
onToggleTreeExpand?: ((params: import("vxe-table").VxeTableDefines.ToggleTreeExpandEventParams) => void) | undefined;
|
|
4128
|
+
onMenuClick?: ((params: import("vxe-table").VxeTableDefines.MenuClickEventParams) => void) | undefined;
|
|
4129
|
+
onEditClosed?: ((params: import("vxe-table").VxeTableDefines.EditClosedEventParams) => void) | undefined;
|
|
4130
|
+
onEditActived?: ((params: import("vxe-table").VxeTableDefines.EditActivedEventParams) => void) | undefined;
|
|
4131
|
+
onEditDisabled?: ((params: import("vxe-table").VxeTableDefines.EditDisabledEventParams) => void) | undefined;
|
|
4132
|
+
onValidError?: ((params: import("vxe-table").VxeTableDefines.ValidErrorEventParams) => void) | undefined;
|
|
4133
|
+
onCustom?: ((params: import("vxe-table").VxeTableDefines.CustomEventParams) => void) | undefined;
|
|
4134
|
+
onOpenFnr?: ((params: import("vxe-table").VxeTableProDefines.OpenFnrParams) => void) | undefined;
|
|
4135
|
+
onFnrChange?: ((params: import("vxe-table").VxeTableProDefines.FnrChangeParams) => void) | undefined;
|
|
4136
|
+
onFnrFind?: ((params: import("vxe-table").VxeTableProDefines.FnrFindParams) => void) | undefined;
|
|
4137
|
+
onFnrFindAll?: ((params: import("vxe-table").VxeTableProDefines.FnrFindAllParams) => void) | undefined;
|
|
4138
|
+
onFnrReplace?: ((params: import("vxe-table").VxeTableProDefines.FnrReplaceParams) => void) | undefined;
|
|
4139
|
+
onFnrReplaceAll?: ((params: import("vxe-table").VxeTableProDefines.FnrReplaceAllParams) => void) | undefined;
|
|
4140
|
+
onCellAreaCopy?: ((params: import("vxe-table").VxeTableProDefines.CellAreaCopyParams) => void) | undefined;
|
|
4141
|
+
onCellAreaCut?: ((params: import("vxe-table").VxeTableProDefines.CellAreaCutParams) => void) | undefined;
|
|
4142
|
+
onCellAreaPaste?: ((params: import("vxe-table").VxeTableProDefines.CellAreaPasteParams) => void) | undefined;
|
|
4143
|
+
onCellAreaMerge?: ((params: import("vxe-table").VxeTableProDefines.CellAreaMergeEventParams) => void) | undefined;
|
|
4144
|
+
onClearCellAreaMerge?: ((params: import("vxe-table").VxeTableProDefines.ClearCellAreaMergeEventParams) => void) | undefined;
|
|
4145
|
+
onHeaderCellAreaSelection?: ((params: import("vxe-table").VxeTableProDefines.HeaderCellAreaSelectionEventParams) => void) | undefined;
|
|
4146
|
+
onCellAreaSelectionStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionStartEventParams) => void) | undefined;
|
|
4147
|
+
onCellAreaSelectionDrag?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionDragEventParams) => void) | undefined;
|
|
4148
|
+
onCellAreaSelectionEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaSelectionEndEventParams) => void) | undefined;
|
|
4149
|
+
onCellAreaExtensionStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionStartEventParams) => void) | undefined;
|
|
4150
|
+
onCellAreaExtensionDrag?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionDragEventParams) => void) | undefined;
|
|
4151
|
+
onCellAreaExtensionEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaExtensionEndEventParams) => void) | undefined;
|
|
4152
|
+
onCellAreaArrowsStart?: ((params: import("vxe-table").VxeTableProDefines.CellAreaArrowsStartEventParams) => void) | undefined;
|
|
4153
|
+
onCellAreaArrowsEnd?: ((params: import("vxe-table").VxeTableProDefines.CellAreaArrowsEndEventParams) => void) | undefined;
|
|
4154
|
+
onActiveCellChangeStart?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeStartEventParams) => void) | undefined;
|
|
4155
|
+
onActiveCellChangeEnd?: ((params: import("vxe-table").VxeTableProDefines.ActiveCellChangeEndEventParams) => void) | undefined;
|
|
4156
|
+
onPageChange?: (() => void) | undefined;
|
|
4157
|
+
onSettingClick?: (() => void) | undefined;
|
|
4158
|
+
onFormClick?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
4159
|
+
onKeyboard?: ((payload_0: import("../../../../../components/iho-table").IHoTableKeyboardPayload) => void) | undefined;
|
|
4160
|
+
onRowDrag?: ((payload_0: import("sortablejs").SortableEvent) => void) | undefined;
|
|
4160
4161
|
}>;
|
|
4161
4162
|
updateConfigRefDebounced: () => void;
|
|
4162
4163
|
updateConfigRef: () => void;
|
|
@@ -6288,6 +6289,7 @@ export declare const CallbackMaps: Map<string, {
|
|
|
6288
6289
|
maxCheckSize?: number | undefined;
|
|
6289
6290
|
disableHeader?: boolean | undefined;
|
|
6290
6291
|
useNCheckbox?: boolean | undefined;
|
|
6292
|
+
indeterminateField?: string | undefined;
|
|
6291
6293
|
} | undefined;
|
|
6292
6294
|
tooltipConfig?: {
|
|
6293
6295
|
showAll?: boolean | undefined;
|
|
@@ -7426,11 +7428,6 @@ export declare const CallbackMaps: Map<string, {
|
|
|
7426
7428
|
adaptive?: boolean | undefined;
|
|
7427
7429
|
} | undefined;
|
|
7428
7430
|
params?: any;
|
|
7429
|
-
onFormChange?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
7430
|
-
onSettingClick?: (() => void) | undefined;
|
|
7431
|
-
onFormClick?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
7432
|
-
onKeyboard?: ((payload_0: import("../../../../../components/iho-table").IHoTableKeyboardPayload) => void) | undefined;
|
|
7433
|
-
onRowDrag?: ((payload_0: import("sortablejs").SortableEvent) => void) | undefined;
|
|
7434
7431
|
uuid?: string | undefined;
|
|
7435
7432
|
isTree?: import("../../../..").MaybeString<0 | 2 | 1 | 3> | undefined;
|
|
7436
7433
|
isBatchSelect?: import("../../../..").MaybeString<0 | 1> | undefined;
|
|
@@ -7659,6 +7656,11 @@ export declare const CallbackMaps: Map<string, {
|
|
|
7659
7656
|
enable?: boolean | undefined;
|
|
7660
7657
|
headerWidth?: number | "auto" | ((level: number) => number) | undefined;
|
|
7661
7658
|
} | undefined;
|
|
7659
|
+
onFormChange?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
7660
|
+
onSettingClick?: (() => void) | undefined;
|
|
7661
|
+
onFormClick?: ((payload_0: import("../../../../../components/iho-table").IhoTableFormChangePayload) => void) | undefined;
|
|
7662
|
+
onKeyboard?: ((payload_0: import("../../../../../components/iho-table").IHoTableKeyboardPayload) => void) | undefined;
|
|
7663
|
+
onRowDrag?: ((payload_0: import("sortablejs").SortableEvent) => void) | undefined;
|
|
7662
7664
|
}>;
|
|
7663
7665
|
configChanged: boolean;
|
|
7664
7666
|
fieldChanged: boolean;
|
|
@@ -699,9 +699,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
699
699
|
handleInitConditions: () => Promise<void>;
|
|
700
700
|
validate: () => Promise<unknown>;
|
|
701
701
|
saveAdd: () => void;
|
|
702
|
-
/**
|
|
703
|
-
* 改变展示方式
|
|
704
|
-
*/
|
|
705
702
|
cancelSaveAdd: () => void;
|
|
706
703
|
checkActionList: () => boolean;
|
|
707
704
|
NSpin: any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
|
+
declare const DefaultPage: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
config: {
|
|
8
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
9
|
+
default: () => {
|
|
10
|
+
title: string;
|
|
11
|
+
content: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
type: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
config: {
|
|
21
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
22
|
+
default: () => {
|
|
23
|
+
title: string;
|
|
24
|
+
content: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}>> & {
|
|
28
|
+
onReload?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>>;
|
|
30
|
+
configResult: import("vue").ComputedRef<{
|
|
31
|
+
title: string;
|
|
32
|
+
content: string;
|
|
33
|
+
img: string;
|
|
34
|
+
}>;
|
|
35
|
+
emit: (event: "reload", ...args: any[]) => void;
|
|
36
|
+
reloadPage: () => void;
|
|
37
|
+
NEmpty: any;
|
|
38
|
+
NButton: any;
|
|
39
|
+
NIcon: any;
|
|
40
|
+
Reload: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
41
|
+
defaultPageTypeConfig: {
|
|
42
|
+
TAB: string;
|
|
43
|
+
MENU: string;
|
|
44
|
+
VIEW: string;
|
|
45
|
+
SYSTEM: string;
|
|
46
|
+
LOCATION: string;
|
|
47
|
+
NOTFOUND: string;
|
|
48
|
+
LOADING: string;
|
|
49
|
+
NOPERMISSION: string;
|
|
50
|
+
NODATA: string;
|
|
51
|
+
RELOAD: string;
|
|
52
|
+
};
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "reload"[], "reload", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
type: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
config: {
|
|
59
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
60
|
+
default: () => {
|
|
61
|
+
title: string;
|
|
62
|
+
content: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
66
|
+
onReload?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
type: string;
|
|
69
|
+
config: import("../../shared/types").AnyObject;
|
|
70
|
+
}>>;
|
|
71
|
+
export default DefaultPage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as a}from"../../shared/utils/index.js";import e from"./src/index.vue.js";const o=e;o.install=function(e){a(e,o,r+"DefaultPage")};export{o as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const defaultPageTypeConfig: {
|
|
2
|
+
TAB: string;
|
|
3
|
+
MENU: string;
|
|
4
|
+
VIEW: string;
|
|
5
|
+
SYSTEM: string;
|
|
6
|
+
LOCATION: string;
|
|
7
|
+
NOTFOUND: string;
|
|
8
|
+
LOADING: string;
|
|
9
|
+
NOPERMISSION: string;
|
|
10
|
+
NODATA: string;
|
|
11
|
+
RELOAD: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const descriptionConfig: {
|
|
14
|
+
[x: string]: {
|
|
15
|
+
title: string;
|
|
16
|
+
content: string;
|
|
17
|
+
img: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"../../../../shared/assets/img/defaultCover/1tab.jpg.js";import e from"../../../../shared/assets/img/defaultCover/2menu.jpg.js";import s from"../../../../shared/assets/img/defaultCover/3view.jpg.js";import o from"../../../../shared/assets/img/defaultCover/4system.jpg.js";import i from"../../../../shared/assets/img/defaultCover/5location.jpg.js";import m from"../../../../shared/assets/img/defaultCover/6notfound.jpg.js";import r from"../../../../shared/assets/img/defaultCover/7loading.jpg.js";import a from"../../../../shared/assets/img/defaultCover/8nopermission.jpg.js";import g from"../../../../shared/assets/img/defaultCover/9nodata.jpg.js";import n from"../../../../shared/assets/img/defaultCover/10reload.jpg.js";const d={TAB:"1",MENU:"2",VIEW:"3",SYSTEM:"4",LOCATION:"5",NOTFOUND:"6",LOADING:"7",NOPERMISSION:"8",NODATA:"9",RELOAD:"10"},l={[d.TAB]:{title:"无可选标签",content:"请联系管理员进行标签管理",img:t},[d.MENU]:{title:"你还没有进行菜单设置哟",content:"设置后可自定义调整菜单的顺序/结构,不设置使用系统默认菜单",img:e},[d.VIEW]:{title:"视图未配置",content:"请联系开发人员",img:s},[d.SYSTEM]:{title:"系统错误",content:"请联系管理员",img:o},[d.LOCATION]:{title:"位置访问失败 ",content:"",img:i},[d.NOTFOUND]:{title:"找不到页面",content:"",img:m},[d.LOADING]:{title:"正在拼命加载中...",content:"请稍后",img:r},[d.NOPERMISSION]:{title:"你没有访问权限",content:"请联系管理员",img:a},[d.NODATA]:{title:"暂无数据",content:"",img:g},[d.RELOAD]:{title:"更新提示",content:"系统有新的内容更新,请点击下面的按钮重载页面,以确保系统功能正常",img:n}};export{d as defaultPageTypeConfig,l as descriptionConfig};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { AnyObject } from '../../../shared/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
config: {
|
|
9
|
+
type: PropType<AnyObject>;
|
|
10
|
+
default: () => {
|
|
11
|
+
title: string;
|
|
12
|
+
content: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
type: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
config: {
|
|
22
|
+
type: PropType<AnyObject>;
|
|
23
|
+
default: () => {
|
|
24
|
+
title: string;
|
|
25
|
+
content: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
onReload?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}>>;
|
|
31
|
+
configResult: import("vue").ComputedRef<{
|
|
32
|
+
title: string;
|
|
33
|
+
content: string;
|
|
34
|
+
img: string;
|
|
35
|
+
}>;
|
|
36
|
+
emit: (event: "reload", ...args: any[]) => void;
|
|
37
|
+
reloadPage: () => void;
|
|
38
|
+
NEmpty: any;
|
|
39
|
+
NButton: any;
|
|
40
|
+
NIcon: any;
|
|
41
|
+
Reload: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
42
|
+
defaultPageTypeConfig: {
|
|
43
|
+
TAB: string;
|
|
44
|
+
MENU: string;
|
|
45
|
+
VIEW: string;
|
|
46
|
+
SYSTEM: string;
|
|
47
|
+
LOCATION: string;
|
|
48
|
+
NOTFOUND: string;
|
|
49
|
+
LOADING: string;
|
|
50
|
+
NOPERMISSION: string;
|
|
51
|
+
NODATA: string;
|
|
52
|
+
RELOAD: string;
|
|
53
|
+
};
|
|
54
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "reload"[], "reload", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
type: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
config: {
|
|
60
|
+
type: PropType<AnyObject>;
|
|
61
|
+
default: () => {
|
|
62
|
+
title: string;
|
|
63
|
+
content: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}>> & {
|
|
67
|
+
onReload?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
type: string;
|
|
70
|
+
config: AnyObject;
|
|
71
|
+
}>;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./index.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as t,computed as e,openBlock as n,createBlock as o,unref as i,withCtx as c,createElementVNode as s,toDisplayString as r,createVNode as a,createTextVNode as l,createCommentVNode as p}from"vue";import{NEmpty as f,NButton as m,NIcon as u}from"naive-ui";import{Reload as d}from"@vicons/ionicons5";import{descriptionConfig as g,defaultPageTypeConfig as y}from"./constants/index.js";const v=["src","alt"],k={class:"page-description"},b={class:"title"},j={class:"content"};var x=t({__name:"index",props:{type:{type:String,default:"1"},config:{type:Object,default:()=>({title:"",content:""})}},emits:["reload"],setup(t,{emit:x}){const O=t,_=e((()=>{let t=g[O.type];return O.config&&Object.keys(O.config).length>0&&Object.keys(O.config).forEach((e=>{const n=O.config[e];n&&(t[e]=n)})),t}));function h(){x("reload")}return(e,g)=>(n(),o(i(f),{class:"default-page-getter-block"},{icon:c((()=>[s("img",{src:i(_).img,alt:i(_).title},null,8,v)])),default:c((()=>[s("div",k,[s("span",b,r(i(_).title),1),s("span",j,r(i(_).content),1)])])),extra:c((()=>[t.type==i(y).RELOAD?(n(),o(i(m),{key:0,type:"primary",round:"",onClick:h},{icon:c((()=>[a(i(u),{component:i(d),size:"16"},null,8,["component"])])),default:c((()=>[l(" 点击重载页面 ")])),_:1})):p("v-if",!0)])),_:1}))}});export{x as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.default-page-getter-block .n-empty__icon{height:202px;width:260px}.default-page-getter-block .n-empty__icon img{display:block;width:100%}.default-page-getter-block .page-description{align-items:center;display:flex;flex-direction:column;margin-top:-8px}.default-page-getter-block .page-description .title{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:6px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawText as e,defaultStyle as i,defaultRectStyle as n,drawTextGroup as o,drawLine as l,drawPoint as r}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import{useBirthProcessCumputedPoint as a}from"../useCumputedPoint.js";import"../useEvent.js";import"vue";import{cloneDeep as
|
|
1
|
+
import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawText as e,defaultStyle as i,defaultRectStyle as n,drawTextGroup as o,drawLine as l,drawPoint as r}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import{useBirthProcessCumputedPoint as a}from"../useCumputedPoint.js";import"../useEvent.js";import"vue";import{cloneDeep as c}from"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function f(f,u,d,m,h){const{computedX:v,getXValue:p}=a(u),{originX:g,endX:x,xCellWidth:L,originYXAxis:X,top:C,canvasWidth:w,borderStyle:Y,treeData:y,xAxis:S,topGridYNumber:j,topGridOriginY:b,topGridYCellHeight:k,topGridEndY:G,event:I}=u,z=new Set;function A(t,e,i){let n;const{content:o}=t.value||{};if(o){const{textStyle:l}=C.data||{},{startLine:s,endLine:a}=e;n=r(o,{fontSize:12,...l,backgroundColor:"#fff",lockMovementX:!0,lockMovementY:!0});const c=E(n,e,i);n&&(n.set(c),n.origin={data:t},$(n),s&&(s.text=n),a&&(a.text=n))}return n}function E(t,e,i){const n=t.width+1,{startLine:o,centerLine:l,endLine:r}=e,s={top:i,originX:"center",originY:"center"};return l&&n<=l.width?s.left=l.x1+l.width/2:r&&n<=r.limitX.x2-r.left?(s.originX="left",s.left=r.left+1):o&&!r&&n<=o.limitX.x2-o.left?(s.originX="left",s.left=o.left+(o.isCustomIcon?5:1)):o&&n<=o.left-o.limitX.x1?(s.originX="right",s.left=o.left-(o.isCustomIcon?5:1)):l?(s.originY="top",s.left=l.x1+l.width/2,s.top=i+1,s.fontSize=10):o&&(s.originX="left",s.originY="top",s.fontSize=10,s.left=o.left,s.top=i+1),s}function M(e,{isCustomIcon:i,isContinue:n,isLeft:o}){const{x:s,y1:a,y2:c,halfY:f}=e;if(!s||s<g||s>x)return;const{lineStyle:u}=C.data||{};let d;const m={left:s,top:f};d=i?r("circle",{fill:u.stroke,...m}):n?r(">",{fill:u.stroke,...m,fontSize:18}):l([s,a,s,f],u);const h=new t.Rect({width:L,height:k,fill:"transparent",left:s-L/2,top:a}),v=new t.Group([d,h],{originX:"center",originY:"center",hasControls:!1,hasBorders:!1,objectCaching:!1,hoverCursor:"pointer",lockMovementY:!0});return v.isLeft=o,v.isCustomIcon=i,$(v),v}function $(t){I.hovered&&(t.on("mouseover",(()=>{W(t,"hover")})),t.on("mouseout",(()=>{m.show=!1}))),t.lockMovementX&&t.lockMovementY||(t.on("moving",(()=>{!function(t){t.setCoords(),t.left<t.limitX.x1&&t.set("left",t.limitX.x1);t.left>t.limitX.x2&&t.set("left",t.limitX.x2)}(t),function(t){if(t.centerLine){const e=t.isLeft?{x1:t.left}:{x2:t.left};t.centerLine.setCoords().set(e)}if(t.text){const e=E(t.text,{startLine:t.isLeft?t:t.nearLine,centerLine:t.centerLine,endLine:t.isLeft?t.nearLine:t},t.top);t.text.setCoords().set(e)}}(t),I.hovered&&W(t)})),t.on("mouseup",(e=>{if(1===e.button){!function(t){t.isLeft?(t.prevLine&&(t.prevLine.limitX.x2=t.left),t.nearLine&&(t.nearLine.limitX.x1=t.left)):(t.nextLine&&(t.nextLine.limitX.x1=t.left),t.nearLine&&(t.nearLine.limitX.x2=t.left))}(t);const e={type:"tree",...t.origin};d("change",e)}})))}function W(t,e="moving"){var i,n,o;const{data:l}=t.origin;m.point={x:t.left,y:t.top};let[r="",s=""]=l.time||[];if("moving"===e){const e=p(t.left);t.isLeft?r=e:s=e,l.time=[r,s],t.text&&(t.text.origin.data.time=[r,s])}m.list=[`开始时间 ${r}`,`结束时间 ${s}`,`流速 ${(null==(i=l.value)?void 0:i.currentSpeed)||""}`,`浓度 ${(null==(n=l.value)?void 0:n.consistence)||""}`,`总量 ${(null==(o=l.value)?void 0:o.total)||""}`],m.show=!0}s(f,{...u,gridYNumber:j,originY:b,yCellHeight:k,endY:G}),function(){var o;const{height:l,list:r,left:s,spaceValue:a,style:c,marginBottom:u}=S;if(!l)return;const d=[],m=X+(u?l-u:l/2),h=u?"bottom":"center";r.forEach(((t,i)=>{const n=s+i*L*a;d.push(e([n,m],{value:t.slice(11,16),originY:h,...c}))}));const v=d.length>0?new t.Group([...d],{...i,objectCaching:!1}):null;v&&f.value.add(v);const p=new t.Rect({width:w,height:l,left:0,top:X,...n,originX:"left",originY:"top",...Y});f.value.add(p);const{show:g=!0}=C;if(!g)return;const y=e([x+(w-x)/2,m],{value:"总量",...null==(o=C.data)?void 0:o.totalStyle});f.value.add(y)}(),function(){var n;const r=(null==(n=null==C?void 0:C.tree)?void 0:n.textStyle)||{},s=[];!function t(i){i.forEach((i=>{var n;const{width:a,height:u,left:d,top:m,title:h=""}=i,p={value:h,...r};(null==(n=i.children)?void 0:n.length)?(p.value=h.split("").join("\n"),t(i.children)):(p.textAlign="left",function(t){if(!(null==t?void 0:t.data)||!Array.isArray(t.data))return;const{lineStyle:e}=C.data||{},i=t.top,n=i+k,o=n-k/2,r={y1:i,y2:n,halfY:o};let s=null;const a=c(t);delete a.data,t.data.forEach(((t,i,n)=>{const{time:c,continue:f}=t,[u,d]=c,m=u&&v(u),h=d&&v(d),p=M({...r,x:m},{isCustomIcon:!h&&!f,isContinue:!1,isLeft:!0}),L=M({...r,x:h},{isCustomIcon:!1,isContinue:!!f});let X;if((p||m<g)&&(L||h>x)){X=l([p?m:g,o,L?h:x,o],e)}const C={startLine:p,centerLine:X,endLine:L};let w,Y;!function(t,e,i){const{startLine:n,centerLine:o,endLine:l}=e,{startLine:r,endLine:s}=t||{};if(n){n.origin=i;const t={x1:g,x2:l?l.left:x};s?(t.x1=s.left,s.limitX.x2=n.left,n.prevLine=s,s.nextLine=n):r&&(t.x1=r.left,r.limitX.x2=n.left,n.prevLine=r,r.nextLine=n),n.limitX=t,o&&(n.centerLine=o)}if(l){l.origin=i;const t={x1:n?n.left:g,x2:x};l.limitX=t,o&&(l.centerLine=o)}n&&l&&(n.nearLine=l,l.nearLine=n)}(s,C,Object.assign({},a,{data:t,index:i})),s&&(w=A(n[i-1],s,o)),i===n.length-1&&(Y=A(t,C,o)),s=C,X&&z.add(X),p&&z.add(p),L&&z.add(L),w&&z.add(w),Y&&z.add(Y)}))}(i),function(t){var i;if(!(null==t?void 0:t.total))return;const n=t.top+k/2,o=x+(w-x)/2,l=e([o,n],{value:t.total,...null==(i=C.data)?void 0:i.totalStyle}),r=w-Y.strokeWidth;o+l.width>r&&l.set({originX:"right",left:r});l&&f.value.add(l)}(i)),s.push(o({width:a,height:u,...Y},p,{left:d,top:m},!0))}))}(y);const a=s.length>0?new t.Group([...s],{...i,objectCaching:!1}):null;a&&f.value.add(a),z.size&&f.value.add(...z)}()}export{f as useTop};
|
|
@@ -457,9 +457,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
457
457
|
requiredDisable: boolean;
|
|
458
458
|
hide: boolean;
|
|
459
459
|
}>;
|
|
460
|
+
isHighlightRow: boolean;
|
|
460
461
|
idx: number;
|
|
461
462
|
isHighlight: boolean;
|
|
462
|
-
isHighlightRow: boolean;
|
|
463
463
|
}>;
|
|
464
464
|
EditDialog: import("vue").DefineComponent<{
|
|
465
465
|
visible: {
|
|
@@ -575,9 +575,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
575
575
|
requiredDisable: boolean;
|
|
576
576
|
hide: boolean;
|
|
577
577
|
}>;
|
|
578
|
+
isHighlightRow: boolean;
|
|
578
579
|
idx: number;
|
|
579
580
|
isHighlight: boolean;
|
|
580
|
-
isHighlightRow: boolean;
|
|
581
581
|
}>;
|
|
582
582
|
isArray: {
|
|
583
583
|
(value?: any): value is any[];
|
|
@@ -282,8 +282,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
282
282
|
requiredDisable: boolean;
|
|
283
283
|
hide: boolean;
|
|
284
284
|
}>;
|
|
285
|
+
isHighlightRow: boolean;
|
|
285
286
|
idx: number;
|
|
286
287
|
isHighlight: boolean;
|
|
287
|
-
isHighlightRow: boolean;
|
|
288
288
|
}>;
|
|
289
289
|
export default _default;
|