legalesign-document-viewer-react 0.2.9 → 0.2.11
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.
|
@@ -31,6 +31,7 @@ import { LsFormfield as LsFormfieldElement, defineCustomElement as defineLsFormf
|
|
|
31
31
|
import { LsIcon as LsIconElement, defineCustomElement as defineLsIcon } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
32
32
|
import { LsInputWrapper as LsInputWrapperElement, defineCustomElement as defineLsInputWrapper } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
33
33
|
import { LsNumberInput as LsNumberInputElement, defineCustomElement as defineLsNumberInput } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
34
|
+
import { LsParticipantCard as LsParticipantCardElement, defineCustomElement as defineLsParticipantCard } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
34
35
|
import { LsParticipantManager as LsParticipantManagerElement, defineCustomElement as defineLsParticipantManager } from "legalesign-document-viewer/dist/components/ls-participant-manager.js";
|
|
35
36
|
import { LsParticipantSelect as LsParticipantSelectElement, defineCustomElement as defineLsParticipantSelect } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
36
37
|
import { LsPropsSection as LsPropsSectionElement, defineCustomElement as defineLsPropsSection } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
@@ -48,7 +49,10 @@ export const LsDocumentOptions = /*@__PURE__*/ createComponent({
|
|
|
48
49
|
elementClass: LsDocumentOptionsElement,
|
|
49
50
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
50
51
|
react: React,
|
|
51
|
-
events: {
|
|
52
|
+
events: {
|
|
53
|
+
onMutate: 'mutate',
|
|
54
|
+
onUpdate: 'update'
|
|
55
|
+
},
|
|
52
56
|
defineCustomElement: defineLsDocumentOptions
|
|
53
57
|
});
|
|
54
58
|
export const LsDocumentViewer = /*@__PURE__*/ createComponent({
|
|
@@ -105,7 +109,10 @@ export const LsFieldContent = /*@__PURE__*/ createComponent({
|
|
|
105
109
|
elementClass: LsFieldContentElement,
|
|
106
110
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
107
111
|
react: React,
|
|
108
|
-
events: {
|
|
112
|
+
events: {
|
|
113
|
+
onMutate: 'mutate',
|
|
114
|
+
onUpdate: 'update'
|
|
115
|
+
},
|
|
109
116
|
defineCustomElement: defineLsFieldContent
|
|
110
117
|
});
|
|
111
118
|
export const LsFieldDimensions = /*@__PURE__*/ createComponent({
|
|
@@ -294,7 +301,7 @@ export const LsFormfield = /*@__PURE__*/ createComponent({
|
|
|
294
301
|
elementClass: LsFormfieldElement,
|
|
295
302
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
296
303
|
react: React,
|
|
297
|
-
events: {},
|
|
304
|
+
events: { onValueChange: 'valueChange' },
|
|
298
305
|
defineCustomElement: defineLsFormfield
|
|
299
306
|
});
|
|
300
307
|
export const LsIcon = /*@__PURE__*/ createComponent({
|
|
@@ -321,6 +328,17 @@ export const LsNumberInput = /*@__PURE__*/ createComponent({
|
|
|
321
328
|
events: {},
|
|
322
329
|
defineCustomElement: defineLsNumberInput
|
|
323
330
|
});
|
|
331
|
+
export const LsParticipantCard = /*@__PURE__*/ createComponent({
|
|
332
|
+
tagName: 'ls-participant-card',
|
|
333
|
+
elementClass: LsParticipantCardElement,
|
|
334
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
335
|
+
react: React,
|
|
336
|
+
events: {
|
|
337
|
+
onMutate: 'mutate',
|
|
338
|
+
onUpdate: 'update'
|
|
339
|
+
},
|
|
340
|
+
defineCustomElement: defineLsParticipantCard
|
|
341
|
+
});
|
|
324
342
|
export const LsParticipantManager = /*@__PURE__*/ createComponent({
|
|
325
343
|
tagName: 'ls-participant-manager',
|
|
326
344
|
elementClass: LsParticipantManagerElement,
|
|
@@ -381,7 +399,7 @@ export const LsTextInput = /*@__PURE__*/ createComponent({
|
|
|
381
399
|
elementClass: LsTextInputElement,
|
|
382
400
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
383
401
|
react: React,
|
|
384
|
-
events: {},
|
|
402
|
+
events: { onValueChange: 'valueChange' },
|
|
385
403
|
defineCustomElement: defineLsTextInput
|
|
386
404
|
});
|
|
387
405
|
export const LsTextareaInput = /*@__PURE__*/ createComponent({
|
|
@@ -397,7 +415,7 @@ export const LsToggle = /*@__PURE__*/ createComponent({
|
|
|
397
415
|
elementClass: LsToggleElement,
|
|
398
416
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
399
417
|
react: React,
|
|
400
|
-
events: {},
|
|
418
|
+
events: { onValueChange: 'valueChange' },
|
|
401
419
|
defineCustomElement: defineLsToggle
|
|
402
420
|
});
|
|
403
421
|
export const LsToolbar = /*@__PURE__*/ createComponent({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
4
|
*/
|
|
5
5
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
-
import { type LSApiElement, type LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
6
|
+
import { type LSApiElement, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
7
7
|
import { LsDocumentOptions as LsDocumentOptionsElement } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
8
8
|
import { LsDocumentViewer as LsDocumentViewerElement } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
9
9
|
import { LsEditorField as LsEditorFieldElement } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
@@ -35,6 +35,7 @@ import { LsFormfield as LsFormfieldElement } from "legalesign-document-viewer/di
|
|
|
35
35
|
import { LsIcon as LsIconElement } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
36
36
|
import { LsInputWrapper as LsInputWrapperElement } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
37
37
|
import { LsNumberInput as LsNumberInputElement } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
38
|
+
import { LsParticipantCard as LsParticipantCardElement } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
38
39
|
import { LsParticipantManager as LsParticipantManagerElement } from "legalesign-document-viewer/dist/components/ls-participant-manager.js";
|
|
39
40
|
import { LsParticipantSelect as LsParticipantSelectElement } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
40
41
|
import { LsPropsSection as LsPropsSectionElement } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
@@ -46,7 +47,10 @@ import { LsTextareaInput as LsTextareaInputElement } from "legalesign-document-v
|
|
|
46
47
|
import { LsToggle as LsToggleElement } from "legalesign-document-viewer/dist/components/ls-toggle.js";
|
|
47
48
|
import { LsToolbar as LsToolbarElement } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
48
49
|
import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
49
|
-
export type LsDocumentOptionsEvents =
|
|
50
|
+
export type LsDocumentOptionsEvents = {
|
|
51
|
+
onMutate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
|
|
52
|
+
onUpdate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
|
|
53
|
+
};
|
|
50
54
|
export declare const LsDocumentOptions: StencilReactComponent<LsDocumentOptionsElement, LsDocumentOptionsEvents>;
|
|
51
55
|
export type LsDocumentViewerEvents = {
|
|
52
56
|
onPageRendered: EventName<CustomEvent<number>>;
|
|
@@ -69,7 +73,10 @@ export type LsFieldAlignmentEvents = {
|
|
|
69
73
|
onUpdate: EventName<LsFieldAlignmentCustomEvent<LSMutateEvent[]>>;
|
|
70
74
|
};
|
|
71
75
|
export declare const LsFieldAlignment: StencilReactComponent<LsFieldAlignmentElement, LsFieldAlignmentEvents>;
|
|
72
|
-
export type LsFieldContentEvents =
|
|
76
|
+
export type LsFieldContentEvents = {
|
|
77
|
+
onMutate: EventName<LsFieldContentCustomEvent<LSMutateEvent[]>>;
|
|
78
|
+
onUpdate: EventName<LsFieldContentCustomEvent<LSMutateEvent[]>>;
|
|
79
|
+
};
|
|
73
80
|
export declare const LsFieldContent: StencilReactComponent<LsFieldContentElement, LsFieldContentEvents>;
|
|
74
81
|
export type LsFieldDimensionsEvents = {
|
|
75
82
|
onMutate: EventName<LsFieldDimensionsCustomEvent<LSMutateEvent[]>>;
|
|
@@ -132,7 +139,9 @@ export type LsFieldSizeEvents = {
|
|
|
132
139
|
export declare const LsFieldSize: StencilReactComponent<LsFieldSizeElement, LsFieldSizeEvents>;
|
|
133
140
|
export type LsFieldTypeDisplayEvents = NonNullable<unknown>;
|
|
134
141
|
export declare const LsFieldTypeDisplay: StencilReactComponent<LsFieldTypeDisplayElement, LsFieldTypeDisplayEvents>;
|
|
135
|
-
export type LsFormfieldEvents =
|
|
142
|
+
export type LsFormfieldEvents = {
|
|
143
|
+
onValueChange: EventName<CustomEvent<string>>;
|
|
144
|
+
};
|
|
136
145
|
export declare const LsFormfield: StencilReactComponent<LsFormfieldElement, LsFormfieldEvents>;
|
|
137
146
|
export type LsIconEvents = NonNullable<unknown>;
|
|
138
147
|
export declare const LsIcon: StencilReactComponent<LsIconElement, LsIconEvents>;
|
|
@@ -140,6 +149,11 @@ export type LsInputWrapperEvents = NonNullable<unknown>;
|
|
|
140
149
|
export declare const LsInputWrapper: StencilReactComponent<LsInputWrapperElement, LsInputWrapperEvents>;
|
|
141
150
|
export type LsNumberInputEvents = NonNullable<unknown>;
|
|
142
151
|
export declare const LsNumberInput: StencilReactComponent<LsNumberInputElement, LsNumberInputEvents>;
|
|
152
|
+
export type LsParticipantCardEvents = {
|
|
153
|
+
onMutate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>;
|
|
154
|
+
onUpdate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>;
|
|
155
|
+
};
|
|
156
|
+
export declare const LsParticipantCard: StencilReactComponent<LsParticipantCardElement, LsParticipantCardEvents>;
|
|
143
157
|
export type LsParticipantManagerEvents = {
|
|
144
158
|
onMutate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>;
|
|
145
159
|
onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>;
|
|
@@ -159,11 +173,15 @@ export type LsSelectInputEvents = NonNullable<unknown>;
|
|
|
159
173
|
export declare const LsSelectInput: StencilReactComponent<LsSelectInputElement, LsSelectInputEvents>;
|
|
160
174
|
export type LsStatusbarEvents = NonNullable<unknown>;
|
|
161
175
|
export declare const LsStatusbar: StencilReactComponent<LsStatusbarElement, LsStatusbarEvents>;
|
|
162
|
-
export type LsTextInputEvents =
|
|
176
|
+
export type LsTextInputEvents = {
|
|
177
|
+
onValueChange: EventName<CustomEvent<string>>;
|
|
178
|
+
};
|
|
163
179
|
export declare const LsTextInput: StencilReactComponent<LsTextInputElement, LsTextInputEvents>;
|
|
164
180
|
export type LsTextareaInputEvents = NonNullable<unknown>;
|
|
165
181
|
export declare const LsTextareaInput: StencilReactComponent<LsTextareaInputElement, LsTextareaInputEvents>;
|
|
166
|
-
export type LsToggleEvents =
|
|
182
|
+
export type LsToggleEvents = {
|
|
183
|
+
onValueChange: EventName<CustomEvent<boolean>>;
|
|
184
|
+
};
|
|
167
185
|
export declare const LsToggle: StencilReactComponent<LsToggleElement, LsToggleEvents>;
|
|
168
186
|
export type LsToolbarEvents = {
|
|
169
187
|
onMutate: EventName<LsToolbarCustomEvent<LSMutateEvent[]>>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
11
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
-
import { type LSApiElement, type LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
12
|
+
import { type LSApiElement, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
13
13
|
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
14
14
|
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
15
15
|
import { LsEditorField as LsEditorFieldElement, defineCustomElement as defineLsEditorField } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
@@ -41,6 +41,7 @@ import { LsFormfield as LsFormfieldElement, defineCustomElement as defineLsFormf
|
|
|
41
41
|
import { LsIcon as LsIconElement, defineCustomElement as defineLsIcon } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
42
42
|
import { LsInputWrapper as LsInputWrapperElement, defineCustomElement as defineLsInputWrapper } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
43
43
|
import { LsNumberInput as LsNumberInputElement, defineCustomElement as defineLsNumberInput } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
44
|
+
import { LsParticipantCard as LsParticipantCardElement, defineCustomElement as defineLsParticipantCard } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
44
45
|
import { LsParticipantManager as LsParticipantManagerElement, defineCustomElement as defineLsParticipantManager } from "legalesign-document-viewer/dist/components/ls-participant-manager.js";
|
|
45
46
|
import { LsParticipantSelect as LsParticipantSelectElement, defineCustomElement as defineLsParticipantSelect } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
46
47
|
import { LsPropsSection as LsPropsSectionElement, defineCustomElement as defineLsPropsSection } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
@@ -54,14 +55,20 @@ import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar }
|
|
|
54
55
|
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
55
56
|
import React from 'react';
|
|
56
57
|
|
|
57
|
-
export type LsDocumentOptionsEvents =
|
|
58
|
+
export type LsDocumentOptionsEvents = {
|
|
59
|
+
onMutate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>,
|
|
60
|
+
onUpdate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>
|
|
61
|
+
};
|
|
58
62
|
|
|
59
63
|
export const LsDocumentOptions: StencilReactComponent<LsDocumentOptionsElement, LsDocumentOptionsEvents> = /*@__PURE__*/ createComponent<LsDocumentOptionsElement, LsDocumentOptionsEvents>({
|
|
60
64
|
tagName: 'ls-document-options',
|
|
61
65
|
elementClass: LsDocumentOptionsElement,
|
|
62
66
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
63
67
|
react: React,
|
|
64
|
-
events: {
|
|
68
|
+
events: {
|
|
69
|
+
onMutate: 'mutate',
|
|
70
|
+
onUpdate: 'update'
|
|
71
|
+
} as LsDocumentOptionsEvents,
|
|
65
72
|
defineCustomElement: defineLsDocumentOptions
|
|
66
73
|
});
|
|
67
74
|
|
|
@@ -138,14 +145,20 @@ export const LsFieldAlignment: StencilReactComponent<LsFieldAlignmentElement, Ls
|
|
|
138
145
|
defineCustomElement: defineLsFieldAlignment
|
|
139
146
|
});
|
|
140
147
|
|
|
141
|
-
export type LsFieldContentEvents =
|
|
148
|
+
export type LsFieldContentEvents = {
|
|
149
|
+
onMutate: EventName<LsFieldContentCustomEvent<LSMutateEvent[]>>,
|
|
150
|
+
onUpdate: EventName<LsFieldContentCustomEvent<LSMutateEvent[]>>
|
|
151
|
+
};
|
|
142
152
|
|
|
143
153
|
export const LsFieldContent: StencilReactComponent<LsFieldContentElement, LsFieldContentEvents> = /*@__PURE__*/ createComponent<LsFieldContentElement, LsFieldContentEvents>({
|
|
144
154
|
tagName: 'ls-field-content',
|
|
145
155
|
elementClass: LsFieldContentElement,
|
|
146
156
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
147
157
|
react: React,
|
|
148
|
-
events: {
|
|
158
|
+
events: {
|
|
159
|
+
onMutate: 'mutate',
|
|
160
|
+
onUpdate: 'update'
|
|
161
|
+
} as LsFieldContentEvents,
|
|
149
162
|
defineCustomElement: defineLsFieldContent
|
|
150
163
|
});
|
|
151
164
|
|
|
@@ -411,14 +424,14 @@ export const LsFieldTypeDisplay: StencilReactComponent<LsFieldTypeDisplayElement
|
|
|
411
424
|
defineCustomElement: defineLsFieldTypeDisplay
|
|
412
425
|
});
|
|
413
426
|
|
|
414
|
-
export type LsFormfieldEvents =
|
|
427
|
+
export type LsFormfieldEvents = { onValueChange: EventName<CustomEvent<string>> };
|
|
415
428
|
|
|
416
429
|
export const LsFormfield: StencilReactComponent<LsFormfieldElement, LsFormfieldEvents> = /*@__PURE__*/ createComponent<LsFormfieldElement, LsFormfieldEvents>({
|
|
417
430
|
tagName: 'ls-formfield',
|
|
418
431
|
elementClass: LsFormfieldElement,
|
|
419
432
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
420
433
|
react: React,
|
|
421
|
-
events: {} as LsFormfieldEvents,
|
|
434
|
+
events: { onValueChange: 'valueChange' } as LsFormfieldEvents,
|
|
422
435
|
defineCustomElement: defineLsFormfield
|
|
423
436
|
});
|
|
424
437
|
|
|
@@ -455,6 +468,23 @@ export const LsNumberInput: StencilReactComponent<LsNumberInputElement, LsNumber
|
|
|
455
468
|
defineCustomElement: defineLsNumberInput
|
|
456
469
|
});
|
|
457
470
|
|
|
471
|
+
export type LsParticipantCardEvents = {
|
|
472
|
+
onMutate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>,
|
|
473
|
+
onUpdate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
export const LsParticipantCard: StencilReactComponent<LsParticipantCardElement, LsParticipantCardEvents> = /*@__PURE__*/ createComponent<LsParticipantCardElement, LsParticipantCardEvents>({
|
|
477
|
+
tagName: 'ls-participant-card',
|
|
478
|
+
elementClass: LsParticipantCardElement,
|
|
479
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
480
|
+
react: React,
|
|
481
|
+
events: {
|
|
482
|
+
onMutate: 'mutate',
|
|
483
|
+
onUpdate: 'update'
|
|
484
|
+
} as LsParticipantCardEvents,
|
|
485
|
+
defineCustomElement: defineLsParticipantCard
|
|
486
|
+
});
|
|
487
|
+
|
|
458
488
|
export type LsParticipantManagerEvents = {
|
|
459
489
|
onMutate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>,
|
|
460
490
|
onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>
|
|
@@ -535,14 +565,14 @@ export const LsStatusbar: StencilReactComponent<LsStatusbarElement, LsStatusbarE
|
|
|
535
565
|
defineCustomElement: defineLsStatusbar
|
|
536
566
|
});
|
|
537
567
|
|
|
538
|
-
export type LsTextInputEvents =
|
|
568
|
+
export type LsTextInputEvents = { onValueChange: EventName<CustomEvent<string>> };
|
|
539
569
|
|
|
540
570
|
export const LsTextInput: StencilReactComponent<LsTextInputElement, LsTextInputEvents> = /*@__PURE__*/ createComponent<LsTextInputElement, LsTextInputEvents>({
|
|
541
571
|
tagName: 'ls-text-input',
|
|
542
572
|
elementClass: LsTextInputElement,
|
|
543
573
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
544
574
|
react: React,
|
|
545
|
-
events: {} as LsTextInputEvents,
|
|
575
|
+
events: { onValueChange: 'valueChange' } as LsTextInputEvents,
|
|
546
576
|
defineCustomElement: defineLsTextInput
|
|
547
577
|
});
|
|
548
578
|
|
|
@@ -557,14 +587,14 @@ export const LsTextareaInput: StencilReactComponent<LsTextareaInputElement, LsTe
|
|
|
557
587
|
defineCustomElement: defineLsTextareaInput
|
|
558
588
|
});
|
|
559
589
|
|
|
560
|
-
export type LsToggleEvents =
|
|
590
|
+
export type LsToggleEvents = { onValueChange: EventName<CustomEvent<boolean>> };
|
|
561
591
|
|
|
562
592
|
export const LsToggle: StencilReactComponent<LsToggleElement, LsToggleEvents> = /*@__PURE__*/ createComponent<LsToggleElement, LsToggleEvents>({
|
|
563
593
|
tagName: 'ls-toggle',
|
|
564
594
|
elementClass: LsToggleElement,
|
|
565
595
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
566
596
|
react: React,
|
|
567
|
-
events: {} as LsToggleEvents,
|
|
597
|
+
events: { onValueChange: 'valueChange' } as LsToggleEvents,
|
|
568
598
|
defineCustomElement: defineLsToggle
|
|
569
599
|
});
|
|
570
600
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Legalesign React Editor / Viewers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stencilJS",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@stencil/react-output-target": "^1.2.0",
|
|
53
|
-
"legalesign-document-viewer": "^0.2.
|
|
53
|
+
"legalesign-document-viewer": "^0.2.11"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|