@lv-x-software-house/x_view 1.2.6-dev.63 → 1.2.6-dev.65
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 +16 -16
- package/dist/index.mjs +16 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9164,7 +9164,7 @@ function InSceneCreationForm({
|
|
|
9164
9164
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
9165
9165
|
existingProp.value = [
|
|
9166
9166
|
...existingProp.value || [],
|
|
9167
|
-
{ id: (0, import_uuid5.v4)(), name: "
|
|
9167
|
+
{ id: (0, import_uuid5.v4)(), name: "Google docs", value: res.link }
|
|
9168
9168
|
];
|
|
9169
9169
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
9170
9170
|
setCustomProps(updatedProps);
|
|
@@ -9173,7 +9173,7 @@ function InSceneCreationForm({
|
|
|
9173
9173
|
id: (0, import_uuid5.v4)(),
|
|
9174
9174
|
key: "Links",
|
|
9175
9175
|
type: "links",
|
|
9176
|
-
value: [{ id: (0, import_uuid5.v4)(), name: "
|
|
9176
|
+
value: [{ id: (0, import_uuid5.v4)(), name: "Google docs", value: res.link }]
|
|
9177
9177
|
};
|
|
9178
9178
|
setCustomProps((prev) => [...prev, newProp]);
|
|
9179
9179
|
}
|
|
@@ -9435,10 +9435,10 @@ function InSceneCreationForm({
|
|
|
9435
9435
|
type: "button",
|
|
9436
9436
|
onClick: handleCreateGoogleDoc,
|
|
9437
9437
|
disabled: isLoadingDocs,
|
|
9438
|
-
className: "flex items-center justify-center
|
|
9438
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
9439
9439
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
9440
9440
|
},
|
|
9441
|
-
isLoadingDocs ? /* @__PURE__ */ import_react15.default.createElement(import_ai.AiOutlineLoading3Quarters, { className: "animate-spin", size:
|
|
9441
|
+
isLoadingDocs ? /* @__PURE__ */ import_react15.default.createElement(import_ai.AiOutlineLoading3Quarters, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ import_react15.default.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
9442
9442
|
), /* @__PURE__ */ import_react15.default.createElement(
|
|
9443
9443
|
"button",
|
|
9444
9444
|
{
|
|
@@ -10134,7 +10134,7 @@ function InSceneQuestForm({
|
|
|
10134
10134
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
10135
10135
|
existingProp.value = [
|
|
10136
10136
|
...existingProp.value || [],
|
|
10137
|
-
{ id: (0, import_uuid7.v4)(), name: "
|
|
10137
|
+
{ id: (0, import_uuid7.v4)(), name: "Google docs", value: res.link }
|
|
10138
10138
|
];
|
|
10139
10139
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
10140
10140
|
setCustomProps(updatedProps);
|
|
@@ -10143,7 +10143,7 @@ function InSceneQuestForm({
|
|
|
10143
10143
|
id: (0, import_uuid7.v4)(),
|
|
10144
10144
|
key: "Links",
|
|
10145
10145
|
type: "links",
|
|
10146
|
-
value: [{ id: (0, import_uuid7.v4)(), name: "
|
|
10146
|
+
value: [{ id: (0, import_uuid7.v4)(), name: "Google docs", value: res.link }]
|
|
10147
10147
|
};
|
|
10148
10148
|
setCustomProps((prev) => [...prev, newProp]);
|
|
10149
10149
|
}
|
|
@@ -10684,10 +10684,10 @@ function InSceneQuestForm({
|
|
|
10684
10684
|
type: "button",
|
|
10685
10685
|
onClick: handleCreateGoogleDoc,
|
|
10686
10686
|
disabled: isLoadingDocs,
|
|
10687
|
-
className: "flex items-center justify-center
|
|
10687
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
10688
10688
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
10689
10689
|
},
|
|
10690
|
-
isLoadingDocs ? /* @__PURE__ */ import_react18.default.createElement(import_ai2.AiOutlineLoading3Quarters, { className: "animate-spin", size:
|
|
10690
|
+
isLoadingDocs ? /* @__PURE__ */ import_react18.default.createElement(import_ai2.AiOutlineLoading3Quarters, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ import_react18.default.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
10691
10691
|
), /* @__PURE__ */ import_react18.default.createElement(
|
|
10692
10692
|
"button",
|
|
10693
10693
|
{
|
|
@@ -11009,7 +11009,7 @@ function NodeDetailsPanel({
|
|
|
11009
11009
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
11010
11010
|
existingProp.value = [
|
|
11011
11011
|
...existingProp.value || [],
|
|
11012
|
-
{ id: (0, import_uuid8.v4)(), name: "
|
|
11012
|
+
{ id: (0, import_uuid8.v4)(), name: "Google docs", value: res.link }
|
|
11013
11013
|
];
|
|
11014
11014
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
11015
11015
|
} else {
|
|
@@ -11017,7 +11017,7 @@ function NodeDetailsPanel({
|
|
|
11017
11017
|
id: (0, import_uuid8.v4)(),
|
|
11018
11018
|
key: "Links",
|
|
11019
11019
|
type: "links",
|
|
11020
|
-
value: [{ id: (0, import_uuid8.v4)(), name: "
|
|
11020
|
+
value: [{ id: (0, import_uuid8.v4)(), name: "Google docs", value: res.link }]
|
|
11021
11021
|
};
|
|
11022
11022
|
updatedProps = [...customProps, newProp];
|
|
11023
11023
|
}
|
|
@@ -11319,10 +11319,10 @@ function NodeDetailsPanel({
|
|
|
11319
11319
|
type: "button",
|
|
11320
11320
|
onClick: handleCreateGoogleDoc,
|
|
11321
11321
|
disabled: isLoadingDocs,
|
|
11322
|
-
className: "flex items-center justify-center
|
|
11322
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
11323
11323
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
11324
11324
|
},
|
|
11325
|
-
isLoadingDocs ? /* @__PURE__ */ import_react19.default.createElement(import_ai3.AiOutlineLoading3Quarters, { className: "animate-spin", size:
|
|
11325
|
+
isLoadingDocs ? /* @__PURE__ */ import_react19.default.createElement(import_ai3.AiOutlineLoading3Quarters, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ import_react19.default.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
11326
11326
|
), canEdit && /* @__PURE__ */ import_react19.default.createElement(
|
|
11327
11327
|
"button",
|
|
11328
11328
|
{
|
|
@@ -11940,7 +11940,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11940
11940
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
11941
11941
|
existingProp.value = [
|
|
11942
11942
|
...existingProp.value || [],
|
|
11943
|
-
{ id: (0, import_uuid9.v4)(), name: "
|
|
11943
|
+
{ id: (0, import_uuid9.v4)(), name: "Google docs", value: res.link }
|
|
11944
11944
|
];
|
|
11945
11945
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
11946
11946
|
} else {
|
|
@@ -11948,7 +11948,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11948
11948
|
id: (0, import_uuid9.v4)(),
|
|
11949
11949
|
key: "Links",
|
|
11950
11950
|
type: "links",
|
|
11951
|
-
value: [{ id: (0, import_uuid9.v4)(), name: "
|
|
11951
|
+
value: [{ id: (0, import_uuid9.v4)(), name: "Google docs", value: res.link }]
|
|
11952
11952
|
};
|
|
11953
11953
|
updatedProps = [...customProps, newProp];
|
|
11954
11954
|
}
|
|
@@ -12579,10 +12579,10 @@ ${noteText}` : noteText : entry.notes,
|
|
|
12579
12579
|
type: "button",
|
|
12580
12580
|
onClick: handleCreateGoogleDoc,
|
|
12581
12581
|
disabled: isLoadingDocs,
|
|
12582
|
-
className: "flex items-center justify-center
|
|
12582
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
12583
12583
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
12584
12584
|
},
|
|
12585
|
-
isLoadingDocs ? /* @__PURE__ */ import_react21.default.createElement(import_ai4.AiOutlineLoading3Quarters, { className: "animate-spin", size:
|
|
12585
|
+
isLoadingDocs ? /* @__PURE__ */ import_react21.default.createElement(import_ai4.AiOutlineLoading3Quarters, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ import_react21.default.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
12586
12586
|
), canEdit && /* @__PURE__ */ import_react21.default.createElement("button", { type: "button", onClick: handleAddProp, className: "flex items-center gap-1.5 px-2.5 py-1.5 text-xs rounded-md bg-slate-800/70 hover:bg-slate-700/70 border border-white/10 transition-colors" }, /* @__PURE__ */ import_react21.default.createElement(import_fi19.FiPlus, { size: 14 }), " Adicionar"))), /* @__PURE__ */ import_react21.default.createElement("div", { className: "flex flex-col gap-3" }, customProps.map((prop, idx) => /* @__PURE__ */ import_react21.default.createElement(CustomPropertyDisplay, { key: prop.id, prop, onUpdate: canEdit ? (updatedProp) => handleUpdateProp(idx, updatedProp) : void 0, onRemove: canEdit ? () => handleRemoveProp(idx) : void 0, onOpenImageViewer, unavailableTypes: currentUsedTypes.filter((t) => t !== prop.type), isTextureMode: false, onUploadFile: canEdit ? onUploadFile : void 0, readOnly: !canEdit })), /* @__PURE__ */ import_react21.default.createElement("div", { ref: propsEndRef }))), /* @__PURE__ */ import_react21.default.createElement("div", { className: "pt-6 border-t border-white/10 mt-6" }, /* @__PURE__ */ import_react21.default.createElement("div", { className: "flex items-center justify-between mb-4" }, /* @__PURE__ */ import_react21.default.createElement("h3", { className: "text-[11px] uppercase font-bold text-slate-500 tracking-wider" }, "Hist\xF3rico & Notas"), /* @__PURE__ */ import_react21.default.createElement(
|
|
12587
12587
|
"button",
|
|
12588
12588
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -9164,7 +9164,7 @@ function InSceneCreationForm({
|
|
|
9164
9164
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
9165
9165
|
existingProp.value = [
|
|
9166
9166
|
...existingProp.value || [],
|
|
9167
|
-
{ id: uuidv45(), name: "
|
|
9167
|
+
{ id: uuidv45(), name: "Google docs", value: res.link }
|
|
9168
9168
|
];
|
|
9169
9169
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
9170
9170
|
setCustomProps(updatedProps);
|
|
@@ -9173,7 +9173,7 @@ function InSceneCreationForm({
|
|
|
9173
9173
|
id: uuidv45(),
|
|
9174
9174
|
key: "Links",
|
|
9175
9175
|
type: "links",
|
|
9176
|
-
value: [{ id: uuidv45(), name: "
|
|
9176
|
+
value: [{ id: uuidv45(), name: "Google docs", value: res.link }]
|
|
9177
9177
|
};
|
|
9178
9178
|
setCustomProps((prev) => [...prev, newProp]);
|
|
9179
9179
|
}
|
|
@@ -9435,10 +9435,10 @@ function InSceneCreationForm({
|
|
|
9435
9435
|
type: "button",
|
|
9436
9436
|
onClick: handleCreateGoogleDoc,
|
|
9437
9437
|
disabled: isLoadingDocs,
|
|
9438
|
-
className: "flex items-center justify-center
|
|
9438
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
9439
9439
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
9440
9440
|
},
|
|
9441
|
-
isLoadingDocs ? /* @__PURE__ */ React14.createElement(AiOutlineLoading3Quarters, { className: "animate-spin", size:
|
|
9441
|
+
isLoadingDocs ? /* @__PURE__ */ React14.createElement(AiOutlineLoading3Quarters, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ React14.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
9442
9442
|
), /* @__PURE__ */ React14.createElement(
|
|
9443
9443
|
"button",
|
|
9444
9444
|
{
|
|
@@ -10154,7 +10154,7 @@ function InSceneQuestForm({
|
|
|
10154
10154
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
10155
10155
|
existingProp.value = [
|
|
10156
10156
|
...existingProp.value || [],
|
|
10157
|
-
{ id: uuidv47(), name: "
|
|
10157
|
+
{ id: uuidv47(), name: "Google docs", value: res.link }
|
|
10158
10158
|
];
|
|
10159
10159
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
10160
10160
|
setCustomProps(updatedProps);
|
|
@@ -10163,7 +10163,7 @@ function InSceneQuestForm({
|
|
|
10163
10163
|
id: uuidv47(),
|
|
10164
10164
|
key: "Links",
|
|
10165
10165
|
type: "links",
|
|
10166
|
-
value: [{ id: uuidv47(), name: "
|
|
10166
|
+
value: [{ id: uuidv47(), name: "Google docs", value: res.link }]
|
|
10167
10167
|
};
|
|
10168
10168
|
setCustomProps((prev) => [...prev, newProp]);
|
|
10169
10169
|
}
|
|
@@ -10704,10 +10704,10 @@ function InSceneQuestForm({
|
|
|
10704
10704
|
type: "button",
|
|
10705
10705
|
onClick: handleCreateGoogleDoc,
|
|
10706
10706
|
disabled: isLoadingDocs,
|
|
10707
|
-
className: "flex items-center justify-center
|
|
10707
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
10708
10708
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
10709
10709
|
},
|
|
10710
|
-
isLoadingDocs ? /* @__PURE__ */ React17.createElement(AiOutlineLoading3Quarters2, { className: "animate-spin", size:
|
|
10710
|
+
isLoadingDocs ? /* @__PURE__ */ React17.createElement(AiOutlineLoading3Quarters2, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ React17.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
10711
10711
|
), /* @__PURE__ */ React17.createElement(
|
|
10712
10712
|
"button",
|
|
10713
10713
|
{
|
|
@@ -11029,7 +11029,7 @@ function NodeDetailsPanel({
|
|
|
11029
11029
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
11030
11030
|
existingProp.value = [
|
|
11031
11031
|
...existingProp.value || [],
|
|
11032
|
-
{ id: uuidv48(), name: "
|
|
11032
|
+
{ id: uuidv48(), name: "Google docs", value: res.link }
|
|
11033
11033
|
];
|
|
11034
11034
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
11035
11035
|
} else {
|
|
@@ -11037,7 +11037,7 @@ function NodeDetailsPanel({
|
|
|
11037
11037
|
id: uuidv48(),
|
|
11038
11038
|
key: "Links",
|
|
11039
11039
|
type: "links",
|
|
11040
|
-
value: [{ id: uuidv48(), name: "
|
|
11040
|
+
value: [{ id: uuidv48(), name: "Google docs", value: res.link }]
|
|
11041
11041
|
};
|
|
11042
11042
|
updatedProps = [...customProps, newProp];
|
|
11043
11043
|
}
|
|
@@ -11339,10 +11339,10 @@ function NodeDetailsPanel({
|
|
|
11339
11339
|
type: "button",
|
|
11340
11340
|
onClick: handleCreateGoogleDoc,
|
|
11341
11341
|
disabled: isLoadingDocs,
|
|
11342
|
-
className: "flex items-center justify-center
|
|
11342
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
11343
11343
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
11344
11344
|
},
|
|
11345
|
-
isLoadingDocs ? /* @__PURE__ */ React18.createElement(AiOutlineLoading3Quarters3, { className: "animate-spin", size:
|
|
11345
|
+
isLoadingDocs ? /* @__PURE__ */ React18.createElement(AiOutlineLoading3Quarters3, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ React18.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
11346
11346
|
), canEdit && /* @__PURE__ */ React18.createElement(
|
|
11347
11347
|
"button",
|
|
11348
11348
|
{
|
|
@@ -11972,7 +11972,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11972
11972
|
const existingProp = { ...updatedProps[existingLinksPropIndex] };
|
|
11973
11973
|
existingProp.value = [
|
|
11974
11974
|
...existingProp.value || [],
|
|
11975
|
-
{ id: uuidv49(), name: "
|
|
11975
|
+
{ id: uuidv49(), name: "Google docs", value: res.link }
|
|
11976
11976
|
];
|
|
11977
11977
|
updatedProps[existingLinksPropIndex] = existingProp;
|
|
11978
11978
|
} else {
|
|
@@ -11980,7 +11980,7 @@ ${noteText}` : noteText : entry.notes,
|
|
|
11980
11980
|
id: uuidv49(),
|
|
11981
11981
|
key: "Links",
|
|
11982
11982
|
type: "links",
|
|
11983
|
-
value: [{ id: uuidv49(), name: "
|
|
11983
|
+
value: [{ id: uuidv49(), name: "Google docs", value: res.link }]
|
|
11984
11984
|
};
|
|
11985
11985
|
updatedProps = [...customProps, newProp];
|
|
11986
11986
|
}
|
|
@@ -12611,10 +12611,10 @@ ${noteText}` : noteText : entry.notes,
|
|
|
12611
12611
|
type: "button",
|
|
12612
12612
|
onClick: handleCreateGoogleDoc,
|
|
12613
12613
|
disabled: isLoadingDocs,
|
|
12614
|
-
className: "flex items-center justify-center
|
|
12614
|
+
className: "flex items-center justify-center text-slate-300 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
|
|
12615
12615
|
title: isLoadingDocs ? "Criando Documento..." : "Criar Documento no Google Docs"
|
|
12616
12616
|
},
|
|
12617
|
-
isLoadingDocs ? /* @__PURE__ */ React20.createElement(AiOutlineLoading3Quarters4, { className: "animate-spin", size:
|
|
12617
|
+
isLoadingDocs ? /* @__PURE__ */ React20.createElement(AiOutlineLoading3Quarters4, { className: "animate-spin", size: 18 }) : /* @__PURE__ */ React20.createElement(GoogleDocsIcon_default, { size: 18, className: "group-hover:scale-110 transition-transform" })
|
|
12618
12618
|
), canEdit && /* @__PURE__ */ React20.createElement("button", { type: "button", onClick: handleAddProp, className: "flex items-center gap-1.5 px-2.5 py-1.5 text-xs rounded-md bg-slate-800/70 hover:bg-slate-700/70 border border-white/10 transition-colors" }, /* @__PURE__ */ React20.createElement(FiPlus8, { size: 14 }), " Adicionar"))), /* @__PURE__ */ React20.createElement("div", { className: "flex flex-col gap-3" }, customProps.map((prop, idx) => /* @__PURE__ */ React20.createElement(CustomPropertyDisplay, { key: prop.id, prop, onUpdate: canEdit ? (updatedProp) => handleUpdateProp(idx, updatedProp) : void 0, onRemove: canEdit ? () => handleRemoveProp(idx) : void 0, onOpenImageViewer, unavailableTypes: currentUsedTypes.filter((t) => t !== prop.type), isTextureMode: false, onUploadFile: canEdit ? onUploadFile : void 0, readOnly: !canEdit })), /* @__PURE__ */ React20.createElement("div", { ref: propsEndRef }))), /* @__PURE__ */ React20.createElement("div", { className: "pt-6 border-t border-white/10 mt-6" }, /* @__PURE__ */ React20.createElement("div", { className: "flex items-center justify-between mb-4" }, /* @__PURE__ */ React20.createElement("h3", { className: "text-[11px] uppercase font-bold text-slate-500 tracking-wider" }, "Hist\xF3rico & Notas"), /* @__PURE__ */ React20.createElement(
|
|
12619
12619
|
"button",
|
|
12620
12620
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.6-dev.
|
|
3
|
+
"version": "1.2.6-dev.65",
|
|
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",
|