@embedpdf/plugin-selection 3.0.0-next.1 → 3.0.0-next.11
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/contract/host.cjs +3 -0
- package/dist/contract/host.d.cts +2 -0
- package/dist/contract/host.d.ts +2 -0
- package/dist/contract/host.js +2 -0
- package/dist/contract.cjs +7 -0
- package/dist/contract.cjs.map +1 -0
- package/dist/contract.d.cts +7 -0
- package/dist/contract.d.ts +7 -0
- package/dist/contract.js +7 -0
- package/dist/contract.js.map +1 -0
- package/dist/index.cjs +119 -547
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -149
- package/dist/index.d.ts +71 -149
- package/dist/index.js +116 -540
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +13 -0
- package/dist/internal.d.cts +63 -0
- package/dist/internal.d.ts +63 -0
- package/dist/internal.js +4 -0
- package/dist/reducer-BAOQ2CJ8.cjs +732 -0
- package/dist/reducer-BAOQ2CJ8.cjs.map +1 -0
- package/dist/reducer-DbKtk9Xl.js +685 -0
- package/dist/reducer-DbKtk9Xl.js.map +1 -0
- package/dist/types-BVUcOsCh.js +14 -0
- package/dist/types-BVUcOsCh.js.map +1 -0
- package/dist/types-CUrUVl6K.d.cts +292 -0
- package/dist/types-CUrUVl6K.d.ts +292 -0
- package/dist/types-D9kEBMFj.cjs +18 -0
- package/dist/types-D9kEBMFj.cjs.map +1 -0
- package/package.json +17 -5
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SelectionHostCapability, d as SelectionToken, n as SelectionAction, s as SelectionRange, t as GlyphPointer, u as SelectionState } from "../types-CUrUVl6K.cjs";
|
|
2
|
+
export { type GlyphPointer, type SelectionAction, type SelectionHostCapability, type SelectionRange, type SelectionState, SelectionToken };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SelectionHostCapability, d as SelectionToken, n as SelectionAction, s as SelectionRange, t as GlyphPointer, u as SelectionState } from "../types-CUrUVl6K.js";
|
|
2
|
+
export { type GlyphPointer, type SelectionAction, type SelectionHostCapability, type SelectionRange, type SelectionState, SelectionToken };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/contract.ts
|
|
3
|
+
const SelectionToken = require("./types-D9kEBMFj.cjs").SelectionToken;
|
|
4
|
+
//#endregion
|
|
5
|
+
exports.SelectionToken = SelectionToken;
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=contract.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.cjs","names":["SelectionHostToken"],"sources":["../src/contract.ts"],"sourcesContent":["/** Public selection capability protocol without gesture/reducer/plugin wiring. */\nimport type { CapabilityToken } from '@embedpdf/core';\n\nimport { SelectionToken as SelectionHostToken } from './types';\nimport type { SelectionCapability } from './types';\n\nexport const SelectionToken = SelectionHostToken as unknown as CapabilityToken<SelectionCapability>;\nexport type {\n SelectionCapability,\n SelectionEndpoint,\n SelectionMenuAnchor,\n SelectionRangeInput,\n SelectionSnapshot,\n TextPosition,\n TextRange,\n} from './types';\nexport type { SelectionSegment } from './geometry';\n"],"mappings":";;AAMA,MAAa,+CAAiBA,CAAAA,CAAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { c as SelectionRangeInput, f as TextPosition, h as SelectionSegment, i as SelectionEndpoint, l as SelectionSnapshot, o as SelectionMenuAnchor, p as TextRange, r as SelectionCapability } from "./types-CUrUVl6K.cjs";
|
|
2
|
+
import { CapabilityToken } from "@embedpdf/core";
|
|
3
|
+
//#region src/contract.d.ts
|
|
4
|
+
declare const SelectionToken: CapabilityToken<SelectionCapability>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { type SelectionCapability, type SelectionEndpoint, type SelectionMenuAnchor, type SelectionRangeInput, type SelectionSegment, type SelectionSnapshot, SelectionToken, type TextPosition, type TextRange };
|
|
7
|
+
//# sourceMappingURL=contract.d.cts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { c as SelectionRangeInput, f as TextPosition, h as SelectionSegment, i as SelectionEndpoint, l as SelectionSnapshot, o as SelectionMenuAnchor, p as TextRange, r as SelectionCapability } from "./types-CUrUVl6K.js";
|
|
2
|
+
import { CapabilityToken } from "@embedpdf/core";
|
|
3
|
+
//#region src/contract.d.ts
|
|
4
|
+
declare const SelectionToken: CapabilityToken<SelectionCapability>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { type SelectionCapability, type SelectionEndpoint, type SelectionMenuAnchor, type SelectionRangeInput, type SelectionSegment, type SelectionSnapshot, SelectionToken, type TextPosition, type TextRange };
|
|
7
|
+
//# sourceMappingURL=contract.d.ts.map
|
package/dist/contract.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.js","names":["SelectionHostToken"],"sources":["../src/contract.ts"],"sourcesContent":["/** Public selection capability protocol without gesture/reducer/plugin wiring. */\nimport type { CapabilityToken } from '@embedpdf/core';\n\nimport { SelectionToken as SelectionHostToken } from './types';\nimport type { SelectionCapability } from './types';\n\nexport const SelectionToken = SelectionHostToken as unknown as CapabilityToken<SelectionCapability>;\nexport type {\n SelectionCapability,\n SelectionEndpoint,\n SelectionMenuAnchor,\n SelectionRangeInput,\n SelectionSnapshot,\n TextPosition,\n TextRange,\n} from './types';\nexport type { SelectionSegment } from './geometry';\n"],"mappings":";;AAMA,MAAa,iBAAiBA"}
|