@ixo/editor 5.30.0 → 5.31.1
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-OPJWGL45.mjs → chunk-2WCWAKG6.mjs} +7 -5
- package/dist/{chunk-OPJWGL45.mjs.map → chunk-2WCWAKG6.mjs.map} +1 -1
- package/dist/{chunk-FOYB7GE7.mjs → chunk-OP7EY4CE.mjs} +8 -5
- package/dist/{chunk-FOYB7GE7.mjs.map → chunk-OP7EY4CE.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";
|
|
@@ -28738,13 +28738,12 @@ var BidInboxSection = ({ deedDid, collectionId, adminAddress, isDisabled, handle
|
|
|
28738
28738
|
maxAmounts: maxAmounts.length > 0 ? maxAmounts : void 0
|
|
28739
28739
|
});
|
|
28740
28740
|
} else {
|
|
28741
|
-
const currentUser = h.getCurrentUser?.();
|
|
28742
28741
|
await h.approveServiceAgentApplication({
|
|
28743
28742
|
adminAddress,
|
|
28744
28743
|
collectionId,
|
|
28745
28744
|
agentQuota: quotaNum,
|
|
28746
28745
|
deedDid,
|
|
28747
|
-
currentUserAddress:
|
|
28746
|
+
currentUserAddress: selectedBid.address
|
|
28748
28747
|
});
|
|
28749
28748
|
}
|
|
28750
28749
|
} else {
|
|
@@ -43847,10 +43846,13 @@ function useCreateCollaborativeIxoEditor(options) {
|
|
|
43847
43846
|
root.set("createdAt", (/* @__PURE__ */ new Date()).toISOString());
|
|
43848
43847
|
root.set("createdBy", memoizedUser.id || "anonymous");
|
|
43849
43848
|
root.set("flowOwnerDid", memoizedUser.did || "");
|
|
43849
|
+
if (options.sourceTemplateId && !root.get("source_template_id")) {
|
|
43850
|
+
root.set("source_template_id", options.sourceTemplateId);
|
|
43851
|
+
}
|
|
43850
43852
|
if (titleText.length === 0 && options.title) {
|
|
43851
43853
|
titleText.insert(0, options.title);
|
|
43852
43854
|
}
|
|
43853
|
-
}, [connectionStatus, root, titleText, permissions.write, options.docId, options.title, memoizedUser.id]);
|
|
43855
|
+
}, [connectionStatus, root, titleText, permissions.write, options.docId, options.title, options.sourceTemplateId, memoizedUser.id]);
|
|
43854
43856
|
const [connectedUsers, setConnectedUsers] = useState194([]);
|
|
43855
43857
|
const activeBlockIdRef = useRef46(null);
|
|
43856
43858
|
const awarenessInstance = matrixProvider?.awarenessInstance ?? null;
|
|
@@ -46482,4 +46484,4 @@ export {
|
|
|
46482
46484
|
ixoGraphQLClient,
|
|
46483
46485
|
getEntity
|
|
46484
46486
|
};
|
|
46485
|
-
//# sourceMappingURL=chunk-
|
|
46487
|
+
//# sourceMappingURL=chunk-2WCWAKG6.mjs.map
|