sequential-workflow-designer
Advanced tools
Comparing version 0.21.4 to 0.22.0
@@ -157,6 +157,9 @@ import { Definition, Step, Sequence, ComponentType, DefinitionWalker, StepOrName } from 'sequential-workflow-model'; | ||
resolveClick(click: ClickDetails): ClickCommand | null; | ||
getPlaceholders(result: Placeholder[]): void; | ||
setIsDragging(isDragging: boolean): void; | ||
resolvePlaceholders(skipComponent: StepComponent | undefined, result: FoundPlaceholders): void; | ||
updateBadges(result: BadgesResult): void; | ||
} | ||
interface FoundPlaceholders { | ||
placeholders: Placeholder[]; | ||
components: StepComponent[]; | ||
} | ||
interface ComponentView { | ||
@@ -255,7 +258,6 @@ g: SVGGElement; | ||
static create(view: StepComponentView, stepContext: StepContext, componentContext: ComponentContext): StepComponent; | ||
private isDisabled; | ||
private constructor(); | ||
findById(stepId: string): StepComponent | null; | ||
resolveClick(click: ClickDetails): ClickCommand | null; | ||
getPlaceholders(result: Placeholder[]): void; | ||
resolvePlaceholders(skipComponent: StepComponent | undefined, result: FoundPlaceholders): void; | ||
setIsDragging(isDragging: boolean): void; | ||
@@ -282,3 +284,3 @@ setIsSelected(isSelected: boolean): void; | ||
readonly i18n: I18n; | ||
static create(configuration: DesignerConfiguration, state: DesignerState, stepExtensionResolver: StepExtensionResolver, definitionWalker: DefinitionWalker, preferenceStorage: PreferenceStorage, i18n: I18n, services: Services): ComponentContext; | ||
static create(configuration: DesignerConfiguration, state: DesignerState, stepExtensionResolver: StepExtensionResolver, definitionWalker: DefinitionWalker, preferenceStorage: PreferenceStorage, placeholderController: PlaceholderController, i18n: I18n, services: Services): ComponentContext; | ||
private constructor(); | ||
@@ -322,3 +324,3 @@ } | ||
interface WorkspaceController { | ||
getPlaceholders(): Placeholder[]; | ||
resolvePlaceholders(skipComponent: StepComponent | undefined): FoundPlaceholders; | ||
getComponentByStepId(stepId: string): StepComponent; | ||
@@ -336,3 +338,3 @@ getCanvasPosition(): Vector; | ||
private get; | ||
getPlaceholders(): Placeholder[]; | ||
resolvePlaceholders(skipComponent: StepComponent | undefined): FoundPlaceholders; | ||
getComponentByStepId(stepId: string): StepComponent; | ||
@@ -358,2 +360,3 @@ getCanvasPosition(): Vector; | ||
readonly workspaceController: WorkspaceControllerWrapper; | ||
readonly placeholderController: PlaceholderController; | ||
readonly behaviorController: BehaviorController; | ||
@@ -363,3 +366,3 @@ readonly customActionController: CustomActionController; | ||
static create(parent: HTMLElement, startDefinition: Definition, configuration: DesignerConfiguration, services: Services): DesignerContext; | ||
constructor(theme: string, state: DesignerState, configuration: DesignerConfiguration, services: Services, componentContext: ComponentContext, definitionWalker: DefinitionWalker, i18n: I18n, stateModifier: StateModifier, layoutController: LayoutController, workspaceController: WorkspaceControllerWrapper, behaviorController: BehaviorController, customActionController: CustomActionController, historyController: HistoryController | undefined); | ||
constructor(theme: string, state: DesignerState, configuration: DesignerConfiguration, services: Services, componentContext: ComponentContext, definitionWalker: DefinitionWalker, i18n: I18n, stateModifier: StateModifier, layoutController: LayoutController, workspaceController: WorkspaceControllerWrapper, placeholderController: PlaceholderController, behaviorController: BehaviorController, customActionController: CustomActionController, historyController: HistoryController | undefined); | ||
setWorkspaceController(controller: WorkspaceController): void; | ||
@@ -574,3 +577,2 @@ } | ||
private constructor(); | ||
setIsDragging(isDragging: boolean): void; | ||
hasOutput(): boolean; | ||
@@ -586,4 +588,3 @@ } | ||
findById(stepId: string): StepComponent | null; | ||
getPlaceholders(result: Placeholder[]): void; | ||
setIsDragging(isDragging: boolean): void; | ||
resolvePlaceholders(skipComponent: StepComponent | undefined, result: FoundPlaceholders): void; | ||
updateBadges(result: BadgesResult): void; | ||
@@ -764,2 +765,3 @@ } | ||
isOutputConnected: boolean; | ||
isPreview: boolean; | ||
} | ||
@@ -771,2 +773,3 @@ interface SequenceContext { | ||
isOutputConnected: boolean; | ||
isPreview: boolean; | ||
} | ||
@@ -836,2 +839,3 @@ interface StepComponentViewWrapperExtension { | ||
canCreate(sequence: Sequence, index: number): boolean; | ||
canShow?: (sequence: Sequence, index: number, draggingStepComponentType: ComponentType, draggingStepType: string) => boolean; | ||
} | ||
@@ -1272,2 +1276,2 @@ interface PlaceholderExtension { | ||
export { Attributes, Badge, BadgeExtension, BadgeView, Badges, BadgesResult, BaseClickCommand, CenteredViewportCalculator, ClassicWheelControllerExtension, ClickCommand, ClickCommandType, ClickDetails, Component, ComponentContext, ComponentDom, ComponentView, ContainerStepComponentViewConfiguration, ContainerStepExtensionConfiguration, ContextMenuExtension, ContextMenuItem, ContextMenuItemsProvider, ControlBarApi, CustomAction, CustomActionController, CustomActionHandler, CustomActionHandlerContext, Daemon, DaemonExtension, DefaultRegionComponentViewExtension, DefaultRegionView, DefaultSequenceComponent, DefaultSequenceComponentView, DefaultViewportController, DefaultViewportControllerExtension, DefinitionChangeType, DefinitionChangedEvent, Designer, DesignerApi, DesignerConfiguration, DesignerContext, DesignerExtension, DesignerState, Dom, DraggedComponent, DraggedComponentExtension, Editor, EditorApi, EditorsConfiguration, Grid, GridExtension, I18n, Icons, InputView, JoinView, KeyboardAction, KeyboardConfiguration, LabelView, LineGridConfiguration, LineGridDesignerExtension, ObjectCloner, OpenFolderClickCommand, OutputView, PathBarApi, Placeholder, PlaceholderController, PlaceholderControllerExtension, PlaceholderDirection, PlaceholderExtension, PlaceholderView, PreferenceStorage, QuantifiedScaleViewportCalculator, RectPlaceholder, RectPlaceholderConfiguration, RectPlaceholderView, RegionComponentViewContentFactory, RegionComponentViewExtension, RegionView, RegionViewFactory, RerenderStepClickCommand, RootComponentExtension, RootEditorContext, RootEditorProvider, RootValidator, SelectStepClickCommand, SelectedStepIdProvider, SequenceComponent, SequenceComponentExtension, SequenceContext, SequencePlaceIndicator, Services, ServicesResolver, SimpleEvent, SimpleEventListener, StateModifierDependency, StepComponent, StepComponentView, StepComponentViewContext, StepComponentViewFactory, StepComponentViewWrapperExtension, StepContext, StepDefinition, StepDescriptionProvider, StepEditorContext, StepEditorProvider, StepExtension, StepExtensionResolver, StepIconUrlProvider, StepLabelProvider, StepValidator, StepsConfiguration, StepsDesignerExtension, StepsDesignerExtensionConfiguration, SwitchStepComponentViewConfiguration, SwitchStepExtensionConfiguration, TaskStepComponentViewConfiguration, TaskStepExtensionConfiguration, ToolboxApi, ToolboxConfiguration, ToolboxGroupConfiguration, TriggerCustomActionClickCommand, UiComponent, UiComponentExtension, Uid, UidGenerator, UndoStack, UndoStackItem, ValidationErrorBadgeExtension, ValidationErrorBadgeExtensionConfiguration, ValidationErrorBadgeViewConfiguration, ValidatorConfiguration, Vector, Viewport, ViewportController, ViewportControllerExtension, WheelController, WheelControllerExtension, WorkspaceApi, createContainerStepComponentViewFactory, createSwitchStepComponentViewFactory, createTaskStepComponentViewFactory, getAbsolutePosition, race }; | ||
export { Attributes, Badge, BadgeExtension, BadgeView, Badges, BadgesResult, BaseClickCommand, CenteredViewportCalculator, ClassicWheelControllerExtension, ClickCommand, ClickCommandType, ClickDetails, Component, ComponentContext, ComponentDom, ComponentView, ContainerStepComponentViewConfiguration, ContainerStepExtensionConfiguration, ContextMenuExtension, ContextMenuItem, ContextMenuItemsProvider, ControlBarApi, CustomAction, CustomActionController, CustomActionHandler, CustomActionHandlerContext, Daemon, DaemonExtension, DefaultRegionComponentViewExtension, DefaultRegionView, DefaultSequenceComponent, DefaultSequenceComponentView, DefaultViewportController, DefaultViewportControllerExtension, DefinitionChangeType, DefinitionChangedEvent, Designer, DesignerApi, DesignerConfiguration, DesignerContext, DesignerExtension, DesignerState, Dom, DraggedComponent, DraggedComponentExtension, Editor, EditorApi, EditorsConfiguration, FoundPlaceholders, Grid, GridExtension, I18n, Icons, InputView, JoinView, KeyboardAction, KeyboardConfiguration, LabelView, LineGridConfiguration, LineGridDesignerExtension, ObjectCloner, OpenFolderClickCommand, OutputView, PathBarApi, Placeholder, PlaceholderController, PlaceholderControllerExtension, PlaceholderDirection, PlaceholderExtension, PlaceholderView, PreferenceStorage, QuantifiedScaleViewportCalculator, RectPlaceholder, RectPlaceholderConfiguration, RectPlaceholderView, RegionComponentViewContentFactory, RegionComponentViewExtension, RegionView, RegionViewFactory, RerenderStepClickCommand, RootComponentExtension, RootEditorContext, RootEditorProvider, RootValidator, SelectStepClickCommand, SelectedStepIdProvider, SequenceComponent, SequenceComponentExtension, SequenceContext, SequencePlaceIndicator, Services, ServicesResolver, SimpleEvent, SimpleEventListener, StateModifierDependency, StepComponent, StepComponentView, StepComponentViewContext, StepComponentViewFactory, StepComponentViewWrapperExtension, StepContext, StepDefinition, StepDescriptionProvider, StepEditorContext, StepEditorProvider, StepExtension, StepExtensionResolver, StepIconUrlProvider, StepLabelProvider, StepValidator, StepsConfiguration, StepsDesignerExtension, StepsDesignerExtensionConfiguration, SwitchStepComponentViewConfiguration, SwitchStepExtensionConfiguration, TaskStepComponentViewConfiguration, TaskStepExtensionConfiguration, ToolboxApi, ToolboxConfiguration, ToolboxGroupConfiguration, TriggerCustomActionClickCommand, UiComponent, UiComponentExtension, Uid, UidGenerator, UndoStack, UndoStackItem, ValidationErrorBadgeExtension, ValidationErrorBadgeExtensionConfiguration, ValidationErrorBadgeViewConfiguration, ValidatorConfiguration, Vector, Viewport, ViewportController, ViewportControllerExtension, WheelController, WheelControllerExtension, WorkspaceApi, createContainerStepComponentViewFactory, createSwitchStepComponentViewFactory, createTaskStepComponentViewFactory, getAbsolutePosition, race }; |
{ | ||
"name": "sequential-workflow-designer", | ||
"description": "Customizable no-code component for building flow-based programming applications.", | ||
"version": "0.21.4", | ||
"version": "0.22.0", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "./lib/esm/index.js", |
@@ -28,3 +28,3 @@ ![Sequential Workflow Designer](.github/cover.png) | ||
* [🔴 Particles](https://nocode-js.github.io/sequential-workflow-designer/examples/particles.html) | ||
* [🇪🇸 Internationalization](https://nocode-js.github.io/sequential-workflow-designer/examples/i18n.html) | ||
* [🌍 Internationalization](https://nocode-js.github.io/sequential-workflow-designer/examples/i18n.html) | ||
* [⛅ Light Dark](https://nocode-js.github.io/sequential-workflow-designer/examples/light-dark.html) | ||
@@ -60,2 +60,3 @@ * [🤖 Code Generator](https://nocode-js.github.io/sequential-workflow-designer/examples/code-generator.html) | ||
* [🛎 Clickable Placeholder](https://nocode-js.com/examples/sequential-workflow-designer-pro/webpack-pro-app/public/clickable-placeholder.html) | ||
* [📮 Conditional Placeholders](https://nocode-js.com/examples/sequential-workflow-designer-pro/webpack-pro-app/public/conditional-placeholders.html) | ||
* [React Pro Demo](https://nocode-js.com/examples/sequential-workflow-designer-pro/react-pro-app/build/index.html) | ||
@@ -107,6 +108,6 @@ * [Angular Pro Demo](https://nocode-js.com/examples/sequential-workflow-designer-pro/angular-pro-app/angular-app/index.html) | ||
... | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4/css/designer.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4/css/designer-light.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4/css/designer-dark.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4/dist/index.umd.js"></script> | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.0/css/designer.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.0/css/designer-light.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.0/css/designer-dark.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.0/dist/index.umd.js"></script> | ||
``` | ||
@@ -113,0 +114,0 @@ |
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 too big to display
642928
237
15525