@tldraw/editor 3.7.0-canary.916221bf1c79 → 3.7.0-canary.ca54db7c3c7a

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.
@@ -22,10 +22,10 @@ __export(version_exports, {
22
22
  version: () => version
23
23
  });
24
24
  module.exports = __toCommonJS(version_exports);
25
- const version = "3.7.0-canary.916221bf1c79";
25
+ const version = "3.7.0-canary.ca54db7c3c7a";
26
26
  const publishDates = {
27
27
  major: "2024-09-13T14:36:29.063Z",
28
- minor: "2024-12-04T16:24:39.611Z",
29
- patch: "2024-12-04T16:24:39.611Z"
28
+ minor: "2024-12-05T16:54:38.452Z",
29
+ patch: "2024-12-05T16:54:38.452Z"
30
30
  };
31
31
  //# sourceMappingURL=version.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/version.ts"],
4
- "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '3.7.0-canary.916221bf1c79'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2024-12-04T16:24:39.611Z',\n\tpatch: '2024-12-04T16:24:39.611Z',\n}\n"],
4
+ "sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '3.7.0-canary.ca54db7c3c7a'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2024-12-05T16:54:38.452Z',\n\tpatch: '2024-12-05T16:54:38.452Z',\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
6
6
  "names": []
7
7
  }
@@ -284,7 +284,7 @@ function debugEnableLicensing() {
284
284
  }
285
285
  registerTldrawLibraryVersion(
286
286
  "@tldraw/editor",
287
- "3.7.0-canary.916221bf1c79",
287
+ "3.7.0-canary.ca54db7c3c7a",
288
288
  "esm"
289
289
  );
290
290
  export {
@@ -2852,7 +2852,7 @@ class Editor extends (_a = EventEmitter, _getIsShapeHiddenCache_dec = [computed]
2852
2852
  return this.store.query.records("page");
2853
2853
  }
2854
2854
  getPages() {
2855
- return this._getAllPagesQuery().get().sort(sortByIndex);
2855
+ return Array.from(this._getAllPagesQuery().get()).sort(sortByIndex);
2856
2856
  }
2857
2857
  /**
2858
2858
  * The current page.
@@ -7284,10 +7284,8 @@ function applyPartialToRecordWithProps(prev, partial) {
7284
7284
  if (k === "props" || k === "meta") {
7285
7285
  next[k] = { ...prev[k] };
7286
7286
  for (const [nextKey, nextValue] of Object.entries(v)) {
7287
- if (nextValue !== void 0) {
7288
- ;
7289
- next[k][nextKey] = nextValue;
7290
- }
7287
+ ;
7288
+ next[k][nextKey] = nextValue;
7291
7289
  }
7292
7290
  continue;
7293
7291
  }