agilebuilder-ui 1.1.13-tmp4 → 1.1.13-tmp6
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/{401-e6404818.js → 401-b72ce8b6.js} +1 -1
- package/lib/{404-3556013d.js → 404-3aabf44b.js} +1 -1
- package/lib/{iframe-page-1d95c5c4.js → iframe-page-2bd8a200.js} +1 -1
- package/lib/{index-1a87600f.js → index-c03eac61.js} +15904 -15888
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +81 -81
- package/lib/{tab-content-iframe-index-728fe039.js → tab-content-iframe-index-fc7d9146.js} +1 -1
- package/lib/{tab-content-index-5481253a.js → tab-content-index-552e53a1.js} +1 -1
- package/lib/{tache-subprocess-history-051a2d26.js → tache-subprocess-history-3ef2a115.js} +1 -1
- package/package.json +1 -1
- package/packages/super-grid/src/apis.js +46 -3
- package/packages/super-grid/src/components/mobile-table-card.jsx +463 -426
- package/packages/super-grid/src/super-grid.vue +7 -1
- package/packages/super-grid/src/utils.js +1 -1
- package/pnpm-lock.yaml +3467 -0
- package/src/components/Card/index.jsx +155 -146
- package/src/components/Scrollbar/index.vue +196 -196
- package/src/mixins/resizeMixin.js +48 -48
- package/src/styles/display-layout.scss +11 -0
- package/src/utils/guid.js +13 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
|
|
2
|
-
import { _ as s } from "./index-
|
|
2
|
+
import { _ as s } from "./index-c03eac61.js";
|
|
3
3
|
const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
|
|
4
4
|
this.src = this.$route.query.src;
|
|
5
5
|
} }, mounted() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as v, c as $, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-
|
|
1
|
+
import { _ as v, c as $, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-c03eac61.js";
|
|
2
2
|
import { resolveComponent as m, openBlock as l, createBlock as b, withCtx as g, createVNode as w, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as u, toDisplayString as y, createCommentVNode as f, normalizeClass as S } from "vue";
|
|
3
3
|
const A = { class: "no-redirect" }, k = v({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
4
4
|
return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
|
|
2
|
-
import { _ as I } from "./index-
|
|
2
|
+
import { _ as I } from "./index-c03eac61.js";
|
|
3
3
|
const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
|
|
4
4
|
const o = this.$route.query.workflowId;
|
|
5
5
|
o && (this.workflowId = parseInt(o));
|
package/package.json
CHANGED
|
@@ -21,6 +21,8 @@ import {
|
|
|
21
21
|
import eventBus from './eventBus'
|
|
22
22
|
import { isPromise } from '../../../src/utils/common-util'
|
|
23
23
|
import { updateWithPageValue } from '../../../src/utils/jump-page-utils'
|
|
24
|
+
import { getGuId } from '../../../src/utils/guid.js';
|
|
25
|
+
|
|
24
26
|
const apis = {
|
|
25
27
|
// 列表工具栏控件刷新列表数据。添加该方法解决工具栏值清空后,列表内容没有还原问题
|
|
26
28
|
toolbarRefresh(parentRowIds, isLineEdit, toolbarFieldParam, isDeleteSubTableData) {
|
|
@@ -133,12 +135,13 @@ const apis = {
|
|
|
133
135
|
// 新建行
|
|
134
136
|
createRow(listCode, row, options) {
|
|
135
137
|
return new Promise((resolve, reject) => {
|
|
138
|
+
debugger;
|
|
136
139
|
if (!listCode) {
|
|
137
140
|
listCode = store.get('_list_code')
|
|
138
141
|
}
|
|
139
142
|
const gridParams = store.get(listCode)
|
|
140
143
|
const gridData = gridParams.gridData
|
|
141
|
-
gridParams.superGrid
|
|
144
|
+
gridParams.superGrid?.clearSort?.()
|
|
142
145
|
// console.log('创建行记录的条件1', gridParams.lineEdit)
|
|
143
146
|
// console.log('创建行记录的条件2', gridParams.lineEdit.editable)
|
|
144
147
|
// console.log('创建行记录的条件3', gridParams.loaded)
|
|
@@ -364,7 +367,10 @@ const apis = {
|
|
|
364
367
|
}
|
|
365
368
|
}
|
|
366
369
|
}
|
|
367
|
-
return
|
|
370
|
+
return {
|
|
371
|
+
$rowDataGuId: getGuId(),
|
|
372
|
+
...row,
|
|
373
|
+
}
|
|
368
374
|
},
|
|
369
375
|
// 设置默认值null
|
|
370
376
|
setColumnsDefaultValue(allColumns, row, gridParams, getDefaultValueFunc) {
|
|
@@ -1005,7 +1011,7 @@ const apis = {
|
|
|
1005
1011
|
}
|
|
1006
1012
|
}
|
|
1007
1013
|
if (gridParams.isMulitiSelect) {
|
|
1008
|
-
gridParams.superGrid
|
|
1014
|
+
gridParams.superGrid?.clearSelection?.()
|
|
1009
1015
|
}
|
|
1010
1016
|
gridParams.isCreateRow = false
|
|
1011
1017
|
if (isRestore === undefined || !isRestore) {
|
|
@@ -1382,3 +1388,40 @@ const apis = {
|
|
|
1382
1388
|
}
|
|
1383
1389
|
}
|
|
1384
1390
|
export default apis
|
|
1391
|
+
|
|
1392
|
+
export const apisMixin = {
|
|
1393
|
+
data() {
|
|
1394
|
+
return {
|
|
1395
|
+
toolbarFieldParam: null,
|
|
1396
|
+
showSearch: false,
|
|
1397
|
+
isMobile: false,
|
|
1398
|
+
baseURL: '',
|
|
1399
|
+
currentPage: 1,
|
|
1400
|
+
pageSize: 10,
|
|
1401
|
+
code: '',
|
|
1402
|
+
pageCode: '',
|
|
1403
|
+
jumpPageSetting: null,
|
|
1404
|
+
isShowPageDialog: false,
|
|
1405
|
+
gridData: [],
|
|
1406
|
+
subTableData: [],
|
|
1407
|
+
searchForm: [],
|
|
1408
|
+
options: {},
|
|
1409
|
+
lineEdit: null,
|
|
1410
|
+
loaded: false,
|
|
1411
|
+
configureObj: {},
|
|
1412
|
+
additionalParamMap: {},
|
|
1413
|
+
basicInfo: {},
|
|
1414
|
+
dynamicColumnInfo: {},
|
|
1415
|
+
$dataTypeMap: {},
|
|
1416
|
+
mainDefaultValueColumns: [],
|
|
1417
|
+
dynamicServiceName: '',
|
|
1418
|
+
isHasDynamic: false,
|
|
1419
|
+
isMulitiSelect: false,
|
|
1420
|
+
sql: false,
|
|
1421
|
+
restoreCurrentRowTimer: null
|
|
1422
|
+
};
|
|
1423
|
+
},
|
|
1424
|
+
methods: {
|
|
1425
|
+
...apis
|
|
1426
|
+
}
|
|
1427
|
+
}
|