@lv-x-software-house/x_view 1.2.5-dev.12 → 1.2.5-dev.13

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
@@ -10927,19 +10927,6 @@ function XViewScene({
10927
10927
  (0, import_react26.useEffect)(() => {
10928
10928
  stateRef.current.ancestry = ancestryMode;
10929
10929
  }, [ancestryMode]);
10930
- const handleStartQuestQuick = (0, import_react26.useCallback)((questNode) => {
10931
- var _a2;
10932
- if (!questNode || !actionHandlerContext) return;
10933
- const updatedNode = {
10934
- ...questNode,
10935
- status: "In Progress",
10936
- color: "#eab308",
10937
- assignee_id: (_a2 = session == null ? void 0 : session.user) == null ? void 0 : _a2.id
10938
- };
10939
- if (userActionHandlers.handleSaveNodeDetails) {
10940
- userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
10941
- }
10942
- }, [session, actionHandlerContext]);
10943
10930
  (0, import_react26.useEffect)(() => {
10944
10931
  var _a2;
10945
10932
  if (!isInitialized) return;
@@ -12714,6 +12701,19 @@ function XViewScene({
12714
12701
  const handleStartVersioning = (nodeData) => {
12715
12702
  userActionHandlers.handleStartVersioning(actionHandlerContext, nodeData);
12716
12703
  };
12704
+ const handleStartQuestQuick = (0, import_react26.useCallback)((questNode) => {
12705
+ var _a2;
12706
+ if (!questNode || !actionHandlerContext) return;
12707
+ const updatedNode = {
12708
+ ...questNode,
12709
+ status: "In Progress",
12710
+ color: "#eab308",
12711
+ assignee_id: (_a2 = session == null ? void 0 : session.user) == null ? void 0 : _a2.id
12712
+ };
12713
+ if (userActionHandlers.handleSaveNodeDetails) {
12714
+ userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
12715
+ }
12716
+ }, [session, actionHandlerContext]);
12717
12717
  const handleCancelQuest = (0, import_react26.useCallback)(() => {
12718
12718
  const { graphGroup, ghostElements } = stateRef.current;
12719
12719
  if (ghostElements.node && graphGroup) {
package/dist/index.mjs CHANGED
@@ -10932,19 +10932,6 @@ function XViewScene({
10932
10932
  useEffect22(() => {
10933
10933
  stateRef.current.ancestry = ancestryMode;
10934
10934
  }, [ancestryMode]);
10935
- const handleStartQuestQuick = useCallback4((questNode) => {
10936
- var _a2;
10937
- if (!questNode || !actionHandlerContext) return;
10938
- const updatedNode = {
10939
- ...questNode,
10940
- status: "In Progress",
10941
- color: "#eab308",
10942
- assignee_id: (_a2 = session == null ? void 0 : session.user) == null ? void 0 : _a2.id
10943
- };
10944
- if (userActionHandlers.handleSaveNodeDetails) {
10945
- userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
10946
- }
10947
- }, [session, actionHandlerContext]);
10948
10935
  useEffect22(() => {
10949
10936
  var _a2;
10950
10937
  if (!isInitialized) return;
@@ -12719,6 +12706,19 @@ function XViewScene({
12719
12706
  const handleStartVersioning = (nodeData) => {
12720
12707
  userActionHandlers.handleStartVersioning(actionHandlerContext, nodeData);
12721
12708
  };
12709
+ const handleStartQuestQuick = useCallback4((questNode) => {
12710
+ var _a2;
12711
+ if (!questNode || !actionHandlerContext) return;
12712
+ const updatedNode = {
12713
+ ...questNode,
12714
+ status: "In Progress",
12715
+ color: "#eab308",
12716
+ assignee_id: (_a2 = session == null ? void 0 : session.user) == null ? void 0 : _a2.id
12717
+ };
12718
+ if (userActionHandlers.handleSaveNodeDetails) {
12719
+ userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
12720
+ }
12721
+ }, [session, actionHandlerContext]);
12722
12722
  const handleCancelQuest = useCallback4(() => {
12723
12723
  const { graphGroup, ghostElements } = stateRef.current;
12724
12724
  if (ghostElements.node && graphGroup) {
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.12",
3
+ "version": "1.2.5-dev.13",
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",