@lingxiteam/assets 1.0.10-alpha.5 → 1.0.11-alpha.2

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 (44) hide show
  1. package/es/dealDsl/PropType.d.ts +2 -0
  2. package/es/dealDsl/events/actionObj.d.ts +3 -0
  3. package/es/dealDsl/events/actionObj.js +6 -0
  4. package/es/dealDsl/events/index.d.ts +6 -0
  5. package/es/dealDsl/events/index.js +14 -0
  6. package/es/dealDsl/index.d.ts +1 -0
  7. package/es/dealDsl/index.js +2 -1
  8. package/es/dealDsl/preprocess/common.d.ts +3 -5
  9. package/es/dealDsl/preprocess/common.js +143 -6
  10. package/es/dealDsl/preprocess/editor.d.ts +3 -5
  11. package/es/dealDsl/preprocess/editor.js +9 -1
  12. package/es/dealDsl/preprocess/engine.d.ts +3 -7
  13. package/es/dealDsl/preprocessDSL.d.ts +3 -3
  14. package/es/dealDsl/preprocessDSL.js +37 -15
  15. package/es/dealDsl/utils/index.d.ts +13 -0
  16. package/es/dealDsl/utils/index.js +21 -0
  17. package/es/error/errorDisplay/Web/Drawer/Drawer.less +8 -0
  18. package/es/index.d.ts +2 -0
  19. package/es/index.js +2 -0
  20. package/es/rootConfig/index.d.ts +1018 -0
  21. package/es/rootConfig/index.js +25 -0
  22. package/es/rootConfig/mobile/BusiComp.d.ts +66 -0
  23. package/es/rootConfig/mobile/BusiComp.js +81 -0
  24. package/es/rootConfig/mobile/MobileModal.d.ts +114 -0
  25. package/es/rootConfig/mobile/MobileModal.js +133 -0
  26. package/es/rootConfig/mobile/MobilePopover.d.ts +81 -0
  27. package/es/rootConfig/mobile/MobilePopover.js +82 -0
  28. package/es/rootConfig/mobile/page.d.ts +151 -0
  29. package/es/rootConfig/mobile/page.js +151 -0
  30. package/es/rootConfig/pc/BusiComp.d.ts +66 -0
  31. package/es/rootConfig/pc/BusiComp.js +81 -0
  32. package/es/rootConfig/pc/Drawer.d.ts +150 -0
  33. package/es/rootConfig/pc/Drawer.js +196 -0
  34. package/es/rootConfig/pc/Modal.d.ts +160 -0
  35. package/es/rootConfig/pc/Modal.js +188 -0
  36. package/es/rootConfig/pc/Popover.d.ts +90 -0
  37. package/es/rootConfig/pc/Popover.js +97 -0
  38. package/es/rootConfig/pc/page.d.ts +144 -0
  39. package/es/rootConfig/pc/page.js +144 -0
  40. package/es/rootConfig/todoActionList.d.ts +1452 -0
  41. package/es/rootConfig/todoActionList.js +1490 -0
  42. package/es/svg/webViewError.svg +40 -0
  43. package/lib/index.js +17 -2
  44. package/package.json +2 -2
@@ -3,3 +3,5 @@ export interface ContextType {
3
3
  isMobile: boolean;
4
4
  }
5
5
  export type JSONType = Record<string, any>;
6
+ export type ProcessFunctionType = (component: JSONType) => JSONType;
7
+ export type ProcessPlatformType = Record<string, ProcessFunctionType>;
@@ -0,0 +1,3 @@
1
+ export declare const actionObj: {
2
+ apiRequest: (action: any) => any;
3
+ };
@@ -0,0 +1,6 @@
1
+ export var actionObj = {
2
+ apiRequest: function apiRequest(action) {
3
+ // 在这里修改动作参数
4
+ return action;
5
+ }
6
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 动作解析前
3
+ * @param action
4
+ * @returns
5
+ */
6
+ export declare const parseActionBefore: (action: any) => any;
@@ -0,0 +1,14 @@
1
+ import { actionObj } from "./actionObj";
2
+ /**
3
+ * 动作解析前
4
+ * @param action
5
+ * @returns
6
+ */
7
+ export var parseActionBefore = function parseActionBefore(action) {
8
+ var newAction = action;
9
+ if (actionObj[newAction.value]) {
10
+ var _actionObj$newAction$;
11
+ newAction = (_actionObj$newAction$ = actionObj[newAction.value](action)) !== null && _actionObj$newAction$ !== void 0 ? _actionObj$newAction$ : newAction;
12
+ }
13
+ return newAction;
14
+ };
@@ -1 +1,2 @@
1
1
  export { preprocessDSL, preprocessEditorDSL, preprocessEngineDSL } from './preprocessDSL';
2
+ export { parseActionBefore } from './events';
@@ -1 +1,2 @@
1
- export { preprocessDSL, preprocessEditorDSL, preprocessEngineDSL } from './preprocessDSL';
1
+ export { preprocessDSL, preprocessEditorDSL, preprocessEngineDSL } from './preprocessDSL';
2
+ export { parseActionBefore } from './events';
@@ -1,11 +1,9 @@
1
- import type { JSONType } from "../PropType";
1
+ import type { ProcessPlatformType } from "../PropType";
2
2
  /**
3
3
  * 配置态和运行态共用
4
4
  */
5
5
  declare const _default: {
6
- h5: {
7
- Button: (component?: JSONType) => JSONType;
8
- };
9
- pc: {};
6
+ h5: ProcessPlatformType;
7
+ pc: ProcessPlatformType;
10
8
  };
11
9
  export default _default;
@@ -1,16 +1,153 @@
1
+ import { hasSomeOwnProperty } from '../utils';
1
2
  var h5 = {
3
+ Icon: function Icon() {
4
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
5
+ var _component$props = component.props,
6
+ props = _component$props === void 0 ? {} : _component$props;
7
+ if (props.type) {
8
+ props.icon = props.type;
9
+ delete props.type;
10
+ }
11
+ return component;
12
+ },
13
+ Divider: function Divider() {
14
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
15
+ var _component$props2 = component.props,
16
+ props = _component$props2 === void 0 ? {} : _component$props2;
17
+ if (props.status !== undefined) {
18
+ props.visible = props.status;
19
+ delete props.status;
20
+ }
21
+ return component;
22
+ },
23
+ DformDate: function DformDate() {
24
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
25
+ var _component$props3 = component.props,
26
+ props = _component$props3 === void 0 ? {} : _component$props3;
27
+ var isCurrent = props.isCurrent,
28
+ defaultValue = props.defaultValue,
29
+ customTime = props.customTime;
30
+ // props中存在isCurrent/customTime属性,就转化。
31
+ if (hasSomeOwnProperty(props, ['isCurrent', 'customTime'])) {
32
+ props.defaultValue = {
33
+ isCurrent: isCurrent,
34
+ defaultValue: defaultValue,
35
+ customTime: customTime,
36
+ type: function () {
37
+ if (isCurrent) {
38
+ return 'isCurrent';
39
+ }
40
+ if (customTime) {
41
+ return 'custom';
42
+ }
43
+ return 'now';
44
+ }()
45
+ };
46
+ delete props.isCurrent;
47
+ delete props.customTime;
48
+ }
49
+ return component;
50
+ },
51
+ 'DMultiplePicker|DformDate|DformInput|DformSelect|DformPicker': function DMultiplePickerDformDateDformInputDformSelectDformPicker() {
52
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
53
+ var _component$props4 = component.props,
54
+ props = _component$props4 === void 0 ? {} : _component$props4;
55
+ delete props.type;
56
+ delete props.theme;
57
+ delete props.fontAddress;
58
+ delete props.isIconFont;
59
+ delete props.iconFileInfo;
60
+ delete props.svgContent;
61
+ delete props.iconFile;
62
+ return component;
63
+ }
64
+ };
65
+ var pc = {
66
+ 'DatePicker|TimePicker': function DatePickerTimePicker() {
67
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
68
+ var _component$props5 = component.props,
69
+ props = _component$props5 === void 0 ? {} : _component$props5;
70
+ var isCurrent = props.isCurrent,
71
+ defaultValue = props.defaultValue,
72
+ customTime = props.customTime;
73
+ // props中存在isCurrent/customTime属性,就转化。
74
+ if (hasSomeOwnProperty(props, ['isCurrent', 'customTime'])) {
75
+ props.defaultValue = {
76
+ isCurrent: isCurrent,
77
+ defaultValue: defaultValue,
78
+ customTime: customTime,
79
+ type: function () {
80
+ if (isCurrent) {
81
+ return 'isCurrent';
82
+ }
83
+ if (customTime) {
84
+ return 'custom';
85
+ }
86
+ return 'now';
87
+ }()
88
+ };
89
+ delete props.isCurrent;
90
+ delete props.customTime;
91
+ }
92
+ return component;
93
+ },
2
94
  Button: function Button() {
3
95
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4
- // const { props = {} } = component;
96
+ var _component$props6 = component.props,
97
+ props = _component$props6 === void 0 ? {} : _component$props6;
5
98
  // const { popoverSetting, showPopover } = props;
6
- // // 这里修改组件属性,
7
- // if (popoverSetting) {
8
- // component.props.popoverSetting = showPopover;
9
- // }
99
+ if (props.iconType) {
100
+ props.icon.type = props.iconType;
101
+ delete props.iconType;
102
+ }
103
+ delete props.theme;
104
+ delete props.fontAddress;
105
+ delete props.isIconFont;
106
+ delete props.iconFileInfo;
107
+ delete props.svgContent;
108
+ delete props.iconFile;
109
+ return component;
110
+ },
111
+ 'Dropdown|Menu': function DropdownMenu() {
112
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
113
+ var _component$props7 = component.props,
114
+ props = _component$props7 === void 0 ? {} : _component$props7;
115
+ delete props.iconInfo;
116
+ return component;
117
+ },
118
+ 'Input|Card|Collapse': function InputCardCollapse() {
119
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
120
+ var _component$props8 = component.props,
121
+ props = _component$props8 === void 0 ? {} : _component$props8;
122
+ delete props.type;
123
+ delete props.theme;
124
+ delete props.fontAddress;
125
+ delete props.isIconFont;
126
+ delete props.iconFileInfo;
127
+ delete props.svgContent;
128
+ delete props.iconFile;
129
+ delete props.prefixIconIconFileInfo;
130
+ delete props.prefixIconIsIconFont;
131
+ delete props.prefixIconType;
132
+ delete props.prefixIconTheme;
133
+ delete props.prefixIconFontAddress;
134
+ delete props.prefixIconiconFile;
135
+ return component;
136
+ },
137
+ 'StdUpload|Icon': function StdUploadIcon() {
138
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
139
+ var _component$props9 = component.props,
140
+ props = _component$props9 === void 0 ? {} : _component$props9;
141
+ delete props.type;
142
+ delete props.theme;
143
+ delete props.fontAddress;
144
+ delete props.isIconFont;
145
+ delete props.iconFileInfo;
146
+ delete props.svgContent;
147
+ delete props.iconFile;
10
148
  return component;
11
149
  }
12
150
  };
13
- var pc = {};
14
151
  /**
15
152
  * 配置态和运行态共用
16
153
  */
@@ -1,11 +1,9 @@
1
- import type { JSONType } from "../PropType";
1
+ import type { ProcessPlatformType } from "../PropType";
2
2
  /**
3
3
  * 编辑器端
4
4
  */
5
5
  declare const _default: {
6
- h5: {
7
- Button: (component: JSONType) => JSONType;
8
- };
9
- pc: {};
6
+ h5: ProcessPlatformType;
7
+ pc: ProcessPlatformType;
10
8
  };
11
9
  export default _default;
@@ -3,7 +3,15 @@ var h5 = {
3
3
  return component;
4
4
  }
5
5
  };
6
- var pc = {};
6
+ var pc = {
7
+ Description: function Description(component) {
8
+ var descColumns = component.props.descColumns;
9
+ if (descColumns) {
10
+ delete component.props.descColumns;
11
+ }
12
+ return component;
13
+ }
14
+ };
7
15
  /**
8
16
  * 编辑器端
9
17
  */
@@ -1,13 +1,9 @@
1
- import type { JSONType } from "../PropType";
1
+ import type { ProcessPlatformType } from "../PropType";
2
2
  /**
3
3
  * 运行态端
4
4
  */
5
5
  declare const _default: {
6
- h5: {
7
- Button: (component: JSONType) => JSONType;
8
- };
9
- pc: {
10
- Button: (component: JSONType) => JSONType;
11
- };
6
+ h5: ProcessPlatformType;
7
+ pc: ProcessPlatformType;
12
8
  };
13
9
  export default _default;
@@ -6,16 +6,16 @@ import type { ContextType } from "./PropType";
6
6
  * @param context
7
7
  * @returns
8
8
  */
9
- export declare const preprocessDSL: (component: Record<string, any>, context: ContextType) => any;
9
+ export declare const preprocessDSL: (component: Record<string, any>, context: ContextType) => Record<string, any>;
10
10
  /**
11
11
  * 预处理DSL数据, 本方法仅在编辑器端使用。 处理后数据的权重高于preprocessDSL。
12
12
  * @param component 组件JSON数据
13
13
  * @param context 上下文
14
14
  */
15
- export declare const preprocessEditorDSL: (component: Record<string, any>, context: ContextType) => any;
15
+ export declare const preprocessEditorDSL: (component: Record<string, any>, context: ContextType) => Record<string, any>;
16
16
  /**
17
17
  * 预处理DSL数据,本方法仅在运行态端使用。 处理后数据的权重高于preprocessDSL。
18
18
  * @param component 组件JSON数据
19
19
  * @param context 上下文
20
20
  */
21
- export declare const preprocessEngineDSL: (component: Record<string, any>, context: ContextType) => any;
21
+ export declare const preprocessEngineDSL: (component: Record<string, any>, context: ContextType) => Record<string, any>;
@@ -1,6 +1,22 @@
1
1
  import preprocessObj from "./preprocess/common";
2
2
  import preEditorObj from "./preprocess/editor";
3
3
  import preEngineObj from "./preprocess/engine";
4
+ /**
5
+ * 支持属性key通过 "compName|compName"模式
6
+ * @param compName
7
+ * @param obj
8
+ * @returns
9
+ */
10
+ var collectionMethods = function collectionMethods(compName, obj) {
11
+ var funcs = [];
12
+ Object.keys(obj).forEach(function (key) {
13
+ var compNames = key.replace(/\s/g, '').split('|');
14
+ if (compNames.includes(compName)) {
15
+ funcs.push(obj[key]);
16
+ }
17
+ });
18
+ return funcs;
19
+ };
4
20
  /**
5
21
  * 本方法只处理运行态和配置态公共属性.
6
22
  * 如果需要修改单独特性属性,请使用preprocessEditorDSL或者preprocessEngineDSL
@@ -9,16 +25,18 @@ import preEngineObj from "./preprocess/engine";
9
25
  * @returns
10
26
  */
11
27
  export var preprocessDSL = function preprocessDSL(component, context) {
12
- var _preprocessObj$platfo, _preprocessObj$platfo2;
28
+ var targetComponents = component;
13
29
  var _ref = component || {},
14
30
  compName = _ref.compName;
15
31
  var _context$isMobile = context.isMobile,
16
32
  isMobile = _context$isMobile === void 0 ? false : _context$isMobile;
17
33
  var platform = isMobile ? 'h5' : 'pc';
18
- if (!(preprocessObj === null || preprocessObj === void 0 ? void 0 : (_preprocessObj$platfo = preprocessObj[platform]) === null || _preprocessObj$platfo === void 0 ? void 0 : _preprocessObj$platfo[compName])) {
19
- return component;
20
- }
21
- return (_preprocessObj$platfo2 = preprocessObj[platform][compName](component)) !== null && _preprocessObj$platfo2 !== void 0 ? _preprocessObj$platfo2 : component;
34
+ var methods = collectionMethods(compName, preprocessObj === null || preprocessObj === void 0 ? void 0 : preprocessObj[platform]);
35
+ methods.forEach(function (fn) {
36
+ var _fn;
37
+ targetComponents = (_fn = fn(targetComponents)) !== null && _fn !== void 0 ? _fn : targetComponents;
38
+ });
39
+ return targetComponents;
22
40
  };
23
41
  /**
24
42
  * 预处理DSL数据, 本方法仅在编辑器端使用。 处理后数据的权重高于preprocessDSL。
@@ -26,16 +44,18 @@ export var preprocessDSL = function preprocessDSL(component, context) {
26
44
  * @param context 上下文
27
45
  */
28
46
  export var preprocessEditorDSL = function preprocessEditorDSL(component, context) {
29
- var _preEditorObj$platfor, _preEditorObj$platfor2;
47
+ var targetComponents = component;
30
48
  var _ref2 = component || {},
31
49
  compName = _ref2.compName;
32
50
  var _context$isMobile2 = context.isMobile,
33
51
  isMobile = _context$isMobile2 === void 0 ? false : _context$isMobile2;
34
52
  var platform = isMobile ? 'h5' : 'pc';
35
- if (!(preEditorObj === null || preEditorObj === void 0 ? void 0 : (_preEditorObj$platfor = preEditorObj[platform]) === null || _preEditorObj$platfor === void 0 ? void 0 : _preEditorObj$platfor[compName])) {
36
- return component;
37
- }
38
- return (_preEditorObj$platfor2 = preEditorObj[platform][compName](component)) !== null && _preEditorObj$platfor2 !== void 0 ? _preEditorObj$platfor2 : component;
53
+ var methods = collectionMethods(compName, preEditorObj === null || preEditorObj === void 0 ? void 0 : preEditorObj[platform]);
54
+ methods.forEach(function (fn) {
55
+ var _fn2;
56
+ targetComponents = (_fn2 = fn(targetComponents)) !== null && _fn2 !== void 0 ? _fn2 : targetComponents;
57
+ });
58
+ return targetComponents;
39
59
  };
40
60
  /**
41
61
  * 预处理DSL数据,本方法仅在运行态端使用。 处理后数据的权重高于preprocessDSL。
@@ -43,14 +63,16 @@ export var preprocessEditorDSL = function preprocessEditorDSL(component, context
43
63
  * @param context 上下文
44
64
  */
45
65
  export var preprocessEngineDSL = function preprocessEngineDSL(component, context) {
46
- var _preEngineObj$platfor, _preEngineObj$platfor2;
66
+ var targetComponents = component;
47
67
  var _ref3 = component || {},
48
68
  compName = _ref3.compName;
49
69
  var _context$isMobile3 = context.isMobile,
50
70
  isMobile = _context$isMobile3 === void 0 ? false : _context$isMobile3;
51
71
  var platform = isMobile ? 'h5' : 'pc';
52
- if (!(preEngineObj === null || preEngineObj === void 0 ? void 0 : (_preEngineObj$platfor = preEngineObj[platform]) === null || _preEngineObj$platfor === void 0 ? void 0 : _preEngineObj$platfor[compName])) {
53
- return component;
54
- }
55
- return (_preEngineObj$platfor2 = preEngineObj[platform][compName](component)) !== null && _preEngineObj$platfor2 !== void 0 ? _preEngineObj$platfor2 : component;
72
+ var methods = collectionMethods(compName, preEngineObj === null || preEngineObj === void 0 ? void 0 : preEngineObj[platform]);
73
+ methods.forEach(function (fn) {
74
+ var _fn3;
75
+ targetComponents = (_fn3 = fn(targetComponents)) !== null && _fn3 !== void 0 ? _fn3 : targetComponents;
76
+ });
77
+ return targetComponents;
56
78
  };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 是否包含某属性,或的关系。 包含`propertyNames`中的一个值即可
3
+ * @param target
4
+ * @param propertyNames
5
+ */
6
+ export declare const hasSomeOwnProperty: (target: Object, propertyNames: string[]) => boolean;
7
+ /**
8
+ * 是否包含某属性,且的关系。 必须包含`propertyNames`中的所有属性
9
+ * @param target
10
+ * @param propertyNames
11
+ * @returns
12
+ */
13
+ export declare const hasEveryOwnProperty: (target: Object, propertyNames: string[]) => boolean;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * 是否包含某属性,或的关系。 包含`propertyNames`中的一个值即可
3
+ * @param target
4
+ * @param propertyNames
5
+ */
6
+ export var hasSomeOwnProperty = function hasSomeOwnProperty(target, propertyNames) {
7
+ return propertyNames.some(function (property) {
8
+ return target.hasOwnProperty(property);
9
+ });
10
+ };
11
+ /**
12
+ * 是否包含某属性,且的关系。 必须包含`propertyNames`中的所有属性
13
+ * @param target
14
+ * @param propertyNames
15
+ * @returns
16
+ */
17
+ export var hasEveryOwnProperty = function hasEveryOwnProperty(target, propertyNames) {
18
+ return propertyNames.every(function (property) {
19
+ return target.hasOwnProperty(property);
20
+ });
21
+ };
@@ -188,7 +188,10 @@
188
188
  flex: 1;
189
189
 
190
190
  &.full {
191
+ height: 100%;
191
192
  flex: 2;
193
+ display: flex;
194
+ flex-direction: column;
192
195
  }
193
196
 
194
197
  &-head {
@@ -260,6 +263,11 @@
260
263
 
261
264
  &-body {
262
265
  padding: 16px 20px;
266
+ overflow: auto;
267
+
268
+ img {
269
+ max-width: 100%;
270
+ }
263
271
  }
264
272
  }
265
273
 
package/es/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import security from './security';
2
2
  import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch } from './error';
3
3
  export * from './dealDsl';
4
+ export * from './rootConfig';
4
5
  export declare const IconCheckSvg: string;
5
6
  export declare const IconNormalCheckSvg: string;
7
+ export declare const IconWebViewErrorSvg: string;
6
8
  export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch };
package/es/index.js CHANGED
@@ -2,6 +2,8 @@ import { getSvgImageBase64 } from './utils/img';
2
2
  import security from './security';
3
3
  import { ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch } from './error';
4
4
  export * from './dealDsl';
5
+ export * from './rootConfig';
5
6
  export var IconCheckSvg = getSvgImageBase64("<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"22px\" height=\"22px\" viewBox=\"0 0 22 22\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>\u5168\u5C40\u6837\u5F0F:20/\u539F\u5B50\u7EA7\u63A7\u4EF6/\u590D\u9009/\u72B6\u6001:#\u9009\u4E2D</title><g id=\"\u63A7\u4EF6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"system-complete\"><path d=\"M11,0 C17.075904,0 22,4.92409598 22,11 C22,17.075904 17.0734732,22 11,22 C4.92652679,22 0,17.0734732 0,11 C0,4.92652679 4.92409598,0 11,0 Z\" id=\"Shape\" fill=\"#1890FF\"></path><path d=\"M9.42871875,12.9681652 L7.2069029,10.7463493 C6.90006126,10.4395077 6.40257267,10.4395077 6.09573103,10.7463493 C5.78889035,11.05319 5.78889035,11.550677 6.09573103,11.8575177 C6.09573161,11.8575183 6.0957322,11.8575189 6.09573278,11.8575195 L8.72212536,14.4838955 C9.11265701,14.8744045 9.74581424,14.874407 10.136349,14.483901 L10.5404063,14.0798527 L10.5404063,14.0798527 L16.2813591,8.33795955 C16.588183,8.03108543 16.5881626,7.53359119 16.2813136,7.22674219 C15.974472,6.91990055 15.4769834,6.91990055 15.1701417,7.22674219 L9.42871875,12.9681652 L9.42871875,12.9681652 Z\" id=\"Path\" fill=\"#FFFFFF\"></path></g></g></svg>");
6
7
  export var IconNormalCheckSvg = getSvgImageBase64("<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"22px\" height=\"22px\" viewBox=\"0 0 22 22\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>\u5168\u5C40\u6837\u5F0F:20/\u539F\u5B50\u7EA7\u63A7\u4EF6/\u590D\u9009/\u72B6\u6001:\u672A\u9009\u4E2D</title><g id=\"\u63A7\u4EF6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"\u5143\u7D20/\u9009\u62E9/\u672A\u9009\u4E2D\"><path d=\"M11,22 C4.93492502,22 0,17.0653546 0,10.999496 C0,4.9337633 4.93492502,0 11,0 C17.065075,0 22,4.93464539 22,10.999496 C22,17.0644725 17.0660846,22 11,22\" id=\"Fill\" fill=\"#FFFFFF\"></path><path d=\"M11,0.5 C13.8998633,0.5 16.5248731,1.67505184 18.4249106,3.57508938 C20.3249482,5.47512693 21.5,8.10013672 21.5,11 C21.5,13.8995696 20.3245821,16.5243277 18.4245965,18.4243132 C16.5242275,20.3246822 13.8989967,21.5 11,21.5 C8.10129687,21.5 5.47631792,20.324316 3.57600094,18.4239991 C1.67568396,16.5236821 0.5,13.8987031 0.5,11 C0.5,8.10100334 1.67531776,5.47577251 3.57568679,3.57540349 C5.47567234,1.67541793 8.10043037,0.5 11,0.5 Z\" id=\"Shape\" stroke=\"#CCCCCC\"></path></g></g></svg>");
8
+ export var IconWebViewErrorSvg = getSvgImageBase64("<svg width=\"181\" height=\"170\" viewBox=\"0 0 181 170\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g id=\"Frame\"><g id=\"&#233;&#161;&#181;&#233;&#157;&#162;-1\"><g id=\"1920X1000\"><g id=\"&#230;&#173;&#164;&#233;&#161;&#181;&#233;&#157;&#162;&#230;&#156;&#170;&#230;&#137;&#190;&#229;&#136;&#176;~\"><g id=\"Group 2\"><path id=\"Stroke-1\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M47.5789 45.7989C47.5789 42.6064 48.8474 39.5438 51.1051 37.2858C53.3629 35.0284 56.4252 33.7597 59.6182 33.7597H59.6193C59.9774 33.7597 60.3209 33.9019 60.5741 34.1552C60.8272 34.4085 60.9695 34.7522 60.9695 35.1099C60.9695 39.9093 60.9695 55.8563 60.9695 55.8563L47.5789 56.0773V45.7989Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"Stroke-2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M132.386 45.8145C132.386 39.1572 126.989 33.7597 120.331 33.7597H120.33C119.976 33.7597 119.636 33.9003 119.386 34.1508C119.136 34.4013 118.995 34.7405 118.995 35.0943C118.995 39.8741 118.995 55.8563 118.995 55.8563L132.386 56.0773V45.8145Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"Fill-4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M145.776 80.8136C145.776 57.3996 126.767 38.3906 103.353 38.3906H76.6114C53.1975 38.3906 34.1884 57.3996 34.1884 80.8136V85.238C34.1884 108.652 46.4826 125.429 69.8965 125.429H110.068C133.482 125.429 145.776 108.652 145.776 85.238V80.8136Z\" fill=\"white\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M116.64 40.0003C133.598 45.5561 145.861 61.52 145.861 80.3254V84.7498C145.861 108.164 133.566 124.941 110.153 124.941H69.9808C63.4458 124.941 57.7771 123.634 53.0001 121.241C56.5982 122.352 60.5944 122.941 64.9808 122.941H105.153C128.566 122.941 140.861 106.164 140.861 82.7498V78.3254C140.861 61.4673 131.006 46.8928 116.749 40.0527L116.64 40.0003Z\" fill=\"#DCE7FA\"/><path id=\"Stroke-5\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M145.776 80.8136C145.776 57.3996 126.767 38.3906 103.353 38.3906H76.6114C53.1975 38.3906 34.1884 57.3996 34.1884 80.8136V85.238C34.1884 108.652 46.4826 125.429 69.8965 125.429H110.068C133.482 125.429 145.776 108.652 145.776 85.238V80.8136Z\" stroke=\"#9DB9F5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path id=\"Fill-10\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M96.9342 38.863C96.9342 42.1561 93.3046 43 90.2136 43C87.1227 43 83.4931 42.1561 83.4931 38.863C83.4931 34.9214 86.767 29.1802 88.9891 25.6778C89.2536 25.2563 89.7158 25.0005 90.2136 25C90.7114 25 91.1742 25.2563 91.4387 25.6778C93.6603 29.1802 96.9342 34.9214 96.9342 38.863Z\" fill=\"#E0E8FA\" stroke=\"#9DB9F5\"/><path id=\"Fill-6\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M132.386 81.9099C132.386 66.513 119.886 54.0129 104.489 54.0129H75.476C60.0792 54.0129 47.5789 66.513 47.5789 81.9099C47.5789 97.3067 52.268 107.575 67.6648 107.575H112.3C127.697 107.575 132.386 97.3067 132.386 81.9099Z\" fill=\"white\"/><path id=\"Stroke-7\" d=\"M104.489 50.6653H75.476C58.2303 50.6653 44.2313 64.6642 44.2313 81.9099C44.2313 90.7375 45.7017 97.4992 49.092 102.417C52.9783 108.053 59.1903 110.923 67.6648 110.923H112.3C120.775 110.923 126.987 108.053 130.873 102.417C134.263 97.4992 135.734 90.7375 135.734 81.9099C135.734 64.6641 121.735 50.6653 104.489 50.6653Z\" fill=\"#9DB9F5\"/><g id=\"&#232;&#183;&#175;&#229;&#190;&#132;-2\"><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;\" d=\"M75.476 57.3605H104.489C118.037 57.3605 129.038 68.3618 129.038 81.9099C129.038 97.3996 124.331 104.228 112.3 104.228H67.6648C55.6342 104.228 50.9266 97.3996 50.9266 81.9099C50.9266 68.3619 61.928 57.3605 75.476 57.3605Z\" fill=\"#E0E8FA\"/></g><path id=\"Fill-8\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M84.1137 95.9463C85.4031 95.6201 86.6775 95.4603 87.9468 95.3546C88.7982 95.2837 89.6435 95.2645 90.4899 95.2639C91.1254 95.2634 91.7597 95.2636 92.3969 95.297C93.876 95.3745 95.3613 95.5534 96.8638 95.9458C97.3955 96.1229 97.9702 95.8352 98.1476 95.3038C98.3245 94.7723 98.0366 94.1972 97.5054 94.0202C95.903 93.3659 94.2973 92.8946 92.6647 92.6492C91.9422 92.5406 91.2158 92.4767 90.4888 92.4767C89.5219 92.4766 88.5549 92.5743 87.5953 92.7544C86.2043 93.0155 84.8402 93.454 83.4746 94.0198C82.9429 94.1961 82.6544 94.7709 82.8308 95.3025C83.0071 95.8341 83.5819 96.1226 84.1137 95.9463Z\" fill=\"#9DB9F5\"/><path id=\"Fill-9\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M117.27 77.4622C117.27 74.9977 115.272 73 112.808 73H112.806C110.341 73 108.343 74.9977 108.343 77.4622C108.343 80.1433 108.343 83.5432 108.343 86.2243C108.343 88.6888 110.341 90.6867 112.806 90.6867H112.808C115.272 90.6867 117.27 88.6888 117.27 86.2243C117.27 83.5432 117.27 80.1433 117.27 77.4622Z\" fill=\"#9DB9F5\"/><path id=\"Fill-9_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M72.927 77.6596C72.927 75.1951 70.9291 73.1974 68.4646 73.1974H68.4624C65.998 73.1974 64 75.1951 64 77.6596C64 80.3407 64 83.7406 64 86.4217C64 88.8862 65.998 90.8841 68.4624 90.8841H68.4646C70.9291 90.8841 72.927 88.8862 72.927 86.4217C72.927 83.7406 72.927 80.3407 72.927 77.6596Z\" fill=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M68.5 76.1974C69.88 76.1974 71 77.3176 71 78.6974C71 80.0772 69.88 81.1974 68.5 81.1974C67.12 81.1974 66 80.0772 66 78.6974C66 77.3176 67.12 76.1974 68.5 76.1974ZM112.843 76C114.223 76 115.343 77.1202 115.343 78.5C115.343 79.8798 114.223 81 112.843 81C111.463 81 110.343 79.8798 110.343 78.5C110.343 77.1202 111.463 76 112.843 76Z\" fill=\"white\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_3\" d=\"M68.4934 61.2901L68.4933 64.8168C63.005 66.1839 58.9321 71.1569 58.9321 77.0741C58.9321 77.3899 58.9359 77.6987 58.9436 78.0005L55.504 78.0002C55.4967 77.6966 55.4931 77.3879 55.4931 77.0741C55.4931 69.2458 61.0911 62.7179 68.4934 61.2901Z\" fill=\"white\"/><path id=\"&#231;&#159;&#169;&#229;&#189;&#162;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M70.4931 61H76.4931V64.806H70.4931V61Z\" fill=\"white\"/><g id=\"&#231;&#188;&#150;&#231;&#187;&#132;\"><path id=\"Fill-11\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M36.927 70.1091C36.927 69.4966 36.4306 69 35.8182 69C35.493 69 35.1116 69 34.6953 69C32.9196 69 31.2166 69.7056 29.961 70.9612C28.7054 72.2168 28 73.9198 28 75.6955C28 79.785 28 84.9965 28 89.086C28 90.8617 28.7054 92.5647 29.961 93.8203C31.2166 95.076 32.9196 95.7813 34.6953 95.7813C35.1116 95.7813 35.493 95.7813 35.8182 95.7813C36.4306 95.7813 36.927 95.2849 36.927 94.6725C36.927 90.3236 36.927 74.4579 36.927 70.1091Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_4\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M29.5069 73.4835V86.874C29.5069 88.6497 30.2123 90.3527 31.4679 91.6083C32.7236 92.864 34.4265 93.5693 36.2022 93.5693L36.4339 93.5692L36.434 94.4605C36.434 95.032 36.0015 95.5026 35.4459 95.5628L35.3251 95.5693H34.2022C32.4265 95.5693 31.7236 94.864 30.4679 93.6083C29.2123 92.3527 28.5069 90.6497 28.5069 88.874V75.8337C28.5069 74.4889 28.9115 73.1858 29.6533 72.0872C29.5569 72.543 29.5069 73.0106 29.5069 73.4835Z\" fill=\"#DFE9FB\"/></g><g id=\"&#231;&#188;&#150;&#231;&#187;&#132;&#229;&#164;&#135;&#228;&#187;&#189;\"><path id=\"Fill-11_2\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M144 70.1091C144 69.4966 144.496 69 145.109 69C145.434 69 145.815 69 146.232 69C148.007 69 149.71 69.7056 150.966 70.9612C152.222 72.2168 152.927 73.9198 152.927 75.6955C152.927 79.785 152.927 84.9965 152.927 89.086C152.927 90.8617 152.222 92.5647 150.966 93.8203C149.71 95.076 148.007 95.7813 146.232 95.7813C145.815 95.7813 145.434 95.7813 145.109 95.7813C144.496 95.7813 144 95.2849 144 94.6725C144 90.3236 144 74.4579 144 70.1091Z\" fill=\"white\" stroke=\"#9DB9F5\"/><path id=\"&#229;&#189;&#162;&#231;&#138;&#182;&#231;&#187;&#147;&#229;&#144;&#136;_5\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M151.42 73.4835V86.874C151.42 88.6497 150.715 90.3527 149.459 91.6083C148.204 92.864 146.501 93.5693 144.725 93.5693L144.493 93.5692L144.493 94.4605C144.493 95.032 144.926 95.5026 145.481 95.5628L145.602 95.5693H146.725C148.501 95.5693 149.204 94.864 150.459 93.6083C151.715 92.3527 152.42 90.6497 152.42 88.874V75.8337C152.42 74.4889 152.016 73.1858 151.274 72.0872C151.37 72.543 151.42 73.0106 151.42 73.4835Z\" fill=\"#DFE9FB\"/></g><path id=\"&#230;&#164;&#173;&#229;&#156;&#134;&#229;&#189;&#162;\" d=\"M90 145C110.987 145 128 142.09 128 138.5C128 134.91 110.987 132 90 132C69.0132 132 52 134.91 52 138.5C52 142.09 69.0132 145 90 145Z\" fill=\"#E0E8FA\"/><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;_2\" d=\"M171.537 94.931C167.868 99.3728 161.059 99.807 161.059 99.807C161.059 99.807 160.2 93.0389 163.871 88.597C167.541 84.1555 174.349 83.7213 174.349 83.7213C174.349 83.7213 175.207 90.4891 171.537 94.931Z\" fill=\"#E0E8FA\"/><path id=\"&#232;&#183;&#175;&#229;&#190;&#132;&#229;&#164;&#135;&#228;&#187;&#189;-2\" d=\"M23.1487 112.332C20.7639 115.219 16.3383 115.501 16.3383 115.501C16.3383 115.501 15.7803 111.102 18.1661 108.215C20.5514 105.328 24.977 105.045 24.977 105.045C24.977 105.045 25.5346 109.444 23.1487 112.332Z\" fill=\"#E0E8FA\"/></g></g></g></g></g></svg>");
7
9
  export { security, ErrorMsg, MobileErrorMsg, getHttpErrorByCode, errorCatch };