legalesign-document-viewer-react 0.3.4 → 0.3.5
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.
|
@@ -29,8 +29,10 @@ import { LsFieldProperties as LsFieldPropertiesElement, defineCustomElement as d
|
|
|
29
29
|
import { LsFieldSize as LsFieldSizeElement, defineCustomElement as defineLsFieldSize } from "legalesign-document-viewer/dist/components/ls-field-size.js";
|
|
30
30
|
import { LsFieldTypeDisplay as LsFieldTypeDisplayElement, defineCustomElement as defineLsFieldTypeDisplay } from "legalesign-document-viewer/dist/components/ls-field-type-display.js";
|
|
31
31
|
import { LsFormfield as LsFormfieldElement, defineCustomElement as defineLsFormfield } from "legalesign-document-viewer/dist/components/ls-formfield.js";
|
|
32
|
+
import { LsHelperBar as LsHelperBarElement, defineCustomElement as defineLsHelperBar } from "legalesign-document-viewer/dist/components/ls-helper-bar.js";
|
|
32
33
|
import { LsIcon as LsIconElement, defineCustomElement as defineLsIcon } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
33
34
|
import { LsInputWrapper as LsInputWrapperElement, defineCustomElement as defineLsInputWrapper } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
35
|
+
import { LsKeyboardShortcuts as LsKeyboardShortcutsElement, defineCustomElement as defineLsKeyboardShortcuts } from "legalesign-document-viewer/dist/components/ls-keyboard-shortcuts.js";
|
|
34
36
|
import { LsNumberInput as LsNumberInputElement, defineCustomElement as defineLsNumberInput } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
35
37
|
import { LsPageLoader as LsPageLoaderElement, defineCustomElement as defineLsPageLoader } from "legalesign-document-viewer/dist/components/ls-page-loader.js";
|
|
36
38
|
import { LsParticipantCard as LsParticipantCardElement, defineCustomElement as defineLsParticipantCard } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
@@ -323,6 +325,14 @@ export const LsFormfield = /*@__PURE__*/ createComponent({
|
|
|
323
325
|
events: { onValueChange: 'valueChange' },
|
|
324
326
|
defineCustomElement: defineLsFormfield
|
|
325
327
|
});
|
|
328
|
+
export const LsHelperBar = /*@__PURE__*/ createComponent({
|
|
329
|
+
tagName: 'ls-helper-bar',
|
|
330
|
+
elementClass: LsHelperBarElement,
|
|
331
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
332
|
+
react: React,
|
|
333
|
+
events: {},
|
|
334
|
+
defineCustomElement: defineLsHelperBar
|
|
335
|
+
});
|
|
326
336
|
export const LsIcon = /*@__PURE__*/ createComponent({
|
|
327
337
|
tagName: 'ls-icon',
|
|
328
338
|
elementClass: LsIconElement,
|
|
@@ -339,6 +349,14 @@ export const LsInputWrapper = /*@__PURE__*/ createComponent({
|
|
|
339
349
|
events: {},
|
|
340
350
|
defineCustomElement: defineLsInputWrapper
|
|
341
351
|
});
|
|
352
|
+
export const LsKeyboardShortcuts = /*@__PURE__*/ createComponent({
|
|
353
|
+
tagName: 'ls-keyboard-shortcuts',
|
|
354
|
+
elementClass: LsKeyboardShortcutsElement,
|
|
355
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
356
|
+
react: React,
|
|
357
|
+
events: {},
|
|
358
|
+
defineCustomElement: defineLsKeyboardShortcuts
|
|
359
|
+
});
|
|
342
360
|
export const LsNumberInput = /*@__PURE__*/ createComponent({
|
|
343
361
|
tagName: 'ls-number-input',
|
|
344
362
|
elementClass: LsNumberInputElement,
|
|
@@ -463,7 +481,7 @@ export const LsToolboxField = /*@__PURE__*/ createComponent({
|
|
|
463
481
|
elementClass: LsToolboxFieldElement,
|
|
464
482
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
465
483
|
react: React,
|
|
466
|
-
events: {
|
|
484
|
+
events: { onFieldTypeSelected: 'fieldTypeSelected' },
|
|
467
485
|
defineCustomElement: defineLsToolboxField
|
|
468
486
|
});
|
|
469
487
|
export const LsTooltip = /*@__PURE__*/ createComponent({
|
|
@@ -33,8 +33,10 @@ import { LsFieldProperties as LsFieldPropertiesElement } from "legalesign-docume
|
|
|
33
33
|
import { LsFieldSize as LsFieldSizeElement } from "legalesign-document-viewer/dist/components/ls-field-size.js";
|
|
34
34
|
import { LsFieldTypeDisplay as LsFieldTypeDisplayElement } from "legalesign-document-viewer/dist/components/ls-field-type-display.js";
|
|
35
35
|
import { LsFormfield as LsFormfieldElement } from "legalesign-document-viewer/dist/components/ls-formfield.js";
|
|
36
|
+
import { LsHelperBar as LsHelperBarElement } from "legalesign-document-viewer/dist/components/ls-helper-bar.js";
|
|
36
37
|
import { LsIcon as LsIconElement } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
37
38
|
import { LsInputWrapper as LsInputWrapperElement } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
39
|
+
import { LsKeyboardShortcuts as LsKeyboardShortcutsElement } from "legalesign-document-viewer/dist/components/ls-keyboard-shortcuts.js";
|
|
38
40
|
import { LsNumberInput as LsNumberInputElement } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
39
41
|
import { LsPageLoader as LsPageLoaderElement } from "legalesign-document-viewer/dist/components/ls-page-loader.js";
|
|
40
42
|
import { LsParticipantCard as LsParticipantCardElement } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
@@ -156,10 +158,14 @@ export type LsFormfieldEvents = {
|
|
|
156
158
|
onValueChange: EventName<CustomEvent<string>>;
|
|
157
159
|
};
|
|
158
160
|
export declare const LsFormfield: StencilReactComponent<LsFormfieldElement, LsFormfieldEvents>;
|
|
161
|
+
export type LsHelperBarEvents = NonNullable<unknown>;
|
|
162
|
+
export declare const LsHelperBar: StencilReactComponent<LsHelperBarElement, LsHelperBarEvents>;
|
|
159
163
|
export type LsIconEvents = NonNullable<unknown>;
|
|
160
164
|
export declare const LsIcon: StencilReactComponent<LsIconElement, LsIconEvents>;
|
|
161
165
|
export type LsInputWrapperEvents = NonNullable<unknown>;
|
|
162
166
|
export declare const LsInputWrapper: StencilReactComponent<LsInputWrapperElement, LsInputWrapperEvents>;
|
|
167
|
+
export type LsKeyboardShortcutsEvents = NonNullable<unknown>;
|
|
168
|
+
export declare const LsKeyboardShortcuts: StencilReactComponent<LsKeyboardShortcutsElement, LsKeyboardShortcutsEvents>;
|
|
163
169
|
export type LsNumberInputEvents = NonNullable<unknown>;
|
|
164
170
|
export declare const LsNumberInput: StencilReactComponent<LsNumberInputElement, LsNumberInputEvents>;
|
|
165
171
|
export type LsPageLoaderEvents = NonNullable<unknown>;
|
|
@@ -215,7 +221,14 @@ export type LsToolbarEvents = {
|
|
|
215
221
|
};
|
|
216
222
|
export declare const LsToolbar: StencilReactComponent<LsToolbarElement, LsToolbarEvents>;
|
|
217
223
|
export type LsToolboxFieldEvents = {
|
|
218
|
-
|
|
224
|
+
onFieldTypeSelected: EventName<CustomEvent<{
|
|
225
|
+
label: string;
|
|
226
|
+
elementType: string;
|
|
227
|
+
defaultHeight: number;
|
|
228
|
+
defaultWidth: number;
|
|
229
|
+
formElementType: string;
|
|
230
|
+
validation: number;
|
|
231
|
+
}>>;
|
|
219
232
|
};
|
|
220
233
|
export declare const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents>;
|
|
221
234
|
export type LsTooltipEvents = NonNullable<unknown>;
|
|
@@ -39,8 +39,10 @@ import { LsFieldProperties as LsFieldPropertiesElement, defineCustomElement as d
|
|
|
39
39
|
import { LsFieldSize as LsFieldSizeElement, defineCustomElement as defineLsFieldSize } from "legalesign-document-viewer/dist/components/ls-field-size.js";
|
|
40
40
|
import { LsFieldTypeDisplay as LsFieldTypeDisplayElement, defineCustomElement as defineLsFieldTypeDisplay } from "legalesign-document-viewer/dist/components/ls-field-type-display.js";
|
|
41
41
|
import { LsFormfield as LsFormfieldElement, defineCustomElement as defineLsFormfield } from "legalesign-document-viewer/dist/components/ls-formfield.js";
|
|
42
|
+
import { LsHelperBar as LsHelperBarElement, defineCustomElement as defineLsHelperBar } from "legalesign-document-viewer/dist/components/ls-helper-bar.js";
|
|
42
43
|
import { LsIcon as LsIconElement, defineCustomElement as defineLsIcon } from "legalesign-document-viewer/dist/components/ls-icon.js";
|
|
43
44
|
import { LsInputWrapper as LsInputWrapperElement, defineCustomElement as defineLsInputWrapper } from "legalesign-document-viewer/dist/components/ls-input-wrapper.js";
|
|
45
|
+
import { LsKeyboardShortcuts as LsKeyboardShortcutsElement, defineCustomElement as defineLsKeyboardShortcuts } from "legalesign-document-viewer/dist/components/ls-keyboard-shortcuts.js";
|
|
44
46
|
import { LsNumberInput as LsNumberInputElement, defineCustomElement as defineLsNumberInput } from "legalesign-document-viewer/dist/components/ls-number-input.js";
|
|
45
47
|
import { LsPageLoader as LsPageLoaderElement, defineCustomElement as defineLsPageLoader } from "legalesign-document-viewer/dist/components/ls-page-loader.js";
|
|
46
48
|
import { LsParticipantCard as LsParticipantCardElement, defineCustomElement as defineLsParticipantCard } from "legalesign-document-viewer/dist/components/ls-participant-card.js";
|
|
@@ -464,6 +466,17 @@ export const LsFormfield: StencilReactComponent<LsFormfieldElement, LsFormfieldE
|
|
|
464
466
|
defineCustomElement: defineLsFormfield
|
|
465
467
|
});
|
|
466
468
|
|
|
469
|
+
export type LsHelperBarEvents = NonNullable<unknown>;
|
|
470
|
+
|
|
471
|
+
export const LsHelperBar: StencilReactComponent<LsHelperBarElement, LsHelperBarEvents> = /*@__PURE__*/ createComponent<LsHelperBarElement, LsHelperBarEvents>({
|
|
472
|
+
tagName: 'ls-helper-bar',
|
|
473
|
+
elementClass: LsHelperBarElement,
|
|
474
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
475
|
+
react: React,
|
|
476
|
+
events: {} as LsHelperBarEvents,
|
|
477
|
+
defineCustomElement: defineLsHelperBar
|
|
478
|
+
});
|
|
479
|
+
|
|
467
480
|
export type LsIconEvents = NonNullable<unknown>;
|
|
468
481
|
|
|
469
482
|
export const LsIcon: StencilReactComponent<LsIconElement, LsIconEvents> = /*@__PURE__*/ createComponent<LsIconElement, LsIconEvents>({
|
|
@@ -486,6 +499,17 @@ export const LsInputWrapper: StencilReactComponent<LsInputWrapperElement, LsInpu
|
|
|
486
499
|
defineCustomElement: defineLsInputWrapper
|
|
487
500
|
});
|
|
488
501
|
|
|
502
|
+
export type LsKeyboardShortcutsEvents = NonNullable<unknown>;
|
|
503
|
+
|
|
504
|
+
export const LsKeyboardShortcuts: StencilReactComponent<LsKeyboardShortcutsElement, LsKeyboardShortcutsEvents> = /*@__PURE__*/ createComponent<LsKeyboardShortcutsElement, LsKeyboardShortcutsEvents>({
|
|
505
|
+
tagName: 'ls-keyboard-shortcuts',
|
|
506
|
+
elementClass: LsKeyboardShortcutsElement,
|
|
507
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
508
|
+
react: React,
|
|
509
|
+
events: {} as LsKeyboardShortcutsEvents,
|
|
510
|
+
defineCustomElement: defineLsKeyboardShortcuts
|
|
511
|
+
});
|
|
512
|
+
|
|
489
513
|
export type LsNumberInputEvents = NonNullable<unknown>;
|
|
490
514
|
|
|
491
515
|
export const LsNumberInput: StencilReactComponent<LsNumberInputElement, LsNumberInputEvents> = /*@__PURE__*/ createComponent<LsNumberInputElement, LsNumberInputEvents>({
|
|
@@ -659,14 +683,23 @@ export const LsToolbar: StencilReactComponent<LsToolbarElement, LsToolbarEvents>
|
|
|
659
683
|
defineCustomElement: defineLsToolbar
|
|
660
684
|
});
|
|
661
685
|
|
|
662
|
-
export type LsToolboxFieldEvents = {
|
|
686
|
+
export type LsToolboxFieldEvents = {
|
|
687
|
+
onFieldTypeSelected: EventName<CustomEvent<{
|
|
688
|
+
label: string
|
|
689
|
+
elementType: string
|
|
690
|
+
defaultHeight: number
|
|
691
|
+
defaultWidth: number
|
|
692
|
+
formElementType: string
|
|
693
|
+
validation: number
|
|
694
|
+
}>>
|
|
695
|
+
};
|
|
663
696
|
|
|
664
697
|
export const LsToolboxField: StencilReactComponent<LsToolboxFieldElement, LsToolboxFieldEvents> = /*@__PURE__*/ createComponent<LsToolboxFieldElement, LsToolboxFieldEvents>({
|
|
665
698
|
tagName: 'ls-toolbox-field',
|
|
666
699
|
elementClass: LsToolboxFieldElement,
|
|
667
700
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
668
701
|
react: React,
|
|
669
|
-
events: {
|
|
702
|
+
events: { onFieldTypeSelected: 'fieldTypeSelected' } as LsToolboxFieldEvents,
|
|
670
703
|
defineCustomElement: defineLsToolboxField
|
|
671
704
|
});
|
|
672
705
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legalesign-document-viewer-react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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.3.
|
|
53
|
+
"legalesign-document-viewer": "^0.3.5"
|
|
54
54
|
},
|
|
55
55
|
"pnpm": {
|
|
56
56
|
"overrides": {
|