datastake-daf 0.6.393 → 0.6.394
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/.env +8 -0
- package/.vscode/settings.json +13 -0
- package/dist/components/index.js +6 -7
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/src/@daf/core/components/Dashboard/Map/ChainIcon/style.js +1 -1
- package/src/@daf/core/components/Dashboard/Map/storyConfig5.js +1 -1
- package/src/@daf/utils/filters.js +2 -2
package/.env
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cSpell.words": ["cukura"],
|
|
3
|
+
"files.autoSave": "afterDelay",
|
|
4
|
+
"editor.wordWrap": "on",
|
|
5
|
+
"editor.autoClosingBrackets": "always",
|
|
6
|
+
"editor.autoClosingComments": "always",
|
|
7
|
+
"editor.autoClosingQuotes": "always",
|
|
8
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
9
|
+
"editor.formatOnPaste": true,
|
|
10
|
+
"editor.formatOnSave": true,
|
|
11
|
+
"notebook.defaultFormatter": "esbenp.prettier-vscode",
|
|
12
|
+
"javascript.format.semicolons": "insert"
|
|
13
|
+
}
|
package/dist/components/index.js
CHANGED
|
@@ -14098,9 +14098,8 @@ const determineHasChildren = ({
|
|
|
14098
14098
|
|
|
14099
14099
|
const sortByPosition = (items, getConfig) => {
|
|
14100
14100
|
return items.sort((a, b) => {
|
|
14101
|
-
|
|
14102
|
-
const
|
|
14103
|
-
const positionB = ((_getConfig2 = getConfig(b)) === null || _getConfig2 === void 0 ? void 0 : _getConfig2.position) || 0;
|
|
14101
|
+
const positionA = getConfig(a)?.position || 0;
|
|
14102
|
+
const positionB = getConfig(b)?.position || 0;
|
|
14104
14103
|
return positionA - positionB;
|
|
14105
14104
|
});
|
|
14106
14105
|
};
|
|
@@ -14117,7 +14116,7 @@ const resolveDynamicLabel = (labelConfig, item, defaultLabel) => {
|
|
|
14117
14116
|
const parts = labelKey.split(' is ');
|
|
14118
14117
|
if (parts.length === 2) {
|
|
14119
14118
|
const [conditionKey, conditionValue] = parts;
|
|
14120
|
-
if (
|
|
14119
|
+
if (item?.[conditionKey] === conditionValue) {
|
|
14121
14120
|
return labelConfig[labelKey];
|
|
14122
14121
|
}
|
|
14123
14122
|
}
|
|
@@ -17402,6 +17401,7 @@ const StakeholderMarker = dt.div`
|
|
|
17402
17401
|
border: 1px solid white;
|
|
17403
17402
|
display: flex;
|
|
17404
17403
|
align-items: center;
|
|
17404
|
+
background-color: black;
|
|
17405
17405
|
justify-content: center;
|
|
17406
17406
|
|
|
17407
17407
|
&.small {
|
|
@@ -17503,7 +17503,6 @@ const LocationMarker = dt.svg`
|
|
|
17503
17503
|
.mine-site-marker {
|
|
17504
17504
|
fill: var(--blue-50);
|
|
17505
17505
|
stroke: white;
|
|
17506
|
-
|
|
17507
17506
|
|
|
17508
17507
|
&:hover {
|
|
17509
17508
|
fill: var(--blue-60);
|
|
@@ -47001,8 +47000,8 @@ const filterParams = value => {
|
|
|
47001
47000
|
} = activeFilters || {};
|
|
47002
47001
|
const params = {};
|
|
47003
47002
|
params.pagination = JSON.stringify({
|
|
47004
|
-
page,
|
|
47005
|
-
|
|
47003
|
+
skip: page,
|
|
47004
|
+
take: pageSize
|
|
47006
47005
|
});
|
|
47007
47006
|
if (search && searchParams) {
|
|
47008
47007
|
params.search = JSON.stringify({
|
package/dist/utils/index.js
CHANGED
|
@@ -6111,8 +6111,8 @@ const filterParams = value => {
|
|
|
6111
6111
|
} = activeFilters || {};
|
|
6112
6112
|
const params = {};
|
|
6113
6113
|
params.pagination = JSON.stringify({
|
|
6114
|
-
page,
|
|
6115
|
-
|
|
6114
|
+
skip: page,
|
|
6115
|
+
take: pageSize
|
|
6116
6116
|
});
|
|
6117
6117
|
if (search && searchParams) {
|
|
6118
6118
|
params.search = JSON.stringify({
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ export const StakeholderMarker = styled.div`
|
|
|
6
6
|
border: 1px solid white;
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
|
+
background-color: black;
|
|
9
10
|
justify-content: center;
|
|
10
11
|
|
|
11
12
|
&.small {
|
|
@@ -108,7 +109,6 @@ export const LocationMarker = styled.svg`
|
|
|
108
109
|
.mine-site-marker {
|
|
109
110
|
fill: var(--blue-50);
|
|
110
111
|
stroke: white;
|
|
111
|
-
|
|
112
112
|
|
|
113
113
|
&:hover {
|
|
114
114
|
fill: var(--blue-60);
|