legalesign-document-viewer-react 0.2.11 → 0.2.13

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.
@@ -43,6 +43,7 @@ import { LsTextareaInput as LsTextareaInputElement, defineCustomElement as defin
43
43
  import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } from "legalesign-document-viewer/dist/components/ls-toggle.js";
44
44
  import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
45
45
  import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
46
+ import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
46
47
  import React from 'react';
47
48
  export const LsDocumentOptions = /*@__PURE__*/ createComponent({
48
49
  tagName: 'ls-document-options',
@@ -335,7 +336,8 @@ export const LsParticipantCard = /*@__PURE__*/ createComponent({
335
336
  react: React,
336
337
  events: {
337
338
  onMutate: 'mutate',
338
- onUpdate: 'update'
339
+ onUpdate: 'update',
340
+ onOpened: 'opened'
339
341
  },
340
342
  defineCustomElement: defineLsParticipantCard
341
343
  });
@@ -437,3 +439,11 @@ export const LsToolboxField = /*@__PURE__*/ createComponent({
437
439
  events: {},
438
440
  defineCustomElement: defineLsToolboxField
439
441
  });
442
+ export const LsValidationTag = /*@__PURE__*/ createComponent({
443
+ tagName: 'ls-validation-tag',
444
+ elementClass: LsValidationTagElement,
445
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
446
+ react: React,
447
+ events: {},
448
+ defineCustomElement: defineLsValidationTag
449
+ });
@@ -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 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";
6
+ import { type LSApiElement, type LSApiRole, 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";
@@ -47,6 +47,7 @@ import { LsTextareaInput as LsTextareaInputElement } from "legalesign-document-v
47
47
  import { LsToggle as LsToggleElement } from "legalesign-document-viewer/dist/components/ls-toggle.js";
48
48
  import { LsToolbar as LsToolbarElement } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
49
49
  import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
50
+ import { LsValidationTag as LsValidationTagElement } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
50
51
  export type LsDocumentOptionsEvents = {
51
52
  onMutate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
52
53
  onUpdate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
@@ -152,6 +153,7 @@ export declare const LsNumberInput: StencilReactComponent<LsNumberInputElement,
152
153
  export type LsParticipantCardEvents = {
153
154
  onMutate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>;
154
155
  onUpdate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>;
156
+ onOpened: EventName<LsParticipantCardCustomEvent<LSApiRole>>;
155
157
  };
156
158
  export declare const LsParticipantCard: StencilReactComponent<LsParticipantCardElement, LsParticipantCardEvents>;
157
159
  export type LsParticipantManagerEvents = {
@@ -190,3 +192,5 @@ export type LsToolbarEvents = {
190
192
  export declare const LsToolbar: StencilReactComponent<LsToolbarElement, LsToolbarEvents>;
191
193
  export type LsToolboxFieldEvents = NonNullable<unknown>;
192
194
  export declare const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents>;
195
+ export type LsValidationTagEvents = NonNullable<unknown>;
196
+ export declare const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents>;
@@ -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 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";
12
+ import { type LSApiElement, type LSApiRole, 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";
@@ -53,6 +53,7 @@ import { LsTextareaInput as LsTextareaInputElement, defineCustomElement as defin
53
53
  import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } from "legalesign-document-viewer/dist/components/ls-toggle.js";
54
54
  import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
55
55
  import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
56
+ import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
56
57
  import React from 'react';
57
58
 
58
59
  export type LsDocumentOptionsEvents = {
@@ -470,7 +471,8 @@ export const LsNumberInput: StencilReactComponent<LsNumberInputElement, LsNumber
470
471
 
471
472
  export type LsParticipantCardEvents = {
472
473
  onMutate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>,
473
- onUpdate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>
474
+ onUpdate: EventName<LsParticipantCardCustomEvent<LSMutateEvent[]>>,
475
+ onOpened: EventName<LsParticipantCardCustomEvent<LSApiRole>>
474
476
  };
475
477
 
476
478
  export const LsParticipantCard: StencilReactComponent<LsParticipantCardElement, LsParticipantCardEvents> = /*@__PURE__*/ createComponent<LsParticipantCardElement, LsParticipantCardEvents>({
@@ -480,7 +482,8 @@ export const LsParticipantCard: StencilReactComponent<LsParticipantCardElement,
480
482
  react: React,
481
483
  events: {
482
484
  onMutate: 'mutate',
483
- onUpdate: 'update'
485
+ onUpdate: 'update',
486
+ onOpened: 'opened'
484
487
  } as LsParticipantCardEvents,
485
488
  defineCustomElement: defineLsParticipantCard
486
489
  });
@@ -625,3 +628,14 @@ export const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsTool
625
628
  events: {} as LsToolboxFieldEvents,
626
629
  defineCustomElement: defineLsToolboxField
627
630
  });
631
+
632
+ export type LsValidationTagEvents = NonNullable<unknown>;
633
+
634
+ export const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents> = /*@__PURE__*/ createComponent<LsValidationTagElement, LsValidationTagEvents>({
635
+ tagName: 'ls-validation-tag',
636
+ elementClass: LsValidationTagElement,
637
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
638
+ react: React,
639
+ events: {} as LsValidationTagEvents,
640
+ defineCustomElement: defineLsValidationTag
641
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
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.11"
53
+ "legalesign-document-viewer": "^0.2.13"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {