@embedpdf/plugin-form 3.0.0-next.16 → 3.0.0-next.18
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -8
- package/dist/index.d.ts +15 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
package/dist/index.cjs
CHANGED
|
@@ -644,7 +644,7 @@ function widgetAt(index, widgets, point) {
|
|
|
644
644
|
}
|
|
645
645
|
return best;
|
|
646
646
|
}
|
|
647
|
-
const
|
|
647
|
+
const initialFormModel = () => ({});
|
|
648
648
|
//#endregion
|
|
649
649
|
//#region src/read/fields.ts
|
|
650
650
|
/**
|
|
@@ -2997,7 +2997,7 @@ const formPlugin = (config) => (0, _embedpdf_core.definePlugin)({
|
|
|
2997
2997
|
_embedpdf_plugin_actions_contract.ActionsToken,
|
|
2998
2998
|
_embedpdf_plugin_render_contract.RenderToken
|
|
2999
2999
|
],
|
|
3000
|
-
state:
|
|
3000
|
+
state: initialFormModel,
|
|
3001
3001
|
settings: {
|
|
3002
3002
|
defaults: require_contract.FORM_DEFAULTS,
|
|
3003
3003
|
registered: config
|