agilebuilder-ui 1.1.0 → 1.1.2
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +60284 -124414
- package/lib/super-ui.umd.cjs +118 -122
- package/package.json +2 -1
- package/packages/super-grid/src/super-grid.vue +1 -1
- package/vite.config.js +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agilebuilder-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/super-ui.js",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"axios": "^1.5.1",
|
|
29
29
|
"element-plus": "^2.4.1",
|
|
30
30
|
"nprogress": "^0.2.0",
|
|
31
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
31
32
|
"sass": "1.69.4",
|
|
32
33
|
"vite": "^4.4.5",
|
|
33
34
|
"vite-plugin-require-transform": "^1.0.21",
|
|
@@ -3105,7 +3105,7 @@ export default {
|
|
|
3105
3105
|
return gridParams.options.filterDataEvent.call(this, params)
|
|
3106
3106
|
},
|
|
3107
3107
|
resetAdditionalParamMap(param, gridParams) {
|
|
3108
|
-
if (this.pageContext.entity) {
|
|
3108
|
+
if (this.pageContext && this.pageContext.entity) {
|
|
3109
3109
|
let additionalParamMap = JSON.parse(JSON.stringify(this.pageContext.entity.page))
|
|
3110
3110
|
if (!additionalParamMap) {
|
|
3111
3111
|
additionalParamMap = {}
|
package/vite.config.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { defineConfig } from "vite";
|
|
2
2
|
import vue from "@vitejs/plugin-vue";
|
|
3
3
|
import path from "path";
|
|
4
|
+
import { terser } from 'rollup-plugin-terser'
|
|
4
5
|
// https://vitejs.dev/config/
|
|
5
6
|
export default defineConfig({
|
|
6
|
-
plugins: [
|
|
7
|
+
plugins: [
|
|
8
|
+
vue(),
|
|
9
|
+
terser({
|
|
10
|
+
compress: {
|
|
11
|
+
drop_console: true,
|
|
12
|
+
drop_debugger: true
|
|
13
|
+
}
|
|
14
|
+
})
|
|
15
|
+
],
|
|
7
16
|
build: {
|
|
8
17
|
outDir: "lib", //输出文件名称
|
|
9
18
|
lib: {
|