legalesign-document-viewer-react 0.4.2 → 0.4.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.
|
@@ -442,7 +442,10 @@ export const LsRecipientCard = /*@__PURE__*/ createComponent({
|
|
|
442
442
|
elementClass: LsRecipientCardElement,
|
|
443
443
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
444
444
|
react: React,
|
|
445
|
-
events: {
|
|
445
|
+
events: {
|
|
446
|
+
onChangeSigner: 'changeSigner',
|
|
447
|
+
onFieldSelected: 'fieldSelected'
|
|
448
|
+
},
|
|
446
449
|
defineCustomElement: defineLsRecipientCard
|
|
447
450
|
});
|
|
448
451
|
export const LsRecipientManager = /*@__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 LSApiRole, type LSApiRoleType, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsEditorFieldCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
6
|
+
import { type IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsEditorFieldCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
7
7
|
import { LsComposeManager as LsComposeManagerElement } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
8
8
|
import { LsDocumentOptions as LsDocumentOptionsElement } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
9
9
|
import { LsDocumentViewer as LsDocumentViewerElement } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
@@ -209,6 +209,7 @@ export type LsRadioInputEvents = NonNullable<unknown>;
|
|
|
209
209
|
export declare const LsRadioInput: StencilReactComponent<LsRadioInputElement, LsRadioInputEvents>;
|
|
210
210
|
export type LsRecipientCardEvents = {
|
|
211
211
|
onChangeSigner: EventName<CustomEvent<number>>;
|
|
212
|
+
onFieldSelected: EventName<LsRecipientCardCustomEvent<IToolboxField>>;
|
|
212
213
|
};
|
|
213
214
|
export declare const LsRecipientCard: StencilReactComponent<LsRecipientCardElement, LsRecipientCardEvents>;
|
|
214
215
|
export type LsRecipientManagerEvents = NonNullable<unknown>;
|
|
@@ -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 LSApiRole, type LSApiRoleType, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsEditorFieldCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
12
|
+
import { type IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSMutateEvent, type LsDocumentOptionsCustomEvent, type LsDocumentViewerCustomEvent, type LsEditorFieldCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldContentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
13
13
|
import { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
14
14
|
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
15
15
|
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
@@ -626,14 +626,20 @@ export const LsRadioInput: StencilReactComponent<LsRadioInputElement, LsRadioInp
|
|
|
626
626
|
defineCustomElement: defineLsRadioInput
|
|
627
627
|
});
|
|
628
628
|
|
|
629
|
-
export type LsRecipientCardEvents = {
|
|
629
|
+
export type LsRecipientCardEvents = {
|
|
630
|
+
onChangeSigner: EventName<CustomEvent<number>>,
|
|
631
|
+
onFieldSelected: EventName<LsRecipientCardCustomEvent<IToolboxField>>
|
|
632
|
+
};
|
|
630
633
|
|
|
631
634
|
export const LsRecipientCard: StencilReactComponent<LsRecipientCardElement, LsRecipientCardEvents> = /*@__PURE__*/ createComponent<LsRecipientCardElement, LsRecipientCardEvents>({
|
|
632
635
|
tagName: 'ls-recipient-card',
|
|
633
636
|
elementClass: LsRecipientCardElement,
|
|
634
637
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
635
638
|
react: React,
|
|
636
|
-
events: {
|
|
639
|
+
events: {
|
|
640
|
+
onChangeSigner: 'changeSigner',
|
|
641
|
+
onFieldSelected: 'fieldSelected'
|
|
642
|
+
} as LsRecipientCardEvents,
|
|
637
643
|
defineCustomElement: defineLsRecipientCard
|
|
638
644
|
});
|
|
639
645
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
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.4.
|
|
53
|
+
"legalesign-document-viewer": "^0.4.3"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|