@verdocs/web-sdk 2.3.21 → 2.3.22
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/cjs/verdocs-preview_8.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +5 -5
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js +2 -2
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +1 -1
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.js +5 -5
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +1 -1
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +3 -3
- package/dist/components/verdocs-template-attachments2.js +2 -2
- package/dist/components/verdocs-template-fields2.js +1 -1
- package/dist/components/verdocs-template-reminders2.js +5 -5
- package/dist/components/verdocs-template-role-properties2.js +1 -1
- package/dist/components/verdocs-template-roles2.js +3 -3
- package/dist/custom-elements.json +2175 -0
- package/dist/docs.json +1 -1
- package/dist/esm/verdocs-preview_8.entry.js +7 -7
- package/dist/esm/verdocs-template-fields_4.entry.js +5 -5
- package/dist/esm-es5/verdocs-preview_8.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -1
- package/dist/verdocs-web-sdk/{p-f8093452.entry.js → p-1780a4f1.entry.js} +1 -1
- package/dist/verdocs-web-sdk/{p-593e4dde.entry.js → p-66d58683.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-88c64957.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d5e27c32.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f04bf956.system.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-6925f18d.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9cae1b71.system.entry.js +0 -1
@@ -313,7 +313,7 @@ const VerdocsTemplateAttachments = class {
|
|
313
313
|
try {
|
314
314
|
const template = await TemplateDocuments.createTemplateDocument(this.endpoint, this.templateId, file, this.handleUploadProgress.bind(this));
|
315
315
|
console.log('[ATTACHMENTS] Created attachment', template);
|
316
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
316
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
317
317
|
console.log('[ATTACHMENTS] Updated template', this.store.state);
|
318
318
|
(_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
319
319
|
this.uploading = false;
|
@@ -336,7 +336,7 @@ const VerdocsTemplateAttachments = class {
|
|
336
336
|
}
|
337
337
|
async confirmDelete() {
|
338
338
|
await TemplateDocuments.deleteTemplateDocument(this.endpoint, this.templateId, this.confirmDeleteDocument.id);
|
339
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
339
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
340
340
|
console.log('[ATTACHMENTS] New template', this.store.state);
|
341
341
|
this.confirmDeleteDocument = null;
|
342
342
|
}
|
@@ -668,7 +668,7 @@ const VerdocsTemplateReminders = class {
|
|
668
668
|
console.log('[ROLES] Unable to start builder session, must be authenticated');
|
669
669
|
return;
|
670
670
|
}
|
671
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
671
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
672
672
|
this.sendReminders = !!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id);
|
673
673
|
this.dirty = false;
|
674
674
|
}
|
@@ -695,16 +695,16 @@ const VerdocsTemplateReminders = class {
|
|
695
695
|
};
|
696
696
|
if (!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id)) {
|
697
697
|
await createReminder(this.endpoint, this.templateId, params);
|
698
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
698
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
699
699
|
}
|
700
700
|
else {
|
701
701
|
await updateReminder(this.endpoint, this.templateId, (_c = this.store) === null || _c === void 0 ? void 0 : _c.state.reminder_id, params);
|
702
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
702
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
703
703
|
}
|
704
704
|
}
|
705
705
|
else {
|
706
706
|
await deleteReminder(this.endpoint, this.templateId, (_d = this.store) === null || _d === void 0 ? void 0 : _d.state.reminder_id);
|
707
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
707
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
708
708
|
}
|
709
709
|
(_e = this.templateUpdated) === null || _e === void 0 ? void 0 : _e.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
710
710
|
}
|
@@ -730,7 +730,7 @@ const VerdocsTemplateReminders = class {
|
|
730
730
|
// e.target.checked = false;
|
731
731
|
this.sendReminders = e.target.checked;
|
732
732
|
this.dirty = true;
|
733
|
-
} })), index.h("div", { class: "input-row" }, index.h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), index.h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
733
|
+
} })), index.h("p", null, index.h("strong", null, "NOTE:"), " Reminders will only be sent for up to 14 days."), index.h("div", { class: "input-row" }, index.h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), index.h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
734
734
|
this.firstReminderDays = e.target.value;
|
735
735
|
this.dirty = true;
|
736
736
|
}, disabled: !this.sendReminders })), index.h("div", { class: "input-row" }, index.h("label", { htmlFor: "verdocs-days-between-reminders" }, "Days Between Reminders"), index.h("verdocs-text-input", { id: "verdocs-days-between-reminders", type: "number", value: this.reminderDays, onInput: (e) => {
|
@@ -100,7 +100,7 @@ const VerdocsTemplateFields = class {
|
|
100
100
|
console.log('[FIELDS] Unable to start builder session, must be authenticated');
|
101
101
|
return;
|
102
102
|
}
|
103
|
-
this.templateStore = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
103
|
+
this.templateStore = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
104
104
|
this.fieldStore = TemplateFieldStore.createTemplateFieldStore(this.templateStore.state);
|
105
105
|
this.selectedRoleName = ((_d = (_c = (_b = (_a = this.templateStore) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.roles) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.name) || '';
|
106
106
|
}
|
@@ -505,7 +505,7 @@ const VerdocsTemplateRoleProperties = class {
|
|
505
505
|
console.log('[ROLE_PROPERTIES] Update result', r);
|
506
506
|
this.saving = false;
|
507
507
|
this.dirty = false;
|
508
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
508
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
509
509
|
// this.sortTemplateRoles();
|
510
510
|
// this.renumberTemplateRoles();
|
511
511
|
// const newRoles = [...this.store.state.roles];
|
@@ -625,7 +625,7 @@ const VerdocsTemplateRoles = class {
|
|
625
625
|
}
|
626
626
|
}
|
627
627
|
async reloadStore() {
|
628
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
628
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
629
629
|
this.sortTemplateRoles();
|
630
630
|
this.renumberTemplateRoles();
|
631
631
|
}
|
@@ -782,7 +782,7 @@ const VerdocsTemplateRoles = class {
|
|
782
782
|
.then(async (r) => {
|
783
783
|
var _a, _b;
|
784
784
|
console.log('[ROLES] Created role', r);
|
785
|
-
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
785
|
+
this.store = await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
786
786
|
this.sortTemplateRoles();
|
787
787
|
this.renumberTemplateRoles();
|
788
788
|
// this.store.state.roles = [...this.store?.state.roles, r];
|
@@ -830,7 +830,7 @@ const VerdocsTemplateRoles = class {
|
|
830
830
|
// this.forceRerender++;
|
831
831
|
}, onDelete: async () => {
|
832
832
|
var _a, _b;
|
833
|
-
await TemplateStore.getTemplateStore(this.endpoint, this.templateId,
|
833
|
+
await TemplateStore.getTemplateStore(this.endpoint, this.templateId, false);
|
834
834
|
this.renumberTemplateRoles();
|
835
835
|
this.showingRoleDialog = null;
|
836
836
|
// this.forceRerender++;
|
@@ -64,7 +64,7 @@ export class VerdocsTemplateAttachments {
|
|
64
64
|
try {
|
65
65
|
const template = await createTemplateDocument(this.endpoint, this.templateId, file, this.handleUploadProgress.bind(this));
|
66
66
|
console.log('[ATTACHMENTS] Created attachment', template);
|
67
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
67
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
68
68
|
console.log('[ATTACHMENTS] Updated template', this.store.state);
|
69
69
|
(_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
70
70
|
this.uploading = false;
|
@@ -87,7 +87,7 @@ export class VerdocsTemplateAttachments {
|
|
87
87
|
}
|
88
88
|
async confirmDelete() {
|
89
89
|
await deleteTemplateDocument(this.endpoint, this.templateId, this.confirmDeleteDocument.id);
|
90
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
90
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
91
91
|
console.log('[ATTACHMENTS] New template', this.store.state);
|
92
92
|
this.confirmDeleteDocument = null;
|
93
93
|
}
|
package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js
CHANGED
@@ -63,7 +63,7 @@ export class VerdocsTemplateFields {
|
|
63
63
|
console.log('[FIELDS] Unable to start builder session, must be authenticated');
|
64
64
|
return;
|
65
65
|
}
|
66
|
-
this.templateStore = await getTemplateStore(this.endpoint, this.templateId,
|
66
|
+
this.templateStore = await getTemplateStore(this.endpoint, this.templateId, false);
|
67
67
|
this.fieldStore = createTemplateFieldStore(this.templateStore.state);
|
68
68
|
this.selectedRoleName = ((_d = (_c = (_b = (_a = this.templateStore) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.roles) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.name) || '';
|
69
69
|
}
|
@@ -33,7 +33,7 @@ export class VerdocsTemplateReminders {
|
|
33
33
|
console.log('[ROLES] Unable to start builder session, must be authenticated');
|
34
34
|
return;
|
35
35
|
}
|
36
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
36
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
37
37
|
this.sendReminders = !!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id);
|
38
38
|
this.dirty = false;
|
39
39
|
}
|
@@ -60,16 +60,16 @@ export class VerdocsTemplateReminders {
|
|
60
60
|
};
|
61
61
|
if (!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id)) {
|
62
62
|
await createReminder(this.endpoint, this.templateId, params);
|
63
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
63
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
64
64
|
}
|
65
65
|
else {
|
66
66
|
await updateReminder(this.endpoint, this.templateId, (_c = this.store) === null || _c === void 0 ? void 0 : _c.state.reminder_id, params);
|
67
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
67
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
68
68
|
}
|
69
69
|
}
|
70
70
|
else {
|
71
71
|
await deleteReminder(this.endpoint, this.templateId, (_d = this.store) === null || _d === void 0 ? void 0 : _d.state.reminder_id);
|
72
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
72
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
73
73
|
}
|
74
74
|
(_e = this.templateUpdated) === null || _e === void 0 ? void 0 : _e.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
75
75
|
}
|
@@ -95,7 +95,7 @@ export class VerdocsTemplateReminders {
|
|
95
95
|
// e.target.checked = false;
|
96
96
|
this.sendReminders = e.target.checked;
|
97
97
|
this.dirty = true;
|
98
|
-
} })), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
98
|
+
} })), h("p", null, h("strong", null, "NOTE:"), " Reminders will only be sent for up to 14 days."), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
99
99
|
this.firstReminderDays = e.target.value;
|
100
100
|
this.dirty = true;
|
101
101
|
}, disabled: !this.sendReminders })), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-days-between-reminders" }, "Days Between Reminders"), h("verdocs-text-input", { id: "verdocs-days-between-reminders", type: "number", value: this.reminderDays, onInput: (e) => {
|
@@ -76,7 +76,7 @@ export class VerdocsTemplateRoleProperties {
|
|
76
76
|
console.log('[ROLE_PROPERTIES] Update result', r);
|
77
77
|
this.saving = false;
|
78
78
|
this.dirty = false;
|
79
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
79
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
80
80
|
// this.sortTemplateRoles();
|
81
81
|
// this.renumberTemplateRoles();
|
82
82
|
// const newRoles = [...this.store.state.roles];
|
package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js
CHANGED
@@ -55,7 +55,7 @@ export class VerdocsTemplateRoles {
|
|
55
55
|
}
|
56
56
|
}
|
57
57
|
async reloadStore() {
|
58
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
58
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
59
59
|
this.sortTemplateRoles();
|
60
60
|
this.renumberTemplateRoles();
|
61
61
|
}
|
@@ -212,7 +212,7 @@ export class VerdocsTemplateRoles {
|
|
212
212
|
.then(async (r) => {
|
213
213
|
var _a, _b;
|
214
214
|
console.log('[ROLES] Created role', r);
|
215
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
215
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
216
216
|
this.sortTemplateRoles();
|
217
217
|
this.renumberTemplateRoles();
|
218
218
|
// this.store.state.roles = [...this.store?.state.roles, r];
|
@@ -260,7 +260,7 @@ export class VerdocsTemplateRoles {
|
|
260
260
|
// this.forceRerender++;
|
261
261
|
}, onDelete: async () => {
|
262
262
|
var _a, _b;
|
263
|
-
await getTemplateStore(this.endpoint, this.templateId,
|
263
|
+
await getTemplateStore(this.endpoint, this.templateId, false);
|
264
264
|
this.renumberTemplateRoles();
|
265
265
|
this.showingRoleDialog = null;
|
266
266
|
// this.forceRerender++;
|
@@ -75,7 +75,7 @@ const VerdocsTemplateAttachments = /*@__PURE__*/ proxyCustomElement(class extend
|
|
75
75
|
try {
|
76
76
|
const template = await createTemplateDocument(this.endpoint, this.templateId, file, this.handleUploadProgress.bind(this));
|
77
77
|
console.log('[ATTACHMENTS] Created attachment', template);
|
78
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
78
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
79
79
|
console.log('[ATTACHMENTS] Updated template', this.store.state);
|
80
80
|
(_a = this.templateUpdated) === null || _a === void 0 ? void 0 : _a.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
81
81
|
this.uploading = false;
|
@@ -98,7 +98,7 @@ const VerdocsTemplateAttachments = /*@__PURE__*/ proxyCustomElement(class extend
|
|
98
98
|
}
|
99
99
|
async confirmDelete() {
|
100
100
|
await deleteTemplateDocument(this.endpoint, this.templateId, this.confirmDeleteDocument.id);
|
101
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
101
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
102
102
|
console.log('[ATTACHMENTS] New template', this.store.state);
|
103
103
|
this.confirmDeleteDocument = null;
|
104
104
|
}
|
@@ -74,7 +74,7 @@ const VerdocsTemplateFields = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
74
74
|
console.log('[FIELDS] Unable to start builder session, must be authenticated');
|
75
75
|
return;
|
76
76
|
}
|
77
|
-
this.templateStore = await getTemplateStore(this.endpoint, this.templateId,
|
77
|
+
this.templateStore = await getTemplateStore(this.endpoint, this.templateId, false);
|
78
78
|
this.fieldStore = createTemplateFieldStore(this.templateStore.state);
|
79
79
|
this.selectedRoleName = ((_d = (_c = (_b = (_a = this.templateStore) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.roles) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.name) || '';
|
80
80
|
}
|
@@ -70,7 +70,7 @@ const VerdocsTemplateReminders = /*@__PURE__*/ proxyCustomElement(class extends
|
|
70
70
|
console.log('[ROLES] Unable to start builder session, must be authenticated');
|
71
71
|
return;
|
72
72
|
}
|
73
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
73
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
74
74
|
this.sendReminders = !!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id);
|
75
75
|
this.dirty = false;
|
76
76
|
}
|
@@ -97,16 +97,16 @@ const VerdocsTemplateReminders = /*@__PURE__*/ proxyCustomElement(class extends
|
|
97
97
|
};
|
98
98
|
if (!((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.reminder_id)) {
|
99
99
|
await createReminder(this.endpoint, this.templateId, params);
|
100
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
100
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
101
101
|
}
|
102
102
|
else {
|
103
103
|
await updateReminder(this.endpoint, this.templateId, (_c = this.store) === null || _c === void 0 ? void 0 : _c.state.reminder_id, params);
|
104
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
104
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
105
105
|
}
|
106
106
|
}
|
107
107
|
else {
|
108
108
|
await deleteReminder(this.endpoint, this.templateId, (_d = this.store) === null || _d === void 0 ? void 0 : _d.state.reminder_id);
|
109
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
109
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
110
110
|
}
|
111
111
|
(_e = this.templateUpdated) === null || _e === void 0 ? void 0 : _e.emit({ endpoint: this.endpoint, template: this.store.state, event: 'attachments' });
|
112
112
|
}
|
@@ -132,7 +132,7 @@ const VerdocsTemplateReminders = /*@__PURE__*/ proxyCustomElement(class extends
|
|
132
132
|
// e.target.checked = false;
|
133
133
|
this.sendReminders = e.target.checked;
|
134
134
|
this.dirty = true;
|
135
|
-
} })), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
135
|
+
} })), h("p", null, h("strong", null, "NOTE:"), " Reminders will only be sent for up to 14 days."), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-first-reminder-days" }, "Days Before First Reminder"), h("verdocs-text-input", { id: "verdocs-first-reminder-days", type: "number", value: this.firstReminderDays, onInput: (e) => {
|
136
136
|
this.firstReminderDays = e.target.value;
|
137
137
|
this.dirty = true;
|
138
138
|
}, disabled: !this.sendReminders })), h("div", { class: "input-row" }, h("label", { htmlFor: "verdocs-days-between-reminders" }, "Days Between Reminders"), h("verdocs-text-input", { id: "verdocs-days-between-reminders", type: "number", value: this.reminderDays, onInput: (e) => {
|
@@ -108,7 +108,7 @@ const VerdocsTemplateRoleProperties = /*@__PURE__*/ proxyCustomElement(class ext
|
|
108
108
|
console.log('[ROLE_PROPERTIES] Update result', r);
|
109
109
|
this.saving = false;
|
110
110
|
this.dirty = false;
|
111
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
111
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
112
112
|
// this.sortTemplateRoles();
|
113
113
|
// this.renumberTemplateRoles();
|
114
114
|
// const newRoles = [...this.store.state.roles];
|
@@ -70,7 +70,7 @@ const VerdocsTemplateRoles = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
70
70
|
}
|
71
71
|
}
|
72
72
|
async reloadStore() {
|
73
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
73
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
74
74
|
this.sortTemplateRoles();
|
75
75
|
this.renumberTemplateRoles();
|
76
76
|
}
|
@@ -227,7 +227,7 @@ const VerdocsTemplateRoles = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
227
227
|
.then(async (r) => {
|
228
228
|
var _a, _b;
|
229
229
|
console.log('[ROLES] Created role', r);
|
230
|
-
this.store = await getTemplateStore(this.endpoint, this.templateId,
|
230
|
+
this.store = await getTemplateStore(this.endpoint, this.templateId, false);
|
231
231
|
this.sortTemplateRoles();
|
232
232
|
this.renumberTemplateRoles();
|
233
233
|
// this.store.state.roles = [...this.store?.state.roles, r];
|
@@ -275,7 +275,7 @@ const VerdocsTemplateRoles = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
275
275
|
// this.forceRerender++;
|
276
276
|
}, onDelete: async () => {
|
277
277
|
var _a, _b;
|
278
|
-
await getTemplateStore(this.endpoint, this.templateId,
|
278
|
+
await getTemplateStore(this.endpoint, this.templateId, false);
|
279
279
|
this.renumberTemplateRoles();
|
280
280
|
this.showingRoleDialog = null;
|
281
281
|
// this.forceRerender++;
|