legalesign-document-viewer-react 0.0.5
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/components.js +288 -0
- package/package.json +51 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
4
|
+
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
5
|
+
import { LsEditorField as LsEditorFieldElement, defineCustomElement as defineLsEditorField } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
6
|
+
import { LsEditorTable as LsEditorTableElement, defineCustomElement as defineLsEditorTable } from "legalesign-document-viewer/dist/components/ls-editor-table.js";
|
|
7
|
+
import { LsFeatureColumn as LsFeatureColumnElement, defineCustomElement as defineLsFeatureColumn } from "legalesign-document-viewer/dist/components/ls-feature-column.js";
|
|
8
|
+
import { LsFieldAlignment as LsFieldAlignmentElement, defineCustomElement as defineLsFieldAlignment } from "legalesign-document-viewer/dist/components/ls-field-alignment.js";
|
|
9
|
+
import { LsFieldDimensions as LsFieldDimensionsElement, defineCustomElement as defineLsFieldDimensions } from "legalesign-document-viewer/dist/components/ls-field-dimensions.js";
|
|
10
|
+
import { LsFieldDistribute as LsFieldDistributeElement, defineCustomElement as defineLsFieldDistribute } from "legalesign-document-viewer/dist/components/ls-field-distribute.js";
|
|
11
|
+
import { LsFieldFormat as LsFieldFormatElement, defineCustomElement as defineLsFieldFormat } from "legalesign-document-viewer/dist/components/ls-field-format.js";
|
|
12
|
+
import { LsFieldPropertiesDate as LsFieldPropertiesDateElement, defineCustomElement as defineLsFieldPropertiesDate } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
|
|
13
|
+
import { LsFieldPropertiesGeneral as LsFieldPropertiesGeneralElement, defineCustomElement as defineLsFieldPropertiesGeneral } from "legalesign-document-viewer/dist/components/ls-field-properties-general.js";
|
|
14
|
+
import { LsFieldPropertiesMultiple as LsFieldPropertiesMultipleElement, defineCustomElement as defineLsFieldPropertiesMultiple } from "legalesign-document-viewer/dist/components/ls-field-properties-multiple.js";
|
|
15
|
+
import { LsFieldPropertiesNumber as LsFieldPropertiesNumberElement, defineCustomElement as defineLsFieldPropertiesNumber } from "legalesign-document-viewer/dist/components/ls-field-properties-number.js";
|
|
16
|
+
import { LsFieldPropertiesSignature as LsFieldPropertiesSignatureElement, defineCustomElement as defineLsFieldPropertiesSignature } from "legalesign-document-viewer/dist/components/ls-field-properties-signature.js";
|
|
17
|
+
import { LsFieldPropertiesText as LsFieldPropertiesTextElement, defineCustomElement as defineLsFieldPropertiesText } from "legalesign-document-viewer/dist/components/ls-field-properties-text.js";
|
|
18
|
+
import { LsFieldProperties as LsFieldPropertiesElement, defineCustomElement as defineLsFieldProperties } from "legalesign-document-viewer/dist/components/ls-field-properties.js";
|
|
19
|
+
import { LsFieldSize as LsFieldSizeElement, defineCustomElement as defineLsFieldSize } from "legalesign-document-viewer/dist/components/ls-field-size.js";
|
|
20
|
+
import { LsFormfield as LsFormfieldElement, defineCustomElement as defineLsFormfield } from "legalesign-document-viewer/dist/components/ls-formfield.js";
|
|
21
|
+
import { LsIcon as LsIconElement, defineCustomElement as defineLsIcon } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
22
|
+
import { LsNumberInput as LsNumberInputElement, defineCustomElement as defineLsNumberInput } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
23
|
+
import { LsParticipantManager as LsParticipantManagerElement, defineCustomElement as defineLsParticipantManager } from "legalesign-document-viewer/dist/components/ls-participant-manager.js";
|
|
24
|
+
import { LsParticipantSelect as LsParticipantSelectElement, defineCustomElement as defineLsParticipantSelect } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
25
|
+
import { LsRadioInput as LsRadioInputElement, defineCustomElement as defineLsRadioInput } from "legalesign-document-viewer/dist/components/ls-radio-input.js";
|
|
26
|
+
import { LsSelectInput as LsSelectInputElement, defineCustomElement as defineLsSelectInput } from "legalesign-document-viewer/dist/components/ls-select-input.js";
|
|
27
|
+
import { LsStatusbar as LsStatusbarElement, defineCustomElement as defineLsStatusbar } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
28
|
+
import { LsTextInput as LsTextInputElement, defineCustomElement as defineLsTextInput } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
29
|
+
import { LsTextareaInput as LsTextareaInputElement, defineCustomElement as defineLsTextareaInput } from "legalesign-document-viewer/dist/components/ls-textarea-input.js";
|
|
30
|
+
import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
31
|
+
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
32
|
+
import React from 'react';
|
|
33
|
+
export const LsDocumentOptions = /*@__PURE__*/ createComponent({
|
|
34
|
+
tagName: 'ls-document-options',
|
|
35
|
+
elementClass: LsDocumentOptionsElement,
|
|
36
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
37
|
+
react: React,
|
|
38
|
+
events: {},
|
|
39
|
+
defineCustomElement: defineLsDocumentOptions
|
|
40
|
+
});
|
|
41
|
+
export const LsDocumentViewer = /*@__PURE__*/ createComponent({
|
|
42
|
+
tagName: 'ls-document-viewer',
|
|
43
|
+
elementClass: LsDocumentViewerElement,
|
|
44
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
45
|
+
react: React,
|
|
46
|
+
events: {
|
|
47
|
+
onPageRendered: 'pageRendered',
|
|
48
|
+
onPageChange: 'pageChange',
|
|
49
|
+
onSelectFields: 'selectFields',
|
|
50
|
+
onMutate: 'mutate',
|
|
51
|
+
onUpdate: 'update'
|
|
52
|
+
},
|
|
53
|
+
defineCustomElement: defineLsDocumentViewer
|
|
54
|
+
});
|
|
55
|
+
export const LsEditorField = /*@__PURE__*/ createComponent({
|
|
56
|
+
tagName: 'ls-editor-field',
|
|
57
|
+
elementClass: LsEditorFieldElement,
|
|
58
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
59
|
+
react: React,
|
|
60
|
+
events: {},
|
|
61
|
+
defineCustomElement: defineLsEditorField
|
|
62
|
+
});
|
|
63
|
+
export const LsEditorTable = /*@__PURE__*/ createComponent({
|
|
64
|
+
tagName: 'ls-editor-table',
|
|
65
|
+
elementClass: LsEditorTableElement,
|
|
66
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
67
|
+
react: React,
|
|
68
|
+
events: {},
|
|
69
|
+
defineCustomElement: defineLsEditorTable
|
|
70
|
+
});
|
|
71
|
+
export const LsFeatureColumn = /*@__PURE__*/ createComponent({
|
|
72
|
+
tagName: 'ls-feature-column',
|
|
73
|
+
elementClass: LsFeatureColumnElement,
|
|
74
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
75
|
+
react: React,
|
|
76
|
+
events: { onManage: 'manage' },
|
|
77
|
+
defineCustomElement: defineLsFeatureColumn
|
|
78
|
+
});
|
|
79
|
+
export const LsFieldAlignment = /*@__PURE__*/ createComponent({
|
|
80
|
+
tagName: 'ls-field-alignment',
|
|
81
|
+
elementClass: LsFieldAlignmentElement,
|
|
82
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
83
|
+
react: React,
|
|
84
|
+
events: {
|
|
85
|
+
onMutate: 'mutate',
|
|
86
|
+
onUpdate: 'update'
|
|
87
|
+
},
|
|
88
|
+
defineCustomElement: defineLsFieldAlignment
|
|
89
|
+
});
|
|
90
|
+
export const LsFieldDimensions = /*@__PURE__*/ createComponent({
|
|
91
|
+
tagName: 'ls-field-dimensions',
|
|
92
|
+
elementClass: LsFieldDimensionsElement,
|
|
93
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
94
|
+
react: React,
|
|
95
|
+
events: {
|
|
96
|
+
onMutate: 'mutate',
|
|
97
|
+
onUpdate: 'update'
|
|
98
|
+
},
|
|
99
|
+
defineCustomElement: defineLsFieldDimensions
|
|
100
|
+
});
|
|
101
|
+
export const LsFieldDistribute = /*@__PURE__*/ createComponent({
|
|
102
|
+
tagName: 'ls-field-distribute',
|
|
103
|
+
elementClass: LsFieldDistributeElement,
|
|
104
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
105
|
+
react: React,
|
|
106
|
+
events: {
|
|
107
|
+
onMutate: 'mutate',
|
|
108
|
+
onUpdate: 'update'
|
|
109
|
+
},
|
|
110
|
+
defineCustomElement: defineLsFieldDistribute
|
|
111
|
+
});
|
|
112
|
+
export const LsFieldFormat = /*@__PURE__*/ createComponent({
|
|
113
|
+
tagName: 'ls-field-format',
|
|
114
|
+
elementClass: LsFieldFormatElement,
|
|
115
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
116
|
+
react: React,
|
|
117
|
+
events: {
|
|
118
|
+
onMutate: 'mutate',
|
|
119
|
+
onUpdate: 'update'
|
|
120
|
+
},
|
|
121
|
+
defineCustomElement: defineLsFieldFormat
|
|
122
|
+
});
|
|
123
|
+
export const LsFieldProperties = /*@__PURE__*/ createComponent({
|
|
124
|
+
tagName: 'ls-field-properties',
|
|
125
|
+
elementClass: LsFieldPropertiesElement,
|
|
126
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
127
|
+
react: React,
|
|
128
|
+
events: {},
|
|
129
|
+
defineCustomElement: defineLsFieldProperties
|
|
130
|
+
});
|
|
131
|
+
export const LsFieldPropertiesDate = /*@__PURE__*/ createComponent({
|
|
132
|
+
tagName: 'ls-field-properties-date',
|
|
133
|
+
elementClass: LsFieldPropertiesDateElement,
|
|
134
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
135
|
+
react: React,
|
|
136
|
+
events: {},
|
|
137
|
+
defineCustomElement: defineLsFieldPropertiesDate
|
|
138
|
+
});
|
|
139
|
+
export const LsFieldPropertiesGeneral = /*@__PURE__*/ createComponent({
|
|
140
|
+
tagName: 'ls-field-properties-general',
|
|
141
|
+
elementClass: LsFieldPropertiesGeneralElement,
|
|
142
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
143
|
+
react: React,
|
|
144
|
+
events: {},
|
|
145
|
+
defineCustomElement: defineLsFieldPropertiesGeneral
|
|
146
|
+
});
|
|
147
|
+
export const LsFieldPropertiesMultiple = /*@__PURE__*/ createComponent({
|
|
148
|
+
tagName: 'ls-field-properties-multiple',
|
|
149
|
+
elementClass: LsFieldPropertiesMultipleElement,
|
|
150
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
151
|
+
react: React,
|
|
152
|
+
events: {},
|
|
153
|
+
defineCustomElement: defineLsFieldPropertiesMultiple
|
|
154
|
+
});
|
|
155
|
+
export const LsFieldPropertiesNumber = /*@__PURE__*/ createComponent({
|
|
156
|
+
tagName: 'ls-field-properties-number',
|
|
157
|
+
elementClass: LsFieldPropertiesNumberElement,
|
|
158
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
159
|
+
react: React,
|
|
160
|
+
events: {},
|
|
161
|
+
defineCustomElement: defineLsFieldPropertiesNumber
|
|
162
|
+
});
|
|
163
|
+
export const LsFieldPropertiesSignature = /*@__PURE__*/ createComponent({
|
|
164
|
+
tagName: 'ls-field-properties-signature',
|
|
165
|
+
elementClass: LsFieldPropertiesSignatureElement,
|
|
166
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
167
|
+
react: React,
|
|
168
|
+
events: {},
|
|
169
|
+
defineCustomElement: defineLsFieldPropertiesSignature
|
|
170
|
+
});
|
|
171
|
+
export const LsFieldPropertiesText = /*@__PURE__*/ createComponent({
|
|
172
|
+
tagName: 'ls-field-properties-text',
|
|
173
|
+
elementClass: LsFieldPropertiesTextElement,
|
|
174
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
175
|
+
react: React,
|
|
176
|
+
events: {},
|
|
177
|
+
defineCustomElement: defineLsFieldPropertiesText
|
|
178
|
+
});
|
|
179
|
+
export const LsFieldSize = /*@__PURE__*/ createComponent({
|
|
180
|
+
tagName: 'ls-field-size',
|
|
181
|
+
elementClass: LsFieldSizeElement,
|
|
182
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
183
|
+
react: React,
|
|
184
|
+
events: {
|
|
185
|
+
onMutate: 'mutate',
|
|
186
|
+
onUpdate: 'update'
|
|
187
|
+
},
|
|
188
|
+
defineCustomElement: defineLsFieldSize
|
|
189
|
+
});
|
|
190
|
+
export const LsFormfield = /*@__PURE__*/ createComponent({
|
|
191
|
+
tagName: 'ls-formfield',
|
|
192
|
+
elementClass: LsFormfieldElement,
|
|
193
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
194
|
+
react: React,
|
|
195
|
+
events: {},
|
|
196
|
+
defineCustomElement: defineLsFormfield
|
|
197
|
+
});
|
|
198
|
+
export const LsIcon = /*@__PURE__*/ createComponent({
|
|
199
|
+
tagName: 'ls-icon',
|
|
200
|
+
elementClass: LsIconElement,
|
|
201
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
202
|
+
react: React,
|
|
203
|
+
events: {},
|
|
204
|
+
defineCustomElement: defineLsIcon
|
|
205
|
+
});
|
|
206
|
+
export const LsNumberInput = /*@__PURE__*/ createComponent({
|
|
207
|
+
tagName: 'ls-number-input',
|
|
208
|
+
elementClass: LsNumberInputElement,
|
|
209
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
210
|
+
react: React,
|
|
211
|
+
events: {},
|
|
212
|
+
defineCustomElement: defineLsNumberInput
|
|
213
|
+
});
|
|
214
|
+
export const LsParticipantManager = /*@__PURE__*/ createComponent({
|
|
215
|
+
tagName: 'ls-participant-manager',
|
|
216
|
+
elementClass: LsParticipantManagerElement,
|
|
217
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
218
|
+
react: React,
|
|
219
|
+
events: {
|
|
220
|
+
onMutate: 'mutate',
|
|
221
|
+
onUpdate: 'update'
|
|
222
|
+
},
|
|
223
|
+
defineCustomElement: defineLsParticipantManager
|
|
224
|
+
});
|
|
225
|
+
export const LsParticipantSelect = /*@__PURE__*/ createComponent({
|
|
226
|
+
tagName: 'ls-participant-select',
|
|
227
|
+
elementClass: LsParticipantSelectElement,
|
|
228
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
229
|
+
react: React,
|
|
230
|
+
events: {},
|
|
231
|
+
defineCustomElement: defineLsParticipantSelect
|
|
232
|
+
});
|
|
233
|
+
export const LsRadioInput = /*@__PURE__*/ createComponent({
|
|
234
|
+
tagName: 'ls-radio-input',
|
|
235
|
+
elementClass: LsRadioInputElement,
|
|
236
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
237
|
+
react: React,
|
|
238
|
+
events: {},
|
|
239
|
+
defineCustomElement: defineLsRadioInput
|
|
240
|
+
});
|
|
241
|
+
export const LsSelectInput = /*@__PURE__*/ createComponent({
|
|
242
|
+
tagName: 'ls-select-input',
|
|
243
|
+
elementClass: LsSelectInputElement,
|
|
244
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
245
|
+
react: React,
|
|
246
|
+
events: {},
|
|
247
|
+
defineCustomElement: defineLsSelectInput
|
|
248
|
+
});
|
|
249
|
+
export const LsStatusbar = /*@__PURE__*/ createComponent({
|
|
250
|
+
tagName: 'ls-statusbar',
|
|
251
|
+
elementClass: LsStatusbarElement,
|
|
252
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
253
|
+
react: React,
|
|
254
|
+
events: {},
|
|
255
|
+
defineCustomElement: defineLsStatusbar
|
|
256
|
+
});
|
|
257
|
+
export const LsTextInput = /*@__PURE__*/ createComponent({
|
|
258
|
+
tagName: 'ls-text-input',
|
|
259
|
+
elementClass: LsTextInputElement,
|
|
260
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
261
|
+
react: React,
|
|
262
|
+
events: {},
|
|
263
|
+
defineCustomElement: defineLsTextInput
|
|
264
|
+
});
|
|
265
|
+
export const LsTextareaInput = /*@__PURE__*/ createComponent({
|
|
266
|
+
tagName: 'ls-textarea-input',
|
|
267
|
+
elementClass: LsTextareaInputElement,
|
|
268
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
269
|
+
react: React,
|
|
270
|
+
events: {},
|
|
271
|
+
defineCustomElement: defineLsTextareaInput
|
|
272
|
+
});
|
|
273
|
+
export const LsToolbar = /*@__PURE__*/ createComponent({
|
|
274
|
+
tagName: 'ls-toolbar',
|
|
275
|
+
elementClass: LsToolbarElement,
|
|
276
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
277
|
+
react: React,
|
|
278
|
+
events: {},
|
|
279
|
+
defineCustomElement: defineLsToolbar
|
|
280
|
+
});
|
|
281
|
+
export const LsToolboxField = /*@__PURE__*/ createComponent({
|
|
282
|
+
tagName: 'ls-toolbox-field',
|
|
283
|
+
elementClass: LsToolboxFieldElement,
|
|
284
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
285
|
+
react: React,
|
|
286
|
+
events: {},
|
|
287
|
+
defineCustomElement: defineLsToolboxField
|
|
288
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "legalesign-document-viewer-react",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"description": "Legalesign React Editor / Viewers",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"stencilJS",
|
|
7
|
+
"React",
|
|
8
|
+
"components",
|
|
9
|
+
"Legalesign",
|
|
10
|
+
"ui"
|
|
11
|
+
],
|
|
12
|
+
"author": "Alex <alex.weinle@legalesign.com>",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"module": "dist/index.js",
|
|
16
|
+
"types": "dist/types/index.d.ts",
|
|
17
|
+
"directories": {
|
|
18
|
+
"lib": "lib"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"import": "./lib/index.js",
|
|
26
|
+
"require": "./lib/index.js"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "npm run tsc",
|
|
31
|
+
"tsc": "tsc -p . --outDir ./dist",
|
|
32
|
+
"getiton": "pnpm install legalesign-document-viewer@latest",
|
|
33
|
+
"publish": "npm publish --scope=public"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@types/react": "^19.1.9",
|
|
40
|
+
"react": "^19.1.1",
|
|
41
|
+
"react-dom": "^19.1.1",
|
|
42
|
+
"typescript": "^5.9.2"
|
|
43
|
+
},
|
|
44
|
+
"overrides": {
|
|
45
|
+
"@tanstack/react-virtual": "3.9.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"legalesign-document-viewer": "^0.0.9",
|
|
49
|
+
"@stencil/react-output-target": "^1.2.0"
|
|
50
|
+
}
|
|
51
|
+
}
|