@lv-x-software-house/x_view 1.2.6-dev.53 → 1.2.6-dev.54
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 +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14428,8 +14428,10 @@ function XViewScene({
|
|
|
14428
14428
|
stateRef.current.nodeIdToParentFileMap = map;
|
|
14429
14429
|
}, [isInitialized, sceneVersion]);
|
|
14430
14430
|
const handleNavigateBack = (0, import_react31.useCallback)(() => {
|
|
14431
|
-
|
|
14432
|
-
|
|
14431
|
+
const type = viewParams == null ? void 0 : viewParams.type;
|
|
14432
|
+
const tab = type === "database" ? "datasets" : "views";
|
|
14433
|
+
router.push(`/dashboard/xview?tab=${tab}`);
|
|
14434
|
+
}, [router, viewParams]);
|
|
14433
14435
|
const handleConfirmImport = (0, import_react31.useCallback)(
|
|
14434
14436
|
async (importPayload) => {
|
|
14435
14437
|
var _a2, _b2;
|
|
@@ -18760,7 +18762,7 @@ function XViewScene({
|
|
|
18760
18762
|
)), /* @__PURE__ */ import_react31.default.createElement("h2", { className: "text-2xl font-bold mb-2" }, "Acesso Negado"), /* @__PURE__ */ import_react31.default.createElement("p", { className: "text-slate-400 mb-6" }, "Voc\xEA n\xE3o tem permiss\xE3o para acessar este conte\xFAdo. Solicite acesso ao propriet\xE1rio ou verifique se est\xE1 na conta correta."), /* @__PURE__ */ import_react31.default.createElement(
|
|
18761
18763
|
"button",
|
|
18762
18764
|
{
|
|
18763
|
-
onClick:
|
|
18765
|
+
onClick: handleNavigateBack,
|
|
18764
18766
|
className: "flex items-center justify-center gap-2 w-full py-3 px-4 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition-colors font-medium"
|
|
18765
18767
|
},
|
|
18766
18768
|
/* @__PURE__ */ import_react31.default.createElement(
|
|
@@ -18782,7 +18784,7 @@ function XViewScene({
|
|
|
18782
18784
|
}
|
|
18783
18785
|
)
|
|
18784
18786
|
),
|
|
18785
|
-
"Voltar para
|
|
18787
|
+
"Voltar para o X.View"
|
|
18786
18788
|
)));
|
|
18787
18789
|
}
|
|
18788
18790
|
return /* @__PURE__ */ import_react31.default.createElement(
|
package/dist/index.mjs
CHANGED
|
@@ -14484,8 +14484,10 @@ function XViewScene({
|
|
|
14484
14484
|
stateRef.current.nodeIdToParentFileMap = map;
|
|
14485
14485
|
}, [isInitialized, sceneVersion]);
|
|
14486
14486
|
const handleNavigateBack = useCallback6(() => {
|
|
14487
|
-
|
|
14488
|
-
|
|
14487
|
+
const type = viewParams == null ? void 0 : viewParams.type;
|
|
14488
|
+
const tab = type === "database" ? "datasets" : "views";
|
|
14489
|
+
router.push(`/dashboard/xview?tab=${tab}`);
|
|
14490
|
+
}, [router, viewParams]);
|
|
14489
14491
|
const handleConfirmImport = useCallback6(
|
|
14490
14492
|
async (importPayload) => {
|
|
14491
14493
|
var _a2, _b2;
|
|
@@ -18816,7 +18818,7 @@ function XViewScene({
|
|
|
18816
18818
|
)), /* @__PURE__ */ React30.createElement("h2", { className: "text-2xl font-bold mb-2" }, "Acesso Negado"), /* @__PURE__ */ React30.createElement("p", { className: "text-slate-400 mb-6" }, "Voc\xEA n\xE3o tem permiss\xE3o para acessar este conte\xFAdo. Solicite acesso ao propriet\xE1rio ou verifique se est\xE1 na conta correta."), /* @__PURE__ */ React30.createElement(
|
|
18817
18819
|
"button",
|
|
18818
18820
|
{
|
|
18819
|
-
onClick:
|
|
18821
|
+
onClick: handleNavigateBack,
|
|
18820
18822
|
className: "flex items-center justify-center gap-2 w-full py-3 px-4 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition-colors font-medium"
|
|
18821
18823
|
},
|
|
18822
18824
|
/* @__PURE__ */ React30.createElement(
|
|
@@ -18838,7 +18840,7 @@ function XViewScene({
|
|
|
18838
18840
|
}
|
|
18839
18841
|
)
|
|
18840
18842
|
),
|
|
18841
|
-
"Voltar para
|
|
18843
|
+
"Voltar para o X.View"
|
|
18842
18844
|
)));
|
|
18843
18845
|
}
|
|
18844
18846
|
return /* @__PURE__ */ React30.createElement(
|
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.54",
|
|
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",
|