@verdocs/web-sdk 1.10.1 → 1.10.3
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/Roles-927719de.js +28 -0
- package/dist/cjs/{VerdocsEndpoint-38feb32a.js → VerdocsEndpoint-25056c73.js} +42 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-help-icon_2.cjs.entry.js +11 -8
- package/dist/cjs/verdocs-preview.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +23 -0
- package/dist/cjs/verdocs-search.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-send.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-attachments.cjs.entry.js +53 -0
- package/dist/cjs/verdocs-template-create_2.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-name.cjs.entry.js +2 -3
- package/dist/cjs/verdocs-template-properties.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-template-recipients.cjs.entry.js +159 -136
- package/dist/cjs/verdocs-template-reminders.cjs.entry.js +3 -4
- package/dist/cjs/verdocs-template-role-properties_2.cjs.entry.js +228 -0
- package/dist/cjs/verdocs-template-visibility.cjs.entry.js +3 -4
- package/dist/cjs/verdocs-view.cjs.entry.js +1 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.css +5 -0
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.css +1 -1
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +20 -1
- package/dist/collection/components/elements/verdocs-contact-picker/verdocs-contact-picker.stories.js +1 -1
- package/dist/collection/components/elements/verdocs-envelope-sidebar/verdocs-envelope-sidebar.stories.js +1 -1
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.css +23 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js +137 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.js +19 -0
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.stories.js +2 -3
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.css +3 -2
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.stories.js +4 -4
- package/dist/collection/components/templates/verdocs-template-properties/verdocs-template-properties.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.css +89 -30
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.js +154 -133
- package/dist/collection/components/templates/verdocs-template-recipients/verdocs-template-recipients.stories.js +5 -4
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.css +7 -0
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.js +2 -2
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.js +2 -2
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.css +105 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +303 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.js +13 -0
- package/dist/collection/components/{dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.css → templates/verdocs-template-sender/verdocs-template-sender.css} +11 -11
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +193 -0
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.stories.js +13 -0
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.css +14 -6
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.js +2 -2
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.js +2 -2
- package/dist/components/VerdocsEndpoint.js +43 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +3 -1
- package/dist/components/verdocs-auth.js +8 -3
- package/dist/components/verdocs-build.js +0 -1
- package/dist/components/verdocs-contact-picker2.js +0 -1
- package/dist/components/verdocs-envelope-sidebar.js +0 -1
- package/dist/components/verdocs-field-date.js +8 -2
- package/dist/components/verdocs-field-initial.js +10 -4
- package/dist/components/verdocs-field-signature.js +10 -4
- package/dist/components/verdocs-field-textarea.js +8 -2
- package/dist/components/verdocs-field-textbox.js +8 -2
- package/dist/components/verdocs-field-timestamp.js +8 -2
- package/dist/components/verdocs-help-icon2.js +1 -1
- package/dist/components/verdocs-initial-dialog2.js +8 -2
- package/dist/components/verdocs-preview.js +0 -1
- package/dist/components/verdocs-quick-functions2.js +0 -1
- package/dist/components/verdocs-search-activity2.js +0 -1
- package/dist/components/verdocs-search-box2.js +0 -1
- package/dist/components/verdocs-search.js +0 -1
- package/dist/components/verdocs-select-input2.js +1 -1
- package/dist/components/verdocs-send.js +1 -2
- package/dist/components/verdocs-sign.js +1 -2
- package/dist/components/verdocs-signature-dialog2.js +8 -2
- package/dist/components/verdocs-template-attachments.d.ts +11 -0
- package/dist/components/verdocs-template-attachments.js +73 -0
- package/dist/components/verdocs-template-create2.js +0 -1
- package/dist/components/verdocs-template-fields2.js +0 -1
- package/dist/components/verdocs-template-name.js +9 -4
- package/dist/components/verdocs-template-properties.js +12 -7
- package/dist/components/verdocs-template-recipients.js +186 -137
- package/dist/components/verdocs-template-reminders.js +14 -9
- package/dist/components/verdocs-template-role-properties.d.ts +11 -0
- package/dist/components/verdocs-template-role-properties.js +6 -0
- package/dist/components/verdocs-template-role-properties2.js +229 -0
- package/dist/components/verdocs-template-sender.d.ts +11 -0
- package/dist/components/verdocs-template-sender.js +6 -0
- package/dist/components/verdocs-template-sender2.js +116 -0
- package/dist/components/verdocs-template-visibility.js +2 -3
- package/dist/components/verdocs-text-input2.js +10 -2
- package/dist/components/verdocs-view2.js +0 -1
- package/dist/custom-elements.json +82 -6
- package/dist/docs.json +399 -33
- package/dist/esm/Roles-2488d047.js +24 -0
- package/dist/esm/{VerdocsEndpoint-6df32d3a.js → VerdocsEndpoint-7f17b088.js} +43 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-auth.entry.js +1 -2
- package/dist/esm/verdocs-build.entry.js +1 -2
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +1 -2
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -2
- package/dist/esm/verdocs-help-icon_2.entry.js +11 -8
- package/dist/esm/verdocs-preview.entry.js +1 -2
- package/dist/esm/verdocs-quick-functions_3.entry.js +1 -2
- package/dist/esm/verdocs-radio-button.entry.js +19 -0
- package/dist/esm/verdocs-search.entry.js +1 -2
- package/dist/esm/verdocs-send.entry.js +1 -2
- package/dist/esm/verdocs-sign.entry.js +1 -2
- package/dist/esm/verdocs-template-attachments.entry.js +49 -0
- package/dist/esm/verdocs-template-create_2.entry.js +1 -2
- package/dist/esm/verdocs-template-name.entry.js +2 -3
- package/dist/esm/verdocs-template-properties.entry.js +1 -2
- package/dist/esm/verdocs-template-recipients.entry.js +155 -132
- package/dist/esm/verdocs-template-reminders.entry.js +3 -4
- package/dist/esm/verdocs-template-role-properties_2.entry.js +223 -0
- package/dist/esm/verdocs-template-visibility.entry.js +3 -4
- package/dist/esm/verdocs-view.entry.js +1 -2
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/Roles-2488d047.js +1 -0
- package/dist/esm-es5/VerdocsEndpoint-7f17b088.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-help-icon_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -0
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-send.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-attachments.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-create_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-name.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-properties.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-recipients.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-reminders.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-role-properties_2.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-visibility.entry.js +1 -1
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +4 -0
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.d.ts +29 -0
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.d.ts +7 -0
- package/dist/types/components/templates/verdocs-template-create/verdocs-template-create.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-name/verdocs-template-name.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-properties/verdocs-template-properties.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-recipients/verdocs-template-recipients.d.ts +8 -15
- package/dist/types/components/templates/verdocs-template-recipients/verdocs-template-recipients.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.d.ts +56 -0
- package/dist/types/components/{dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.stories.d.ts → templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.d.ts} +2 -3
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.d.ts +36 -0
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.stories.d.ts +7 -0
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.d.ts +1 -1
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.d.ts +1 -1
- package/dist/types/components.d.ts +144 -18
- package/dist/verdocs-web-sdk/p-0ee57bd9.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-12c732a7.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-130fe919.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-15aef735.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-19849b9e.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-205027db.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2144b8be.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-261dcea1.system.js +1 -0
- package/dist/verdocs-web-sdk/p-26b4ae0d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-285eaf3c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2d4712ea.js +1 -0
- package/dist/verdocs-web-sdk/p-34db97b7.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-37a493a6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3da4b4cb.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-3fbe602a.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4352529d.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-464adbad.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4a1c9aa1.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-50d7e990.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5ee985be.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6121f103.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-45ac2230.system.entry.js → p-61b824ca.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-74e1ae92.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7b111f2b.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7d909ce4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8c53e0ff.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-91539130.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9717a531.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-98aa17a8.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9b854a18.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-9f17b920.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a17a81a3.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a6872a88.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b4fee0ae.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bda7353b.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c16b6ca4.system.js +1 -1
- package/dist/verdocs-web-sdk/p-cd70bb21.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d08fca9c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-d5a95369.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-daedc6c2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-de5c37cd.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-df4f1a5e.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e223553c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-6b205bb5.entry.js → p-ead5322f.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-f3e9be57.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fbc81799.system.js +1 -0
- package/dist/verdocs-web-sdk/p-ffe60abd.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +5 -4
- package/dist/cjs/Types-da57ce69.js +0 -43
- package/dist/cjs/verdocs-template-sender-dialog.cjs.entry.js +0 -43
- package/dist/cjs/verdocs-text-input.cjs.entry.js +0 -25
- package/dist/collection/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.js +0 -114
- package/dist/collection/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.stories.js +0 -46
- package/dist/components/Types.js +0 -43
- package/dist/components/verdocs-template-sender-dialog.d.ts +0 -11
- package/dist/components/verdocs-template-sender-dialog.js +0 -6
- package/dist/components/verdocs-template-sender-dialog2.js +0 -75
- package/dist/esm/Types-ab9f6af8.js +0 -43
- package/dist/esm/verdocs-template-sender-dialog.entry.js +0 -39
- package/dist/esm/verdocs-text-input.entry.js +0 -21
- package/dist/esm-es5/Types-ab9f6af8.js +0 -1
- package/dist/esm-es5/VerdocsEndpoint-6df32d3a.js +0 -1
- package/dist/esm-es5/verdocs-template-sender-dialog.entry.js +0 -1
- package/dist/esm-es5/verdocs-text-input.entry.js +0 -1
- package/dist/types/components/dialogs/verdocs-template-sender-dialog/verdocs-template-sender-dialog.d.ts +0 -26
- package/dist/verdocs-web-sdk/p-069fcbbe.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-09cd92b4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0e06dc54.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-11c26f99.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-17fd7860.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1dc5393d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1f06f0d0.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-266e163c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-26f16c4a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2e4dfdc6.js +0 -1
- package/dist/verdocs-web-sdk/p-34a2538f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-453218bc.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-46bb5543.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4a09c8df.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4edc67af.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5231a690.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-52be34b3.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-54102f3d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5f09d34b.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-619098f5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6f742462.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7abcf805.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7d855960.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-86a8b6ad.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-898b46ce.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8a2dbb48.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8cf35e23.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8d36c969.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8efc9749.js +0 -1
- package/dist/verdocs-web-sdk/p-952b9288.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a0b23dbe.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a39b334f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a4dc6a79.system.js +0 -1
- package/dist/verdocs-web-sdk/p-a7433630.system.js +0 -1
- package/dist/verdocs-web-sdk/p-acfa887e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b505db92.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bdce7b62.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cf8f8562.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d876f216.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e1da9867.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e5ed6342.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e9e83cbb.system.entry.js +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
export default {
|
|
3
|
+
title: 'Templates/Attachments',
|
|
4
|
+
component: 'verdocs-template-attachments',
|
|
5
|
+
args: {
|
|
6
|
+
// templateId: '',
|
|
7
|
+
templateId: '951016b0-c5ef-450d-b628-9a0c5b84b163',
|
|
8
|
+
},
|
|
9
|
+
argTypes: {
|
|
10
|
+
onClose: { action: 'close' },
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export const Attachments = ({ onClose, templateId }) => templateId
|
|
14
|
+
? html `
|
|
15
|
+
<div style="width: 360px; background: #ffffff; padding: 20px; box-sizing: border-box">
|
|
16
|
+
<verdocs-template-attachments .templateId=${templateId} @close=${onClose} />
|
|
17
|
+
</div>
|
|
18
|
+
`
|
|
19
|
+
: html `<img src="https://verdocs-public-assets.s3.amazonaws.com/storybook-placeholders/template-name.png" alt="Placeholder" />`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
export default {
|
|
3
|
-
title: 'Templates/
|
|
3
|
+
title: 'Templates/Create',
|
|
4
4
|
component: 'verdocs-template-create',
|
|
5
5
|
args: {
|
|
6
6
|
templateRole: {
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
contactSelected: { action: 'contactSelected' },
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
|
-
export const
|
|
29
|
+
export const Create = ({ templateRole, contactSuggestions, searchContacts, cancel, contactSelected }) => html `<verdocs-template-create
|
|
30
30
|
.templateRole=${templateRole}
|
|
31
31
|
.contactSuggestions=${contactSuggestions}
|
|
32
32
|
@searchContacts=${searchContacts}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
export default {
|
|
3
|
-
title: 'Templates/
|
|
3
|
+
title: 'Templates/Fields',
|
|
4
4
|
component: 'verdocs-template-fields',
|
|
5
5
|
args: {
|
|
6
6
|
templateId: 'd2338742-f3a1-465b-8592-806587413cc1',
|
|
@@ -13,7 +13,6 @@ export default {
|
|
|
13
13
|
layout: 'fullscreen',
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
export const TemplateFields = ({ templateId, onCancel, onNext }) => html `<div style="height: 600px">
|
|
16
|
+
export const Fields = ({ templateId, onCancel, onNext }) => html `<div style="height: 600px">
|
|
18
17
|
<verdocs-template-fields .templateId=${templateId} @cancel=${onCancel} @next=${onNext} />
|
|
19
18
|
</div>`;
|
package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.css
CHANGED
|
@@ -15,8 +15,9 @@ verdocs-template-name form {
|
|
|
15
15
|
}
|
|
16
16
|
verdocs-template-name form label {
|
|
17
17
|
font-size: 16px;
|
|
18
|
-
font-weight:
|
|
19
|
-
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
color: #4c56cb;
|
|
20
|
+
margin: 0 0 20px 0;
|
|
20
21
|
}
|
|
21
22
|
verdocs-template-name form input {
|
|
22
23
|
border: none;
|
package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.stories.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
export default {
|
|
3
|
-
title: 'Templates/
|
|
3
|
+
title: 'Templates/Name',
|
|
4
4
|
component: 'verdocs-template-name',
|
|
5
5
|
args: {
|
|
6
|
-
templateId: '',
|
|
7
|
-
|
|
6
|
+
// templateId: '',
|
|
7
|
+
templateId: '951016b0-c5ef-450d-b628-9a0c5b84b163',
|
|
8
8
|
},
|
|
9
9
|
argTypes: {
|
|
10
10
|
onClose: { action: 'close' },
|
|
11
11
|
},
|
|
12
12
|
};
|
|
13
|
-
export const
|
|
13
|
+
export const Name = ({ onClose, templateId }) => templateId
|
|
14
14
|
? html `
|
|
15
15
|
<div style="width: 360px; background: #ffffff; padding: 20px; box-sizing: border-box">
|
|
16
16
|
<verdocs-template-name .templateId=${templateId} @close=${onClose} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
export default {
|
|
3
|
-
title: 'Templates/
|
|
3
|
+
title: 'Templates/Properties',
|
|
4
4
|
component: 'verdocs-template-properties',
|
|
5
5
|
args: {
|
|
6
6
|
templateId: '951016b0-c5ef-450d-b628-9a0c5b84b163',
|
|
@@ -10,4 +10,4 @@ export default {
|
|
|
10
10
|
onNext: { action: 'next' },
|
|
11
11
|
},
|
|
12
12
|
};
|
|
13
|
-
export const
|
|
13
|
+
export const Properties = ({ onCancel, onNext, templateId }) => html `<verdocs-template-properties .templateId=${templateId} @cancel=${onCancel} @next=${onNext} />`;
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
verdocs-template-recipients {
|
|
2
|
+
display: block;
|
|
3
|
+
min-width: 400px;
|
|
2
4
|
font-family: "Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
|
|
3
5
|
}
|
|
4
|
-
verdocs-template-recipients form {
|
|
5
|
-
background-color: #ffffff;
|
|
6
|
-
padding: 12px;
|
|
6
|
+
verdocs-template-recipients > form {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
|
+
background-color: #ffffff;
|
|
10
|
+
padding: 12px;
|
|
9
11
|
}
|
|
10
|
-
verdocs-template-recipients form h5 {
|
|
12
|
+
verdocs-template-recipients > form h5 {
|
|
11
13
|
font-size: 16px;
|
|
12
14
|
font-weight: bold;
|
|
13
15
|
color: #4c56cb;
|
|
14
16
|
margin: 0 0 10px 0;
|
|
15
17
|
}
|
|
16
|
-
verdocs-template-recipients form .participants {
|
|
18
|
+
verdocs-template-recipients > form .participants {
|
|
17
19
|
position: relative;
|
|
18
20
|
}
|
|
19
|
-
verdocs-template-recipients form .left-line {
|
|
21
|
+
verdocs-template-recipients > form .left-line {
|
|
20
22
|
top: 32px;
|
|
21
|
-
left:
|
|
23
|
+
left: 11px;
|
|
22
24
|
z-index: 1;
|
|
23
25
|
width: 12px;
|
|
24
26
|
bottom: 30px;
|
|
@@ -26,15 +28,21 @@ verdocs-template-recipients form .left-line {
|
|
|
26
28
|
background: #ffffff;
|
|
27
29
|
border-left: 3px dotted #9b9b9b;
|
|
28
30
|
}
|
|
29
|
-
verdocs-template-recipients form .row {
|
|
31
|
+
verdocs-template-recipients > form .row {
|
|
30
32
|
display: flex;
|
|
31
33
|
column-gap: 0;
|
|
32
|
-
margin-left:
|
|
34
|
+
margin-left: 40px;
|
|
33
35
|
position: relative;
|
|
34
36
|
flex-direction: row;
|
|
35
37
|
padding: 6px 0 4px 0;
|
|
36
38
|
}
|
|
37
|
-
verdocs-template-recipients form .row .
|
|
39
|
+
verdocs-template-recipients > form .row .row-recipients {
|
|
40
|
+
flex: 1;
|
|
41
|
+
display: flex;
|
|
42
|
+
column-gap: 10px;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
}
|
|
45
|
+
verdocs-template-recipients > form .row .icon {
|
|
38
46
|
top: 14px;
|
|
39
47
|
z-index: 2;
|
|
40
48
|
left: -40px;
|
|
@@ -43,10 +51,7 @@ verdocs-template-recipients form .row .icon {
|
|
|
43
51
|
position: absolute;
|
|
44
52
|
background: #ffffff;
|
|
45
53
|
}
|
|
46
|
-
verdocs-template-recipients form .row .
|
|
47
|
-
fill: #00000089;
|
|
48
|
-
}
|
|
49
|
-
verdocs-template-recipients form .row .sender {
|
|
54
|
+
verdocs-template-recipients > form .row .sender {
|
|
50
55
|
height: 30px;
|
|
51
56
|
display: flex;
|
|
52
57
|
font-size: 14px;
|
|
@@ -54,11 +59,10 @@ verdocs-template-recipients form .row .sender {
|
|
|
54
59
|
line-height: 30px;
|
|
55
60
|
flex-direction: row;
|
|
56
61
|
border-radius: 30px;
|
|
57
|
-
|
|
62
|
+
border: 1px solid #c6c9cc;
|
|
58
63
|
background-color: #f5f5fa;
|
|
59
|
-
border: 1px solid #aeb4bf;
|
|
60
64
|
}
|
|
61
|
-
verdocs-template-recipients form .row .complete {
|
|
65
|
+
verdocs-template-recipients > form .row .complete {
|
|
62
66
|
height: 30px;
|
|
63
67
|
display: flex;
|
|
64
68
|
font-size: 14px;
|
|
@@ -66,62 +70,117 @@ verdocs-template-recipients form .row .complete {
|
|
|
66
70
|
line-height: 30px;
|
|
67
71
|
flex-direction: row;
|
|
68
72
|
border-radius: 30px;
|
|
69
|
-
margin: 0 0 0 14px;
|
|
70
73
|
background-color: #f5f5fa;
|
|
71
74
|
border: 1px solid #aeb4bf;
|
|
72
75
|
}
|
|
73
|
-
verdocs-template-recipients form .row .label {
|
|
76
|
+
verdocs-template-recipients > form .row .label {
|
|
74
77
|
font-weight: bold;
|
|
75
78
|
margin-right: 6px;
|
|
76
79
|
color: #33364b;
|
|
77
80
|
}
|
|
78
|
-
verdocs-template-recipients form .row .settings-button {
|
|
81
|
+
verdocs-template-recipients > form .row .settings-button {
|
|
79
82
|
margin: 4px 0 0 9px;
|
|
80
83
|
cursor: pointer;
|
|
81
84
|
}
|
|
82
|
-
verdocs-template-recipients form .row .recipient {
|
|
85
|
+
verdocs-template-recipients > form .row .recipient {
|
|
83
86
|
height: 30px;
|
|
84
87
|
display: flex;
|
|
85
88
|
font-size: 14px;
|
|
86
89
|
line-height: 30px;
|
|
87
90
|
border-radius: 30px;
|
|
88
91
|
flex-direction: row;
|
|
89
|
-
padding: 0 5px 0
|
|
92
|
+
padding: 0 5px 0 6px;
|
|
93
|
+
white-space: nowrap;
|
|
90
94
|
border: 1px solid #aeb4bf;
|
|
91
95
|
}
|
|
92
|
-
verdocs-template-recipients form .row .
|
|
96
|
+
verdocs-template-recipients > form .row .recipient .type-icon {
|
|
97
|
+
width: 24px;
|
|
98
|
+
height: 24px;
|
|
99
|
+
transform: scale(0.8);
|
|
100
|
+
opacity: 0.6;
|
|
101
|
+
margin: 4px 12px 0 0;
|
|
102
|
+
}
|
|
103
|
+
verdocs-template-recipients > form .row .recipient.dragging {
|
|
104
|
+
position: absolute;
|
|
105
|
+
}
|
|
106
|
+
verdocs-template-recipients > form .row .recipient.dragging + .dropzone {
|
|
107
|
+
display: none !important;
|
|
108
|
+
}
|
|
109
|
+
verdocs-template-recipients > form .row .dropzone {
|
|
93
110
|
width: 14px;
|
|
94
111
|
height: 30px;
|
|
112
|
+
display: none;
|
|
95
113
|
}
|
|
96
|
-
verdocs-template-recipients form .row .dropzone svg {
|
|
114
|
+
verdocs-template-recipients > form .row .dropzone svg {
|
|
97
115
|
fill: #cccccc;
|
|
98
116
|
}
|
|
99
|
-
verdocs-template-recipients form .row .dropzone.visible {
|
|
117
|
+
verdocs-template-recipients > form .row .dropzone.visible {
|
|
100
118
|
margin: 0 7px;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex: 0 0 14px;
|
|
101
121
|
}
|
|
102
|
-
verdocs-template-recipients form .row .dropzone.active {
|
|
103
|
-
|
|
122
|
+
verdocs-template-recipients > form .row .dropzone.active {
|
|
123
|
+
flex: 0 0 120px;
|
|
104
124
|
border-radius: 30px;
|
|
105
125
|
background: #654dcb7f;
|
|
106
126
|
border: 1px dashed #654dcb;
|
|
107
127
|
}
|
|
108
|
-
verdocs-template-recipients form label {
|
|
128
|
+
verdocs-template-recipients > form label {
|
|
109
129
|
display: block;
|
|
110
130
|
font-size: 14px;
|
|
111
131
|
font-weight: 500;
|
|
112
132
|
margin: 0 0 4px 0;
|
|
113
133
|
color: #5c6575;
|
|
114
134
|
}
|
|
115
|
-
verdocs-template-recipients form input {
|
|
135
|
+
verdocs-template-recipients > form input {
|
|
116
136
|
border: none;
|
|
117
137
|
font-size: 18px;
|
|
118
138
|
padding: 3px 6px 3px 0;
|
|
119
139
|
background: transparent;
|
|
120
140
|
border-bottom: 1px solid #33364b;
|
|
121
141
|
}
|
|
122
|
-
verdocs-template-recipients form input:focus {
|
|
142
|
+
verdocs-template-recipients > form input:focus {
|
|
123
143
|
outline: none;
|
|
124
144
|
}
|
|
145
|
+
verdocs-template-recipients .row.add-sequence {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
verdocs-template-recipients .add-role {
|
|
149
|
+
margin: 0;
|
|
150
|
+
padding: 0;
|
|
151
|
+
border: none;
|
|
152
|
+
opacity: 0.5;
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
background: none;
|
|
155
|
+
}
|
|
156
|
+
verdocs-template-recipients .add-role:hover {
|
|
157
|
+
opacity: 1;
|
|
158
|
+
}
|
|
159
|
+
verdocs-template-recipients .add-role svg {
|
|
160
|
+
width: 32px;
|
|
161
|
+
height: 32px;
|
|
162
|
+
}
|
|
163
|
+
verdocs-template-recipients.dragging .add-role {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
verdocs-template-recipients.dragging form .row .recipient + .dropzone {
|
|
167
|
+
display: flex;
|
|
168
|
+
}
|
|
169
|
+
verdocs-template-recipients.dragging .row.add-sequence {
|
|
170
|
+
display: flex;
|
|
171
|
+
}
|
|
172
|
+
verdocs-template-recipients.dragging .row.add-sequence .dropzone {
|
|
173
|
+
opacity: 0.5;
|
|
174
|
+
flex: 0 0 120px;
|
|
175
|
+
border-radius: 30px;
|
|
176
|
+
align-items: center;
|
|
177
|
+
background: #654dcb7f;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
border: 1px dashed #654dcb;
|
|
180
|
+
}
|
|
181
|
+
verdocs-template-recipients.dragging .row.add-sequence .dropzone.active {
|
|
182
|
+
opacity: 1;
|
|
183
|
+
}
|
|
125
184
|
verdocs-template-recipients .buttons {
|
|
126
185
|
display: flex;
|
|
127
186
|
column-gap: 8px;
|