cnhis-design-vue 3.1.46-release.3 → 3.1.46
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/README.md +87 -87
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/form-config/index.d.ts +67 -16
- package/es/components/form-config/src/FormConfig.vue.d.ts +67 -16
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +5 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +29 -7
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +1 -1
- package/es/components/form-render/index.d.ts +5 -4
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -3
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +5 -4
- package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +16 -2
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +32 -4
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +16 -2
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +5 -0
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +8 -1
- package/es/components/form-render/src/types/index.d.ts +1 -7
- package/es/components/iho-table/index.d.ts +12 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +12 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +5 -3
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +14 -12
- package/es/components/info-header/src/InfoHeader.vue.d.ts +14 -12
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -4
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +5 -4
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +1 -1
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +1 -1
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +153 -14
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/select-person/src/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +106 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue.js +1 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +150 -12
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/types/enums.d.ts +4 -0
- package/es/components/select-person/src/types/enums.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +1 -1
- package/es/components/select-person/src/utils/index.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +13 -5
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +13 -5
- package/es/components/steps-wheel/index.d.ts +16 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +16 -0
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -1
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +6 -0
- package/es/shared/utils/business.d.ts +6 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/es/shared/utils/tapableLess.d.ts +28 -0
- package/es/shared/utils/tapableLess.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
# 安装
|
|
2
|
-
|
|
3
|
-
```shell
|
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
|
5
|
-
# or
|
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 1.全局引入
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
// main.ts
|
|
13
|
-
import { createApp } from 'vue';
|
|
14
|
-
import App from './App.vue';
|
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
-
import cui from 'cnhis-design-vue';
|
|
17
|
-
|
|
18
|
-
const app = createApp(App);
|
|
19
|
-
app.use(cui).mount('#app');
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## 2. 按需引入
|
|
23
|
-
|
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
-
|
|
26
|
-
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
# 安装自动导入样式的插件
|
|
30
|
-
npm i -d vite-plugin-style-import
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
// vite.config.ts
|
|
35
|
-
import { defineConfig } from 'vite';
|
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
-
|
|
38
|
-
export default defineConfig({
|
|
39
|
-
plugins: [
|
|
40
|
-
// ...otherPlugins
|
|
41
|
-
createStyleImportPlugin({
|
|
42
|
-
libs: [
|
|
43
|
-
{
|
|
44
|
-
libraryName: 'cnhis-design-vue',
|
|
45
|
-
esModule: true,
|
|
46
|
-
ensureStyleFile: true,
|
|
47
|
-
resolveStyle: name => {
|
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
-
|
|
59
|
-
```typescript
|
|
60
|
-
// main.ts
|
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## 3.FAQ
|
|
65
|
-
|
|
66
|
-
### 3.1 项目打包后样式丢失
|
|
67
|
-
|
|
68
|
-
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
// vite.config.ts
|
|
72
|
-
import { defineConfig } from 'vite';
|
|
73
|
-
|
|
74
|
-
export default defineConfig({
|
|
75
|
-
build: {
|
|
76
|
-
rollupOptions: {
|
|
77
|
-
// ..otherOptions
|
|
78
|
-
output: {
|
|
79
|
-
dir: './dist',
|
|
80
|
-
manualChunks: {
|
|
81
|
-
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
```
|
|
1
|
+
# 安装
|
|
2
|
+
|
|
3
|
+
```shell
|
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
|
5
|
+
# or
|
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 1.全局引入
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
// main.ts
|
|
13
|
+
import { createApp } from 'vue';
|
|
14
|
+
import App from './App.vue';
|
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
+
import cui from 'cnhis-design-vue';
|
|
17
|
+
|
|
18
|
+
const app = createApp(App);
|
|
19
|
+
app.use(cui).mount('#app');
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2. 按需引入
|
|
23
|
+
|
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
+
|
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
# 安装自动导入样式的插件
|
|
30
|
+
npm i -d vite-plugin-style-import
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// vite.config.ts
|
|
35
|
+
import { defineConfig } from 'vite';
|
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
+
|
|
38
|
+
export default defineConfig({
|
|
39
|
+
plugins: [
|
|
40
|
+
// ...otherPlugins
|
|
41
|
+
createStyleImportPlugin({
|
|
42
|
+
libs: [
|
|
43
|
+
{
|
|
44
|
+
libraryName: 'cnhis-design-vue',
|
|
45
|
+
esModule: true,
|
|
46
|
+
ensureStyleFile: true,
|
|
47
|
+
resolveStyle: name => {
|
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// main.ts
|
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 3.FAQ
|
|
65
|
+
|
|
66
|
+
### 3.1 项目打包后样式丢失
|
|
67
|
+
|
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
// vite.config.ts
|
|
72
|
+
import { defineConfig } from 'vite';
|
|
73
|
+
|
|
74
|
+
export default defineConfig({
|
|
75
|
+
build: {
|
|
76
|
+
rollupOptions: {
|
|
77
|
+
// ..otherOptions
|
|
78
|
+
output: {
|
|
79
|
+
dir: './dist',
|
|
80
|
+
manualChunks: {
|
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
```
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/Viewer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/features/modeling';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'diagram-js/lib/navigation/movecanvas';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"axios";import{isArray as e}from"lodash-es";import{IdentityVerificationDialog as i,PreviewDialog as n}from"./dialog.js";import{getFileUrl as s,useBrowserPrint as r,isIReport as a}from"./browserPrint.js";import{getCurrentInstance as o}from"vue";import{format as l}from"date-fns";const d=t.create({timeout:1e3,withCredentials:!1}),h=`${window.location.protocol}//${window.location.host}`,c=`${h}/fdp-api/print/assembly/printIReport`,u=`${h}/bi-api/reprot/print/open/client/getRemote`,m=`${h}/printService/file`;let p=null;class w{constructor(){var t;if(this.webview=null,this.dialog=new i,this.dialogPreview=new n,this.instance=null,this.downloadPath="",this.printOrigin="http://127.0.0.1:11111",this.isRemote=!1,this.CMonitor=null,this.messageHandlerQueue=[],p)return p;p=this;const e=window;if(this.CMonitor=e.$CMonitor,this.webview=null==(t=e.chrome)?void 0:t.webview,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:n,reject:s}=e;try{n(i.res||"")}catch(t){s(t)}}else"config"===(null==i?void 0:i.exec)&&(this.downloadPath=(null==(e=i.res)?void 0:e.downloadpath)||"")}async postMessage(t){if(!this.webview)return Promise.reject();const e=Date.now().toString();return Promise.race([new Promise(((i,n)=>{this.messageHandlerQueue.push({resolve:i,reject:n,id:e}),this.webview.postMessage(t)})),new Promise(((t,i)=>{setTimeout((()=>{const t=this.messageHandlerQueue.findIndex((t=>t.id===e));t>-1&&this.messageHandlerQueue.splice(t,1),i({type:"timeout"})}),5e3)}))])}destroy(){this.webview&&this.currentMessageHandler&&(this.webview.removeEventListener("message",this.currentMessageHandler),this.currentMessageHandler=void 0)}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}}):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:n(i)}):d({url:this.printOrigin+"/PrintLocal",method:"post",data:i,transformRequest:[n]}).then((({data:t})=>t));function n(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 n={type:"printError",message:i,result:t.result,errinfo:t.errinfo};return null==e||e(n),!1}return t}_handleResultTest(t,e){return!!t||(console.log("notInstalledApp"),null==e||e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}async _handleEventQueryPrintData(t,e,i,n){const s={templateId:t,formatId:e,params:i,cmdid:"7"},r=await this._queryServicesPrint(s);return this._handleQueryPrintDataResult(r,e,n)}_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,cmdid:n,print:s,printdlgshow:r="
|
|
1
|
+
import t from"axios";import{isArray as e}from"lodash-es";import{IdentityVerificationDialog as i,PreviewDialog as n}from"./dialog.js";import{getFileUrl as s,useBrowserPrint as r,isIReport as a}from"./browserPrint.js";import{getCurrentInstance as o}from"vue";import{format as l}from"date-fns";const d=t.create({timeout:1e3,withCredentials:!1}),h=`${window.location.protocol}//${window.location.host}`,c=`${h}/fdp-api/print/assembly/printIReport`,u=`${h}/bi-api/reprot/print/open/client/getRemote`,m=`${h}/printService/file`;let p=null;class w{constructor(){var t;if(this.webview=null,this.dialog=new i,this.dialogPreview=new n,this.instance=null,this.downloadPath="",this.printOrigin="http://127.0.0.1:11111",this.isRemote=!1,this.CMonitor=null,this.messageHandlerQueue=[],p)return p;p=this;const e=window;if(this.CMonitor=e.$CMonitor,this.webview=null==(t=e.chrome)?void 0:t.webview,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:n,reject:s}=e;try{n(i.res||"")}catch(t){s(t)}}else"config"===(null==i?void 0:i.exec)&&(this.downloadPath=(null==(e=i.res)?void 0:e.downloadpath)||"")}async postMessage(t){if(!this.webview)return Promise.reject();const e=Date.now().toString();return Promise.race([new Promise(((i,n)=>{this.messageHandlerQueue.push({resolve:i,reject:n,id:e}),this.webview.postMessage(t)})),new Promise(((t,i)=>{setTimeout((()=>{const t=this.messageHandlerQueue.findIndex((t=>t.id===e));t>-1&&this.messageHandlerQueue.splice(t,1),i({type:"timeout"})}),5e3)}))])}destroy(){this.webview&&this.currentMessageHandler&&(this.webview.removeEventListener("message",this.currentMessageHandler),this.currentMessageHandler=void 0)}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}}):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:n(i)}):d({url:this.printOrigin+"/PrintLocal",method:"post",data:i,transformRequest:[n]}).then((({data:t})=>t));function n(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 n={type:"printError",message:i,result:t.result,errinfo:t.errinfo};return null==e||e(n),!1}return t}_handleResultTest(t,e){return!!t||(console.log("notInstalledApp"),null==e||e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}async _handleEventQueryPrintData(t,e,i,n){const s={templateId:t,formatId:e,params:i,cmdid:"7"},r=await this._queryServicesPrint(s);return this._handleQueryPrintDataResult(r,e,n)}_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,cmdid:n,print:s,printdlgshow:r="0",nobillnode:a="1",btnprint:o="1"}){const d={templateId:t,formatId:e,params:i,cmdid:n,nobillnode:a,printdlgshow:r,btnprint:o};if(s){try{s=JSON.parse(s)}catch(t){}d.print=s}else if(this.isRemote){const t=l(new Date,"yyyyMMddHHmmss");d.print={print:"1",type:"1",zip:"0",filename:`F:\\WorkSpace\\crmweb\\web\\${t}\\${t}`}}return await this._queryServicesPrint(d)}async _handleEventEditFormat({templateId:t,formatId:e="",params:i="",token:n}){const s={};let r={};try{r=Object.assign({},s,JSON.parse(i))}catch(t){r=s}const a={templateId:t,formatId:e,cmdid:"9",token:n,params:JSON.stringify(r)};return await this._queryServicesPrint(a)}async _queryProxyOrigin(){if(this.isRemote)return;const{data:t}=await d({method:"get",url:u})||{},{map:e={}}=t;e.isRemote&&(this.printOrigin=h+"/printService",this.isRemote=!0)}async _queryPrintFile(t,e=""){const{data:i}=await d({method:"post",url:c,responseType:"blob",params:{formatId:t.split("_")[1],params:e}})||{};return i}async _browserPrint(t,e){if(this.isRemote){const{filedir:i}=t,n=JSON.parse(i)[0].replace(/\\/g,"/").split("/"),a=n[n.length-2],o=n[n.length-1],l=await s(`${m}/${a}/${o}`),d=r(null,e,l);if("preview"===e)return d}}async preview({templateId:t,formatId:e,params:i="",btnprint:n},s,l){if(a(e)){const t=await this._queryPrintFile(e,i);if(!t)return null==l?void 0:l("获取文件失败!");const n=r(t,"preview");return this.instance||(this.instance=o()),this.showPreview(this.instance,n),void(null==s||s({file:t}))}await this._queryProxyOrigin();const d=await this._testConnection();if(!this._handleResultTest(d,l))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,cmdid:this.isRemote?"7":"8",btnprint:n}),a=this._handleResult(r,l);if(!a)return!1;if(this.isRemote){const t=await this._browserPrint(a,"preview");this.instance||(this.instance=o()),this.showPreview(this.instance,t)}null==s||s(a)}catch(t){const e="预览失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==l||l(i),this._handleMonitorNotify(i)}}async printDirect({templateId:t,formatId:e,params:i="",print:n,printdlgshow:s,nobillnode:o,isDownloadFile:l=!0},d,h,c="printDirect"){if(a(e)){const t=await this._queryPrintFile(e,i);return t?(r(t,c),void(null==d||d({file:t}))):null==h?void 0:h("获取文件失败!")}await this._queryProxyOrigin();const u=await this._testConnection();if(!this._handleResultTest(u,h))return!1;try{const r=await this._handleEventDirect({templateId:t,formatId:e,params:i,cmdid:"7",print:n,printdlgshow:s,nobillnode:o}),a=this._handleResult(r,h);if(!a)return!1;l&&["downloadPDF"].includes(c)&&await this._browserPrint(a,c),null==d||d(a)}catch(t){const e="printDirect"===c?"打印失败":"下载失败",i="timeout"===(null==t?void 0:t.type)?{...t,message:e}:{message:e};null==h||h(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))}downloadPDF(t,i,n){if(this.webview&&this.downloadPath&&(Reflect.has(t,"print")||Reflect.set(t,"print",{print:"1",type:"1"}),!t.print.filename)){let e=l(new Date,"yyyyMMddHHmmss");t.customFileName&&(e=`${e}${t.customFileName}`),t.print.filename=`${this.downloadPath}/${e}`.replace(/\\/g,"/")}this.printDirect(t,(async s=>{if(s||n(null),a(t.formatId))return i(s);const r=this,o=await async function(t){const i=[],n=JSON.parse(t);if(!e(n))return await r._downloadPDF("");if(1===n.length)return await r._downloadPDF(n[0]||"");for(let t=0,e=n.length;t<e;t++)i.push(await r._downloadPDF(n[t]||""));return i}(s.filedir);i(o,s)}),(t=>n(t)),"downloadPDF")}async print({templateId:t,formatId:e,params:i=""},n,s){const r=await this._testConnection();if(!this._handleResultTest(r,s))return!1;const a=await this.queryPrintData({templateId:t,formatId:e,params:i},void 0,s);if(!a)return!1;const o=this.printFileData({formatId:e,file:a.file,printerName:a.printerName},void 0,s);if(!o)return!1;n&&n(o)}async queryPrintData({templateId:t,formatId:e,params:i=""},n,s){const r=await this._testConnection();if(!this._handleResultTest(r,s))return!1;const a=await this._handleEventQueryPrintData(t,e,i,s);return!!a&&(n&&n(a),a)}async printFileData({formatId:t,file:e,printerName:i="Default"},n,s){const r=await this._testConnection();if(!this._handleResultTest(r,s))return!1;const a=await this._callPrintWithFile({formatId:t,printname:i,file:e}),o=this._handleResult(a,s);return!!o&&(n&&n(o),o)}async editPrintFormat({templateId:t,formatId:e,params:i,token:n},s,r){const a=await this._testConnection();if(!this._handleResultTest(a,r))return!1;const o=await this._handleEventEditFormat({templateId:t,formatId:e,params:i,token:n}),l=this._handleResult(o,r);if(!l)return!1;s&&s(l)}async addPrintFormat({templateId:t,params:e,token:i},n,s){const r=await this._testConnection();if(!this._handleResultTest(r,s))return!1;const a=await this._handleEventEditFormat({templateId:t,params:e,token:i}),o=this._handleResult(a,s);if(!o)return!1;n&&n(o)}}export{w as Print};
|
|
@@ -134,15 +134,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
134
134
|
name?: string | undefined;
|
|
135
135
|
render_key?: string[] | undefined;
|
|
136
136
|
search_key?: string[] | undefined;
|
|
137
|
+
value_key?: string | undefined;
|
|
138
|
+
queryParams?: string[] | undefined;
|
|
137
139
|
primary_key?: string | undefined;
|
|
138
140
|
type?: string | undefined;
|
|
139
|
-
value_key?: string | undefined;
|
|
140
141
|
level_key?: string | undefined;
|
|
141
142
|
link_key?: string | undefined;
|
|
142
143
|
link_key_split?: string | undefined;
|
|
143
144
|
show_key?: string[] | undefined;
|
|
144
145
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
145
146
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
147
|
+
setting?: {
|
|
148
|
+
cascading?: {
|
|
149
|
+
'form.name': string;
|
|
150
|
+
value: string;
|
|
151
|
+
}[] | undefined;
|
|
152
|
+
} | undefined;
|
|
146
153
|
} | undefined;
|
|
147
154
|
open?: {
|
|
148
155
|
value?: any;
|
|
@@ -1847,15 +1854,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1847
1854
|
name?: string | undefined;
|
|
1848
1855
|
render_key?: string[] | undefined;
|
|
1849
1856
|
search_key?: string[] | undefined;
|
|
1857
|
+
value_key?: string | undefined;
|
|
1858
|
+
queryParams?: string[] | undefined;
|
|
1850
1859
|
primary_key?: string | undefined;
|
|
1851
1860
|
type?: string | undefined;
|
|
1852
|
-
value_key?: string | undefined;
|
|
1853
1861
|
level_key?: string | undefined;
|
|
1854
1862
|
link_key?: string | undefined;
|
|
1855
1863
|
link_key_split?: string | undefined;
|
|
1856
1864
|
show_key?: string[] | undefined;
|
|
1857
1865
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
1858
1866
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
1867
|
+
setting?: {
|
|
1868
|
+
cascading?: {
|
|
1869
|
+
'form.name': string;
|
|
1870
|
+
value: string;
|
|
1871
|
+
}[] | undefined;
|
|
1872
|
+
} | undefined;
|
|
1859
1873
|
} | undefined;
|
|
1860
1874
|
open?: {
|
|
1861
1875
|
value?: any;
|
|
@@ -3484,7 +3498,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3484
3498
|
validate: import("../../../es/shared/types").Func<any[], any>;
|
|
3485
3499
|
} | undefined>;
|
|
3486
3500
|
transform: (fieldList: import("./src/types").FormConfigItem[]) => import("./src/types").FormConfigItem[];
|
|
3487
|
-
inverseTransform: (fieldList: import("./src/types").FormConfigItem[]) => import("./src/types").FormConfigItem[];
|
|
3501
|
+
inverseTransform: (fieldList: import("./src/types").FormConfigItem[], withOriginalSetting: boolean) => import("./src/types").FormConfigItem[];
|
|
3488
3502
|
extraValueRef: import("vue").WritableComputedRef<any>;
|
|
3489
3503
|
_extraOptions: import("vue").Ref<{
|
|
3490
3504
|
key: string;
|
|
@@ -3569,15 +3583,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3569
3583
|
name?: string | undefined;
|
|
3570
3584
|
render_key?: string[] | undefined;
|
|
3571
3585
|
search_key?: string[] | undefined;
|
|
3586
|
+
value_key?: string | undefined;
|
|
3587
|
+
queryParams?: string[] | undefined;
|
|
3572
3588
|
primary_key?: string | undefined;
|
|
3573
3589
|
type?: string | undefined;
|
|
3574
|
-
value_key?: string | undefined;
|
|
3575
3590
|
level_key?: string | undefined;
|
|
3576
3591
|
link_key?: string | undefined;
|
|
3577
3592
|
link_key_split?: string | undefined;
|
|
3578
3593
|
show_key?: string[] | undefined;
|
|
3579
3594
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
3580
3595
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
3596
|
+
setting?: {
|
|
3597
|
+
cascading?: {
|
|
3598
|
+
'form.name': string;
|
|
3599
|
+
value: string;
|
|
3600
|
+
}[] | undefined;
|
|
3601
|
+
} | undefined;
|
|
3581
3602
|
} | undefined;
|
|
3582
3603
|
open?: {
|
|
3583
3604
|
value?: any;
|
|
@@ -5282,15 +5303,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
5282
5303
|
name?: string | undefined;
|
|
5283
5304
|
render_key?: string[] | undefined;
|
|
5284
5305
|
search_key?: string[] | undefined;
|
|
5306
|
+
value_key?: string | undefined;
|
|
5307
|
+
queryParams?: string[] | undefined;
|
|
5285
5308
|
primary_key?: string | undefined;
|
|
5286
5309
|
type?: string | undefined;
|
|
5287
|
-
value_key?: string | undefined;
|
|
5288
5310
|
level_key?: string | undefined;
|
|
5289
5311
|
link_key?: string | undefined;
|
|
5290
5312
|
link_key_split?: string | undefined;
|
|
5291
5313
|
show_key?: string[] | undefined;
|
|
5292
5314
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
5293
5315
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
5316
|
+
setting?: {
|
|
5317
|
+
cascading?: {
|
|
5318
|
+
'form.name': string;
|
|
5319
|
+
value: string;
|
|
5320
|
+
}[] | undefined;
|
|
5321
|
+
} | undefined;
|
|
5294
5322
|
} | undefined;
|
|
5295
5323
|
open?: {
|
|
5296
5324
|
value?: any;
|
|
@@ -7132,7 +7160,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7132
7160
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
7133
7161
|
};
|
|
7134
7162
|
operationalForm: {
|
|
7135
|
-
type: import("vue").PropType<import("
|
|
7163
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
7136
7164
|
};
|
|
7137
7165
|
linebarAutoHidden: {
|
|
7138
7166
|
type: BooleanConstructor;
|
|
@@ -7272,7 +7300,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7272
7300
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
7273
7301
|
};
|
|
7274
7302
|
operationalForm: {
|
|
7275
|
-
type: import("vue").PropType<import("
|
|
7303
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
7276
7304
|
};
|
|
7277
7305
|
linebarAutoHidden: {
|
|
7278
7306
|
type: BooleanConstructor;
|
|
@@ -7333,6 +7361,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7333
7361
|
triggerAllReactionsHandler: () => void;
|
|
7334
7362
|
operationalFormHandler: (field: string) => void;
|
|
7335
7363
|
triggerAllOperationalFormHandler: () => void;
|
|
7364
|
+
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
7336
7365
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
7337
7366
|
[key: symbol]: any;
|
|
7338
7367
|
[key: `x-${string}`]: any;
|
|
@@ -7448,7 +7477,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7448
7477
|
"x-read-pretty"?: boolean | undefined;
|
|
7449
7478
|
"x-compile-omitted"?: string[] | undefined;
|
|
7450
7479
|
}>>;
|
|
7451
|
-
onKeydown: (event: KeyboardEvent) => void
|
|
7480
|
+
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
7452
7481
|
clearSpan: (uuid: string) => void;
|
|
7453
7482
|
exposeEvent: {
|
|
7454
7483
|
validate(path?: string): Promise<void>;
|
|
@@ -7740,7 +7769,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7740
7769
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
7741
7770
|
};
|
|
7742
7771
|
operationalForm: {
|
|
7743
|
-
type: import("vue").PropType<import("
|
|
7772
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
7744
7773
|
};
|
|
7745
7774
|
linebarAutoHidden: {
|
|
7746
7775
|
type: BooleanConstructor;
|
|
@@ -7970,15 +7999,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7970
7999
|
name?: string | undefined;
|
|
7971
8000
|
render_key?: string[] | undefined;
|
|
7972
8001
|
search_key?: string[] | undefined;
|
|
8002
|
+
value_key?: string | undefined;
|
|
8003
|
+
queryParams?: string[] | undefined;
|
|
7973
8004
|
primary_key?: string | undefined;
|
|
7974
8005
|
type?: string | undefined;
|
|
7975
|
-
value_key?: string | undefined;
|
|
7976
8006
|
level_key?: string | undefined;
|
|
7977
8007
|
link_key?: string | undefined;
|
|
7978
8008
|
link_key_split?: string | undefined;
|
|
7979
8009
|
show_key?: string[] | undefined;
|
|
7980
8010
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
7981
8011
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
8012
|
+
setting?: {
|
|
8013
|
+
cascading?: {
|
|
8014
|
+
'form.name': string;
|
|
8015
|
+
value: string;
|
|
8016
|
+
}[] | undefined;
|
|
8017
|
+
} | undefined;
|
|
7982
8018
|
} | undefined;
|
|
7983
8019
|
open?: {
|
|
7984
8020
|
value?: any;
|
|
@@ -9694,15 +9730,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9694
9730
|
name?: string | undefined;
|
|
9695
9731
|
render_key?: string[] | undefined;
|
|
9696
9732
|
search_key?: string[] | undefined;
|
|
9733
|
+
value_key?: string | undefined;
|
|
9734
|
+
queryParams?: string[] | undefined;
|
|
9697
9735
|
primary_key?: string | undefined;
|
|
9698
9736
|
type?: string | undefined;
|
|
9699
|
-
value_key?: string | undefined;
|
|
9700
9737
|
level_key?: string | undefined;
|
|
9701
9738
|
link_key?: string | undefined;
|
|
9702
9739
|
link_key_split?: string | undefined;
|
|
9703
9740
|
show_key?: string[] | undefined;
|
|
9704
9741
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
9705
9742
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
9743
|
+
setting?: {
|
|
9744
|
+
cascading?: {
|
|
9745
|
+
'form.name': string;
|
|
9746
|
+
value: string;
|
|
9747
|
+
}[] | undefined;
|
|
9748
|
+
} | undefined;
|
|
9706
9749
|
} | undefined;
|
|
9707
9750
|
open?: {
|
|
9708
9751
|
value?: any;
|
|
@@ -11391,15 +11434,22 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
11391
11434
|
name?: string | undefined;
|
|
11392
11435
|
render_key?: string[] | undefined;
|
|
11393
11436
|
search_key?: string[] | undefined;
|
|
11437
|
+
value_key?: string | undefined;
|
|
11438
|
+
queryParams?: string[] | undefined;
|
|
11394
11439
|
primary_key?: string | undefined;
|
|
11395
11440
|
type?: string | undefined;
|
|
11396
|
-
value_key?: string | undefined;
|
|
11397
11441
|
level_key?: string | undefined;
|
|
11398
11442
|
link_key?: string | undefined;
|
|
11399
11443
|
link_key_split?: string | undefined;
|
|
11400
11444
|
show_key?: string[] | undefined;
|
|
11401
11445
|
conObj?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
11402
11446
|
conObjFirstLevel?: import("../../../es/shared/types").AnyObject[] | undefined;
|
|
11447
|
+
setting?: {
|
|
11448
|
+
cascading?: {
|
|
11449
|
+
'form.name': string;
|
|
11450
|
+
value: string;
|
|
11451
|
+
}[] | undefined;
|
|
11452
|
+
} | undefined;
|
|
11403
11453
|
} | undefined;
|
|
11404
11454
|
open?: {
|
|
11405
11455
|
value?: any;
|
|
@@ -13159,7 +13209,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13159
13209
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
13160
13210
|
};
|
|
13161
13211
|
operationalForm: {
|
|
13162
|
-
type: import("vue").PropType<import("
|
|
13212
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
13163
13213
|
};
|
|
13164
13214
|
linebarAutoHidden: {
|
|
13165
13215
|
type: BooleanConstructor;
|
|
@@ -13299,7 +13349,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13299
13349
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
13300
13350
|
};
|
|
13301
13351
|
operationalForm: {
|
|
13302
|
-
type: import("vue").PropType<import("
|
|
13352
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
13303
13353
|
};
|
|
13304
13354
|
linebarAutoHidden: {
|
|
13305
13355
|
type: BooleanConstructor;
|
|
@@ -13360,6 +13410,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13360
13410
|
triggerAllReactionsHandler: () => void;
|
|
13361
13411
|
operationalFormHandler: (field: string) => void;
|
|
13362
13412
|
triggerAllOperationalFormHandler: () => void;
|
|
13413
|
+
wordbookSettingHandler: (fieldKey: string, value: unknown) => void;
|
|
13363
13414
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
13364
13415
|
[key: symbol]: any;
|
|
13365
13416
|
[key: `x-${string}`]: any;
|
|
@@ -13475,7 +13526,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13475
13526
|
"x-read-pretty"?: boolean | undefined;
|
|
13476
13527
|
"x-compile-omitted"?: string[] | undefined;
|
|
13477
13528
|
}>>;
|
|
13478
|
-
onKeydown: (event: KeyboardEvent) => void
|
|
13529
|
+
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
13479
13530
|
clearSpan: (uuid: string) => void;
|
|
13480
13531
|
exposeEvent: {
|
|
13481
13532
|
validate(path?: string): Promise<void>;
|
|
@@ -13767,7 +13818,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13767
13818
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
13768
13819
|
};
|
|
13769
13820
|
operationalForm: {
|
|
13770
|
-
type: import("vue").PropType<import("
|
|
13821
|
+
type: import("vue").PropType<import("../../../es/shared/types").FormOperationalConfig[]>;
|
|
13771
13822
|
};
|
|
13772
13823
|
linebarAutoHidden: {
|
|
13773
13824
|
type: BooleanConstructor;
|