diff --git a/.eslintignore b/.eslintignore index 13a9faed..1e1ff6de 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ -dist -src/__tests__ \ No newline at end of file +dist +src/__tests__ +index.html \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 96% rename from .eslintrc.js rename to .eslintrc.cjs index 02cfdcda..cde54e97 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -1,7 +1,6 @@ module.exports = { env: { browser: true, - amd: true, node: true, }, extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], diff --git a/api-extractor.json b/api-extractor.json new file mode 100644 index 00000000..01d529b9 --- /dev/null +++ b/api-extractor.json @@ -0,0 +1,396 @@ +/** + * Config file for API Extractor. For more info, please visit: https://api-extractor.com + */ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + /** + * Optionally specifies another JSON config file that this file extends from. This provides a way for + * standard settings to be shared across multiple projects. + * + * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains + * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be + * resolved using NodeJS require(). + * + * SUPPORTED TOKENS: none + * DEFAULT VALUE: "" + */ + // "extends": "./shared/api-extractor-base.json" + // "extends": "my-package/include/api-extractor-base.json" + /** + * Determines the "" token that can be used with other config file settings. The project folder + * typically contains the tsconfig.json and package.json config files, but the path is user-defined. + * + * The path is resolved relative to the folder of the config file that contains the setting. + * + * The default value for "projectFolder" is the token "", which means the folder is determined by traversing + * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder + * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error + * will be reported. + * + * SUPPORTED TOKENS: + * DEFAULT VALUE: "" + */ + // "projectFolder": "..", + /** + * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor + * analyzes the symbols exported by this module. + * + * The file extension must be ".d.ts" and not ".ts". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + */ + "mainEntryPointFilePath": "/dist/types/index.d.ts", + /** + * A list of NPM package names whose exports should be treated as part of this package. + * + * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1", + * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part + * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly + * imports library2. To avoid this, we can specify: + * + * "bundledPackages": [ "library2" ], + * + * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been + * local files for library1. + */ + "bundledPackages": [], + /** + * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files + * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. + * To use the OS's default newline kind, specify "os". + * + * DEFAULT VALUE: "crlf" + */ + // "newlineKind": "crlf", + /** + * Set to true when invoking API Extractor's test harness. When `testMode` is true, the `toolVersion` field in the + * .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests. + * + * DEFAULT VALUE: "false" + */ + // "testMode": false, + /** + * Specifies how API Extractor sorts members of an enum when generating the .api.json file. By default, the output + * files will be sorted alphabetically, which is "by-name". To keep the ordering in the source code, specify + * "preserve". + * + * DEFAULT VALUE: "by-name" + */ + // "enumMemberOrder": "by-name", + /** + * Determines how the TypeScript compiler engine will be invoked by API Extractor. + */ + "compiler": { + /** + * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * Note: This setting will be ignored if "overrideTsconfig" is used. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/tsconfig.json" + */ + // "tsconfigFilePath": "/tsconfig.json", + /** + * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. + * The object must conform to the TypeScript tsconfig schema: + * + * http://json.schemastore.org/tsconfig + * + * If omitted, then the tsconfig.json file will be read from the "projectFolder". + * + * DEFAULT VALUE: no overrideTsconfig section + */ + // "overrideTsconfig": { + // . . . + // } + /** + * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended + * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when + * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses + * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck. + * + * DEFAULT VALUE: false + */ + // "skipLibCheck": true, + }, + /** + * Configures how the API report file (*.api.md) will be generated. + */ + "apiReport": { + /** + * (REQUIRED) Whether to generate an API report. + */ + "enabled": true, + /** + * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce + * a full file path. + * + * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/". + * + * SUPPORTED TOKENS: , + * DEFAULT VALUE: ".api.md" + */ + // "reportFileName": ".api.md", + /** + * Specifies the folder where the API report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, + * e.g. for an API review. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + "reportFolder": "/api/", + /** + * Specifies the folder where the temporary report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * After the temporary file is written to disk, it is compared with the file in the "reportFolder". + * If they are different, a production build will fail. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + "reportTempFolder": "/api/", + /** + * Whether "forgotten exports" should be included in the API report file. Forgotten exports are declarations + * flagged with `ae-forgotten-export` warnings. See https://api-extractor.com/pages/messages/ae-forgotten-export/ to + * learn more. + * + * DEFAULT VALUE: "false" + */ + "includeForgottenExports": false + }, + /** + * Configures how the doc model file (*.api.json) will be generated. + */ + "docModel": { + /** + * (REQUIRED) Whether to generate a doc model file. + */ + "enabled": true, + /** + * The output path for the doc model file. The file extension should be ".api.json". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/.api.json" + */ + "apiJsonFilePath": "/api/.api.json" + /** + * Whether "forgotten exports" should be included in the doc model file. Forgotten exports are declarations + * flagged with `ae-forgotten-export` warnings. See https://api-extractor.com/pages/messages/ae-forgotten-export/ to + * learn more. + * + * DEFAULT VALUE: "false" + */ + // "includeForgottenExports": false, + /** + * The base URL where the project's source code can be viewed on a website such as GitHub or + * Azure DevOps. This URL path corresponds to the `` path on disk. + * + * This URL is concatenated with the file paths serialized to the doc model to produce URL file paths to individual API items. + * For example, if the `projectFolderUrl` is "https://github.com/microsoft/rushstack/tree/main/apps/api-extractor" and an API + * item's file path is "api/ExtractorConfig.ts", the full URL file path would be + * "https://github.com/microsoft/rushstack/tree/main/apps/api-extractor/api/ExtractorConfig.js". + * + * Can be omitted if you don't need source code links in your API documentation reference. + * + * SUPPORTED TOKENS: none + * DEFAULT VALUE: "" + */ + // "projectFolderUrl": "http://github.com/path/to/your/projectFolder" + }, + /** + * Configures how the .d.ts rollup file will be generated. + */ + "dtsRollup": { + /** + * (REQUIRED) Whether to generate the .d.ts rollup file. + */ + "enabled": true + /** + * Specifies the output path for a .d.ts rollup file to be generated without any trimming. + * This file will include all declarations that are exported by the main entry point. + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/dist/.d.ts" + */ + // "untrimmedFilePath": "/dist/.d.ts", + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for an "alpha" release. + * This file will include only declarations that are marked as "@public", "@beta", or "@alpha". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "alphaTrimmedFilePath": "/dist/-alpha.d.ts", + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. + * This file will include only declarations that are marked as "@public" or "@beta". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "betaTrimmedFilePath": "/dist/-beta.d.ts", + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release. + * This file will include only declarations that are marked as "@public". + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "publicTrimmedFilePath": "/dist/-public.d.ts", + /** + * When a declaration is trimmed, by default it will be replaced by a code comment such as + * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the + * declaration completely. + * + * DEFAULT VALUE: false + */ + // "omitTrimmingComments": true + }, + /** + * Configures how the tsdoc-metadata.json file will be generated. + */ + "tsdocMetadata": { + /** + * Whether to generate the tsdoc-metadata.json file. + * + * DEFAULT VALUE: true + */ + // "enabled": true, + /** + * Specifies where the TSDoc metadata file should be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata", + * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup + * falls back to "tsdoc-metadata.json" in the package folder. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json" + }, + /** + * Configures how API Extractor reports error and warning messages produced during analysis. + * + * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages. + */ + "messages": { + /** + * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing + * the input .d.ts files. + * + * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "compilerMessageReporting": { + /** + * Configures the default routing for messages that don't match an explicit rule in this table. + */ + "default": { + /** + * Specifies whether the message should be written to the the tool's output log. Note that + * the "addToApiReportFile" property may supersede this option. + * + * Possible values: "error", "warning", "none" + * + * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail + * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes + * the "--local" option), the warning is displayed but the build will not fail. + * + * DEFAULT VALUE: "warning" + */ + "logLevel": "warning" + /** + * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md), + * then the message will be written inside that file; otherwise, the message is instead logged according to + * the "logLevel" option. + * + * DEFAULT VALUE: false + */ + // "addToApiReportFile": false + } + // "TS2551": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + /** + * Configures handling of messages reported by API Extractor during its analysis. + * + * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag" + * + * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings + */ + "extractorMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + // "ae-extra-release-tag": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + /** + * Configures handling of messages reported by the TSDoc parser when analyzing code comments. + * + * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "tsdocMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + // "tsdoc-link-tag-unescaped-text": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + } + } +} \ No newline at end of file diff --git a/api/mind-elixir.api.json b/api/mind-elixir.api.json new file mode 100644 index 00000000..655c4607 --- /dev/null +++ b/api/mind-elixir.api.json @@ -0,0 +1,5247 @@ +{ + "metadata": { + "toolPackage": "@microsoft/api-extractor", + "toolVersion": "7.36.4", + "schemaVersion": 1011, + "oldestForwardsCompatibleVersion": 1001, + "tsdocConfig": { + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "noStandardTags": true, + "tagDefinitions": [ + { + "tagName": "@alpha", + "syntaxKind": "modifier" + }, + { + "tagName": "@beta", + "syntaxKind": "modifier" + }, + { + "tagName": "@defaultValue", + "syntaxKind": "block" + }, + { + "tagName": "@decorator", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@deprecated", + "syntaxKind": "block" + }, + { + "tagName": "@eventProperty", + "syntaxKind": "modifier" + }, + { + "tagName": "@example", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@experimental", + "syntaxKind": "modifier" + }, + { + "tagName": "@inheritDoc", + "syntaxKind": "inline" + }, + { + "tagName": "@internal", + "syntaxKind": "modifier" + }, + { + "tagName": "@label", + "syntaxKind": "inline" + }, + { + "tagName": "@link", + "syntaxKind": "inline", + "allowMultiple": true + }, + { + "tagName": "@override", + "syntaxKind": "modifier" + }, + { + "tagName": "@packageDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@param", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@privateRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@public", + "syntaxKind": "modifier" + }, + { + "tagName": "@readonly", + "syntaxKind": "modifier" + }, + { + "tagName": "@remarks", + "syntaxKind": "block" + }, + { + "tagName": "@returns", + "syntaxKind": "block" + }, + { + "tagName": "@sealed", + "syntaxKind": "modifier" + }, + { + "tagName": "@see", + "syntaxKind": "block" + }, + { + "tagName": "@throws", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@typeParam", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@virtual", + "syntaxKind": "modifier" + }, + { + "tagName": "@betaDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@internalRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@preapproved", + "syntaxKind": "modifier" + } + ], + "supportForTags": { + "@alpha": true, + "@beta": true, + "@defaultValue": true, + "@decorator": true, + "@deprecated": true, + "@eventProperty": true, + "@example": true, + "@experimental": true, + "@inheritDoc": true, + "@internal": true, + "@label": true, + "@link": true, + "@override": true, + "@packageDocumentation": true, + "@param": true, + "@privateRemarks": true, + "@public": true, + "@readonly": true, + "@remarks": true, + "@returns": true, + "@sealed": true, + "@see": true, + "@throws": true, + "@typeParam": true, + "@virtual": true, + "@betaDocumentation": true, + "@internalRemarks": true, + "@preapproved": true + }, + "reportUnsupportedHtmlElements": false + } + }, + "kind": "Package", + "canonicalReference": "mind-elixir!", + "docComment": "", + "name": "mind-elixir", + "preserveMemberOrder": false, + "members": [ + { + "kind": "EntryPoint", + "canonicalReference": "mind-elixir!", + "name": "", + "preserveMemberOrder": false, + "members": [ + { + "kind": "Variable", + "canonicalReference": "mind-elixir!_default:var", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "_default: " + }, + { + "kind": "Reference", + "text": "MindElixirCtor", + "canonicalReference": "mind-elixir!MindElixirCtor:interface" + } + ], + "fileUrlPath": "dist/types/index.d.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "_default", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Children:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Children extends " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "Children", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Children#children:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "children: " + }, + { + "kind": "Reference", + "text": "HTMLCollection", + "canonicalReference": "!HTMLCollection:interface" + }, + { + "kind": "Content", + "text": " & " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "children", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Children#firstChild:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "firstChild: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "firstChild", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Children#parentElement:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentElement: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentElement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Children#parentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentNode: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Children#previousSibling:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "previousSibling: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "previousSibling", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!CustomArrow:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type CustomArrow = " + }, + { + "kind": "Reference", + "text": "SVGPathElement", + "canonicalReference": "!SVGPathElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "CustomArrow", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!CustomLine:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type CustomLine = " + }, + { + "kind": "Reference", + "text": "SVGPathElement", + "canonicalReference": "!SVGPathElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "CustomLine", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!CustomSvg:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface CustomSvg extends " + }, + { + "kind": "Reference", + "text": "SVGGElement", + "canonicalReference": "!SVGGElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "CustomSvg", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!CustomSvg#children:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "children: " + }, + { + "kind": "Reference", + "text": "HTMLCollection", + "canonicalReference": "!HTMLCollection:interface" + }, + { + "kind": "Content", + "text": " & [" + }, + { + "kind": "Reference", + "text": "CustomLine", + "canonicalReference": "mind-elixir!CustomLine:type" + }, + { + "kind": "Content", + "text": ", " + }, + { + "kind": "Reference", + "text": "CustomArrow", + "canonicalReference": "mind-elixir!CustomArrow:type" + }, + { + "kind": "Content", + "text": "]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "children", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 7 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!CustomSvg#linkObj:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkObj?: " + }, + { + "kind": "Reference", + "text": "LinkItem", + "canonicalReference": "mind-elixir!~LinkItem:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "linkObj", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Expander:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Expander extends " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "Expander", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Expander#expanded:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "expanded?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "expanded", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Expander#parentElement:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentElement: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentElement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Expander#parentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentNode: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Expander#previousSibling:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "previousSibling: " + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "previousSibling", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!LinkObj:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type LinkObj = " + }, + { + "kind": "Reference", + "text": "Record", + "canonicalReference": "!Record:type" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "LinkObj", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "Variable", + "canonicalReference": "mind-elixir!methods:var", + "docComment": "/**\n * Methods that mind-elixir instance can use\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "methods: " + }, + { + "kind": "Content", + "text": "{\n init(this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", data: " + }, + { + "kind": "Reference", + "text": "MindElixirData", + "canonicalReference": "mind-elixir!MindElixirData:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Error", + "canonicalReference": "!Error:interface" + }, + { + "kind": "Content", + "text": " | undefined;\n createLink: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", from: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ", to: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ", isInitPaint?: boolean | undefined, obj?: " + }, + { + "kind": "Reference", + "text": "customLink.LinkItem", + "canonicalReference": "mind-elixir!~LinkItem:type" + }, + { + "kind": "Content", + "text": " | undefined) => void;\n removeLink: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", linkSvg?: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "CustomSvg", + "canonicalReference": "mind-elixir!CustomSvg:interface" + }, + { + "kind": "Content", + "text": " | undefined) => void;\n selectLink: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", link: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "CustomSvg", + "canonicalReference": "mind-elixir!CustomSvg:interface" + }, + { + "kind": "Content", + "text": ") => void;\n hideLinkController: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n showLinkController: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", p2x: number, p2y: number, p3x: number, p3y: number, linkItem: " + }, + { + "kind": "Reference", + "text": "customLink.LinkItem", + "canonicalReference": "mind-elixir!~LinkItem:type" + }, + { + "kind": "Content", + "text": ", fromData: " + }, + { + "kind": "Reference", + "text": "customLink.LinkControllerData", + "canonicalReference": "mind-elixir!~LinkControllerData:type" + }, + { + "kind": "Content", + "text": ", toData: " + }, + { + "kind": "Reference", + "text": "customLink.LinkControllerData", + "canonicalReference": "mind-elixir!~LinkControllerData:type" + }, + { + "kind": "Content", + "text": ") => void;\n moveNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n moveNodeAfter: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n moveNodeBefore: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n removeNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n addChild: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n copyNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n reshapeNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n insertSibling: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n insertBefore: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n insertParent: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n moveUpNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n moveDownNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n beginEdit: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n setNodeTopic: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", ...args: unknown[]) => " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": ";\n selectNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", targetElement: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ", isNewNode?: boolean | undefined, e?: " + }, + { + "kind": "Reference", + "text": "MouseEvent", + "canonicalReference": "!MouseEvent:interface" + }, + { + "kind": "Content", + "text": " | undefined) => void;\n unselectNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n selectNextSibling: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => boolean;\n selectPrevSibling: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => boolean;\n selectFirstChild: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n selectParent: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n getDataString: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => string;\n getData: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => " + }, + { + "kind": "Reference", + "text": "MindElixirData", + "canonicalReference": "mind-elixir!MindElixirData:interface" + }, + { + "kind": "Content", + "text": ";\n getDataMd: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => string;\n enableEdit: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n disableEdit: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n scale: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", scaleVal: number) => void;\n toCenter: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n install: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", plugin: (instance: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void) => void;\n focusNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", el: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ") => void;\n cancelFocus: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n initLeft: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n initRight: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n initSide: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n setLocale: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", locale: string) => void;\n expandNode: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", el: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ", isExpand?: boolean | undefined) => void;\n refresh: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", data?: " + }, + { + "kind": "Reference", + "text": "MindElixirData", + "canonicalReference": "mind-elixir!MindElixirData:interface" + }, + { + "kind": "Content", + "text": " | undefined) => void;\n getObjById: (id: string, data: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ") => import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": " | null;\n generateNewObj: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObjExport", + "canonicalReference": "mind-elixir!NodeObjExport:type" + }, + { + "kind": "Content", + "text": ";\n layout: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ") => void;\n linkDiv: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", mainNode?: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": " | undefined) => void;\n createInputDiv: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", el: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ") => void;\n createWrapper: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", nodeObj: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ", omitChildren?: boolean | undefined) => {\n grp: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";\n top: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";\n tpc: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";\n };\n createParent: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", nodeObj: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ") => {\n p: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";\n tpc: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";\n };\n createChildren: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", wrappers: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": "[]) => import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Children", + "canonicalReference": "mind-elixir!Children:interface" + }, + { + "kind": "Content", + "text": ";\n createTopic: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", nodeObj: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ") => import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";\n findEle: (id: string, instance?: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": " | undefined) => import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";\n changeTheme: (this: " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ", theme: import(\"./index\")." + }, + { + "kind": "Reference", + "text": "Theme", + "canonicalReference": "mind-elixir!Theme:interface" + }, + { + "kind": "Content", + "text": ", shouldRefresh?: boolean) => void;\n}" + } + ], + "fileUrlPath": "dist/types/methods.d.ts", + "isReadonly": true, + "releaseTag": "Public", + "name": "methods", + "variableTypeTokenRange": { + "startIndex": 1, + "endIndex": 204 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!MindElixirCtor:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface MindElixirCtor " + } + ], + "fileUrlPath": "dist/types/index.d.ts", + "releaseTag": "Public", + "name": "MindElixirCtor", + "preserveMemberOrder": false, + "members": [ + { + "kind": "ConstructSignature", + "canonicalReference": "mind-elixir!MindElixirCtor:new(1)", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "new (options: " + }, + { + "kind": "Reference", + "text": "Options", + "canonicalReference": "mind-elixir!Options:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "MindElixirInstance", + "canonicalReference": "mind-elixir!MindElixirInstance:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "options", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "isOptional": false + } + ] + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#DARK_THEME:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "DARK_THEME: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "DARK_THEME", + "canonicalReference": "mind-elixir!~DARK_THEME:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "DARK_THEME", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#E:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "E: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "findEle", + "canonicalReference": "mind-elixir!~findEle:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "E", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#LEFT:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "LEFT: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "LEFT", + "canonicalReference": "mind-elixir!~LEFT:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "LEFT", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#new:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "new: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "MindElixir.new", + "canonicalReference": "mind-elixir!~_a:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "new", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#prototype:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "prototype: " + }, + { + "kind": "Reference", + "text": "MindElixirMethods", + "canonicalReference": "mind-elixir!MindElixirMethods:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "prototype", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#RIGHT:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "RIGHT: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "RIGHT", + "canonicalReference": "mind-elixir!~RIGHT:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "RIGHT", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#SIDE:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "SIDE: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "SIDE", + "canonicalReference": "mind-elixir!~SIDE:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "SIDE", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#THEME:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "THEME: " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "THEME", + "canonicalReference": "mind-elixir!~THEME:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "THEME", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirCtor#version:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "version: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "version", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!MindElixirData:interface", + "docComment": "/**\n * The exported data of MindElixir\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface MindElixirData " + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "MindElixirData", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirData#direction:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "direction?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "direction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirData#linkData:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkData?: " + }, + { + "kind": "Reference", + "text": "LinkObj", + "canonicalReference": "mind-elixir!LinkObj:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "linkData", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirData#nodeData:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodeData: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nodeData", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirData#theme:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "theme?: " + }, + { + "kind": "Reference", + "text": "Theme", + "canonicalReference": "mind-elixir!Theme:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "theme", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!MindElixirInstance:interface", + "docComment": "/**\n * The MindElixir instance\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface MindElixirInstance extends " + }, + { + "kind": "Reference", + "text": "MindElixirMethods", + "canonicalReference": "mind-elixir!MindElixirMethods:type" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "MindElixirInstance", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#allowUndo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "allowUndo: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "allowUndo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#before:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "before: " + }, + { + "kind": "Reference", + "text": "Before", + "canonicalReference": "mind-elixir!~Before:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "before", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#bus:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "bus: " + }, + { + "kind": "Reference", + "text": "ReturnType", + "canonicalReference": "!ReturnType:type" + }, + { + "kind": "Content", + "text": ">" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "bus", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 7 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#container:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "container: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "container", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#contextMenu:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "contextMenu: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "contextMenu", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#contextMenuOption:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "contextMenuOption: " + }, + { + "kind": "Content", + "text": "object" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "contextMenuOption", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#currentLink:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "currentLink: " + }, + { + "kind": "Reference", + "text": "CustomSvg", + "canonicalReference": "mind-elixir!CustomSvg:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "currentLink", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#currentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "currentNode: " + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "currentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#direction:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "direction: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "direction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#draggable:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "draggable: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "draggable", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#editable:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "editable: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "editable", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#history:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "history: " + }, + { + "kind": "Reference", + "text": "Operation", + "canonicalReference": "mind-elixir!~Operation:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "history", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#inputDiv:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "inputDiv: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "inputDiv", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#isFocusMode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "isFocusMode: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "isFocusMode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#keypress:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "keypress: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "keypress", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#line1:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "line1: " + }, + { + "kind": "Reference", + "text": "SVGElement", + "canonicalReference": "!SVGElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "line1", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#line2:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "line2: " + }, + { + "kind": "Reference", + "text": "SVGElement", + "canonicalReference": "!SVGElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "line2", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#lines:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "lines: " + }, + { + "kind": "Reference", + "text": "SVGElement", + "canonicalReference": "!SVGElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "lines", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#linkController:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkController: " + }, + { + "kind": "Reference", + "text": "SVGElement", + "canonicalReference": "!SVGElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "linkController", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#linkData:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkData: " + }, + { + "kind": "Reference", + "text": "LinkObj", + "canonicalReference": "mind-elixir!LinkObj:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "linkData", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#linkSvgGroup:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkSvgGroup: " + }, + { + "kind": "Reference", + "text": "SVGElement", + "canonicalReference": "!SVGElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "linkSvgGroup", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#locale:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "locale: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "locale", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#mainLinkStyle:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "mainLinkStyle: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "mainLinkStyle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#map:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "map: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "map", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#mindElixirBox:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "mindElixirBox: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "mindElixirBox", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#mobileMenu:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "mobileMenu: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "mobileMenu", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#newTopicName:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "newTopicName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "newTopicName", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#nodeData:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodeData: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nodeData", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#nodeDataBackup:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodeDataBackup: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nodeDataBackup", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#nodes:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodes: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nodes", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#overflowHidden:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "overflowHidden: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "overflowHidden", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#P2:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "P2: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "P2", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#P3:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "P3: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "P3", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#redo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "redo: " + }, + { + "kind": "Content", + "text": "() => void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "redo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#root:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "root: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "root", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#scaleVal:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "scaleVal: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "scaleVal", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#subLinkStyle:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "subLinkStyle: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "subLinkStyle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#tempDirection:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "tempDirection: " + }, + { + "kind": "Content", + "text": "number | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "tempDirection", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#theme:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "theme: " + }, + { + "kind": "Reference", + "text": "Theme", + "canonicalReference": "mind-elixir!Theme:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "theme", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#toolBar:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "toolBar: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "toolBar", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#undo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "undo: " + }, + { + "kind": "Content", + "text": "() => void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "undo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#userTheme:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "userTheme?: " + }, + { + "kind": "Reference", + "text": "Theme", + "canonicalReference": "mind-elixir!Theme:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "userTheme", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!MindElixirInstance#waitCopy:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "waitCopy: " + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "waitCopy", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!MindElixirMethods:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type MindElixirMethods = " + }, + { + "kind": "Content", + "text": "typeof " + }, + { + "kind": "Reference", + "text": "methods", + "canonicalReference": "mind-elixir!methods:var" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/methods.d.ts", + "releaseTag": "Public", + "name": "MindElixirMethods", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!NodeObj:interface", + "docComment": "/**\n * MindElixir node object\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface NodeObj " + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "NodeObj", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#branchColor:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "branchColor?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "branchColor", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#children:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "children?: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "children", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#direction:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "direction?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "direction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#expanded:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "expanded?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "expanded", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#hyperLink:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "hyperLink?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "hyperLink", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#icons:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "icons?: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "icons", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#id:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "id: " + }, + { + "kind": "Reference", + "text": "Uid", + "canonicalReference": "mind-elixir!Uid:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "id", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#image:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "image?: " + }, + { + "kind": "Content", + "text": "{\n url: string;\n width: number;\n height: number;\n }" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "image", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#parent:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parent?: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "parent", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#root:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "root?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "root", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#style:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "style?: " + }, + { + "kind": "Content", + "text": "{\n fontSize?: string;\n color?: string;\n background?: string;\n fontWeight?: string;\n }" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "style", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#tags:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "tags?: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "tags", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!NodeObj#topic:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "topic: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "topic", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!NodeObjExport:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type NodeObjExport = " + }, + { + "kind": "Reference", + "text": "Omit", + "canonicalReference": "!Omit:type" + }, + { + "kind": "Content", + "text": "<" + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ", 'parent'>" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "NodeObjExport", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 5 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Options:interface", + "docComment": "/**\n * The MindElixir options\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Options " + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "Options", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#allowUndo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "allowUndo?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "allowUndo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#before:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "before?: " + }, + { + "kind": "Reference", + "text": "Before", + "canonicalReference": "mind-elixir!~Before:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "before", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#contextMenu:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "contextMenu?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "contextMenu", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#contextMenuOption:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "contextMenuOption?: " + }, + { + "kind": "Content", + "text": "any" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "contextMenuOption", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#direction:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "direction?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "direction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#draggable:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "draggable?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "draggable", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#editable:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "editable?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "editable", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#el:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "el: " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "el", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#keypress:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "keypress?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "keypress", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#locale:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "locale?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "locale", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#mainLinkStyle:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "mainLinkStyle?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "mainLinkStyle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#mobileMenu:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "mobileMenu?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "mobileMenu", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#newTopicName:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "newTopicName?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "newTopicName", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#nodeMenu:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodeMenu?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "nodeMenu", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#overflowHidden:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "overflowHidden?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "overflowHidden", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#subLinkStyle:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "subLinkStyle?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "subLinkStyle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#theme:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "theme?: " + }, + { + "kind": "Reference", + "text": "Theme", + "canonicalReference": "mind-elixir!Theme:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "theme", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Options#toolBar:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "toolBar?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "toolBar", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Parent:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Parent extends " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "Parent", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#children:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "children: " + }, + { + "kind": "Reference", + "text": "HTMLCollection", + "canonicalReference": "!HTMLCollection:interface" + }, + { + "kind": "Content", + "text": " & [" + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ", " + }, + { + "kind": "Reference", + "text": "Expander", + "canonicalReference": "mind-elixir!Expander:interface" + }, + { + "kind": "Content", + "text": "]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "children", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 7 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#firstChild:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "firstChild: " + }, + { + "kind": "Reference", + "text": "Topic", + "canonicalReference": "mind-elixir!Topic:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "firstChild", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#nextSibling:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nextSibling: " + }, + { + "kind": "Reference", + "text": "Children", + "canonicalReference": "mind-elixir!Children:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nextSibling", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#offsetParent:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "offsetParent: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "offsetParent", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#parentElement:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentElement: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentElement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Parent#parentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentNode: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Theme:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Theme " + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "Theme", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Theme#cssVar:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "cssVar: " + }, + { + "kind": "Content", + "text": "{\n '--main-color': string;\n '--main-bgcolor': string;\n '--color': string;\n '--bgcolor': string;\n }" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "cssVar", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Theme#name:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Theme#palette:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "palette: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "palette", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Topic:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Topic extends " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "Topic", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#expander:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "expander?: " + }, + { + "kind": "Reference", + "text": "Expander", + "canonicalReference": "mind-elixir!Expander:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "expander", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#icons:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "icons?: " + }, + { + "kind": "Reference", + "text": "HTMLSpanElement", + "canonicalReference": "!HTMLSpanElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "icons", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#image:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "image?: " + }, + { + "kind": "Reference", + "text": "HTMLImageElement", + "canonicalReference": "!HTMLImageElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "image", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#linkContainer:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "linkContainer: " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "linkContainer", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#nodeObj:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nodeObj: " + }, + { + "kind": "Reference", + "text": "NodeObj", + "canonicalReference": "mind-elixir!NodeObj:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nodeObj", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#offsetParent:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "offsetParent: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "offsetParent", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#parentElement:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentElement: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentElement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#parentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentNode: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Topic#tags:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "tags?: " + }, + { + "kind": "Reference", + "text": "HTMLDivElement", + "canonicalReference": "!HTMLDivElement:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "tags", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "mind-elixir!Uid:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type Uid = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "dist/types/types/index.d.ts", + "releaseTag": "Public", + "name": "Uid", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "mind-elixir!Wrapper:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Wrapper extends " + }, + { + "kind": "Reference", + "text": "HTMLElement", + "canonicalReference": "!HTMLElement:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "fileUrlPath": "dist/types/types/dom.d.ts", + "releaseTag": "Public", + "name": "Wrapper", + "preserveMemberOrder": false, + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#children:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "children: " + }, + { + "kind": "Reference", + "text": "HTMLCollection", + "canonicalReference": "!HTMLCollection:interface" + }, + { + "kind": "Content", + "text": " & [" + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ", " + }, + { + "kind": "Reference", + "text": "Children", + "canonicalReference": "mind-elixir!Children:interface" + }, + { + "kind": "Content", + "text": "]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "children", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 7 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#firstChild:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "firstChild: " + }, + { + "kind": "Reference", + "text": "Parent", + "canonicalReference": "mind-elixir!Parent:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "firstChild", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#nextSibling:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "nextSibling: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "nextSibling", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#offsetParent:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "offsetParent: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "offsetParent", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#parentElement:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentElement: " + }, + { + "kind": "Reference", + "text": "Children", + "canonicalReference": "mind-elixir!Children:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentElement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#parentNode:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "parentNode: " + }, + { + "kind": "Reference", + "text": "Children", + "canonicalReference": "mind-elixir!Children:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "parentNode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "mind-elixir!Wrapper#previousSibling:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "previousSibling: " + }, + { + "kind": "Reference", + "text": "Wrapper", + "canonicalReference": "mind-elixir!Wrapper:interface" + }, + { + "kind": "Content", + "text": " | null" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "previousSibling", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 2 + } + ] + } + ] + } + ] +} diff --git a/api/mind-elixir.api.md b/api/mind-elixir.api.md new file mode 100644 index 00000000..a9afcebd --- /dev/null +++ b/api/mind-elixir.api.md @@ -0,0 +1,438 @@ +## API Report File for "mind-elixir" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +export interface Children extends HTMLElement { + // (undocumented) + children: HTMLCollection & Wrapper[]; + // (undocumented) + firstChild: Wrapper; + // (undocumented) + parentElement: Wrapper; + // (undocumented) + parentNode: Wrapper; + // (undocumented) + previousSibling: Parent; +} + +// @public (undocumented) +export type CustomArrow = SVGPathElement; + +// @public (undocumented) +export type CustomLine = SVGPathElement; + +// @public (undocumented) +export interface CustomSvg extends SVGGElement { + // (undocumented) + children: HTMLCollection & [CustomLine, CustomArrow]; + // Warning: (ae-forgotten-export) The symbol "LinkItem" needs to be exported by the entry point index.d.ts + // + // (undocumented) + linkObj?: LinkItem; +} + +// @public (undocumented) +const _default: MindElixirCtor; +export default _default; + +// @public (undocumented) +export interface Expander extends HTMLElement { + // (undocumented) + expanded?: boolean; + // (undocumented) + parentElement: Parent; + // (undocumented) + parentNode: Parent; + // (undocumented) + previousSibling: Topic; +} + +// @public (undocumented) +export type LinkObj = Record; + +// @public +export const methods: { + init(this: MindElixirInstance, data: MindElixirData): Error | undefined; + createLink: (this: MindElixirInstance, from: Topic, to: Topic, isInitPaint?: boolean | undefined, obj?: customLink.LinkItem | undefined) => void; + removeLink: (this: MindElixirInstance, linkSvg?: CustomSvg | undefined) => void; + selectLink: (this: MindElixirInstance, link: CustomSvg) => void; + hideLinkController: (this: MindElixirInstance) => void; + showLinkController: (this: MindElixirInstance, p2x: number, p2y: number, p3x: number, p3y: number, linkItem: customLink.LinkItem, fromData: customLink.LinkControllerData, toData: customLink.LinkControllerData) => void; + moveNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + moveNodeAfter: (this: MindElixirInstance, ...args: unknown[]) => Promise; + moveNodeBefore: (this: MindElixirInstance, ...args: unknown[]) => Promise; + removeNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + addChild: (this: MindElixirInstance, ...args: unknown[]) => Promise; + copyNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + reshapeNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + insertSibling: (this: MindElixirInstance, ...args: unknown[]) => Promise; + insertBefore: (this: MindElixirInstance, ...args: unknown[]) => Promise; + insertParent: (this: MindElixirInstance, ...args: unknown[]) => Promise; + moveUpNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + moveDownNode: (this: MindElixirInstance, ...args: unknown[]) => Promise; + beginEdit: (this: MindElixirInstance, ...args: unknown[]) => Promise; + setNodeTopic: (this: MindElixirInstance, ...args: unknown[]) => Promise; + selectNode: (this: MindElixirInstance, targetElement: Topic, isNewNode?: boolean | undefined, e?: MouseEvent | undefined) => void; + unselectNode: (this: MindElixirInstance) => void; + selectNextSibling: (this: MindElixirInstance) => boolean; + selectPrevSibling: (this: MindElixirInstance) => boolean; + selectFirstChild: (this: MindElixirInstance) => void; + selectParent: (this: MindElixirInstance) => void; + getDataString: (this: MindElixirInstance) => string; + getData: (this: MindElixirInstance) => MindElixirData; + getDataMd: (this: MindElixirInstance) => string; + enableEdit: (this: MindElixirInstance) => void; + disableEdit: (this: MindElixirInstance) => void; + scale: (this: MindElixirInstance, scaleVal: number) => void; + toCenter: (this: MindElixirInstance) => void; + install: (this: MindElixirInstance, plugin: (instance: MindElixirInstance) => void) => void; + focusNode: (this: MindElixirInstance, el: Topic) => void; + cancelFocus: (this: MindElixirInstance) => void; + initLeft: (this: MindElixirInstance) => void; + initRight: (this: MindElixirInstance) => void; + initSide: (this: MindElixirInstance) => void; + setLocale: (this: MindElixirInstance, locale: string) => void; + expandNode: (this: MindElixirInstance, el: Topic, isExpand?: boolean | undefined) => void; + refresh: (this: MindElixirInstance, data?: MindElixirData | undefined) => void; + getObjById: (id: string, data: NodeObj) => NodeObj | null; + generateNewObj: (this: MindElixirInstance) => NodeObjExport; + layout: (this: MindElixirInstance) => void; + linkDiv: (this: MindElixirInstance, mainNode?: Wrapper | undefined) => void; + createInputDiv: (this: MindElixirInstance, el: Topic) => void; + createWrapper: (this: MindElixirInstance, nodeObj: NodeObj, omitChildren?: boolean | undefined) => { + grp: Wrapper; + top: Parent; + tpc: Topic; + }; + createParent: (this: MindElixirInstance, nodeObj: NodeObj) => { + p: Parent; + tpc: Topic; + }; + createChildren: (this: MindElixirInstance, wrappers: Wrapper[]) => Children; + createTopic: (this: MindElixirInstance, nodeObj: NodeObj) => Topic; + findEle: (id: string, instance?: MindElixirInstance | undefined) => Topic; + changeTheme: (this: MindElixirInstance, theme: Theme, shouldRefresh?: boolean) => void; +}; + +// @public (undocumented) +export interface MindElixirCtor { + // (undocumented) + new (options: Options): MindElixirInstance; + // Warning: (ae-forgotten-export) The symbol "DARK_THEME" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DARK_THEME: typeof DARK_THEME; + // Warning: (ae-forgotten-export) The symbol "findEle" needs to be exported by the entry point index.d.ts + // + // (undocumented) + E: typeof findEle; + // Warning: (ae-forgotten-export) The symbol "LEFT" needs to be exported by the entry point index.d.ts + // + // (undocumented) + LEFT: typeof LEFT; + // Warning: (ae-forgotten-export) The symbol "MindElixir" needs to be exported by the entry point index.d.ts + // + // (undocumented) + new: typeof MindElixir.new; + // (undocumented) + prototype: MindElixirMethods; + // Warning: (ae-forgotten-export) The symbol "RIGHT" needs to be exported by the entry point index.d.ts + // + // (undocumented) + RIGHT: typeof RIGHT; + // Warning: (ae-forgotten-export) The symbol "SIDE" needs to be exported by the entry point index.d.ts + // + // (undocumented) + SIDE: typeof SIDE; + // Warning: (ae-forgotten-export) The symbol "THEME" needs to be exported by the entry point index.d.ts + // + // (undocumented) + THEME: typeof THEME; + // (undocumented) + version: string; +} + +// @public +export interface MindElixirData { + // (undocumented) + direction?: number; + // (undocumented) + linkData?: LinkObj; + // (undocumented) + nodeData: NodeObj; + // (undocumented) + theme?: Theme; +} + +// @public +export interface MindElixirInstance extends MindElixirMethods { + // (undocumented) + allowUndo: boolean; + // Warning: (ae-forgotten-export) The symbol "Before" needs to be exported by the entry point index.d.ts + // + // (undocumented) + before: Before; + // Warning: (ae-forgotten-export) The symbol "Bus" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "EventMap" needs to be exported by the entry point index.d.ts + // + // (undocumented) + bus: ReturnType>; + // (undocumented) + container: HTMLElement; + // (undocumented) + contextMenu: boolean; + // (undocumented) + contextMenuOption: object; + // (undocumented) + currentLink: CustomSvg | null; + // (undocumented) + currentNode: Topic | null; + // (undocumented) + direction: number; + // (undocumented) + draggable: boolean; + // (undocumented) + editable: boolean; + // Warning: (ae-forgotten-export) The symbol "LinkDragMoveHelperInstance" needs to be exported by the entry point index.d.ts + // + // @internal (undocumented) + helper1: LinkDragMoveHelperInstance; + // @internal (undocumented) + helper2: LinkDragMoveHelperInstance; + // Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts + // + // (undocumented) + history: Operation[]; + // (undocumented) + inputDiv: HTMLElement | null; + // (undocumented) + isFocusMode: boolean; + // (undocumented) + keypress: boolean; + // (undocumented) + line1: SVGElement; + // (undocumented) + line2: SVGElement; + // (undocumented) + lines: SVGElement; + // (undocumented) + linkController: SVGElement; + // (undocumented) + linkData: LinkObj; + // (undocumented) + linkSvgGroup: SVGElement; + // (undocumented) + locale: string; + // (undocumented) + mainLinkStyle: number; + // (undocumented) + map: HTMLElement; + // (undocumented) + mindElixirBox: HTMLElement; + // (undocumented) + mobileMenu: boolean; + // (undocumented) + newTopicName: string; + // (undocumented) + nodeData: NodeObj; + // (undocumented) + nodeDataBackup: NodeObj; + // (undocumented) + nodes: HTMLElement; + // (undocumented) + overflowHidden: boolean; + // (undocumented) + P2: HTMLElement; + // (undocumented) + P3: HTMLElement; + // (undocumented) + redo: () => void; + // (undocumented) + root: HTMLElement; + // (undocumented) + scaleVal: number; + // (undocumented) + subLinkStyle: number; + // (undocumented) + tempDirection: number | null; + // (undocumented) + theme: Theme; + // (undocumented) + toolBar: boolean; + // (undocumented) + undo: () => void; + // (undocumented) + userTheme?: Theme; + // (undocumented) + waitCopy: Topic | null; +} + +// @public (undocumented) +export type MindElixirMethods = typeof methods; + +// @public +export interface NodeObj { + // (undocumented) + branchColor?: string; + // (undocumented) + children?: NodeObj[]; + // (undocumented) + direction?: number; + // (undocumented) + expanded?: boolean; + // (undocumented) + hyperLink?: string; + // (undocumented) + icons?: string[]; + // (undocumented) + id: Uid; + // (undocumented) + image?: { + url: string; + width: number; + height: number; + }; + // (undocumented) + parent?: NodeObj; + // (undocumented) + root?: boolean; + // (undocumented) + style?: { + fontSize?: string; + color?: string; + background?: string; + fontWeight?: string; + }; + // (undocumented) + tags?: string[]; + // (undocumented) + topic: string; +} + +// @public (undocumented) +export type NodeObjExport = Omit; + +// @public +export interface Options { + // (undocumented) + allowUndo?: boolean; + // (undocumented) + before?: Before; + // (undocumented) + contextMenu?: boolean; + // (undocumented) + contextMenuOption?: any; + // (undocumented) + direction?: number; + // (undocumented) + draggable?: boolean; + // (undocumented) + editable?: boolean; + // (undocumented) + el: string | HTMLElement; + // (undocumented) + keypress?: boolean; + // (undocumented) + locale?: string; + // (undocumented) + mainLinkStyle?: number; + // (undocumented) + mobileMenu?: boolean; + // (undocumented) + newTopicName?: string; + // (undocumented) + nodeMenu?: boolean; + // (undocumented) + overflowHidden?: boolean; + // (undocumented) + subLinkStyle?: number; + // (undocumented) + theme?: Theme; + // (undocumented) + toolBar?: boolean; +} + +// @public (undocumented) +export interface Parent extends HTMLElement { + // (undocumented) + children: HTMLCollection & [Topic, Expander]; + // (undocumented) + firstChild: Topic; + // (undocumented) + nextSibling: Children; + // (undocumented) + offsetParent: Wrapper; + // (undocumented) + parentElement: Wrapper; + // (undocumented) + parentNode: Wrapper; +} + +// @public (undocumented) +export interface Theme { + // (undocumented) + cssVar: { + '--main-color': string; + '--main-bgcolor': string; + '--color': string; + '--bgcolor': string; + }; + // (undocumented) + name: string; + // (undocumented) + palette: string[]; +} + +// @public (undocumented) +export interface Topic extends HTMLElement { + // (undocumented) + expander?: Expander; + // (undocumented) + icons?: HTMLSpanElement; + // (undocumented) + image?: HTMLImageElement; + // (undocumented) + linkContainer: HTMLElement | null; + // (undocumented) + nodeObj: NodeObj; + // (undocumented) + offsetParent: Parent; + // (undocumented) + parentElement: Parent; + // (undocumented) + parentNode: Parent; + // (undocumented) + tags?: HTMLDivElement; +} + +// @public (undocumented) +export type Uid = string; + +// @public (undocumented) +export interface Wrapper extends HTMLElement { + // (undocumented) + children: HTMLCollection & [Parent, Children]; + // (undocumented) + firstChild: Parent; + // (undocumented) + nextSibling: Wrapper | null; + // (undocumented) + offsetParent: Wrapper; + // (undocumented) + parentElement: Children; + // (undocumented) + parentNode: Children; + // (undocumented) + previousSibling: Wrapper | null; +} + +// Warnings were encountered during analysis: +// +// dist/types/methods.d.ts:11:5 - (ae-forgotten-export) The symbol "customLink" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 0e7191a5..00000000 --- a/babel.config.js +++ /dev/null @@ -1,5 +0,0 @@ -// babel.config.js -module.exports = { - presets: [['@babel/preset-env', { targets: { node: 'current' }}]], - plugins: ['@babel/plugin-transform-runtime'], -} diff --git a/build.js b/build.js new file mode 100644 index 00000000..4953e70b --- /dev/null +++ b/build.js @@ -0,0 +1,38 @@ +import { fileURLToPath } from 'url' +import { build } from 'vite' + +const __dirname = fileURLToPath(new URL('.', import.meta.url)) +const buildList = [ + { + name: 'MindElixir', + fileName: 'MindElixir', + enrty: __dirname + './src/index.ts', + }, + { + name: 'MindElixir', + fileName: 'MindElixirLite', + enrty: __dirname + './src/index.ts', + mode: 'lite', + }, + { + name: 'example', + fileName: 'example', + enrty: __dirname + './src/exampleData/1.ts', + }, +] +for (let i = 0; i < buildList.length; i++) { + const info = buildList[i] + console.log(`\n\nBuilding ${info.fileName}...\n\n`) + await build({ + build: { + emptyOutDir: i === 0, + lib: { + entry: info.enrty, + fileName: info.fileName, + name: info.name, + formats: ['iife', 'es'], + }, + }, + mode: info.mode, + }) +} diff --git a/commitlint.config.js b/commitlint.config.js index afb72abf..309803c4 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { parserPreset: 'conventional-changelog-conventionalcommits', rules: { 'body-leading-blank': [1, 'always'], diff --git a/conf.json b/conf.json deleted file mode 100644 index b3823467..00000000 --- a/conf.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "tags": { - "allowUnknownTags": true - }, - "source": { - "includePattern": "\\.(jsx|js|ts|tsx)$", - "excludePattern": "(^|\\/|\\\\)_" - }, - "plugins": [ - "node_modules/better-docs/typescript" - ], - "templates": { - "cleverLinks": false, - "monospaceLinks": false, - "default": { - "outputSourceFiles": true - } - }, - "opts": { - "template": "node_modules/better-docs", - "destination": "./doc/" - }, - "docdash": { - "meta": { "title": "mind-elixir" }, - "menu": { - "github": { - "href": "https://github.com/ssshooter/mind-elixir-core", - "target": "_blank", - "class": "menu-item" - } - } - } -} diff --git a/src/index.html b/index.html similarity index 81% rename from src/index.html rename to index.html index dd5fc963..bec0388a 100644 --- a/src/index.html +++ b/index.html @@ -1,11 +1,11 @@ - + - Document + Mind Elixir