@indfnd/common 1.0.90 → 1.0.91
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/CHANGELOG.md +7 -0
- package/dist/ind-common.es.js +15 -3
- package/dist/ind-common.umd.cjs +21 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.91](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.90...v1.0.91) (2025-02-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 表格的enter键换行 ([06cc403](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/06cc403fa2f1c265089e4e63702d07c3ce5fff1e))
|
|
11
|
+
|
|
5
12
|
### [1.0.90](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.89...v1.0.90) (2025-02-06)
|
|
6
13
|
|
|
7
14
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
|
|
|
5460
5460
|
})(lodash, lodash.exports);
|
|
5461
5461
|
var _ = lodash.exports;
|
|
5462
5462
|
const name$1 = "@indfnd/common";
|
|
5463
|
-
const version = "1.0.
|
|
5463
|
+
const version = "1.0.90";
|
|
5464
5464
|
const author = "huxuetong";
|
|
5465
5465
|
const publishConfig = {
|
|
5466
5466
|
registry: "https://registry.npmjs.org/"
|
|
@@ -51443,7 +51443,7 @@ var AgTooltip = /* @__PURE__ */ function() {
|
|
|
51443
51443
|
const __vue2_script$1d = {
|
|
51444
51444
|
name: "IndAgInput",
|
|
51445
51445
|
render(h) {
|
|
51446
|
-
const { value, data, colDef, scaleFn } = this.params;
|
|
51446
|
+
const { value, data, colDef, scaleFn, api, node, column } = this.params;
|
|
51447
51447
|
const { props } = (colDef == null ? void 0 : colDef.cellRendererParams) || {};
|
|
51448
51448
|
const { type, disabled: disabledDef, textCondition } = props || {};
|
|
51449
51449
|
const disabled = disabledDef instanceof Function ? disabledDef(data) : disabledDef;
|
|
@@ -51471,6 +51471,16 @@ const __vue2_script$1d = {
|
|
|
51471
51471
|
disabled
|
|
51472
51472
|
},
|
|
51473
51473
|
on: {
|
|
51474
|
+
"on-enter": () => {
|
|
51475
|
+
let nextRowIndex = node.rowIndex + 1;
|
|
51476
|
+
window.gridApi.ensureIndexVisible(nextRowIndex);
|
|
51477
|
+
window.gridApi.ensureColumnVisible(column);
|
|
51478
|
+
setTimeout(() => {
|
|
51479
|
+
window.gridApi.gridBodyCtrl.rowRenderer.rowCtrlsByRowIndex[nextRowIndex].centerGui.element.getElementsByTagName("input")[1].focus();
|
|
51480
|
+
}, 0);
|
|
51481
|
+
},
|
|
51482
|
+
"on-keypress": () => {
|
|
51483
|
+
},
|
|
51474
51484
|
"on-blur": (event) => {
|
|
51475
51485
|
let v = event.target.value;
|
|
51476
51486
|
let updateV = null;
|
|
@@ -68134,7 +68144,9 @@ var app = {
|
|
|
68134
68144
|
}
|
|
68135
68145
|
commit2("setPermissionList", permissionList);
|
|
68136
68146
|
commit2("setPermission", permission2);
|
|
68137
|
-
|
|
68147
|
+
if (top == self) {
|
|
68148
|
+
commit2("setMenuTreeList", generatorMenuTree(permissionList));
|
|
68149
|
+
}
|
|
68138
68150
|
return permissionList;
|
|
68139
68151
|
}
|
|
68140
68152
|
try {
|