@bpmn-io/form-js-editor
Advanced tools
Comparing version 1.6.4 to 1.7.0-alpha.0
@@ -6,6 +6,5 @@ /** | ||
*/ | ||
declare function DebounceFactory(config?: number | boolean): (fn: any) => any; | ||
declare namespace DebounceFactory { | ||
export function DebounceFactory(config?: number | boolean): (fn: any) => any; | ||
export namespace DebounceFactory { | ||
let $inject: string[]; | ||
} | ||
export default DebounceFactory; |
@@ -1,1 +0,1 @@ | ||
export { default } from "diagram-js/lib/core/EventBus"; | ||
export { default as EventBus } from "diagram-js/lib/core/EventBus"; |
@@ -1,2 +0,2 @@ | ||
export default class FormFieldRegistry extends BaseFieldRegistry { | ||
export class FormFieldRegistry extends BaseFieldRegistry { | ||
/** | ||
@@ -3,0 +3,0 @@ * Updates a form fields id. |
@@ -1,1 +0,1 @@ | ||
export { FormLayouter as default } from "@bpmn-io/form-js-viewer"; | ||
export { FormLayouter } from "@bpmn-io/form-js-viewer"; |
@@ -5,17 +5,16 @@ export const MAX_COLUMNS_PER_ROW: 16; | ||
export const MAX_FIELDS_PER_ROW: 4; | ||
declare class FormLayoutValidator { | ||
export class FormLayoutValidator { | ||
/** | ||
* @constructor | ||
* | ||
* @param { import('./FormLayouter').default } formLayouter | ||
* @param { import('./FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('./FormLayouter').FormLayouter } formLayouter | ||
* @param { import('./FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
*/ | ||
constructor(formLayouter: import('./FormLayouter').default, formFieldRegistry: import('./FormFieldRegistry').default); | ||
_formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default; | ||
_formFieldRegistry: import("./FormFieldRegistry").default; | ||
constructor(formLayouter: import('./FormLayouter').FormLayouter, formFieldRegistry: import('./FormFieldRegistry').FormFieldRegistry); | ||
_formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").FormLayouter; | ||
_formFieldRegistry: import("./FormFieldRegistry").FormFieldRegistry; | ||
validateField(field: {}, columns: any, row: any): "Minimum 2 columns are allowed" | "Maximum 16 columns are allowed" | "New value exceeds the maximum of 16 columns per row" | "Maximum 4 fields per row are allowed"; | ||
} | ||
declare namespace FormLayoutValidator { | ||
export namespace FormLayoutValidator { | ||
let $inject: string[]; | ||
} | ||
export default FormLayoutValidator; |
@@ -1,6 +0,6 @@ | ||
declare namespace _default { | ||
export namespace CoreModule { | ||
let __depends__: { | ||
__init__: string[]; | ||
formFields: (string | typeof import("../render/EditorFormFields").default)[]; | ||
renderer: (string | typeof import("../render/Renderer").default)[]; | ||
formFields: (string | typeof import("../render/EditorFormFields").EditorFormFields)[]; | ||
renderer: (string | typeof import("../render/Renderer").Renderer)[]; | ||
}[]; | ||
@@ -16,10 +16,9 @@ let debounce: (string | typeof DebounceFactory)[]; | ||
} | ||
export default _default; | ||
import DebounceFactory from './Debounce'; | ||
import EventBus from './EventBus'; | ||
import { DebounceFactory } from './Debounce'; | ||
import { EventBus } from './EventBus'; | ||
import { Importer } from '@bpmn-io/form-js-viewer'; | ||
import FormFieldRegistry from './FormFieldRegistry'; | ||
import { FormFieldRegistry } from './FormFieldRegistry'; | ||
import { PathRegistry } from '@bpmn-io/form-js-viewer'; | ||
import FormLayouter from './FormLayouter'; | ||
import FormLayoutValidator from './FormLayoutValidator'; | ||
import { FormLayouter } from './FormLayouter'; | ||
import { FormLayoutValidator } from './FormLayoutValidator'; | ||
import { FieldFactory } from '@bpmn-io/form-js-viewer'; |
@@ -13,20 +13,20 @@ export const DRAG_CONTAINER_CLS: "fjs-drag-container"; | ||
*/ | ||
declare class Dragging { | ||
export class Dragging { | ||
/** | ||
* @constructor | ||
* | ||
* @param { import('../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../core/FormLayouter').default } formLayouter | ||
* @param { import('../../core/FormLayoutValidator').default } formLayoutValidator | ||
* @param { import('../../core/EventBus').default } eventBus | ||
* @param { import('../modeling/Modeling').default } modeling | ||
* @param { import('../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
* @param { import('../../core/FormLayouter').FormLayouter } formLayouter | ||
* @param { import('../../core/FormLayoutValidator').FormLayoutValidator } formLayoutValidator | ||
* @param { import('../../core/EventBus').EventBus } eventBus | ||
* @param { import('../modeling/Modeling').Modeling } modeling | ||
* @param { import('@bpmn-io/form-js-viewer').PathRegistry } pathRegistry | ||
*/ | ||
constructor(formFieldRegistry: import('../../core/FormFieldRegistry').default, formLayouter: import('../../core/FormLayouter').default, formLayoutValidator: import('../../core/FormLayoutValidator').default, eventBus: import('../../core/EventBus').default, modeling: import('../modeling/Modeling').default, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry); | ||
_formFieldRegistry: import("../../core/FormFieldRegistry").default; | ||
_formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default; | ||
_formLayoutValidator: import("../../core/FormLayoutValidator").default; | ||
constructor(formFieldRegistry: import('../../core/FormFieldRegistry').FormFieldRegistry, formLayouter: import('../../core/FormLayouter').FormLayouter, formLayoutValidator: import('../../core/FormLayoutValidator').FormLayoutValidator, eventBus: import('../../core/EventBus').EventBus, modeling: import('../modeling/Modeling').Modeling, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry); | ||
_formFieldRegistry: import("../../core/FormFieldRegistry").FormFieldRegistry; | ||
_formLayouter: import("@bpmn-io/form-js-viewer").FormLayouter; | ||
_formLayoutValidator: import("../../core/FormLayoutValidator").FormLayoutValidator; | ||
_eventBus: import("diagram-js/lib/core/EventBus").default; | ||
_modeling: import("../modeling/Modeling").default; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default; | ||
_modeling: import("../modeling/Modeling").Modeling; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer").PathRegistry; | ||
/** | ||
@@ -56,6 +56,5 @@ * Calculates position in form schema given the dropped place. | ||
} | ||
declare namespace Dragging { | ||
export namespace Dragging { | ||
let $inject: string[]; | ||
} | ||
export default Dragging; | ||
export type FormRow = { | ||
@@ -62,0 +61,0 @@ id: string; |
@@ -1,6 +0,5 @@ | ||
declare namespace _default { | ||
export namespace DraggingModule { | ||
let __init__: string[]; | ||
let dragging: (string | typeof Dragging)[]; | ||
} | ||
export default _default; | ||
import Dragging from './Dragging'; | ||
import { Dragging } from './Dragging'; |
@@ -1,9 +0,8 @@ | ||
declare class FormEditorActions extends EditorActions { | ||
export class FormEditorActions extends EditorActions { | ||
constructor(eventBus: any, injector: any); | ||
_registerDefaultActions(injector: any): void; | ||
} | ||
declare namespace FormEditorActions { | ||
export namespace FormEditorActions { | ||
let $inject: string[]; | ||
} | ||
export default FormEditorActions; | ||
import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions'; |
@@ -1,6 +0,5 @@ | ||
declare namespace _default { | ||
export namespace EditorActionsModule { | ||
let __depends__: import("didi").ModuleDeclaration[]; | ||
let editorActions: (string | typeof FormEditorActions)[]; | ||
} | ||
export default _default; | ||
import FormEditorActions from './FormEditorActions'; | ||
import { FormEditorActions } from './FormEditorActions'; |
@@ -1,8 +0,7 @@ | ||
declare class EditorTemplating { | ||
export class EditorTemplating { | ||
isTemplate(value: any): boolean; | ||
evaluate(template: any): any; | ||
} | ||
declare namespace EditorTemplating { | ||
export namespace EditorTemplating { | ||
let $inject: any[]; | ||
} | ||
export default EditorTemplating; |
@@ -1,2 +0,2 @@ | ||
declare namespace _default { | ||
export namespace EditorExpressionLanguageModule { | ||
let __init__: string[]; | ||
@@ -6,4 +6,3 @@ let expressionLanguage: (string | typeof FeelExpressionLanguage)[]; | ||
} | ||
export default _default; | ||
import { FeelExpressionLanguage } from '@bpmn-io/form-js-viewer'; | ||
import EditorTemplating from './EditorTemplating'; | ||
import { EditorTemplating } from './EditorTemplating'; |
@@ -1,8 +0,7 @@ | ||
declare class FormEditorKeyboardBindings { | ||
export class FormEditorKeyboardBindings { | ||
constructor(eventBus: any, keyboard: any); | ||
registerBindings(keyboard: any, editorActions: any): void; | ||
} | ||
declare namespace FormEditorKeyboardBindings { | ||
export namespace FormEditorKeyboardBindings { | ||
let $inject: string[]; | ||
} | ||
export default FormEditorKeyboardBindings; |
@@ -1,2 +0,2 @@ | ||
declare namespace _default { | ||
export namespace FormEditorKeyboardModule { | ||
let __depends__: import("didi").ModuleDeclaration[]; | ||
@@ -6,3 +6,2 @@ let __init__: string[]; | ||
} | ||
export default _default; | ||
import FormEditorKeyboardBindings from './FormEditorKeyboardBindings'; | ||
import { FormEditorKeyboardBindings } from './FormEditorKeyboardBindings'; |
@@ -1,8 +0,7 @@ | ||
declare class IdBehavior extends CommandInterceptor { | ||
export class IdBehavior extends CommandInterceptor { | ||
constructor(eventBus: any, modeling: any); | ||
} | ||
declare namespace IdBehavior { | ||
export namespace IdBehavior { | ||
let $inject: string[]; | ||
} | ||
export default IdBehavior; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,2 +0,2 @@ | ||
declare namespace _default { | ||
export namespace BehaviorModule { | ||
let __init__: string[]; | ||
@@ -11,9 +11,8 @@ let idBehavior: (string | typeof IdBehavior)[]; | ||
} | ||
export default _default; | ||
import IdBehavior from './IdBehavior'; | ||
import KeyBehavior from './KeyBehavior'; | ||
import PathBehavior from './PathBehavior'; | ||
import ValidateBehavior from './ValidateBehavior'; | ||
import OptionsSourceBehavior from './OptionsSourceBehavior'; | ||
import { IdBehavior } from './IdBehavior'; | ||
import { KeyBehavior } from './KeyBehavior'; | ||
import { PathBehavior } from './PathBehavior'; | ||
import { ValidateBehavior } from './ValidateBehavior'; | ||
import { OptionsSourceBehavior } from './OptionsSourceBehavior'; | ||
import { ColumnsSourceBehavior } from './ColumnsSourceBehavior'; | ||
import { TableDataSourceBehavior } from './TableDataSourceBehavior'; |
@@ -1,8 +0,7 @@ | ||
declare class KeyBehavior extends CommandInterceptor { | ||
export class KeyBehavior extends CommandInterceptor { | ||
constructor(eventBus: any, modeling: any, formFields: any); | ||
} | ||
declare namespace KeyBehavior { | ||
export namespace KeyBehavior { | ||
let $inject: string[]; | ||
} | ||
export default KeyBehavior; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,8 +0,7 @@ | ||
declare class OptionsSourceBehavior extends CommandInterceptor { | ||
export class OptionsSourceBehavior extends CommandInterceptor { | ||
constructor(eventBus: any); | ||
} | ||
declare namespace OptionsSourceBehavior { | ||
export namespace OptionsSourceBehavior { | ||
let $inject: string[]; | ||
} | ||
export default OptionsSourceBehavior; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,8 +0,7 @@ | ||
declare class PathBehavior extends CommandInterceptor { | ||
export class PathBehavior extends CommandInterceptor { | ||
constructor(eventBus: any, modeling: any, formFields: any); | ||
} | ||
declare namespace PathBehavior { | ||
export namespace PathBehavior { | ||
let $inject: string[]; | ||
} | ||
export default PathBehavior; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,8 +0,7 @@ | ||
declare class ValidateBehavior extends CommandInterceptor { | ||
export class ValidateBehavior extends CommandInterceptor { | ||
constructor(eventBus: any); | ||
} | ||
declare namespace ValidateBehavior { | ||
export namespace ValidateBehavior { | ||
let $inject: string[]; | ||
} | ||
export default ValidateBehavior; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,16 +0,15 @@ | ||
declare class AddFormFieldHandler { | ||
export class AddFormFieldHandler { | ||
/** | ||
* @constructor | ||
* @param { import('../../../FormEditor').default } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../../FormEditor').FormEditor } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
*/ | ||
constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default); | ||
_formEditor: import("../../../FormEditor").default; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").default; | ||
constructor(formEditor: import('../../../FormEditor').FormEditor, formFieldRegistry: import('../../../core/FormFieldRegistry').FormFieldRegistry); | ||
_formEditor: import("../../../FormEditor").FormEditor; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").FormFieldRegistry; | ||
execute(context: any): void; | ||
revert(context: any): void; | ||
} | ||
declare namespace AddFormFieldHandler { | ||
export namespace AddFormFieldHandler { | ||
let $inject: string[]; | ||
} | ||
export default AddFormFieldHandler; |
@@ -1,16 +0,15 @@ | ||
declare class EditFormFieldHandler { | ||
export class EditFormFieldHandler { | ||
/** | ||
* @constructor | ||
* @param { import('../../../FormEditor').default } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../../FormEditor').FormEditor } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
*/ | ||
constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default); | ||
_formEditor: import("../../../FormEditor").default; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").default; | ||
constructor(formEditor: import('../../../FormEditor').FormEditor, formFieldRegistry: import('../../../core/FormFieldRegistry').FormFieldRegistry); | ||
_formEditor: import("../../../FormEditor").FormEditor; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").FormFieldRegistry; | ||
execute(context: any): any; | ||
revert(context: any): any; | ||
} | ||
declare namespace EditFormFieldHandler { | ||
export namespace EditFormFieldHandler { | ||
let $inject: string[]; | ||
} | ||
export default EditFormFieldHandler; |
@@ -1,14 +0,14 @@ | ||
declare class MoveFormFieldHandler { | ||
export class MoveFormFieldHandler { | ||
/** | ||
* @constructor | ||
* @param { import('../../../FormEditor').default } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../../FormEditor').FormEditor } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
* @param { import('@bpmn-io/form-js-viewer').PathRegistry } pathRegistry | ||
* @param { import('@bpmn-io/form-js-viewer').FormLayouter } formLayouter | ||
*/ | ||
constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry, formLayouter: import('@bpmn-io/form-js-viewer').FormLayouter); | ||
_formEditor: import("../../../FormEditor").default; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").default; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default; | ||
_formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default; | ||
constructor(formEditor: import('../../../FormEditor').FormEditor, formFieldRegistry: import('../../../core/FormFieldRegistry').FormFieldRegistry, pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry, formLayouter: import('@bpmn-io/form-js-viewer').FormLayouter); | ||
_formEditor: import("../../../FormEditor").FormEditor; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").FormFieldRegistry; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer").PathRegistry; | ||
_formLayouter: import("@bpmn-io/form-js-viewer").FormLayouter; | ||
execute(context: any): void; | ||
@@ -18,5 +18,4 @@ revert(context: any): void; | ||
} | ||
declare namespace MoveFormFieldHandler { | ||
export namespace MoveFormFieldHandler { | ||
let $inject: string[]; | ||
} | ||
export default MoveFormFieldHandler; |
@@ -1,16 +0,15 @@ | ||
declare class RemoveFormFieldHandler { | ||
export class RemoveFormFieldHandler { | ||
/** | ||
* @constructor | ||
* @param { import('../../../FormEditor').default } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../../FormEditor').FormEditor } formEditor | ||
* @param { import('../../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
*/ | ||
constructor(formEditor: import('../../../FormEditor').default, formFieldRegistry: import('../../../core/FormFieldRegistry').default); | ||
_formEditor: import("../../../FormEditor").default; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").default; | ||
constructor(formEditor: import('../../../FormEditor').FormEditor, formFieldRegistry: import('../../../core/FormFieldRegistry').FormFieldRegistry); | ||
_formEditor: import("../../../FormEditor").FormEditor; | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").FormFieldRegistry; | ||
execute(context: any): void; | ||
revert(context: any): void; | ||
} | ||
declare namespace RemoveFormFieldHandler { | ||
export namespace RemoveFormFieldHandler { | ||
let $inject: string[]; | ||
} | ||
export default RemoveFormFieldHandler; |
@@ -1,14 +0,13 @@ | ||
declare class UpdateIdClaimHandler { | ||
export class UpdateIdClaimHandler { | ||
/** | ||
* @constructor | ||
* @param { import('../../../core/FormFieldRegistry').default } formFieldRegistry | ||
* @param { import('../../../core/FormFieldRegistry').FormFieldRegistry } formFieldRegistry | ||
*/ | ||
constructor(formFieldRegistry: import('../../../core/FormFieldRegistry').default); | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").default; | ||
constructor(formFieldRegistry: import('../../../core/FormFieldRegistry').FormFieldRegistry); | ||
_formFieldRegistry: import("../../../core/FormFieldRegistry").FormFieldRegistry; | ||
execute(context: any): void; | ||
revert(context: any): void; | ||
} | ||
declare namespace UpdateIdClaimHandler { | ||
export namespace UpdateIdClaimHandler { | ||
let $inject: string[]; | ||
} | ||
export default UpdateIdClaimHandler; |
@@ -1,2 +0,2 @@ | ||
declare class UpdateKeyClaimHandler { | ||
export class UpdateKeyClaimHandler { | ||
/** | ||
@@ -7,9 +7,8 @@ * @constructor | ||
constructor(pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry); | ||
_pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer").PathRegistry; | ||
execute(context: any): void; | ||
revert(context: any): void; | ||
} | ||
declare namespace UpdateKeyClaimHandler { | ||
export namespace UpdateKeyClaimHandler { | ||
let $inject: string[]; | ||
} | ||
export default UpdateKeyClaimHandler; |
@@ -1,2 +0,2 @@ | ||
declare class UpdatePathClaimHandler { | ||
export class UpdatePathClaimHandler { | ||
/** | ||
@@ -7,9 +7,8 @@ * @constructor | ||
constructor(pathRegistry: import('@bpmn-io/form-js-viewer').PathRegistry); | ||
_pathRegistry: import("@bpmn-io/form-js-viewer/dist/types/core/PathRegistry").default; | ||
_pathRegistry: import("@bpmn-io/form-js-viewer").PathRegistry; | ||
execute(context: any): void; | ||
revert(context: any): void; | ||
} | ||
declare namespace UpdatePathClaimHandler { | ||
export namespace UpdatePathClaimHandler { | ||
let $inject: string[]; | ||
} | ||
export default UpdatePathClaimHandler; |
@@ -1,2 +0,2 @@ | ||
declare class FormLayoutUpdater extends CommandInterceptor { | ||
export class FormLayoutUpdater extends CommandInterceptor { | ||
constructor(eventBus: any, formLayouter: any, modeling: any, formEditor: any); | ||
@@ -10,6 +10,5 @@ _eventBus: any; | ||
} | ||
declare namespace FormLayoutUpdater { | ||
export namespace FormLayoutUpdater { | ||
let $inject: string[]; | ||
} | ||
export default FormLayoutUpdater; | ||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; |
@@ -1,9 +0,9 @@ | ||
declare namespace _default { | ||
export namespace ModelingModule { | ||
let __depends__: (import("didi").ModuleDeclaration | { | ||
__init__: string[]; | ||
idBehavior: (string | typeof import("./behavior/IdBehavior").default)[]; | ||
keyBehavior: (string | typeof import("./behavior/KeyBehavior").default)[]; | ||
pathBehavior: (string | typeof import("./behavior/PathBehavior").default)[]; | ||
validateBehavior: (string | typeof import("./behavior/ValidateBehavior").default)[]; | ||
optionsSourceBehavior: (string | typeof import("./behavior/OptionsSourceBehavior").default)[]; | ||
idBehavior: (string | typeof import("./behavior/IdBehavior").IdBehavior)[]; | ||
keyBehavior: (string | typeof import("./behavior/KeyBehavior").KeyBehavior)[]; | ||
pathBehavior: (string | typeof import("./behavior/PathBehavior").PathBehavior)[]; | ||
validateBehavior: (string | typeof import("./behavior/ValidateBehavior").ValidateBehavior)[]; | ||
optionsSourceBehavior: (string | typeof import("./behavior/OptionsSourceBehavior").OptionsSourceBehavior)[]; | ||
columnsSourceBehavior: (string | typeof import("./behavior/ColumnsSourceBehavior").ColumnsSourceBehavior)[]; | ||
@@ -16,4 +16,3 @@ tableDataSourceBehavior: (string | typeof import("./behavior/TableDataSourceBehavior").TableDataSourceBehavior)[]; | ||
} | ||
export default _default; | ||
import FormLayoutUpdater from './FormLayoutUpdater'; | ||
import Modeling from './Modeling'; | ||
import { FormLayoutUpdater } from './FormLayoutUpdater'; | ||
import { Modeling } from './Modeling'; |
@@ -1,2 +0,2 @@ | ||
declare class Modeling { | ||
export class Modeling { | ||
constructor(commandStack: any, eventBus: any, formEditor: any, formFieldRegistry: any, fieldFactory: any); | ||
@@ -28,12 +28,11 @@ _commandStack: any; | ||
} | ||
declare namespace Modeling { | ||
export namespace Modeling { | ||
let $inject: string[]; | ||
} | ||
export default Modeling; | ||
import AddFormFieldHandler from './cmd/AddFormFieldHandler'; | ||
import EditFormFieldHandler from './cmd/EditFormFieldHandler'; | ||
import MoveFormFieldHandler from './cmd/MoveFormFieldHandler'; | ||
import RemoveFormFieldHandler from './cmd/RemoveFormFieldHandler'; | ||
import UpdateIdClaimHandler from './cmd/UpdateIdClaimHandler'; | ||
import UpdateKeyClaimHandler from './cmd/UpdateKeyClaimHandler'; | ||
import UpdatePathClaimHandler from './cmd/UpdatePathClaimHandler'; | ||
import { AddFormFieldHandler } from './cmd/AddFormFieldHandler'; | ||
import { EditFormFieldHandler } from './cmd/EditFormFieldHandler'; | ||
import { MoveFormFieldHandler } from './cmd/MoveFormFieldHandler'; | ||
import { RemoveFormFieldHandler } from './cmd/RemoveFormFieldHandler'; | ||
import { UpdateIdClaimHandler } from './cmd/UpdateIdClaimHandler'; | ||
import { UpdateKeyClaimHandler } from './cmd/UpdateKeyClaimHandler'; | ||
import { UpdatePathClaimHandler } from './cmd/UpdatePathClaimHandler'; |
@@ -1,2 +0,2 @@ | ||
export default function Palette(props: any): import("preact").JSX.Element; | ||
export function Palette(props: any): import("preact").JSX.Element; | ||
/** | ||
@@ -40,2 +40,2 @@ * Returns a list of palette entries. | ||
}; | ||
import PaletteEntry from './PaletteEntry'; | ||
import { PaletteEntry } from './PaletteEntry'; |
@@ -1,1 +0,1 @@ | ||
export default function PaletteEntry(props: any): import("preact").JSX.Element; | ||
export function PaletteEntry(props: any): import("preact").JSX.Element; |
@@ -1,5 +0,4 @@ | ||
declare namespace _default { | ||
let palette: (string | typeof PaletteModule)[]; | ||
export namespace PaletteModule { | ||
let palette: (string | typeof PaletteRenderer)[]; | ||
} | ||
export default _default; | ||
import PaletteModule from './PaletteModule'; | ||
import { PaletteRenderer } from './PaletteRenderer'; |
@@ -1,1 +0,1 @@ | ||
export default function AutoFocusSelectEntry(props: any): import("preact").JSX.Element; | ||
export function AutoFocusSelectEntry(props: any): import("preact").JSX.Element; |
@@ -1,1 +0,1 @@ | ||
export { default as AutoFocusSelectEntry } from "./AutoFocusSelect"; | ||
export { AutoFocusSelectEntry } from "./AutoFocusSelect"; |
@@ -1,3 +0,2 @@ | ||
export default PropertiesPanelContext; | ||
declare const PropertiesPanelContext: import("preact").Context<{ | ||
export const FormPropertiesPanelContext: import("preact").Context<{ | ||
getService: typeof getService; | ||
@@ -12,1 +11,2 @@ }>; | ||
declare function getService(type: string, strict?: boolean): any; | ||
export {}; |
@@ -1,1 +0,1 @@ | ||
export { default as FormPropertiesPanelContext } from "./FormPropertiesPanelContext"; | ||
export { FormPropertiesPanelContext } from "./FormPropertiesPanelContext"; |
@@ -1,2 +0,2 @@ | ||
export default function ActionEntry(props: any): { | ||
export function ActionEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Action; |
@@ -1,2 +0,2 @@ | ||
export default function AdornerEntry(props: any): { | ||
export function AdornerEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof PrefixAdorner; |
@@ -1,2 +0,2 @@ | ||
export default function AltTextEntry(props: any): { | ||
export function AltTextEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof AltText; |
@@ -8,5 +8,4 @@ export function ColumnEntry(props: any): { | ||
index: any; | ||
validateFactory: any; | ||
}[]; | ||
declare function Label(props: any): any; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
export default function ColumnsEntry(props: any): { | ||
export function ColumnsEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Columns; |
@@ -1,2 +0,2 @@ | ||
export default function ConditionEntry(props: any): { | ||
export function ConditionEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Condition; |
@@ -1,2 +0,2 @@ | ||
export default function CustomValueEntry(props: any): { | ||
export function CustomValueEntry(props: any): { | ||
component: typeof Key; | ||
@@ -3,0 +3,0 @@ editField: any; |
@@ -1,2 +0,2 @@ | ||
export default function DateTimeConstraintsEntry(props: any): { | ||
export function DateTimeConstraintsEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof TimeIntervalSelect; |
@@ -1,2 +0,2 @@ | ||
export default function DateTimeEntry(props: any): { | ||
export function DateTimeEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof DateTimeSubtypeSelect; |
@@ -1,2 +0,2 @@ | ||
export default function DefaultOptionEntry(props: any): { | ||
export function DefaultValueEntry(props: any): { | ||
component: typeof DefaultValueCheckbox; | ||
@@ -3,0 +3,0 @@ isEdited: any; |
@@ -1,2 +0,2 @@ | ||
export default function DescriptionEntry(props: any): { | ||
export function DescriptionEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Description; |
@@ -1,2 +0,2 @@ | ||
export default function DisabledEntry(props: any): { | ||
export function DisabledEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Disabled; |
@@ -1,5 +0,5 @@ | ||
export { default as simpleStringEntryFactory } from "./simpleStringEntryFactory"; | ||
export { default as simpleBoolEntryFactory } from "./simpleBoolEntryFactory"; | ||
export { default as zeroPositiveIntegerEntryFactory } from "./zeroPositiveIntegerEntryFactory"; | ||
export { default as simpleSelectEntryFactory } from "./simpleSelectEntryFactory"; | ||
export { simpleStringEntryFactory } from "./simpleStringEntryFactory"; | ||
export { simpleBoolEntryFactory } from "./simpleBoolEntryFactory"; | ||
export { zeroPositiveIntegerEntryFactory } from "./zeroPositiveIntegerEntryFactory"; | ||
export { simpleSelectEntryFactory } from "./simpleSelectEntryFactory"; | ||
export { simpleRangeIntegerEntryFactory } from "./simpleRangeIntegerEntryFactory"; |
@@ -1,2 +0,2 @@ | ||
export default function simpleBoolEntryFactory(options: any): { | ||
export function simpleBoolEntryFactory(options: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -9,5 +9,4 @@ export function simpleRangeIntegerEntryFactory(options: any): { | ||
max: any; | ||
defaultValue: any; | ||
component: (props: any) => any; | ||
isEdited: any; | ||
}; |
@@ -1,2 +0,2 @@ | ||
export default function simpleSelectEntryFactory(options: any): { | ||
export function simpleSelectEntryFactory(options: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function simpleStringEntryFactory(options: any): { | ||
export function simpleStringEntryFactory(options: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function zeroPositiveIntegerEntryFactory(options: any): { | ||
export function zeroPositiveIntegerEntryFactory(options: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function GroupAppearanceEntry(props: any): { | ||
export function GroupAppearanceEntry(props: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function HeightEntry(props: any): { | ||
export function HeightEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Height; |
@@ -1,2 +0,2 @@ | ||
export default function IdEntry(props: any): { | ||
export function IdEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Id; |
@@ -1,2 +0,2 @@ | ||
export default function IFrameHeightEntry(props: any): { | ||
export function IFrameHeightEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: (props: any) => any; |
@@ -1,2 +0,2 @@ | ||
export default function IFrameUrlEntry(props: any): { | ||
export function IFrameUrlEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Url; |
@@ -1,2 +0,2 @@ | ||
export default function SourceEntry(props: any): { | ||
export function ImageSourceEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Source; |
@@ -1,34 +0,35 @@ | ||
export { default as ActionEntry } from "./ActionEntry"; | ||
export { default as AltTextEntry } from "./AltTextEntry"; | ||
export { default as ColumnsEntry } from "./ColumnsEntry"; | ||
export { default as DescriptionEntry } from "./DescriptionEntry"; | ||
export { default as DefaultValueEntry } from "./DefaultValueEntry"; | ||
export { default as DisabledEntry } from "./DisabledEntry"; | ||
export { default as IdEntry } from "./IdEntry"; | ||
export { default as KeyEntry } from "./KeyEntry"; | ||
export { default as PathEntry } from "./PathEntry"; | ||
export { default as GroupAppearanceEntry } from "./GroupAppearanceEntry"; | ||
export { default as LabelEntry } from "./LabelEntry"; | ||
export { default as IFrameHeightEntry } from "./IFrameHeightEntry"; | ||
export { default as IFrameUrlEntry } from "./IFrameUrlEntry"; | ||
export { default as ImageSourceEntry } from "./ImageSourceEntry"; | ||
export { default as TextEntry } from "./TextEntry"; | ||
export { default as HeightEntry } from "./HeightEntry"; | ||
export { default as NumberEntries } from "./NumberEntries"; | ||
export { default as NumberSerializationEntry } from "./NumberSerializationEntry"; | ||
export { default as DateTimeEntry } from "./DateTimeEntry"; | ||
export { default as DateTimeConstraintsEntry } from "./DateTimeConstraintsEntry"; | ||
export { default as DateTimeSerializationEntry } from "./DateTimeSerializationEntry"; | ||
export { default as SelectEntries } from "./SelectEntries"; | ||
export { default as ValueEntry } from "./ValueEntry"; | ||
export { default as CustomValueEntry } from "./CustomValueEntry"; | ||
export { default as OptionsSourceSelectEntry } from "./OptionsSourceSelectEntry"; | ||
export { default as InputKeyOptionsSourceEntry } from "./InputKeyOptionsSourceEntry"; | ||
export { default as StaticOptionsSourceEntry } from "./StaticOptionsSourceEntry"; | ||
export { default as AdornerEntry } from "./AdornerEntry"; | ||
export { default as ReadonlyEntry } from "./ReadonlyEntry"; | ||
export { default as LayouterAppearanceEntry } from "./LayouterAppearanceEntry"; | ||
export { default as RepeatableEntry } from "./RepeatableEntry"; | ||
export { default as ConditionEntry } from "./ConditionEntry"; | ||
export { default as OptionsExpressionEntry } from "./OptionsExpressionEntry"; | ||
export { ActionEntry } from "./ActionEntry"; | ||
export { AltTextEntry } from "./AltTextEntry"; | ||
export { ColumnsEntry } from "./ColumnsEntry"; | ||
export { DescriptionEntry } from "./DescriptionEntry"; | ||
export { DefaultValueEntry } from "./DefaultValueEntry"; | ||
export { DisabledEntry } from "./DisabledEntry"; | ||
export { IdEntry } from "./IdEntry"; | ||
export { KeyEntry } from "./KeyEntry"; | ||
export { PathEntry } from "./PathEntry"; | ||
export { GroupAppearanceEntry } from "./GroupAppearanceEntry"; | ||
export { LabelEntry } from "./LabelEntry"; | ||
export { IFrameHeightEntry } from "./IFrameHeightEntry"; | ||
export { IFrameUrlEntry } from "./IFrameUrlEntry"; | ||
export { ImageSourceEntry } from "./ImageSourceEntry"; | ||
export { TextEntry } from "./TextEntry"; | ||
export { HtmlEntry } from "./HtmlEntry"; | ||
export { HeightEntry } from "./HeightEntry"; | ||
export { NumberEntries } from "./NumberEntries"; | ||
export { NumberSerializationEntry } from "./NumberSerializationEntry"; | ||
export { DateTimeEntry } from "./DateTimeEntry"; | ||
export { DateTimeConstraintsEntry } from "./DateTimeConstraintsEntry"; | ||
export { DateTimeFormatEntry } from "./DateTimeFormatEntry"; | ||
export { SelectEntries } from "./SelectEntries"; | ||
export { ValueEntry } from "./ValueEntry"; | ||
export { CustomValueEntry } from "./CustomValueEntry"; | ||
export { OptionsSourceSelectEntry } from "./OptionsSourceSelectEntry"; | ||
export { InputKeyOptionsSourceEntry } from "./InputKeyOptionsSourceEntry"; | ||
export { StaticOptionsSourceEntry } from "./StaticOptionsSourceEntry"; | ||
export { AdornerEntry } from "./AdornerEntry"; | ||
export { ReadonlyEntry } from "./ReadonlyEntry"; | ||
export { LayouterAppearanceEntry } from "./LayouterAppearanceEntry"; | ||
export { RepeatableEntry } from "./RepeatableEntry"; | ||
export { ConditionEntry } from "./ConditionEntry"; | ||
export { OptionsExpressionEntry } from "./OptionsExpressionEntry"; | ||
export { TableDataSourceEntry } from "./TableDataSourceEntry"; | ||
@@ -35,0 +36,0 @@ export { PaginationEntry } from "./PaginationEntry"; |
@@ -1,2 +0,2 @@ | ||
export default function InputKeyOptionsSourceEntry(props: any): { | ||
export function InputKeyOptionsSourceEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof InputValuesKey; |
@@ -1,2 +0,2 @@ | ||
export default function KeyEntry(props: any): { | ||
export function KeyEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Key; |
@@ -1,2 +0,2 @@ | ||
export default function LabelEntry(props: any): { | ||
export function LabelEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof DateLabel; |
@@ -1,2 +0,2 @@ | ||
export default function LayouterAppearanceEntry(props: any): { | ||
export function LayouterAppearanceEntry(props: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function NumberEntries(props: any): { | ||
export function NumberEntries(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof NumberDecimalDigits; |
@@ -1,2 +0,2 @@ | ||
export default function NumberSerializationEntry(props: any): { | ||
export function NumberSerializationEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof SerializeToString; |
@@ -1,2 +0,2 @@ | ||
export default function OptionsExpressionEntry(props: any): { | ||
export function OptionsExpressionEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof OptionsExpression; |
@@ -1,2 +0,2 @@ | ||
export default function OptionsSourceSelectEntry(props: any): { | ||
export function OptionsSourceSelectEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof ValuesSourceSelect; |
@@ -1,2 +0,2 @@ | ||
export default function PathEntry(props: any): { | ||
export function PathEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Path; |
@@ -1,2 +0,2 @@ | ||
export default function ReadonlyEntry(props: any): { | ||
export function ReadonlyEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Readonly; |
@@ -1,2 +0,2 @@ | ||
export default function RepeatableEntry(props: any): ({ | ||
export function RepeatableEntry(props: any): ({ | ||
id: any; | ||
@@ -21,5 +21,4 @@ label: any; | ||
max: any; | ||
defaultValue: any; | ||
component: (props: any) => any; | ||
isEdited: any; | ||
})[]; |
@@ -1,2 +0,2 @@ | ||
export default function SelectEntries(props: any): { | ||
export function SelectEntries(props: any): { | ||
id: any; | ||
@@ -3,0 +3,0 @@ label: any; |
@@ -1,2 +0,2 @@ | ||
export default function StaticOptionsSourceEntry(props: any): { | ||
export function StaticOptionsSourceEntry(props: any): { | ||
items: any; | ||
@@ -3,0 +3,0 @@ add: (e: any) => void; |
@@ -1,2 +0,2 @@ | ||
export default function TextEntry(props: any): { | ||
export function TextEntry(props: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ component: typeof Text; |
@@ -1,2 +0,2 @@ | ||
export default function ValueEntry(props: any): { | ||
export function ValueEntry(props: any): { | ||
component: typeof Label; | ||
@@ -3,0 +3,0 @@ editField: any; |
@@ -1,2 +0,2 @@ | ||
export default function AppearanceGroup(field: any, editField: any, getService: any): { | ||
export function AppearanceGroup(field: any, editField: any, getService: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ label: string; |
@@ -1,2 +0,2 @@ | ||
export default function ConstraintsGroup(field: any, editField: any): { | ||
export function ConstraintsGroup(field: any, editField: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ label: string; |
@@ -1,2 +0,2 @@ | ||
export default function CustomPropertiesGroup(field: any, editField: any): { | ||
export function CustomPropertiesGroup(field: any, editField: any): { | ||
add: (event: any) => void; | ||
@@ -3,0 +3,0 @@ component: any; |
@@ -1,2 +0,2 @@ | ||
export default function GeneralGroup(field: any, editField: any, getService: any): { | ||
export function GeneralGroup(field: any, editField: any, getService: any): { | ||
id: string; | ||
@@ -30,3 +30,2 @@ label: string; | ||
max: any; | ||
defaultValue: any; | ||
component: (props: any) => any; | ||
@@ -33,0 +32,0 @@ isEdited: any; |
@@ -1,10 +0,11 @@ | ||
export { default as GeneralGroup } from "./GeneralGroup"; | ||
export { default as SerializationGroup } from "./SerializationGroup"; | ||
export { default as ConstraintsGroup } from "./ConstraintsGroup"; | ||
export { default as ValidationGroup } from "./ValidationGroup"; | ||
export { default as OptionsGroups } from "./OptionsGroups"; | ||
export { default as CustomPropertiesGroup } from "./CustomPropertiesGroup"; | ||
export { default as AppearanceGroup } from "./AppearanceGroup"; | ||
export { default as LayoutGroup } from "./LayoutGroup"; | ||
export { GeneralGroup } from "./GeneralGroup"; | ||
export { SerializationGroup } from "./SerializationGroup"; | ||
export { ConstraintsGroup } from "./ConstraintsGroup"; | ||
export { ValidationGroup } from "./ValidationGroup"; | ||
export { OptionsGroups } from "./OptionsGroups"; | ||
export { CustomPropertiesGroup } from "./CustomPropertiesGroup"; | ||
export { AppearanceGroup } from "./AppearanceGroup"; | ||
export { LayoutGroup } from "./LayoutGroup"; | ||
export { SecurityAttributesGroup } from "./SecurityAttributesGroup"; | ||
export { ConditionGroup } from "./ConditionGroup"; | ||
export { TableHeaderGroups } from "./TableHeaderGroups"; |
@@ -1,2 +0,2 @@ | ||
export default function LayoutGroup(field: any, editField: any): { | ||
export function LayoutGroup(field: any, editField: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ label: string; |
@@ -1,1 +0,1 @@ | ||
export default function OptionsGroups(field: any, editField: any, getService: any): any[]; | ||
export function OptionsGroups(field: any, editField: any, getService: any): any[]; |
@@ -1,2 +0,2 @@ | ||
export default function SerializationGroup(field: any, editField: any): { | ||
export function SerializationGroup(field: any, editField: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ label: string; |
@@ -1,2 +0,2 @@ | ||
export default function ValidationGroup(field: any, editField: any): { | ||
export function ValidationGroup(field: any, editField: any): { | ||
id: string; | ||
@@ -3,0 +3,0 @@ label: string; |
export { useVariables } from "./useVariables"; | ||
export { default as useService } from "./usePropertiesPanelService"; | ||
export { useService } from "./usePropertiesPanelService"; |
@@ -1,1 +0,1 @@ | ||
export default function _default(type: any, strict: any): any; | ||
export function useService(type: any, strict: any): any; |
@@ -1,9 +0,8 @@ | ||
declare namespace _default { | ||
export namespace PropertiesPanelModule { | ||
let __depends__: any[]; | ||
let __init__: string[]; | ||
let propertiesPanel: (string | typeof PropertiesPanelModule)[]; | ||
let propertiesPanel: (string | typeof PropertiesPanelRenderer)[]; | ||
let propertiesProvider: (string | typeof PropertiesProvider)[]; | ||
} | ||
export default _default; | ||
import PropertiesPanelModule from './PropertiesPanelRenderer'; | ||
import PropertiesProvider from './PropertiesProvider'; | ||
import { PropertiesPanelRenderer } from './PropertiesPanelRenderer'; | ||
import { PropertiesProvider } from './PropertiesProvider'; |
@@ -1,1 +0,1 @@ | ||
export default function FormPropertiesPanel(props: any): import("preact").JSX.Element; | ||
export function PropertiesPanel(props: any): import("preact").JSX.Element; |
/** | ||
* @typedef { { parent: Element } } PropertiesPanelConfig | ||
* @typedef { import('../../core/EventBus').default } EventBus | ||
* @typedef { import('../../core/EventBus').EventBus } EventBus | ||
* @typedef { import('../../types').Injector } Injector | ||
@@ -12,3 +12,3 @@ * @typedef { { getGroups: ({ formField, editFormField }) => ({ groups}) => Array } } PropertiesProvider | ||
*/ | ||
declare class PropertiesPanelRenderer { | ||
export class PropertiesPanelRenderer { | ||
constructor(propertiesPanelConfig: any, injector: any, eventBus: any); | ||
@@ -39,10 +39,9 @@ _eventBus: any; | ||
} | ||
declare namespace PropertiesPanelRenderer { | ||
export namespace PropertiesPanelRenderer { | ||
let $inject: string[]; | ||
} | ||
export default PropertiesPanelRenderer; | ||
export type PropertiesPanelConfig = { | ||
parent: Element; | ||
}; | ||
export type EventBus = import('../../core/EventBus').default; | ||
export type EventBus = import('../../core/EventBus').EventBus; | ||
export type Injector = import('../../types').Injector; | ||
@@ -49,0 +48,0 @@ export type PropertiesProvider = { |
@@ -1,2 +0,2 @@ | ||
declare class PropertiesProvider { | ||
export class PropertiesProvider { | ||
constructor(propertiesPanel: any, injector: any); | ||
@@ -7,5 +7,4 @@ _injector: any; | ||
} | ||
declare namespace PropertiesProvider { | ||
export namespace PropertiesProvider { | ||
let $inject: string[]; | ||
} | ||
export default PropertiesProvider; |
@@ -5,3 +5,8 @@ export function arrayAdd(array: any, index: any, item: any): any[]; | ||
export function countDecimals(number: any): any; | ||
export function isValidNumber(value: any): boolean; | ||
/** | ||
* | ||
* @param {unknown} value | ||
* @returns {boolean} | ||
*/ | ||
export function isValidNumber(value: unknown): boolean; | ||
export function stopPropagation(listener: any): (event: any) => void; | ||
@@ -8,0 +13,0 @@ export function textToLabel(text: any): string; |
@@ -1,2 +0,1 @@ | ||
declare function _default(): any; | ||
export default _default; | ||
export function InjectedRendersRoot(): any; |
@@ -1,6 +0,5 @@ | ||
declare namespace _default { | ||
export namespace RenderInjectionModule { | ||
let __init__: string[]; | ||
let renderInjector: (string | typeof RenderInjector)[]; | ||
} | ||
export default _default; | ||
import RenderInjector from './RenderInjector'; | ||
import { RenderInjector } from './RenderInjector'; |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
declare class RenderInjector extends SectionModuleBase { | ||
export class RenderInjector extends SectionModuleBase { | ||
constructor(eventBus: any); | ||
@@ -27,6 +27,5 @@ registeredRenderers: any[]; | ||
} | ||
declare namespace RenderInjector { | ||
export namespace RenderInjector { | ||
let $inject: string[]; | ||
} | ||
export default RenderInjector; | ||
import SectionModuleBase from '../SectionModuleBase'; | ||
import { SectionModuleBase } from '../SectionModuleBase'; |
@@ -1,2 +0,1 @@ | ||
declare function _default(props: any): any; | ||
export default _default; | ||
export function Fill(props: any): any; |
@@ -1,5 +0,4 @@ | ||
export default FillContext; | ||
declare const FillContext: import("preact").Context<{ | ||
export const FillContext: import("preact").Context<{ | ||
addFill(uid: any, props: any): never; | ||
removeFill(uid: any): never; | ||
}>; |
@@ -1,5 +0,5 @@ | ||
export { default as Fill } from "./Fill"; | ||
export { default as Slot } from "./Slot"; | ||
export { default as SlotFillRoot } from "./SlotFillRoot"; | ||
export { default as SlotContext } from "./SlotContext"; | ||
export { default as FillContext } from "./FillContext"; | ||
export { Fill } from "./Fill"; | ||
export { Slot } from "./Slot"; | ||
export { SlotFillRoot } from "./SlotFillRoot"; | ||
export { SlotContext } from "./SlotContext"; | ||
export { FillContext } from "./FillContext"; |
@@ -1,2 +0,2 @@ | ||
declare function _default(props: { | ||
export function Slot(props: { | ||
name: string; | ||
@@ -8,2 +8,1 @@ fillRoot: Function; | ||
}): any[]; | ||
export default _default; |
@@ -1,4 +0,3 @@ | ||
export default SlotContext; | ||
declare const SlotContext: import("preact").Context<{ | ||
export const SlotContext: import("preact").Context<{ | ||
fills: any[]; | ||
}>; |
@@ -1,2 +0,1 @@ | ||
declare function _default(props: any): import("preact").JSX.Element; | ||
export default _default; | ||
export function SlotFillRoot(props: any): import("preact").JSX.Element; |
@@ -1,2 +0,2 @@ | ||
declare class RepeatRenderManager { | ||
export class EditorRepeatRenderManager { | ||
constructor(formFields: any, formFieldRegistry: any); | ||
@@ -14,5 +14,4 @@ _formFields: any; | ||
} | ||
declare namespace RepeatRenderManager { | ||
export namespace EditorRepeatRenderManager { | ||
let $inject: string[]; | ||
} | ||
export default RepeatRenderManager; |
@@ -1,7 +0,6 @@ | ||
declare namespace _default { | ||
export namespace RepeatRenderModule { | ||
let __init__: string[]; | ||
let repeatRenderManager: (string | typeof EditorRepeatRenderManager)[]; | ||
} | ||
export default _default; | ||
export { EditorRepeatRenderManager }; | ||
import EditorRepeatRenderManager from './EditorRepeatRenderManager'; | ||
import { EditorRepeatRenderManager } from './EditorRepeatRenderManager'; |
@@ -9,3 +9,3 @@ /** | ||
*/ | ||
export default class SectionModuleBase { | ||
export class SectionModuleBase { | ||
/** | ||
@@ -12,0 +12,0 @@ * Create a SectionModuleBase instance. |
@@ -1,2 +0,2 @@ | ||
declare namespace _default { | ||
export namespace SelectionModule { | ||
let __init__: string[]; | ||
@@ -6,4 +6,3 @@ let selection: (string | typeof Selection)[]; | ||
} | ||
export default _default; | ||
import Selection from './Selection'; | ||
import SelectionBehavior from './SelectionBehavior'; | ||
import { Selection } from './Selection'; | ||
import { SelectionBehavior } from './SelectionBehavior'; |
@@ -1,2 +0,2 @@ | ||
declare class Selection { | ||
export class Selection { | ||
constructor(eventBus: any); | ||
@@ -11,5 +11,4 @@ _eventBus: any; | ||
} | ||
declare namespace Selection { | ||
export namespace Selection { | ||
let $inject: string[]; | ||
} | ||
export default Selection; |
@@ -1,7 +0,6 @@ | ||
declare class SelectionBehavior { | ||
export class SelectionBehavior { | ||
constructor(eventBus: any, selection: any); | ||
} | ||
declare namespace SelectionBehavior { | ||
export namespace SelectionBehavior { | ||
let $inject: string[]; | ||
} | ||
export default SelectionBehavior; |
@@ -22,3 +22,3 @@ export function exportSchema(schema: any, exporter: any, schemaVersion: any): any; | ||
*/ | ||
export default class FormEditor { | ||
export class FormEditor { | ||
/** | ||
@@ -127,47 +127,47 @@ * @constructor | ||
_getModules(): ({ | ||
__depends__: (import("didi").ModuleDeclaration | { | ||
__init__: string[]; | ||
idBehavior: (string | typeof import("./features/modeling/behavior/IdBehavior").default)[]; | ||
keyBehavior: (string | typeof import("./features/modeling/behavior/KeyBehavior").default)[]; | ||
pathBehavior: (string | typeof import("./features/modeling/behavior/PathBehavior").default)[]; | ||
validateBehavior: (string | typeof import("./features/modeling/behavior/ValidateBehavior").default)[]; | ||
optionsSourceBehavior: (string | typeof import("./features/modeling/behavior/OptionsSourceBehavior").default)[]; | ||
columnsSourceBehavior: (string | typeof import("./features/modeling/behavior/ColumnsSourceBehavior").ColumnsSourceBehavior)[]; | ||
tableDataSourceBehavior: (string | typeof import("./features/modeling/behavior/TableDataSourceBehavior").TableDataSourceBehavior)[]; | ||
})[]; | ||
__depends__: import("didi").ModuleDeclaration[]; | ||
editorActions: (string | typeof import("./features/editor-actions/FormEditorActions").FormEditorActions)[]; | ||
} | { | ||
__init__: string[]; | ||
formLayoutUpdater: (string | typeof import("./features/modeling/FormLayoutUpdater").default)[]; | ||
modeling: (string | typeof import("./features/modeling/Modeling").default)[]; | ||
expressionLanguage: (string | typeof import("@bpmn-io/form-js-viewer").FeelExpressionLanguage)[]; | ||
templating: (string | typeof import("./features/expression-language/EditorTemplating").EditorTemplating)[]; | ||
} | { | ||
__depends__: import("didi").ModuleDeclaration[]; | ||
editorActions: (string | typeof import("./features/editor-actions/FormEditorActions").default)[]; | ||
__init__: string[]; | ||
keyboardBindings: (string | typeof import("./features/keyboard/FormEditorKeyboardBindings").FormEditorKeyboardBindings)[]; | ||
} | { | ||
__init__: string[]; | ||
dragging: (string | typeof import("./features/dragging/Dragging").default)[]; | ||
dragging: (string | typeof import("./features/dragging/Dragging").Dragging)[]; | ||
} | { | ||
__depends__: import("didi").ModuleDeclaration[]; | ||
__depends__: (import("didi").ModuleDeclaration | { | ||
__init__: string[]; | ||
idBehavior: (string | typeof import("./features/modeling/behavior/IdBehavior").IdBehavior)[]; | ||
keyBehavior: (string | typeof import("./features/modeling/behavior/KeyBehavior").KeyBehavior)[]; | ||
pathBehavior: (string | typeof import("./features/modeling/behavior/PathBehavior").PathBehavior)[]; | ||
validateBehavior: (string | typeof import("./features/modeling/behavior/ValidateBehavior").ValidateBehavior)[]; | ||
optionsSourceBehavior: (string | typeof import("./features/modeling/behavior/OptionsSourceBehavior").OptionsSourceBehavior)[]; | ||
columnsSourceBehavior: (string | typeof import("./features/modeling/behavior/ColumnsSourceBehavior").ColumnsSourceBehavior)[]; | ||
tableDataSourceBehavior: (string | typeof import("./features/modeling/behavior/TableDataSourceBehavior").TableDataSourceBehavior)[]; | ||
})[]; | ||
__init__: string[]; | ||
keyboardBindings: (string | typeof import("./features/keyboard/FormEditorKeyboardBindings").default)[]; | ||
formLayoutUpdater: (string | typeof import("./features/modeling/FormLayoutUpdater").FormLayoutUpdater)[]; | ||
modeling: (string | typeof import("./features/modeling/Modeling").Modeling)[]; | ||
} | { | ||
__init__: string[]; | ||
selection: (string | typeof import("./features/selection/Selection").default)[]; | ||
selectionBehavior: (string | typeof import("./features/selection/SelectionBehavior").default)[]; | ||
selection: (string | typeof import("./features/selection/Selection").Selection)[]; | ||
selectionBehavior: (string | typeof import("./features/selection/SelectionBehavior").SelectionBehavior)[]; | ||
} | { | ||
palette: (string | typeof import("./features/palette/PaletteModule").default)[]; | ||
palette: (string | typeof import("./features/palette/PaletteRenderer").PaletteRenderer)[]; | ||
} | { | ||
__init__: string[]; | ||
expressionLanguage: (string | typeof import("@bpmn-io/form-js-viewer/dist/types/features/expressionLanguage/FeelExpressionLanguage").default)[]; | ||
templating: (string | typeof import("./features/expression-language/EditorTemplating").default)[]; | ||
} | typeof MarkdownModule | { | ||
__depends__: any[]; | ||
__init__: string[]; | ||
propertiesPanel: (string | typeof import("./features/properties-panel/PropertiesPanelRenderer").default)[]; | ||
propertiesProvider: (string | typeof import("./features/properties-panel/PropertiesProvider").default)[]; | ||
propertiesPanel: (string | typeof import("./features/properties-panel/PropertiesPanelRenderer").PropertiesPanelRenderer)[]; | ||
propertiesProvider: (string | typeof import("./features/properties-panel/PropertiesProvider").PropertiesProvider)[]; | ||
} | { | ||
__init__: string[]; | ||
renderInjector: (string | typeof import("./features/render-injection/RenderInjector").default)[]; | ||
renderInjector: (string | typeof import("./features/render-injection/RenderInjector").RenderInjector)[]; | ||
} | { | ||
__init__: string[]; | ||
repeatRenderManager: (string | typeof import("./features/repeat-render").EditorRepeatRenderManager)[]; | ||
})[]; | ||
} | typeof MarkdownRendererModule)[]; | ||
/** | ||
@@ -190,2 +190,2 @@ * @internal | ||
export type OnEventType = OnEventWithPriority & OnEventWithOutPriority; | ||
import { MarkdownModule } from '@bpmn-io/form-js-viewer'; | ||
import { MarkdownRendererModule } from '@bpmn-io/form-js-viewer'; |
@@ -13,3 +13,3 @@ /** | ||
export type CreateFormEditorOptions = import('./types').CreateFormEditorOptions; | ||
import FormEditor from './FormEditor'; | ||
import { FormEditor } from './FormEditor'; | ||
import { schemaVersion } from '@bpmn-io/form-js-viewer'; | ||
@@ -16,0 +16,0 @@ export { FormEditor, schemaVersion }; |
@@ -1,6 +0,5 @@ | ||
declare function EditorIFrame(props: any): import("preact").JSX.Element; | ||
declare namespace EditorIFrame { | ||
export function EditorIFrame(props: any): import("preact").JSX.Element; | ||
export namespace EditorIFrame { | ||
let config: typeof IFrame.config; | ||
} | ||
export default EditorIFrame; | ||
import { IFrame } from '@bpmn-io/form-js-viewer'; |
@@ -5,7 +5,6 @@ /** | ||
*/ | ||
declare function EditorTable(props: any): import("preact").JSX.Element; | ||
declare namespace EditorTable { | ||
export function EditorTable(props: any): import("preact").JSX.Element; | ||
export namespace EditorTable { | ||
let config: typeof Table.config; | ||
} | ||
export default EditorTable; | ||
import { Table } from '@bpmn-io/form-js-viewer'; |
@@ -1,6 +0,5 @@ | ||
declare function EditorText(props: any): import("preact").JSX.Element; | ||
declare namespace EditorText { | ||
export function EditorText(props: any): import("preact").JSX.Element; | ||
export namespace EditorText { | ||
let config: typeof Text.config; | ||
} | ||
export default EditorText; | ||
import { Text } from '@bpmn-io/form-js-viewer'; |
@@ -1,4 +0,5 @@ | ||
export const editorFormFields: (typeof EditorIFrame | typeof EditorText | typeof EditorTable)[]; | ||
import EditorIFrame from './EditorIFrame'; | ||
import EditorText from './EditorText'; | ||
import EditorTable from './EditorTable'; | ||
export const editorFormFields: (typeof EditorIFrame | typeof EditorText | typeof EditorHtml | typeof EditorTable)[]; | ||
import { EditorIFrame } from './EditorIFrame'; | ||
import { EditorText } from './EditorText'; | ||
import { EditorHtml } from './EditorHtml'; | ||
import { EditorTable } from './EditorTable'; |
@@ -1,1 +0,1 @@ | ||
export default function FormEditor(props: any): import("preact").JSX.Element; | ||
export function FormEditor(): import("preact").JSX.Element; |
@@ -1,2 +0,1 @@ | ||
declare function _default(props: any): import("preact/compat").JSX.Element; | ||
export default _default; | ||
export function ModularSection(props: any): import("preact/compat").JSX.Element; |
@@ -1,4 +0,3 @@ | ||
export default DragAndDropContext; | ||
declare const DragAndDropContext: import("preact").Context<{ | ||
export const DragAndDropContext: import("preact").Context<{ | ||
drake: any; | ||
}>; |
@@ -1,3 +0,2 @@ | ||
export default FormEditorContext; | ||
declare const FormEditorContext: import("preact").Context<{ | ||
export const FormEditorContext: import("preact").Context<{ | ||
getService: typeof getService; | ||
@@ -12,1 +11,2 @@ }>; | ||
declare function getService(type: string, strict?: boolean): any; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
export { default as DragAndDropContext } from "./DragAndDropContext"; | ||
export { default as FormEditorContext } from "./FormEditorContext"; | ||
export { DragAndDropContext } from "./DragAndDropContext"; | ||
export { FormEditorContext } from "./FormEditorContext"; |
@@ -1,3 +0,3 @@ | ||
export default class EditorFormFields extends FormFields { | ||
export class EditorFormFields extends FormFields { | ||
} | ||
import { FormFields } from '@bpmn-io/form-js-viewer'; |
@@ -1,3 +0,3 @@ | ||
export { default as useService } from "./useService"; | ||
export { default as usePrevious } from "./usePrevious"; | ||
export { default as useDebounce } from "./useDebounce"; | ||
export { useService } from "./useService"; | ||
export { usePrevious } from "./usePrevious"; | ||
export { useDebounce } from "./useDebounce"; |
@@ -1,1 +0,4 @@ | ||
export default function useDebounce(fn: any, dependencies?: any[]): any; | ||
/** | ||
* @param {Function} fn - function to debounce | ||
*/ | ||
export function useDebounce(fn: Function): any; |
@@ -1,1 +0,1 @@ | ||
export default function usePrevious(value: any): any; | ||
export function usePrevious(value: any, defaultValue?: any): any; |
@@ -1,1 +0,1 @@ | ||
export default function _default(type: any, strict: any): any; | ||
export function useService(type: any, strict: any): any; |
@@ -1,2 +0,2 @@ | ||
declare namespace _default { | ||
export namespace RenderModule { | ||
let __init__: string[]; | ||
@@ -6,4 +6,3 @@ let formFields: (string | typeof EditorFormFields)[]; | ||
} | ||
export default _default; | ||
import EditorFormFields from './EditorFormFields'; | ||
import Renderer from './Renderer'; | ||
import { EditorFormFields } from './EditorFormFields'; | ||
import { Renderer } from './Renderer'; |
/** | ||
* @typedef { { container: Element, compact?: boolean } } RenderConfig | ||
* @typedef { import('didi').Injector } Injector | ||
* @typedef { import('../core/EventBus').default } EventBus | ||
* @typedef { import('../FormEditor').default } FormEditor | ||
* @typedef { import('../core/EventBus').EventBus } EventBus | ||
* @typedef { import('../FormEditor').FormEditor } FormEditor | ||
*/ | ||
@@ -13,9 +13,8 @@ /** | ||
*/ | ||
declare class Renderer { | ||
export class Renderer { | ||
constructor(renderConfig: any, eventBus: any, formEditor: any, injector: any); | ||
} | ||
declare namespace Renderer { | ||
export namespace Renderer { | ||
let $inject: string[]; | ||
} | ||
export default Renderer; | ||
export type RenderConfig = { | ||
@@ -26,3 +25,3 @@ container: Element; | ||
export type Injector = import('didi').Injector; | ||
export type EventBus = import('../core/EventBus').default; | ||
export type FormEditor = import('../FormEditor').default; | ||
export type EventBus = import('../core/EventBus').EventBus; | ||
export type FormEditor = import('../FormEditor').FormEditor; |
{ | ||
"name": "@bpmn-io/form-js-editor", | ||
"version": "1.6.4", | ||
"version": "1.7.0-alpha.0", | ||
"description": "Edit forms - powered by bpmn.io", | ||
@@ -50,9 +50,9 @@ "exports": { | ||
"@bpmn-io/draggle": "^4.0.0", | ||
"@bpmn-io/form-js-viewer": "^1.6.4", | ||
"@bpmn-io/properties-panel": "^3.13.0", | ||
"@bpmn-io/form-js-viewer": "^1.7.0-alpha.0", | ||
"@bpmn-io/properties-panel": "^3.18.0", | ||
"array-move": "^3.0.1", | ||
"big.js": "^6.2.1", | ||
"ids": "^1.0.0", | ||
"min-dash": "^4.0.0", | ||
"min-dom": "^4.0.0", | ||
"min-dash": "^4.2.1", | ||
"min-dom": "^4.1.0", | ||
"preact": "^10.5.14" | ||
@@ -66,3 +66,3 @@ }, | ||
], | ||
"gitHead": "81778692a8965f1bc6aadb3ff6a94df4202099e8" | ||
"gitHead": "bd5c0a61044cb4378925784a826bf5b711a5c82b" | ||
} |
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 not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2301526
162
31586
2
Updatedmin-dash@^4.2.1
Updatedmin-dom@^4.1.0