Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bpmn-io/form-js-viewer

Package Overview
Dependencies
Maintainers
9
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpmn-io/form-js-viewer - npm Package Compare versions

Comparing version 1.1.0 to 1.3.0-alpha.0

dist/types/core/FieldFactory.d.ts

1

dist/types/core/FormFieldRegistry.d.ts

@@ -6,3 +6,2 @@ declare class FormFieldRegistry {

_ids: any;
_keys: any;
add(formField: any): void;

@@ -9,0 +8,0 @@ remove(formField: any): void;

declare namespace _default {
const __depends__: ({
importer: (string | typeof import("../import/Importer").default)[];
} | {
const __depends__: {
__init__: string[];
formFields: (string | typeof import("../render").FormFields)[];
renderer: (string | typeof import("../render/Renderer").default)[];
})[];
}[];
const eventBus: (string | typeof EventBus)[];
const importer: (string | typeof Importer)[];
const fieldFactory: (string | typeof FieldFactory)[];
const formFieldRegistry: (string | typeof FormFieldRegistry)[];
const pathRegistry: (string | typeof PathRegistry)[];
const formLayouter: (string | typeof FormLayouter)[];

@@ -15,6 +16,9 @@ const validator: (string | typeof Validator)[];

export default _default;
import Importer from './Importer';
import FieldFactory from './FieldFactory';
import FormFieldRegistry from './FormFieldRegistry';
import PathRegistry from './PathRegistry';
import FormLayouter from './FormLayouter';
import EventBus from './EventBus';
import Validator from './Validator';
export { FormFieldRegistry, FormLayouter };
export { Importer, FieldFactory, FormFieldRegistry, PathRegistry, FormLayouter };

@@ -6,4 +6,5 @@ /**

declare class ConditionChecker {
constructor(formFieldRegistry: any, eventBus: any);
constructor(formFieldRegistry: any, pathRegistry: any, eventBus: any);
_formFieldRegistry: any;
_pathRegistry: any;
_eventBus: any;

@@ -42,3 +43,3 @@ /**

}): boolean;
_getConditions(): any;
_clearObjectValueRecursively(valuePath: any, obj: any): void;
}

@@ -45,0 +46,0 @@ declare namespace ConditionChecker {

@@ -142,2 +142,6 @@ /**

_applyConditions(toFilter: any, data: any): any;
/**
* @internal
*/
_initializeFieldData(data: any): any;
}

@@ -144,0 +148,0 @@ export type Injector = import('./types').Injector;

@@ -17,4 +17,4 @@ /**

import Form from './Form';
export const schemaVersion: 10;
export const schemaVersion: 11;
export { Form };
export { FormFieldRegistry, FormLayouter } from "./core";
export { FormFieldRegistry, FormLayouter, Importer, FieldFactory, PathRegistry } from "./core";

@@ -10,8 +10,3 @@ declare function Checklist(props: any): import("preact").JSX.Element;

export { sanitizeMultiSelectValue as sanitizeValue };
export function create(options?: {}): {
values: {
label: string;
value: string;
}[];
};
export { createEmptyOptions as create };
}

@@ -22,1 +17,2 @@ }

import { sanitizeMultiSelectValue } from '../util/sanitizerUtil';
import { createEmptyOptions } from '../util/valuesUtil';

@@ -1,3 +0,3 @@

declare function Default(props: any): import("preact").JSX.Element;
declare namespace Default {
declare function FormComponent(props: any): import("preact").JSX.Element;
declare namespace FormComponent {
namespace config {

@@ -13,2 +13,2 @@ const type: string;

}
export default Default;
export default FormComponent;

@@ -10,8 +10,3 @@ declare function Radio(props: any): import("preact").JSX.Element;

export { sanitizeSingleSelectValue as sanitizeValue };
export function create(options?: {}): {
values: {
label: string;
value: string;
}[];
};
export { createEmptyOptions as create };
}

@@ -22,1 +17,2 @@ }

import { sanitizeSingleSelectValue } from '../util/sanitizerUtil';
import { createEmptyOptions } from '../util/valuesUtil';

@@ -10,8 +10,3 @@ declare function Select(props: any): import("preact").JSX.Element;

export { sanitizeSingleSelectValue as sanitizeValue };
export function create(options?: {}): {
values: {
label: string;
value: string;
}[];
};
export { createEmptyOptions as create };
}

@@ -22,1 +17,2 @@ }

import { sanitizeSingleSelectValue } from '../util/sanitizerUtil';
import { createEmptyOptions } from '../util/valuesUtil';

@@ -10,8 +10,3 @@ declare function Taglist(props: any): import("preact").JSX.Element;

export { sanitizeMultiSelectValue as sanitizeValue };
export function create(options?: {}): {
values: {
label: string;
value: string;
}[];
};
export { createEmptyOptions as create };
}

@@ -22,1 +17,2 @@ }

import { sanitizeMultiSelectValue } from '../util/sanitizerUtil';
import { createEmptyOptions } from '../util/valuesUtil';

@@ -1,2 +0,2 @@

export const formFields: (typeof Default | typeof Image)[];
export const formFields: (typeof Default | typeof Group | typeof Image)[];
export * from "./icons";

@@ -9,2 +9,3 @@ import Button from './form-fields/Button';

import FormComponent from './FormComponent';
import Group from './form-fields/Group';
import Image from './form-fields/Image';

@@ -19,2 +20,2 @@ import Numberfield from './form-fields/Number';

import Textarea from './form-fields/Textarea';
export { Button, Checkbox, Checklist, Default, Datetime, FormComponent, Image, Numberfield, Radio, Select, Spacer, Taglist, Text, Textfield, Textarea };
export { Button, Checkbox, Checklist, Default, Datetime, FormComponent, Group, Image, Numberfield, Radio, Select, Spacer, Taglist, Text, Textfield, Textarea };
export function getValuesData(formField: any, formData: any): any;
export function normalizeValuesData(valuesData: any): any;
export function createEmptyOptions(options?: {}): {
values: {
label: string;
value: string;
}[];
};
export default FormRenderContext;
declare const FormRenderContext: import("preact").Context<{
EmptyRoot: (props: any) => any;
Empty: (props: any) => any;

@@ -8,2 +9,4 @@ Children: (props: any) => import("preact").JSX.Element;

Column: (props: any) => any;
hoveredId: any[];
setHoveredId: (newValue: any) => void;
}>;

@@ -0,0 +0,0 @@ import { Injector } from 'didi';

@@ -1,6 +0,4 @@

export function findErrors(errors: any, path: any): any;
export function isRequired(field: any): any;
export function pathParse(path: any): any;
export function pathsEqual(a: any, b: any): any;
export function pathStringify(path: any): any;
export function generateIndexForType(type: any): any;

@@ -23,4 +21,5 @@ export function generateIdForType(type: any): string;

export function getSchemaVariables(schema: any, options?: {}): string[];
export function runRecursively(formField: any, fn: any): void;
export * from "./constants";
export * from "./injector";
export * from "./form";
{
"name": "@bpmn-io/form-js-viewer",
"version": "1.1.0",
"version": "1.3.0-alpha.0",
"description": "View forms - powered by bpmn.io",

@@ -25,2 +25,3 @@ "exports": {

"start": "SINGLE_START=basic npm run dev",
"start:groups": "SINGLE_START=groups npm run dev",
"bundle": "rollup -c --failAfterWarnings --bundleConfigAsCjs",

@@ -66,3 +67,3 @@ "bundle:scss": "sass --no-source-map --load-path=\"../../node_modules\" assets/index.scss dist/assets/form-js.css",

],
"gitHead": "6bfb194e07fe44d3309744507f9f874cf8e94169"
"gitHead": "dd5504e512c13945767159900dc8cf884834b937"
}

@@ -0,0 +0,0 @@ # @bpmn-io/form-js-viewer

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc