@inkandswitch/patchwork-pkg-base 0.0.66 → 0.0.67
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/module-settings-url +1 -1
- package/package.json +1 -1
- package/packages/codemirror-markdown/example.js +1 -2
- package/packages/tldraw4/dist/{chunk-IKZWERSR.js → chunk-G3PMV62Z.js} +1 -3
- package/packages/tldraw4/dist/{chunk-7CJQMVDI.js → chunk-PMHAL5YM.js} +4 -4
- package/packages/tldraw4/dist/datatype.js +2 -2
- package/packages/tldraw4/dist/main.js +1 -1
- package/packages/tldraw4/dist/{sanitizeSvg-OOYBXUQ2.js → sanitizeSvg-NCGPTJ3E.js} +2 -2
- package/packages/tldraw4/dist/tool.js +450 -5675
- package/packages/tldraw4/dist/tool.js.map +4 -4
- package/packages/tldraw4/package.json +0 -1
- package/packages/tldraw5/dist/{chunk-GKLJTYCF.js → chunk-DO47QRII.js} +1 -3
- package/packages/tldraw5/dist/{chunk-4JN3PIR7.js → chunk-FTKY6DDS.js} +3 -3
- package/packages/tldraw5/dist/{chunk-JDHJ334K.js → chunk-SZI4VCOI.js} +4 -4
- package/packages/tldraw5/dist/datatype.js +3 -3
- package/packages/tldraw5/dist/main.js +1 -1
- package/packages/tldraw5/dist/{sanitizeSvg-3EKLLIYO.js → sanitizeSvg-J7F3MQGT.js} +2 -2
- package/packages/tldraw5/dist/{script-VW3AAU5T.js → script-4RKE5JKT.js} +3 -3
- package/packages/tldraw5/dist/script-4RKE5JKT.js.map +7 -0
- package/packages/tldraw5/dist/{tldr-archive-WERHN3T4.js → tldr-archive-5X7EMHWZ.js} +3 -3
- package/packages/tldraw5/dist/tool.js +293 -1543
- package/packages/tldraw5/dist/tool.js.map +4 -4
- package/packages/tldraw5/package.json +0 -1
- package/plugin-registry-url +1 -1
- package/packages/tldraw5/dist/script-VW3AAU5T.js.map +0 -7
- /package/packages/tldraw4/dist/{chunk-IKZWERSR.js.map → chunk-G3PMV62Z.js.map} +0 -0
- /package/packages/tldraw4/dist/{chunk-7CJQMVDI.js.map → chunk-PMHAL5YM.js.map} +0 -0
- /package/packages/tldraw4/dist/{sanitizeSvg-OOYBXUQ2.js.map → sanitizeSvg-NCGPTJ3E.js.map} +0 -0
- /package/packages/tldraw5/dist/{chunk-GKLJTYCF.js.map → chunk-DO47QRII.js.map} +0 -0
- /package/packages/tldraw5/dist/{chunk-4JN3PIR7.js.map → chunk-FTKY6DDS.js.map} +0 -0
- /package/packages/tldraw5/dist/{chunk-JDHJ334K.js.map → chunk-SZI4VCOI.js.map} +0 -0
- /package/packages/tldraw5/dist/{sanitizeSvg-3EKLLIYO.js.map → sanitizeSvg-J7F3MQGT.js.map} +0 -0
- /package/packages/tldraw5/dist/{tldr-archive-WERHN3T4.js.map → tldr-archive-5X7EMHWZ.js.map} +0 -0
package/module-settings-url
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
automerge:
|
|
1
|
+
automerge:2rRXfQ9YHLdroyLDyWw1tcsUngBN
|
package/package.json
CHANGED
|
@@ -21,8 +21,7 @@ Swap out your editor: use the "Open with..." to switch to the Raw editor. It's a
|
|
|
21
21
|
|
|
22
22
|
Don't like what you did to a document? You can use the Drafts tool in the right-hand sidebar to go back in time and make a draft at an earlier point.
|
|
23
23
|
|
|
24
|
-
Want to invite an LLM to be a guest? Try typing
|
|
25
|
-
model` in the Watercooler sidebar and you should be able to either install a local model or paste in an OpenRouter key to chat with anything they offer. Their changes will show up in the document's history, just like yours.
|
|
24
|
+
Want to invite an LLM to be a guest? Try typing \`/model\` in the Watercooler sidebar and you should be able to either install a local model or paste in an OpenRouter key to chat with anything they offer. Their changes will show up in the document's history, just like yours.
|
|
26
25
|
|
|
27
26
|
## Let's make some new tools
|
|
28
27
|
|
|
@@ -19,7 +19,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
23
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
24
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
25
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
@@ -32,7 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
31
|
export {
|
|
33
32
|
__commonJS,
|
|
34
33
|
__export,
|
|
35
|
-
__reExport,
|
|
36
34
|
__toESM
|
|
37
35
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-G3PMV62Z.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__export,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G3PMV62Z.js";
|
|
6
6
|
|
|
7
7
|
// node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.js
|
|
8
8
|
var require_lodash = __commonJS({
|
|
@@ -95631,7 +95631,7 @@ async function defaultHandleExternalUrlAsset(editor, { url }, { toasts, msg: msg
|
|
|
95631
95631
|
};
|
|
95632
95632
|
}
|
|
95633
95633
|
async function defaultHandleExternalSvgTextContent(editor, { point, text }) {
|
|
95634
|
-
const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-
|
|
95634
|
+
const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-NCGPTJ3E.js");
|
|
95635
95635
|
text = sanitizeSvg2(text);
|
|
95636
95636
|
if (!text) return;
|
|
95637
95637
|
const position = point ?? (editor.inputs.getShiftKey() ? editor.inputs.getCurrentPagePoint() : editor.getViewportPageBounds().center);
|
|
@@ -95973,7 +95973,7 @@ async function maybeSanitizeSvgFile(file) {
|
|
|
95973
95973
|
if (file.type !== "image/svg+xml") return file;
|
|
95974
95974
|
try {
|
|
95975
95975
|
const text = await file.text();
|
|
95976
|
-
const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-
|
|
95976
|
+
const { sanitizeSvg: sanitizeSvg2 } = await import("./sanitizeSvg-NCGPTJ3E.js");
|
|
95977
95977
|
const sanitized = sanitizeSvg2(text);
|
|
95978
95978
|
if (!sanitized) return null;
|
|
95979
95979
|
return new File([sanitized], file.name, { type: file.type, lastModified: file.lastModified });
|
|
@@ -138852,4 +138852,4 @@ tldraw/dist-esm/lib/shapes/shared/PathBuilder.mjs:
|
|
|
138852
138852
|
* https://github.com/adobe-webplatform/Snap.svg/blob/c8e483c9694517e24b282f8f59f985629f4994ce/dist/snap.svg.js#L5786
|
|
138853
138853
|
*)
|
|
138854
138854
|
*/
|
|
138855
|
-
//# sourceMappingURL=chunk-
|
|
138855
|
+
//# sourceMappingURL=chunk-PMHAL5YM.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
createTLStore,
|
|
3
3
|
defaultShapeUtils,
|
|
4
4
|
tldrawValueToAutomergeValue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PMHAL5YM.js";
|
|
6
6
|
import "./chunk-HLPPAGU3.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-G3PMV62Z.js";
|
|
8
8
|
|
|
9
9
|
// src/datatype.ts
|
|
10
10
|
var pageKey = "page:page";
|