legalesign-document-viewer-react 0.9.22 → 0.9.24

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.
@@ -588,7 +588,8 @@ export const LsParticipantManager = /*@__PURE__*/ createComponent({
588
588
  events: {
589
589
  onMutate: 'mutate',
590
590
  onUpdate: 'update',
591
- onAddParticipant: 'addParticipant'
591
+ onAddParticipant: 'addParticipant',
592
+ onRoleChange: 'roleChange'
592
593
  },
593
594
  defineCustomElement: defineLsParticipantManager
594
595
  });
@@ -252,7 +252,7 @@ export declare const LsKeyboardShortcuts: StencilReactComponent<LsKeyboardShortc
252
252
  export type LsLabelEvents = NonNullable<unknown>;
253
253
  export declare const LsLabel: StencilReactComponent<LsLabelElement, LsLabelEvents>;
254
254
  export type LsLeftBarEvents = {
255
- onManagerChange: EventName<CustomEvent<string>>;
255
+ onManagerChange: EventName<CustomEvent<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>>;
256
256
  onClearSelected: EventName<CustomEvent<void>>;
257
257
  };
258
258
  export declare const LsLeftBar: StencilReactComponent<LsLeftBarElement, LsLeftBarEvents>;
@@ -292,6 +292,7 @@ export type LsParticipantManagerEvents = {
292
292
  type: LSApiRoleType;
293
293
  parent?: string | null;
294
294
  }>>;
295
+ onRoleChange: EventName<CustomEvent<number>>;
295
296
  };
296
297
  export declare const LsParticipantManager: StencilReactComponent<LsParticipantManagerElement, LsParticipantManagerEvents>;
297
298
  export type LsParticipantSelectEvents = {
@@ -690,7 +690,7 @@ export const LsLabel: StencilReactComponent<LsLabelElement, LsLabelEvents> = /*@
690
690
  });
691
691
 
692
692
  export type LsLeftBarEvents = {
693
- onManagerChange: EventName<CustomEvent<string>>,
693
+ onManagerChange: EventName<CustomEvent<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>>,
694
694
  onClearSelected: EventName<CustomEvent<void>>
695
695
  };
696
696
 
@@ -807,7 +807,8 @@ export const LsParticipantCard: StencilReactComponent<LsParticipantCardElement,
807
807
  export type LsParticipantManagerEvents = {
808
808
  onMutate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>,
809
809
  onUpdate: EventName<LsParticipantManagerCustomEvent<LSMutateEvent[]>>,
810
- onAddParticipant: EventName<LsParticipantManagerCustomEvent<{ type: LSApiRoleType; parent?: string | null }>>
810
+ onAddParticipant: EventName<LsParticipantManagerCustomEvent<{ type: LSApiRoleType; parent?: string | null }>>,
811
+ onRoleChange: EventName<CustomEvent<number>>
811
812
  };
812
813
 
813
814
  export const LsParticipantManager: StencilReactComponent<LsParticipantManagerElement, LsParticipantManagerEvents> = /*@__PURE__*/ createComponent<LsParticipantManagerElement, LsParticipantManagerEvents>({
@@ -818,7 +819,8 @@ export const LsParticipantManager: StencilReactComponent<LsParticipantManagerEle
818
819
  events: {
819
820
  onMutate: 'mutate',
820
821
  onUpdate: 'update',
821
- onAddParticipant: 'addParticipant'
822
+ onAddParticipant: 'addParticipant',
823
+ onRoleChange: 'roleChange'
822
824
  } as LsParticipantManagerEvents,
823
825
  defineCustomElement: defineLsParticipantManager
824
826
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.9.22",
3
+ "version": "0.9.24",
4
4
  "description": "Legalesign React Editor / Viewers",
5
5
  "keywords": [
6
6
  "stencilJS",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@stencil/react-output-target": "^1.2.0",
48
- "legalesign-document-viewer": "^0.9.22"
48
+ "legalesign-document-viewer": "^0.9.24"
49
49
  },
50
50
  "repository": {
51
51
  "type": "git",