types.ui - ZeMA-gGmbH/NoPE-JS GitHub Wiki

Namespace: ui

types.ui

Author

Martin Karkowski

Email

[email protected]

Namespaces

Interfaces

References

EDGE_TYPE_INFO_CONSUME_DATA

Re-exports EDGE_TYPE_INFO_CONSUME_DATA


EDGE_TYPE_INFO_CONSUME_EVENT

Re-exports EDGE_TYPE_INFO_CONSUME_EVENT


EDGE_TYPE_INFO_CONSUME_PATH

Re-exports EDGE_TYPE_INFO_CONSUME_PATH


EDGE_TYPE_INFO_IS_SUB_INFO

Re-exports EDGE_TYPE_INFO_IS_SUB_INFO


EDGE_TYPE_LOGIC_AVOIDS

Re-exports EDGE_TYPE_LOGIC_AVOIDS


EDGE_TYPE_LOGIC_CONSUME_TOKEN

Re-exports EDGE_TYPE_LOGIC_CONSUME_TOKEN


EDGE_TYPE_LOGIC_PRODUCE_TOKEN

Re-exports EDGE_TYPE_LOGIC_PRODUCE_TOKEN


EDGE_TYPE_LOGIC_RELEASES

Re-exports EDGE_TYPE_LOGIC_RELEASES


EDGE_TYPE_LOGIC_REMOVE_RELEASES

Re-exports EDGE_TYPE_LOGIC_REMOVE_RELEASES


EDGE_TYPE_LOGIC_REQUIRES

Re-exports EDGE_TYPE_LOGIC_REQUIRES


EDGE_TYPE_LOGIC_TRIGGERS

Re-exports EDGE_TYPE_LOGIC_TRIGGERS


EDGE_TYPE_PLANNER_AVOIDS

Re-exports EDGE_TYPE_PLANNER_AVOIDS


EDGE_TYPE_PLANNER_LEADS_TO

Re-exports EDGE_TYPE_PLANNER_LEADS_TO


EDGE_TYPE_PLANNER_RELEASES

Re-exports EDGE_TYPE_PLANNER_RELEASES


EDGE_TYPE_PLANNER_REQUIRES

Re-exports EDGE_TYPE_PLANNER_REQUIRES


IAdaptDataCallback

Re-exports IAdaptDataCallback


IAdditionalSelectionContextMenuEntry

Re-exports IAdditionalSelectionContextMenuEntry


IBaseEdge

Re-exports IBaseEdge


IBaseElement

Re-exports IBaseElement


IBaseNode

Re-exports IBaseNode


IBasicLayoutComponent

Re-exports IBasicLayoutComponent


IBreak

Re-exports IBreak


IButton

Re-exports IButton


ICallback

Re-exports ICallback


ICheckbox

Re-exports ICheckbox


IColor

Re-exports IColor


ICustomDropDown

Re-exports ICustomDropDown


ICustomHTML

Re-exports ICustomHTML


ICustomRender

Re-exports ICustomRender


IHotKeyAction

Re-exports IHotKeyAction


ILayout

Re-exports ILayout


ILayoutOptions

Re-exports ILayoutOptions


IMenu

Re-exports IMenu


IMenuCheckbox

Re-exports IMenuCheckbox


IMenubar

Re-exports IMenubar


IMinProvidedDataSet

Re-exports IMinProvidedDataSet


IPanel

Re-exports IPanel


IPanelControl

Re-exports IPanelControl


IPanelInstance

Re-exports IPanelInstance


IPanelOptions

Re-exports IPanelOptions


IPanels

Re-exports IPanels


IPort

Re-exports IPort


IPossiblePanels

Re-exports IPossiblePanels


IRadioButton

Re-exports IRadioButton


IRadioMenuItemDescription

Re-exports IRadioMenuItemDescription


IRenderHTML

Re-exports IRenderHTML


IRenderMarkdown

Re-exports IRenderMarkdown


IRenderW2UIElement

Re-exports IRenderW2UIElement


ISelectionConfig

Re-exports ISelectionConfig


ISelectionContextMenuEntry

Re-exports ISelectionContextMenuEntry


ISelectionElement

Re-exports ISelectionElement


ISelectionGroup

Re-exports ISelectionGroup


ISelectionTemplate

Re-exports ISelectionTemplate


IServiceEditPage

Re-exports IServiceEditPage


ISpacer

Re-exports ISpacer


ITab

Re-exports ITab


ITabProps

Re-exports ITabProps


ITextColor

Re-exports ITextColor


IToolbar

Re-exports IToolbar


IToolbarConfig

Re-exports IToolbarConfig


IToolbarElements

Re-exports IToolbarElements


IW2UISelection

Re-exports IW2UISelection


NODE_TYPE_BOOL_AND

Re-exports NODE_TYPE_BOOL_AND


NODE_TYPE_BOOL_NOT

Re-exports NODE_TYPE_BOOL_NOT


NODE_TYPE_BOOL_OR

Re-exports NODE_TYPE_BOOL_OR


NODE_TYPE_BOOL_XOR

Re-exports NODE_TYPE_BOOL_XOR


NODE_TYPE_CONSTANT

Re-exports NODE_TYPE_CONSTANT


NODE_TYPE_DATA_IF

Re-exports NODE_TYPE_DATA_IF


NODE_TYPE_DATA_TO_ON_CHANGE

Re-exports NODE_TYPE_DATA_TO_ON_CHANGE


NODE_TYPE_DATA_TO_ON_TRUE

Re-exports NODE_TYPE_DATA_TO_ON_TRUE


NODE_TYPE_DATA_TO_TOKEN

Re-exports NODE_TYPE_DATA_TO_TOKEN


NODE_TYPE_EVENT_TO_DATA

Re-exports NODE_TYPE_EVENT_TO_DATA


NODE_TYPE_FLOW_IF

Re-exports NODE_TYPE_FLOW_IF


NODE_TYPE_FLOW_OPERATION

Re-exports NODE_TYPE_FLOW_OPERATION


NODE_TYPE_FLOW_SYNC

Re-exports NODE_TYPE_FLOW_SYNC


NODE_TYPE_GROUP

Re-exports NODE_TYPE_GROUP


NODE_TYPE_MODULE

Re-exports NODE_TYPE_MODULE


NODE_TYPE_PLACE

Re-exports NODE_TYPE_PLACE


NODE_TYPE_START

Re-exports NODE_TYPE_START


NODE_TYPE_TOKEN_TO_DATA

Re-exports NODE_TYPE_TOKEN_TO_DATA


NODE_TYPE_TRANSITION

Re-exports NODE_TYPE_TRANSITION


NODE_TYPE_VAR

Re-exports NODE_TYPE_VAR


NODE_TYPE_WAIT_FOR

Re-exports NODE_TYPE_WAIT_FOR


PE

Re-exports PE


PN

Re-exports PN


PORT_ACTION_FIRE

Re-exports PORT_ACTION_FIRE


PORT_ACTION_FIRED

Re-exports PORT_ACTION_FIRED


PORT_ACTION_LOCK

Re-exports PORT_ACTION_LOCK


PORT_ACTION_RELEASE

Re-exports PORT_ACTION_RELEASE


PORT_AVOID_TOKEN

Re-exports PORT_AVOID_TOKEN


PORT_CONSUME_TOKEN

Re-exports PORT_CONSUME_TOKEN


PORT_DATA

Re-exports PORT_DATA


PORT_EVENT

Re-exports PORT_EVENT


PORT_FLOW_OP_DONE

Re-exports PORT_FLOW_OP_DONE


PORT_FLOW_OP_ERROR

Re-exports PORT_FLOW_OP_ERROR


PORT_FLOW_OP_EXECUTE

Re-exports PORT_FLOW_OP_EXECUTE


PORT_FUNCTION

Re-exports PORT_FUNCTION


PORT_PLACE

Re-exports PORT_PLACE


PORT_PRODUCE_TOKEN

Re-exports PORT_PRODUCE_TOKEN


PORT_REQUIRE_TOKEN

Re-exports PORT_REQUIRE_TOKEN


PORT_SERVICE_DONE

Re-exports PORT_SERVICE_DONE


PORT_SERVICE_ERROR

Re-exports PORT_SERVICE_ERROR


PORT_SERVICE_RESULT

Re-exports PORT_SERVICE_RESULT


TGetPorts

Re-exports TGetPorts


TRenderAngularComponentAtElement

Re-exports TRenderAngularComponentAtElement


TRenderFunction

Re-exports TRenderFunction


TRenderFunctionResult

Re-exports TRenderFunctionResult


TRendering

Re-exports TRendering


TServiceGetPortsReturn

Re-exports TServiceGetPortsReturn


VALID_ACTION_PORTS

Re-exports VALID_ACTION_PORTS


VALID_BASE_PORTS

Re-exports VALID_BASE_PORTS


VALID_EDGES

Re-exports VALID_EDGES


VALID_FLOW_PORTS

Re-exports VALID_FLOW_PORTS


VALID_NODES

Re-exports VALID_NODES


VALID_PETRINET_PORTS

Re-exports VALID_PETRINET_PORTS


VALID_PORTS

Re-exports VALID_PORTS


VALID_SERVICE_PORTS

Re-exports VALID_SERVICE_PORTS


ValidPanels

Re-exports ValidPanels


callbacks

Re-exports callbacks


edges

Re-exports edges


nodes

Re-exports nodes

Type Aliases

IUiTheme

IUiTheme: Object

Type declaration

Name Type
colors { danger: string ; dark: string ; info: string ; light: string ; primary: string ; secondary: string ; success: string ; warning: string }
colors.danger string
colors.dark string
colors.info string
colors.light string
colors.primary string
colors.secondary string
colors.success string
colors.warning string
font { color: string ; computedFont: string ; size: number ; type: string }
font.color string
font.computedFont string
font.size number
font.type string

TInstanceManagerPage

TInstanceManagerPage<T, Extension>: (div: HTMLDivElement, options: IDynamicUiRenderData & { createInstance: (description: Partial<IInstanceCreationMsg>, options?: { assignmentValid?: TValidAsssignmentChecker ; selector?: ValidSelectorFunction }) => Promise<T & IGenericNopeModule> ; ctorName: string ; instances: INopeModuleDescription[] } & Extension) => Promise<TInstanceManagerPageResult>

Type parameters

Name Type
T extends INopeModule = INopeModule
Extension {}

Type declaration

(div, options): Promise<TInstanceManagerPageResult>

UI to define an instance.

Parameters
Name Type
div HTMLDivElement
options IDynamicUiRenderData & { createInstance: (description: Partial<IInstanceCreationMsg>, options?: { assignmentValid?: TValidAsssignmentChecker ; selector?: ValidSelectorFunction }) => Promise<T & IGenericNopeModule> ; ctorName: string ; instances: INopeModuleDescription[] } & Extension
Returns

Promise<TInstanceManagerPageResult>


TLibraries

TLibraries: Object

Type containing the external libraries.

Type declaration

Name Type Description
ace typeof ace Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and JavaScript application. Ace is maintained as the primary editor for Cloud9 IDE and is the successor of the Mozilla Skywriter (Bespin) project. For more details checkout: https://ace.c9.io/#nav=about
gojs typeof go GoJS is a JavaScript library that lets you easily create interactive diagrams in modern web browsers. GoJS supports graphical templates and data-binding of graphical object properties to model data. You only need to save and restore the model, consisting of simple JavaScript objects holding whatever properties your app needs. Many predefined tools and commands implement the standard behaviors that most diagrams need. Customization of appearance and behavior is mostly a matter of setting properties. For more details checkout: https://gojs.net/latest/
jQuery any jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. Contains jQuery. See: https://jquery.com/
jsoneditor any Contains a library for a dynamic JSON-Editor. This contains a tree-view, with edit options. For more details checkout: https://github.com/josdejong/jsoneditor
nope any The Nope Library. It contains only the Browser build.
plotly typeof plotly Built on top of d3.js and stack.gl, Plotly.js is a high-level, declarative charting library. plotly.js ships with over 40 chart types, including 3D charts, statistical graphs, and SVG maps. plotly.js is free and open source and you can view the source, report issues or contribute on GitHub. For Tutorials and more checkout: https://plotly.com/javascript/
w2ui any -
w2uiHelpers { nopeW2ui: any ; w2alert: (...args: any) => any ; w2confirm: (...args: any) => any ; w2grid: (...args: any) => any ; w2popup: (...args: any) => any ; w2prompt: (...args: any) => any ; w2utils: any } Out of the box w2ui is an all-in-one solution. It contains common UI widgets: Grid, Forms, Toolbars, Layout, Sidebar, Tabs, Popup and various field controls. You do not need to put together a collection of mismatched plugins to accomplish your goals. Contains the original w2ui Library. https://w2ui.com/web/
w2uiHelpers.nopeW2ui any The Custom W2UI-Helper provided by the nope-ui package.
w2uiHelpers.w2alert (...args: any) => any -
w2uiHelpers.w2confirm (...args: any) => any -
w2uiHelpers.w2grid (...args: any) => any -
w2uiHelpers.w2popup (...args: any) => any -
w2uiHelpers.w2prompt (...args: any) => any -
w2uiHelpers.w2utils any -

TRenderConfigureServicePage

TRenderConfigureServicePage<T, Extension>: (div: HTMLDivElement, options: IRenderData & { input: T } & Extension) => Promise<IServiceEditPage>

Type parameters

Name Type
T extends PN
Extension {}

Type declaration

(div, options): Promise<IServiceEditPage>

Helper to configurate a service

Parameters
Name Type
div HTMLDivElement
options IRenderData & { input: T } & Extension
Returns

Promise<IServiceEditPage>


TRenderInstancePage

TRenderInstancePage<T, Extension>: (div: HTMLDivElement, options: IDynamicUiRenderData & { input: T & IGenericNopeModule } & Extension) => Promise<TRenderFunctionResult>

Type parameters

Name Type
T extends INopeModule = INopeModule
Extension {}

Type declaration

(div, options): Promise<TRenderFunctionResult>

Helper used, to render the instance details

Parameters
Name Type
div HTMLDivElement
options IDynamicUiRenderData & { input: T & IGenericNopeModule } & Extension
Returns

Promise<TRenderFunctionResult>


TSession

TSession: Object

Descripting a session, which the ui has established.

Type declaration

Name Type
connection "mqtt" | "io-client"
dataServer string
forwardData boolean
name string
port number
required boolean
uri string

TSettingsObject

TSettingsObject: Object

Index signature

▪ [index: string]: string | number | boolean


TSimpleSchema

TSimpleSchema: Object

A Schema to receive an object from the url (use the query pattern)

Index signature

▪ [index: string]: "number" | "integer" | "string" | "boolean" | { parse: (data: string) => any ; validate: (data: string) => boolean }


TcreateLayoutOptions

TcreateLayoutOptions: Object

Type declaration

Name Type Description
colors? any To define.
divId string ID of the div. given via <div id="blabla" #blabla></div>
height? string | number The height, that should be set e.g. 100% or 100px
id string Id of the Layout
onResizeCallback? (event: any, panels?: IPossiblePanels) => void Function which is called during resizing. Receives the event and the panels (containg all panels of the layout)
width? string | number The width, that should be set e.g. 100% or 100px
⚠️ **GitHub.com Fallback** ⚠️