plitejs 54.0.0-beta.3 → 54.0.0-beta.4
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/annotations/index.d.ts +1 -1
- package/dist/annotations/index.js +1 -1
- package/dist/authored/index.d.ts +2 -2
- package/dist/authored/index.js +168 -46
- package/dist/{authored-veto-DSnQcHGR.js → authored-veto-D_9wCJcK.js} +1 -1
- package/dist/{comparison-plan-CEQL0ooW.js → comparison-plan-DY_vuGPq.js} +1 -1
- package/dist/{comparison-types-Dt-unJZY.d.ts → comparison-types-DdwE6mYq.d.ts} +1 -1
- package/dist/{create-editor-CkHtPWXV.js → create-editor-CLQEkEZ1.js} +2 -1
- package/dist/diff/index.d.ts +2 -2
- package/dist/diff/index.js +2 -2
- package/dist/dom/index.d.ts +1 -1
- package/dist/dom/index.js +1 -1
- package/dist/{dom-Cgfscvnm.js → dom-CH2BXXj6.js} +2 -2
- package/dist/{editor-owner-IUmkTeXz.js → editor-owner-C9rVbMTs.js} +1 -1
- package/dist/history/index.d.ts +1 -1
- package/dist/history/index.js +2 -2
- package/dist/hyperscript/index.d.ts +1 -1
- package/dist/hyperscript/index.js +1 -1
- package/dist/{hyperscript-FPuoArEi.js → hyperscript-CeT83ZLB.js} +2 -2
- package/dist/{index-DPWyk3lG.d.ts → index-BWPcE4ac.d.ts} +7 -1
- package/dist/{index-DpltOCot.d.ts → index-BXjLmx1n.d.ts} +101 -27
- package/dist/{index-K0Za9YXc.d.ts → index-DVMNewDn.d.ts} +10 -13
- package/dist/{index-BpQx2UG4.d.ts → index-Db-ktCTE.d.ts} +5 -6
- package/dist/{index-HPYawTae.d.ts → index-Dq3Jlj8O.d.ts} +1 -1
- package/dist/{index-Cw-oC2ps.d.ts → index-UrB4jAwl.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js +4 -4
- package/dist/{mapped-view-store-ld-6uxEU.js → mapped-view-store-CbWqba_1.js} +1 -1
- package/dist/{native-grouping-input-DMNcsIaW.js → native-grouping-input-DXNhlPHd.js} +1 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/react.d.ts +2 -2
- package/dist/pagination/react.js +5 -5
- package/dist/{pagination-D_A8iPJP.js → pagination-CBdYiOuR.js} +1 -1
- package/dist/{plugin-DWzkJbnJ.js → plugin-SR3HTH0j.js} +1458 -952
- package/dist/{range-geometry-BjeLHOnl.js → range-geometry-CdltxcH6.js} +2 -2
- package/dist/{range-geometry-BLAHRE11.d.ts → range-geometry-Dwp2oyCc.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +6 -6
- package/dist/react/virtualized.d.ts +2 -2
- package/dist/react/virtualized.js +1 -1
- package/dist/{react-DZ15gmz2.js → react-CN-iBh1z.js} +8 -8
- package/dist/{retraction-BMem8Rfk.js → retraction-BmPJB9cE.js} +1 -1
- package/dist/{src-cT1OTKP_.js → src-B-zm0kz4.js} +128 -3
- package/dist/{store-Cz2mXyDe.js → store-51r4zpCR.js} +24 -11
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.js +3 -3
- package/dist/{use-editor-dom-scope-BbMDSCpW.js → use-editor-dom-scope-uDJQ692F.js} +184 -168
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/dist/yjs/react/index.d.ts +3 -3
- package/dist/yjs/react/index.js +3 -3
- package/dist/{yjs-DOK-m7kl.js → yjs-IGE0Al3n.js} +5 -2
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { $d as pathKey$1, $u as createInternalRootChangeFromSections,
|
|
2
|
-
import {
|
|
1
|
+
import { $d as pathKey$1, $f as PathApi, $u as createInternalRootChangeFromSections, Ac as getExactDocumentChangeRelocation, Ad as propertyDeltaFromModifications, Al as areEditorSchemaIdentitiesEqual, Ar as isNotifyingNestedCommit, B as NodeApi, Bu as historyFollowsAllFacts, Cd as addSection, Cl as getPluginContributions, Cn as applyUnnamedDocumentChange, Df as assertEditorJsonValue, Eu as getEditorSchema, Fd as DocumentIndex, Fl as getCompiledPropertyMergeStrategy, Fs as completeChildrenAt, Gd as PreparedTokenSliceStructureError, Gf as RangeApi, Hn as getCollabEffects, If as supportsEditorValuePersistenceVersion, Kd as closeToken, Lf as textPropertiesEqual, Mc as hasIndexedPathAncestor, Mu as letterOriginsOfChange, Nc as authoredDocumentCapabilityPoint, Nd as joinsOf, Ps as settleRange, Qd as openToken, Qu as createInternalDocumentChange, Rl as hasPlaceDependentElementProperty, Rs as fitImportedBlock, Sd as RootChange, Tn as assertEditorExternalMutationAllowed, Ur as registerEditorTransactionGuard, Vl as isPlaceDependentElementProperty, Wc as withStoredAuthoredRead, Wd as PreparedTokenSlice, Wn as getCurrentSelection, Xd as isTextNode, Yd as isElementNode, Yf as MAIN_ROOT_KEY, Yr as scheduleAfterCommitNotification, Yu as DocumentChange, Zd as nodeProps, _d as valueRootIndex, _i as trackEditorLetters, al as toInternalRoot, b as queueAfterPluginAcquisition, bd as withInternalDocumentRootChange, bf as recordOpsFromJson, cd as getInternalDocumentChangeRootKeys, cf as deriveValue, cp as countCoreWork, df as getRecordIds, dp as deepFreeze$1, ed as documentChangeBetween, es as withoutRepairOrphans, fs as holdsImportedRoot, gd as valueRoot, gs as readEmptyText, hf as getValueRecords, hl as reportEditorLifecycleError, hp as getDefined, jd as semanticPropertyModifications, jf as encodeEditorEffect, kc as getDocumentChangeRelocations, kf as decodeEditorEffect, l as definePlugin, ld as getInternalDocumentRootChange, li as setRootCopyScope, ls as getCompiledEditorSchemaFromApi, md as mapInternalDocumentChangePosition, ml as notifyObservers, mu as SelectionApi, nd as filterDocumentChangeRoots, nf as tokensEqual, oo as withoutPlacement, pf as getRecordText, pl as REMOTE_UPDATE, pp as jsonEqual, pr as getSetSite, ps as holdsOneText, ql as readEditorSchemaIdentity, qn as getEditorDocumentRecords, qr as runTrustedUpdate, r as carryPluginFactoryType, sd as getInternalDocumentChangeRecords, sp as visitRootNames, tf as tokenLength$1, ud as hasInternalDocumentChangeRoot, uf as getRecordEntries, uu as failInvariant, vd as valueRootNodes, wc as getEditorCommitValue, wd as ancestorType, wl as getPluginRegistry, wu as getEditorRuntimeOwner, xl as getCompiledEditorSchema, yd as withDocumentChangeRecords, zf as createEditorEffect } from "./plugin-SR3HTH0j.js";
|
|
2
|
+
import { o as suspendMovePlacement } from "./src-B-zm0kz4.js";
|
|
3
|
+
import { r as isMissingReference, t as retractionOf } from "./retraction-BmPJB9cE.js";
|
|
3
4
|
import { t as registerEditorViewLifetimeCleanup } from "./editor-view-lifetime-GJKa_QGh.js";
|
|
4
5
|
import { DiffMatchPatch, DiffOp } from "diff-match-patch-ts";
|
|
5
6
|
import * as Y from "yjs";
|
|
@@ -13253,8 +13254,10 @@ const createBindingRuntime = (options) => {
|
|
|
13253
13254
|
setActiveYjsBinding(owner, binding);
|
|
13254
13255
|
}
|
|
13255
13256
|
const current = binding;
|
|
13257
|
+
const resumePlacement = suspendMovePlacement(owner);
|
|
13256
13258
|
current.records += 1;
|
|
13257
13259
|
context.onCleanup(() => {
|
|
13260
|
+
resumePlacement();
|
|
13258
13261
|
current.records -= 1;
|
|
13259
13262
|
if (current.records > 0) return;
|
|
13260
13263
|
current.destroy();
|