@baosight/er4j 0.0.57 → 0.0.59
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/er4j-dist/er4j.css +1 -1
- package/er4j-dist/er4j.es.js +14118 -13836
- package/er4j-dist/er4j.es.js.map +1 -1
- package/er4j-dist/er4j.umd.js +47 -47
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/types/components/ErGridCellEditor/LargeTextEditor.vue.d.ts +2 -1
- package/er4j-dist/types/components/ErGridCellEditor/TextEditor.vue.d.ts +3 -2
- package/er4j-dist/types/components/ErGridCellRender/CardRender.vue.d.ts +787 -5
- package/er4j-dist/types/components/ErGridCellRender/SwitchRender.vue.d.ts +1563 -0
- package/er4j-dist/types/components/ErRadioGroup/ErRadioGroup.vue.d.ts +1 -1
- package/er4j-dist/types/utils/er.d.ts +20 -1
- package/package.json +35 -28
|
@@ -339,7 +339,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
339
339
|
};
|
|
340
340
|
getPopupContainer: {
|
|
341
341
|
type: import('vue').PropType<(triggerNode?: HTMLElement | undefined) => HTMLElement>;
|
|
342
|
-
};
|
|
342
|
+
}; /** @type { [typeof __VLS_components.ARadio, typeof __VLS_components.aRadio, typeof __VLS_components.ARadio, typeof __VLS_components.aRadio, ] } */
|
|
343
343
|
prefixCls: StringConstructor;
|
|
344
344
|
getPrefixCls: {
|
|
345
345
|
type: import('vue').PropType<(suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string>;
|
|
@@ -755,6 +755,24 @@ export declare namespace ER {
|
|
|
755
755
|
isShowFooter?: boolean;
|
|
756
756
|
isCheckedRows?: boolean;
|
|
757
757
|
}): void;
|
|
758
|
+
/**
|
|
759
|
+
* 导出多个Grid到Excel
|
|
760
|
+
* @param gridInfo
|
|
761
|
+
* @param exportOptions 导出选项
|
|
762
|
+
* @returns void
|
|
763
|
+
*/
|
|
764
|
+
static exportMuiltiGridToExcel(gridInfo: {
|
|
765
|
+
gridApi: GridApi;
|
|
766
|
+
sheetName?: string;
|
|
767
|
+
}[], exportOptions?: {
|
|
768
|
+
fileName?: string;
|
|
769
|
+
isCheckedRows?: boolean;
|
|
770
|
+
numberAsText?: boolean;
|
|
771
|
+
skipBandRows?: boolean;
|
|
772
|
+
skipGroupRows?: boolean;
|
|
773
|
+
skipSummaryRows?: boolean;
|
|
774
|
+
skipFooterRows?: boolean;
|
|
775
|
+
}): void;
|
|
758
776
|
/**
|
|
759
777
|
* 设置GridColumn的属性
|
|
760
778
|
* @param gridApi
|
|
@@ -2797,9 +2815,10 @@ export declare namespace ER {
|
|
|
2797
2815
|
* 增加Grid的列
|
|
2798
2816
|
* @param grid 配置代码或grid对象
|
|
2799
2817
|
* @param column 列信息
|
|
2818
|
+
* @param insertBeforeColumn 插入到该列(ColId)之前
|
|
2800
2819
|
* @returns this
|
|
2801
2820
|
*/
|
|
2802
|
-
addGridColumn(grid: any, column: {} | Array<{}
|
|
2821
|
+
addGridColumn(grid: any, column: {} | Array<{}>, insertBeforeColumn?: string): FormHelper;
|
|
2803
2822
|
/**
|
|
2804
2823
|
* 删除Grid的列
|
|
2805
2824
|
* @param grid 配置代码或grid对象
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baosight/er4j",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"description": "er4j 辅助开发",
|
|
5
|
+
"license": "UNLICENSED",
|
|
5
6
|
"private": false,
|
|
6
7
|
"type": "module",
|
|
7
8
|
"main": "er4j-dist/er4j.umd.js",
|
|
@@ -25,15 +26,15 @@
|
|
|
25
26
|
],
|
|
26
27
|
"peerDependencies": {
|
|
27
28
|
"@eplat/ei": ">=1.2.0",
|
|
28
|
-
"@xr/core": ">=1.2.5",
|
|
29
|
-
"@xr/theme3-default": ">=1.2.0",
|
|
30
|
-
"@xr/ui": ">=1.2.5",
|
|
31
29
|
"@vue/cli-plugin-babel": "5.0.1",
|
|
32
30
|
"@vue/cli-plugin-router": "5.0.1",
|
|
33
31
|
"@vue/cli-plugin-typescript": "5.0.1",
|
|
34
32
|
"@vue/cli-plugin-vuex": "5.0.1",
|
|
35
33
|
"@vue/cli-service": "5.0.1",
|
|
36
34
|
"@vue/compiler-sfc": "3.5.13",
|
|
35
|
+
"@xr/core": ">=1.2.5",
|
|
36
|
+
"@xr/theme3-default": ">=1.2.0",
|
|
37
|
+
"@xr/ui": ">=1.2.5",
|
|
37
38
|
"dayjs": "1.11.13"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {},
|
|
@@ -63,17 +64,34 @@
|
|
|
63
64
|
"@ag-grid-enterprise/sparklines": "30.2.1",
|
|
64
65
|
"@ag-grid-enterprise/status-bar": "30.2.1",
|
|
65
66
|
"@ag-grid-enterprise/viewport-row-model": "30.2.1",
|
|
67
|
+
"@babel/polyfill": "7.12.1",
|
|
66
68
|
"@codemirror/lang-javascript": "6.2.2",
|
|
67
69
|
"@codemirror/lang-json": "6.0.1",
|
|
68
70
|
"@codemirror/lang-sql": "6.6.3",
|
|
69
71
|
"@element-plus/icons-vue": "2.0.4",
|
|
70
72
|
"@eplat/ei": "1.2.4",
|
|
71
73
|
"@erp/erp-ui-lib": "0.0.1",
|
|
74
|
+
"@types/kendo-ui": "2022.2.0",
|
|
75
|
+
"@types/node": "22.14.1",
|
|
76
|
+
"@types/nprogress": "0.2.0",
|
|
77
|
+
"@vitejs/plugin-vue": "5.2.3",
|
|
78
|
+
"@vue-flow/background": "^1.3.2",
|
|
79
|
+
"@vue-flow/controls": "^1.1.3",
|
|
80
|
+
"@vue-flow/core": "^1.46.2",
|
|
81
|
+
"@vue-flow/minimap": "^1.5.4",
|
|
82
|
+
"@vue-flow/node-resizer": "^1.5.0",
|
|
83
|
+
"@vue/cli-plugin-babel": "5.0.1",
|
|
84
|
+
"@vue/cli-plugin-router": "5.0.1",
|
|
85
|
+
"@vue/cli-plugin-typescript": "5.0.1",
|
|
86
|
+
"@vue/cli-plugin-vuex": "5.0.1",
|
|
87
|
+
"@vue/cli-service": "5.0.1",
|
|
88
|
+
"@vue/compiler-sfc": "3.2.33",
|
|
72
89
|
"@xr/core": "1.4.1",
|
|
73
90
|
"@xr/theme3-default": "1.4.1",
|
|
74
91
|
"@xr/ui": "1.4.1",
|
|
75
92
|
"ant-design-vue": "4.0.6",
|
|
76
93
|
"axios": "0.27.2",
|
|
94
|
+
"codemirror": "6.0.1",
|
|
77
95
|
"core-js": "3.22.8",
|
|
78
96
|
"crypto-js": "4.2.0",
|
|
79
97
|
"decimal.js": "10.5.0",
|
|
@@ -83,46 +101,35 @@
|
|
|
83
101
|
"jsencrypt": "3.3.0",
|
|
84
102
|
"lodash": "4.17.21",
|
|
85
103
|
"lodash-es": "4.17.21",
|
|
104
|
+
"mockjs": "1.1.0",
|
|
86
105
|
"nprogress": "0.2.0",
|
|
87
106
|
"numeral": "2.0.6",
|
|
88
107
|
"path-browserify": "1.0.1",
|
|
89
108
|
"path-to-regexp": "6.2.1",
|
|
90
109
|
"pinia": "2.0.36",
|
|
91
|
-
"screenfull": "6.0.1",
|
|
92
|
-
"splitpanes": "3.1.5",
|
|
93
|
-
"sql-formatter": "15.4.11",
|
|
94
|
-
"verify": "0.1.2",
|
|
95
|
-
"vite": "6.3.5",
|
|
96
|
-
"vue": "3.5.13",
|
|
97
|
-
"vue-clipboard3": "2.0.0",
|
|
98
|
-
"vue-codemirror": "6.1.1",
|
|
99
|
-
"vue-i18n": "9.2.2",
|
|
100
|
-
"vue-router": "4.0.16",
|
|
101
|
-
"xlsx": "0.18.5",
|
|
102
|
-
"@types/kendo-ui": "2022.2.0",
|
|
103
|
-
"@types/node": "22.14.1",
|
|
104
|
-
"@types/nprogress": "0.2.0",
|
|
105
|
-
"@vitejs/plugin-vue": "5.2.3",
|
|
106
|
-
"@vue/cli-plugin-babel": "5.0.1",
|
|
107
|
-
"@vue/cli-plugin-router": "5.0.1",
|
|
108
|
-
"@vue/cli-plugin-typescript": "5.0.1",
|
|
109
|
-
"@vue/cli-plugin-vuex": "5.0.1",
|
|
110
|
-
"@vue/cli-service": "5.0.1",
|
|
111
|
-
"@vue/compiler-sfc": "3.2.33",
|
|
112
|
-
"@babel/polyfill": "7.12.1",
|
|
113
|
-
"mockjs": "1.1.0",
|
|
114
110
|
"rimraf": "3.0.2",
|
|
115
111
|
"sass": "1.87.0",
|
|
116
112
|
"sass-loader": "16.0.5",
|
|
113
|
+
"screenfull": "6.0.1",
|
|
117
114
|
"speed-measure-webpack-plugin": "1.5.0",
|
|
115
|
+
"splitpanes": "3.1.5",
|
|
116
|
+
"sql-formatter": "15.4.11",
|
|
118
117
|
"svg-sprite-loader": "6.0.11",
|
|
119
118
|
"svgo": "2.8.0",
|
|
120
119
|
"svgo-loader": "3.0.1",
|
|
121
120
|
"typescript": "5.3.2",
|
|
122
121
|
"unplugin-auto-import": "0.16.6",
|
|
123
122
|
"unplugin-vue-components": "0.25.2",
|
|
123
|
+
"verify": "0.1.2",
|
|
124
|
+
"vite": "6.3.5",
|
|
124
125
|
"vite-plugin-dts": "4.5.3",
|
|
125
126
|
"vite-plugin-html-env": "1.2.8",
|
|
126
|
-
"vite-plugin-top-level-await": "1.3.1"
|
|
127
|
+
"vite-plugin-top-level-await": "1.3.1",
|
|
128
|
+
"vue": "3.5.13",
|
|
129
|
+
"vue-clipboard3": "2.0.0",
|
|
130
|
+
"vue-codemirror": "^6.1.1",
|
|
131
|
+
"vue-i18n": "9.2.2",
|
|
132
|
+
"vue-router": "4.0.16",
|
|
133
|
+
"xlsx": "0.18.5"
|
|
127
134
|
}
|
|
128
135
|
}
|