datastake-daf 0.6.244 → 0.6.246
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 +3 -4
- package/package.json +1 -1
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
|
@@ -14082,9 +14082,8 @@ const determineHasChildren = ({
|
|
|
14082
14082
|
|
|
14083
14083
|
const sortByPosition = (items, getConfig) => {
|
|
14084
14084
|
return items.sort((a, b) => {
|
|
14085
|
-
|
|
14086
|
-
const
|
|
14087
|
-
const positionB = ((_getConfig2 = getConfig(b)) === null || _getConfig2 === void 0 ? void 0 : _getConfig2.position) || 0;
|
|
14085
|
+
const positionA = getConfig(a)?.position || 0;
|
|
14086
|
+
const positionB = getConfig(b)?.position || 0;
|
|
14088
14087
|
return positionA - positionB;
|
|
14089
14088
|
});
|
|
14090
14089
|
};
|
|
@@ -14101,7 +14100,7 @@ const resolveDynamicLabel = (labelConfig, item, defaultLabel) => {
|
|
|
14101
14100
|
const parts = labelKey.split(' is ');
|
|
14102
14101
|
if (parts.length === 2) {
|
|
14103
14102
|
const [conditionKey, conditionValue] = parts;
|
|
14104
|
-
if (
|
|
14103
|
+
if (item?.[conditionKey] === conditionValue) {
|
|
14105
14104
|
return labelConfig[labelKey];
|
|
14106
14105
|
}
|
|
14107
14106
|
}
|