@devops-flow/devops-flow-pipeline-detail 0.0.38 → 0.0.39

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.
Files changed (31) hide show
  1. package/dist/PipelineFlowDetail.js +2 -2
  2. package/es/components/common/teambition/avatar/index.js +1 -1
  3. package/es/components/common/teambition/flow-job-btn/stat-info-s-common/RememberConfirm.js +6 -8
  4. package/es/components/common/teambition/flow-job-new/utils/index.js +1 -1
  5. package/es/components/common/teambition/run-param-config-dialog/index.js +2 -2
  6. package/es/components/common/teambition/yunxiao-member/index.js +4 -6
  7. package/es/components/dashboardMain/components/machineGroupUpgrade/index.js +1 -1
  8. package/es/components/dashboardMain/components/maven-setting/NpmSelectRepoDialog.js +3 -3
  9. package/es/components/dashboardMain/components/search-panel/index.js +1 -1
  10. package/es/components/dashboardMain/enterprise-setting/utils.js +2 -3
  11. package/es/components/dashboardMain/index.js +1 -1
  12. package/es/components/dashboardMain/pipelines/index.js +1 -1
  13. package/es/components/detailMain/deployments/index.js +2 -2
  14. package/es/components/newbieTask/util.js +41 -41
  15. package/es/components/pipeline/new/index.js +2 -2
  16. package/es/contexts/pipeline.js +1 -1
  17. package/es/index.js +1 -1
  18. package/es/pages/dashboard/index.js +2 -2
  19. package/es/pages/detail/index.js +1 -1
  20. package/es/pages/new-detail/index.js +1 -1
  21. package/es/pages/project/index.js +1 -1
  22. package/es/pages/tbNavigationInit/Invite/index.js +1 -4
  23. package/es/pages/tbNavigationInit/detail.js +1 -1
  24. package/es/style.js +1 -4
  25. package/es/utils/api/index.js +1 -9
  26. package/es/utils/apimap/index.js +9 -5
  27. package/es/utils/apimap/maps/uiless.js +3 -4
  28. package/es/utils/track/index.d.ts +1 -1
  29. package/es/utils/track/index.js +1 -1
  30. package/es/utils/track/init.js +2 -2
  31. package/package.json +3 -2
@@ -1,7 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- var _window$userInfos = window.userInfos,
3
- orgId = _window$userInfos.orgId,
4
- host = _window$userInfos.host;
2
+ var orgId = 'orgId';
3
+ var host = 'host';
5
4
  var apimap = [{
6
5
  id: 'uiless-member-list',
7
6
  url: "/uiless/api/organizations/" + orgId + "/members/search",
@@ -30,7 +29,7 @@ var apimap = [{
30
29
  url: '/api/members/list'
31
30
  }, {
32
31
  id: 'uiless-members-list-v5',
33
- url: "/api/organizations/" + window.userInfos.orgId + "/members/list"
32
+ url: "/api/organizations/orgId/members/list"
34
33
  }, {
35
34
  id: 'uiless-error-center',
36
35
  url: '/uiless/api/errors/{{errorCode}}'
@@ -19,7 +19,7 @@ declare const spmB: {
19
19
  };
20
20
  declare const spmA = "a2cl9";
21
21
  declare const globalParams: {
22
- orgId: any;
22
+ orgId: string;
23
23
  mp_lib: string;
24
24
  userId: any;
25
25
  userRole: any;
@@ -29,7 +29,7 @@ var spmB = {
29
29
  };
30
30
  var spmA = 'a2cl9';
31
31
  var globalParams = {
32
- orgId: window.userInfos && window.userInfos.orgId,
32
+ orgId: 'orgId',
33
33
  mp_lib: 'aliyun_flow',
34
34
  userId: window.AK_GLOBAL && window.AK_GLOBAL.currentUser && window.AK_GLOBAL.currentUser.tbUserId,
35
35
  userRole: window.AK_GLOBAL && window.AK_GLOBAL.currentUser && window.AK_GLOBAL.currentUser.roleId
@@ -19,7 +19,7 @@ var FlowGTA = function FlowGTA() {
19
19
  // 非 tour 页面执行 setUser,不执行 init
20
20
  this.isNotTourInit = function () {
21
21
  _this.setUser();
22
- gta.registerProperty('organizationid', window.userInfos.orgId);
22
+ gta.registerProperty('organizationid', 'orgId');
23
23
  gta.registerProperty('mp_lib', _this.isTb ? 'flow_web' : 'aliyun_flow');
24
24
  gta.debug = window.AK_GLOBAL.env !== 'PRODUCTION';
25
25
  };
@@ -45,7 +45,7 @@ var FlowGTA = function FlowGTA() {
45
45
  initTrack({
46
46
  userId: _this.userId,
47
47
  userName: _this.userName,
48
- organizationId: window.userInfos.orgId,
48
+ organizationId: 'orgId',
49
49
  appName: 'flow',
50
50
  autoTrack: true,
51
51
  enableAEM: getFeature('app.enableAEM'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devops-flow/devops-flow-pipeline-detail",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "flow 流水线详情",
5
5
  "medusaName": "rdc-tb-cd-assets",
6
6
  "main": "dist/PipelineFlowDetail.js",
@@ -47,5 +47,6 @@
47
47
  "peerDependencies": {
48
48
  "react": "^18.0.0",
49
49
  "react-dom": "^18.0.0"
50
- }
50
+ },
51
+ "homepage": "https://unpkg.com/@devops-flow/devops-flow-pipeline-detail@0.0.39/build/index.html"
51
52
  }