ydb-components-material 0.1.106 → 0.1.108
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/{umi.03d24726.css → umi.0bdb74c5.css} +1 -1
- package/build/docs/umi.f685e4ec.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/check-res/index.d.ts +1 -0
- package/es/components/check-res/index.js +3 -1
- package/es/components/guide/compoents/materials/materials.d.ts +1 -2
- package/es/components/guide/compoents/materials/materials.js +3 -17
- package/es/components/guide/compoents/materials/situation.d.ts +1 -2
- package/es/components/guide/compoents/materials/situation.js +4 -15
- package/es/components/guide/compoents/result.scss +1 -1
- package/es/components/guide/index.d.ts +2 -3
- package/es/components/guide/index.js +5 -5
- package/lib/components/check-res/index.d.ts +1 -0
- package/lib/components/check-res/index.js +3 -1
- package/lib/components/guide/compoents/materials/materials.d.ts +1 -2
- package/lib/components/guide/compoents/materials/materials.js +3 -17
- package/lib/components/guide/compoents/materials/situation.d.ts +1 -2
- package/lib/components/guide/compoents/materials/situation.js +4 -15
- package/lib/components/guide/compoents/result.scss +1 -1
- package/lib/components/guide/index.d.ts +2 -3
- package/lib/components/guide/index.js +5 -5
- package/lowcode/check-res/meta.ts +15 -0
- package/lowcode/guide/meta.ts +23 -38
- package/lowcode_es/check-res/meta.js +14 -0
- package/lowcode_es/guide/meta.js +21 -36
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/check-res/meta.js +14 -0
- package/lowcode_lib/guide/meta.js +21 -36
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
- package/build/docs/umi.b82d1ee3.js +0 -1
|
@@ -8,6 +8,8 @@ var CheckRes = function CheckRes(_ref) {
|
|
|
8
8
|
hasBorderBottom = _ref.hasBorderBottom,
|
|
9
9
|
desc = _ref.desc,
|
|
10
10
|
buttonText = _ref.buttonText,
|
|
11
|
+
_ref$showJumpBtn = _ref.showJumpBtn,
|
|
12
|
+
showJumpBtn = _ref$showJumpBtn === void 0 ? false : _ref$showJumpBtn,
|
|
11
13
|
jumpFun = _ref.jumpFun;
|
|
12
14
|
var text = '预检中...';
|
|
13
15
|
if (res === true) {
|
|
@@ -41,7 +43,7 @@ var CheckRes = function CheckRes(_ref) {
|
|
|
41
43
|
}
|
|
42
44
|
}, text)), desc && /*#__PURE__*/React.createElement("div", {
|
|
43
45
|
className: "prompt"
|
|
44
|
-
}, /*#__PURE__*/React.createElement("div", null, desc),
|
|
46
|
+
}, /*#__PURE__*/React.createElement("div", null, desc), showJumpBtn && /*#__PURE__*/React.createElement("div", {
|
|
45
47
|
className: "btn",
|
|
46
48
|
onClick: jumpFun
|
|
47
49
|
}, buttonText || '去办理')));
|
|
@@ -2,13 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import './materials.scss';
|
|
3
3
|
export interface MaterialsProps {
|
|
4
4
|
eventInfo?: any;
|
|
5
|
-
stepList?: any[];
|
|
6
5
|
applicationId?: string;
|
|
7
6
|
accessToken?: string;
|
|
8
7
|
acctType?: string;
|
|
9
8
|
finalMaterials?: any[];
|
|
10
9
|
declarationAppToken?: string;
|
|
11
|
-
|
|
10
|
+
situationPageUrl?: string;
|
|
12
11
|
baseUrl?: string;
|
|
13
12
|
download?: (params: any) => void;
|
|
14
13
|
situationResRechange?: (data: any) => void;
|
|
@@ -4,40 +4,26 @@ import MaterialsList from "./materialsList";
|
|
|
4
4
|
import "./materials.scss";
|
|
5
5
|
var Materials = function Materials(_ref) {
|
|
6
6
|
var eventInfoProp = _ref.eventInfo,
|
|
7
|
-
stepListProp = _ref.stepList,
|
|
8
7
|
applicationIdProp = _ref.applicationId,
|
|
9
8
|
accessTokenProp = _ref.accessToken,
|
|
10
9
|
acctTypeProp = _ref.acctType,
|
|
11
10
|
finalMaterialsProp = _ref.finalMaterials,
|
|
12
11
|
declarationAppTokenProp = _ref.declarationAppToken,
|
|
13
|
-
|
|
12
|
+
situationPageUrlProp = _ref.situationPageUrl,
|
|
14
13
|
baseUrlProp = _ref.baseUrl,
|
|
15
14
|
downloadProp = _ref.download,
|
|
16
15
|
situationResRechangeProp = _ref.situationResRechange,
|
|
17
16
|
taskHandleItemProp = _ref.taskHandleItem;
|
|
18
|
-
var _React$useState = React.useState(false),
|
|
19
|
-
hasSituation = _React$useState[0],
|
|
20
|
-
setHasSituation = _React$useState[1];
|
|
21
|
-
React.useEffect(function () {
|
|
22
|
-
var stepList = stepListProp;
|
|
23
|
-
if (stepList) {
|
|
24
|
-
var found = stepList.find(function (item) {
|
|
25
|
-
return item.fieldText === '智能导办';
|
|
26
|
-
});
|
|
27
|
-
setHasSituation(!!found);
|
|
28
|
-
}
|
|
29
|
-
}, []);
|
|
30
17
|
return /*#__PURE__*/React.createElement("div", {
|
|
31
18
|
className: "materials-content"
|
|
32
|
-
},
|
|
19
|
+
}, situationPageUrlProp && /*#__PURE__*/React.createElement(Situation, {
|
|
33
20
|
eventInfo: eventInfoProp,
|
|
34
|
-
stepList: stepListProp,
|
|
35
21
|
applicationId: applicationIdProp,
|
|
36
22
|
accessToken: accessTokenProp,
|
|
37
23
|
acctType: acctTypeProp,
|
|
38
24
|
finalMaterials: finalMaterialsProp,
|
|
39
25
|
declarationAppToken: declarationAppTokenProp,
|
|
40
|
-
|
|
26
|
+
situationPageUrl: situationPageUrlProp,
|
|
41
27
|
situationResRechange: situationResRechangeProp,
|
|
42
28
|
taskHandleItem: taskHandleItemProp
|
|
43
29
|
}), /*#__PURE__*/React.createElement(MaterialsList, {
|
|
@@ -2,13 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import './situation.scss';
|
|
3
3
|
export interface SituationProps {
|
|
4
4
|
eventInfo?: any;
|
|
5
|
-
stepList?: any[];
|
|
6
5
|
applicationId?: string;
|
|
7
6
|
accessToken?: string;
|
|
8
7
|
acctType?: string;
|
|
9
8
|
finalMaterials?: any[];
|
|
10
9
|
declarationAppToken?: string;
|
|
11
|
-
|
|
10
|
+
situationPageUrl?: string;
|
|
12
11
|
taskHandleItem?: string;
|
|
13
12
|
situationResRechange?: (data: any) => void;
|
|
14
13
|
}
|
|
@@ -7,13 +7,12 @@ import "./situation.scss";
|
|
|
7
7
|
|
|
8
8
|
var Situation = function Situation(_ref) {
|
|
9
9
|
var eventInfoProp = _ref.eventInfo,
|
|
10
|
-
stepListProp = _ref.stepList,
|
|
11
10
|
applicationIdProp = _ref.applicationId,
|
|
12
11
|
accessTokenProp = _ref.accessToken,
|
|
13
12
|
acctTypeProp = _ref.acctType,
|
|
14
13
|
finalMaterialsProp = _ref.finalMaterials,
|
|
15
14
|
declarationAppTokenProp = _ref.declarationAppToken,
|
|
16
|
-
|
|
15
|
+
situationPageUrlProp = _ref.situationPageUrl,
|
|
17
16
|
taskHandleItemProp = _ref.taskHandleItem,
|
|
18
17
|
situationResRechangeProp = _ref.situationResRechange;
|
|
19
18
|
var _React$useState = React.useState('说明:因个人情况不同上交材料不同,可通过情形选择查看必须上传的材料!'),
|
|
@@ -32,19 +31,9 @@ var Situation = function Situation(_ref) {
|
|
|
32
31
|
};
|
|
33
32
|
}, []);
|
|
34
33
|
var initPage = function initPage() {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return item.name === '智能导办';
|
|
39
|
-
});
|
|
40
|
-
if (situationPage !== null && situationPage !== void 0 && situationPage.link && declarePageProp) {
|
|
41
|
-
var applicationId = applicationIdProp;
|
|
42
|
-
var access_token = accessTokenProp;
|
|
43
|
-
var acctType = acctTypeProp;
|
|
44
|
-
var finalLink = declarePageProp + "/preview.html?pageID=" + situationPage.id;
|
|
45
|
-
var url = finalLink + "&isFirst=1&isReCheck=1&applicationId=" + applicationId + "&access_token=" + access_token + "&acctType=" + acctType;
|
|
46
|
-
setIframeSrc(url);
|
|
47
|
-
}
|
|
34
|
+
if (!situationPageUrlProp) return;
|
|
35
|
+
var url = situationPageUrlProp + "&isFirst=1&isReCheck=1";
|
|
36
|
+
setIframeSrc(url);
|
|
48
37
|
};
|
|
49
38
|
var getMessage = function getMessage(e) {
|
|
50
39
|
var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData'];
|
|
@@ -5,6 +5,7 @@ export interface GuideProps {
|
|
|
5
5
|
onNextStep?: (action: string) => void;
|
|
6
6
|
/** Whether to disable the prev/next buttons (coming from authorization page) */
|
|
7
7
|
cantNext?: boolean;
|
|
8
|
+
hasPrevious?: boolean;
|
|
8
9
|
/** Task handle item code */
|
|
9
10
|
taskHandleItem?: string;
|
|
10
11
|
/** Access token */
|
|
@@ -19,12 +20,10 @@ export interface GuideProps {
|
|
|
19
20
|
applicationId?: string;
|
|
20
21
|
/** Final materials after intelligent guidance */
|
|
21
22
|
finalMaterials?: object[];
|
|
22
|
-
/** Step list */
|
|
23
|
-
stepList?: object[];
|
|
24
23
|
/** Declaration app token */
|
|
25
24
|
declarationAppToken?: string;
|
|
26
25
|
/** Declare page URL */
|
|
27
|
-
|
|
26
|
+
situationPageUrl?: string;
|
|
28
27
|
/** Base URL */
|
|
29
28
|
baseUrl?: string;
|
|
30
29
|
/** Download handler */
|
|
@@ -29,6 +29,8 @@ var Guide = function Guide(_ref) {
|
|
|
29
29
|
var onNextStep = _ref.onNextStep,
|
|
30
30
|
_ref$cantNext = _ref.cantNext,
|
|
31
31
|
cantNext = _ref$cantNext === void 0 ? false : _ref$cantNext,
|
|
32
|
+
_ref$hasPrevious = _ref.hasPrevious,
|
|
33
|
+
hasPrevious = _ref$hasPrevious === void 0 ? false : _ref$hasPrevious,
|
|
32
34
|
taskHandleItem = _ref.taskHandleItem,
|
|
33
35
|
accessToken = _ref.accessToken,
|
|
34
36
|
eventInfoProp = _ref.eventInfo,
|
|
@@ -36,9 +38,8 @@ var Guide = function Guide(_ref) {
|
|
|
36
38
|
agentInfo = _ref.agentInfo,
|
|
37
39
|
applicationId = _ref.applicationId,
|
|
38
40
|
finalMaterials = _ref.finalMaterials,
|
|
39
|
-
stepList = _ref.stepList,
|
|
40
41
|
declarationAppToken = _ref.declarationAppToken,
|
|
41
|
-
|
|
42
|
+
situationPageUrl = _ref.situationPageUrl,
|
|
42
43
|
baseUrl = _ref.baseUrl,
|
|
43
44
|
download = _ref.download,
|
|
44
45
|
situationResRechange = _ref.situationResRechange;
|
|
@@ -276,13 +277,12 @@ var Guide = function Guide(_ref) {
|
|
|
276
277
|
onTabsChange: changeTab
|
|
277
278
|
}), tabIndex === 0 && /*#__PURE__*/React.createElement(Materials, {
|
|
278
279
|
eventInfo: eventInfoProp,
|
|
279
|
-
stepList: stepList,
|
|
280
280
|
applicationId: applicationId,
|
|
281
281
|
accessToken: accessToken,
|
|
282
282
|
acctType: acctType,
|
|
283
283
|
finalMaterials: finalMaterials,
|
|
284
284
|
declarationAppToken: declarationAppToken,
|
|
285
|
-
|
|
285
|
+
situationPageUrl: situationPageUrl,
|
|
286
286
|
baseUrl: baseUrl,
|
|
287
287
|
download: download,
|
|
288
288
|
situationResRechange: situationResRechange,
|
|
@@ -358,7 +358,7 @@ var Guide = function Guide(_ref) {
|
|
|
358
358
|
className: "name"
|
|
359
359
|
}, "\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
|
|
360
360
|
className: "right"
|
|
361
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
361
|
+
}, hasPrevious && /*#__PURE__*/React.createElement("div", {
|
|
362
362
|
className: "right-btn",
|
|
363
363
|
onClick: prepStep,
|
|
364
364
|
disabled: cantNext
|
|
@@ -14,6 +14,8 @@ var CheckRes = function CheckRes(_ref) {
|
|
|
14
14
|
hasBorderBottom = _ref.hasBorderBottom,
|
|
15
15
|
desc = _ref.desc,
|
|
16
16
|
buttonText = _ref.buttonText,
|
|
17
|
+
_ref$showJumpBtn = _ref.showJumpBtn,
|
|
18
|
+
showJumpBtn = _ref$showJumpBtn === void 0 ? false : _ref$showJumpBtn,
|
|
17
19
|
jumpFun = _ref.jumpFun;
|
|
18
20
|
var text = '预检中...';
|
|
19
21
|
if (res === true) {
|
|
@@ -47,7 +49,7 @@ var CheckRes = function CheckRes(_ref) {
|
|
|
47
49
|
}
|
|
48
50
|
}, text)), desc && /*#__PURE__*/React.createElement("div", {
|
|
49
51
|
className: "prompt"
|
|
50
|
-
}, /*#__PURE__*/React.createElement("div", null, desc),
|
|
52
|
+
}, /*#__PURE__*/React.createElement("div", null, desc), showJumpBtn && /*#__PURE__*/React.createElement("div", {
|
|
51
53
|
className: "btn",
|
|
52
54
|
onClick: jumpFun
|
|
53
55
|
}, buttonText || '去办理')));
|
|
@@ -2,13 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import './materials.scss';
|
|
3
3
|
export interface MaterialsProps {
|
|
4
4
|
eventInfo?: any;
|
|
5
|
-
stepList?: any[];
|
|
6
5
|
applicationId?: string;
|
|
7
6
|
accessToken?: string;
|
|
8
7
|
acctType?: string;
|
|
9
8
|
finalMaterials?: any[];
|
|
10
9
|
declarationAppToken?: string;
|
|
11
|
-
|
|
10
|
+
situationPageUrl?: string;
|
|
12
11
|
baseUrl?: string;
|
|
13
12
|
download?: (params: any) => void;
|
|
14
13
|
situationResRechange?: (data: any) => void;
|
|
@@ -10,40 +10,26 @@ require("./materials.scss");
|
|
|
10
10
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
11
11
|
var Materials = function Materials(_ref) {
|
|
12
12
|
var eventInfoProp = _ref.eventInfo,
|
|
13
|
-
stepListProp = _ref.stepList,
|
|
14
13
|
applicationIdProp = _ref.applicationId,
|
|
15
14
|
accessTokenProp = _ref.accessToken,
|
|
16
15
|
acctTypeProp = _ref.acctType,
|
|
17
16
|
finalMaterialsProp = _ref.finalMaterials,
|
|
18
17
|
declarationAppTokenProp = _ref.declarationAppToken,
|
|
19
|
-
|
|
18
|
+
situationPageUrlProp = _ref.situationPageUrl,
|
|
20
19
|
baseUrlProp = _ref.baseUrl,
|
|
21
20
|
downloadProp = _ref.download,
|
|
22
21
|
situationResRechangeProp = _ref.situationResRechange,
|
|
23
22
|
taskHandleItemProp = _ref.taskHandleItem;
|
|
24
|
-
var _React$useState = React.useState(false),
|
|
25
|
-
hasSituation = _React$useState[0],
|
|
26
|
-
setHasSituation = _React$useState[1];
|
|
27
|
-
React.useEffect(function () {
|
|
28
|
-
var stepList = stepListProp;
|
|
29
|
-
if (stepList) {
|
|
30
|
-
var found = stepList.find(function (item) {
|
|
31
|
-
return item.fieldText === '智能导办';
|
|
32
|
-
});
|
|
33
|
-
setHasSituation(!!found);
|
|
34
|
-
}
|
|
35
|
-
}, []);
|
|
36
23
|
return /*#__PURE__*/React.createElement("div", {
|
|
37
24
|
className: "materials-content"
|
|
38
|
-
},
|
|
25
|
+
}, situationPageUrlProp && /*#__PURE__*/React.createElement(_situation["default"], {
|
|
39
26
|
eventInfo: eventInfoProp,
|
|
40
|
-
stepList: stepListProp,
|
|
41
27
|
applicationId: applicationIdProp,
|
|
42
28
|
accessToken: accessTokenProp,
|
|
43
29
|
acctType: acctTypeProp,
|
|
44
30
|
finalMaterials: finalMaterialsProp,
|
|
45
31
|
declarationAppToken: declarationAppTokenProp,
|
|
46
|
-
|
|
32
|
+
situationPageUrl: situationPageUrlProp,
|
|
47
33
|
situationResRechange: situationResRechangeProp,
|
|
48
34
|
taskHandleItem: taskHandleItemProp
|
|
49
35
|
}), /*#__PURE__*/React.createElement(_materialsList["default"], {
|
|
@@ -2,13 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import './situation.scss';
|
|
3
3
|
export interface SituationProps {
|
|
4
4
|
eventInfo?: any;
|
|
5
|
-
stepList?: any[];
|
|
6
5
|
applicationId?: string;
|
|
7
6
|
accessToken?: string;
|
|
8
7
|
acctType?: string;
|
|
9
8
|
finalMaterials?: any[];
|
|
10
9
|
declarationAppToken?: string;
|
|
11
|
-
|
|
10
|
+
situationPageUrl?: string;
|
|
12
11
|
taskHandleItem?: string;
|
|
13
12
|
situationResRechange?: (data: any) => void;
|
|
14
13
|
}
|
|
@@ -11,13 +11,12 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
11
11
|
|
|
12
12
|
var Situation = function Situation(_ref) {
|
|
13
13
|
var eventInfoProp = _ref.eventInfo,
|
|
14
|
-
stepListProp = _ref.stepList,
|
|
15
14
|
applicationIdProp = _ref.applicationId,
|
|
16
15
|
accessTokenProp = _ref.accessToken,
|
|
17
16
|
acctTypeProp = _ref.acctType,
|
|
18
17
|
finalMaterialsProp = _ref.finalMaterials,
|
|
19
18
|
declarationAppTokenProp = _ref.declarationAppToken,
|
|
20
|
-
|
|
19
|
+
situationPageUrlProp = _ref.situationPageUrl,
|
|
21
20
|
taskHandleItemProp = _ref.taskHandleItem,
|
|
22
21
|
situationResRechangeProp = _ref.situationResRechange;
|
|
23
22
|
var _React$useState = React.useState('说明:因个人情况不同上交材料不同,可通过情形选择查看必须上传的材料!'),
|
|
@@ -36,19 +35,9 @@ var Situation = function Situation(_ref) {
|
|
|
36
35
|
};
|
|
37
36
|
}, []);
|
|
38
37
|
var initPage = function initPage() {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return item.name === '智能导办';
|
|
43
|
-
});
|
|
44
|
-
if (situationPage !== null && situationPage !== void 0 && situationPage.link && declarePageProp) {
|
|
45
|
-
var applicationId = applicationIdProp;
|
|
46
|
-
var access_token = accessTokenProp;
|
|
47
|
-
var acctType = acctTypeProp;
|
|
48
|
-
var finalLink = declarePageProp + "/preview.html?pageID=" + situationPage.id;
|
|
49
|
-
var url = finalLink + "&isFirst=1&isReCheck=1&applicationId=" + applicationId + "&access_token=" + access_token + "&acctType=" + acctType;
|
|
50
|
-
setIframeSrc(url);
|
|
51
|
-
}
|
|
38
|
+
if (!situationPageUrlProp) return;
|
|
39
|
+
var url = situationPageUrlProp + "&isFirst=1&isReCheck=1";
|
|
40
|
+
setIframeSrc(url);
|
|
52
41
|
};
|
|
53
42
|
var getMessage = function getMessage(e) {
|
|
54
43
|
var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData'];
|
|
@@ -5,6 +5,7 @@ export interface GuideProps {
|
|
|
5
5
|
onNextStep?: (action: string) => void;
|
|
6
6
|
/** Whether to disable the prev/next buttons (coming from authorization page) */
|
|
7
7
|
cantNext?: boolean;
|
|
8
|
+
hasPrevious?: boolean;
|
|
8
9
|
/** Task handle item code */
|
|
9
10
|
taskHandleItem?: string;
|
|
10
11
|
/** Access token */
|
|
@@ -19,12 +20,10 @@ export interface GuideProps {
|
|
|
19
20
|
applicationId?: string;
|
|
20
21
|
/** Final materials after intelligent guidance */
|
|
21
22
|
finalMaterials?: object[];
|
|
22
|
-
/** Step list */
|
|
23
|
-
stepList?: object[];
|
|
24
23
|
/** Declaration app token */
|
|
25
24
|
declarationAppToken?: string;
|
|
26
25
|
/** Declare page URL */
|
|
27
|
-
|
|
26
|
+
situationPageUrl?: string;
|
|
28
27
|
/** Base URL */
|
|
29
28
|
baseUrl?: string;
|
|
30
29
|
/** Download handler */
|
|
@@ -34,6 +34,8 @@ var Guide = function Guide(_ref) {
|
|
|
34
34
|
var onNextStep = _ref.onNextStep,
|
|
35
35
|
_ref$cantNext = _ref.cantNext,
|
|
36
36
|
cantNext = _ref$cantNext === void 0 ? false : _ref$cantNext,
|
|
37
|
+
_ref$hasPrevious = _ref.hasPrevious,
|
|
38
|
+
hasPrevious = _ref$hasPrevious === void 0 ? false : _ref$hasPrevious,
|
|
37
39
|
taskHandleItem = _ref.taskHandleItem,
|
|
38
40
|
accessToken = _ref.accessToken,
|
|
39
41
|
eventInfoProp = _ref.eventInfo,
|
|
@@ -41,9 +43,8 @@ var Guide = function Guide(_ref) {
|
|
|
41
43
|
agentInfo = _ref.agentInfo,
|
|
42
44
|
applicationId = _ref.applicationId,
|
|
43
45
|
finalMaterials = _ref.finalMaterials,
|
|
44
|
-
stepList = _ref.stepList,
|
|
45
46
|
declarationAppToken = _ref.declarationAppToken,
|
|
46
|
-
|
|
47
|
+
situationPageUrl = _ref.situationPageUrl,
|
|
47
48
|
baseUrl = _ref.baseUrl,
|
|
48
49
|
download = _ref.download,
|
|
49
50
|
situationResRechange = _ref.situationResRechange;
|
|
@@ -281,13 +282,12 @@ var Guide = function Guide(_ref) {
|
|
|
281
282
|
onTabsChange: changeTab
|
|
282
283
|
}), tabIndex === 0 && /*#__PURE__*/React.createElement(_materials["default"], {
|
|
283
284
|
eventInfo: eventInfoProp,
|
|
284
|
-
stepList: stepList,
|
|
285
285
|
applicationId: applicationId,
|
|
286
286
|
accessToken: accessToken,
|
|
287
287
|
acctType: acctType,
|
|
288
288
|
finalMaterials: finalMaterials,
|
|
289
289
|
declarationAppToken: declarationAppToken,
|
|
290
|
-
|
|
290
|
+
situationPageUrl: situationPageUrl,
|
|
291
291
|
baseUrl: baseUrl,
|
|
292
292
|
download: download,
|
|
293
293
|
situationResRechange: situationResRechange,
|
|
@@ -363,7 +363,7 @@ var Guide = function Guide(_ref) {
|
|
|
363
363
|
className: "name"
|
|
364
364
|
}, "\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
|
|
365
365
|
className: "right"
|
|
366
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
366
|
+
}, hasPrevious && /*#__PURE__*/React.createElement("div", {
|
|
367
367
|
className: "right-btn",
|
|
368
368
|
onClick: prepStep,
|
|
369
369
|
disabled: cantNext
|
|
@@ -64,6 +64,21 @@ const CheckResMeta: IPublicTypeComponentMetadata = {
|
|
|
64
64
|
"initialValue": true
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"title": {
|
|
69
|
+
"label": {
|
|
70
|
+
"type": "i18n",
|
|
71
|
+
"en-US": "showJumpBtn",
|
|
72
|
+
"zh-CN": "展示跳转按钮"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"name": "showJumpBtn",
|
|
76
|
+
"setter": {
|
|
77
|
+
"componentName": "BoolSetter",
|
|
78
|
+
"isRequired": true,
|
|
79
|
+
"initialValue": false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
67
82
|
{
|
|
68
83
|
"title": {
|
|
69
84
|
"label": {
|
package/lowcode/guide/meta.ts
CHANGED
|
@@ -49,6 +49,23 @@ const GuideMeta: IPublicTypeComponentMetadata = {
|
|
|
49
49
|
"initialValue": false
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "hasPrevious",
|
|
57
|
+
"zh-CN": "hasPrevious"
|
|
58
|
+
},
|
|
59
|
+
"tip": "hasPrevious"
|
|
60
|
+
},
|
|
61
|
+
"name": "hasPrevious",
|
|
62
|
+
"description": "has Previous btn",
|
|
63
|
+
"setter": {
|
|
64
|
+
"componentName": "BoolSetter",
|
|
65
|
+
"isRequired": false,
|
|
66
|
+
"initialValue": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
52
69
|
{
|
|
53
70
|
"title": {
|
|
54
71
|
"label": {
|
|
@@ -169,7 +186,7 @@ const GuideMeta: IPublicTypeComponentMetadata = {
|
|
|
169
186
|
"initialValue": ""
|
|
170
187
|
}
|
|
171
188
|
},
|
|
172
|
-
|
|
189
|
+
|
|
173
190
|
{
|
|
174
191
|
"title": {
|
|
175
192
|
"label": {
|
|
@@ -203,38 +220,6 @@ const GuideMeta: IPublicTypeComponentMetadata = {
|
|
|
203
220
|
}
|
|
204
221
|
},
|
|
205
222
|
|
|
206
|
-
{
|
|
207
|
-
"title": {
|
|
208
|
-
"label": {
|
|
209
|
-
"type": "i18n",
|
|
210
|
-
"en-US": "stepList",
|
|
211
|
-
"zh-CN": "stepList"
|
|
212
|
-
},
|
|
213
|
-
"tip": "stepList | Step list"
|
|
214
|
-
},
|
|
215
|
-
"name": "stepList",
|
|
216
|
-
"description": "Step list",
|
|
217
|
-
"setter": {
|
|
218
|
-
"componentName": "ArraySetter",
|
|
219
|
-
"props": {
|
|
220
|
-
"itemSetter": {
|
|
221
|
-
"componentName": "ObjectSetter",
|
|
222
|
-
"props": {
|
|
223
|
-
"config": {
|
|
224
|
-
"extraSetter": {
|
|
225
|
-
"componentName": "MixedSetter",
|
|
226
|
-
"isRequired": false,
|
|
227
|
-
"props": {}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"isRequired": false,
|
|
232
|
-
"initialValue": {}
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"initialValue": []
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
223
|
{
|
|
239
224
|
"title": {
|
|
240
225
|
"label": {
|
|
@@ -256,13 +241,13 @@ const GuideMeta: IPublicTypeComponentMetadata = {
|
|
|
256
241
|
"title": {
|
|
257
242
|
"label": {
|
|
258
243
|
"type": "i18n",
|
|
259
|
-
"en-US": "
|
|
260
|
-
"zh-CN": "
|
|
244
|
+
"en-US": "situationPageUrl",
|
|
245
|
+
"zh-CN": "situationPageUrl"
|
|
261
246
|
},
|
|
262
|
-
"tip": "
|
|
247
|
+
"tip": "situationPageUrl"
|
|
263
248
|
},
|
|
264
|
-
"name": "
|
|
265
|
-
"description": "
|
|
249
|
+
"name": "situationPageUrl",
|
|
250
|
+
"description": "situationPageUrl",
|
|
266
251
|
"setter": {
|
|
267
252
|
"componentName": "StringSetter",
|
|
268
253
|
"isRequired": false,
|
|
@@ -58,6 +58,20 @@ var CheckResMeta = {
|
|
|
58
58
|
"isRequired": true,
|
|
59
59
|
"initialValue": true
|
|
60
60
|
}
|
|
61
|
+
}, {
|
|
62
|
+
"title": {
|
|
63
|
+
"label": {
|
|
64
|
+
"type": "i18n",
|
|
65
|
+
"en-US": "showJumpBtn",
|
|
66
|
+
"zh-CN": "展示跳转按钮"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"name": "showJumpBtn",
|
|
70
|
+
"setter": {
|
|
71
|
+
"componentName": "BoolSetter",
|
|
72
|
+
"isRequired": true,
|
|
73
|
+
"initialValue": false
|
|
74
|
+
}
|
|
61
75
|
}, {
|
|
62
76
|
"title": {
|
|
63
77
|
"label": {
|
package/lowcode_es/guide/meta.js
CHANGED
|
@@ -44,6 +44,22 @@ var GuideMeta = {
|
|
|
44
44
|
"isRequired": false,
|
|
45
45
|
"initialValue": false
|
|
46
46
|
}
|
|
47
|
+
}, {
|
|
48
|
+
"title": {
|
|
49
|
+
"label": {
|
|
50
|
+
"type": "i18n",
|
|
51
|
+
"en-US": "hasPrevious",
|
|
52
|
+
"zh-CN": "hasPrevious"
|
|
53
|
+
},
|
|
54
|
+
"tip": "hasPrevious"
|
|
55
|
+
},
|
|
56
|
+
"name": "hasPrevious",
|
|
57
|
+
"description": "has Previous btn",
|
|
58
|
+
"setter": {
|
|
59
|
+
"componentName": "BoolSetter",
|
|
60
|
+
"isRequired": false,
|
|
61
|
+
"initialValue": false
|
|
62
|
+
}
|
|
47
63
|
}, {
|
|
48
64
|
"title": {
|
|
49
65
|
"label": {
|
|
@@ -189,37 +205,6 @@ var GuideMeta = {
|
|
|
189
205
|
},
|
|
190
206
|
"initialValue": []
|
|
191
207
|
}
|
|
192
|
-
}, {
|
|
193
|
-
"title": {
|
|
194
|
-
"label": {
|
|
195
|
-
"type": "i18n",
|
|
196
|
-
"en-US": "stepList",
|
|
197
|
-
"zh-CN": "stepList"
|
|
198
|
-
},
|
|
199
|
-
"tip": "stepList | Step list"
|
|
200
|
-
},
|
|
201
|
-
"name": "stepList",
|
|
202
|
-
"description": "Step list",
|
|
203
|
-
"setter": {
|
|
204
|
-
"componentName": "ArraySetter",
|
|
205
|
-
"props": {
|
|
206
|
-
"itemSetter": {
|
|
207
|
-
"componentName": "ObjectSetter",
|
|
208
|
-
"props": {
|
|
209
|
-
"config": {
|
|
210
|
-
"extraSetter": {
|
|
211
|
-
"componentName": "MixedSetter",
|
|
212
|
-
"isRequired": false,
|
|
213
|
-
"props": {}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"isRequired": false,
|
|
218
|
-
"initialValue": {}
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"initialValue": []
|
|
222
|
-
}
|
|
223
208
|
}, {
|
|
224
209
|
"title": {
|
|
225
210
|
"label": {
|
|
@@ -240,13 +225,13 @@ var GuideMeta = {
|
|
|
240
225
|
"title": {
|
|
241
226
|
"label": {
|
|
242
227
|
"type": "i18n",
|
|
243
|
-
"en-US": "
|
|
244
|
-
"zh-CN": "
|
|
228
|
+
"en-US": "situationPageUrl",
|
|
229
|
+
"zh-CN": "situationPageUrl"
|
|
245
230
|
},
|
|
246
|
-
"tip": "
|
|
231
|
+
"tip": "situationPageUrl"
|
|
247
232
|
},
|
|
248
|
-
"name": "
|
|
249
|
-
"description": "
|
|
233
|
+
"name": "situationPageUrl",
|
|
234
|
+
"description": "situationPageUrl",
|
|
250
235
|
"setter": {
|
|
251
236
|
"componentName": "StringSetter",
|
|
252
237
|
"isRequired": false,
|
package/lowcode_es/meta.js
CHANGED
|
@@ -96,7 +96,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
96
96
|
packageName = 'ydb-components-material';
|
|
97
97
|
}
|
|
98
98
|
if (version === void 0) {
|
|
99
|
-
version = '0.1.
|
|
99
|
+
version = '0.1.108';
|
|
100
100
|
}
|
|
101
101
|
if (basicLibraryVersion === void 0) {
|
|
102
102
|
basicLibraryVersion = {
|