legalesign-document-viewer-react 0.3.8 → 0.4.0
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.
|
@@ -41,6 +41,8 @@ import { LsParticipantManager as LsParticipantManagerElement, defineCustomElemen
|
|
|
41
41
|
import { LsParticipantSelect as LsParticipantSelectElement, defineCustomElement as defineLsParticipantSelect } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
42
42
|
import { LsPropsSection as LsPropsSectionElement, defineCustomElement as defineLsPropsSection } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
43
43
|
import { LsRadioInput as LsRadioInputElement, defineCustomElement as defineLsRadioInput } from "legalesign-document-viewer/dist/components/ls-radio-input.js";
|
|
44
|
+
import { LsRecipientCard as LsRecipientCardElement, defineCustomElement as defineLsRecipientCard } from "legalesign-document-viewer/dist/components/ls-recipient-card.js";
|
|
45
|
+
import { LsRecipientManager as LsRecipientManagerElement, defineCustomElement as defineLsRecipientManager } from "legalesign-document-viewer/dist/components/ls-recipient-manager.js";
|
|
44
46
|
import { LsSelectInput as LsSelectInputElement, defineCustomElement as defineLsSelectInput } from "legalesign-document-viewer/dist/components/ls-select-input.js";
|
|
45
47
|
import { LsStatusbar as LsStatusbarElement, defineCustomElement as defineLsStatusbar } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
46
48
|
import { LsTextInput as LsTextInputElement, defineCustomElement as defineLsTextInput } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
@@ -49,6 +51,7 @@ import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } fr
|
|
|
49
51
|
import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
50
52
|
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
51
53
|
import { LsTooltip as LsTooltipElement, defineCustomElement as defineLsTooltip } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
|
|
54
|
+
import { LsValidationManager as LsValidationManagerElement, defineCustomElement as defineLsValidationManager } from "legalesign-document-viewer/dist/components/ls-validation-manager.js";
|
|
52
55
|
import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
53
56
|
import React from 'react';
|
|
54
57
|
export const LsComposeManager = /*@__PURE__*/ createComponent({
|
|
@@ -434,6 +437,22 @@ export const LsRadioInput = /*@__PURE__*/ createComponent({
|
|
|
434
437
|
events: {},
|
|
435
438
|
defineCustomElement: defineLsRadioInput
|
|
436
439
|
});
|
|
440
|
+
export const LsRecipientCard = /*@__PURE__*/ createComponent({
|
|
441
|
+
tagName: 'ls-recipient-card',
|
|
442
|
+
elementClass: LsRecipientCardElement,
|
|
443
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
444
|
+
react: React,
|
|
445
|
+
events: { onChangeSigner: 'changeSigner' },
|
|
446
|
+
defineCustomElement: defineLsRecipientCard
|
|
447
|
+
});
|
|
448
|
+
export const LsRecipientManager = /*@__PURE__*/ createComponent({
|
|
449
|
+
tagName: 'ls-recipient-manager',
|
|
450
|
+
elementClass: LsRecipientManagerElement,
|
|
451
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
452
|
+
react: React,
|
|
453
|
+
events: {},
|
|
454
|
+
defineCustomElement: defineLsRecipientManager
|
|
455
|
+
});
|
|
437
456
|
export const LsSelectInput = /*@__PURE__*/ createComponent({
|
|
438
457
|
tagName: 'ls-select-input',
|
|
439
458
|
elementClass: LsSelectInputElement,
|
|
@@ -501,6 +520,14 @@ export const LsTooltip = /*@__PURE__*/ createComponent({
|
|
|
501
520
|
events: {},
|
|
502
521
|
defineCustomElement: defineLsTooltip
|
|
503
522
|
});
|
|
523
|
+
export const LsValidationManager = /*@__PURE__*/ createComponent({
|
|
524
|
+
tagName: 'ls-validation-manager',
|
|
525
|
+
elementClass: LsValidationManagerElement,
|
|
526
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
527
|
+
react: React,
|
|
528
|
+
events: {},
|
|
529
|
+
defineCustomElement: defineLsValidationManager
|
|
530
|
+
});
|
|
504
531
|
export const LsValidationTag = /*@__PURE__*/ createComponent({
|
|
505
532
|
tagName: 'ls-validation-tag',
|
|
506
533
|
elementClass: LsValidationTagElement,
|
|
@@ -45,6 +45,8 @@ import { LsParticipantManager as LsParticipantManagerElement } from "legalesign-
|
|
|
45
45
|
import { LsParticipantSelect as LsParticipantSelectElement } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
46
46
|
import { LsPropsSection as LsPropsSectionElement } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
47
47
|
import { LsRadioInput as LsRadioInputElement } from "legalesign-document-viewer/dist/components/ls-radio-input.js";
|
|
48
|
+
import { LsRecipientCard as LsRecipientCardElement } from "legalesign-document-viewer/dist/components/ls-recipient-card.js";
|
|
49
|
+
import { LsRecipientManager as LsRecipientManagerElement } from "legalesign-document-viewer/dist/components/ls-recipient-manager.js";
|
|
48
50
|
import { LsSelectInput as LsSelectInputElement } from "legalesign-document-viewer/dist/components/ls-select-input.js";
|
|
49
51
|
import { LsStatusbar as LsStatusbarElement } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
50
52
|
import { LsTextInput as LsTextInputElement } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
@@ -53,6 +55,7 @@ import { LsToggle as LsToggleElement } from "legalesign-document-viewer/dist/com
|
|
|
53
55
|
import { LsToolbar as LsToolbarElement } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
54
56
|
import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
55
57
|
import { LsTooltip as LsTooltipElement } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
|
|
58
|
+
import { LsValidationManager as LsValidationManagerElement } from "legalesign-document-viewer/dist/components/ls-validation-manager.js";
|
|
56
59
|
import { LsValidationTag as LsValidationTagElement } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
57
60
|
export type LsComposeManagerEvents = NonNullable<unknown>;
|
|
58
61
|
export declare const LsComposeManager: StencilReactComponent<LsComposeManagerElement, LsComposeManagerEvents>;
|
|
@@ -77,7 +80,7 @@ export declare const LsEditorField: StencilReactComponent<LsEditorFieldElement,
|
|
|
77
80
|
export type LsEditorTableEvents = NonNullable<unknown>;
|
|
78
81
|
export declare const LsEditorTable: StencilReactComponent<LsEditorTableElement, LsEditorTableEvents>;
|
|
79
82
|
export type LsFeatureColumnEvents = {
|
|
80
|
-
onManage: EventName<CustomEvent<'document' | 'toolbox' | 'participant'>>;
|
|
83
|
+
onManage: EventName<CustomEvent<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>>;
|
|
81
84
|
};
|
|
82
85
|
export declare const LsFeatureColumn: StencilReactComponent<LsFeatureColumnElement, LsFeatureColumnEvents>;
|
|
83
86
|
export type LsFieldAlignmentEvents = {
|
|
@@ -204,6 +207,12 @@ export type LsPropsSectionEvents = NonNullable<unknown>;
|
|
|
204
207
|
export declare const LsPropsSection: StencilReactComponent<LsPropsSectionElement, LsPropsSectionEvents>;
|
|
205
208
|
export type LsRadioInputEvents = NonNullable<unknown>;
|
|
206
209
|
export declare const LsRadioInput: StencilReactComponent<LsRadioInputElement, LsRadioInputEvents>;
|
|
210
|
+
export type LsRecipientCardEvents = {
|
|
211
|
+
onChangeSigner: EventName<CustomEvent<number>>;
|
|
212
|
+
};
|
|
213
|
+
export declare const LsRecipientCard: StencilReactComponent<LsRecipientCardElement, LsRecipientCardEvents>;
|
|
214
|
+
export type LsRecipientManagerEvents = NonNullable<unknown>;
|
|
215
|
+
export declare const LsRecipientManager: StencilReactComponent<LsRecipientManagerElement, LsRecipientManagerEvents>;
|
|
207
216
|
export type LsSelectInputEvents = NonNullable<unknown>;
|
|
208
217
|
export declare const LsSelectInput: StencilReactComponent<LsSelectInputElement, LsSelectInputEvents>;
|
|
209
218
|
export type LsStatusbarEvents = NonNullable<unknown>;
|
|
@@ -231,10 +240,13 @@ export type LsToolboxFieldEvents = {
|
|
|
231
240
|
defaultWidth: number;
|
|
232
241
|
formElementType: string;
|
|
233
242
|
validation: number;
|
|
243
|
+
fixedAspect: number | null;
|
|
234
244
|
}>>;
|
|
235
245
|
};
|
|
236
246
|
export declare const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents>;
|
|
237
247
|
export type LsTooltipEvents = NonNullable<unknown>;
|
|
238
248
|
export declare const LsTooltip: StencilReactComponent<LsTooltipElement, LsTooltipEvents>;
|
|
249
|
+
export type LsValidationManagerEvents = NonNullable<unknown>;
|
|
250
|
+
export declare const LsValidationManager: StencilReactComponent<LsValidationManagerElement, LsValidationManagerEvents>;
|
|
239
251
|
export type LsValidationTagEvents = NonNullable<unknown>;
|
|
240
252
|
export declare const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents>;
|
|
@@ -51,6 +51,8 @@ import { LsParticipantManager as LsParticipantManagerElement, defineCustomElemen
|
|
|
51
51
|
import { LsParticipantSelect as LsParticipantSelectElement, defineCustomElement as defineLsParticipantSelect } from "legalesign-document-viewer/dist/components/ls-participant-select.js";
|
|
52
52
|
import { LsPropsSection as LsPropsSectionElement, defineCustomElement as defineLsPropsSection } from "legalesign-document-viewer/dist/components/ls-props-section.js";
|
|
53
53
|
import { LsRadioInput as LsRadioInputElement, defineCustomElement as defineLsRadioInput } from "legalesign-document-viewer/dist/components/ls-radio-input.js";
|
|
54
|
+
import { LsRecipientCard as LsRecipientCardElement, defineCustomElement as defineLsRecipientCard } from "legalesign-document-viewer/dist/components/ls-recipient-card.js";
|
|
55
|
+
import { LsRecipientManager as LsRecipientManagerElement, defineCustomElement as defineLsRecipientManager } from "legalesign-document-viewer/dist/components/ls-recipient-manager.js";
|
|
54
56
|
import { LsSelectInput as LsSelectInputElement, defineCustomElement as defineLsSelectInput } from "legalesign-document-viewer/dist/components/ls-select-input.js";
|
|
55
57
|
import { LsStatusbar as LsStatusbarElement, defineCustomElement as defineLsStatusbar } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
56
58
|
import { LsTextInput as LsTextInputElement, defineCustomElement as defineLsTextInput } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
@@ -59,6 +61,7 @@ import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } fr
|
|
|
59
61
|
import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
60
62
|
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
61
63
|
import { LsTooltip as LsTooltipElement, defineCustomElement as defineLsTooltip } from "legalesign-document-viewer/dist/components/ls-tooltip.js";
|
|
64
|
+
import { LsValidationManager as LsValidationManagerElement, defineCustomElement as defineLsValidationManager } from "legalesign-document-viewer/dist/components/ls-validation-manager.js";
|
|
62
65
|
import { LsValidationTag as LsValidationTagElement, defineCustomElement as defineLsValidationTag } from "legalesign-document-viewer/dist/components/ls-validation-tag.js";
|
|
63
66
|
import React from 'react';
|
|
64
67
|
|
|
@@ -141,7 +144,7 @@ export const LsEditorTable: StencilReactComponent<LsEditorTableElement, LsEditor
|
|
|
141
144
|
defineCustomElement: defineLsEditorTable
|
|
142
145
|
});
|
|
143
146
|
|
|
144
|
-
export type LsFeatureColumnEvents = { onManage: EventName<CustomEvent<'document' | 'toolbox' | 'participant'>> };
|
|
147
|
+
export type LsFeatureColumnEvents = { onManage: EventName<CustomEvent<'document' | 'toolbox' | 'participant' | 'recipient' | 'validation'>> };
|
|
145
148
|
|
|
146
149
|
export const LsFeatureColumn: StencilReactComponent<LsFeatureColumnElement, LsFeatureColumnEvents> = /*@__PURE__*/ createComponent<LsFeatureColumnElement, LsFeatureColumnEvents>({
|
|
147
150
|
tagName: 'ls-feature-column',
|
|
@@ -623,6 +626,28 @@ export const LsRadioInput: StencilReactComponent<LsRadioInputElement, LsRadioInp
|
|
|
623
626
|
defineCustomElement: defineLsRadioInput
|
|
624
627
|
});
|
|
625
628
|
|
|
629
|
+
export type LsRecipientCardEvents = { onChangeSigner: EventName<CustomEvent<number>> };
|
|
630
|
+
|
|
631
|
+
export const LsRecipientCard: StencilReactComponent<LsRecipientCardElement, LsRecipientCardEvents> = /*@__PURE__*/ createComponent<LsRecipientCardElement, LsRecipientCardEvents>({
|
|
632
|
+
tagName: 'ls-recipient-card',
|
|
633
|
+
elementClass: LsRecipientCardElement,
|
|
634
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
635
|
+
react: React,
|
|
636
|
+
events: { onChangeSigner: 'changeSigner' } as LsRecipientCardEvents,
|
|
637
|
+
defineCustomElement: defineLsRecipientCard
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
export type LsRecipientManagerEvents = NonNullable<unknown>;
|
|
641
|
+
|
|
642
|
+
export const LsRecipientManager: StencilReactComponent<LsRecipientManagerElement, LsRecipientManagerEvents> = /*@__PURE__*/ createComponent<LsRecipientManagerElement, LsRecipientManagerEvents>({
|
|
643
|
+
tagName: 'ls-recipient-manager',
|
|
644
|
+
elementClass: LsRecipientManagerElement,
|
|
645
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
646
|
+
react: React,
|
|
647
|
+
events: {} as LsRecipientManagerEvents,
|
|
648
|
+
defineCustomElement: defineLsRecipientManager
|
|
649
|
+
});
|
|
650
|
+
|
|
626
651
|
export type LsSelectInputEvents = NonNullable<unknown>;
|
|
627
652
|
|
|
628
653
|
export const LsSelectInput: StencilReactComponent<LsSelectInputElement, LsSelectInputEvents> = /*@__PURE__*/ createComponent<LsSelectInputElement, LsSelectInputEvents>({
|
|
@@ -697,12 +722,13 @@ export const LsToolbar: StencilReactComponent<LsToolbarElement, LsToolbarEvents>
|
|
|
697
722
|
|
|
698
723
|
export type LsToolboxFieldEvents = {
|
|
699
724
|
onFieldTypeSelected: EventName<CustomEvent<{
|
|
700
|
-
label: string
|
|
701
|
-
elementType: string
|
|
702
|
-
defaultHeight: number
|
|
703
|
-
defaultWidth: number
|
|
704
|
-
formElementType: string
|
|
705
|
-
validation: number
|
|
725
|
+
label: string;
|
|
726
|
+
elementType: string;
|
|
727
|
+
defaultHeight: number;
|
|
728
|
+
defaultWidth: number;
|
|
729
|
+
formElementType: string;
|
|
730
|
+
validation: number;
|
|
731
|
+
fixedAspect: number | null;
|
|
706
732
|
}>>
|
|
707
733
|
};
|
|
708
734
|
|
|
@@ -726,6 +752,17 @@ export const LsTooltip: StencilReactComponent<LsTooltipElement, LsTooltipEvents>
|
|
|
726
752
|
defineCustomElement: defineLsTooltip
|
|
727
753
|
});
|
|
728
754
|
|
|
755
|
+
export type LsValidationManagerEvents = NonNullable<unknown>;
|
|
756
|
+
|
|
757
|
+
export const LsValidationManager: StencilReactComponent<LsValidationManagerElement, LsValidationManagerEvents> = /*@__PURE__*/ createComponent<LsValidationManagerElement, LsValidationManagerEvents>({
|
|
758
|
+
tagName: 'ls-validation-manager',
|
|
759
|
+
elementClass: LsValidationManagerElement,
|
|
760
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
761
|
+
react: React,
|
|
762
|
+
events: {} as LsValidationManagerEvents,
|
|
763
|
+
defineCustomElement: defineLsValidationManager
|
|
764
|
+
});
|
|
765
|
+
|
|
729
766
|
export type LsValidationTagEvents = NonNullable<unknown>;
|
|
730
767
|
|
|
731
768
|
export const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents> = /*@__PURE__*/ createComponent<LsValidationTagElement, LsValidationTagEvents>({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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.
|
|
53
|
+
"legalesign-document-viewer": "^0.4.0"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|