datastake-daf 0.6.113 → 0.6.114

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 (37) hide show
  1. package/dist/components/index.js +3 -4
  2. package/package.json +1 -1
  3. package/rollup.config.js +4 -2
  4. /package/dist/{SDGs → components/SDGs}/SDGs-1.svg +0 -0
  5. /package/dist/{SDGs → components/SDGs}/SDGs-10.svg +0 -0
  6. /package/dist/{SDGs → components/SDGs}/SDGs-11.svg +0 -0
  7. /package/dist/{SDGs → components/SDGs}/SDGs-12.svg +0 -0
  8. /package/dist/{SDGs → components/SDGs}/SDGs-13.svg +0 -0
  9. /package/dist/{SDGs → components/SDGs}/SDGs-14.svg +0 -0
  10. /package/dist/{SDGs → components/SDGs}/SDGs-15.svg +0 -0
  11. /package/dist/{SDGs → components/SDGs}/SDGs-16.svg +0 -0
  12. /package/dist/{SDGs → components/SDGs}/SDGs-17.svg +0 -0
  13. /package/dist/{SDGs → components/SDGs}/SDGs-18.svg +0 -0
  14. /package/dist/{SDGs → components/SDGs}/SDGs-19.svg +0 -0
  15. /package/dist/{SDGs → components/SDGs}/SDGs-2.svg +0 -0
  16. /package/dist/{SDGs → components/SDGs}/SDGs-20.svg +0 -0
  17. /package/dist/{SDGs → components/SDGs}/SDGs-21.svg +0 -0
  18. /package/dist/{SDGs → components/SDGs}/SDGs-22.svg +0 -0
  19. /package/dist/{SDGs → components/SDGs}/SDGs-23.svg +0 -0
  20. /package/dist/{SDGs → components/SDGs}/SDGs-24.svg +0 -0
  21. /package/dist/{SDGs → components/SDGs}/SDGs-25.svg +0 -0
  22. /package/dist/{SDGs → components/SDGs}/SDGs-26.svg +0 -0
  23. /package/dist/{SDGs → components/SDGs}/SDGs-27.svg +0 -0
  24. /package/dist/{SDGs → components/SDGs}/SDGs-28.svg +0 -0
  25. /package/dist/{SDGs → components/SDGs}/SDGs-29.svg +0 -0
  26. /package/dist/{SDGs → components/SDGs}/SDGs-3.svg +0 -0
  27. /package/dist/{SDGs → components/SDGs}/SDGs-30.svg +0 -0
  28. /package/dist/{SDGs → components/SDGs}/SDGs-31.svg +0 -0
  29. /package/dist/{SDGs → components/SDGs}/SDGs-32.svg +0 -0
  30. /package/dist/{SDGs → components/SDGs}/SDGs-33.svg +0 -0
  31. /package/dist/{SDGs → components/SDGs}/SDGs-4.svg +0 -0
  32. /package/dist/{SDGs → components/SDGs}/SDGs-5.svg +0 -0
  33. /package/dist/{SDGs → components/SDGs}/SDGs-6.svg +0 -0
  34. /package/dist/{SDGs → components/SDGs}/SDGs-7.svg +0 -0
  35. /package/dist/{SDGs → components/SDGs}/SDGs-8.svg +0 -0
  36. /package/dist/{SDGs → components/SDGs}/SDGs-9.svg +0 -0
  37. /package/dist/{SDGs → components/SDGs}/SDGs.svg +0 -0
@@ -13757,9 +13757,8 @@ const determineHasChildren = ({
13757
13757
 
13758
13758
  const sortByPosition = (items, getConfig) => {
13759
13759
  return items.sort((a, b) => {
13760
- var _getConfig, _getConfig2;
13761
- const positionA = ((_getConfig = getConfig(a)) === null || _getConfig === void 0 ? void 0 : _getConfig.position) || 0;
13762
- const positionB = ((_getConfig2 = getConfig(b)) === null || _getConfig2 === void 0 ? void 0 : _getConfig2.position) || 0;
13760
+ const positionA = getConfig(a)?.position || 0;
13761
+ const positionB = getConfig(b)?.position || 0;
13763
13762
  return positionA - positionB;
13764
13763
  });
13765
13764
  };
@@ -13776,7 +13775,7 @@ const resolveDynamicLabel = (labelConfig, item, defaultLabel) => {
13776
13775
  const parts = labelKey.split(' is ');
13777
13776
  if (parts.length === 2) {
13778
13777
  const [conditionKey, conditionValue] = parts;
13779
- if ((item === null || item === void 0 ? void 0 : item[conditionKey]) === conditionValue) {
13778
+ if (item?.[conditionKey] === conditionValue) {
13780
13779
  return labelConfig[labelKey];
13781
13780
  }
13782
13781
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.113",
3
+ "version": "0.6.114",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
package/rollup.config.js CHANGED
@@ -67,6 +67,9 @@ export default [
67
67
  minimize: true,
68
68
  modules: true,
69
69
  }),
70
+ copy({
71
+ targets: [{ src: "public/SDGs/*", dest: "dist/components/SDGs" }],
72
+ }),
70
73
  ],
71
74
  },
72
75
  {
@@ -137,8 +140,7 @@ export default [
137
140
  }),
138
141
  copy({
139
142
  targets: [
140
- { src: "src/styles/datastake/*", dest: "dist/style/datastake" },
141
- { src: "public/SDGs/*", dest: "dist/SDGs" },
143
+ { src: "src/styles/datastake/*", dest: "dist/style/datastake" },
142
144
  ],
143
145
  }),
144
146
  ],
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes