legalesign-document-viewer 0.0.7
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/LICENSE +21 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/ls-document-options.d.ts +11 -0
- package/dist/components/ls-document-viewer.d.ts +11 -0
- package/dist/components/ls-editor-field.d.ts +11 -0
- package/dist/components/ls-editor-table.d.ts +11 -0
- package/dist/components/ls-feature-column.d.ts +11 -0
- package/dist/components/ls-field-alignment.d.ts +11 -0
- package/dist/components/ls-field-dimensions.d.ts +11 -0
- package/dist/components/ls-field-distribute.d.ts +11 -0
- package/dist/components/ls-field-format.d.ts +11 -0
- package/dist/components/ls-field-properties-date.d.ts +11 -0
- package/dist/components/ls-field-properties-general.d.ts +11 -0
- package/dist/components/ls-field-properties-multiple.d.ts +11 -0
- package/dist/components/ls-field-properties-number.d.ts +11 -0
- package/dist/components/ls-field-properties-signature.d.ts +11 -0
- package/dist/components/ls-field-properties-text.d.ts +11 -0
- package/dist/components/ls-field-properties.d.ts +11 -0
- package/dist/components/ls-field-size.d.ts +11 -0
- package/dist/components/ls-formfield.d.ts +11 -0
- package/dist/components/ls-icon.d.ts +11 -0
- package/dist/components/ls-number-input.d.ts +11 -0
- package/dist/components/ls-participant-manager.d.ts +11 -0
- package/dist/components/ls-participant-select.d.ts +11 -0
- package/dist/components/ls-radio-input.d.ts +11 -0
- package/dist/components/ls-select-input.d.ts +11 -0
- package/dist/components/ls-statusbar.d.ts +11 -0
- package/dist/components/ls-text-input.d.ts +11 -0
- package/dist/components/ls-textarea-input.d.ts +11 -0
- package/dist/components/ls-toolbar.d.ts +11 -0
- package/dist/components/ls-toolbox-field.d.ts +11 -0
- package/dist/ls-document-viewer/clsx-ChV9xqsO.js +6 -0
- package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +1 -0
- package/dist/ls-document-viewer/editorUtils-CFWWEWrJ.js +163 -0
- package/dist/ls-document-viewer/editorUtils-CFWWEWrJ.js.map +1 -0
- package/dist/ls-document-viewer/index-Cjn1MNt-.js +4334 -0
- package/dist/ls-document-viewer/index-Cjn1MNt-.js.map +1 -0
- package/dist/ls-document-viewer/index.esm.js +18 -0
- package/dist/ls-document-viewer/index.esm.js.map +1 -0
- package/dist/ls-document-viewer/loader.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-options.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-options.entry.js +29 -0
- package/dist/ls-document-viewer/ls-document-options.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-viewer.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-viewer.entry.js +46750 -0
- package/dist/ls-document-viewer/ls-document-viewer.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-document-viewer.esm.js +50 -0
- package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-editor-field.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-editor-field.entry.js +120 -0
- package/dist/ls-document-viewer/ls-editor-field.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-editor-table.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-editor-table.entry.js +40 -0
- package/dist/ls-document-viewer/ls-editor-table.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-feature-column.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-feature-column.entry.js +26 -0
- package/dist/ls-document-viewer/ls-feature-column.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-alignment.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-alignment.entry.js +130 -0
- package/dist/ls-document-viewer/ls-field-alignment.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-dimensions.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-dimensions.entry.js +50 -0
- package/dist/ls-document-viewer/ls-field-dimensions.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-distribute.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-distribute.entry.js +100 -0
- package/dist/ls-document-viewer/ls-field-distribute.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-format.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-format.entry.js +41 -0
- package/dist/ls-document-viewer/ls-field-format.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-date.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-date.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-date.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-general.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-general.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-general.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-multiple.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-multiple.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-multiple.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-number.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-number.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-number.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-signature.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-signature.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-signature.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-text.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties-text.entry.js +19 -0
- package/dist/ls-document-viewer/ls-field-properties-text.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-properties.entry.js +39 -0
- package/dist/ls-document-viewer/ls-field-properties.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-size.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-field-size.entry.js +33 -0
- package/dist/ls-document-viewer/ls-field-size.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-formfield.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-formfield.entry.js +59 -0
- package/dist/ls-document-viewer/ls-formfield.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-icon.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-icon.entry.js +11017 -0
- package/dist/ls-document-viewer/ls-icon.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-number-input.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-number-input.entry.js +51 -0
- package/dist/ls-document-viewer/ls-number-input.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-participant-manager.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-participant-manager.entry.js +59 -0
- package/dist/ls-document-viewer/ls-participant-manager.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-participant-select.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-participant-select.entry.js +18 -0
- package/dist/ls-document-viewer/ls-participant-select.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-radio-input.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-radio-input.entry.js +28 -0
- package/dist/ls-document-viewer/ls-radio-input.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-select-input.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-select-input.entry.js +44 -0
- package/dist/ls-document-viewer/ls-select-input.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-statusbar.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-statusbar.entry.js +50 -0
- package/dist/ls-document-viewer/ls-statusbar.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-text-input.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-text-input.entry.js +47 -0
- package/dist/ls-document-viewer/ls-text-input.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-textarea-input.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-textarea-input.entry.js +43 -0
- package/dist/ls-document-viewer/ls-textarea-input.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-toolbar.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-toolbar.entry.js +36 -0
- package/dist/ls-document-viewer/ls-toolbar.entry.js.map +1 -0
- package/dist/ls-document-viewer/ls-toolbox-field.entry.esm.js.map +1 -0
- package/dist/ls-document-viewer/ls-toolbox-field.entry.js +52 -0
- package/dist/ls-document-viewer/ls-toolbox-field.entry.js.map +1 -0
- package/dist/types/components/interfaces/IToolboxField.d.ts +6 -0
- package/dist/types/components/ls-document-options/ls-document-options.d.ts +10 -0
- package/dist/types/components/ls-document-viewer/defaultPalette.d.ts +1 -0
- package/dist/types/components/ls-document-viewer/editorCalculator.d.ts +15 -0
- package/dist/types/components/ls-document-viewer/editorUtils.d.ts +20 -0
- package/dist/types/components/ls-document-viewer/keyHandlers.d.ts +1 -0
- package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +139 -0
- package/dist/types/components/ls-document-viewer/mouseHandlers.d.ts +4 -0
- package/dist/types/components/ls-editor-field/ls-editor-field.d.ts +26 -0
- package/dist/types/components/ls-editor-table/ls-editor-table.d.ts +11 -0
- package/dist/types/components/ls-feature-column/ls-feature-column.d.ts +10 -0
- package/dist/types/components/ls-field-alignment/ls-field-alignment.d.ts +15 -0
- package/dist/types/components/ls-field-dimensions/ls-field-dimensions.d.ts +11 -0
- package/dist/types/components/ls-field-distribute/ls-field-distribute.d.ts +12 -0
- package/dist/types/components/ls-field-format/ls-field-format.d.ts +10 -0
- package/dist/types/components/ls-field-properties/ls-field-properties.d.ts +6 -0
- package/dist/types/components/ls-field-properties-date/ls-field-properties-date.d.ts +5 -0
- package/dist/types/components/ls-field-properties-general/ls-field-properties-general.d.ts +5 -0
- package/dist/types/components/ls-field-properties-multiple/ls-field-properties-multiple.d.ts +5 -0
- package/dist/types/components/ls-field-properties-number/ls-field-properties-number.d.ts +5 -0
- package/dist/types/components/ls-field-properties-signature/ls-field-properties-signature.d.ts +5 -0
- package/dist/types/components/ls-field-properties-text/ls-field-properties-text.d.ts +5 -0
- package/dist/types/components/ls-field-size/ls-field-size.d.ts +9 -0
- package/dist/types/components/ls-formfield/inputs/ls-number-input/ls-number-input.d.ts +21 -0
- package/dist/types/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.d.ts +13 -0
- package/dist/types/components/ls-formfield/inputs/ls-select-input/ls-select-input.d.ts +16 -0
- package/dist/types/components/ls-formfield/inputs/ls-text-input/ls-text-input.d.ts +20 -0
- package/dist/types/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.d.ts +18 -0
- package/dist/types/components/ls-formfield/ls-formfield.d.ts +31 -0
- package/dist/types/components/ls-icon/icons.d.ts +5 -0
- package/dist/types/components/ls-icon/ls-icon.d.ts +13 -0
- package/dist/types/components/ls-participant-manager/ls-participant-manager.d.ts +24 -0
- package/dist/types/components/ls-participant-select/ls-participant-select.d.ts +3 -0
- package/dist/types/components/ls-statusbar/ls-statusbar.d.ts +20 -0
- package/dist/types/components/ls-toolbar/ls-toolbar.d.ts +19 -0
- package/dist/types/components/ls-toolbox-field/ls-toolbox-field.d.ts +23 -0
- package/dist/types/components.d.ts +1145 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +1709 -0
- package/dist/types/types/Icon.d.ts +355 -0
- package/dist/types/types/LSApiElement.d.ts +42 -0
- package/dist/types/types/LSApiElementType.d.ts +14 -0
- package/dist/types/types/LSApiRole.d.ts +11 -0
- package/dist/types/types/LSApiTemplate.d.ts +29 -0
- package/dist/types/types/LSMutateEvent.d.ts +7 -0
- package/dist/types/types/RoleColor.d.ts +4 -0
- package/dist/types/types/ValidationType.d.ts +9 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +59 -0
- package/readme.md +79 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
declare enum IconEnum {
|
|
2
|
+
MailIcon = "mail",
|
|
3
|
+
BellIcon = "bell",
|
|
4
|
+
HomeIcon = "home",
|
|
5
|
+
BriefcaseIcon = "briefcase",
|
|
6
|
+
ShieldCheckIcon = "shield-check",
|
|
7
|
+
ShieldExclamationIcon = "shield-exclamation",
|
|
8
|
+
CogIcon = "cog",
|
|
9
|
+
CheckIcon = "check",
|
|
10
|
+
TranslateIcon = "translate",
|
|
11
|
+
CashIcon = "cash",
|
|
12
|
+
LocationMarkerIcon = "location-marker",
|
|
13
|
+
UserIcon = "user",
|
|
14
|
+
UsersIcon = "users",
|
|
15
|
+
UserGroupIcon = "user-group",
|
|
16
|
+
OfficeBuildingIcon = "office-building",
|
|
17
|
+
ScaleIcon = "scale",
|
|
18
|
+
PencilAltIcon = "pencil-alt",
|
|
19
|
+
PencilIcon = "pencil",
|
|
20
|
+
EyeIcon = "eye",
|
|
21
|
+
BookmarkIcon = "bookmark",
|
|
22
|
+
ColorSwatchIcon = "color-swatch",
|
|
23
|
+
InboxIcon = "inbox",
|
|
24
|
+
InboxInIcon = "inbox-in",
|
|
25
|
+
ArchiveIcon = "archive",
|
|
26
|
+
ClockIcon = "clock",
|
|
27
|
+
PhotographIcon = "photograph",
|
|
28
|
+
TagIcon = "tag",
|
|
29
|
+
PhoneIcon = "phone",
|
|
30
|
+
PhoneIncomingIcon = "phone-incoming",
|
|
31
|
+
PhoneOutgoingIcon = "phone-outgoing",
|
|
32
|
+
MenuIcon = "menu",
|
|
33
|
+
MenuAlt1Icon = "menu-alt-1",
|
|
34
|
+
MenuAlt2Icon = "menu-alt-2",
|
|
35
|
+
MenuAlt3Icon = "menu-alt-3",
|
|
36
|
+
MenuAlt4Icon = "menu-alt-4",
|
|
37
|
+
SwitchVerticalIcon = "switch-vertical",
|
|
38
|
+
SwitchHorizontalIcon = "switch-horizontal",
|
|
39
|
+
XIcon = "x",
|
|
40
|
+
PlusIcon = "plus",
|
|
41
|
+
RefreshIcon = "refresh",
|
|
42
|
+
QuestionMarkCircleIcon = "question-mark-circle",
|
|
43
|
+
ExclamationIcon = "exclamation",
|
|
44
|
+
CloudUploadIcon = "cloud-upload",
|
|
45
|
+
CloudDownloadIcon = "cloud-download",
|
|
46
|
+
ChartPieIcon = "chart-pie",
|
|
47
|
+
DocumentIcon = "document",
|
|
48
|
+
DocumentDownloadIcon = "document-download",
|
|
49
|
+
DocumentAddIcon = "document-add",
|
|
50
|
+
DocumentRemoveIcon = "document-remove",
|
|
51
|
+
CalenderIcon = "calender",
|
|
52
|
+
CameraIcon = "camera",
|
|
53
|
+
GlobeAltIcon = "globe-alt",
|
|
54
|
+
DuplicateIcon = "duplicate",
|
|
55
|
+
ShareIcon = "share",
|
|
56
|
+
HeartIcon = "heart",
|
|
57
|
+
GlobeIcon = "globe",
|
|
58
|
+
VolumeUpIcon = "volume-up",
|
|
59
|
+
VolumeOffIcon = "volume-off",
|
|
60
|
+
AdjustmentsIcon = "adjustments",
|
|
61
|
+
LinkIcon = "link",
|
|
62
|
+
MailOpenIcon = "mail-open",
|
|
63
|
+
DocumentDuplicateIcon = "document-duplicate",
|
|
64
|
+
CreditCardIcon = "credit-card",
|
|
65
|
+
LockClosedIcon = "lock-closed",
|
|
66
|
+
TrendingUpIcon = "trending-up",
|
|
67
|
+
TrendingDownIcon = "trending-down",
|
|
68
|
+
FilterIcon = "filter",
|
|
69
|
+
AtSymbolIcon = "at-symbol",
|
|
70
|
+
TrashIcon = "trash",
|
|
71
|
+
InformationCircleIcon = "information-circle",
|
|
72
|
+
ArrowUpIcon = "arrow-up",
|
|
73
|
+
ArrowRightIcon = "arrow-right",
|
|
74
|
+
ArrowDownIcon = "arrow-down",
|
|
75
|
+
ArrowLeftIcon = "arrow-left",
|
|
76
|
+
ArrowCircleRightIcon = "arrow-circle-right",
|
|
77
|
+
ArrowCircleDownIcon = "arrow-circle-down",
|
|
78
|
+
ArrowCircleLeftIcon = "arrow-circle-left",
|
|
79
|
+
ArrowCircleUpIcon = "arrow-circle-up",
|
|
80
|
+
SortAscendingIcon = "sort-ascending",
|
|
81
|
+
SortDescendingIcon = "sort-descending",
|
|
82
|
+
XCircleIcon = "x-circle",
|
|
83
|
+
CheckCircleIcon = "check-circle",
|
|
84
|
+
ExclamationCircleIcon = "exclamation-circle",
|
|
85
|
+
PlusCircleIcon = "plus-circle",
|
|
86
|
+
MinusCircleIcon = "minus-circle",
|
|
87
|
+
UserCircleIcon = "user-circle",
|
|
88
|
+
ZoomInIcon = "zoom-in",
|
|
89
|
+
ZoomOutIcon = "zoom-out",
|
|
90
|
+
SearchIcon = "search",
|
|
91
|
+
UserAddIcon = "user-add",
|
|
92
|
+
DotsHorizontalIcon = "dots-horizontal",
|
|
93
|
+
DotsVerticalIcon = "dots-vertical",
|
|
94
|
+
UploadIcon = "upload",
|
|
95
|
+
DownloadIcon = "download",
|
|
96
|
+
ViewListIcon = "view-list",
|
|
97
|
+
ViewBoardsIcon = "view-boards",
|
|
98
|
+
PaperClipIcon = "paper-clip",
|
|
99
|
+
EmojiHappyIcon = "emoji-happy",
|
|
100
|
+
EmojiSadIcon = "emoji-sad",
|
|
101
|
+
PrinterIcon = "printer",
|
|
102
|
+
CurrencyDollarIcon = "currency-dollar",
|
|
103
|
+
CurrencyYenIcon = "currency-yen",
|
|
104
|
+
CurrencyEuroIcon = "currency-euro",
|
|
105
|
+
CurrencyPoundIcon = "currency-pound",
|
|
106
|
+
CurrencyRupeeIcon = "currency-rupee",
|
|
107
|
+
ChevronDownIcon = "chevron-down",
|
|
108
|
+
ChevronRightIcon = "chevron-right",
|
|
109
|
+
ChevronUpIcon = "chevron-up",
|
|
110
|
+
ChevronLeftIcon = "chevron-left",
|
|
111
|
+
SelectorIcon = "selector",
|
|
112
|
+
ChatIcon = "chat",
|
|
113
|
+
ReceiptRefundIcon = "receipt-refund",
|
|
114
|
+
TicketIcon = "ticket",
|
|
115
|
+
LockOpenIcon = "lock-open",
|
|
116
|
+
DotsCircleHorizontalIcon = "dots-circle-horizontal",
|
|
117
|
+
HashtagIcon = "hashtag",
|
|
118
|
+
QRCodeIcon = "qrcode",
|
|
119
|
+
ClipboardCheckIcon = "clipboard-check",
|
|
120
|
+
ClipboardListIcon = "clipboard-list",
|
|
121
|
+
ClipboardIcon = "clipboard",
|
|
122
|
+
ExternalLinkIcon = "external-link",
|
|
123
|
+
SunIcon = "sun",
|
|
124
|
+
MoonIcon = "moon",
|
|
125
|
+
ClipboardCopyIcon = "clipboard-copy",
|
|
126
|
+
AnnotationIcon = "annotation",
|
|
127
|
+
FlagIcon = "flag",
|
|
128
|
+
CollectionIcon = "collection",
|
|
129
|
+
BookOpenIcon = "book-open",
|
|
130
|
+
CodeIcon = "code",
|
|
131
|
+
LightningBoltIcon = "lightning-bolt",
|
|
132
|
+
FolderIcon = "folder",
|
|
133
|
+
SparklesIcon = "sparkles",
|
|
134
|
+
UserRemoveIcon = "user-remove",
|
|
135
|
+
ArrowNarrowUpIcon = "arrow-narrow-up",
|
|
136
|
+
ArrowNarrowRightIcon = "arrow-narrow-right",
|
|
137
|
+
ArrowNarrowDownIcon = "arrow-narrow-down",
|
|
138
|
+
ArrowNarrowLeftIcon = "arrow-narrow-left",
|
|
139
|
+
TemplateIcon = "template",
|
|
140
|
+
ReplyIcon = "reply",
|
|
141
|
+
LightBulbIcon = "light-bulb",
|
|
142
|
+
ChatAltIcon = "chat-alt",
|
|
143
|
+
DocumentReportIcon = "document-report",
|
|
144
|
+
LogOutIcon = "logout",
|
|
145
|
+
KeyIcon = "key",
|
|
146
|
+
BanIcon = "ban",
|
|
147
|
+
ShoppingCartIcon = "shopping-cart",
|
|
148
|
+
CursorClickIcon = "cursor-click",
|
|
149
|
+
MicrophoneIcon = "microphone",
|
|
150
|
+
SpeakerphoneIcon = "speakerphone",
|
|
151
|
+
BadgeCheckIcon = "badge-check",
|
|
152
|
+
DesktopComputerIcon = "desktop-computer",
|
|
153
|
+
ChatAlt2Icon = "chat-alt-2",
|
|
154
|
+
SupportIcon = "support",
|
|
155
|
+
NewspaperIcon = "newspaper",
|
|
156
|
+
BookmarkAltIcon = "bookmark-alt",
|
|
157
|
+
ViewGridAddIcon = "view-grid-add",
|
|
158
|
+
LibraryIcon = "library",
|
|
159
|
+
PlayIcon = "play",
|
|
160
|
+
PauseIcon = "pause",
|
|
161
|
+
StopIcon = "stop",
|
|
162
|
+
StarIcon = "star",
|
|
163
|
+
TerminalIcon = "terminal",
|
|
164
|
+
ChartSquareBarIcon = "chart-square-bar",
|
|
165
|
+
EyeOffIcon = "eye-off",
|
|
166
|
+
ChartBarIcon = "chart-bar",
|
|
167
|
+
FireIcon = "fire",
|
|
168
|
+
ShoppingBagIcon = "shopping-bag",
|
|
169
|
+
ThumbUpIcon = "thumb-up",
|
|
170
|
+
ThumbDownIcon = "thumb-down",
|
|
171
|
+
HandIcon = "hand",
|
|
172
|
+
ArrowsExpandIcon = "arrows-expand",
|
|
173
|
+
ViewGridIcon = "view-grid",
|
|
174
|
+
PuzzleIcon = "puzzle",
|
|
175
|
+
FolderDownloadIcon = "folder-download",
|
|
176
|
+
FolderAddIcon = "folder-add",
|
|
177
|
+
FolderRemoveIcon = "folder-remove",
|
|
178
|
+
MapIcon = "map",
|
|
179
|
+
IdentificationIcon = "identification",
|
|
180
|
+
RSSIcon = "rss",
|
|
181
|
+
ScissorsIcon = "scissors",
|
|
182
|
+
MusicNoteIcon = "music-note",
|
|
183
|
+
FilmIcon = "film",
|
|
184
|
+
DatabaseIcon = "database",
|
|
185
|
+
ServerIcon = "server",
|
|
186
|
+
LogInIcon = "login",
|
|
187
|
+
WiFiIcon = "wifi",
|
|
188
|
+
BackspaceIcon = "backspace",
|
|
189
|
+
PaperAirplaneIcon = "paper-airplane",
|
|
190
|
+
DeviceMobileIcon = "device-mobile",
|
|
191
|
+
DeviceTabletIcon = "device-tablet",
|
|
192
|
+
ChevronDoubleRightIcon = "chevron-double-right",
|
|
193
|
+
ChevronDoubleDownIcon = "chevron-double-down",
|
|
194
|
+
ChevronDoubleLeftIcon = "chevron-double-left",
|
|
195
|
+
ChevronDoubleUpIcon = "chevron-double-up",
|
|
196
|
+
FingerPrintIcon = "finger-print",
|
|
197
|
+
CubeIcon = "cube",
|
|
198
|
+
FolderOpenIcon = "folder-open",
|
|
199
|
+
SaveIcon = "save",
|
|
200
|
+
SaveAsIcon = "save-as",
|
|
201
|
+
DocumentTextIcon = "document-text",
|
|
202
|
+
TableIcon = "table",
|
|
203
|
+
CalculatorIcon = "calculator",
|
|
204
|
+
BeakerIcon = "beaker",
|
|
205
|
+
GiftIcon = "gift",
|
|
206
|
+
TruckIcon = "truck",
|
|
207
|
+
CurrencyBangladeshiIcon = "currency-bangladeshi",
|
|
208
|
+
VideoCameraIcon = "video-camera",
|
|
209
|
+
CloudIcon = "cloud",
|
|
210
|
+
CubeTransparentIcon = "cube-transparent",
|
|
211
|
+
CakeIcon = "cake",
|
|
212
|
+
PhoneMissedCallIcon = "phone-missed-call",
|
|
213
|
+
PlusSmIcon = "plus-sm",
|
|
214
|
+
MinusSmIcon = "minus-sm",
|
|
215
|
+
ReceiptTaxIcon = "receipt-tax",
|
|
216
|
+
StatusOnlineIcon = "status-online",
|
|
217
|
+
StatusOfflineIcon = "status-offline",
|
|
218
|
+
PresentationChartLineIcon = "presentation-chart-line",
|
|
219
|
+
PresentationChartBarIcon = "presentation-chart-bar",
|
|
220
|
+
FastForwardIcon = "fast-forward",
|
|
221
|
+
RewindIcon = "rewind",
|
|
222
|
+
ChipIcon = "chip",
|
|
223
|
+
AcademicCapIcon = "academic-cap",
|
|
224
|
+
VariableIcon = "variable",
|
|
225
|
+
DocumentSearchIcon = "document-search",
|
|
226
|
+
SearchCircleIcon = "search-circle",
|
|
227
|
+
MinusIcon = "minus",
|
|
228
|
+
ArrowSmUpIcon = "arrow-sm-up",
|
|
229
|
+
ArrowSmRightIcon = "arrow-sm-right",
|
|
230
|
+
ArrowSmDownIcon = "arrow-sm-down",
|
|
231
|
+
ArrowSmLeftIcon = "arrow-sm-left",
|
|
232
|
+
BaseCircleIcon = "base-circle",
|
|
233
|
+
DragVerticalIcon = "drag-vertical",
|
|
234
|
+
InitialsIcon = "initials",
|
|
235
|
+
TextIcon = "text",
|
|
236
|
+
MenuAlt5Icon = "menu-alt-5",
|
|
237
|
+
TextSizeIcon = "text-size",
|
|
238
|
+
PinIcon = "pin",
|
|
239
|
+
KeyboardIcon = "keyboard",
|
|
240
|
+
MoveVerticalIcon = "move-vertical",
|
|
241
|
+
MoveHorizontalIcon = "move-horizontal",
|
|
242
|
+
RotateLeftIcon = "rotate-left",
|
|
243
|
+
RotateRightIcon = "rotate-right",
|
|
244
|
+
UndoIcon = "undo",
|
|
245
|
+
RedoIcon = "redo",
|
|
246
|
+
DragHorizontalIcon = "drag-horizontal",
|
|
247
|
+
SidePanelCloseLeftIcon = "side-panel-close-left",
|
|
248
|
+
SidePanelCloseRightIcon = "side-panel-close-right",
|
|
249
|
+
SidePanelOpenLeftIcon = "side-panel-open-left",
|
|
250
|
+
SidePanelOpenRightIcon = "side-panel-open-right",
|
|
251
|
+
ContactsIcon = "contacts",
|
|
252
|
+
ArrowUpLinkOutIcon = "arrow-up-link-out",
|
|
253
|
+
DeviceLockIcon = "device-lock",
|
|
254
|
+
AutoDateIcon = "auto-date",
|
|
255
|
+
RevertIcon = "revert",
|
|
256
|
+
GuidesIcon = "guides",
|
|
257
|
+
BulkSendIcon = "bulk-send",
|
|
258
|
+
FieldAlignmentLeftIcon = "field-alignment-left",
|
|
259
|
+
FieldAlignmentCentreIcon = "field-alignment-centre",
|
|
260
|
+
FieldAlignmentRightIcon = "field-alignment-right",
|
|
261
|
+
AccessibilityIcon = "accessibility",
|
|
262
|
+
ArrowsMinimiseIcon = "arrows-minimise",
|
|
263
|
+
DocumentInfoIcon = "document-info",
|
|
264
|
+
DocumentImportFieldsIcon = "document-import-fields",
|
|
265
|
+
DocumentMergeAlt2Icon = "document-merge-alt2",
|
|
266
|
+
DocumentCombineIcon = "document-combine",
|
|
267
|
+
FieldAlignmentTopIcon = "field-alignment-top",
|
|
268
|
+
FieldAlignmentMiddleIcon = "field-alignment-middle",
|
|
269
|
+
FieldAlignmentBottomIcon = "field-alignment-bottom",
|
|
270
|
+
BoxEmptyIcon = "box-empty",
|
|
271
|
+
BoxTickedIcon = "box-ticked",
|
|
272
|
+
BoxCrossedIcon = "box-crossed",
|
|
273
|
+
SortAlphabeticallyAZIcon = "sort-alphabetically-a-z",
|
|
274
|
+
SortAlphabeticallyZAIcon = "sort-alphabetically-z-a",
|
|
275
|
+
LinkedDocumentIcon = "linked-document",
|
|
276
|
+
DocumentReplaceIcon = "document-replace",
|
|
277
|
+
FieldScaleIcon = "field-scale",
|
|
278
|
+
FieldMatchWidthIcon = "field-match-width",
|
|
279
|
+
FieldMatchHeightIcon = "field-match-height",
|
|
280
|
+
RecipientLinkIcon = "recipient-link",
|
|
281
|
+
RecipientLinkBrokenIcon = "recipient-link-broken",
|
|
282
|
+
WitnessArrowIcon = "witness-arrow",
|
|
283
|
+
BranchIcon = "branch",
|
|
284
|
+
VariantIcon = "variant",
|
|
285
|
+
RecipientDetailsCardIcon = "recipient-details-card",
|
|
286
|
+
RecipientDetailsIcon = "recipient-details",
|
|
287
|
+
FieldDistributeVerticallyIcon = "field-distribute-vertically",
|
|
288
|
+
FieldDistributeHorizontallyIcon = "field-distribute-horizontally",
|
|
289
|
+
FieldDuplicateIcon = "field-duplicate",
|
|
290
|
+
PreFilledContentIcon = "pre-filled-content",
|
|
291
|
+
TypingInputIcon = "typing-input",
|
|
292
|
+
TableSplitIcon = "table-split",
|
|
293
|
+
AddColumnLeftIcon = "add-column-left",
|
|
294
|
+
AddColumnRightIcon = "add-column-right",
|
|
295
|
+
RecipientLinksIcon = "recipient-links",
|
|
296
|
+
ListOrderIcon = "list-order",
|
|
297
|
+
FieldScalingOffIcon = "field-scaling-off",
|
|
298
|
+
FitWidthIcon = "fit-width",
|
|
299
|
+
FitHeightIcon = "fit-height",
|
|
300
|
+
TableQuickEditIcon = "table-quick-edit",
|
|
301
|
+
TableColumnsIcon = "table-columns",
|
|
302
|
+
TableRowsIcon = "table-rows",
|
|
303
|
+
ApplyAllRowsIcon = "apply-all-rows",
|
|
304
|
+
PagescrollPreviewIcon = "pagescroll-preview",
|
|
305
|
+
PageInsertVerticalIcon = "page-insert-vertical",
|
|
306
|
+
PageInsertHorizontalIcon = "page-insert-horizontal",
|
|
307
|
+
SignatureIcon = "signature",
|
|
308
|
+
CircleQuarterIcon = "circle-quarter",
|
|
309
|
+
CircleHalfIcon = "circle-half",
|
|
310
|
+
CircleThreeQuarterIcon = "circle-three-quarter",
|
|
311
|
+
TimeSortAscendingIcon = "time-sort-ascending",
|
|
312
|
+
TimeSortDescendingIcon = "time-sort-descending",
|
|
313
|
+
DateSortAscendingIcon = "date-sort-ascending",
|
|
314
|
+
DateSortDescendingIcon = "date-sort-descending",
|
|
315
|
+
SidePanelClosedIcon = "side-panel-closed",
|
|
316
|
+
SidePanelOpenIcon = "side-panel-open",
|
|
317
|
+
DateSentSortAscendingIcon = "date-sent-sort-ascending",
|
|
318
|
+
DateSentSortDescendingIcon = "date-sent-sort-descending",
|
|
319
|
+
SortAlphabeticallyAZAltIcon = "sort-alphabetically-a-z-alt",
|
|
320
|
+
SortAlphabeticallyZAAltIcon = "sort-alphabetically-z-a-alt",
|
|
321
|
+
TemplateSentIcon = "template-sent",
|
|
322
|
+
TemplateNotSentIcon = "template-not-sent",
|
|
323
|
+
GridIcon = "grid",
|
|
324
|
+
LinkedIcon = "linked",
|
|
325
|
+
LinkBrokenIcon = "link-broken",
|
|
326
|
+
UserAssignIcon = "user-assign",
|
|
327
|
+
XLetterIcon = "x-letter",
|
|
328
|
+
YIcon = "y",
|
|
329
|
+
FieldSelectedIcon = "field-selected",
|
|
330
|
+
DesignationIcon = "designation",
|
|
331
|
+
TextAlignmentIcon = "text-alignment",
|
|
332
|
+
FieldPlacementIcon = "field-placement",
|
|
333
|
+
RequiredIcon = "required",
|
|
334
|
+
TypefaceIcon = "typeface",
|
|
335
|
+
PageLayoutIcon = "page-layout",
|
|
336
|
+
FieldSpecialIcon = "field-special",
|
|
337
|
+
LinkValueIcon = "link-value",
|
|
338
|
+
TargetIcon = "target",
|
|
339
|
+
FieldOrderIcon = "field-order",
|
|
340
|
+
DropdownIcon = "dropdown",
|
|
341
|
+
SendArrowIcon = "send-arrow",
|
|
342
|
+
SentProgressIcon = "sent-progress",
|
|
343
|
+
CircleFilledQuarterIcon = "circle-filled-quarter",
|
|
344
|
+
CircleFilledHalfIcon = "circle-filled-half",
|
|
345
|
+
CircleFilledThreeQuarterIcon = "circle-filled-three-quarter",
|
|
346
|
+
DocumentViewedIcon = "document-viewed",
|
|
347
|
+
CollapseIcon = "collapse",
|
|
348
|
+
ExpandIcon = "expand",
|
|
349
|
+
LogoIcon = "logo"
|
|
350
|
+
}
|
|
351
|
+
declare const iconNames: string[];
|
|
352
|
+
type Icon = `${IconEnum}`;
|
|
353
|
+
declare const outlineIcons: string[];
|
|
354
|
+
declare const solidIcons: string[];
|
|
355
|
+
export { Icon, iconNames, IconEnum, outlineIcons, solidIcons };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LSApiRole } from './LSApiRole';
|
|
2
|
+
export type LSApiElement = {
|
|
3
|
+
id: string;
|
|
4
|
+
align: string;
|
|
5
|
+
ax?: number;
|
|
6
|
+
ay?: number;
|
|
7
|
+
bx?: number;
|
|
8
|
+
by?: number;
|
|
9
|
+
left?: number;
|
|
10
|
+
top?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
width?: number;
|
|
13
|
+
elementType: string;
|
|
14
|
+
fieldOrder?: number;
|
|
15
|
+
fontName: string;
|
|
16
|
+
fontSize: number;
|
|
17
|
+
hideBorder?: boolean;
|
|
18
|
+
label?: string;
|
|
19
|
+
labelExtra?: string;
|
|
20
|
+
helpText?: string;
|
|
21
|
+
optional?: boolean;
|
|
22
|
+
options?: string;
|
|
23
|
+
page?: number;
|
|
24
|
+
role?: LSApiRole;
|
|
25
|
+
substantive?: boolean;
|
|
26
|
+
validation?: number;
|
|
27
|
+
value?: string;
|
|
28
|
+
logicGroup?: string;
|
|
29
|
+
logicAction?: number;
|
|
30
|
+
mapTo?: string;
|
|
31
|
+
signer: number;
|
|
32
|
+
link?: string;
|
|
33
|
+
formElementType?: 'text' | 'signature' | 'date' | 'regex' | 'file' | 'number' | 'autodate';
|
|
34
|
+
roleObject?: LSApiRole;
|
|
35
|
+
cstyle?: any;
|
|
36
|
+
divStyle?: any;
|
|
37
|
+
objectHeight?: string;
|
|
38
|
+
pageDimensions?: {
|
|
39
|
+
height: number;
|
|
40
|
+
width: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum LSApiElementType {
|
|
2
|
+
Signature = "signature",
|
|
3
|
+
Initials = "initials",
|
|
4
|
+
SigningDate = "signing date",
|
|
5
|
+
Date = "date",
|
|
6
|
+
Email = "email",
|
|
7
|
+
Text = "text",
|
|
8
|
+
Number = "number",
|
|
9
|
+
Checkbox = "checkbox",
|
|
10
|
+
Dropdown = "dropdown",
|
|
11
|
+
File = "file",
|
|
12
|
+
RegularExpression = "regular expression",
|
|
13
|
+
Draw = "draw"
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type LSApiRoleType = 'SIGNER' | 'APPROVER' | 'WITNESS' | 'SENDER';
|
|
2
|
+
export type LSApiRole = {
|
|
3
|
+
children?: LSApiRole[];
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
roleType: LSApiRoleType;
|
|
7
|
+
signerIndex: number;
|
|
8
|
+
ordinal: number;
|
|
9
|
+
signerParent?: string;
|
|
10
|
+
experience: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LSApiElement } from "./LSApiElement";
|
|
2
|
+
import { LSApiRole } from "./LSApiRole";
|
|
3
|
+
export type LSApiTemplate = {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
pageCount: number;
|
|
7
|
+
fileName: string;
|
|
8
|
+
link: string;
|
|
9
|
+
autoArchive: boolean;
|
|
10
|
+
valid: boolean;
|
|
11
|
+
locked: boolean;
|
|
12
|
+
tags: string[];
|
|
13
|
+
groupId: string;
|
|
14
|
+
roles: LSApiRole[];
|
|
15
|
+
canOpenSign: boolean;
|
|
16
|
+
directLinks: [];
|
|
17
|
+
elementConnection: {
|
|
18
|
+
templateElements: LSApiElement[];
|
|
19
|
+
totalCount: number;
|
|
20
|
+
};
|
|
21
|
+
elements: LSApiElement[];
|
|
22
|
+
createdBy: string;
|
|
23
|
+
created: Date;
|
|
24
|
+
modified: Date;
|
|
25
|
+
lastSent: Date;
|
|
26
|
+
pageDimensionArray: [number, number][];
|
|
27
|
+
pageDimensions: string;
|
|
28
|
+
fixSignatureScale?: boolean;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function format(first?: string, middle?: string, last?: string): string;
|
package/loader/cdn.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from '../dist/types/components';
|
|
2
|
+
export interface CustomElementsDefineOptions {
|
|
3
|
+
exclude?: string[];
|
|
4
|
+
resourcesUrl?: string;
|
|
5
|
+
syncQueue?: boolean;
|
|
6
|
+
jmp?: (c: Function) => any;
|
|
7
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
8
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
15
|
+
export declare function applyPolyfills(): Promise<void>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
19
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
20
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
21
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
22
|
+
* will result in the same behavior.
|
|
23
|
+
*/
|
|
24
|
+
export declare function setNonce(nonce: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/esm/loader.js';
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
2
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "legalesign-document-viewer",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "Legalesign Document Editor/Viewer",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
9
|
+
"collection:main": "dist/collection/index.js",
|
|
10
|
+
"unpkg": "dist/ls-document-viewer/ls-document-viewer.esm.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/ls-document-viewer/ls-document-viewer.esm.js",
|
|
14
|
+
"require": "./dist/ls-document-viewer/ls-document-viewer.cjs.js"
|
|
15
|
+
},
|
|
16
|
+
"./ls-document-viewer": {
|
|
17
|
+
"import": "./dist/components/ls-document-viewer.js",
|
|
18
|
+
"types": "./dist/components/ls-document-viewer.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./loader": {
|
|
21
|
+
"import": "./loader/index.js",
|
|
22
|
+
"require": "./loader/index.cjs",
|
|
23
|
+
"types": "./loader/index.d.ts"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/stenciljs/component-starter.git"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/",
|
|
32
|
+
"loader/"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "stencil build",
|
|
36
|
+
"start": "stencil build --dev --watch --serve",
|
|
37
|
+
"test": "stencil test --spec --e2e",
|
|
38
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
39
|
+
"generate": "stencil generate",
|
|
40
|
+
"publish": "npm publish --scope=public"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@stencil/core": "^4.27.1",
|
|
44
|
+
"@stencil/react-output-target": "^1.2.0",
|
|
45
|
+
"@types/jest": "^29.5.14",
|
|
46
|
+
"@types/node": "^22.13.5",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"jest-cli": "^29.7.0",
|
|
49
|
+
"puppeteer": "^24.3.0",
|
|
50
|
+
"rollup-plugin-node-polyfills": "^0.2.1"
|
|
51
|
+
},
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@jest/transform": "^30.0.5",
|
|
55
|
+
"clsx": "^2.1.1",
|
|
56
|
+
"pdf-lib": "^1.17.1",
|
|
57
|
+
"pdfjs-dist": "2.5.207"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# ls-document-viewer
|
|
2
|
+
This component allows you to edit, preview or customize a Legalesign template in order to
|
|
3
|
+
send a document for signing. It is purely HTML and javascript and platform agnostic.
|
|
4
|
+
|
|
5
|
+
## Linking the Viewer to Data
|
|
6
|
+
In order to use it you'll need to provide three functions:
|
|
7
|
+
|
|
8
|
+
load(): this gets the template information from your backend or a call to the Legalesign GraphQL API
|
|
9
|
+
(see the recommended data below).
|
|
10
|
+
|
|
11
|
+
mutate(): you'll need to provide a function that saves alterations to the template or fields. Again
|
|
12
|
+
this can be calls to the GraphQL API on your platform.
|
|
13
|
+
|
|
14
|
+
## Add Custom Panels
|
|
15
|
+
|
|
16
|
+
TODO
|
|
17
|
+
|
|
18
|
+
## Recommended data
|
|
19
|
+
|
|
20
|
+
Here is the data that should be passed into your component.
|
|
21
|
+
|
|
22
|
+
```graphql
|
|
23
|
+
query GetTemplate {
|
|
24
|
+
template(id: "${id}") {
|
|
25
|
+
id
|
|
26
|
+
title
|
|
27
|
+
fileName
|
|
28
|
+
pageDimensions
|
|
29
|
+
pageCount
|
|
30
|
+
modified
|
|
31
|
+
link
|
|
32
|
+
valid
|
|
33
|
+
locked
|
|
34
|
+
autoArchive
|
|
35
|
+
archived
|
|
36
|
+
tags
|
|
37
|
+
created
|
|
38
|
+
createdBy
|
|
39
|
+
lastSent
|
|
40
|
+
fixSignatureScale
|
|
41
|
+
roles{
|
|
42
|
+
id
|
|
43
|
+
signerIndex
|
|
44
|
+
}
|
|
45
|
+
elementConnection {
|
|
46
|
+
templateElements {
|
|
47
|
+
align
|
|
48
|
+
ax
|
|
49
|
+
ay
|
|
50
|
+
bx
|
|
51
|
+
by
|
|
52
|
+
elementType
|
|
53
|
+
formElementType
|
|
54
|
+
fieldOrder
|
|
55
|
+
fontName
|
|
56
|
+
fontSize
|
|
57
|
+
helpText
|
|
58
|
+
hideBorder
|
|
59
|
+
id
|
|
60
|
+
label
|
|
61
|
+
labelExtra
|
|
62
|
+
logicAction
|
|
63
|
+
logicGroup
|
|
64
|
+
mapTo
|
|
65
|
+
options
|
|
66
|
+
optional
|
|
67
|
+
page
|
|
68
|
+
role
|
|
69
|
+
signer
|
|
70
|
+
substantive
|
|
71
|
+
validation
|
|
72
|
+
value
|
|
73
|
+
}
|
|
74
|
+
totalCount
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|