legalesign-document-viewer-react 0.8.6 → 0.8.7

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.
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
  import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import { LsComposeLoader as LsComposeLoaderElement, defineCustomElement as defineLsComposeLoader } from "legalesign-document-viewer/dist/components/ls-compose-loader.js";
3
4
  import { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
4
5
  import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
5
6
  import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
@@ -55,6 +56,14 @@ import { LsTooltip as LsTooltipElement, defineCustomElement as defineLsTooltip }
55
56
  import { LsValidationManager as LsValidationManagerElement, defineCustomElement as defineLsValidationManager } from "legalesign-document-viewer/dist/components/ls-validation-manager.js";
56
57
  import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
57
58
  import React from 'react';
59
+ export const LsComposeLoader = /*@__PURE__*/ createComponent({
60
+ tagName: 'ls-compose-loader',
61
+ elementClass: LsComposeLoaderElement,
62
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
63
+ react: React,
64
+ events: {},
65
+ defineCustomElement: defineLsComposeLoader
66
+ });
58
67
  export const LsComposeManager = /*@__PURE__*/ createComponent({
59
68
  tagName: 'ls-compose-manager',
60
69
  elementClass: LsComposeManagerElement,
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
6
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 } from "legalesign-document-viewer";
7
+ import { LsComposeLoader as LsComposeLoaderElement } from "legalesign-document-viewer/dist/components/ls-compose-loader.js";
7
8
  import { LsComposeManager as LsComposeManagerElement } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
8
9
  import { LsDocumentOptions as LsDocumentOptionsElement } from "legalesign-document-viewer/dist/components/ls-document-options.js";
9
10
  import { LsDocumentViewer as LsDocumentViewerElement } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
@@ -58,6 +59,8 @@ import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-vie
58
59
  import { LsTooltip as LsTooltipElement } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
59
60
  import { LsValidationManager as LsValidationManagerElement } from "legalesign-document-viewer/dist/components/ls-validation-manager.js";
60
61
  import { LsValidationTag as LsValidationTagElement } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
62
+ export type LsComposeLoaderEvents = NonNullable<unknown>;
63
+ export declare const LsComposeLoader: StencilReactComponent<LsComposeLoaderElement, LsComposeLoaderEvents>;
61
64
  export type LsComposeManagerEvents = NonNullable<unknown>;
62
65
  export declare const LsComposeManager: StencilReactComponent<LsComposeManagerElement, LsComposeManagerEvents>;
63
66
  export type LsDocumentOptionsEvents = {
@@ -10,6 +10,7 @@
10
10
  import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
11
11
  import { createComponent } from '@stencil/react-output-target/runtime';
12
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 } from "legalesign-document-viewer";
13
+ import { LsComposeLoader as LsComposeLoaderElement, defineCustomElement as defineLsComposeLoader } from "legalesign-document-viewer/dist/components/ls-compose-loader.js";
13
14
  import { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
14
15
  import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
15
16
  import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
@@ -66,6 +67,17 @@ import { LsValidationManager as LsValidationManagerElement, defineCustomElement
66
67
  import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
67
68
  import React from 'react';
68
69
 
70
+ export type LsComposeLoaderEvents = NonNullable<unknown>;
71
+
72
+ export const LsComposeLoader: StencilReactComponent<LsComposeLoaderElement, LsComposeLoaderEvents> = /*@__PURE__*/ createComponent<LsComposeLoaderElement, LsComposeLoaderEvents>({
73
+ tagName: 'ls-compose-loader',
74
+ elementClass: LsComposeLoaderElement,
75
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
76
+ react: React,
77
+ events: {} as LsComposeLoaderEvents,
78
+ defineCustomElement: defineLsComposeLoader
79
+ });
80
+
69
81
  export type LsComposeManagerEvents = NonNullable<unknown>;
70
82
 
71
83
  export const LsComposeManager: StencilReactComponent<LsComposeManagerElement, LsComposeManagerEvents> = /*@__PURE__*/ createComponent<LsComposeManagerElement, LsComposeManagerEvents>({
@@ -99,9 +111,9 @@ export type LsDocumentViewerEvents = {
99
111
  onPageChange: EventName<CustomEvent<number>>,
100
112
  onSelectFields: EventName<LsDocumentViewerCustomEvent<LSApiElement[]>>,
101
113
  onMutate: EventName<LsDocumentViewerCustomEvent<LSMutateEvent[]>>,
102
- onUpdate: EventName<LsDocumentViewerCustomEvent<{ event: LSMutateEvent, template: LSApiTemplate }>>,
114
+ onUpdate: EventName<LsDocumentViewerCustomEvent<{ event: LSMutateEvent; template: LSApiTemplate }>>,
103
115
  onValidate: EventName<CustomEvent<{ valid: boolean }>>,
104
- onAddParticipant: EventName<LsDocumentViewerCustomEvent<{ type: LSApiRoleType, parent?: string | null }>>
116
+ onAddParticipant: EventName<LsDocumentViewerCustomEvent<{ type: LSApiRoleType; parent?: string | null }>>
105
117
  };
106
118
 
107
119
  export const LsDocumentViewer: StencilReactComponent<LsDocumentViewerElement, LsDocumentViewerEvents> = /*@__PURE__*/ createComponent<LsDocumentViewerElement, LsDocumentViewerEvents>({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
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.8.6"
53
+ "legalesign-document-viewer": "^0.8.7"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {