@embedpdf/plugin-actions 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.
Files changed (41) hide show
  1. package/dist/contract/host.cjs +13 -1
  2. package/dist/contract/host.cjs.map +1 -1
  3. package/dist/contract/host.d.cts +3 -7
  4. package/dist/contract/host.d.ts +3 -7
  5. package/dist/contract/host.js +10 -3
  6. package/dist/contract/host.js.map +1 -1
  7. package/dist/contract-CNKZHb6w.d.ts +547 -0
  8. package/dist/contract-CwN3NAXU.js +175 -0
  9. package/dist/contract-CwN3NAXU.js.map +1 -0
  10. package/dist/contract-DSQysTqU.d.cts +547 -0
  11. package/dist/contract-_HB_UliT.cjs +210 -0
  12. package/dist/contract-_HB_UliT.cjs.map +1 -0
  13. package/dist/contract.cjs +5 -4
  14. package/dist/contract.d.cts +2 -3
  15. package/dist/contract.d.ts +2 -3
  16. package/dist/contract.js +2 -3
  17. package/dist/host-contract-CRNO2oZN.d.ts +165 -0
  18. package/dist/host-contract-DJ8TqDr3.d.cts +165 -0
  19. package/dist/index.cjs +1524 -1076
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +11 -9
  22. package/dist/index.d.ts +11 -9
  23. package/dist/index.js +1522 -1076
  24. package/dist/index.js.map +1 -1
  25. package/package.json +6 -10
  26. package/dist/contract-C1K3H4RP.cjs +0 -89
  27. package/dist/contract-C1K3H4RP.cjs.map +0 -1
  28. package/dist/contract-COk-w3Fo.d.ts +0 -50
  29. package/dist/contract-DAem-EST.js +0 -78
  30. package/dist/contract-DAem-EST.js.map +0 -1
  31. package/dist/contract-Os5y4NaD.d.cts +0 -50
  32. package/dist/internal.cjs +0 -3
  33. package/dist/internal.d.cts +0 -3
  34. package/dist/internal.d.ts +0 -3
  35. package/dist/internal.js +0 -2
  36. package/dist/types-BXJLAKXi.cjs +0 -52
  37. package/dist/types-BXJLAKXi.cjs.map +0 -1
  38. package/dist/types-D-DoiESj.d.cts +0 -504
  39. package/dist/types-D-DoiESj.d.ts +0 -504
  40. package/dist/types-DgBMy5nE.js +0 -35
  41. package/dist/types-DgBMy5nE.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,16 +1,18 @@
1
- import { B as SubmitIntent, E as ActionsToken, H as originOf, P as PdfAnnotationEventKind, S as ActionsCapability, T as ActionsState, _ as ActionTrigger, b as ActionUiContext, c as ActionNodeStatus, d as ActionPolicyDecision, f as ActionPolicyRow, g as ActionSubmitRequest, h as ActionSubmitHandler, i as ActionDispatchResult, j as DocumentTriggerEvent, l as ActionOrigin, m as ActionStepResult, n as ActionDiagnostic, p as ActionSource, r as ActionDispatchEvent, s as ActionNodeResult, t as ActionContext, u as ActionPolicy, v as ActionTriggerResult, w as ActionsPluginConfig, x as ActionsAction, y as ActionUiAdapter } from "./types-D-DoiESj.cjs";
2
- import { i as createHoverPump, n as HoverPump, r as HoverTarget, t as submitEntriesToUrlEncoded } from "./contract-Os5y4NaD.cjs";
1
+ import { A as DocumentTriggerEvent, B as SubmitIntent, C as ActionUiAdapter, D as ActionsScriptEnvironment, E as ActionsConfig, F as PdfAnnotationEventKind, G as HoverTarget, H as triggerOriginOf, I as PdfFieldEventKind, K as createHoverPump, L as PdfNamedAction, M as PdfActionNode, N as PdfActionTree, O as ActionsScriptIdentity, P as PdfActionType, R as ScriptDiagnosticReportedEvent, S as ActionTriggerResult, T as ActionsCapability, U as submitEntriesToUrlEncoded, V as eventOf, W as HoverPump, _ as ActionSubmitHandler, a as ActionDispatchResult, b as ActionTrigger, c as ActionExecutorResult, d as ActionOrigin, f as ActionPolicy, g as ActionStepResult, h as ActionSource, i as ActionDiagnosticReportedEvent, j as OpenSequenceCompletedEvent, k as ActionsSettings, l as ActionNodeResult, m as ActionPolicyRow, n as ActionContext, o as ActionExecutedEvent, p as ActionPolicyDecision, q as ActionsToken, r as ActionDiagnostic, s as ActionExecutor, t as ACTIONS_DEFAULTS, u as ActionNodeStatus, v as ActionSubmitRequest, w as ActionUiContext, x as ActionTriggerEvent, y as ActionTreeSource, z as ScriptFailedEvent } from "./contract-DSQysTqU.cjs";
2
+ import { t as ActionsHostCapability } from "./host-contract-DJ8TqDr3.cjs";
3
3
  //#region src/actions.plugin.d.ts
4
4
  /**
5
- * The action engine: the DEPENDENCY ROOT of the action architecture. It
5
+ * The action engine, the dependency root of the action architecture. It
6
6
  * interprets extracted /A and /AA trees; it never detects triggers and never
7
- * imports another plugin's token — stage, annotation, link, and form
8
- * optionally depend on ActionsToken and register their executors and sinks
9
- * at init (the kernel's topological order guarantees this plugin initializes
7
+ * imports another plugin's token: the stage, annotation, link and form
8
+ * plugins optionally depend on it and register their executors and sinks
9
+ * when they connect (the kernel's dependency order creates this plugin
10
10
  * first). JavaScript is one registered interpreter among many: Hide,
11
- * ResetForm, GoTo, and Named work with scripting off.
11
+ * ResetForm, GoTo and Named work with scripting off. Document-scoped and
12
+ * stateless; its settings are what the app registered over
13
+ * {@link ACTIONS_DEFAULTS}.
12
14
  */
13
- declare const actionsPlugin: (config?: ActionsPluginConfig) => import("@embedpdf/core").PluginDef<ActionsState, ActionsAction, ActionsCapability>;
15
+ declare const actionsPlugin: (config?: ActionsConfig) => import("@embedpdf/core").PluginDef<void, ActionsHostCapability, ActionsSettings>;
14
16
  //#endregion
15
- export { type ActionContext, type ActionDiagnostic, type ActionDispatchEvent, type ActionDispatchResult, type ActionNodeResult, type ActionNodeStatus, type ActionOrigin, type ActionPolicy, type ActionPolicyDecision, type ActionPolicyRow, type ActionSource, type ActionStepResult, type ActionSubmitHandler, type ActionSubmitRequest, type ActionTrigger, type ActionTriggerResult, type ActionUiAdapter, type ActionUiContext, type ActionsCapability, type ActionsPluginConfig, ActionsToken, type DocumentTriggerEvent, type HoverPump, type HoverTarget, type PdfAnnotationEventKind, type SubmitIntent, actionsPlugin, createHoverPump, originOf, submitEntriesToUrlEncoded };
17
+ export { ACTIONS_DEFAULTS, ActionContext, ActionDiagnostic, ActionDiagnosticReportedEvent, ActionDispatchResult, ActionExecutedEvent, ActionExecutor, ActionExecutorResult, ActionNodeResult, ActionNodeStatus, ActionOrigin, ActionPolicy, ActionPolicyDecision, ActionPolicyRow, ActionSource, ActionStepResult, ActionSubmitHandler, ActionSubmitRequest, ActionTreeSource, ActionTrigger, ActionTriggerEvent, ActionTriggerResult, ActionUiAdapter, ActionUiContext, ActionsCapability, ActionsConfig, ActionsScriptEnvironment, ActionsScriptIdentity, ActionsSettings, ActionsToken, DocumentTriggerEvent, type HoverPump, type HoverTarget, OpenSequenceCompletedEvent, type PdfActionNode, type PdfActionTree, type PdfActionType, PdfAnnotationEventKind, PdfFieldEventKind, PdfNamedAction, ScriptDiagnosticReportedEvent, ScriptFailedEvent, SubmitIntent, actionsPlugin, createHoverPump, eventOf, submitEntriesToUrlEncoded, triggerOriginOf };
16
18
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,16 +1,18 @@
1
- import { B as SubmitIntent, E as ActionsToken, H as originOf, P as PdfAnnotationEventKind, S as ActionsCapability, T as ActionsState, _ as ActionTrigger, b as ActionUiContext, c as ActionNodeStatus, d as ActionPolicyDecision, f as ActionPolicyRow, g as ActionSubmitRequest, h as ActionSubmitHandler, i as ActionDispatchResult, j as DocumentTriggerEvent, l as ActionOrigin, m as ActionStepResult, n as ActionDiagnostic, p as ActionSource, r as ActionDispatchEvent, s as ActionNodeResult, t as ActionContext, u as ActionPolicy, v as ActionTriggerResult, w as ActionsPluginConfig, x as ActionsAction, y as ActionUiAdapter } from "./types-D-DoiESj.js";
2
- import { i as createHoverPump, n as HoverPump, r as HoverTarget, t as submitEntriesToUrlEncoded } from "./contract-COk-w3Fo.js";
1
+ import { A as DocumentTriggerEvent, B as SubmitIntent, C as ActionUiAdapter, D as ActionsScriptEnvironment, E as ActionsConfig, F as PdfAnnotationEventKind, G as HoverTarget, H as triggerOriginOf, I as PdfFieldEventKind, K as createHoverPump, L as PdfNamedAction, M as PdfActionNode, N as PdfActionTree, O as ActionsScriptIdentity, P as PdfActionType, R as ScriptDiagnosticReportedEvent, S as ActionTriggerResult, T as ActionsCapability, U as submitEntriesToUrlEncoded, V as eventOf, W as HoverPump, _ as ActionSubmitHandler, a as ActionDispatchResult, b as ActionTrigger, c as ActionExecutorResult, d as ActionOrigin, f as ActionPolicy, g as ActionStepResult, h as ActionSource, i as ActionDiagnosticReportedEvent, j as OpenSequenceCompletedEvent, k as ActionsSettings, l as ActionNodeResult, m as ActionPolicyRow, n as ActionContext, o as ActionExecutedEvent, p as ActionPolicyDecision, q as ActionsToken, r as ActionDiagnostic, s as ActionExecutor, t as ACTIONS_DEFAULTS, u as ActionNodeStatus, v as ActionSubmitRequest, w as ActionUiContext, x as ActionTriggerEvent, y as ActionTreeSource, z as ScriptFailedEvent } from "./contract-CNKZHb6w.js";
2
+ import { t as ActionsHostCapability } from "./host-contract-CRNO2oZN.js";
3
3
  //#region src/actions.plugin.d.ts
4
4
  /**
5
- * The action engine: the DEPENDENCY ROOT of the action architecture. It
5
+ * The action engine, the dependency root of the action architecture. It
6
6
  * interprets extracted /A and /AA trees; it never detects triggers and never
7
- * imports another plugin's token — stage, annotation, link, and form
8
- * optionally depend on ActionsToken and register their executors and sinks
9
- * at init (the kernel's topological order guarantees this plugin initializes
7
+ * imports another plugin's token: the stage, annotation, link and form
8
+ * plugins optionally depend on it and register their executors and sinks
9
+ * when they connect (the kernel's dependency order creates this plugin
10
10
  * first). JavaScript is one registered interpreter among many: Hide,
11
- * ResetForm, GoTo, and Named work with scripting off.
11
+ * ResetForm, GoTo and Named work with scripting off. Document-scoped and
12
+ * stateless; its settings are what the app registered over
13
+ * {@link ACTIONS_DEFAULTS}.
12
14
  */
13
- declare const actionsPlugin: (config?: ActionsPluginConfig) => import("@embedpdf/core").PluginDef<ActionsState, ActionsAction, ActionsCapability>;
15
+ declare const actionsPlugin: (config?: ActionsConfig) => import("@embedpdf/core").PluginDef<void, ActionsHostCapability, ActionsSettings>;
14
16
  //#endregion
15
- export { type ActionContext, type ActionDiagnostic, type ActionDispatchEvent, type ActionDispatchResult, type ActionNodeResult, type ActionNodeStatus, type ActionOrigin, type ActionPolicy, type ActionPolicyDecision, type ActionPolicyRow, type ActionSource, type ActionStepResult, type ActionSubmitHandler, type ActionSubmitRequest, type ActionTrigger, type ActionTriggerResult, type ActionUiAdapter, type ActionUiContext, type ActionsCapability, type ActionsPluginConfig, ActionsToken, type DocumentTriggerEvent, type HoverPump, type HoverTarget, type PdfAnnotationEventKind, type SubmitIntent, actionsPlugin, createHoverPump, originOf, submitEntriesToUrlEncoded };
17
+ export { ACTIONS_DEFAULTS, ActionContext, ActionDiagnostic, ActionDiagnosticReportedEvent, ActionDispatchResult, ActionExecutedEvent, ActionExecutor, ActionExecutorResult, ActionNodeResult, ActionNodeStatus, ActionOrigin, ActionPolicy, ActionPolicyDecision, ActionPolicyRow, ActionSource, ActionStepResult, ActionSubmitHandler, ActionSubmitRequest, ActionTreeSource, ActionTrigger, ActionTriggerEvent, ActionTriggerResult, ActionUiAdapter, ActionUiContext, ActionsCapability, ActionsConfig, ActionsScriptEnvironment, ActionsScriptIdentity, ActionsSettings, ActionsToken, DocumentTriggerEvent, type HoverPump, type HoverTarget, OpenSequenceCompletedEvent, type PdfActionNode, type PdfActionTree, type PdfActionType, PdfAnnotationEventKind, PdfFieldEventKind, PdfNamedAction, ScriptDiagnosticReportedEvent, ScriptFailedEvent, SubmitIntent, actionsPlugin, createHoverPump, eventOf, submitEntriesToUrlEncoded, triggerOriginOf };
16
18
  //# sourceMappingURL=index.d.ts.map