@docuseal/angular 1.0.0 → 1.0.2
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/LICENSE +20 -0
- package/dist/README.md +76 -0
- package/dist/builder.component.d.ts +74 -0
- package/dist/esm2022/builder.component.mjs +233 -0
- package/dist/esm2022/docuseal-angular.mjs +5 -0
- package/dist/esm2022/form.component.mjs +256 -0
- package/dist/esm2022/public-api.mjs +3 -0
- package/dist/fesm2022/docuseal-angular.mjs +494 -0
- package/dist/fesm2022/docuseal-angular.mjs.map +1 -0
- package/dist/form.component.d.ts +83 -0
- package/dist/index.d.ts +5 -0
- package/package.json +4 -1
- package/.eslintrc.json +0 -41
- package/angular.json +0 -30
- package/ng-package.json +0 -7
- package/src/builder.component.ts +0 -225
- package/src/form.component.ts +0 -240
- package/tsconfig.json +0 -33
- /package/{src/public-api.ts → dist/public-api.d.ts} +0 -0
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, HostBinding, HostListener } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class DocusealFormComponent {
|
|
5
|
+
src = "";
|
|
6
|
+
host = "cdn.docuseal.co";
|
|
7
|
+
role = "";
|
|
8
|
+
submitter = ""; // Backward compatibility
|
|
9
|
+
expand = true;
|
|
10
|
+
preview = false;
|
|
11
|
+
email = "";
|
|
12
|
+
applicationKey = "";
|
|
13
|
+
externalId = "";
|
|
14
|
+
backgroundColor = "";
|
|
15
|
+
logo = "";
|
|
16
|
+
language = "";
|
|
17
|
+
completedRedirectUrl = "";
|
|
18
|
+
completedButton = { title: "", url: "" };
|
|
19
|
+
goToLast = true;
|
|
20
|
+
skipFields = false;
|
|
21
|
+
withTitle = true;
|
|
22
|
+
withFieldNames = true;
|
|
23
|
+
withDownloadButton = true;
|
|
24
|
+
withSendCopyButton = true;
|
|
25
|
+
allowToResubmit = true;
|
|
26
|
+
allowTypedSignature = true;
|
|
27
|
+
sendCopyEmail = null;
|
|
28
|
+
values = {};
|
|
29
|
+
metadata = {};
|
|
30
|
+
i18n = {};
|
|
31
|
+
fields = [];
|
|
32
|
+
readonlyFields = [];
|
|
33
|
+
onComplete = () => { };
|
|
34
|
+
onInit = () => { };
|
|
35
|
+
onLoad = () => { };
|
|
36
|
+
customCss = "";
|
|
37
|
+
get dataSrc() { return this.src; }
|
|
38
|
+
get dataEmail() { return this.email; }
|
|
39
|
+
get dataRole() { return this.role || this.submitter; }
|
|
40
|
+
get dataExternalId() { return this.externalId || this.applicationKey; }
|
|
41
|
+
get dataExpand() { return this.expand; }
|
|
42
|
+
get dataPreview() { return this.preview; }
|
|
43
|
+
get dataGoToLast() { return this.goToLast; }
|
|
44
|
+
get dataSkipFields() { return this.skipFields; }
|
|
45
|
+
get dataSendCopyEmail() { return this.sendCopyEmail; }
|
|
46
|
+
get dataWithTitle() { return this.withTitle; }
|
|
47
|
+
get dataLogo() { return this.logo; }
|
|
48
|
+
get dataLanguage() { return this.language; }
|
|
49
|
+
get dataWithFieldNames() { return this.withFieldNames; }
|
|
50
|
+
get dataWithDownloadButton() { return this.withDownloadButton; }
|
|
51
|
+
get dataAllowToResubmit() { return this.allowToResubmit; }
|
|
52
|
+
get dataAllowTypedSignature() { return this.allowTypedSignature; }
|
|
53
|
+
get dataCompletedRedirectUrl() { return this.completedRedirectUrl; }
|
|
54
|
+
get dataWithSendCopyButton() { return this.withSendCopyButton; }
|
|
55
|
+
get dataValues() { return JSON.stringify(this.values); }
|
|
56
|
+
get dataMetadata() { return JSON.stringify(this.metadata); }
|
|
57
|
+
get dataFields() { return JSON.stringify(this.fields); }
|
|
58
|
+
get dataI18n() { return JSON.stringify(this.i18n); }
|
|
59
|
+
get dataReadonlyFields() { return this.readonlyFields.join(','); }
|
|
60
|
+
get dataCompletedButtonTitle() { return this.completedButton.title; }
|
|
61
|
+
get dataCompletedButtonUrl() { return this.completedButton.url; }
|
|
62
|
+
get dataBackgroundColor() { return this.backgroundColor; }
|
|
63
|
+
get dataCustomCss() { return this.customCss; }
|
|
64
|
+
ngAfterViewInit() {
|
|
65
|
+
this.loadScript();
|
|
66
|
+
}
|
|
67
|
+
onCompleteEvent(event) {
|
|
68
|
+
if (this.onComplete) {
|
|
69
|
+
this.onComplete(event.detail);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
onInitEvent(event) {
|
|
73
|
+
if (this.onInit) {
|
|
74
|
+
this.onInit(event.detail);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
onLoadEvent(event) {
|
|
78
|
+
if (this.onLoad) {
|
|
79
|
+
this.onLoad(event.detail);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
loadScript() {
|
|
83
|
+
const scriptId = "docuseal-form-script";
|
|
84
|
+
const scriptSrc = `https://${this.host}/js/form.js`;
|
|
85
|
+
const script = document.createElement("script");
|
|
86
|
+
script.id = scriptId;
|
|
87
|
+
script.async = true;
|
|
88
|
+
script.src = scriptSrc;
|
|
89
|
+
document.head.appendChild(script);
|
|
90
|
+
}
|
|
91
|
+
static ɵfac = function DocusealFormComponent_Factory(t) { return new (t || DocusealFormComponent)(); };
|
|
92
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocusealFormComponent, selectors: [["docuseal-form"]], hostVars: 27, hostBindings: function DocusealFormComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵlistener("completed", function DocusealFormComponent_completed_HostBindingHandler($event) { return ctx.onCompleteEvent($event); })("init", function DocusealFormComponent_init_HostBindingHandler($event) { return ctx.onInitEvent($event); })("load", function DocusealFormComponent_load_HostBindingHandler($event) { return ctx.onLoadEvent($event); });
|
|
94
|
+
} if (rf & 2) {
|
|
95
|
+
i0.ɵɵattribute("data-src", ctx.dataSrc)("data-email", ctx.dataEmail)("data-role", ctx.dataRole)("data-external-id", ctx.dataExternalId)("data-expand", ctx.dataExpand)("data-preview", ctx.dataPreview)("data-go-to-last", ctx.dataGoToLast)("data-skip-fields", ctx.dataSkipFields)("data-send-copy-email", ctx.dataSendCopyEmail)("data-with-title", ctx.dataWithTitle)("data-logo", ctx.dataLogo)("data-language", ctx.dataLanguage)("data-with-field-names", ctx.dataWithFieldNames)("data-with-download-button", ctx.dataWithDownloadButton)("data-allow-to-resubmit", ctx.dataAllowToResubmit)("data-allow-typed-signature", ctx.dataAllowTypedSignature)("data-completed-redirect-url", ctx.dataCompletedRedirectUrl)("data-with-send-copy-button", ctx.dataWithSendCopyButton)("data-values", ctx.dataValues)("data-metadata", ctx.dataMetadata)("data-fields", ctx.dataFields)("data-i18n", ctx.dataI18n)("data-readonly-fields", ctx.dataReadonlyFields)("data-completed-button-title", ctx.dataCompletedButtonTitle)("data-completed-button-url", ctx.dataCompletedButtonUrl)("data-background-color", ctx.dataBackgroundColor)("data-custom-css", ctx.dataCustomCss);
|
|
96
|
+
} }, inputs: { src: "src", host: "host", role: "role", submitter: "submitter", expand: "expand", preview: "preview", email: "email", applicationKey: "applicationKey", externalId: "externalId", backgroundColor: "backgroundColor", logo: "logo", language: "language", completedRedirectUrl: "completedRedirectUrl", completedButton: "completedButton", goToLast: "goToLast", skipFields: "skipFields", withTitle: "withTitle", withFieldNames: "withFieldNames", withDownloadButton: "withDownloadButton", withSendCopyButton: "withSendCopyButton", allowToResubmit: "allowToResubmit", allowTypedSignature: "allowTypedSignature", sendCopyEmail: "sendCopyEmail", values: "values", metadata: "metadata", i18n: "i18n", fields: "fields", readonlyFields: "readonlyFields", onComplete: "onComplete", onInit: "onInit", onLoad: "onLoad", customCss: "customCss" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 0, vars: 0, template: function DocusealFormComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
97
|
+
}
|
|
98
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocusealFormComponent, [{
|
|
99
|
+
type: Component,
|
|
100
|
+
args: [{ selector: "docuseal-form", standalone: true, template: "" }]
|
|
101
|
+
}], null, { src: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], host: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], role: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], submitter: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], expand: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], preview: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], email: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], applicationKey: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], externalId: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], backgroundColor: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], logo: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], language: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], completedRedirectUrl: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], completedButton: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], goToLast: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], skipFields: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], withTitle: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], withFieldNames: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], withDownloadButton: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], withSendCopyButton: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], allowToResubmit: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], allowTypedSignature: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], sendCopyEmail: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], values: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], metadata: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], i18n: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], fields: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], readonlyFields: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], onComplete: [{
|
|
158
|
+
type: Input
|
|
159
|
+
}], onInit: [{
|
|
160
|
+
type: Input
|
|
161
|
+
}], onLoad: [{
|
|
162
|
+
type: Input
|
|
163
|
+
}], customCss: [{
|
|
164
|
+
type: Input
|
|
165
|
+
}], dataSrc: [{
|
|
166
|
+
type: HostBinding,
|
|
167
|
+
args: ["attr.data-src"]
|
|
168
|
+
}], dataEmail: [{
|
|
169
|
+
type: HostBinding,
|
|
170
|
+
args: ["attr.data-email"]
|
|
171
|
+
}], dataRole: [{
|
|
172
|
+
type: HostBinding,
|
|
173
|
+
args: ["attr.data-role"]
|
|
174
|
+
}], dataExternalId: [{
|
|
175
|
+
type: HostBinding,
|
|
176
|
+
args: ["attr.data-external-id"]
|
|
177
|
+
}], dataExpand: [{
|
|
178
|
+
type: HostBinding,
|
|
179
|
+
args: ["attr.data-expand"]
|
|
180
|
+
}], dataPreview: [{
|
|
181
|
+
type: HostBinding,
|
|
182
|
+
args: ["attr.data-preview"]
|
|
183
|
+
}], dataGoToLast: [{
|
|
184
|
+
type: HostBinding,
|
|
185
|
+
args: ["attr.data-go-to-last"]
|
|
186
|
+
}], dataSkipFields: [{
|
|
187
|
+
type: HostBinding,
|
|
188
|
+
args: ["attr.data-skip-fields"]
|
|
189
|
+
}], dataSendCopyEmail: [{
|
|
190
|
+
type: HostBinding,
|
|
191
|
+
args: ["attr.data-send-copy-email"]
|
|
192
|
+
}], dataWithTitle: [{
|
|
193
|
+
type: HostBinding,
|
|
194
|
+
args: ["attr.data-with-title"]
|
|
195
|
+
}], dataLogo: [{
|
|
196
|
+
type: HostBinding,
|
|
197
|
+
args: ["attr.data-logo"]
|
|
198
|
+
}], dataLanguage: [{
|
|
199
|
+
type: HostBinding,
|
|
200
|
+
args: ["attr.data-language"]
|
|
201
|
+
}], dataWithFieldNames: [{
|
|
202
|
+
type: HostBinding,
|
|
203
|
+
args: ["attr.data-with-field-names"]
|
|
204
|
+
}], dataWithDownloadButton: [{
|
|
205
|
+
type: HostBinding,
|
|
206
|
+
args: ["attr.data-with-download-button"]
|
|
207
|
+
}], dataAllowToResubmit: [{
|
|
208
|
+
type: HostBinding,
|
|
209
|
+
args: ["attr.data-allow-to-resubmit"]
|
|
210
|
+
}], dataAllowTypedSignature: [{
|
|
211
|
+
type: HostBinding,
|
|
212
|
+
args: ["attr.data-allow-typed-signature"]
|
|
213
|
+
}], dataCompletedRedirectUrl: [{
|
|
214
|
+
type: HostBinding,
|
|
215
|
+
args: ["attr.data-completed-redirect-url"]
|
|
216
|
+
}], dataWithSendCopyButton: [{
|
|
217
|
+
type: HostBinding,
|
|
218
|
+
args: ["attr.data-with-send-copy-button"]
|
|
219
|
+
}], dataValues: [{
|
|
220
|
+
type: HostBinding,
|
|
221
|
+
args: ["attr.data-values"]
|
|
222
|
+
}], dataMetadata: [{
|
|
223
|
+
type: HostBinding,
|
|
224
|
+
args: ["attr.data-metadata"]
|
|
225
|
+
}], dataFields: [{
|
|
226
|
+
type: HostBinding,
|
|
227
|
+
args: ["attr.data-fields"]
|
|
228
|
+
}], dataI18n: [{
|
|
229
|
+
type: HostBinding,
|
|
230
|
+
args: ["attr.data-i18n"]
|
|
231
|
+
}], dataReadonlyFields: [{
|
|
232
|
+
type: HostBinding,
|
|
233
|
+
args: ["attr.data-readonly-fields"]
|
|
234
|
+
}], dataCompletedButtonTitle: [{
|
|
235
|
+
type: HostBinding,
|
|
236
|
+
args: ["attr.data-completed-button-title"]
|
|
237
|
+
}], dataCompletedButtonUrl: [{
|
|
238
|
+
type: HostBinding,
|
|
239
|
+
args: ["attr.data-completed-button-url"]
|
|
240
|
+
}], dataBackgroundColor: [{
|
|
241
|
+
type: HostBinding,
|
|
242
|
+
args: ["attr.data-background-color"]
|
|
243
|
+
}], dataCustomCss: [{
|
|
244
|
+
type: HostBinding,
|
|
245
|
+
args: ["attr.data-custom-css"]
|
|
246
|
+
}], onCompleteEvent: [{
|
|
247
|
+
type: HostListener,
|
|
248
|
+
args: ['completed', ['$event']]
|
|
249
|
+
}], onInitEvent: [{
|
|
250
|
+
type: HostListener,
|
|
251
|
+
args: ['init', ['$event']]
|
|
252
|
+
}], onLoadEvent: [{
|
|
253
|
+
type: HostListener,
|
|
254
|
+
args: ['load', ['$event']]
|
|
255
|
+
}] }); })();
|
|
256
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DocusealFormComponent, { className: "DocusealFormComponent" }); })();
|
|
257
|
+
|
|
258
|
+
class DocusealBuilderComponent {
|
|
259
|
+
token = "";
|
|
260
|
+
host = "cdn.docuseal.co";
|
|
261
|
+
language = "en";
|
|
262
|
+
preview = false;
|
|
263
|
+
autosave = true;
|
|
264
|
+
withRecipientsButton = true;
|
|
265
|
+
withDocumentsList = true;
|
|
266
|
+
withFieldsList = true;
|
|
267
|
+
withSendButton = true;
|
|
268
|
+
withTitle = true;
|
|
269
|
+
onlyDefinedFields = false;
|
|
270
|
+
withSignYourselfButton = true;
|
|
271
|
+
withUploadButton = true;
|
|
272
|
+
roles = [];
|
|
273
|
+
fields = [];
|
|
274
|
+
i18n = {};
|
|
275
|
+
fieldTypes = [];
|
|
276
|
+
drawFieldType = "text";
|
|
277
|
+
customButton = { title: "", url: "" };
|
|
278
|
+
backgroundColor = "";
|
|
279
|
+
onLoad = () => { };
|
|
280
|
+
onUpload = () => { };
|
|
281
|
+
onSend = () => { };
|
|
282
|
+
onSave = () => { };
|
|
283
|
+
sendButtonText = "";
|
|
284
|
+
saveButtonText = "";
|
|
285
|
+
customCss = "";
|
|
286
|
+
get dataToken() { return this.token; }
|
|
287
|
+
get dataPreview() { return this.preview; }
|
|
288
|
+
get dataLanguage() { return this.language; }
|
|
289
|
+
get dataAutosave() { return this.autosave; }
|
|
290
|
+
get dataSendButtonText() { return this.sendButtonText; }
|
|
291
|
+
get dataSaveButtonText() { return this.saveButtonText; }
|
|
292
|
+
get dataRoles() { return this.roles.join(','); }
|
|
293
|
+
get dataFieldTypes() { return this.fieldTypes.join(','); }
|
|
294
|
+
get dataDrawFieldType() { return this.drawFieldType; }
|
|
295
|
+
get dataFields() { return JSON.stringify(this.fields); }
|
|
296
|
+
get dataI18n() { return JSON.stringify(this.i18n); }
|
|
297
|
+
get dataCustomButtonTitle() { return this.customButton.title; }
|
|
298
|
+
get dataCustomButtonUrl() { return this.customButton.url; }
|
|
299
|
+
get dataWithRecipientsButton() { return this.withRecipientsButton; }
|
|
300
|
+
get dataWithSendButton() { return this.withSendButton; }
|
|
301
|
+
get dataWithDocumentsList() { return this.withDocumentsList; }
|
|
302
|
+
get dataWithFieldsList() { return this.withFieldsList; }
|
|
303
|
+
get dataWithTitle() { return this.withTitle; }
|
|
304
|
+
get dataOnlyDefinedFields() { return this.onlyDefinedFields; }
|
|
305
|
+
get dataWithUploadButton() { return this.withUploadButton; }
|
|
306
|
+
get dataWithSignYourselfButton() { return this.withSignYourselfButton; }
|
|
307
|
+
get dataBackgroundColor() { return this.backgroundColor; }
|
|
308
|
+
get dataCustomCss() { return this.customCss; }
|
|
309
|
+
ngAfterViewInit() {
|
|
310
|
+
this.loadScript();
|
|
311
|
+
}
|
|
312
|
+
onSendEvent(event) {
|
|
313
|
+
if (this.onSend) {
|
|
314
|
+
this.onSend(event.detail);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
onLoadEvent(event) {
|
|
318
|
+
if (this.onLoad) {
|
|
319
|
+
this.onLoad(event.detail);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
onUploadEvent(event) {
|
|
323
|
+
if (this.onUpload) {
|
|
324
|
+
this.onUpload(event.detail);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
onSaveEvent(event) {
|
|
328
|
+
if (this.onSave) {
|
|
329
|
+
this.onSave(event.detail);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
loadScript() {
|
|
333
|
+
const scriptId = 'docuseal-builder-script';
|
|
334
|
+
const scriptSrc = `https://${this.host}/js/builder.js`;
|
|
335
|
+
const script = document.createElement("script");
|
|
336
|
+
script.id = scriptId;
|
|
337
|
+
script.async = true;
|
|
338
|
+
script.src = scriptSrc;
|
|
339
|
+
document.head.appendChild(script);
|
|
340
|
+
}
|
|
341
|
+
static ɵfac = function DocusealBuilderComponent_Factory(t) { return new (t || DocusealBuilderComponent)(); };
|
|
342
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocusealBuilderComponent, selectors: [["docuseal-builder"]], hostVars: 23, hostBindings: function DocusealBuilderComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
343
|
+
i0.ɵɵlistener("send", function DocusealBuilderComponent_send_HostBindingHandler($event) { return ctx.onSendEvent($event); })("load", function DocusealBuilderComponent_load_HostBindingHandler($event) { return ctx.onLoadEvent($event); })("upload", function DocusealBuilderComponent_upload_HostBindingHandler($event) { return ctx.onUploadEvent($event); })("save", function DocusealBuilderComponent_save_HostBindingHandler($event) { return ctx.onSaveEvent($event); });
|
|
344
|
+
} if (rf & 2) {
|
|
345
|
+
i0.ɵɵattribute("data-token", ctx.dataToken)("data-preview", ctx.dataPreview)("data-language", ctx.dataLanguage)("data-autosave", ctx.dataAutosave)("data-send-button-text", ctx.dataSendButtonText)("data-save-button-text", ctx.dataSaveButtonText)("data-roles", ctx.dataRoles)("data-field-types", ctx.dataFieldTypes)("data-draw-field-type", ctx.dataDrawFieldType)("data-fields", ctx.dataFields)("data-i18n", ctx.dataI18n)("data-custom-button-title", ctx.dataCustomButtonTitle)("data-custom-button-url", ctx.dataCustomButtonUrl)("data-with-recipients-button", ctx.dataWithRecipientsButton)("data-with-send-button", ctx.dataWithSendButton)("data-with-documents-list", ctx.dataWithDocumentsList)("data-with-fields-list", ctx.dataWithFieldsList)("data-with-title", ctx.dataWithTitle)("data-only-defined-fields", ctx.dataOnlyDefinedFields)("data-with-upload-button", ctx.dataWithUploadButton)("data-with-sign-yourself-button", ctx.dataWithSignYourselfButton)("data-background-color", ctx.dataBackgroundColor)("data-custom-css", ctx.dataCustomCss);
|
|
346
|
+
} }, inputs: { token: "token", host: "host", language: "language", preview: "preview", autosave: "autosave", withRecipientsButton: "withRecipientsButton", withDocumentsList: "withDocumentsList", withFieldsList: "withFieldsList", withSendButton: "withSendButton", withTitle: "withTitle", onlyDefinedFields: "onlyDefinedFields", withSignYourselfButton: "withSignYourselfButton", withUploadButton: "withUploadButton", roles: "roles", fields: "fields", i18n: "i18n", fieldTypes: "fieldTypes", drawFieldType: "drawFieldType", customButton: "customButton", backgroundColor: "backgroundColor", onLoad: "onLoad", onUpload: "onUpload", onSend: "onSend", onSave: "onSave", sendButtonText: "sendButtonText", saveButtonText: "saveButtonText", customCss: "customCss" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 0, vars: 0, template: function DocusealBuilderComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
347
|
+
}
|
|
348
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocusealBuilderComponent, [{
|
|
349
|
+
type: Component,
|
|
350
|
+
args: [{ selector: "docuseal-builder", standalone: true, template: "" }]
|
|
351
|
+
}], null, { token: [{
|
|
352
|
+
type: Input
|
|
353
|
+
}], host: [{
|
|
354
|
+
type: Input
|
|
355
|
+
}], language: [{
|
|
356
|
+
type: Input
|
|
357
|
+
}], preview: [{
|
|
358
|
+
type: Input
|
|
359
|
+
}], autosave: [{
|
|
360
|
+
type: Input
|
|
361
|
+
}], withRecipientsButton: [{
|
|
362
|
+
type: Input
|
|
363
|
+
}], withDocumentsList: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], withFieldsList: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], withSendButton: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], withTitle: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}], onlyDefinedFields: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], withSignYourselfButton: [{
|
|
374
|
+
type: Input
|
|
375
|
+
}], withUploadButton: [{
|
|
376
|
+
type: Input
|
|
377
|
+
}], roles: [{
|
|
378
|
+
type: Input
|
|
379
|
+
}], fields: [{
|
|
380
|
+
type: Input
|
|
381
|
+
}], i18n: [{
|
|
382
|
+
type: Input
|
|
383
|
+
}], fieldTypes: [{
|
|
384
|
+
type: Input
|
|
385
|
+
}], drawFieldType: [{
|
|
386
|
+
type: Input
|
|
387
|
+
}], customButton: [{
|
|
388
|
+
type: Input
|
|
389
|
+
}], backgroundColor: [{
|
|
390
|
+
type: Input
|
|
391
|
+
}], onLoad: [{
|
|
392
|
+
type: Input
|
|
393
|
+
}], onUpload: [{
|
|
394
|
+
type: Input
|
|
395
|
+
}], onSend: [{
|
|
396
|
+
type: Input
|
|
397
|
+
}], onSave: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}], sendButtonText: [{
|
|
400
|
+
type: Input
|
|
401
|
+
}], saveButtonText: [{
|
|
402
|
+
type: Input
|
|
403
|
+
}], customCss: [{
|
|
404
|
+
type: Input
|
|
405
|
+
}], dataToken: [{
|
|
406
|
+
type: HostBinding,
|
|
407
|
+
args: ["attr.data-token"]
|
|
408
|
+
}], dataPreview: [{
|
|
409
|
+
type: HostBinding,
|
|
410
|
+
args: ["attr.data-preview"]
|
|
411
|
+
}], dataLanguage: [{
|
|
412
|
+
type: HostBinding,
|
|
413
|
+
args: ["attr.data-language"]
|
|
414
|
+
}], dataAutosave: [{
|
|
415
|
+
type: HostBinding,
|
|
416
|
+
args: ["attr.data-autosave"]
|
|
417
|
+
}], dataSendButtonText: [{
|
|
418
|
+
type: HostBinding,
|
|
419
|
+
args: ["attr.data-send-button-text"]
|
|
420
|
+
}], dataSaveButtonText: [{
|
|
421
|
+
type: HostBinding,
|
|
422
|
+
args: ["attr.data-save-button-text"]
|
|
423
|
+
}], dataRoles: [{
|
|
424
|
+
type: HostBinding,
|
|
425
|
+
args: ["attr.data-roles"]
|
|
426
|
+
}], dataFieldTypes: [{
|
|
427
|
+
type: HostBinding,
|
|
428
|
+
args: ["attr.data-field-types"]
|
|
429
|
+
}], dataDrawFieldType: [{
|
|
430
|
+
type: HostBinding,
|
|
431
|
+
args: ["attr.data-draw-field-type"]
|
|
432
|
+
}], dataFields: [{
|
|
433
|
+
type: HostBinding,
|
|
434
|
+
args: ["attr.data-fields"]
|
|
435
|
+
}], dataI18n: [{
|
|
436
|
+
type: HostBinding,
|
|
437
|
+
args: ["attr.data-i18n"]
|
|
438
|
+
}], dataCustomButtonTitle: [{
|
|
439
|
+
type: HostBinding,
|
|
440
|
+
args: ["attr.data-custom-button-title"]
|
|
441
|
+
}], dataCustomButtonUrl: [{
|
|
442
|
+
type: HostBinding,
|
|
443
|
+
args: ["attr.data-custom-button-url"]
|
|
444
|
+
}], dataWithRecipientsButton: [{
|
|
445
|
+
type: HostBinding,
|
|
446
|
+
args: ["attr.data-with-recipients-button"]
|
|
447
|
+
}], dataWithSendButton: [{
|
|
448
|
+
type: HostBinding,
|
|
449
|
+
args: ["attr.data-with-send-button"]
|
|
450
|
+
}], dataWithDocumentsList: [{
|
|
451
|
+
type: HostBinding,
|
|
452
|
+
args: ["attr.data-with-documents-list"]
|
|
453
|
+
}], dataWithFieldsList: [{
|
|
454
|
+
type: HostBinding,
|
|
455
|
+
args: ["attr.data-with-fields-list"]
|
|
456
|
+
}], dataWithTitle: [{
|
|
457
|
+
type: HostBinding,
|
|
458
|
+
args: ["attr.data-with-title"]
|
|
459
|
+
}], dataOnlyDefinedFields: [{
|
|
460
|
+
type: HostBinding,
|
|
461
|
+
args: ["attr.data-only-defined-fields"]
|
|
462
|
+
}], dataWithUploadButton: [{
|
|
463
|
+
type: HostBinding,
|
|
464
|
+
args: ["attr.data-with-upload-button"]
|
|
465
|
+
}], dataWithSignYourselfButton: [{
|
|
466
|
+
type: HostBinding,
|
|
467
|
+
args: ["attr.data-with-sign-yourself-button"]
|
|
468
|
+
}], dataBackgroundColor: [{
|
|
469
|
+
type: HostBinding,
|
|
470
|
+
args: ["attr.data-background-color"]
|
|
471
|
+
}], dataCustomCss: [{
|
|
472
|
+
type: HostBinding,
|
|
473
|
+
args: ["attr.data-custom-css"]
|
|
474
|
+
}], onSendEvent: [{
|
|
475
|
+
type: HostListener,
|
|
476
|
+
args: ['send', ['$event']]
|
|
477
|
+
}], onLoadEvent: [{
|
|
478
|
+
type: HostListener,
|
|
479
|
+
args: ['load', ['$event']]
|
|
480
|
+
}], onUploadEvent: [{
|
|
481
|
+
type: HostListener,
|
|
482
|
+
args: ['upload', ['$event']]
|
|
483
|
+
}], onSaveEvent: [{
|
|
484
|
+
type: HostListener,
|
|
485
|
+
args: ['save', ['$event']]
|
|
486
|
+
}] }); })();
|
|
487
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DocusealBuilderComponent, { className: "DocusealBuilderComponent" }); })();
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Generated bundle index. Do not edit.
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
export { DocusealBuilderComponent, DocusealFormComponent };
|
|
494
|
+
//# sourceMappingURL=docuseal-angular.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docuseal-angular.mjs","sources":["../../src/form.component.ts","../../src/builder.component.ts","../../src/docuseal-angular.ts"],"sourcesContent":["import { Component, Input, HostListener, HostBinding } from \"@angular/core\"\n\ninterface DocusealField {\n name: string,\n title?: string,\n type?: string,\n position?: number,\n required?: boolean,\n}\n\ninterface AfterViewInit {\n ngAfterViewInit(): void\n}\n\n@Component({\n selector: \"docuseal-form\",\n standalone: true,\n template: \"\",\n styles: []\n})\n\nexport class DocusealFormComponent implements AfterViewInit {\n @Input() src: string = \"\"\n @Input() host: string = \"cdn.docuseal.co\"\n @Input() role: string = \"\"\n @Input() submitter: string = \"\" // Backward compatibility\n @Input() expand: boolean = true\n @Input() preview: boolean = false\n @Input() email: string = \"\"\n @Input() applicationKey: string = \"\"\n @Input() externalId: string = \"\"\n @Input() backgroundColor: string = \"\"\n @Input() logo: string = \"\"\n @Input() language: string = \"\"\n @Input() completedRedirectUrl: string = \"\"\n @Input() completedButton: { title: string, url: string } = { title: \"\", url: \"\" }\n @Input() goToLast: boolean = true\n @Input() skipFields: boolean = false\n @Input() withTitle: boolean = true\n @Input() withFieldNames: boolean = true\n @Input() withDownloadButton: boolean = true\n @Input() withSendCopyButton: boolean = true\n @Input() allowToResubmit: boolean = true\n @Input() allowTypedSignature: boolean = true\n @Input() sendCopyEmail: boolean | null = null\n @Input() values: object = {}\n @Input() metadata: object = {}\n @Input() i18n: object = {}\n @Input() fields: DocusealField[] = []\n @Input() readonlyFields: string[] = []\n @Input() onComplete: (detail: any) => void = () => {}\n @Input() onInit: (detail: any) => void = () => {}\n @Input() onLoad: (detail: any) => void = () => {}\n @Input() customCss: string = \"\"\n\n @HostBinding(\"attr.data-src\") get dataSrc(): string { return this.src }\n @HostBinding(\"attr.data-email\") get dataEmail(): string { return this.email }\n @HostBinding(\"attr.data-role\") get dataRole(): string { return this.role || this.submitter }\n @HostBinding(\"attr.data-external-id\") get dataExternalId(): string { return this.externalId || this.applicationKey }\n @HostBinding(\"attr.data-expand\") get dataExpand(): boolean { return this.expand }\n @HostBinding(\"attr.data-preview\") get dataPreview(): boolean { return this.preview }\n @HostBinding(\"attr.data-go-to-last\") get dataGoToLast(): boolean { return this.goToLast }\n @HostBinding(\"attr.data-skip-fields\") get dataSkipFields(): boolean { return this.skipFields }\n @HostBinding(\"attr.data-send-copy-email\") get dataSendCopyEmail(): boolean | null { return this.sendCopyEmail }\n @HostBinding(\"attr.data-with-title\") get dataWithTitle(): boolean { return this.withTitle }\n @HostBinding(\"attr.data-logo\") get dataLogo(): string { return this.logo }\n @HostBinding(\"attr.data-language\") get dataLanguage(): string { return this.language }\n @HostBinding(\"attr.data-with-field-names\") get dataWithFieldNames(): boolean { return this.withFieldNames }\n @HostBinding(\"attr.data-with-download-button\") get dataWithDownloadButton(): boolean { return this.withDownloadButton }\n @HostBinding(\"attr.data-allow-to-resubmit\") get dataAllowToResubmit(): boolean { return this.allowToResubmit }\n @HostBinding(\"attr.data-allow-typed-signature\") get dataAllowTypedSignature(): boolean { return this.allowTypedSignature }\n @HostBinding(\"attr.data-completed-redirect-url\") get dataCompletedRedirectUrl(): string { return this.completedRedirectUrl }\n @HostBinding(\"attr.data-with-send-copy-button\") get dataWithSendCopyButton(): boolean { return this.withSendCopyButton }\n @HostBinding(\"attr.data-values\") get dataValues(): string { return JSON.stringify(this.values) }\n @HostBinding(\"attr.data-metadata\") get dataMetadata(): string { return JSON.stringify(this.metadata) }\n @HostBinding(\"attr.data-fields\") get dataFields(): string { return JSON.stringify(this.fields) }\n @HostBinding(\"attr.data-i18n\") get dataI18n(): string { return JSON.stringify(this.i18n) }\n @HostBinding(\"attr.data-readonly-fields\") get dataReadonlyFields(): string { return this.readonlyFields.join(',') }\n @HostBinding(\"attr.data-completed-button-title\") get dataCompletedButtonTitle(): string { return this.completedButton.title }\n @HostBinding(\"attr.data-completed-button-url\") get dataCompletedButtonUrl(): string { return this.completedButton.url }\n @HostBinding(\"attr.data-background-color\") get dataBackgroundColor(): string { return this.backgroundColor }\n @HostBinding(\"attr.data-custom-css\") get dataCustomCss(): string { return this.customCss }\n\n ngAfterViewInit(): void {\n this.loadScript()\n }\n\n @HostListener('completed', ['$event'])\n onCompleteEvent(event: CustomEvent): void {\n if (this.onComplete) {\n this.onComplete(event.detail)\n }\n }\n\n @HostListener('init', ['$event'])\n onInitEvent(event: CustomEvent): void {\n if (this.onInit) {\n this.onInit(event.detail)\n }\n }\n\n @HostListener('load', ['$event'])\n onLoadEvent(event: CustomEvent): void {\n if (this.onLoad) {\n this.onLoad(event.detail)\n }\n }\n\n loadScript(): void {\n const scriptId = \"docuseal-form-script\"\n const scriptSrc = `https://${this.host}/js/form.js`\n const script = document.createElement(\"script\")\n\n script.id = scriptId\n script.async = true\n script.src = scriptSrc\n\n document.head.appendChild(script)\n }\n}\n","import { Component, Input, HostListener, HostBinding } from \"@angular/core\"\n\ninterface DocusealField {\n name: string,\n type?: string,\n role?: string,\n default_value?: string,\n}\n\ninterface AfterViewInit {\n ngAfterViewInit(): void\n}\n\n@Component({\n selector: \"docuseal-builder\",\n standalone: true,\n template: \"\",\n styles: []\n})\n\nexport class DocusealBuilderComponent implements AfterViewInit {\n @Input() token: string = \"\"\n @Input() host: string = \"cdn.docuseal.co\"\n @Input() language: string = \"en\"\n @Input() preview: boolean = false\n @Input() autosave: boolean = true\n @Input() withRecipientsButton: boolean = true\n @Input() withDocumentsList: boolean = true\n @Input() withFieldsList: boolean = true\n @Input() withSendButton: boolean = true\n @Input() withTitle: boolean = true\n @Input() onlyDefinedFields: boolean = false\n @Input() withSignYourselfButton: boolean = true\n @Input() withUploadButton: boolean = true\n @Input() roles: string[] = []\n @Input() fields: DocusealField[] = []\n @Input() i18n: object = {}\n @Input() fieldTypes: string[] = []\n @Input() drawFieldType: string = \"text\"\n @Input() customButton: { title: string, url: string } = { title: \"\", url: \"\" }\n @Input() backgroundColor: string = \"\"\n @Input() onLoad: (detail: any) => void = () => {}\n @Input() onUpload: (detail: any) => void = () => {}\n @Input() onSend: (detail: any) => void = () => {}\n @Input() onSave: (detail: any) => void = () => {}\n @Input() sendButtonText: string = \"\"\n @Input() saveButtonText: string = \"\"\n @Input() customCss: string = \"\"\n\n @HostBinding(\"attr.data-token\") get dataToken(): string { return this.token }\n @HostBinding(\"attr.data-preview\") get dataPreview(): boolean { return this.preview }\n @HostBinding(\"attr.data-language\") get dataLanguage(): string { return this.language }\n @HostBinding(\"attr.data-autosave\") get dataAutosave(): boolean { return this.autosave }\n @HostBinding(\"attr.data-send-button-text\") get dataSendButtonText(): string { return this.sendButtonText }\n @HostBinding(\"attr.data-save-button-text\") get dataSaveButtonText(): string { return this.saveButtonText }\n @HostBinding(\"attr.data-roles\") get dataRoles(): string { return this.roles.join(',') }\n @HostBinding(\"attr.data-field-types\") get dataFieldTypes(): string { return this.fieldTypes.join(',') }\n @HostBinding(\"attr.data-draw-field-type\") get dataDrawFieldType(): string { return this.drawFieldType }\n @HostBinding(\"attr.data-fields\") get dataFields(): string { return JSON.stringify(this.fields) }\n @HostBinding(\"attr.data-i18n\") get dataI18n(): string { return JSON.stringify(this.i18n) }\n @HostBinding(\"attr.data-custom-button-title\") get dataCustomButtonTitle(): string { return this.customButton.title }\n @HostBinding(\"attr.data-custom-button-url\") get dataCustomButtonUrl(): string { return this.customButton.url }\n @HostBinding(\"attr.data-with-recipients-button\") get dataWithRecipientsButton(): boolean { return this.withRecipientsButton }\n @HostBinding(\"attr.data-with-send-button\") get dataWithSendButton(): boolean { return this.withSendButton }\n @HostBinding(\"attr.data-with-documents-list\") get dataWithDocumentsList(): boolean { return this.withDocumentsList }\n @HostBinding(\"attr.data-with-fields-list\") get dataWithFieldsList(): boolean { return this.withFieldsList }\n @HostBinding(\"attr.data-with-title\") get dataWithTitle(): boolean { return this.withTitle }\n @HostBinding(\"attr.data-only-defined-fields\") get dataOnlyDefinedFields(): boolean { return this.onlyDefinedFields }\n @HostBinding(\"attr.data-with-upload-button\") get dataWithUploadButton(): boolean { return this.withUploadButton }\n @HostBinding(\"attr.data-with-sign-yourself-button\") get dataWithSignYourselfButton(): boolean { return this.withSignYourselfButton }\n @HostBinding(\"attr.data-background-color\") get dataBackgroundColor(): string { return this.backgroundColor }\n @HostBinding(\"attr.data-custom-css\") get dataCustomCss(): string { return this.customCss }\n\n ngAfterViewInit(): void {\n this.loadScript()\n }\n\n @HostListener('send', ['$event'])\n onSendEvent(event: CustomEvent): void {\n if (this.onSend) {\n this.onSend(event.detail)\n }\n }\n\n @HostListener('load', ['$event'])\n onLoadEvent(event: CustomEvent): void {\n if (this.onLoad) {\n this.onLoad(event.detail)\n }\n }\n\n @HostListener('upload', ['$event'])\n onUploadEvent(event: CustomEvent): void {\n if (this.onUpload) {\n this.onUpload(event.detail)\n }\n }\n\n @HostListener('save', ['$event'])\n onSaveEvent(event: CustomEvent): void {\n if (this.onSave) {\n this.onSave(event.detail)\n }\n }\n\n loadScript(): void {\n const scriptId = 'docuseal-builder-script'\n const scriptSrc = `https://${this.host}/js/builder.js`\n const script = document.createElement(\"script\")\n\n script.id = scriptId\n script.async = true\n script.src = scriptSrc\n\n document.head.appendChild(script)\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAqBa,qBAAqB,CAAA;IACvB,GAAG,GAAW,EAAE,CAAA;IAChB,IAAI,GAAW,iBAAiB,CAAA;IAChC,IAAI,GAAW,EAAE,CAAA;AACjB,IAAA,SAAS,GAAW,EAAE,CAAA;IACtB,MAAM,GAAY,IAAI,CAAA;IACtB,OAAO,GAAY,KAAK,CAAA;IACxB,KAAK,GAAW,EAAE,CAAA;IAClB,cAAc,GAAW,EAAE,CAAA;IAC3B,UAAU,GAAW,EAAE,CAAA;IACvB,eAAe,GAAW,EAAE,CAAA;IAC5B,IAAI,GAAW,EAAE,CAAA;IACjB,QAAQ,GAAW,EAAE,CAAA;IACrB,oBAAoB,GAAW,EAAE,CAAA;IACjC,eAAe,GAAmC,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAA;IACxE,QAAQ,GAAY,IAAI,CAAA;IACxB,UAAU,GAAY,KAAK,CAAA;IAC3B,SAAS,GAAY,IAAI,CAAA;IACzB,cAAc,GAAY,IAAI,CAAA;IAC9B,kBAAkB,GAAY,IAAI,CAAA;IAClC,kBAAkB,GAAY,IAAI,CAAA;IAClC,eAAe,GAAY,IAAI,CAAA;IAC/B,mBAAmB,GAAY,IAAI,CAAA;IACnC,aAAa,GAAmB,IAAI,CAAA;IACpC,MAAM,GAAW,EAAE,CAAA;IACnB,QAAQ,GAAW,EAAE,CAAA;IACrB,IAAI,GAAW,EAAE,CAAA;IACjB,MAAM,GAAoB,EAAE,CAAA;IAC5B,cAAc,GAAa,EAAE,CAAA;AAC7B,IAAA,UAAU,GAA0B,MAAK,GAAG,CAAA;AAC5C,IAAA,MAAM,GAA0B,MAAK,GAAG,CAAA;AACxC,IAAA,MAAM,GA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CAAA;YACK,oBAAoB,EAAA,CAAA;kBAApE,WAAW;mBAAC,8BAA8B,CAAA;YACa,0BAA0B,EAAA,CAAA;kBAAjF,WAAW;mBAAC,qCAAqC,CAAA;YACH,mBAAmB,EAAA,CAAA;kBAAjE,WAAW;mBAAC,4BAA4B,CAAA;YACA,aAAa,EAAA,CAAA;kBAArD,WAAW;mBAAC,sBAAsB,CAAA;YAOnC,WAAW,EAAA,CAAA;kBADV,YAAY;mBAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAA;YAQhC,WAAW,EAAA,CAAA;kBADV,YAAY;mBAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAA;YAQhC,aAAa,EAAA,CAAA;kBADZ,YAAY;mBAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAA;YAQlC,WAAW,EAAA,CAAA;kBADV,YAAY;mBAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAA;;kFA9ErB,wBAAwB,EAAA,EAAA,SAAA,EAAA,0BAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpBrC;;AAEG;;;;"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
interface DocusealField {
|
|
3
|
+
name: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
position?: number;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface AfterViewInit {
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare class DocusealFormComponent implements AfterViewInit {
|
|
13
|
+
src: string;
|
|
14
|
+
host: string;
|
|
15
|
+
role: string;
|
|
16
|
+
submitter: string;
|
|
17
|
+
expand: boolean;
|
|
18
|
+
preview: boolean;
|
|
19
|
+
email: string;
|
|
20
|
+
applicationKey: string;
|
|
21
|
+
externalId: string;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
logo: string;
|
|
24
|
+
language: string;
|
|
25
|
+
completedRedirectUrl: string;
|
|
26
|
+
completedButton: {
|
|
27
|
+
title: string;
|
|
28
|
+
url: string;
|
|
29
|
+
};
|
|
30
|
+
goToLast: boolean;
|
|
31
|
+
skipFields: boolean;
|
|
32
|
+
withTitle: boolean;
|
|
33
|
+
withFieldNames: boolean;
|
|
34
|
+
withDownloadButton: boolean;
|
|
35
|
+
withSendCopyButton: boolean;
|
|
36
|
+
allowToResubmit: boolean;
|
|
37
|
+
allowTypedSignature: boolean;
|
|
38
|
+
sendCopyEmail: boolean | null;
|
|
39
|
+
values: object;
|
|
40
|
+
metadata: object;
|
|
41
|
+
i18n: object;
|
|
42
|
+
fields: DocusealField[];
|
|
43
|
+
readonlyFields: string[];
|
|
44
|
+
onComplete: (detail: any) => void;
|
|
45
|
+
onInit: (detail: any) => void;
|
|
46
|
+
onLoad: (detail: any) => void;
|
|
47
|
+
customCss: string;
|
|
48
|
+
get dataSrc(): string;
|
|
49
|
+
get dataEmail(): string;
|
|
50
|
+
get dataRole(): string;
|
|
51
|
+
get dataExternalId(): string;
|
|
52
|
+
get dataExpand(): boolean;
|
|
53
|
+
get dataPreview(): boolean;
|
|
54
|
+
get dataGoToLast(): boolean;
|
|
55
|
+
get dataSkipFields(): boolean;
|
|
56
|
+
get dataSendCopyEmail(): boolean | null;
|
|
57
|
+
get dataWithTitle(): boolean;
|
|
58
|
+
get dataLogo(): string;
|
|
59
|
+
get dataLanguage(): string;
|
|
60
|
+
get dataWithFieldNames(): boolean;
|
|
61
|
+
get dataWithDownloadButton(): boolean;
|
|
62
|
+
get dataAllowToResubmit(): boolean;
|
|
63
|
+
get dataAllowTypedSignature(): boolean;
|
|
64
|
+
get dataCompletedRedirectUrl(): string;
|
|
65
|
+
get dataWithSendCopyButton(): boolean;
|
|
66
|
+
get dataValues(): string;
|
|
67
|
+
get dataMetadata(): string;
|
|
68
|
+
get dataFields(): string;
|
|
69
|
+
get dataI18n(): string;
|
|
70
|
+
get dataReadonlyFields(): string;
|
|
71
|
+
get dataCompletedButtonTitle(): string;
|
|
72
|
+
get dataCompletedButtonUrl(): string;
|
|
73
|
+
get dataBackgroundColor(): string;
|
|
74
|
+
get dataCustomCss(): string;
|
|
75
|
+
ngAfterViewInit(): void;
|
|
76
|
+
onCompleteEvent(event: CustomEvent): void;
|
|
77
|
+
onInitEvent(event: CustomEvent): void;
|
|
78
|
+
onLoadEvent(event: CustomEvent): void;
|
|
79
|
+
loadScript(): void;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocusealFormComponent, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocusealFormComponent, "docuseal-form", never, { "src": { "alias": "src"; "required": false; }; "host": { "alias": "host"; "required": false; }; "role": { "alias": "role"; "required": false; }; "submitter": { "alias": "submitter"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "email": { "alias": "email"; "required": false; }; "applicationKey": { "alias": "applicationKey"; "required": false; }; "externalId": { "alias": "externalId"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "language": { "alias": "language"; "required": false; }; "completedRedirectUrl": { "alias": "completedRedirectUrl"; "required": false; }; "completedButton": { "alias": "completedButton"; "required": false; }; "goToLast": { "alias": "goToLast"; "required": false; }; "skipFields": { "alias": "skipFields"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withFieldNames": { "alias": "withFieldNames"; "required": false; }; "withDownloadButton": { "alias": "withDownloadButton"; "required": false; }; "withSendCopyButton": { "alias": "withSendCopyButton"; "required": false; }; "allowToResubmit": { "alias": "allowToResubmit"; "required": false; }; "allowTypedSignature": { "alias": "allowTypedSignature"; "required": false; }; "sendCopyEmail": { "alias": "sendCopyEmail"; "required": false; }; "values": { "alias": "values"; "required": false; }; "metadata": { "alias": "metadata"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "readonlyFields": { "alias": "readonlyFields"; "required": false; }; "onComplete": { "alias": "onComplete"; "required": false; }; "onInit": { "alias": "onInit"; "required": false; }; "onLoad": { "alias": "onLoad"; "required": false; }; "customCss": { "alias": "customCss"; "required": false; }; }, {}, never, never, true, never>;
|
|
82
|
+
}
|
|
83
|
+
export {};
|
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docuseal/angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "DocuSeal Angular components to integrate documents signing process into apps. ✍️",
|
|
5
5
|
"esm2022": "dist/esm2022/docuseal-angular.mjs",
|
|
6
6
|
"esm": "dist/esm2022/docuseal-angular.mjs",
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
"esignature",
|
|
43
43
|
"documents"
|
|
44
44
|
],
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
45
48
|
"scripts": {
|
|
46
49
|
"ng": "ng",
|
|
47
50
|
"build": "ng build",
|