legalesign-document-viewer-react 0.2.15 → 0.2.17

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.
@@ -16,6 +16,7 @@ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement, defineCu
16
16
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement, defineCustomElement as defineLsFieldPropertiesAutosign } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
17
17
  import { LsFieldPropertiesContainer as LsFieldPropertiesContainerElement, defineCustomElement as defineLsFieldPropertiesContainer } from "legalesign-document-viewer/dist/components/ls-field-properties-container.js";
18
18
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement, defineCustomElement as defineLsFieldPropertiesDate } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
19
+ import { LsFieldPropertiesDropdown as LsFieldPropertiesDropdownElement, defineCustomElement as defineLsFieldPropertiesDropdown } from "legalesign-document-viewer/dist/components/ls-field-properties-dropdown.js";
19
20
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement, defineCustomElement as defineLsFieldPropertiesEmail } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
20
21
  import { LsFieldPropertiesFile as LsFieldPropertiesFileElement, defineCustomElement as defineLsFieldPropertiesFile } from "legalesign-document-viewer/dist/components/ls-field-properties-file.js";
21
22
  import { LsFieldPropertiesGeneral as LsFieldPropertiesGeneralElement, defineCustomElement as defineLsFieldPropertiesGeneral } from "legalesign-document-viewer/dist/components/ls-field-properties-general.js";
@@ -75,7 +76,10 @@ export const LsEditorField = /*@__PURE__*/ createComponent({
75
76
  elementClass: LsEditorFieldElement,
76
77
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
77
78
  react: React,
78
- events: {},
79
+ events: {
80
+ onMutate: 'mutate',
81
+ onUpdate: 'update'
82
+ },
79
83
  defineCustomElement: defineLsEditorField
80
84
  });
81
85
  export const LsEditorTable = /*@__PURE__*/ createComponent({
@@ -214,6 +218,14 @@ export const LsFieldPropertiesDate = /*@__PURE__*/ createComponent({
214
218
  events: {},
215
219
  defineCustomElement: defineLsFieldPropertiesDate
216
220
  });
221
+ export const LsFieldPropertiesDropdown = /*@__PURE__*/ createComponent({
222
+ tagName: 'ls-field-properties-dropdown',
223
+ elementClass: LsFieldPropertiesDropdownElement,
224
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
225
+ react: React,
226
+ events: {},
227
+ defineCustomElement: defineLsFieldPropertiesDropdown
228
+ });
217
229
  export const LsFieldPropertiesEmail = /*@__PURE__*/ createComponent({
218
230
  tagName: 'ls-field-properties-email',
219
231
  elementClass: LsFieldPropertiesEmailElement,
@@ -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";
@@ -20,6 +20,7 @@ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement } from "l
20
20
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
21
21
  import { LsFieldPropertiesContainer as LsFieldPropertiesContainerElement } from "legalesign-document-viewer/dist/components/ls-field-properties-container.js";
22
22
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
23
+ import { LsFieldPropertiesDropdown as LsFieldPropertiesDropdownElement } from "legalesign-document-viewer/dist/components/ls-field-properties-dropdown.js";
23
24
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
24
25
  import { LsFieldPropertiesFile as LsFieldPropertiesFileElement } from "legalesign-document-viewer/dist/components/ls-field-properties-file.js";
25
26
  import { LsFieldPropertiesGeneral as LsFieldPropertiesGeneralElement } from "legalesign-document-viewer/dist/components/ls-field-properties-general.js";
@@ -61,7 +62,10 @@ export type LsDocumentViewerEvents = {
61
62
  onUpdate: EventName<LsDocumentViewerCustomEvent<LSMutateEvent[]>>;
62
63
  };
63
64
  export declare const LsDocumentViewer: StencilReactComponent<LsDocumentViewerElement, LsDocumentViewerEvents>;
64
- export type LsEditorFieldEvents = NonNullable<unknown>;
65
+ export type LsEditorFieldEvents = {
66
+ onMutate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>;
67
+ onUpdate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>;
68
+ };
65
69
  export declare const LsEditorField: StencilReactComponent<LsEditorFieldElement, LsEditorFieldEvents>;
66
70
  export type LsEditorTableEvents = NonNullable<unknown>;
67
71
  export declare const LsEditorTable: StencilReactComponent<LsEditorTableElement, LsEditorTableEvents>;
@@ -117,6 +121,8 @@ export type LsFieldPropertiesContainerEvents = NonNullable<unknown>;
117
121
  export declare const LsFieldPropertiesContainer: StencilReactComponent<LsFieldPropertiesContainerElement, LsFieldPropertiesContainerEvents>;
118
122
  export type LsFieldPropertiesDateEvents = NonNullable<unknown>;
119
123
  export declare const LsFieldPropertiesDate: StencilReactComponent<LsFieldPropertiesDateElement, LsFieldPropertiesDateEvents>;
124
+ export type LsFieldPropertiesDropdownEvents = NonNullable<unknown>;
125
+ export declare const LsFieldPropertiesDropdown: StencilReactComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents>;
120
126
  export type LsFieldPropertiesEmailEvents = NonNullable<unknown>;
121
127
  export declare const LsFieldPropertiesEmail: StencilReactComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents>;
122
128
  export type LsFieldPropertiesFileEvents = 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 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";
@@ -26,6 +26,7 @@ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement, defineCu
26
26
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement, defineCustomElement as defineLsFieldPropertiesAutosign } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
27
27
  import { LsFieldPropertiesContainer as LsFieldPropertiesContainerElement, defineCustomElement as defineLsFieldPropertiesContainer } from "legalesign-document-viewer/dist/components/ls-field-properties-container.js";
28
28
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement, defineCustomElement as defineLsFieldPropertiesDate } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
29
+ import { LsFieldPropertiesDropdown as LsFieldPropertiesDropdownElement, defineCustomElement as defineLsFieldPropertiesDropdown } from "legalesign-document-viewer/dist/components/ls-field-properties-dropdown.js";
29
30
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement, defineCustomElement as defineLsFieldPropertiesEmail } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
30
31
  import { LsFieldPropertiesFile as LsFieldPropertiesFileElement, defineCustomElement as defineLsFieldPropertiesFile } from "legalesign-document-viewer/dist/components/ls-field-properties-file.js";
31
32
  import { LsFieldPropertiesGeneral as LsFieldPropertiesGeneralElement, defineCustomElement as defineLsFieldPropertiesGeneral } from "legalesign-document-viewer/dist/components/ls-field-properties-general.js";
@@ -96,14 +97,20 @@ export const LsDocumentViewer: StencilReactComponent<LsDocumentViewerElement, Ls
96
97
  defineCustomElement: defineLsDocumentViewer
97
98
  });
98
99
 
99
- export type LsEditorFieldEvents = NonNullable<unknown>;
100
+ export type LsEditorFieldEvents = {
101
+ onMutate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>,
102
+ onUpdate: EventName<LsEditorFieldCustomEvent<LSMutateEvent[]>>
103
+ };
100
104
 
101
105
  export const LsEditorField: StencilReactComponent<LsEditorFieldElement, LsEditorFieldEvents> = /*@__PURE__*/ createComponent<LsEditorFieldElement, LsEditorFieldEvents>({
102
106
  tagName: 'ls-editor-field',
103
107
  elementClass: LsEditorFieldElement,
104
108
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
105
109
  react: React,
106
- events: {} as LsEditorFieldEvents,
110
+ events: {
111
+ onMutate: 'mutate',
112
+ onUpdate: 'update'
113
+ } as LsEditorFieldEvents,
107
114
  defineCustomElement: defineLsEditorField
108
115
  });
109
116
 
@@ -309,6 +316,17 @@ export const LsFieldPropertiesDate: StencilReactComponent<LsFieldPropertiesDateE
309
316
  defineCustomElement: defineLsFieldPropertiesDate
310
317
  });
311
318
 
319
+ export type LsFieldPropertiesDropdownEvents = NonNullable<unknown>;
320
+
321
+ export const LsFieldPropertiesDropdown: StencilReactComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents>({
322
+ tagName: 'ls-field-properties-dropdown',
323
+ elementClass: LsFieldPropertiesDropdownElement,
324
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
325
+ react: React,
326
+ events: {} as LsFieldPropertiesDropdownEvents,
327
+ defineCustomElement: defineLsFieldPropertiesDropdown
328
+ });
329
+
312
330
  export type LsFieldPropertiesEmailEvents = NonNullable<unknown>;
313
331
 
314
332
  export const LsFieldPropertiesEmail: StencilReactComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents>({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
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.15"
53
+ "legalesign-document-viewer": "^0.2.17"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {