@formio/js 5.0.0-rc.17 → 5.0.0-rc.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/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +2 -2
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +3 -3
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +1 -1
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/PDFBuilder.js +1 -1
- package/lib/cjs/components/signature/Signature.js +1 -1
- package/lib/mjs/PDFBuilder.js +1 -1
- package/lib/mjs/components/signature/Signature.js +1 -1
- package/package.json +1 -1
package/lib/cjs/PDFBuilder.js
CHANGED
@@ -230,7 +230,7 @@ class PDFBuilder extends WebformBuilder_1.default {
|
|
230
230
|
}
|
231
231
|
lodash_1.default.set(this.webform.form, 'settings.pdf', {
|
232
232
|
id: result.data.file,
|
233
|
-
src: `${result.data.filesServer}${result.data.path}`,
|
233
|
+
src: result.data.filesServer ? `${result.data.filesServer}${result.data.path}` : `${new URL(this.projectUrl).origin}/pdf-proxy${result.data.path}`,
|
234
234
|
nonFillableConversionUsed: autoConversionComponentsAssigned && result.data.formfields.nonFillableConversionUsed
|
235
235
|
});
|
236
236
|
this.emit('pdfUploaded', result.data);
|
@@ -29,7 +29,7 @@ class SignatureComponent extends Input_1.default {
|
|
29
29
|
group: 'advanced',
|
30
30
|
icon: 'pencil',
|
31
31
|
weight: 120,
|
32
|
-
documentation: '/
|
32
|
+
documentation: '/developers/integrations/esign/esign-integrations#signature-component',
|
33
33
|
schema: SignatureComponent.schema()
|
34
34
|
};
|
35
35
|
}
|
package/lib/mjs/PDFBuilder.js
CHANGED
@@ -224,7 +224,7 @@ export default class PDFBuilder extends WebformBuilder {
|
|
224
224
|
}
|
225
225
|
_.set(this.webform.form, 'settings.pdf', {
|
226
226
|
id: result.data.file,
|
227
|
-
src: `${result.data.filesServer}${result.data.path}`,
|
227
|
+
src: result.data.filesServer ? `${result.data.filesServer}${result.data.path}` : `${new URL(this.projectUrl).origin}/pdf-proxy${result.data.path}`,
|
228
228
|
nonFillableConversionUsed: autoConversionComponentsAssigned && result.data.formfields.nonFillableConversionUsed
|
229
229
|
});
|
230
230
|
this.emit('pdfUploaded', result.data);
|
@@ -24,7 +24,7 @@ export default class SignatureComponent extends Input {
|
|
24
24
|
group: 'advanced',
|
25
25
|
icon: 'pencil',
|
26
26
|
weight: 120,
|
27
|
-
documentation: '/
|
27
|
+
documentation: '/developers/integrations/esign/esign-integrations#signature-component',
|
28
28
|
schema: SignatureComponent.schema()
|
29
29
|
};
|
30
30
|
}
|