datastake-daf 0.6.741 → 0.6.742
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/hooks/index.js +19 -4658
- package/dist/pages/index.js +16 -18
- package/dist/services/index.js +1 -1
- package/package.json +1 -1
- package/src/@daf/pages/dashboards/Operations/Operators/columns.js +13 -13
- package/src/@daf/pages/pages/TablePageWithTabs/index.jsx +1 -1
- package/src/@daf/services/OperatorService.js +1 -1
- package/build/favicon.ico +0 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +0 -25
- package/build/robots.txt +0 -3
package/dist/pages/index.js
CHANGED
|
@@ -15841,7 +15841,7 @@ const TablePageWithTabs = ({
|
|
|
15841
15841
|
location,
|
|
15842
15842
|
loading = false,
|
|
15843
15843
|
goTo = () => {},
|
|
15844
|
-
defaultActiveTab = "
|
|
15844
|
+
defaultActiveTab = "own",
|
|
15845
15845
|
checkboxConfig = {},
|
|
15846
15846
|
columns = [],
|
|
15847
15847
|
data = {},
|
|
@@ -16041,8 +16041,8 @@ const getColumns$4 = ({
|
|
|
16041
16041
|
});
|
|
16042
16042
|
}
|
|
16043
16043
|
}, {
|
|
16044
|
-
dataIndex: '
|
|
16045
|
-
title: t('
|
|
16044
|
+
dataIndex: 'positionSupplyChain',
|
|
16045
|
+
title: t('Position'),
|
|
16046
16046
|
ellipsis: true,
|
|
16047
16047
|
show: true,
|
|
16048
16048
|
render: (v, all) => {
|
|
@@ -16051,15 +16051,15 @@ const getColumns$4 = ({
|
|
|
16051
16051
|
className: "daf-default-cell"
|
|
16052
16052
|
});
|
|
16053
16053
|
}
|
|
16054
|
-
const country = findOptions(v, options?.
|
|
16054
|
+
const country = findOptions(v, data?.options?.positionSupplyChainOptions);
|
|
16055
16055
|
return country ? /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
16056
16056
|
title: country,
|
|
16057
16057
|
children: country
|
|
16058
16058
|
}) : '-';
|
|
16059
16059
|
}
|
|
16060
16060
|
}, {
|
|
16061
|
-
dataIndex: '
|
|
16062
|
-
title: t('
|
|
16061
|
+
dataIndex: 'subCategory',
|
|
16062
|
+
title: t('Legal Form'),
|
|
16063
16063
|
ellipsis: true,
|
|
16064
16064
|
show: true,
|
|
16065
16065
|
render: (v, all) => {
|
|
@@ -16068,17 +16068,15 @@ const getColumns$4 = ({
|
|
|
16068
16068
|
className: "daf-default-cell"
|
|
16069
16069
|
});
|
|
16070
16070
|
}
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
title: v,
|
|
16076
|
-
children: v
|
|
16071
|
+
const subCategory = findOptions(v, data?.options?.subCategoriesOptions);
|
|
16072
|
+
return subCategory ? /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
16073
|
+
title: subCategory,
|
|
16074
|
+
children: subCategory
|
|
16077
16075
|
}) : '-';
|
|
16078
16076
|
}
|
|
16079
16077
|
}, {
|
|
16080
|
-
dataIndex: '
|
|
16081
|
-
title: t('
|
|
16078
|
+
dataIndex: 'province',
|
|
16079
|
+
title: t('Province'),
|
|
16082
16080
|
ellipsis: true,
|
|
16083
16081
|
show: true,
|
|
16084
16082
|
render: (v, all) => {
|
|
@@ -16087,15 +16085,15 @@ const getColumns$4 = ({
|
|
|
16087
16085
|
className: "daf-default-cell"
|
|
16088
16086
|
});
|
|
16089
16087
|
}
|
|
16090
|
-
const region = getLinkValue$2(
|
|
16088
|
+
const region = getLinkValue$2(all?.location?.administrativeLevel1, all?.location?.linking?.SCL);
|
|
16091
16089
|
return region ? /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
16092
16090
|
title: region,
|
|
16093
16091
|
children: region
|
|
16094
16092
|
}) : '-';
|
|
16095
16093
|
}
|
|
16096
16094
|
}, {
|
|
16097
|
-
dataIndex: '
|
|
16098
|
-
title: t('
|
|
16095
|
+
dataIndex: 'territory',
|
|
16096
|
+
title: t('Territory'),
|
|
16099
16097
|
ellipsis: true,
|
|
16100
16098
|
show: true,
|
|
16101
16099
|
render: (v, all) => {
|
|
@@ -16104,7 +16102,7 @@ const getColumns$4 = ({
|
|
|
16104
16102
|
className: "daf-default-cell"
|
|
16105
16103
|
});
|
|
16106
16104
|
}
|
|
16107
|
-
const district = getLinkValue$2(
|
|
16105
|
+
const district = getLinkValue$2(all?.location?.administrativeLevel2, all?.location?.linking?.SCL);
|
|
16108
16106
|
return district ? /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
16109
16107
|
title: district,
|
|
16110
16108
|
children: district
|
package/dist/services/index.js
CHANGED
|
@@ -1502,7 +1502,7 @@ class OperatorService extends BaseService {
|
|
|
1502
1502
|
data: data
|
|
1503
1503
|
});
|
|
1504
1504
|
}
|
|
1505
|
-
getOptions(id = "
|
|
1505
|
+
getOptions(id = "positionSupplyChainOptions,subCategoriesOptions,categoriesOptions,countries") {
|
|
1506
1506
|
return this.apiGet({
|
|
1507
1507
|
isApp: true,
|
|
1508
1508
|
url: `/forms/options`,
|
package/package.json
CHANGED
|
@@ -40,8 +40,8 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
dataIndex: '
|
|
44
|
-
title: t('
|
|
43
|
+
dataIndex: 'positionSupplyChain',
|
|
44
|
+
title: t('Position'),
|
|
45
45
|
ellipsis: true,
|
|
46
46
|
show: true,
|
|
47
47
|
render: (v, all) => {
|
|
@@ -49,14 +49,14 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
49
49
|
return <div className="daf-default-cell" />
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
const country = findOptions(v, options?.
|
|
52
|
+
const country = findOptions(v, data?.options?.positionSupplyChainOptions);
|
|
53
53
|
|
|
54
54
|
return country ? <Tooltip title={country}>{country}</Tooltip> : '-';
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
dataIndex: '
|
|
59
|
-
title: t('
|
|
58
|
+
dataIndex: 'subCategory',
|
|
59
|
+
title: t('Legal Form'),
|
|
60
60
|
ellipsis: true,
|
|
61
61
|
show: true,
|
|
62
62
|
render: (v, all) => {
|
|
@@ -64,14 +64,14 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
64
64
|
return <div className="daf-default-cell" />
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
const subCategory = findOptions(v, data?.options?.subCategoriesOptions);
|
|
68
68
|
|
|
69
|
-
return
|
|
69
|
+
return subCategory ? <Tooltip title={subCategory}>{subCategory}</Tooltip> : '-';
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
dataIndex: '
|
|
74
|
-
title: t('
|
|
73
|
+
dataIndex: 'province',
|
|
74
|
+
title: t('Province'),
|
|
75
75
|
ellipsis: true,
|
|
76
76
|
show: true,
|
|
77
77
|
render: (v, all) => {
|
|
@@ -79,14 +79,14 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
79
79
|
return <div className="daf-default-cell" />
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
const region = getLinkValue(
|
|
82
|
+
const region = getLinkValue(all?.location?.administrativeLevel1, all?.location?.linking?.SCL);
|
|
83
83
|
|
|
84
84
|
return region ? <Tooltip title={region}>{region}</Tooltip> : '-';
|
|
85
85
|
},
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
dataIndex: '
|
|
89
|
-
title: t('
|
|
88
|
+
dataIndex: 'territory',
|
|
89
|
+
title: t('Territory'),
|
|
90
90
|
ellipsis: true,
|
|
91
91
|
show: true,
|
|
92
92
|
render: (v, all) => {
|
|
@@ -94,7 +94,7 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
94
94
|
return <div className="daf-default-cell" />
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
const district = getLinkValue(
|
|
97
|
+
const district = getLinkValue(all?.location?.administrativeLevel2, all?.location?.linking?.SCL);
|
|
98
98
|
|
|
99
99
|
return district ? <Tooltip title={district}>{district}</Tooltip> : '-';
|
|
100
100
|
},
|
|
@@ -76,7 +76,7 @@ class OperatorService extends BaseService {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
getOptions(id = "
|
|
79
|
+
getOptions(id = "positionSupplyChainOptions,subCategoriesOptions,categoriesOptions,countries") {
|
|
80
80
|
return this.apiGet({
|
|
81
81
|
isApp: true,
|
|
82
82
|
url: `/forms/options`,
|
package/build/favicon.ico
DELETED
|
Binary file
|
package/build/logo192.png
DELETED
|
Binary file
|
package/build/logo512.png
DELETED
|
Binary file
|
package/build/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/build/robots.txt
DELETED