legalesign-document-viewer-react 0.1.13 → 0.2.1

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.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # Pre-flight
2
+
3
+ This component is currently in design and development. Please contact support if you want to be on our alpha test list.
4
+
5
+ In Console you can switch to the Editor widget by altering the end of the url from `edit` to `newedit`.
6
+
7
+ ## Known Issues
8
+
9
+ Zoom confines Canvas (Must)
10
+ No Field Border CSS (Must)
11
+ CSS overwritten (Must)
12
+ Corner resize (Could)
13
+ Witness Fields (Must)
14
+ Show All Fields in Toolbox / Compress (Must)
15
+ Participant Reorder (Must)
16
+ Field Reorder (Could)
17
+ Double Click Sets Field Value (Confirm)
18
+ Required Style (Must)
19
+ Special Validation Layouts (Could)
20
+ Sometimes Layer Blocks First Select (Must)
21
+ File Properties (Should)
22
+ Out of Bound Style (Must)
23
+ Loading Status and Animation (Must)
@@ -11,6 +11,7 @@ import { LsFieldDistribute as LsFieldDistributeElement, defineCustomElement as d
11
11
  import { LsFieldFooter as LsFieldFooterElement, defineCustomElement as defineLsFieldFooter } from "legalesign-document-viewer/dist/components/ls-field-footer.js";
12
12
  import { LsFieldFormat as LsFieldFormatElement, defineCustomElement as defineLsFieldFormat } from "legalesign-document-viewer/dist/components/ls-field-format.js";
13
13
  import { LsFieldPlacement as LsFieldPlacementElement, defineCustomElement as defineLsFieldPlacement } from "legalesign-document-viewer/dist/components/ls-field-placement.js";
14
+ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement, defineCustomElement as defineLsFieldPropertiesAdvanced } from "legalesign-document-viewer/dist/components/ls-field-properties-advanced.js";
14
15
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement, defineCustomElement as defineLsFieldPropertiesAutosign } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
15
16
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement, defineCustomElement as defineLsFieldPropertiesDate } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
16
17
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement, defineCustomElement as defineLsFieldPropertiesEmail } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
@@ -157,6 +158,17 @@ export const LsFieldProperties = /*@__PURE__*/ createComponent({
157
158
  events: {},
158
159
  defineCustomElement: defineLsFieldProperties
159
160
  });
161
+ export const LsFieldPropertiesAdvanced = /*@__PURE__*/ createComponent({
162
+ tagName: 'ls-field-properties-advanced',
163
+ elementClass: LsFieldPropertiesAdvancedElement,
164
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
165
+ react: React,
166
+ events: {
167
+ onMutate: 'mutate',
168
+ onUpdate: 'update'
169
+ },
170
+ defineCustomElement: defineLsFieldPropertiesAdvanced
171
+ });
160
172
  export const LsFieldPropertiesAutosign = /*@__PURE__*/ createComponent({
161
173
  tagName: 'ls-field-properties-autosign',
162
174
  elementClass: LsFieldPropertiesAutosignElement,
@@ -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 LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
6
+ import { type LSApiElement, type LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, 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";
@@ -15,6 +15,7 @@ import { LsFieldDistribute as LsFieldDistributeElement } from "legalesign-docume
15
15
  import { LsFieldFooter as LsFieldFooterElement } from "legalesign-document-viewer/dist/components/ls-field-footer.js";
16
16
  import { LsFieldFormat as LsFieldFormatElement } from "legalesign-document-viewer/dist/components/ls-field-format.js";
17
17
  import { LsFieldPlacement as LsFieldPlacementElement } from "legalesign-document-viewer/dist/components/ls-field-placement.js";
18
+ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement } from "legalesign-document-viewer/dist/components/ls-field-properties-advanced.js";
18
19
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
19
20
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
20
21
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
@@ -90,6 +91,11 @@ export type LsFieldPlacementEvents = {
90
91
  export declare const LsFieldPlacement: StencilReactComponent<LsFieldPlacementElement, LsFieldPlacementEvents>;
91
92
  export type LsFieldPropertiesEvents = NonNullable<unknown>;
92
93
  export declare const LsFieldProperties: StencilReactComponent<LsFieldPropertiesElement, LsFieldPropertiesEvents>;
94
+ export type LsFieldPropertiesAdvancedEvents = {
95
+ onMutate: EventName<LsFieldPropertiesAdvancedCustomEvent<LSMutateEvent[]>>;
96
+ onUpdate: EventName<LsFieldPropertiesAdvancedCustomEvent<LSMutateEvent[]>>;
97
+ };
98
+ export declare const LsFieldPropertiesAdvanced: StencilReactComponent<LsFieldPropertiesAdvancedElement, LsFieldPropertiesAdvancedEvents>;
93
99
  export type LsFieldPropertiesAutosignEvents = NonNullable<unknown>;
94
100
  export declare const LsFieldPropertiesAutosign: StencilReactComponent<LsFieldPropertiesAutosignElement, LsFieldPropertiesAutosignEvents>;
95
101
  export type LsFieldPropertiesDateEvents = 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 LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldSizeCustomEvent, type LsParticipantManagerCustomEvent, type LsParticipantSelectCustomEvent, type LsToolbarCustomEvent } from "legalesign-document-viewer";
12
+ import { type LSApiElement, type LSMutateEvent, type LsDocumentViewerCustomEvent, type LsFieldAlignmentCustomEvent, type LsFieldDimensionsCustomEvent, type LsFieldDistributeCustomEvent, type LsFieldFooterCustomEvent, type LsFieldFormatCustomEvent, type LsFieldPlacementCustomEvent, type LsFieldPropertiesAdvancedCustomEvent, type LsFieldSizeCustomEvent, 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";
@@ -21,6 +21,7 @@ import { LsFieldDistribute as LsFieldDistributeElement, defineCustomElement as d
21
21
  import { LsFieldFooter as LsFieldFooterElement, defineCustomElement as defineLsFieldFooter } from "legalesign-document-viewer/dist/components/ls-field-footer.js";
22
22
  import { LsFieldFormat as LsFieldFormatElement, defineCustomElement as defineLsFieldFormat } from "legalesign-document-viewer/dist/components/ls-field-format.js";
23
23
  import { LsFieldPlacement as LsFieldPlacementElement, defineCustomElement as defineLsFieldPlacement } from "legalesign-document-viewer/dist/components/ls-field-placement.js";
24
+ import { LsFieldPropertiesAdvanced as LsFieldPropertiesAdvancedElement, defineCustomElement as defineLsFieldPropertiesAdvanced } from "legalesign-document-viewer/dist/components/ls-field-properties-advanced.js";
24
25
  import { LsFieldPropertiesAutosign as LsFieldPropertiesAutosignElement, defineCustomElement as defineLsFieldPropertiesAutosign } from "legalesign-document-viewer/dist/components/ls-field-properties-autosign.js";
25
26
  import { LsFieldPropertiesDate as LsFieldPropertiesDateElement, defineCustomElement as defineLsFieldPropertiesDate } from "legalesign-document-viewer/dist/components/ls-field-properties-date.js";
26
27
  import { LsFieldPropertiesEmail as LsFieldPropertiesEmailElement, defineCustomElement as defineLsFieldPropertiesEmail } from "legalesign-document-viewer/dist/components/ls-field-properties-email.js";
@@ -228,6 +229,23 @@ export const LsFieldProperties: StencilReactComponent<LsFieldPropertiesElement,
228
229
  defineCustomElement: defineLsFieldProperties
229
230
  });
230
231
 
232
+ export type LsFieldPropertiesAdvancedEvents = {
233
+ onMutate: EventName<LsFieldPropertiesAdvancedCustomEvent<LSMutateEvent[]>>,
234
+ onUpdate: EventName<LsFieldPropertiesAdvancedCustomEvent<LSMutateEvent[]>>
235
+ };
236
+
237
+ export const LsFieldPropertiesAdvanced: StencilReactComponent<LsFieldPropertiesAdvancedElement, LsFieldPropertiesAdvancedEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesAdvancedElement, LsFieldPropertiesAdvancedEvents>({
238
+ tagName: 'ls-field-properties-advanced',
239
+ elementClass: LsFieldPropertiesAdvancedElement,
240
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
241
+ react: React,
242
+ events: {
243
+ onMutate: 'mutate',
244
+ onUpdate: 'update'
245
+ } as LsFieldPropertiesAdvancedEvents,
246
+ defineCustomElement: defineLsFieldPropertiesAdvanced
247
+ });
248
+
231
249
  export type LsFieldPropertiesAutosignEvents = NonNullable<unknown>;
232
250
 
233
251
  export const LsFieldPropertiesAutosign: StencilReactComponent<LsFieldPropertiesAutosignElement, LsFieldPropertiesAutosignEvents> = /*@__PURE__*/ createComponent<LsFieldPropertiesAutosignElement, LsFieldPropertiesAutosignEvents>({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legalesign-document-viewer-react",
3
- "version": "0.1.13",
3
+ "version": "0.2.1",
4
4
  "description": "Legalesign React Editor / Viewers",
5
5
  "keywords": [
6
6
  "stencilJS",
@@ -15,8 +15,8 @@
15
15
  "main": "dist/index.js",
16
16
  "module": "dist/index.js",
17
17
  "types": "dist/types/index.d.ts",
18
- "directories": {
19
- "lib": "lib"
18
+ "directories": {
19
+ "lib": "lib"
20
20
  },
21
21
  "files": [
22
22
  "dist",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@stencil/react-output-target": "^1.2.0",
53
- "legalesign-document-viewer": "^0.1.7"
53
+ "legalesign-document-viewer": "^0.2.1"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {