@lv-x-software-house/x_view 1.2.5-dev.52 → 1.2.5-dev.53
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 +19 -4
- package/dist/index.mjs +19 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2773,7 +2773,8 @@ var IGNORED_KEYS = [
|
|
|
2773
2773
|
"Date",
|
|
2774
2774
|
"recurrence_config",
|
|
2775
2775
|
"reviewStack",
|
|
2776
|
-
"timeline"
|
|
2776
|
+
"timeline",
|
|
2777
|
+
"milestone_ids"
|
|
2777
2778
|
];
|
|
2778
2779
|
function extractCustomPropsFromNode(node) {
|
|
2779
2780
|
const customPropTypes = node._customPropTypes || {};
|
|
@@ -3256,7 +3257,11 @@ function calculateNextRecurrenceDate(config) {
|
|
|
3256
3257
|
if (config.custom_date) {
|
|
3257
3258
|
const parts = config.custom_date.split("/");
|
|
3258
3259
|
if (parts.length === 3) {
|
|
3259
|
-
nextDate = new Date(
|
|
3260
|
+
nextDate = new Date(
|
|
3261
|
+
parseInt(parts[2], 10),
|
|
3262
|
+
parseInt(parts[1], 10) - 1,
|
|
3263
|
+
parseInt(parts[0], 10)
|
|
3264
|
+
);
|
|
3260
3265
|
} else {
|
|
3261
3266
|
return null;
|
|
3262
3267
|
}
|
|
@@ -3295,7 +3300,13 @@ var parseDateProp = (dateProp) => {
|
|
|
3295
3300
|
if (dateProp.type === "Data") {
|
|
3296
3301
|
const d = parseDate(dateProp.value);
|
|
3297
3302
|
if (d) {
|
|
3298
|
-
info = {
|
|
3303
|
+
info = {
|
|
3304
|
+
startDate: d,
|
|
3305
|
+
endDate: d,
|
|
3306
|
+
label: dateProp.value,
|
|
3307
|
+
type: "point",
|
|
3308
|
+
isUndated: false
|
|
3309
|
+
};
|
|
3299
3310
|
}
|
|
3300
3311
|
} else if (dateProp.type === "Date Interval" || dateProp.type === "Date Range" || dateProp.type === "interval") {
|
|
3301
3312
|
const sd = parseDate(dateProp.start || dateProp.value);
|
|
@@ -9857,6 +9868,7 @@ function InSceneQuestForm({
|
|
|
9857
9868
|
},
|
|
9858
9869
|
onKeyDown: handleMilestoneInputKeyDown,
|
|
9859
9870
|
onFocus: () => setShowMilestoneSuggestions(true),
|
|
9871
|
+
onClick: () => setShowMilestoneSuggestions(true),
|
|
9860
9872
|
onBlur: () => {
|
|
9861
9873
|
setTimeout(() => setShowMilestoneSuggestions(false), 200);
|
|
9862
9874
|
},
|
|
@@ -9901,6 +9913,7 @@ function InSceneQuestForm({
|
|
|
9901
9913
|
},
|
|
9902
9914
|
onKeyDown: handleDependencyInputKeyDown,
|
|
9903
9915
|
onFocus: () => setShowDependencySuggestions(true),
|
|
9916
|
+
onClick: () => setShowDependencySuggestions(true),
|
|
9904
9917
|
onBlur: () => {
|
|
9905
9918
|
setTimeout(() => setShowDependencySuggestions(false), 200);
|
|
9906
9919
|
},
|
|
@@ -11597,6 +11610,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11597
11610
|
},
|
|
11598
11611
|
onKeyDown: handleMilestoneInputKeyDown,
|
|
11599
11612
|
onFocus: () => setShowMilestoneSuggestions(true),
|
|
11613
|
+
onClick: () => setShowMilestoneSuggestions(true),
|
|
11600
11614
|
onBlur: () => {
|
|
11601
11615
|
if (milestoneInput.trim()) {
|
|
11602
11616
|
}
|
|
@@ -11890,13 +11904,14 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11890
11904
|
setShowDependencySuggestions(true);
|
|
11891
11905
|
},
|
|
11892
11906
|
onKeyDown: handleDependencyInputKeyDown,
|
|
11907
|
+
onFocus: () => setShowDependencySuggestions(true),
|
|
11893
11908
|
onClick: () => setShowDependencySuggestions(true),
|
|
11894
11909
|
onBlur: () => setTimeout(() => setShowDependencySuggestions(false), 200),
|
|
11895
11910
|
className: "w-full bg-transparent text-sm focus:outline-none text-slate-200 placeholder:text-slate-600",
|
|
11896
11911
|
placeholder: dependencyIds.length === 0 ? "Adicionar Quest de Origem..." : "",
|
|
11897
11912
|
autoComplete: "off"
|
|
11898
11913
|
}
|
|
11899
|
-
), showDependencySuggestions &&
|
|
11914
|
+
), showDependencySuggestions && /* @__PURE__ */ import_react20.default.createElement("ul", { className: "absolute top-full left-0 z-[100] w-full mt-2 max-h-48 overflow-y-auto rounded-xl bg-slate-900 border border-white/10 shadow-2xl custom-scrollbar py-1" }, filteredDependencies.length > 0 ? filteredDependencies.map((q) => /* @__PURE__ */ import_react20.default.createElement(
|
|
11900
11915
|
"li",
|
|
11901
11916
|
{
|
|
11902
11917
|
key: q.id,
|
package/dist/index.mjs
CHANGED
|
@@ -2734,7 +2734,8 @@ var IGNORED_KEYS = [
|
|
|
2734
2734
|
"Date",
|
|
2735
2735
|
"recurrence_config",
|
|
2736
2736
|
"reviewStack",
|
|
2737
|
-
"timeline"
|
|
2737
|
+
"timeline",
|
|
2738
|
+
"milestone_ids"
|
|
2738
2739
|
];
|
|
2739
2740
|
function extractCustomPropsFromNode(node) {
|
|
2740
2741
|
const customPropTypes = node._customPropTypes || {};
|
|
@@ -3217,7 +3218,11 @@ function calculateNextRecurrenceDate(config) {
|
|
|
3217
3218
|
if (config.custom_date) {
|
|
3218
3219
|
const parts = config.custom_date.split("/");
|
|
3219
3220
|
if (parts.length === 3) {
|
|
3220
|
-
nextDate = new Date(
|
|
3221
|
+
nextDate = new Date(
|
|
3222
|
+
parseInt(parts[2], 10),
|
|
3223
|
+
parseInt(parts[1], 10) - 1,
|
|
3224
|
+
parseInt(parts[0], 10)
|
|
3225
|
+
);
|
|
3221
3226
|
} else {
|
|
3222
3227
|
return null;
|
|
3223
3228
|
}
|
|
@@ -3256,7 +3261,13 @@ var parseDateProp = (dateProp) => {
|
|
|
3256
3261
|
if (dateProp.type === "Data") {
|
|
3257
3262
|
const d = parseDate(dateProp.value);
|
|
3258
3263
|
if (d) {
|
|
3259
|
-
info = {
|
|
3264
|
+
info = {
|
|
3265
|
+
startDate: d,
|
|
3266
|
+
endDate: d,
|
|
3267
|
+
label: dateProp.value,
|
|
3268
|
+
type: "point",
|
|
3269
|
+
isUndated: false
|
|
3270
|
+
};
|
|
3260
3271
|
}
|
|
3261
3272
|
} else if (dateProp.type === "Date Interval" || dateProp.type === "Date Range" || dateProp.type === "interval") {
|
|
3262
3273
|
const sd = parseDate(dateProp.start || dateProp.value);
|
|
@@ -9876,6 +9887,7 @@ function InSceneQuestForm({
|
|
|
9876
9887
|
},
|
|
9877
9888
|
onKeyDown: handleMilestoneInputKeyDown,
|
|
9878
9889
|
onFocus: () => setShowMilestoneSuggestions(true),
|
|
9890
|
+
onClick: () => setShowMilestoneSuggestions(true),
|
|
9879
9891
|
onBlur: () => {
|
|
9880
9892
|
setTimeout(() => setShowMilestoneSuggestions(false), 200);
|
|
9881
9893
|
},
|
|
@@ -9920,6 +9932,7 @@ function InSceneQuestForm({
|
|
|
9920
9932
|
},
|
|
9921
9933
|
onKeyDown: handleDependencyInputKeyDown,
|
|
9922
9934
|
onFocus: () => setShowDependencySuggestions(true),
|
|
9935
|
+
onClick: () => setShowDependencySuggestions(true),
|
|
9923
9936
|
onBlur: () => {
|
|
9924
9937
|
setTimeout(() => setShowDependencySuggestions(false), 200);
|
|
9925
9938
|
},
|
|
@@ -11628,6 +11641,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11628
11641
|
},
|
|
11629
11642
|
onKeyDown: handleMilestoneInputKeyDown,
|
|
11630
11643
|
onFocus: () => setShowMilestoneSuggestions(true),
|
|
11644
|
+
onClick: () => setShowMilestoneSuggestions(true),
|
|
11631
11645
|
onBlur: () => {
|
|
11632
11646
|
if (milestoneInput.trim()) {
|
|
11633
11647
|
}
|
|
@@ -11921,13 +11935,14 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11921
11935
|
setShowDependencySuggestions(true);
|
|
11922
11936
|
},
|
|
11923
11937
|
onKeyDown: handleDependencyInputKeyDown,
|
|
11938
|
+
onFocus: () => setShowDependencySuggestions(true),
|
|
11924
11939
|
onClick: () => setShowDependencySuggestions(true),
|
|
11925
11940
|
onBlur: () => setTimeout(() => setShowDependencySuggestions(false), 200),
|
|
11926
11941
|
className: "w-full bg-transparent text-sm focus:outline-none text-slate-200 placeholder:text-slate-600",
|
|
11927
11942
|
placeholder: dependencyIds.length === 0 ? "Adicionar Quest de Origem..." : "",
|
|
11928
11943
|
autoComplete: "off"
|
|
11929
11944
|
}
|
|
11930
|
-
), showDependencySuggestions &&
|
|
11945
|
+
), showDependencySuggestions && /* @__PURE__ */ React19.createElement("ul", { className: "absolute top-full left-0 z-[100] w-full mt-2 max-h-48 overflow-y-auto rounded-xl bg-slate-900 border border-white/10 shadow-2xl custom-scrollbar py-1" }, filteredDependencies.length > 0 ? filteredDependencies.map((q) => /* @__PURE__ */ React19.createElement(
|
|
11931
11946
|
"li",
|
|
11932
11947
|
{
|
|
11933
11948
|
key: q.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.5-dev.
|
|
3
|
+
"version": "1.2.5-dev.53",
|
|
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",
|