legalesign-document-viewer-react 0.1.13 → 0.2.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.
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
+ Unhide Advanced fields (Should)
10
+ Zoom convines Canvas (Must)
11
+ CSS overwritten (Must)
12
+ Field CSS overwritten (Must)
13
+ Corner resize (Could)
14
+ Witness Fields (Must)
15
+ Show All Fields in Toolbox / Compress (Must)
16
+ Participant Reorder (Must)
17
+ Field Reorder (Could)
18
+ Double Click Sets Field Value (Confirm)
19
+ Required Style (Must)
20
+ Special Validation Layouts (Could)
21
+ Sometimes Layer Blocks First Select (Must)
22
+ File Properties (Should)
23
+ Out of Bound Style (Must)
@@ -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.0",
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.0"
54
54
  },
55
55
  "pnpm": {
56
56
  "overrides": {