legalesign-document-viewer-react 0.2.16 → 0.2.18
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.
|
@@ -76,7 +76,10 @@ export const LsEditorField = /*@__PURE__*/ createComponent({
|
|
|
76
76
|
elementClass: LsEditorFieldElement,
|
|
77
77
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
78
78
|
react: React,
|
|
79
|
-
events: {
|
|
79
|
+
events: {
|
|
80
|
+
onMutate: 'mutate',
|
|
81
|
+
onUpdate: 'update'
|
|
82
|
+
},
|
|
80
83
|
defineCustomElement: defineLsEditorField
|
|
81
84
|
});
|
|
82
85
|
export const LsEditorTable = /*@__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 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 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 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";
|
|
@@ -62,7 +62,10 @@ export type LsDocumentViewerEvents = {
|
|
|
62
62
|
onUpdate: EventName<LsDocumentViewerCustomEvent<LSMutateEvent[]>>;
|
|
63
63
|
};
|
|
64
64
|
export declare const LsDocumentViewer: StencilReactComponent<LsDocumentViewerElement, LsDocumentViewerEvents>;
|
|
65
|
-
export type LsEditorFieldEvents =
|
|
65
|
+
export type LsEditorFieldEvents = {
|
|
66
|
+
onMutate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>;
|
|
67
|
+
onUpdate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>;
|
|
68
|
+
};
|
|
66
69
|
export declare const LsEditorField: StencilReactComponent<LsEditorFieldElement, LsEditorFieldEvents>;
|
|
67
70
|
export type LsEditorTableEvents = NonNullable<unknown>;
|
|
68
71
|
export declare const LsEditorTable: StencilReactComponent<LsEditorTableElement, LsEditorTableEvents>;
|
|
@@ -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 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 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 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";
|
|
@@ -97,14 +97,20 @@ export const LsDocumentViewer: StencilReactComponent<LsDocumentViewerElement, Ls
|
|
|
97
97
|
defineCustomElement: defineLsDocumentViewer
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
export type LsEditorFieldEvents =
|
|
100
|
+
export type LsEditorFieldEvents = {
|
|
101
|
+
onMutate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>,
|
|
102
|
+
onUpdate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>
|
|
103
|
+
};
|
|
101
104
|
|
|
102
105
|
export const LsEditorField: StencilReactComponent<LsEditorFieldElement, LsEditorFieldEvents> = /*@__PURE__*/ createComponent<LsEditorFieldElement, LsEditorFieldEvents>({
|
|
103
106
|
tagName: 'ls-editor-field',
|
|
104
107
|
elementClass: LsEditorFieldElement,
|
|
105
108
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
106
109
|
react: React,
|
|
107
|
-
events: {
|
|
110
|
+
events: {
|
|
111
|
+
onMutate: 'mutate',
|
|
112
|
+
onUpdate: 'update'
|
|
113
|
+
} as LsEditorFieldEvents,
|
|
108
114
|
defineCustomElement: defineLsEditorField
|
|
109
115
|
});
|
|
110
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
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.
|
|
53
|
+
"legalesign-document-viewer": "^0.2.18"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|