Typedef
| Static Public Summary | ||
| public |
AddOpOptions: * |
|
| public |
|
|
| public |
|
|
| public |
CablesTheme: * |
|
| public |
|
|
| public |
|
|
| public |
ClickedPort: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
GizmoParams: * |
|
| public |
GlRectInstancerOptions: Object |
|
| public |
GlRectOptions: Object |
|
| public |
|
|
| public |
GlTextWriterOptions: Object |
|
| public |
|
|
| public |
KeyObject: * |
|
| public |
KeyOptions: * |
|
| public |
LinkObject: * |
|
| public |
LinterDiag: Object |
|
| public |
ModalDialogButton: Object |
|
| public |
ModalDialogCheckbox: Object |
|
| public |
ModalDialogOptions: Object configuration object for a modal dialog |
|
| public |
|
|
| public |
|
|
| public |
NewOpOptions: * |
|
| public |
NotificationDisplayOptions: Object configuration object for loading a patch |
|
| public |
OpCredit: import("cables-shared-client").OpCredit |
|
| public |
OpDependency: import("cables-shared-client").OpDependency |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
OpDoc: import("cables-shared-client").OpDoc |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
PortChildren: {portOut: any, children: UiOp[]} |
|
| public |
|
|
| public |
|
|
| public |
TabOptions: import("./tab.js").TabOptions |
|
| public |
TabOptions: import("./tab.js").TabOptions |
|
| public |
TabOptions: * |
|
| public |
|
|
| public |
TlConfig: * |
|
| public |
TlTitleOptions: object |
|
| public |
User: * |
|
| public |
VizLayerItem: * |
|
| public |
|
|
| public |
|
|
| public |
cbData: * |
|
| public |
|
|
| public |
theme_colors_namespaces: Object<string, Number[]> |
|
| public |
theme_colors_objtypes: Object<string, Number[]> |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
theme_patch: * |
|
| public |
theme_textedit: Number |
|
Static Public
public AddOpOptions: * source
Properties:
| Name | Type | Attribute | Description |
| subPatch | string |
|
|
| createdLocally | string |
|
|
| linkNewOpToPort | Port |
|
|
| linkNewLink | Object |
|
|
| linkNewOpToOp | UiOp |
|
|
| linkOnlyFirstPort | boolean |
|
|
| onOpAdd | AddOpCallback |
|
|
| uiAttribs | import("cables/src/core/core_patch.js").OpUiAttribs |
|
public AnimLineOptions: * source
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
|
| keyYpos | boolean |
|
|
| multiAnims | boolean |
|
|
| parentEle | HTMLElement |
|
public BindingObject: * source
Properties:
| Name | Type | Attribute | Description |
| title | String | ||
| category | String | ||
| id | String | ||
| default | function | ||
| func | function |
public CablesTheme: * source
Properties:
| Name | Type | Attribute | Description |
| colors_types | theme_colors_types | ||
| colors_objtypes | theme_colors_objtypes | ||
| colors_namespaces | theme_colors_namespaces | ||
| textedit | theme_textedit | ||
| colors_timeline | theme_colors_timeline | ||
| colors_patch | theme_colors_patch | ||
| colors_html | theme_colors_html | ||
| patch | theme_patch | ||
| colors_vizlayer | theme_colors_vizlayer |
public CanvasContext: * source
Properties:
| Name | Type | Attribute | Description |
| cg | CgContext |
|
|
| id | string | ||
| title | string | ||
| canvasUi | CanvasUi |
|
|
| canvas | HTMLCanvasElement |
public CanvasPointEditorOptions: * source
Properties:
| Name | Type | Attribute | Description |
| openerEle | HTMLElement | ||
| template | string |
|
public ClickedPort: * source
Properties:
| Name | Type | Attribute | Description |
| port | Port |
|
|
| title | String | ||
| id | String | ||
| opid | String | ||
| order | number | ||
| size | String |
public CommandPaletteOptions: * source
Properties:
| Name | Type | Attribute | Description |
| cablesCommands | boolean |
|
|
| showCategory | boolean |
|
|
| showIcons | boolean |
|
|
| commands | import("../commands/commands.js").CommandObject[] |
|
public ContextMenuItem: * source
Properties:
| Name | Type | Attribute | Description |
| title | String | ||
| iconClass | String |
|
|
| iconText | String |
|
|
| func | Function |
public ContextMenuParams: * source
Properties:
| Name | Type | Attribute | Description |
| items | Array<ContextMenuItem> | ||
| title | String |
|
|
| iconClass | String |
|
// * @property {Function} func |
public DialogOptions: * source
Properties:
| Name | Type | Attribute | Description |
| title | string | ||
| shortName | string | ||
| type | string | ||
| suggestedNamespace | string | ||
| showReplace | boolean | ||
| rename | boolean | ||
| sourceOpName | string | ||
| hasOpDirectories | boolean |
public EditorOptions: * source
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
|
| name | string |
|
|
| dataId | string |
|
|
| syntax | string |
|
|
| singleton | boolean |
|
|
| allowEditReason | string |
|
|
| content | string |
|
|
| showSaveButton | boolean |
|
|
| hideFormatButton | boolean |
|
|
| loading | boolean |
|
|
| allowEdit | boolean |
|
|
| editorObj | import("../elements/tabpanel/editor_session.js").EditorSessionOptions |
|
|
| onClose | function |
|
|
| onSave | function |
|
|
| onFinished | function |
|
public EditorSessionOptions: * source
Properties:
| Name | Type | Attribute | Description |
| type | string | ||
| data | object | ||
| name | string |
public GizmoParams: * source
Properties:
| Name | Type | Attribute | Description |
| posX | Port | ||
| posY | Port | ||
| posZ | Port |
public GlRectInstancerOptions: Object source
Properties:
| Name | Type | Attribute | Description |
| name | String |
|
|
| initNum | Number |
|
|
| allowDragging | boolean |
|
|
| hoverWhenButton | boolean |
|
public GlRectOptions: Object source
Properties:
| Name | Type | Attribute | Description |
| name | String | ||
| interactive | Boolean | ||
| draggable | Boolean |
|
|
| parent | GlRect |
|
public GlSplineObject: * source
Properties:
| Name | Type | Attribute | Description |
| name | string | ||
| points | number[] | ||
| color | number[] | ||
| colorInactive | number[] | ||
| colorBorder | number[] | ||
| origPoints; | number[] | ||
| speed | number | ||
| index | number | ||
| startOffset | number | ||
| hidden | boolean | ||
| pointsNeedProgressUpdate | boolean | ||
| deleted | boolean |
public GlTextWriterOptions: Object source
Properties:
| Name | Type | Attribute | Description |
| name | String |
|
|
| initNum | Number |
|
public GotoOpOptions: * source
Properties:
| Name | Type | Attribute | Description |
| focusAnim | boolean |
|
|
| showParams | boolean |
|
|
| center | boolean |
|
|
| zoom | boolean |
|
|
| unselectAll | boolean |
|
public KeyObject: * source
Properties:
| Name | Type | Attribute | Description |
| pos | number | ||
| r | number | ||
| g | number | ||
| b | number | ||
| a | number | ||
| posy | number | ||
| ele | HTMLElement |
public KeyOptions: * source
Properties:
| Name | Type | Attribute | Description |
| minRestriction | number |
|
|
| displayGroup | string |
|
|
| cmdCtrl | boolean |
|
|
| shiftKey | boolean |
|
|
| altKey | boolean |
|
|
| ignoreInput | boolean |
|
public LinkObject: * source
Properties:
| Name | Type | Attribute | Description |
| in | Port | ||
| out | Port |
public LinterDiag: Object source
Properties:
| Name | Type | Attribute | Description |
| message | string | ||
| line | number | ||
| column | number |
|
|
| severity | number |
|
|
| fatal | boolean |
|
public ModalDialogButton: Object source
Properties:
| Name | Type | Attribute | Description |
| text | String |
|
|
| cssClasses | String |
|
|
| disabled | Boolean |
|
|
| callback | ModalDialogSubmitCallback |
|
public ModalDialogCheckbox: Object source
Properties:
| Name | Type | Attribute | Description |
| name | string | ||
| value | any | ||
| checked | boolean | ||
| disabled | boolean | ||
| tooltip | string | ||
| title | string |
public ModalDialogOptions: Object source
configuration object for a modal dialog
Properties:
| Name | Type | Attribute | Description |
| html | String |
|
html content |
| title | String |
|
a title of the dialog |
| text | String |
|
|
| footer | String |
|
|
| notices | String[] |
|
|
| okButton | ModalDialogButton |
|
|
| cancelButton | ModalDialogButton |
|
|
| nopadding | Boolean |
|
remove padding around the window |
| warning | Boolean |
|
show a warning triangle |
| showOkButton | Boolean |
|
show a ok button to close the dialog |
| prompt | Boolean |
|
show an input field to enter a value |
| promptValue | String |
|
|
| promptSelectText | Boolean |
|
select the text of the input field when shown |
| promptOk | ModalPromptCallback |
|
|
| choice | Boolean |
|
show ok/cancel buttons with onSubmit and onClosed callbacks |
| checkboxGroups | {title: string, checkboxes: ModalDialogCheckbox[]}[] |
|
|
| notices | string[] |
|
|
| footer | string |
|
|
| persistInIdleMode | boolean |
|
public ModalErrorException: * source
Properties:
| Name | Type | Attribute | Description |
| cause | string |
|
indicates a failing op, format "opId:<id>" |
| error | Error |
|
wrapped underlying error, used instead of the exception itself when set |
| message | string |
|
|
| stack | string |
|
|
| customMessage | string |
|
extra message appended below the stacktrace |
public ModalErrorOptions: * source
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
will replace title |
| text | string |
|
|
| codeText | string |
|
will be shown as monospace font |
| op | UiOp |
|
will add an "edit op" button |
| opname | string |
|
will show opname |
| exception | ModalErrorException |
|
will show stacktrace and exception message |
| triggerStack | string |
|
public NewOpOptions: * source
Properties:
| Name | Type | Attribute | Description |
| linkNewLink | Link |
|
|
| linkNewOpToPort | Port |
|
public NotificationDisplayOptions: Object source
configuration object for loading a patch
Properties:
| Name | Type | Attribute | Description |
| timeout | Number | Boolean |
|
fade out notification after x ms, |
| closeable | Boolean |
|
show closing button on notification |
| force | Boolean |
|
force showing of notification even if last one was the same |
public OpCredit: import("cables-shared-client").OpCredit source
public OpDependency: import("cables-shared-client").OpDependency source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpDoc: import("cables-shared-client").OpDoc source
public OpSearchListItem: * source
Properties:
| Name | Type | Attribute | Description |
| opId | string | number | simpleId if op has no doc |
|
| name | string | full op name, e.g. Ops.Math.Sum |
|
| summary | string | ||
| description | string |
|
collections only |
| collectionOpNames | string |
|
lowercase, space separated op names of a collection |
| nscolor | string | namespace css class name |
|
| isOp | boolean | false for collections |
|
| userOp | boolean | ||
| devOp | boolean | ||
| extensionOp | boolean | ||
| teamOp | boolean | ||
| patchOp | boolean | ||
| isExtension | boolean | ||
| isTeamNamespace | boolean | ||
| isCollection | boolean | ||
| shortName | string | ||
| nameSpace | string | ||
| namespaces | string[] | all parent namespaces, e.g. ["Ops.Math"] |
|
| oldState | string | "", "OLD" or "DEPREC" |
|
| lowercasename | string | ||
| buttonText | string | ||
| type | string | "op", "team", "extension" or "patchop" |
|
| pop | number | popularity |
|
| teamName | string |
|
collections only |
| teamLink | string |
|
collections only |
| numOps | number |
|
collections only |
| ops | string[] |
|
collections only |
| id | number |
|
index in list, set by buildList |
| old | boolean |
|
deprecated or outdated version |
| abbrev | string |
|
abbreviation of shortName |
| _summary | string |
|
lowercase search cache |
| _shortName | string |
|
lowercase search cache |
| _lowerCaseName | string |
|
lowercase search cache |
| _nameSpace | string |
|
lowercase search cache |
| _nameSpaceFull | string |
|
lowercase search cache |
| score | number |
|
search score |
| scoreDebug | string |
|
html explaining the score |
| element | HTMLElement |
|
result element in opselect |
| elementHidden | boolean |
|
public OpSelectOptions: * source
Properties:
| Name | Type | Attribute | Description |
| search | string |
|
|
| x | number |
|
|
| y | number |
|
|
| subPatch | string | number |
|
|
| onOpAdd | Function |
|
|
| autoLinkCurrentOp | boolean |
|
public PatchStructureItem: * source
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
|
| id | string |
|
|
| order | string | number |
|
|
| childs | array |
|
|
| icon | string |
|
|
| rowClass | string |
|
|
| iconBgColor | string |
|
|
| subPatchId | string | number |
|
|
| subPatchVer | number |
|
public PatchStructureQueryIncludeOptions: * source
Properties:
| Name | Type | Attribute | Description |
| include.all | boolean |
|
|
| include.areas | boolean |
|
|
| include.comments | boolean |
|
|
| include.customOps | boolean |
|
|
| include.commented | boolean |
|
|
| include.bookmarks | boolean |
|
|
| include.uierrors | boolean |
|
|
| include.animated | boolean |
|
|
| include.selected | boolean |
|
|
| include.colored | boolean |
|
|
| include.subpatches | boolean |
|
|
| include.portsAnimated | boolean |
|
public PatchStructureQueryOnlyOptions: * source
Properties:
| Name | Type | Attribute | Description |
| include.selected | boolean |
|
public PatchStructureQueryOptions: * source
Properties:
| Name | Type | Attribute | Description |
| include | PatchStructureQueryIncludeOptions |
|
|
| only | PatchStructureQueryOnlyOptions |
|
|
| removeEmptySubpatches | boolean |
|
|
| includeUnsavedIndicator | boolean |
|
public PlatformConfig: * source
Properties:
| Name | Type | Attribute | Description |
| usersettings | Object |
|
|
| usersettings.settings | Object |
|
|
| patch | Object | ||
| patch.settings | Object |
|
|
| patch.ui | Object |
|
|
| patch.settings.manualScreenshot | Boolean |
|
|
| isTrustedPatch | Boolean |
|
|
| patchConfig | Object |
|
|
| patchConfig.prefixAssetPath | String |
|
|
| urlCables | String |
|
|
| urlSandbox | String |
|
|
| previewMode | Boolean |
|
|
| patchVersion | String |
|
|
| socketcluster | Object |
|
|
| isDevEnv | Boolean |
|
|
| user | Object |
|
|
| communityUrl | String |
|
used in electron, url to community cables.gl instance |
| paths | Object |
|
used in electron, local filesystem paths |
| currentPatchDir | String |
|
used in electron, directory of currently opened patch |
| description | String |
|
public PlatformFrontendOptions: * source
Properties:
| Name | Type | Attribute | Description |
| showLocalOpDirButton | boolean |
|
|
| opDeleteInEditor | boolean |
|
|
| showExport | boolean |
|
|
| showExportPatch | boolean |
|
|
| showPatchBackups | boolean |
|
|
| showMyLinks | boolean |
|
|
| showAssetUpload | boolean |
|
|
| showPatchSettings | boolean |
|
|
| showPatchViewPage | boolean |
|
|
| showChangeLogLink | boolean |
|
|
| showBuildInfoMenuLink | boolean |
|
|
| hasOpDirectories | boolean |
|
|
| showWelcome | boolean |
|
|
| showOpenPatch | boolean |
|
public SpreadSheetOptions: * source
Properties:
| Name | Type | Attribute | Description |
| title | string |
|
|
| numColumns | number |
|
|
| onchange | function |
|
|
| colNames | string[] |
|
|
| cells | [string[]] |
|
public SuggestionItem: * source
Properties:
| Name | Type | Attribute | Description |
| name | String |
|
|
| class | String |
|
|
| classNames | Array |
|
|
| id | Number |
|
|
| rot | Number |
|
internal: do not set manually |
| top | Number |
|
internal: do not set manually |
| left | Number |
|
internal: do not set manually |
| shortName | String |
|
internal: do not set manually |
| classname | String |
|
class |
| p | Port |
|
port |
| op | Op |
|
op id |
| spacing | Number |
|
extra spacing |
| isBoundToVar | Boolean |
|
|
| cb | Function |
|
[callback] |
| createSpOpPort | Boolean |
|
public TabOptions: import("./tab.js").TabOptions source
public TabOptions: import("./tab.js").TabOptions source
public TabOptions: * source
Properties:
| Name | Type | Attribute | Description |
| name | String |
|
|
| singleton | boolean |
|
|
| closable | boolean |
|
|
| hideToolbar | boolean |
|
|
| showTitle | boolean |
|
|
| padding | boolean |
|
|
| tabPanel | TabPanel |
|
|
| dataId | string |
|
|
| icon | string |
|
|
| infotext | string |
|
public TabPanelOptions: * source
Properties:
| Name | Type | Attribute | Description |
| name | String |
|
|
| closable | boolean |
|
|
| noUserSetting | boolean |
|
does not store last opened tab in userSettings |
public TlConfig: * source
Properties:
| Name | Type | Attribute | Description |
| fps | Number | ||
| fadeInFrames | Boolean |
|
|
| showBeats | Boolean |
|
|
| displayUnits | String |
|
|
| restrictToFrames | Boolean |
|
public TlTitleOptions: object source
Properties:
| Name | Type | Attribute | Description |
| title | String |
|
|
| port | Port |
|
|
| port | Port |
|
|
| animLine | TlAnimLine |
|
public User: * source
Properties:
| Name | Type | Attribute | Description |
| username | string | ||
| id | string | ||
| usernameLowercase | boolean | ||
| supporterFeatures | string[] | ||
| isStaff | boolean | ||
| isAdmin | boolean | ||
| isSupporter | boolean | ||
| hasWriteRights | boolean |
public VizLayerItem: * source
Properties:
| Name | Type | Attribute | Description |
| posX | number | ||
| posY | number | ||
| screenPosX | number | ||
| screenPosY | number | ||
| op | UiOp | ||
| w | number | ||
| h | number |
public VizLayerOptions: * source
Properties:
| Name | Type | Attribute | Description |
| x | number | ||
| y | number | ||
| width | number | ||
| height | number | ||
| scale | number | ||
| useGl | boolean | ||
| vizLayer | number | ||
| pixelDensity | number |
public VizTextOptions: * source
Properties:
| Name | Type | Attribute | Description |
| showWhitespace | boolean | ||
| showLineNum | boolean | ||
| fontSize | number | ||
| zoomText | boolean | ||
| wrap | boolean | ||
| scroll | number | ||
| syntax | string | ||
| diagnostics | import("../api/opsserver.js").LinterDiag[] | ||
| highlightLines | Object |
public cbData: * source
Properties:
| Name | Type | Attribute | Description |
| opId | string |
|
|
| portname | string |
|
|
| opname | string |
|
|
| name | string |
|
public theme_colors_html: * source
Properties:
| Name | Type | Attribute | Description |
| text-color | Number[] |
public theme_colors_namespaces: Object<string, Number[]> source
Properties:
| Name | Type | Attribute | Description |
| unknown | Number[] |
public theme_colors_objtypes: Object<string, Number[]> source
Properties:
| Name | Type | Attribute | Description |
| default | Number[] |
public theme_colors_patch: * source
Properties:
| Name | Type | Attribute | Description |
| opBgRectSelected | Number[] | ||
| selected | Number[] | deprecated |
|
| selectedBorder | Number[] |
|
|
| selectedCable | Number[] | ||
| patchSelectionArea | Number[] | ||
| opTitleExt | Number[] | ||
| background | Number[] | ||
| opBoundsRect | Number[] | ||
| opBgRect | Number[] | ||
| opErrorWarning | Number[] | ||
| opError | Number[] | ||
| opErrorHint | Number[] | ||
| opNotWorkingCross | Number[] | ||
| patchComment | Number[] |
public theme_colors_timeline: * source
Properties:
| Name | Type | Attribute | Description |
| background | Number[] | ||
| background_hover | Number[] | ||
| overview_background | Number[] | ||
| overview_bar | Number[] | ||
| cursor | Number[] | ||
| key_cliparea | Number[] | ||
| key_bezier | Number[] | ||
| key | Number[] | ||
| key_selected | Number[] | ||
| spline | Number[] | ||
| spline_hover | Number[] | ||
| spline_selectedkeys | Number[] | ||
| spline_outside | Number[] | ||
| spline_outside_hover | Number[] | ||
| spline_outside_selectedkeys | Number[] | ||
| key_readonly | Number[] | ||
| spline_readonly | Number[] | ||
| spline_outside_readonly | Number[] | ||
| ruler_frames | Number[] | ||
| ruler_background | Number[] | ||
| ruler_tick | Number[] | ||
| ruler_text | Number[] |
public theme_colors_types: * source
Properties:
| Name | Type | Attribute | Description |
| trigger | Number[] | ||
| trigger_inactive | Number[] | ||
| num | Number[] | ||
| num_inactive | Number[] | ||
| obj | Number[] | ||
| obj_inactive | Number[] | ||
| string | Number[] | ||
| string_inactive | Number[] | ||
| array | Number[] | ||
| array_inactive | Number[] | ||
| dynamic | Number[] |
public theme_colors_vizlayer: * source
Properties:
| Name | Type | Attribute | Description |
| colorText | string | ||
| colorBackground | string | ||
| colorLineNumbers | string |
public theme_patch: * source
Properties:
| Name | Type | Attribute | Description |
| selectedOpBorderX | number | ||
| selectedOpBorderY | number | ||
| cablesCurveY | number | ||
| cablesSubDivde | number | ||
| opStateIndicatorSize | number | ||
| fadeOutDistStart | number | ||
| fadeOutFadeDist | number | ||
| fadeOutFadeOpacity | number | ||
| cableButtonSize | number | ||
| cablesWidth | number |