legalesign-document-viewer-react 0.10.2 → 0.10.4

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.
@@ -770,7 +770,7 @@ export const LsValidationManager = /*@__PURE__*/ createComponent({
770
770
  elementClass: LsValidationManagerElement,
771
771
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
772
772
  react: React,
773
- events: {},
773
+ events: { onSelectFields: 'selectFields' },
774
774
  defineCustomElement: defineLsValidationManager
775
775
  });
776
776
  export const LsValidationTag = /*@__PURE__*/ createComponent({
@@ -780,7 +780,8 @@ export const LsValidationTag = /*@__PURE__*/ createComponent({
780
780
  react: React,
781
781
  events: {
782
782
  onChangeSigner: 'changeSigner',
783
- onSelectFieldForPlacement: 'selectFieldForPlacement'
783
+ onSelectFieldForPlacement: 'selectFieldForPlacement',
784
+ onSelectFields: 'selectFields'
784
785
  },
785
786
  defineCustomElement: defineLsValidationTag
786
787
  });
@@ -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 IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSApiTemplate, 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 LsTitleInputCustomEvent, type LsToolbarCustomEvent, type LsToolboxFieldCustomEvent } from "legalesign-document-viewer";
6
+ import { type IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSApiTemplate, 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 LsTitleInputCustomEvent, type LsToolbarCustomEvent, type LsToolboxFieldCustomEvent, type LsValidationManagerCustomEvent, type LsValidationTagCustomEvent } from "legalesign-document-viewer";
7
7
  import { LsAddNewButton as LsAddNewButtonElement } from "legalesign-document-viewer/dist/components/ls-add-new-button.js";
8
8
  import { LsBadge as LsBadgeElement } from "legalesign-document-viewer/dist/components/ls-badge.js";
9
9
  import { LsBanner as LsBannerElement } from "legalesign-document-viewer/dist/components/ls-banner.js";
@@ -376,7 +376,9 @@ export type LsToolboxFieldEvents = {
376
376
  export declare const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents>;
377
377
  export type LsTooltipEvents = NonNullable<unknown>;
378
378
  export declare const LsTooltip: StencilReactComponent<LsTooltipElement, LsTooltipEvents>;
379
- export type LsValidationManagerEvents = NonNullable<unknown>;
379
+ export type LsValidationManagerEvents = {
380
+ onSelectFields: EventName<LsValidationManagerCustomEvent<LSApiElement[]>>;
381
+ };
380
382
  export declare const LsValidationManager: StencilReactComponent<LsValidationManagerElement, LsValidationManagerEvents>;
381
383
  export type LsValidationTagEvents = {
382
384
  onChangeSigner: EventName<CustomEvent<number>>;
@@ -384,6 +386,7 @@ export type LsValidationTagEvents = {
384
386
  signerIndex: number;
385
387
  fieldType: string;
386
388
  }>>;
389
+ onSelectFields: EventName<LsValidationTagCustomEvent<LSApiElement[]>>;
387
390
  };
388
391
  export declare const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents>;
389
392
  export type TestItemEvents = 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 IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSApiTemplate, 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 LsTitleInputCustomEvent, type LsToolbarCustomEvent, type LsToolboxFieldCustomEvent } from "legalesign-document-viewer";
12
+ import { type IToolboxField, type LSApiElement, type LSApiRole, type LSApiRoleType, type LSApiTemplate, 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 LsTitleInputCustomEvent, type LsToolbarCustomEvent, type LsToolboxFieldCustomEvent, type LsValidationManagerCustomEvent, type LsValidationTagCustomEvent } from "legalesign-document-viewer";
13
13
  import { LsAddNewButton as LsAddNewButtonElement, defineCustomElement as defineLsAddNewButton } from "legalesign-document-viewer/dist/components/ls-add-new-button.js";
14
14
  import { LsBadge as LsBadgeElement, defineCustomElement as defineLsBadge } from "legalesign-document-viewer/dist/components/ls-badge.js";
15
15
  import { LsBanner as LsBannerElement, defineCustomElement as defineLsBanner } from "legalesign-document-viewer/dist/components/ls-banner.js";
@@ -1077,20 +1077,21 @@ export const LsTooltip: StencilReactComponent<LsTooltipElement, LsTooltipEvents>
1077
1077
  defineCustomElement: defineLsTooltip
1078
1078
  });
1079
1079
 
1080
- export type LsValidationManagerEvents = NonNullable<unknown>;
1080
+ export type LsValidationManagerEvents = { onSelectFields: EventName<LsValidationManagerCustomEvent<LSApiElement[]>> };
1081
1081
 
1082
1082
  export const LsValidationManager: StencilReactComponent<LsValidationManagerElement, LsValidationManagerEvents> = /*@__PURE__*/ createComponent<LsValidationManagerElement, LsValidationManagerEvents>({
1083
1083
  tagName: 'ls-validation-manager',
1084
1084
  elementClass: LsValidationManagerElement,
1085
1085
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
1086
1086
  react: React,
1087
- events: {} as LsValidationManagerEvents,
1087
+ events: { onSelectFields: 'selectFields' } as LsValidationManagerEvents,
1088
1088
  defineCustomElement: defineLsValidationManager
1089
1089
  });
1090
1090
 
1091
1091
  export type LsValidationTagEvents = {
1092
1092
  onChangeSigner: EventName<CustomEvent<number>>,
1093
- onSelectFieldForPlacement: EventName<CustomEvent<{ signerIndex: number; fieldType: string }>>
1093
+ onSelectFieldForPlacement: EventName<CustomEvent<{ signerIndex: number; fieldType: string }>>,
1094
+ onSelectFields: EventName<LsValidationTagCustomEvent<LSApiElement[]>>
1094
1095
  };
1095
1096
 
1096
1097
  export const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents> = /*@__PURE__*/ createComponent<LsValidationTagElement, LsValidationTagEvents>({
@@ -1100,7 +1101,8 @@ export const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsVa
1100
1101
  react: React,
1101
1102
  events: {
1102
1103
  onChangeSigner: 'changeSigner',
1103
- onSelectFieldForPlacement: 'selectFieldForPlacement'
1104
+ onSelectFieldForPlacement: 'selectFieldForPlacement',
1105
+ onSelectFields: 'selectFields'
1104
1106
  } as LsValidationTagEvents,
1105
1107
  defineCustomElement: defineLsValidationTag
1106
1108
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "description": "Legalesign React Editor / Viewers",
5
5
  "keywords": [
6
6
  "stencilJS",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@stencil/react-output-target": "^1.2.0",
48
- "legalesign-document-viewer": "^0.10.2"
48
+ "legalesign-document-viewer": "^0.10.4"
49
49
  },
50
50
  "repository": {
51
51
  "type": "git",