legalesign-document-viewer-react 0.2.14 → 0.2.16

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";
@@ -214,6 +215,14 @@ export const LsFieldPropertiesDate = /*@__PURE__*/ createComponent({
214
215
  events: {},
215
216
  defineCustomElement: defineLsFieldPropertiesDate
216
217
  });
218
+ export const LsFieldPropertiesDropdown = /*@__PURE__*/ createComponent({
219
+ tagName: 'ls-field-properties-dropdown',
220
+ elementClass: LsFieldPropertiesDropdownElement,
221
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
222
+ react: React,
223
+ events: {},
224
+ defineCustomElement: defineLsFieldPropertiesDropdown
225
+ });
217
226
  export const LsFieldPropertiesEmail = /*@__PURE__*/ createComponent({
218
227
  tagName: 'ls-field-properties-email',
219
228
  elementClass: LsFieldPropertiesEmailElement,
@@ -348,7 +357,8 @@ export const LsParticipantManager = /*@__PURE__*/ createComponent({
348
357
  react: React,
349
358
  events: {
350
359
  onMutate: 'mutate',
351
- onUpdate: 'update'
360
+ onUpdate: 'update',
361
+ onAddParticipant: 'addParticipant'
352
362
  },
353
363
  defineCustomElement: defineLsParticipantManager
354
364
  });
@@ -358,9 +368,8 @@ export const LsParticipantSelect = /*@__PURE__*/ createComponent({
358
368
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
359
369
  react: React,
360
370
  events: {
361
- onMutate: 'mutate',
362
- onUpdate: 'update',
363
- onRoleChange: 'roleChange'
371
+ onRoleChange: 'roleChange',
372
+ onAddParticipant: 'addParticipant'
364
373
  },
365
374
  defineCustomElement: defineLsParticipantSelect
366
375
  });
@@ -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 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 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";
@@ -117,6 +118,8 @@ export type LsFieldPropertiesContainerEvents = NonNullable<unknown>;
117
118
  export declare const LsFieldPropertiesContainer: StencilReactComponent<LsFieldPropertiesContainerElement, LsFieldPropertiesContainerEvents>;
118
119
  export type LsFieldPropertiesDateEvents = NonNullable<unknown>;
119
120
  export declare const LsFieldPropertiesDate: StencilReactComponent<LsFieldPropertiesDateElement, LsFieldPropertiesDateEvents>;
121
+ export type LsFieldPropertiesDropdownEvents = NonNullable<unknown>;
122
+ export declare const LsFieldPropertiesDropdown: StencilReactComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents>;
120
123
  export type LsFieldPropertiesEmailEvents = NonNullable<unknown>;
121
124
  export declare const LsFieldPropertiesEmail: StencilReactComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents>;
122
125
  export type LsFieldPropertiesFileEvents = NonNullable<unknown>;
@@ -159,12 +162,18 @@ export declare const LsParticipantCard: StencilReactComponent<LsParticipantCardE
159
162
  export type LsParticipantManagerEvents = {
160
163
  onMutate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>;
161
164
  onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>;
165
+ onAddParticipant: EventName<LsParticipantManagerCustomEvent<{
166
+ type: LSApiRoleType;
167
+ parent?: string | null;
168
+ }>>;
162
169
  };
163
170
  export declare const LsParticipantManager: StencilReactComponent<LsParticipantManagerElement, LsParticipantManagerEvents>;
164
171
  export type LsParticipantSelectEvents = {
165
- onMutate: EventName<LsParticipantSelectCustomEvent<LSMutateEvent[]>>;
166
- onUpdate: EventName<LsParticipantSelectCustomEvent<LSMutateEvent[]>>;
167
172
  onRoleChange: EventName<CustomEvent<number>>;
173
+ onAddParticipant: EventName<LsParticipantSelectCustomEvent<{
174
+ type: LSApiRoleType;
175
+ parent?: string | null;
176
+ }>>;
168
177
  };
169
178
  export declare const LsParticipantSelect: StencilReactComponent<LsParticipantSelectElement, LsParticipantSelectEvents>;
170
179
  export type LsPropsSectionEvents = 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 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 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";
@@ -309,6 +310,17 @@ export const LsFieldPropertiesDate: StencilReactComponent<LsFieldPropertiesDateE
309
310
  defineCustomElement: defineLsFieldPropertiesDate
310
311
  });
311
312
 
313
+ export type LsFieldPropertiesDropdownEvents = NonNullable<unknown>;
314
+
315
+ export const LsFieldPropertiesDropdown: StencilReactComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesDropdownElement, LsFieldPropertiesDropdownEvents>({
316
+ tagName: 'ls-field-properties-dropdown',
317
+ elementClass: LsFieldPropertiesDropdownElement,
318
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
319
+ react: React,
320
+ events: {} as LsFieldPropertiesDropdownEvents,
321
+ defineCustomElement: defineLsFieldPropertiesDropdown
322
+ });
323
+
312
324
  export type LsFieldPropertiesEmailEvents = NonNullable<unknown>;
313
325
 
314
326
  export const LsFieldPropertiesEmail: StencilReactComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesEmailElement, LsFieldPropertiesEmailEvents>({
@@ -490,7 +502,8 @@ export const LsParticipantCard: StencilReactComponent<LsParticipantCardElement,
490
502
 
491
503
  export type LsParticipantManagerEvents = {
492
504
  onMutate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>,
493
- onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>
505
+ onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>,
506
+ onAddParticipant: EventName<LsParticipantManagerCustomEvent<{ type: LSApiRoleType, parent?: string | null }>>
494
507
  };
495
508
 
496
509
  export const LsParticipantManager: StencilReactComponent<LsParticipantManagerElement, LsParticipantManagerEvents> = /*@__PURE__*/ createComponent<LsParticipantManagerElement, LsParticipantManagerEvents>({
@@ -500,15 +513,15 @@ export const LsParticipantManager: StencilReactComponent<LsParticipantManagerEle
500
513
  react: React,
501
514
  events: {
502
515
  onMutate: 'mutate',
503
- onUpdate: 'update'
516
+ onUpdate: 'update',
517
+ onAddParticipant: 'addParticipant'
504
518
  } as LsParticipantManagerEvents,
505
519
  defineCustomElement: defineLsParticipantManager
506
520
  });
507
521
 
508
522
  export type LsParticipantSelectEvents = {
509
- onMutate: EventName<LsParticipantSelectCustomEvent<LSMutateEvent[]>>,
510
- onUpdate: EventName<LsParticipantSelectCustomEvent<LSMutateEvent[]>>,
511
- onRoleChange: EventName<CustomEvent<number>>
523
+ onRoleChange: EventName<CustomEvent<number>>,
524
+ onAddParticipant: EventName<LsParticipantSelectCustomEvent<{ type: LSApiRoleType, parent?: string | null }>>
512
525
  };
513
526
 
514
527
  export const LsParticipantSelect: StencilReactComponent<LsParticipantSelectElement, LsParticipantSelectEvents> = /*@__PURE__*/ createComponent<LsParticipantSelectElement, LsParticipantSelectEvents>({
@@ -517,9 +530,8 @@ export const LsParticipantSelect: StencilReactComponent<LsParticipantSelectEleme
517
530
  // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
518
531
  react: React,
519
532
  events: {
520
- onMutate: 'mutate',
521
- onUpdate: 'update',
522
- onRoleChange: 'roleChange'
533
+ onRoleChange: 'roleChange',
534
+ onAddParticipant: 'addParticipant'
523
535
  } as LsParticipantSelectEvents,
524
536
  defineCustomElement: defineLsParticipantSelect
525
537
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
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.14"
53
+ "legalesign-document-viewer": "^0.2.16"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {