@bit-sun/business-component 2.1.23 → 2.1.24
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/.fatherrc.ts +1 -1
- package/.umirc.ts +6 -6
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -0
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -0
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +6 -0
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -0
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -0
- package/dist/components/Business/JsonQueryTable/function.d.ts +37 -0
- package/dist/components/Business/JsonQueryTable/index.d.ts +4 -0
- package/dist/components/Business/JsonQueryTable/static.d.ts +39 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +8431 -18
- package/dist/index.js +8428 -10
- package/dist/utils/utils.d.ts +2 -0
- package/package.json +10 -4
- package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -0
- package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +202 -0
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -0
- package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -0
- package/src/components/Business/JsonQueryTable/configButton/index.js +20 -0
- package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -0
- package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -0
- package/src/components/Business/JsonQueryTable/configTree/index.js +82 -0
- package/src/components/Business/JsonQueryTable/configTree/index.less +44 -0
- package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -0
- package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -0
- package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -0
- package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -0
- package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -0
- package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -0
- package/src/components/Business/JsonQueryTable/function.ts +62 -0
- package/src/components/Business/JsonQueryTable/index.less +17 -0
- package/src/components/Business/JsonQueryTable/index.md +328 -0
- package/src/components/Business/JsonQueryTable/index.tsx +320 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -0
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -0
- package/src/components/Business/JsonQueryTable/static.ts +356 -0
- package/src/components/Functional/BillEntry/index.tsx +0 -1
- package/src/components/Functional/SearchSelect/utils.ts +0 -3
- package/src/index.ts +3 -1
- package/src/utils/getFormMode.js +12 -0
- package/src/utils/serialize.js +7 -0
- package/src/utils/utils.ts +40 -0
package/.fatherrc.ts
CHANGED
package/.umirc.ts
CHANGED
|
@@ -46,27 +46,27 @@ export default defineConfig({
|
|
|
46
46
|
// pathRewrite: { '^/wms-ops/': '/wms-ops/' }, // 开发环境
|
|
47
47
|
},
|
|
48
48
|
'/user/': {
|
|
49
|
-
target: 'http://
|
|
49
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
50
50
|
changeOrigin: true,
|
|
51
51
|
},
|
|
52
52
|
'/channel-manage/': {
|
|
53
|
-
target: 'http://
|
|
53
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
54
54
|
changeOrigin: true,
|
|
55
55
|
},
|
|
56
56
|
'/items/': {
|
|
57
|
-
target: 'http://
|
|
57
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
58
58
|
changeOrigin: true,
|
|
59
59
|
},
|
|
60
60
|
'/stock/': {
|
|
61
|
-
target: 'http://
|
|
61
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
62
62
|
changeOrigin: true,
|
|
63
63
|
},
|
|
64
64
|
'/basic/': {
|
|
65
|
-
target: 'http://
|
|
65
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
66
66
|
changeOrigin: true,
|
|
67
67
|
},
|
|
68
68
|
'/srm-ops/': {
|
|
69
|
-
target: 'http://
|
|
69
|
+
target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
|
|
70
70
|
changeOrigin: true,
|
|
71
71
|
},
|
|
72
72
|
},
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const convertActionList: (obj: any, detail: any) => {
|
|
2
|
+
name: any;
|
|
3
|
+
code: any;
|
|
4
|
+
type: string;
|
|
5
|
+
actionType: any;
|
|
6
|
+
requestTemplate: {
|
|
7
|
+
path: any;
|
|
8
|
+
method: any;
|
|
9
|
+
service: any;
|
|
10
|
+
header: any;
|
|
11
|
+
param: any;
|
|
12
|
+
requestBody: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const revertParam: (obj: any) => {
|
|
16
|
+
code: any;
|
|
17
|
+
path: {
|
|
18
|
+
type: string;
|
|
19
|
+
template: {
|
|
20
|
+
code: any;
|
|
21
|
+
actionType: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
headers: {
|
|
25
|
+
type: string;
|
|
26
|
+
template: any;
|
|
27
|
+
};
|
|
28
|
+
params: {
|
|
29
|
+
type: string;
|
|
30
|
+
template: any;
|
|
31
|
+
};
|
|
32
|
+
requestBody: {
|
|
33
|
+
type: string;
|
|
34
|
+
template: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const getDynamicDict: (dictionaryCode: any) => Promise<any>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const inputTypes: any;
|
|
2
|
+
export declare const PARAMS_VALUE_TYPE_ENUM: {
|
|
3
|
+
FIXED_VALUE: string;
|
|
4
|
+
EXPRESSION: string;
|
|
5
|
+
CONFIGURATION_VALUES: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const paramsValueType: Readonly<{
|
|
8
|
+
fixed: "固定值";
|
|
9
|
+
expression: "表达式";
|
|
10
|
+
config: "配置值";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const choiceType: Readonly<{
|
|
13
|
+
10: "自定义";
|
|
14
|
+
20: "数据字典";
|
|
15
|
+
30: "动态数据字典";
|
|
16
|
+
110: "仓库选择器(物理仓)";
|
|
17
|
+
120: "仓库选择器(逻辑仓)";
|
|
18
|
+
130: "仓库选择器(虚拟仓)";
|
|
19
|
+
140: "仓库选择器(渠道仓)";
|
|
20
|
+
150: "商品SPU选择器";
|
|
21
|
+
160: "商品SKU选择器";
|
|
22
|
+
190: "省市区";
|
|
23
|
+
210: "行政组织选择器";
|
|
24
|
+
220: "采购组织选择器";
|
|
25
|
+
230: "销售组织选择器";
|
|
26
|
+
240: "供应商选择器";
|
|
27
|
+
250: "客户选择器";
|
|
28
|
+
260: "店铺选择器";
|
|
29
|
+
270: "员工选择器";
|
|
30
|
+
280: "库存组织选择器";
|
|
31
|
+
310: "配送方式选择器";
|
|
32
|
+
330: "变量";
|
|
33
|
+
}>;
|
|
34
|
+
export declare const inputType: any;
|
|
35
|
+
export declare const valueType: any;
|
|
36
|
+
export declare const moduleType: {
|
|
37
|
+
text: string;
|
|
38
|
+
value: number;
|
|
39
|
+
}[];
|
package/dist/index.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export { default as HomePageWrapper } from './components/Business/HomePageWrappe
|
|
|
21
21
|
export { default as BsSulaQueryTable } from './components/Business/BsSulaQueryTable';
|
|
22
22
|
export { default as BsLayout } from './components/Business/BsLayouts';
|
|
23
23
|
export { default as MoreTreeTable } from './components/Business/moreTreeTable';
|
|
24
|
+
export { default as JsonQueryTable } from './components/Business/JsonQueryTable';
|