@lv-x-software-house/x_view 1.2.8-dev.20 → 1.2.8-dev.21

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/index.js CHANGED
@@ -2667,7 +2667,7 @@ function createNewCustomProperty(existingProps = []) {
2667
2667
  nextValue = [{ id: (0, import_uuid.v4)(), name: "1", value: "" }];
2668
2668
  break;
2669
2669
  case "date":
2670
- nextKey = "Date";
2670
+ nextKey = "Data";
2671
2671
  nextValue = { type: "Data", value: "" };
2672
2672
  break;
2673
2673
  case "number":
@@ -2921,7 +2921,7 @@ var IGNORED_KEYS = [
2921
2921
  ];
2922
2922
  function extractCustomPropsFromNode(node) {
2923
2923
  const customPropTypes = node._customPropTypes || {};
2924
- return Object.keys(node).filter((k) => !IGNORED_KEYS.includes(k)).map((key) => {
2924
+ return Object.keys(node).filter((k) => !IGNORED_KEYS.includes(k) || customPropTypes[k]).map((key) => {
2925
2925
  const val = node[key];
2926
2926
  const t = customPropTypes[key] || inferPropType(val);
2927
2927
  if (t === "date") {
@@ -5110,7 +5110,7 @@ function CustomPropertyDisplay({
5110
5110
  links: "Links",
5111
5111
  images: "Images",
5112
5112
  documents: "Documents",
5113
- date: "Date"
5113
+ date: "Data"
5114
5114
  };
5115
5115
  const oldKeyIsFixed = Object.values(fixedKeyMap).includes(tempProp.key);
5116
5116
  if (fixedKeyMap[value]) {
@@ -12489,7 +12489,6 @@ function QuestDetailsPanel({
12489
12489
  setIsSaving(false);
12490
12490
  }
12491
12491
  };
12492
- const filteredCustomProps = customProps.filter((p) => p.key !== "Date" && p.key !== "Data");
12493
12492
  const handleAddTimelineNote = async () => {
12494
12493
  if (!noteText.trim() && noteLinks.length === 0 && noteImages.length === 0 || isSaving) return;
12495
12494
  setIsSaving(true);
package/dist/index.mjs CHANGED
@@ -2628,7 +2628,7 @@ function createNewCustomProperty(existingProps = []) {
2628
2628
  nextValue = [{ id: uuidv4(), name: "1", value: "" }];
2629
2629
  break;
2630
2630
  case "date":
2631
- nextKey = "Date";
2631
+ nextKey = "Data";
2632
2632
  nextValue = { type: "Data", value: "" };
2633
2633
  break;
2634
2634
  case "number":
@@ -2882,7 +2882,7 @@ var IGNORED_KEYS = [
2882
2882
  ];
2883
2883
  function extractCustomPropsFromNode(node) {
2884
2884
  const customPropTypes = node._customPropTypes || {};
2885
- return Object.keys(node).filter((k) => !IGNORED_KEYS.includes(k)).map((key) => {
2885
+ return Object.keys(node).filter((k) => !IGNORED_KEYS.includes(k) || customPropTypes[k]).map((key) => {
2886
2886
  const val = node[key];
2887
2887
  const t = customPropTypes[key] || inferPropType(val);
2888
2888
  if (t === "date") {
@@ -5071,7 +5071,7 @@ function CustomPropertyDisplay({
5071
5071
  links: "Links",
5072
5072
  images: "Images",
5073
5073
  documents: "Documents",
5074
- date: "Date"
5074
+ date: "Data"
5075
5075
  };
5076
5076
  const oldKeyIsFixed = Object.values(fixedKeyMap).includes(tempProp.key);
5077
5077
  if (fixedKeyMap[value]) {
@@ -12527,7 +12527,6 @@ function QuestDetailsPanel({
12527
12527
  setIsSaving(false);
12528
12528
  }
12529
12529
  };
12530
- const filteredCustomProps = customProps.filter((p) => p.key !== "Date" && p.key !== "Data");
12531
12530
  const handleAddTimelineNote = async () => {
12532
12531
  if (!noteText.trim() && noteLinks.length === 0 && noteImages.length === 0 || isSaving) return;
12533
12532
  setIsSaving(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv-x-software-house/x_view",
3
- "version": "1.2.8-dev.20",
3
+ "version": "1.2.8-dev.21",
4
4
  "description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
5
5
  "author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
6
6
  "license": "UNLICENSED",