legalesign-document-viewer-react 0.3.7 → 0.3.9
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 { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
3
4
|
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
4
5
|
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
5
6
|
import { LsEditorField as LsEditorFieldElement, defineCustomElement as defineLsEditorField } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
@@ -50,6 +51,14 @@ import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineL
|
|
|
50
51
|
import { LsTooltip as LsTooltipElement, defineCustomElement as defineLsTooltip } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
|
|
51
52
|
import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
52
53
|
import React from 'react';
|
|
54
|
+
export const LsComposeManager = /*@__PURE__*/ createComponent({
|
|
55
|
+
tagName: 'ls-compose-manager',
|
|
56
|
+
elementClass: LsComposeManagerElement,
|
|
57
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
58
|
+
react: React,
|
|
59
|
+
events: {},
|
|
60
|
+
defineCustomElement: defineLsComposeManager
|
|
61
|
+
});
|
|
53
62
|
export const LsDocumentOptions = /*@__PURE__*/ createComponent({
|
|
54
63
|
tagName: 'ls-document-options',
|
|
55
64
|
elementClass: LsDocumentOptionsElement,
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
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";
|
|
7
|
+
import { LsComposeManager as LsComposeManagerElement } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
7
8
|
import { LsDocumentOptions as LsDocumentOptionsElement } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
8
9
|
import { LsDocumentViewer as LsDocumentViewerElement } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
9
10
|
import { LsEditorField as LsEditorFieldElement } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
@@ -53,6 +54,8 @@ import { LsToolbar as LsToolbarElement } from "legalesign-document-viewer/dist/c
|
|
|
53
54
|
import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
54
55
|
import { LsTooltip as LsTooltipElement } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
|
|
55
56
|
import { LsValidationTag as LsValidationTagElement } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
57
|
+
export type LsComposeManagerEvents = NonNullable<unknown>;
|
|
58
|
+
export declare const LsComposeManager: StencilReactComponent<LsComposeManagerElement, LsComposeManagerEvents>;
|
|
56
59
|
export type LsDocumentOptionsEvents = {
|
|
57
60
|
onMutate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
|
|
58
61
|
onUpdate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>;
|
|
@@ -228,6 +231,7 @@ export type LsToolboxFieldEvents = {
|
|
|
228
231
|
defaultWidth: number;
|
|
229
232
|
formElementType: string;
|
|
230
233
|
validation: number;
|
|
234
|
+
fixedAspect: number | null;
|
|
231
235
|
}>>;
|
|
232
236
|
};
|
|
233
237
|
export declare const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents>;
|
|
@@ -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 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";
|
|
13
|
+
import { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
13
14
|
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
14
15
|
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
15
16
|
import { LsEditorField as LsEditorFieldElement, defineCustomElement as defineLsEditorField } from "legalesign-document-viewer/dist/components/ls-editor-field.js";
|
|
@@ -61,6 +62,17 @@ import { LsTooltip as LsTooltipElement, defineCustomElement as defineLsTooltip }
|
|
|
61
62
|
import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
62
63
|
import React from 'react';
|
|
63
64
|
|
|
65
|
+
export type LsComposeManagerEvents = NonNullable<unknown>;
|
|
66
|
+
|
|
67
|
+
export const LsComposeManager: StencilReactComponent<LsComposeManagerElement, LsComposeManagerEvents> = /*@__PURE__*/ createComponent<LsComposeManagerElement, LsComposeManagerEvents>({
|
|
68
|
+
tagName: 'ls-compose-manager',
|
|
69
|
+
elementClass: LsComposeManagerElement,
|
|
70
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
71
|
+
react: React,
|
|
72
|
+
events: {} as LsComposeManagerEvents,
|
|
73
|
+
defineCustomElement: defineLsComposeManager
|
|
74
|
+
});
|
|
75
|
+
|
|
64
76
|
export type LsDocumentOptionsEvents = {
|
|
65
77
|
onMutate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>,
|
|
66
78
|
onUpdate: EventName<LsDocumentOptionsCustomEvent<LSMutateEvent[]>>
|
|
@@ -691,6 +703,7 @@ export type LsToolboxFieldEvents = {
|
|
|
691
703
|
defaultWidth: number
|
|
692
704
|
formElementType: string
|
|
693
705
|
validation: number
|
|
706
|
+
fixedAspect: number | null
|
|
694
707
|
}>>
|
|
695
708
|
};
|
|
696
709
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
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.3.
|
|
53
|
+
"legalesign-document-viewer": "^0.3.9"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|