diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc786d5a08..2d73987e64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,5 +12,9 @@ jobs: run: npm i - name: npm run setup run: npm run setup + - name: npm run lint + run: npm run lint + - name: npm run type + run: npm run type - name: npm run test run: npm run test diff --git a/package.json b/package.json index 8820224491..3fa95785c7 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "build:ext": "ts-node -T src/script/build/ext.ts", "ext:zip": "cd src/client/extension/src && zip -9 -r -u -q extension.zip . -x '/*.git/*' '/*.vscode/*' '/*.gitignore' '/*.gitmodules' '/*node_modules/*' '/*.md' '/*yarn.lock' 'package-lock.json' 'package.json' 'tsconfig.json' '/*.js.map' '/*README.md' '/*.npmignore' '/*.DS_Store' '/*.prettierrc' '/*.prettierignore' '/*.eslintrc' '/*.ts' '/*.zip' '*/_/*'", "lint": "eslint src --ext .ts", - "format": "prettier --config .prettierrc 'src/**/*.ts' --write", - "prepublishOnly": "run-s build lib", + "format": "prettier --config .prettierrc 'src/**/*.ts' 'src/**/*.json' --write", + "prepublishOnly": "run-s lib build", "electron": "electron lib/client/platform/electron/index.js" }, "dependencies": { @@ -65,9 +65,9 @@ "@types/node": "20.9.0", "@types/svg-path-bounding-box": "1.0.0", "@types/ws": "8.5.2", - "@typescript-eslint/eslint-plugin": "6.12.0", - "@typescript-eslint/parser": "6.12.0", - "@typescript-eslint/typescript-estree": "6.12.0", + "@typescript-eslint/eslint-plugin": "6.20.0", + "@typescript-eslint/parser": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "electron": "28.1.1", "esbuild": "0.17.5", "eslint": "8.5.0", diff --git a/src/API.ts b/src/API.ts index 552e60113d..7a08707364 100644 --- a/src/API.ts +++ b/src/API.ts @@ -201,6 +201,7 @@ export type API = { } ReadableStream: ReadableStream open: (url: string, target: string, features: string) => Window + getComputedStyle: (element: Element) => CSSStyleDeclaration } document: { createElement( diff --git a/src/Class/Graph/index.ts b/src/Class/Graph/index.ts index af071ac6fd..aa7555ca64 100644 --- a/src/Class/Graph/index.ts +++ b/src/Class/Graph/index.ts @@ -179,7 +179,8 @@ import { GraphTakeUnitErrData, GraphUnplugPinData, } from './interface' -import { isRefMerge, moveSubgraph } from './moveSubgraph' +import { moveSubgraph } from './moveSubgraph' +import { isRefMerge } from './isRefMerge' import { renameUnitInMerges } from '../../spec/reducers/spec' import { weakMerge } from '../../weakMerge' import { getSubComponentParentId } from '../../spec/util/component' diff --git a/src/Class/Graph/isRefMerge.ts b/src/Class/Graph/isRefMerge.ts new file mode 100644 index 0000000000..c4288d8af1 --- /dev/null +++ b/src/Class/Graph/isRefMerge.ts @@ -0,0 +1,28 @@ +import { getMergePinCount } from '../../spec/util/spec' +import { GraphMergeSpec } from '../../types/GraphMergeSpec' +import { IO } from '../../types/IO' +import { getObjSingleKey } from '../../util/object' +import { GraphLike } from './moveSubgraph' + +export function isRefMerge(graph: GraphLike, mergeSpec: GraphMergeSpec) { + let isRef = false + + if (getMergePinCount(mergeSpec) > 0) { + const sampleMergeUnitId = getObjSingleKey(mergeSpec) + const sampeMergeUnit = mergeSpec[sampleMergeUnitId] + const sampleMergeUnitType = getObjSingleKey(sampeMergeUnit) as IO + const sampleMergeUnitPinId = getObjSingleKey( + sampeMergeUnit[sampleMergeUnitType] + ) + + const unit = graph.getUnit(sampleMergeUnitId) + + const ref = unit.isPinRef(sampleMergeUnitType, sampleMergeUnitPinId) + + if (ref) { + isRef = true + } + } + + return isRef +} diff --git a/src/Class/Graph/moveSubgraph.ts b/src/Class/Graph/moveSubgraph.ts index a81ca50e6d..141fd6b975 100644 --- a/src/Class/Graph/moveSubgraph.ts +++ b/src/Class/Graph/moveSubgraph.ts @@ -26,8 +26,10 @@ import { forEachObjKV, forEachObjVK, getObjSingleKey, + mapObjKV, } from '../../util/object' import { GraphMoveSubGraphData } from './interface' +import { isRefMerge } from './isRefMerge' export type GraphLike = Pick< T, @@ -72,29 +74,6 @@ export type GraphLike = Pick< | 'setSubComponentSize' > -export function isRefMerge(graph: GraphLike, mergeSpec: GraphMergeSpec) { - let isRef = false - - if (getMergePinCount(mergeSpec) > 0) { - const sampleMergeUnitId = getObjSingleKey(mergeSpec) - const sampeMergeUnit = mergeSpec[sampleMergeUnitId] - const sampleMergeUnitType = getObjSingleKey(sampeMergeUnit) as IO - const sampleMergeUnitPinId = getObjSingleKey( - sampeMergeUnit[sampleMergeUnitType] - ) - - const unit = graph.getUnit(sampleMergeUnitId) - - const ref = unit.isPinRef(sampleMergeUnitType, sampleMergeUnitPinId) - - if (ref) { - isRef = true - } - } - - return isRef -} - export function moveUnit( source: GraphLike, target: GraphLike, @@ -598,6 +577,7 @@ export function moveMerge( graphId: string, mergeId: string, mergeSpec: GraphMergeSpec, + mergeIsRef: boolean, collapseMap: GraphMoveSubGraphData, connectOpt: GraphUnitConnect, ignoredUnit: Set = new Set(), @@ -695,7 +675,7 @@ export function moveMerge( if (reverse) { if (mergePinCount === 0 || pinIntoCount > 1) { // AD HOC - const propagate = isRefMerge(target, nextMerge) + const propagate = mergeIsRef target.addMerge(nextMerge, nextMergeId, false, propagate) } @@ -707,7 +687,7 @@ export function moveMerge( pinIntoCount > 1 ) { // AD HOC - const propagate = isRefMerge(target, nextMerge) + const propagate = mergeIsRef target.addMerge(nextMerge, nextMergeId, false, propagate) @@ -1175,6 +1155,7 @@ export function movePlug( plug: { [nextSubPinId]: nextSubPinSpec_, }, + ref: !!pinSpec.ref, }, data, false, @@ -1287,8 +1268,12 @@ export function moveSubgraph>( const { merge = [], link = [], unit = [], plug = [] } = nodeIds - const mergeSpecs = clone(source.getMergesSpec()) - const pinSpecs = clone(source.getExposedPinSpecs()) + const sourceMergeSpecs = clone(source.getMergesSpec()) + const sourcePinSpecs = clone(source.getExposedPinSpecs()) + + const sourceMergeRefMap = mapObjKV(sourceMergeSpecs, (mergeId, mergeSpec) => { + return isRefMerge(source, mergeSpec) + }) const ignoredUnitPin: Dict<{ input: Set; output: Set }> = {} const ignoredUnit = new Set(unit) @@ -1312,7 +1297,7 @@ export function moveSubgraph>( ): GraphPlugOuterSpec => { let plugSpec: GraphPlugOuterSpec - forIOObjKV(pinSpecs, (type, pinId: string, pinSpec: GraphPinSpec) => { + forIOObjKV(sourcePinSpecs, (type, pinId: string, pinSpec: GraphPinSpec) => { const { plug } = pinSpec for (const subPinId in plug) { @@ -1401,13 +1386,14 @@ export function moveSubgraph>( ignoredUnit, ignoredUnitPin, ignoredMerge, - pinSpecs, + sourcePinSpecs, reverse ) } for (const mergeId of merge) { - const mergeSpec = mergeSpecs[mergeId] + const mergeSpec = sourceMergeSpecs[mergeId] + const mergeIsRef = sourceMergeRefMap[mergeId] moveMerge( source, @@ -1415,18 +1401,19 @@ export function moveSubgraph>( graphId, mergeId, mergeSpec, + mergeIsRef, collapseMap, connectOpt, ignoredUnit, - pinSpecs, + sourcePinSpecs, reverse ) } for (const { type, pinId, subPinId } of plug) { - const pinSpec = deepGet(pinSpecs, [type, pinId]) + const pinSpec = deepGet(sourcePinSpecs, [type, pinId]) const subPinSpec = deepGetOrDefault( - pinSpecs, + sourcePinSpecs, [type, pinId, 'plug', subPinId], undefined ) diff --git a/src/Registry.ts b/src/Registry.ts index 933369b384..cadcf76a3f 100644 --- a/src/Registry.ts +++ b/src/Registry.ts @@ -158,7 +158,8 @@ export class Registry implements R { // console.log('unregisterUnit', { id }) if (!this.specsCount[id]) { - throw new Error(`cannot unregister unit: no spec with id ${id}`) + return + // throw new Error(`cannot unregister unit: no spec with id ${id}`) } this.specsCount[id] -= 1 diff --git a/src/client/PositionObserver.ts b/src/client/PositionObserver.ts index 4ccfc8cf93..3072e7825c 100644 --- a/src/client/PositionObserver.ts +++ b/src/client/PositionObserver.ts @@ -60,8 +60,11 @@ export class PositionObserver implements IPositionObserver { let ry: number = 0 let rz: number = 0 - let px: number = 0 - let py: number = 0 + let bx: number = 0 + let by: number = 0 + + let gbx: number = 0 + let gby: number = 0 let width: number = 0 let height: number = 0 @@ -82,6 +85,12 @@ export class PositionObserver implements IPositionObserver { let parent_x: number = 0 let parent_y: number = 0 + let parent_bx: number = 0 + let parent_by: number = 0 + + let parent_gbx: number = 0 + let parent_gby: number = 0 + let parent_scroll_top = 0 let parent_scroll_left = 0 @@ -93,7 +102,10 @@ export class PositionObserver implements IPositionObserver { let parent_rz = 0 let _transform: string | undefined - let _border: string | undefined + let _borderWidth: string | undefined + + let _border_x: number = 0 + let _border_y: number = 0 function _update_local(): void { __update_local() @@ -108,7 +120,9 @@ export class PositionObserver implements IPositionObserver { offset_x = offsetLeft offset_y = offsetTop - const { transform, border } = style + const { transform } = style + + const { borderWidth } = getComputedStyle(element) if ( transform !== _transform || @@ -145,9 +159,9 @@ export class PositionObserver implements IPositionObserver { _transform = transform } - if (border !== _border) { - if (border) { - const [borderSizeStr] = border.split(' ') + if (borderWidth !== _borderWidth) { + if (borderWidth) { + const [borderSizeStr] = borderWidth.split(' ') let borderSize = 0 @@ -157,13 +171,19 @@ export class PositionObserver implements IPositionObserver { borderSize = applyLayoutValue(borderSizeStr, 0) } - px = borderSize - py = borderSize + _border_x = borderSize + _border_y = borderSize } - _border = border + _borderWidth = borderWidth } + bx = _border_x + by = _border_y + + gbx = parent_bx + parent_gbx + gby = parent_by + parent_gby + width = offsetWidth height = offsetHeight } @@ -209,12 +229,14 @@ export class PositionObserver implements IPositionObserver { parent_scaled_local_x * parent_rz_sin const px = + parent_gbx / 2 + parent_x - parent_scroll_left + parent_scaled_rotated_local_x * scale_x - ((width * parent_scale_x) / 2) * (scale_x - 1) const py = + parent_gby / 2 + parent_y - parent_scroll_top + parent_scaled_rotated_local_y * scale_y - @@ -245,7 +267,7 @@ export class PositionObserver implements IPositionObserver { const update = (): void => { _update() - this._callback(x, y, sx, sy, rx, ry, rz, px, py) + this._callback(x, y, sx, sy, rx, ry, rz, bx, by, gbx, gby) } const mutationConfig = { @@ -378,11 +400,17 @@ export class PositionObserver implements IPositionObserver { rx: number, ry: number, rz: number, - px: number, - py: number + bx: number, + by: number, + gbx: number, + gby: number ) { - parent_x = x + px - parent_y = y + py + parent_x = x + parent_y = y + parent_bx = bx + parent_by = by + parent_gbx = gbx + parent_gby = gby parent_scale_x = sx parent_scale_y = sy parent_rx = rx @@ -447,7 +475,7 @@ export class PositionObserver implements IPositionObserver { __update_local() _update() - return { x, y, sx, sy, rx, ry, rz, px, py } + return { x, y, sx, sy, rx, ry, rz, bx, by, gbx, gby } } disconnect() { diff --git a/src/client/component.ts b/src/client/component.ts index 7528efeffd..fb4aa1d3d0 100644 --- a/src/client/component.ts +++ b/src/client/component.ts @@ -716,7 +716,13 @@ export class Component< (parent, leaf_comp) => { const index = parent.$parentRoot.indexOf(leaf_comp) - parent.domRemoveParentRootAt(leaf_comp, 'default', index, index) + parent.domRemoveParentRootAt( + leaf_comp, + 'default', + index, + index, + this.$slotParent + ) } ) } @@ -732,7 +738,13 @@ export class Component< (parent, leaf_comp) => { const index = parent.$parentRoot.indexOf(leaf_comp) - parent.domRemoveParentRootAt(leaf_comp, 'default', index, index) + parent.domRemoveParentRootAt( + leaf_comp, + 'default', + index, + index, + this.$slotParent + ) } ) } @@ -1373,7 +1385,7 @@ export class Component< at = at ?? slot.$slotChildren[slotName].indexOf(child) - slot.domRemoveParentChildAt(child, slotName, at, at) + slot.domRemoveParentChildAt(child, slotName, at, at, this.$slotParent) child.$slotParent = null } @@ -1936,7 +1948,8 @@ export class Component< component.$mountRoot[i], 'default', at, - at + at, + this.$slotParent ) } else { this.domRemoveRoot(component.$mountRoot[i], at) @@ -1946,7 +1959,13 @@ export class Component< } } else { if (this.$slotParent) { - this.$slotParent.domRemoveParentChildAt(component, 'default', at, at) + this.$slotParent.domRemoveParentChildAt( + component, + 'default', + at, + at, + this.$slotParent + ) } else { this.domCommitRemoveChild(component) } @@ -1980,7 +1999,7 @@ export class Component< for (const component of [...this.$mountRoot]) { this.removeRoot(component) - deep && component.uncollapse(deep) + deep && component.uncollapse(deep, this.$slotParent) } } @@ -2040,7 +2059,7 @@ export class Component< public unregisterParentRoot(component: Component): void { // console.log('unregisgerParentRoot') - this.removeParentRoot(component) + this.removeParentRoot(component, this.$slotParent) this.pullParentRoot(component) } @@ -2058,11 +2077,11 @@ export class Component< } } - public uncollapse(deep: boolean = true): void { + public uncollapse(deep: boolean = true, slotParent?: Component): void { for (const component of this.$parentRoot) { - this.removeParentRoot(component) + this.removeParentRoot(component, slotParent) - deep && component.uncollapse(deep) + deep && component.uncollapse(deep, slotParent ?? this.$slotParent) } } @@ -2164,6 +2183,16 @@ export class Component< if (!component.$primitive) { for (const root of component.$mountRoot) { this.domAppendParentChildAt(root, slotName, at, at) + + if (!root.$primitive) { + let i = 1 + + for (const parentRoot of root.$mountParentChildren) { + this.domAppendParentChildAt(parentRoot, slotName, at + i, at + i) + + i++ + } + } } } else { this.domCommitAppendChild(component) @@ -2282,7 +2311,13 @@ export class Component< const slot = this.$slot[slotName] if (slot === this) { const _at = this.$parentChildren.indexOf(component) - this.domRemoveParentChildAt(component, slotName, at, _at) + this.domRemoveParentChildAt( + component, + slotName, + at, + _at, + this.$slotParent + ) this.memRemoveParentChildAt(component, slotName, at, _at) } else { slot.removeParentChild(component, 'default', at) @@ -2306,7 +2341,8 @@ export class Component< component: Component, slotName: string, at: number, - _at: number + _at: number, + slotParent?: Component ): void { if (!this.$primitive) { if (!component.$primitive) { @@ -2316,17 +2352,32 @@ export class Component< component.$mountRoot[i], slotName, at, - at + at, + slotParent ) } else { - this.domCommitRemoveChild(component) + this.domRemoveParentChildAt( + component.$mountRoot[i], + slotName, + at, + at, + slotParent + ) } appendChild(component.$element, component.$mountRoot[i].$element) } } else { if (this.$slotParent) { - this.$slotParent.domRemoveParentChildAt(component, 'default', at, at) + this.$slotParent.domRemoveParentChildAt( + component, + 'default', + at, + at, + slotParent + ) + } else if (slotParent) { + slotParent.domCommitRemoveChild(component) } else { this.domCommitRemoveChild(component) } @@ -2334,9 +2385,22 @@ export class Component< } else { if (!component.$primitive) { for (const root of component.$mountRoot) { - this.domRemoveParentChildAt(root, slotName, at, at) + this.domRemoveParentChildAt(root, slotName, at, at, slotParent) appendChild(component.$element, root.$element) + + if (!root.$primitive) { + let i = 1 + for (const parentRoot of root.$mountParentChildren) { + this.domRemoveParentChildAt( + parentRoot, + slotName, + at, + at, + slotParent + ) + } + } } } else { this.domCommitRemoveChild(component) @@ -2392,12 +2456,12 @@ export class Component< this.insertParentRootAt(component, 0, slotName) } - public removeParentRoot(component: Component): void { + public removeParentRoot(component: Component, slotParent?: Component): void { const at = this.$parentRoot.indexOf(component) const _at = this.$mountParentRoot.indexOf(component) const slotName = this.$parentRootSlotName[at] this.postRemoveParentRootAt(component, slotName, at, _at) - this.domRemoveParentRootAt(component, slotName, at, _at) + this.domRemoveParentRootAt(component, slotName, at, _at, slotParent) this.memRemoveParentRootAt(component, slotName, at, _at) } @@ -2418,11 +2482,12 @@ export class Component< component: Component, slotName: string, at: number, - _at: number + _at: number, + slotParent?: Component ): void { // console.log(this.constructor.name, 'domRemoveParentRootAt', component.constructor.name, slotName, at, _at) const slot = this.$slot[slotName] - slot.domRemoveParentChildAt(component, 'default', at, _at) + slot.domRemoveParentChildAt(component, 'default', at, _at, slotParent) } public postRemoveParentRootAt( diff --git a/src/client/component/getDatumSize.ts b/src/client/component/getDatumSize.ts index aa0e339523..8db219af17 100644 --- a/src/client/component/getDatumSize.ts +++ b/src/client/component/getDatumSize.ts @@ -69,6 +69,7 @@ export const childrenOverflow = (data: TreeNode): boolean => { type === TreeNodeType.ObjectLiteral || type === TreeNodeType.ArrayLiteral || type === TreeNodeType.ArrayExpression || + type === TreeNodeType.PropExpression || type === TreeNodeType.KeyValue || type === TreeNodeType.Expression || type === TreeNodeType.Or || @@ -160,6 +161,19 @@ export function getDatumWidth(data: TreeNode): number { } }, 0) break + case TreeNodeType.PropExpression: + width = data.children.reduce((acc, c, index) => { + const _width = calcHorizontalWidth(c) + + const nextWidth = acc + getDatumWidth(c) + + if (nextWidth <= MAX_WIDTH) { + return nextWidth + } else { + return Math.max(acc, _width) + } + }, 0) + break case TreeNodeType.ArrayExpression: case TreeNodeType.ObjectExpression: horizontalWidth = diff --git a/src/client/context.ts b/src/client/context.ts index e706f6730f..834b491f18 100644 --- a/src/client/context.ts +++ b/src/client/context.ts @@ -74,12 +74,17 @@ export function mount($context: Context): void { $context.$width = width $context.$height = height - const { x, y, sx, sy } = $positionObserver.observe($element) + // AD HOC browser offsetParent not set on first mount + setTimeout(() => { + if ($context.$mounted) { + const { x, y, sx, sy } = $positionObserver.observe($element) - $context.$x = x - $context.$y = y - $context.$sx = sx - $context.$sy = sy + $context.$x = x + $context.$y = y + $context.$sx = sx + $context.$sy = sy + } + }, 0) $resizeObserver.observe($element) diff --git a/src/client/extension/src/manifest.json b/src/client/extension/src/manifest.json index af68f05327..726215e6a4 100644 --- a/src/client/extension/src/manifest.json +++ b/src/client/extension/src/manifest.json @@ -8,10 +8,7 @@ }, "content_scripts": [ { - "matches": [ - "https://unit.land/*", - "http://localhost:4000/*" - ], + "matches": ["https://unit.land/*", "http://localhost:4000/*"], "js": ["content.js"] } ], diff --git a/src/client/platform/web/api/window.ts b/src/client/platform/web/api/window.ts index d98d372f91..dc6c0192eb 100644 --- a/src/client/platform/web/api/window.ts +++ b/src/client/platform/web/api/window.ts @@ -2,7 +2,7 @@ import { API } from '../../../../API' import { BootOpt } from '../../../../system' export function webWindow(window: Window, opt: BootOpt): API['window'] { - const _window = { + const _window: API['window'] = { // @ts-ignore AudioContext: window.AudioContext, // @ts-ignore @@ -26,6 +26,9 @@ export function webWindow(window: Window, opt: BootOpt): API['window'] { open(url: string, target: string, features: string) { return window.open(url, target, features) }, + getComputedStyle(element: Element): CSSStyleDeclaration { + return window.getComputedStyle(element) + }, } return _window diff --git a/src/client/render/attachCanvas.ts b/src/client/render/attachCanvas.ts index 9bfd4d23e0..ad0907e80f 100644 --- a/src/client/render/attachCanvas.ts +++ b/src/client/render/attachCanvas.ts @@ -11,7 +11,9 @@ export function attachCanvas(system: System): void { const canvas = createElement('canvas') canvas.classList.add('__SYSTEM__CANVAS__') + canvas.style.pointerEvents = 'none' + canvas.style.zIndex = '1' resizeWith(system, canvas, root) diff --git a/src/client/render/attachSVG.ts b/src/client/render/attachSVG.ts index 82751e07f2..f2f954678b 100644 --- a/src/client/render/attachSVG.ts +++ b/src/client/render/attachSVG.ts @@ -19,6 +19,7 @@ export function attachSVG(system: System): void { svg.style.position = 'absolute' svg.style.top = '0' svg.style.left = '0' + svg.style.zIndex = '1' resizeWith(system, svg, root) diff --git a/src/client/style.ts b/src/client/style.ts index 3f8b4d6264..6218751155 100644 --- a/src/client/style.ts +++ b/src/client/style.ts @@ -74,7 +74,7 @@ export function reactToFrameSize( export function applyDynamicStyle( component: Component, $element: HTMLElement | SVGElement, - style: Dict + style: Dict = {} ): Unlisten { removeStyle($element) diff --git a/src/examples/mergesort.js b/src/examples/mergesort.js new file mode 100644 index 0000000000..07ed86075f --- /dev/null +++ b/src/examples/mergesort.js @@ -0,0 +1,21 @@ +const { boot } = require('../../lib/client/platform/node/boot.js') +const { fromBundle } = require('../../lib/spec/fromBundle.js') +const fs = require('fs') +const path = require('path') +const _specs = require('../../lib/system/_specs.js').default + +const system = boot() + +const bundle = JSON.parse( + fs.readFileSync(path.join(__dirname, './MergeSort.json'), 'utf8') +) + +const MergeSort = fromBundle(bundle, _specs, {}) + +const mergeSort = new MergeSort(system) + +mergeSort.play() + +mergeSort.push('a', [2, 1]) + +console.log(mergeSort.take('a')) // [1, 2] diff --git a/src/examples/system.ts b/src/examples/mergesort.ts similarity index 100% rename from src/examples/system.ts rename to src/examples/mergesort.ts diff --git a/src/host/none.ts b/src/host/none.ts index 963d14ce27..d7153049e6 100644 --- a/src/host/none.ts +++ b/src/host/none.ts @@ -289,6 +289,9 @@ export function noHost(): API { CompressionStream: undefined, DecompressionStream: undefined, ReadableStream: undefined, + getComputedStyle: function (element: Element): CSSStyleDeclaration { + throw new MethodNotImplementedError() + }, }, navigator: { share: function (data: ShareData): Promise { diff --git a/src/spec/parser.ts b/src/spec/parser.ts index f2747bc490..322c43dad6 100644 --- a/src/spec/parser.ts +++ b/src/spec/parser.ts @@ -901,6 +901,7 @@ function execComposed( let sq_open = false let dq_open = false let open = 0 + let q_open = 0 for (let i = 1; i < l - 1; i++) { const c = str[i] @@ -909,10 +910,18 @@ function execComposed( if (c === "'" && pc !== '\\') { if (!dq_open) { sq_open = !sq_open + + if (!sq_open) { + open += q_open + } } } else if (c === '"' && pc !== '\\') { if (!sq_open) { dq_open = !dq_open + + if (!dq_open) { + open += q_open + } } } else { if (!sq_open && !dq_open) { @@ -925,14 +934,16 @@ function execComposed( return null } } + } else { + if (c === open_delimiter) { + q_open++ + } else if (c === close_delimiter) { + q_open-- + } } } } - if (open > 0) { - return null - } - return [str, str.substr(1, l - 2)] } else { return null diff --git a/src/spec/type.ts b/src/spec/type.ts index 3856ed3c43..026dacbd5e 100644 --- a/src/spec/type.ts +++ b/src/spec/type.ts @@ -7,7 +7,7 @@ import { Dict } from '../types/Dict' import { GraphMergeSpec } from '../types/GraphMergeSpec' import { GraphSpec } from '../types/GraphSpec' import { IO } from '../types/IO' -import { IOOf, io } from '../types/IOOf' +import { IOOf } from '../types/IOOf' import { clone, deepGetOrDefault, @@ -701,14 +701,10 @@ export const _getGraphTypeMap = ( // throw new Error('type map not found') } - io((kind: IO) => { - const pinTypeMap = unitTypeMap[kind] + forEachValueKey(unitTypeMap['output'], (type, pinId) => { + const nextType = _applyGenerics(type, generic_to_substitute_) - forEachValueKey(pinTypeMap, (type, pinId) => { - const nextType = _applyGenerics(type, generic_to_substitute_) - - unitTypeMap[kind][pinId] = nextType - }) + unitTypeMap['output'][pinId] = nextType }) }) }) diff --git a/src/system/core/Empty/spec.json b/src/system/core/Empty/spec.json index cb8dcbb5a9..e4dc724d42 100644 --- a/src/system/core/Empty/spec.json +++ b/src/system/core/Empty/spec.json @@ -8,11 +8,9 @@ "icon": null, "description": "empty graph", "complexity": 2, - "tags": [ - "core" - ] + "tags": ["core"] }, "id": "e33e7dcd-9715-461c-a474-15ed2bda899e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/Hovered/spec.json b/src/system/core/Hovered/spec.json new file mode 100644 index 0000000000..1dbf4fea63 --- /dev/null +++ b/src/system/core/Hovered/spec.json @@ -0,0 +1,83 @@ +{ + "type": "`U`&`G`", + "name": "hovered", + "units": { + "true": { + "id": "984c4a44-86c7-464c-ad48-4759598c3be3", + "input": { "any": {} }, + "output": { "true": {} }, + "metadata": { "position": { "x": 7, "y": 45 } } + }, + "iterate": { + "id": "8a2b756a-25e4-11eb-860d-1f34c850b992", + "input": { + "next": {}, + "init": { + "constant": true, + "data": "false", + "metadata": { "position": { "x": 100, "y": -16 } } + } + }, + "output": { + "current": { "metadata": { "position": { "x": 105, "y": 19 } } }, + "local": { + "constant": false, + "ignored": true, + "metadata": { "position": { "x": 113, "y": 1 } } + } + }, + "metadata": { "position": { "x": 120, "y": 8 } } + }, + "false": { + "id": "b4d20f6f-32dc-4d04-97d6-69518976bdea", + "input": { "any": {} }, + "output": { "false": {} }, + "metadata": { "position": { "x": 95, "y": 36 } } + }, + "onpointerenter": { + "id": "c0bb493a-af78-11ea-b6fa-3b893b757a39", + "input": { "element": {} }, + "output": { "event": {} }, + "metadata": { "position": { "x": -90, "y": 18 } } + }, + "onpointerleave": { + "id": "c7dba94e-af78-11ea-b7d7-47e14ca215b5", + "input": { "element": {} }, + "output": { "event": {} }, + "metadata": { "position": { "x": 1, "y": -15 } } + } + }, + "merges": { + "0": { + "onpointerenter": { "input": { "element": true } }, + "onpointerleave": { "input": { "element": true } } + }, + "1": { + "false": { "input": { "any": true } }, + "onpointerleave": { "output": { "event": true } } + }, + "2": { + "true": { "input": { "any": true } }, + "onpointerenter": { "output": { "event": true } } + }, + "3": { + "true": { "output": { "true": true } }, + "iterate": { "input": { "next": true } }, + "false": { "output": { "false": true } } + } + }, + "inputs": { "element": { "plug": { "0": { "mergeId": "0" } }, "ref": true } }, + "outputs": { + "current": { + "plug": { + "0": { "unitId": "iterate", "pinId": "current", "kind": "output" } + }, + "ref": false + } + }, + "metadata": { + "icon": "question", + "description": "track element current hovered state" + }, + "id": "9b9ba4bc-7f94-40db-8988-d23867a6b0c3" +} diff --git a/src/system/core/arithmetic/Add3/spec.json b/src/system/core/arithmetic/Add3/spec.json index 10cd0ab2f4..492f8dadf6 100644 --- a/src/system/core/arithmetic/Add3/spec.json +++ b/src/system/core/arithmetic/Add3/spec.json @@ -25,10 +25,7 @@ "metadata": { "icon": "plus", "complexity": 6, - "tags": [ - "core", - "arithmetic" - ] + "tags": ["core", "arithmetic"] }, "inputs": { "b": { @@ -73,4 +70,4 @@ "id": "51de3251-1bb6-454d-b9d6-6b8bcb1f56aa", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/AddLength/spec.json b/src/system/core/array/AddLength/spec.json index 893066f8a1..b6c133c979 100644 --- a/src/system/core/array/AddLength/spec.json +++ b/src/system/core/array/AddLength/spec.json @@ -72,12 +72,9 @@ "icon": "ruler", "description": "add arrays `a` and `b` lengths", "complexity": 9, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "4d0fd348-9049-4733-95fd-b0d5fb166a4a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/AppendIf/spec.json b/src/system/core/array/AppendIf/spec.json index 03043ed6ea..55a46e5a7f 100644 --- a/src/system/core/array/AppendIf/spec.json +++ b/src/system/core/array/AppendIf/spec.json @@ -70,10 +70,7 @@ "icon": "chevrons-left", "description": "prepend element `b` to `a` if `test`", "complexity": 17, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "b": { @@ -119,4 +116,4 @@ "id": "765114be-2c5e-4ac8-b04e-27dbcb60ac12", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/ArrayBuilder/spec.json b/src/system/core/array/ArrayBuilder/spec.json index 3bad26e5e1..f23d8dd3f0 100644 --- a/src/system/core/array/ArrayBuilder/spec.json +++ b/src/system/core/array/ArrayBuilder/spec.json @@ -16,10 +16,7 @@ "icon": "array", "description": "build a list from empty list", "complexity": 10, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "test": { @@ -73,4 +70,4 @@ "id": "4a065231-48e6-44ed-95bb-8f96c4643574", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/ArrayBuilderFrom/spec.json b/src/system/core/array/ArrayBuilderFrom/spec.json index 4570cbd32e..d9456d157e 100644 --- a/src/system/core/array/ArrayBuilderFrom/spec.json +++ b/src/system/core/array/ArrayBuilderFrom/spec.json @@ -43,10 +43,7 @@ "icon": "array", "description": "build a list starting `from`", "complexity": 8, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -108,4 +105,4 @@ "id": "6db1905f-2343-4c63-97d3-07f4d946ef58", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/AtOrDefault/spec.json b/src/system/core/array/AtOrDefault/spec.json index dd1ebd0c69..078bf4395b 100644 --- a/src/system/core/array/AtOrDefault/spec.json +++ b/src/system/core/array/AtOrDefault/spec.json @@ -105,10 +105,7 @@ "icon": "brackets", "description": "get array `a` element at position `at` or `d` if not present", "complexity": 23, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "i": { @@ -153,4 +150,4 @@ "id": "f962de3a-b87c-4018-bcb6-71921f93ce1d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Chop3/spec.json b/src/system/core/array/Chop3/spec.json index 1f77ead7e8..492f95aa30 100644 --- a/src/system/core/array/Chop3/spec.json +++ b/src/system/core/array/Chop3/spec.json @@ -52,10 +52,7 @@ "icon": "split-three", "description": "get array `a` first 3 values", "complexity": 7, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -66,9 +63,7 @@ }, "type": "[]", "metadata": { - "examples": [ - "[1,2,3]" - ] + "examples": ["[1,2,3]"] } } }, @@ -104,4 +99,4 @@ "id": "697871f5-6515-4426-a011-88d0d6aedcc3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Concat3/spec.json b/src/system/core/array/Concat3/spec.json index ce29d1d349..c0e6168354 100644 --- a/src/system/core/array/Concat3/spec.json +++ b/src/system/core/array/Concat3/spec.json @@ -26,10 +26,7 @@ "icon": "plus", "description": "concat arrays `a`, `b` and `c`", "complexity": 6, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -74,4 +71,4 @@ "id": "abbbe3fa-8ee4-4446-8feb-e21a66fd8580", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/DropFirst/spec.json b/src/system/core/array/DropFirst/spec.json index 2b6b118f94..baedae8084 100644 --- a/src/system/core/array/DropFirst/spec.json +++ b/src/system/core/array/DropFirst/spec.json @@ -53,12 +53,9 @@ "icon": "brackets", "description": "output list `a` containing all but the first `n` elements of the given list `ab`", "complexity": 13, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "cdffb1ec-0790-11eb-96fc-97a33d06261b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/DropLast/spec.json b/src/system/core/array/DropLast/spec.json index 432b3782b0..27178ba41f 100644 --- a/src/system/core/array/DropLast/spec.json +++ b/src/system/core/array/DropLast/spec.json @@ -106,12 +106,9 @@ "icon": "brackets", "description": "output list `a` containing all but the last `n` elements of the given list `ab`", "complexity": 15, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "6c2a2d48-fd23-11ea-b8c5-27de11375b8a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/EmptyArray/spec.json b/src/system/core/array/EmptyArray/spec.json index d75f5d1aba..30c80e60ad 100644 --- a/src/system/core/array/EmptyArray/spec.json +++ b/src/system/core/array/EmptyArray/spec.json @@ -16,10 +16,7 @@ "icon": "brackets", "description": "output an empty array", "complexity": 5, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "any": { @@ -46,4 +43,4 @@ "id": "b226083c-2797-11eb-a546-c350370e09cb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FillBothEnd/spec.json b/src/system/core/array/FillBothEnd/spec.json index 5daea82f80..834b86daf7 100644 --- a/src/system/core/array/FillBothEnd/spec.json +++ b/src/system/core/array/FillBothEnd/spec.json @@ -38,10 +38,7 @@ "icon": "brackets", "description": "fill `a` and `b` with `a` until both have size `n`", "complexity": 54, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a[]": { @@ -104,4 +101,4 @@ "id": "b94fd858-9fa6-4487-bc2e-87801d3dfcc3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FillEnd/spec.json b/src/system/core/array/FillEnd/spec.json index c9841ae107..6f3443f938 100644 --- a/src/system/core/array/FillEnd/spec.json +++ b/src/system/core/array/FillEnd/spec.json @@ -68,10 +68,7 @@ "icon": "brackets", "description": "fill `from` array with `a` until size `n`", "complexity": 51, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a[]": { @@ -115,4 +112,4 @@ "id": "b0995ebb-08d5-4740-9bf3-272d44f09595", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Filter/spec.json b/src/system/core/array/Filter/spec.json index e4447448ae..b8b78a84cd 100644 --- a/src/system/core/array/Filter/spec.json +++ b/src/system/core/array/Filter/spec.json @@ -120,10 +120,7 @@ "icon": "brackets", "description": "filter a list `a`", "complexity": 54, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -195,4 +192,4 @@ "id": "ea426391-2104-41fd-8963-626d21415d09", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FilterValueEquals/spec.json b/src/system/core/array/FilterValueEquals/spec.json index b9140554d3..bde7b992ec 100644 --- a/src/system/core/array/FilterValueEquals/spec.json +++ b/src/system/core/array/FilterValueEquals/spec.json @@ -108,10 +108,7 @@ "icon": "brackets", "description": "filter `a` elements with prop `k` equal to `v`", "complexity": 82, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "key": { @@ -158,4 +155,4 @@ "id": "f0386b2f-de73-49a3-be8f-1a2ca10600c5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FindIndex/spec.json b/src/system/core/array/FindIndex/spec.json index 63d6c8282e..5cab30c1d1 100644 --- a/src/system/core/array/FindIndex/spec.json +++ b/src/system/core/array/FindIndex/spec.json @@ -194,12 +194,9 @@ "icon": "brackets", "description": "find index `i` of first element in array `a` for which `test` is true", "complexity": 61, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "7ca98fbb-6e84-4133-b658-46329a8e45cf", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FindLastIndex/spec.json b/src/system/core/array/FindLastIndex/spec.json index 0683bfd7d5..df18606d22 100644 --- a/src/system/core/array/FindLastIndex/spec.json +++ b/src/system/core/array/FindLastIndex/spec.json @@ -101,12 +101,9 @@ "icon": "brackets", "description": "find index `i` of last element in array `a` for which `test` is true", "complexity": 47, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "411fbf6c-d5e2-42ba-8827-251233fb5bef", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FindLastIndexFrom/spec.json b/src/system/core/array/FindLastIndexFrom/spec.json index a6b3f4b3ff..c9e04c134c 100644 --- a/src/system/core/array/FindLastIndexFrom/spec.json +++ b/src/system/core/array/FindLastIndexFrom/spec.json @@ -111,12 +111,9 @@ "icon": "brackets", "description": "find index `i` of last element in array `a` for which `test` is true after index `from`", "complexity": 45, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "58e5ab50-dcc9-435a-8d17-87bc96b9b31c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/FindLastIndexFromOrDefault/spec.json b/src/system/core/array/FindLastIndexFromOrDefault/spec.json index 5bc38f7631..b47eebcfc4 100644 --- a/src/system/core/array/FindLastIndexFromOrDefault/spec.json +++ b/src/system/core/array/FindLastIndexFromOrDefault/spec.json @@ -194,12 +194,9 @@ "icon": "brackets", "description": "find index `i` of last element in array `a` for which `test` is true after index `from` or `default` if not found", "complexity": 43, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "08d39098-c38f-4a88-9d8c-cc323730b36c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/First/spec.json b/src/system/core/array/First/spec.json index f19ee228ef..432b907421 100644 --- a/src/system/core/array/First/spec.json +++ b/src/system/core/array/First/spec.json @@ -42,12 +42,9 @@ "icon": "info-square", "description": "`a` element at position 0", "complexity": 5, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "0f77eb13-5c48-4611-a9bf-fe10c903dc63", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/First3/spec.json b/src/system/core/array/First3/spec.json index 391a552b62..b970d38c18 100644 --- a/src/system/core/array/First3/spec.json +++ b/src/system/core/array/First3/spec.json @@ -52,10 +52,7 @@ "icon": "info-square", "description": "array `a`'s first 3 elements", "complexity": 7, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -99,4 +96,4 @@ "id": "df8ed55c-5f3d-460a-a7d7-2fa5aebaac53", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/ForEach/spec.json b/src/system/core/array/ForEach/spec.json index 214fc2185f..1cc1474162 100644 --- a/src/system/core/array/ForEach/spec.json +++ b/src/system/core/array/ForEach/spec.json @@ -79,12 +79,9 @@ "icon": "array", "description": "output every element of array `a`", "complexity": 31, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "e2da2ac1-26bd-4c91-b8ad-a0395d9c8857", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/ForEachFrom/spec.json b/src/system/core/array/ForEachFrom/spec.json index c3e25daed7..30851e292f 100644 --- a/src/system/core/array/ForEachFrom/spec.json +++ b/src/system/core/array/ForEachFrom/spec.json @@ -145,12 +145,9 @@ "icon": "array", "description": "output every element of array `a` starting `from` index", "complexity": 29, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "f538e9b0-f172-4c9f-be23-86c715750b76", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/HeadOrDefault/spec.json b/src/system/core/array/HeadOrDefault/spec.json index 08679a4b99..95078d39e2 100644 --- a/src/system/core/array/HeadOrDefault/spec.json +++ b/src/system/core/array/HeadOrDefault/spec.json @@ -49,10 +49,7 @@ "icon": null, "description": "head of array or default", "complexity": 27, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -119,4 +116,4 @@ "id": "919d0a60-87cf-451b-a429-435aa70cde45", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Includes/spec.json b/src/system/core/array/Includes/spec.json index fdbaa4472a..f98ea42e8b 100644 --- a/src/system/core/array/Includes/spec.json +++ b/src/system/core/array/Includes/spec.json @@ -453,10 +453,7 @@ "icon": "info-square", "description": "find whether array `a[]` contains an element of value `a`", "complexity": 50, - "tags": [ - "core", - "array" - ], + "tags": ["core", "array"], "position": { "merge": { "0": { @@ -513,4 +510,4 @@ "id": "8783e7de-6cde-11eb-bd74-574fd9c8b6aa", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Init/spec.json b/src/system/core/array/Init/spec.json index 6a294063c9..6b682c6ef8 100644 --- a/src/system/core/array/Init/spec.json +++ b/src/system/core/array/Init/spec.json @@ -38,10 +38,7 @@ "icon": "brackets", "description": "init an array with length `n` filled with `a`'s", "complexity": 44, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "n": { @@ -78,4 +75,4 @@ "id": "5a7912c7-9c67-45b6-ae2b-e352405e6c16", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/IsNotEmpty/spec.json b/src/system/core/array/IsNotEmpty/spec.json index ab26962dc5..56d8d93ee1 100644 --- a/src/system/core/array/IsNotEmpty/spec.json +++ b/src/system/core/array/IsNotEmpty/spec.json @@ -29,10 +29,7 @@ "icon": "question", "description": "check whether array `a` is empty", "complexity": 15, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -59,4 +56,4 @@ "id": "b74c6c04-8fe8-4009-9f61-b22f7a404342", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Level/spec.json b/src/system/core/array/Level/spec.json index ba7c87210c..f073a044bc 100644 --- a/src/system/core/array/Level/spec.json +++ b/src/system/core/array/Level/spec.json @@ -108,12 +108,9 @@ "icon": "brackets", "description": "match arrays' length", "complexity": 63, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "358fa592-55e4-49f5-be28-b66e5114b266", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Map/spec.json b/src/system/core/array/Map/spec.json index b680b3fc11..bcb9493bf2 100644 --- a/src/system/core/array/Map/spec.json +++ b/src/system/core/array/Map/spec.json @@ -123,12 +123,9 @@ "icon": "map", "description": "map elements of an array `a` to a new array `b`", "complexity": 42, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "1c68d1e5-9170-417d-bfc8-fb7f7f12e714", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Map2/spec.json b/src/system/core/array/Map2/spec.json index ca16401142..b906abc66c 100644 --- a/src/system/core/array/Map2/spec.json +++ b/src/system/core/array/Map2/spec.json @@ -150,12 +150,9 @@ "icon": "map", "description": "map elements of arrays `a` and `b` to a new array `c`", "complexity": 46, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "57880ebc-bf8a-42da-b2b1-01ae188aa1fa", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Map2From/spec.json b/src/system/core/array/Map2From/spec.json index e335a91f89..4f90a41a5e 100644 --- a/src/system/core/array/Map2From/spec.json +++ b/src/system/core/array/Map2From/spec.json @@ -115,12 +115,9 @@ "icon": "map", "description": "map elements of arrays `a` and `b` to a new array `c` starting from index `from`", "complexity": 40, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "28ee1447-9e5d-4e18-8a9d-90fedfceb4ff", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Multiply/spec.json b/src/system/core/array/Multiply/spec.json index d0b6727693..d5e3dab096 100644 --- a/src/system/core/array/Multiply/spec.json +++ b/src/system/core/array/Multiply/spec.json @@ -50,10 +50,7 @@ "icon": "x", "description": "build new array by multiply arrays `a` and `b` element by element", "complexity": 51, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "b": { @@ -91,4 +88,4 @@ "id": "2dbdf0a4-09c1-49af-b9f8-d51b5cbab5a2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Pair/spec.json b/src/system/core/array/Pair/spec.json index f580525cc9..ac97d01e40 100644 --- a/src/system/core/array/Pair/spec.json +++ b/src/system/core/array/Pair/spec.json @@ -41,10 +41,7 @@ "icon": "brackets", "description": "build array with elements `0` and `1`", "complexity": 11, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "0": { @@ -80,4 +77,4 @@ "id": "a7d5c2f3-6134-4248-b9bc-33271c280267", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Pluck/spec.json b/src/system/core/array/Pluck/spec.json index 10daf72990..10230b2f41 100644 --- a/src/system/core/array/Pluck/spec.json +++ b/src/system/core/array/Pluck/spec.json @@ -132,4 +132,4 @@ "complexity": 48 }, "id": "bad2ec99-81c0-4a7d-9b3a-562b870c13eb" -} \ No newline at end of file +} diff --git a/src/system/core/array/PrependIf/spec.json b/src/system/core/array/PrependIf/spec.json index e22a670ac8..8d3dc0c3aa 100644 --- a/src/system/core/array/PrependIf/spec.json +++ b/src/system/core/array/PrependIf/spec.json @@ -38,10 +38,7 @@ "icon": "chevrons-left", "description": "prepend element `b` to `a` if `test`", "complexity": 16, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "test": { @@ -88,4 +85,4 @@ "id": "5a8e4250-ad00-40a8-ae32-9f4aeeb8ab2e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/PrependIfNot/spec.json b/src/system/core/array/PrependIfNot/spec.json index f6f22ea26d..eab85dd32e 100644 --- a/src/system/core/array/PrependIfNot/spec.json +++ b/src/system/core/array/PrependIfNot/spec.json @@ -26,10 +26,7 @@ "icon": "chevrons-left", "description": "prepend element `b` to `a` if not `test`", "complexity": 19, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "test": { @@ -77,4 +74,4 @@ "id": "e75537f8-d35a-45c4-8193-e0c6e015b4c6", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Project/spec.json b/src/system/core/array/Project/spec.json index c6bfbd440e..15c412c81b 100644 --- a/src/system/core/array/Project/spec.json +++ b/src/system/core/array/Project/spec.json @@ -147,4 +147,4 @@ "complexity": 59 }, "id": "7d7901df-7c97-4c66-b6e5-4a14c7c0fa75" -} \ No newline at end of file +} diff --git a/src/system/core/array/RangeArray/spec.json b/src/system/core/array/RangeArray/spec.json index 97ac8a306d..8fa2e82808 100644 --- a/src/system/core/array/RangeArray/spec.json +++ b/src/system/core/array/RangeArray/spec.json @@ -76,12 +76,9 @@ "icon": "brackets", "description": "build an array from 0 to `n`", "complexity": 40, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "a0b5c3d9-7ee8-4c41-a299-1d32e707c673", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Reduce/spec.json b/src/system/core/array/Reduce/spec.json index 36e01a587c..f1b3dec2d4 100644 --- a/src/system/core/array/Reduce/spec.json +++ b/src/system/core/array/Reduce/spec.json @@ -107,12 +107,9 @@ "icon": "brackets", "description": "accumulatively iterate over array `a` to produce `result`", "complexity": 34, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "5cd76a8a-603b-49e1-bda3-09ad217eb108", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/RemoveIndex/spec.json b/src/system/core/array/RemoveIndex/spec.json index 65d0284bfd..eceea27ec3 100644 --- a/src/system/core/array/RemoveIndex/spec.json +++ b/src/system/core/array/RemoveIndex/spec.json @@ -84,12 +84,9 @@ "icon": "scissors", "description": "remove `a` element at position `i`", "complexity": 10, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "55d4bc9e-a4a2-44ed-8b35-c9ae64b5d0e3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Reverse/spec.json b/src/system/core/array/Reverse/spec.json index 5d9a85ac00..473867c3ae 100644 --- a/src/system/core/array/Reverse/spec.json +++ b/src/system/core/array/Reverse/spec.json @@ -74,12 +74,9 @@ "icon": "brackets", "description": "revert `a`", "complexity": 50, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "5e6d3a86-f73e-46ce-9443-0f53e5a41d1c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Single/spec.json b/src/system/core/array/Single/spec.json index 538469be7f..9a61584e12 100644 --- a/src/system/core/array/Single/spec.json +++ b/src/system/core/array/Single/spec.json @@ -16,10 +16,7 @@ "icon": "brackets", "description": "output a list with a single element `a`", "complexity": 5, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "a": { @@ -46,4 +43,4 @@ "id": "d2f8bb43-af44-4371-a32e-20b760695e13", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/SplitInHalf/spec.json b/src/system/core/array/SplitInHalf/spec.json index 96fa34f030..2e16dda66b 100644 --- a/src/system/core/array/SplitInHalf/spec.json +++ b/src/system/core/array/SplitInHalf/spec.json @@ -102,12 +102,9 @@ "icon": "split-half", "description": "split array `a` in half", "complexity": 24, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "8babf4fa-e95e-449e-80b9-62e03ba0aae4", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/SumAll/spec.json b/src/system/core/array/SumAll/spec.json index 23c28c034d..5de4fb987c 100644 --- a/src/system/core/array/SumAll/spec.json +++ b/src/system/core/array/SumAll/spec.json @@ -84,12 +84,9 @@ "icon": "plus", "description": "sum all elements of array `a`", "complexity": 37, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "bd1a9bbb-6129-4031-b7e9-aec351d847d9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Swap/spec.json b/src/system/core/array/Swap/spec.json index 59ed84447c..626ac48be4 100644 --- a/src/system/core/array/Swap/spec.json +++ b/src/system/core/array/Swap/spec.json @@ -164,12 +164,9 @@ "icon": "brackets", "description": "swap elements at position `i` and `j` ", "complexity": 10, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "id": "706a0082-1dce-43d5-b629-9b6f8189e45d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/array/Triplet/spec.json b/src/system/core/array/Triplet/spec.json index 135b5bb84f..cfbc903a8a 100644 --- a/src/system/core/array/Triplet/spec.json +++ b/src/system/core/array/Triplet/spec.json @@ -41,10 +41,7 @@ "icon": "brackets", "description": "build array with elements `0` and `1` and `2`", "complexity": 15, - "tags": [ - "core", - "array" - ] + "tags": ["core", "array"] }, "inputs": { "0": { @@ -89,4 +86,4 @@ "id": "91536c82-8e5f-4542-8138-a1a4eb2e5f4d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/assert/Assert/spec.json b/src/system/core/assert/Assert/spec.json index 015bfd04fc..a7956fa185 100644 --- a/src/system/core/assert/Assert/spec.json +++ b/src/system/core/assert/Assert/spec.json @@ -70,11 +70,8 @@ "complexity": 8, "icon": "alert-circle", "description": "throw `message` if `test` is false", - "tags": [ - "core", - "assert" - ] + "tags": ["core", "assert"] }, "id": "cbb46967-8627-4546-add8-6426e3730560", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/assert/AssertEqual/spec.json b/src/system/core/assert/AssertEqual/spec.json index ef923aa610..2f3b97b92b 100644 --- a/src/system/core/assert/AssertEqual/spec.json +++ b/src/system/core/assert/AssertEqual/spec.json @@ -45,10 +45,7 @@ "icon": "alert-circle", "description": "throw `message` if `a` is not equal `b`", "complexity": 11, - "tags": [ - "core", - "assert" - ] + "tags": ["core", "assert"] }, "merges": { "0": { @@ -79,4 +76,4 @@ "id": "0047d386-e392-4230-adde-0d71a0bc2de4", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/assert/Validate/spec.json b/src/system/core/assert/Validate/spec.json index 1cfbe336f6..289f556665 100644 --- a/src/system/core/assert/Validate/spec.json +++ b/src/system/core/assert/Validate/spec.json @@ -41,10 +41,7 @@ "icon": "alert-circle", "description": "pass if `test`, error `message` otherwise", "complexity": 14, - "tags": [ - "core", - "assert" - ] + "tags": ["core", "assert"] }, "inputs": { "a": { @@ -91,4 +88,4 @@ "id": "ea515441-7284-49ab-9bac-a0978f25e2c3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/ArrayIntersection/spec.json b/src/system/core/common/ArrayIntersection/spec.json index 673bb22d9e..7af41c1e77 100644 --- a/src/system/core/common/ArrayIntersection/spec.json +++ b/src/system/core/common/ArrayIntersection/spec.json @@ -175,12 +175,9 @@ "icon": "array", "description": "build a list of size n", "complexity": 30, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "625b208c-80e8-49bc-981c-dc69cfbc429d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/CompareLTE/spec.json b/src/system/core/common/CompareLTE/spec.json index df9432aff9..6be7eed796 100644 --- a/src/system/core/common/CompareLTE/spec.json +++ b/src/system/core/common/CompareLTE/spec.json @@ -76,12 +76,9 @@ "icon": null, "description": "less than euqal + greater than", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "baa94d4a-90a4-4b3d-8f4f-d10780c64754", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/ConstantOne/spec.json b/src/system/core/common/ConstantOne/spec.json index 5d1e3323ac..c0fbe5c8fd 100644 --- a/src/system/core/common/ConstantOne/spec.json +++ b/src/system/core/common/ConstantOne/spec.json @@ -31,12 +31,9 @@ "icon": "dot-circle", "description": "one forever", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "c6d4d8b4-b9cc-401a-98fe-37eaf71426b0", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/ConstantTrueFalse/spec.json b/src/system/core/common/ConstantTrueFalse/spec.json index 5d5f6d13e2..9900a64539 100644 --- a/src/system/core/common/ConstantTrueFalse/spec.json +++ b/src/system/core/common/ConstantTrueFalse/spec.json @@ -35,11 +35,8 @@ "component": {}, "metadata": { "complexity": 38, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "8df44351-9177-4c4c-abde-7576bc1c8d41", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Decrement/spec.json b/src/system/core/common/Decrement/spec.json index 09b490921e..2a957bcdcf 100644 --- a/src/system/core/common/Decrement/spec.json +++ b/src/system/core/common/Decrement/spec.json @@ -39,12 +39,9 @@ "icon": "minus", "description": "decrement `a`", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "4d67d2e4-8b06-4e15-8243-99be8e4be5d3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Duplicate/spec.json b/src/system/core/common/Duplicate/spec.json index 3df344d105..381eff7dd4 100644 --- a/src/system/core/common/Duplicate/spec.json +++ b/src/system/core/common/Duplicate/spec.json @@ -16,10 +16,7 @@ "icon": "x", "description": "duplicate `a`", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "a": { @@ -46,4 +43,4 @@ "id": "51630f7a-fffb-42d7-8cf6-5a5924ec4774", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/ForEachReverse/spec.json b/src/system/core/common/ForEachReverse/spec.json index 6f84bfea65..57a68d85ae 100644 --- a/src/system/core/common/ForEachReverse/spec.json +++ b/src/system/core/common/ForEachReverse/spec.json @@ -137,12 +137,9 @@ "icon": "array", "description": "output every element `a[i]` of `a` in decreasing order", "complexity": 30, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "dd7ae700-3016-4aba-a45f-5fa2c21cb00f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/GreaterThan0/spec.json b/src/system/core/common/GreaterThan0/spec.json index a609ff68dc..c8284546a1 100644 --- a/src/system/core/common/GreaterThan0/spec.json +++ b/src/system/core/common/GreaterThan0/spec.json @@ -16,10 +16,7 @@ "icon": "greater-than", "description": "output whether `a` is greater than 0", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "a": { @@ -46,4 +43,4 @@ "id": "6f4ac2fa-e9bd-4c0e-8bda-75976f3e4e58", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Half/spec.json b/src/system/core/common/Half/spec.json index cdbd2d6d0a..590137be0b 100644 --- a/src/system/core/common/Half/spec.json +++ b/src/system/core/common/Half/spec.json @@ -36,12 +36,9 @@ "metadata": { "icon": "half", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "49d04556-34fd-4231-a478-0e106b564e1c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/HasLength/spec.json b/src/system/core/common/HasLength/spec.json index 51380a46f0..1da832c45a 100644 --- a/src/system/core/common/HasLength/spec.json +++ b/src/system/core/common/HasLength/spec.json @@ -77,12 +77,9 @@ "icon": "ruler", "description": "output based on whether `a` size is equal to `b`", "complexity": 21, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "f317e5cd-63d0-4036-b958-09dfd04ab480", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/HasLengthLessThan/spec.json b/src/system/core/common/HasLengthLessThan/spec.json index 69ac4fece7..9a97016576 100644 --- a/src/system/core/common/HasLengthLessThan/spec.json +++ b/src/system/core/common/HasLengthLessThan/spec.json @@ -77,12 +77,9 @@ "icon": "ruler", "description": "output based on whether `a` size is less than `b`", "complexity": 21, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "8211f5ea-2884-4ae8-aaf4-e98dbbedc10d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/HasntLength/spec.json b/src/system/core/common/HasntLength/spec.json index 65ae2aefb8..e5791dec6e 100644 --- a/src/system/core/common/HasntLength/spec.json +++ b/src/system/core/common/HasntLength/spec.json @@ -83,12 +83,9 @@ "icon": "ruler", "description": "output list if size is equal to `n`?", "complexity": 16, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "5abe471c-c615-46ce-8a8c-158fcc8c1e5e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/If50Chance/spec.json b/src/system/core/common/If50Chance/spec.json index aa85e47809..d15d0a4b3c 100644 --- a/src/system/core/common/If50Chance/spec.json +++ b/src/system/core/common/If50Chance/spec.json @@ -59,12 +59,9 @@ "icon": "filter", "description": "50% chance of passing", "complexity": 13, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "bacfa026-d96f-4ea1-8430-86bb02d69a53", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IfElseIsFirst/spec.json b/src/system/core/common/IfElseIsFirst/spec.json index dd95155f06..b32cd009a2 100644 --- a/src/system/core/common/IfElseIsFirst/spec.json +++ b/src/system/core/common/IfElseIsFirst/spec.json @@ -94,12 +94,9 @@ "icon": "map-signs", "description": "if else + is first", "complexity": 26, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "5fdf4aca-9bc3-11eb-9ae0-137ed72149df", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IfElseLessThanEqual/spec.json b/src/system/core/common/IfElseLessThanEqual/spec.json index fa610d2088..8975e9c06c 100644 --- a/src/system/core/common/IfElseLessThanEqual/spec.json +++ b/src/system/core/common/IfElseLessThanEqual/spec.json @@ -118,12 +118,9 @@ "icon": "filter", "description": "forward `a` depending on `a ≤ b`", "complexity": 12, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "62de5773-43bc-416c-b604-8fb529d7b299", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IfEquals/spec.json b/src/system/core/common/IfEquals/spec.json index 46c82b245e..c5c166eb4c 100644 --- a/src/system/core/common/IfEquals/spec.json +++ b/src/system/core/common/IfEquals/spec.json @@ -181,10 +181,7 @@ "metadata": { "icon": "question", "description": "filter `a` based on `b` and `c` equality", - "tags": [ - "core", - "common" - ], + "tags": ["core", "common"], "position": { "merge": { "0": { @@ -205,4 +202,4 @@ }, "id": "8a3e15c3-aa92-483b-9408-ef549f2b7dc0", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IfFalse/spec.json b/src/system/core/common/IfFalse/spec.json index 7857737ccf..1886adebf6 100644 --- a/src/system/core/common/IfFalse/spec.json +++ b/src/system/core/common/IfFalse/spec.json @@ -74,12 +74,9 @@ "icon": "filter", "description": "false if `a` is false", "complexity": 14, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "bbbe75ed-d436-47d7-a9a0-59bcfa41dfda", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IfTrue/spec.json b/src/system/core/common/IfTrue/spec.json index cd55a66ab0..1ce844622c 100644 --- a/src/system/core/common/IfTrue/spec.json +++ b/src/system/core/common/IfTrue/spec.json @@ -74,12 +74,9 @@ "icon": "filter", "description": "true if `a` is true", "complexity": 9, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "9ee34534-a1e8-478d-87ca-81a5325f5d5c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Increment/spec.json b/src/system/core/common/Increment/spec.json index edda834b00..6c5fd95afc 100644 --- a/src/system/core/common/Increment/spec.json +++ b/src/system/core/common/Increment/spec.json @@ -39,12 +39,9 @@ "icon": "plus", "description": "increment `a`", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "fafeadd7-06a8-4bb0-9fa5-2149d1b5208e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IntegerHalf/spec.json b/src/system/core/common/IntegerHalf/spec.json index 9488c87f9d..0d9226d76d 100644 --- a/src/system/core/common/IntegerHalf/spec.json +++ b/src/system/core/common/IntegerHalf/spec.json @@ -48,12 +48,9 @@ "icon": "half", "description": "build a list of size n", "complexity": 10, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "86e310b3-4b84-4be2-a87a-e4ebcc5d3a0c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IsEmpty/spec.json b/src/system/core/common/IsEmpty/spec.json index a6422c8b52..616c95831f 100644 --- a/src/system/core/common/IsEmpty/spec.json +++ b/src/system/core/common/IsEmpty/spec.json @@ -16,10 +16,7 @@ "icon": "question", "description": "check whether `obj` is empty", "complexity": 10, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "obj": { @@ -46,4 +43,4 @@ "id": "194683f4-5b90-4501-a8c9-b34f131d4f79", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/IsMultipleOf/spec.json b/src/system/core/common/IsMultipleOf/spec.json index 147793a246..441638996e 100644 --- a/src/system/core/common/IsMultipleOf/spec.json +++ b/src/system/core/common/IsMultipleOf/spec.json @@ -63,12 +63,9 @@ "icon": "question", "description": "check whether `a` is a multiple of `b`", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "f409eb04-77b5-49ad-b3aa-aeedde9b547f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/KeysEquals/spec.json b/src/system/core/common/KeysEquals/spec.json index afc6261752..d9662d14a2 100644 --- a/src/system/core/common/KeysEquals/spec.json +++ b/src/system/core/common/KeysEquals/spec.json @@ -57,12 +57,9 @@ "icon": "equal", "description": "check whether `obj` has all `keys`", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "7a7468e3-c6e4-4c0b-b561-967914250d9b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LastIndex/spec.json b/src/system/core/common/LastIndex/spec.json index 2d38cb278f..eecd4833e6 100644 --- a/src/system/core/common/LastIndex/spec.json +++ b/src/system/core/common/LastIndex/spec.json @@ -48,12 +48,9 @@ "icon": "brackets", "description": "last position of `a`", "complexity": 10, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "f9588979-74e1-477a-8085-594043362fdf", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LengthEquals/spec.json b/src/system/core/common/LengthEquals/spec.json index b2a1c5f110..5659800485 100644 --- a/src/system/core/common/LengthEquals/spec.json +++ b/src/system/core/common/LengthEquals/spec.json @@ -57,12 +57,9 @@ "icon": "ruler", "description": "check whther the length of `a` is equal to `n`?", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "175c0cc6-1801-4b5d-9980-e780c10ea745", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LengthGreaterThan/spec.json b/src/system/core/common/LengthGreaterThan/spec.json index f7b4a6ae44..10d4b5fbc1 100644 --- a/src/system/core/common/LengthGreaterThan/spec.json +++ b/src/system/core/common/LengthGreaterThan/spec.json @@ -57,12 +57,9 @@ "icon": "ruler", "description": "check whether the length of `a` greater than `b`", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "603ebe2e-5329-446d-b422-78f3201ddd7a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LengthLessThan/spec.json b/src/system/core/common/LengthLessThan/spec.json index 8d0e5e0c90..9030b0eb20 100644 --- a/src/system/core/common/LengthLessThan/spec.json +++ b/src/system/core/common/LengthLessThan/spec.json @@ -57,12 +57,9 @@ "icon": "ruler", "description": "check wether the length of `a` lesser than `b`", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "0e211b43-0d8d-44cb-b63f-79a1a02de614", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LengthLessThanOr/spec.json b/src/system/core/common/LengthLessThanOr/spec.json index bd8cb5f4ab..25d44a0528 100644 --- a/src/system/core/common/LengthLessThanOr/spec.json +++ b/src/system/core/common/LengthLessThanOr/spec.json @@ -66,12 +66,9 @@ "icon": "ruler", "description": "is the size of this `list` greater than or equal to `n`?", "complexity": 13, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "b82e2039-4b1d-4290-aa16-11939c1563c5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LessThanLength/spec.json b/src/system/core/common/LessThanLength/spec.json index c2c31ea982..f136f384a0 100644 --- a/src/system/core/common/LessThanLength/spec.json +++ b/src/system/core/common/LessThanLength/spec.json @@ -57,12 +57,9 @@ "icon": "ruler", "description": "is `a` lesser than the size of `b`?", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "cc422ac4-f29c-419d-8628-f58315bd7660", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LessThanOr/spec.json b/src/system/core/common/LessThanOr/spec.json index 336bfd7ddf..d69eda67dc 100644 --- a/src/system/core/common/LessThanOr/spec.json +++ b/src/system/core/common/LessThanOr/spec.json @@ -76,12 +76,9 @@ "icon": "less-than", "description": "less than operator", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "568f2736-8734-464b-9bff-8e706e8d30ca", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Lever/spec.json b/src/system/core/common/Lever/spec.json index 3831217b4e..b3b0e3ad5e 100644 --- a/src/system/core/common/Lever/spec.json +++ b/src/system/core/common/Lever/spec.json @@ -92,12 +92,9 @@ "icon": "map-signs", "description": "pick `a` or `b` based on `test`, but do not consume the other", "complexity": 15, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "c37c7c14-293e-414c-8a9c-01a40186c1e5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopAdd/spec.json b/src/system/core/common/LoopAdd/spec.json index f608ffbd01..f3d1d8f4b5 100644 --- a/src/system/core/common/LoopAdd/spec.json +++ b/src/system/core/common/LoopAdd/spec.json @@ -51,10 +51,7 @@ "icon": "undo", "description": "loop adding the value of `+` to the current value", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "init": { @@ -117,4 +114,4 @@ "id": "93369291-7ce2-4b4c-a414-870b1f3c9b4c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopDecrement/spec.json b/src/system/core/common/LoopDecrement/spec.json index 87e1114006..9325cb8aad 100644 --- a/src/system/core/common/LoopDecrement/spec.json +++ b/src/system/core/common/LoopDecrement/spec.json @@ -91,12 +91,9 @@ "icon": "minus", "description": "decrement value until `test` is false", "complexity": 10, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "95862764-be74-4372-b734-c767ddd3e323", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopDrag/spec.json b/src/system/core/common/LoopDrag/spec.json index aee37d94c7..5e4f172454 100644 --- a/src/system/core/common/LoopDrag/spec.json +++ b/src/system/core/common/LoopDrag/spec.json @@ -178,11 +178,8 @@ "metadata": { "icon": "undo", "complexity": 17, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "543d3ed7-45cc-472f-b35d-03aba7c73017", "type": "`U`&`G`&`C`" -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopForever/spec.json b/src/system/core/common/LoopForever/spec.json index c987e70ae0..a7142bcd5e 100644 --- a/src/system/core/common/LoopForever/spec.json +++ b/src/system/core/common/LoopForever/spec.json @@ -24,10 +24,7 @@ "icon": "undo", "description": "loop forever", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "next": { @@ -63,4 +60,4 @@ "id": "4b6e5535-e600-4f91-a5df-105f6a5ad3d7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopIncrement/spec.json b/src/system/core/common/LoopIncrement/spec.json index 7f1c351ad8..fb9b5ae490 100644 --- a/src/system/core/common/LoopIncrement/spec.json +++ b/src/system/core/common/LoopIncrement/spec.json @@ -92,12 +92,9 @@ "icon": "undo", "description": "increment value until `test` is false", "complexity": 10, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "4e2c89b2-e9cb-42f6-bb8d-e9d665c21fa7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopIndexDesc/spec.json b/src/system/core/common/LoopIndexDesc/spec.json index 72cb40acf5..95b6c1f19c 100644 --- a/src/system/core/common/LoopIndexDesc/spec.json +++ b/src/system/core/common/LoopIndexDesc/spec.json @@ -94,12 +94,9 @@ "icon": "undo", "description": "loop through array `a` elements in descending order", "complexity": 21, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "70f3cdf1-2a78-49b3-9665-39da459cf0dc", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopRepeat/spec.json b/src/system/core/common/LoopRepeat/spec.json index 71f85926ba..0700e42793 100644 --- a/src/system/core/common/LoopRepeat/spec.json +++ b/src/system/core/common/LoopRepeat/spec.json @@ -98,12 +98,9 @@ "icon": "repeat", "description": "repeats `a` while `next` is true", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "ba8d655b-6014-4eae-bce1-fb8fef9ee535", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/LoopSubtract/spec.json b/src/system/core/common/LoopSubtract/spec.json index 985fe67027..0cde1692c5 100644 --- a/src/system/core/common/LoopSubtract/spec.json +++ b/src/system/core/common/LoopSubtract/spec.json @@ -52,10 +52,7 @@ "icon": "undo", "description": "loop subtract the value of `-` from the current value", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "test": { @@ -118,4 +115,4 @@ "id": "6a006c91-181c-48c4-826d-a6eaec21fea3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/MaxLength/spec.json b/src/system/core/common/MaxLength/spec.json index 206009cab9..460aab919f 100644 --- a/src/system/core/common/MaxLength/spec.json +++ b/src/system/core/common/MaxLength/spec.json @@ -41,10 +41,7 @@ "icon": "arrow-up", "description": "the biggest between size of `a` and size of `b`", "complexity": 9, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "a": { @@ -80,4 +77,4 @@ "id": "85343b1d-93db-4fc0-8fcf-655739dbd494", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/NArrayBuilderFrom/spec.json b/src/system/core/common/NArrayBuilderFrom/spec.json index ffeab58a64..c73addc1bc 100644 --- a/src/system/core/common/NArrayBuilderFrom/spec.json +++ b/src/system/core/common/NArrayBuilderFrom/spec.json @@ -68,10 +68,7 @@ "icon": "array", "description": "build a list of size n", "complexity": 24, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "a": { diff --git a/src/system/core/common/NStep/spec.json b/src/system/core/common/NStep/spec.json index 6023911a18..579900aed8 100644 --- a/src/system/core/common/NStep/spec.json +++ b/src/system/core/common/NStep/spec.json @@ -235,10 +235,7 @@ "icon": "skip-forward", "description": "output true `n` times then false", "complexity": 24, - "tags": [ - "core", - "common" - ], + "tags": ["core", "common"], "position": { "merge": { "0": { @@ -267,4 +264,4 @@ "id": "85b8586a-0295-44fd-b3d2-24a048552700", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Nor/spec.json b/src/system/core/common/Nor/spec.json index a81ba07601..5780beb669 100644 --- a/src/system/core/common/Nor/spec.json +++ b/src/system/core/common/Nor/spec.json @@ -57,12 +57,9 @@ "icon": null, "description": "NOT logic operator", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "561db4ce-1631-4d66-a047-140fb6e814a6", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/NotAnd/spec.json b/src/system/core/common/NotAnd/spec.json index 503b68247f..42982de451 100644 --- a/src/system/core/common/NotAnd/spec.json +++ b/src/system/core/common/NotAnd/spec.json @@ -57,12 +57,9 @@ "icon": null, "description": "NOT AND logic operator", "complexity": 8, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "a4515f52-889c-4409-b710-59e2ebea265c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/One/spec.json b/src/system/core/common/One/spec.json index d4c606e61f..9dbc4589f6 100644 --- a/src/system/core/common/One/spec.json +++ b/src/system/core/common/One/spec.json @@ -42,12 +42,9 @@ "icon": "dot-circle", "description": "output 1", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "f488c69c-1167-11eb-875f-3354cd742d50", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Pick50Chance/spec.json b/src/system/core/common/Pick50Chance/spec.json index b9b1f72e7b..4fa6f2c382 100644 --- a/src/system/core/common/Pick50Chance/spec.json +++ b/src/system/core/common/Pick50Chance/spec.json @@ -94,12 +94,9 @@ "icon": "scale", "description": "pick a or b, 50% chance", "complexity": 24, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "04bd8d41-7352-4609-b5af-603e4208775b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/PickBranch/spec.json b/src/system/core/common/PickBranch/spec.json index eacac766f5..59815ea53b 100644 --- a/src/system/core/common/PickBranch/spec.json +++ b/src/system/core/common/PickBranch/spec.json @@ -39,10 +39,7 @@ "icon": null, "description": "filter `a` or `b` based on `test`", "complexity": 17, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "test": { @@ -95,4 +92,4 @@ "id": "ea1389f2-3a83-44e5-ad8c-b29e03ab77d1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomBit/spec.json b/src/system/core/common/RandomBit/spec.json index ca800aebd2..ae7a920ab5 100644 --- a/src/system/core/common/RandomBit/spec.json +++ b/src/system/core/common/RandomBit/spec.json @@ -61,12 +61,9 @@ "icon": "random", "description": "50% chance 0, 50% chance 1", "complexity": 21, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "8a5043d9-e6ac-4628-9fde-a11cbd240e10", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomBitArray/spec.json b/src/system/core/common/RandomBitArray/spec.json index b1b57713ae..a4fe83f179 100644 --- a/src/system/core/common/RandomBitArray/spec.json +++ b/src/system/core/common/RandomBitArray/spec.json @@ -97,12 +97,9 @@ "icon": "brackets", "description": "random array of bits of size `n`", "complexity": 59, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "33ec13e7-5a30-4029-af21-07ee422a8a2d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomBitMatrix/spec.json b/src/system/core/common/RandomBitMatrix/spec.json index 5b770605d8..781347c94a 100644 --- a/src/system/core/common/RandomBitMatrix/spec.json +++ b/src/system/core/common/RandomBitMatrix/spec.json @@ -94,12 +94,9 @@ "icon": "binary", "description": "output a random bit matrix", "complexity": 79, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "be4600af-eb6b-417f-9bb6-88760afbbcba", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomInArray/spec.json b/src/system/core/common/RandomInArray/spec.json index a7773e0901..b2dcd3f89e 100644 --- a/src/system/core/common/RandomInArray/spec.json +++ b/src/system/core/common/RandomInArray/spec.json @@ -43,9 +43,7 @@ }, "type": "[]", "metadata": { - "examples": [ - "[0,1,2,3,4]" - ] + "examples": ["[0,1,2,3,4]"] } } }, @@ -64,12 +62,9 @@ "icon": "random", "description": "random element of the array", "complexity": 21, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "5b99b930-92c9-4fbe-be37-8c72a8e1c70b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomIndexInArray/spec.json b/src/system/core/common/RandomIndexInArray/spec.json index 55902899cc..b371602ea2 100644 --- a/src/system/core/common/RandomIndexInArray/spec.json +++ b/src/system/core/common/RandomIndexInArray/spec.json @@ -32,9 +32,7 @@ }, "type": "[]", "metadata": { - "examples": [ - "[0,1,2,3]" - ] + "examples": ["[0,1,2,3]"] } } }, @@ -53,12 +51,9 @@ "icon": "random", "description": "random element of the array", "complexity": 16, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "e2325503-40a7-4c7e-b06c-d3833c8856e5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomNatural/spec.json b/src/system/core/common/RandomNatural/spec.json index 00303bd521..d91fe7a229 100644 --- a/src/system/core/common/RandomNatural/spec.json +++ b/src/system/core/common/RandomNatural/spec.json @@ -74,12 +74,9 @@ "icon": "random", "description": "random natural `i` less than `max`", "complexity": 11, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "9569f78e-18d3-40a3-9373-c56afa0214f6", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomNaturalBetween/spec.json b/src/system/core/common/RandomNaturalBetween/spec.json index 20aee12495..81e0dbf49f 100644 --- a/src/system/core/common/RandomNaturalBetween/spec.json +++ b/src/system/core/common/RandomNaturalBetween/spec.json @@ -85,12 +85,9 @@ "icon": "random", "description": "output random natural `n` between `a` and `b`, not inclusive", "complexity": 19, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "9d2b69b2-c468-4fca-a7d5-d158033c0201", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RandomNaturalLTE/spec.json b/src/system/core/common/RandomNaturalLTE/spec.json index 41275d1b7c..168047b983 100644 --- a/src/system/core/common/RandomNaturalLTE/spec.json +++ b/src/system/core/common/RandomNaturalLTE/spec.json @@ -48,12 +48,9 @@ "icon": "random", "description": "output random natural `i` less than or equal to `max`", "complexity": 18, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "587f9a76-de5f-4dc0-b395-6e5b0091d12e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RangeArray6/spec.json b/src/system/core/common/RangeArray6/spec.json index a6fd12e3b2..849a666ddf 100644 --- a/src/system/core/common/RangeArray6/spec.json +++ b/src/system/core/common/RangeArray6/spec.json @@ -31,12 +31,9 @@ "icon": null, "description": "[0, 1, 2, 3, 4, 5]", "complexity": 42, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "1f0e1e35-c920-4a3f-b71b-0e58f5c88bd3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/RepeatN/spec.json b/src/system/core/common/RepeatN/spec.json index 391e134c37..9b519059d9 100644 --- a/src/system/core/common/RepeatN/spec.json +++ b/src/system/core/common/RepeatN/spec.json @@ -59,10 +59,7 @@ "icon": "repeat-1", "description": "output `a` `n` times", "complexity": 23, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "n": { @@ -100,4 +97,4 @@ "id": "251ba609-a9c5-451b-8162-411c966bf919", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/SumN/spec.json b/src/system/core/common/SumN/spec.json index 46d3b8501d..ef1942a72e 100644 --- a/src/system/core/common/SumN/spec.json +++ b/src/system/core/common/SumN/spec.json @@ -16,10 +16,7 @@ "icon": "plus", "description": "sum the next `n` `a`", "complexity": 42, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "n": { @@ -55,4 +52,4 @@ "id": "74edae3f-87de-455c-a65a-e458334d2c47", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/SumNFrom/spec.json b/src/system/core/common/SumNFrom/spec.json index dc1b7d1ce7..2f924c8831 100644 --- a/src/system/core/common/SumNFrom/spec.json +++ b/src/system/core/common/SumNFrom/spec.json @@ -103,10 +103,7 @@ "icon": null, "description": "add `n` next numbers to `from`", "complexity": 40, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "inputs": { "a": { @@ -151,4 +148,4 @@ "id": "57e0cf37-1bf7-449e-91fd-f1ddf62c607d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Three/spec.json b/src/system/core/common/Three/spec.json index 183e88d8b8..62f46cfaa1 100644 --- a/src/system/core/common/Three/spec.json +++ b/src/system/core/common/Three/spec.json @@ -42,12 +42,9 @@ "icon": "dot-circle", "description": "output 3", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "a9405f74-fd5f-4e89-a66e-efe2ef9d6b70", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/TrueFalse/spec.json b/src/system/core/common/TrueFalse/spec.json index eb113e14ad..178eed1990 100644 --- a/src/system/core/common/TrueFalse/spec.json +++ b/src/system/core/common/TrueFalse/spec.json @@ -86,11 +86,8 @@ "icon": "map-signs", "description": "outputs true and then false", "complexity": 36, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "e24d1987-e3e7-4f1a-bf4a-191c79b2eae6", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/TrueOrFalse/spec.json b/src/system/core/common/TrueOrFalse/spec.json index 3600054f26..028f063e0e 100644 --- a/src/system/core/common/TrueOrFalse/spec.json +++ b/src/system/core/common/TrueOrFalse/spec.json @@ -73,12 +73,9 @@ "icon": "map-signs", "description": "direct `a` boolean value", "complexity": 9, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "d6d14fd8-4d8f-4d1c-94ac-f42b92f075e2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Two/spec.json b/src/system/core/common/Two/spec.json index 0c8f62b2e7..8204458031 100644 --- a/src/system/core/common/Two/spec.json +++ b/src/system/core/common/Two/spec.json @@ -42,12 +42,9 @@ "icon": "dot-circle", "description": "output 2", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "0c0954fb-07de-4722-87d8-b0989043335a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/common/Zero/spec.json b/src/system/core/common/Zero/spec.json index 848d0b0d30..771b26e383 100644 --- a/src/system/core/common/Zero/spec.json +++ b/src/system/core/common/Zero/spec.json @@ -42,12 +42,9 @@ "icon": "output 0", "description": "output 0", "complexity": 5, - "tags": [ - "core", - "common" - ] + "tags": ["core", "common"] }, "id": "618898d6-1167-11eb-bef9-cb053e09c21b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/If3/spec.json b/src/system/core/control/If3/spec.json index 7215511835..7389dda0a2 100644 --- a/src/system/core/control/If3/spec.json +++ b/src/system/core/control/If3/spec.json @@ -34,10 +34,7 @@ "icon": "filter", "description": "conditionally filter `a`, `b` and `c` based on `test`", "complexity": 7, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "a": { @@ -108,4 +105,4 @@ "id": "13a16a8a-5dc6-11ea-a3d4-9bda49772976", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/If4/spec.json b/src/system/core/control/If4/spec.json index 318132d52b..892aa83e35 100644 --- a/src/system/core/control/If4/spec.json +++ b/src/system/core/control/If4/spec.json @@ -42,10 +42,7 @@ "icon": "filter", "description": "conditionally filter `a`, `b`, `c` and `d` based on `test`", "complexity": 8, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "a": { @@ -134,4 +131,4 @@ "id": "1c59d8d8-5dc6-11ea-9bfb-9b22dd8d8cae", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/IfElse/spec.json b/src/system/core/control/IfElse/spec.json index 8472e03fde..07e40c81d7 100644 --- a/src/system/core/control/IfElse/spec.json +++ b/src/system/core/control/IfElse/spec.json @@ -79,11 +79,8 @@ "icon": "map-signs", "description": "send `a` to `if` if `b` is false or `else` otherwise", "complexity": 11, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "92760dd2-ecd9-46db-851f-70950a5b6bc3", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/IfNot/spec.json b/src/system/core/control/IfNot/spec.json index 1bb39b040c..1871c65c75 100644 --- a/src/system/core/control/IfNot/spec.json +++ b/src/system/core/control/IfNot/spec.json @@ -59,12 +59,9 @@ "icon": "filter", "description": "reverse conditional operator", "complexity": 8, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "439c6b56-a0b6-4b76-9131-c6dc23375fda", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/Invert/spec.json b/src/system/core/control/Invert/spec.json index aac76d0832..134d2b0250 100644 --- a/src/system/core/control/Invert/spec.json +++ b/src/system/core/control/Invert/spec.json @@ -93,12 +93,9 @@ "icon": "pointer", "description": "if `c` output `a` as `b`", "complexity": 14, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "f55ab180-3fd5-44c4-915f-f40e6bbcc481", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/IsFalse/spec.json b/src/system/core/control/IsFalse/spec.json index ac36ed709a..c42197a00a 100644 --- a/src/system/core/control/IsFalse/spec.json +++ b/src/system/core/control/IsFalse/spec.json @@ -38,12 +38,9 @@ "icon": "question", "description": "true if `a` is false, false otherwise", "complexity": 10, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "b5f8a6bc-4fab-4905-a479-cf94e6e92448", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/IsTrue/spec.json b/src/system/core/control/IsTrue/spec.json index ff998bd46b..35965d7902 100644 --- a/src/system/core/control/IsTrue/spec.json +++ b/src/system/core/control/IsTrue/spec.json @@ -38,12 +38,9 @@ "icon": "question", "description": "true if `a` is true, false otherwise", "complexity": 5, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "b6694fbe-4fc9-4779-92c6-4ba91c12718f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/Pick/spec.json b/src/system/core/control/Pick/spec.json index 13e3bf480e..bd2c5285cd 100644 --- a/src/system/core/control/Pick/spec.json +++ b/src/system/core/control/Pick/spec.json @@ -79,12 +79,9 @@ "icon": "pointer", "description": "conditional picker", "complexity": 11, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "396497e4-f8e7-4573-95c9-a4f186a5cd05", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/PickLesser/spec.json b/src/system/core/control/PickLesser/spec.json index 76e13b211d..e00591e7ef 100644 --- a/src/system/core/control/PickLesser/spec.json +++ b/src/system/core/control/PickLesser/spec.json @@ -50,10 +50,7 @@ "icon": "pointer", "description": "pick the smalest from `a` and `b`", "complexity": 16, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "a": { @@ -97,4 +94,4 @@ "id": "f805b3c6-6c0e-4215-b3d6-91b93dc8a938", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/Plan3/spec.json b/src/system/core/control/Plan3/spec.json index 6fd6292414..52cbaa0c2f 100644 --- a/src/system/core/control/Plan3/spec.json +++ b/src/system/core/control/Plan3/spec.json @@ -26,10 +26,7 @@ "icon": "list-ordered", "description": "output `a` on `0`, then `1`, then `2`", "complexity": 6, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "a": { @@ -74,4 +71,4 @@ "id": "0c78466f-f682-4aca-9a15-d4d2eac5e26d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/SwitchAB/spec.json b/src/system/core/control/SwitchAB/spec.json index 9c4fd7cfb7..8746270b31 100644 --- a/src/system/core/control/SwitchAB/spec.json +++ b/src/system/core/control/SwitchAB/spec.json @@ -78,11 +78,8 @@ "metadata": { "icon": "map-signs", "complexity": 53, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "id": "9c10309b-6ce8-4b92-a0d4-a4b6b2a17a64", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/Wait2/spec.json b/src/system/core/control/Wait2/spec.json index ab78985b27..187ead9611 100644 --- a/src/system/core/control/Wait2/spec.json +++ b/src/system/core/control/Wait2/spec.json @@ -26,10 +26,7 @@ "icon": "git-merge", "description": "wait for `b` and `c` before output `a`", "complexity": 6, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "c": { @@ -74,4 +71,4 @@ "id": "67cca9ec-1976-47bc-b0d7-5b32e059f6f1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/control/WaitAll2/spec.json b/src/system/core/control/WaitAll2/spec.json index 4b8be5f585..a75e497488 100644 --- a/src/system/core/control/WaitAll2/spec.json +++ b/src/system/core/control/WaitAll2/spec.json @@ -38,10 +38,7 @@ "icon": "git-merge", "description": "wait for `b` and `c` before output `a`", "complexity": 6, - "tags": [ - "core", - "control" - ] + "tags": ["core", "control"] }, "inputs": { "a": { @@ -84,4 +81,4 @@ "id": "349eb1a9-85ae-4fec-93f2-19ba3370b6c3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/extension/SearchDeleteVisits/spec.json b/src/system/core/extension/SearchDeleteVisits/spec.json index 0db2478a2f..4db09f663f 100644 --- a/src/system/core/extension/SearchDeleteVisits/spec.json +++ b/src/system/core/extension/SearchDeleteVisits/spec.json @@ -127,15 +127,11 @@ "metadata": { "icon": "history", "description": "delete all history visits matching `text`", - "tags": [ - "platform", - "extension", - "history" - ], + "tags": ["platform", "extension", "history"], "complexity": 47 }, "id": "dd22949e-ad44-4571-9af4-322a1e194ebe", "private": true, "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/graph/SetUnitInputData/spec.json b/src/system/core/graph/SetUnitInputData/spec.json index a46c0c7645..ab86fba6db 100644 --- a/src/system/core/graph/SetUnitInputData/spec.json +++ b/src/system/core/graph/SetUnitInputData/spec.json @@ -125,12 +125,9 @@ "icon": "circle", "description": "set `graph` `id` unit `name` input pin `data`", "complexity": 5, - "tags": [ - "core", - "graph" - ] + "tags": ["core", "graph"] }, "id": "8a1ca6c0-af60-48cc-86bb-01e4e59598db", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/graph/SetUnitOutputData/spec.json b/src/system/core/graph/SetUnitOutputData/spec.json index 7034a82ad8..a49309bcb4 100644 --- a/src/system/core/graph/SetUnitOutputData/spec.json +++ b/src/system/core/graph/SetUnitOutputData/spec.json @@ -125,12 +125,9 @@ "icon": "circle", "description": "set `graph` `id` unit `name` output pin `data`", "complexity": 5, - "tags": [ - "core", - "graph" - ] + "tags": ["core", "graph"] }, "id": "18e8759a-aa11-11eb-984d-339712a7789d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/iterate/IterateCount/spec.json b/src/system/core/iterate/IterateCount/spec.json index f300244640..92a4f7f26d 100644 --- a/src/system/core/iterate/IterateCount/spec.json +++ b/src/system/core/iterate/IterateCount/spec.json @@ -20,10 +20,7 @@ "icon": "sort-desc", "description": "iteratively increment `count` starting from 0", "complexity": 15, - "tags": [ - "core", - "iterate" - ] + "tags": ["core", "iterate"] }, "inputs": { "a": { @@ -50,4 +47,4 @@ "id": "fb5bb9ea-bf24-4150-b12d-bc4873a153a2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/iterate/IterateCountFrom/spec.json b/src/system/core/iterate/IterateCountFrom/spec.json index eda147cf25..023a8c4f79 100644 --- a/src/system/core/iterate/IterateCountFrom/spec.json +++ b/src/system/core/iterate/IterateCountFrom/spec.json @@ -74,10 +74,7 @@ "icon": "sort-desc", "description": "iteratively increment `count` starting from `init`", "complexity": 13, - "tags": [ - "core", - "iterate" - ] + "tags": ["core", "iterate"] }, "inputs": { "any": { @@ -113,4 +110,4 @@ "id": "9fa0c25b-0675-48dc-80e7-eab1829656bd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/iterate/IterateSumFrom/spec.json b/src/system/core/iterate/IterateSumFrom/spec.json index c81547c77b..be6c19908d 100644 --- a/src/system/core/iterate/IterateSumFrom/spec.json +++ b/src/system/core/iterate/IterateSumFrom/spec.json @@ -46,10 +46,7 @@ "icon": "", "description": "iterate `sum` by adding stream `a` starting `from`", "complexity": 8, - "tags": [ - "core", - "iterate" - ] + "tags": ["core", "iterate"] }, "inputs": { "a": { @@ -85,4 +82,4 @@ "id": "72513267-174e-4ea4-9561-b11dea518af5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/iterate/IterateToggle/spec.json b/src/system/core/iterate/IterateToggle/spec.json index c3c32f02d3..82a0e0ef86 100644 --- a/src/system/core/iterate/IterateToggle/spec.json +++ b/src/system/core/iterate/IterateToggle/spec.json @@ -61,10 +61,7 @@ "icon": "toggle-right", "description": "iteratively toggle `current` value", "complexity": 11, - "tags": [ - "core", - "iterate" - ] + "tags": ["core", "iterate"] }, "inputs": { "init": { @@ -100,4 +97,4 @@ "id": "58c50bb2-569f-4b7a-aba3-176d9ac91d5c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/iterate/IterateWait/spec.json b/src/system/core/iterate/IterateWait/spec.json index b36c89665f..fdf22b6046 100644 --- a/src/system/core/iterate/IterateWait/spec.json +++ b/src/system/core/iterate/IterateWait/spec.json @@ -91,12 +91,9 @@ "icon": "undo", "description": "iterate + wait", "complexity": 8, - "tags": [ - "core", - "iterate" - ] + "tags": ["core", "iterate"] }, "id": "ed5e826a-163c-42cd-8522-e47187decae7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/logic/2BitCondition/spec.json b/src/system/core/logic/2BitCondition/spec.json index 52fa6fa480..fa20580966 100644 --- a/src/system/core/logic/2BitCondition/spec.json +++ b/src/system/core/logic/2BitCondition/spec.json @@ -122,12 +122,9 @@ "icon": "binary", "description": "2 x 2 = 4", "complexity": 21, - "tags": [ - "core", - "logic" - ] + "tags": ["core", "logic"] }, "id": "4433f550-6b85-4827-9aac-18b2c816818c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/logic/50Chance/spec.json b/src/system/core/logic/50Chance/spec.json index ecf272180d..fd38fbe925 100644 --- a/src/system/core/logic/50Chance/spec.json +++ b/src/system/core/logic/50Chance/spec.json @@ -61,12 +61,9 @@ "icon": "random", "description": "50%/50% true/false", "complexity": 8, - "tags": [ - "core", - "logic" - ] + "tags": ["core", "logic"] }, "id": "6c3c8c8f-e383-46bc-ac0c-a294e65040bb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/logic/AndNot/spec.json b/src/system/core/logic/AndNot/spec.json index 37a7306a24..ee9b59465d 100644 --- a/src/system/core/logic/AndNot/spec.json +++ b/src/system/core/logic/AndNot/spec.json @@ -57,12 +57,9 @@ "icon": null, "description": "AND NOT logical operator", "complexity": 8, - "tags": [ - "core", - "logic" - ] + "tags": ["core", "logic"] }, "id": "c059a789-b57c-4c2e-976b-fdbbe8f9993a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/logic/isBetween/spec.json b/src/system/core/logic/isBetween/spec.json index 51119d01d7..6dcdc0ff1d 100644 --- a/src/system/core/logic/isBetween/spec.json +++ b/src/system/core/logic/isBetween/spec.json @@ -130,4 +130,4 @@ "id": "f022d16a-7a47-47c8-8d9b-3278df13bcc5", "system": true, "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/core/loop/Count/spec.json b/src/system/core/loop/Count/spec.json index 7aec4097bd..03845f3ca1 100644 --- a/src/system/core/loop/Count/spec.json +++ b/src/system/core/loop/Count/spec.json @@ -16,10 +16,7 @@ "icon": "sort-desc", "description": "iteratively count `a`, starting from 1", "complexity": 19, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "any": { @@ -46,4 +43,4 @@ "id": "5ebc6dca-25d6-11eb-b3e1-5fd1eeef49f9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/CountFrom/spec.json b/src/system/core/loop/CountFrom/spec.json index 3809848b42..7b30336779 100644 --- a/src/system/core/loop/CountFrom/spec.json +++ b/src/system/core/loop/CountFrom/spec.json @@ -45,10 +45,7 @@ "icon": "sort-desc", "description": "iteratively count `a`, starting from `init`", "complexity": 17, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "any": { @@ -84,4 +81,4 @@ "id": "e087017d-a69a-4a02-ad00-c5263bf47365", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/IsFirst/spec.json b/src/system/core/loop/IsFirst/spec.json index f73707f578..bc291f0fbb 100644 --- a/src/system/core/loop/IsFirst/spec.json +++ b/src/system/core/loop/IsFirst/spec.json @@ -64,10 +64,7 @@ "icon": null, "description": "check whether this is the first element of stream `a`", "complexity": 13, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "a": { @@ -93,4 +90,4 @@ "id": "fb311fff-521b-4066-b830-81d3a50f0f01", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/Loop2/spec.json b/src/system/core/loop/Loop2/spec.json index 8d7a824ac1..65644121c2 100644 --- a/src/system/core/loop/Loop2/spec.json +++ b/src/system/core/loop/Loop2/spec.json @@ -91,10 +91,7 @@ "icon": "undo", "description": "iterate over `a` and `b`", "complexity": 25, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "next a": { @@ -204,4 +201,4 @@ "id": "eee90e0f-522d-4ac4-a0f1-abf5d69a4e26", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/Range/spec.json b/src/system/core/loop/Range/spec.json index f0483a7c03..84355a3c45 100644 --- a/src/system/core/loop/Range/spec.json +++ b/src/system/core/loop/Range/spec.json @@ -80,10 +80,7 @@ "icon": "list-ordered", "description": "count from `a` to `b`, not inclusive", "complexity": 21, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "a": { @@ -96,9 +93,7 @@ "functional": true, "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "b": { @@ -111,9 +106,7 @@ "functional": true, "type": "number", "metadata": { - "examples": [ - "3" - ] + "examples": ["3"] } } }, @@ -150,4 +143,4 @@ "id": "29e43ad7-be5e-437f-8f0f-2df996c8b89c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeBounce/spec.json b/src/system/core/loop/RangeBounce/spec.json index efecc8a309..ce6a6f12a8 100644 --- a/src/system/core/loop/RangeBounce/spec.json +++ b/src/system/core/loop/RangeBounce/spec.json @@ -65,10 +65,7 @@ "icon": "exchange", "description": "count from `a` to `b - 1`, then regressive count from `b - 1` to `a`", "complexity": 49, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "a": { @@ -102,4 +99,4 @@ "id": "343f1382-4d2d-4022-b4b3-139e40ab6627", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeBounceTowards/spec.json b/src/system/core/loop/RangeBounceTowards/spec.json index bd43ef9521..10475b8723 100644 --- a/src/system/core/loop/RangeBounceTowards/spec.json +++ b/src/system/core/loop/RangeBounceTowards/spec.json @@ -135,11 +135,8 @@ "metadata": { "icon": "list-ordered", "complexity": 72, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "id": "d34a9900-e46d-4f23-98bf-485dde71d9a3", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeGrid/spec.json b/src/system/core/loop/RangeGrid/spec.json index 18970bd24f..d0e016eee9 100644 --- a/src/system/core/loop/RangeGrid/spec.json +++ b/src/system/core/loop/RangeGrid/spec.json @@ -197,12 +197,9 @@ "icon": "grid", "description": "for every `i` < `a` and `j` < `b`", "complexity": 27, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "id": "23af575c-176a-451a-b710-a031a5ecb7a2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeRec/spec.json b/src/system/core/loop/RangeRec/spec.json index a03d463ebd..f0f642dbe0 100644 --- a/src/system/core/loop/RangeRec/spec.json +++ b/src/system/core/loop/RangeRec/spec.json @@ -127,10 +127,7 @@ "icon": "list-ordered", "description": "count from `a` to `b`, not inclusive", "complexity": 25, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "b": { @@ -163,4 +160,4 @@ "id": "cc816c77-3ee5-4a84-8f75-c319b53985c3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeReverse/spec.json b/src/system/core/loop/RangeReverse/spec.json index 88f6ac4bbf..a9f74ae81f 100644 --- a/src/system/core/loop/RangeReverse/spec.json +++ b/src/system/core/loop/RangeReverse/spec.json @@ -129,10 +129,7 @@ "icon": "sort-asc", "description": "regressive count from `b - 1` to `a`", "complexity": 43, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "inputs": { "b": { @@ -168,4 +165,4 @@ "id": "7a09c38d-3866-46e3-a03e-112c4cf6d889", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/loop/RangeTowards/spec.json b/src/system/core/loop/RangeTowards/spec.json index 35c0fbf0f6..44c29100e9 100644 --- a/src/system/core/loop/RangeTowards/spec.json +++ b/src/system/core/loop/RangeTowards/spec.json @@ -284,12 +284,9 @@ } } }, - "tags": [ - "core", - "loop" - ] + "tags": ["core", "loop"] }, "id": "06203a50-ace2-4c4e-9088-0951342c6b52", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/math/Negate/spec.json b/src/system/core/math/Negate/spec.json index 9da2e3b302..e3322cfd3f 100644 --- a/src/system/core/math/Negate/spec.json +++ b/src/system/core/math/Negate/spec.json @@ -16,10 +16,7 @@ "icon": "minus", "description": "turn `a` into `-a`", "complexity": 5, - "tags": [ - "core", - "math" - ] + "tags": ["core", "math"] }, "inputs": { "a": { @@ -47,4 +44,4 @@ "id": "13cbadb7-bbe5-4c6d-a81e-fc6fe5949e30", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/meta/RandomClass/spec.json b/src/system/core/meta/RandomClass/spec.json index e4b733e7d2..878c329320 100644 --- a/src/system/core/meta/RandomClass/spec.json +++ b/src/system/core/meta/RandomClass/spec.json @@ -72,12 +72,9 @@ "icon": null, "description": "random unit class", "complexity": 51, - "tags": [ - "core", - "meta" - ] + "tags": ["core", "meta"] }, "id": "96c788b0-9bc1-11eb-931a-7312c12cb4c3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/meta/RandonSpecId/spec.json b/src/system/core/meta/RandonSpecId/spec.json index 616448d420..a52d4f38b6 100644 --- a/src/system/core/meta/RandonSpecId/spec.json +++ b/src/system/core/meta/RandonSpecId/spec.json @@ -72,12 +72,9 @@ "icon": null, "description": "random spec id", "complexity": 31, - "tags": [ - "core", - "meta" - ] + "tags": ["core", "meta"] }, "id": "95735a9e-9bc0-11eb-90ec-3bb9082e8fe9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/meta/SpecIds/spec.json b/src/system/core/meta/SpecIds/spec.json index 60f9fd9f44..42dd7196da 100644 --- a/src/system/core/meta/SpecIds/spec.json +++ b/src/system/core/meta/SpecIds/spec.json @@ -73,11 +73,8 @@ "icon": null, "description": "all system spec ids", "complexity": 8, - "tags": [ - "core", - "meta" - ] + "tags": ["core", "meta"] }, "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/method/array/Includes/spec.json b/src/system/core/method/array/Includes/spec.json index a707a5afdb..14e1963fc1 100644 --- a/src/system/core/method/array/Includes/spec.json +++ b/src/system/core/method/array/Includes/spec.json @@ -99,15 +99,11 @@ "metadata": { "icon": "info-square", "complexity": 58, - "tags": [ - "core", - "method", - "array" - ] + "tags": ["core", "method", "array"] }, "component": { "children": [] }, "id": "4d280c6a-3c33-42df-b0e3-ee643fad4c85", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/number/StringToDecimal/spec.json b/src/system/core/number/StringToDecimal/spec.json index 6ed1ec88f1..d91391cf3f 100644 --- a/src/system/core/number/StringToDecimal/spec.json +++ b/src/system/core/number/StringToDecimal/spec.json @@ -42,12 +42,9 @@ "icon": "tilde", "description": "convert a number into a decimal", "complexity": 5, - "tags": [ - "core", - "number" - ] + "tags": ["core", "number"] }, "id": "fb8d58cc-f1a0-11ea-b163-9321d9d8dd29", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/DeleteAll/spec.json b/src/system/core/object/DeleteAll/spec.json index 2a407a3d1c..69468e3646 100644 --- a/src/system/core/object/DeleteAll/spec.json +++ b/src/system/core/object/DeleteAll/spec.json @@ -128,12 +128,9 @@ "icon": "brackets-curly", "description": "delete all `keys` from `obj`", "complexity": 37, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "474d900a-fd28-11ea-b59c-670afe58a912", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/EmptyObject/spec.json b/src/system/core/object/EmptyObject/spec.json index 15629c9f30..7866c78c26 100644 --- a/src/system/core/object/EmptyObject/spec.json +++ b/src/system/core/object/EmptyObject/spec.json @@ -16,10 +16,7 @@ "icon": "brackets-curly", "description": "output an empty object", "complexity": 5, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "any": { @@ -46,4 +43,4 @@ "id": "dc6e6bc0-081b-11eb-baf7-b7383b70c236", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/ForEachKeyValue/spec.json b/src/system/core/object/ForEachKeyValue/spec.json index 302fe0f467..4b85167d14 100644 --- a/src/system/core/object/ForEachKeyValue/spec.json +++ b/src/system/core/object/ForEachKeyValue/spec.json @@ -128,12 +128,9 @@ "icon": "brackets-curly", "description": "output every key value pair of `obj`", "complexity": 40, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "47771360-640a-11ea-8393-d32f60372182", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/GetIfHasKey/spec.json b/src/system/core/object/GetIfHasKey/spec.json index 31161f2d55..d02b55e0ca 100644 --- a/src/system/core/object/GetIfHasKey/spec.json +++ b/src/system/core/object/GetIfHasKey/spec.json @@ -85,10 +85,7 @@ "icon": "brackets-curly", "description": "output get if key is present", "complexity": 12, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "key": { @@ -132,4 +129,4 @@ "id": "8c4f4d5e-2c98-4dfb-aeac-d1e6605a673e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/GetMany/spec.json b/src/system/core/object/GetMany/spec.json index dbe67db67a..98728de769 100644 --- a/src/system/core/object/GetMany/spec.json +++ b/src/system/core/object/GetMany/spec.json @@ -315,12 +315,9 @@ "metadata": { "icon": "question", "description": "create new `obj` by picking `keys` from input `obj`", - "tags": [ - "core", - "object" - ], + "tags": ["core", "object"], "complexity": 46 }, "id": "034734a1-719b-41af-845f-ea50a4964d52", "component": {} -} \ No newline at end of file +} diff --git a/src/system/core/object/GetOrDefault/spec.json b/src/system/core/object/GetOrDefault/spec.json index 377176252d..9393f624b4 100644 --- a/src/system/core/object/GetOrDefault/spec.json +++ b/src/system/core/object/GetOrDefault/spec.json @@ -81,10 +81,7 @@ "icon": "object-get", "description": "if `key` in `obj`, get correspondent value, `default` otherwise", "complexity": 18, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "key": { @@ -139,4 +136,4 @@ "id": "aeac1075-e01f-4d22-b01b-9a77cbba504b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/HasKeys/spec.json b/src/system/core/object/HasKeys/spec.json index b1e48486b5..f2dcc7e648 100644 --- a/src/system/core/object/HasKeys/spec.json +++ b/src/system/core/object/HasKeys/spec.json @@ -135,12 +135,9 @@ "icon": "brackets-curly", "description": "check whether `obj` has all `keys`", "complexity": 43, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "5db358ae-5975-4a4f-8fa4-ec991624508a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/KeyCount/spec.json b/src/system/core/object/KeyCount/spec.json index 9b2ac11d46..c4d3b7cd81 100644 --- a/src/system/core/object/KeyCount/spec.json +++ b/src/system/core/object/KeyCount/spec.json @@ -60,12 +60,9 @@ "icon": "brackets-curly", "description": "`obj` total key count", "complexity": 8, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "8ea084fc-cffb-4b4a-9314-122e3c72554e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/Merge3/spec.json b/src/system/core/object/Merge3/spec.json index 70e3a5ebea..62129c1da6 100644 --- a/src/system/core/object/Merge3/spec.json +++ b/src/system/core/object/Merge3/spec.json @@ -26,10 +26,7 @@ "icon": "brackets-curly", "description": "merge objects `a`, `b` and `c` into `abc`", "complexity": 6, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "a": { @@ -74,4 +71,4 @@ "id": "23b844e3-1cef-4ff7-9e2a-bb3ffb613055", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/Merge4/spec.json b/src/system/core/object/Merge4/spec.json index 394ec54018..3db804b6d2 100644 --- a/src/system/core/object/Merge4/spec.json +++ b/src/system/core/object/Merge4/spec.json @@ -26,10 +26,7 @@ "icon": "brackets-curly", "description": "merge objects `a`, `b`, `c` and `d` into `abcd`", "complexity": 9, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "d": { @@ -87,4 +84,4 @@ "id": "1f1b065a-937b-4630-be80-54edf795eb19", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/MergeDefault/spec.json b/src/system/core/object/MergeDefault/spec.json index 6645878737..61a0ca0126 100644 --- a/src/system/core/object/MergeDefault/spec.json +++ b/src/system/core/object/MergeDefault/spec.json @@ -132,10 +132,7 @@ "icon": "brackets-curly", "description": "merge `a` and `default` if `a` is present, `default` otherwise", "complexity": 8, - "tags": [ - "core", - "object" - ], + "tags": ["core", "object"], "position": { "merge": { "0": { @@ -152,4 +149,4 @@ "id": "304e98ac-bda1-11ea-b416-9746f024148c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/SetIf/spec.json b/src/system/core/object/SetIf/spec.json index 59032e20fe..3988f8a289 100644 --- a/src/system/core/object/SetIf/spec.json +++ b/src/system/core/object/SetIf/spec.json @@ -95,12 +95,9 @@ "icon": "brackets-curly", "description": "set value at `key` to `value` if `test` is true", "complexity": 16, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "946701f6-7dd4-11ea-a1aa-67938c0c6214", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/SetIfOrDefault/spec.json b/src/system/core/object/SetIfOrDefault/spec.json index 8b756dab54..75042629a7 100644 --- a/src/system/core/object/SetIfOrDefault/spec.json +++ b/src/system/core/object/SetIfOrDefault/spec.json @@ -113,12 +113,9 @@ "icon": "brackets-curly", "description": "set value at `key` to `value` if `test` is defined and true or to `default` otherwise", "complexity": 22, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "c0b85780-7e99-11ea-9a99-879f3f411ebd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/Tag/spec.json b/src/system/core/object/Tag/spec.json index 1cbfd17893..5ddc260446 100644 --- a/src/system/core/object/Tag/spec.json +++ b/src/system/core/object/Tag/spec.json @@ -16,10 +16,7 @@ "icon": "tag", "description": "create a single entry object with key `k` and value `v`", "complexity": 5, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "k": { @@ -55,4 +52,4 @@ "id": "5480c89e-31ef-4fdb-b232-60f25b3e36f3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/object/local/GetLocal/spec.json b/src/system/core/object/local/GetLocal/spec.json index 8a09ded39e..ecd1b549e0 100644 --- a/src/system/core/object/local/GetLocal/spec.json +++ b/src/system/core/object/local/GetLocal/spec.json @@ -78,4 +78,4 @@ "complexity": 16 }, "id": "ffe53373-f413-45c6-8c14-ac93f7b2f4bf" -} \ No newline at end of file +} diff --git a/src/system/core/object/local/SetLocal/spec.json b/src/system/core/object/local/SetLocal/spec.json index 17c0a4e678..b13f32f650 100644 --- a/src/system/core/object/local/SetLocal/spec.json +++ b/src/system/core/object/local/SetLocal/spec.json @@ -80,4 +80,4 @@ "complexity": 16 }, "id": "26dc57a1-e372-47b0-8d06-1b6cf2056783" -} \ No newline at end of file +} diff --git a/src/system/core/relation/Clamp/spec.json b/src/system/core/relation/Clamp/spec.json index 5805ac2da3..07a8c80961 100644 --- a/src/system/core/relation/Clamp/spec.json +++ b/src/system/core/relation/Clamp/spec.json @@ -26,10 +26,7 @@ "icon": "tilde", "description": "restricts a number to be within a range", "complexity": 8, - "tags": [ - "core", - "relation" - ] + "tags": ["core", "relation"] }, "inputs": { "max": { @@ -74,4 +71,4 @@ "id": "9ef9ff5b-6a1c-444b-8fc0-bfebbec6f4fd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/relation/ValueEquals/spec.json b/src/system/core/relation/ValueEquals/spec.json index be5a42bef2..71c8e72290 100644 --- a/src/system/core/relation/ValueEquals/spec.json +++ b/src/system/core/relation/ValueEquals/spec.json @@ -36,10 +36,7 @@ "icon": "tilde", "description": "check whether an object `o` has key-value `k` `v`", "complexity": 8, - "tags": [ - "core", - "relation" - ] + "tags": ["core", "relation"] }, "inputs": { "value": { @@ -84,4 +81,4 @@ "id": "9df84140-dd90-48b3-a6a7-0651c8b5bfd7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/relation/ValueEqualsOrDefault/spec.json b/src/system/core/relation/ValueEqualsOrDefault/spec.json index d36766c371..d37a97fd5e 100644 --- a/src/system/core/relation/ValueEqualsOrDefault/spec.json +++ b/src/system/core/relation/ValueEqualsOrDefault/spec.json @@ -109,10 +109,7 @@ "icon": "tilde", "description": "check whether an object `o` has key-value `k` `v` or `default` if key is not present", "complexity": 26, - "tags": [ - "core", - "relation" - ] + "tags": ["core", "relation"] }, "inputs": { "value": { @@ -165,4 +162,4 @@ "id": "1de47760-fc93-4ee0-8cdb-f5338a01d4cd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/Concat3/spec.json b/src/system/core/string/Concat3/spec.json index bcbcdfa049..b6cd62ba00 100644 --- a/src/system/core/string/Concat3/spec.json +++ b/src/system/core/string/Concat3/spec.json @@ -26,10 +26,7 @@ "icon": "plus", "description": "concat `a`, `b` and `c`", "complexity": 6, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "a": { @@ -74,4 +71,4 @@ "id": "bb28c9d9-0afd-4ef2-8c5b-41815ea65bf1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/Cut/spec.json b/src/system/core/string/Cut/spec.json index 80b44c8014..1d5db0bf01 100644 --- a/src/system/core/string/Cut/spec.json +++ b/src/system/core/string/Cut/spec.json @@ -64,10 +64,7 @@ "icon": "scissors", "description": "split string `a` `at` index", "complexity": 9, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "a": { @@ -110,4 +107,4 @@ "id": "306fe446-a495-4ae3-a835-34f1468e92fe", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/EmptyString/spec.json b/src/system/core/string/EmptyString/spec.json index 2d7d9d5ae4..fb11ffd812 100644 --- a/src/system/core/string/EmptyString/spec.json +++ b/src/system/core/string/EmptyString/spec.json @@ -26,10 +26,7 @@ "icon": "string", "description": "output an empty string", "complexity": 5, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "inputs": { "any": { @@ -56,4 +53,4 @@ "id": "7c8e8a47-2225-4716-986e-1cb2af3ed3b3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/IsEmpty/spec.json b/src/system/core/string/IsEmpty/spec.json index 37c1dc3a88..f334bb1d7c 100644 --- a/src/system/core/string/IsEmpty/spec.json +++ b/src/system/core/string/IsEmpty/spec.json @@ -32,10 +32,7 @@ "icon": "question", "description": "check whether array `a` is empty", "complexity": 8, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "a": { @@ -62,4 +59,4 @@ "id": "5b497ef5-eff7-45e4-854b-d02da5b89e90", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/IsNotEmpty/spec.json b/src/system/core/string/IsNotEmpty/spec.json index 74e4969ff0..fa12fbbc7d 100644 --- a/src/system/core/string/IsNotEmpty/spec.json +++ b/src/system/core/string/IsNotEmpty/spec.json @@ -26,10 +26,7 @@ "icon": "question", "description": "check whether array `a` is not empty", "complexity": 13, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "a": { @@ -56,4 +53,4 @@ "id": "5f5b12b5-c3b9-460e-a84b-3db4f5d9c483", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/JoinPath/spec.json b/src/system/core/string/JoinPath/spec.json index 893de31546..ca9fb4f2a7 100644 --- a/src/system/core/string/JoinPath/spec.json +++ b/src/system/core/string/JoinPath/spec.json @@ -52,4 +52,4 @@ "complexity": 8 }, "id": "c0418d25-9739-4957-91f5-a835e5d818ec" -} \ No newline at end of file +} diff --git a/src/system/core/string/NStringBuilderFrom/spec.json b/src/system/core/string/NStringBuilderFrom/spec.json index 4c9912fc2d..74d7099459 100644 --- a/src/system/core/string/NStringBuilderFrom/spec.json +++ b/src/system/core/string/NStringBuilderFrom/spec.json @@ -114,10 +114,7 @@ "icon": "string", "description": "build a list of size n", "complexity": 20, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "from": { @@ -164,4 +161,4 @@ "id": "9cab124a-b40d-4614-b032-20b0209e90e3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/NumberToDecimal/spec.json b/src/system/core/string/NumberToDecimal/spec.json index 6d72f88cfd..2c7275b44b 100644 --- a/src/system/core/string/NumberToDecimal/spec.json +++ b/src/system/core/string/NumberToDecimal/spec.json @@ -42,12 +42,9 @@ "icon": "tilde", "description": "convert a number to its decimal string", "complexity": 5, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "id": "a6ab9464-303a-48a4-8b5f-0cd515ab7b8f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/NumberToHex/spec.json b/src/system/core/string/NumberToHex/spec.json index c67699f4d4..3557ac2231 100644 --- a/src/system/core/string/NumberToHex/spec.json +++ b/src/system/core/string/NumberToHex/spec.json @@ -42,12 +42,9 @@ "icon": "tilde", "description": "convert a number to its hexadecimal string", "complexity": 5, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "id": "1a7665a2-2af0-11eb-9fdb-4bdf5feec91c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/RemoveWhitespace/spec.json b/src/system/core/string/RemoveWhitespace/spec.json index 676c09f5ab..e1c0f91227 100644 --- a/src/system/core/string/RemoveWhitespace/spec.json +++ b/src/system/core/string/RemoveWhitespace/spec.json @@ -24,10 +24,7 @@ "icon": "question", "description": "remove all string `str` whitespace", "complexity": 5, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "str": { @@ -54,4 +51,4 @@ "id": "2006f85c-a05c-4c42-9270-591880969578", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/string/Tail/spec.json b/src/system/core/string/Tail/spec.json index 6e636cc940..948ef5d755 100644 --- a/src/system/core/string/Tail/spec.json +++ b/src/system/core/string/Tail/spec.json @@ -15,10 +15,7 @@ "icon": "axe", "description": "output `tail` of string `a`", "complexity": 5, - "tags": [ - "core", - "string" - ] + "tags": ["core", "string"] }, "inputs": { "a": { @@ -45,4 +42,4 @@ "id": "5c9f4a0a-e675-48db-b6c0-5ac6914cdae0", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/Debounce/spec.json b/src/system/core/time/Debounce/spec.json index 1605a62a66..2b4afdf363 100644 --- a/src/system/core/time/Debounce/spec.json +++ b/src/system/core/time/Debounce/spec.json @@ -46,10 +46,7 @@ "icon": "alarm-clock", "description": "output only after stream has stopped for `delay` milliseconds", "complexity": 14, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "inputs": { "ms": { @@ -85,4 +82,4 @@ "id": "e55c58b3-8653-4481-b5c9-2a75fce6365a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/Delay/spec.json b/src/system/core/time/Delay/spec.json index 5eadc3f4a9..0e9eb57c6c 100644 --- a/src/system/core/time/Delay/spec.json +++ b/src/system/core/time/Delay/spec.json @@ -31,10 +31,7 @@ } }, "metadata": { - "examples": [ - "500", - "1000" - ] + "examples": ["500", "1000"] }, "functional": true, "type": "number" @@ -65,12 +62,9 @@ "icon": "alarm-clock", "description": "output after `ms` milliseconds", "complexity": 8, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "id": "586fb5b8-4129-4ca1-b0c4-1009485bed95", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/DelayPush/spec.json b/src/system/core/time/DelayPush/spec.json index 49d05c3dd4..41c9d429c1 100644 --- a/src/system/core/time/DelayPush/spec.json +++ b/src/system/core/time/DelayPush/spec.json @@ -49,10 +49,7 @@ }, "type": "number", "metadata": { - "examples": [ - "1000", - "100" - ] + "examples": ["1000", "100"] } }, "a": { @@ -80,12 +77,9 @@ "icon": "alarm-clock", "description": "delay + memory", "complexity": 13, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "id": "8cd6c706-d1d4-11ea-92e1-47577abb9ccf", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/Interval/spec.json b/src/system/core/time/Interval/spec.json index 3c98d916e3..3931f0ded5 100644 --- a/src/system/core/time/Interval/spec.json +++ b/src/system/core/time/Interval/spec.json @@ -15,10 +15,7 @@ "icon": "timer", "description": "output `ms` every once `ms` milliseconds", "complexity": 5, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "inputs": { "ms": { @@ -46,4 +43,4 @@ "id": "bf8dbe66-5dc6-11ea-8283-971f327da584", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/PushDelay/spec.json b/src/system/core/time/PushDelay/spec.json index 5170539e45..32dfe62c6f 100644 --- a/src/system/core/time/PushDelay/spec.json +++ b/src/system/core/time/PushDelay/spec.json @@ -70,12 +70,9 @@ "icon": "alarm-clock", "description": "memory + delay", "complexity": 13, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "id": "66037c2f-d194-478b-866b-b2efb3027de1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/time/Throttle/spec.json b/src/system/core/time/Throttle/spec.json index 59a41620ec..96941e052e 100644 --- a/src/system/core/time/Throttle/spec.json +++ b/src/system/core/time/Throttle/spec.json @@ -61,10 +61,7 @@ "icon": "alarm-clock", "description": "output element from stream every `ms` milliseconds", "complexity": 12, - "tags": [ - "core", - "time" - ] + "tags": ["core", "time"] }, "inputs": { "a": { @@ -100,4 +97,4 @@ "id": "2c3c4a2c-7300-4050-a017-ba25e42497b5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/unit/MergeInput/spec.json b/src/system/core/unit/MergeInput/spec.json index 0c8320d78a..12715eb0a9 100644 --- a/src/system/core/unit/MergeInput/spec.json +++ b/src/system/core/unit/MergeInput/spec.json @@ -154,11 +154,8 @@ "metadata": { "icon": "question", "description": "set each `unit` key value input", - "tags": [ - "core", - "unit" - ], + "tags": ["core", "unit"], "complexity": 61 }, "id": "568638fd-0338-4ad3-a76f-8581c7b3aa44" -} \ No newline at end of file +} diff --git a/src/system/core/util/GetAB/spec.json b/src/system/core/util/GetAB/spec.json index d82a1aab40..87d90d055e 100644 --- a/src/system/core/util/GetAB/spec.json +++ b/src/system/core/util/GetAB/spec.json @@ -38,10 +38,7 @@ "icon": null, "description": "get `a` and `b` from object `ab`", "complexity": 6, - "tags": [ - "core", - "util" - ] + "tags": ["core", "util"] }, "inputs": { "ab": { @@ -76,4 +73,4 @@ "id": "40555189-33ef-48b6-af8a-5ab4805b9a1f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/util/MergeAB/spec.json b/src/system/core/util/MergeAB/spec.json index 7e9eb9b9ee..a2447ff1da 100644 --- a/src/system/core/util/MergeAB/spec.json +++ b/src/system/core/util/MergeAB/spec.json @@ -53,10 +53,7 @@ "icon": null, "description": "create object `ab` with values `a` and `b`", "complexity": 11, - "tags": [ - "core", - "util" - ] + "tags": ["core", "util"] }, "inputs": { "a": { @@ -92,4 +89,4 @@ "id": "4e54703e-08bc-4537-ba5d-5e697a02be1f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/value/False/spec.json b/src/system/core/value/False/spec.json index 2198e71fd0..62095c1952 100644 --- a/src/system/core/value/False/spec.json +++ b/src/system/core/value/False/spec.json @@ -16,10 +16,7 @@ "icon": "x-circle", "description": "output false", "complexity": 5, - "tags": [ - "core", - "value" - ] + "tags": ["core", "value"] }, "inputs": { "any": { @@ -46,4 +43,4 @@ "id": "b4d20f6f-32dc-4d04-97d6-69518976bdea", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/core/value/True/spec.json b/src/system/core/value/True/spec.json index 228821518d..03c69060ad 100644 --- a/src/system/core/value/True/spec.json +++ b/src/system/core/value/True/spec.json @@ -16,10 +16,7 @@ "icon": "check-circle", "description": "output true", "complexity": 5, - "tags": [ - "core", - "value" - ] + "tags": ["core", "value"] }, "inputs": { "any": { @@ -46,4 +43,4 @@ "id": "984c4a44-86c7-464c-ad48-4759598c3be3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/JSON/Format/spec.json b/src/system/f/JSON/Format/spec.json index 5c2c799d9c..946b7e9452 100644 --- a/src/system/f/JSON/Format/spec.json +++ b/src/system/f/JSON/Format/spec.json @@ -8,10 +8,7 @@ "type": "string|number", "optional": false, "metadata": { - "examples": [ - "0", - "2" - ] + "examples": ["0", "2"] } } }, @@ -24,13 +21,10 @@ "icon": "string", "description": "converts a JSON value to a string", "complexity": 3, - "tags": [ - "f", - "JSON" - ] + "tags": ["f", "JSON"] }, "id": "58900411-ccc3-4c5a-86df-86efe6b7e30e", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/JSON/ParseJSON/spec.json b/src/system/f/JSON/ParseJSON/spec.json index 4a4d1e0227..2c6ddf4842 100644 --- a/src/system/f/JSON/ParseJSON/spec.json +++ b/src/system/f/JSON/ParseJSON/spec.json @@ -14,13 +14,10 @@ "icon": "tilde", "description": "converts a JSON string into a data", "complexity": 3, - "tags": [ - "f", - "JSON" - ] + "tags": ["f", "JSON"] }, "id": "563e92be-ad5e-4a61-a718-9249c3eac51d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/JSON/Stringify/spec.json b/src/system/f/JSON/Stringify/spec.json index 6ef999ea8d..524075ef99 100644 --- a/src/system/f/JSON/Stringify/spec.json +++ b/src/system/f/JSON/Stringify/spec.json @@ -14,13 +14,10 @@ "icon": "string", "description": "converts a JSON value to a string", "complexity": 3, - "tags": [ - "f", - "JSON" - ] + "tags": ["f", "JSON"] }, "id": "ee184ea6-3c80-4119-919e-290620aafab0", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/arithmetic/Add/spec.json b/src/system/f/arithmetic/Add/spec.json index f77947c43e..0bdea560d9 100644 --- a/src/system/f/arithmetic/Add/spec.json +++ b/src/system/f/arithmetic/Add/spec.json @@ -17,13 +17,10 @@ "icon": "plus", "description": "add `a` and `b`", "complexity": 3, - "tags": [ - "f", - "arithmetic" - ] + "tags": ["f", "arithmetic"] }, "id": "6fe452f2-2ec1-4ee2-887d-751c3697e6bf", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/arithmetic/Divide/spec.json b/src/system/f/arithmetic/Divide/spec.json index fe503f6812..5924dbde8c 100644 --- a/src/system/f/arithmetic/Divide/spec.json +++ b/src/system/f/arithmetic/Divide/spec.json @@ -17,13 +17,10 @@ "icon": "divide", "description": "divide `a` by `b`", "complexity": 3, - "tags": [ - "f", - "arithmetic" - ] + "tags": ["f", "arithmetic"] }, "id": "158d85eb-28b8-4355-b637-28a7ec751233", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/arithmetic/Multiply/spec.json b/src/system/f/arithmetic/Multiply/spec.json index 62b0115c6f..1a219d82d1 100644 --- a/src/system/f/arithmetic/Multiply/spec.json +++ b/src/system/f/arithmetic/Multiply/spec.json @@ -17,13 +17,10 @@ "icon": "x", "description": "multiply `a` and `b`", "complexity": 3, - "tags": [ - "f", - "arithmetic" - ] + "tags": ["f", "arithmetic"] }, "id": "872be100-f4dc-4246-8eea-6e3da31137b7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/arithmetic/Remainder/spec.json b/src/system/f/arithmetic/Remainder/spec.json index 8a86d2a2ab..bc57257d53 100644 --- a/src/system/f/arithmetic/Remainder/spec.json +++ b/src/system/f/arithmetic/Remainder/spec.json @@ -17,13 +17,10 @@ "icon": "percent", "description": "remainder of `a` divided by `b`", "complexity": 3, - "tags": [ - "f", - "arithmetic" - ] + "tags": ["f", "arithmetic"] }, "id": "c5c05c85-f4c1-4b67-ab85-08b61fe67531", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/arithmetic/Subtract/spec.json b/src/system/f/arithmetic/Subtract/spec.json index 753afbf222..38e99c82fd 100644 --- a/src/system/f/arithmetic/Subtract/spec.json +++ b/src/system/f/arithmetic/Subtract/spec.json @@ -17,13 +17,10 @@ "icon": "minus", "description": "subtract `b` from `a`", "complexity": 3, - "tags": [ - "f", - "arithmetic" - ] + "tags": ["f", "arithmetic"] }, "id": "fa94b179-00e3-4ed1-814e-7938324a833f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Append/spec.json b/src/system/f/array/Append/spec.json index c3459e22d5..2adb8c6d1f 100644 --- a/src/system/f/array/Append/spec.json +++ b/src/system/f/array/Append/spec.json @@ -17,13 +17,10 @@ "icon": "chevrons-left", "description": "append element `b` to an array `a`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "fa7721eb-1dd6-482e-8c7a-6da35b5f88bc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/At/spec.json b/src/system/f/array/At/spec.json index e7bdad5bef..b6ed51a68a 100644 --- a/src/system/f/array/At/spec.json +++ b/src/system/f/array/At/spec.json @@ -26,13 +26,10 @@ "icon": "info-square", "description": "`a` element at position `i`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "79f01345-4ed7-47e2-8882-fa3bd282c98a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Behead/spec.json b/src/system/f/array/Behead/spec.json index c4cb11eecb..a5f0d79ade 100644 --- a/src/system/f/array/Behead/spec.json +++ b/src/system/f/array/Behead/spec.json @@ -17,13 +17,10 @@ "icon": "axe", "description": "remove the first element `head` of `a`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "e9831075-2e62-43a4-84af-0653f7e707a9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Concat/spec.json b/src/system/f/array/Concat/spec.json index 690c5afc41..c7acbe30b5 100644 --- a/src/system/f/array/Concat/spec.json +++ b/src/system/f/array/Concat/spec.json @@ -17,13 +17,10 @@ "icon": "chevrons-left", "description": "concatenate arrays `a` and `b` into a single one", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "f57f5318-f26f-4b9f-b9e2-dcc022ad7728", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Fill/spec.json b/src/system/f/array/Fill/spec.json index 5ae6e8e0c5..6d02110d30 100644 --- a/src/system/f/array/Fill/spec.json +++ b/src/system/f/array/Fill/spec.json @@ -23,13 +23,10 @@ "icon": "info-square", "description": "fill array `a` from `start` to `end` with `value`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "609ec474-cd6b-4646-b9b9-5ef4bbb378a7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/IndexOf/spec.json b/src/system/f/array/IndexOf/spec.json index cf144d2259..d27b7d4c05 100644 --- a/src/system/f/array/IndexOf/spec.json +++ b/src/system/f/array/IndexOf/spec.json @@ -17,13 +17,10 @@ "icon": "info-square", "description": "find index `i` of the element `a` on array `a[]` or -1 if not found", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "9741cb34-bc83-4ebb-a854-edbe9eb3468f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Init/spec.json b/src/system/f/array/Init/spec.json index 02abd1d4f2..2a0e11244a 100644 --- a/src/system/f/array/Init/spec.json +++ b/src/system/f/array/Init/spec.json @@ -17,13 +17,10 @@ "icon": "info-square", "description": "create an array of size `n` filled with value `v`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "32b27ad8-51d9-4767-8b9a-09da5a34f39d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Insert/spec.json b/src/system/f/array/Insert/spec.json index 12b1079a6b..6a9f25e91c 100644 --- a/src/system/f/array/Insert/spec.json +++ b/src/system/f/array/Insert/spec.json @@ -20,13 +20,10 @@ "icon": "info-square", "description": "insert `b` element into `a` at index `i`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "7014b684-ce58-4b6a-989d-bd6c047daab5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Join/spec.json b/src/system/f/array/Join/spec.json index 916e88fae4..d1d0f2f011 100644 --- a/src/system/f/array/Join/spec.json +++ b/src/system/f/array/Join/spec.json @@ -17,13 +17,10 @@ "icon": "plus", "description": "join array `a` elements into `str` with separator `sep`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "104777ec-afb9-4513-9974-53b5528f0d15", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Length/spec.json b/src/system/f/array/Length/spec.json index 36faa6ed39..a3f314ab49 100644 --- a/src/system/f/array/Length/spec.json +++ b/src/system/f/array/Length/spec.json @@ -14,13 +14,10 @@ "icon": "ruler", "description": "size of array `a`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "46d98b47-0fa4-409e-bbc6-bb3165d863d8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Pop/spec.json b/src/system/f/array/Pop/spec.json index 2f95fdfab7..41cc9c45e5 100644 --- a/src/system/f/array/Pop/spec.json +++ b/src/system/f/array/Pop/spec.json @@ -17,13 +17,10 @@ "icon": "axe", "description": "remove the `last` element from `a`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "81006022-e4d0-11ea-902a-fbf9fc5c9246", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Prepend/spec.json b/src/system/f/array/Prepend/spec.json index d8fa8b78fe..fd17febf84 100644 --- a/src/system/f/array/Prepend/spec.json +++ b/src/system/f/array/Prepend/spec.json @@ -17,13 +17,10 @@ "icon": "chevrons-left", "description": "prepend element `b` to `a`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "d9cf4224-39df-434a-85a6-2b143330cbab", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Put/spec.json b/src/system/f/array/Put/spec.json index 0818956eb2..6474b8a3e6 100644 --- a/src/system/f/array/Put/spec.json +++ b/src/system/f/array/Put/spec.json @@ -20,13 +20,10 @@ "icon": "chevrons-left", "description": "set element of `a` at position `i` to `v`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "22622778-d64f-47e7-8ceb-d175edcc6562", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Remove/spec.json b/src/system/f/array/Remove/spec.json index 8ce96458d3..0129e268ca 100644 --- a/src/system/f/array/Remove/spec.json +++ b/src/system/f/array/Remove/spec.json @@ -23,13 +23,10 @@ "icon": "scissors", "description": "remove `count` elements from array `a` starting at `start`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "f69e88e3-b2c2-481b-b036-a5c0ed7ccccb", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Slice/spec.json b/src/system/f/array/Slice/spec.json index 916644898f..651b526f30 100644 --- a/src/system/f/array/Slice/spec.json +++ b/src/system/f/array/Slice/spec.json @@ -20,13 +20,10 @@ "icon": "scissors", "description": "extracts a section from string `a` from `begin` to `end`", "complexity": 3, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "c6bf897a-4970-4284-bea2-b4a86186f828", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/array/Sort/spec.json b/src/system/f/array/Sort/spec.json index f90ef7247b..83542af8c2 100644 --- a/src/system/f/array/Sort/spec.json +++ b/src/system/f/array/Sort/spec.json @@ -23,13 +23,10 @@ "icon": "list-ordered", "description": "sort array `a` by comparing its elements", "complexity": 4, - "tags": [ - "f", - "array" - ] + "tags": ["f", "array"] }, "id": "d4572f1c-83d3-4a3d-be76-fa16578286d2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/bitwise/And/spec.json b/src/system/f/bitwise/And/spec.json index 446f788853..f3855a3802 100644 --- a/src/system/f/bitwise/And/spec.json +++ b/src/system/f/bitwise/And/spec.json @@ -17,13 +17,10 @@ "icon": "binary", "description": "bitwise AND operator", "complexity": 3, - "tags": [ - "f", - "bitwise" - ] + "tags": ["f", "bitwise"] }, "id": "be6801c0-02e2-4f76-bcad-b68c80991fad", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/bitwise/Not/spec.json b/src/system/f/bitwise/Not/spec.json index 71ecc0974a..bc9f49c089 100644 --- a/src/system/f/bitwise/Not/spec.json +++ b/src/system/f/bitwise/Not/spec.json @@ -14,13 +14,10 @@ "icon": "exclamation", "description": "bitwise NOT operator", "complexity": 3, - "tags": [ - "f", - "bitwise" - ] + "tags": ["f", "bitwise"] }, "id": "62d0c3e2-cf8b-4415-acfb-cf31739adce5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/bitwise/Or/spec.json b/src/system/f/bitwise/Or/spec.json index a1c2f3c295..08a50e662d 100644 --- a/src/system/f/bitwise/Or/spec.json +++ b/src/system/f/bitwise/Or/spec.json @@ -17,13 +17,10 @@ "icon": "binary", "description": "bitwise OR operator", "complexity": 3, - "tags": [ - "f", - "bitwise" - ] + "tags": ["f", "bitwise"] }, "id": "0d656c2e-eb10-45f0-b236-f8916492ca86", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/bitwise/XOr/spec.json b/src/system/f/bitwise/XOr/spec.json index e7124fe57f..a0fdef4583 100644 --- a/src/system/f/bitwise/XOr/spec.json +++ b/src/system/f/bitwise/XOr/spec.json @@ -17,13 +17,10 @@ "icon": "binary", "description": "bitwise XOR operator", "complexity": 3, - "tags": [ - "f", - "bitwise" - ] + "tags": ["f", "bitwise"] }, "id": "3d59edf2-5fca-4475-9df0-d876e14f990d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/Equals/spec.json b/src/system/f/comparisson/Equals/spec.json index fec4a9bf55..c776dc48d3 100644 --- a/src/system/f/comparisson/Equals/spec.json +++ b/src/system/f/comparisson/Equals/spec.json @@ -17,13 +17,10 @@ "icon": "equal", "description": "equality", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "85204bf6-6692-4686-a785-23127c0594b5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/GreaterThan/spec.json b/src/system/f/comparisson/GreaterThan/spec.json index 0248e2a322..64ca3a5baf 100644 --- a/src/system/f/comparisson/GreaterThan/spec.json +++ b/src/system/f/comparisson/GreaterThan/spec.json @@ -17,13 +17,10 @@ "icon": "greater-than", "description": "greater than operator", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "1651ce6b-4db0-4787-9edf-f770b72d253c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/GreaterThanEqual/spec.json b/src/system/f/comparisson/GreaterThanEqual/spec.json index 422d51e344..6c5f53b852 100644 --- a/src/system/f/comparisson/GreaterThanEqual/spec.json +++ b/src/system/f/comparisson/GreaterThanEqual/spec.json @@ -17,13 +17,10 @@ "icon": "greater-than-equal", "description": "greater than equal operator", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "c9e06816-0d2b-43ec-b7c8-d07563e19b6b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/LessThan/spec.json b/src/system/f/comparisson/LessThan/spec.json index 6c1e9139b6..50e7b76d21 100644 --- a/src/system/f/comparisson/LessThan/spec.json +++ b/src/system/f/comparisson/LessThan/spec.json @@ -17,13 +17,10 @@ "icon": "less-than", "description": "less than operator", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "82c3cf2a-0855-4c6d-a4c4-807b0ce1fd35", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/LessThanEqual/spec.json b/src/system/f/comparisson/LessThanEqual/spec.json index 7579be68b7..9aa16a7250 100644 --- a/src/system/f/comparisson/LessThanEqual/spec.json +++ b/src/system/f/comparisson/LessThanEqual/spec.json @@ -17,13 +17,10 @@ "icon": "less-than-equal", "description": "less than or equal to operator", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "e13f3090-62a6-4a3b-8401-c571cbf03526", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/comparisson/NotEqual/spec.json b/src/system/f/comparisson/NotEqual/spec.json index 9dd248916c..3702e89eae 100644 --- a/src/system/f/comparisson/NotEqual/spec.json +++ b/src/system/f/comparisson/NotEqual/spec.json @@ -17,13 +17,10 @@ "icon": "equal-not", "description": "inequality", "complexity": 3, - "tags": [ - "f", - "comparisson" - ] + "tags": ["f", "comparisson"] }, "id": "bda175a9-a9d2-4282-9b50-1b008ae8a807", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Constant/spec.json b/src/system/f/control/Constant/spec.json index 3bc1624413..5a16c950d5 100644 --- a/src/system/f/control/Constant/spec.json +++ b/src/system/f/control/Constant/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "identity operator", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "ff976ac8-c54f-4d37-8c7d-089c271cb433", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Default/spec.json b/src/system/f/control/Default/spec.json index db821dcdf2..299ec33d8b 100644 --- a/src/system/f/control/Default/spec.json +++ b/src/system/f/control/Default/spec.json @@ -17,13 +17,10 @@ "icon": "grip-lines-vertical", "description": "output `a` if present, `default` if present, otherwise", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "329920ae-7e91-11ea-988e-1b12488c8b89", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Identity/spec.json b/src/system/f/control/Identity/spec.json index a4644bd79e..d9fe33703e 100644 --- a/src/system/f/control/Identity/spec.json +++ b/src/system/f/control/Identity/spec.json @@ -14,13 +14,10 @@ "icon": "unit", "description": "output `a`", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "260d774e-bc89-4027-aa92-cb1985fb312b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/If/spec.json b/src/system/f/control/If/spec.json index 1812cdd07a..f163738733 100644 --- a/src/system/f/control/If/spec.json +++ b/src/system/f/control/If/spec.json @@ -17,13 +17,10 @@ "icon": "filter", "description": "conditional filter", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "06bc3983-44b0-43d6-b041-2e9218ea89c8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Iterate/spec.json b/src/system/f/control/Iterate/spec.json index ee44b174f1..01ae177c89 100644 --- a/src/system/f/control/Iterate/spec.json +++ b/src/system/f/control/Iterate/spec.json @@ -20,13 +20,10 @@ "icon": "undo", "description": "interatively update a single value", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "8a2b756a-25e4-11eb-860d-1f34c850b992", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Loop/spec.json b/src/system/f/control/Loop/spec.json index 549a7397aa..2693ebf172 100644 --- a/src/system/f/control/Loop/spec.json +++ b/src/system/f/control/Loop/spec.json @@ -10,10 +10,7 @@ "init": { "type": "", "metadata": { - "examples": [ - "0", - "3" - ] + "examples": ["0", "3"] } } }, @@ -33,13 +30,10 @@ "icon": "undo", "description": "for loop", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "3432494e-fab6-4e9d-a846-0c48a7c429cd", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Memory/spec.json b/src/system/f/control/Memory/spec.json index 01cdd191f2..9679948b49 100644 --- a/src/system/f/control/Memory/spec.json +++ b/src/system/f/control/Memory/spec.json @@ -14,13 +14,10 @@ "icon": "triangle", "description": "data holder", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "49e11645-c25d-4bf7-923d-56817f67b686", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Plan/spec.json b/src/system/f/control/Plan/spec.json index 1214cb5507..75e0facbf0 100644 --- a/src/system/f/control/Plan/spec.json +++ b/src/system/f/control/Plan/spec.json @@ -17,13 +17,10 @@ "icon": "list-ordered", "description": "output `a` on `0`, then `1`", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "36329d25-218d-48a5-a06c-1e0525da504f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Throw/spec.json b/src/system/f/control/Throw/spec.json index a172345468..005662c4fa 100644 --- a/src/system/f/control/Throw/spec.json +++ b/src/system/f/control/Throw/spec.json @@ -10,13 +10,10 @@ "icon": "alert-circle", "description": "throw message", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "99657eb7-fb94-474e-b03d-4b08c537c0a2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Transistor/spec.json b/src/system/f/control/Transistor/spec.json index 31501c2aa3..d0e966d5e6 100644 --- a/src/system/f/control/Transistor/spec.json +++ b/src/system/f/control/Transistor/spec.json @@ -17,13 +17,10 @@ "icon": "git-merge", "description": "let `a` pass only if `b` is true without consuming `b`", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "6d4b8791-95f8-4979-8290-ade2adf4f192", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Void/spec.json b/src/system/f/control/Void/spec.json index 4dce23d5a4..3f765709df 100644 --- a/src/system/f/control/Void/spec.json +++ b/src/system/f/control/Void/spec.json @@ -10,13 +10,10 @@ "icon": "slash", "description": "send data to the void", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "9d853ef5-3fff-474d-a951-6af4237cf4c4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/control/Wait/spec.json b/src/system/f/control/Wait/spec.json index 93d9a7eb59..41c11b8cd1 100644 --- a/src/system/f/control/Wait/spec.json +++ b/src/system/f/control/Wait/spec.json @@ -17,13 +17,10 @@ "icon": "git-merge", "description": "wait for `b` before output `a`", "complexity": 3, - "tags": [ - "f", - "control" - ] + "tags": ["f", "control"] }, "id": "ba38b0af-80c0-49e4-9e39-864396964ccc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/data/Evaluate/spec.json b/src/system/f/data/Evaluate/spec.json index b65e9ce3b1..cd0e9d2e80 100644 --- a/src/system/f/data/Evaluate/spec.json +++ b/src/system/f/data/Evaluate/spec.json @@ -14,13 +14,10 @@ "icon": "wave-triangle", "description": "string to value", "complexity": 18, - "tags": [ - "f", - "data" - ] + "tags": ["f", "data"] }, "id": "69323dab-b425-4a2a-b1c7-d7efc723327a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/data/Stringify/spec.json b/src/system/f/data/Stringify/spec.json index c403cecb07..de11cc7e69 100644 --- a/src/system/f/data/Stringify/spec.json +++ b/src/system/f/data/Stringify/spec.json @@ -14,13 +14,10 @@ "icon": "string", "description": "value to string", "complexity": 3, - "tags": [ - "f", - "data" - ] + "tags": ["f", "data"] }, "id": "2b24877a-3221-4288-9f59-efbf29964368", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/data/TypeOf/spec.json b/src/system/f/data/TypeOf/spec.json index b6de57ad0d..28c8f2737e 100644 --- a/src/system/f/data/TypeOf/spec.json +++ b/src/system/f/data/TypeOf/spec.json @@ -14,13 +14,10 @@ "icon": "tilde", "description": "identify data type", "complexity": 3, - "tags": [ - "f", - "data" - ] + "tags": ["f", "data"] }, "id": "63605ea1-40e7-47db-9f8f-313dffa6e3c9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/date/Now/spec.json b/src/system/f/date/Now/spec.json index 7f4d9c3972..0ec07ffab8 100644 --- a/src/system/f/date/Now/spec.json +++ b/src/system/f/date/Now/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "identity operator", "complexity": 3, - "tags": [ - "f", - "date" - ] + "tags": ["f", "date"] }, "id": "939ed573-82b8-4385-ac62-88934e5b76c9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/graph/AddUnit/spec.json b/src/system/f/graph/AddUnit/spec.json index d38ec0ec98..6e1c1f79e2 100644 --- a/src/system/f/graph/AddUnit/spec.json +++ b/src/system/f/graph/AddUnit/spec.json @@ -17,13 +17,10 @@ "icon": "circle", "description": "add unit of `class` to `graph`", "complexity": 3, - "tags": [ - "f", - "graph" - ] + "tags": ["f", "graph"] }, "id": "b80d4b5a-40e9-11eb-a2bb-1777d47bf9ae", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/graph/AddUnit0/spec.json b/src/system/f/graph/AddUnit0/spec.json index 0d41bc8036..c7e536a555 100644 --- a/src/system/f/graph/AddUnit0/spec.json +++ b/src/system/f/graph/AddUnit0/spec.json @@ -20,13 +20,10 @@ "icon": "circle", "description": "add unit of `class` to `graph`", "complexity": 18, - "tags": [ - "f", - "graph" - ] + "tags": ["f", "graph"] }, "id": "73967b68-9b4b-44c1-8a19-f505551f6c53", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/graph/RemoveUnit/spec.json b/src/system/f/graph/RemoveUnit/spec.json index 1e371703b9..d1ac892d94 100644 --- a/src/system/f/graph/RemoveUnit/spec.json +++ b/src/system/f/graph/RemoveUnit/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "remove unit `id` from `graph`", "complexity": 18, - "tags": [ - "f", - "graph" - ] + "tags": ["f", "graph"] }, "id": "c47d84b2-4207-11eb-a064-a3633d64f05d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/graph/SetUnitInputData/spec.json b/src/system/f/graph/SetUnitInputData/spec.json index ceace388f3..9f4fe6402f 100644 --- a/src/system/f/graph/SetUnitInputData/spec.json +++ b/src/system/f/graph/SetUnitInputData/spec.json @@ -23,13 +23,10 @@ "icon": "circle", "description": "set `graph` `id` unit `type` `name` pin `data`", "complexity": 3, - "tags": [ - "f", - "graph" - ] + "tags": ["f", "graph"] }, "id": "76e99304-aa0c-11eb-9bfa-07725a1b4287", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/id/UUID/spec.json b/src/system/f/id/UUID/spec.json index e0bd5c8f54..5a346aba3b 100644 --- a/src/system/f/id/UUID/spec.json +++ b/src/system/f/id/UUID/spec.json @@ -14,13 +14,10 @@ "icon": "info", "description": "output a random uuid", "complexity": 3, - "tags": [ - "f", - "id" - ] + "tags": ["f", "id"] }, "id": "3e5c5856-c721-11ea-b7af-07a978a65cdc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/logic/And/spec.json b/src/system/f/logic/And/spec.json index 1392a09d4e..5721088710 100644 --- a/src/system/f/logic/And/spec.json +++ b/src/system/f/logic/And/spec.json @@ -17,13 +17,10 @@ "icon": "question", "description": "AND logical operator", "complexity": 3, - "tags": [ - "f", - "logic" - ] + "tags": ["f", "logic"] }, "id": "407640f7-f1c3-4297-a5ce-baff357a6d31", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/logic/Not/spec.json b/src/system/f/logic/Not/spec.json index 7a0e957d5c..a3da4e5b7e 100644 --- a/src/system/f/logic/Not/spec.json +++ b/src/system/f/logic/Not/spec.json @@ -14,13 +14,10 @@ "icon": "exclamation", "description": "NOT logic operator", "complexity": 3, - "tags": [ - "f", - "logic" - ] + "tags": ["f", "logic"] }, "id": "7d02d638-a311-4ea8-a0c0-d45baf739e0d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/logic/Or/spec.json b/src/system/f/logic/Or/spec.json index b1264c3e9a..40f3f2bcc4 100644 --- a/src/system/f/logic/Or/spec.json +++ b/src/system/f/logic/Or/spec.json @@ -17,13 +17,10 @@ "icon": "grip-lines-vertical", "description": "OR logical operator", "complexity": 3, - "tags": [ - "f", - "logic" - ] + "tags": ["f", "logic"] }, "id": "62a19cd6-04bd-4e46-a72e-4fa3516ad3fa", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Abs/spec.json b/src/system/f/math/Abs/spec.json index ed75666c9a..932f0bbfba 100644 --- a/src/system/f/math/Abs/spec.json +++ b/src/system/f/math/Abs/spec.json @@ -14,13 +14,10 @@ "icon": "value-absolute", "description": "absolute value of `a`", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "fafc23ce-a259-11eb-b14e-af9d1f579af4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Ceil/spec.json b/src/system/f/math/Ceil/spec.json index 1f385ddba6..3b501145ff 100644 --- a/src/system/f/math/Ceil/spec.json +++ b/src/system/f/math/Ceil/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "identity operator", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "e90dbb0a-880b-42f8-9488-7728910ba7e5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Cos/spec.json b/src/system/f/math/Cos/spec.json index e023c5840d..607713b495 100644 --- a/src/system/f/math/Cos/spec.json +++ b/src/system/f/math/Cos/spec.json @@ -14,13 +14,10 @@ "icon": "ruler", "description": "cosine of angle `a` in rad", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "62af44dc-17d6-459a-b95f-3b8ce5b48856", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Floor/spec.json b/src/system/f/math/Floor/spec.json index 7912ab5036..1d4586f86d 100644 --- a/src/system/f/math/Floor/spec.json +++ b/src/system/f/math/Floor/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "identity operator", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "3217edcf-2fa1-4dc4-af7c-d6fb607c888d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Log/spec.json b/src/system/f/math/Log/spec.json index 63c4d35a2a..42bdc8fcd2 100644 --- a/src/system/f/math/Log/spec.json +++ b/src/system/f/math/Log/spec.json @@ -14,13 +14,10 @@ "icon": "exponential", "description": "log of `a` in natural base", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "f68b0b2a-7967-445e-86a8-99ebc1e2144c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Max/spec.json b/src/system/f/math/Max/spec.json index 1d802954e7..30592eef4a 100644 --- a/src/system/f/math/Max/spec.json +++ b/src/system/f/math/Max/spec.json @@ -17,13 +17,10 @@ "icon": "arrow-up", "description": "the biggest between `a` and `b`", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "e857c770-5a98-4f8d-a0e1-b6cb126071ed", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Min/spec.json b/src/system/f/math/Min/spec.json index 993d7fb746..b0ce152dab 100644 --- a/src/system/f/math/Min/spec.json +++ b/src/system/f/math/Min/spec.json @@ -17,13 +17,10 @@ "icon": "arrow-down", "description": "the smallest between `a` and `b`", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "4e63c320-f5a5-4f65-982e-632b5adafa29", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/PI/spec.json b/src/system/f/math/PI/spec.json index bb570a1a05..e64327b52c 100644 --- a/src/system/f/math/PI/spec.json +++ b/src/system/f/math/PI/spec.json @@ -14,13 +14,10 @@ "icon": "pi", "description": "the ratio of the circumference of a circle to its diameter", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "3256e26d-8495-4c9d-8998-5b026691231d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Pow/spec.json b/src/system/f/math/Pow/spec.json index bfbbaa90ca..590c195ca3 100644 --- a/src/system/f/math/Pow/spec.json +++ b/src/system/f/math/Pow/spec.json @@ -17,13 +17,10 @@ "icon": "exponential", "description": "`a` to the power of `b`", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "ef4c1d0a-bda1-484e-8fcb-0fdbde195778", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Random/spec.json b/src/system/f/math/Random/spec.json index 92e9736032..0810c64ccd 100644 --- a/src/system/f/math/Random/spec.json +++ b/src/system/f/math/Random/spec.json @@ -14,13 +14,10 @@ "icon": "random", "description": "random number between 0 and 1, non inclusive", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "2b59f375-ef06-4ec7-80c2-71a53171ec67", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/SQRT/spec.json b/src/system/f/math/SQRT/spec.json index 645b0ee55e..fc1cecce0e 100644 --- a/src/system/f/math/SQRT/spec.json +++ b/src/system/f/math/SQRT/spec.json @@ -14,13 +14,10 @@ "icon": "ruler", "description": "square root of `a`", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "530e83d2-1d61-11eb-b472-53e545a06c92", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Sign/spec.json b/src/system/f/math/Sign/spec.json index c4cc01f042..ffaa100cdf 100644 --- a/src/system/f/math/Sign/spec.json +++ b/src/system/f/math/Sign/spec.json @@ -14,13 +14,10 @@ "icon": "plus-minus", "description": "sign of a", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "1a59348c-a25a-11eb-8afe-8bedb0732a89", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/math/Sin/spec.json b/src/system/f/math/Sin/spec.json index f5b5056e98..17f894e9c9 100644 --- a/src/system/f/math/Sin/spec.json +++ b/src/system/f/math/Sin/spec.json @@ -14,13 +14,10 @@ "icon": "ruler", "description": "sine of angle `a` in rad", "complexity": 3, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "b9f90a95-1bfc-4897-9068-2560743821a3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Bundle/spec.json b/src/system/f/meta/Bundle/spec.json index b8a466e384..3294d05316 100644 --- a/src/system/f/meta/Bundle/spec.json +++ b/src/system/f/meta/Bundle/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{snapshot?:boolean}", "medatata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -23,13 +21,10 @@ "icon": "circle", "description": "get `graph` `bundle`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "13d738b9-401d-43c9-852f-e9611545f5bc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Catch/spec.json b/src/system/f/meta/Catch/spec.json index 6cf05abf0d..6867919606 100644 --- a/src/system/f/meta/Catch/spec.json +++ b/src/system/f/meta/Catch/spec.json @@ -15,13 +15,10 @@ "icon": "circle", "description": "catch all `unit` error", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "2520668c-b279-11ea-ace3-5b84eb02bd7f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Class/spec.json b/src/system/f/meta/Class/spec.json index 218c291b77..6b01f71e61 100644 --- a/src/system/f/meta/Class/spec.json +++ b/src/system/f/meta/Class/spec.json @@ -18,13 +18,10 @@ "icon": "circle", "description": "system `id` of the given unit `class`", "complexity": 18, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "123f2837-76c0-4cb2-8d73-29e66879b181", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/ClassToId/spec.json b/src/system/f/meta/ClassToId/spec.json index cc1e2bbafc..ed44a14470 100644 --- a/src/system/f/meta/ClassToId/spec.json +++ b/src/system/f/meta/ClassToId/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "system `id` of the given unit `class`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "1520b630-93aa-11ea-ac56-7718cb2ad75d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Exec/spec.json b/src/system/f/meta/Exec/spec.json index a93acb7385..fcea1eccf0 100644 --- a/src/system/f/meta/Exec/spec.json +++ b/src/system/f/meta/Exec/spec.json @@ -21,14 +21,11 @@ "icon": "circle", "description": "execute `unit` `method` with `data`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "56fb9a32-ad10-11ea-b0f4-3b0ea5e3ac2c", "private": true, "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Global/spec.json b/src/system/f/meta/Global/spec.json index 117ea972e2..3175b08005 100644 --- a/src/system/f/meta/Global/spec.json +++ b/src/system/f/meta/Global/spec.json @@ -6,15 +6,11 @@ "icon": "table", "description": "globally accessible object scope", "complexity": 2, - "tags": [ - "platform", - "api", - "storage" - ], + "tags": ["platform", "api", "storage"], "globals": [] }, "id": "8383c41e-3f9b-4d04-8380-feb583a1404f", "base": true, "type": "`U`&`J`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/IdToClass/spec.json b/src/system/f/meta/IdToClass/spec.json index b32efad14a..d6c84c23f2 100644 --- a/src/system/f/meta/IdToClass/spec.json +++ b/src/system/f/meta/IdToClass/spec.json @@ -4,9 +4,7 @@ "id": { "type": "string", "metadata": { - "examples": [ - "\"260d774e-bc89-4027-aa92-cb1985fb312b\"" - ] + "examples": ["\"260d774e-bc89-4027-aa92-cb1985fb312b\""] } } }, @@ -19,13 +17,10 @@ "icon": "circle", "description": "unit `class` with the given system `id`", "complexity": 18, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "b0c25199-c284-4f90-817c-60dc89b15b1c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/IdToSpec/spec.json b/src/system/f/meta/IdToSpec/spec.json index 16ec0b4fa0..56c1661072 100644 --- a/src/system/f/meta/IdToSpec/spec.json +++ b/src/system/f/meta/IdToSpec/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "get system `spec` with `id`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "b2626d61-b17d-4737-bea3-627c0322f9d6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/New/spec.json b/src/system/f/meta/New/spec.json index b11e08c2d9..08662d0ecc 100644 --- a/src/system/f/meta/New/spec.json +++ b/src/system/f/meta/New/spec.json @@ -18,13 +18,10 @@ "icon": "circle", "description": "intantiate `class`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "1b592040-968f-456b-bdb5-b424e08b80f1", "system": true, "base": true, "type": "`U`" -} \ No newline at end of file +} diff --git a/src/system/f/meta/Ref/spec.json b/src/system/f/meta/Ref/spec.json index 622ded38c7..f8bb74335f 100644 --- a/src/system/f/meta/Ref/spec.json +++ b/src/system/f/meta/Ref/spec.json @@ -22,13 +22,10 @@ "icon": "circle", "description": "intantiate `class`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "e1486d65-7d51-436b-949d-4e57d1f9e4a9", "system": true, "base": true, "type": "`U`" -} \ No newline at end of file +} diff --git a/src/system/f/meta/Remote/spec.json b/src/system/f/meta/Remote/spec.json index e1d729420d..ff1228af22 100644 --- a/src/system/f/meta/Remote/spec.json +++ b/src/system/f/meta/Remote/spec.json @@ -4,9 +4,7 @@ "opt": { "type": "{}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "close": { @@ -31,14 +29,10 @@ "icon": "link", "description": "remote peer graph", "complexity": 4, - "tags": [ - "platform", - "meta", - "remote" - ] + "tags": ["platform", "meta", "remote"] }, "id": "57bcdd88-a4f4-49ab-92d4-ed1969895520", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Scope/spec.json b/src/system/f/meta/Scope/spec.json index 55c158be10..6b5ecff207 100644 --- a/src/system/f/meta/Scope/spec.json +++ b/src/system/f/meta/Scope/spec.json @@ -16,13 +16,10 @@ "icon": "circle", "description": "access object local scope", "complexity": 4, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "f9f93972-0764-4095-9ca2-d18b7d9344d4", "system": true, "base": true, "type": "`U`" -} \ No newline at end of file +} diff --git a/src/system/f/meta/Spark/index.ts b/src/system/f/meta/Spark/index.ts index 8cfd4fa0d4..5ebc6b99ff 100644 --- a/src/system/f/meta/Spark/index.ts +++ b/src/system/f/meta/Spark/index.ts @@ -27,6 +27,10 @@ export default class Spark extends Primitive, O> { ) } + public onDataInputDrop(name: string, data: any): void { + this._ran = false + } + onDataInputData(name: string, data: T) { if (this._paused || this._ran) { return diff --git a/src/system/f/meta/Spark/spec.json b/src/system/f/meta/Spark/spec.json index 7384e4d738..390c403356 100644 --- a/src/system/f/meta/Spark/spec.json +++ b/src/system/f/meta/Spark/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "output `a` only once", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "3be8272d-310a-4aa2-84a1-71f590a8227a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Spec/spec.json b/src/system/f/meta/Spec/spec.json index 0b4c338785..15f87b9820 100644 --- a/src/system/f/meta/Spec/spec.json +++ b/src/system/f/meta/Spec/spec.json @@ -18,13 +18,10 @@ "icon": "circle", "description": "get system `unit` `spec`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "ae1f7fc0-d6e7-489c-94ed-dee71c68dbb7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Spec0/spec.json b/src/system/f/meta/Spec0/spec.json index 838a2098c7..d3dad52247 100644 --- a/src/system/f/meta/Spec0/spec.json +++ b/src/system/f/meta/Spec0/spec.json @@ -16,13 +16,10 @@ "icon": "circle", "description": "get `unit` `spec`", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "e547c624-d505-485d-8d78-e393c6beb1b4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Specs/spec.json b/src/system/f/meta/Specs/spec.json index f230f7d643..1854bc2d0c 100644 --- a/src/system/f/meta/Specs/spec.json +++ b/src/system/f/meta/Specs/spec.json @@ -14,13 +14,10 @@ "icon": "circle", "description": "object mapping id to spec", "complexity": 3, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "b5ea15f4-9bbd-11eb-b623-37aff4a9ce60", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/This/spec.json b/src/system/f/meta/This/spec.json index 611c752280..62d0c3ec04 100644 --- a/src/system/f/meta/This/spec.json +++ b/src/system/f/meta/This/spec.json @@ -11,13 +11,10 @@ "icon": "circle", "description": "parent graph", "complexity": 2, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "70972046-ad11-11ea-aaea-0b9067ad19e7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/meta/Unit/spec.json b/src/system/f/meta/Unit/spec.json index 36b1b12e0e..a74b971dc0 100644 --- a/src/system/f/meta/Unit/spec.json +++ b/src/system/f/meta/Unit/spec.json @@ -6,14 +6,11 @@ "icon": "circle", "description": "unit", "complexity": 2, - "tags": [ - "f", - "meta" - ] + "tags": ["f", "meta"] }, "id": "94e93f42-d05e-45d9-9211-ba903e779f2d", "base": true, "type": "`U`", "system": true, "private": true -} \ No newline at end of file +} diff --git a/src/system/f/number/NumberToString/spec.json b/src/system/f/number/NumberToString/spec.json index 91668a0155..6bb0a0e9b1 100644 --- a/src/system/f/number/NumberToString/spec.json +++ b/src/system/f/number/NumberToString/spec.json @@ -21,13 +21,10 @@ "icon": "tilde", "description": "convert a number into a string", "complexity": 3, - "tags": [ - "f", - "number" - ] + "tags": ["f", "number"] }, "id": "f712793d-8ee9-4805-9d4a-8c210cae667a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/number/StringToFloat/spec.json b/src/system/f/number/StringToFloat/spec.json index 4ee25d54ec..57267b5098 100644 --- a/src/system/f/number/StringToFloat/spec.json +++ b/src/system/f/number/StringToFloat/spec.json @@ -14,13 +14,10 @@ "icon": "tilde", "description": "convert a string into a float", "complexity": 3, - "tags": [ - "f", - "number" - ] + "tags": ["f", "number"] }, "id": "f60adade-f14e-11ea-b51e-537032a90354", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/number/StringToInt/spec.json b/src/system/f/number/StringToInt/spec.json index 3fcc682289..106512b585 100644 --- a/src/system/f/number/StringToInt/spec.json +++ b/src/system/f/number/StringToInt/spec.json @@ -21,13 +21,10 @@ "icon": "tilde", "description": "convert a number into an integer", "complexity": 3, - "tags": [ - "f", - "number" - ] + "tags": ["f", "number"] }, "id": "8cd29108-95cd-4217-9721-11f7c7c1131e", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/DeepGet/spec.json b/src/system/f/object/DeepGet/spec.json index 9d6fe35c87..ea9dfe5410 100644 --- a/src/system/f/object/DeepGet/spec.json +++ b/src/system/f/object/DeepGet/spec.json @@ -19,11 +19,8 @@ "icon": "object-get", "description": "get value of `obj` at `path`", "complexity": 3, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/DeepMerge/spec.json b/src/system/f/object/DeepMerge/spec.json index 7941573ba4..fc2a7d3579 100644 --- a/src/system/f/object/DeepMerge/spec.json +++ b/src/system/f/object/DeepMerge/spec.json @@ -17,13 +17,10 @@ "icon": "brackets-curly", "description": "merge two objects `a` and `b` into `ab`", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "2af12780-698c-40ca-baa9-5f3260377e0f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/DeepSet/spec.json b/src/system/f/object/DeepSet/spec.json index 9411f5feab..48c8bb8fb7 100644 --- a/src/system/f/object/DeepSet/spec.json +++ b/src/system/f/object/DeepSet/spec.json @@ -20,13 +20,10 @@ "icon": "object-set", "description": "get value of `obj` at `path`", "complexity": 3, - "tags": [ - "core", - "object" - ] + "tags": ["core", "object"] }, "id": "419e468e-e4d4-11ea-8efb-2b9d815b1798", "type": "`U`&`G`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Delete/spec.json b/src/system/f/object/Delete/spec.json index 8e64530421..d69778c7af 100644 --- a/src/system/f/object/Delete/spec.json +++ b/src/system/f/object/Delete/spec.json @@ -19,13 +19,10 @@ "icon": "brackets-curly", "description": "remove `obj` key-value pair for given `key`", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "664b5d3c-e4cf-11ea-ab74-eb6d2f3bd6f1", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Get/spec.json b/src/system/f/object/Get/spec.json index ff7a7d72e1..0296ea0397 100644 --- a/src/system/f/object/Get/spec.json +++ b/src/system/f/object/Get/spec.json @@ -20,13 +20,10 @@ "icon": "brackets-curly", "description": "get `obj` property `name`", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "9414421d-3376-4438-aa03-7afcd860972c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/HasKey/spec.json b/src/system/f/object/HasKey/spec.json index a9af683b83..fecb0d6459 100644 --- a/src/system/f/object/HasKey/spec.json +++ b/src/system/f/object/HasKey/spec.json @@ -17,13 +17,10 @@ "icon": "brackets-curly", "description": "check if key is in object", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "ad2ae8b9-9674-4b22-bed4-4458e0030b1a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Keys/spec.json b/src/system/f/object/Keys/spec.json index f7a3616452..35b76d62e6 100644 --- a/src/system/f/object/Keys/spec.json +++ b/src/system/f/object/Keys/spec.json @@ -14,13 +14,10 @@ "icon": "brackets-curly", "description": "list keys for this object", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "45b9c329-64e9-4c4a-800b-790947c75754", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Merge/spec.json b/src/system/f/object/Merge/spec.json index 9841653a3e..8357b360d0 100644 --- a/src/system/f/object/Merge/spec.json +++ b/src/system/f/object/Merge/spec.json @@ -17,13 +17,10 @@ "icon": "brackets-curly", "description": "merge two objects `a` and `b` into `ab`", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "60bdba6d-c670-430f-be72-6f39cf4e8453", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Set/spec.json b/src/system/f/object/Set/spec.json index ce17708753..1a8bc91390 100644 --- a/src/system/f/object/Set/spec.json +++ b/src/system/f/object/Set/spec.json @@ -24,13 +24,10 @@ "icon": "object-set", "description": "set value at given key", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "c4784b05-1f50-44ad-b812-545b3ed77614", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/object/Values/spec.json b/src/system/f/object/Values/spec.json index 494d88eb8d..04742adcfc 100644 --- a/src/system/f/object/Values/spec.json +++ b/src/system/f/object/Values/spec.json @@ -14,13 +14,10 @@ "icon": "brackets-curly", "description": "list values for this object", "complexity": 3, - "tags": [ - "f", - "object" - ] + "tags": ["f", "object"] }, "id": "964d3314-75fe-4a09-8ba8-c49145f29d49", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/querystring/ParseQuery/spec.json b/src/system/f/querystring/ParseQuery/spec.json index 7c0f63af7d..f247f800f4 100644 --- a/src/system/f/querystring/ParseQuery/spec.json +++ b/src/system/f/querystring/ParseQuery/spec.json @@ -14,13 +14,10 @@ "icon": "tilde", "description": "parses a URL query string into an object", "complexity": 3, - "tags": [ - "f", - "querystring" - ] + "tags": ["f", "querystring"] }, "id": "02f91720-c4d5-4d66-ae91-d46ddc635722", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/querystring/Stringify/spec.json b/src/system/f/querystring/Stringify/spec.json index 7b6d9acb73..7ea7e9b6bf 100644 --- a/src/system/f/querystring/Stringify/spec.json +++ b/src/system/f/querystring/Stringify/spec.json @@ -14,13 +14,10 @@ "icon": "string", "description": "produces a URL query string from a given obj", "complexity": 3, - "tags": [ - "f", - "querystring" - ] + "tags": ["f", "querystring"] }, "id": "f97f2a74-d9a9-411d-afd3-fda46ba86c3b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Behead/spec.json b/src/system/f/string/Behead/spec.json index d333596744..115e16cf75 100644 --- a/src/system/f/string/Behead/spec.json +++ b/src/system/f/string/Behead/spec.json @@ -17,13 +17,10 @@ "icon": "axe", "description": "remove the first character `head` of string `a`", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "3e20a18c-60a3-40cd-bbee-f2f9e289b14d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/CharAt/spec.json b/src/system/f/string/CharAt/spec.json index cc36e31084..f141208876 100644 --- a/src/system/f/string/CharAt/spec.json +++ b/src/system/f/string/CharAt/spec.json @@ -20,13 +20,10 @@ "icon": "info-square", "description": "get `a` character at position `i`", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "eb345e08-08fd-4032-bd69-a4e9f55e7aa6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Concat/spec.json b/src/system/f/string/Concat/spec.json index 118f674c72..2d268696c2 100644 --- a/src/system/f/string/Concat/spec.json +++ b/src/system/f/string/Concat/spec.json @@ -17,13 +17,10 @@ "icon": "plus", "description": "concatenate two strings", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "779e538c-b0b9-477e-a986-30ee3abe6fe6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/FromCharCode/spec.json b/src/system/f/string/FromCharCode/spec.json index 8b0e48c81c..e908bd0383 100644 --- a/src/system/f/string/FromCharCode/spec.json +++ b/src/system/f/string/FromCharCode/spec.json @@ -14,13 +14,10 @@ "icon": "axe", "description": "output string created from the specified sequence of UTF-16 code", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "25d0e003-f002-45ae-a50c-6fa3bffee4eb", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Length/spec.json b/src/system/f/string/Length/spec.json index 4d56c6e9da..518b692c02 100644 --- a/src/system/f/string/Length/spec.json +++ b/src/system/f/string/Length/spec.json @@ -14,13 +14,10 @@ "icon": "ruler", "description": "size of string", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "1b8ce255-0bc7-4656-bafa-3dc86af44126", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/LocaleCompare/spec.json b/src/system/f/string/LocaleCompare/spec.json index 7d58993556..9851a41aa9 100644 --- a/src/system/f/string/LocaleCompare/spec.json +++ b/src/system/f/string/LocaleCompare/spec.json @@ -17,13 +17,10 @@ "icon": "plus", "description": "compare two strings in alphabetical order", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "065d2fc3-af3b-4704-b26e-228d71f61771", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Match/spec.json b/src/system/f/string/Match/spec.json index c6deb27644..4d5c66cf8c 100644 --- a/src/system/f/string/Match/spec.json +++ b/src/system/f/string/Match/spec.json @@ -17,13 +17,10 @@ "icon": "ruler", "description": "match a string against a regular expression", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "b16cccf7-fe33-43a6-b208-48db494376e8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Replace/spec.json b/src/system/f/string/Replace/spec.json index e211e9eb63..b8420238b0 100644 --- a/src/system/f/string/Replace/spec.json +++ b/src/system/f/string/Replace/spec.json @@ -23,13 +23,10 @@ "icon": "search", "description": "replace every `regex` match in `str` `with`", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "af5469c4-a09e-4b22-8133-a21e721e7639", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Slice/spec.json b/src/system/f/string/Slice/spec.json index ab4afb79ac..8bbb324bb5 100644 --- a/src/system/f/string/Slice/spec.json +++ b/src/system/f/string/Slice/spec.json @@ -20,13 +20,10 @@ "icon": "scissors", "description": "extracts a section of a string", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "c8a4cd44-a554-4901-8a33-a8adbff63d03", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Split/spec.json b/src/system/f/string/Split/spec.json index b2e92e8a99..0d70b7d9be 100644 --- a/src/system/f/string/Split/spec.json +++ b/src/system/f/string/Split/spec.json @@ -17,13 +17,10 @@ "icon": "split-text", "description": "output an array of strings by separating the string into substrings, using the specified separator `sep`", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "e1e106ad-e15d-4044-82f6-27ddd476d7c8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Substr/spec.json b/src/system/f/string/Substr/spec.json index 78d72279bc..168eafc9cc 100644 --- a/src/system/f/string/Substr/spec.json +++ b/src/system/f/string/Substr/spec.json @@ -20,13 +20,10 @@ "icon": "scissors", "description": "substring", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "141eaa06-bb12-42f1-a46f-32ceefb64ddc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/Test/spec.json b/src/system/f/string/Test/spec.json index 1aee2d96b9..12e63a0331 100644 --- a/src/system/f/string/Test/spec.json +++ b/src/system/f/string/Test/spec.json @@ -17,13 +17,10 @@ "icon": "regex", "description": "check if `regex` match `str`", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "c2fec1e6-b370-4069-bb43-6dab5a78b9ab", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/ToLowerCase/spec.json b/src/system/f/string/ToLowerCase/spec.json index 6a3f957375..6b20dc116d 100644 --- a/src/system/f/string/ToLowerCase/spec.json +++ b/src/system/f/string/ToLowerCase/spec.json @@ -4,10 +4,7 @@ "A": { "type": "string", "metadata": { - "examples": [ - "ABC", - "UNIT" - ] + "examples": ["ABC", "UNIT"] } } }, @@ -21,13 +18,10 @@ "description": "conver string to lower case", "link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "adde2d16-e1e6-4599-9a64-dd0968797041", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/string/ToUpperCase/spec.json b/src/system/f/string/ToUpperCase/spec.json index 691c9fdf63..3ba44085dd 100644 --- a/src/system/f/string/ToUpperCase/spec.json +++ b/src/system/f/string/ToUpperCase/spec.json @@ -4,10 +4,7 @@ "a": { "type": "string", "metadata": { - "examples": [ - "abc", - "unit" - ] + "examples": ["abc", "unit"] } } }, @@ -21,13 +18,10 @@ "description": "convert string to upper case", "link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase", "complexity": 3, - "tags": [ - "f", - "string" - ] + "tags": ["f", "string"] }, "id": "d4e4d4b2-80e0-4066-8d6f-5051e9a11a10", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/time/Interval/spec.json b/src/system/f/time/Interval/spec.json index fd477eaf88..0db19b977e 100644 --- a/src/system/f/time/Interval/spec.json +++ b/src/system/f/time/Interval/spec.json @@ -26,13 +26,10 @@ "icon": "timer", "description": "output `ms` after `ms` milliseconds, until `done`", "complexity": 3, - "tags": [ - "f", - "time" - ] + "tags": ["f", "time"] }, "id": "42a8023a-0581-4e92-968a-b31584d0ed75", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/time/Timer/spec.json b/src/system/f/time/Timer/spec.json index 370513ff59..7650d7ed86 100644 --- a/src/system/f/time/Timer/spec.json +++ b/src/system/f/time/Timer/spec.json @@ -20,13 +20,10 @@ "icon": "timer", "description": "output `ms` after `ms` milliseconds", "complexity": 3, - "tags": [ - "f", - "time" - ] + "tags": ["f", "time"] }, "id": "95076599-0f2f-46b6-a9e0-b4cbfdb8dcc9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/HasInput/spec.json b/src/system/f/unit/HasInput/spec.json index 2661bed493..fbe2d56349 100644 --- a/src/system/f/unit/HasInput/spec.json +++ b/src/system/f/unit/HasInput/spec.json @@ -19,13 +19,10 @@ "icon": "object-set", "description": "check whether `unit` has input with `name`", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "ac5863fc-5156-4a27-a6ce-148dc93f34dd", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/Pause/spec.json b/src/system/f/unit/Pause/spec.json index 58deb548a9..61ece60571 100644 --- a/src/system/f/unit/Pause/spec.json +++ b/src/system/f/unit/Pause/spec.json @@ -14,13 +14,10 @@ "icon": "pause", "description": "pause unit execution", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "a85fd9ad-5aec-4ebc-9008-e22db851dfa8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/Paused/spec.json b/src/system/f/unit/Paused/spec.json index 3aec3c0177..711da9b330 100644 --- a/src/system/f/unit/Paused/spec.json +++ b/src/system/f/unit/Paused/spec.json @@ -18,13 +18,10 @@ "icon": "question", "description": "check whether unit is paused", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "49517cda-b9da-4d80-b849-61fc2260317d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/Play/spec.json b/src/system/f/unit/Play/spec.json index 2a98c4ed3e..e80c207244 100644 --- a/src/system/f/unit/Play/spec.json +++ b/src/system/f/unit/Play/spec.json @@ -14,13 +14,10 @@ "icon": "play", "description": "start unit execution", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "ff84b8cd-216f-4bcf-8e29-e7c9998cae3d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/SetInput/spec.json b/src/system/f/unit/SetInput/spec.json index bc3a2adc6c..35da33c3da 100644 --- a/src/system/f/unit/SetInput/spec.json +++ b/src/system/f/unit/SetInput/spec.json @@ -22,13 +22,10 @@ "icon": "object-set", "description": "set input `name` of `unit` to `data`", "complexity": 18, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "43b43afd-9e7d-44ba-aef7-6e9db4ed8744", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/f/unit/UnsetPin/spec.json b/src/system/f/unit/UnsetPin/spec.json index c56e16ca07..748b1f4aca 100644 --- a/src/system/f/unit/UnsetPin/spec.json +++ b/src/system/f/unit/UnsetPin/spec.json @@ -20,13 +20,10 @@ "icon": "object-set", "description": "remove data on input `name` of `unit`", "complexity": 18, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "33434271-3533-4a4e-adb9-306e35ab6afe", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/Document/spec.json b/src/system/platform/Document/spec.json index 944890b302..7cac974674 100644 --- a/src/system/platform/Document/spec.json +++ b/src/system/platform/Document/spec.json @@ -21,13 +21,10 @@ "icon": "square", "description": "offscreen iframe document", "complexity": 3, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "8be95fbe-8f10-467b-bbdd-87311ca62594", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/FormData/spec.json b/src/system/platform/FormData/spec.json index 0777ea1965..94f7296c4f 100644 --- a/src/system/platform/FormData/spec.json +++ b/src/system/platform/FormData/spec.json @@ -20,13 +20,10 @@ "icon": "square", "description": "set of key/value pairs representing `form` fields and values", "complexity": 4, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "0966c9b3-2fd5-4b5b-8146-82fb08bd14c4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/Host/spec.json b/src/system/platform/Host/spec.json index 1f6ccea25d..12f43b3fd9 100644 --- a/src/system/platform/Host/spec.json +++ b/src/system/platform/Host/spec.json @@ -6,12 +6,10 @@ "icon": "square", "description": "communicate with host system", "complexity": 2, - "tags": [ - "platform" - ] + "tags": ["platform"] }, "id": "738a0ac4-8805-4189-a46c-b7d7fcf63456", "base": true, "type": "`U`&`EE`&`CH`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/State/spec.json b/src/system/platform/State/spec.json index 3b9a22d226..82384f3e7f 100644 --- a/src/system/platform/State/spec.json +++ b/src/system/platform/State/spec.json @@ -21,12 +21,10 @@ "icon": "triangle", "description": "control a value in memory", "complexity": 4, - "tags": [ - "state" - ] + "tags": ["state"] }, "id": "c899b675-c3c4-428e-b548-b228305c0302", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/Uint8ClampedArray/spec.json b/src/system/platform/Uint8ClampedArray/spec.json index bb030cac79..59d50af042 100644 --- a/src/system/platform/Uint8ClampedArray/spec.json +++ b/src/system/platform/Uint8ClampedArray/spec.json @@ -24,12 +24,10 @@ "icon": "square", "description": "array of 8-bit unsigned integers clamped to 0-255", "complexity": 3, - "tags": [ - "platform" - ] + "tags": ["platform"] }, "id": "cd8c1d94-1471-49e2-8b43-d98ae93b70f3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/History/PushState/spec.json b/src/system/platform/api/History/PushState/spec.json index fd3c0769e2..6c3c66907c 100644 --- a/src/system/platform/api/History/PushState/spec.json +++ b/src/system/platform/api/History/PushState/spec.json @@ -16,14 +16,10 @@ "icon": "map-pin", "description": "adds an entry to the session history stack", "complexity": 3, - "tags": [ - "platform", - "api", - "history" - ] + "tags": ["platform", "api", "history"] }, "id": "53dd6448-f1e8-46ed-b3e8-b03b846133bb", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/History/ReplaceState/spec.json b/src/system/platform/api/History/ReplaceState/spec.json index 7860013434..d45059e704 100644 --- a/src/system/platform/api/History/ReplaceState/spec.json +++ b/src/system/platform/api/History/ReplaceState/spec.json @@ -16,14 +16,10 @@ "icon": "map-pin", "description": "adds an entry to the session history stack", "complexity": 3, - "tags": [ - "platform", - "api", - "history" - ] + "tags": ["platform", "api", "history"] }, "id": "a3246170-d638-4d96-8900-6cc3f2ffe799", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/Send/spec.json b/src/system/platform/api/Send/spec.json index f75a893549..ee4b55d082 100644 --- a/src/system/platform/api/Send/spec.json +++ b/src/system/platform/api/Send/spec.json @@ -14,13 +14,10 @@ "icon": "send", "description": "send `data` through `channel`", "complexity": 3, - "tags": [ - "platform", - "api" - ] + "tags": ["platform", "api"] }, "base": true, "id": "b296242e-8b82-11eb-ac6c-0f8d3f9948d0", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/Transfer/spec.json b/src/system/platform/api/Transfer/spec.json index 277ed62962..b849d5adf5 100644 --- a/src/system/platform/api/Transfer/spec.json +++ b/src/system/platform/api/Transfer/spec.json @@ -15,13 +15,10 @@ "icon": "send", "description": "send an arbitrary datum to `unit`", "complexity": 3, - "tags": [ - "platform", - "api" - ] + "tags": ["platform", "api"] }, "base": true, "id": "baadad13-b70f-4310-b4aa-8c81fe5a9d69", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/URI/CreateBlobURL/spec.json b/src/system/platform/api/URI/CreateBlobURL/spec.json index 15caceaacf..3ebf3286ca 100644 --- a/src/system/platform/api/URI/CreateBlobURL/spec.json +++ b/src/system/platform/api/URI/CreateBlobURL/spec.json @@ -18,14 +18,10 @@ "icon": "tilde", "description": "encode URI to UTF-8", "complexity": 3, - "tags": [ - "platform", - "api", - "URI" - ] + "tags": ["platform", "api", "URI"] }, "id": "1d5b6bb0-f18e-4428-a350-a29d8ca3ff4a", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/URI/EncodeURI/spec.json b/src/system/platform/api/URI/EncodeURI/spec.json index a9a3f8ec49..61f38e7e87 100644 --- a/src/system/platform/api/URI/EncodeURI/spec.json +++ b/src/system/platform/api/URI/EncodeURI/spec.json @@ -4,9 +4,7 @@ "uri": { "type": "string", "metadata": { - "examples": [ - "web+unit://ioun.it" - ] + "examples": ["web+unit://ioun.it"] } } }, @@ -19,14 +17,10 @@ "icon": "tilde", "description": "encode URI to UTF-8", "complexity": 3, - "tags": [ - "platform", - "api", - "URI" - ] + "tags": ["platform", "api", "URI"] }, "id": "5bd48844-67c6-4fdc-b23b-f03cd561877f", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/URI/EncodeURIComponent/spec.json b/src/system/platform/api/URI/EncodeURIComponent/spec.json index 9349d8a052..0df5d0ecfc 100644 --- a/src/system/platform/api/URI/EncodeURIComponent/spec.json +++ b/src/system/platform/api/URI/EncodeURIComponent/spec.json @@ -17,14 +17,10 @@ "icon": "tilde", "description": "encodes a text string as a valid component of a Uniform Resource Identifier (URI).", "complexity": 3, - "tags": [ - "platform", - "api", - "URI" - ] + "tags": ["platform", "api", "URI"] }, "id": "27e2f302-c23a-4447-abde-8309a94b331d", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/URL/ParseURL/spec.json b/src/system/platform/api/URL/ParseURL/spec.json index 4166d5b291..1e709aeebd 100644 --- a/src/system/platform/api/URL/ParseURL/spec.json +++ b/src/system/platform/api/URL/ParseURL/spec.json @@ -21,14 +21,10 @@ "icon": "tilde", "description": "decode `url` into its segments `obj`", "complexity": 3, - "tags": [ - "platform", - "api", - "URL" - ] + "tags": ["platform", "api", "URL"] }, "id": "81ac8195-57ed-4b22-b8b8-fe3e68b11af0", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/alert/Alert/spec.json b/src/system/platform/api/alert/Alert/spec.json index 08b94d0ebe..e3acb16032 100644 --- a/src/system/platform/api/alert/Alert/spec.json +++ b/src/system/platform/api/alert/Alert/spec.json @@ -10,14 +10,10 @@ "icon": "tilde", "description": "identify data type", "complexity": 3, - "tags": [ - "platform", - "api", - "base64" - ] + "tags": ["platform", "api", "base64"] }, "id": "0b4aa055-010d-4d43-b991-f38a95cdb380", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/alert/Prompt/spec.json b/src/system/platform/api/alert/Prompt/spec.json index 13ee32bf4b..022d79d325 100644 --- a/src/system/platform/api/alert/Prompt/spec.json +++ b/src/system/platform/api/alert/Prompt/spec.json @@ -4,9 +4,7 @@ "message": { "type": "string", "metadata": { - "examples": [ - "'Write something:'" - ] + "examples": ["'Write something:'"] } } }, @@ -19,14 +17,10 @@ "icon": "tilde", "description": "identify data type", "complexity": 3, - "tags": [ - "platform", - "api", - "base64" - ] + "tags": ["platform", "api", "base64"] }, "id": "fa3d97bb-060d-4671-9c18-dff81f64c1cc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/animation/Animate/spec.json b/src/system/platform/api/animation/Animate/spec.json index a338d41e10..6721c75d94 100644 --- a/src/system/platform/api/animation/Animate/spec.json +++ b/src/system/platform/api/animation/Animate/spec.json @@ -26,14 +26,10 @@ "icon": "timer", "description": "animate `element` root style property", "complexity": 4, - "tags": [ - "platform", - "api", - "animation" - ] + "tags": ["platform", "api", "animation"] }, "id": "1df77a6e-7632-44f0-9878-2aa5e0903928", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/animation/RequestAnimationFrame/spec.json b/src/system/platform/api/animation/RequestAnimationFrame/spec.json index b302c8264b..3f5903cc8c 100644 --- a/src/system/platform/api/animation/RequestAnimationFrame/spec.json +++ b/src/system/platform/api/animation/RequestAnimationFrame/spec.json @@ -14,14 +14,10 @@ "icon": "timer", "description": "output `a` in the next animation frame", "complexity": 3, - "tags": [ - "platform", - "api", - "time" - ] + "tags": ["platform", "api", "time"] }, "id": "b949221c-8227-4178-bde4-5e8754a7ed39", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/base64/Decode/spec.json b/src/system/platform/api/base64/Decode/spec.json index 640c0d0913..0765e922a0 100644 --- a/src/system/platform/api/base64/Decode/spec.json +++ b/src/system/platform/api/base64/Decode/spec.json @@ -14,14 +14,10 @@ "icon": "tilde", "description": "identify data type", "complexity": 3, - "tags": [ - "platform", - "api", - "base64" - ] + "tags": ["platform", "api", "base64"] }, "id": "d6f727ee-5158-4e2b-a2d4-a84ee712144e", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/base64/Encode/spec.json b/src/system/platform/api/base64/Encode/spec.json index 179d430440..bf89084681 100644 --- a/src/system/platform/api/base64/Encode/spec.json +++ b/src/system/platform/api/base64/Encode/spec.json @@ -14,14 +14,10 @@ "icon": "tilde", "description": "identify data type", "complexity": 3, - "tags": [ - "platform", - "api", - "base64" - ] + "tags": ["platform", "api", "base64"] }, "id": "ee7b692f-5fe5-43c3-b636-aacca92b0bc7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/bluetooth/BluetoothCharacteristic/spec.json b/src/system/platform/api/bluetooth/BluetoothCharacteristic/spec.json index 26058d6762..98fdfe7f95 100644 --- a/src/system/platform/api/bluetooth/BluetoothCharacteristic/spec.json +++ b/src/system/platform/api/bluetooth/BluetoothCharacteristic/spec.json @@ -29,13 +29,9 @@ "description": "remote GATT charact", "complexity": 3, "link": "https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic", - "tags": [ - "platform", - "api", - "bluetooth" - ] + "tags": ["platform", "api", "bluetooth"] }, "id": "c7f6f43e-e8ed-11ea-92b2-0bd612272247", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/bluetooth/BluetoothDevice/spec.json b/src/system/platform/api/bluetooth/BluetoothDevice/spec.json index 9baf965581..fcef860c75 100644 --- a/src/system/platform/api/bluetooth/BluetoothDevice/spec.json +++ b/src/system/platform/api/bluetooth/BluetoothDevice/spec.json @@ -15,14 +15,10 @@ "icon": "bluetooth", "description": "remote GATT device", "complexity": 3, - "tags": [ - "platform", - "api", - "bluetooth" - ] + "tags": ["platform", "api", "bluetooth"] }, "id": "4ad5bd0e-e11e-11ea-ad4c-83da30628333", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/bluetooth/BluetoothServer/spec.json b/src/system/platform/api/bluetooth/BluetoothServer/spec.json index 5065c1df21..58ec014500 100644 --- a/src/system/platform/api/bluetooth/BluetoothServer/spec.json +++ b/src/system/platform/api/bluetooth/BluetoothServer/spec.json @@ -16,14 +16,10 @@ "icon": "bluetooth", "description": "remote GATT server", "complexity": 3, - "tags": [ - "platform", - "api", - "bluetooth" - ] + "tags": ["platform", "api", "bluetooth"] }, "id": "dd520754-e138-11ea-879e-3bd947893124", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/bluetooth/BluetoothService/spec.json b/src/system/platform/api/bluetooth/BluetoothService/spec.json index bc42900528..142bea701f 100644 --- a/src/system/platform/api/bluetooth/BluetoothService/spec.json +++ b/src/system/platform/api/bluetooth/BluetoothService/spec.json @@ -20,14 +20,10 @@ "description": "remote GATT service", "complexity": 3, "link": "https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService", - "tags": [ - "platform", - "api", - "bluetooth" - ] + "tags": ["platform", "api", "bluetooth"] }, "id": "a44b2198-e18d-11ea-be3b-77e13b78b7e3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/AddArc/spec.json b/src/system/platform/api/canvas/AddArc/spec.json index 7fd9a8182f..9c120c6462 100644 --- a/src/system/platform/api/canvas/AddArc/spec.json +++ b/src/system/platform/api/canvas/AddArc/spec.json @@ -17,14 +17,10 @@ "icon": "edit-3", "description": "adds a circular arc to the current sub-path", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "6796cd2d-2bd2-4dd3-9396-49d6bc1d2652", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/AddLineTo/spec.json b/src/system/platform/api/canvas/AddLineTo/spec.json index aff265a7a3..27839ad4ca 100644 --- a/src/system/platform/api/canvas/AddLineTo/spec.json +++ b/src/system/platform/api/canvas/AddLineTo/spec.json @@ -20,14 +20,10 @@ "icon": "edit-3", "description": "adds a straight line to the current sub-path by connecting the sub-path's last point to the specified x, y coordinates", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "2b0ef9e9-028b-4acc-9daf-6999e86cc2af", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/AddRect/spec.json b/src/system/platform/api/canvas/AddRect/spec.json index 5b134af5d7..7ede65bb28 100644 --- a/src/system/platform/api/canvas/AddRect/spec.json +++ b/src/system/platform/api/canvas/AddRect/spec.json @@ -17,14 +17,10 @@ "icon": "edit-3", "description": "adds a rectangle to the current sub-path", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "58385055-7f06-472a-be9e-26bb5bce276a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/BeginPath/spec.json b/src/system/platform/api/canvas/BeginPath/spec.json index 5e34815d81..19d0830904 100644 --- a/src/system/platform/api/canvas/BeginPath/spec.json +++ b/src/system/platform/api/canvas/BeginPath/spec.json @@ -15,14 +15,10 @@ "description": "starts a new path by emptying the list of sub-paths", "link": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "81c0f469-ab88-4bc8-89d5-98d291b1d8b2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Clear/spec.json b/src/system/platform/api/canvas/Clear/spec.json index e1055a0c80..d6058d9389 100644 --- a/src/system/platform/api/canvas/Clear/spec.json +++ b/src/system/platform/api/canvas/Clear/spec.json @@ -14,14 +14,10 @@ "icon": "eraser", "description": "clear canvas", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "1ef77768-7394-4b83-ad11-f5905fa9d0d3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/ClosePath/spec.json b/src/system/platform/api/canvas/ClosePath/spec.json index d5715e9db3..df54698b68 100644 --- a/src/system/platform/api/canvas/ClosePath/spec.json +++ b/src/system/platform/api/canvas/ClosePath/spec.json @@ -15,14 +15,10 @@ "description": "add a straight line from the current point to the start of the current sub-path", "link": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/closePath", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "288aede9-59ea-4cb4-baf9-fef9109cc2b9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Draw/spec.json b/src/system/platform/api/canvas/Draw/spec.json index 5c99f7bedb..b6f2868b64 100644 --- a/src/system/platform/api/canvas/Draw/spec.json +++ b/src/system/platform/api/canvas/Draw/spec.json @@ -31,11 +31,7 @@ "icon": "square", "description": "draw on `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ], + "tags": ["platform", "api", "canvas"], "position": { "merge": { "rgarjyrwq": { @@ -49,4 +45,4 @@ "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/DrawImage/spec.json b/src/system/platform/api/canvas/DrawImage/spec.json index 4741de5e69..1e5b264495 100644 --- a/src/system/platform/api/canvas/DrawImage/spec.json +++ b/src/system/platform/api/canvas/DrawImage/spec.json @@ -15,33 +15,25 @@ "x": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "y": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "width": { "type": "number", "metadata": { - "examples": [ - "100" - ] + "examples": ["100"] } }, "height": { "type": "number", "metadata": { - "examples": [ - "100" - ] + "examples": ["100"] } } }, @@ -50,14 +42,10 @@ "icon": "square", "description": "draw an image `bitmap` on `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "82cf909e-a78f-4f3e-b87a-976458c8e15d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Fill/spec.json b/src/system/platform/api/canvas/Fill/spec.json index 224774f9fc..8aff6dda41 100644 --- a/src/system/platform/api/canvas/Fill/spec.json +++ b/src/system/platform/api/canvas/Fill/spec.json @@ -14,14 +14,10 @@ "icon": "edit-3", "description": "fill the current path", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "87a11e2c-278c-11eb-9209-2f30aebffb25", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/FillPath/spec.json b/src/system/platform/api/canvas/FillPath/spec.json index b7bd4ea75c..0754e1375a 100644 --- a/src/system/platform/api/canvas/FillPath/spec.json +++ b/src/system/platform/api/canvas/FillPath/spec.json @@ -17,14 +17,10 @@ "icon": "edit-3", "description": "fill a SVG path `d` on `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "be59cf84-fcf2-46ef-aa34-6f0f8e055680", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/FillStyle/spec.json b/src/system/platform/api/canvas/FillStyle/spec.json index a1217a20f8..577d213b63 100644 --- a/src/system/platform/api/canvas/FillStyle/spec.json +++ b/src/system/platform/api/canvas/FillStyle/spec.json @@ -4,9 +4,7 @@ "d": { "type": "(number|string)[][]", "metadata": { - "examples": [ - "[]" - ] + "examples": ["[]"] } }, "fillStyle": { @@ -22,14 +20,10 @@ "icon": "edit-3", "description": "set current fillStyle", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "f5b2faf1-3a8b-489f-9d99-62d3c749ced6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/MoveTo/spec.json b/src/system/platform/api/canvas/MoveTo/spec.json index d1322919e6..f6035b91c5 100644 --- a/src/system/platform/api/canvas/MoveTo/spec.json +++ b/src/system/platform/api/canvas/MoveTo/spec.json @@ -20,14 +20,10 @@ "icon": "edit-3", "description": "start new sub-path at the point specified by the given x, y coordinates", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "3c47d4bc-315d-4600-a9cd-6e388b345980", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/PutImageData/spec.json b/src/system/platform/api/canvas/PutImageData/spec.json index c144953a5f..85a1de4003 100644 --- a/src/system/platform/api/canvas/PutImageData/spec.json +++ b/src/system/platform/api/canvas/PutImageData/spec.json @@ -9,9 +9,7 @@ "type": "`ID`", "ref": true, "metadata": { - "examples": [ - "1" - ] + "examples": ["1"] } }, "any": { @@ -20,49 +18,37 @@ "dx": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "dy": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "x": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "y": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "width": { "type": "number", "metadata": { - "examples": [ - "100" - ] + "examples": ["100"] } }, "height": { "type": "number", "metadata": { - "examples": [ - "100" - ] + "examples": ["100"] } } }, @@ -77,14 +63,10 @@ "description": "put `image` data on `canvas`", "link": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "138d16a7-a200-4329-9b4a-17abd24943d4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Rotate/spec.json b/src/system/platform/api/canvas/Rotate/spec.json index 6cc3a31643..9cea09e763 100644 --- a/src/system/platform/api/canvas/Rotate/spec.json +++ b/src/system/platform/api/canvas/Rotate/spec.json @@ -18,14 +18,10 @@ "description": "add a rotation to the transformation matrix", "link": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "8f7ce559-a046-45bc-8e98-c39934ed0ae6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Scale/spec.json b/src/system/platform/api/canvas/Scale/spec.json index ab0784f7a5..e309f143b4 100644 --- a/src/system/platform/api/canvas/Scale/spec.json +++ b/src/system/platform/api/canvas/Scale/spec.json @@ -4,21 +4,13 @@ "sx": { "type": "number", "metadata": { - "examples": [ - "1", - "0.5", - "2" - ] + "examples": ["1", "0.5", "2"] } }, "sy": { "type": "number", "metadata": { - "examples": [ - "1", - "0.5", - "2" - ] + "examples": ["1", "0.5", "2"] } }, "canvas": { @@ -31,14 +23,10 @@ "icon": "edit-3", "description": "scale a `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "2e2bede5-41a9-4c35-8b02-482b610837ff", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Stroke/spec.json b/src/system/platform/api/canvas/Stroke/spec.json index 81870d014b..aebf8bea5a 100644 --- a/src/system/platform/api/canvas/Stroke/spec.json +++ b/src/system/platform/api/canvas/Stroke/spec.json @@ -14,14 +14,10 @@ "icon": "edit-3", "description": "strokes (outlines) the current", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "9a7c22e3-3de2-4c99-ac1f-b2f8ceffae99", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/StrokePath/spec.json b/src/system/platform/api/canvas/StrokePath/spec.json index 9f76083adf..025220604b 100644 --- a/src/system/platform/api/canvas/StrokePath/spec.json +++ b/src/system/platform/api/canvas/StrokePath/spec.json @@ -14,14 +14,10 @@ "icon": "edit-3", "description": "stroke a SVG path `d` on `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "c0e124ca-381a-414b-93a2-41526df02e28", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/StrokeStyle/spec.json b/src/system/platform/api/canvas/StrokeStyle/spec.json index 5f76dcf424..4b8c6cdadb 100644 --- a/src/system/platform/api/canvas/StrokeStyle/spec.json +++ b/src/system/platform/api/canvas/StrokeStyle/spec.json @@ -4,9 +4,7 @@ "d": { "type": "(number|string)[][]", "metadata": { - "examples": [ - "[]" - ] + "examples": ["[]"] } }, "strokeStyle": { @@ -22,14 +20,10 @@ "icon": "edit-3", "description": "set the color, gradient, or pattern to use for stroke", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "83d22558-2c6f-4dd4-a231-baba798d1d97", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/TransferFromImageBitmap/spec.json b/src/system/platform/api/canvas/TransferFromImageBitmap/spec.json index 0d1107771a..300e629788 100644 --- a/src/system/platform/api/canvas/TransferFromImageBitmap/spec.json +++ b/src/system/platform/api/canvas/TransferFromImageBitmap/spec.json @@ -18,14 +18,10 @@ "icon": "square", "description": "draw an image `bitmap` on `canvas`", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "b2eb49a8-7a7a-446a-ad36-e7c1efdaf61f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/canvas/Translate/spec.json b/src/system/platform/api/canvas/Translate/spec.json index 36234d4b7c..7c440e9bc8 100644 --- a/src/system/platform/api/canvas/Translate/spec.json +++ b/src/system/platform/api/canvas/Translate/spec.json @@ -21,14 +21,10 @@ "description": "add a translation to the current transformation matrix", "link": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/translate", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "6f79ee03-4b3f-439c-b955-5529f3bebcc9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/clipboard/TextToClipboard/spec.json b/src/system/platform/api/clipboard/TextToClipboard/spec.json index 0aa3ca8c02..81f45b1cd1 100644 --- a/src/system/platform/api/clipboard/TextToClipboard/spec.json +++ b/src/system/platform/api/clipboard/TextToClipboard/spec.json @@ -10,14 +10,10 @@ "icon": "clipboard", "description": "copy `text` to clipboard", "complexity": 3, - "tags": [ - "platform", - "api", - "clipboard" - ] + "tags": ["platform", "api", "clipboard"] }, "id": "0b5a71c6-5c43-4e55-a29c-27d9ff7ed43a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/codec/VideoEncoder/spec.json b/src/system/platform/api/codec/VideoEncoder/spec.json index c17e2ce97f..80a6174633 100644 --- a/src/system/platform/api/codec/VideoEncoder/spec.json +++ b/src/system/platform/api/codec/VideoEncoder/spec.json @@ -17,14 +17,10 @@ "icon": "edit-3", "description": "adds a circular arc to the current sub-path", "complexity": 3, - "tags": [ - "platform", - "api", - "canvas" - ] + "tags": ["platform", "api", "canvas"] }, "id": "874f508f-d027-4e0b-852e-b4027e714406", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/AppendChild/spec.json b/src/system/platform/api/component/AppendChild/spec.json index c237ddb381..cfbb295df4 100644 --- a/src/system/platform/api/component/AppendChild/spec.json +++ b/src/system/platform/api/component/AppendChild/spec.json @@ -16,9 +16,7 @@ "child": { "type": "`C`", "metadata": { - "examples": [ - "${unit:{id:'f27cae4e-fea8-11ea-b91e-db41e114c426'}}" - ], + "examples": ["${unit:{id:'f27cae4e-fea8-11ea-b91e-db41e114c426'}}"], "position": { "0": { "x": 128, @@ -39,13 +37,9 @@ "icon": "square", "description": "append `child` instance to `parent`", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "ee4715e6-f479-11ea-b231-bf95a7f38a99", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/Detach/spec.json b/src/system/platform/api/component/Detach/spec.json index d54fa6a141..2d6d92363c 100644 --- a/src/system/platform/api/component/Detach/spec.json +++ b/src/system/platform/api/component/Detach/spec.json @@ -22,13 +22,9 @@ "icon": "square", "description": "visually append `component` to `host` without affecting tree structure", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "1ba97b81-5084-49b8-8fbf-227ccd31cabc", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/HasChild/spec.json b/src/system/platform/api/component/HasChild/spec.json index 2e938d6d3a..fb9e09b8c0 100644 --- a/src/system/platform/api/component/HasChild/spec.json +++ b/src/system/platform/api/component/HasChild/spec.json @@ -16,9 +16,7 @@ "at": { "type": "number", "metadata": { - "examples": [ - "0" - ], + "examples": ["0"], "position": { "0": { "x": 128, @@ -38,13 +36,9 @@ "icon": "square", "description": "check whether `parent` has a child `at`", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "c475117a-02b9-11eb-b7c8-579fe4f6c669", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/InsertChildAt/spec.json b/src/system/platform/api/component/InsertChildAt/spec.json index fd6d38695c..c829abb82d 100644 --- a/src/system/platform/api/component/InsertChildAt/spec.json +++ b/src/system/platform/api/component/InsertChildAt/spec.json @@ -16,9 +16,7 @@ "child": { "type": "`C`", "metadata": { - "examples": [ - "${unit:{id:'f27cae4e-fea8-11ea-b91e-db41e114c426'}}" - ], + "examples": ["${unit:{id:'f27cae4e-fea8-11ea-b91e-db41e114c426'}}"], "position": { "0": { "x": 128, @@ -45,13 +43,9 @@ "icon": "square", "description": "insert `child` instance to `parent` `at` position", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "41a8c91e-87f8-4d96-9714-33716f329f7b", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/Lookup/spec.json b/src/system/platform/api/component/Lookup/spec.json index 82de22b80a..41f8e74860 100644 --- a/src/system/platform/api/component/Lookup/spec.json +++ b/src/system/platform/api/component/Lookup/spec.json @@ -23,13 +23,9 @@ "icon": "square", "description": "lookup a registered component by `name`", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "1ba931d8-0226-4600-9a48-dbb1b17d8d82", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/Register/spec.json b/src/system/platform/api/component/Register/spec.json index ab8df6169c..0c56768a96 100644 --- a/src/system/platform/api/component/Register/spec.json +++ b/src/system/platform/api/component/Register/spec.json @@ -22,13 +22,9 @@ "icon": "square", "description": "register `ref` on `unit` scope", "complexity": 3, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "fb3fc7b4-3175-41ce-9546-cf3a07053cdc", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/component/RemoveChild/spec.json b/src/system/platform/api/component/RemoveChild/spec.json index 6628815f49..bdb7e3573a 100644 --- a/src/system/platform/api/component/RemoveChild/spec.json +++ b/src/system/platform/api/component/RemoveChild/spec.json @@ -8,9 +8,7 @@ "at": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } } }, @@ -25,13 +23,9 @@ "icon": "square", "description": "remove `parent` child element `at` index", "complexity": 18, - "tags": [ - "platform", - "api", - "component" - ] + "tags": ["platform", "api", "component"] }, "id": "6dbff818-02b9-11eb-9ee7-93b57419f741", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/console/Log/spec.json b/src/system/platform/api/console/Log/spec.json index d9161f038a..c367728116 100644 --- a/src/system/platform/api/console/Log/spec.json +++ b/src/system/platform/api/console/Log/spec.json @@ -9,14 +9,10 @@ "icon": "terminal", "description": "print to the console", "complexity": 3, - "tags": [ - "platform", - "api", - "console" - ] + "tags": ["platform", "api", "console"] }, "id": "e7232263-a2cf-4f2b-a862-4fc85933d09f", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/event/Dispatch/spec.json b/src/system/platform/api/event/Dispatch/spec.json index fc67b55190..f0feb96d38 100644 --- a/src/system/platform/api/event/Dispatch/spec.json +++ b/src/system/platform/api/event/Dispatch/spec.json @@ -14,9 +14,7 @@ "opt": { "type": "{bubbles?:boolean}", "metadata": { - "examples": [ - "{},{bubbles:true},{bubbles:false}" - ] + "examples": ["{},{bubbles:true},{bubbles:false}"] } } }, @@ -25,14 +23,10 @@ "icon": "circle", "description": "dispatch a custom `event` with `data` on `element`", "complexity": 3, - "tags": [ - "platform", - "api", - "event" - ] + "tags": ["platform", "api", "event"] }, "id": "a1cd3c3c-b1fa-40a2-80d1-32f416264a3d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/event/Listen/spec.json b/src/system/platform/api/event/Listen/spec.json index cc0f704eea..26b954e668 100644 --- a/src/system/platform/api/event/Listen/spec.json +++ b/src/system/platform/api/event/Listen/spec.json @@ -22,14 +22,10 @@ "icon": "circle", "description": "listen to `emitter` `event`", "complexity": 3, - "tags": [ - "platform", - "api", - "event" - ] + "tags": ["platform", "api", "event"] }, "id": "367241d8-ad12-11ea-beed-9777f31699a8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/gamepad/Gamepad/spec.json b/src/system/platform/api/gamepad/Gamepad/spec.json index ceb3bb06c3..3b9ba5e827 100644 --- a/src/system/platform/api/gamepad/Gamepad/spec.json +++ b/src/system/platform/api/gamepad/Gamepad/spec.json @@ -5,9 +5,7 @@ "i": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "done": { @@ -25,13 +23,9 @@ "icon": "gamepad", "description": "connect to gamepad controller", "complexity": 4, - "tags": [ - "platform", - "api", - "gamepad" - ] + "tags": ["platform", "api", "gamepad"] }, "id": "77238fd9-a968-454d-b7ce-0277bc37475d", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/geolocation/CurrentPosition/spec.json b/src/system/platform/api/geolocation/CurrentPosition/spec.json index 8ad0453faf..c38ebe67fe 100644 --- a/src/system/platform/api/geolocation/CurrentPosition/spec.json +++ b/src/system/platform/api/geolocation/CurrentPosition/spec.json @@ -14,14 +14,10 @@ "icon": "map-pin", "description": "current gps latitude and latitude", "complexity": 3, - "tags": [ - "platform", - "api", - "geolocation" - ] + "tags": ["platform", "api", "geolocation"] }, "id": "a9cba5ec-940d-42a3-b861-86197402cbe4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/http/Server/spec.json b/src/system/platform/api/http/Server/spec.json index 79ba1e0087..f6c2825656 100644 --- a/src/system/platform/api/http/Server/spec.json +++ b/src/system/platform/api/http/Server/spec.json @@ -4,9 +4,7 @@ "port": { "type": "number", "metadata": { - "examples": [ - "8080" - ] + "examples": ["8080"] } }, "done": { @@ -23,16 +21,12 @@ }, "metadata": { "icon": "map-pin", - "description": "current gps latitude and latitude", + "description": "http server", "complexity": 3, - "tags": [ - "platform", - "api", - "http" - ] + "tags": ["platform", "api", "http"] }, "id": "8f72e51a-0c65-47f6-b22b-868c8a00c6dc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/local/LocalChannel/spec.json b/src/system/platform/api/local/LocalChannel/spec.json index ea08811c8f..480a491af2 100644 --- a/src/system/platform/api/local/LocalChannel/spec.json +++ b/src/system/platform/api/local/LocalChannel/spec.json @@ -24,14 +24,10 @@ "icon": "broadcast-tower", "description": "channel for local communication", "complexity": 18, - "tags": [ - "platform", - "api", - "local" - ] + "tags": ["platform", "api", "local"] }, "id": "817c76ba-a71c-4136-af86-bd6b69106c45", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/location/Location/spec.json b/src/system/platform/api/location/Location/spec.json index 240bb9e34c..89dc6268ad 100644 --- a/src/system/platform/api/location/Location/spec.json +++ b/src/system/platform/api/location/Location/spec.json @@ -14,14 +14,10 @@ "icon": "map-pin", "description": "current web context location url", "complexity": 3, - "tags": [ - "platform", - "api", - "geolocation" - ] + "tags": ["platform", "api", "geolocation"] }, "id": "30f6738c-1938-4dcd-9e7f-6c10f9730021", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/CaptureStream/spec.json b/src/system/platform/api/media/CaptureStream/spec.json index 29087e1066..da1d38292e 100644 --- a/src/system/platform/api/media/CaptureStream/spec.json +++ b/src/system/platform/api/media/CaptureStream/spec.json @@ -8,10 +8,7 @@ "opt": { "type": "{frameRate?:number}", "metadata": { - "examples": [ - "{}", - "{frameRate:60}" - ] + "examples": ["{}", "{frameRate:60}"] } }, "stop": { @@ -28,17 +25,11 @@ "icon": "square", "description": "request a stream containing a real-time video capture of the `media` element", "complexity": 13, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaSource" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaSource"] }, "base": true, "id": "30e125ba-af81-11ea-ba6b-e70218ca7afe", "type": "`U`&`MS`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/EnumerateDevices/spec.json b/src/system/platform/api/media/EnumerateDevices/spec.json index 745e156c1a..da4d644019 100644 --- a/src/system/platform/api/media/EnumerateDevices/spec.json +++ b/src/system/platform/api/media/EnumerateDevices/spec.json @@ -14,14 +14,10 @@ "icon": "list", "description": "output a list of the available media input and output devices, such as microphones, cameras, headsets, and so forth", "complexity": 3, - "tags": [ - "platform", - "api", - "media" - ] + "tags": ["platform", "api", "media"] }, "id": "3511f756-2a02-4346-b417-8c34502f79d4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/GetDisplayMedia/spec.json b/src/system/platform/api/media/GetDisplayMedia/spec.json index 91dc7aa77b..97f9692483 100644 --- a/src/system/platform/api/media/GetDisplayMedia/spec.json +++ b/src/system/platform/api/media/GetDisplayMedia/spec.json @@ -16,16 +16,10 @@ "metadata": { "icon": "film", "complexity": 12, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaDevices" - ], + "tags": ["platform", "api", "media"], + "globals": ["MediaDevices"], "href": "" }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/GetVideoTracks/spec.json b/src/system/platform/api/media/GetVideoTracks/spec.json index 4945410492..9289c96ef3 100644 --- a/src/system/platform/api/media/GetVideoTracks/spec.json +++ b/src/system/platform/api/media/GetVideoTracks/spec.json @@ -23,15 +23,9 @@ "metadata": { "icon": "film", "complexity": 13, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaStreamTrack" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaStreamTrack"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/GrabFrame/spec.json b/src/system/platform/api/media/GrabFrame/spec.json index 422be14aca..a26ac53d57 100644 --- a/src/system/platform/api/media/GrabFrame/spec.json +++ b/src/system/platform/api/media/GrabFrame/spec.json @@ -23,15 +23,9 @@ "metadata": { "icon": "film", "complexity": 13, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaRecorder" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaRecorder"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/ImageCapture/spec.json b/src/system/platform/api/media/ImageCapture/spec.json index d50228441e..5b6680835a 100644 --- a/src/system/platform/api/media/ImageCapture/spec.json +++ b/src/system/platform/api/media/ImageCapture/spec.json @@ -23,15 +23,9 @@ "metadata": { "icon": "film", "complexity": 12, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "ImageCapture" - ] + "tags": ["platform", "api", "media"], + "globals": ["ImageCapture"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/MediaRecorder/spec.json b/src/system/platform/api/media/MediaRecorder/spec.json index 077449173d..38c34018b4 100644 --- a/src/system/platform/api/media/MediaRecorder/spec.json +++ b/src/system/platform/api/media/MediaRecorder/spec.json @@ -12,9 +12,7 @@ "start": { "type": "number", "metadata": { - "examples": [ - "2000" - ] + "examples": ["2000"] } }, "stop": { @@ -36,15 +34,9 @@ "metadata": { "icon": "film", "complexity": 13, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaRecorder" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaRecorder"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/UserMedia/spec.json b/src/system/platform/api/media/UserMedia/spec.json index 76068188ee..0c1b105f18 100644 --- a/src/system/platform/api/media/UserMedia/spec.json +++ b/src/system/platform/api/media/UserMedia/spec.json @@ -16,15 +16,9 @@ "metadata": { "icon": "film", "complexity": 12, - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaDevices" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaDevices"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/AnalyserNode/spec.json b/src/system/platform/api/media/audio/AnalyserNode/spec.json index dfb70851ef..1ad285ad30 100644 --- a/src/system/platform/api/media/audio/AnalyserNode/spec.json +++ b/src/system/platform/api/media/audio/AnalyserNode/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{fftSize?:number,frequencyBinCount?:number,minDecibels?:number,maxDecibels?:number,smoothingTimeConstant?:number}", "metadata": { - "examples": [ - "{fftSize:2048}" - ] + "examples": ["{fftSize:2048}"] } } }, @@ -24,18 +22,11 @@ "icon": "activity", "description": "provide real-time frequency and time-domain analysis information from input `node`", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioAnalyser" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioAnalyser"] }, "id": "210632fc-f85b-4f13-a2a9-f689ff85da78", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/AudioContext/spec.json b/src/system/platform/api/media/audio/AudioContext/spec.json index c01af0784e..ae5c1f699d 100644 --- a/src/system/platform/api/media/audio/AudioContext/spec.json +++ b/src/system/platform/api/media/audio/AudioContext/spec.json @@ -15,18 +15,11 @@ "icon": "sliders", "description": "control an audio-processing graph built from audio modules linked together", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "f5df301d-da63-492a-9e59-950289fe6ba9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/AudioDestinationNode/spec.json b/src/system/platform/api/media/audio/AudioDestinationNode/spec.json index e49e5aa678..936b78192b 100644 --- a/src/system/platform/api/media/audio/AudioDestinationNode/spec.json +++ b/src/system/platform/api/media/audio/AudioDestinationNode/spec.json @@ -11,18 +11,11 @@ "icon": "speaker", "description": "// TODO", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioDestinationNode" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioDestinationNode"] }, "id": "71ff4fda-5878-4d4c-b55b-c2c79d8dc546", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/AudioSource/spec.json b/src/system/platform/api/media/audio/AudioSource/spec.json index 0d3a79fd73..e583a39e5a 100644 --- a/src/system/platform/api/media/audio/AudioSource/spec.json +++ b/src/system/platform/api/media/audio/AudioSource/spec.json @@ -18,18 +18,11 @@ "icon": "file-output", "description": "streams audio from a source url", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "Audio" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["Audio"] }, "id": "5c13db99-0923-4b27-85e3-7a18dbfdd309", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/AudioTarget/spec.json b/src/system/platform/api/media/audio/AudioTarget/spec.json index 2e62cc780a..45e7838532 100644 --- a/src/system/platform/api/media/audio/AudioTarget/spec.json +++ b/src/system/platform/api/media/audio/AudioTarget/spec.json @@ -14,18 +14,11 @@ "icon": "headphones", "description": "play audio stream on a selected device", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "Audio" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["Audio"] }, "id": "a7dee8c6-15a3-4b7e-8f63-03f13a7d34a9", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/DelayNode/spec.json b/src/system/platform/api/media/audio/DelayNode/spec.json index f5f6e1f2fd..51c5f684b7 100644 --- a/src/system/platform/api/media/audio/DelayNode/spec.json +++ b/src/system/platform/api/media/audio/DelayNode/spec.json @@ -8,11 +8,7 @@ "gain": { "type": "number", "metadata": { - "examples": [ - "1", - "0", - "0.5" - ] + "examples": ["1", "0", "0.5"] } } }, @@ -26,18 +22,11 @@ "icon": "activity", "description": "periodic waveform, such as a sine wave", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "9543c94b-e19e-430b-8a48-9cda8dae44c5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/GainNode/spec.json b/src/system/platform/api/media/audio/GainNode/spec.json index f7a70c2a3e..47f1187621 100644 --- a/src/system/platform/api/media/audio/GainNode/spec.json +++ b/src/system/platform/api/media/audio/GainNode/spec.json @@ -8,11 +8,7 @@ "gain": { "type": "number", "metadata": { - "examples": [ - "1", - "0", - "0.5" - ] + "examples": ["1", "0", "0.5"] } } }, @@ -26,18 +22,11 @@ "icon": "activity", "description": "periodic waveform, such as a sine wave", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "a8d7c089-0385-4922-bb3a-6c550a8a1b3b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/GetByteFrequencyDomainData/spec.json b/src/system/platform/api/media/audio/GetByteFrequencyDomainData/spec.json index 1a6ede29b1..b3626d97e2 100644 --- a/src/system/platform/api/media/audio/GetByteFrequencyDomainData/spec.json +++ b/src/system/platform/api/media/audio/GetByteFrequencyDomainData/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{}", "metadata": { - "examples": [ - "{fftSize:2048}" - ] + "examples": ["{fftSize:2048}"] } }, "done": { @@ -27,18 +25,11 @@ "icon": "activity", "description": "copies the current frequency data into a unsigned byte array", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioAnalyser" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioAnalyser"] }, "id": "2ec96f8b-4ea5-4ba8-ab8d-a00105c6cb71", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/GetByteTimeDomainData/spec.json b/src/system/platform/api/media/audio/GetByteTimeDomainData/spec.json index 780800a285..b2ee89216f 100644 --- a/src/system/platform/api/media/audio/GetByteTimeDomainData/spec.json +++ b/src/system/platform/api/media/audio/GetByteTimeDomainData/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{}", "metadata": { - "examples": [ - "{fftSize:2048}" - ] + "examples": ["{fftSize:2048}"] } }, "done": { @@ -27,18 +25,11 @@ "icon": "activity", "description": "copies the current time data into an unsigned byte array", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioAnalyser" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioAnalyser"] }, "id": "e4ea5dce-10ea-434b-a93d-c874a92f2f39", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/MediaStreamAudioSourceNode/spec.json b/src/system/platform/api/media/audio/MediaStreamAudioSourceNode/spec.json index e5968f6057..131eb6c00c 100644 --- a/src/system/platform/api/media/audio/MediaStreamAudioSourceNode/spec.json +++ b/src/system/platform/api/media/audio/MediaStreamAudioSourceNode/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "stream": { @@ -28,18 +26,11 @@ "icon": "activity", "description": "periodic waveform, such as a sine wave", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "31408be3-cc2a-490a-b0d1-96e0028ca68e", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/MixerNode/spec.json b/src/system/platform/api/media/audio/MixerNode/spec.json index 5dcf6e3034..370d09a51c 100644 --- a/src/system/platform/api/media/audio/MixerNode/spec.json +++ b/src/system/platform/api/media/audio/MixerNode/spec.json @@ -20,18 +20,11 @@ "icon": "activity", "description": "add two audio signals together", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "33c623e5-bce2-4f30-9a98-50218bb6c431", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/audio/OscillatorNode/spec.json b/src/system/platform/api/media/audio/OscillatorNode/spec.json index 74c36de544..561b9fadd0 100644 --- a/src/system/platform/api/media/audio/OscillatorNode/spec.json +++ b/src/system/platform/api/media/audio/OscillatorNode/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{frequency?:number,type?:string,detune?:number}", "metadata": { - "examples": [ - "{type:'sine',frequency:440}" - ] + "examples": ["{type:'sine',frequency:440}"] } } }, @@ -34,18 +32,11 @@ "icon": "activity", "description": "periodic waveform, such as a sine wave", "complexity": 12, - "tags": [ - "platform", - "api", - "media", - "audio" - ], - "globals": [ - "AudioContext" - ] + "tags": ["platform", "api", "media", "audio"], + "globals": ["AudioContext"] }, "id": "c2738ec3-72fa-4432-96b9-74abb1a6f26a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/download/DownloadText/spec.json b/src/system/platform/api/media/download/DownloadText/spec.json index cff07d3e19..d9d93c87c9 100644 --- a/src/system/platform/api/media/download/DownloadText/spec.json +++ b/src/system/platform/api/media/download/DownloadText/spec.json @@ -4,34 +4,25 @@ "text": { "type": "string", "metadata": { - "examples": [ - "\"unit\"" - ] + "examples": ["\"unit\""] } }, "name": { "type": "string", "metadata": { - "examples": [ - "\"text\"" - ] + "examples": ["\"text\""] } }, "mimetype": { "type": "string", "metadata": { - "examples": [ - "\"text/plain\"", - "\"application/json\"" - ] + "examples": ["\"text/plain\"", "\"application/json\""] } }, "charset": { "type": "string", "metadata": { - "examples": [ - "\"utf-8\"" - ] + "examples": ["\"utf-8\""] } } }, @@ -41,13 +32,9 @@ "icon": "download", "description": "download a `text` string", "complexity": 3, - "tags": [ - "platform", - "api", - "media" - ] + "tags": ["platform", "api", "media"] }, "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/download/DownloadURL/spec.json b/src/system/platform/api/media/download/DownloadURL/spec.json index a64037ec9f..49759af902 100644 --- a/src/system/platform/api/media/download/DownloadURL/spec.json +++ b/src/system/platform/api/media/download/DownloadURL/spec.json @@ -17,13 +17,9 @@ "icon": "download", "description": "download whatever is at the given `url`", "complexity": 3, - "tags": [ - "platform", - "api", - "media" - ] + "tags": ["platform", "api", "media"] }, "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/media/image/ImageToBitmap/spec.json b/src/system/platform/api/media/image/ImageToBitmap/spec.json index cbf56d1c44..03646ab37a 100644 --- a/src/system/platform/api/media/image/ImageToBitmap/spec.json +++ b/src/system/platform/api/media/image/ImageToBitmap/spec.json @@ -4,9 +4,7 @@ "opt": { "type": "{imageOrientation?:'none'|'flipY',premultiplyAlpha?:'none'|'premultiply'|'default',colorSpaceConversion?:'none'|'default',resizeWidth?:number,resizeHeight?:number,resizeQuality?:'pixelated'|'low'|'medium'}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "image": { @@ -16,9 +14,7 @@ "rect": { "type": "{x?:number,y?:number,width?:number,height?:number}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -34,15 +30,9 @@ "icon": "image", "complexity": 12, "description": "transform image to bitmap", - "tags": [ - "platform", - "api", - "media" - ], - "globals": [ - "MediaRecorder" - ] + "tags": ["platform", "api", "media"], + "globals": ["MediaRecorder"] }, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/network/EventSource/spec.json b/src/system/platform/api/network/EventSource/spec.json index 6358dc72f0..42e4a68ec2 100644 --- a/src/system/platform/api/network/EventSource/spec.json +++ b/src/system/platform/api/network/EventSource/spec.json @@ -4,9 +4,7 @@ "url": { "type": "string", "metadata": { - "examples": [ - "'/'" - ] + "examples": ["'/'"] } }, "close": { @@ -25,14 +23,10 @@ "description": "opens a persistent connection to an HTTP server, which sends events in text/event-stream format", "link": "https://developer.mozilla.org/en-US/docs/Web/API/EventSource", "complexity": 3, - "tags": [ - "platform", - "api", - "network" - ] + "tags": ["platform", "api", "network"] }, "id": "41de8d5e-2c41-441c-ad29-cc3f5d4e6c7a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/network/Fetch/spec.json b/src/system/platform/api/network/Fetch/spec.json index 77cdee5b1c..0f587ff7bb 100644 --- a/src/system/platform/api/network/Fetch/spec.json +++ b/src/system/platform/api/network/Fetch/spec.json @@ -4,17 +4,13 @@ "url": { "type": "string", "metadata": { - "examples": [ - "'/'" - ] + "examples": ["'/'"] } }, "opt": { "type": "{body?:string|null,headers?:object,method?:string}", "metadata": { - "examples": [ - "{method:'GET'}" - ] + "examples": ["{method:'GET'}"] } } }, @@ -28,14 +24,10 @@ "description": "fetch a resource across the network through HTTP", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API", "complexity": 3, - "tags": [ - "platform", - "api", - "network" - ] + "tags": ["platform", "api", "network"] }, "id": "c5856fdc-5154-46ab-a414-47f37af39da1", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/network/Fetch0/spec.json b/src/system/platform/api/network/Fetch0/spec.json index ce0cb98a5b..e9a07a8509 100644 --- a/src/system/platform/api/network/Fetch0/spec.json +++ b/src/system/platform/api/network/Fetch0/spec.json @@ -4,17 +4,13 @@ "url": { "type": "string", "metadata": { - "examples": [ - "'/'" - ] + "examples": ["'/'"] } }, "opt": { "type": "{body?:string|null,headers?:object,method?:string}", "metadata": { - "examples": [ - "{method:'GET'}" - ] + "examples": ["{method:'GET'}"] } }, "body": { @@ -34,14 +30,10 @@ "description": "fetch a resource across the network through HTTP", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API", "complexity": 3, - "tags": [ - "platform", - "api", - "network" - ] + "tags": ["platform", "api", "network"] }, "id": "b97c0133-6c87-4b69-af4e-354c0b590ece", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/network/Socket/spec.json b/src/system/platform/api/network/Socket/spec.json index 546aa10c7a..3ccde7a578 100644 --- a/src/system/platform/api/network/Socket/spec.json +++ b/src/system/platform/api/network/Socket/spec.json @@ -20,14 +20,10 @@ "description": "create, manage and message a web socket connection to a server", "link": "https://developer.mozilla.org/en-US/docs/Web/API/WebSocket", "complexity": 3, - "tags": [ - "platform", - "api", - "network" - ] + "tags": ["platform", "api", "network"] }, "id": "b8fc168e-ee2f-11ea-a42a-730934861ff1", "base": true, "type": "`U`&`CH`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/network/ToJson/spec.json b/src/system/platform/api/network/ToJson/spec.json index c1d7c313b1..dfafa5476b 100644 --- a/src/system/platform/api/network/ToJson/spec.json +++ b/src/system/platform/api/network/ToJson/spec.json @@ -19,14 +19,10 @@ "description": "reads response to completion and parse the body text as JSON", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API", "complexity": 3, - "tags": [ - "platform", - "api", - "network" - ] + "tags": ["platform", "api", "network"] }, "id": "4e14b9e8-a694-4c58-b509-fc53a279c22c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/notification/Close/spec.json b/src/system/platform/api/notification/Close/spec.json index d90c852b3e..005050e6e6 100644 --- a/src/system/platform/api/notification/Close/spec.json +++ b/src/system/platform/api/notification/Close/spec.json @@ -15,14 +15,10 @@ "icon": "bell", "description": "remove `notification` from system tray", "complexity": 3, - "tags": [ - "platform", - "api", - "notification" - ] + "tags": ["platform", "api", "notification"] }, "id": "29e974cc-081b-11eb-a607-1fd4ec67a52f", "type": "`U`", "system": true, "base": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/notification/Notification/spec.json b/src/system/platform/api/notification/Notification/spec.json index 866fcd808e..6329be33f1 100644 --- a/src/system/platform/api/notification/Notification/spec.json +++ b/src/system/platform/api/notification/Notification/spec.json @@ -6,14 +6,10 @@ "icon": "bell", "description": "notification object", "complexity": 3, - "tags": [ - "platform", - "api", - "notification" - ] + "tags": ["platform", "api", "notification"] }, "id": "bb029770-080e-11eb-9d38-f314d076f14b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/notification/Show/spec.json b/src/system/platform/api/notification/Show/spec.json index a3ba11ab11..35a67e306f 100644 --- a/src/system/platform/api/notification/Show/spec.json +++ b/src/system/platform/api/notification/Show/spec.json @@ -17,14 +17,10 @@ "icon": "bell", "description": "push `notification` to system tray", "complexity": 3, - "tags": [ - "platform", - "api", - "notification" - ] + "tags": ["platform", "api", "notification"] }, "id": "5aea0bf0-0815-11eb-9304-5f90b5542620", "type": "`U`", "system": true, "base": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/observer/IntersectionObserver/spec.json b/src/system/platform/api/observer/IntersectionObserver/spec.json index 335366f441..0d2deb93c5 100644 --- a/src/system/platform/api/observer/IntersectionObserver/spec.json +++ b/src/system/platform/api/observer/IntersectionObserver/spec.json @@ -22,14 +22,10 @@ "icon": "ruler", "description": "asynchronously observe changes in the intersection of a target element with an `ancestor` element", "complexity": 4, - "tags": [ - "platform", - "api", - "observer" - ] + "tags": ["platform", "api", "observer"] }, "id": "34a36b3a-cb04-4429-bdbc-15e0c278ad7a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/observer/Observe/spec.json b/src/system/platform/api/observer/Observe/spec.json index acedd3002d..9c2552f8ef 100644 --- a/src/system/platform/api/observer/Observe/spec.json +++ b/src/system/platform/api/observer/Observe/spec.json @@ -22,14 +22,10 @@ "icon": "eye", "description": "monitors `component` to detect when it intersects with a defined ancestor", "complexity": 3, - "tags": [ - "platform", - "api", - "observer" - ] + "tags": ["platform", "api", "observer"] }, "id": "e8aded15-a1af-42a0-9a9d-f88fcfd03dc3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/observer/SizeObserver/spec.json b/src/system/platform/api/observer/SizeObserver/spec.json index 9b24c19640..af41e12d6b 100644 --- a/src/system/platform/api/observer/SizeObserver/spec.json +++ b/src/system/platform/api/observer/SizeObserver/spec.json @@ -18,14 +18,10 @@ "icon": "ruler", "description": "watch the size of a component", "complexity": 3, - "tags": [ - "platform", - "api", - "observer" - ] + "tags": ["platform", "api", "observer"] }, "id": "2f2d5ea4-6dd2-406e-a095-5552ebc235e7", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/peer/PeerDuplex/spec.json b/src/system/platform/api/peer/PeerDuplex/spec.json index 91202c91c7..ad41463447 100644 --- a/src/system/platform/api/peer/PeerDuplex/spec.json +++ b/src/system/platform/api/peer/PeerDuplex/spec.json @@ -329,11 +329,7 @@ "metadata": { "icon": "link", "complexity": 18, - "tags": [ - "platform", - "api", - "peer" - ], + "tags": ["platform", "api", "peer"], "position": { "merge": { "hjpqrffi": { @@ -345,4 +341,4 @@ }, "id": "755b0a17-1b09-45b4-bb7d-e63d21009efd", "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/api/peer/PeerGraph/spec.json b/src/system/platform/api/peer/PeerGraph/spec.json index 1763a17a4b..f56452edc6 100644 --- a/src/system/platform/api/peer/PeerGraph/spec.json +++ b/src/system/platform/api/peer/PeerGraph/spec.json @@ -7,9 +7,7 @@ "opt": { "type": "{iceServers:{urls:string[]}[]}", "metadata": { - "examples": [ - "{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}" - ] + "examples": ["{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}"] } }, "close": { @@ -31,14 +29,10 @@ "icon": "link", "description": "remote peer graph", "complexity": 19, - "tags": [ - "platform", - "api", - "peer" - ] + "tags": ["platform", "api", "peer"] }, "id": "d4ec46ab-d065-4d1c-9357-fa8b95be0c36", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/peer/PeerReceiver/spec.json b/src/system/platform/api/peer/PeerReceiver/spec.json index 45469655b0..05487bdee0 100644 --- a/src/system/platform/api/peer/PeerReceiver/spec.json +++ b/src/system/platform/api/peer/PeerReceiver/spec.json @@ -10,9 +10,7 @@ "opt": { "type": "{iceServers:{urls:string[]}[]}", "metadata": { - "examples": [ - "{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}" - ] + "examples": ["{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}"] } } }, @@ -33,14 +31,10 @@ "icon": "link", "description": "Peer to Peer (P2P) Receiver", "complexity": 4, - "tags": [ - "platform", - "api", - "peer" - ] + "tags": ["platform", "api", "peer"] }, "id": "f079a38e-fb4f-496e-8e5f-d5e03a590cda", "base": true, "type": "`U`&``", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/peer/PeerShareGraph/spec.json b/src/system/platform/api/peer/PeerShareGraph/spec.json index 1400e9fb9e..ad73405982 100644 --- a/src/system/platform/api/peer/PeerShareGraph/spec.json +++ b/src/system/platform/api/peer/PeerShareGraph/spec.json @@ -8,9 +8,7 @@ "opt": { "type": "{iceServers:{urls:string[]}[]}", "metadata": { - "examples": [ - "{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}" - ] + "examples": ["{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}"] } }, "answer": { @@ -30,14 +28,10 @@ "icon": "link", "description": "allow remote peer to connect to this graph", "complexity": 22, - "tags": [ - "platform", - "api", - "peer" - ] + "tags": ["platform", "api", "peer"] }, "id": "16fa715f-fc94-43f7-831e-335037c8daea", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/peer/PeerTransmitter/spec.json b/src/system/platform/api/peer/PeerTransmitter/spec.json index 656ed10dea..89b022d8f0 100644 --- a/src/system/platform/api/peer/PeerTransmitter/spec.json +++ b/src/system/platform/api/peer/PeerTransmitter/spec.json @@ -11,9 +11,7 @@ "opt": { "type": "{iceServers:{urls:string[]}[]}", "metadata": { - "examples": [ - "{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}" - ] + "examples": ["{iceServers:[{urls:['stun:stun.l.google.com:19302']}]}"] } }, "close": { @@ -33,14 +31,10 @@ "icon": "link", "description": "output `offer` and input `answer` to stablish a Peer to Peer (P2P) connection with a remote peer", "complexity": 4, - "tags": [ - "platform", - "api", - "peer" - ] + "tags": ["platform", "api", "peer"] }, "id": "7375aad5-50fd-403c-80ae-471b95088f04", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/pointer/SetPointerCapture/spec.json b/src/system/platform/api/pointer/SetPointerCapture/spec.json index 2548af9388..23b3111efe 100644 --- a/src/system/platform/api/pointer/SetPointerCapture/spec.json +++ b/src/system/platform/api/pointer/SetPointerCapture/spec.json @@ -17,14 +17,10 @@ "icon": "mouse-pointer", "description": "set specific `element` as the capture target of future pointer events from this `pointerId`", "complexity": 3, - "tags": [ - "platform", - "api", - "pointer" - ] + "tags": ["platform", "api", "pointer"] }, "id": "d3fc887c-9fc5-11eb-8f63-ab42b0414469", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/scroll/ScrollIntoView/spec.json b/src/system/platform/api/scroll/ScrollIntoView/spec.json index c7c30ebb29..6b5fed8b3d 100644 --- a/src/system/platform/api/scroll/ScrollIntoView/spec.json +++ b/src/system/platform/api/scroll/ScrollIntoView/spec.json @@ -14,13 +14,10 @@ "icon": "send", "description": "scroll parent until `component` is visible", "complexity": 3, - "tags": [ - "platform", - "api" - ] + "tags": ["platform", "api"] }, "base": true, "id": "de9665db-a188-4252-99f0-ea50fc343058", "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/share/Share/spec.json b/src/system/platform/api/share/Share/spec.json index 9888dbf126..2ea0506526 100644 --- a/src/system/platform/api/share/Share/spec.json +++ b/src/system/platform/api/share/Share/spec.json @@ -10,14 +10,10 @@ "icon": "share", "description": "watch the size of a component", "complexity": 3, - "tags": [ - "platform", - "api", - "observer" - ] + "tags": ["platform", "api", "observer"] }, "id": "04eda925-4423-40c8-83c8-2117a0d81185", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/speech/SpeechToText/spec.json b/src/system/platform/api/speech/SpeechToText/spec.json index f62f08e16b..5096ddf808 100644 --- a/src/system/platform/api/speech/SpeechToText/spec.json +++ b/src/system/platform/api/speech/SpeechToText/spec.json @@ -12,9 +12,7 @@ "stop": { "type": "any", "metadata": { - "examples": [ - "'en-us'" - ] + "examples": ["'en-us'"] } } }, @@ -27,14 +25,10 @@ "icon": "mic", "description": "transcribe user's microphone speech recording", "complexity": 4, - "tags": [ - "platform", - "api", - "speech" - ] + "tags": ["platform", "api", "speech"] }, "id": "416550cc-6e02-4ff2-aafa-2f0edbf121c6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/speech/TextToSpeech/spec.json b/src/system/platform/api/speech/TextToSpeech/spec.json index 544ba90753..5e2b616a55 100644 --- a/src/system/platform/api/speech/TextToSpeech/spec.json +++ b/src/system/platform/api/speech/TextToSpeech/spec.json @@ -4,18 +4,13 @@ "message": { "type": "string", "metadata": { - "examples": [ - "'hello world'", - "'welcome to unit!'" - ] + "examples": ["'hello world'", "'welcome to unit!'"] } }, "voice": { "type": "number", "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } } }, @@ -24,14 +19,10 @@ "icon": "message-circle", "description": "speak the message", "complexity": 3, - "tags": [ - "platform", - "api", - "speech" - ] + "tags": ["platform", "api", "speech"] }, "id": "6db29a62-2035-4cfc-a9d3-03444a8bc2b8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/storage/LocalStorage/spec.json b/src/system/platform/api/storage/LocalStorage/spec.json index b62b2da39d..f245d9fbe9 100644 --- a/src/system/platform/api/storage/LocalStorage/spec.json +++ b/src/system/platform/api/storage/LocalStorage/spec.json @@ -6,17 +6,11 @@ "icon": "table", "description": "persist data on local storage", "complexity": 11, - "tags": [ - "platform", - "api", - "storage" - ], - "globals": [ - "LocalStorage" - ] + "tags": ["platform", "api", "storage"], + "globals": ["LocalStorage"] }, "id": "c8f3faa8-09f4-11eb-a3b1-477aa3ec4193", "base": true, "type": "`U`&`V`&`J`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/storage/SessionStorage/spec.json b/src/system/platform/api/storage/SessionStorage/spec.json index 8cb60d215c..3f8a45bfb0 100644 --- a/src/system/platform/api/storage/SessionStorage/spec.json +++ b/src/system/platform/api/storage/SessionStorage/spec.json @@ -6,17 +6,11 @@ "icon": "table", "description": "persist data on current session storage", "complexity": 12, - "tags": [ - "platform", - "api", - "storage" - ], - "globals": [ - "SessionStorage" - ] + "tags": ["platform", "api", "storage"], + "globals": ["SessionStorage"] }, "id": "dc513ed0-09f4-11eb-a54a-7f4d4e253ef5", "base": true, "type": "`U`&`V`&`J`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/system/user/Decrypt/spec.json b/src/system/platform/api/system/user/Decrypt/spec.json index 23d24a135a..ce1f4913b4 100644 --- a/src/system/platform/api/system/user/Decrypt/spec.json +++ b/src/system/platform/api/system/user/Decrypt/spec.json @@ -14,17 +14,11 @@ "icon": "table", "description": "decrypt `hash` with user private key", "complexity": 12, - "tags": [ - "platform", - "api", - "storage" - ], - "globals": [ - "LocalStorage" - ] + "tags": ["platform", "api", "storage"], + "globals": ["LocalStorage"] }, "id": "08ff535a-93a7-403c-a1ef-c59cdb50ccf0", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/system/user/PublicKey/spec.json b/src/system/platform/api/system/user/PublicKey/spec.json index e2cd0a5602..514ebc6479 100644 --- a/src/system/platform/api/system/user/PublicKey/spec.json +++ b/src/system/platform/api/system/user/PublicKey/spec.json @@ -14,17 +14,11 @@ "icon": "table", "description": "get user's public key", "complexity": 12, - "tags": [ - "platform", - "api", - "storage" - ], - "globals": [ - "LocalStorage" - ] + "tags": ["platform", "api", "storage"], + "globals": ["LocalStorage"] }, "id": "0f041192-1ff3-4094-93da-9264480ad5e2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/system/user/Sign/spec.json b/src/system/platform/api/system/user/Sign/spec.json index 0164533899..01a6399396 100644 --- a/src/system/platform/api/system/user/Sign/spec.json +++ b/src/system/platform/api/system/user/Sign/spec.json @@ -14,17 +14,11 @@ "icon": "table", "description": "sign `value` with user's private key", "complexity": 12, - "tags": [ - "platform", - "api", - "storage" - ], - "globals": [ - "LocalStorage" - ] + "tags": ["platform", "api", "storage"], + "globals": ["LocalStorage"] }, "id": "58846eae-1650-41e7-ad42-a75b9c32332a", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/vibration/vibrate/spec.json b/src/system/platform/api/vibration/vibrate/spec.json index d7ea41a42b..d2b718e41c 100644 --- a/src/system/platform/api/vibration/vibrate/spec.json +++ b/src/system/platform/api/vibration/vibrate/spec.json @@ -10,14 +10,10 @@ "icon": "wave-square", "description": "vibrate following period `pattern`", "complexity": 3, - "tags": [ - "platform", - "api", - "vibration" - ] + "tags": ["platform", "api", "vibration"] }, "id": "68992d62-d5ca-11ea-888d-97179b32b7ab", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/wakelock/WakeLock/spec.json b/src/system/platform/api/wakelock/WakeLock/spec.json index 17ce443eda..1e408e354e 100644 --- a/src/system/platform/api/wakelock/WakeLock/spec.json +++ b/src/system/platform/api/wakelock/WakeLock/spec.json @@ -14,14 +14,10 @@ "description": "prevent device from dimming or locking the screen", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API", "complexity": 3, - "tags": [ - "platform", - "api", - "wakelock" - ] + "tags": ["platform", "api", "wakelock"] }, "id": "81a54674-4e9c-11eb-a0e4-2b75980dbd9b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/window/Open/spec.json b/src/system/platform/api/window/Open/spec.json index d8dd295e72..3e315ae344 100644 --- a/src/system/platform/api/window/Open/spec.json +++ b/src/system/platform/api/window/Open/spec.json @@ -7,22 +7,13 @@ "target": { "type": "string", "metadata": { - "examples": [ - "'_blank'", - "'_self'", - "'_parent'", - "'_top'" - ] + "examples": ["'_blank'", "'_self'", "'_parent'", "'_top'"] } }, "features": { "type": "object", "metadata": { - "examples": [ - "{}", - "{popup:true}", - "{popup:true,width:600,height:600}" - ] + "examples": ["{}", "{popup:true}", "{popup:true,width:600,height:600}"] } }, "done": { @@ -44,14 +35,10 @@ "description": "loads `url` into a new or existing `target` browsing context", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/open", "complexity": 3, - "tags": [ - "platform", - "api", - "wakelock" - ] + "tags": ["platform", "api", "wakelock"] }, "id": "1baddd01-97a9-4971-b74a-e933fefdb629", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/api/window/PostMessage/spec.json b/src/system/platform/api/window/PostMessage/spec.json index 6f52dbb017..a59c1de6eb 100644 --- a/src/system/platform/api/window/PostMessage/spec.json +++ b/src/system/platform/api/window/PostMessage/spec.json @@ -7,22 +7,13 @@ "target": { "type": "string", "metadata": { - "examples": [ - "'_blank'", - "'_self'", - "'_parent'", - "'_top'" - ] + "examples": ["'_blank'", "'_self'", "'_parent'", "'_top'"] } }, "features": { "type": "object", "metadata": { - "examples": [ - "{}", - "{popup:true}", - "{popup:true,width:600,height:600}" - ] + "examples": ["{}", "{popup:true}", "{popup:true,width:600,height:600}"] } }, "done": { @@ -44,14 +35,10 @@ "description": "loads `url` into a new or existing `target` browsing context", "link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/open", "complexity": 3, - "tags": [ - "platform", - "api", - "wakelock" - ] + "tags": ["platform", "api", "wakelock"] }, "id": "ed53d847-6336-435b-9e5e-fd38c79dc9c6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/asset/Icons/spec.json b/src/system/platform/asset/Icons/spec.json index dc24fe82d2..13874600e8 100644 --- a/src/system/platform/asset/Icons/spec.json +++ b/src/system/platform/asset/Icons/spec.json @@ -14,13 +14,10 @@ "icon": "value-absolute", "description": "output system `icons` dictionary", "complexity": 7, - "tags": [ - "f", - "math" - ] + "tags": ["f", "math"] }, "id": "72c84615-4d9c-4a82-a828-fa5d9447a4d5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Anchor/spec.json b/src/system/platform/component/Anchor/spec.json index d50474c4a6..7546755495 100644 --- a/src/system/platform/component/Anchor/spec.json +++ b/src/system/platform/component/Anchor/spec.json @@ -13,9 +13,7 @@ "type": "string", "optional": true, "metadata": { - "examples": [ - "\"_blank\"" - ] + "examples": ["\"_blank\""] } } }, @@ -24,10 +22,7 @@ "icon": "link", "description": "HTML anchor element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "ccf6d0e2-6b08-11eb-9fc3-3785374109d0", "base": true, @@ -38,4 +33,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Button/spec.json b/src/system/platform/component/Button/spec.json index bbf900d57d..140f872bb2 100644 --- a/src/system/platform/component/Button/spec.json +++ b/src/system/platform/component/Button/spec.json @@ -6,9 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -17,10 +15,7 @@ "icon": "square", "description": "HTML div element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "b61f5cc6-37e9-45e1-965b-02940820f7ce", "base": true, @@ -30,4 +25,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Constrain/spec.json b/src/system/platform/component/Constrain/spec.json index 0248f285f2..4272139e66 100644 --- a/src/system/platform/component/Constrain/spec.json +++ b/src/system/platform/component/Constrain/spec.json @@ -5,9 +5,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -16,10 +14,7 @@ "icon": "square", "description": "force base style on all children", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "7c27cf95-6226-4326-8619-32d82bcbe16d", "base": true, @@ -30,4 +25,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Div/Component.ts b/src/system/platform/component/Div/Component.ts index 28abcb6663..70594a011d 100644 --- a/src/system/platform/component/Div/Component.ts +++ b/src/system/platform/component/Div/Component.ts @@ -16,12 +16,6 @@ export interface Props { attr?: Dict } -const DEFAULT_STYLE = { - width: '100%', - color: 'currentColor', - boxSizing: 'border-box', -} - export default class Div extends Element { private _prop_handler: PropHandler @@ -45,6 +39,7 @@ export default class Div extends Element { if (id !== undefined) { this.$element.id = id } + if (className !== undefined) { this.$element.className = className } @@ -75,10 +70,10 @@ export default class Div extends Element { } } - applyDynamicStyle(this, this.$element, { ...DEFAULT_STYLE, ...style }) + applyDynamicStyle(this, this.$element, style) this._prop_handler = { - ...htmlPropHandler(this, this.$element, DEFAULT_STYLE), + ...htmlPropHandler(this, this.$element, {}), } } diff --git a/src/system/platform/component/Div/spec.json b/src/system/platform/component/Div/spec.json index ac8f4e8aec..ae69d19ec1 100644 --- a/src/system/platform/component/Div/spec.json +++ b/src/system/platform/component/Div/spec.json @@ -6,10 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}", - "{background:'red'}" - ] + "examples": ["{}", "{background:'red'}"] } }, "attr": { @@ -17,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -30,10 +23,7 @@ "icon": "square", "description": "HTML div element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "66698a97-15c5-4602-9925-11a1aeb03710", "base": true, @@ -43,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Frame/spec.json b/src/system/platform/component/Frame/spec.json index 4f123809fb..af08d3dca7 100644 --- a/src/system/platform/component/Frame/spec.json +++ b/src/system/platform/component/Frame/spec.json @@ -4,9 +4,7 @@ "style": { "type": "object", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -15,10 +13,7 @@ "icon": "square", "description": "context of the connected `element`", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "d7c86a2a-489f-11eb-b83e-d3767f6d49b7", "base": true, @@ -29,4 +24,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/H1/spec.json b/src/system/platform/component/H1/spec.json index 1986344337..4f5e3ce20b 100644 --- a/src/system/platform/component/H1/spec.json +++ b/src/system/platform/component/H1/spec.json @@ -6,10 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}", - "{background:'red'}" - ] + "examples": ["{}", "{background:'red'}"] } }, "attr": { @@ -17,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -30,10 +23,7 @@ "icon": "square", "description": "HTML h3 heading element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "dd7616e2-2e64-4d9c-b13e-ca7efeacd982", "base": true, @@ -43,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/H2/spec.json b/src/system/platform/component/H2/spec.json index 5f18ff4c56..e66cb85daf 100644 --- a/src/system/platform/component/H2/spec.json +++ b/src/system/platform/component/H2/spec.json @@ -6,10 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}", - "{background:'red'}" - ] + "examples": ["{}", "{background:'red'}"] } }, "attr": { @@ -17,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -30,10 +23,7 @@ "icon": "square", "description": "HTML h3 heading element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "321f971c-b898-4ca4-9e6e-3d75d68940f7", "base": true, @@ -43,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/H3/spec.json b/src/system/platform/component/H3/spec.json index ca993c4e3e..e707c840ab 100644 --- a/src/system/platform/component/H3/spec.json +++ b/src/system/platform/component/H3/spec.json @@ -6,10 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}", - "{background:'red'}" - ] + "examples": ["{}", "{background:'red'}"] } }, "attr": { @@ -17,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -30,10 +23,7 @@ "icon": "square", "description": "HTML h3 heading element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "b7f043ee-4f9d-4f69-90fe-63b1357ff4c2", "base": true, @@ -43,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Icon/spec.json b/src/system/platform/component/Icon/spec.json index 660969f58a..668c5b190e 100644 --- a/src/system/platform/component/Icon/spec.json +++ b/src/system/platform/component/Icon/spec.json @@ -5,9 +5,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "attr": { @@ -15,20 +13,14 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "icon": { "type": "string", "optional": true, "metadata": { - "examples": [ - "\"unit\"", - "\"circle\"", - "\"square\"" - ] + "examples": ["\"unit\"", "\"circle\"", "\"square\""] } } }, @@ -37,10 +29,7 @@ "icon": "square", "description": "icon from the system", "complexity": 47, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "63a417e5-d354-4b39-9ebd-05f55e70de7b", "base": true, @@ -51,4 +40,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Iframe/spec.json b/src/system/platform/component/Iframe/spec.json index 1060fc089d..236e426a0b 100644 --- a/src/system/platform/component/Iframe/spec.json +++ b/src/system/platform/component/Iframe/spec.json @@ -24,10 +24,7 @@ "icon": "square", "description": "website container container", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "32ff22b0-8221-4584-9c78-d21102dcfa6a", "base": true, @@ -38,4 +35,4 @@ "type": "`U`&`C`&`V`&`J`&`CH`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Inherit/spec.json b/src/system/platform/component/Inherit/spec.json index 744bda84fc..9c98ca393b 100644 --- a/src/system/platform/component/Inherit/spec.json +++ b/src/system/platform/component/Inherit/spec.json @@ -5,9 +5,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -16,10 +14,7 @@ "icon": "square", "description": "apply default style to all children", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "b5286262-9f92-40d3-8545-88fb3079a0f9", "base": true, @@ -30,4 +25,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Label/spec.json b/src/system/platform/component/Label/spec.json index fe59dc4924..8201a32e68 100644 --- a/src/system/platform/component/Label/spec.json +++ b/src/system/platform/component/Label/spec.json @@ -6,9 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "attr": { @@ -16,9 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -27,10 +23,7 @@ "icon": "square", "description": "HTML label element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "23b7df22-79e0-4233-8388-7e6e8f1859c6", "base": true, @@ -40,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Paragraph/spec.json b/src/system/platform/component/Paragraph/spec.json index 43c595a27c..8bccc9895c 100644 --- a/src/system/platform/component/Paragraph/spec.json +++ b/src/system/platform/component/Paragraph/spec.json @@ -6,10 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}", - "{background:'red'}" - ] + "examples": ["{}", "{background:'red'}"] } }, "attr": { @@ -17,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -30,10 +23,7 @@ "icon": "square", "description": "HTML h3 heading element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "2a5ad480-9d38-4918-8774-41fac7b54203", "base": true, @@ -43,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Parent/spec.json b/src/system/platform/component/Parent/spec.json index b2270fa1ed..2fdfdffdd4 100644 --- a/src/system/platform/component/Parent/spec.json +++ b/src/system/platform/component/Parent/spec.json @@ -7,10 +7,7 @@ "icon": "square", "description": "HTML div element", "complexity": 42, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "78b0939d-43e1-4f6c-867d-e4217a55d217", "base": true, @@ -20,4 +17,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Render/spec.json b/src/system/platform/component/Render/spec.json index 99a43de2e4..f7db513b99 100644 --- a/src/system/platform/component/Render/spec.json +++ b/src/system/platform/component/Render/spec.json @@ -6,9 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } }, "component": { @@ -21,10 +19,7 @@ "icon": "square", "description": "render a component", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "7772a2f5-40c8-482e-83f4-bed9bfb364e3", "base": true, @@ -34,4 +29,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Span/spec.json b/src/system/platform/component/Span/spec.json index e9476fa186..a8fae23512 100644 --- a/src/system/platform/component/Span/spec.json +++ b/src/system/platform/component/Span/spec.json @@ -6,9 +6,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -17,10 +15,7 @@ "icon": "square", "description": "HTML div element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "c711d540-9de3-437e-854a-b59491af3cf8", "base": true, @@ -30,4 +25,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Style/spec.json b/src/system/platform/component/Style/spec.json index d7c0e71464..a595a9bab5 100644 --- a/src/system/platform/component/Style/spec.json +++ b/src/system/platform/component/Style/spec.json @@ -6,9 +6,7 @@ "type": "string", "optional": true, "metadata": { - "examples": [ - "div { outline: 1px solid currentColor; }" - ] + "examples": ["div { outline: 1px solid currentColor; }"] } }, "attr": { @@ -16,11 +14,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "{tabIndex:1}", - "{title:'hello'}", - "{draggable:true}" - ] + "examples": ["{tabIndex:1}", "{title:'hello'}", "{draggable:true}"] } } }, @@ -29,10 +23,7 @@ "icon": "square", "description": "HTML style element", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "62ca7eae-ea36-4960-a8f2-6b5978cabbab", "base": true, @@ -42,4 +33,4 @@ }, "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Wrap/spec.json b/src/system/platform/component/Wrap/spec.json index d5346a55a3..d78c06ca44 100644 --- a/src/system/platform/component/Wrap/spec.json +++ b/src/system/platform/component/Wrap/spec.json @@ -5,9 +5,7 @@ "type": "`C`", "optional": true, "metadata": { - "examples": [ - "${unit:{id:\"f27cae4e-fea8-11ea-b91e-db41e114c426\"}}" - ] + "examples": ["${unit:{id:\"f27cae4e-fea8-11ea-b91e-db41e114c426\"}}"] } } }, @@ -22,10 +20,7 @@ "icon": "square", "description": "wrap all children with `component`", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "454aaff2-cd74-4f6e-baf2-631bb32e7a6b", "base": true, @@ -36,4 +31,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/Zoom/spec.json b/src/system/platform/component/Zoom/spec.json index 3314b05da0..3080d7459f 100644 --- a/src/system/platform/component/Zoom/spec.json +++ b/src/system/platform/component/Zoom/spec.json @@ -9,25 +9,19 @@ "type": "{x:number,y:number,z:number}", "optional": true, "metadata": { - "examples": [ - "{x:0,y:0,z:1}" - ] + "examples": ["{x:0,y:0,z:1}"] } }, "width": { "type": "number", "metadata": { - "examples": [ - "240" - ] + "examples": ["240"] } }, "height": { "type": "number", "metadata": { - "examples": [ - "240" - ] + "examples": ["240"] } } }, @@ -36,10 +30,7 @@ "icon": "square", "description": "parent container", "complexity": 43, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "3ffeaaf8-30dd-11eb-9dcc-836b075fc64d", "component": { @@ -50,4 +41,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Bot/spec.json b/src/system/platform/component/app/Bot/spec.json index 3736eab4da..b9afb5673c 100644 --- a/src/system/platform/component/app/Bot/spec.json +++ b/src/system/platform/component/app/Bot/spec.json @@ -24,11 +24,7 @@ "icon": "bot", "description": "your fellow robot", "complexity": 45, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "0e9e6cd4-67eb-11ea-995b-4b0721193361", "base": true, @@ -39,4 +35,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/DataTree/Component.ts b/src/system/platform/component/app/DataTree/Component.ts index 79215312f1..26616c769c 100644 --- a/src/system/platform/component/app/DataTree/Component.ts +++ b/src/system/platform/component/app/DataTree/Component.ts @@ -43,6 +43,7 @@ const STYLE_SEPARATOR = { width: '6px', fontSize: '12px', lineHeight: `${LEAF_HEIGHT}px`, + boxSizing: 'border-box', } const STYLE_DELIMITER = { @@ -53,6 +54,7 @@ const STYLE_DELIMITER = { width: '6px', fontSize: '12px', lineHeight: `${LEAF_HEIGHT}px`, + boxSizing: 'border-box', } const STYLE_PARENT = (overflow: boolean) => { @@ -68,6 +70,8 @@ const STYLE_PARENT = (overflow: boolean) => { const STYLE_CONTAINER = (overflow: boolean) => { return { display: 'flex', + color: 'currentcolor', + boxSizing: 'border-box', flexDirection: overflow ? 'column' : 'row', marginLeft: overflow ? `${CONTAINER_COLUMN_LEFT_MARGIN}px` @@ -86,16 +90,20 @@ const STYLE_COMMA = { width: '6px', textAlign: 'left', fontSize: '12px', + boxSizing: 'border-box', } const STYLE_SPACE = { display: 'inline-block', width: '2px', + boxSizing: 'border-box', } export const DEFAULT_STYLE = { width: 'fit-content', height: '100%', + color: 'currentcolor', + boxSizing: 'border-box', } export default class DataTree extends Element { @@ -136,6 +144,7 @@ export default class DataTree extends Element { private __primitive = (data: TreeNode) => this._primitive(data) private __key_value = (data: TreeNode) => this._key_value(data) private __array_expression = (data: TreeNode) => this._array_expression(data) + private __prop_expression = (data: TreeNode) => this._prop_expression(data) private __unit = (data: TreeNode) => this._unit(data) private __object_expression = (data: TreeNode) => this._object_expression(data) @@ -169,7 +178,7 @@ export default class DataTree extends Element { [TreeNodeType.Class]: this.__primitive, [TreeNodeType.ClassLiteral]: this.__primitive, [TreeNodeType.ArithmeticExpression]: this.__primitive, - [TreeNodeType.PropExpression]: this.__primitive, + [TreeNodeType.PropExpression]: this.__prop_expression, [TreeNodeType.KeyValue]: this.__key_value, [TreeNodeType.ArrayExpression]: this.__array_expression, [TreeNodeType.ObjectExpression]: this.__object_expression, @@ -302,7 +311,13 @@ export default class DataTree extends Element { const object_literal_end = new Div( { className: 'object-literal', - style: { display: 'flex', width: 'fit-content', height: '100%' }, + style: { + display: 'flex', + width: 'fit-content', + height: '100%', + color: 'currentcolor', + boxSizing: 'border-box', + }, }, this.$system ) @@ -369,7 +384,12 @@ export default class DataTree extends Element { const array_literal_close_delimiter = this._delimiter({}, `]`) const array_literal_end = new Div( { - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + color: 'currentcolor', + boxSizing: 'border-box', + }, }, this.$system ) @@ -431,7 +451,12 @@ export default class DataTree extends Element { const expression_close_delimiter = this._delimiter({}, `)`) const expression_literal_end = new Div( { - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + color: 'currentcolor', + boxSizing: 'border-box', + }, }, this.$system ) @@ -461,7 +486,12 @@ export default class DataTree extends Element { const key_value_key = new Div( { className: 'key-value-key', - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + color: 'currentcolor', + boxSizing: 'border-box', + }, }, this.$system ) @@ -502,7 +532,11 @@ export default class DataTree extends Element { const key_value_value = new Div( { className: 'key-value-value', - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + boxSizing: 'border-box', + }, }, this.$system ) @@ -582,7 +616,11 @@ export default class DataTree extends Element { const array_expression_close_delimiter = this._delimiter({}, ']') const array_expression_open_close = new Div( { - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + boxSizing: 'border-box', + }, }, this.$system ) @@ -603,6 +641,27 @@ export default class DataTree extends Element { return { style, children } } + private _prop_expression = (data: TreeNode) => { + const style = { display: 'flex', width: 'fit-content' } + + const prop_expression_object_tree = this._child_element( + 0, + data.children[0], + [], + 'prop-expression-object' + ) + const prop_expression_array_tree = this._child_element( + 1, + data.children[1], + [], + 'prop-expression-array' + ) + + const children = [prop_expression_object_tree, prop_expression_array_tree] + + return { style, children } + } + private _object_expression = ( data: TreeNode ): { @@ -617,7 +676,11 @@ export default class DataTree extends Element { const object_expression_close_delimiter = this._delimiter({}, '}') const object_expression_open_close = new Div( { - style: { display: 'flex', width: 'fit-content' }, + style: { + display: 'flex', + width: 'fit-content', + boxSizing: 'border-box', + }, }, this.$system ) diff --git a/src/system/platform/component/app/Datum/spec.json b/src/system/platform/component/app/Datum/spec.json index 7b574874af..e34a1f7ed5 100644 --- a/src/system/platform/component/app/Datum/spec.json +++ b/src/system/platform/component/app/Datum/spec.json @@ -13,11 +13,7 @@ "icon": "atom-alt", "description": "Recursive Graph Editor", "complexity": 47, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "e8bce1fc-ae56-4f9f-9685-3cc844758855", "base": true, @@ -28,4 +24,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Drawer/Component.ts b/src/system/platform/component/app/Drawer/Component.ts index a51804fcf8..9a13206c7f 100644 --- a/src/system/platform/component/app/Drawer/Component.ts +++ b/src/system/platform/component/app/Drawer/Component.ts @@ -198,6 +198,7 @@ export default class Drawer extends Element { borderStyle: 'solid', borderColor: 'currentColor', borderBottomLeftRadius: '3px', + boxSizing: 'border-box', }, }, this.$system @@ -217,6 +218,7 @@ export default class Drawer extends Element { borderStyle: 'solid', borderColor: 'currentColor', borderBottom: '1px solid currentColor', + boxSizing: 'border-box', }, }, this.$system @@ -236,6 +238,7 @@ export default class Drawer extends Element { borderWidth: '0px 0px 1px 0px', borderStyle: 'solid', borderColor: 'currentColor', + boxSizing: 'border-box', }, }, this.$system @@ -256,6 +259,7 @@ export default class Drawer extends Element { borderBottomLeftRadius: '3px', borderStyle: 'solid', borderColor: 'currentColor', + boxSizing: 'border-box', }, }, this.$system @@ -275,6 +279,7 @@ export default class Drawer extends Element { borderTopRightRadius: '3px', borderStyle: 'solid', borderColor: 'currentColor', + boxSizing: 'border-box', }, }, this.$system diff --git a/src/system/platform/component/app/Editor/Component.ts b/src/system/platform/component/app/Editor/Component.ts index c11c5826a4..84111b93f9 100644 --- a/src/system/platform/component/app/Editor/Component.ts +++ b/src/system/platform/component/app/Editor/Component.ts @@ -3197,6 +3197,7 @@ export class Editor_ extends Element { left: '0', pointerEvents: 'none', height: '100%', + width: '100%', }, }, this.$system @@ -3222,6 +3223,7 @@ export class Editor_ extends Element { pointerEvents: 'none', userSelect: 'none', height: '100%', + width: '100%', }, }, this.$system @@ -3943,8 +3945,6 @@ export class Editor_ extends Element { const rect = centerRectsBoundingRect(nodes_list) - console.log(rect) - const center = { x: rect.x + rect.width / 2, y: rect.y + rect.height / 2 } return center @@ -5310,7 +5310,7 @@ export class Editor_ extends Element { // ADHOC Safari will have frame height 0 while page is loading setTimeout(() => { - this._center_graph() + this._center_graph(true) }, 0) this._start_graph_simulation(LAYER_NONE) @@ -5320,21 +5320,30 @@ export class Editor_ extends Element { this._start_debugger() } - private _center_on_nodes = (nodes: Dict) => { + private _center_on_nodes = ( + nodes: Dict, + preventAnimation?: boolean + ) => { + const { animate } = this.$props + const center = this.get_nodes_bounding_rect_center(nodes) - this._zoom_center_at(center.x, center.y) + if (animate && !preventAnimation) { + this._animate_zoom_center_at(center.x, center.y) + } else { + this._zoom_center_at(center.x, center.y) + } } - private _center_graph = () => { + private _center_graph = (preventAnimation?: boolean) => { if (this._node_count === 0) { return } - this._center_on_nodes(this._unit_node) + this._center_on_nodes(this._unit_node, preventAnimation) } - private _center_graph_on_selected = () => { + private _center_graph_on_selected = (preventAnimation?: boolean) => { const selected_node = {} for (const node_id in this._selected_node_id) { @@ -6575,6 +6584,7 @@ export class Editor_ extends Element { style: { position: 'relative', height: '100%', + width: '100%', }, }, this.$system @@ -9990,6 +10000,7 @@ export class Editor_ extends Element { overflowY: 'hidden', overflowX: 'hidden', pointerEvents: 'none', + width: '100%', height: '100%', ...style, }, @@ -10003,6 +10014,7 @@ export class Editor_ extends Element { style: { position: 'absolute', pointerEvents: 'none', + width: '100%', height: '100%', }, }, @@ -10021,6 +10033,7 @@ export class Editor_ extends Element { overflowX: 'hidden', transition: `opacity ${ANIMATION_T_S}s linear`, pointerEvents: 'none', + width: '100%', height: '100%', }, }, @@ -10034,6 +10047,7 @@ export class Editor_ extends Element { style: { position: 'absolute', pointerEvents: 'none', + width: '100%', height: '100%', }, }, @@ -10051,6 +10065,7 @@ export class Editor_ extends Element { overflowY: 'hidden', overflowX: 'hidden', pointerEvents: 'none', + width: '100%', height: '100%', }, }, @@ -10068,6 +10083,7 @@ export class Editor_ extends Element { overflowY: 'hidden', overflowX: 'hidden', pointerEvents: 'none', + width: '100%', height: '100%', }, }, @@ -18183,26 +18199,25 @@ export class Editor_ extends Element { const { animate } = this.$props - if (this._control) { - if (!this._control_lock) { - if (!this._disabled) { - // console.log('Graph', '_lock_control', this._id) + if (!this._control_lock) { + if (!this._disabled) { + // console.log('Graph', '_lock_control', this._id) - this._control_lock = true + this._control_lock = true + if (this._control) { this._control.dispatchEvent('lock', {}, false) + } - if ( - !this._subgraph_unit_id && - (!this._is_fullwindow || this._frame_out) && - (this._temp_control_lock || - this._core_component_unlocked_count === 0) - ) { - this._enable_input() + if ( + !this._subgraph_unit_id && + (!this._is_fullwindow || this._frame_out) && + (this._temp_control_lock || this._core_component_unlocked_count === 0) + ) { + this._enable_input() - // this._show_control(false) - this._show_control(animate) - } + // this._show_control(false) + this._show_control(animate) } } } @@ -23393,10 +23408,6 @@ export class Editor_ extends Element { return false } else { - if (!this._should_show_merge_data_on_this_mode()) { - return true - } - const ext_input_node_id = this._pin_to_ext['input']?.[pin_node_id] const ext_output_node_id = this._pin_to_ext['output']?.[pin_node_id] @@ -25140,25 +25151,6 @@ export class Editor_ extends Element { } } - private _state_move_plug_into_graph__remove = ( - exposed_pin_node_id: string - ): void => { - // console.log( - // 'Graph', - // '_state_remove_exposed_sub_pin_or_set', - // exposed_pin_node_id - // ) - - const { pinId, type, subPinId } = segmentPlugNodeId(exposed_pin_node_id) - - const pin_count = this._get_exposed_pin_set_count(exposed_pin_node_id) - if (pin_count === 1 || pin_count === 0) { - this._state_remove_exposed_pin_set(type, pinId) - } else { - this.__state_remove_exposed_sub_pin(type, pinId, subPinId) - } - } - private _get_exposed_pin_set_count = ( exposed_pin_node_id: string ): number => { @@ -29000,6 +28992,12 @@ export class Editor_ extends Element { let parent_finished = false let children_finished = false + const maybe_finish = () => { + if (parent_finished && children_finished) { + finish() + } + } + this._animate_parent_component( parent_id, parent_animating, @@ -29024,12 +29022,6 @@ export class Editor_ extends Element { } ) - const maybe_finish = () => { - if (parent_finished && children_finished) { - finish() - } - } - const finish = () => { this._unplug_sub_component_root_base_frame(parent_id) this._append_sub_component_root_base(parent_id) @@ -33169,29 +33161,33 @@ export class Editor_ extends Element { forIOObjKV( unit_plugs, (type, unitPinId, { pinId, subPinId, type: type_ }) => { - const specPin = getPinSpec(spec, type, unitPinId) + if (unitPinId === SELF) { + // + } else { + const specPin = getPinSpec(spec, type, unitPinId) - const { plug } = specPin + const { plug } = specPin - for (const sub_pin_id in plug) { - const sub_pin = plug[sub_pin_id] + for (const sub_pin_id in plug) { + const sub_pin = plug[sub_pin_id] - if (sub_pin.unitId && sub_pin.pinId) { - const sub_pin_next_unit_id = - map_unit_id[sub_pin.unitId] ?? sub_pin.unitId + if (sub_pin.unitId && sub_pin.pinId) { + const sub_pin_next_unit_id = + map_unit_id[sub_pin.unitId] ?? sub_pin.unitId - this._state_plug_exposed_pin(type_, pinId, subPinId, { - unitId: sub_pin_next_unit_id, - pinId: sub_pin.pinId, - kind: sub_pin.kind ?? type_, - }) - } else if (sub_pin.mergeId) { - const sub_pin_next_merge_id = - map_merge_id[sub_pin.mergeId] ?? sub_pin.mergeId + this._state_plug_exposed_pin(type_, pinId, subPinId, { + unitId: sub_pin_next_unit_id, + pinId: sub_pin.pinId, + kind: sub_pin.kind ?? type_, + }) + } else if (sub_pin.mergeId) { + const sub_pin_next_merge_id = + map_merge_id[sub_pin.mergeId] ?? sub_pin.mergeId - this._state_plug_exposed_pin(type_, pinId, subPinId, { - mergeId: sub_pin_next_merge_id, - }) + this._state_plug_exposed_pin(type_, pinId, subPinId, { + mergeId: sub_pin_next_merge_id, + }) + } } } } @@ -39108,6 +39104,37 @@ export class Editor_ extends Element { this.set_zoom(zoom) } + private _animate_zoom_center_unlisten: Unlisten + + private _animate_zoom_center_at = (x: number, y: number): void => { + // console.log('Graph', '_animate_zoom_center_at', x, y) + + const { $width, $height } = this.$context + + const center_of_screen = this._screen_center() + + const n0 = this._zoom + const n1 = zoomTransformCenteredAt(x, y, this._zoom.z, $width, $height) + + this._animate_zoom_center_unlisten = animateSimulate( + this.$system, + n0, + () => n1, + [ + ['x', 0.1], + ['y', 0.1], + ], + ({ x, y }) => { + const zoom = { x, y, z: this._zoom.z } + + this._set_zoom(zoom) + }, + () => { + // + } + ) + } + private _state_reorder_sub_component = (unit_id: string, i: number): void => { // console.log('Graph', '_state_reorder_sub_component', unit_id, i) @@ -43846,7 +43873,6 @@ export class Editor_ extends Element { id: spec.id, } - // this._spec_graph_unit_add_unit(graph_id, unitId, bundle.unit) this._on_graph_unit_add_unit_moment({ unitId, bundle, @@ -44919,7 +44945,8 @@ export class Editor_ extends Element { const opposite_type = opposite(type) const type_ = - merge_collapse_unit_inside_pin_count[opposite_type] === 0 + merge_collapse_unit_inside_pin_count[opposite_type] === 0 && + merge_outside_pin_count[opposite_type] > 0 ? opposite_type : type @@ -48547,12 +48574,17 @@ export class Editor_ extends Element { const ignored_unit_set = new Set(this._collapse_next_map.nodeIds.unit) + const merge_node_id = getMergeNodeId(merge_id) + + const merge_is_ref = this._is_merge_ref(merge_node_id) + moveMerge( this._state_make_this_graph_interface(), this._state_get_subgraph_graph_interface(graph_id), graph_id, merge_id, merge_spec, + merge_is_ref, this._collapse_next_map, {}, ignored_unit_set, @@ -49764,9 +49796,9 @@ export class Editor_ extends Element { for (const pin_id in pins) { const pin = pins[pin_id] - if (this._spec_has_pin_named(type, pin_id)) { - const { plug } = pin + const { plug = {} } = pin + if (this._spec_has_pin_named(type, pin_id)) { for (const sub_pin_id in plug) { const sub_pin_spec = plug[sub_pin_id] @@ -49776,17 +49808,27 @@ export class Editor_ extends Element { ) if (!int_node_id) { + const plug_position = { + int: position, + ext: position, + } + this._state_add_exposed_pin( type, pin_id, sub_pin_id, sub_pin_spec, - {} + plug_position ) } } } else { - this._state_add_exposed_pin_set(type, pin_id, pin, {}) + const plug_positions = mapObjKV(plug, () => ({ + int: position, + ext: position, + })) + + this._state_add_exposed_pin_set(type, pin_id, pin, plug_positions) } } }) @@ -54100,35 +54142,62 @@ export class Editor_ extends Element { const { plug, unit } = nodeIds - const unit_spec = findSpecAtPath(specs, this._spec, path) - if (this._is_spec_updater(path)) { - if (this._subgraph_unit_id === graphId) { - // - } else { - const graph_unit_spec = this._get_unit_spec(graph_unit_id) as GraphSpec + const parent_spec = findSpecAtPath(specs, this._spec, path) - const merges = clone( - this._get_graph_unit_unit_merges(graph_unit_id, graphId) - ) - const plugs = clone( - this._get_graph_unit_unit_plugs(graph_unit_id, graphId) - ) + const spec = findSpecAtPath(specs, this._spec, [...path, graphId]) - const connectOpt = { - merges, - plugs, - } + const next_spec = clone(spec) + + const graph_unit_spec = this._get_unit_spec(graph_unit_id) as GraphSpec + + const merges = clone( + this._get_graph_unit_unit_merges(graph_unit_id, data.graphId) + ) + const plugs = clone( + this._get_graph_unit_unit_plugs(graph_unit_id, data.graphId) + ) + + const connectOpt = { + merges, + plugs, + } + + const spec_interface = this._make_graph_spec_interface(spec) + const subgraph_path = this.getSubgraphPath() + + const subgraph_interface = + this._state_get_subgraph_graph_interface(graph_unit_id) + + const commit = () => { moveSubgraph( - this._make_graph_spec_interface(spec), - this._state_get_subgraph_graph_interface(graph_unit_id), - graphId, + spec_interface, + subgraph_interface, + data.graphId, data, connectOpt, true ) } + + if (isEqual(subgraph_path, path)) { + const subgraph = this.getSubgraphAtPath(subgraph_path) + + if (subgraph._collapsing) { + const unlisten = subgraph.addEventListener( + makeCustomListener('collapse_end', () => { + commit() + + unlisten() + }) + ) + } else { + commit() + } + } else { + commit() + } } } diff --git a/src/system/platform/component/app/Editor/spec.json b/src/system/platform/component/app/Editor/spec.json index c442c09129..aba2c45ed0 100644 --- a/src/system/platform/component/app/Editor/spec.json +++ b/src/system/platform/component/app/Editor/spec.json @@ -45,12 +45,7 @@ "icon": "atom-alt", "description": "Recursive Graph Editor", "complexity": 148, - "tags": [ - "platform", - "component", - "app", - "graph" - ] + "tags": ["platform", "component", "app", "graph"] }, "id": "e80c912e-7508-11ea-966b-436805345ff0", "base": true, @@ -61,4 +56,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/GUI/spec.json b/src/system/platform/component/app/GUI/spec.json index f887409c73..03b894db37 100644 --- a/src/system/platform/component/app/GUI/spec.json +++ b/src/system/platform/component/app/GUI/spec.json @@ -13,11 +13,7 @@ "icon": "atom-alt", "description": "minimalist UI to control a unit graph", "complexity": 58, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "0f043df2-46fc-11eb-ae20-6f1fedd527ba", "component": { @@ -28,7 +24,5 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true, - "deps": [ - "6253bf76-2e85-11eb-9f59-3703abfd39c7" - ] -} \ No newline at end of file + "deps": ["6253bf76-2e85-11eb-9f59-3703abfd39c7"] +} diff --git a/src/system/platform/component/app/GUIControl/spec.json b/src/system/platform/component/app/GUIControl/spec.json index bdf7ce8ebc..e715800a1e 100644 --- a/src/system/platform/component/app/GUIControl/spec.json +++ b/src/system/platform/component/app/GUIControl/spec.json @@ -7,10 +7,7 @@ "icon": "chalkboard", "description": "unit class component", "complexity": 48, - "tags": [ - "host", - "component" - ] + "tags": ["host", "component"] }, "id": "c9b62bcc-8196-11eb-8372-9f2ac2c356d4", "base": true, @@ -21,4 +18,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/GUIControlKeyboard/spec.json b/src/system/platform/component/app/GUIControlKeyboard/spec.json index 0d9a748de0..1ffd4dd2e8 100644 --- a/src/system/platform/component/app/GUIControlKeyboard/spec.json +++ b/src/system/platform/component/app/GUIControlKeyboard/spec.json @@ -6,10 +6,7 @@ "icon": "chalkboard", "description": "unit class component", "complexity": 50, - "tags": [ - "host", - "component" - ] + "tags": ["host", "component"] }, "id": "96d5d60e-85eb-11eb-ba90-7fc42ab0a641", "base": true, @@ -20,4 +17,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/HSVColorPicker/spec.json b/src/system/platform/component/app/HSVColorPicker/spec.json index 9135b92ef5..6047ae0ffe 100644 --- a/src/system/platform/component/app/HSVColorPicker/spec.json +++ b/src/system/platform/component/app/HSVColorPicker/spec.json @@ -28,10 +28,7 @@ "icon": "palette", "description": "HSV Saturation and Value (SV) color picker", "complexity": 44, - "tags": [ - "platform", - "component" - ] + "tags": ["platform", "component"] }, "id": "84bfce28-2116-11eb-82ca-cfb03193bf58", "base": true, @@ -42,4 +39,4 @@ "type": "`U`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/IconButton/spec.json b/src/system/platform/component/app/IconButton/spec.json index 4a426b65e7..fa4e5e88b8 100644 --- a/src/system/platform/component/app/IconButton/spec.json +++ b/src/system/platform/component/app/IconButton/spec.json @@ -405,9 +405,7 @@ "children": [] } }, - "children": [ - "icon" - ], + "children": ["icon"], "defaultWidth": 60, "defaultHeight": 60 }, @@ -415,12 +413,8 @@ "icon": null, "description": "button with icon", "complexity": 96, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "65759894-7d11-11ea-a838-93e14e650d65", "type": "`U`&`G`&`C`" -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Keyboard/spec.json b/src/system/platform/component/app/Keyboard/spec.json index 27364acacf..63824348f8 100644 --- a/src/system/platform/component/app/Keyboard/spec.json +++ b/src/system/platform/component/app/Keyboard/spec.json @@ -10,11 +10,7 @@ "icon": "keyboard", "description": "virtual keyboard", "complexity": 48, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "e6b88d1e-8755-11ea-916e-d3995fb8986e", "base": true, @@ -25,4 +21,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/KeyboardKey/spec.json b/src/system/platform/component/app/KeyboardKey/spec.json index 1ce59f3cf4..ad7228a357 100644 --- a/src/system/platform/component/app/KeyboardKey/spec.json +++ b/src/system/platform/component/app/KeyboardKey/spec.json @@ -13,11 +13,7 @@ "icon": "keyboard", "description": "virtual keyboard single key", "complexity": 47, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "d0672722-b1a9-11ea-a247-d736e666990e", "base": true, @@ -28,4 +24,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/MicrophoneButton/spec.json b/src/system/platform/component/app/MicrophoneButton/spec.json index b202e146d8..0224a485b1 100644 --- a/src/system/platform/component/app/MicrophoneButton/spec.json +++ b/src/system/platform/component/app/MicrophoneButton/spec.json @@ -21,14 +21,10 @@ "icon": "mic", "description": "speak a sentence", "complexity": 48, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "023c3762-c701-11ea-b590-57b51c2884a7", "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Minigraph/spec.json b/src/system/platform/component/app/Minigraph/spec.json index 0c0387afef..4ee76f7af8 100644 --- a/src/system/platform/component/app/Minigraph/spec.json +++ b/src/system/platform/component/app/Minigraph/spec.json @@ -13,11 +13,7 @@ "icon": "chalkboard", "description": "unit class component", "complexity": 51, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "deda524e-6990-11eb-9bc3-e7d55b583fa3", "base": true, @@ -28,4 +24,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Minimal/spec.json b/src/system/platform/component/app/Minimal/spec.json index 271d5b2349..1d4790a3a8 100644 --- a/src/system/platform/component/app/Minimal/spec.json +++ b/src/system/platform/component/app/Minimal/spec.json @@ -13,11 +13,7 @@ "icon": "chalkboard", "description": "unit class component", "complexity": 43, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "0e1d716e-a13f-11ea-ac6a-8fd610c86910", "base": true, @@ -28,4 +24,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Minimap/Component.ts b/src/system/platform/component/app/Minimap/Component.ts index 5f8a262402..7d4bff6d62 100644 --- a/src/system/platform/component/app/Minimap/Component.ts +++ b/src/system/platform/component/app/Minimap/Component.ts @@ -71,6 +71,7 @@ export default class Minimap extends Element { { className: 'minimap-root', style: { + width: '100%', height: '100%', }, }, diff --git a/src/system/platform/component/app/ModeSelector/spec.json b/src/system/platform/component/app/ModeSelector/spec.json index baf87ec0b0..2cf4361d90 100644 --- a/src/system/platform/component/app/ModeSelector/spec.json +++ b/src/system/platform/component/app/ModeSelector/spec.json @@ -259,22 +259,16 @@ "height": 30 } }, - "children": [ - "div" - ] + "children": ["div"] }, "metadata": { "icon": "navigation", "description": "select a mode (\"none\"|\"info\"|\"add\"|\"remove\"|\"change\")", "complexity": 151, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "b4d025e2-811e-11ea-97ee-1bd8d1736e67", "type": "`U`&`C`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/PhoneKeyboard/Component.ts b/src/system/platform/component/app/PhoneKeyboard/Component.ts index 34fe64e296..a642abf9a0 100644 --- a/src/system/platform/component/app/PhoneKeyboard/Component.ts +++ b/src/system/platform/component/app/PhoneKeyboard/Component.ts @@ -15,6 +15,7 @@ export interface Props { export const DEFAULT_STYLE = { boxSizing: 'border-box', + width: '100%', height: '100%', } diff --git a/src/system/platform/component/app/PhoneKeyboard/spec.json b/src/system/platform/component/app/PhoneKeyboard/spec.json index 7c983c90b5..7055ba8573 100644 --- a/src/system/platform/component/app/PhoneKeyboard/spec.json +++ b/src/system/platform/component/app/PhoneKeyboard/spec.json @@ -10,11 +10,7 @@ "icon": "keyboard", "description": "virtual keyboard", "complexity": 48, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "fcccb9a4-1a30-11eb-93b0-e7d511d031f2", "base": true, @@ -25,4 +21,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/PhoneKeyboardKey/spec.json b/src/system/platform/component/app/PhoneKeyboardKey/spec.json index 53d89be29a..cb5a32bf6b 100644 --- a/src/system/platform/component/app/PhoneKeyboardKey/spec.json +++ b/src/system/platform/component/app/PhoneKeyboardKey/spec.json @@ -16,11 +16,7 @@ "icon": "keyboard", "description": "virtual keyboard single key", "complexity": 48, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "bc34c618-1c77-11eb-9785-e39a2bf52e49", "component": { @@ -31,4 +27,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Resize/spec.json b/src/system/platform/component/app/Resize/spec.json index 9ba0e7decc..795cb7d423 100644 --- a/src/system/platform/component/app/Resize/spec.json +++ b/src/system/platform/component/app/Resize/spec.json @@ -10,11 +10,7 @@ "icon": "expand", "description": "all corner resize handlers", "complexity": 43, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "6b18c608-7b5a-11ea-bb6e-2ff12a5cc3f3", "base": true, @@ -25,4 +21,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/app/Search/Component.ts b/src/system/platform/component/app/Search/Component.ts index 66555bc6d9..7f0e572848 100644 --- a/src/system/platform/component/app/Search/Component.ts +++ b/src/system/platform/component/app/Search/Component.ts @@ -568,6 +568,7 @@ export default class Search extends Element { flexDirection: 'column', justifyContent: 'center', marginBottom: '2px', + width: '100%', height: '100%', }, }, diff --git a/src/system/platform/component/app/Tooltip/Component.ts b/src/system/platform/component/app/Tooltip/Component.ts index 9b1d016364..ecd7f3cdcf 100644 --- a/src/system/platform/component/app/Tooltip/Component.ts +++ b/src/system/platform/component/app/Tooltip/Component.ts @@ -7,6 +7,7 @@ import { System } from '../../../../../system' import { Dict } from '../../../../../types/Dict' import { Unlisten } from '../../../../../types/Unlisten' import Div from '../../Div/Component' +import _Text from '../../value/Text/Component' export interface Props { className?: string @@ -28,6 +29,8 @@ export const DEFAULT_STYLE = { background: '#000000aa', borderRadius: '3px', border: '2px solid currentcolor', + color: 'currentColor', + boxSizing: 'border-box', } export default class Tooltip extends Element { @@ -66,7 +69,15 @@ export default class Tooltip extends Element { }, this.$system ) - tooltipContent.$element.textContent = shortcut + + const tooltipText = new _Text( + { + value: shortcut, + }, + this.$system + ) + + tooltipContent.registerParentRoot(tooltipText) // Firefox hasn't implemented popover yet, so just don't ever display it if (!this._tooltip.$element.showPopover) { diff --git a/src/system/platform/component/app/Transcend/spec.json b/src/system/platform/component/app/Transcend/spec.json index 1a354a0699..88a733a330 100644 --- a/src/system/platform/component/app/Transcend/spec.json +++ b/src/system/platform/component/app/Transcend/spec.json @@ -10,11 +10,7 @@ "icon": "atom-alt", "description": "\"get out\"", "complexity": 47, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "e39a2a34-c71a-11ea-9835-07964acf6760", "base": true, @@ -25,4 +21,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/canvas/Canvas/spec.json b/src/system/platform/component/canvas/Canvas/spec.json index d664551870..40b2307ac4 100644 --- a/src/system/platform/component/canvas/Canvas/spec.json +++ b/src/system/platform/component/canvas/Canvas/spec.json @@ -23,11 +23,7 @@ "icon": "chalkboard", "description": "for painting", "complexity": 51, - "tags": [ - "platform", - "component", - "canvas" - ] + "tags": ["platform", "component", "canvas"] }, "id": "94243ec4-8967-4907-8cdd-7223fe256cf6", "base": true, @@ -38,4 +34,4 @@ "type": "`U`&`C`&`V`&`J`&`PS`&`CS`&`CA`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/media/Audio/spec.json b/src/system/platform/component/media/Audio/spec.json index 345bf07b11..6873c4ff6d 100644 --- a/src/system/platform/component/media/Audio/spec.json +++ b/src/system/platform/component/media/Audio/spec.json @@ -31,11 +31,7 @@ "icon": "volume-2", "description": "platform audio component", "complexity": 43, - "tags": [ - "platform", - "component", - "media" - ] + "tags": ["platform", "component", "media"] }, "id": "06823924-b659-4a22-8ed4-b3243121b55d", "base": true, @@ -46,4 +42,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/media/Image/spec.json b/src/system/platform/component/media/Image/spec.json index 3859096d21..07026c79f1 100644 --- a/src/system/platform/component/media/Image/spec.json +++ b/src/system/platform/component/media/Image/spec.json @@ -18,11 +18,7 @@ "icon": "image", "description": "TODO", "complexity": 43, - "tags": [ - "platform", - "component", - "media" - ] + "tags": ["platform", "component", "media"] }, "id": "059579bb-184f-435b-ace0-64ec95c9f125", "base": true, @@ -33,4 +29,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/media/Pause/spec.json b/src/system/platform/component/media/Pause/spec.json index 392373af33..a5b57728cf 100644 --- a/src/system/platform/component/media/Pause/spec.json +++ b/src/system/platform/component/media/Pause/spec.json @@ -14,13 +14,10 @@ "icon": "play", "description": "play media element", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "44968bd5-f1a5-4f81-a32f-8ee5a6e4a842", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/media/Play/spec.json b/src/system/platform/component/media/Play/spec.json index 02c550c2de..0b9282292f 100644 --- a/src/system/platform/component/media/Play/spec.json +++ b/src/system/platform/component/media/Play/spec.json @@ -14,13 +14,10 @@ "icon": "play", "description": "play media element", "complexity": 3, - "tags": [ - "f", - "unit" - ] + "tags": ["f", "unit"] }, "id": "ab507863-2307-40c6-982b-c45680458997", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/media/Video/spec.json b/src/system/platform/component/media/Video/spec.json index 6b372fac1d..36a75fd2ed 100644 --- a/src/system/platform/component/media/Video/spec.json +++ b/src/system/platform/component/media/Video/spec.json @@ -31,11 +31,7 @@ "icon": "video", "description": "video element", "complexity": 43, - "tags": [ - "platform", - "component", - "media" - ] + "tags": ["platform", "component", "media"] }, "id": "7a8921eb-c1ad-400b-94fc-6c6cead8163d", "base": true, @@ -46,4 +42,4 @@ "type": "`U`&`C`&`V`&`J`&`PS`&`CS`&`IM`&`ME`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Circle/spec.json b/src/system/platform/component/svg/Circle/spec.json index a1e6cf4b00..f0ba2cfbf3 100644 --- a/src/system/platform/component/svg/Circle/spec.json +++ b/src/system/platform/component/svg/Circle/spec.json @@ -23,11 +23,7 @@ "icon": "square", "description": "SVG circle", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "7666978e-252c-11eb-97a4-0f3e81286cae", "base": true, @@ -38,4 +34,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Defs/spec.json b/src/system/platform/component/svg/Defs/spec.json index 75679bf1cc..e3a7a915c6 100644 --- a/src/system/platform/component/svg/Defs/spec.json +++ b/src/system/platform/component/svg/Defs/spec.json @@ -11,11 +11,7 @@ "icon": "square", "description": "SVG defs", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "3fcb8e64-923d-11ea-bab1-43fa3b273af8", "base": true, @@ -26,4 +22,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/ForeignObject/spec.json b/src/system/platform/component/svg/ForeignObject/spec.json index 841d8bca7e..c7e68eb88e 100644 --- a/src/system/platform/component/svg/ForeignObject/spec.json +++ b/src/system/platform/component/svg/ForeignObject/spec.json @@ -11,11 +11,7 @@ "icon": "square", "description": "SVG G", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "e049f16e-2559-11eb-bdc4-db5b8a11164b", "base": true, @@ -26,4 +22,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Group/spec.json b/src/system/platform/component/svg/Group/spec.json index 5dba7835d4..8e4b912a5f 100644 --- a/src/system/platform/component/svg/Group/spec.json +++ b/src/system/platform/component/svg/Group/spec.json @@ -11,11 +11,7 @@ "icon": "square", "description": "SVG G", "complexity": 42, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "be11165e-489f-11eb-921f-87b924eb0725", "base": true, @@ -26,4 +22,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Line/spec.json b/src/system/platform/component/svg/Line/spec.json index 3f49b129d5..f2dca11141 100644 --- a/src/system/platform/component/svg/Line/spec.json +++ b/src/system/platform/component/svg/Line/spec.json @@ -27,11 +27,7 @@ "icon": "square", "description": "SVG line", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "38d26d76-2559-11eb-ae02-dfda9b9b137e", "base": true, @@ -42,4 +38,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Marker/spec.json b/src/system/platform/component/svg/Marker/spec.json index 0d013594be..5226e40ab2 100644 --- a/src/system/platform/component/svg/Marker/spec.json +++ b/src/system/platform/component/svg/Marker/spec.json @@ -11,11 +11,7 @@ "icon": "square", "description": "SVG marker", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "9932f3bc-9241-11ea-89fa-0b2fdace0f08", "base": true, @@ -26,4 +22,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Path/spec.json b/src/system/platform/component/svg/Path/spec.json index be2367f7d8..216ec7bb12 100644 --- a/src/system/platform/component/svg/Path/spec.json +++ b/src/system/platform/component/svg/Path/spec.json @@ -27,11 +27,7 @@ "icon": "square", "description": "SVG path", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "60bc7930-8982-11ea-8b24-cf97a783bb32", "base": true, @@ -42,4 +38,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Rect/spec.json b/src/system/platform/component/svg/Rect/spec.json index 0ba2615a3a..aad648eca3 100644 --- a/src/system/platform/component/svg/Rect/spec.json +++ b/src/system/platform/component/svg/Rect/spec.json @@ -14,38 +14,28 @@ "type": "number", "optional": true, "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "y": { "type": "number", "optional": true, "metadata": { - "examples": [ - "0" - ] + "examples": ["0"] } }, "width": { "type": "number", "optional": true, "metadata": { - "examples": [ - "100", - "150" - ] + "examples": ["100", "150"] } }, "height": { "type": "number", "optional": true, "metadata": { - "examples": [ - "100", - "150" - ] + "examples": ["100", "150"] } } }, @@ -54,11 +44,7 @@ "icon": "square", "description": "SVG rectangle", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "c0bfe832-8967-11ea-8c4c-1f2995e41b68", "base": true, @@ -69,4 +55,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/SVG/spec.json b/src/system/platform/component/svg/SVG/spec.json index ed9c9d6021..cbc5b02bf5 100644 --- a/src/system/platform/component/svg/SVG/spec.json +++ b/src/system/platform/component/svg/SVG/spec.json @@ -21,11 +21,7 @@ "icon": "square", "description": "SVG container", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "98c279fc-7f5e-11ea-b9e4-f772f9f0bed1", "base": true, @@ -36,4 +32,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Text/spec.json b/src/system/platform/component/svg/Text/spec.json index 761a016026..08810083c2 100644 --- a/src/system/platform/component/svg/Text/spec.json +++ b/src/system/platform/component/svg/Text/spec.json @@ -31,11 +31,7 @@ "icon": "square", "description": "SVG text", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "49ef122e-b4d1-11ea-b45e-b73d8ee2aae8", "base": true, @@ -46,4 +42,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/TextPath/spec.json b/src/system/platform/component/svg/TextPath/spec.json index ad8a710adf..f382ba3d2d 100644 --- a/src/system/platform/component/svg/TextPath/spec.json +++ b/src/system/platform/component/svg/TextPath/spec.json @@ -11,11 +11,7 @@ "icon": "square", "description": "SVG text path", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "00c828fc-9243-11ea-b897-5b0fc55820c5", "base": true, @@ -26,4 +22,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/svg/Use/spec.json b/src/system/platform/component/svg/Use/spec.json index 29c391e81e..f52a5fb220 100644 --- a/src/system/platform/component/svg/Use/spec.json +++ b/src/system/platform/component/svg/Use/spec.json @@ -16,11 +16,7 @@ "icon": "square", "description": "SVG G", "complexity": 43, - "tags": [ - "platform", - "component", - "svg" - ] + "tags": ["platform", "component", "svg"] }, "id": "ad12678e-6642-11eb-9fc3-9fbc75c58110", "base": true, @@ -31,4 +27,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/Checkbox/spec.json b/src/system/platform/component/value/Checkbox/spec.json index 70fe084075..99e11c7ba5 100644 --- a/src/system/platform/component/value/Checkbox/spec.json +++ b/src/system/platform/component/value/Checkbox/spec.json @@ -25,11 +25,7 @@ "icon": "square", "description": "checkbox", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "096fc4ca-edd2-11ea-8266-37b634a3ee0b", "base": true, @@ -40,4 +36,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/Color/spec.json b/src/system/platform/component/value/Color/spec.json index c6e80d8c6a..ede176b63d 100644 --- a/src/system/platform/component/value/Color/spec.json +++ b/src/system/platform/component/value/Color/spec.json @@ -16,11 +16,7 @@ "icon": "palette", "description": "pick a color", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "d8aa573f-129e-4587-9c64-674729d024e2", "base": true, @@ -31,4 +27,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/FileField/spec.json b/src/system/platform/component/value/FileField/spec.json index 395ed86d4a..d5b3f6c1f5 100644 --- a/src/system/platform/component/value/FileField/spec.json +++ b/src/system/platform/component/value/FileField/spec.json @@ -21,11 +21,7 @@ "icon": "form-input", "description": "single line text input", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "e2109627-9783-4664-a70c-858fd8c46ea5", "base": true, @@ -36,4 +32,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/NumberField/spec.json b/src/system/platform/component/value/NumberField/spec.json index 97740ef4c3..0a38178ccf 100644 --- a/src/system/platform/component/value/NumberField/spec.json +++ b/src/system/platform/component/value/NumberField/spec.json @@ -9,10 +9,7 @@ "type": "object", "optional": true, "metadata": { - "examples": [ - "{fontSize:'30px'}", - "{}" - ] + "examples": ["{fontSize:'30px'}", "{}"] } }, "min": { @@ -36,11 +33,7 @@ "icon": "form-input", "description": "single line number input", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "9bc56564-ef4e-11ea-939a-27ae3feb321e", "base": true, @@ -51,4 +44,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/Option/spec.json b/src/system/platform/component/value/Option/spec.json index 1384dd5f06..c90f4c8ae2 100644 --- a/src/system/platform/component/value/Option/spec.json +++ b/src/system/platform/component/value/Option/spec.json @@ -15,11 +15,7 @@ "icon": "form-input", "description": "single line text input", "complexity": 42, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "c0d13c03-9b10-4a6f-a79f-66294d10aae6", "base": true, @@ -30,4 +26,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/PasswordField/spec.json b/src/system/platform/component/value/PasswordField/spec.json index ff2547715c..b8f54a5c0c 100644 --- a/src/system/platform/component/value/PasswordField/spec.json +++ b/src/system/platform/component/value/PasswordField/spec.json @@ -20,11 +20,7 @@ "icon": "form-input", "description": "single line password text input", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "51c2c7b4-cb8a-42e8-95ab-14b8ac37700c", "base": true, @@ -35,4 +31,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/Select/spec.json b/src/system/platform/component/value/Select/spec.json index ba5de029f5..1fafda4e84 100644 --- a/src/system/platform/component/value/Select/spec.json +++ b/src/system/platform/component/value/Select/spec.json @@ -20,11 +20,7 @@ "icon": "form-input", "description": "select HTML element", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "6c7cd7d1-c8a0-4317-9c8c-ba781f150729", "base": true, @@ -35,4 +31,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/Text/spec.json b/src/system/platform/component/value/Text/spec.json index e20634273a..47f35df651 100644 --- a/src/system/platform/component/value/Text/spec.json +++ b/src/system/platform/component/value/Text/spec.json @@ -4,9 +4,7 @@ "value": { "type": "string", "optional": true, - "examples": [ - "\"Hello world!\"" - ] + "examples": ["\"Hello world!\""] } }, "outputs": {}, @@ -14,11 +12,7 @@ "icon": "type", "description": "text", "complexity": 42, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "87f99b85-1c24-4e5b-a903-dd27230f4092", "base": true, @@ -29,4 +23,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/TextArea/spec.json b/src/system/platform/component/value/TextArea/spec.json index 5f0ea6eed4..c2748e1c32 100644 --- a/src/system/platform/component/value/TextArea/spec.json +++ b/src/system/platform/component/value/TextArea/spec.json @@ -13,9 +13,7 @@ "optional": true, "defaultIgnored": true, "metadata": { - "examples": [ - "\"Type Text Here\"" - ] + "examples": ["\"Type Text Here\""] } }, "style": { @@ -34,11 +32,7 @@ "icon": "align-left", "description": "input text through keyboard", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "83ec6688-b80b-4ef2-861f-14245ef392c0", "base": true, @@ -49,4 +43,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/component/value/TextField/spec.json b/src/system/platform/component/value/TextField/spec.json index fdfcfb5c9e..a43ac8255e 100644 --- a/src/system/platform/component/value/TextField/spec.json +++ b/src/system/platform/component/value/TextField/spec.json @@ -26,11 +26,7 @@ "icon": "form-input", "description": "single line text input", "complexity": 43, - "tags": [ - "platform", - "component", - "value" - ] + "tags": ["platform", "component", "value"] }, "id": "6a14988f-5f4b-4fab-af32-226b7844e41f", "base": true, @@ -41,4 +37,4 @@ "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/DelayPushRandomTagColor/spec.json b/src/system/platform/core/DelayPushRandomTagColor/spec.json index ddb5e639d3..e559547222 100644 --- a/src/system/platform/core/DelayPushRandomTagColor/spec.json +++ b/src/system/platform/core/DelayPushRandomTagColor/spec.json @@ -64,13 +64,9 @@ "icon": "tag", "description": "delay push random {color}", "complexity": 71, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "839af244-d1d3-11ea-89c0-073ae59ae4f1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/DragAccumulate/spec.json b/src/system/platform/core/DragAccumulate/spec.json index fc14c9ddf2..6ea5022a1c 100644 --- a/src/system/platform/core/DragAccumulate/spec.json +++ b/src/system/platform/core/DragAccumulate/spec.json @@ -230,4 +230,4 @@ "complexity": 26 }, "id": "69ee5ea3-660c-479e-9cff-da9dc33a2b0a" -} \ No newline at end of file +} diff --git a/src/system/platform/core/MergeWidthHeight/spec.json b/src/system/platform/core/MergeWidthHeight/spec.json index a40ba26623..49d0bb620b 100644 --- a/src/system/platform/core/MergeWidthHeight/spec.json +++ b/src/system/platform/core/MergeWidthHeight/spec.json @@ -141,12 +141,9 @@ } } }, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "450dac92-395b-4c7b-b8c0-219315c28035", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/OnClickToggle/spec.json b/src/system/platform/core/OnClickToggle/spec.json index 04a19a9863..9ead0d2b5e 100644 --- a/src/system/platform/core/OnClickToggle/spec.json +++ b/src/system/platform/core/OnClickToggle/spec.json @@ -114,11 +114,8 @@ "icon": "square", "description": "toggle true/false on click", "complexity": 18, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "9b2bdc7c-eb5d-11ea-bdb1-1760294f446b", "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/core/OnEnterKeydown/spec.json b/src/system/platform/core/OnEnterKeydown/spec.json index cda853fafe..ba331ec283 100644 --- a/src/system/platform/core/OnEnterKeydown/spec.json +++ b/src/system/platform/core/OnEnterKeydown/spec.json @@ -172,13 +172,9 @@ } } }, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "de45f6d0-7504-4061-b4ab-5d1ee902a0cb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/RandomBGColorTag/spec.json b/src/system/platform/core/RandomBGColorTag/spec.json index a2c8946c13..ec68a19266 100644 --- a/src/system/platform/core/RandomBGColorTag/spec.json +++ b/src/system/platform/core/RandomBGColorTag/spec.json @@ -26,11 +26,7 @@ "icon": "palette", "description": "random HEX background color string tag", "complexity": 58, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "inputs": { "any": { @@ -58,4 +54,4 @@ "id": "051d4600-42e5-403b-b12e-eb58ae78ef0b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/RandomColorTag/spec.json b/src/system/platform/core/RandomColorTag/spec.json index 12497a4b8a..a5a4e90b1e 100644 --- a/src/system/platform/core/RandomColorTag/spec.json +++ b/src/system/platform/core/RandomColorTag/spec.json @@ -26,11 +26,7 @@ "icon": "palette", "description": "random HEX color string tag", "complexity": 58, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "inputs": { "any": { @@ -58,4 +54,4 @@ "id": "8a2d42bf-fc83-4696-9e0c-cf8c6c4641ae", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/RemoveAllChildren/spec.json b/src/system/platform/core/RemoveAllChildren/spec.json index 5b3c74ecdf..cad6250f07 100644 --- a/src/system/platform/core/RemoveAllChildren/spec.json +++ b/src/system/platform/core/RemoveAllChildren/spec.json @@ -193,11 +193,7 @@ "icon": "square", "description": "remove all `parent` children", "complexity": 34, - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "0": { @@ -226,4 +222,4 @@ "id": "2c7507c4-02bc-11eb-88e5-8bc78086a76f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetColorDefault/spec.json b/src/system/platform/core/SetColorDefault/spec.json index 620b041887..64824f32b5 100644 --- a/src/system/platform/core/SetColorDefault/spec.json +++ b/src/system/platform/core/SetColorDefault/spec.json @@ -69,12 +69,9 @@ "icon": "brackets-curly", "description": "set `obj` \"color\" to `value` if `test` is true or to `default` otherwise", "complexity": 24, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "7b344491-48a2-46e1-949e-56805bebe3da", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetCurrentTime/spec.json b/src/system/platform/core/SetCurrentTime/spec.json index 8f302f6239..386e0e810a 100644 --- a/src/system/platform/core/SetCurrentTime/spec.json +++ b/src/system/platform/core/SetCurrentTime/spec.json @@ -54,4 +54,4 @@ }, "id": "88553858-c62d-4970-98c9-084084528d2a", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetDefault/spec.json b/src/system/platform/core/SetDefault/spec.json index 9313f19276..4e623d7935 100644 --- a/src/system/platform/core/SetDefault/spec.json +++ b/src/system/platform/core/SetDefault/spec.json @@ -108,12 +108,9 @@ "icon": "brackets-curly", "description": "set value at `key` to `value` if `test` is defined and true or to `default` otherwise", "complexity": 22, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "c0b85780-7e99-11ea-9a99-879f3f411ebd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetFillDefault/spec.json b/src/system/platform/core/SetFillDefault/spec.json index 15d3e6cf63..f9d4c4c32d 100644 --- a/src/system/platform/core/SetFillDefault/spec.json +++ b/src/system/platform/core/SetFillDefault/spec.json @@ -69,12 +69,9 @@ "icon": "brackets-curly", "description": "set `obj` \"fill\" to `value` if `test` is true or to `default` otherwise", "complexity": 24, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "887e66b8-a08e-11ea-bfea-b3687d92658a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetHeight/spec.json b/src/system/platform/core/SetHeight/spec.json index 46b8f61f74..9be7638b6f 100644 --- a/src/system/platform/core/SetHeight/spec.json +++ b/src/system/platform/core/SetHeight/spec.json @@ -83,13 +83,9 @@ "icon": "object-set", "description": "set height property of `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "f752e8ce-83ce-4bdd-9ae2-67b241c51cfc", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetIf/spec.json b/src/system/platform/core/SetIf/spec.json index 64d113717b..36b848d09e 100644 --- a/src/system/platform/core/SetIf/spec.json +++ b/src/system/platform/core/SetIf/spec.json @@ -90,12 +90,9 @@ "icon": "brackets-curly", "description": "set value at `key` to `value` if `test` is true", "complexity": 16, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "id": "946701f6-7dd4-11ea-a1aa-67938c0c6214", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetScale/spec.json b/src/system/platform/core/SetScale/spec.json index 7d8ded6982..e230c66a77 100644 --- a/src/system/platform/core/SetScale/spec.json +++ b/src/system/platform/core/SetScale/spec.json @@ -61,4 +61,4 @@ }, "system": true, "id": "33a97304-0832-40d9-b013-de0ddf0688af" -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetScaleX/spec.json b/src/system/platform/core/SetScaleX/spec.json index 288d729f36..ef46f27331 100644 --- a/src/system/platform/core/SetScaleX/spec.json +++ b/src/system/platform/core/SetScaleX/spec.json @@ -83,13 +83,9 @@ "icon": "object-set", "description": "set property `sx` of `object`", "complexity": 5, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "cea694c2-9c36-4655-85b6-9b33425a5c33", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetScaleY/spec.json b/src/system/platform/core/SetScaleY/spec.json index fbfb627dc1..858b992db9 100644 --- a/src/system/platform/core/SetScaleY/spec.json +++ b/src/system/platform/core/SetScaleY/spec.json @@ -83,13 +83,9 @@ "icon": "object-set", "description": "set property `sy` of `object`", "complexity": 5, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "1241b0ea-eaa8-4dc3-95d1-a3e1580e4267", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetValue/spec.json b/src/system/platform/core/SetValue/spec.json index 43835b963e..9d32ac812f 100644 --- a/src/system/platform/core/SetValue/spec.json +++ b/src/system/platform/core/SetValue/spec.json @@ -83,13 +83,9 @@ "icon": "object-set", "description": "set property `value` of `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "ad68ca8e-ff63-467d-a770-3e6a7490f7fb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/SetWidth/spec.json b/src/system/platform/core/SetWidth/spec.json index 0a9eea3e80..1ecc307a3b 100644 --- a/src/system/platform/core/SetWidth/spec.json +++ b/src/system/platform/core/SetWidth/spec.json @@ -83,13 +83,9 @@ "icon": "object-set", "description": "set `obj` property `name` to `data`", "complexity": 5, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "7849c9db-bf2d-4d1f-a105-11f0f3eee333", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/Transform/spec.json b/src/system/platform/core/Transform/spec.json index ae32618ea1..d815236ed6 100644 --- a/src/system/platform/core/Transform/spec.json +++ b/src/system/platform/core/Transform/spec.json @@ -101,12 +101,9 @@ "metadata": { "icon": "brackets-curly", "complexity": 8, - "tags": [ - "platform", - "core" - ] + "tags": ["platform", "core"] }, "type": "`U`&`G`", "id": "47a78f03-7dd4-4207-aefa-02574661de6e", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/bluetooth/AnyDevice/spec.json b/src/system/platform/core/api/bluetooth/AnyDevice/spec.json index 1f77a30b8c..202ad8a96e 100644 --- a/src/system/platform/core/api/bluetooth/AnyDevice/spec.json +++ b/src/system/platform/core/api/bluetooth/AnyDevice/spec.json @@ -79,14 +79,9 @@ "icon": "bluetooth", "description": "select one of all available bluetooth devices", "complexity": 8, - "tags": [ - "platform", - "core", - "api", - "bluetooth" - ] + "tags": ["platform", "core", "api", "bluetooth"] }, "type": "`U`&`G`", "system": true, "id": "a08ce854-e13b-11ea-b260-e76cc1643e97" -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/children/ChildSet/spec.json b/src/system/platform/core/api/children/ChildSet/spec.json index 25bec67699..309c0b87b4 100644 --- a/src/system/platform/core/api/children/ChildSet/spec.json +++ b/src/system/platform/core/api/children/ChildSet/spec.json @@ -167,13 +167,8 @@ } } }, - "tags": [ - "platform", - "core", - "api", - "children" - ] + "tags": ["platform", "core", "api", "children"] }, "id": "2633ed12-309e-40fe-910d-44106d917e96", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/children/ChildSetStyle/spec.json b/src/system/platform/core/api/children/ChildSetStyle/spec.json index 80f0d10e80..aa3e84ba46 100644 --- a/src/system/platform/core/api/children/ChildSetStyle/spec.json +++ b/src/system/platform/core/api/children/ChildSetStyle/spec.json @@ -109,14 +109,9 @@ "icon": "object-set", "description": "set `element` child `at` style to `style`", "complexity": 15, - "tags": [ - "platform", - "core", - "api", - "children" - ] + "tags": ["platform", "core", "api", "children"] }, "id": "d7d77ad6-91db-4da7-a3c6-c37157574b17", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/children/ChildSetValue/spec.json b/src/system/platform/core/api/children/ChildSetValue/spec.json index 43df42e6be..87b239850e 100644 --- a/src/system/platform/core/api/children/ChildSetValue/spec.json +++ b/src/system/platform/core/api/children/ChildSetValue/spec.json @@ -109,14 +109,9 @@ "icon": "triangle", "description": "set `element` child `at` value to `value`", "complexity": 15, - "tags": [ - "platform", - "core", - "api", - "children" - ] + "tags": ["platform", "core", "api", "children"] }, "id": "9f9dff70-30e6-467b-9204-55fdf5b4ac4f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/children/ChildrenLength/spec.json b/src/system/platform/core/api/children/ChildrenLength/spec.json index cf198a2685..34a8591965 100644 --- a/src/system/platform/core/api/children/ChildrenLength/spec.json +++ b/src/system/platform/core/api/children/ChildrenLength/spec.json @@ -116,4 +116,4 @@ "complexity": 8 }, "id": "5bfd6983-ac96-4b74-a469-c0add966cdf2" -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetClientX/spec.json b/src/system/platform/core/api/event/GetClientX/spec.json index 244f0b6b26..7422efcf99 100644 --- a/src/system/platform/core/api/event/GetClientX/spec.json +++ b/src/system/platform/core/api/event/GetClientX/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract clientX from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "4556afd4-2463-48c8-abb6-12e30fff6ed0", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetClientXClientY/spec.json b/src/system/platform/core/api/event/GetClientXClientY/spec.json index 9ece4950ed..14187840df 100644 --- a/src/system/platform/core/api/event/GetClientXClientY/spec.json +++ b/src/system/platform/core/api/event/GetClientXClientY/spec.json @@ -68,14 +68,9 @@ "icon": "brackets-curly", "description": "extract `clientX` and `clientY` from `obj`", "complexity": 10, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "1cbbfd58-c4ee-4c83-a5c8-83f614eb7027", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetClientY/spec.json b/src/system/platform/core/api/event/GetClientY/spec.json index f8960c7f53..6291d84d97 100644 --- a/src/system/platform/core/api/event/GetClientY/spec.json +++ b/src/system/platform/core/api/event/GetClientY/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract clientY from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "97c4f4ec-2613-11eb-8c54-4b82dde232ca", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetHeight/spec.json b/src/system/platform/core/api/event/GetHeight/spec.json index 641f970c41..8e191b8ed6 100644 --- a/src/system/platform/core/api/event/GetHeight/spec.json +++ b/src/system/platform/core/api/event/GetHeight/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract height from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "f7a26f8c-98ac-11eb-9b81-e79fad66a6ce", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetId/spec.json b/src/system/platform/core/api/event/GetId/spec.json index d3e570860f..26fb148709 100644 --- a/src/system/platform/core/api/event/GetId/spec.json +++ b/src/system/platform/core/api/event/GetId/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract `id` from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "f7805a56-668d-11eb-a8df-732d644930cc", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetKey/spec.json b/src/system/platform/core/api/event/GetKey/spec.json index e3765cb475..66f5075aab 100644 --- a/src/system/platform/core/api/event/GetKey/spec.json +++ b/src/system/platform/core/api/event/GetKey/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract key from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "8e48bf34-a3b3-11eb-af21-9fff67fa4349", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetOffsetX/spec.json b/src/system/platform/core/api/event/GetOffsetX/spec.json index cd63a3da4e..324ffbeb08 100644 --- a/src/system/platform/core/api/event/GetOffsetX/spec.json +++ b/src/system/platform/core/api/event/GetOffsetX/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract offsetX from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "cd7cfbb3-c86b-401d-a6b7-9de912672d96", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetOffsetXOffsetY/spec.json b/src/system/platform/core/api/event/GetOffsetXOffsetY/spec.json index f5e58b303e..ababc78ea3 100644 --- a/src/system/platform/core/api/event/GetOffsetXOffsetY/spec.json +++ b/src/system/platform/core/api/event/GetOffsetXOffsetY/spec.json @@ -68,14 +68,9 @@ "icon": "brackets-curly", "description": "extract `offsetX` and `offsetY` from `obj`", "complexity": 10, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "2307cacf-1363-40bc-bd6b-d58227927ae0", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetOffsetY/spec.json b/src/system/platform/core/api/event/GetOffsetY/spec.json index 02567d80d5..3d6d17cd07 100644 --- a/src/system/platform/core/api/event/GetOffsetY/spec.json +++ b/src/system/platform/core/api/event/GetOffsetY/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract offsetY from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "6e9c4adb-77e4-45ef-a71b-ced42a49aae9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetUrl/spec.json b/src/system/platform/core/api/event/GetUrl/spec.json index 903f867744..b36dffb0bd 100644 --- a/src/system/platform/core/api/event/GetUrl/spec.json +++ b/src/system/platform/core/api/event/GetUrl/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract `url` from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "19f08be0-560a-11eb-a3a2-e7395ef5830a", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetValue/spec.json b/src/system/platform/core/api/event/GetValue/spec.json index 303badb3e1..be1d30acf5 100644 --- a/src/system/platform/core/api/event/GetValue/spec.json +++ b/src/system/platform/core/api/event/GetValue/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract `id` from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "f401cdfe-b231-40d0-88a1-fda9a55f282e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/GetWidth/spec.json b/src/system/platform/core/api/event/GetWidth/spec.json index 4e5c6d77d6..72c21bd4af 100644 --- a/src/system/platform/core/api/event/GetWidth/spec.json +++ b/src/system/platform/core/api/event/GetWidth/spec.json @@ -42,14 +42,9 @@ "icon": "brackets-curly", "description": "extract width from `obj`", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "16249a80-98ac-11eb-95b7-1b64bf84f0d8", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/MergeEventData/spec.json b/src/system/platform/core/api/event/MergeEventData/spec.json index 251eb8f138..ab439c3eb4 100644 --- a/src/system/platform/core/api/event/MergeEventData/spec.json +++ b/src/system/platform/core/api/event/MergeEventData/spec.json @@ -91,14 +91,9 @@ "icon": "brackets-curly", "description": "create object with values `event` and `data`", "complexity": 15, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "bbc52982-4a71-45b8-8521-c0c30260c022", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnAxisChange/spec.json b/src/system/platform/core/api/event/OnAxisChange/spec.json index eb2827c451..a5067fb25a 100644 --- a/src/system/platform/core/api/event/OnAxisChange/spec.json +++ b/src/system/platform/core/api/event/OnAxisChange/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `gamepad` \"axischange\" event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "1448dd43-3e1e-4709-a9e1-3562d61cc6f1", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnButtonDown/spec.json b/src/system/platform/core/api/event/OnButtonDown/spec.json index c078baf646..fea442d799 100644 --- a/src/system/platform/core/api/event/OnButtonDown/spec.json +++ b/src/system/platform/core/api/event/OnButtonDown/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `gamepad` \"buttondown\" event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "98c01feb-afc7-4333-988f-9d516b5038bd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnButtonUp/spec.json b/src/system/platform/core/api/event/OnButtonUp/spec.json index f16eed5098..9c373ce5f6 100644 --- a/src/system/platform/core/api/event/OnButtonUp/spec.json +++ b/src/system/platform/core/api/event/OnButtonUp/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `gamepad` \"buttonup\" event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "60f1199f-d3e8-4968-8b48-4f8169a89602", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnChange/spec.json b/src/system/platform/core/api/event/OnChange/spec.json index fe22ba04ca..aa28954c64 100644 --- a/src/system/platform/core/api/event/OnChange/spec.json +++ b/src/system/platform/core/api/event/OnChange/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` change event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "7f25303a-b1ee-11ea-bab2-5f81e27c8466", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnCharacteristicValueChanged/spec.json b/src/system/platform/core/api/event/OnCharacteristicValueChanged/spec.json index 9ee1312cd8..93b5019467 100644 --- a/src/system/platform/core/api/event/OnCharacteristicValueChanged/spec.json +++ b/src/system/platform/core/api/event/OnCharacteristicValueChanged/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to Bluetooth GATT `characteristic` value changed event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "7b1eebd2-e8eb-11ea-a986-af42b73b3719", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnClick/spec.json b/src/system/platform/core/api/event/OnClick/spec.json index 4d2c4ec784..d30af01607 100644 --- a/src/system/platform/core/api/event/OnClick/spec.json +++ b/src/system/platform/core/api/event/OnClick/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` click event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "97c94516-add1-11ea-ba72-8f55299b735c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnClose/spec.json b/src/system/platform/core/api/event/OnClose/spec.json index cd80bf1482..bf21e0c303 100644 --- a/src/system/platform/core/api/event/OnClose/spec.json +++ b/src/system/platform/core/api/event/OnClose/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` \"ntf_close\" event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "2ef3ebd3-6447-4871-ba2f-f539a3fa02ff", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnData/spec.json b/src/system/platform/core/api/event/OnData/spec.json index 1d23c09d95..48627826ed 100644 --- a/src/system/platform/core/api/event/OnData/spec.json +++ b/src/system/platform/core/api/event/OnData/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` message event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "8809ad1e-91bf-11eb-a3ad-dbb373958321", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDataAvailable/spec.json b/src/system/platform/core/api/event/OnDataAvailable/spec.json index c20d638b22..4d01837c14 100644 --- a/src/system/platform/core/api/event/OnDataAvailable/spec.json +++ b/src/system/platform/core/api/event/OnDataAvailable/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` message event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "f7c43966-be6b-11eb-ac82-2f0415b064df", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDoubleClick/spec.json b/src/system/platform/core/api/event/OnDoubleClick/spec.json index 49d54c226e..1494376f8b 100644 --- a/src/system/platform/core/api/event/OnDoubleClick/spec.json +++ b/src/system/platform/core/api/event/OnDoubleClick/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` double click event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "40f9a40a-b4f2-11eb-baf1-933bfa98253e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDragDelta/spec.json b/src/system/platform/core/api/event/OnDragDelta/spec.json index cd6308bde8..c9154fc649 100644 --- a/src/system/platform/core/api/event/OnDragDelta/spec.json +++ b/src/system/platform/core/api/event/OnDragDelta/spec.json @@ -327,12 +327,7 @@ "metadata": { "icon": "grab", "complexity": 52, - "tags": [ - "platform", - "core", - "api", - "event" - ], + "tags": ["platform", "core", "api", "event"], "position": { "merge": { "0": { @@ -363,4 +358,4 @@ } }, "id": "ae5c6f18-9ff9-11eb-986e-6fd93ceb151c" -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDragEnd/spec.json b/src/system/platform/core/api/event/OnDragEnd/spec.json index 789e9752db..45c6d3a361 100644 --- a/src/system/platform/core/api/event/OnDragEnd/spec.json +++ b/src/system/platform/core/api/event/OnDragEnd/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` dragend event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "d0972c71-45a8-4a01-8bf1-9ed588c13493", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDragOver/spec.json b/src/system/platform/core/api/event/OnDragOver/spec.json index cca2d96c4f..4829befd79 100644 --- a/src/system/platform/core/api/event/OnDragOver/spec.json +++ b/src/system/platform/core/api/event/OnDragOver/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` click event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "9b48ab2c-69f2-4869-bcc1-12a4cbaa4fce", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDragStart/spec.json b/src/system/platform/core/api/event/OnDragStart/spec.json index 4bf40a58cd..23bfa400b7 100644 --- a/src/system/platform/core/api/event/OnDragStart/spec.json +++ b/src/system/platform/core/api/event/OnDragStart/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` dragstart event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "90b783fe-a6a6-4026-9af6-fd853a5705f4", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnDrop/spec.json b/src/system/platform/core/api/event/OnDrop/spec.json index 401f7ce9cd..ae37efd688 100644 --- a/src/system/platform/core/api/event/OnDrop/spec.json +++ b/src/system/platform/core/api/event/OnDrop/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` click event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "4638661f-11d9-4727-83d1-8cdccc01508c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnError/spec.json b/src/system/platform/core/api/event/OnError/spec.json index 27d4fe67a9..c21d7afb6c 100644 --- a/src/system/platform/core/api/event/OnError/spec.json +++ b/src/system/platform/core/api/event/OnError/spec.json @@ -41,13 +41,9 @@ "icon": "square", "description": "listen to `element` \"error\" event", "complexity": 5, - "tags": [ - "platform", - "api", - "notification" - ] + "tags": ["platform", "api", "notification"] }, "id": "15507368-081f-11eb-aee1-d3c00ce4dd9d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnInput/spec.json b/src/system/platform/core/api/event/OnInput/spec.json index d035627269..a6f2618ffc 100644 --- a/src/system/platform/core/api/event/OnInput/spec.json +++ b/src/system/platform/core/api/event/OnInput/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` input event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "b345c410-b1ee-11ea-b725-0b9ed734d65f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnKeydown/spec.json b/src/system/platform/core/api/event/OnKeydown/spec.json index 08adeb7f61..c6b882f43c 100644 --- a/src/system/platform/core/api/event/OnKeydown/spec.json +++ b/src/system/platform/core/api/event/OnKeydown/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` keydown event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "02dec0ae-a3b0-11eb-ab4e-afd7066a6476", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnMessage/spec.json b/src/system/platform/core/api/event/OnMessage/spec.json index c5a1acfac5..868ca36f8f 100644 --- a/src/system/platform/core/api/event/OnMessage/spec.json +++ b/src/system/platform/core/api/event/OnMessage/spec.json @@ -43,14 +43,9 @@ "icon": "square", "description": "listen to `element` message event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "23c3952a-ef19-11ea-b80e-3f693508091e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnMount/spec.json b/src/system/platform/core/api/event/OnMount/spec.json index 68af386dc1..9a78ade0b3 100644 --- a/src/system/platform/core/api/event/OnMount/spec.json +++ b/src/system/platform/core/api/event/OnMount/spec.json @@ -78,14 +78,9 @@ "icon": "square", "description": "listen to `element` 'mount' event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "6ecc9c94-98bd-11eb-845c-dfd895d4184c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPaste/spec.json b/src/system/platform/core/api/event/OnPaste/spec.json index 7c4437365c..6e6cf804e5 100644 --- a/src/system/platform/core/api/event/OnPaste/spec.json +++ b/src/system/platform/core/api/event/OnPaste/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` paste event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "ec03bf8a-30f8-11eb-b4a7-a77c38c8f1b3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPointerDown/spec.json b/src/system/platform/core/api/event/OnPointerDown/spec.json index 244b0cdb2c..d03c6e2896 100644 --- a/src/system/platform/core/api/event/OnPointerDown/spec.json +++ b/src/system/platform/core/api/event/OnPointerDown/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` pointerdown event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "2beefe96-b1ee-11ea-960c-7f33e07a2ad6", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPointerEnter/spec.json b/src/system/platform/core/api/event/OnPointerEnter/spec.json index 02ad895a24..e81b291a10 100644 --- a/src/system/platform/core/api/event/OnPointerEnter/spec.json +++ b/src/system/platform/core/api/event/OnPointerEnter/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` pointerenter event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "c0bb493a-af78-11ea-b6fa-3b893b757a39", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPointerLeave/spec.json b/src/system/platform/core/api/event/OnPointerLeave/spec.json index 3af210c8c8..240e4fa45d 100644 --- a/src/system/platform/core/api/event/OnPointerLeave/spec.json +++ b/src/system/platform/core/api/event/OnPointerLeave/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` pointerleave event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "c7dba94e-af78-11ea-b7d7-47e14ca215b5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPointerMove/spec.json b/src/system/platform/core/api/event/OnPointerMove/spec.json index 7b45481cbc..fa561e89cf 100644 --- a/src/system/platform/core/api/event/OnPointerMove/spec.json +++ b/src/system/platform/core/api/event/OnPointerMove/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` pointerup event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "6e45f29a-b1ee-11ea-908d-c7724f096465", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnPointerUp/spec.json b/src/system/platform/core/api/event/OnPointerUp/spec.json index 473c7e480b..6ee22502a7 100644 --- a/src/system/platform/core/api/event/OnPointerUp/spec.json +++ b/src/system/platform/core/api/event/OnPointerUp/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` pointerup event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "43a9d452-b1ee-11ea-923f-efb4af36e68e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnResize/spec.json b/src/system/platform/core/api/event/OnResize/spec.json index d6d0dbc462..3ea0a5e6ee 100644 --- a/src/system/platform/core/api/event/OnResize/spec.json +++ b/src/system/platform/core/api/event/OnResize/spec.json @@ -78,14 +78,9 @@ "icon": "square", "description": "listen to `element` 'resize' event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "9fd9d2ea-98a7-11eb-8aa3-fbeb43cb1944", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnShow/spec.json b/src/system/platform/core/api/event/OnShow/spec.json index 3149570def..c1fab0e2cf 100644 --- a/src/system/platform/core/api/event/OnShow/spec.json +++ b/src/system/platform/core/api/event/OnShow/spec.json @@ -41,13 +41,9 @@ "icon": "square", "description": "listen to `element` \"show\" event", "complexity": 5, - "tags": [ - "platform", - "api", - "notification" - ] + "tags": ["platform", "api", "notification"] }, "id": "cbb19840-081e-11eb-918d-3f728eda5672", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnValue/spec.json b/src/system/platform/core/api/event/OnValue/spec.json index 2fff22c706..e4bf8c4f38 100644 --- a/src/system/platform/core/api/event/OnValue/spec.json +++ b/src/system/platform/core/api/event/OnValue/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` input event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "d0e6f14c-400c-42f3-bfd6-1bbe0146f490", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/OnWheel/spec.json b/src/system/platform/core/api/event/OnWheel/spec.json index c5d0a3504b..c5878f0340 100644 --- a/src/system/platform/core/api/event/OnWheel/spec.json +++ b/src/system/platform/core/api/event/OnWheel/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` wheel event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "52e6d3c8-0958-4829-bc25-1f6cdbf6e451", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/TagData/spec.json b/src/system/platform/core/api/event/TagData/spec.json index 607a64fd69..5ced2c76d6 100644 --- a/src/system/platform/core/api/event/TagData/spec.json +++ b/src/system/platform/core/api/event/TagData/spec.json @@ -16,12 +16,7 @@ "icon": "tag", "description": "{data: `data`}", "complexity": 7, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "inputs": { "data": { @@ -48,4 +43,4 @@ "id": "7a602db8-2618-11eb-b9c6-4bb45b6d8833", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/TagEvent/spec.json b/src/system/platform/core/api/event/TagEvent/spec.json index 9b8888cf42..46d67158f9 100644 --- a/src/system/platform/core/api/event/TagEvent/spec.json +++ b/src/system/platform/core/api/event/TagEvent/spec.json @@ -16,12 +16,7 @@ "icon": "tag", "description": "{event: `event`}", "complexity": 7, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "inputs": { "event": { @@ -48,4 +43,4 @@ "id": "5fe94b90-2618-11eb-b06a-5fc0ce62fd27", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/WatchChange/spec.json b/src/system/platform/core/api/event/WatchChange/spec.json index 2628ffc8bc..99ca04d325 100644 --- a/src/system/platform/core/api/event/WatchChange/spec.json +++ b/src/system/platform/core/api/event/WatchChange/spec.json @@ -75,14 +75,9 @@ "icon": "square", "description": "output `element` value and listen \"input\" event", "complexity": 15, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "9a652f1b-f65f-4f3b-888a-2d90ddb43713", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/WatchInput/spec.json b/src/system/platform/core/api/event/WatchInput/spec.json index 1987af1423..7018464430 100644 --- a/src/system/platform/core/api/event/WatchInput/spec.json +++ b/src/system/platform/core/api/event/WatchInput/spec.json @@ -75,14 +75,9 @@ "icon": "square", "description": "output `element` value and listen \"input\" event", "complexity": 15, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "f1e3b2aa-1215-49f0-a2cd-2ef7178a4374", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/event/onSet/spec.json b/src/system/platform/core/api/event/onSet/spec.json index f44a3ad423..27139f23a6 100644 --- a/src/system/platform/core/api/event/onSet/spec.json +++ b/src/system/platform/core/api/event/onSet/spec.json @@ -41,14 +41,9 @@ "icon": "square", "description": "listen to `element` \"set\" event", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "event" - ] + "tags": ["platform", "core", "api", "event"] }, "id": "9256571c-db04-4559-a0a6-b8b0d107861f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetHeight/spec.json b/src/system/platform/core/api/get/GetHeight/spec.json index 219e912ff1..c820c06aaa 100644 --- a/src/system/platform/core/api/get/GetHeight/spec.json +++ b/src/system/platform/core/api/get/GetHeight/spec.json @@ -138,12 +138,7 @@ "icon": "object-get", "description": "get unit's current height", "complexity": 8, - "tags": [ - "platform", - "core", - "api", - "get" - ], + "tags": ["platform", "core", "api", "get"], "position": { "merge": { "0": { @@ -156,4 +151,4 @@ "id": "f513667c-3e2f-11eb-8a96-4fbfb5c1b798", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetHost/spec.json b/src/system/platform/core/api/get/GetHost/spec.json index 1fecbfc36f..3aefddcda6 100644 --- a/src/system/platform/core/api/get/GetHost/spec.json +++ b/src/system/platform/core/api/get/GetHost/spec.json @@ -75,13 +75,9 @@ "icon": "circle", "description": "get host `obj` property", "complexity": 8, - "tags": [ - "platform", - "api", - "read" - ] + "tags": ["platform", "api", "read"] }, "id": "38b257d7-fa9d-483f-b858-4a0e6cbf7f66", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetHostname/spec.json b/src/system/platform/core/api/get/GetHostname/spec.json index 4d3462980d..7329be7e9a 100644 --- a/src/system/platform/core/api/get/GetHostname/spec.json +++ b/src/system/platform/core/api/get/GetHostname/spec.json @@ -75,13 +75,9 @@ "icon": "circle", "description": "get hostname `obj` property", "complexity": 8, - "tags": [ - "platform", - "api", - "read" - ] + "tags": ["platform", "api", "read"] }, "id": "9a695a17-a448-457f-90c2-02aed4b392af", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetOrigin/spec.json b/src/system/platform/core/api/get/GetOrigin/spec.json index 1132ef4d3e..3c1044254e 100644 --- a/src/system/platform/core/api/get/GetOrigin/spec.json +++ b/src/system/platform/core/api/get/GetOrigin/spec.json @@ -75,13 +75,9 @@ "icon": "circle", "description": "get origin `obj` property", "complexity": 8, - "tags": [ - "platform", - "api", - "read" - ] + "tags": ["platform", "api", "read"] }, "id": "3a8a68cc-2ec7-11eb-a2b8-df0a171f0ba5", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetSearch/spec.json b/src/system/platform/core/api/get/GetSearch/spec.json index 8c992a8196..775eef0fa0 100644 --- a/src/system/platform/core/api/get/GetSearch/spec.json +++ b/src/system/platform/core/api/get/GetSearch/spec.json @@ -75,13 +75,9 @@ "icon": "circle", "description": "get search `obj` property", "complexity": 8, - "tags": [ - "platform", - "api", - "read" - ] + "tags": ["platform", "api", "read"] }, "id": "3bc6b974-594b-41b8-96d2-2189d58bfcd2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetSender/spec.json b/src/system/platform/core/api/get/GetSender/spec.json index 74d2287d86..123e453355 100644 --- a/src/system/platform/core/api/get/GetSender/spec.json +++ b/src/system/platform/core/api/get/GetSender/spec.json @@ -138,12 +138,7 @@ "icon": "object-get", "description": "get unit's current sender", "complexity": 8, - "tags": [ - "platform", - "core", - "api", - "get" - ], + "tags": ["platform", "core", "api", "get"], "position": { "merge": { "0": { @@ -156,4 +151,4 @@ "id": "6a2e05c5-9753-4511-9e10-a8fba6491c29", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetSrc/spec.json b/src/system/platform/core/api/get/GetSrc/spec.json index 8670e38aa9..f5bb396ba9 100644 --- a/src/system/platform/core/api/get/GetSrc/spec.json +++ b/src/system/platform/core/api/get/GetSrc/spec.json @@ -75,13 +75,9 @@ "icon": "circle", "description": "get src `obj` property", "complexity": 8, - "tags": [ - "platform", - "api", - "read" - ] + "tags": ["platform", "api", "read"] }, "id": "c0dfeea2-4c9c-45df-99ea-d458925ddc94", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetValue/spec.json b/src/system/platform/core/api/get/GetValue/spec.json index 3e74020999..fa1db8a141 100644 --- a/src/system/platform/core/api/get/GetValue/spec.json +++ b/src/system/platform/core/api/get/GetValue/spec.json @@ -138,12 +138,7 @@ "icon": "object-get", "description": "set element's current value", "complexity": 8, - "tags": [ - "platform", - "core", - "api", - "get" - ], + "tags": ["platform", "core", "api", "get"], "position": { "merge": { "0": { @@ -156,4 +151,4 @@ "id": "d74f12c2-1868-11eb-8136-238c1b1a727f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/get/GetWidth/spec.json b/src/system/platform/core/api/get/GetWidth/spec.json index 3dc12a43a3..b9864c1a06 100644 --- a/src/system/platform/core/api/get/GetWidth/spec.json +++ b/src/system/platform/core/api/get/GetWidth/spec.json @@ -138,12 +138,7 @@ "icon": "object-get", "description": "get unit's current width", "complexity": 8, - "tags": [ - "platform", - "core", - "api", - "get" - ], + "tags": ["platform", "core", "api", "get"], "position": { "merge": { "0": { @@ -156,4 +151,4 @@ "id": "00682850-3e30-11eb-86ea-8f1c604946aa", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/location/LocationQuery/spec.json b/src/system/platform/core/api/location/LocationQuery/spec.json index 9f0a7de85c..e73bcfc5de 100644 --- a/src/system/platform/core/api/location/LocationQuery/spec.json +++ b/src/system/platform/core/api/location/LocationQuery/spec.json @@ -134,4 +134,4 @@ }, "id": "74aea9dc-5247-4689-816f-2a1f24abbfc8", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/media/GetDevicesOfKind/spec.json b/src/system/platform/core/api/media/GetDevicesOfKind/spec.json index ae09bd9ee2..67184e6015 100644 --- a/src/system/platform/core/api/media/GetDevicesOfKind/spec.json +++ b/src/system/platform/core/api/media/GetDevicesOfKind/spec.json @@ -44,12 +44,7 @@ "icon": "brackets", "description": "get all available device descriptions of `kind`", "complexity": 87, - "tags": [ - "platform", - "core", - "api", - "media" - ] + "tags": ["platform", "core", "api", "media"] }, "inputs": { "kind": { @@ -77,4 +72,4 @@ "id": "e98f03fc-0987-4d21-9642-9078b23183ed", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/api/set/SetColor/spec.json b/src/system/platform/core/api/set/SetColor/spec.json index 6332635eb6..b1df978bfa 100644 --- a/src/system/platform/core/api/set/SetColor/spec.json +++ b/src/system/platform/core/api/set/SetColor/spec.json @@ -83,14 +83,9 @@ "icon": "object-set", "description": "set context color", "complexity": 5, - "tags": [ - "platform", - "core", - "api", - "set" - ] + "tags": ["platform", "core", "api", "set"] }, "id": "7b067f38-e437-11ea-ad36-13112ed6b20b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/asset/IconGrid/spec.json b/src/system/platform/core/asset/IconGrid/spec.json index cbad98b2ca..3f0d57f7ed 100644 --- a/src/system/platform/core/asset/IconGrid/spec.json +++ b/src/system/platform/core/asset/IconGrid/spec.json @@ -235,10 +235,8 @@ "subComponents": { "div": {} }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 200, "defaultHeight": 200 } -} \ No newline at end of file +} diff --git a/src/system/platform/core/asset/IconNames/spec.json b/src/system/platform/core/asset/IconNames/spec.json index b89eb3e1ba..076acc591a 100644 --- a/src/system/platform/core/asset/IconNames/spec.json +++ b/src/system/platform/core/asset/IconNames/spec.json @@ -64,4 +64,4 @@ }, "system": true, "id": "89cc231d-07a1-49a0-8dcb-6af7aba1ca18" -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/AddCircle/spec.json b/src/system/platform/core/canvas/AddCircle/spec.json index 9f69e576ae..86c174fb60 100644 --- a/src/system/platform/core/canvas/AddCircle/spec.json +++ b/src/system/platform/core/canvas/AddCircle/spec.json @@ -36,11 +36,7 @@ "icon": "edit-3", "description": "add a circular arc to the current sub-path", "complexity": 11, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "d": { @@ -76,4 +72,4 @@ "id": "50d23b21-1513-42c0-9722-4a01a32dc161", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/AddLine/spec.json b/src/system/platform/core/canvas/AddLine/spec.json index 71cd849e4f..a7a987d601 100644 --- a/src/system/platform/core/canvas/AddLine/spec.json +++ b/src/system/platform/core/canvas/AddLine/spec.json @@ -107,11 +107,7 @@ "icon": "edit-3", "description": "draw a circle to the canvas", "complexity": 22, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "d": { @@ -147,4 +143,4 @@ "id": "90dc2942-52fa-4e09-bcef-43fa97cc0b72", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/AddPie/spec.json b/src/system/platform/core/canvas/AddPie/spec.json index aff20dc52a..a5449b3478 100644 --- a/src/system/platform/core/canvas/AddPie/spec.json +++ b/src/system/platform/core/canvas/AddPie/spec.json @@ -524,11 +524,7 @@ "icon": "edit-3", "description": "add a pie to current sub-path", "complexity": 47, - "tags": [ - "platform", - "core", - "canvas" - ], + "tags": ["platform", "core", "canvas"], "position": { "merge": { "0": { @@ -569,4 +565,4 @@ "id": "22db6e29-8884-43ea-8561-5dc145c192d6", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/Arc/spec.json b/src/system/platform/core/canvas/Arc/spec.json index 5ae8070827..1e3d0b99c8 100644 --- a/src/system/platform/core/canvas/Arc/spec.json +++ b/src/system/platform/core/canvas/Arc/spec.json @@ -51,11 +51,7 @@ "icon": "edit-3", "description": "draw a circle to the canvas", "complexity": 11, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "arc": { @@ -91,4 +87,4 @@ "id": "790d5128-7fd6-48f9-b5cf-9edecedb1043", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/DownloadBlob/spec.json b/src/system/platform/core/canvas/DownloadBlob/spec.json index 5db4675f43..b1b2794329 100644 --- a/src/system/platform/core/canvas/DownloadBlob/spec.json +++ b/src/system/platform/core/canvas/DownloadBlob/spec.json @@ -83,4 +83,4 @@ "complexity": 8 }, "id": "c3a080cc-f2f2-4c7c-998d-17809c555ef1" -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/DownloadCanvas/spec.json b/src/system/platform/core/canvas/DownloadCanvas/spec.json index 381d7ea0bf..d1e936c4aa 100644 --- a/src/system/platform/core/canvas/DownloadCanvas/spec.json +++ b/src/system/platform/core/canvas/DownloadCanvas/spec.json @@ -25,9 +25,7 @@ "type": "string", "functional": true, "metadata": { - "examples": [ - "\"image/png\"" - ] + "examples": ["\"image/png\""] } }, "canvas": { @@ -121,12 +119,8 @@ "icon": "download", "description": "download full canvas as png", "complexity": 16, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "1a398694-284e-4d67-a13c-3a929c38b0fc", "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/DrawD/spec.json b/src/system/platform/core/canvas/DrawD/spec.json index 1987e5d838..84c74771b5 100644 --- a/src/system/platform/core/canvas/DrawD/spec.json +++ b/src/system/platform/core/canvas/DrawD/spec.json @@ -68,13 +68,9 @@ "icon": "square", "description": "draw step of `d` on `canvas`", "complexity": 36, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "62bd0895-8889-40b2-8147-1c690809f4eb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/GetX0Y0X1Y1/spec.json b/src/system/platform/core/canvas/GetX0Y0X1Y1/spec.json index ccecf29902..9436c78046 100644 --- a/src/system/platform/core/canvas/GetX0Y0X1Y1/spec.json +++ b/src/system/platform/core/canvas/GetX0Y0X1Y1/spec.json @@ -66,11 +66,7 @@ "icon": "brackets-curly", "description": "get x0, x1, y0 and y1 rect from object", "complexity": 8, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "{x0,y0,x1,y1}": { @@ -123,4 +119,4 @@ "id": "004058a4-3562-4427-a782-66f90bf336a3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/GetXY/spec.json b/src/system/platform/core/canvas/GetXY/spec.json index fb145f023f..f7c2456a1a 100644 --- a/src/system/platform/core/canvas/GetXY/spec.json +++ b/src/system/platform/core/canvas/GetXY/spec.json @@ -38,11 +38,7 @@ "icon": "brackets-curly", "description": "get `x` and `y` from `obj`", "complexity": 6, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "obj": { @@ -77,4 +73,4 @@ "id": "5bf348b6-9776-4b23-9516-d802b6b3c846", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/MergeRect/spec.json b/src/system/platform/core/canvas/MergeRect/spec.json index e756c5e2a0..b70c77725d 100644 --- a/src/system/platform/core/canvas/MergeRect/spec.json +++ b/src/system/platform/core/canvas/MergeRect/spec.json @@ -216,13 +216,9 @@ } } }, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "eb9740fb-1a02-4006-a618-7fc8ebc2af96", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/MergeX0Y0X1Y1/spec.json b/src/system/platform/core/canvas/MergeX0Y0X1Y1/spec.json index 9be74352b3..a0465f12e3 100644 --- a/src/system/platform/core/canvas/MergeX0Y0X1Y1/spec.json +++ b/src/system/platform/core/canvas/MergeX0Y0X1Y1/spec.json @@ -95,11 +95,7 @@ "icon": "brackets-curly", "description": "{ x0, y0, x1, y1 }", "complexity": 19, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "x0": { @@ -157,4 +153,4 @@ "id": "2bd0d83a-bd19-425b-aa75-84a47c73fc81", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/MergeXY/spec.json b/src/system/platform/core/canvas/MergeXY/spec.json index 1af186dfab..6031991157 100644 --- a/src/system/platform/core/canvas/MergeXY/spec.json +++ b/src/system/platform/core/canvas/MergeXY/spec.json @@ -53,11 +53,7 @@ "icon": "brackets", "description": "{ x, y }", "complexity": 15, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "y": { @@ -93,4 +89,4 @@ "id": "2737cd82-d80b-4d3f-b33d-f00f68361e24", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/MergeXYR/spec.json b/src/system/platform/core/canvas/MergeXYR/spec.json index 07c827ee69..a9992b4175 100644 --- a/src/system/platform/core/canvas/MergeXYR/spec.json +++ b/src/system/platform/core/canvas/MergeXYR/spec.json @@ -101,13 +101,9 @@ "icon": "brackets-curly", "description": "create object with values `x`, `y` and `r`", "complexity": 23, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "4617df3b-4ca5-42c1-bcda-4a3833c645da", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/RotateAround/spec.json b/src/system/platform/core/canvas/RotateAround/spec.json index f78295ed3d..f4150ff821 100644 --- a/src/system/platform/core/canvas/RotateAround/spec.json +++ b/src/system/platform/core/canvas/RotateAround/spec.json @@ -117,11 +117,7 @@ "icon": "edit-3", "description": "adds a rotation to the transformation matrix", "complexity": 15, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "d": { @@ -165,4 +161,4 @@ "id": "389f41b1-0a1d-4b02-ab30-53446c2e13e2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/Rotation/spec.json b/src/system/platform/core/canvas/Rotation/spec.json index 51d06e6bda..6022dcfa25 100644 --- a/src/system/platform/core/canvas/Rotation/spec.json +++ b/src/system/platform/core/canvas/Rotation/spec.json @@ -97,11 +97,7 @@ "icon": "edit-3", "description": "rotate `+` more every frame", "complexity": 17, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "rad": { @@ -137,4 +133,4 @@ "id": "1b6923a6-b383-4909-af8f-85444aeb6aae", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/StrokeCircle/spec.json b/src/system/platform/core/canvas/StrokeCircle/spec.json index 6295f9815f..cdcce1da24 100644 --- a/src/system/platform/core/canvas/StrokeCircle/spec.json +++ b/src/system/platform/core/canvas/StrokeCircle/spec.json @@ -66,9 +66,7 @@ }, "type": "{x:number,y:number,r:number}", "metadada": { - "examples": [ - "{x:50,y:50,r:25}" - ] + "examples": ["{x:50,y:50,r:25}"] } }, "d": { @@ -80,9 +78,7 @@ }, "type": "any[][]", "metadata": { - "examples": [ - "[]" - ] + "examples": ["[]"] } } }, @@ -101,13 +97,9 @@ "icon": "edit-3", "description": "stroke a circle path", "complexity": 19, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "89051065-ef45-48b2-ab7f-77ae173e1b4d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/StrokeFillCircle/spec.json b/src/system/platform/core/canvas/StrokeFillCircle/spec.json index de0f7e7380..291b227966 100644 --- a/src/system/platform/core/canvas/StrokeFillCircle/spec.json +++ b/src/system/platform/core/canvas/StrokeFillCircle/spec.json @@ -62,11 +62,7 @@ "icon": "edit-3", "description": "draw a circle to the canvas", "complexity": 22, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "d": { @@ -103,4 +99,4 @@ "id": "0eb3579e-4645-4e45-a3b1-f3fb1a62ab4d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/StrokeFillStyle/spec.json b/src/system/platform/core/canvas/StrokeFillStyle/spec.json index 6b908c4139..35350f7cdd 100644 --- a/src/system/platform/core/canvas/StrokeFillStyle/spec.json +++ b/src/system/platform/core/canvas/StrokeFillStyle/spec.json @@ -82,13 +82,9 @@ "icon": "edit-3", "description": "set the color, gradient, or pattern to use for stroke and fill", "complexity": 8, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "f1456a8d-7f4f-41b4-9487-166a67a6cbd4", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagEnd/spec.json b/src/system/platform/core/canvas/TagEnd/spec.json index a3f27c6f54..87e5f8d4d2 100644 --- a/src/system/platform/core/canvas/TagEnd/spec.json +++ b/src/system/platform/core/canvas/TagEnd/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{end: `end`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "end": { @@ -47,4 +43,4 @@ "id": "fe80edec-454f-4e87-ace4-51cdb5b5456f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagHeight/spec.json b/src/system/platform/core/canvas/TagHeight/spec.json index f67c725dcb..965243be23 100644 --- a/src/system/platform/core/canvas/TagHeight/spec.json +++ b/src/system/platform/core/canvas/TagHeight/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{height: `height`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "height": { @@ -47,4 +43,4 @@ "id": "cd3cc728-a253-11eb-92b7-876e93d80737", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagR/spec.json b/src/system/platform/core/canvas/TagR/spec.json index e350a9b48b..9d7be981c3 100644 --- a/src/system/platform/core/canvas/TagR/spec.json +++ b/src/system/platform/core/canvas/TagR/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{r: `r`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "r": { @@ -47,4 +43,4 @@ "id": "5611a149-95bf-406e-b227-f583f71f5f3f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagStart/spec.json b/src/system/platform/core/canvas/TagStart/spec.json index 05c3a4c146..8743071924 100644 --- a/src/system/platform/core/canvas/TagStart/spec.json +++ b/src/system/platform/core/canvas/TagStart/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{start: `start`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "start": { @@ -47,4 +43,4 @@ "id": "99764e75-c4be-4f35-9051-0e3a750dca83", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagTransform/spec.json b/src/system/platform/core/canvas/TagTransform/spec.json index bf1136d690..6cc0f82611 100644 --- a/src/system/platform/core/canvas/TagTransform/spec.json +++ b/src/system/platform/core/canvas/TagTransform/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{transform: `transform`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "transform": { @@ -47,4 +43,4 @@ "id": "e9758d91-5270-4e11-b1c4-969092abbfe7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagTransformTranslatePX/spec.json b/src/system/platform/core/canvas/TagTransformTranslatePX/spec.json index 2b768f0599..ec1c6c0018 100644 --- a/src/system/platform/core/canvas/TagTransformTranslatePX/spec.json +++ b/src/system/platform/core/canvas/TagTransformTranslatePX/spec.json @@ -173,11 +173,7 @@ "metadata": { "icon": "tag", "complexity": 23, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "f08860e0-f393-4159-80da-510ff95adb21" -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagValue/spec.json b/src/system/platform/core/canvas/TagValue/spec.json index 0ab906f346..27ca75fd05 100644 --- a/src/system/platform/core/canvas/TagValue/spec.json +++ b/src/system/platform/core/canvas/TagValue/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{r: `r`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "value": { @@ -47,4 +43,4 @@ "id": "d4aa836e-a9ed-11eb-b048-6f5e7792f8be", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagWidth/spec.json b/src/system/platform/core/canvas/TagWidth/spec.json index 23b505da21..5a4f6cba42 100644 --- a/src/system/platform/core/canvas/TagWidth/spec.json +++ b/src/system/platform/core/canvas/TagWidth/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{width: `width`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "width": { @@ -47,4 +43,4 @@ "id": "c13fec8e-a253-11eb-bbe5-6bbcbf28b3ef", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagX/spec.json b/src/system/platform/core/canvas/TagX/spec.json index 10a1da1513..0a61a032a8 100644 --- a/src/system/platform/core/canvas/TagX/spec.json +++ b/src/system/platform/core/canvas/TagX/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{x: `x`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "x": { @@ -47,4 +43,4 @@ "id": "c03c6348-27ca-11eb-a1a3-c7af00092506", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/canvas/TagY/spec.json b/src/system/platform/core/canvas/TagY/spec.json index efba054f57..9b2c1c443e 100644 --- a/src/system/platform/core/canvas/TagY/spec.json +++ b/src/system/platform/core/canvas/TagY/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{y: `y`}", "complexity": 7, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "y": { @@ -47,4 +43,4 @@ "id": "e3cfa57c-27ca-11eb-9aab-afd483aa07b0", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/GammaCorrection/spec.json b/src/system/platform/core/color/GammaCorrection/spec.json index b3a3346ae4..02309cbed6 100644 --- a/src/system/platform/core/color/GammaCorrection/spec.json +++ b/src/system/platform/core/color/GammaCorrection/spec.json @@ -141,11 +141,7 @@ "description": "gamma correction algorithm", "link": "https://en.wikipedia.org/wiki/Gamma_correction", "complexity": 26, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "a": { @@ -170,4 +166,4 @@ "id": "0a2aad57-975f-4806-a8c9-58e42161d8ec", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/HexToRGB/spec.json b/src/system/platform/core/color/HexToRGB/spec.json index f4f09b47dc..10b1309092 100644 --- a/src/system/platform/core/color/HexToRGB/spec.json +++ b/src/system/platform/core/color/HexToRGB/spec.json @@ -207,11 +207,7 @@ "icon": "palette", "description": "hexadecimal color string to RGB array", "complexity": 75, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "hex": { @@ -238,4 +234,4 @@ "id": "653279dc-893d-4627-854e-d110aece0b72", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/HexToXY/spec.json b/src/system/platform/core/color/HexToXY/spec.json index cc3646990d..68a89c1a33 100644 --- a/src/system/platform/core/color/HexToXY/spec.json +++ b/src/system/platform/core/color/HexToXY/spec.json @@ -26,11 +26,7 @@ "icon": "palette", "description": "convert hex color to xyz", "complexity": 148, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "hex": { @@ -57,4 +53,4 @@ "id": "f2043fd6-04d4-4523-939b-f631af07f70e", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/NameToColor/spec.json b/src/system/platform/core/color/NameToColor/spec.json index 2cd5e4ee83..8ab5d2b7f7 100644 --- a/src/system/platform/core/color/NameToColor/spec.json +++ b/src/system/platform/core/color/NameToColor/spec.json @@ -16,11 +16,7 @@ "icon": "palette", "description": "turn a color named `name` into its correspondent `hex` string", "complexity": 5, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "name": { @@ -47,4 +43,4 @@ "id": "5f1dfd62-e6ac-4c1d-80e4-c0e99440def9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/RGBToHex/spec.json b/src/system/platform/core/color/RGBToHex/spec.json index 8102f6baae..b5bd983b88 100644 --- a/src/system/platform/core/color/RGBToHex/spec.json +++ b/src/system/platform/core/color/RGBToHex/spec.json @@ -209,13 +209,9 @@ "icon": "palette", "description": "RGB color to hexadecimal", "complexity": 22, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "id": "d7bf7bad-3b64-4190-9bae-878e88d119e7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/RGBToXY/spec.json b/src/system/platform/core/color/RGBToXY/spec.json index 7f652bd469..cd2003a16d 100644 --- a/src/system/platform/core/color/RGBToXY/spec.json +++ b/src/system/platform/core/color/RGBToXY/spec.json @@ -26,11 +26,7 @@ "icon": "palette", "description": "RGB to XY", "complexity": 89, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "RGB": { @@ -57,4 +53,4 @@ "id": "23cae4c7-b88c-4004-865f-e618bfb0c63f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/RGBToXYZ/spec.json b/src/system/platform/core/color/RGBToXYZ/spec.json index 9cce6d177e..455635d929 100644 --- a/src/system/platform/core/color/RGBToXYZ/spec.json +++ b/src/system/platform/core/color/RGBToXYZ/spec.json @@ -136,11 +136,7 @@ "icon": "palette", "description": "convert RGB color to XYZ", "complexity": 77, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "RGB": { @@ -167,4 +163,4 @@ "id": "73193df9-d5f4-4689-92ce-d804cf30ee20", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/RandomCIEXYColor/spec.json b/src/system/platform/core/color/RandomCIEXYColor/spec.json index 1b8d15810a..dd4d9510b6 100644 --- a/src/system/platform/core/color/RandomCIEXYColor/spec.json +++ b/src/system/platform/core/color/RandomCIEXYColor/spec.json @@ -31,11 +31,7 @@ "icon": "palette", "description": "generate a random CIE xy color string", "complexity": 182, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "any": { @@ -62,4 +58,4 @@ "id": "09856cbd-2676-4930-8241-08c5bbde0474", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/RandomHexColor/spec.json b/src/system/platform/core/color/RandomHexColor/spec.json index 54829e115f..06f57696e1 100644 --- a/src/system/platform/core/color/RandomHexColor/spec.json +++ b/src/system/platform/core/color/RandomHexColor/spec.json @@ -84,11 +84,7 @@ "icon": "palette", "description": "random HEX color string", "complexity": 49, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "any": { @@ -116,4 +112,4 @@ "id": "2f48e431-9338-44dd-9f20-b8b14e710a1f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/color/XYZtoXY/spec.json b/src/system/platform/core/color/XYZtoXY/spec.json index 0ece5657ad..effd168db1 100644 --- a/src/system/platform/core/color/XYZtoXY/spec.json +++ b/src/system/platform/core/color/XYZtoXY/spec.json @@ -120,11 +120,7 @@ "icon": "palette", "description": "convert XYZ color to XY", "complexity": 56, - "tags": [ - "platform", - "core", - "color" - ] + "tags": ["platform", "core", "color"] }, "inputs": { "XYZ": { @@ -151,4 +147,4 @@ "id": "31c06a15-ca1a-4175-b60a-0cb5dfff3a6c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/AbsoluteDiv/spec.json b/src/system/platform/core/component/AbsoluteDiv/spec.json index 6aba0beef2..b153b4fcd0 100644 --- a/src/system/platform/core/component/AbsoluteDiv/spec.json +++ b/src/system/platform/core/component/AbsoluteDiv/spec.json @@ -63,32 +63,21 @@ } }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "subComponents": { "div": { "children": [] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 120, "defaultHeight": 120 }, "metadata": { "icon": "square", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "dc546440-13ca-4ebf-8831-c28138c7efc6", "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/App/spec.json b/src/system/platform/core/component/App/spec.json index 2f5ee7a95e..a5c6206e8e 100644 --- a/src/system/platform/core/component/App/spec.json +++ b/src/system/platform/core/component/App/spec.json @@ -264,24 +264,13 @@ }, "component": { "slots": [ - [ - "gui", - "default" - ], - [ - "gui", - "1" - ], - [ - "gui", - "2" - ] + ["gui", "default"], + ["gui", "1"], + ["gui", "2"] ], "subComponents": { "gui": { - "children": [ - "editor" - ], + "children": ["editor"], "width": 420, "height": 420 }, @@ -289,9 +278,7 @@ "children": [] } }, - "children": [ - "gui" - ], + "children": ["gui"], "defaultWidth": 420, "defaultHeight": 420 }, @@ -299,11 +286,7 @@ "icon": "atom-alt", "description": "editor + gui", "complexity": 227, - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "0": { @@ -321,4 +304,4 @@ "type": "`U`&`C`&`G`", "render": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Box/spec.json b/src/system/platform/core/component/Box/spec.json index 937ae2f13f..ae01e374fd 100644 --- a/src/system/platform/core/component/Box/spec.json +++ b/src/system/platform/core/component/Box/spec.json @@ -68,19 +68,10 @@ "icon": "square", "description": "100% div", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 120, "defaultHeight": 120, "subComponents": { @@ -88,12 +79,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "9eba84b6-d2ca-47e6-9195-8208dbb880bc", "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Chalkboard/spec.json b/src/system/platform/core/component/Chalkboard/spec.json index 9db78f5c43..28b03cfdd5 100644 --- a/src/system/platform/core/component/Chalkboard/spec.json +++ b/src/system/platform/core/component/Chalkboard/spec.json @@ -26,9 +26,7 @@ } }, "metadata": { - "examples": [ - "200" - ], + "examples": ["200"], "position": { "0": { "x": -165, @@ -46,9 +44,7 @@ } }, "metadata": { - "examples": [ - "200" - ], + "examples": ["200"], "position": { "0": { "x": -153, @@ -476,9 +472,7 @@ "children": [] } }, - "children": [ - "canvas" - ], + "children": ["canvas"], "defaultWidth": 200, "defaultHeight": 200 }, @@ -486,11 +480,7 @@ "icon": "chalkboard", "description": "drawing board", "complexity": 147, - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "0": { @@ -548,4 +538,4 @@ "type": "`U`&`C`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Charcode/spec.json b/src/system/platform/core/component/Charcode/spec.json index 556ffb8964..9a80c21572 100644 --- a/src/system/platform/core/component/Charcode/spec.json +++ b/src/system/platform/core/component/Charcode/spec.json @@ -97,21 +97,15 @@ "children": [] } }, - "children": [ - "textspan" - ], + "children": ["textspan"], "defaultWidth": 90, "defaultHeight": 90 }, "metadata": { "complexity": 100, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "d0c59812-a8ec-4c53-81a9-c9725dda987e", "type": "`U`&`G`", "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/DefaultVideo/spec.json b/src/system/platform/core/component/DefaultVideo/spec.json index 3fbc4a5f32..9cb82758f4 100644 --- a/src/system/platform/core/component/DefaultVideo/spec.json +++ b/src/system/platform/core/component/DefaultVideo/spec.json @@ -99,27 +99,16 @@ "icon": "video", "description": "default video media", "complexity": 62, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "video", - "default" - ] - ], + "slots": [["video", "default"]], "subComponents": { "video": { "children": [] } }, - "children": [ - "video" - ], + "children": ["video"], "defaultWidth": 240, "defaultHeight": 240 }, @@ -127,4 +116,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FitContent/spec.json b/src/system/platform/core/component/FitContent/spec.json index 22846e8bf8..1146b5d111 100644 --- a/src/system/platform/core/component/FitContent/spec.json +++ b/src/system/platform/core/component/FitContent/spec.json @@ -55,19 +55,10 @@ "icon": "square", "description": "column flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 180, "defaultHeight": 270, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "4d0092bf-0e68-49e5-8fe1-6b0c79da571c", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexColumn/spec.json b/src/system/platform/core/component/FlexColumn/spec.json index 5b950e9ad2..3f2aea6213 100644 --- a/src/system/platform/core/component/FlexColumn/spec.json +++ b/src/system/platform/core/component/FlexColumn/spec.json @@ -17,7 +17,7 @@ "a": {}, "default": { "constant": true, - "data": "{display:'flex',flexDirection:'column',overflow:'auto',height:'100%'}" + "data": "{display:'flex',flexDirection:'column',overflow:'auto',height:'100%',width:'100%'}" } }, "output": { @@ -55,19 +55,10 @@ "icon": "square", "description": "column flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 180, "defaultHeight": 270, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "67a6fb5a-feab-11ea-8bd1-a3c19e76592a", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexColumnCenter/spec.json b/src/system/platform/core/component/FlexColumnCenter/spec.json index cc11325024..aa7fa020f6 100644 --- a/src/system/platform/core/component/FlexColumnCenter/spec.json +++ b/src/system/platform/core/component/FlexColumnCenter/spec.json @@ -55,19 +55,10 @@ "icon": "square", "description": "column flexbox with centered content", "complexity": 56, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "flexcolumn", - "default" - ] - ], + "slots": [["flexcolumn", "default"]], "defaultWidth": 180, "defaultHeight": 270, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "flexcolumn" - ] + "children": ["flexcolumn"] }, "id": "59d00328-d61e-4ed2-b4e4-cfa53e0b7fa7", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexColumnGrid/spec.json b/src/system/platform/core/component/FlexColumnGrid/spec.json index bd34930594..c265bd6c88 100644 --- a/src/system/platform/core/component/FlexColumnGrid/spec.json +++ b/src/system/platform/core/component/FlexColumnGrid/spec.json @@ -3,7 +3,12 @@ "units": { "div": { "id": "66698a97-15c5-4602-9925-11a1aeb03710", - "input": {}, + "input": { + "style": { + "constant": true, + "data": "{width:\"100%\"}" + } + }, "metadata": { "component": { "width": 120, @@ -55,19 +60,10 @@ "icon": "square", "description": "grid flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 240, "defaultHeight": 240, "subComponents": { @@ -75,12 +71,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "cac87386-de49-480e-87ec-80c306aa5eec", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexRow/spec.json b/src/system/platform/core/component/FlexRow/spec.json index 1379cd84db..0532087eb2 100644 --- a/src/system/platform/core/component/FlexRow/spec.json +++ b/src/system/platform/core/component/FlexRow/spec.json @@ -17,7 +17,7 @@ "a": {}, "default": { "constant": true, - "data": "{display:'flex',flexDirection:'row',height:'100%'}" + "data": "{display:'flex',flexDirection:'row',height:'100%',width:\"100%\"}" } }, "output": { @@ -55,19 +55,10 @@ "icon": "square", "description": "row flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 270, "defaultHeight": 180, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "ad5a2fcc-fdee-11ea-a34f-77e9c48dbe57", "type": "`U`&`C`&`V`&`J`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexRowCenter/spec.json b/src/system/platform/core/component/FlexRowCenter/spec.json index 8d43d05022..fba9f36a50 100644 --- a/src/system/platform/core/component/FlexRowCenter/spec.json +++ b/src/system/platform/core/component/FlexRowCenter/spec.json @@ -3,7 +3,12 @@ "units": { "div": { "id": "66698a97-15c5-4602-9925-11a1aeb03710", - "input": {}, + "input": { + "style": { + "constant": true, + "data": "{width:\"100%\"}" + } + }, "metadata": { "component": { "width": 120, @@ -55,19 +60,10 @@ "icon": "square", "description": "centered flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 240, "defaultHeight": 240, "subComponents": { @@ -75,12 +71,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "af731047-6d74-4dfd-93bd-0daa4d649d4d", "type": "`U`&`C`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FlexRowGrid/spec.json b/src/system/platform/core/component/FlexRowGrid/spec.json index e9901fdc3e..aacf225a65 100644 --- a/src/system/platform/core/component/FlexRowGrid/spec.json +++ b/src/system/platform/core/component/FlexRowGrid/spec.json @@ -55,19 +55,10 @@ "icon": "square", "description": "grid flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 240, "defaultHeight": 240, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "9b9f4c2e-7c28-44c6-b59a-ef26d63892d6", "type": "`U`&`C`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/FullChalkboard/spec.json b/src/system/platform/core/component/FullChalkboard/spec.json index bb3eaafc2e..37df542944 100644 --- a/src/system/platform/core/component/FullChalkboard/spec.json +++ b/src/system/platform/core/component/FullChalkboard/spec.json @@ -71,9 +71,7 @@ } }, "component": { - "children": [ - "chalkboard" - ], + "children": ["chalkboard"], "subComponents": { "chalkboard": { "children": [] @@ -98,14 +96,10 @@ } } }, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "120ff298-ff92-4b7c-b748-9a3c3bdbad2e", "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/HelloWorld/spec.json b/src/system/platform/core/component/HelloWorld/spec.json index 829cff034c..e5cac64653 100644 --- a/src/system/platform/core/component/HelloWorld/spec.json +++ b/src/system/platform/core/component/HelloWorld/spec.json @@ -75,9 +75,7 @@ "children": [] } }, - "children": [ - "textbox" - ], + "children": ["textbox"], "defaultWidth": 300, "defaultHeight": 300 }, @@ -86,14 +84,10 @@ "icon": "sign", "complexity": 100, "position": {}, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "a9cbed12-9a53-11eb-8c2e-f3146b36128d", "render": true, "system": true, "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/HorizontalScrollBox/spec.json b/src/system/platform/core/component/HorizontalScrollBox/spec.json index d4463ab873..d005e08976 100644 --- a/src/system/platform/core/component/HorizontalScrollBox/spec.json +++ b/src/system/platform/core/component/HorizontalScrollBox/spec.json @@ -30,7 +30,10 @@ "div": { "id": "66698a97-15c5-4602-9925-11a1aeb03710", "input": { - "style": {} + "constant": true, + "style": { + "data": "{width:\"100%\"}" + } }, "output": {}, "metadata": { @@ -65,25 +68,16 @@ } }, "component": { - "slots": [ - [ - "defaultstyle", - "default" - ] - ], + "slots": [["defaultstyle", "default"]], "subComponents": { "defaultstyle": { "children": [] }, "div": { - "children": [ - "defaultstyle" - ] + "children": ["defaultstyle"] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 300, "defaultHeight": 180 }, @@ -91,13 +85,9 @@ "icon": "square", "complexity": 96, "description": "horizontal scroll container", - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "ec8afd36-0718-42f7-9b0d-4b1adbf62766", "type": "`U`&`G`&`C`", "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/HoveredOrNot/spec.json b/src/system/platform/core/component/HoveredOrNot/spec.json index 156a4291ac..33816e1cfe 100644 --- a/src/system/platform/core/component/HoveredOrNot/spec.json +++ b/src/system/platform/core/component/HoveredOrNot/spec.json @@ -192,11 +192,7 @@ } } }, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "687384e5-8b9a-4ba8-b68a-e7972213d7bc", "component": { @@ -205,13 +201,11 @@ "children": [] } }, - "children": [ - "textdiv" - ], + "children": ["textdiv"], "defaultWidth": 180, "defaultHeight": 90 }, "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/IO/spec.json b/src/system/platform/core/component/IO/spec.json index 95d960d8e5..95f747824e 100644 --- a/src/system/platform/core/component/IO/spec.json +++ b/src/system/platform/core/component/IO/spec.json @@ -334,9 +334,7 @@ "component": { "subComponents": { "app": { - "children": [ - "logo" - ], + "children": ["logo"], "childSlot": { "logo": "1" } @@ -345,22 +343,11 @@ "children": [] } }, - "children": [ - "app" - ], + "children": ["app"], "slots": [ - [ - "app", - "default" - ], - [ - "app", - "1" - ], - [ - "app", - "2" - ] + ["app", "default"], + ["app", "1"], + ["app", "2"] ], "defaultWidth": 360, "defaultHeight": 360 @@ -368,11 +355,7 @@ "metadata": { "icon": "atom-alt", "description": "app + logo", - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "0": { @@ -396,4 +379,4 @@ "complexity": 328 }, "id": "6f267de2-b02c-11ea-b55c-db553f4c6c45" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/InheritDisplayInlineBlock/spec.json b/src/system/platform/core/component/InheritDisplayInlineBlock/spec.json index ff12443d27..7aa7b9863c 100644 --- a/src/system/platform/core/component/InheritDisplayInlineBlock/spec.json +++ b/src/system/platform/core/component/InheritDisplayInlineBlock/spec.json @@ -61,20 +61,13 @@ }, "render": true, "component": { - "slots": [ - [ - "inherit", - "default" - ] - ], + "slots": [["inherit", "default"]], "subComponents": { "inherit": { "children": [] } }, - "children": [ - "inherit" - ], + "children": ["inherit"], "defaultWidth": 240, "defaultHeight": 240 }, @@ -84,4 +77,4 @@ "complexity": 53 }, "id": "e16f9ac0-29c3-4ae7-a2e7-2aa6b98bcc1b" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/InheritScrollSnapAlignStart/spec.json b/src/system/platform/core/component/InheritScrollSnapAlignStart/spec.json index 278f61fa7a..6955dbd028 100644 --- a/src/system/platform/core/component/InheritScrollSnapAlignStart/spec.json +++ b/src/system/platform/core/component/InheritScrollSnapAlignStart/spec.json @@ -61,20 +61,13 @@ }, "render": true, "component": { - "slots": [ - [ - "inherit", - "default" - ] - ], + "slots": [["inherit", "default"]], "subComponents": { "inherit": { "children": [] } }, - "children": [ - "inherit" - ], + "children": ["inherit"], "defaultWidth": 240, "defaultHeight": 240 }, @@ -84,4 +77,4 @@ "complexity": 53 }, "id": "b62c0058-9183-435f-baae-c51a3ee1855b" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/InheritScrollSnapX/spec.json b/src/system/platform/core/component/InheritScrollSnapX/spec.json index 29117217e4..6760650dba 100644 --- a/src/system/platform/core/component/InheritScrollSnapX/spec.json +++ b/src/system/platform/core/component/InheritScrollSnapX/spec.json @@ -61,20 +61,13 @@ }, "render": true, "component": { - "slots": [ - [ - "inherit", - "default" - ] - ], + "slots": [["inherit", "default"]], "subComponents": { "inherit": { "children": [] } }, - "children": [ - "inherit" - ], + "children": ["inherit"], "defaultWidth": 240, "defaultHeight": 240 }, @@ -84,4 +77,4 @@ "complexity": 53 }, "id": "0b5d4999-21ce-48da-907d-2891514c451d" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/InheritScrollSnapY/spec.json b/src/system/platform/core/component/InheritScrollSnapY/spec.json index 80f4a1601d..3a499a243d 100644 --- a/src/system/platform/core/component/InheritScrollSnapY/spec.json +++ b/src/system/platform/core/component/InheritScrollSnapY/spec.json @@ -61,20 +61,13 @@ }, "render": true, "component": { - "slots": [ - [ - "inherit", - "default" - ] - ], + "slots": [["inherit", "default"]], "subComponents": { "inherit": { "children": [] } }, - "children": [ - "inherit" - ], + "children": ["inherit"], "defaultWidth": 240, "defaultHeight": 240 }, @@ -84,4 +77,4 @@ "complexity": 53 }, "id": "5867c5b6-24f2-4bd7-90b3-4e44615bc42c" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/InlineBlockDiv/spec.json b/src/system/platform/core/component/InlineBlockDiv/spec.json index ad484cc3ac..50d2f8c553 100644 --- a/src/system/platform/core/component/InlineBlockDiv/spec.json +++ b/src/system/platform/core/component/InlineBlockDiv/spec.json @@ -63,32 +63,21 @@ } }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "subComponents": { "div": { "children": [] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 120, "defaultHeight": 120 }, "metadata": { "icon": "square", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "b434223f-7f7a-4f03-83ab-744e16990206", "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/LocalRoot/spec.json b/src/system/platform/core/component/LocalRoot/spec.json index ccba0bf7ea..2267813bc6 100644 --- a/src/system/platform/core/component/LocalRoot/spec.json +++ b/src/system/platform/core/component/LocalRoot/spec.json @@ -316,9 +316,7 @@ "children": [] } }, - "children": [ - "root" - ], + "children": ["root"], "defaultWidth": 420, "defaultHeight": 420 }, @@ -326,13 +324,9 @@ "icon": null, "description": "root app local auto-save", "complexity": 481, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "e1b6acd3-69cd-4edb-8e3e-6c78ffd28b49", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Logo/spec.json b/src/system/platform/core/component/Logo/spec.json index 8552ee38f7..3b6baa7b03 100644 --- a/src/system/platform/core/component/Logo/spec.json +++ b/src/system/platform/core/component/Logo/spec.json @@ -164,26 +164,18 @@ "children": [] }, "svg": { - "children": [ - "svgpath" - ], + "children": ["svgpath"], "width": 285, "height": 268 } }, - "children": [ - "svg" - ], + "children": ["svg"], "defaultWidth": 120, "defaultHeight": 120 }, "metadata": { "complexity": 96, - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "0": { @@ -197,4 +189,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/MinMaxSlider/spec.json b/src/system/platform/core/component/MinMaxSlider/spec.json index c36cc6099d..9d5b95504d 100644 --- a/src/system/platform/core/component/MinMaxSlider/spec.json +++ b/src/system/platform/core/component/MinMaxSlider/spec.json @@ -589,35 +589,22 @@ "height": 45 }, "row": { - "children": [ - "min", - "numberinput", - "max" - ] + "children": ["min", "numberinput", "max"] }, "column": { - "children": [ - "slider", - "row" - ], + "children": ["slider", "row"], "width": 278, "height": 85 } }, - "children": [ - "column" - ], + "children": ["column"], "defaultWidth": 210, "defaultHeight": 120 }, "metadata": { "icon": "sliders", "complexity": 163, - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "2": { @@ -651,4 +638,4 @@ "type": "`U`&`C`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Mirror/spec.json b/src/system/platform/core/component/Mirror/spec.json index f0710e9a3c..832812ec2a 100644 --- a/src/system/platform/core/component/Mirror/spec.json +++ b/src/system/platform/core/component/Mirror/spec.json @@ -79,27 +79,16 @@ "icon": "video", "description": "default user media", "complexity": 70, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "defaultvideo", - "default" - ] - ], + "slots": [["defaultvideo", "default"]], "subComponents": { "defaultvideo": { "children": [] } }, - "children": [ - "defaultvideo" - ], + "children": ["defaultvideo"], "defaultWidth": 260, "defaultHeight": 195 }, @@ -107,4 +96,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Root/spec.json b/src/system/platform/core/component/Root/spec.json index 6cdaa0c02f..a7b615ad61 100644 --- a/src/system/platform/core/component/Root/spec.json +++ b/src/system/platform/core/component/Root/spec.json @@ -183,17 +183,10 @@ } }, "component": { - "slots": [ - [ - "io", - "default" - ] - ], + "slots": [["io", "default"]], "subComponents": { "io": { - "children": [ - "guikeyboard" - ], + "children": ["guikeyboard"], "childSlot": { "guikeyboard": "2" } @@ -202,9 +195,7 @@ "children": [] } }, - "children": [ - "io" - ], + "children": ["io"], "defaultWidth": 420, "defaultHeight": 420 }, @@ -212,14 +203,10 @@ "icon": "chalkboard", "description": "io + cloud", "complexity": 398, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "9aba266d-5200-4281-b477-749c9b3c5815", "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/ScrollSnapAlignStart/spec.json b/src/system/platform/core/component/ScrollSnapAlignStart/spec.json index f7b1a6a865..25d2c27e0a 100644 --- a/src/system/platform/core/component/ScrollSnapAlignStart/spec.json +++ b/src/system/platform/core/component/ScrollSnapAlignStart/spec.json @@ -58,20 +58,13 @@ }, "render": true, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "subComponents": { "div": { "children": [] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 300, "defaultHeight": 420 }, @@ -81,4 +74,4 @@ "complexity": 53 }, "id": "b792e421-1c0b-40fc-ac33-87c5c2bbac2a" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/ScrollSnapYDiv/spec.json b/src/system/platform/core/component/ScrollSnapYDiv/spec.json index 90b1c29ac1..3f5d413d07 100644 --- a/src/system/platform/core/component/ScrollSnapYDiv/spec.json +++ b/src/system/platform/core/component/ScrollSnapYDiv/spec.json @@ -59,35 +59,22 @@ "merges": {}, "render": true, "component": { - "slots": [ - [ - "inheritscroll-snap-alignstart", - "default" - ] - ], + "slots": [["inheritscroll-snap-alignstart", "default"]], "subComponents": { "white-spacenowrap": { - "children": [ - "inheritdisplayinline-block" - ] + "children": ["inheritdisplayinline-block"] }, "inheritdisplayinline-block": { - "children": [ - "inheritscroll-snap-alignstart" - ] + "children": ["inheritscroll-snap-alignstart"] }, "inheritscroll-snapy": { - "children": [ - "white-spacenowrap" - ] + "children": ["white-spacenowrap"] }, "inheritscroll-snap-alignstart": { "children": [] } }, - "children": [ - "inheritscroll-snapy" - ], + "children": ["inheritscroll-snapy"], "defaultWidth": 180, "defaultHeight": 270 }, @@ -99,4 +86,4 @@ "id": "cef90fb7-bfcb-4f9d-8828-df6e68278601", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Slider360/spec.json b/src/system/platform/core/component/Slider360/spec.json index 4f07dc18d5..e80396fd4e 100644 --- a/src/system/platform/core/component/Slider360/spec.json +++ b/src/system/platform/core/component/Slider360/spec.json @@ -99,11 +99,7 @@ "icon": "sliders", "description": "360 slider current value", "complexity": 45, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "6bdd7a40-e465-42ae-8219-b428d7d57aea", "component": { @@ -114,11 +110,9 @@ "children": [] } }, - "children": [ - "slider" - ] + "children": ["slider"] }, "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Slider360Rad/spec.json b/src/system/platform/core/component/Slider360Rad/spec.json index a415b00660..5e25eac591 100644 --- a/src/system/platform/core/component/Slider360Rad/spec.json +++ b/src/system/platform/core/component/Slider360Rad/spec.json @@ -83,11 +83,7 @@ } } }, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "063ee2df-eeb6-4cd9-8516-9201e6e282ca", "component": { @@ -96,13 +92,11 @@ "children": [] } }, - "children": [ - "slider360" - ], + "children": ["slider360"], "defaultWidth": 120, "defaultHeight": 30 }, "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/StackBox/spec.json b/src/system/platform/core/component/StackBox/spec.json index 55ff6e0e67..37de2bde5e 100644 --- a/src/system/platform/core/component/StackBox/spec.json +++ b/src/system/platform/core/component/StackBox/spec.json @@ -26,7 +26,7 @@ "input": { "style": { "constant": true, - "data": "{whiteSpace:\"nowrap\"}" + "data": "{whiteSpace:\"nowrap\",width:\"100%\"}" } }, "output": {}, @@ -40,25 +40,16 @@ }, "merges": {}, "component": { - "slots": [ - [ - "wrap", - "default" - ] - ], + "slots": [["wrap", "default"]], "subComponents": { "wrap": { "children": [] }, "div": { - "children": [ - "wrap" - ] + "children": ["wrap"] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 180, "defaultHeight": 300 }, @@ -66,13 +57,9 @@ "icon": "square", "complexity": 88, "description": "horizontal scroll container", - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "58f72eed-f3d6-4972-9d13-b1bebdd98e61", "type": "`U`&`G`&`C`", "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/Switch/spec.json b/src/system/platform/core/component/Switch/spec.json index 0037ca85cd..870498f702 100644 --- a/src/system/platform/core/component/Switch/spec.json +++ b/src/system/platform/core/component/Switch/spec.json @@ -171,7 +171,7 @@ }, "default": { "constant": false, - "data": "{position:'relative',display:'flex',flexDirection:'row',padding:'4px',gap:'4px',backgroundColor:'#1f1f1f',cursor:'pointer'}" + "data": "{position:'relative',display:'flex',flexDirection:'row',padding:'4px',gap:'4px',backgroundColor:'#1f1f1f',cursor:'pointer',boxSizing:'border-box'}" } }, "output": { @@ -272,7 +272,7 @@ "input": { "obj": { "constant": true, - "data": "{position:\"relative\",display:\"flex\",flexDirection:\"row\",padding:\"4px\",gap:\"4px\",backgroundColor:\"#00aa11\",cursor:\"pointer\"}", + "data": "{position:\"relative\",display:\"flex\",flexDirection:\"row\",padding:\"4px\",gap:\"4px\",backgroundColor:\"#00aa11\",cursor:\"pointer\",boxSizing:\"border-box\"}", "metadata": { "position": { "x": 139, @@ -297,7 +297,7 @@ "input": { "obj": { "constant": true, - "data": "{position:\"absolute\",top:\"3px\",left:\"0\",width:\"calc(50% - 6px)\",height:\"calc(100% - 6px)\",backgroundColor:\"#ff6666\",cursor:\"pointer\"}", + "data": "{position:\"absolute\",top:\"3px\",left:\"0\",width:\"calc(50% - 6px)\",height:\"calc(100% - 6px)\",backgroundColor:\"#ff6666\",cursor:\"pointer\",boxSizing:\"border-box\"}", "metadata": { "position": { "x": -165, @@ -560,10 +560,7 @@ "component": { "subComponents": { "div": { - "children": [ - "div0", - "checkbox" - ], + "children": ["div0", "checkbox"], "childSlot": { "div0": "default", "checkbox": "default" @@ -576,9 +573,7 @@ "children": [] } }, - "children": [ - "div" - ], + "children": ["div"], "defaultWidth": 100, "defaultHeight": 50 }, @@ -630,14 +625,10 @@ } } }, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "6253bf76-2e85-11eb-9f59-3703abfd39c7", "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextAreaToSpeech/spec.json b/src/system/platform/core/component/TextAreaToSpeech/spec.json index cb1b8326a8..17c8363210 100644 --- a/src/system/platform/core/component/TextAreaToSpeech/spec.json +++ b/src/system/platform/core/component/TextAreaToSpeech/spec.json @@ -230,9 +230,7 @@ "children": [] } }, - "children": [ - "textarea" - ], + "children": ["textarea"], "defaultWidth": 200, "defaultHeight": 150 }, @@ -240,11 +238,7 @@ "complexity": 77, "icon": "align-left", "description": "speech text on enter", - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "position": { "merge": { "1": { @@ -266,4 +260,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextBox/Component.ts b/src/system/platform/core/component/TextBox/Component.ts index d894ec0c04..9de2774141 100644 --- a/src/system/platform/core/component/TextBox/Component.ts +++ b/src/system/platform/core/component/TextBox/Component.ts @@ -15,6 +15,7 @@ export interface Props { } export const DEFAULT_STYLE = { + width: '100%', height: 'fit-content', } diff --git a/src/system/platform/core/component/TextBox/spec.json b/src/system/platform/core/component/TextBox/spec.json index 4e2509e042..4037ac24f6 100644 --- a/src/system/platform/core/component/TextBox/spec.json +++ b/src/system/platform/core/component/TextBox/spec.json @@ -69,30 +69,22 @@ "component": { "subComponents": { "box": { - "children": [ - "text" - ] + "children": ["text"] }, "text": { "children": [] } }, - "children": [ - "box" - ], + "children": ["box"], "defaultWidth": 240, "defaultHeight": 180 }, "metadata": { "complexity": 97, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "9988a56e-6bee-46c8-864c-e351d84bc7e2", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextButton/spec.json b/src/system/platform/core/component/TextButton/spec.json index 66cc16afac..44d9c0ebfa 100644 --- a/src/system/platform/core/component/TextButton/spec.json +++ b/src/system/platform/core/component/TextButton/spec.json @@ -56,20 +56,16 @@ "height": 90 }, "button": { - "children": [ - "text" - ], + "children": ["text"], "childSlot": {}, "width": 120, "height": 120 } }, - "children": [ - "button" - ], + "children": ["button"], "defaultWidth": 180, "defaultHeight": 120 }, "id": "1dbbadab-bdbc-4dea-ba6d-442a3c7f33ed", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextFit/spec.json b/src/system/platform/core/component/TextFit/spec.json index 0194a21161..f64926b585 100644 --- a/src/system/platform/core/component/TextFit/spec.json +++ b/src/system/platform/core/component/TextFit/spec.json @@ -69,30 +69,22 @@ "component": { "subComponents": { "fit-content": { - "children": [ - "text" - ] + "children": ["text"] }, "text": { "children": [] } }, - "children": [ - "fit-content" - ], + "children": ["fit-content"], "defaultWidth": 180, "defaultHeight": 120 }, "metadata": { "complexity": 97, - "tags": [ - "platform", - "component", - "app" - ] + "tags": ["platform", "component", "app"] }, "id": "b12c858a-26ea-42a7-a435-0ee50ac34fbf", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextOption/spec.json b/src/system/platform/core/component/TextOption/spec.json index 35be7331c6..c7241d0afc 100644 --- a/src/system/platform/core/component/TextOption/spec.json +++ b/src/system/platform/core/component/TextOption/spec.json @@ -70,9 +70,7 @@ "component": { "subComponents": { "option": { - "children": [ - "text" - ], + "children": ["text"], "childSlot": {} }, "text": { @@ -80,11 +78,9 @@ "childSlot": {} } }, - "children": [ - "option" - ], + "children": ["option"], "defaultWidth": 180, "defaultHeight": 90 }, "id": "8543c796-caee-4e35-bffb-0065532afdf9" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextParagraph/spec.json b/src/system/platform/core/component/TextParagraph/spec.json index 310235f53f..ab299d4dce 100644 --- a/src/system/platform/core/component/TextParagraph/spec.json +++ b/src/system/platform/core/component/TextParagraph/spec.json @@ -71,20 +71,16 @@ "height": 90 }, "paragraph": { - "children": [ - "text0" - ], + "children": ["text0"], "childSlot": {}, "width": 120, "height": 120 } }, - "children": [ - "paragraph" - ], + "children": ["paragraph"], "defaultWidth": 180, "defaultHeight": 120 }, "id": "2e596b5f-f4b6-44fe-8ad0-6e17d12fa104", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextSelect/spec.json b/src/system/platform/core/component/TextSelect/spec.json index 1628e4551c..6e34fcc4ab 100644 --- a/src/system/platform/core/component/TextSelect/spec.json +++ b/src/system/platform/core/component/TextSelect/spec.json @@ -210,9 +210,7 @@ }, "ref": false, "metadata": { - "examples": [ - "['banana','apple','orange']" - ] + "examples": ["['banana','apple','orange']"] } }, "value": { @@ -225,11 +223,7 @@ "ref": false, "type": "string", "metadata": { - "examples": [ - "'banana'", - "'apple'", - "'orange'" - ] + "examples": ["'banana'", "'apple'", "'orange'"] } }, "style": { @@ -256,11 +250,7 @@ "metadata": { "icon": "question", "description": "select with text options", - "tags": [ - "platform", - "core", - "component" - ], + "tags": ["platform", "core", "component"], "complexity": 133 }, "render": true, @@ -271,11 +261,9 @@ "childSlot": {} } }, - "children": [ - "select" - ], + "children": ["select"], "defaultWidth": 180, "defaultHeight": 45 }, "id": "30995775-fa18-4474-813e-17186d3f20aa" -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/TextSpan/spec.json b/src/system/platform/core/component/TextSpan/spec.json index 3ae6ef70da..2bbc4ff1d8 100644 --- a/src/system/platform/core/component/TextSpan/spec.json +++ b/src/system/platform/core/component/TextSpan/spec.json @@ -52,21 +52,13 @@ "merges": {}, "metadata": { "complexity": 87, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "children": [ - "span" - ], + "children": ["span"], "subComponents": { "span": { - "children": [ - "text" - ] + "children": ["text"] }, "text": { "children": [] @@ -79,4 +71,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/UTF16Char/spec.json b/src/system/platform/core/component/UTF16Char/spec.json index 19e5b86ecb..584928c044 100644 --- a/src/system/platform/core/component/UTF16Char/spec.json +++ b/src/system/platform/core/component/UTF16Char/spec.json @@ -52,21 +52,13 @@ "merges": {}, "metadata": { "complexity": 87, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "children": [ - "span" - ], + "children": ["span"], "subComponents": { "span": { - "children": [ - "text" - ] + "children": ["text"] }, "text": { "children": [] @@ -79,4 +71,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/VerticalSplit/spec.json b/src/system/platform/core/component/VerticalSplit/spec.json index 9be38f6114..bc62c481d1 100644 --- a/src/system/platform/core/component/VerticalSplit/spec.json +++ b/src/system/platform/core/component/VerticalSplit/spec.json @@ -476,16 +476,10 @@ "children": [] }, "flexrow": { - "children": [ - "box1", - "box", - "box0" - ] + "children": ["box1", "box", "box0"] } }, - "children": [ - "flexrow" - ], + "children": ["flexrow"], "defaultWidth": 180, "defaultHeight": 270 }, @@ -493,13 +487,9 @@ "icon": null, "description": "adjustable vertically split container", "complexity": 156, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "id": "01791e01-bfeb-47d0-952a-8dd32a72d1fb", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/WhiteSpaceNoWrap/spec.json b/src/system/platform/core/component/WhiteSpaceNoWrap/spec.json index fe29787437..fd8990f233 100644 --- a/src/system/platform/core/component/WhiteSpaceNoWrap/spec.json +++ b/src/system/platform/core/component/WhiteSpaceNoWrap/spec.json @@ -55,19 +55,10 @@ "icon": "square", "description": "column flexbox", "complexity": 53, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "component": { - "slots": [ - [ - "div", - "default" - ] - ], + "slots": [["div", "default"]], "defaultWidth": 180, "defaultHeight": 270, "subComponents": { @@ -75,12 +66,10 @@ "children": [] } }, - "children": [ - "div" - ] + "children": ["div"] }, "id": "09072f81-7c8e-4bce-80ad-6d9a821a2897", "type": "`U`&`G`&`C`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/canvas/CanvasArc/spec.json b/src/system/platform/core/component/canvas/CanvasArc/spec.json index 92891d53ba..28d28fa99a 100644 --- a/src/system/platform/core/component/canvas/CanvasArc/spec.json +++ b/src/system/platform/core/component/canvas/CanvasArc/spec.json @@ -79,33 +79,22 @@ } }, "component": { - "slots": [ - [ - "canvas", - "default" - ] - ], + "slots": [["canvas", "default"]], "subComponents": { "canvas": { "children": [] } }, - "children": [ - "canvas" - ], + "children": ["canvas"], "defaultWidth": 200, "defaultHeight": 200 }, "metadata": { "complexity": 64, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "id": "01562c38-9973-43f4-982b-1dbdbea49c5b", "type": "`U`&`G`", "render": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/canvas/CanvasFillCircle/spec.json b/src/system/platform/core/component/canvas/CanvasFillCircle/spec.json index f56fbaa1cc..41dffdd1c4 100644 --- a/src/system/platform/core/component/canvas/CanvasFillCircle/spec.json +++ b/src/system/platform/core/component/canvas/CanvasFillCircle/spec.json @@ -45,11 +45,7 @@ "icon": "edit-3", "description": "a circle on canvas", "complexity": 75, - "tags": [ - "platform", - "core", - "canvas" - ] + "tags": ["platform", "core", "canvas"] }, "inputs": { "circle": { @@ -61,9 +57,7 @@ }, "type": "{x:number,y:number,r:number}", "metadata": { - "examples": [ - "{x:100,y:100,r:50}" - ] + "examples": ["{x:100,y:100,r:50}"] } }, "style": { @@ -90,12 +84,7 @@ }, "id": "3e555954-4748-48bf-a767-8943ff5a7e95", "component": { - "slots": [ - [ - "canvas", - "default" - ] - ], + "slots": [["canvas", "default"]], "defaultWidth": 200, "defaultHeight": 200, "subComponents": { @@ -103,11 +92,9 @@ "children": [] } }, - "children": [ - "canvas" - ] + "children": ["canvas"] }, "type": "`U`&`G`", "render": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/canvas/CanvasLine/spec.json b/src/system/platform/core/component/canvas/CanvasLine/spec.json index 094c4ea3e9..67d9d05d91 100644 --- a/src/system/platform/core/component/canvas/CanvasLine/spec.json +++ b/src/system/platform/core/component/canvas/CanvasLine/spec.json @@ -137,9 +137,7 @@ "children": [] } }, - "children": [ - "canvas" - ], + "children": ["canvas"], "defaultWidth": 200, "defaultHeight": 200 }, @@ -147,11 +145,7 @@ "icon": "edit-3", "description": "a line on canvas", "complexity": 78, - "tags": [ - "platform", - "core", - "canvas" - ], + "tags": ["platform", "core", "canvas"], "position": { "merge": { "0": { @@ -169,4 +163,4 @@ "type": "`U`&`G`", "render": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/svg/SVGPath/spec.json b/src/system/platform/core/component/svg/SVGPath/spec.json index 5e8a3161fa..d412dcf136 100644 --- a/src/system/platform/core/component/svg/SVGPath/spec.json +++ b/src/system/platform/core/component/svg/SVGPath/spec.json @@ -85,18 +85,14 @@ "childSlot": {} }, "svg": { - "children": [ - "path" - ], + "children": ["path"], "childSlot": {} } }, - "children": [ - "svg" - ], + "children": ["svg"], "defaultWidth": 200, "defaultHeight": 200 }, "id": "79c37c2e-4a2b-445f-af75-5599cc6bf31c", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/component/svg/SVGText/spec.json b/src/system/platform/core/component/svg/SVGText/spec.json index 68af24dedf..fd168fe456 100644 --- a/src/system/platform/core/component/svg/SVGText/spec.json +++ b/src/system/platform/core/component/svg/SVGText/spec.json @@ -111,9 +111,7 @@ "component": { "subComponents": { "svg": { - "children": [ - "text" - ], + "children": ["text"], "childSlot": {} }, "text": { @@ -121,11 +119,9 @@ "childSlot": {} } }, - "children": [ - "svg" - ], + "children": ["svg"], "defaultWidth": 200, "defaultHeight": 200 }, "id": "e08596c5-fdb2-464f-802b-f52217295c04" -} \ No newline at end of file +} diff --git a/src/system/platform/core/control/Swallow/spec.json b/src/system/platform/core/control/Swallow/spec.json index b214fc8e98..82f9a0f7fe 100644 --- a/src/system/platform/core/control/Swallow/spec.json +++ b/src/system/platform/core/control/Swallow/spec.json @@ -41,4 +41,4 @@ }, "type": "`U`&`G`", "id": "ecb16ee2-d81f-4f3f-a241-b007087f5055" -} \ No newline at end of file +} diff --git a/src/system/platform/core/download/DownloadGraph/spec.json b/src/system/platform/core/download/DownloadGraph/spec.json index 35823fb11a..b627cb8b11 100644 --- a/src/system/platform/core/download/DownloadGraph/spec.json +++ b/src/system/platform/core/download/DownloadGraph/spec.json @@ -109,4 +109,4 @@ }, "id": "dcd6a544-e386-4e1c-9282-043da9585957", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/graph/AddRandomUnit/spec.json b/src/system/platform/core/graph/AddRandomUnit/spec.json index b49baee481..d48953d9ea 100644 --- a/src/system/platform/core/graph/AddRandomUnit/spec.json +++ b/src/system/platform/core/graph/AddRandomUnit/spec.json @@ -181,14 +181,10 @@ "metadata": { "icon": null, "description": "add random unit to `graph`", - "tags": [ - "platform", - "core", - "graph" - ], + "tags": ["platform", "core", "graph"], "complexity": 65 }, "id": "ca6c1e54-b482-4fa1-aba9-04568fb59958", "type": "`U`&`G`", "component": {} -} \ No newline at end of file +} diff --git a/src/system/platform/core/graph/GraphDiv/spec.json b/src/system/platform/core/graph/GraphDiv/spec.json index d462bfb875..9746e83a22 100644 --- a/src/system/platform/core/graph/GraphDiv/spec.json +++ b/src/system/platform/core/graph/GraphDiv/spec.json @@ -11,7 +11,15 @@ }, "ref": true, "type": "`U`&`G`", - "defaultIgnored": true + "defaultIgnored": true, + "metadata": { + "position": { + "0": { + "x": 235, + "y": 21 + } + } + } } }, "units": { @@ -20,22 +28,87 @@ "input": { "style": { "constant": true, - "data": "{borderRight:'1px solid currentColor'}" + "data": "{\"borderRight\":\"1px solid currentColor\"}", + "metadata": { + "position": { + "x": -210, + "y": -53 + } + } }, "graph": { - "ignored": false + "ignored": false, + "metadata": { + "position": { + "x": 208, + "y": -27 + } + } + }, + "disabled": { + "ignored": true, + "metadata": { + "position": { + "x": -210, + "y": -139 + } + } }, - "disabled": {}, "fullwindow": { - "ignored": true + "ignored": true, + "metadata": { + "position": { + "x": -210, + "y": -90 + } + } }, - "frame": {} + "frame": { + "ignored": false + }, + "attr": { + "ignored": true, + "metadata": { + "position": { + "x": -209, + "y": 28 + } + } + }, + "zoom": { + "ignored": true, + "metadata": { + "position": { + "x": -210, + "y": -113 + } + } + }, + "controls": { + "ignored": true, + "metadata": { + "position": { + "x": -210, + "y": -70 + } + } + } + }, + "output": { + "graph": { + "ignored": false, + "metadata": { + "position": { + "x": 221, + "y": 11 + } + } + } }, - "output": {}, "metadata": { "position": { - "x": 7, - "y": 127 + "x": 171, + "y": 189 }, "component": { "width": 360.1918640136719, @@ -46,13 +119,31 @@ "div": { "id": "66698a97-15c5-4602-9925-11a1aeb03710", "input": { - "style": {} + "style": { + "constant": true, + "data": "{\"width\":\"100%\"}", + "metadata": { + "position": { + "x": -503, + "y": -12 + } + } + }, + "attr": { + "ignored": true, + "metadata": { + "position": { + "x": -503, + "y": -41 + } + } + } }, "output": {}, "metadata": { "position": { - "x": -342, - "y": 67 + "x": -228, + "y": 149 }, "component": { "width": 246.2730712890625, @@ -63,13 +154,20 @@ "row": { "id": "ad5a2fcc-fdee-11ea-a34f-77e9c48dbe57", "input": { - "style": {} + "style": { + "metadata": { + "position": { + "x": -385, + "y": -406 + } + } + } }, "output": {}, "metadata": { "position": { - "x": 334, - "y": -196 + "x": 21, + "y": -298 }, "component": { "width": 376.8758239746094, @@ -95,26 +193,14 @@ "metadata": { "icon": "atom-alt", "complexity": 204, - "tags": [ - "platform", - "core", - "editor" - ] + "tags": ["platform", "core", "graph"] }, "component": { "slots": [ - [ - "editor", - "default" - ], - [ - "div", - "default" - ] - ], - "children": [ - "row" + ["editor", "default"], + ["div", "default"] ], + "children": ["row"], "subComponents": { "editor": { "children": [] @@ -123,10 +209,7 @@ "children": [] }, "row": { - "children": [ - "editor", - "div" - ] + "children": ["editor", "div"] } }, "defaultWidth": 420, @@ -136,4 +219,4 @@ "type": "`U`&`G`", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/graph/GraphGraph/spec.json b/src/system/platform/core/graph/GraphGraph/spec.json index 8ada9c960b..62e4245028 100644 --- a/src/system/platform/core/graph/GraphGraph/spec.json +++ b/src/system/platform/core/graph/GraphGraph/spec.json @@ -258,14 +258,8 @@ }, "component": { "slots": [ - [ - "graph", - "default" - ], - [ - "graph0", - "default" - ] + ["graph", "default"], + ["graph0", "default"] ], "subComponents": { "graph": { @@ -278,27 +272,17 @@ "children": [] }, "row": { - "children": [ - "graph0", - "div", - "graph" - ] + "children": ["graph0", "div", "graph"] } }, - "children": [ - "row" - ], + "children": ["row"], "defaultWidth": 420, "defaultHeight": 420 }, "metadata": { "icon": "atom-alt", "complexity": 224, - "tags": [ - "platform", - "core", - "graph" - ], + "tags": ["platform", "core", "graph"], "position": { "merge": { "0": { @@ -311,4 +295,4 @@ "id": "fc9cd968-7e0d-4540-9f0e-d16afeb0d3b3", "system": true, "render": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/graph/GraphSpecToClipboard/spec.json b/src/system/platform/core/graph/GraphSpecToClipboard/spec.json index c72bff01fa..e44ef65246 100644 --- a/src/system/platform/core/graph/GraphSpecToClipboard/spec.json +++ b/src/system/platform/core/graph/GraphSpecToClipboard/spec.json @@ -103,12 +103,8 @@ "icon": "brackets-curly", "description": "send this graph spec to clipboard", "complexity": 11, - "tags": [ - "platform", - "core", - "graph" - ] + "tags": ["platform", "core", "graph"] }, "type": "`U`&`G`", "id": "f752dcd6-ac2c-11eb-9a69-3fada4450230" -} \ No newline at end of file +} diff --git a/src/system/platform/core/health/BMI/spec.json b/src/system/platform/core/health/BMI/spec.json index b1f74739c9..58158e4dbd 100644 --- a/src/system/platform/core/health/BMI/spec.json +++ b/src/system/platform/core/health/BMI/spec.json @@ -33,11 +33,7 @@ "description": "weight / height ^ 2", "link": "https://en.wikipedia.org/wiki/Body_mass_index", "complexity": 8, - "tags": [ - "platform", - "core", - "health" - ] + "tags": ["platform", "core", "health"] }, "inputs": { "h": { @@ -73,4 +69,4 @@ "id": "ba2363a8-c9b5-4596-b270-9db25ab8463b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/http/FetchGraph/spec.json b/src/system/platform/core/http/FetchGraph/spec.json index 0c9a4be0ef..4e8a62f637 100644 --- a/src/system/platform/core/http/FetchGraph/spec.json +++ b/src/system/platform/core/http/FetchGraph/spec.json @@ -111,4 +111,4 @@ "complexity": 39 }, "id": "6f1388c8-9ad3-44b4-9669-d1386d8a9fc4" -} \ No newline at end of file +} diff --git a/src/system/platform/core/math/geometry/trigonometry/DegToRad/spec.json b/src/system/platform/core/math/geometry/trigonometry/DegToRad/spec.json index 728914e6e2..ca80ae87a8 100644 --- a/src/system/platform/core/math/geometry/trigonometry/DegToRad/spec.json +++ b/src/system/platform/core/math/geometry/trigonometry/DegToRad/spec.json @@ -74,12 +74,7 @@ "icon": "ruler", "description": "convert deg to rad", "complexity": 14, - "tags": [ - "platform", - "core", - "geometry", - "trigonometry" - ] + "tags": ["platform", "core", "geometry", "trigonometry"] }, "inputs": { "angle": { @@ -106,4 +101,4 @@ "id": "3a138358-cc25-45e3-a0ce-bbe54445736f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json b/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json index 435a57206a..f060d67034 100644 --- a/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json +++ b/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json @@ -128,4 +128,4 @@ }, "system": true, "id": "38321611-6cb6-4840-8dff-34fc69347aff" -} \ No newline at end of file +} diff --git a/src/system/platform/core/math/geometry/trigonometry/PointInCircle/spec.json b/src/system/platform/core/math/geometry/trigonometry/PointInCircle/spec.json index 36ec1d75c6..06278707d9 100644 --- a/src/system/platform/core/math/geometry/trigonometry/PointInCircle/spec.json +++ b/src/system/platform/core/math/geometry/trigonometry/PointInCircle/spec.json @@ -145,12 +145,7 @@ "icon": null, "description": "get point in circle at angle `rad`", "complexity": 33, - "tags": [ - "platform", - "core", - "geometry", - "trigonometry" - ] + "tags": ["platform", "core", "geometry", "trigonometry"] }, "inputs": { "rad": { @@ -204,4 +199,4 @@ "id": "af451707-9400-429f-bb3a-2670d4ce8821", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/math/power/Pow2/spec.json b/src/system/platform/core/math/power/Pow2/spec.json index 0fd622d812..6c6fc2cc7b 100644 --- a/src/system/platform/core/math/power/Pow2/spec.json +++ b/src/system/platform/core/math/power/Pow2/spec.json @@ -46,4 +46,4 @@ }, "system": true, "id": "8e017373-3a2b-4985-b60c-f6f0a94db200" -} \ No newline at end of file +} diff --git a/src/system/platform/core/media/DefaultAudioMedia/spec.json b/src/system/platform/core/media/DefaultAudioMedia/spec.json index c5db40c8f1..44f7e34826 100644 --- a/src/system/platform/core/media/DefaultAudioMedia/spec.json +++ b/src/system/platform/core/media/DefaultAudioMedia/spec.json @@ -30,13 +30,9 @@ "icon": "mic", "description": "get default device audio stream", "complexity": 14, - "tags": [ - "platform", - "core", - "media" - ] + "tags": ["platform", "core", "media"] }, "id": "1b164d72-2c14-4ec2-a1c8-253679a2bf13", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/media/DefaultVideoMedia/spec.json b/src/system/platform/core/media/DefaultVideoMedia/spec.json index eda0d650df..eab13af0a1 100644 --- a/src/system/platform/core/media/DefaultVideoMedia/spec.json +++ b/src/system/platform/core/media/DefaultVideoMedia/spec.json @@ -73,13 +73,9 @@ "icon": "video", "description": "get device default video stream", "complexity": 17, - "tags": [ - "platform", - "core", - "media" - ] + "tags": ["platform", "core", "media"] }, "id": "c03c7ef3-0649-4a99-9e9a-858bcaba1307", "system": true, "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/FetchBody/spec.json b/src/system/platform/core/rest/FetchBody/spec.json index 69eb3e5cbe..d0ac02becd 100644 --- a/src/system/platform/core/rest/FetchBody/spec.json +++ b/src/system/platform/core/rest/FetchBody/spec.json @@ -32,11 +32,7 @@ "icon": "send", "description": "fetch + get body", "complexity": 8, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "url": { @@ -72,4 +68,4 @@ "id": "7ba3db14-6f80-434b-b9dc-bd38462b20fc", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/FetchJSONBody/spec.json b/src/system/platform/core/rest/FetchJSONBody/spec.json index 64abf266e9..8946d55ccb 100644 --- a/src/system/platform/core/rest/FetchJSONBody/spec.json +++ b/src/system/platform/core/rest/FetchJSONBody/spec.json @@ -88,11 +88,7 @@ "icon": "send", "description": "fetch JSON", "complexity": 16, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "url": { @@ -128,4 +124,4 @@ "id": "00a8a078-91bf-4676-aa32-c9cfacdfd527", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/GetBody/spec.json b/src/system/platform/core/rest/GetBody/spec.json index e4e524a06c..4a72150059 100644 --- a/src/system/platform/core/rest/GetBody/spec.json +++ b/src/system/platform/core/rest/GetBody/spec.json @@ -16,11 +16,7 @@ "icon": "send", "description": "get body property", "complexity": 5, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "{body}": { @@ -47,4 +43,4 @@ "id": "6a529c4d-07af-4778-8086-8a578694ec3f", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/HTTPBasicAuth/spec.json b/src/system/platform/core/rest/HTTPBasicAuth/spec.json index 2553332c34..57eee24d27 100644 --- a/src/system/platform/core/rest/HTTPBasicAuth/spec.json +++ b/src/system/platform/core/rest/HTTPBasicAuth/spec.json @@ -68,11 +68,7 @@ "icon": "send", "description": "build HTTP basic auth header value", "complexity": 10, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "username": { @@ -108,4 +104,4 @@ "id": "081b1edf-f66c-4e0a-9aaf-c20b4088d1ec", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/HTTPTokenAuth/spec.json b/src/system/platform/core/rest/HTTPTokenAuth/spec.json index cde8475394..0cb07df6d7 100644 --- a/src/system/platform/core/rest/HTTPTokenAuth/spec.json +++ b/src/system/platform/core/rest/HTTPTokenAuth/spec.json @@ -16,11 +16,7 @@ "icon": "send", "description": "build HTTP token auth value", "complexity": 5, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "token": { @@ -47,4 +43,4 @@ "id": "522a9858-02c2-487a-ac04-27d2f5ebe7c3", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/HTTPTokenAuthOpt/spec.json b/src/system/platform/core/rest/HTTPTokenAuthOpt/spec.json index e9a7a17a20..e372386475 100644 --- a/src/system/platform/core/rest/HTTPTokenAuthOpt/spec.json +++ b/src/system/platform/core/rest/HTTPTokenAuthOpt/spec.json @@ -53,11 +53,7 @@ "icon": "send", "description": "build HTTP token auth header options", "complexity": 13, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "token": { @@ -84,4 +80,4 @@ "id": "ba70dd41-d533-4f8f-b476-c76274141468", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/POSTJSON/spec.json b/src/system/platform/core/rest/POSTJSON/spec.json index d2c84e19c5..3bab4791d0 100644 --- a/src/system/platform/core/rest/POSTJSON/spec.json +++ b/src/system/platform/core/rest/POSTJSON/spec.json @@ -153,13 +153,9 @@ "icon": "send", "description": "POST JSON body", "complexity": 14, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "id": "6fcb6d82-4d64-438e-8a30-82f8b89c524b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/POSTUrlEncoded/spec.json b/src/system/platform/core/rest/POSTUrlEncoded/spec.json index 15b1e85fa6..e87136587c 100644 --- a/src/system/platform/core/rest/POSTUrlEncoded/spec.json +++ b/src/system/platform/core/rest/POSTUrlEncoded/spec.json @@ -228,11 +228,7 @@ "icon": "send", "description": "POST url-encoded body", "complexity": 14, - "tags": [ - "platform", - "core", - "rest" - ], + "tags": ["platform", "core", "rest"], "position": { "merge": { "0": { @@ -253,4 +249,4 @@ "id": "b9a7ef07-db1c-4a4a-814d-4e4113bbbbf7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/PUTJSON/spec.json b/src/system/platform/core/rest/PUTJSON/spec.json index 505bb15ae9..616c5bb9f7 100644 --- a/src/system/platform/core/rest/PUTJSON/spec.json +++ b/src/system/platform/core/rest/PUTJSON/spec.json @@ -117,13 +117,9 @@ "icon": "send", "description": "PUT JSON body", "complexity": 14, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "id": "3698d7af-8d4c-40f6-bcfa-222d9efb0940", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/ParseJSONBody/spec.json b/src/system/platform/core/rest/ParseJSONBody/spec.json index d7a0208455..17a7064d99 100644 --- a/src/system/platform/core/rest/ParseJSONBody/spec.json +++ b/src/system/platform/core/rest/ParseJSONBody/spec.json @@ -32,11 +32,7 @@ "icon": "arrow-right", "description": "parse response `res` body into JSON", "complexity": 8, - "tags": [ - "platform", - "core", - "rest" - ] + "tags": ["platform", "core", "rest"] }, "inputs": { "res": { @@ -63,4 +59,4 @@ "id": "63ede222-07af-4b27-98bc-d8bc7cc5b14c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/Post/spec.json b/src/system/platform/core/rest/Post/spec.json index 158afa4afe..6193a847aa 100644 --- a/src/system/platform/core/rest/Post/spec.json +++ b/src/system/platform/core/rest/Post/spec.json @@ -94,4 +94,4 @@ "complexity": 8 }, "id": "c4ff2bad-0d60-4d17-9471-c906075d2751" -} \ No newline at end of file +} diff --git a/src/system/platform/core/rest/PostJSONBody/spec.json b/src/system/platform/core/rest/PostJSONBody/spec.json index 6a9ea55104..ef7ad5e52c 100644 --- a/src/system/platform/core/rest/PostJSONBody/spec.json +++ b/src/system/platform/core/rest/PostJSONBody/spec.json @@ -98,4 +98,4 @@ "id": "1a89a9c0-0dfe-419b-96e7-8aae6bae1859", "system": true, "type": "`U`&`G`" -} \ No newline at end of file +} diff --git a/src/system/platform/core/speech/SpeechToSpeech/spec.json b/src/system/platform/core/speech/SpeechToSpeech/spec.json index 23e9d55bd8..8c0df06a73 100644 --- a/src/system/platform/core/speech/SpeechToSpeech/spec.json +++ b/src/system/platform/core/speech/SpeechToSpeech/spec.json @@ -40,13 +40,9 @@ "icon": "message-circle", "description": "say what I say", "complexity": 9, - "tags": [ - "platform", - "core", - "speech" - ] + "tags": ["platform", "core", "speech"] }, "id": "b7028cdd-41c2-42ab-99d9-7122d372aee2", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/string/RemoveNewLine/spec.json b/src/system/platform/core/string/RemoveNewLine/spec.json index 9d452ee4b5..f07f7bae31 100644 --- a/src/system/platform/core/string/RemoveNewLine/spec.json +++ b/src/system/platform/core/string/RemoveNewLine/spec.json @@ -59,4 +59,4 @@ "complexity": 5 }, "id": "1a0773eb-559c-47e2-81d7-fc28bc80076d" -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/SetBackgroundColor/spec.json b/src/system/platform/core/style/SetBackgroundColor/spec.json index 7bef60892e..eb1b9ad52e 100644 --- a/src/system/platform/core/style/SetBackgroundColor/spec.json +++ b/src/system/platform/core/style/SetBackgroundColor/spec.json @@ -52,13 +52,9 @@ "icon": "brackets-curly", "description": "set `obj` background-color property to `value`", "complexity": 5, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "id": "0ca54c4f-148e-49e5-bedf-d24276200f66", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/SetTopLeftPx/spec.json b/src/system/platform/core/style/SetTopLeftPx/spec.json index a7d25f4de0..fcc991e42b 100644 --- a/src/system/platform/core/style/SetTopLeftPx/spec.json +++ b/src/system/platform/core/style/SetTopLeftPx/spec.json @@ -185,4 +185,4 @@ }, "id": "cc5e3d8d-1de5-4c12-9054-4c27b1a49d55", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/StyleCenter/spec.json b/src/system/platform/core/style/StyleCenter/spec.json index ed536fb67c..a7188611cc 100644 --- a/src/system/platform/core/style/StyleCenter/spec.json +++ b/src/system/platform/core/style/StyleCenter/spec.json @@ -31,13 +31,9 @@ "icon": "repeat-1", "description": "style to centralize element on container", "complexity": 5, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "id": "de473a6a-a0f3-11ea-bc93-ff2e35342869", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagBackgroundColor/spec.json b/src/system/platform/core/style/TagBackgroundColor/spec.json index 39ed4d9105..056a55741b 100644 --- a/src/system/platform/core/style/TagBackgroundColor/spec.json +++ b/src/system/platform/core/style/TagBackgroundColor/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{\"background-color\": `color`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "color": { @@ -47,4 +43,4 @@ "id": "26dc94ea-347b-4dbb-a7d7-1dab60da8352", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagColor/spec.json b/src/system/platform/core/style/TagColor/spec.json index c784c2df4b..6b7cc26585 100644 --- a/src/system/platform/core/style/TagColor/spec.json +++ b/src/system/platform/core/style/TagColor/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{color: `color`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "color": { @@ -47,4 +43,4 @@ "id": "dfba14dd-bd14-4fd2-bbfa-c910eadd9f7d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagFilter/spec.json b/src/system/platform/core/style/TagFilter/spec.json index ec8fefa7ec..347bd99f41 100644 --- a/src/system/platform/core/style/TagFilter/spec.json +++ b/src/system/platform/core/style/TagFilter/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{filter: `filter`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "filter": { @@ -47,4 +43,4 @@ "id": "cb1f45ee-2137-11eb-9b9d-e7e8fc730ec7", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagFontSize/spec.json b/src/system/platform/core/style/TagFontSize/spec.json index 3bdeb0390b..27ee6f3f83 100644 --- a/src/system/platform/core/style/TagFontSize/spec.json +++ b/src/system/platform/core/style/TagFontSize/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{fontSize: `fontSize`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "fontSize": { @@ -47,4 +43,4 @@ "id": "119335e8-9a6f-11eb-bd5e-a7c983e2d4cd", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagFrom/spec.json b/src/system/platform/core/style/TagFrom/spec.json index f59179a9a8..89c17facd2 100644 --- a/src/system/platform/core/style/TagFrom/spec.json +++ b/src/system/platform/core/style/TagFrom/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{from: `from`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "from": { @@ -47,4 +43,4 @@ "id": "2a6c9339-d20f-431b-8db1-f6f4f5a0af74", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagLeft/spec.json b/src/system/platform/core/style/TagLeft/spec.json index 72ad901149..99e5f882d5 100644 --- a/src/system/platform/core/style/TagLeft/spec.json +++ b/src/system/platform/core/style/TagLeft/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{left: `left`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "left": { @@ -47,4 +43,4 @@ "id": "3cbca5b0-2616-11eb-a3d8-7b83ecaf1822", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagOpacity/spec.json b/src/system/platform/core/style/TagOpacity/spec.json index b6fd00a462..03138e8625 100644 --- a/src/system/platform/core/style/TagOpacity/spec.json +++ b/src/system/platform/core/style/TagOpacity/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{opacity: `opacity`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "opacity": { @@ -47,4 +43,4 @@ "id": "2afbbe21-d399-482a-b53d-50820ee510be", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagTo/spec.json b/src/system/platform/core/style/TagTo/spec.json index fc373a5943..16cb711a2f 100644 --- a/src/system/platform/core/style/TagTo/spec.json +++ b/src/system/platform/core/style/TagTo/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{to: `to`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "to": { @@ -47,4 +43,4 @@ "id": "91f0b6b7-4242-42c5-9ba1-e1833c13f17c", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/TagTop/spec.json b/src/system/platform/core/style/TagTop/spec.json index bf71c31682..2473fc37f1 100644 --- a/src/system/platform/core/style/TagTop/spec.json +++ b/src/system/platform/core/style/TagTop/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{top: `top`}", "complexity": 7, - "tags": [ - "platform", - "core", - "style" - ] + "tags": ["platform", "core", "style"] }, "inputs": { "top": { @@ -47,4 +43,4 @@ "id": "13f661c0-2616-11eb-af30-2f9ba81c8b3b", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/style/percent/spec.json b/src/system/platform/core/style/percent/spec.json index c27580d2bf..81caa6f03a 100644 --- a/src/system/platform/core/style/percent/spec.json +++ b/src/system/platform/core/style/percent/spec.json @@ -51,4 +51,4 @@ "complexity": 5 }, "id": "72a186fe-a18b-44ca-b36b-c014ee44003a" -} \ No newline at end of file +} diff --git a/src/system/platform/core/tag/TagEmail/spec.json b/src/system/platform/core/tag/TagEmail/spec.json index 558f85065a..b726a93c62 100644 --- a/src/system/platform/core/tag/TagEmail/spec.json +++ b/src/system/platform/core/tag/TagEmail/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{email: `email`}", "complexity": 7, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "inputs": { "email": { @@ -47,4 +43,4 @@ "id": "6e9e4202-26af-11eb-8d6e-eb6fbc70a0a9", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/tag/TagPassword/spec.json b/src/system/platform/core/tag/TagPassword/spec.json index 50c7a9fb66..69ba8aa0f7 100644 --- a/src/system/platform/core/tag/TagPassword/spec.json +++ b/src/system/platform/core/tag/TagPassword/spec.json @@ -16,11 +16,7 @@ "icon": "tag", "description": "{password: `password`}", "complexity": 7, - "tags": [ - "platform", - "core", - "component" - ] + "tags": ["platform", "core", "component"] }, "inputs": { "password": { @@ -47,4 +43,4 @@ "id": "8b231876-26af-11eb-8e1d-6f057957054d", "type": "`U`&`G`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/core/unit/ReadInput/spec.json b/src/system/platform/core/unit/ReadInput/spec.json index 8277ae5920..1448559be6 100644 --- a/src/system/platform/core/unit/ReadInput/spec.json +++ b/src/system/platform/core/unit/ReadInput/spec.json @@ -90,11 +90,7 @@ "icon": "object-set", "description": "read `unit` input `name`", "complexity": 8, - "tags": [ - "platform", - "core", - "unit" - ] + "tags": ["platform", "core", "unit"] }, "id": "850a3303-cdf7-4232-996f-760743e4f068" -} \ No newline at end of file +} diff --git a/src/system/platform/core/unit/WriteInput/spec.json b/src/system/platform/core/unit/WriteInput/spec.json index d0dc16cf67..649572e2f1 100644 --- a/src/system/platform/core/unit/WriteInput/spec.json +++ b/src/system/platform/core/unit/WriteInput/spec.json @@ -96,11 +96,7 @@ "icon": "object-set", "description": "write `data` to `unit` input `name`", "complexity": 8, - "tags": [ - "platform", - "core", - "unit" - ] + "tags": ["platform", "core", "unit"] }, "id": "04953fed-157a-479d-91ac-005174b9b85e" -} \ No newline at end of file +} diff --git a/src/system/platform/extension/history/DeleteVisit/spec.json b/src/system/platform/extension/history/DeleteVisit/spec.json index 8bc7e7ce01..47d80ccdf5 100644 --- a/src/system/platform/extension/history/DeleteVisit/spec.json +++ b/src/system/platform/extension/history/DeleteVisit/spec.json @@ -10,14 +10,10 @@ "icon": "history", "metadata": "remove all occurrences of the given URL from the history", "complexity": 3, - "tags": [ - "platform", - "extension", - "history" - ] + "tags": ["platform", "extension", "history"] }, "id": "002af312-560a-11eb-807c-8769b90eb8e6", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/extension/history/GetVisits/spec.json b/src/system/platform/extension/history/GetVisits/spec.json index d67be61129..2a8ff1ca06 100644 --- a/src/system/platform/extension/history/GetVisits/spec.json +++ b/src/system/platform/extension/history/GetVisits/spec.json @@ -14,14 +14,10 @@ "icon": "history", "metadata": "retrieve information about visits to a URL", "complexity": 3, - "tags": [ - "platform", - "extension", - "history" - ] + "tags": ["platform", "extension", "history"] }, "id": "f1ed986a-55df-11eb-89e3-9f7cc8490b16", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/extension/history/SearchVisits/spec.json b/src/system/platform/extension/history/SearchVisits/spec.json index 12deaaf390..311fe2b234 100644 --- a/src/system/platform/extension/history/SearchVisits/spec.json +++ b/src/system/platform/extension/history/SearchVisits/spec.json @@ -4,9 +4,7 @@ "query": { "type": "{endTime?:number,maxResults?:number,startTime?:number,text?:string}", "metadata": { - "examples": [ - "{startTime:0,text:\"unit\"}" - ] + "examples": ["{startTime:0,text:\"unit\"}"] } } }, @@ -19,14 +17,10 @@ "icon": "history", "metadata": "retrieve information about visits to a URL", "complexity": 3, - "tags": [ - "platform", - "extension", - "history" - ] + "tags": ["platform", "extension", "history"] }, "id": "ef550ed4-5608-11eb-8ee3-0be8f1fce185", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/extension/tabs/Get/spec.json b/src/system/platform/extension/tabs/Get/spec.json index 1684004fb3..4cc749a775 100644 --- a/src/system/platform/extension/tabs/Get/spec.json +++ b/src/system/platform/extension/tabs/Get/spec.json @@ -15,14 +15,10 @@ "icon": "server", "description": "get tab with `id`", "complexity": 3, - "tags": [ - "platform", - "extension", - "tabs" - ] + "tags": ["platform", "extension", "tabs"] }, "id": "159aa41d-fb45-4f75-836b-09a3639156e5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/extension/tabs/Query/spec.json b/src/system/platform/extension/tabs/Query/spec.json index 111837fe21..c8402ad6a3 100644 --- a/src/system/platform/extension/tabs/Query/spec.json +++ b/src/system/platform/extension/tabs/Query/spec.json @@ -4,9 +4,7 @@ "opt": { "type": "{active?:boolean,audible?:boolean,autoDiscardable?:boolean,currentWindow?:boolean,discarded?:boolean,groupId?:number,highlighted?:boolean,index?:number,lastFocusedWindow?:boolean,muted?:boolean,pinned?:boolean,status?:\"unloaded\"|\"loading\"|\"complete\",title?:string,url?:string|string[],windowId?:number,windowType?:\"normal\"|\"popup\"|\"panel\"|\"app\"|\"devtools\"}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -19,14 +17,10 @@ "icon": "server", "description": "gets all tabs that have the specified properties", "complexity": 3, - "tags": [ - "platform", - "extension", - "tabs" - ] + "tags": ["platform", "extension", "tabs"] }, "id": "04b06e1c-b782-40fc-bbb3-e932b56db8a2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/meta/component/Child/spec.json b/src/system/platform/meta/component/Child/spec.json index 0b9eb8f56f..dbbcb1e283 100644 --- a/src/system/platform/meta/component/Child/spec.json +++ b/src/system/platform/meta/component/Child/spec.json @@ -23,13 +23,10 @@ "icon": "circle", "description": "reference a child element inside `element`", "complexity": 3, - "tags": [ - "platform", - "meta" - ] + "tags": ["platform", "meta"] }, "id": "59afce80-30e7-4322-84e6-955767bb5106", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/meta/component/Children/spec.json b/src/system/platform/meta/component/Children/spec.json index 79a59a5460..07b1188894 100644 --- a/src/system/platform/meta/component/Children/spec.json +++ b/src/system/platform/meta/component/Children/spec.json @@ -16,14 +16,10 @@ "icon": "circle", "description": "reference `parent`'s `children` array", "complexity": 3, - "tags": [ - "platform", - "meta", - "component" - ] + "tags": ["platform", "meta", "component"] }, "id": "d4945010-686d-431b-a884-1a4db0bfafc4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/meta/component/ParentChild/spec.json b/src/system/platform/meta/component/ParentChild/spec.json index c2f9645d9b..25491f0422 100644 --- a/src/system/platform/meta/component/ParentChild/spec.json +++ b/src/system/platform/meta/component/ParentChild/spec.json @@ -23,13 +23,10 @@ "icon": "circle", "description": "reference a child element inside `element`", "complexity": 3, - "tags": [ - "platform", - "meta" - ] + "tags": ["platform", "meta"] }, "id": "355b5332-0cc9-4a5c-989e-043d717215ec", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/array/Append/spec.json b/src/system/platform/method/array/Append/spec.json index 1c6ae1437e..a9d8708f6b 100644 --- a/src/system/platform/method/array/Append/spec.json +++ b/src/system/platform/method/array/Append/spec.json @@ -14,14 +14,10 @@ "icon": "chevrons-left", "description": "append an element to an array", "complexity": 3, - "tags": [ - "platform", - "method", - "array" - ] + "tags": ["platform", "method", "array"] }, "id": "cf4db91a-f8b2-454f-a763-12005d71cb9d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/array/At0/spec.json b/src/system/platform/method/array/At0/spec.json index 748916489d..68841d4efd 100644 --- a/src/system/platform/method/array/At0/spec.json +++ b/src/system/platform/method/array/At0/spec.json @@ -18,14 +18,10 @@ "icon": "info-square", "description": "`a` element at position `i`", "complexity": 3, - "tags": [ - "platform", - "method", - "array" - ] + "tags": ["platform", "method", "array"] }, "id": "c320b1b2-c130-4d69-b172-0c737b72c6b5", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/array/IndexOf/spec.json b/src/system/platform/method/array/IndexOf/spec.json index 8e72ff6c73..bf558ebd0f 100644 --- a/src/system/platform/method/array/IndexOf/spec.json +++ b/src/system/platform/method/array/IndexOf/spec.json @@ -18,14 +18,10 @@ "icon": "info-square", "description": "find index `i` of the element `a` on array `a[]` or -1 if not found", "complexity": 3, - "tags": [ - "platform", - "method", - "array" - ] + "tags": ["platform", "method", "array"] }, "id": "26b06e21-798c-4bc4-96e1-12a4351c083d", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/array/Length0/spec.json b/src/system/platform/method/array/Length0/spec.json index 271247b38d..87235896b6 100644 --- a/src/system/platform/method/array/Length0/spec.json +++ b/src/system/platform/method/array/Length0/spec.json @@ -18,14 +18,10 @@ "icon": "info-square", "description": "get `a`'s length", "complexity": 3, - "tags": [ - "platform", - "method", - "array" - ] + "tags": ["platform", "method", "array"] }, "id": "ec482aaf-0029-4b85-b03a-de5bd361d706", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/array/Put0/spec.json b/src/system/platform/method/array/Put0/spec.json index e3e3aec13a..e5a2600b02 100644 --- a/src/system/platform/method/array/Put0/spec.json +++ b/src/system/platform/method/array/Put0/spec.json @@ -17,14 +17,10 @@ "icon": "info-square", "description": "set element of `a` at position `i` to `v`", "complexity": 3, - "tags": [ - "platform", - "method", - "array" - ] + "tags": ["platform", "method", "array"] }, "id": "04e8b64e-7fed-49a0-af48-eba025be3fbc", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/component/AttachText/spec.json b/src/system/platform/method/component/AttachText/spec.json index 5d81bc5b6d..52fb25b717 100644 --- a/src/system/platform/method/component/AttachText/spec.json +++ b/src/system/platform/method/component/AttachText/spec.json @@ -11,11 +11,7 @@ "type": { "type": "string", "metadata": { - "examples": [ - "text/plain", - "text/uri-list", - "text/html" - ] + "examples": ["text/plain", "text/uri-list", "text/html"] } }, "done": { @@ -28,14 +24,10 @@ "icon": "object-set", "description": "add drag and drop `text` data to this `component`", "complexity": 3, - "tags": [ - "platform", - "method", - "component" - ] + "tags": ["platform", "method", "component"] }, "id": "05b6f707-a009-40aa-aacb-a15888c2a8b3", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/component/Blur/spec.json b/src/system/platform/method/component/Blur/spec.json index 6454523294..b17bba8e23 100644 --- a/src/system/platform/method/component/Blur/spec.json +++ b/src/system/platform/method/component/Blur/spec.json @@ -14,14 +14,10 @@ "icon": "object-set", "description": "remove focus from `component`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "b51db03f-4d2d-44f9-bbd9-116aa0b086d0", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/component/DropTarget/spec.json b/src/system/platform/method/component/DropTarget/spec.json index 8907f80586..21290cd7c0 100644 --- a/src/system/platform/method/component/DropTarget/spec.json +++ b/src/system/platform/method/component/DropTarget/spec.json @@ -15,14 +15,10 @@ "icon": "object-set", "description": "make `component` a drag and drop target", "complexity": 3, - "tags": [ - "platform", - "method", - "component" - ] + "tags": ["platform", "method", "component"] }, "id": "05169310-5447-4cf8-a90f-fda957de4891", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/component/Focus/spec.json b/src/system/platform/method/component/Focus/spec.json index 705299546b..af2f6cc5ac 100644 --- a/src/system/platform/method/component/Focus/spec.json +++ b/src/system/platform/method/component/Focus/spec.json @@ -14,14 +14,10 @@ "icon": "object-set", "description": "focus on `component`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "12d1e7be-a5a6-45ba-82d7-cce3d03b96e2", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/component/StopPropagation/spec.json b/src/system/platform/method/component/StopPropagation/spec.json index bd1089d6c6..963b1805b5 100644 --- a/src/system/platform/method/component/StopPropagation/spec.json +++ b/src/system/platform/method/component/StopPropagation/spec.json @@ -17,14 +17,10 @@ "icon": "object-set", "description": "prevent `name` event from bubbling up", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "d0f94e4e-43f4-4c0a-b07e-ca40c82f48f4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/DeepSet/spec.json b/src/system/platform/method/object/DeepSet/spec.json index 6bd482f46b..5fa3669660 100644 --- a/src/system/platform/method/object/DeepSet/spec.json +++ b/src/system/platform/method/object/DeepSet/spec.json @@ -17,14 +17,10 @@ "icon": "object-set", "description": "set `obj` property at `path` to `value`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "64f8e8bc-124d-49f6-a143-625265eafe68", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Delete/spec.json b/src/system/platform/method/object/Delete/spec.json index 1f5b30cfd1..51ecec1f6d 100644 --- a/src/system/platform/method/object/Delete/spec.json +++ b/src/system/platform/method/object/Delete/spec.json @@ -14,14 +14,10 @@ "icon": "object-set", "description": "delete `obj` property `name`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "275af55d-9fcf-4b53-9087-d97455cbe528", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Get/spec.json b/src/system/platform/method/object/Get/spec.json index a5a00df81c..4634eed4c2 100644 --- a/src/system/platform/method/object/Get/spec.json +++ b/src/system/platform/method/object/Get/spec.json @@ -20,14 +20,10 @@ "icon": "object-get", "description": "get `obj` property `name`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "bc0320e2-2eb8-11eb-a38f-a779bfe81645", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/HasKey/spec.json b/src/system/platform/method/object/HasKey/spec.json index 875da13232..3eca465ba8 100644 --- a/src/system/platform/method/object/HasKey/spec.json +++ b/src/system/platform/method/object/HasKey/spec.json @@ -19,14 +19,10 @@ "icon": "object-get", "description": "check whether `obj` has `key`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "b409ff98-1c9e-4990-b2c2-d7f32fda50eb", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Keys/spec.json b/src/system/platform/method/object/Keys/spec.json index 71fcacd1ce..60950f13de 100644 --- a/src/system/platform/method/object/Keys/spec.json +++ b/src/system/platform/method/object/Keys/spec.json @@ -18,14 +18,10 @@ "icon": "object-set", "description": "get `obj` `keys`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "e4fb7815-95e1-4cbc-b2e2-750605e30258", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Set/spec.json b/src/system/platform/method/object/Set/spec.json index 81ea960613..ef8f24fa64 100644 --- a/src/system/platform/method/object/Set/spec.json +++ b/src/system/platform/method/object/Set/spec.json @@ -23,14 +23,10 @@ "icon": "object-set", "description": "set `unit` property `name` to `data`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "074ef6f4-a0a1-40f9-95c0-cf0ecc3d420c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Set0/spec.json b/src/system/platform/method/object/Set0/spec.json index ccc8973726..e6ab5b231c 100644 --- a/src/system/platform/method/object/Set0/spec.json +++ b/src/system/platform/method/object/Set0/spec.json @@ -26,14 +26,10 @@ "icon": "object-set", "description": "set `unit` property `name` to `data`", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "610b35bc-a709-4eed-a655-9ee0baa860f8", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/object/Subscribe/spec.json b/src/system/platform/method/object/Subscribe/spec.json index b0daacb853..5a09bed895 100644 --- a/src/system/platform/method/object/Subscribe/spec.json +++ b/src/system/platform/method/object/Subscribe/spec.json @@ -8,17 +8,13 @@ "path": { "type": "string[]", "metadata": { - "examples": [ - "[]" - ] + "examples": ["[]"] } }, "key": { "type": "string", "metadata": { - "examples": [ - "'*'" - ] + "examples": ["'*'"] } } }, @@ -40,14 +36,10 @@ "icon": "object-get", "description": "subscribe to changes to object `obj` at `path` and `key` (possibly *)", "complexity": 3, - "tags": [ - "platform", - "method", - "object" - ] + "tags": ["platform", "method", "object"] }, "id": "eaf5e67b-6c48-4a27-85e1-9d5a8aa72e24", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/Boot/spec.json b/src/system/platform/method/process/Boot/spec.json index fd4e92a7c9..d2f4bc8682 100644 --- a/src/system/platform/method/process/Boot/spec.json +++ b/src/system/platform/method/process/Boot/spec.json @@ -4,9 +4,7 @@ "init": { "type": "{path?:string}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -21,14 +19,10 @@ "icon": "server", "description": "asynchronously control a graph", "complexity": 21, - "tags": [ - "platform", - "method", - "process" - ] + "tags": ["platform", "method", "process"] }, "id": "bddaba6f-83c8-4d25-97e2-ef1cdecd19e4", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/FromBundle/spec.json b/src/system/platform/method/process/FromBundle/spec.json index 7f1143802d..9db52ec98c 100644 --- a/src/system/platform/method/process/FromBundle/spec.json +++ b/src/system/platform/method/process/FromBundle/spec.json @@ -4,9 +4,7 @@ "bundle": { "type": "{spec?:object,specs?:object}", "metadata": { - "examples": [ - "{spec:{},specs:{}}" - ] + "examples": ["{spec:{},specs:{}}"] } } }, @@ -20,14 +18,10 @@ "icon": "server", "description": "start a new graph", "complexity": 18, - "tags": [ - "platform", - "method", - "process" - ] + "tags": ["platform", "method", "process"] }, "id": "de2d42e2-4fca-4a3f-8783-3585c546e88b", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/New/spec.json b/src/system/platform/method/process/New/spec.json index 1d2a22289b..b1577f37a9 100644 --- a/src/system/platform/method/process/New/spec.json +++ b/src/system/platform/method/process/New/spec.json @@ -4,9 +4,7 @@ "graph": { "type": "`G`", "metadata": { - "examples": [ - "${unit:{id:'e33e7dcd-9715-461c-a474-15ed2bda899e'}}" - ] + "examples": ["${unit:{id:'e33e7dcd-9715-461c-a474-15ed2bda899e'}}"] } }, "done": { @@ -24,14 +22,10 @@ "icon": "server", "description": "start a new graph", "complexity": 18, - "tags": [ - "platform", - "method", - "process" - ] + "tags": ["platform", "method", "process"] }, "id": "324b9c5e-5810-11eb-bf7c-634b3bb07f8c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/Start/spec.json b/src/system/platform/method/process/Start/spec.json index d5d63cd855..6729f1bc23 100644 --- a/src/system/platform/method/process/Start/spec.json +++ b/src/system/platform/method/process/Start/spec.json @@ -11,11 +11,7 @@ "opt": { "type": "{paused?:boolean}", "metadata": { - "examples": [ - "{}", - "{paused:true}", - "{paused:false}" - ] + "examples": ["{}", "{paused:true}", "{paused:false}"] } }, "system": { @@ -34,14 +30,10 @@ "icon": "server", "description": "start a new graph", "complexity": 18, - "tags": [ - "platform", - "method", - "process" - ] + "tags": ["platform", "method", "process"] }, "id": "7fe5b907-e9d3-4427-96cf-1b3be39a9bba", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/share/local/LocalGraph/spec.json b/src/system/platform/method/process/share/local/LocalGraph/spec.json index 9e6abffa69..595662eb21 100644 --- a/src/system/platform/method/process/share/local/LocalGraph/spec.json +++ b/src/system/platform/method/process/share/local/LocalGraph/spec.json @@ -16,16 +16,10 @@ "icon": "server", "description": "connect to a locally shared process", "complexity": 6, - "tags": [ - "platform", - "method", - "process", - "share", - "local" - ] + "tags": ["platform", "method", "process", "share", "local"] }, "id": "5ec9d37d-f9f4-49d0-a139-55af26fab05c", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/process/share/local/LocalShareGraph/spec.json b/src/system/platform/method/process/share/local/LocalShareGraph/spec.json index 43ab354f02..182005ce6f 100644 --- a/src/system/platform/method/process/share/local/LocalShareGraph/spec.json +++ b/src/system/platform/method/process/share/local/LocalShareGraph/spec.json @@ -22,16 +22,10 @@ "icon": "server", "description": "share a graph localy", "complexity": 22, - "tags": [ - "platform", - "method", - "process", - "share", - "local" - ] + "tags": ["platform", "method", "process", "share", "local"] }, "id": "259ba71c-6315-4324-a32c-fc2277200a40", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/value/Read/spec.json b/src/system/platform/method/value/Read/spec.json index eb5721d650..f5fd2aafa4 100644 --- a/src/system/platform/method/value/Read/spec.json +++ b/src/system/platform/method/value/Read/spec.json @@ -18,14 +18,10 @@ "icon": "object-get", "description": "get `unit` property `name`", "complexity": 3, - "tags": [ - "platform", - "method", - "value" - ] + "tags": ["platform", "method", "value"] }, "id": "c6da6b9f-a783-4e58-a252-e543aef109fb", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/method/value/Write/spec.json b/src/system/platform/method/value/Write/spec.json index b5e3aea888..4e9ac6177e 100644 --- a/src/system/platform/method/value/Write/spec.json +++ b/src/system/platform/method/value/Write/spec.json @@ -19,14 +19,10 @@ "icon": "object-set", "description": "set `unit` property `name` to `data`", "complexity": 3, - "tags": [ - "platform", - "method", - "value" - ] + "tags": ["platform", "method", "value"] }, "id": "98ab5ee1-0997-4ad2-bc77-776208b6bb25", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/process/Worker/spec.json b/src/system/platform/process/Worker/spec.json index e21faf30b6..3cceccd195 100644 --- a/src/system/platform/process/Worker/spec.json +++ b/src/system/platform/process/Worker/spec.json @@ -4,9 +4,7 @@ "init": { "type": "{}", "metadata": { - "examples": [ - "{}" - ] + "examples": ["{}"] } } }, @@ -21,13 +19,10 @@ "icon": "server", "description": "remote control a new worker system", "complexity": 4, - "tags": [ - "platform", - "process" - ] + "tags": ["platform", "process"] }, "id": "0c6703a1-e949-4b55-9e84-71e6c9addd64", "base": true, "type": "`U`", "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/ref/unit/Input/spec.json b/src/system/platform/ref/unit/Input/spec.json index 281cf93809..3879cae5bc 100644 --- a/src/system/platform/ref/unit/Input/spec.json +++ b/src/system/platform/ref/unit/Input/spec.json @@ -23,14 +23,10 @@ "icon": "unit", "description": "reference `unit` input `name`", "complexity": 3, - "tags": [ - "platform", - "ref", - "unit" - ] + "tags": ["platform", "ref", "unit"] }, "id": "4ae69887-a087-4d37-8743-d83ca48184d1", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/system/platform/ref/unit/Output/spec.json b/src/system/platform/ref/unit/Output/spec.json index 763444e9ab..435ec7e8a4 100644 --- a/src/system/platform/ref/unit/Output/spec.json +++ b/src/system/platform/ref/unit/Output/spec.json @@ -23,14 +23,10 @@ "icon": "unit", "description": "reference `unit` output `name`", "complexity": 3, - "tags": [ - "platform", - "ref", - "unit" - ] + "tags": ["platform", "ref", "unit"] }, "id": "ed78b920-3f43-47df-840c-60c5297cdb2e", "type": "`U`", "base": true, "system": true -} \ No newline at end of file +} diff --git a/src/test/Graph/moveSubgraphInto.ts b/src/test/Graph/moveSubgraphInto.ts index 92aab6c305..57d087fb19 100644 --- a/src/test/Graph/moveSubgraphInto.ts +++ b/src/test/Graph/moveSubgraphInto.ts @@ -486,6 +486,7 @@ assert.deepEqual(empty4.getExposedPinSpec('input', 'a'), { pinId: 'a', }, }, + ref: false, }) const spec5 = system.newSpec({ @@ -1428,6 +1429,7 @@ assert.deepEqual(empty12.getExposedInputSpec('a'), { mergeId: '0', }, }, + ref: false, }) assert.deepEqual(empty12.getExposedOutputSpec('a'), { plug: { @@ -1435,6 +1437,7 @@ assert.deepEqual(empty12.getExposedOutputSpec('a'), { mergeId: '0', }, }, + ref: false, }) const spec13 = system.newSpec({ @@ -1635,11 +1638,13 @@ assert.deepEqual(empty14.getExposedInputSpec('a'), { plug: { '0': {}, }, + ref: false, }) assert.deepEqual(empty14.getExposedOutputSpec('a'), { plug: { '0': {}, }, + ref: false, }) assert.deepEqual(empty14.getInput('a').peak(), 1) diff --git a/src/test/client/util/data/keyboard/keyUpdateTree.ts b/src/test/client/util/data/keyboard/keyUpdateTree.ts index c4c13c5dd1..c253108cdc 100644 --- a/src/test/client/util/data/keyboard/keyUpdateTree.ts +++ b/src/test/client/util/data/keyboard/keyUpdateTree.ts @@ -197,9 +197,9 @@ assert.deepEqual(keyUpdateTree('1[2', [], '1[2', '[', 0, 3, false), [ true, { nextRoot: '[1[2]', - nextPath: [], - nextSelectionStart: 1, - nextSelectionEnd: 4, + nextPath: [0], + nextSelectionStart: 0, + nextSelectionEnd: 3, }, ]) assert.deepEqual( diff --git a/src/test/spec/parser.ts b/src/test/spec/parser.ts index 413d943f46..f140986e3f 100644 --- a/src/test/spec/parser.ts +++ b/src/test/spec/parser.ts @@ -47,11 +47,14 @@ assert( assert.deepEqual(getTreeNodeType(':'), TreeNodeType.Invalid) assert.deepEqual(getTreeNodeType('foo'), TreeNodeType.Invalid) -assert.deepEqual(getTreeNodeType('[1[]'), TreeNodeType.Invalid) +assert.deepEqual(getTreeNodeType('[1[]'), TreeNodeType.ArrayLiteral) +assert.deepEqual(getTreeNodeType('1[2]'), TreeNodeType.PropExpression) +assert.deepEqual(getTreeNodeType('[1[]'), TreeNodeType.ArrayLiteral) // assert.deepEqual(getTreeNodeType('a:'), TreeNodeType.KeyValue) // assert.deepEqual(getTreeNodeType(':1'), TreeNodeType.KeyValue) assert.deepEqual(getTreeNodeType('{a:}'), TreeNodeType.ObjectLiteral) assert.deepEqual(getTreeNodeType('{:1}'), TreeNodeType.ObjectLiteral) +assert.deepEqual(getTreeNodeType('{a:{b:"}}'), TreeNodeType.ObjectLiteral) assert.deepEqual(getTreeNodeType('"a:b"'), TreeNodeType.StringLiteral) assert.deepEqual(getTreeNodeType('"\\""'), TreeNodeType.StringLiteral) assert.deepEqual(getTreeNodeType('"\r"'), TreeNodeType.StringLiteral) @@ -96,7 +99,7 @@ assert.deepEqual( ) assert.deepEqual(getTreeNodeType('["S"]'), TreeNodeType.PropExpression) assert.deepEqual(getTreeNodeType('unit://123'), TreeNodeType.Url) -assert.deepEqual(getTreeNodeType('{{}'), TreeNodeType.Invalid) +assert.deepEqual(getTreeNodeType('{{}'), TreeNodeType.ObjectLiteral) assert.deepEqual(getTreeNodeType('{a:1,,b:2}'), TreeNodeType.ObjectLiteral) assert.deepEqual(getTree('{a:1,,b:2}').children.length, 3) assert.deepEqual(getTree('{a:1,"b,"c":2}').children.length, 2) @@ -152,6 +155,7 @@ assert(isValidType('string[][]')) assert(isValidType('string{}')) assert(isValidType('string[]{}')) assert(isValidType('[1,2,[3,4],5]')) +assert(isValidType('{name:string}')) assert(isValidType('{name:string}|{namePrefix:string}')) assert(isValidType('string[]|number[]')) assert(isValidType('[]|[0,1,2]')) diff --git a/src/test/spec/type.ts b/src/test/spec/type.ts index ee9bf130c6..9732b732f3 100644 --- a/src/test/spec/type.ts +++ b/src/test/spec/type.ts @@ -114,11 +114,11 @@ assert.deepEqual(getGraphTypeMapById(ID_SWAP, _specs), { output: { a: '[]' }, }, set1: { - input: { a: '[]', v: '', i: 'number' }, + input: { a: '[]', v: '', i: 'number' }, output: { a: '[]' }, }, - at0: { input: { a: '[]', i: 'number' }, output: { 'a[i]': '' } }, - at1: { input: { a: '[]', i: 'number' }, output: { 'a[i]': '' } }, + at0: { input: { a: '[]', i: 'number' }, output: { 'a[i]': '' } }, + at1: { input: { a: '[]', i: 'number' }, output: { 'a[i]': '' } }, }) assert.deepEqual(getSpecTypeInterfaceById(ID_SWAP, _specs), { input: { a: '[]', i: 'number', j: 'number' }, @@ -219,12 +219,12 @@ assert.deepEqual(_getGraphTypeMapById(ID_N_ARRAY_BUILDER_FROM, _specs), { }, arraybuilderfrom: { input: { - a: { value: '', type: 'generic', children: [] }, + a: { value: '', type: 'generic', children: [] }, test: { value: 'boolean', type: 'boolean', children: [] }, init: { - value: '[]', + value: '[]', type: 'array expression', - children: [{ value: '', type: 'generic', children: [] }], + children: [{ value: '', type: 'generic', children: [] }], }, }, output: { @@ -247,7 +247,7 @@ assert.deepEqual(_getGraphTypeMapById(ID_N_ARRAY_BUILDER_FROM, _specs), { }, looprepeat: { input: { - init: { value: 'number', type: 'number', children: [] }, + init: { value: '', type: 'generic', children: [] }, test: { value: 'boolean', type: 'boolean', children: [] }, }, output: { @@ -333,6 +333,7 @@ assert.deepEqual( }, } ) + assert.deepEqual( getGraphTypeMap( { @@ -355,14 +356,8 @@ assert.deepEqual( _specs ), { - id: { - input: { a: '' }, - output: { a: '' }, - }, - id0: { - input: { a: '' }, - output: { a: '' }, - }, + id: { input: { a: '' }, output: { a: '' } }, + id0: { input: { a: '' }, output: { a: '' } }, id1: { input: { a: '' }, output: { a: '' } }, } ) diff --git a/src/types/global/IPositionObserver.ts b/src/types/global/IPositionObserver.ts index 62c6cf10d6..84df8dec89 100644 --- a/src/types/global/IPositionObserver.ts +++ b/src/types/global/IPositionObserver.ts @@ -19,8 +19,10 @@ export interface IPositionCallback { rx: number, ry: number, rz: number, - px: number, - py: number + bx: number, + by: number, + gbx: number, + gby: number ): void } @@ -32,6 +34,8 @@ export interface IPositionEntry { rx: number ry: number rz: number - px: number - py: number + bx: number + by: number + gbx: number + gby: number }