@embedpdf/engine-core 3.0.0-next.13 → 3.0.0-next.15
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/AnnotationList-CkijRHet.d.cts +27163 -0
- package/dist/AnnotationList-CkijRHet.d.ts +27163 -0
- package/dist/Change-CKoxfTNY.js +889 -0
- package/dist/Change-CKoxfTNY.js.map +1 -0
- package/dist/Change-CjImsrN0.cjs +1020 -0
- package/dist/Change-CjImsrN0.cjs.map +1 -0
- package/dist/DocumentRenderService-BfFdFSwI.cjs +120 -0
- package/dist/DocumentRenderService-BfFdFSwI.cjs.map +1 -0
- package/dist/DocumentRenderService-DV3J9lMz.js +85 -0
- package/dist/DocumentRenderService-DV3J9lMz.js.map +1 -0
- package/dist/{DocumentSecurityService-_JRjqvoI.d.ts → DocumentSecurityService-CU1M6Q7m.d.ts} +100 -112
- package/dist/{DocumentSecurityService-ClTZc0zO.d.cts → DocumentSecurityService-e6vp2de8.d.cts} +100 -112
- package/dist/LocalDocumentHandle-D02FMm-Z.cjs +53 -0
- package/dist/LocalDocumentHandle-D02FMm-Z.cjs.map +1 -0
- package/dist/LocalDocumentHandle-DAPdaOt_.js +30 -0
- package/dist/LocalDocumentHandle-DAPdaOt_.js.map +1 -0
- package/dist/LocalEngine-DFoBm4B3.d.cts +1565 -0
- package/dist/LocalEngine-DPriFujS.d.ts +1565 -0
- package/dist/PageInsertBlankInput-CXHAM7l6.cjs +17 -0
- package/dist/PageInsertBlankInput-CXHAM7l6.cjs.map +1 -0
- package/dist/PageInsertBlankInput-DhVYVJ_S.js +12 -0
- package/dist/PageInsertBlankInput-DhVYVJ_S.js.map +1 -0
- package/dist/authority-B3BklsB4.js +2239 -0
- package/dist/authority-B3BklsB4.js.map +1 -0
- package/dist/authority-DLMNR7ff.cjs +2676 -0
- package/dist/authority-DLMNR7ff.cjs.map +1 -0
- package/dist/builders-CNj0POeY.js +161 -0
- package/dist/builders-CNj0POeY.js.map +1 -0
- package/dist/builders-Cgdp_YCn.cjs +184 -0
- package/dist/builders-Cgdp_YCn.cjs.map +1 -0
- package/dist/calibrate-7T3fnP8-.js +2404 -0
- package/dist/calibrate-7T3fnP8-.js.map +1 -0
- package/dist/calibrate-DJBXnhLE.cjs +2919 -0
- package/dist/calibrate-DJBXnhLE.cjs.map +1 -0
- package/dist/charmap-Cprti1ta.js +239 -0
- package/dist/charmap-Cprti1ta.js.map +1 -0
- package/dist/charmap-aYlefQP9.cjs +304 -0
- package/dist/charmap-aYlefQP9.cjs.map +1 -0
- package/dist/conformance.cjs +16753 -5247
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +928 -165
- package/dist/conformance.d.ts +928 -165
- package/dist/conformance.js +16731 -5268
- package/dist/conformance.js.map +1 -1
- package/dist/format-Bp3QFSH1.cjs +574 -0
- package/dist/format-Bp3QFSH1.cjs.map +1 -0
- package/dist/format-Dgg428Kb.js +461 -0
- package/dist/format-Dgg428Kb.js.map +1 -0
- package/dist/index.cjs +330 -103
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +14 -5
- package/dist/pageRefs-B3ur7Ckm.cjs +51 -0
- package/dist/pageRefs-B3ur7Ckm.cjs.map +1 -0
- package/dist/pageRefs-DkbuxSCV.js +40 -0
- package/dist/pageRefs-DkbuxSCV.js.map +1 -0
- package/dist/public.cjs +57 -0
- package/dist/public.d.cts +5 -0
- package/dist/public.d.ts +5 -0
- package/dist/public.js +9 -0
- package/dist/resolveAnnotationDraft-7Ke4nV7F.cjs +3646 -0
- package/dist/resolveAnnotationDraft-7Ke4nV7F.cjs.map +1 -0
- package/dist/resolveAnnotationDraft-CUpf0SMh.js +3167 -0
- package/dist/resolveAnnotationDraft-CUpf0SMh.js.map +1 -0
- package/dist/{resolver-inAVzsWt.js → resolver-CzxmD9Ck.js} +294 -144
- package/dist/resolver-CzxmD9Ck.js.map +1 -0
- package/dist/{resolver-CYVNV4hn.cjs → resolver-D2OCtE8F.cjs} +347 -143
- package/dist/resolver-D2OCtE8F.cjs.map +1 -0
- package/dist/runtime-Cl0v56mm.d.ts +2032 -0
- package/dist/runtime-p1WDzDo4.d.cts +2032 -0
- package/dist/runtime.cjs +733 -284
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +5 -1348
- package/dist/runtime.d.ts +5 -1348
- package/dist/runtime.js +396 -179
- package/dist/runtime.js.map +1 -1
- package/dist/schema-C-gU4vj7.cjs +3034 -0
- package/dist/schema-C-gU4vj7.cjs.map +1 -0
- package/dist/schema-DzlUNk38.js +2081 -0
- package/dist/schema-DzlUNk38.js.map +1 -0
- package/dist/schemas-Berf1swF.cjs +2481 -0
- package/dist/schemas-Berf1swF.cjs.map +1 -0
- package/dist/schemas-D6xOGjqg.js +1654 -0
- package/dist/schemas-D6xOGjqg.js.map +1 -0
- package/dist/subtype-CG4WpIRj.js +129 -0
- package/dist/subtype-CG4WpIRj.js.map +1 -0
- package/dist/subtype-aDt5TFmK.cjs +158 -0
- package/dist/subtype-aDt5TFmK.cjs.map +1 -0
- package/dist/validation.cjs +578 -0
- package/dist/validation.cjs.map +1 -0
- package/dist/validation.d.cts +174 -0
- package/dist/validation.d.ts +174 -0
- package/dist/validation.js +571 -0
- package/dist/validation.js.map +1 -0
- package/dist/value-BFS1R8ek.cjs +435 -0
- package/dist/value-BFS1R8ek.cjs.map +1 -0
- package/dist/value-Dhc8eYcx.js +340 -0
- package/dist/value-Dhc8eYcx.js.map +1 -0
- package/dist/viewport-BJW13EGZ.js +540 -0
- package/dist/viewport-BJW13EGZ.js.map +1 -0
- package/dist/viewport-DlL5Bxbg.cjs +671 -0
- package/dist/viewport-DlL5Bxbg.cjs.map +1 -0
- package/dist/wire.cjs +1056 -379
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +15069 -725
- package/dist/wire.d.ts +15069 -725
- package/dist/wire.js +825 -239
- package/dist/wire.js.map +1 -1
- package/package.json +10 -1
- package/dist/AbortError-Cq2igpZ6.cjs +0 -38
- package/dist/AbortError-Cq2igpZ6.cjs.map +0 -1
- package/dist/AbortError-DHqPBnYc.js +0 -27
- package/dist/AbortError-DHqPBnYc.js.map +0 -1
- package/dist/AnnotationListSnapshot-D3mFut1e.d.cts +0 -6871
- package/dist/AnnotationListSnapshot-D3mFut1e.d.ts +0 -6871
- package/dist/Engine-Bx0NOfmd.d.cts +0 -1264
- package/dist/Engine-DxtpCYcP.d.ts +0 -1264
- package/dist/PageInsertBlankInput-CqXBmFhN.cjs +0 -449
- package/dist/PageInsertBlankInput-CqXBmFhN.cjs.map +0 -1
- package/dist/PageInsertBlankInput-cHq9-i-z.js +0 -378
- package/dist/PageInsertBlankInput-cHq9-i-z.js.map +0 -1
- package/dist/builders-Bqm8yTpi.cjs +0 -3564
- package/dist/builders-Bqm8yTpi.cjs.map +0 -1
- package/dist/builders-Dqo2X-dt.js +0 -3121
- package/dist/builders-Dqo2X-dt.js.map +0 -1
- package/dist/fold-2V29cxCV.cjs +0 -447
- package/dist/fold-2V29cxCV.cjs.map +0 -1
- package/dist/fold-CdEJTBTn.js +0 -334
- package/dist/fold-CdEJTBTn.js.map +0 -1
- package/dist/resolver-CYVNV4hn.cjs.map +0 -1
- package/dist/resolver-inAVzsWt.js.map +0 -1
- package/dist/schemas-BLARNCgx.js +0 -3113
- package/dist/schemas-BLARNCgx.js.map +0 -1
- package/dist/schemas-DIqFMmrC.cjs +0 -4468
- package/dist/schemas-DIqFMmrC.cjs.map +0 -1
package/dist/runtime.cjs
CHANGED
|
@@ -1,129 +1,319 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
const require_value = require("./value-BFS1R8ek.cjs");
|
|
3
|
+
const require_resolveAnnotationDraft = require("./resolveAnnotationDraft-7Ke4nV7F.cjs");
|
|
4
|
+
const require_format = require("./format-Bp3QFSH1.cjs");
|
|
5
|
+
const require_calibrate = require("./calibrate-DJBXnhLE.cjs");
|
|
6
|
+
const require_authority = require("./authority-DLMNR7ff.cjs");
|
|
7
|
+
const require_resolver = require("./resolver-D2OCtE8F.cjs");
|
|
8
|
+
const require_viewport = require("./viewport-DlL5Bxbg.cjs");
|
|
9
|
+
const require_charmap = require("./charmap-aYlefQP9.cjs");
|
|
10
|
+
const require_subtype = require("./subtype-aDt5TFmK.cjs");
|
|
11
|
+
const require_pageRefs = require("./pageRefs-B3ur7Ckm.cjs");
|
|
12
|
+
const require_Change = require("./Change-CjImsrN0.cjs");
|
|
13
|
+
const require_PageInsertBlankInput = require("./PageInsertBlankInput-CXHAM7l6.cjs");
|
|
14
|
+
const require_builders = require("./builders-Cgdp_YCn.cjs");
|
|
15
|
+
const require_LocalDocumentHandle = require("./LocalDocumentHandle-D02FMm-Z.cjs");
|
|
16
|
+
const require_DocumentRenderService = require("./DocumentRenderService-BfFdFSwI.cjs");
|
|
17
|
+
//#region src/events/DocumentEventStream.ts
|
|
10
18
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
* `on(type, listener)` built on a stream's `subscribe`, so both engines
|
|
20
|
+
* filter the same way and a type listener counts as a subscriber (the cloud
|
|
21
|
+
* opens its live stream for the first one).
|
|
22
|
+
*/
|
|
23
|
+
function subscribeToType(subscribe, type, listener) {
|
|
24
|
+
return subscribe((event) => {
|
|
25
|
+
if (event.type === type) listener(event);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/events/EventHub.ts
|
|
30
|
+
/**
|
|
31
|
+
* The in-process implementation of `DocumentEventStream`, shared by both
|
|
32
|
+
* engine shells (one hub per open `DocumentHandle`). The engine that
|
|
33
|
+
* performs a mutation publishes here at confirmation time; the cloud
|
|
34
|
+
* engine's remote channel will also publish here for other sessions'
|
|
35
|
+
* mutations — listeners never learn which transport delivered an event.
|
|
16
36
|
*
|
|
17
|
-
*
|
|
18
|
-
* -
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* cooperatively (release a queue slot, abort fetch, post a worker
|
|
25
|
-
* abort, etc.). Anything the executor does after that — including
|
|
26
|
-
* a late resolve(value), a late reject(error), or a rejected inner
|
|
27
|
-
* Promise inside AbortablePromise.run — is dropped silently.
|
|
28
|
-
* - abort() after settlement is a no-op.
|
|
37
|
+
* Delivery contract:
|
|
38
|
+
* - synchronous fan-out in subscription order;
|
|
39
|
+
* - error isolation: a throwing listener is re-thrown on a microtask
|
|
40
|
+
* (so it surfaces to the host's unhandled-error reporting) without
|
|
41
|
+
* blocking other listeners or failing the mutation path;
|
|
42
|
+
* - `lastServerId` tracks the highest remote cursor seen, for the
|
|
43
|
+
* remote channel's reconnect/backfill.
|
|
29
44
|
*/
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
constructor(executor) {
|
|
35
|
-
const ctrl = new AbortController();
|
|
36
|
-
const progressCbs = /* @__PURE__ */ new Set();
|
|
37
|
-
const state = { settled: false };
|
|
38
|
-
let capturedReject;
|
|
39
|
-
super((resolve, reject) => {
|
|
40
|
-
capturedReject = reject;
|
|
41
|
-
const wrappedResolve = (value) => {
|
|
42
|
-
if (state.settled) return;
|
|
43
|
-
state.settled = true;
|
|
44
|
-
resolve(value);
|
|
45
|
-
};
|
|
46
|
-
const wrappedReject = (reason) => {
|
|
47
|
-
if (state.settled) return;
|
|
48
|
-
state.settled = true;
|
|
49
|
-
reject(reason);
|
|
50
|
-
};
|
|
51
|
-
const progress = (p) => {
|
|
52
|
-
if (state.settled) return;
|
|
53
|
-
for (const cb of progressCbs) try {
|
|
54
|
-
cb(p);
|
|
55
|
-
} catch {}
|
|
56
|
-
};
|
|
57
|
-
executor(wrappedResolve, wrappedReject, progress, ctrl.signal);
|
|
45
|
+
var EventHub = class {
|
|
46
|
+
constructor(onListenerError = (err) => {
|
|
47
|
+
queueMicrotask(() => {
|
|
48
|
+
throw err;
|
|
58
49
|
});
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
require_fold._defineProperty(this, "_internalReject", void 0);
|
|
64
|
-
this._ctrl = ctrl;
|
|
65
|
-
this.signal = ctrl.signal;
|
|
66
|
-
this._progressCbs = progressCbs;
|
|
67
|
-
this._state = state;
|
|
68
|
-
this._internalReject = capturedReject;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Abort the underlying operation.
|
|
72
|
-
*
|
|
73
|
-
* - If the promise has already settled, this is a no-op.
|
|
74
|
-
* - Otherwise the public promise rejects synchronously with an
|
|
75
|
-
* AbortError (wrapping the supplied reason if it is not already an
|
|
76
|
-
* AbortError) and the AbortSignal fires for any cooperative
|
|
77
|
-
* cancellation the executor wired up.
|
|
78
|
-
*/
|
|
79
|
-
abort(reason) {
|
|
80
|
-
if (this._state.settled) return;
|
|
81
|
-
if (this._ctrl.signal.aborted) return;
|
|
82
|
-
const err = reason instanceof require_AbortError.AbortError ? reason : new require_AbortError.AbortError(reason);
|
|
83
|
-
this._state.settled = true;
|
|
84
|
-
this._ctrl.abort(err);
|
|
85
|
-
this._internalReject(err);
|
|
50
|
+
}) {
|
|
51
|
+
this.onListenerError = onListenerError;
|
|
52
|
+
require_format._defineProperty(this, "listeners", /* @__PURE__ */ new Set());
|
|
53
|
+
require_format._defineProperty(this, "serverId", null);
|
|
86
54
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*/
|
|
90
|
-
onProgress(cb) {
|
|
91
|
-
this._progressCbs.add(cb);
|
|
55
|
+
subscribe(listener) {
|
|
56
|
+
this.listeners.add(listener);
|
|
92
57
|
return () => {
|
|
93
|
-
this.
|
|
58
|
+
this.listeners.delete(listener);
|
|
94
59
|
};
|
|
95
60
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
61
|
+
on(type, listener) {
|
|
62
|
+
return subscribeToType((all) => this.subscribe(all), type, listener);
|
|
63
|
+
}
|
|
64
|
+
publish(event) {
|
|
65
|
+
if ("origin" in event) {
|
|
66
|
+
const { serverId } = event.origin;
|
|
67
|
+
if (serverId !== null) this.serverId = this.serverId === null ? serverId : Math.max(this.serverId, serverId);
|
|
68
|
+
}
|
|
69
|
+
for (const listener of [...this.listeners]) try {
|
|
70
|
+
listener(event);
|
|
71
|
+
} catch (err) {
|
|
72
|
+
this.onListenerError(err);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
lastServerId() {
|
|
76
|
+
return this.serverId;
|
|
77
|
+
}
|
|
78
|
+
/** Drop every listener (handle close). Idempotent. */
|
|
79
|
+
clear() {
|
|
80
|
+
this.listeners.clear();
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Stamps provenance onto events a mutation path produces. One per open
|
|
85
|
+
* handle: the engine shell constructs it with the instance's `sessionId`
|
|
86
|
+
* (and, on cloud, the authenticated `sub` when known) and hands it to the
|
|
87
|
+
* mutation services — they publish results, never build origins.
|
|
88
|
+
*/
|
|
89
|
+
var SessionEventPublisher = class {
|
|
90
|
+
constructor(hub, sessionId, sub = null) {
|
|
91
|
+
this.hub = hub;
|
|
92
|
+
this.sessionId = sessionId;
|
|
93
|
+
this.sub = sub;
|
|
101
94
|
}
|
|
102
95
|
/**
|
|
103
|
-
*
|
|
96
|
+
* Publish what one write of this session just committed: one
|
|
97
|
+
* event per fact, in order, all carrying the write's `opId` as
|
|
98
|
+
* `origin.tx`.
|
|
104
99
|
*/
|
|
105
|
-
|
|
106
|
-
|
|
100
|
+
publishWrite(opId, ...events) {
|
|
101
|
+
this.publishChange(opId, events);
|
|
107
102
|
}
|
|
108
103
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* cooperate with the abort.
|
|
112
|
-
*
|
|
113
|
-
* If abort() fires while the inner async function is still running, the
|
|
114
|
-
* public promise rejects with AbortError immediately. The inner async
|
|
115
|
-
* function's eventual settlement (resolve or reject) is funneled through
|
|
116
|
-
* the wrapped settlers and silently dropped — including a late rejection
|
|
117
|
-
* from the underlying work, which prevents an UnhandledRejection because
|
|
118
|
-
* the .then(resolve, reject) below "handles" it via the no-op.
|
|
104
|
+
* Publish what one change committed: its events as {@link publishWrite}
|
|
105
|
+
* does, and for an undo, the `opId` of the change it undid.
|
|
119
106
|
*/
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
107
|
+
publishChange(opId, events, undoOf) {
|
|
108
|
+
const ts = Date.now();
|
|
109
|
+
events.forEach((event, index) => {
|
|
110
|
+
this.hub.publish({
|
|
111
|
+
...event,
|
|
112
|
+
origin: {
|
|
113
|
+
kind: "local",
|
|
114
|
+
sessionId: this.sessionId,
|
|
115
|
+
sub: this.sub,
|
|
116
|
+
ts,
|
|
117
|
+
serverId: null,
|
|
118
|
+
tx: {
|
|
119
|
+
id: opId,
|
|
120
|
+
index,
|
|
121
|
+
count: events.length
|
|
122
|
+
},
|
|
123
|
+
...undoOf !== void 0 ? { undoOf } : {}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
123
126
|
});
|
|
124
127
|
}
|
|
125
128
|
};
|
|
126
129
|
//#endregion
|
|
130
|
+
//#region src/events/changeEvents.ts
|
|
131
|
+
/**
|
|
132
|
+
* The events a change publishes: each op's events as its single verb
|
|
133
|
+
* publishes them, in op order. An op an undo left alone entirely publishes
|
|
134
|
+
* nothing. The publisher stamps them all with the change's `opId`.
|
|
135
|
+
*/
|
|
136
|
+
function changeEvents(result) {
|
|
137
|
+
return result.items.flatMap(itemEvents);
|
|
138
|
+
}
|
|
139
|
+
function itemEvents(item) {
|
|
140
|
+
if (require_Change.isSkippedItem(item)) return [];
|
|
141
|
+
switch (item.type) {
|
|
142
|
+
case "annotations.create": {
|
|
143
|
+
const { type: _type, ...result } = item;
|
|
144
|
+
return [{
|
|
145
|
+
type: "annotations.created",
|
|
146
|
+
...result
|
|
147
|
+
}];
|
|
148
|
+
}
|
|
149
|
+
case "annotations.update": {
|
|
150
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
151
|
+
return [{
|
|
152
|
+
type: "annotations.updated",
|
|
153
|
+
...result
|
|
154
|
+
}];
|
|
155
|
+
}
|
|
156
|
+
case "annotations.delete": {
|
|
157
|
+
const { type: _type, ...result } = item;
|
|
158
|
+
return [{
|
|
159
|
+
type: "annotations.deleted",
|
|
160
|
+
deleted: require_authority.deletedAnnotationsOf(result),
|
|
161
|
+
...result
|
|
162
|
+
}];
|
|
163
|
+
}
|
|
164
|
+
case "annotations.reorder": {
|
|
165
|
+
const { type: _type, ...result } = item;
|
|
166
|
+
return [{
|
|
167
|
+
type: "annotations.reordered",
|
|
168
|
+
...result
|
|
169
|
+
}];
|
|
170
|
+
}
|
|
171
|
+
case "annotations.restore": {
|
|
172
|
+
const { type: _type, ...result } = item;
|
|
173
|
+
return [{
|
|
174
|
+
type: "annotations.restored",
|
|
175
|
+
...result
|
|
176
|
+
}];
|
|
177
|
+
}
|
|
178
|
+
case "annotations.import": {
|
|
179
|
+
const { type: _type, ...result } = item;
|
|
180
|
+
return require_authority.annotationImportFacts(result).map((fact) => ({
|
|
181
|
+
type: "annotations.created",
|
|
182
|
+
...fact
|
|
183
|
+
}));
|
|
184
|
+
}
|
|
185
|
+
case "forms.import": {
|
|
186
|
+
const { type: _type, ...result } = item;
|
|
187
|
+
return require_value.formImportFacts(result).map((fact) => ({
|
|
188
|
+
type: "forms.created",
|
|
189
|
+
...fact
|
|
190
|
+
}));
|
|
191
|
+
}
|
|
192
|
+
case "forms.importValues": {
|
|
193
|
+
const { type: _type, ...result } = item;
|
|
194
|
+
return require_value.formValuesImportFacts(result).map((fact) => ({
|
|
195
|
+
type: "forms.valueSet",
|
|
196
|
+
...fact
|
|
197
|
+
}));
|
|
198
|
+
}
|
|
199
|
+
case "forms.setValue": {
|
|
200
|
+
const { type: _type, ...result } = item;
|
|
201
|
+
return [{
|
|
202
|
+
type: "forms.valueSet",
|
|
203
|
+
...result
|
|
204
|
+
}];
|
|
205
|
+
}
|
|
206
|
+
case "forms.reset": {
|
|
207
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
208
|
+
return require_value.formResetFacts(result).map((fact) => ({
|
|
209
|
+
type: "forms.valueSet",
|
|
210
|
+
...fact
|
|
211
|
+
}));
|
|
212
|
+
}
|
|
213
|
+
case "forms.setDisplay":
|
|
214
|
+
case "forms.setAppearanceText":
|
|
215
|
+
case "forms.setSignatureAppearance": {
|
|
216
|
+
const { type: _type, ...result } = item;
|
|
217
|
+
return [{
|
|
218
|
+
type: "forms.updated",
|
|
219
|
+
...result
|
|
220
|
+
}];
|
|
221
|
+
}
|
|
222
|
+
case "forms.update": {
|
|
223
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
224
|
+
return [{
|
|
225
|
+
type: "forms.updated",
|
|
226
|
+
...result
|
|
227
|
+
}];
|
|
228
|
+
}
|
|
229
|
+
case "forms.create": {
|
|
230
|
+
const { type: _type, ...result } = item;
|
|
231
|
+
return [{
|
|
232
|
+
type: "forms.created",
|
|
233
|
+
...result
|
|
234
|
+
}];
|
|
235
|
+
}
|
|
236
|
+
case "forms.delete": {
|
|
237
|
+
const { type: _type, ...result } = item;
|
|
238
|
+
return [{
|
|
239
|
+
type: "forms.deleted",
|
|
240
|
+
deleted: require_value.deletedFieldOf(result),
|
|
241
|
+
...result
|
|
242
|
+
}];
|
|
243
|
+
}
|
|
244
|
+
case "forms.restore": {
|
|
245
|
+
const { type: _type, ...result } = item;
|
|
246
|
+
return [{
|
|
247
|
+
type: "forms.restored",
|
|
248
|
+
...result
|
|
249
|
+
}];
|
|
250
|
+
}
|
|
251
|
+
case "forms.addWidget": {
|
|
252
|
+
const { type: _type, ...result } = item;
|
|
253
|
+
return [{
|
|
254
|
+
type: "forms.widgetAdded",
|
|
255
|
+
...result
|
|
256
|
+
}];
|
|
257
|
+
}
|
|
258
|
+
case "forms.removeWidget": {
|
|
259
|
+
const { type: _type, ...result } = item;
|
|
260
|
+
return [{
|
|
261
|
+
type: "forms.widgetRemoved",
|
|
262
|
+
...result
|
|
263
|
+
}];
|
|
264
|
+
}
|
|
265
|
+
case "forms.deleteWidget": {
|
|
266
|
+
const { type: _type, ...result } = item;
|
|
267
|
+
return [{
|
|
268
|
+
type: "forms.widgetDeleted",
|
|
269
|
+
...result
|
|
270
|
+
}];
|
|
271
|
+
}
|
|
272
|
+
case "forms.restoreWidget": {
|
|
273
|
+
const { type: _type, ...result } = item;
|
|
274
|
+
return [{
|
|
275
|
+
type: "forms.widgetRestored",
|
|
276
|
+
...result
|
|
277
|
+
}];
|
|
278
|
+
}
|
|
279
|
+
case "forms.reorderWidgets": {
|
|
280
|
+
const { type: _type, ...result } = item;
|
|
281
|
+
return [{
|
|
282
|
+
type: "forms.widgetsReordered",
|
|
283
|
+
...result
|
|
284
|
+
}];
|
|
285
|
+
}
|
|
286
|
+
case "forms.reorderCalculations": {
|
|
287
|
+
const { type: _type, ...result } = item;
|
|
288
|
+
return [{
|
|
289
|
+
type: "forms.calculationsReordered",
|
|
290
|
+
...result
|
|
291
|
+
}];
|
|
292
|
+
}
|
|
293
|
+
case "forms.updateWidget": {
|
|
294
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
295
|
+
return [{
|
|
296
|
+
type: "forms.widgetUpdated",
|
|
297
|
+
...result
|
|
298
|
+
}];
|
|
299
|
+
}
|
|
300
|
+
case "metadata.update": {
|
|
301
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
302
|
+
return [{
|
|
303
|
+
type: "metadata.updated",
|
|
304
|
+
...result
|
|
305
|
+
}];
|
|
306
|
+
}
|
|
307
|
+
case "metadata.updateCustom": {
|
|
308
|
+
const { type: _type, skipped: _skipped, ...result } = item;
|
|
309
|
+
return [{
|
|
310
|
+
type: "metadata.customUpdated",
|
|
311
|
+
...result
|
|
312
|
+
}];
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
//#endregion
|
|
127
317
|
//#region src/engine/document-security-state.ts
|
|
128
318
|
function securityStateFromHead(head) {
|
|
129
319
|
return {
|
|
@@ -169,20 +359,20 @@ function permissionInfoWithAdvisory(info, pdfBits) {
|
|
|
169
359
|
}
|
|
170
360
|
/**
|
|
171
361
|
* Translate a {@link PdfBits} view into the capability-shaped
|
|
172
|
-
* {@link PdfPermissionAdvisory}
|
|
173
|
-
*
|
|
174
|
-
* expansion — `doc.print.high` requires bit 12 AND bit 3, etc.
|
|
362
|
+
* {@link PdfPermissionAdvisory}: what `pdf.permissions` grants on a file
|
|
363
|
+
* with these bits.
|
|
175
364
|
*/
|
|
176
365
|
function advisoryFromPdfBits(b) {
|
|
366
|
+
const granted = new Set(require_builders.materializePdfPermissions(b));
|
|
177
367
|
return {
|
|
178
|
-
canPrint:
|
|
179
|
-
canPrintHigh:
|
|
180
|
-
canCopy:
|
|
181
|
-
canAnnotate:
|
|
182
|
-
canFillForms:
|
|
183
|
-
canModifyForms:
|
|
184
|
-
canModifyPages:
|
|
185
|
-
canAssemble:
|
|
368
|
+
canPrint: granted.has("doc.print"),
|
|
369
|
+
canPrintHigh: granted.has("doc.print.high"),
|
|
370
|
+
canCopy: granted.has("doc.text.copy"),
|
|
371
|
+
canAnnotate: granted.has("doc.annotate.modify"),
|
|
372
|
+
canFillForms: granted.has("doc.forms.fill"),
|
|
373
|
+
canModifyForms: granted.has("doc.forms.modify"),
|
|
374
|
+
canModifyPages: granted.has("doc.pages.modify"),
|
|
375
|
+
canAssemble: granted.has("doc.pages.assemble")
|
|
186
376
|
};
|
|
187
377
|
}
|
|
188
378
|
function securityStateFromProbe(info, opts = {}) {
|
|
@@ -212,68 +402,95 @@ function securityStateFromProbe(info, opts = {}) {
|
|
|
212
402
|
};
|
|
213
403
|
}
|
|
214
404
|
//#endregion
|
|
215
|
-
//#region src/
|
|
216
|
-
const
|
|
405
|
+
//#region src/scheduling/place.ts
|
|
406
|
+
const PLACE_ORDER = {
|
|
407
|
+
elsewhere: 0,
|
|
408
|
+
near: 1,
|
|
409
|
+
visible: 2
|
|
410
|
+
};
|
|
411
|
+
/** More device pixels than any screen shows, so pixels never outweigh the rest of a rank. */
|
|
412
|
+
const PIXEL_SPAN = 2 ** 40;
|
|
413
|
+
const ELSEWHERE = {
|
|
414
|
+
place: "elsewhere",
|
|
415
|
+
pixels: 0
|
|
416
|
+
};
|
|
417
|
+
const ON_SCREEN = {
|
|
418
|
+
place: "visible",
|
|
419
|
+
pixels: 0
|
|
420
|
+
};
|
|
421
|
+
/** Whether `a` is the better place: on screen before near before elsewhere, then more pixels. */
|
|
422
|
+
function placedBefore(a, b) {
|
|
423
|
+
const order = PLACE_ORDER[a.place] - PLACE_ORDER[b.place];
|
|
424
|
+
return order !== 0 ? order > 0 : a.pixels > b.pixels;
|
|
425
|
+
}
|
|
217
426
|
/**
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
* - `continuous` → identity (local/cloud plugin code stays byte-identical).
|
|
223
|
-
* - `lattice` → returns a `width`-kind viewport at the smallest ladder
|
|
224
|
-
* width ≥ the requested detail (snap UP: always crisp, CSS downscales
|
|
225
|
-
* for free), capped at the largest width — detail beyond the cap is the
|
|
226
|
-
* tile pyramid's job, by design.
|
|
227
|
-
* - `scale`-kind requests convert through the page's width in PDF user
|
|
228
|
-
* units — pass `opts.pageWidth` (the caller has it from the layout);
|
|
229
|
-
* omitting it for a scale viewport under a lattice policy is a
|
|
230
|
-
* programmer error and throws `InvalidArg`.
|
|
427
|
+
* A job's place in one view: its page's role there, except that a part of a
|
|
428
|
+
* visible page that's off screen (a tile of the ring around what shows) is
|
|
429
|
+
* `near`.
|
|
231
430
|
*/
|
|
232
|
-
function
|
|
233
|
-
if (
|
|
234
|
-
if (
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
431
|
+
function placeIn(entry, job) {
|
|
432
|
+
if (!entry) return ELSEWHERE;
|
|
433
|
+
if (entry.role === "near") return {
|
|
434
|
+
place: "near",
|
|
435
|
+
pixels: 0
|
|
436
|
+
};
|
|
437
|
+
if (job.region && entry.visible && !overlaps(job.region, entry.visible)) return {
|
|
438
|
+
place: "near",
|
|
439
|
+
pixels: 0
|
|
440
|
+
};
|
|
243
441
|
return {
|
|
244
|
-
|
|
245
|
-
|
|
442
|
+
place: "visible",
|
|
443
|
+
pixels: entry.pixels
|
|
246
444
|
};
|
|
247
445
|
}
|
|
248
446
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
|
|
447
|
+
* A job's place among a document's views: in the view it serves, or, when it
|
|
448
|
+
* serves none (or one that said nothing), the best place its page has in any
|
|
449
|
+
* view. A job about the whole document serves what's shown, so it counts as
|
|
450
|
+
* on screen. While no view says anything, every job is on screen alike, and
|
|
451
|
+
* jobs run in the order they were asked.
|
|
452
|
+
*/
|
|
453
|
+
function placeFor(job, views) {
|
|
454
|
+
if (views.size === 0 || !job.page) return ON_SCREEN;
|
|
455
|
+
const objectNumber = job.page.objectNumber;
|
|
456
|
+
const served = job.view === void 0 ? void 0 : views.get(job.view);
|
|
457
|
+
if (served) return placeIn(served.get(objectNumber), job);
|
|
458
|
+
let best = ELSEWHERE;
|
|
459
|
+
for (const pages of views.values()) {
|
|
460
|
+
const placed = placeIn(pages.get(objectNumber), job);
|
|
461
|
+
if (placedBefore(placed, best)) best = placed;
|
|
462
|
+
}
|
|
463
|
+
return best;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* How soon a job runs among those that may run: higher first. It compares, in
|
|
467
|
+
* turn:
|
|
468
|
+
* 1. background last: a `low` call is about nothing the views show;
|
|
469
|
+
* 2. where its page is: on screen, then just off it, then elsewhere;
|
|
470
|
+
* 3. its priority: `high` (the picture of the page itself) before `auto`;
|
|
471
|
+
* 4. a whole page before a part of one: a tile is only of use once its page
|
|
472
|
+
* is there;
|
|
473
|
+
* 5. the device pixels its page shows.
|
|
474
|
+
* Equal ranks run in the order they were asked, so a caller sequences its own work.
|
|
255
475
|
*/
|
|
256
|
-
function
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
476
|
+
function rank(job, placed) {
|
|
477
|
+
let level = job.priority === "low" ? 0 : 1;
|
|
478
|
+
level = level * 3 + PLACE_ORDER[placed.place];
|
|
479
|
+
level = level * 2 + (job.priority === "high" ? 1 : 0);
|
|
480
|
+
level = level * 2 + (job.region ? 0 : 1);
|
|
481
|
+
return level * PIXEL_SPAN + Math.min(PIXEL_SPAN - 1, Math.round(placed.pixels));
|
|
261
482
|
}
|
|
262
483
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* the tiling client uses its own default pyramid then — see
|
|
268
|
-
* plugin-render). Snap UP, cap at the largest scale: per-tile cost is
|
|
269
|
-
* constant by construction (`tileSize²` pixels regardless of level), so
|
|
270
|
-
* the cap bounds artifact COUNT, not memory.
|
|
484
|
+
* Whether rank `a` beats rank `b` on more than pixels (any of the first four
|
|
485
|
+
* steps of {@link rank}). A running job gives way only to a job that clearly
|
|
486
|
+
* outranks it, so two pages on screen never stop each other's work, and jobs
|
|
487
|
+
* don't flip back and forth while the camera moves.
|
|
271
488
|
*/
|
|
272
|
-
function
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
return
|
|
489
|
+
function clearlyOutranks(a, b) {
|
|
490
|
+
return Math.floor(a / PIXEL_SPAN) > Math.floor(b / PIXEL_SPAN);
|
|
491
|
+
}
|
|
492
|
+
function overlaps(a, b) {
|
|
493
|
+
return a.x < b.x + b.width && b.x < a.x + a.width && a.y < b.y + b.height && b.y < a.y + a.height;
|
|
277
494
|
}
|
|
278
495
|
//#endregion
|
|
279
496
|
//#region src/engine/passwordPrompt.ts
|
|
@@ -281,7 +498,7 @@ function snapTileScale(policy, scale) {
|
|
|
281
498
|
* Derive the high-level password prompt from the raw security state.
|
|
282
499
|
*
|
|
283
500
|
* The function is pure and total — every `DocumentSecurityState`
|
|
284
|
-
* maps to exactly one `PasswordPrompt`. Use this as the
|
|
501
|
+
* maps to exactly one `PasswordPrompt`. Use this as the single source
|
|
285
502
|
* of truth wherever the SDK exposes a "do you need a password?" flag:
|
|
286
503
|
* both `LocalDocumentSecurityService` and `CloudDocumentSecurityService`
|
|
287
504
|
* call it, so the contract can never drift.
|
|
@@ -311,15 +528,17 @@ function snapTileScale(policy, scale) {
|
|
|
311
528
|
*
|
|
312
529
|
* 6. fallthrough → { state: 'none' } open and nothing more available
|
|
313
530
|
*/
|
|
314
|
-
function passwordPromptFromState(state) {
|
|
531
|
+
function passwordPromptFromState(state, incorrect = false) {
|
|
315
532
|
if (state.encryption.state === "none") return { state: "none" };
|
|
316
533
|
if (!state.permissions.known) return {
|
|
317
534
|
state: "required",
|
|
318
|
-
hint: null
|
|
535
|
+
hint: null,
|
|
536
|
+
incorrect
|
|
319
537
|
};
|
|
320
538
|
if (state.encryption.requiresPassword && state.permissions.openedAs === "none") return {
|
|
321
539
|
state: "required",
|
|
322
|
-
hint: "user"
|
|
540
|
+
hint: "user",
|
|
541
|
+
incorrect
|
|
323
542
|
};
|
|
324
543
|
if (state.permissions.openedAs === "owner") return { state: "none" };
|
|
325
544
|
if (state.permissions.canUpgradeToOwner) return {
|
|
@@ -341,10 +560,8 @@ const EMPTY_TRANSFER = Object.freeze([]);
|
|
|
341
560
|
*
|
|
342
561
|
* The `transfer` argument is optional; omitting it (or passing `[]`)
|
|
343
562
|
* is the explicit, type-checked way to say "I declare this message
|
|
344
|
-
* carries no transferables."
|
|
345
|
-
*
|
|
346
|
-
* the declaration is at construction time, in the producer's own
|
|
347
|
-
* code, where the knowledge actually lives.
|
|
563
|
+
* carries no transferables." The declaration is made at construction
|
|
564
|
+
* time, in the producer's own code, where the knowledge actually lives.
|
|
348
565
|
*
|
|
349
566
|
* wirePack({ kind: 'metadata.read', jobId, docId })
|
|
350
567
|
* wirePack({ kind: 'open.fatMem', jobId, docId, bytes }, [bytes])
|
|
@@ -357,145 +574,377 @@ function wirePack(payload, transfer = EMPTY_TRANSFER) {
|
|
|
357
574
|
};
|
|
358
575
|
}
|
|
359
576
|
//#endregion
|
|
360
|
-
exports.
|
|
361
|
-
exports.
|
|
362
|
-
exports.
|
|
363
|
-
exports.
|
|
364
|
-
exports.
|
|
365
|
-
exports.
|
|
577
|
+
exports.ANNOTATION_APPEARANCE_MODES = require_charmap.ANNOTATION_APPEARANCE_MODES;
|
|
578
|
+
exports.ANNOTATION_DEFAULTS = require_calibrate.ANNOTATION_DEFAULTS;
|
|
579
|
+
exports.ANNOTATION_FIELD_NAMES = require_resolveAnnotationDraft.ANNOTATION_FIELD_NAMES;
|
|
580
|
+
exports.ANNOTATION_FIELD_SPACES = require_resolveAnnotationDraft.ANNOTATION_FIELD_SPACES;
|
|
581
|
+
exports.ANNOTATION_RESOURCE_ROLES = require_resolveAnnotationDraft.ANNOTATION_RESOURCE_ROLES;
|
|
582
|
+
exports.ANNOTATION_RESOURCE_ROLE_NAMES = require_calibrate.ANNOTATION_RESOURCE_ROLE_NAMES;
|
|
583
|
+
exports.ANNOTATION_SUBTYPES = require_subtype.ANNOTATION_SUBTYPES;
|
|
584
|
+
exports.AbortError = require_calibrate.AbortError;
|
|
585
|
+
exports.AbortablePromise = require_viewport.AbortablePromise;
|
|
586
|
+
exports.AnnotationTransfer = require_calibrate.AnnotationTransfer;
|
|
587
|
+
exports.CONTINUOUS_RENDER_POLICY = require_DocumentRenderService.CONTINUOUS_RENDER_POLICY;
|
|
588
|
+
exports.DEFAULT_BUNDLE_LIMITS = require_calibrate.DEFAULT_BUNDLE_LIMITS;
|
|
589
|
+
exports.DEFAULT_EDGE_RESOLVER_BUDGET = require_authority.DEFAULT_EDGE_RESOLVER_BUDGET;
|
|
590
|
+
exports.DEFAULT_MEDIA_BOX = require_authority.DEFAULT_MEDIA_BOX;
|
|
591
|
+
exports.DEFAULT_PDF_SAVE_MODE = require_authority.DEFAULT_PDF_SAVE_MODE;
|
|
592
|
+
exports.DEFAULT_RICH_TEXT_BODY = require_resolveAnnotationDraft.DEFAULT_RICH_TEXT_BODY;
|
|
593
|
+
exports.DRAWN_RECT_KINDS = require_resolveAnnotationDraft.DRAWN_RECT_KINDS;
|
|
366
594
|
exports.EMPTY_TRANSFER = EMPTY_TRANSFER;
|
|
367
|
-
exports.EdgeResolver =
|
|
368
|
-
exports.EngineError =
|
|
369
|
-
exports.EngineErrorCode =
|
|
595
|
+
exports.EdgeResolver = require_authority.EdgeResolver;
|
|
596
|
+
exports.EngineError = require_format.EngineError;
|
|
597
|
+
exports.EngineErrorCode = require_format.EngineErrorCode;
|
|
598
|
+
exports.EventHub = EventHub;
|
|
599
|
+
exports.FormTransfer = require_viewport.FormTransfer;
|
|
370
600
|
exports.InvalidScope = require_resolver.InvalidScope;
|
|
601
|
+
exports.LOCAL_ENGINE_BRAND = require_LocalDocumentHandle.LOCAL_ENGINE_BRAND;
|
|
602
|
+
exports.METRES = require_calibrate.METRES;
|
|
371
603
|
exports.MissingIdentity = require_resolver.MissingIdentity;
|
|
372
|
-
exports.NO_ANNOTATION_FLAGS =
|
|
604
|
+
exports.NO_ANNOTATION_FLAGS = require_format.NO_ANNOTATION_FLAGS;
|
|
605
|
+
exports.OBJECT_NUMBER_CEILING = require_viewport.OBJECT_NUMBER_CEILING;
|
|
606
|
+
exports.OBJECT_NUMBER_ISSUE_LIMIT = require_viewport.OBJECT_NUMBER_ISSUE_LIMIT;
|
|
373
607
|
exports.PAGE_INSERT_BLANK_MAX_COUNT = require_PageInsertBlankInput.PAGE_INSERT_BLANK_MAX_COUNT;
|
|
374
|
-
exports.PDF_BITS =
|
|
375
|
-
exports.PDF_CODE_TO_SUBTYPE =
|
|
376
|
-
exports.PDF_SUBTYPE_TO_CODE =
|
|
377
|
-
exports.
|
|
608
|
+
exports.PDF_BITS = require_authority.PDF_BITS;
|
|
609
|
+
exports.PDF_CODE_TO_SUBTYPE = require_subtype.PDF_CODE_TO_SUBTYPE;
|
|
610
|
+
exports.PDF_SUBTYPE_TO_CODE = require_subtype.PDF_SUBTYPE_TO_CODE;
|
|
611
|
+
exports.PROTECTABLE_CAPABILITIES = require_resolver.PROTECTABLE_CAPABILITIES;
|
|
612
|
+
exports.PdfAnnotationSubtypeCode = require_subtype.PdfAnnotationSubtypeCode;
|
|
378
613
|
exports.PermissionDenied = require_resolver.PermissionDenied;
|
|
379
|
-
exports.SEARCH_FOLD_VERSION =
|
|
380
|
-
exports.SEARCH_REGEX_MAX_LENGTH =
|
|
381
|
-
exports.SEARCH_SNIPPET_CONTEXT =
|
|
614
|
+
exports.SEARCH_FOLD_VERSION = require_calibrate.SEARCH_FOLD_VERSION;
|
|
615
|
+
exports.SEARCH_REGEX_MAX_LENGTH = require_viewport.SEARCH_REGEX_MAX_LENGTH;
|
|
616
|
+
exports.SEARCH_SNIPPET_CONTEXT = require_authority.SEARCH_SNIPPET_CONTEXT;
|
|
382
617
|
exports.SIGNATURE_POLICY_VERSION = require_resolver.SIGNATURE_POLICY_VERSION;
|
|
383
|
-
exports.
|
|
384
|
-
exports.
|
|
618
|
+
exports.STANDARD_FACES = require_resolveAnnotationDraft.STANDARD_FACES;
|
|
619
|
+
exports.STANDARD_FONTS = require_format.STANDARD_FONTS;
|
|
620
|
+
exports.SessionEventPublisher = SessionEventPublisher;
|
|
621
|
+
exports.UNBAKED_KINDS = require_resolveAnnotationDraft.UNBAKED_KINDS;
|
|
622
|
+
exports.USAGE_INCOMPLETE = require_authority.USAGE_INCOMPLETE;
|
|
623
|
+
exports.WIDGET_ACTION_EVENTS = require_value.WIDGET_ACTION_EVENTS;
|
|
624
|
+
exports.WIDGET_FLAG_NAMES = require_value.WIDGET_FLAG_NAMES;
|
|
625
|
+
exports.actionWriteOf = require_value.actionWriteOf;
|
|
385
626
|
exports.advisoryFromPdfBits = advisoryFromPdfBits;
|
|
386
|
-
exports.
|
|
387
|
-
exports.
|
|
388
|
-
exports.
|
|
389
|
-
exports.
|
|
390
|
-
exports.
|
|
391
|
-
exports.
|
|
392
|
-
exports.
|
|
393
|
-
exports.
|
|
627
|
+
exports.allowsCapability = require_authority.allowsCapability;
|
|
628
|
+
exports.allowsFieldWrite = require_authority.allowsFieldWrite;
|
|
629
|
+
exports.allowsSomeFieldWrite = require_authority.allowsSomeFieldWrite;
|
|
630
|
+
exports.anchorOf = require_viewport.anchorOf;
|
|
631
|
+
exports.annotationDefaultsOf = require_calibrate.annotationDefaultsOf;
|
|
632
|
+
exports.annotationImportFacts = require_authority.annotationImportFacts;
|
|
633
|
+
exports.annotationKey = require_format.annotationKey;
|
|
634
|
+
exports.annotationOfDraft = require_calibrate.annotationOfDraft;
|
|
635
|
+
exports.annotationPatchBetween = require_authority.annotationPatchBetween;
|
|
636
|
+
exports.annotationResourceBuffers = require_calibrate.annotationResourceBuffers;
|
|
637
|
+
exports.annotationWriteCapabilities = require_authority.annotationWriteCapabilities;
|
|
638
|
+
exports.annotationWriteCapability = require_authority.annotationWriteCapability;
|
|
639
|
+
exports.appearanceChangeOf = require_resolveAnnotationDraft.appearanceChangeOf;
|
|
640
|
+
exports.appearanceImpactOf = require_resolveAnnotationDraft.appearanceImpactOf;
|
|
641
|
+
exports.appearanceLatticeScale = require_DocumentRenderService.appearanceLatticeScale;
|
|
642
|
+
exports.appearanceModesOf = require_charmap.appearanceModesOf;
|
|
643
|
+
exports.appearanceTurnOf = require_calibrate.appearanceTurnOf;
|
|
644
|
+
exports.applyAnnotationPatch = require_calibrate.applyAnnotationPatch;
|
|
645
|
+
exports.areaUnitLabel = require_calibrate.areaUnitLabel;
|
|
646
|
+
exports.assertAnnotationBundle = require_calibrate.assertAnnotationBundle;
|
|
647
|
+
exports.assertAnnotationBundleManifest = require_calibrate.assertAnnotationBundleManifest;
|
|
648
|
+
exports.assertAnnotationResources = require_calibrate.assertAnnotationResources;
|
|
649
|
+
exports.assertChoiceDefault = require_Change.assertChoiceDefault;
|
|
650
|
+
exports.assertDeclaredFields = require_resolveAnnotationDraft.assertDeclaredFields;
|
|
651
|
+
exports.assertFormBundle = require_viewport.assertFormBundle;
|
|
652
|
+
exports.assertFormBundleManifest = require_viewport.assertFormBundleManifest;
|
|
653
|
+
exports.assertPdfFloat = require_resolveAnnotationDraft.assertPdfFloat;
|
|
654
|
+
exports.assertRichTextAgreement = require_resolveAnnotationDraft.assertRichTextAgreement;
|
|
655
|
+
exports.assertWithinLimit = require_calibrate.assertWithinLimit;
|
|
656
|
+
exports.assertWritableMeasure = require_resolveAnnotationDraft.assertWritableMeasure;
|
|
657
|
+
exports.assessmentOf = require_authority.assessmentOf;
|
|
658
|
+
exports.authorizeAnnotationCreate = require_authority.authorizeAnnotationCreate;
|
|
659
|
+
exports.authorizeAnnotationDelete = require_authority.authorizeAnnotationDelete;
|
|
660
|
+
exports.authorizeAnnotationUpdate = require_authority.authorizeAnnotationUpdate;
|
|
661
|
+
exports.authorizeCapability = require_authority.authorizeCapability;
|
|
662
|
+
exports.authorizeFieldGroup = require_authority.authorizeFieldGroup;
|
|
663
|
+
exports.authorizeFieldWrite = require_authority.authorizeFieldWrite;
|
|
664
|
+
exports.authorizeUnprotected = require_authority.authorizeUnprotected;
|
|
665
|
+
exports.boundaryTextOffset = require_charmap.boundaryTextOffset;
|
|
666
|
+
exports.buildCommentThreads = require_resolveAnnotationDraft.buildCommentThreads;
|
|
667
|
+
exports.buildSnippet = require_authority.buildSnippet;
|
|
668
|
+
exports.buildThreads = require_resolveAnnotationDraft.buildThreads;
|
|
669
|
+
exports.bundleCodec = require_calibrate.bundleCodec;
|
|
670
|
+
exports.bundlePageMapping = require_resolveAnnotationDraft.bundlePageMapping;
|
|
671
|
+
exports.canonicalSearchQuery = require_authority.canonicalSearchQuery;
|
|
394
672
|
exports.caps = require_builders.caps;
|
|
395
|
-
exports.
|
|
396
|
-
exports.
|
|
397
|
-
exports.
|
|
398
|
-
exports.
|
|
399
|
-
exports.
|
|
673
|
+
exports.changeEvents = changeEvents;
|
|
674
|
+
exports.changeFingerprint = require_authority.changeFingerprint;
|
|
675
|
+
exports.changedKeys = require_authority.changedKeys;
|
|
676
|
+
exports.charBoundaryAtTextOffset = require_charmap.charBoundaryAtTextOffset;
|
|
677
|
+
exports.charMapViolation = require_charmap.charMapViolation;
|
|
678
|
+
exports.charRangeForTextOffsets = require_charmap.charRangeForTextOffsets;
|
|
400
679
|
exports.checkAnyCapability = require_resolver.checkAnyCapability;
|
|
680
|
+
exports.checkAnyFieldAction = require_resolver.checkAnyFieldAction;
|
|
401
681
|
exports.checkCapability = require_resolver.checkCapability;
|
|
402
682
|
exports.checkCollab = require_resolver.checkCollab;
|
|
683
|
+
exports.checkFieldAction = require_resolver.checkFieldAction;
|
|
684
|
+
exports.checkImageQuality = require_authority.checkImageQuality;
|
|
403
685
|
exports.checkSetGroup = require_resolver.checkSetGroup;
|
|
404
|
-
exports.classifyRelation =
|
|
686
|
+
exports.classifyRelation = require_resolveAnnotationDraft.classifyRelation;
|
|
687
|
+
exports.clearlyOutranks = clearlyOutranks;
|
|
688
|
+
exports.closeExportSelection = require_authority.closeExportSelection;
|
|
405
689
|
exports.collab = require_builders.collab;
|
|
406
|
-
exports.
|
|
407
|
-
exports.
|
|
408
|
-
exports.
|
|
409
|
-
exports.
|
|
410
|
-
exports.
|
|
411
|
-
exports.
|
|
412
|
-
exports.
|
|
690
|
+
exports.collabTargetOf = require_resolver.collabTargetOf;
|
|
691
|
+
exports.colorOf = require_resolveAnnotationDraft.colorOf;
|
|
692
|
+
exports.combine = require_authority.combine;
|
|
693
|
+
exports.compareIsoDateTime = require_resolveAnnotationDraft.compareIsoDateTime;
|
|
694
|
+
exports.concatAnnotationLists = require_authority.concatAnnotationLists;
|
|
695
|
+
exports.conclude = require_authority.conclude;
|
|
696
|
+
exports.createPageImageHandle = require_authority.createPageImageHandle;
|
|
697
|
+
exports.createPdfTextLayout = require_calibrate.createPdfTextLayout;
|
|
698
|
+
exports.createTextLayout = require_calibrate.createTextLayout;
|
|
699
|
+
exports.decodeAnnotKey = require_resolver.decodeAnnotKey;
|
|
700
|
+
exports.decodeFieldRefKey = require_format.decodeFieldRefKey;
|
|
701
|
+
exports.decodePageKey = require_format.decodePageKey;
|
|
702
|
+
exports.decodePdfBits = require_authority.decodePdfBits;
|
|
703
|
+
exports.decodeSubmitFormFlags = require_value.decodeSubmitFormFlags;
|
|
704
|
+
exports.defaultEntryOfDraft = require_Change.defaultEntryOfDraft;
|
|
705
|
+
exports.deletedAnnotationsOf = require_authority.deletedAnnotationsOf;
|
|
706
|
+
exports.deletedAttachmentOf = require_Change.deletedAttachmentOf;
|
|
707
|
+
exports.deletedFieldOf = require_value.deletedFieldOf;
|
|
708
|
+
exports.deletedWith = require_resolveAnnotationDraft.deletedWith;
|
|
709
|
+
exports.deriveMeasurementLabel = require_resolveAnnotationDraft.deriveMeasurementLabel;
|
|
413
710
|
exports.deriveProtection = require_resolver.deriveProtection;
|
|
414
|
-
exports.
|
|
415
|
-
exports.
|
|
416
|
-
exports.
|
|
417
|
-
exports.
|
|
418
|
-
exports.
|
|
711
|
+
exports.describeProtection = require_resolver.describeProtection;
|
|
712
|
+
exports.deserializeError = require_format.deserializeError;
|
|
713
|
+
exports.dictEntries = require_authority.dictEntries;
|
|
714
|
+
exports.draftWritesScripts = require_authority.draftWritesScripts;
|
|
715
|
+
exports.drawnPointsOf = require_calibrate.drawnPointsOf;
|
|
716
|
+
exports.encodeAnnotKey = require_resolver.encodeAnnotKey;
|
|
717
|
+
exports.encodeFieldRefKey = require_format.encodeFieldRefKey;
|
|
718
|
+
exports.encodePageKey = require_format.encodePageKey;
|
|
719
|
+
exports.evaluateStep = require_authority.evaluateStep;
|
|
419
720
|
exports.expandRawScope = require_resolver.expandRawScope;
|
|
420
|
-
exports.expandTextRangeToLine = require_builders.expandTextRangeToLine;
|
|
421
|
-
exports.expandTextRangeToWord = require_builders.expandTextRangeToWord;
|
|
422
721
|
exports.expandedCapabilities = require_resolver.expandedCapabilities;
|
|
722
|
+
exports.faceForFreeTextFont = require_resolveAnnotationDraft.faceForFreeTextFont;
|
|
723
|
+
exports.familyKey = require_resolveAnnotationDraft.familyKey;
|
|
724
|
+
exports.familyOfSubtype = require_authority.familyOfSubtype;
|
|
725
|
+
exports.fieldAfterReset = require_Change.fieldAfterReset;
|
|
726
|
+
exports.fieldAfterValue = require_Change.fieldAfterValue;
|
|
423
727
|
exports.fieldLockFor = require_resolver.fieldLockFor;
|
|
728
|
+
exports.fieldMatches = require_value.fieldMatches;
|
|
729
|
+
exports.fieldRightsOf = require_resolver.fieldRightsOf;
|
|
730
|
+
exports.fieldScriptOf = require_value.fieldScriptOf;
|
|
731
|
+
exports.fieldValueOf = require_value.fieldValueOf;
|
|
732
|
+
exports.fieldValueWriteOf = require_Change.fieldValueWriteOf;
|
|
424
733
|
exports.filterMatches = require_resolver.filterMatches;
|
|
425
|
-
exports.
|
|
426
|
-
exports.
|
|
427
|
-
exports.
|
|
428
|
-
exports.
|
|
429
|
-
exports.
|
|
430
|
-
exports.
|
|
431
|
-
exports.
|
|
432
|
-
exports.
|
|
433
|
-
exports.
|
|
434
|
-
exports.
|
|
734
|
+
exports.fitWidgetToFamily = require_Change.fitWidgetToFamily;
|
|
735
|
+
exports.foldOptionsFor = require_viewport.foldOptionsFor;
|
|
736
|
+
exports.foldText = require_calibrate.foldText;
|
|
737
|
+
exports.formEffectOps = require_Change.formEffectOps;
|
|
738
|
+
exports.formExportRowsOf = require_value.formExportRowsOf;
|
|
739
|
+
exports.formFieldAfter = require_Change.formFieldAfter;
|
|
740
|
+
exports.formFieldOfDraft = require_Change.formFieldOfDraft;
|
|
741
|
+
exports.formImportFacts = require_value.formImportFacts;
|
|
742
|
+
exports.formResetFacts = require_value.formResetFacts;
|
|
743
|
+
exports.formValuesImportFacts = require_value.formValuesImportFacts;
|
|
744
|
+
exports.formWidget = require_format.formWidget;
|
|
745
|
+
exports.formatMeasurement = require_format.formatMeasurement;
|
|
746
|
+
exports.formatObjectNumberRanges = require_viewport.formatObjectNumberRanges;
|
|
747
|
+
exports.freeTextFontForFace = require_resolveAnnotationDraft.freeTextFontForFace;
|
|
748
|
+
exports.generateUuid = require_authority.generateUuid;
|
|
749
|
+
exports.generateUuidV7 = require_authority.generateUuidV7;
|
|
750
|
+
exports.glyphLooseBounds = require_calibrate.glyphLooseBounds;
|
|
751
|
+
exports.glyphLooseQuad = require_calibrate.glyphLooseQuad;
|
|
752
|
+
exports.hasAnnotationResources = require_calibrate.hasAnnotationResources;
|
|
753
|
+
exports.imageSourceOfBytes = require_authority.imageSourceOfBytes;
|
|
754
|
+
exports.isAbortError = require_calibrate.isAbortError;
|
|
755
|
+
exports.isAtDefault = require_Change.isAtDefault;
|
|
756
|
+
exports.isDimension = require_resolveAnnotationDraft.isDimension;
|
|
757
|
+
exports.isFieldScript = require_value.isFieldScript;
|
|
758
|
+
exports.isKeptRefusal = require_authority.isKeptRefusal;
|
|
759
|
+
exports.isLocalDocument = require_LocalDocumentHandle.isLocalDocument;
|
|
760
|
+
exports.isLocalEngine = require_DocumentRenderService.isLocalEngine;
|
|
761
|
+
exports.isLocalPage = require_LocalDocumentHandle.isLocalPage;
|
|
762
|
+
exports.isNoOpWrite = require_Change.isNoOpWrite;
|
|
763
|
+
exports.isProtectableCapability = require_resolver.isProtectableCapability;
|
|
764
|
+
exports.isReadout = require_resolveAnnotationDraft.isReadout;
|
|
765
|
+
exports.isRotatedGeometryRun = require_calibrate.isRotatedGeometryRun;
|
|
766
|
+
exports.isSamePdfRect = require_resolveAnnotationDraft.isSamePdfRect;
|
|
767
|
+
exports.isSkippedItem = require_Change.isSkippedItem;
|
|
768
|
+
exports.isStandardFontName = require_resolveAnnotationDraft.isStandardFontName;
|
|
769
|
+
exports.isStateAnnotation = require_resolveAnnotationDraft.isStateAnnotation;
|
|
770
|
+
exports.isUndoChange = require_Change.isUndoChange;
|
|
771
|
+
exports.isValidPageObjectNumber = require_format.isValidPageObjectNumber;
|
|
772
|
+
exports.itemWrote = require_Change.itemWrote;
|
|
435
773
|
exports.levelAllows = require_resolver.levelAllows;
|
|
436
774
|
exports.levelFromPermission = require_resolver.levelFromPermission;
|
|
437
775
|
exports.lockCovers = require_resolver.lockCovers;
|
|
438
776
|
exports.lockNameCovers = require_resolver.lockNameCovers;
|
|
439
|
-
exports.
|
|
440
|
-
exports.
|
|
441
|
-
exports.
|
|
777
|
+
exports.manifestBytesOf = require_calibrate.manifestBytesOf;
|
|
778
|
+
exports.mapActionNode = require_calibrate.mapActionNode;
|
|
779
|
+
exports.mapActionTree = require_calibrate.mapActionTree;
|
|
780
|
+
exports.mapAnnotationActions = require_calibrate.mapAnnotationActions;
|
|
781
|
+
exports.mapDocumentActions = require_calibrate.mapDocumentActions;
|
|
782
|
+
exports.mapFieldActions = require_calibrate.mapFieldActions;
|
|
783
|
+
exports.mapLinkTarget = require_calibrate.mapLinkTarget;
|
|
784
|
+
exports.mapPageActions = require_calibrate.mapPageActions;
|
|
785
|
+
exports.mapPageRefs = require_pageRefs.mapPageRefs;
|
|
786
|
+
exports.matchLiteral = require_viewport.matchLiteral;
|
|
787
|
+
exports.matchPageText = require_authority.matchPageText;
|
|
788
|
+
exports.matchRegex = require_viewport.matchRegex;
|
|
442
789
|
exports.materializePdfPermissions = require_builders.materializePdfPermissions;
|
|
790
|
+
exports.measureFromKnownLength = require_calibrate.measureFromKnownLength;
|
|
791
|
+
exports.measureFromRatio = require_calibrate.measureFromRatio;
|
|
792
|
+
exports.measurementPoint = require_resolveAnnotationDraft.measurementPoint;
|
|
793
|
+
exports.measurementReadout = require_resolveAnnotationDraft.measurementReadout;
|
|
794
|
+
exports.mergeAnnotationPatch = require_authority.mergeAnnotationPatch;
|
|
443
795
|
exports.minLevel = require_resolver.minLevel;
|
|
444
|
-
exports.
|
|
445
|
-
exports.
|
|
446
|
-
exports.
|
|
447
|
-
exports.normalizePdfRect =
|
|
448
|
-
exports.
|
|
796
|
+
exports.needsScriptRight = require_value.needsScriptRight;
|
|
797
|
+
exports.normalizeAttachmentFileSource = require_authority.normalizeAttachmentFileSource;
|
|
798
|
+
exports.normalizePdfQuad = require_resolveAnnotationDraft.normalizePdfQuad;
|
|
799
|
+
exports.normalizePdfRect = require_resolveAnnotationDraft.normalizePdfRect;
|
|
800
|
+
exports.objectNumbersIn = require_viewport.objectNumbersIn;
|
|
801
|
+
exports.objectNumbersNamedBy = require_Change.objectNumbersNamedBy;
|
|
802
|
+
exports.objectNumbersReferencedBy = require_Change.objectNumbersReferencedBy;
|
|
803
|
+
exports.opIdOf = require_authority.opIdOf;
|
|
804
|
+
exports.pageAnnotationDraftOf = require_calibrate.pageAnnotationDraftOf;
|
|
805
|
+
exports.pageAnnotationOf = require_calibrate.pageAnnotationOf;
|
|
806
|
+
exports.pageAnnotationPatchOf = require_calibrate.pageAnnotationPatchOf;
|
|
807
|
+
exports.pageAppearancesOf = require_authority.pageAppearancesOf;
|
|
808
|
+
exports.pageBoxOf = require_calibrate.pageBoxOf;
|
|
809
|
+
exports.pageBoxesOf = require_authority.pageBoxesOf;
|
|
810
|
+
exports.pageDestinationOf = require_calibrate.pageDestinationOf;
|
|
811
|
+
exports.pageFieldActionsOf = require_authority.pageFieldActionsOf;
|
|
812
|
+
exports.pageFormFieldOf = require_authority.pageFormFieldOf;
|
|
813
|
+
exports.pageFormSnapshotOf = require_authority.pageFormSnapshotOf;
|
|
814
|
+
exports.pageGeometryOf = require_calibrate.pageGeometryOf;
|
|
815
|
+
exports.pageGlyphLooseBounds = require_calibrate.pageGlyphLooseBounds;
|
|
816
|
+
exports.pageGlyphLooseQuad = require_calibrate.pageGlyphLooseQuad;
|
|
817
|
+
exports.pageLayoutOf = require_authority.pageLayoutOf;
|
|
818
|
+
exports.pageListOf = require_authority.pageListOf;
|
|
819
|
+
exports.pageMeasureOf = require_calibrate.pageMeasureOf;
|
|
820
|
+
exports.pagePointOf = require_calibrate.pagePointOf;
|
|
821
|
+
exports.pagePointTurned = require_calibrate.pagePointTurned;
|
|
822
|
+
exports.pagePointUnturned = require_calibrate.pagePointUnturned;
|
|
823
|
+
exports.pagePointsBounds = require_calibrate.pagePointsBounds;
|
|
824
|
+
exports.pageQuadBounds = require_calibrate.pageQuadBounds;
|
|
825
|
+
exports.pageQuadOf = require_calibrate.pageQuadOf;
|
|
826
|
+
exports.pageRefsEqual = require_format.pageRefsEqual;
|
|
827
|
+
exports.pageRefsIn = require_pageRefs.pageRefsIn;
|
|
828
|
+
exports.pageRotationOf = require_authority.pageRotationOf;
|
|
829
|
+
exports.pageSearchSliceOf = require_calibrate.pageSearchSliceOf;
|
|
830
|
+
exports.pageSpaceBoxesOf = require_authority.pageSpaceBoxesOf;
|
|
831
|
+
exports.pageTextSegmentOf = require_calibrate.pageTextSegmentOf;
|
|
832
|
+
exports.pageTransform = require_calibrate.pageTransform;
|
|
833
|
+
exports.pageTurnOfDrawn = require_calibrate.pageTurnOfDrawn;
|
|
834
|
+
exports.pageTurnOfUpright = require_calibrate.pageTurnOfUpright;
|
|
835
|
+
exports.pageViewportsOf = require_calibrate.pageViewportsOf;
|
|
836
|
+
exports.pageWidgetOf = require_authority.pageWidgetOf;
|
|
837
|
+
exports.parseObjectNumberRanges = require_viewport.parseObjectNumberRanges;
|
|
838
|
+
exports.parsePdfValue = require_authority.parsePdfValue;
|
|
449
839
|
exports.parseScope = require_resolver.parseScope;
|
|
450
840
|
exports.passwordPromptFromState = passwordPromptFromState;
|
|
841
|
+
exports.pathLength = require_resolveAnnotationDraft.pathLength;
|
|
842
|
+
exports.pdfAnnotationDraftOf = require_calibrate.pdfAnnotationDraftOf;
|
|
843
|
+
exports.pdfAnnotationOf = require_calibrate.pdfAnnotationOf;
|
|
844
|
+
exports.pdfAnnotationPatchOf = require_calibrate.pdfAnnotationPatchOf;
|
|
845
|
+
exports.pdfAppearanceTurnOf = require_calibrate.pdfAppearanceTurnOf;
|
|
846
|
+
exports.pdfDestinationOf = require_calibrate.pdfDestinationOf;
|
|
847
|
+
exports.pdfFormFieldDraftOf = require_authority.pdfFormFieldDraftOf;
|
|
848
|
+
exports.pdfMeasureOf = require_calibrate.pdfMeasureOf;
|
|
451
849
|
exports.pdfPermissions = require_builders.pdfPermissions;
|
|
452
|
-
exports.
|
|
453
|
-
exports.
|
|
454
|
-
exports.
|
|
455
|
-
exports.
|
|
456
|
-
exports.
|
|
457
|
-
exports.
|
|
458
|
-
exports.
|
|
459
|
-
exports.
|
|
460
|
-
exports.
|
|
850
|
+
exports.pdfPointOf = require_calibrate.pdfPointOf;
|
|
851
|
+
exports.pdfPointTurned = require_resolveAnnotationDraft.pdfPointTurned;
|
|
852
|
+
exports.pdfPointUnturned = require_resolveAnnotationDraft.pdfPointUnturned;
|
|
853
|
+
exports.pdfPointsBounds = require_resolveAnnotationDraft.pdfPointsBounds;
|
|
854
|
+
exports.pdfQuadBounds = require_resolveAnnotationDraft.pdfQuadBounds;
|
|
855
|
+
exports.pdfQuadOf = require_calibrate.pdfQuadOf;
|
|
856
|
+
exports.pdfQuarterTurnBox = require_resolveAnnotationDraft.pdfQuarterTurnBox;
|
|
857
|
+
exports.pdfRectFromOriginSize = require_resolveAnnotationDraft.pdfRectFromOriginSize;
|
|
858
|
+
exports.pdfRectHeight = require_resolveAnnotationDraft.pdfRectHeight;
|
|
859
|
+
exports.pdfRectIntersection = require_resolveAnnotationDraft.pdfRectIntersection;
|
|
860
|
+
exports.pdfRectOf = require_calibrate.pdfRectOf;
|
|
861
|
+
exports.pdfRectSize = require_resolveAnnotationDraft.pdfRectSize;
|
|
862
|
+
exports.pdfRectToOriginSize = require_resolveAnnotationDraft.pdfRectToOriginSize;
|
|
863
|
+
exports.pdfRectTurnedBounds = require_resolveAnnotationDraft.pdfRectTurnedBounds;
|
|
864
|
+
exports.pdfRectWidth = require_resolveAnnotationDraft.pdfRectWidth;
|
|
865
|
+
exports.pdfRenderTargetOf = require_authority.pdfRenderTargetOf;
|
|
866
|
+
exports.pdfTurnOfDrawn = require_resolveAnnotationDraft.pdfTurnOfDrawn;
|
|
867
|
+
exports.pdfTurnOfUpright = require_resolveAnnotationDraft.pdfTurnOfUpright;
|
|
868
|
+
exports.pdfValueEquals = require_authority.pdfValueEquals;
|
|
869
|
+
exports.pdfWidgetPlacementOf = require_authority.pdfWidgetPlacementOf;
|
|
461
870
|
exports.permissionInfoFromProbe = permissionInfoFromProbe;
|
|
462
871
|
exports.permissionInfoWithAdvisory = permissionInfoWithAdvisory;
|
|
463
|
-
exports.
|
|
872
|
+
exports.placeFor = placeFor;
|
|
873
|
+
exports.placeIn = placeIn;
|
|
874
|
+
exports.placedBefore = placedBefore;
|
|
875
|
+
exports.placedWidgetOf = require_authority.placedWidgetOf;
|
|
876
|
+
exports.polygonArea = require_resolveAnnotationDraft.polygonArea;
|
|
877
|
+
exports.positionIndex = require_viewport.positionIndex;
|
|
878
|
+
exports.primaryFinding = require_authority.primaryFinding;
|
|
464
879
|
exports.protectedCapabilities = require_resolver.protectedCapabilities;
|
|
465
|
-
exports.
|
|
466
|
-
exports.
|
|
467
|
-
exports.
|
|
468
|
-
exports.
|
|
469
|
-
exports.
|
|
470
|
-
exports.
|
|
471
|
-
exports.
|
|
472
|
-
exports.
|
|
473
|
-
exports.
|
|
474
|
-
exports.
|
|
475
|
-
exports.
|
|
476
|
-
exports.
|
|
880
|
+
exports.quarterTurnOf = require_resolveAnnotationDraft.quarterTurnOf;
|
|
881
|
+
exports.rank = rank;
|
|
882
|
+
exports.refsOf = require_authority.refsOf;
|
|
883
|
+
exports.renderAreaTransform = require_calibrate.renderAreaTransform;
|
|
884
|
+
exports.renderMatrix = require_calibrate.renderMatrix;
|
|
885
|
+
exports.renderSize = require_calibrate.renderSize;
|
|
886
|
+
exports.renderTargetArea = require_calibrate.renderTargetArea;
|
|
887
|
+
exports.renderTransform = require_calibrate.renderTransform;
|
|
888
|
+
exports.reorderPart = require_viewport.reorderPart;
|
|
889
|
+
exports.reorderedList = require_viewport.reorderedList;
|
|
890
|
+
exports.resolveAnnotationDraft = require_calibrate.resolveAnnotationDraft;
|
|
891
|
+
exports.resolveAnnotationPatch = require_calibrate.resolveAnnotationPatch;
|
|
892
|
+
exports.resolveAnnotationResources = require_calibrate.resolveAnnotationResources;
|
|
893
|
+
exports.resolveBinarySource = require_calibrate.resolveBinarySource;
|
|
894
|
+
exports.resolveChangeResources = require_Change.resolveChangeResources;
|
|
895
|
+
exports.resolveMeasurementDraft = require_resolveAnnotationDraft.resolveMeasurementDraft;
|
|
896
|
+
exports.resolvePageLayers = require_authority.resolvePageLayers;
|
|
897
|
+
exports.resolveRectCommand = require_calibrate.resolveRectCommand;
|
|
898
|
+
exports.resourceIdOf = require_resolveAnnotationDraft.resourceIdOf;
|
|
899
|
+
exports.restrictionsFor = require_authority.restrictionsFor;
|
|
900
|
+
exports.restrictionsOf = require_authority.restrictionsOf;
|
|
901
|
+
exports.rgbOf = require_resolveAnnotationDraft.rgbOf;
|
|
902
|
+
exports.richTextParagraphsFromPlainText = require_resolveAnnotationDraft.richTextParagraphsFromPlainText;
|
|
903
|
+
exports.richTextPlainText = require_resolveAnnotationDraft.richTextPlainText;
|
|
904
|
+
exports.sameColor = require_resolveAnnotationDraft.sameColor;
|
|
905
|
+
exports.sameEffectiveValue = require_authority.sameEffectiveValue;
|
|
906
|
+
exports.scaleOf = require_resolveAnnotationDraft.scaleOf;
|
|
907
|
+
exports.searchContentEpoch = require_authority.searchContentEpoch;
|
|
908
|
+
exports.searchQueryOf = require_authority.searchQueryOf;
|
|
477
909
|
exports.securityStateFromHead = securityStateFromHead;
|
|
478
910
|
exports.securityStateFromProbe = securityStateFromProbe;
|
|
479
|
-
exports.semanticEqual =
|
|
480
|
-
exports.serializeError =
|
|
481
|
-
exports.
|
|
482
|
-
exports.
|
|
483
|
-
exports.
|
|
484
|
-
exports.
|
|
485
|
-
exports.
|
|
486
|
-
exports.
|
|
487
|
-
exports.
|
|
488
|
-
exports.
|
|
489
|
-
exports.
|
|
490
|
-
exports.
|
|
491
|
-
exports.
|
|
492
|
-
exports.
|
|
911
|
+
exports.semanticEqual = require_resolveAnnotationDraft.semanticEqual;
|
|
912
|
+
exports.serializeError = require_format.serializeError;
|
|
913
|
+
exports.shapeForRect = require_calibrate.shapeForRect;
|
|
914
|
+
exports.shownAppearances = require_charmap.shownAppearances;
|
|
915
|
+
exports.sliceText = require_charmap.sliceText;
|
|
916
|
+
exports.snapAppearanceScale = require_DocumentRenderService.snapAppearanceScale;
|
|
917
|
+
exports.snapFullPageViewport = require_DocumentRenderService.snapFullPageViewport;
|
|
918
|
+
exports.snapTileScale = require_DocumentRenderService.snapTileScale;
|
|
919
|
+
exports.sniffBinaryMetadata = require_calibrate.sniffBinaryMetadata;
|
|
920
|
+
exports.squareMetres = require_calibrate.squareMetres;
|
|
921
|
+
exports.squareOf = require_calibrate.squareOf;
|
|
922
|
+
exports.stableStringify = require_authority.stableStringify;
|
|
923
|
+
exports.standardStateModelOf = require_resolveAnnotationDraft.standardStateModelOf;
|
|
924
|
+
exports.subscribeToType = subscribeToType;
|
|
925
|
+
exports.subtypeFromCode = require_subtype.subtypeFromCode;
|
|
926
|
+
exports.toAttachmentRef = require_calibrate.toAttachmentRef;
|
|
927
|
+
exports.toFieldRef = require_format.toFieldRef;
|
|
928
|
+
exports.toOriginalRange = require_calibrate.toOriginalRange;
|
|
929
|
+
exports.toPageRef = require_format.toPageRef;
|
|
930
|
+
exports.topRowOf = require_Change.topRowOf;
|
|
931
|
+
exports.touchesCaption = require_resolveAnnotationDraft.touchesCaption;
|
|
932
|
+
exports.validAreaBoundary = require_resolveAnnotationDraft.validAreaBoundary;
|
|
933
|
+
exports.validNumberFormat = require_format.validNumberFormat;
|
|
493
934
|
exports.validateScopeArray = require_resolver.validateScopeArray;
|
|
494
|
-
exports.validateSearchQuery =
|
|
495
|
-
exports.validateSearchRegex =
|
|
935
|
+
exports.validateSearchQuery = require_viewport.validateSearchQuery;
|
|
936
|
+
exports.validateSearchRegex = require_viewport.validateSearchRegex;
|
|
937
|
+
exports.valueEntriesEqual = require_Change.valueEntriesEqual;
|
|
938
|
+
exports.viewportForPoint = require_viewport.viewportForPoint;
|
|
939
|
+
exports.visibleBoxesOf = require_authority.visibleBoxesOf;
|
|
940
|
+
exports.widgetActionsOf = require_value.widgetActionsOf;
|
|
941
|
+
exports.widgetAfterPatch = require_Change.widgetAfterPatch;
|
|
942
|
+
exports.widgetsAfterDisplay = require_Change.widgetsAfterDisplay;
|
|
496
943
|
exports.wirePack = wirePack;
|
|
497
|
-
exports.
|
|
498
|
-
exports.
|
|
499
|
-
exports.
|
|
944
|
+
exports.withFileFromResource = require_calibrate.withFileFromResource;
|
|
945
|
+
exports.wordAt = require_viewport.wordAt;
|
|
946
|
+
exports.wordBefore = require_viewport.wordBefore;
|
|
947
|
+
exports.worstVerdict = require_authority.worstVerdict;
|
|
948
|
+
exports.writesScripts = require_value.writesScripts;
|
|
500
949
|
|
|
501
950
|
//# sourceMappingURL=runtime.cjs.map
|