@ixo/editor 5.30.0 → 5.31.0
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/{chunk-FOYB7GE7.mjs → chunk-OP7EY4CE.mjs} +8 -5
- package/dist/{chunk-FOYB7GE7.mjs.map → chunk-OP7EY4CE.mjs.map} +1 -1
- package/dist/{chunk-OPJWGL45.mjs → chunk-U7MABD7T.mjs} +6 -3
- package/dist/{chunk-OPJWGL45.mjs.map → chunk-U7MABD7T.mjs.map} +1 -1
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.mjs +1 -1
- package/dist/{graphql-client-D9Y6Sbgf.d.ts → graphql-client-D4uDflR8.d.ts} +1 -1
- package/dist/{index-o5BPjp5P.d.ts → index-C-2pXvHY.d.ts} +13 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/mantine/index.d.ts +3 -3
- package/dist/mantine/index.mjs +2 -2
- package/dist/{store-Bf9cuTNN.d.ts → store-DT8zznZ6.d.ts} +6 -1
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
transformSurveyToCredentialSubject,
|
|
66
66
|
updateXeroWorkReviewPayloadForEditor,
|
|
67
67
|
upsertXeroWorkItemForEditor
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-OP7EY4CE.mjs";
|
|
69
69
|
|
|
70
70
|
// src/mantine/hooks/usePanel.ts
|
|
71
71
|
import { useCallback, useMemo, useEffect, useRef } from "react";
|
|
@@ -43847,10 +43847,13 @@ function useCreateCollaborativeIxoEditor(options) {
|
|
|
43847
43847
|
root.set("createdAt", (/* @__PURE__ */ new Date()).toISOString());
|
|
43848
43848
|
root.set("createdBy", memoizedUser.id || "anonymous");
|
|
43849
43849
|
root.set("flowOwnerDid", memoizedUser.did || "");
|
|
43850
|
+
if (options.sourceTemplateId && !root.get("source_template_id")) {
|
|
43851
|
+
root.set("source_template_id", options.sourceTemplateId);
|
|
43852
|
+
}
|
|
43850
43853
|
if (titleText.length === 0 && options.title) {
|
|
43851
43854
|
titleText.insert(0, options.title);
|
|
43852
43855
|
}
|
|
43853
|
-
}, [connectionStatus, root, titleText, permissions.write, options.docId, options.title, memoizedUser.id]);
|
|
43856
|
+
}, [connectionStatus, root, titleText, permissions.write, options.docId, options.title, options.sourceTemplateId, memoizedUser.id]);
|
|
43854
43857
|
const [connectedUsers, setConnectedUsers] = useState194([]);
|
|
43855
43858
|
const activeBlockIdRef = useRef46(null);
|
|
43856
43859
|
const awarenessInstance = matrixProvider?.awarenessInstance ?? null;
|
|
@@ -46482,4 +46485,4 @@ export {
|
|
|
46482
46485
|
ixoGraphQLClient,
|
|
46483
46486
|
getEntity
|
|
46484
46487
|
};
|
|
46485
|
-
//# sourceMappingURL=chunk-
|
|
46488
|
+
//# sourceMappingURL=chunk-U7MABD7T.mjs.map
|