@steedos/standard-ui 2.5.12-beta.21 → 2.5.12-beta.23
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.
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* @Author: 殷亮辉 yinlianghui@hotoa.com
|
|
3
3
|
* @Date: 2023-05-16 17:00:38
|
|
4
4
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
5
|
-
* @LastEditTime: 2023-08-
|
|
5
|
+
* @LastEditTime: 2023-08-22 17:42:30
|
|
6
6
|
*/
|
|
7
7
|
var buttonTriggerHistoryPathsChange;
|
|
8
8
|
; (function () {
|
|
9
9
|
try {
|
|
10
10
|
Meteor.startup(function () {
|
|
11
|
+
Object.assign(Steedos, {
|
|
12
|
+
goBack
|
|
13
|
+
});
|
|
11
14
|
var rootId = "steedosHistoryPathsRoot";
|
|
12
15
|
var modalRoot = document.getElementById(rootId);
|
|
13
16
|
if (!modalRoot) {
|
|
@@ -59,14 +62,15 @@ var buttonTriggerHistoryPathsChange;
|
|
|
59
62
|
return false;
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
|
-
const waittingVars = ["SteedosUI.refs.serviceSteedosHistoryPaths.getComponentByName"];
|
|
63
65
|
Promise.all([
|
|
64
|
-
waitForThing(window,
|
|
66
|
+
waitForThing(window, 'SteedosUI'),
|
|
65
67
|
]).then(() => {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
const waittingVars = ["SteedosUI.refs.serviceSteedosHistoryPaths.getComponentByName"];
|
|
69
|
+
Promise.all([
|
|
70
|
+
waitForThing(window, waittingVars, findVars)
|
|
71
|
+
]).then(() => {
|
|
72
|
+
var scope = SteedosUI.refs["serviceSteedosHistoryPaths"];
|
|
73
|
+
buttonTriggerHistoryPathsChange = scope.getComponentByName("serviceSteedosHistoryPaths.buttonTriggerHistoryPathsChange");
|
|
70
74
|
});
|
|
71
75
|
});
|
|
72
76
|
}
|
|
@@ -212,10 +216,13 @@ function debounce(fn, delay) {
|
|
|
212
216
|
}
|
|
213
217
|
}
|
|
214
218
|
|
|
215
|
-
function getOpenerLevel(opener,level){
|
|
219
|
+
function getOpenerLevel(opener, level) {
|
|
220
|
+
if (level > 3) {
|
|
221
|
+
return level + 1;
|
|
222
|
+
}
|
|
216
223
|
if (!!opener['opener']) {
|
|
217
224
|
return getOpenerLevel(opener['opener'], level + 1);
|
|
218
|
-
}else{
|
|
219
|
-
|
|
225
|
+
} else {
|
|
226
|
+
return level;
|
|
220
227
|
}
|
|
221
228
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-ui",
|
|
3
|
-
"version": "2.5.12-beta.
|
|
3
|
+
"version": "2.5.12-beta.23",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"repository": {},
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "a43e07094bb044a7a13d18235a8171fc87e7e315"
|
|
16
16
|
}
|