@steedos/standard-ui 2.5.12-beta.22 → 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-22 10:41:40
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, waittingVars, findVars)
66
+ waitForThing(window, 'SteedosUI'),
65
67
  ]).then(() => {
66
- var scope = SteedosUI.refs["serviceSteedosHistoryPaths"];
67
- buttonTriggerHistoryPathsChange = scope.getComponentByName("serviceSteedosHistoryPaths.buttonTriggerHistoryPathsChange");
68
- Object.assign(Steedos, {
69
- goBack
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.5.12-beta.22",
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": "8061d9ea9c14717d8328a411a2ee6a3e943ebbdd"
15
+ "gitHead": "a43e07094bb044a7a13d18235a8171fc87e7e315"
16
16
  }