@devops-flow/devops-flow-pipeline-detail 0.0.38 → 0.0.40
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/dist/PipelineFlowDetail.css +1 -1
- package/dist/PipelineFlowDetail.js +2 -2
- package/es/components/common/teambition/avatar/index.js +1 -1
- package/es/components/common/teambition/flow-job-btn/stat-info-s-common/RememberConfirm.js +6 -8
- package/es/components/common/teambition/flow-job-new/utils/index.js +1 -1
- package/es/components/common/teambition/run-param-config-dialog/index.js +2 -2
- package/es/components/common/teambition/yunxiao-member/index.js +4 -6
- package/es/components/dashboardMain/components/machineGroupUpgrade/index.js +1 -1
- package/es/components/dashboardMain/components/maven-setting/NpmSelectRepoDialog.js +3 -3
- package/es/components/dashboardMain/components/search-panel/index.js +1 -1
- package/es/components/dashboardMain/enterprise-setting/utils.js +2 -3
- package/es/components/dashboardMain/index.js +1 -1
- package/es/components/dashboardMain/pipelines/index.js +1 -1
- package/es/components/detailMain/deployments/index.js +2 -2
- package/es/components/newbieTask/util.js +41 -41
- package/es/components/pipeline/new/index.js +2 -2
- package/es/contexts/pipeline.js +1 -1
- package/es/index.js +1 -1
- package/es/pages/dashboard/index.js +2 -2
- package/es/pages/detail/index.js +1 -1
- package/es/pages/new-detail/index.js +1 -1
- package/es/pages/new-detail/index.scss +1 -1
- package/es/pages/project/index.js +1 -1
- package/es/pages/tbNavigationInit/Invite/index.js +1 -4
- package/es/pages/tbNavigationInit/detail.js +1 -1
- package/es/style.js +1 -4
- package/es/utils/api/index.js +1 -9
- package/es/utils/apimap/index.js +9 -5
- package/es/utils/apimap/maps/uiless.js +3 -4
- package/es/utils/track/index.d.ts +1 -1
- package/es/utils/track/index.js +1 -1
- package/es/utils/track/init.js +2 -2
- package/package.json +1 -1
- package/dist/assets/2e7ded00f078fd4ec6492110af6d0a14.otf +0 -0
package/es/utils/apimap/index.js
CHANGED
|
@@ -45,10 +45,14 @@ var exceed = new Exceed({
|
|
|
45
45
|
ENV: 'local'
|
|
46
46
|
});
|
|
47
47
|
var getUilessHeader = function getUilessHeader() {
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
var _orgId$appId$accessTo = {
|
|
49
|
+
orgId: 'orgId',
|
|
50
|
+
appId: 'appId',
|
|
51
|
+
accessToken: 'accessToken'
|
|
52
|
+
},
|
|
53
|
+
orgId = _orgId$appId$accessTo.orgId,
|
|
54
|
+
appId = _orgId$appId$accessTo.appId,
|
|
55
|
+
accessToken = _orgId$appId$accessTo.accessToken;
|
|
52
56
|
var uilessHeader = {
|
|
53
57
|
Authorization: "Bearer " + accessToken,
|
|
54
58
|
'X-Tenant-Id': orgId,
|
|
@@ -72,7 +76,7 @@ exceed.interceptors.request.push(function (requestParams) {
|
|
|
72
76
|
if (!requestParams.headers) {
|
|
73
77
|
requestParams.headers = {};
|
|
74
78
|
}
|
|
75
|
-
var orgId =
|
|
79
|
+
var orgId = 'orgId';
|
|
76
80
|
if (orgId) {
|
|
77
81
|
requestParams.headers['H-Tenant-Id'] = orgId;
|
|
78
82
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
var
|
|
3
|
-
|
|
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/
|
|
32
|
+
url: "/api/organizations/orgId/members/list"
|
|
34
33
|
}, {
|
|
35
34
|
id: 'uiless-error-center',
|
|
36
35
|
url: '/uiless/api/errors/{{errorCode}}'
|
package/es/utils/track/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var spmB = {
|
|
|
29
29
|
};
|
|
30
30
|
var spmA = 'a2cl9';
|
|
31
31
|
var globalParams = {
|
|
32
|
-
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
|
package/es/utils/track/init.js
CHANGED
|
@@ -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',
|
|
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:
|
|
48
|
+
organizationId: 'orgId',
|
|
49
49
|
appName: 'flow',
|
|
50
50
|
autoTrack: true,
|
|
51
51
|
enableAEM: getFeature('app.enableAEM'),
|
package/package.json
CHANGED
|
Binary file
|