legalesign-document-viewer-react 0.4.4 → 0.4.6
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.
|
@@ -47,6 +47,7 @@ import { LsSelectInput as LsSelectInputElement, defineCustomElement as defineLsS
|
|
|
47
47
|
import { LsStatusbar as LsStatusbarElement, defineCustomElement as defineLsStatusbar } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
48
48
|
import { LsTextInput as LsTextInputElement, defineCustomElement as defineLsTextInput } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
49
49
|
import { LsTextareaInput as LsTextareaInputElement, defineCustomElement as defineLsTextareaInput } from "legalesign-document-viewer/dist/components/ls-textarea-input.js";
|
|
50
|
+
import { LsTitleInput as LsTitleInputElement, defineCustomElement as defineLsTitleInput } from "legalesign-document-viewer/dist/components/ls-title-input.js";
|
|
50
51
|
import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } from "legalesign-document-viewer/dist/components/ls-toggle.js";
|
|
51
52
|
import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
52
53
|
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
@@ -488,6 +489,17 @@ export const LsTextareaInput = /*@__PURE__*/ createComponent({
|
|
|
488
489
|
events: {},
|
|
489
490
|
defineCustomElement: defineLsTextareaInput
|
|
490
491
|
});
|
|
492
|
+
export const LsTitleInput = /*@__PURE__*/ createComponent({
|
|
493
|
+
tagName: 'ls-title-input',
|
|
494
|
+
elementClass: LsTitleInputElement,
|
|
495
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
496
|
+
react: React,
|
|
497
|
+
events: {
|
|
498
|
+
onMutate: 'mutate',
|
|
499
|
+
onUpdate: 'update'
|
|
500
|
+
},
|
|
501
|
+
defineCustomElement: defineLsTitleInput
|
|
502
|
+
});
|
|
491
503
|
export const LsToggle = /*@__PURE__*/ createComponent({
|
|
492
504
|
tagName: 'ls-toggle',
|
|
493
505
|
elementClass: LsToggleElement,
|
|
@@ -536,6 +548,6 @@ export const LsValidationTag = /*@__PURE__*/ createComponent({
|
|
|
536
548
|
elementClass: LsValidationTagElement,
|
|
537
549
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
538
550
|
react: React,
|
|
539
|
-
events: {},
|
|
551
|
+
events: { onChangeSigner: 'changeSigner' },
|
|
540
552
|
defineCustomElement: defineLsValidationTag
|
|
541
553
|
});
|
|
@@ -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 IToolboxField, 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 LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
6
|
+
import { type IToolboxField, 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 LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsTitleInputCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
7
7
|
import { LsComposeManager as LsComposeManagerElement } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
8
8
|
import { LsDocumentOptions as LsDocumentOptionsElement } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
9
9
|
import { LsDocumentViewer as LsDocumentViewerElement } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
@@ -51,6 +51,7 @@ import { LsSelectInput as LsSelectInputElement } from "legalesign-document-viewe
|
|
|
51
51
|
import { LsStatusbar as LsStatusbarElement } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
52
52
|
import { LsTextInput as LsTextInputElement } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
53
53
|
import { LsTextareaInput as LsTextareaInputElement } from "legalesign-document-viewer/dist/components/ls-textarea-input.js";
|
|
54
|
+
import { LsTitleInput as LsTitleInputElement } from "legalesign-document-viewer/dist/components/ls-title-input.js";
|
|
54
55
|
import { LsToggle as LsToggleElement } from "legalesign-document-viewer/dist/components/ls-toggle.js";
|
|
55
56
|
import { LsToolbar as LsToolbarElement } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
56
57
|
import { LsToolboxField as LsToolboxFieldElement } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
@@ -224,6 +225,11 @@ export type LsTextInputEvents = {
|
|
|
224
225
|
export declare const LsTextInput: StencilReactComponent<LsTextInputElement, LsTextInputEvents>;
|
|
225
226
|
export type LsTextareaInputEvents = NonNullable<unknown>;
|
|
226
227
|
export declare const LsTextareaInput: StencilReactComponent<LsTextareaInputElement, LsTextareaInputEvents>;
|
|
228
|
+
export type LsTitleInputEvents = {
|
|
229
|
+
onMutate: EventName<LsTitleInputCustomEvent<LSMutateEvent[]>>;
|
|
230
|
+
onUpdate: EventName<LsTitleInputCustomEvent<LSMutateEvent[]>>;
|
|
231
|
+
};
|
|
232
|
+
export declare const LsTitleInput: StencilReactComponent<LsTitleInputElement, LsTitleInputEvents>;
|
|
227
233
|
export type LsToggleEvents = {
|
|
228
234
|
onValueChange: EventName<CustomEvent<boolean>>;
|
|
229
235
|
};
|
|
@@ -249,5 +255,7 @@ export type LsTooltipEvents = NonNullable<unknown>;
|
|
|
249
255
|
export declare const LsTooltip: StencilReactComponent<LsTooltipElement, LsTooltipEvents>;
|
|
250
256
|
export type LsValidationManagerEvents = NonNullable<unknown>;
|
|
251
257
|
export declare const LsValidationManager: StencilReactComponent<LsValidationManagerElement, LsValidationManagerEvents>;
|
|
252
|
-
export type LsValidationTagEvents =
|
|
258
|
+
export type LsValidationTagEvents = {
|
|
259
|
+
onChangeSigner: EventName<CustomEvent<number>>;
|
|
260
|
+
};
|
|
253
261
|
export declare const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents>;
|
|
@@ -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 IToolboxField, 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 LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
12
|
+
import { type IToolboxField, 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 LsFieldPropertiesMultipleCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantCardCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsRecipientCardCustomEvent, type LsTitleInputCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
|
|
13
13
|
import { LsComposeManager as LsComposeManagerElement, defineCustomElement as defineLsComposeManager } from "legalesign-document-viewer/dist/components/ls-compose-manager.js";
|
|
14
14
|
import { LsDocumentOptions as LsDocumentOptionsElement, defineCustomElement as defineLsDocumentOptions } from "legalesign-document-viewer/dist/components/ls-document-options.js";
|
|
15
15
|
import { LsDocumentViewer as LsDocumentViewerElement, defineCustomElement as defineLsDocumentViewer } from "legalesign-document-viewer/dist/components/ls-document-viewer.js";
|
|
@@ -57,6 +57,7 @@ import { LsSelectInput as LsSelectInputElement, defineCustomElement as defineLsS
|
|
|
57
57
|
import { LsStatusbar as LsStatusbarElement, defineCustomElement as defineLsStatusbar } from "legalesign-document-viewer/dist/components/ls-statusbar.js";
|
|
58
58
|
import { LsTextInput as LsTextInputElement, defineCustomElement as defineLsTextInput } from "legalesign-document-viewer/dist/components/ls-text-input.js";
|
|
59
59
|
import { LsTextareaInput as LsTextareaInputElement, defineCustomElement as defineLsTextareaInput } from "legalesign-document-viewer/dist/components/ls-textarea-input.js";
|
|
60
|
+
import { LsTitleInput as LsTitleInputElement, defineCustomElement as defineLsTitleInput } from "legalesign-document-viewer/dist/components/ls-title-input.js";
|
|
60
61
|
import { LsToggle as LsToggleElement, defineCustomElement as defineLsToggle } from "legalesign-document-viewer/dist/components/ls-toggle.js";
|
|
61
62
|
import { LsToolbar as LsToolbarElement, defineCustomElement as defineLsToolbar } from "legalesign-document-viewer/dist/components/ls-toolbar.js";
|
|
62
63
|
import { LsToolboxField as LsToolboxFieldElement, defineCustomElement as defineLsToolboxField } from "legalesign-document-viewer/dist/components/ls-toolbox-field.js";
|
|
@@ -698,6 +699,23 @@ export const LsTextareaInput: StencilReactComponent<LsTextareaInputElement, LsTe
|
|
|
698
699
|
defineCustomElement: defineLsTextareaInput
|
|
699
700
|
});
|
|
700
701
|
|
|
702
|
+
export type LsTitleInputEvents = {
|
|
703
|
+
onMutate: EventName<LsTitleInputCustomEvent<LSMutateEvent[]>>,
|
|
704
|
+
onUpdate: EventName<LsTitleInputCustomEvent<LSMutateEvent[]>>
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
export const LsTitleInput: StencilReactComponent<LsTitleInputElement, LsTitleInputEvents> = /*@__PURE__*/ createComponent<LsTitleInputElement, LsTitleInputEvents>({
|
|
708
|
+
tagName: 'ls-title-input',
|
|
709
|
+
elementClass: LsTitleInputElement,
|
|
710
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
711
|
+
react: React,
|
|
712
|
+
events: {
|
|
713
|
+
onMutate: 'mutate',
|
|
714
|
+
onUpdate: 'update'
|
|
715
|
+
} as LsTitleInputEvents,
|
|
716
|
+
defineCustomElement: defineLsTitleInput
|
|
717
|
+
});
|
|
718
|
+
|
|
701
719
|
export type LsToggleEvents = { onValueChange: EventName<CustomEvent<boolean>> };
|
|
702
720
|
|
|
703
721
|
export const LsToggle: StencilReactComponent<LsToggleElement, LsToggleEvents> = /*@__PURE__*/ createComponent<LsToggleElement, LsToggleEvents>({
|
|
@@ -769,13 +787,13 @@ export const LsValidationManager: StencilReactComponent<LsValidationManagerEleme
|
|
|
769
787
|
defineCustomElement: defineLsValidationManager
|
|
770
788
|
});
|
|
771
789
|
|
|
772
|
-
export type LsValidationTagEvents =
|
|
790
|
+
export type LsValidationTagEvents = { onChangeSigner: EventName<CustomEvent<number>> };
|
|
773
791
|
|
|
774
792
|
export const LsValidationTag: StencilReactComponent<LsValidationTagElement, LsValidationTagEvents> = /*@__PURE__*/ createComponent<LsValidationTagElement, LsValidationTagEvents>({
|
|
775
793
|
tagName: 'ls-validation-tag',
|
|
776
794
|
elementClass: LsValidationTagElement,
|
|
777
795
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
778
796
|
react: React,
|
|
779
|
-
events: {} as LsValidationTagEvents,
|
|
797
|
+
events: { onChangeSigner: 'changeSigner' } as LsValidationTagEvents,
|
|
780
798
|
defineCustomElement: defineLsValidationTag
|
|
781
799
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
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.4.
|
|
53
|
+
"legalesign-document-viewer": "^0.4.6"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|