@documenso/embed-vue 0.3.0 → 0.4.0
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.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +37 -29
- package/dist/update-document.vue.d.ts +1 -0
- package/dist/update-template.vue.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export { default as EmbedDirectTemplate } from './direct-template.vue';
|
|
2
2
|
export { default as EmbedSignDocument } from './sign-document.vue';
|
|
3
|
+
export { default as EmbedCreateDocumentV1 } from './create-document.vue';
|
|
4
|
+
export { default as EmbedCreateTemplateV1 } from './create-template.vue';
|
|
5
|
+
export { default as EmbedUpdateDocumentV1 } from './update-document.vue';
|
|
6
|
+
export { default as EmbedUpdateTemplateV1 } from './update-template.vue';
|
|
3
7
|
export { default as unstable_EmbedCreateDocument } from './create-document.vue';
|
|
4
8
|
export { default as unstable_EmbedCreateTemplate } from './create-template.vue';
|
|
5
9
|
export { default as unstable_EmbedUpdateDocument } from './update-document.vue';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export { default as EmbedDirectTemplate } from './direct-template.vue';
|
|
2
2
|
export { default as EmbedSignDocument } from './sign-document.vue';
|
|
3
|
+
export { default as EmbedCreateDocumentV1 } from './create-document.vue';
|
|
4
|
+
export { default as EmbedCreateTemplateV1 } from './create-template.vue';
|
|
5
|
+
export { default as EmbedUpdateDocumentV1 } from './update-document.vue';
|
|
6
|
+
export { default as EmbedUpdateTemplateV1 } from './update-template.vue';
|
|
3
7
|
export { default as unstable_EmbedCreateDocument } from './create-document.vue';
|
|
4
8
|
export { default as unstable_EmbedCreateTemplate } from './create-template.vue';
|
|
5
9
|
export { default as unstable_EmbedUpdateDocument } from './update-document.vue';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),f=["src"],k=t.defineComponent({__name:"direct-template",props:{className:{},host:{},token:{},externalId:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},email:{},lockEmail:{type:Boolean},name:{},lockName:{type:Boolean},additionalProps:{},onDocumentReady:{type:Function},onDocumentCompleted:{type:Function},onDocumentError:{type:Function},onFieldSigned:{type:Function},onFieldUnsigned:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({name:e.name,lockName:e.lockName,email:e.email,lockEmail:e.lockEmail,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,...e.additionalProps}))),n=new URL(`/embed/direct/${e.token}`,o);return e.externalId&&n.searchParams.set("externalId",e.externalId),`${n}#${c}`});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.action){case"document-ready":e.onDocumentReady?.();break;case"document-completed":e.onDocumentCompleted?.(o.data.data);break;case"document-error":e.onDocumentError?.(o.data.data);break;case"field-signed":e.onFieldSigned?.();break;case"field-unsigned":e.onFieldUnsigned?.();break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,f))}}),_=["src"],b=t.defineComponent({__name:"sign-document",props:{className:{},host:{},token:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},name:{},lockName:{type:Boolean},allowDocumentRejection:{type:Boolean},additionalProps:{},onDocumentReady:{type:Function},onDocumentCompleted:{type:Function},onDocumentError:{type:Function},onDocumentRejected:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({name:e.name,lockName:e.lockName,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,allowDocumentRejection:e.allowDocumentRejection,...e.additionalProps})));return`${new URL(`/embed/sign/${e.token}`,o)}#${c}`});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.action){case"document-ready":e.onDocumentReady?.();break;case"document-completed":e.onDocumentCompleted?.(o.data.data);break;case"document-error":e.onDocumentError?.(o.data.data);break;case"document-rejected":e.onDocumentRejected?.(o.data.data);break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,_))}}),y=["src"],m=t.defineComponent({__name:"create-document",props:{className:{},host:{},presignToken:{},externalId:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},features:{},additionalProps:{},onDocumentCreated:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({externalId:e.externalId,features:e.features,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,...e.additionalProps}))),n=new URL("/embed/v1/authoring/document/create",o);return n.searchParams.set("token",e.presignToken),n.hash=c,n.toString()});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.type){case"document-created":e.onDocumentCreated?.({documentId:o.data.documentId,externalId:o.data.externalId});break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,y))}}),h=["src"],l=t.defineComponent({__name:"create-template",props:{className:{},host:{},presignToken:{},externalId:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},features:{},additionalProps:{},onTemplateCreated:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({externalId:e.externalId,features:e.features,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,...e.additionalProps}))),n=new URL("/embed/v1/authoring/template/create",o);return n.searchParams.set("token",e.presignToken),n.hash=c,n.toString()});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.type){case"template-created":e.onTemplateCreated?.({templateId:o.data.templateId,externalId:o.data.externalId});break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,h))}}),D=["src"],i=t.defineComponent({__name:"update-document",props:{className:{},host:{},presignToken:{},documentId:{},externalId:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},features:{},onlyEditFields:{type:Boolean},additionalProps:{},onDocumentUpdated:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({token:e.presignToken,externalId:e.externalId,features:e.features,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,onlyEditFields:e.onlyEditFields,...e.additionalProps}))),n=new URL(`/embed/v1/authoring/document/edit/${e.documentId}`,o);return n.searchParams.set("token",e.presignToken),n.hash=c,n.toString()});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.type){case"document-updated":e.onDocumentUpdated?.({documentId:o.data.documentId,externalId:o.data.externalId});break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,D))}}),g=["src"],p=t.defineComponent({__name:"update-template",props:{className:{},host:{},presignToken:{},templateId:{},externalId:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},features:{},onlyEditFields:{type:Boolean},additionalProps:{},onTemplateUpdated:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({externalId:e.externalId,features:e.features,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,onlyEditFields:e.onlyEditFields,...e.additionalProps}))),n=new URL(`/embed/v1/authoring/template/edit/${e.templateId}`,o);return n.searchParams.set("token",e.presignToken),n.hash=c,n.toString()});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.type){case"template-updated":e.onTemplateUpdated?.({templateId:o.data.templateId,externalId:o.data.externalId});break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,g))}}),w=["src"],E=t.defineComponent({__name:"multisign-document",props:{className:{},host:{},tokens:{},css:{},cssVars:{},darkModeDisabled:{type:Boolean},name:{},lockName:{type:Boolean},allowDocumentRejection:{type:Boolean},additionalProps:{},onDocumentReady:{type:Function},onDocumentCompleted:{type:Function},onDocumentError:{type:Function},onDocumentRejected:{type:Function},onAllDocumentsCompleted:{type:Function}},setup(d){const e=d,a=t.ref();t.onMounted(()=>{window.addEventListener("message",s)}),t.onUnmounted(()=>{window.removeEventListener("message",s)});const r=t.computed(()=>{const o=e.host||"https://app.documenso.com",c=btoa(encodeURIComponent(JSON.stringify({name:e.name,lockName:e.lockName,css:e.css,cssVars:e.cssVars,darkModeDisabled:e.darkModeDisabled,allowDocumentRejection:e.allowDocumentRejection,...e.additionalProps}))),n=new URL("/embed/v1/multisign",o);for(const u of e.tokens)n.searchParams.append("token",u);return`${n}#${c}`});function s(o){if(a.value?.contentWindow===o.source)switch(o.data.action){case"document-ready":e.onDocumentReady?.();break;case"document-completed":e.onDocumentCompleted?.(o.data.data);break;case"document-error":e.onDocumentError?.(o.data.data);break;case"document-rejected":e.onDocumentRejected?.(o.data.data);break;case"all-documents-completed":e.onAllDocumentsCompleted?.(o.data.data);break}}return(o,c)=>(t.openBlock(),t.createElementBlock("iframe",{ref_key:"__iframe",ref:a,class:t.normalizeClass(o.className),src:r.value},null,10,w))}});exports.EmbedCreateDocumentV1=m;exports.EmbedCreateTemplateV1=l;exports.EmbedDirectTemplate=k;exports.EmbedSignDocument=b;exports.EmbedUpdateDocumentV1=i;exports.EmbedUpdateTemplateV1=p;exports.unstable_EmbedCreateDocument=m;exports.unstable_EmbedCreateTemplate=l;exports.unstable_EmbedMultiSignDocument=E;exports.unstable_EmbedUpdateDocument=i;exports.unstable_EmbedUpdateTemplate=p;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as r, ref as i, onMounted as m, onUnmounted as l, computed as p, createElementBlock as u, openBlock as _, normalizeClass as f } from "vue";
|
|
2
|
+
const b = ["src"], U = /* @__PURE__ */ r({
|
|
3
3
|
__name: "direct-template",
|
|
4
4
|
props: {
|
|
5
5
|
className: {},
|
|
@@ -27,7 +27,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
27
27
|
}), l(() => {
|
|
28
28
|
window.removeEventListener("message", o);
|
|
29
29
|
});
|
|
30
|
-
const
|
|
30
|
+
const d = p(() => {
|
|
31
31
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
32
32
|
encodeURIComponent(
|
|
33
33
|
JSON.stringify({
|
|
@@ -68,10 +68,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
68
68
|
ref_key: "__iframe",
|
|
69
69
|
ref: s,
|
|
70
70
|
class: f(t.className),
|
|
71
|
-
src:
|
|
72
|
-
}, null, 10,
|
|
71
|
+
src: d.value
|
|
72
|
+
}, null, 10, b));
|
|
73
73
|
}
|
|
74
|
-
}),
|
|
74
|
+
}), h = ["src"], M = /* @__PURE__ */ r({
|
|
75
75
|
__name: "sign-document",
|
|
76
76
|
props: {
|
|
77
77
|
className: {},
|
|
@@ -96,7 +96,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
96
96
|
}), l(() => {
|
|
97
97
|
window.removeEventListener("message", o);
|
|
98
98
|
});
|
|
99
|
-
const
|
|
99
|
+
const d = p(() => {
|
|
100
100
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
101
101
|
encodeURIComponent(
|
|
102
102
|
JSON.stringify({
|
|
@@ -133,10 +133,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
133
133
|
ref_key: "__iframe",
|
|
134
134
|
ref: s,
|
|
135
135
|
class: f(t.className),
|
|
136
|
-
src:
|
|
137
|
-
}, null, 10,
|
|
136
|
+
src: d.value
|
|
137
|
+
}, null, 10, h));
|
|
138
138
|
}
|
|
139
|
-
}),
|
|
139
|
+
}), y = ["src"], N = /* @__PURE__ */ r({
|
|
140
140
|
__name: "create-document",
|
|
141
141
|
props: {
|
|
142
142
|
className: {},
|
|
@@ -157,7 +157,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
157
157
|
}), l(() => {
|
|
158
158
|
window.removeEventListener("message", o);
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const d = p(() => {
|
|
161
161
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
162
162
|
encodeURIComponent(
|
|
163
163
|
JSON.stringify({
|
|
@@ -187,10 +187,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
187
187
|
ref_key: "__iframe",
|
|
188
188
|
ref: s,
|
|
189
189
|
class: f(t.className),
|
|
190
|
-
src:
|
|
191
|
-
}, null, 10,
|
|
190
|
+
src: d.value
|
|
191
|
+
}, null, 10, y));
|
|
192
192
|
}
|
|
193
|
-
}),
|
|
193
|
+
}), D = ["src"], R = /* @__PURE__ */ r({
|
|
194
194
|
__name: "create-template",
|
|
195
195
|
props: {
|
|
196
196
|
className: {},
|
|
@@ -211,7 +211,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
211
211
|
}), l(() => {
|
|
212
212
|
window.removeEventListener("message", o);
|
|
213
213
|
});
|
|
214
|
-
const
|
|
214
|
+
const d = p(() => {
|
|
215
215
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
216
216
|
encodeURIComponent(
|
|
217
217
|
JSON.stringify({
|
|
@@ -241,10 +241,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
241
241
|
ref_key: "__iframe",
|
|
242
242
|
ref: s,
|
|
243
243
|
class: f(t.className),
|
|
244
|
-
src:
|
|
245
|
-
}, null, 10,
|
|
244
|
+
src: d.value
|
|
245
|
+
}, null, 10, D));
|
|
246
246
|
}
|
|
247
|
-
}), g = ["src"],
|
|
247
|
+
}), g = ["src"], F = /* @__PURE__ */ r({
|
|
248
248
|
__name: "update-document",
|
|
249
249
|
props: {
|
|
250
250
|
className: {},
|
|
@@ -256,6 +256,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
256
256
|
cssVars: {},
|
|
257
257
|
darkModeDisabled: { type: Boolean },
|
|
258
258
|
features: {},
|
|
259
|
+
onlyEditFields: { type: Boolean },
|
|
259
260
|
additionalProps: {},
|
|
260
261
|
onDocumentUpdated: { type: Function }
|
|
261
262
|
},
|
|
@@ -266,7 +267,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
266
267
|
}), l(() => {
|
|
267
268
|
window.removeEventListener("message", o);
|
|
268
269
|
});
|
|
269
|
-
const
|
|
270
|
+
const d = p(() => {
|
|
270
271
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
271
272
|
encodeURIComponent(
|
|
272
273
|
JSON.stringify({
|
|
@@ -276,6 +277,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
276
277
|
css: e.css,
|
|
277
278
|
cssVars: e.cssVars,
|
|
278
279
|
darkModeDisabled: e.darkModeDisabled,
|
|
280
|
+
onlyEditFields: e.onlyEditFields,
|
|
279
281
|
...e.additionalProps
|
|
280
282
|
})
|
|
281
283
|
)
|
|
@@ -300,10 +302,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
300
302
|
ref_key: "__iframe",
|
|
301
303
|
ref: s,
|
|
302
304
|
class: f(t.className),
|
|
303
|
-
src:
|
|
305
|
+
src: d.value
|
|
304
306
|
}, null, 10, g));
|
|
305
307
|
}
|
|
306
|
-
}), w = ["src"],
|
|
308
|
+
}), w = ["src"], x = /* @__PURE__ */ r({
|
|
307
309
|
__name: "update-template",
|
|
308
310
|
props: {
|
|
309
311
|
className: {},
|
|
@@ -315,6 +317,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
315
317
|
cssVars: {},
|
|
316
318
|
darkModeDisabled: { type: Boolean },
|
|
317
319
|
features: {},
|
|
320
|
+
onlyEditFields: { type: Boolean },
|
|
318
321
|
additionalProps: {},
|
|
319
322
|
onTemplateUpdated: { type: Function }
|
|
320
323
|
},
|
|
@@ -325,7 +328,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
325
328
|
}), l(() => {
|
|
326
329
|
window.removeEventListener("message", o);
|
|
327
330
|
});
|
|
328
|
-
const
|
|
331
|
+
const d = p(() => {
|
|
329
332
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
330
333
|
encodeURIComponent(
|
|
331
334
|
JSON.stringify({
|
|
@@ -334,6 +337,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
334
337
|
css: e.css,
|
|
335
338
|
cssVars: e.cssVars,
|
|
336
339
|
darkModeDisabled: e.darkModeDisabled,
|
|
340
|
+
onlyEditFields: e.onlyEditFields,
|
|
337
341
|
...e.additionalProps
|
|
338
342
|
})
|
|
339
343
|
)
|
|
@@ -358,10 +362,10 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
358
362
|
ref_key: "__iframe",
|
|
359
363
|
ref: s,
|
|
360
364
|
class: f(t.className),
|
|
361
|
-
src:
|
|
365
|
+
src: d.value
|
|
362
366
|
}, null, 10, w));
|
|
363
367
|
}
|
|
364
|
-
}), I = ["src"],
|
|
368
|
+
}), I = ["src"], C = /* @__PURE__ */ r({
|
|
365
369
|
__name: "multisign-document",
|
|
366
370
|
props: {
|
|
367
371
|
className: {},
|
|
@@ -387,7 +391,7 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
387
391
|
}), l(() => {
|
|
388
392
|
window.removeEventListener("message", o);
|
|
389
393
|
});
|
|
390
|
-
const
|
|
394
|
+
const d = p(() => {
|
|
391
395
|
const t = e.host || "https://app.documenso.com", n = btoa(
|
|
392
396
|
encodeURIComponent(
|
|
393
397
|
JSON.stringify({
|
|
@@ -429,16 +433,20 @@ const h = ["src"], U = /* @__PURE__ */ d({
|
|
|
429
433
|
ref_key: "__iframe",
|
|
430
434
|
ref: s,
|
|
431
435
|
class: f(t.className),
|
|
432
|
-
src:
|
|
436
|
+
src: d.value
|
|
433
437
|
}, null, 10, I));
|
|
434
438
|
}
|
|
435
439
|
});
|
|
436
440
|
export {
|
|
441
|
+
N as EmbedCreateDocumentV1,
|
|
442
|
+
R as EmbedCreateTemplateV1,
|
|
437
443
|
U as EmbedDirectTemplate,
|
|
438
444
|
M as EmbedSignDocument,
|
|
445
|
+
F as EmbedUpdateDocumentV1,
|
|
446
|
+
x as EmbedUpdateTemplateV1,
|
|
439
447
|
N as unstable_EmbedCreateDocument,
|
|
440
448
|
R as unstable_EmbedCreateTemplate,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
449
|
+
C as unstable_EmbedMultiSignDocument,
|
|
450
|
+
F as unstable_EmbedUpdateDocument,
|
|
451
|
+
x as unstable_EmbedUpdateTemplate
|
|
444
452
|
};
|
|
@@ -16,6 +16,7 @@ export type EmbedUpdateDocumentProps = {
|
|
|
16
16
|
allowConfigureRedirectUrl?: boolean;
|
|
17
17
|
allowConfigureCommunication?: boolean;
|
|
18
18
|
};
|
|
19
|
+
onlyEditFields?: boolean | undefined;
|
|
19
20
|
additionalProps?: Record<string, string | number | boolean> | undefined;
|
|
20
21
|
onDocumentUpdated?: (data: {
|
|
21
22
|
externalId: string;
|
|
@@ -16,6 +16,7 @@ export type EmbedUpdateTemplateProps = {
|
|
|
16
16
|
allowConfigureRedirectUrl?: boolean;
|
|
17
17
|
allowConfigureCommunication?: boolean;
|
|
18
18
|
};
|
|
19
|
+
onlyEditFields?: boolean | undefined;
|
|
19
20
|
additionalProps?: Record<string, string | number | boolean> | undefined;
|
|
20
21
|
onTemplateUpdated?: (data: {
|
|
21
22
|
externalId: string;
|